Commit af7dfc03 authored by ferhat tamer's avatar ferhat tamer 💬
Browse files

Initial commit

parents
<Application x:Class="sinema.App"
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
xmlns:local="clr-namespace:sinema"
StartupUri="MainWindow.xaml">
<Application.Resources>
</Application.Resources>
</Application>
using System;
using System.Collections.Generic;
using System.Configuration;
using System.Data;
using System.Linq;
using System.Threading.Tasks;
using System.Windows;
namespace sinema
{
/// <summary>
/// Interaction logic for App.xaml
/// </summary>
public partial class App : Application
{
}
class Sinema
{
int toplamKoltukSayisi=0;
int bosKoltukSayisi=0;
double bakiye=0;
string salonNo;
public int sayi,sayi2,ilk;
const double TAM = 15.0;
const double INDIRIMLI = 10.0;
public Sinema(string salonn,int koltuksayi) //Kurucu Metot
{
toplamKoltukSayisi = koltuksayi;
salonNo = salonn;
bosKoltukSayisi = toplamKoltukSayisi;
bakiye = 0;
}
public void BiletSat(bool indirimli) //Bilet Satış
{
bosKoltukSayisi--;
if (indirimli)
bakiye += INDIRIMLI;
else
bakiye += TAM;
}
public void BiletIptal(bool indirimli) //Bilet İade
{
bosKoltukSayisi++;
if (indirimli)
bakiye -= INDIRIMLI;
else
bakiye -= TAM;
}
public int BosKoltukOgren() //Boş koltuk Sayısı
{
return bosKoltukSayisi;
}
public double BakiyeOgren() //Bakiye Öğren
{
return bakiye;
}
}
}
using System.Windows;
[assembly:ThemeInfo(
ResourceDictionaryLocation.None, //where theme specific resource dictionaries are located
//(used if a resource is not found in the page,
// or application resource dictionaries)
ResourceDictionaryLocation.SourceAssembly //where the generic resource dictionary is located
//(used if a resource is not found in the page,
// app, or any theme specific resource dictionaries)
)]
<Window x:Class="sinema.MainWindow"
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
xmlns:local="clr-namespace:sinema"
mc:Ignorable="d"
Title="MainWindow" Height="600" Width="800">
<Grid>
<Label Name="salobLbl" Content="Salon" HorizontalAlignment="Left" Margin="30,80,0,0" VerticalAlignment="Top" Height="30" Width="40" />
<TextBox Name="salonTxt" HorizontalAlignment="Left" Margin="125,88" VerticalAlignment="Top" Width="120" Height="20" />
<Label Name="label2" Content="Koltuk sayısı" HorizontalAlignment="Left" Margin="30,121" VerticalAlignment="Top" Height="30" Width="75" />
<TextBox Name="kisisayisiTxt" HorizontalAlignment="Left" Margin="125,125" TextWrapping="Wrap" VerticalAlignment="Top" Width="120" Height="18"/>
<Button Name="olusturbtn" Content="OLUŞTUR" HorizontalAlignment="Center" Margin="0,91" VerticalAlignment="Top" Height="50" Width="200" Click="Olusturbtn" />
<Label Name="iptalLbl" Content="SATIŞ-İPTAL" HorizontalAlignment="Left" Margin="50,175" VerticalAlignment="Top" Height="26" Width="73" />
<CheckBox Name="secim" Content="İndirimli" HorizontalAlignment="Left" Margin="50,217" VerticalAlignment="Top" />
<Button Name="satBtn" Content="BİLET SAT" HorizontalAlignment="Left" Margin="30,277,0,0" VerticalAlignment="Top" Width="100" Height="50" Click="sat" />
<Button Name="iptalBtn" Content="BİLET İPTAL" HorizontalAlignment="Left" Margin="140,277,0,0" VerticalAlignment="Top" Width="100" Height="50" Click="iptal"/>
<Label Name="raporLbl" Content="RAPOR" HorizontalAlignment="Left" Margin="321,175,0,0" VerticalAlignment="Top" Height="26" Width="48"/>
<Button Name="bakiyeBtn" Content="BAKİYE" HorizontalAlignment="Left" Margin="295,277,0,0" VerticalAlignment="Top" Width="100" Height="50" Click="bakiye"/>
<Button Name="boskoltukBtn" Content="BOŞ KOLTUK" HorizontalAlignment="Left" Margin="413,277,0,0" VerticalAlignment="Top" Width="100" Height="50" Click="koltuk"/>
<Label Name="mesajLbl" Content="" HorizontalAlignment="Left" Margin="50,366,0,0" VerticalAlignment="Top" />
</Grid>
</Window>
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows;
using System.Windows.Controls;
using System.Windows.Data;
using System.Windows.Documents;
using System.Windows.Input;
using System.Windows.Media;
using System.Windows.Media.Imaging;
using System.Windows.Navigation;
using System.Windows.Shapes;
namespace sinema
{
/// <summary>
/// Interaction logic for MainWindow.xaml
/// </summary>
public partial class MainWindow : Window
{
public MainWindow()
{
InitializeComponent();
}
Sinema salon;
private void Olusturbtn(object sender,RoutedEventArgs e){
try{
salon= new Sinema(salonTxt.Text, Convert.ToInt32(kisisayisiTxt.Text));
mesajLbl.Content="Salon oluşturuldu. Koltuk sayısı : "+salon.BosKoltukOgren();
salon.ilk=salon.BosKoltukOgren();
}
catch
{
mesajLbl.Content="Salon oluşturulamadı.";
}
}
private void sat(object sender,RoutedEventArgs e){
salon.sayi=salon.BosKoltukOgren();
salon.sayi--;
if(salon.sayi>=0 ){
salon.BiletSat(secim.IsChecked==true);
mesajLbl.Content="Bilet satıldı. Kalan koltuk sayısı :" +salon.BosKoltukOgren();
}
else{
mesajLbl.Content="Kalmadı.";
salon.sayi++;
}
}
private void iptal(object sender,RoutedEventArgs e){
salon.sayi=salon.BosKoltukOgren();
salon.sayi++;
if(!(salon.ilk<salon.sayi)){
salon.BiletIptal(secim.IsChecked==true);
mesajLbl.Content="Bilet iptal edildi. Kalan koltuk sayısı :" +salon.BosKoltukOgren();
}
else{
mesajLbl.Content="Henüz Bilet Satılmadığı için iptal edilemez.";
salon.sayi--;
}
}
private void bakiye(object sender,RoutedEventArgs e){
mesajLbl.Content="Şuan ki bakiye : " +salon.BakiyeOgren();
}
private void koltuk(object sender,RoutedEventArgs e){
mesajLbl.Content="Boş koltuk sayısı" +salon.BosKoltukOgren();
}
}
}
{
"runtimeTarget": {
"name": ".NETCoreApp,Version=v6.0",
"signature": ""
},
"compilationOptions": {},
"targets": {
".NETCoreApp,Version=v6.0": {
"sinema/1.0.0": {
"runtime": {
"sinema.dll": {}
}
}
}
},
"libraries": {
"sinema/1.0.0": {
"type": "project",
"serviceable": false,
"sha512": ""
}
}
}
\ No newline at end of file
{
"runtimeOptions": {
"tfm": "net6.0",
"frameworks": [
{
"name": "Microsoft.NETCore.App",
"version": "6.0.0"
},
{
"name": "Microsoft.WindowsDesktop.App",
"version": "6.0.0"
}
]
}
}
\ No newline at end of file
// <autogenerated />
using System;
using System.Reflection;
[assembly: global::System.Runtime.Versioning.TargetFrameworkAttribute(".NETCoreApp,Version=v5.0", FrameworkDisplayName = "")]
#pragma checksum "..\..\..\App.xaml" "{ff1816ec-aa5e-4d10-87f7-6f4963833460}" "A8F4917DDD2D9E7F8ACE29F004046AF19EC1C867"
//------------------------------------------------------------------------------
// <auto-generated>
// This code was generated by a tool.
//
// Changes to this file may cause incorrect behavior and will be lost if
// the code is regenerated.
// </auto-generated>
//------------------------------------------------------------------------------
using System;
using System.Diagnostics;
using System.Windows;
using System.Windows.Automation;
using System.Windows.Controls;
using System.Windows.Controls.Primitives;
using System.Windows.Controls.Ribbon;
using System.Windows.Data;
using System.Windows.Documents;
using System.Windows.Ink;
using System.Windows.Input;
using System.Windows.Markup;
using System.Windows.Media;
using System.Windows.Media.Animation;
using System.Windows.Media.Effects;
using System.Windows.Media.Imaging;
using System.Windows.Media.Media3D;
using System.Windows.Media.TextFormatting;
using System.Windows.Navigation;
using System.Windows.Shapes;
using System.Windows.Shell;
using sinema;
namespace sinema {
/// <summary>
/// App
/// </summary>
public partial class App : System.Windows.Application {
/// <summary>
/// InitializeComponent
/// </summary>
[System.Diagnostics.DebuggerNonUserCodeAttribute()]
[System.CodeDom.Compiler.GeneratedCodeAttribute("PresentationBuildTasks", "6.0.1.0")]
public void InitializeComponent() {
#line 5 "..\..\..\App.xaml"
this.StartupUri = new System.Uri("MainWindow.xaml", System.UriKind.Relative);
#line default
#line hidden
}
/// <summary>
/// Application Entry Point.
/// </summary>
[System.STAThreadAttribute()]
[System.Diagnostics.DebuggerNonUserCodeAttribute()]
[System.CodeDom.Compiler.GeneratedCodeAttribute("PresentationBuildTasks", "6.0.1.0")]
public static void Main() {
sinema.App app = new sinema.App();
app.InitializeComponent();
app.Run();
}
}
}
#pragma checksum "..\..\..\App.xaml" "{ff1816ec-aa5e-4d10-87f7-6f4963833460}" "A8F4917DDD2D9E7F8ACE29F004046AF19EC1C867"
//------------------------------------------------------------------------------
// <auto-generated>
// Bu kod araç tarafından oluşturuldu.
// Çalışma Zamanı Sürümü:4.0.30319.42000
//
// Bu dosyada yapılacak değişiklikler yanlış davranışa neden olabilir ve
// kod yeniden oluşturulursa kaybolur.
// </auto-generated>
//------------------------------------------------------------------------------
using System;
using System.Diagnostics;
using System.Windows;
using System.Windows.Automation;
using System.Windows.Controls;
using System.Windows.Controls.Primitives;
using System.Windows.Controls.Ribbon;
using System.Windows.Data;
using System.Windows.Documents;
using System.Windows.Ink;
using System.Windows.Input;
using System.Windows.Markup;
using System.Windows.Media;
using System.Windows.Media.Animation;
using System.Windows.Media.Effects;
using System.Windows.Media.Imaging;
using System.Windows.Media.Media3D;
using System.Windows.Media.TextFormatting;
using System.Windows.Navigation;
using System.Windows.Shapes;
using System.Windows.Shell;
using sinema;
namespace sinema {
/// <summary>
/// App
/// </summary>
public partial class App : System.Windows.Application {
/// <summary>
/// InitializeComponent
/// </summary>
[System.Diagnostics.DebuggerNonUserCodeAttribute()]
[System.CodeDom.Compiler.GeneratedCodeAttribute("PresentationBuildTasks", "6.0.1.0")]
public void InitializeComponent() {
#line 5 "..\..\..\App.xaml"
this.StartupUri = new System.Uri("MainWindow.xaml", System.UriKind.Relative);
#line default
#line hidden
}
/// <summary>
/// Application Entry Point.
/// </summary>
[System.STAThreadAttribute()]
[System.Diagnostics.DebuggerNonUserCodeAttribute()]
[System.CodeDom.Compiler.GeneratedCodeAttribute("PresentationBuildTasks", "6.0.1.0")]
public static void Main() {
sinema.App app = new sinema.App();
app.InitializeComponent();
app.Run();
}
}
}
#pragma checksum "..\..\..\MainWindow.xaml" "{ff1816ec-aa5e-4d10-87f7-6f4963833460}" "678AABEF2797C9A29CE3B13FBD4725F9DDC4D75E"
//------------------------------------------------------------------------------
// <auto-generated>
// This code was generated by a tool.
//
// Changes to this file may cause incorrect behavior and will be lost if
// the code is regenerated.
// </auto-generated>
//------------------------------------------------------------------------------
using System;
using System.Diagnostics;
using System.Windows;
using System.Windows.Automation;
using System.Windows.Controls;
using System.Windows.Controls.Primitives;
using System.Windows.Controls.Ribbon;
using System.Windows.Data;
using System.Windows.Documents;
using System.Windows.Ink;
using System.Windows.Input;
using System.Windows.Markup;
using System.Windows.Media;
using System.Windows.Media.Animation;
using System.Windows.Media.Effects;
using System.Windows.Media.Imaging;
using System.Windows.Media.Media3D;
using System.Windows.Media.TextFormatting;
using System.Windows.Navigation;
using System.Windows.Shapes;
using System.Windows.Shell;
using sinema;
namespace sinema {
/// <summary>
/// MainWindow
/// </summary>
public partial class MainWindow : System.Windows.Window, System.Windows.Markup.IComponentConnector {
#line 10 "..\..\..\MainWindow.xaml"
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
internal System.Windows.Controls.Label salobLbl;
#line default
#line hidden
#line 11 "..\..\..\MainWindow.xaml"
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
internal System.Windows.Controls.TextBox salonTxt;
#line default
#line hidden
#line 12 "..\..\..\MainWindow.xaml"
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
internal System.Windows.Controls.Label label2;
#line default
#line hidden
#line 13 "..\..\..\MainWindow.xaml"
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
internal System.Windows.Controls.TextBox kisisayisiTxt;
#line default
#line hidden
#line 14 "..\..\..\MainWindow.xaml"
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
internal System.Windows.Controls.Button olusturbtn;
#line default
#line hidden
#line 15 "..\..\..\MainWindow.xaml"
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
internal System.Windows.Controls.Label iptalLbl;
#line default
#line hidden
#line 16 "..\..\..\MainWindow.xaml"
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
internal System.Windows.Controls.CheckBox secim;
#line default
#line hidden
#line 17 "..\..\..\MainWindow.xaml"
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
internal System.Windows.Controls.Button satBtn;
#line default
#line hidden
#line 18 "..\..\..\MainWindow.xaml"
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
internal System.Windows.Controls.Button iptalBtn;
#line default
#line hidden
#line 19 "..\..\..\MainWindow.xaml"
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
internal System.Windows.Controls.Label raporLbl;
#line default
#line hidden
#line 20 "..\..\..\MainWindow.xaml"
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
internal System.Windows.Controls.Button bakiyeBtn;
#line default
#line hidden
#line 21 "..\..\..\MainWindow.xaml"
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
internal System.Windows.Controls.Button boskoltukBtn;
#line default
#line hidden
#line 22 "..\..\..\MainWindow.xaml"
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
internal System.Windows.Controls.Label mesajLbl;
#line default
#line hidden
private bool _contentLoaded;
/// <summary>
/// InitializeComponent
/// </summary>
[System.Diagnostics.DebuggerNonUserCodeAttribute()]
[System.CodeDom.Compiler.GeneratedCodeAttribute("PresentationBuildTasks", "6.0.1.0")]
public void InitializeComponent() {
if (_contentLoaded) {
return;
}
_contentLoaded = true;
System.Uri resourceLocater = new System.Uri("/sinema;component/mainwindow.xaml", System.UriKind.Relative);
#line 1 "..\..\..\MainWindow.xaml"
System.Windows.Application.LoadComponent(this, resourceLocater);
#line default
#line hidden
}
[System.Diagnostics.DebuggerNonUserCodeAttribute()]
[System.CodeDom.Compiler.GeneratedCodeAttribute("PresentationBuildTasks", "6.0.1.0")]
[System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)]
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Design", "CA1033:InterfaceMethodsShouldBeCallableByChildTypes")]
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Maintainability", "CA1502:AvoidExcessiveComplexity")]
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1800:DoNotCastUnnecessarily")]
void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) {
switch (connectionId)
{
case 1:
this.salobLbl = ((System.Windows.Controls.Label)(target));
return;
case 2:
this.salonTxt = ((System.Windows.Controls.TextBox)(target));
return;
case 3:
this.label2 = ((System.Windows.Controls.Label)(target));
return;
case 4:
this.kisisayisiTxt = ((System.Windows.Controls.TextBox)(target));
return;
case 5:
this.olusturbtn = ((System.Windows.Controls.Button)(target));
#line 14 "..\..\..\MainWindow.xaml"
this.olusturbtn.Click += new System.Windows.RoutedEventHandler(this.Olusturbtn);
#line default
#line hidden
return;
case 6:
this.iptalLbl = ((System.Windows.Controls.Label)(target));
return;
case 7:
this.secim = ((System.Windows.Controls.CheckBox)(target));
return;
case 8:
this.satBtn = ((System.Windows.Controls.Button)(target));
return;
case 9:
this.iptalBtn = ((System.Windows.Controls.Button)(target));
#line 18 "..\..\..\MainWindow.xaml"
this.iptalBtn.Click += new System.Windows.RoutedEventHandler(this.iptal);
#line default
#line hidden
return;
case 10:
this.raporLbl = ((System.Windows.Controls.Label)(target));
return;
case 11:
this.bakiyeBtn = ((System.Windows.Controls.Button)(target));
#line 20 "..\..\..\MainWindow.xaml"
this.bakiyeBtn.Click += new System.Windows.RoutedEventHandler(this.bakiye);
#line default
#line hidden
return;
case 12:
this.boskoltukBtn = ((System.Windows.Controls.Button)(target));
#line 21 "..\..\..\MainWindow.xaml"
this.boskoltukBtn.Click += new System.Windows.RoutedEventHandler(this.koltuk);
#line default
#line hidden
return;
case 13:
this.mesajLbl = ((System.Windows.Controls.Label)(target));
return;
}
this._contentLoaded = true;
}
}
}
#pragma checksum "..\..\..\MainWindow.xaml" "{ff1816ec-aa5e-4d10-87f7-6f4963833460}" "678AABEF2797C9A29CE3B13FBD4725F9DDC4D75E"
//------------------------------------------------------------------------------
// <auto-generated>
// Bu kod araç tarafından oluşturuldu.
// Çalışma Zamanı Sürümü:4.0.30319.42000
//
// Bu dosyada yapılacak değişiklikler yanlış davranışa neden olabilir ve
// kod yeniden oluşturulursa kaybolur.
// </auto-generated>
//------------------------------------------------------------------------------
using System;
using System.Diagnostics;
using System.Windows;
using System.Windows.Automation;
using System.Windows.Controls;
using System.Windows.Controls.Primitives;
using System.Windows.Controls.Ribbon;
using System.Windows.Data;
using System.Windows.Documents;
using System.Windows.Ink;
using System.Windows.Input;
using System.Windows.Markup;
using System.Windows.Media;
using System.Windows.Media.Animation;
using System.Windows.Media.Effects;
using System.Windows.Media.Imaging;
using System.Windows.Media.Media3D;
using System.Windows.Media.TextFormatting;
using System.Windows.Navigation;
using System.Windows.Shapes;
using System.Windows.Shell;
using sinema;
namespace sinema {
/// <summary>
/// MainWindow
/// </summary>
public partial class MainWindow : System.Windows.Window, System.Windows.Markup.IComponentConnector {
#line 10 "..\..\..\MainWindow.xaml"
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
internal System.Windows.Controls.Label salobLbl;
#line default
#line hidden
#line 11 "..\..\..\MainWindow.xaml"
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
internal System.Windows.Controls.TextBox salonTxt;
#line default
#line hidden
#line 12 "..\..\..\MainWindow.xaml"
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
internal System.Windows.Controls.Label label2;
#line default
#line hidden
#line 13 "..\..\..\MainWindow.xaml"
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
internal System.Windows.Controls.TextBox kisisayisiTxt;
#line default
#line hidden
#line 14 "..\..\..\MainWindow.xaml"
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
internal System.Windows.Controls.Button olusturbtn;
#line default
#line hidden
#line 15 "..\..\..\MainWindow.xaml"
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
internal System.Windows.Controls.Label iptalLbl;
#line default
#line hidden
#line 16 "..\..\..\MainWindow.xaml"
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
internal System.Windows.Controls.CheckBox secim;
#line default
#line hidden
#line 17 "..\..\..\MainWindow.xaml"
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
internal System.Windows.Controls.Button satBtn;
#line default
#line hidden
#line 18 "..\..\..\MainWindow.xaml"
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
internal System.Windows.Controls.Button iptalBtn;
#line default
#line hidden
#line 19 "..\..\..\MainWindow.xaml"
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
internal System.Windows.Controls.Label raporLbl;
#line default
#line hidden
#line 20 "..\..\..\MainWindow.xaml"
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
internal System.Windows.Controls.Button bakiyeBtn;
#line default
#line hidden
#line 21 "..\..\..\MainWindow.xaml"
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
internal System.Windows.Controls.Button boskoltukBtn;
#line default
#line hidden
#line 22 "..\..\..\MainWindow.xaml"
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
internal System.Windows.Controls.Label mesajLbl;
#line default
#line hidden
private bool _contentLoaded;
/// <summary>
/// InitializeComponent
/// </summary>
[System.Diagnostics.DebuggerNonUserCodeAttribute()]
[System.CodeDom.Compiler.GeneratedCodeAttribute("PresentationBuildTasks", "6.0.1.0")]
public void InitializeComponent() {
if (_contentLoaded) {
return;
}
_contentLoaded = true;
System.Uri resourceLocater = new System.Uri("/sinema;V1.0.0.0;component/mainwindow.xaml", System.UriKind.Relative);
#line 1 "..\..\..\MainWindow.xaml"
System.Windows.Application.LoadComponent(this, resourceLocater);
#line default
#line hidden
}
[System.Diagnostics.DebuggerNonUserCodeAttribute()]
[System.CodeDom.Compiler.GeneratedCodeAttribute("PresentationBuildTasks", "6.0.1.0")]
[System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)]
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Design", "CA1033:InterfaceMethodsShouldBeCallableByChildTypes")]
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Maintainability", "CA1502:AvoidExcessiveComplexity")]
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1800:DoNotCastUnnecessarily")]
void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) {
switch (connectionId)
{
case 1:
this.salobLbl = ((System.Windows.Controls.Label)(target));
return;
case 2:
this.salonTxt = ((System.Windows.Controls.TextBox)(target));
return;
case 3:
this.label2 = ((System.Windows.Controls.Label)(target));
return;
case 4:
this.kisisayisiTxt = ((System.Windows.Controls.TextBox)(target));
return;
case 5:
this.olusturbtn = ((System.Windows.Controls.Button)(target));
#line 14 "..\..\..\MainWindow.xaml"
this.olusturbtn.Click += new System.Windows.RoutedEventHandler(this.Olusturbtn);
#line default
#line hidden
return;
case 6:
this.iptalLbl = ((System.Windows.Controls.Label)(target));
return;
case 7:
this.secim = ((System.Windows.Controls.CheckBox)(target));
return;
case 8:
this.satBtn = ((System.Windows.Controls.Button)(target));
return;
case 9:
this.iptalBtn = ((System.Windows.Controls.Button)(target));
#line 18 "..\..\..\MainWindow.xaml"
this.iptalBtn.Click += new System.Windows.RoutedEventHandler(this.iptal);
#line default
#line hidden
return;
case 10:
this.raporLbl = ((System.Windows.Controls.Label)(target));
return;
case 11:
this.bakiyeBtn = ((System.Windows.Controls.Button)(target));
#line 20 "..\..\..\MainWindow.xaml"
this.bakiyeBtn.Click += new System.Windows.RoutedEventHandler(this.bakiye);
#line default
#line hidden
return;
case 12:
this.boskoltukBtn = ((System.Windows.Controls.Button)(target));
#line 21 "..\..\..\MainWindow.xaml"
this.boskoltukBtn.Click += new System.Windows.RoutedEventHandler(this.koltuk);
#line default
#line hidden
return;
case 13:
this.mesajLbl = ((System.Windows.Controls.Label)(target));
return;
}
this._contentLoaded = true;
}
}
}
//------------------------------------------------------------------------------
// <auto-generated>
// Bu kod araç tarafından oluşturuldu.
// Çalışma Zamanı Sürümü:4.0.30319.42000
//
// Bu dosyada yapılacak değişiklikler yanlış davranışa neden olabilir ve
// kod yeniden oluşturulursa kaybolur.
// </auto-generated>
//------------------------------------------------------------------------------
using System;
using System.Reflection;
[assembly: System.Reflection.AssemblyCompanyAttribute("sinema")]
[assembly: System.Reflection.AssemblyConfigurationAttribute("Debug")]
[assembly: System.Reflection.AssemblyFileVersionAttribute("1.0.0.0")]
[assembly: System.Reflection.AssemblyInformationalVersionAttribute("1.0.0")]
[assembly: System.Reflection.AssemblyProductAttribute("sinema")]
[assembly: System.Reflection.AssemblyTitleAttribute("sinema")]
[assembly: System.Reflection.AssemblyVersionAttribute("1.0.0.0")]
[assembly: System.Runtime.Versioning.TargetPlatformAttribute("Windows7.0")]
[assembly: System.Runtime.Versioning.SupportedOSPlatformAttribute("Windows7.0")]
// MSBuild WriteCodeFragment sınıfı tarafından oluşturuldu.
d18c1732577dc3037dcb0ceaf2af76b8ecedf1de
is_global = true
build_property.TargetFramework = net5.0-windows
build_property.TargetPlatformMinVersion = 7.0
build_property.UsingMicrosoftNETSdkWeb =
build_property.ProjectTypeGuids =
build_property.InvariantGlobalization =
build_property.PlatformNeutralAssembly =
build_property._SupportedPlatformList = Linux,macOS,Windows
build_property.RootNamespace = sinema
build_property.ProjectDir = c:\Users\ferhat\Desktop\sinema\
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment