Visual C#.NET'te 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(typ eof(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.t imer1)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.p ictureBox1)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.p ictureBox2)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.p ictureBox3)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.p ictureBox4)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.p ictureBox5)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.p ictureBox6)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.p ictureBox7)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.p ictureBox8)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.p ictureBox9)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.p ictureBox10)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.p ictureBox11)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.p ictureBox12)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.p ictureBox13)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.p ictureBox14)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.p ictureBox15)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.p ictureBox16)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.p ictureBox17)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.p ictureBox18)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.p ictureBox19)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.p ictureBox20)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.p ictureBox21)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.p ictureBox22)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.p ictureBox23)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.p ictureBox24)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.p ictureBox25)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.p ictureBox26)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.p ictureBox27)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.p ictureBox28)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.p ictureBox29)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.p ictureBox30)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.p ictureBox31)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.p ictureBox32)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.p ictureBox33)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.p ictureBox34)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.p ictureBox35)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.p ictureBox36)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.p ictureBox37)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.p ictureBox38)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.p ictureBox39)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.p ictureBox40)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.p ictureBox41)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.p ictureBox42)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.p ictureBox43)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.p ictureBox44)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.p ictureBox45)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.p ictureBox46)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.p ictureBox47)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.p ictureBox48)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.p ictureBox49)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.p ictureBox50)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.p ictureBox51)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.p ictureBox52)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.p ictureBox53)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.p ictureBox54)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.p ictureBox55)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.p ictureBox56)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.p ictureBox57)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.p ictureBox58)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.p ictureBox59)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.p ictureBox60)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.p ictureBox61)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.p ictureBox62)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.p ictureBox63)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.p ictureBox64)).BeginInit(); this.SuspendLayout(); // // timer1 // this.timer1.Enabled = true; this.timer1.SynchronizingObject = this; this.timer1.Elapsed += new System.Timers.ElapsedEventHandler(this.timer1_Elap sed); // // 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("pictu reBox11.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("pictu reBox12.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("pictu reBox13.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("pictu reBox14.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("pictu reBox15.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("pictu reBox16.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("pictu reBox17.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("pictu reBox18.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("pictu reBox19.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("pictu reBox20.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("pictu reBox21.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("pictu reBox22.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("pictu reBox23.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("pictu reBox24.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("pictu reBox25.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("pictu reBox26.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("pictu reBox27.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("pictu reBox28.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("pictu reBox29.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("pictu reBox30.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("pictu reBox31.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("pictu reBox32.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("pictu reBox33.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("pictu reBox34.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("pictu reBox35.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("pictu reBox36.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("pictu reBox37.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("pictu reBox38.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("pictu reBox39.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("pictu reBox40.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("pictu reBox41.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("pictu reBox42.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("pictu reBox43.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("pictu reBox44.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("pictu reBox45.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("pictu reBox46.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("pictu reBox47.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("pictu reBox48.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("pictu reBox49.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("pictu reBox50.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("pictu reBox51.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("pictu reBox52.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("pictu reBox53.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("pictu reBox54.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("pictu reBox55.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("pictu reBox56.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("pictu reBox57.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("pictu reBox58.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("pictu reBox59.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("pictu reBox60.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("pictu reBox61.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("pictu reBox62.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("pictu reBox63.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.FixedToolWind ow; 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.t imer1)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.p ictureBox1)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.p ictureBox2)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.p ictureBox3)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.p ictureBox4)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.p ictureBox5)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.p ictureBox6)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.p ictureBox7)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.p ictureBox8)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.p ictureBox9)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.p ictureBox10)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.p ictureBox11)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.p ictureBox12)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.p ictureBox13)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.p ictureBox14)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.p ictureBox15)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.p ictureBox16)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.p ictureBox17)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.p ictureBox18)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.p ictureBox19)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.p ictureBox20)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.p ictureBox21)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.p ictureBox22)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.p ictureBox23)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.p ictureBox24)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.p ictureBox25)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.p ictureBox26)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.p ictureBox27)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.p ictureBox28)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.p ictureBox29)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.p ictureBox30)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.p ictureBox31)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.p ictureBox32)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.p ictureBox33)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.p ictureBox34)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.p ictureBox35)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.p ictureBox36)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.p ictureBox37)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.p ictureBox38)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.p ictureBox39)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.p ictureBox40)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.p ictureBox41)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.p ictureBox42)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.p ictureBox43)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.p ictureBox44)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.p ictureBox45)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.p ictureBox46)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.p ictureBox47)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.p ictureBox48)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.p ictureBox49)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.p ictureBox50)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.p ictureBox51)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.p ictureBox52)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.p ictureBox53)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.p ictureBox54)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.p ictureBox55)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.p ictureBox56)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.p ictureBox57)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.p ictureBox58)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.p ictureBox59)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.p ictureBox60)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.p ictureBox61)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.p ictureBox62)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.p ictureBox63)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.p ictureBox64)).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(1162); if (i==0)GonderComputer(pictureBox1sayi); else if(i==1) GonderComputer(pictureBox2sayi); else if(i==2) GonderHuman(pictureBox6sayi); else if(i==3) GonderHuman(pictureBox7sayi); } 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 mint sayi) { PictureBox a=new PictureBox(); a=(PictureBox)m; a.Image = ((System.Drawing.Image)(pictureBox63.Image)); toplamComputer+=sayi; } public void ForHuman(Object mint sayiint resim) { PictureBox a=new PictureBox(); a=(PictureBox)m; if(resim==11) ResimGoster(apictureBox11); else if(resim==12) ResimGoster(apictureBox12); else if(resim==13) ResimGoster(apictureBox13); else if(resim==14) ResimGoster(apictureBox14); else if(resim==15) ResimGoster(apictureBox15); else if(resim==16) ResimGoster(apictureBox16); else if(resim==17) ResimGoster(apictureBox17); else if(resim==18) ResimGoster(apictureBox18); else if(resim==19) ResimGoster(apictureBox19); else if(resim==20) ResimGoster(apictureBox20); else if(resim==21) ResimGoster(apictureBox21); else if(resim==22) ResimGoster(apictureBox22); else if(resim==23) ResimGoster(apictureBox23); else if(resim==24) ResimGoster(apictureBox24); else if(resim==25) ResimGoster(apictureBox25); else if(resim==26) ResimGoster(apictureBox26); else if(resim==27) ResimGoster(apictureBox27); else if(resim==28) ResimGoster(apictureBox28); else if(resim==29) ResimGoster(apictureBox29); else if(resim==30) ResimGoster(apictureBox30); else if(resim==31) ResimGoster(apictureBox31); else if(resim==32) ResimGoster(apictureBox32); else if(resim==33) ResimGoster(apictureBox33); else if(resim==34) ResimGoster(apictureBox34); else if(resim==35) ResimGoster(apictureBox35); else if(resim==36) ResimGoster(apictureBox36); else if(resim==37) ResimGoster(apictureBox37); else if(resim==38) ResimGoster(apictureBox38); else if(resim==39) ResimGoster(apictureBox39); else if(resim==40) ResimGoster(apictureBox40); else if(resim==41) ResimGoster(apictureBox41); else if(resim==42) ResimGoster(apictureBox42); else if(resim==43) ResimGoster(apictureBox43); else if(resim==44) ResimGoster(apictureBox44); else if(resim==45) ResimGoster(apictureBox45); else if(resim==46) ResimGoster(apictureBox46); else if(resim==47) ResimGoster(apictureBox47); else if(resim==48) ResimGoster(apictureBox48); else if(resim==49) ResimGoster(apictureBox49); else if(resim==50) ResimGoster(apictureBox50); else if(resim==51) ResimGoster(apictureBox51); else if(resim==52) ResimGoster(apictureBox52); else if(resim==53) ResimGoster(apictureBox53); else if(resim==54) ResimGoster(apictureBox54); else if(resim==55) ResimGoster(apictureBox55); else if(resim==56) ResimGoster(apictureBox56); else if(resim==57) ResimGoster(apictureBox57); else if(resim==58) ResimGoster(apictureBox58); else if(resim==59) ResimGoster(apictureBox59); else if(resim==60) ResimGoster(apictureBox60); else if(resim==61) ResimGoster(apictureBox61); else if(resim==62) ResimGoster(apictureBox62); toplamHuman+=sayi; } public void ResimGoster(Object m1Object 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)(pictureB ox64.Image)); pictureBox4.Image=((System.Drawing.Image)(pictureB ox64.Image)); pictureBox5.Image=((System.Drawing.Image)(pictureB ox64.Image)); pictureBox8.Image=((System.Drawing.Image)(pictureB ox64.Image)); pictureBox9.Image=((System.Drawing.Image)(pictureB ox64.Image)); pictureBox10.Image=((System.Drawing.Image)(picture Box64.Image)); } public void GonderComputer(Object mint sayi) { PictureBox a=new PictureBox(); a=(PictureBox)m; if((sayi==11)||(sayi==24)||(sayi==37)||(sayi==50)) ForComputer(a2); else if((sayi==12)||(sayi==25)||(sayi==38)||(sayi==51)) ForComputer(a3); else if((sayi==13)||(sayi==26)||(sayi==39)||(sayi==52)) ForComputer(a4); else if((sayi==14)||(sayi==27)||(sayi==40)||(sayi==53)) ForComputer(a5); else if((sayi==15)||(sayi==28)||(sayi==41)||(sayi==54)) ForComputer(a6); else if((sayi==16)||(sayi==29)||(sayi==42)||(sayi==55)) ForComputer(a7); else if((sayi==17)||(sayi==30)||(sayi==43)||(sayi==56)) ForComputer(a8); else if((sayi==18)||(sayi==31)||(sayi==44)||(sayi==57)) ForComputer(a9); else if((sayi==19)||(sayi==32)||(sayi==45)||(sayi==58)) ForComputer(a10); else if((sayi==20)||(sayi==33)||(sayi==46)||(sayi==59)) ForComputer(a11); else if((sayi==21)||(sayi==34)||(sayi==47)||(sayi==60)) ForComputer(a10); else if((sayi==22)||(sayi==35)||(sayi==48)||(sayi==61)) ForComputer(a10); else if((sayi==23)||(sayi==36)||(sayi==49)||(sayi==62)) ForComputer(a10); } public void GonderHuman(Object mint sayi) { PictureBox a=new PictureBox(); a=(PictureBox)m; if((sayi==11)||(sayi==24)||(sayi==37)||(sayi==50)) ForHuman(a2sayi); else if((sayi==12)||(sayi==25)||(sayi==38)||(sayi==51)) ForHuman(a3sayi); else if((sayi==13)||(sayi==26)||(sayi==39)||(sayi==52)) ForHuman(a4sayi); else if((sayi==14)||(sayi==27)||(sayi==40)||(sayi==53)) ForHuman(a5sayi); else if((sayi==15)||(sayi==28)||(sayi==41)||(sayi==54)) ForHuman(a6sayi); else if((sayi==16)||(sayi==29)||(sayi==42)||(sayi==55)) ForHuman(a7sayi); else if((sayi==17)||(sayi==30)||(sayi==43)||(sayi==56)) ForHuman(a8sayi); else if((sayi==18)||(sayi==31)||(sayi==44)||(sayi==57)) ForHuman(a9sayi); else if((sayi==19)||(sayi==32)||(sayi==45)||(sayi==58)) ForHuman(a10sayi); else if((sayi==20)||(sayi==33)||(sayi==46)||(sayi==59)) ForHuman(a11sayi); else if((sayi==21)||(sayi==34)||(sayi==47)||(sayi==60)) ForHuman(a10sayi); else if((sayi==22)||(sayi==35)||(sayi==48)||(sayi==61)) ForHuman(a10sayi); else if((sayi==23)||(sayi==36)||(sayi==49)||(sayi==62)) ForHuman(a10sayi); } private void button2_Click(object sender System.EventArgs e) { Random r=new Random(); int sayi=r.Next(1162); if(sira==2) { GonderHuman(pictureBox8sayi); KontrolHuman(); GonderComputer(pictureBox3sayi); KontrolComputer(); sira++; } else if(sira==3) { GonderHuman(pictureBox9sayi); KontrolHuman(); GonderComputer(pictureBox4sayi); KontrolComputer(); sira++; } else if(sira==4) { GonderHuman(pictureBox10sayi); KontrolHuman(); GonderComputer(pictureBox5sayi); 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.OKMessageBoxIcon.Inform ation); else MessageBox.Show("Kazanan siz oldunuz! Elinizdeki toplam = "+toplamHuman+"\nBilgisayarın elindeki toplam = "+toplamComputer"Oyun Bitti!"MessageBoxButtons.OKMessageBoxIcon.Inform ation); 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.OKMessageBoxIcon.I nfo rmation); } private void menuItem5_Click(object sender System.EventArgs e) { MessageBox.Show(""--"Coder!"MessageBoxButtons.OKMessageBoxIcon.I nfo rmation); } } } |
Bütün Zaman Ayarları WEZ +3.5 olarak düzenlenmiştir. şu Anki Saat: 01:46 AM . |