| Editor Login | Register | ||
| > Bilgisayar > Nesne Programlama > C# |
|
|
| Visual C#.NET de BlackJack Oyunu |
| using System; using System.Drawing; using System.Collections; using System.ComponentModel; using System.Windows.Forms; using System.Data; namespace BlackJackv1._0_by_MeM { public class Form1 : System.Windows.Forms.Form { int toplamComputer=0; int toplamHuman=0; bool kaydirma=true; int ii=150; int sira=2; private System.Timers.Timer timer1; private System.Windows.Forms.MainMenu mainMenu1; private System.Windows.Forms.MenuItem menuItem1; private System.Windows.Forms.MenuItem menuItem2; private System.Windows.Forms.PictureBox pictureBox1; private System.Windows.Forms.PictureBox pictureBox2; private System.Windows.Forms.PictureBox pictureBox3; private System.Windows.Forms.PictureBox pictureBox4; private System.Windows.Forms.PictureBox pictureBox5; private System.Windows.Forms.PictureBox pictureBox6; private System.Windows.Forms.PictureBox pictureBox7; private System.Windows.Forms.PictureBox pictureBox8; private System.Windows.Forms.PictureBox pictureBox9; private System.Windows.Forms.PictureBox pictureBox10; private System.Windows.Forms.Button button1; private System.Windows.Forms.Button button2; private System.Windows.Forms.Button button3; private System.Windows.Forms.Button button4; private System.Windows.Forms.MenuItem menuItem3; private System.Windows.Forms.MenuItem menuItem4; private System.Windows.Forms.MenuItem menuItem5; private System.Windows.Forms.PictureBox pictureBox11; private System.Windows.Forms.PictureBox pictureBox12; private System.Windows.Forms.PictureBox pictureBox13; private System.Windows.Forms.PictureBox pictureBox14; private System.Windows.Forms.PictureBox pictureBox15; private System.Windows.Forms.PictureBox pictureBox16; private System.Windows.Forms.PictureBox pictureBox17; private System.Windows.Forms.PictureBox pictureBox18; private System.Windows.Forms.PictureBox pictureBox19; private System.Windows.Forms.PictureBox pictureBox20; private System.Windows.Forms.PictureBox pictureBox21; private System.Windows.Forms.PictureBox pictureBox22; private System.Windows.Forms.PictureBox pictureBox23; private System.Windows.Forms.PictureBox pictureBox24; private System.Windows.Forms.PictureBox pictureBox25; private System.Windows.Forms.PictureBox pictureBox26; private System.Windows.Forms.PictureBox pictureBox27; private System.Windows.Forms.PictureBox pictureBox28; private System.Windows.Forms.PictureBox pictureBox29; private System.Windows.Forms.PictureBox pictureBox30; private System.Windows.Forms.PictureBox pictureBox31; private System.Windows.Forms.PictureBox pictureBox32; private System.Windows.Forms.PictureBox pictureBox33; private System.Windows.Forms.PictureBox pictureBox34; private System.Windows.Forms.PictureBox pictureBox35; private System.Windows.Forms.PictureBox pictureBox36; private System.Windows.Forms.PictureBox pictureBox37; private System.Windows.Forms.PictureBox pictureBox38; private System.Windows.Forms.PictureBox pictureBox39; private System.Windows.Forms.PictureBox pictureBox40; private System.Windows.Forms.PictureBox pictureBox41; private System.Windows.Forms.PictureBox pictureBox42; private System.Windows.Forms.PictureBox pictureBox43; private System.Windows.Forms.PictureBox pictureBox44; private System.Windows.Forms.PictureBox pictureBox45; private System.Windows.Forms.PictureBox pictureBox46; private System.Windows.Forms.PictureBox pictureBox47; private System.Windows.Forms.PictureBox pictureBox48; private System.Windows.Forms.PictureBox pictureBox49; private System.Windows.Forms.PictureBox pictureBox50; private System.Windows.Forms.PictureBox pictureBox51; private System.Windows.Forms.PictureBox pictureBox52; private System.Windows.Forms.PictureBox pictureBox53; private System.Windows.Forms.PictureBox pictureBox54; private System.Windows.Forms.PictureBox pictureBox55; private System.Windows.Forms.PictureBox pictureBox56; private System.Windows.Forms.PictureBox pictureBox57; private System.Windows.Forms.PictureBox pictureBox58; private System.Windows.Forms.PictureBox pictureBox59; private System.Windows.Forms.PictureBox pictureBox60; private System.Windows.Forms.PictureBox pictureBox61; private System.Windows.Forms.PictureBox pictureBox62; private System.Windows.Forms.PictureBox pictureBox63; private System.Windows.Forms.PictureBox pictureBox64; private IContainer components; public Form1() { InitializeComponent(); } protected override void Dispose( bool disposing ) { if( disposing ) { if (components != null) { components.Dispose(); } } base.Dispose( disposing ); } #region Windows Form Designer generated code /// <summary> /// Required method for Designer support - do not modify /// the contents of this method with the code editor. /// </summary> private void InitializeComponent() { this.components = new System.ComponentModel.Container(); System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(Form1)); this.timer1 = new System.Timers.Timer(); this.mainMenu1 = new System.Windows.Forms.MainMenu(this.components); this.menuItem1 = new System.Windows.Forms.MenuItem(); this.menuItem3 = new System.Windows.Forms.MenuItem(); this.menuItem4 = new System.Windows.Forms.MenuItem(); this.menuItem2 = new System.Windows.Forms.MenuItem(); this.menuItem5 = new System.Windows.Forms.MenuItem(); this.pictureBox1 = new System.Windows.Forms.PictureBox(); this.pictureBox2 = new System.Windows.Forms.PictureBox(); this.pictureBox3 = new System.Windows.Forms.PictureBox(); this.pictureBox4 = new System.Windows.Forms.PictureBox(); this.pictureBox5 = new System.Windows.Forms.PictureBox(); this.pictureBox6 = new System.Windows.Forms.PictureBox(); this.pictureBox7 = new System.Windows.Forms.PictureBox(); this.pictureBox8 = new System.Windows.Forms.PictureBox(); this.pictureBox9 = new System.Windows.Forms.PictureBox(); this.pictureBox10 = new System.Windows.Forms.PictureBox(); this.button1 = new System.Windows.Forms.Button(); this.button2 = new System.Windows.Forms.Button(); this.button3 = new System.Windows.Forms.Button(); this.button4 = new System.Windows.Forms.Button(); this.pictureBox11 = new System.Windows.Forms.PictureBox(); this.pictureBox12 = new System.Windows.Forms.PictureBox(); this.pictureBox13 = new System.Windows.Forms.PictureBox(); this.pictureBox14 = new System.Windows.Forms.PictureBox(); this.pictureBox15 = new System.Windows.Forms.PictureBox(); this.pictureBox16 = new System.Windows.Forms.PictureBox(); this.pictureBox17 = new System.Windows.Forms.PictureBox(); this.pictureBox18 = new System.Windows.Forms.PictureBox(); this.pictureBox19 = new System.Windows.Forms.PictureBox(); this.pictureBox20 = new System.Windows.Forms.PictureBox(); this.pictureBox21 = new System.Windows.Forms.PictureBox(); this.pictureBox22 = new System.Windows.Forms.PictureBox(); this.pictureBox23 = new System.Windows.Forms.PictureBox(); this.pictureBox24 = new System.Windows.Forms.PictureBox(); this.pictureBox25 = new System.Windows.Forms.PictureBox(); this.pictureBox26 = new System.Windows.Forms.PictureBox(); this.pictureBox27 = new System.Windows.Forms.PictureBox(); this.pictureBox28 = new System.Windows.Forms.PictureBox(); this.pictureBox29 = new System.Windows.Forms.PictureBox(); this.pictureBox30 = new System.Windows.Forms.PictureBox(); this.pictureBox31 = new System.Windows.Forms.PictureBox(); this.pictureBox32 = new System.Windows.Forms.PictureBox(); this.pictureBox33 = new System.Windows.Forms.PictureBox(); this.pictureBox34 = new System.Windows.Forms.PictureBox(); this.pictureBox35 = new System.Windows.Forms.PictureBox(); this.pictureBox36 = new System.Windows.Forms.PictureBox(); this.pictureBox37 = new System.Windows.Forms.PictureBox(); this.pictureBox38 = new System.Windows.Forms.PictureBox(); this.pictureBox39 = new System.Windows.Forms.PictureBox(); this.pictureBox40 = new System.Windows.Forms.PictureBox(); this.pictureBox41 = new System.Windows.Forms.PictureBox(); this.pictureBox42 = new System.Windows.Forms.PictureBox(); this.pictureBox43 = new System.Windows.Forms.PictureBox(); this.pictureBox44 = new System.Windows.Forms.PictureBox(); this.pictureBox45 = new System.Windows.Forms.PictureBox(); this.pictureBox46 = new System.Windows.Forms.PictureBox(); this.pictureBox47 = new System.Windows.Forms.PictureBox(); this.pictureBox48 = new System.Windows.Forms.PictureBox(); this.pictureBox49 = new System.Windows.Forms.PictureBox(); this.pictureBox50 = new System.Windows.Forms.PictureBox(); this.pictureBox51 = new System.Windows.Forms.PictureBox(); this.pictureBox52 = new System.Windows.Forms.PictureBox(); this.pictureBox53 = new System.Windows.Forms.PictureBox(); this.pictureBox54 = new System.Windows.Forms.PictureBox(); this.pictureBox55 = new System.Windows.Forms.PictureBox(); this.pictureBox56 = new System.Windows.Forms.PictureBox(); this.pictureBox57 = new System.Windows.Forms.PictureBox(); this.pictureBox58 = new System.Windows.Forms.PictureBox(); this.pictureBox59 = new System.Windows.Forms.PictureBox(); this.pictureBox60 = new System.Windows.Forms.PictureBox(); this.pictureBox61 = new System.Windows.Forms.PictureBox(); this.pictureBox62 = new System.Windows.Forms.PictureBox(); this.pictureBox63 = new System.Windows.Forms.PictureBox(); this.pictureBox64 = new System.Windows.Forms.PictureBox(); ((System.ComponentModel.ISupportInitialize)(this.timer1)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.pictureBox1)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.pictureBox2)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.pictureBox3)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.pictureBox4)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.pictureBox5)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.pictureBox6)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.pictureBox7)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.pictureBox8)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.pictureBox9)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.pictureBox10)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.pictureBox11)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.pictureBox12)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.pictureBox13)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.pictureBox14)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.pictureBox15)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.pictureBox16)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.pictureBox17)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.pictureBox18)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.pictureBox19)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.pictureBox20)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.pictureBox21)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.pictureBox22)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.pictureBox23)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.pictureBox24)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.pictureBox25)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.pictureBox26)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.pictureBox27)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.pictureBox28)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.pictureBox29)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.pictureBox30)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.pictureBox31)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.pictureBox32)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.pictureBox33)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.pictureBox34)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.pictureBox35)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.pictureBox36)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.pictureBox37)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.pictureBox38)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.pictureBox39)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.pictureBox40)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.pictureBox41)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.pictureBox42)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.pictureBox43)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.pictureBox44)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.pictureBox45)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.pictureBox46)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.pictureBox47)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.pictureBox48)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.pictureBox49)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.pictureBox50)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.pictureBox51)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.pictureBox52)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.pictureBox53)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.pictureBox54)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.pictureBox55)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.pictureBox56)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.pictureBox57)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.pictureBox58)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.pictureBox59)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.pictureBox60)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.pictureBox61)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.pictureBox62)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.pictureBox63)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.pictureBox64)).BeginInit(); this.SuspendLayout(); // // timer1 // this.timer1.Enabled = true; this.timer1.SynchronizingObject = this; this.timer1.Elapsed += new System.Timers.ElapsedEventHandler(this.timer1_Elapsed); // // mainMenu1 // this.mainMenu1.MenuItems.AddRange(new System.Windows.Forms.MenuItem[] { this.menuItem1, this.menuItem2}); // // menuItem1 // this.menuItem1.Index = 0; this.menuItem1.MenuItems.AddRange(new System.Windows.Forms.MenuItem[] { this.menuItem3, this.menuItem4}); this.menuItem1.Text = "&Oyun"; // // menuItem3 // this.menuItem3.Index = 0; this.menuItem3.Text = "Ye&ni Oyun"; this.menuItem3.Click += new System.EventHandler(this.menuItem3_Click); // // menuItem4 // this.menuItem4.Index = 1; this.menuItem4.Text = "&Çıkış"; this.menuItem4.Click += new System.EventHandler(this.menuItem4_Click); // // menuItem2 // this.menuItem2.Index = 1; this.menuItem2.MenuItems.AddRange(new System.Windows.Forms.MenuItem[] { this.menuItem5}); this.menuItem2.Text = "&Yardım"; // // menuItem5 // this.menuItem5.Index = 0; this.menuItem5.Text = "&Hakkında"; this.menuItem5.Click += new System.EventHandler(this.menuItem5_Click); // // pictureBox1 // this.pictureBox1.Location = new System.Drawing.Point(16, 16); this.pictureBox1.Name = "pictureBox1"; this.pictureBox1.Size = new System.Drawing.Size(71, 96); this.pictureBox1.TabIndex = 0; this.pictureBox1.TabStop = false; // // pictureBox2 // this.pictureBox2.Location = new System.Drawing.Point(136, 16); this.pictureBox2.Name = "pictureBox2"; this.pictureBox2.Size = new System.Drawing.Size(71, 96); this.pictureBox2.TabIndex = 0; this.pictureBox2.TabStop = false; // // pictureBox3 // this.pictureBox3.Location = new System.Drawing.Point(256, 16); this.pictureBox3.Name = "pictureBox3"; this.pictureBox3.Size = new System.Drawing.Size(71, 96); this.pictureBox3.TabIndex = 0; this.pictureBox3.TabStop = false; // // pictureBox4 // this.pictureBox4.Location = new System.Drawing.Point(376, 16); this.pictureBox4.Name = "pictureBox4"; this.pictureBox4.Size = new System.Drawing.Size(71, 96); this.pictureBox4.TabIndex = 0; this.pictureBox4.TabStop = false; // // pictureBox5 // this.pictureBox5.Location = new System.Drawing.Point(496, 16); this.pictureBox5.Name = "pictureBox5"; this.pictureBox5.Size = new System.Drawing.Size(71, 96); this.pictureBox5.TabIndex = 0; this.pictureBox5.TabStop = false; // // pictureBox6 // this.pictureBox6.Location = new System.Drawing.Point(16, 256); this.pictureBox6.Name = "pictureBox6"; this.pictureBox6.Size = new System.Drawing.Size(71, 96); this.pictureBox6.TabIndex = 0; this.pictureBox6.TabStop = false; // // pictureBox7 // this.pictureBox7.Location = new System.Drawing.Point(136, 256); this.pictureBox7.Name = "pictureBox7"; this.pictureBox7.Size = new System.Drawing.Size(71, 96); this.pictureBox7.TabIndex = 0; this.pictureBox7.TabStop = false; // // pictureBox8 // this.pictureBox8.Location = new System.Drawing.Point(256, 256); this.pictureBox8.Name = "pictureBox8"; this.pictureBox8.Size = new System.Drawing.Size(71, 96); this.pictureBox8.TabIndex = 0; this.pictureBox8.TabStop = false; // // pictureBox9 // this.pictureBox9.Location = new System.Drawing.Point(376, 256); this.pictureBox9.Name = "pictureBox9"; this.pictureBox9.Size = new System.Drawing.Size(71, 96); this.pictureBox9.TabIndex = 0; this.pictureBox9.TabStop = false; // // pictureBox10 // this.pictureBox10.Location = new System.Drawing.Point(496, 256); this.pictureBox10.Name = "pictureBox10"; this.pictureBox10.Size = new System.Drawing.Size(71, 96); this.pictureBox10.TabIndex = 0; this.pictureBox10.TabStop = false; // // button1 // this.button1.Location = new System.Drawing.Point(128, 144); this.button1.Name = "button1"; this.button1.Size = new System.Drawing.Size(80, 24); this.button1.TabIndex = 2; this.button1.Text = "Yeni Oyun"; this.button1.Click += new System.EventHandler(this.button1_Click); // // button2 // this.button2.Location = new System.Drawing.Point(248, 144); this.button2.Name = "button2"; this.button2.Size = new System.Drawing.Size(80, 24); this.button2.TabIndex = 2; this.button2.Text = "Çek"; this.button2.Click += new System.EventHandler(this.button2_Click); // // button3 // this.button3.Location = new System.Drawing.Point(368, 144); this.button3.Name = "button3"; this.button3.Size = new System.Drawing.Size(80, 24); this.button3.TabIndex = 2; this.button3.Text = "Pas"; this.button3.Click += new System.EventHandler(this.button3_Click); // // button4 // this.button4.Location = new System.Drawing.Point(248, 192); this.button4.Name = "button4"; this.button4.Size = new System.Drawing.Size(80, 24); this.button4.TabIndex = 2; this.button4.Text = "Hakkında"; this.button4.Click += new System.EventHandler(this.button4_Click); // // pictureBox11 // this.pictureBox11.Image = ((System.Drawing.Image)(resources.GetObject("pictureBox11.Image"))); this.pictureBox11.Location = new System.Drawing.Point(16, 448); this.pictureBox11.Name = "pictureBox11"; this.pictureBox11.Size = new System.Drawing.Size(56, 96); this.pictureBox11.TabIndex = 0; this.pictureBox11.TabStop = false; // // pictureBox12 // this.pictureBox12.Image = ((System.Drawing.Image)(resources.GetObject("pictureBox12.Image"))); this.pictureBox12.Location = new System.Drawing.Point(40, 448); this.pictureBox12.Name = "pictureBox12"; this.pictureBox12.Size = new System.Drawing.Size(56, 96); this.pictureBox12.TabIndex = 0; this.pictureBox12.TabStop = false; // // pictureBox13 // this.pictureBox13.Image = ((System.Drawing.Image)(resources.GetObject("pictureBox13.Image"))); this.pictureBox13.Location = new System.Drawing.Point(80, 448); this.pictureBox13.Name = "pictureBox13"; this.pictureBox13.Size = new System.Drawing.Size(56, 96); this.pictureBox13.TabIndex = 0; this.pictureBox13.TabStop = false; // // pictureBox14 // this.pictureBox14.Image = ((System.Drawing.Image)(resources.GetObject("pictureBox14.Image"))); this.pictureBox14.Location = new System.Drawing.Point(104, 448); this.pictureBox14.Name = "pictureBox14"; this.pictureBox14.Size = new System.Drawing.Size(56, 96); this.pictureBox14.TabIndex = 0; this.pictureBox14.TabStop = false; // // pictureBox15 // this.pictureBox15.Image = ((System.Drawing.Image)(resources.GetObject("pictureBox15.Image"))); this.pictureBox15.Location = new System.Drawing.Point(120, 448); this.pictureBox15.Name = "pictureBox15"; this.pictureBox15.Size = new System.Drawing.Size(56, 96); this.pictureBox15.TabIndex = 0; this.pictureBox15.TabStop = false; // // pictureBox16 // this.pictureBox16.Image = ((System.Drawing.Image)(resources.GetObject("pictureBox16.Image"))); this.pictureBox16.Location = new System.Drawing.Point(144, 448); this.pictureBox16.Name = "pictureBox16"; this.pictureBox16.Size = new System.Drawing.Size(56, 96); this.pictureBox16.TabIndex = 0; this.pictureBox16.TabStop = false; // // pictureBox17 // this.pictureBox17.Image = ((System.Drawing.Image)(resources.GetObject("pictureBox17.Image"))); this.pictureBox17.Location = new System.Drawing.Point(168, 448); this.pictureBox17.Name = "pictureBox17"; this.pictureBox17.Size = new System.Drawing.Size(56, 96); this.pictureBox17.TabIndex = 0; this.pictureBox17.TabStop = false; // // pictureBox18 // this.pictureBox18.Image = ((System.Drawing.Image)(resources.GetObject("pictureBox18.Image"))); this.pictureBox18.Location = new System.Drawing.Point(200, 448); this.pictureBox18.Name = "pictureBox18"; this.pictureBox18.Size = new System.Drawing.Size(56, 96); this.pictureBox18.TabIndex = 0; this.pictureBox18.TabStop = false; // // pictureBox19 // this.pictureBox19.Image = ((System.Drawing.Image)(resources.GetObject("pictureBox19.Image"))); this.pictureBox19.Location = new System.Drawing.Point(224, 448); this.pictureBox19.Name = "pictureBox19"; this.pictureBox19.Size = new System.Drawing.Size(56, 96); this.pictureBox19.TabIndex = 0; this.pictureBox19.TabStop = false; // // pictureBox20 // this.pictureBox20.Image = ((System.Drawing.Image)(resources.GetObject("pictureBox20.Image"))); this.pictureBox20.Location = new System.Drawing.Point(264, 448); this.pictureBox20.Name = "pictureBox20"; this.pictureBox20.Size = new System.Drawing.Size(56, 96); this.pictureBox20.TabIndex = 0; this.pictureBox20.TabStop = false; // // pictureBox21 // this.pictureBox21.Image = ((System.Drawing.Image)(resources.GetObject("pictureBox21.Image"))); this.pictureBox21.Location = new System.Drawing.Point(296, 448); this.pictureBox21.Name = "pictureBox21"; this.pictureBox21.Size = new System.Drawing.Size(56, 96); this.pictureBox21.TabIndex = 0; this.pictureBox21.TabStop = false; // // pictureBox22 // this.pictureBox22.Image = ((System.Drawing.Image)(resources.GetObject("pictureBox22.Image"))); this.pictureBox22.Location = new System.Drawing.Point(320, 448); this.pictureBox22.Name = "pictureBox22"; this.pictureBox22.Size = new System.Drawing.Size(56, 96); this.pictureBox22.TabIndex = 0; this.pictureBox22.TabStop = false; // // pictureBox23 // this.pictureBox23.Image = ((System.Drawing.Image)(resources.GetObject("pictureBox23.Image"))); this.pictureBox23.Location = new System.Drawing.Point(352, 448); this.pictureBox23.Name = "pictureBox23"; this.pictureBox23.Size = new System.Drawing.Size(56, 96); this.pictureBox23.TabIndex = 0; this.pictureBox23.TabStop = false; // // pictureBox24 // this.pictureBox24.Image = ((System.Drawing.Image)(resources.GetObject("pictureBox24.Image"))); this.pictureBox24.Location = new System.Drawing.Point(16, 448); this.pictureBox24.Name = "pictureBox24"; this.pictureBox24.Size = new System.Drawing.Size(56, 96); this.pictureBox24.TabIndex = 0; this.pictureBox24.TabStop = false; // // pictureBox25 // this.pictureBox25.Image = ((System.Drawing.Image)(resources.GetObject("pictureBox25.Image"))); this.pictureBox25.Location = new System.Drawing.Point(40, 448); this.pictureBox25.Name = "pictureBox25"; this.pictureBox25.Size = new System.Drawing.Size(56, 96); this.pictureBox25.TabIndex = 0; this.pictureBox25.TabStop = false; // // pictureBox26 // this.pictureBox26.Image = ((System.Drawing.Image)(resources.GetObject("pictureBox26.Image"))); this.pictureBox26.Location = new System.Drawing.Point(64, 448); this.pictureBox26.Name = "pictureBox26"; this.pictureBox26.Size = new System.Drawing.Size(56, 96); this.pictureBox26.TabIndex = 0; this.pictureBox26.TabStop = false; // // pictureBox27 // this.pictureBox27.Image = ((System.Drawing.Image)(resources.GetObject("pictureBox27.Image"))); this.pictureBox27.Location = new System.Drawing.Point(88, 448); this.pictureBox27.Name = "pictureBox27"; this.pictureBox27.Size = new System.Drawing.Size(56, 96); this.pictureBox27.TabIndex = 0; this.pictureBox27.TabStop = false; // // pictureBox28 // this.pictureBox28.Image = ((System.Drawing.Image)(resources.GetObject("pictureBox28.Image"))); this.pictureBox28.Location = new System.Drawing.Point(112, 448); this.pictureBox28.Name = "pictureBox28"; this.pictureBox28.Size = new System.Drawing.Size(56, 96); this.pictureBox28.TabIndex = 0; this.pictureBox28.TabStop = false; // // pictureBox29 // this.pictureBox29.Image = ((System.Drawing.Image)(resources.GetObject("pictureBox29.Image"))); this.pictureBox29.Location = new System.Drawing.Point(136, 448); this.pictureBox29.Name = "pictureBox29"; this.pictureBox29.Size = new System.Drawing.Size(56, 96); this.pictureBox29.TabIndex = 0; this.pictureBox29.TabStop = false; // // pictureBox30 // this.pictureBox30.Image = ((System.Drawing.Image)(resources.GetObject("pictureBox30.Image"))); this.pictureBox30.Location = new System.Drawing.Point(176, 448); this.pictureBox30.Name = "pictureBox30"; this.pictureBox30.Size = new System.Drawing.Size(56, 96); this.pictureBox30.TabIndex = 0; this.pictureBox30.TabStop = false; // // pictureBox31 // this.pictureBox31.Image = ((System.Drawing.Image)(resources.GetObject("pictureBox31.Image"))); this.pictureBox31.Location = new System.Drawing.Point(208, 448); this.pictureBox31.Name = "pictureBox31"; this.pictureBox31.Size = new System.Drawing.Size(56, 96); this.pictureBox31.TabIndex = 0; this.pictureBox31.TabStop = false; // // pictureBox32 // this.pictureBox32.Image = ((System.Drawing.Image)(resources.GetObject("pictureBox32.Image"))); this.pictureBox32.Location = new System.Drawing.Point(232, 448); this.pictureBox32.Name = "pictureBox32"; this.pictureBox32.Size = new System.Drawing.Size(56, 96); this.pictureBox32.TabIndex = 0; this.pictureBox32.TabStop = false; // // pictureBox33 // this.pictureBox33.Image = ((System.Drawing.Image)(resources.GetObject("pictureBox33.Image"))); this.pictureBox33.Location = new System.Drawing.Point(256, 448); this.pictureBox33.Name = "pictureBox33"; this.pictureBox33.Size = new System.Drawing.Size(56, 96); this.pictureBox33.TabIndex = 0; this.pictureBox33.TabStop = false; // // pictureBox34 // this.pictureBox34.Image = ((System.Drawing.Image)(resources.GetObject("pictureBox34.Image"))); this.pictureBox34.Location = new System.Drawing.Point(288, 448); this.pictureBox34.Name = "pictureBox34"; this.pictureBox34.Size = new System.Drawing.Size(56, 96); this.pictureBox34.TabIndex = 0; this.pictureBox34.TabStop = false; // // pictureBox35 // this.pictureBox35.Image = ((System.Drawing.Image)(resources.GetObject("pictureBox35.Image"))); this.pictureBox35.Location = new System.Drawing.Point(320, 448); this.pictureBox35.Name = "pictureBox35"; this.pictureBox35.Size = new System.Drawing.Size(56, 96); this.pictureBox35.TabIndex = 0; this.pictureBox35.TabStop = false; // // pictureBox36 // this.pictureBox36.Image = ((System.Drawing.Image)(resources.GetObject("pictureBox36.Image"))); this.pictureBox36.Location = new System.Drawing.Point(352, 448); this.pictureBox36.Name = "pictureBox36"; this.pictureBox36.Size = new System.Drawing.Size(56, 96); this.pictureBox36.TabIndex = 0; this.pictureBox36.TabStop = false; // // pictureBox37 // this.pictureBox37.Image = ((System.Drawing.Image)(resources.GetObject("pictureBox37.Image"))); this.pictureBox37.Location = new System.Drawing.Point(24, 456); this.pictureBox37.Name = "pictureBox37"; this.pictureBox37.Size = new System.Drawing.Size(56, 96); this.pictureBox37.TabIndex = 0; this.pictureBox37.TabStop = false; // // pictureBox38 // this.pictureBox38.Image = ((System.Drawing.Image)(resources.GetObject("pictureBox38.Image"))); this.pictureBox38.Location = new System.Drawing.Point(40, 456); this.pictureBox38.Name = "pictureBox38"; this.pictureBox38.Size = new System.Drawing.Size(56, 96); this.pictureBox38.TabIndex = 0; this.pictureBox38.TabStop = false; // // pictureBox39 // this.pictureBox39.Image = ((System.Drawing.Image)(resources.GetObject("pictureBox39.Image"))); this.pictureBox39.Location = new System.Drawing.Point(56, 456); this.pictureBox39.Name = "pictureBox39"; this.pictureBox39.Size = new System.Drawing.Size(56, 96); this.pictureBox39.TabIndex = 0; this.pictureBox39.TabStop = false; // // pictureBox40 // this.pictureBox40.Image = ((System.Drawing.Image)(resources.GetObject("pictureBox40.Image"))); this.pictureBox40.Location = new System.Drawing.Point(72, 456); this.pictureBox40.Name = "pictureBox40"; this.pictureBox40.Size = new System.Drawing.Size(56, 96); this.pictureBox40.TabIndex = 0; this.pictureBox40.TabStop = false; // // pictureBox41 // this.pictureBox41.Image = ((System.Drawing.Image)(resources.GetObject("pictureBox41.Image"))); this.pictureBox41.Location = new System.Drawing.Point(88, 456); this.pictureBox41.Name = "pictureBox41"; this.pictureBox41.Size = new System.Drawing.Size(56, 96); this.pictureBox41.TabIndex = 0; this.pictureBox41.TabStop = false; // // pictureBox42 // this.pictureBox42.Image = ((System.Drawing.Image)(resources.GetObject("pictureBox42.Image"))); this.pictureBox42.Location = new System.Drawing.Point(104, 456); this.pictureBox42.Name = "pictureBox42"; this.pictureBox42.Size = new System.Drawing.Size(56, 96); this.pictureBox42.TabIndex = 0; this.pictureBox42.TabStop = false; // // pictureBox43 // this.pictureBox43.Image = ((System.Drawing.Image)(resources.GetObject("pictureBox43.Image"))); this.pictureBox43.Location = new System.Drawing.Point(120, 456); this.pictureBox43.Name = "pictureBox43"; this.pictureBox43.Size = new System.Drawing.Size(56, 96); this.pictureBox43.TabIndex = 0; this.pictureBox43.TabStop = false; // // pictureBox44 // this.pictureBox44.Image = ((System.Drawing.Image)(resources.GetObject("pictureBox44.Image"))); this.pictureBox44.Location = new System.Drawing.Point(136, 456); this.pictureBox44.Name = "pictureBox44"; this.pictureBox44.Size = new System.Drawing.Size(56, 96); this.pictureBox44.TabIndex = 0; this.pictureBox44.TabStop = false; // // pictureBox45 // this.pictureBox45.Image = ((System.Drawing.Image)(resources.GetObject("pictureBox45.Image"))); this.pictureBox45.Location = new System.Drawing.Point(160, 456); this.pictureBox45.Name = "pictureBox45"; this.pictureBox45.Size = new System.Drawing.Size(56, 96); this.pictureBox45.TabIndex = 0; this.pictureBox45.TabStop = false; // // pictureBox46 // this.pictureBox46.Image = ((System.Drawing.Image)(resources.GetObject("pictureBox46.Image"))); this.pictureBox46.Location = new System.Drawing.Point(184, 456); this.pictureBox46.Name = "pictureBox46"; this.pictureBox46.Size = new System.Drawing.Size(56, 96); this.pictureBox46.TabIndex = 0; this.pictureBox46.TabStop = false; // // pictureBox47 // this.pictureBox47.Image = ((System.Drawing.Image)(resources.GetObject("pictureBox47.Image"))); this.pictureBox47.Location = new System.Drawing.Point(216, 456); this.pictureBox47.Name = "pictureBox47"; this.pictureBox47.Size = new System.Drawing.Size(56, 96); this.pictureBox47.TabIndex = 0; this.pictureBox47.TabStop = false; // // pictureBox48 // this.pictureBox48.Image = ((System.Drawing.Image)(resources.GetObject("pictureBox48.Image"))); this.pictureBox48.Location = new System.Drawing.Point(240, 456); this.pictureBox48.Name = "pictureBox48"; this.pictureBox48.Size = new System.Drawing.Size(56, 96); this.pictureBox48.TabIndex = 0; this.pictureBox48.TabStop = false; // // pictureBox49 // this.pictureBox49.Image = ((System.Drawing.Image)(resources.GetObject("pictureBox49.Image"))); this.pictureBox49.Location = new System.Drawing.Point(280, 456); this.pictureBox49.Name = "pictureBox49"; this.pictureBox49.Size = new System.Drawing.Size(56, 96); this.pictureBox49.TabIndex = 0; this.pictureBox49.TabStop = false; // // pictureBox50 // this.pictureBox50.Image = ((System.Drawing.Image)(resources.GetObject("pictureBox50.Image"))); this.pictureBox50.Location = new System.Drawing.Point(16, 488); this.pictureBox50.Name = "pictureBox50"; this.pictureBox50.Size = new System.Drawing.Size(56, 96); this.pictureBox50.TabIndex = 0; this.pictureBox50.TabStop = false; // // pictureBox51 // this.pictureBox51.Image = ((System.Drawing.Image)(resources.GetObject("pictureBox51.Image"))); this.pictureBox51.Location = new System.Drawing.Point(32, 488); this.pictureBox51.Name = "pictureBox51"; this.pictureBox51.Size = new System.Drawing.Size(56, 96); this.pictureBox51.TabIndex = 0; this.pictureBox51.TabStop = false; // // pictureBox52 // this.pictureBox52.Image = ((System.Drawing.Image)(resources.GetObject("pictureBox52.Image"))); this.pictureBox52.Location = new System.Drawing.Point(48, 488); this.pictureBox52.Name = "pictureBox52"; this.pictureBox52.Size = new System.Drawing.Size(56, 96); this.pictureBox52.TabIndex = 0; this.pictureBox52.TabStop = false; // // pictureBox53 // this.pictureBox53.Image = ((System.Drawing.Image)(resources.GetObject("pictureBox53.Image"))); this.pictureBox53.Location = new System.Drawing.Point(80, 488); this.pictureBox53.Name = "pictureBox53"; this.pictureBox53.Size = new System.Drawing.Size(56, 96); this.pictureBox53.TabIndex = 0; this.pictureBox53.TabStop = false; // // pictureBox54 // this.pictureBox54.Image = ((System.Drawing.Image)(resources.GetObject("pictureBox54.Image"))); this.pictureBox54.Location = new System.Drawing.Point(96, 488); this.pictureBox54.Name = "pictureBox54"; this.pictureBox54.Size = new System.Drawing.Size(56, 96); this.pictureBox54.TabIndex = 0; this.pictureBox54.TabStop = false; // // pictureBox55 // this.pictureBox55.Image = ((System.Drawing.Image)(resources.GetObject("pictureBox55.Image"))); this.pictureBox55.Location = new System.Drawing.Point(120, 488); this.pictureBox55.Name = "pictureBox55"; this.pictureBox55.Size = new System.Drawing.Size(56, 96); this.pictureBox55.TabIndex = 0; this.pictureBox55.TabStop = false; // // pictureBox56 // this.pictureBox56.Image = ((System.Drawing.Image)(resources.GetObject("pictureBox56.Image"))); this.pictureBox56.Location = new System.Drawing.Point(144, 488); this.pictureBox56.Name = "pictureBox56"; this.pictureBox56.Size = new System.Drawing.Size(56, 96); this.pictureBox56.TabIndex = 0; this.pictureBox56.TabStop = false; // // pictureBox57 // this.pictureBox57.Image = ((System.Drawing.Image)(resources.GetObject("pictureBox57.Image"))); this.pictureBox57.Location = new System.Drawing.Point(168, 488); this.pictureBox57.Name = "pictureBox57"; this.pictureBox57.Size = new System.Drawing.Size(56, 96); this.pictureBox57.TabIndex = 0; this.pictureBox57.TabStop = false; // // pictureBox58 // this.pictureBox58.Image = ((System.Drawing.Image)(resources.GetObject("pictureBox58.Image"))); this.pictureBox58.Location = new System.Drawing.Point(192, 488); this.pictureBox58.Name = "pictureBox58"; this.pictureBox58.Size = new System.Drawing.Size(56, 96); this.pictureBox58.TabIndex = 0; this.pictureBox58.TabStop = false; // // pictureBox59 // this.pictureBox59.Image = ((System.Drawing.Image)(resources.GetObject("pictureBox59.Image"))); this.pictureBox59.Location = new System.Drawing.Point(224, 488); this.pictureBox59.Name = "pictureBox59"; this.pictureBox59.Size = new System.Drawing.Size(56, 96); this.pictureBox59.TabIndex = 0; this.pictureBox59.TabStop = false; // // pictureBox60 // this.pictureBox60.Image = ((System.Drawing.Image)(resources.GetObject("pictureBox60.Image"))); this.pictureBox60.Location = new System.Drawing.Point(248, 488); this.pictureBox60.Name = "pictureBox60"; this.pictureBox60.Size = new System.Drawing.Size(56, 96); this.pictureBox60.TabIndex = 0; this.pictureBox60.TabStop = false; // // pictureBox61 // this.pictureBox61.Image = ((System.Drawing.Image)(resources.GetObject("pictureBox61.Image"))); this.pictureBox61.Location = new System.Drawing.Point(272, 488); this.pictureBox61.Name = "pictureBox61"; this.pictureBox61.Size = new System.Drawing.Size(56, 96); this.pictureBox61.TabIndex = 0; this.pictureBox61.TabStop = false; // // pictureBox62 // this.pictureBox62.Image = ((System.Drawing.Image)(resources.GetObject("pictureBox62.Image"))); this.pictureBox62.Location = new System.Drawing.Point(296, 488); this.pictureBox62.Name = "pictureBox62"; this.pictureBox62.Size = new System.Drawing.Size(56, 96); this.pictureBox62.TabIndex = 0; this.pictureBox62.TabStop = false; // // pictureBox63 // this.pictureBox63.Image = ((System.Drawing.Image)(resources.GetObject("pictureBox63.Image"))); this.pictureBox63.Location = new System.Drawing.Point(480, 488); this.pictureBox63.Name = "pictureBox63"; this.pictureBox63.Size = new System.Drawing.Size(71, 96); this.pictureBox63.TabIndex = 0; this.pictureBox63.TabStop = false; // // pictureBox64 // this.pictureBox64.Location = new System.Drawing.Point(456, 448); this.pictureBox64.Name = "pictureBox64"; this.pictureBox64.Size = new System.Drawing.Size(56, 96); this.pictureBox64.TabIndex = 0; this.pictureBox64.TabStop = false; // // Form1 // this.AutoScaleBaseSize = new System.Drawing.Size(5, 13); this.ClientSize = new System.Drawing.Size(578, 387); this.Controls.Add(this.button1); this.Controls.Add(this.pictureBox1); this.Controls.Add(this.pictureBox2); this.Controls.Add(this.pictureBox3); this.Controls.Add(this.pictureBox4); this.Controls.Add(this.pictureBox5); this.Controls.Add(this.pictureBox6); this.Controls.Add(this.pictureBox7); this.Controls.Add(this.pictureBox8); this.Controls.Add(this.pictureBox9); this.Controls.Add(this.pictureBox10); this.Controls.Add(this.button2); this.Controls.Add(this.button3); this.Controls.Add(this.button4); this.Controls.Add(this.pictureBox11); this.Controls.Add(this.pictureBox12); this.Controls.Add(this.pictureBox13); this.Controls.Add(this.pictureBox14); this.Controls.Add(this.pictureBox15); this.Controls.Add(this.pictureBox16); this.Controls.Add(this.pictureBox17); this.Controls.Add(this.pictureBox18); this.Controls.Add(this.pictureBox19); this.Controls.Add(this.pictureBox20); this.Controls.Add(this.pictureBox21); this.Controls.Add(this.pictureBox22); this.Controls.Add(this.pictureBox23); this.Controls.Add(this.pictureBox24); this.Controls.Add(this.pictureBox25); this.Controls.Add(this.pictureBox26); this.Controls.Add(this.pictureBox27); this.Controls.Add(this.pictureBox28); this.Controls.Add(this.pictureBox29); this.Controls.Add(this.pictureBox30); this.Controls.Add(this.pictureBox31); this.Controls.Add(this.pictureBox32); this.Controls.Add(this.pictureBox33); this.Controls.Add(this.pictureBox34); this.Controls.Add(this.pictureBox35); this.Controls.Add(this.pictureBox36); this.Controls.Add(this.pictureBox37); this.Controls.Add(this.pictureBox38); this.Controls.Add(this.pictureBox39); this.Controls.Add(this.pictureBox40); this.Controls.Add(this.pictureBox41); this.Controls.Add(this.pictureBox42); this.Controls.Add(this.pictureBox43); this.Controls.Add(this.pictureBox44); this.Controls.Add(this.pictureBox45); this.Controls.Add(this.pictureBox46); this.Controls.Add(this.pictureBox47); this.Controls.Add(this.pictureBox48); this.Controls.Add(this.pictureBox49); this.Controls.Add(this.pictureBox50); this.Controls.Add(this.pictureBox51); this.Controls.Add(this.pictureBox52); this.Controls.Add(this.pictureBox53); this.Controls.Add(this.pictureBox54); this.Controls.Add(this.pictureBox55); this.Controls.Add(this.pictureBox56); this.Controls.Add(this.pictureBox57); this.Controls.Add(this.pictureBox58); this.Controls.Add(this.pictureBox59); this.Controls.Add(this.pictureBox60); this.Controls.Add(this.pictureBox61); this.Controls.Add(this.pictureBox62); this.Controls.Add(this.pictureBox63); this.Controls.Add(this.pictureBox64); this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedToolWindow; this.MaximizeBox = false; this.Menu = this.mainMenu1; this.Name = "Form1"; this.Text = "AAS"; this.Load += new System.EventHandler(this.Form1_Load); ((System.ComponentModel.ISupportInitialize)(this.timer1)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.pictureBox1)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.pictureBox2)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.pictureBox3)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.pictureBox4)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.pictureBox5)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.pictureBox6)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.pictureBox7)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.pictureBox8)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.pictureBox9)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.pictureBox10)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.pictureBox11)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.pictureBox12)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.pictureBox13)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.pictureBox14)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.pictureBox15)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.pictureBox16)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.pictureBox17)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.pictureBox18)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.pictureBox19)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.pictureBox20)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.pictureBox21)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.pictureBox22)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.pictureBox23)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.pictureBox24)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.pictureBox25)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.pictureBox26)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.pictureBox27)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.pictureBox28)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.pictureBox29)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.pictureBox30)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.pictureBox31)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.pictureBox32)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.pictureBox33)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.pictureBox34)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.pictureBox35)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.pictureBox36)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.pictureBox37)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.pictureBox38)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.pictureBox39)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.pictureBox40)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.pictureBox41)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.pictureBox42)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.pictureBox43)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.pictureBox44)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.pictureBox45)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.pictureBox46)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.pictureBox47)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.pictureBox48)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.pictureBox49)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.pictureBox50)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.pictureBox51)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.pictureBox52)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.pictureBox53)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.pictureBox54)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.pictureBox55)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.pictureBox56)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.pictureBox57)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.pictureBox58)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.pictureBox59)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.pictureBox60)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.pictureBox61)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.pictureBox62)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.pictureBox63)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.pictureBox64)).EndInit(); this.ResumeLayout(false); } #endregion [STAThread] static void Main() { Application.Run(new Form1()); } private void Form1_Load(object sender, System.EventArgs e) { YeniOyun(); } public void YeniOyun() { Random r=new Random(); int sayi=0; for(int i=0;i<4;++i) { sayi=r.Next(11,62); if (i==0)GonderComputer(pictureBox1,sayi); else if(i==1) GonderComputer(pictureBox2,sayi); else if(i==2) GonderHuman(pictureBox6,sayi); else if(i==3) GonderHuman(pictureBox7,sayi); } KontrolComputer(); KontrolHuman(); } public void KontrolComputer() { if((toplamComputer>17)&&(toplamComputer<=21)) Wins("computer"); else if((toplamComputer>21)) Wins("human"); } public void KontrolHuman() { if(toplamHuman>21) Wins("computer"); } public void ForComputer(Object m,int sayi) { PictureBox a=new PictureBox(); a=(PictureBox)m; a.Image = ((System.Drawing.Image)(pictureBox63.Image)); toplamComputer+=sayi; } public void ForHuman(Object m,int sayi,int resim) { PictureBox a=new PictureBox(); a=(PictureBox)m; if(resim==11) ResimGoster(a,pictureBox11); else if(resim==12) ResimGoster(a,pictureBox12); else if(resim==13) ResimGoster(a,pictureBox13); else if(resim==14) ResimGoster(a,pictureBox14); else if(resim==15) ResimGoster(a,pictureBox15); else if(resim==16) ResimGoster(a,pictureBox16); else if(resim==17) ResimGoster(a,pictureBox17); else if(resim==18) ResimGoster(a,pictureBox18); else if(resim==19) ResimGoster(a,pictureBox19); else if(resim==20) ResimGoster(a,pictureBox20); else if(resim==21) ResimGoster(a,pictureBox21); else if(resim==22) ResimGoster(a,pictureBox22); else if(resim==23) ResimGoster(a,pictureBox23); else if(resim==24) ResimGoster(a,pictureBox24); else if(resim==25) ResimGoster(a,pictureBox25); else if(resim==26) ResimGoster(a,pictureBox26); else if(resim==27) ResimGoster(a,pictureBox27); else if(resim==28) ResimGoster(a,pictureBox28); else if(resim==29) ResimGoster(a,pictureBox29); else if(resim==30) ResimGoster(a,pictureBox30); else if(resim==31) ResimGoster(a,pictureBox31); else if(resim==32) ResimGoster(a,pictureBox32); else if(resim==33) ResimGoster(a,pictureBox33); else if(resim==34) ResimGoster(a,pictureBox34); else if(resim==35) ResimGoster(a,pictureBox35); else if(resim==36) ResimGoster(a,pictureBox36); else if(resim==37) ResimGoster(a,pictureBox37); else if(resim==38) ResimGoster(a,pictureBox38); else if(resim==39) ResimGoster(a,pictureBox39); else if(resim==40) ResimGoster(a,pictureBox40); else if(resim==41) ResimGoster(a,pictureBox41); else if(resim==42) ResimGoster(a,pictureBox42); else if(resim==43) ResimGoster(a,pictureBox43); else if(resim==44) ResimGoster(a,pictureBox44); else if(resim==45) ResimGoster(a,pictureBox45); else if(resim==46) ResimGoster(a,pictureBox46); else if(resim==47) ResimGoster(a,pictureBox47); else if(resim==48) ResimGoster(a,pictureBox48); else if(resim==49) ResimGoster(a,pictureBox49); else if(resim==50) ResimGoster(a,pictureBox50); else if(resim==51) ResimGoster(a,pictureBox51); else if(resim==52) ResimGoster(a,pictureBox52); else if(resim==53) ResimGoster(a,pictureBox53); else if(resim==54) ResimGoster(a,pictureBox54); else if(resim==55) ResimGoster(a,pictureBox55); else if(resim==56) ResimGoster(a,pictureBox56); else if(resim==57) ResimGoster(a,pictureBox57); else if(resim==58) ResimGoster(a,pictureBox58); else if(resim==59) ResimGoster(a,pictureBox59); else if(resim==60) ResimGoster(a,pictureBox60); else if(resim==61) ResimGoster(a,pictureBox61); else if(resim==62) ResimGoster(a,pictureBox62); toplamHuman+=sayi; } public void ResimGoster(Object m1,Object m2) { PictureBox a=new PictureBox(); a=(PictureBox)m1; PictureBox b=new PictureBox(); b=(PictureBox)m2; a.Image = ((System.Drawing.Image)(b.Image)); } private void timer1_Elapsed(object sender, System.Timers.ElapsedEventArgs e) { int yedek=ii; String text=""; if (kaydirma) { for(;ii>0;--ii) text+=" "; ii=yedek-1; text+="AAS"; if(ii==1) kaydirma=false; } else { for(;ii>0;--ii) text+=" "; ii=yedek+1; text+="AAS"; if(ii==150) kaydirma=true; } this.Text=text; } private void menuItem4_Click(object sender, System.EventArgs e) { this.Close(); } private void menuItem3_Click(object sender, System.EventArgs e) { YeniOyun(); } private void button1_Click(object sender, System.EventArgs e) { toplamComputer=0; toplamHuman=0; button2.Enabled=true; button3.Enabled=true; YeniOyun(); sira=2; pictureBox3.Image=((System.Drawing.Image)(pictureBox64.Image)); pictureBox4.Image=((System.Drawing.Image)(pictureBox64.Image)); pictureBox5.Image=((System.Drawing.Image)(pictureBox64.Image)); pictureBox8.Image=((System.Drawing.Image)(pictureBox64.Image)); pictureBox9.Image=((System.Drawing.Image)(pictureBox64.Image)); pictureBox10.Image=((System.Drawing.Image)(pictureBox64.Image)); } public void GonderComputer(Object m,int sayi) { PictureBox a=new PictureBox(); a=(PictureBox)m; if((sayi==11)||(sayi==24)||(sayi==37)||(sayi==50)) ForComputer(a,2); else if((sayi==12)||(sayi==25)||(sayi==38)||(sayi==51)) ForComputer(a,3); else if((sayi==13)||(sayi==26)||(sayi==39)||(sayi==52)) ForComputer(a,4); else if((sayi==14)||(sayi==27)||(sayi==40)||(sayi==53)) ForComputer(a,5); else if((sayi==15)||(sayi==28)||(sayi==41)||(sayi==54)) ForComputer(a,6); else if((sayi==16)||(sayi==29)||(sayi==42)||(sayi==55)) ForComputer(a,7); else if((sayi==17)||(sayi==30)||(sayi==43)||(sayi==56)) ForComputer(a,8); else if((sayi==18)||(sayi==31)||(sayi==44)||(sayi==57)) ForComputer(a,9); else if((sayi==19)||(sayi==32)||(sayi==45)||(sayi==58)) ForComputer(a,10); else if((sayi==20)||(sayi==33)||(sayi==46)||(sayi==59)) ForComputer(a,11); else if((sayi==21)||(sayi==34)||(sayi==47)||(sayi==60)) ForComputer(a,10); else if((sayi==22)||(sayi==35)||(sayi==48)||(sayi==61)) ForComputer(a,10); else if((sayi==23)||(sayi==36)||(sayi==49)||(sayi==62)) ForComputer(a,10); } public void GonderHuman(Object m,int sayi) { PictureBox a=new PictureBox(); a=(PictureBox)m; if((sayi==11)||(sayi==24)||(sayi==37)||(sayi==50)) ForHuman(a,2,sayi); else if((sayi==12)||(sayi==25)||(sayi==38)||(sayi==51)) ForHuman(a,3,sayi); else if((sayi==13)||(sayi==26)||(sayi==39)||(sayi==52)) ForHuman(a,4,sayi); else if((sayi==14)||(sayi==27)||(sayi==40)||(sayi==53)) ForHuman(a,5,sayi); else if((sayi==15)||(sayi==28)||(sayi==41)||(sayi==54)) ForHuman(a,6,sayi); else if((sayi==16)||(sayi==29)||(sayi==42)||(sayi==55)) ForHuman(a,7,sayi); else if((sayi==17)||(sayi==30)||(sayi==43)||(sayi==56)) ForHuman(a,8,sayi); else if((sayi==18)||(sayi==31)||(sayi==44)||(sayi==57)) ForHuman(a,9,sayi); else if((sayi==19)||(sayi==32)||(sayi==45)||(sayi==58)) ForHuman(a,10,sayi); else if((sayi==20)||(sayi==33)||(sayi==46)||(sayi==59)) ForHuman(a,11,sayi); else if((sayi==21)||(sayi==34)||(sayi==47)||(sayi==60)) ForHuman(a,10,sayi); else if((sayi==22)||(sayi==35)||(sayi==48)||(sayi==61)) ForHuman(a,10,sayi); else if((sayi==23)||(sayi==36)||(sayi==49)||(sayi==62)) ForHuman(a,10,sayi); } private void button2_Click(object sender, System.EventArgs e) { Random r=new Random(); int sayi=r.Next(11,62); if(sira==2) { GonderHuman(pictureBox8,sayi); KontrolHuman(); GonderComputer(pictureBox3,sayi); KontrolComputer(); sira++; } else if(sira==3) { GonderHuman(pictureBox9,sayi); KontrolHuman(); GonderComputer(pictureBox4,sayi); KontrolComputer(); sira++; } else if(sira==4) { GonderHuman(pictureBox10,sayi); KontrolHuman(); GonderComputer(pictureBox5,sayi); KontrolComputer(); sira++; button2.Enabled=false; button3.Enabled=false; } } public void Wins(string text) { if(text.Equals("computer")) MessageBox.Show("Kazanan bilgisayar oldu! Bilgisayarın elindeki toplam = "+toplamComputer,"Oyun Bitti!",MessageBoxButtons.OK,MessageBoxIcon.Information); else MessageBox.Show("Kazanan siz oldunuz! Elinizdeki toplam = "+toplamHuman+"\nBilgisayarın elindeki toplam = "+toplamComputer,"Oyun Bitti!",MessageBoxButtons.OK,MessageBoxIcon.Information); button2.Enabled=false; button3.Enabled=false; toplamComputer=0; toplamHuman=0; } private void button3_Click(object sender, System.EventArgs e) { if(toplamComputer>toplamHuman) Wins("computer"); else Wins("Human"); } private void button4_Click(object sender, System.EventArgs e) { MessageBox.Show("--,"Coder!",MessageBoxButtons.OK,MessageBoxIcon.Information); } private void menuItem5_Click(object sender, System.EventArgs e) { MessageBox.Show(""--,"Coder!",MessageBoxButtons.OK,MessageBoxIcon.Information); } } } |
|