Merhaba Form1 Üzerinde GrupKodu İsmi yazan yerdeki küçük butona tıklayınca Form 7 açılıyor ve listviewden ürün seçip çift tıklayınca Form 1 de textbox kısmına ekliyor tam ekleme esnasında bir tane daha Form 1 açılıyor kapat dediğimde ise iki form birden kapanıyor.
Form 1 Kodları ;
`private void InitializeComponent()
{
this.label2 = new System.Windows.Forms.Label();
this.label4 = new System.Windows.Forms.Label();
this.label5 = new System.Windows.Forms.Label();
this.combourungrup = new System.Windows.Forms.ComboBox();
this.txtserino = new System.Windows.Forms.TextBox();
this.label6 = new System.Windows.Forms.Label();
this.txtstokadı = new System.Windows.Forms.TextBox();
this.label7 = new System.Windows.Forms.Label();
this.txtalisfiyati = new System.Windows.Forms.TextBox();
this.label8 = new System.Windows.Forms.Label();
this.label9 = new System.Windows.Forms.Label();
this.label10 = new System.Windows.Forms.Label();
this.combokdv = new System.Windows.Forms.ComboBox();
this.combomarka1 = new System.Windows.Forms.ComboBox();
this.txtmarka = new System.Windows.Forms.TextBox();
this.combodurum = new System.Windows.Forms.ComboBox();
this.btnStokTanimla = new System.Windows.Forms.Button();
this.label11 = new System.Windows.Forms.Label();
this.txtkayıttarih = new System.Windows.Forms.TextBox();
this.label12 = new System.Windows.Forms.Label();
this.txtgrup = new System.Windows.Forms.TextBox();
this.button3 = new System.Windows.Forms.Button();
this.txtgrupkoduismi = new System.Windows.Forms.TextBox();
this.tabControl1 = new System.Windows.Forms.TabControl();
this.tabPage1 = new System.Windows.Forms.TabPage();
this.combostok = new System.Windows.Forms.ComboBox();
this.tabPage2 = new System.Windows.Forms.TabPage();
this.combodepo = new System.Windows.Forms.ComboBox();
this.tabPage3 = new System.Windows.Forms.TabPage();
this.combobirim = new System.Windows.Forms.ComboBox();
this.tabPage7 = new System.Windows.Forms.TabPage();
this.txtmiktar = new System.Windows.Forms.ComboBox();
this.tabPage4 = new System.Windows.Forms.TabPage();
this.text_raf = new System.Windows.Forms.TextBox();
this.tabPage5 = new System.Windows.Forms.TabPage();
this.comboürüntip = new System.Windows.Forms.ComboBox();
this.tabPage6 = new System.Windows.Forms.TabPage();
this.button5 = new System.Windows.Forms.Button();
this.txtfirma = new System.Windows.Forms.TextBox();
this.label13 = new System.Windows.Forms.Label();
this.txtnotlar = new System.Windows.Forms.TextBox();
this.label14 = new System.Windows.Forms.Label();
this.txtirsaliyeno = new System.Windows.Forms.TextBox();
this.label15 = new System.Windows.Forms.Label();
this.comboteslimalan = new System.Windows.Forms.ComboBox();
this.textBox1 = new System.Windows.Forms.TextBox();
this.button1 = new System.Windows.Forms.Button();
this.label1 = new System.Windows.Forms.Label();
this.textBox2 = new System.Windows.Forms.TextBox();
this.button6 = new System.Windows.Forms.Button();
this.txtislemtipi = new System.Windows.Forms.GroupBox();
this.textBox4 = new System.Windows.Forms.TextBox();
this.textBox3 = new System.Windows.Forms.TextBox();
this.label16 = new System.Windows.Forms.Label();
this.txtresim = new System.Windows.Forms.TextBox();
this.button9 = new System.Windows.Forms.Button();
this.button7 = new System.Windows.Forms.Button();
this.button8 = new System.Windows.Forms.Button();
this.label3 = new System.Windows.Forms.Label();
this.button4 = new System.Windows.Forms.Button();
this.pictureBox1 = new System.Windows.Forms.PictureBox();
this.openFileDialog1 = new System.Windows.Forms.OpenFileDialog();
this.tabControl1.SuspendLayout();
this.tabPage1.SuspendLayout();
this.tabPage2.SuspendLayout();
this.tabPage3.SuspendLayout();
this.tabPage7.SuspendLayout();
this.tabPage4.SuspendLayout();
this.tabPage5.SuspendLayout();
this.tabPage6.SuspendLayout();
this.txtislemtipi.SuspendLayout();
((System.ComponentModel.ISupportInitialize)(this.pictureBox1)).BeginInit();
this.SuspendLayout();
//
// label2
//
this.label2.AutoSize = true;
this.label2.Font = new System.Drawing.Font("Trebuchet MS", 9F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(162)));
this.label2.Location = new System.Drawing.Point(10, 24);
this.label2.Name = "label2";
this.label2.Size = new System.Drawing.Size(70, 18);
this.label2.TabIndex = 1;
this.label2.Text = "STOK KODU";
//
// label4
//
this.label4.AutoSize = true;
this.label4.Font = new System.Drawing.Font("Trebuchet MS", 9F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(162)));
this.label4.Location = new System.Drawing.Point(8, 84);
this.label4.Name = "label4";
this.label4.Size = new System.Drawing.Size(81, 18);
this.label4.TabIndex = 3;
this.label4.Text = "ÜRÜN GRUBU";
//
// label5
//
this.label5.AutoSize = true;
this.label5.Font = new System.Drawing.Font("Trebuchet MS", 9F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(162)));
this.label5.Location = new System.Drawing.Point(8, 118);
this.label5.Name = "label5";
this.label5.Size = new System.Drawing.Size(93, 18);
this.label5.TabIndex = 4;
this.label5.Text = "SERİ NUMARASI";
//
// combourungrup
//
this.combourungrup.FormattingEnabled = true;
this.combourungrup.Items.AddRange(new object[] {
"01 Yiyecek İçecek Grubu",
"02 İnşaat Malzemesi Grubu",
"03 Mobilya Malzemesi Grubu",
"04 Sarf Malzeme Grubu",
"05 Elektronik Grubu",
"06 Elektrik Grubu",
"07 Kırtasiye Grubu",
"08 Temizlik Ürünleri Grubu",
"09 Bilişim Ürünleri Grubu",
"10 Elbise Ürünleri Grubu"});
this.combourungrup.Location = new System.Drawing.Point(105, 83);
this.combourungrup.Name = "combourungrup";
this.combourungrup.Size = new System.Drawing.Size(213, 26);
this.combourungrup.TabIndex = 8;
//
// txtserino
//
this.txtserino.Location = new System.Drawing.Point(105, 115);
this.txtserino.Name = "txtserino";
this.txtserino.Size = new System.Drawing.Size(213, 23);
this.txtserino.TabIndex = 9;
//
// label6
//
this.label6.AutoSize = true;
this.label6.Font = new System.Drawing.Font("Trebuchet MS", 9F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(162)));
this.label6.Location = new System.Drawing.Point(8, 147);
this.label6.Name = "label6";
this.label6.Size = new System.Drawing.Size(90, 18);
this.label6.TabIndex = 10;
this.label6.Text = "STOK KART ADI";
//
// txtstokadı
//
this.txtstokadı.Location = new System.Drawing.Point(105, 144);
this.txtstokadı.Name = "txtstokadı";
this.txtstokadı.Size = new System.Drawing.Size(213, 23);
this.txtstokadı.TabIndex = 11;
//
// label7
//
this.label7.AutoSize = true;
this.label7.Font = new System.Drawing.Font("Trebuchet MS", 9F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(162)));
this.label7.Location = new System.Drawing.Point(10, 233);
this.label7.Name = "label7";
this.label7.Size = new System.Drawing.Size(70, 18);
this.label7.TabIndex = 12;
this.label7.Text = "ALIŞ FİYATI";
//
// txtalisfiyati
//
this.txtalisfiyati.Location = new System.Drawing.Point(105, 233);
this.txtalisfiyati.Name = "txtalisfiyati";
this.txtalisfiyati.Size = new System.Drawing.Size(144, 23);
this.txtalisfiyati.TabIndex = 13;
//
// label8
//
this.label8.AutoSize = true;
this.label8.Font = new System.Drawing.Font("Trebuchet MS", 9F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(162)));
this.label8.Location = new System.Drawing.Point(10, 266);
this.label8.Name = "label8";
this.label8.Size = new System.Drawing.Size(31, 18);
this.label8.TabIndex = 14;
this.label8.Text = "KDV";
//
// label9
//
this.label9.AutoSize = true;
this.label9.Font = new System.Drawing.Font("Trebuchet MS", 9F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(162)));
this.label9.Location = new System.Drawing.Point(10, 172);
this.label9.Name = "label9";
this.label9.Size = new System.Drawing.Size(48, 18);
this.label9.TabIndex = 16;
this.label9.Text = "MARKA";
//
// label10
//
this.label10.AutoSize = true;
this.label10.Font = new System.Drawing.Font("Trebuchet MS", 9F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(162)));
this.label10.Location = new System.Drawing.Point(8, 297);
this.label10.Name = "label10";
this.label10.Size = new System.Drawing.Size(49, 18);
this.label10.TabIndex = 17;
this.label10.Text = "DURUM";
//
// combokdv
//
this.combokdv.FormattingEnabled = true;
this.combokdv.Items.AddRange(new object[] {
"% 8",
"% 10",
"% 18",
"% 20"});
this.combokdv.Location = new System.Drawing.Point(106, 262);
this.combokdv.Name = "combokdv";
this.combokdv.Size = new System.Drawing.Size(147, 26);
this.combokdv.TabIndex = 19;
//
// combomarka1
//
this.combomarka1.FormattingEnabled = true;
this.combomarka1.Items.AddRange(new object[] {
"Hilti",
"Kyocera",
"Bosch",
"Altek",
"Xerox",
"Makita",
"Casper Excalibur",
"Hp",
"Lenovo",
"Acer",
"Asus",
"Canon CXV-49\"",
"INCA",
"Casper Nırvana",
"Dell Inspıron",
"Casper Masaüstü Bilgisayar",
"Masaüstü Dell Bilgisayar ",
"Lg",
"",
""});
this.combomarka1.Location = new System.Drawing.Point(105, 172);
this.combomarka1.Name = "combomarka1";
this.combomarka1.Size = new System.Drawing.Size(213, 26);
this.combomarka1.TabIndex = 20;
//
// txtmarka
//
this.txtmarka.Location = new System.Drawing.Point(105, 204);
this.txtmarka.Name = "txtmarka";
this.txtmarka.Size = new System.Drawing.Size(213, 23);
this.txtmarka.TabIndex = 21;
//
// combodurum
//
this.combodurum.FormattingEnabled = true;
this.combodurum.Items.AddRange(new object[] {
"Aktif",
"Pasif",
"Beklemede",
"Depoda",
"Hurda",
"Geçici",
"Kampta"});
this.combodurum.Location = new System.Drawing.Point(105, 294);
this.combodurum.Name = "combodurum";
this.combodurum.Size = new System.Drawing.Size(196, 26);
this.combodurum.TabIndex = 22;
//
// btnStokTanimla
//
this.btnStokTanimla.Font = new System.Drawing.Font("Trebuchet MS", 9F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(162)));
this.btnStokTanimla.Location = new System.Drawing.Point(170, 424);
this.btnStokTanimla.Name = "btnStokTanimla";
this.btnStokTanimla.Size = new System.Drawing.Size(103, 25);
this.btnStokTanimla.TabIndex = 23;
this.btnStokTanimla.Text = "STOK TABLOSU";
this.btnStokTanimla.UseVisualStyleBackColor = true;
this.btnStokTanimla.Click += new System.EventHandler(this.btnStokTanimla_Click);
//
// label11
//
this.label11.AutoSize = true;
this.label11.Font = new System.Drawing.Font("Trebuchet MS", 9F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(162)));
this.label11.Location = new System.Drawing.Point(10, 331);
this.label11.Name = "label11";
this.label11.Size = new System.Drawing.Size(79, 18);
this.label11.TabIndex = 24;
this.label11.Text = "KAYIT TARİHİ";
//
// txtkayıttarih
//
this.txtkayıttarih.Location = new System.Drawing.Point(106, 327);
this.txtkayıttarih.Name = "txtkayıttarih";
this.txtkayıttarih.Size = new System.Drawing.Size(144, 23);
this.txtkayıttarih.TabIndex = 25;
//
// label12
//
this.label12.AutoSize = true;
this.label12.Font = new System.Drawing.Font("Trebuchet MS", 9F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(162)));
this.label12.Location = new System.Drawing.Point(356, 23);
this.label12.Name = "label12";
this.label12.Size = new System.Drawing.Size(118, 18);
this.label12.TabIndex = 27;
this.label12.Text = "GRUP KODU VE İSMİ";
//
// txtgrup
//
this.txtgrup.Location = new System.Drawing.Point(510, 23);
this.txtgrup.Name = "txtgrup";
this.txtgrup.Size = new System.Drawing.Size(426, 23);
this.txtgrup.TabIndex = 28;
//
// button3
//
this.button3.Location = new System.Drawing.Point(480, 23);
this.button3.Name = "button3";
this.button3.Size = new System.Drawing.Size(24, 20);
this.button3.TabIndex = 29;
this.button3.UseVisualStyleBackColor = true;
this.button3.Click += new System.EventHandler(this.button3_Click);
//
// txtgrupkoduismi
//
this.txtgrupkoduismi.Location = new System.Drawing.Point(510, 52);
this.txtgrupkoduismi.Name = "txtgrupkoduismi";
this.txtgrupkoduismi.Size = new System.Drawing.Size(426, 23);
this.txtgrupkoduismi.TabIndex = 30;
//
// tabControl1
//
this.tabControl1.Controls.Add(this.tabPage1);
this.tabControl1.Controls.Add(this.tabPage2);
this.tabControl1.Controls.Add(this.tabPage3);
this.tabControl1.Controls.Add(this.tabPage7);
this.tabControl1.Controls.Add(this.tabPage4);
this.tabControl1.Controls.Add(this.tabPage5);
this.tabControl1.Controls.Add(this.tabPage6);
this.tabControl1.Location = new System.Drawing.Point(510, 84);
this.tabControl1.Name = "tabControl1";
this.tabControl1.SelectedIndex = 0;
this.tabControl1.Size = new System.Drawing.Size(462, 122);
this.tabControl1.TabIndex = 32;
//
// tabPage1
//
this.tabPage1.BackColor = System.Drawing.Color.LightGray;
this.tabPage1.Controls.Add(this.combostok);
this.tabPage1.Font = new System.Drawing.Font("Trebuchet MS", 9F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(162)));
this.tabPage1.Location = new System.Drawing.Point(4, 27);
this.tabPage1.Name = "tabPage1";
this.tabPage1.Padding = new System.Windows.Forms.Padding(3);
this.tabPage1.Size = new System.Drawing.Size(454, 91);
this.tabPage1.TabIndex = 0;
this.tabPage1.Text = "STOK CİNSİ";
//
// combostok
//
this.combostok.FormattingEnabled = true;
this.combostok.Items.AddRange(new object[] {
"Ürün",
"Malzeme",
"Diğer",
"Yedek"});
this.combostok.Location = new System.Drawing.Point(6, 15);
this.combostok.Name = "combostok";
this.combostok.Size = new System.Drawing.Size(188, 26);
this.combostok.TabIndex = 0;
//
// tabPage2
//
this.tabPage2.BackColor = System.Drawing.Color.LightGray;
this.tabPage2.Controls.Add(this.combodepo);
this.tabPage2.Location = new System.Drawing.Point(4, 27);
this.tabPage2.Name = "tabPage2";
this.tabPage2.Padding = new System.Windows.Forms.Padding(3);
this.tabPage2.Size = new System.Drawing.Size(454, 91);
this.tabPage2.TabIndex = 1;
this.tabPage2.Text = "DEPO";
//
// combodepo
//
this.combodepo.Font = new System.Drawing.Font("Trebuchet MS", 9F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(162)));
this.combodepo.FormattingEnabled = true;
this.combodepo.Items.AddRange(new object[] {
"TÜRBİN-3",
"Merkez Moıbilzasyon",
"Ana Depo",
"4 No\'lu Depo",
"6 No\'lu Depo",
"30 UMA",
"30 UMX",
"İdari İşler",
"Elektrik Birimi",
"Harita Birimi",
"Ambar",
"30 Uma Yapım Grubu",
"PTO",
"Kaynak Atölyesi",
"Diğer Atölyeler"});
this.combodepo.Location = new System.Drawing.Point(6, 18);
this.combodepo.Name = "combodepo";
this.combodepo.Size = new System.Drawing.Size(188, 26);
this.combodepo.TabIndex = 1;
//
// tabPage3
//
this.tabPage3.BackColor = System.Drawing.Color.LightGray;
this.tabPage3.Controls.Add(this.combobirim);
this.tabPage3.Location = new System.Drawing.Point(4, 27);
this.tabPage3.Name = "tabPage3";
this.tabPage3.Padding = new System.Windows.Forms.Padding(3);
this.tabPage3.Size = new System.Drawing.Size(454, 91);
this.tabPage3.TabIndex = 2;
this.tabPage3.Text = "BİRİM";
//
// combobirim
//
this.combobirim.Font = new System.Drawing.Font("Trebuchet MS", 9F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(162)));
this.combobirim.FormattingEnabled = true;
this.combobirim.Items.AddRange(new object[] {
"Adet",
"Koli",
"Litre",
"Çift",
"Metre³",
"Metre²",
"Plaka",
"Kova",
"Bağ",
"Paket",
"Cilt",
"Koli",
"Kg",
"Metre",
"Cm",
"Cm ²"});
this.combobirim.Location = new System.Drawing.Point(6, 18);
this.combobirim.Name = "combobirim";
this.combobirim.Size = new System.Drawing.Size(188, 26);
this.combobirim.TabIndex = 2;
//
// tabPage7
//
this.tabPage7.BackColor = System.Drawing.Color.LightGray;
this.tabPage7.Controls.Add(this.txtmiktar);
this.tabPage7.Location = new System.Drawing.Point(4, 27);
this.tabPage7.Name = "tabPage7";
this.tabPage7.Size = new System.Drawing.Size(454, 91);
this.tabPage7.TabIndex = 6;
this.tabPage7.Text = "MİKTAR";
//
// txtmiktar
//
this.txtmiktar.FormattingEnabled = true;
this.txtmiktar.Location = new System.Drawing.Point(13, 19);
this.txtmiktar.Name = "txtmiktar";
this.txtmiktar.Size = new System.Drawing.Size(179, 26);
this.txtmiktar.TabIndex = 0;
//
// tabPage4
//
this.tabPage4.BackColor = System.Drawing.Color.LightGray;
this.tabPage4.Controls.Add(this.text_raf);
this.tabPage4.Location = new System.Drawing.Point(4, 27);
this.tabPage4.Name = "tabPage4";
this.tabPage4.Padding = new System.Windows.Forms.Padding(3);
this.tabPage4.Size = new System.Drawing.Size(454, 91);
this.tabPage4.TabIndex = 3;
this.tabPage4.Text = "RAF";
//
// text_raf
//
this.text_raf.Location = new System.Drawing.Point(12, 12);
this.text_raf.Multiline = true;
this.text_raf.Name = "text_raf";
this.text_raf.Size = new System.Drawing.Size(171, 25);
this.text_raf.TabIndex = 0;
//
// tabPage5
//
this.tabPage5.BackColor = System.Drawing.Color.LightGray;
this.tabPage5.Controls.Add(this.comboürüntip);
this.tabPage5.Location = new System.Drawing.Point(4, 27);
this.tabPage5.Name = "tabPage5";
this.tabPage5.Padding = new System.Windows.Forms.Padding(3);
this.tabPage5.Size = new System.Drawing.Size(454, 91);
this.tabPage5.TabIndex = 4;
this.tabPage5.Text = "ÜRÜN TİPİ";
//
// comboürüntip
//
this.comboürüntip.Font = new System.Drawing.Font("Trebuchet MS", 9F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(162)));
this.comboürüntip.FormattingEnabled = true;
this.comboürüntip.Items.AddRange(new object[] {
"Sanayi Tipi",
"Klasik Tip",
"Teknolojik Tip",
"Oto Parça",
"İnşaat Tipi",
"Ağaç Ürünleri"});
this.comboürüntip.Location = new System.Drawing.Point(6, 15);
this.comboürüntip.Name = "comboürüntip";
this.comboürüntip.Size = new System.Drawing.Size(188, 26);
this.comboürüntip.TabIndex = 2;
//
// tabPage6
//
this.tabPage6.BackColor = System.Drawing.Color.LightGray;
this.tabPage6.Controls.Add(this.button5);
this.tabPage6.Controls.Add(this.txtfirma);
this.tabPage6.Location = new System.Drawing.Point(4, 27);
this.tabPage6.Name = "tabPage6";
this.tabPage6.Padding = new System.Windows.Forms.Padding(3);
this.tabPage6.Size = new System.Drawing.Size(454, 91);
this.tabPage6.TabIndex = 5;
this.tabPage6.Text = "FİRMA";
//
// button5
//
this.button5.Location = new System.Drawing.Point(253, 16);
this.button5.Name = "button5";
this.button5.Size = new System.Drawing.Size(23, 18);
this.button5.TabIndex = 1;
this.button5.UseVisualStyleBackColor = true;
//
// txtfirma
//
this.txtfirma.Location = new System.Drawing.Point(15, 14);
this.txtfirma.Name = "txtfirma";
this.txtfirma.Size = new System.Drawing.Size(232, 23);
this.txtfirma.TabIndex = 0;
//
// label13
//
this.label13.AutoSize = true;
this.label13.Font = new System.Drawing.Font("Trebuchet MS", 9F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(162)));
this.label13.Location = new System.Drawing.Point(683, 397);
this.label13.Name = "label13";
this.label13.Size = new System.Drawing.Size(53, 18);
this.label13.TabIndex = 33;
this.label13.Text = "NOTLAR";
//
// txtnotlar
//
this.txtnotlar.Location = new System.Drawing.Point(510, 236);
this.txtnotlar.Multiline = true;
this.txtnotlar.Name = "txtnotlar";
this.txtnotlar.Size = new System.Drawing.Size(458, 59);
this.txtnotlar.TabIndex = 34;
//
// label14
//
this.label14.AutoSize = true;
this.label14.Font = new System.Drawing.Font("Trebuchet MS", 9F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(162)));
this.label14.Location = new System.Drawing.Point(1055, 172);
this.label14.Name = "label14";
this.label14.Size = new System.Drawing.Size(119, 18);
this.label14.TabIndex = 36;
this.label14.Text = "İRSALİYE NUMARASI";
//
// txtirsaliyeno
//
this.txtirsaliyeno.Location = new System.Drawing.Point(1060, 193);
this.txtirsaliyeno.Name = "txtirsaliyeno";
this.txtirsaliyeno.Size = new System.Drawing.Size(113, 23);
this.txtirsaliyeno.TabIndex = 37;
//
// label15
//
this.label15.AutoSize = true;
this.label15.Font = new System.Drawing.Font("Trebuchet MS", 9F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(162)));
this.label15.Location = new System.Drawing.Point(511, 304);
this.label15.Name = "label15";
this.label15.Size = new System.Drawing.Size(143, 18);
this.label15.TabIndex = 38;
this.label15.Text = "TESLİM ALAN PERSONEL";
//
// comboteslimalan
//
this.comboteslimalan.Font = new System.Drawing.Font("Trebuchet MS", 9F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(162)));
this.comboteslimalan.FormattingEnabled = true;
this.comboteslimalan.Items.AddRange(new object[] {
"Ethem Serkan Özdemir",
"Ayhan Akar",
"Timur Chyntemir",
"Serhat KüçükYıldız"});
this.comboteslimalan.Location = new System.Drawing.Point(660, 301);
this.comboteslimalan.Name = "comboteslimalan";
this.comboteslimalan.Size = new System.Drawing.Size(181, 26);
this.comboteslimalan.TabIndex = 39;
//
// textBox1
//
this.textBox1.Location = new System.Drawing.Point(105, 24);
this.textBox1.Name = "textBox1";
this.textBox1.Size = new System.Drawing.Size(97, 23);
this.textBox1.TabIndex = 45;
//
// button1
//
this.button1.Location = new System.Drawing.Point(216, 22);
this.button1.Name = "button1";
this.button1.Size = new System.Drawing.Size(134, 23);
this.button1.TabIndex = 46;
this.button1.Text = "STOK KODU AL";
this.button1.UseVisualStyleBackColor = true;
this.button1.Click += new System.EventHandler(this.button1_Click);
//
// label1
//
this.label1.AutoSize = true;
this.label1.Font = new System.Drawing.Font("Trebuchet MS", 9F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(162)));
this.label1.Location = new System.Drawing.Point(10, 52);
this.label1.Name = "label1";
this.label1.Size = new System.Drawing.Size(86, 18);
this.label1.TabIndex = 47;
this.label1.Text = "FİŞ NUMARASI";
//
// textBox2
//
this.textBox2.Location = new System.Drawing.Point(106, 50);
this.textBox2.Name = "textBox2";
this.textBox2.Size = new System.Drawing.Size(95, 23);
this.textBox2.TabIndex = 48;
//
// button6
//
this.button6.Location = new System.Drawing.Point(216, 52);
this.button6.Name = "button6";
this.button6.Size = new System.Drawing.Size(134, 23);
this.button6.TabIndex = 49;
this.button6.Text = "FİŞ NUMARASI AL";
this.button6.UseVisualStyleBackColor = true;
this.button6.Click += new System.EventHandler(this.button6_Click_1);
//
// txtislemtipi
//
this.txtislemtipi.Controls.Add(this.textBox4);
this.txtislemtipi.Controls.Add(this.textBox3);
this.txtislemtipi.Controls.Add(this.label16);
this.txtislemtipi.Controls.Add(this.txtresim);
this.txtislemtipi.Controls.Add(this.button9);
this.txtislemtipi.Controls.Add(this.button7);
this.txtislemtipi.Controls.Add(this.button8);
this.txtislemtipi.Controls.Add(this.label3);
this.txtislemtipi.Controls.Add(this.button6);
this.txtislemtipi.Controls.Add(this.button4);
this.txtislemtipi.Controls.Add(this.btnStokTanimla);
this.txtislemtipi.Controls.Add(this.label2);
this.txtislemtipi.Controls.Add(this.txtirsaliyeno);
this.txtislemtipi.Controls.Add(this.comboteslimalan);
this.txtislemtipi.Controls.Add(this.label14);
this.txtislemtipi.Controls.Add(this.label15);
this.txtislemtipi.Controls.Add(this.pictureBox1);
this.txtislemtipi.Controls.Add(this.textBox2);
this.txtislemtipi.Controls.Add(this.textBox1);
this.txtislemtipi.Controls.Add(this.label1);
this.txtislemtipi.Controls.Add(this.button1);
this.txtislemtipi.Controls.Add(this.combourungrup);
this.txtislemtipi.Controls.Add(this.label4);
this.txtislemtipi.Controls.Add(this.combokdv);
this.txtislemtipi.Controls.Add(this.txtnotlar);
this.txtislemtipi.Controls.Add(this.label8);
this.txtislemtipi.Controls.Add(this.txtserino);
this.txtislemtipi.Controls.Add(this.label5);
this.txtislemtipi.Controls.Add(this.txtstokadı);
this.txtislemtipi.Controls.Add(this.tabControl1);
this.txtislemtipi.Controls.Add(this.label6);
this.txtislemtipi.Controls.Add(this.label9);
this.txtislemtipi.Controls.Add(this.combomarka1);
this.txtislemtipi.Controls.Add(this.txtmarka);
this.txtislemtipi.Controls.Add(this.txtgrupkoduismi);
this.txtislemtipi.Controls.Add(this.button3);
this.txtislemtipi.Controls.Add(this.txtgrup);
this.txtislemtipi.Controls.Add(this.txtkayıttarih);
this.txtislemtipi.Controls.Add(this.label12);
this.txtislemtipi.Controls.Add(this.combodurum);
this.txtislemtipi.Controls.Add(this.label11);
this.txtislemtipi.Controls.Add(this.label10);
this.txtislemtipi.Controls.Add(this.label7);
this.txtislemtipi.Controls.Add(this.txtalisfiyati);
this.txtislemtipi.FlatStyle = System.Windows.Forms.FlatStyle.Popup;
this.txtislemtipi.Font = new System.Drawing.Font("Trebuchet MS", 9.75F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(162)));
this.txtislemtipi.Location = new System.Drawing.Point(12, 13);
this.txtislemtipi.Name = "txtislemtipi";
this.txtislemtipi.Size = new System.Drawing.Size(1258, 455);
this.txtislemtipi.TabIndex = 50;
this.txtislemtipi.TabStop = false;
this.txtislemtipi.Text = "STOK KART ";
this.txtislemtipi.Enter += new System.EventHandler(this.groupBox1_Enter);
//
// textBox4
//
this.textBox4.Location = new System.Drawing.Point(350, 177);
this.textBox4.Name = "textBox4";
this.textBox4.Size = new System.Drawing.Size(123, 23);
this.textBox4.TabIndex = 55;
//
// textBox3
//
this.textBox3.Location = new System.Drawing.Point(582, 337);
this.textBox3.Name = "textBox3";
this.textBox3.Size = new System.Drawing.Size(150, 23);
this.textBox3.TabIndex = 54;
//
// label16
//
this.label16.AutoSize = true;
this.label16.Font = new System.Drawing.Font("Trebuchet MS", 9F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(162)));
this.label16.Location = new System.Drawing.Point(511, 341);
this.label16.Name = "label16";
this.label16.Size = new System.Drawing.Size(65, 18);
this.label16.TabIndex = 53;
this.label16.Text = "İŞLEM TİPİ";
//
// txtresim
//
this.txtresim.Location = new System.Drawing.Point(1062, 144);
this.txtresim.Name = "txtresim";
this.txtresim.Size = new System.Drawing.Size(111, 23);
this.txtresim.TabIndex = 52;
//
// button9
//
this.button9.BackgroundImageLayout = System.Windows.Forms.ImageLayout.None;
this.button9.Font = new System.Drawing.Font("Trebuchet MS", 9F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(162)));
this.button9.Image = global::StokTest.Properties.Resources.güncelle;
this.button9.Location = new System.Drawing.Point(63, 408);
this.button9.Name = "button9";
this.button9.Size = new System.Drawing.Size(49, 41);
this.button9.TabIndex = 43;
this.button9.UseVisualStyleBackColor = true;
this.button9.Click += new System.EventHandler(this.button9_Click);
//
// button7
//
this.button7.Font = new System.Drawing.Font("Trebuchet MS", 8.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(162)));
this.button7.Location = new System.Drawing.Point(1062, 111);
this.button7.Name = "button7";
this.button7.Size = new System.Drawing.Size(111, 30);
this.button7.TabIndex = 51;
this.button7.Text = "STOK RESİM";
this.button7.UseVisualStyleBackColor = true;
this.button7.Click += new System.EventHandler(this.button7_Click_1);
//
// button8
//
this.button8.Font = new System.Drawing.Font("Trebuchet MS", 9F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(162)));
this.button8.Image = global::StokTest.Properties.Resources.sil;
this.button8.Location = new System.Drawing.Point(118, 408);
this.button8.Name = "button8";
this.button8.Size = new System.Drawing.Size(46, 41);
this.button8.TabIndex = 42;
this.button8.UseVisualStyleBackColor = true;
//
// label3
//
this.label3.AutoSize = true;
this.label3.Font = new System.Drawing.Font("Trebuchet MS", 9F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(162)));
this.label3.Location = new System.Drawing.Point(507, 215);
this.label3.Name = "label3";
this.label3.Size = new System.Drawing.Size(53, 18);
this.label3.TabIndex = 50;
this.label3.Text = "NOTLAR";
//
// button4
//
this.button4.Font = new System.Drawing.Font("Trebuchet MS", 9F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(162)));
this.button4.Image = global::StokTest.Properties.Resources.favicon__1_;
this.button4.Location = new System.Drawing.Point(11, 408);
this.button4.Name = "button4";
this.button4.Size = new System.Drawing.Size(46, 41);
this.button4.TabIndex = 31;
this.button4.UseVisualStyleBackColor = true;
this.button4.Click += new System.EventHandler(this.button4_Click);
//
// pictureBox1
//
this.pictureBox1.BackColor = System.Drawing.SystemColors.ButtonShadow;
this.pictureBox1.Location = new System.Drawing.Point(1065, 22);
this.pictureBox1.Name = "pictureBox1";
this.pictureBox1.Size = new System.Drawing.Size(108, 87);
this.pictureBox1.TabIndex = 35;
this.pictureBox1.TabStop = false;
//
// openFileDialog1
//
this.openFileDialog1.FileName = "openFileDialog1";
//
// Form1
//
this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
this.ClientSize = new System.Drawing.Size(1197, 511);
this.Controls.Add(this.txtislemtipi);
this.Controls.Add(this.label13);
this.Name = "Form1";
this.Text = "STOK KART EKRANI";
this.Load += new System.EventHandler(this.Form1_Load);
this.tabControl1.ResumeLayout(false);
this.tabPage1.ResumeLayout(false);
this.tabPage2.ResumeLayout(false);
this.tabPage3.ResumeLayout(false);
this.tabPage7.ResumeLayout(false);
this.tabPage4.ResumeLayout(false);
this.tabPage4.PerformLayout();
this.tabPage5.ResumeLayout(false);
this.tabPage6.ResumeLayout(false);
this.tabPage6.PerformLayout();
this.txtislemtipi.ResumeLayout(false);
this.txtislemtipi.PerformLayout();
((System.ComponentModel.ISupportInitialize)(this.pictureBox1)).EndInit();
this.ResumeLayout(false);
this.PerformLayout();
}
#endregion
private System.Windows.Forms.Label label2;
private System.Windows.Forms.Label label4;
private System.Windows.Forms.Label label5;
//private System.Windows.Forms.TextBox txtfisno;
//private System.Windows.Forms.TextBox txtfisno;
private System.Windows.Forms.ComboBox combourungrup;
private System.Windows.Forms.TextBox txtserino;
private System.Windows.Forms.Label label6;
private System.Windows.Forms.TextBox txtstokadı;
private System.Windows.Forms.Label label7;
private System.Windows.Forms.TextBox txtalisfiyati;
private System.Windows.Forms.Label label8;
private System.Windows.Forms.Label label9;
private System.Windows.Forms.Label label10;
private System.Windows.Forms.ComboBox combokdv;
private System.Windows.Forms.ComboBox combomarka1;
private System.Windows.Forms.TextBox txtmarka;
private System.Windows.Forms.ComboBox combodurum;
private System.Windows.Forms.Button btnStokTanimla;
private System.Windows.Forms.Label label11;
private System.Windows.Forms.TextBox txtkayıttarih;
private System.Windows.Forms.Label label12;
private System.Windows.Forms.Button button3;
private System.Windows.Forms.TextBox txtgrupkoduismi;
private System.Windows.Forms.Button button4;
private System.Windows.Forms.TabControl tabControl1;
private System.Windows.Forms.TabPage tabPage1;
private System.Windows.Forms.TabPage tabPage2;
private System.Windows.Forms.TabPage tabPage3;
private System.Windows.Forms.TabPage tabPage4;
private System.Windows.Forms.TabPage tabPage5;
private System.Windows.Forms.TabPage tabPage6;
private System.Windows.Forms.Label label13;
private System.Windows.Forms.TextBox txtnotlar;
private System.Windows.Forms.PictureBox pictureBox1;
private System.Windows.Forms.Label label14;
private System.Windows.Forms.TextBox txtirsaliyeno;
private System.Windows.Forms.Label label15;
private System.Windows.Forms.ComboBox combostok;
private System.Windows.Forms.ComboBox comboteslimalan;
private System.Windows.Forms.ComboBox combodepo;
private System.Windows.Forms.ComboBox combobirim;
private System.Windows.Forms.TextBox text_raf;
private System.Windows.Forms.ComboBox comboürüntip;
private System.Windows.Forms.Button button5;
private System.Windows.Forms.TextBox txtfirma;
private System.Windows.Forms.Button button8;
private System.Windows.Forms.Button button9;
private System.Windows.Forms.TabPage tabPage7;
private System.Windows.Forms.ComboBox txtmiktar;
private System.Windows.Forms.TextBox textBox1;
private System.Windows.Forms.Button button1;
private System.Windows.Forms.Label label1;
private System.Windows.Forms.TextBox textBox2;
private System.Windows.Forms.Button button6;
private System.Windows.Forms.GroupBox txtislemtipi;
private System.Windows.Forms.Label label3;
private System.Windows.Forms.Button button7;
private System.Windows.Forms.TextBox txtresim;
private System.Windows.Forms.OpenFileDialog openFileDialog1;
private System.Windows.Forms.Label label16;
private System.Windows.Forms.TextBox textBox3;
private System.Windows.Forms.TextBox textBox4;
public System.Windows.Forms.TextBox txtgrup;
}
}
`
Form 7 Kodları
` private void listView1_SelectedIndexChanged(object sender, EventArgs e)
{
Form1 f1 = new Form1();
f1.a = SelectedItem = ListView1.SelectedItems[0].Text;
this.Hide();
f1.Show();
//this.Close();
}`