Hayır veri tabanından gelmeyecek veri tabanına kaydetmeyecek sadece dediğim textboxlara kodları atsın textbox1 Stok kodu textbox 2 fiş numarası en başta yazdığım gibi
`namespace WindowsFormsApp1
{
partial class frmstokkayıt
{
/// <summary>
/// Required designer variable.
/// </summary>
private System.ComponentModel.IContainer components = null;
/// <summary>
/// Clean up any resources being used.
/// </summary>
/// <param name="disposing">true if managed resources should be disposed; otherwise, false.</param>
protected override void Dispose(bool disposing)
{
if (disposing && (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.label1 = new System.Windows.Forms.Label();
this.label2 = new System.Windows.Forms.Label();
this.label3 = new System.Windows.Forms.Label();
this.label4 = new System.Windows.Forms.Label();
this.textBox1 = new System.Windows.Forms.TextBox();
this.textBox2 = new System.Windows.Forms.TextBox();
this.textBox3 = new System.Windows.Forms.TextBox();
this.comboBox1 = new System.Windows.Forms.ComboBox();
this.label5 = new System.Windows.Forms.Label();
this.textBox4 = new System.Windows.Forms.TextBox();
this.label6 = new System.Windows.Forms.Label();
this.textBox5 = new System.Windows.Forms.TextBox();
this.label7 = new System.Windows.Forms.Label();
this.textBox6 = new System.Windows.Forms.TextBox();
this.label8 = new System.Windows.Forms.Label();
this.comboBox2 = new System.Windows.Forms.ComboBox();
this.label9 = new System.Windows.Forms.Label();
this.comboBox3 = new System.Windows.Forms.ComboBox();
this.textBox7 = new System.Windows.Forms.TextBox();
this.label10 = new System.Windows.Forms.Label();
this.comboBox4 = new System.Windows.Forms.ComboBox();
this.label11 = new System.Windows.Forms.Label();
this.textBox8 = new System.Windows.Forms.TextBox();
this.button1 = new System.Windows.Forms.Button();
this.button2 = new System.Windows.Forms.Button();
this.button3 = new System.Windows.Forms.Button();
this.label12 = new System.Windows.Forms.Label();
this.button4 = new System.Windows.Forms.Button();
this.textBox9 = new System.Windows.Forms.TextBox();
this.textBox10 = new System.Windows.Forms.TextBox();
this.tabControl1 = new System.Windows.Forms.TabControl();
this.tabPage1 = new System.Windows.Forms.TabPage();
this.tabPage2 = new System.Windows.Forms.TabPage();
this.tabPage3 = new System.Windows.Forms.TabPage();
this.tabPage4 = new System.Windows.Forms.TabPage();
this.tabPage5 = new System.Windows.Forms.TabPage();
this.tabPage6 = new System.Windows.Forms.TabPage();
this.tabControl1.SuspendLayout();
this.SuspendLayout();
//
// label1
//
this.label1.AutoSize = true;
this.label1.Location = new System.Drawing.Point(3, 9);
this.label1.Name = "label1";
this.label1.Size = new System.Drawing.Size(18, 13);
this.label1.TabIndex = 0;
this.label1.Text = "ID";
//
// label2
//
this.label2.AutoSize = true;
this.label2.Location = new System.Drawing.Point(3, 36);
this.label2.Name = "label2";
this.label2.Size = new System.Drawing.Size(70, 13);
this.label2.TabIndex = 1;
this.label2.Text = "STOK KODU";
//
// label3
//
this.label3.AutoSize = true;
this.label3.Location = new System.Drawing.Point(3, 68);
this.label3.Name = "label3";
this.label3.Size = new System.Drawing.Size(83, 13);
this.label3.TabIndex = 2;
this.label3.Text = "FİŞ NUMARASI";
//
// label4
//
this.label4.AutoSize = true;
this.label4.Location = new System.Drawing.Point(3, 101);
this.label4.Name = "label4";
this.label4.Size = new System.Drawing.Size(81, 13);
this.label4.TabIndex = 3;
this.label4.Text = "ÜRÜN GRUBU";
//
// textBox1
//
this.textBox1.Location = new System.Drawing.Point(99, 6);
this.textBox1.Name = "textBox1";
this.textBox1.Size = new System.Drawing.Size(107, 20);
this.textBox1.TabIndex = 4;
//
// textBox2
//
this.textBox2.Location = new System.Drawing.Point(99, 33);
this.textBox2.Name = "textBox2";
this.textBox2.Size = new System.Drawing.Size(107, 20);
this.textBox2.TabIndex = 5;
//
// textBox3
//
this.textBox3.Location = new System.Drawing.Point(99, 68);
this.textBox3.Name = "textBox3";
this.textBox3.Size = new System.Drawing.Size(107, 20);
this.textBox3.TabIndex = 6;
//
// comboBox1
//
this.comboBox1.FormattingEnabled = true;
this.comboBox1.Location = new System.Drawing.Point(99, 98);
this.comboBox1.Name = "comboBox1";
this.comboBox1.Size = new System.Drawing.Size(168, 21);
this.comboBox1.TabIndex = 7;
//
// label5
//
this.label5.AutoSize = true;
this.label5.Location = new System.Drawing.Point(3, 132);
this.label5.Name = "label5";
this.label5.Size = new System.Drawing.Size(92, 13);
this.label5.TabIndex = 8;
this.label5.Text = "SERİ NUMARASI";
//
// textBox4
//
this.textBox4.Location = new System.Drawing.Point(99, 129);
this.textBox4.Name = "textBox4";
this.textBox4.Size = new System.Drawing.Size(168, 20);
this.textBox4.TabIndex = 9;
//
// label6
//
this.label6.AutoSize = true;
this.label6.Location = new System.Drawing.Point(3, 162);
this.label6.Name = "label6";
this.label6.Size = new System.Drawing.Size(57, 13);
this.label6.TabIndex = 10;
this.label6.Text = "STOK ADI";
//
// textBox5
//
this.textBox5.Location = new System.Drawing.Point(99, 159);
this.textBox5.Name = "textBox5";
this.textBox5.Size = new System.Drawing.Size(168, 20);
this.textBox5.TabIndex = 11;
//
// label7
//
this.label7.AutoSize = true;
this.label7.Location = new System.Drawing.Point(3, 193);
this.label7.Name = "label7";
this.label7.Size = new System.Drawing.Size(66, 13);
this.label7.TabIndex = 12;
this.label7.Text = "ALIŞ FİYATI";
//
// textBox6
//
this.textBox6.Location = new System.Drawing.Point(99, 190);
this.textBox6.Name = "textBox6";
this.textBox6.Size = new System.Drawing.Size(168, 20);
this.textBox6.TabIndex = 13;
//
// label8
//
this.label8.AutoSize = true;
this.label8.Location = new System.Drawing.Point(3, 222);
this.label8.Name = "label8";
this.label8.Size = new System.Drawing.Size(29, 13);
this.label8.TabIndex = 14;
this.label8.Text = "KDV";
//
// comboBox2
//
this.comboBox2.FormattingEnabled = true;
this.comboBox2.Location = new System.Drawing.Point(99, 222);
this.comboBox2.Name = "comboBox2";
this.comboBox2.Size = new System.Drawing.Size(168, 21);
this.comboBox2.TabIndex = 15;
//
// label9
//
this.label9.AutoSize = true;
this.label9.Location = new System.Drawing.Point(3, 254);
this.label9.Name = "label9";
this.label9.Size = new System.Drawing.Size(54, 13);
this.label9.TabIndex = 16;
this.label9.Text = "MARKA 1";
//
// comboBox3
//
this.comboBox3.FormattingEnabled = true;
this.comboBox3.Location = new System.Drawing.Point(99, 251);
this.comboBox3.Name = "comboBox3";
this.comboBox3.Size = new System.Drawing.Size(168, 21);
this.comboBox3.TabIndex = 17;
//
// textBox7
//
this.textBox7.Location = new System.Drawing.Point(99, 278);
this.textBox7.Name = "textBox7";
this.textBox7.Size = new System.Drawing.Size(168, 20);
this.textBox7.TabIndex = 18;
//
// label10
//
this.label10.AutoSize = true;
this.label10.Location = new System.Drawing.Point(6, 307);
this.label10.Name = "label10";
this.label10.Size = new System.Drawing.Size(48, 13);
this.label10.TabIndex = 19;
this.label10.Text = "DURUM";
//
// comboBox4
//
this.comboBox4.FormattingEnabled = true;
this.comboBox4.Location = new System.Drawing.Point(99, 307);
this.comboBox4.Name = "comboBox4";
this.comboBox4.Size = new System.Drawing.Size(168, 21);
this.comboBox4.TabIndex = 20;
//
// label11
//
this.label11.AutoSize = true;
this.label11.Location = new System.Drawing.Point(6, 346);
this.label11.Name = "label11";
this.label11.Size = new System.Drawing.Size(77, 13);
this.label11.TabIndex = 21;
this.label11.Text = "KAYIT TARİHİ";
//
// textBox8
//
this.textBox8.Location = new System.Drawing.Point(99, 343);
this.textBox8.Name = "textBox8";
this.textBox8.Size = new System.Drawing.Size(168, 20);
this.textBox8.TabIndex = 22;
//
// button1
//
this.button1.Location = new System.Drawing.Point(275, 343);
this.button1.Name = "button1";
this.button1.Size = new System.Drawing.Size(110, 20);
this.button1.TabIndex = 23;
this.button1.Text = "TARİH AL";
this.button1.UseVisualStyleBackColor = true;
//
// button2
//
this.button2.Location = new System.Drawing.Point(6, 379);
this.button2.Name = "button2";
this.button2.Size = new System.Drawing.Size(71, 23);
this.button2.TabIndex = 24;
this.button2.Text = "EKLE";
this.button2.UseVisualStyleBackColor = true;
//
// button3
//
this.button3.Location = new System.Drawing.Point(83, 379);
this.button3.Name = "button3";
this.button3.Size = new System.Drawing.Size(71, 23);
this.button3.TabIndex = 25;
this.button3.Text = "KAYDET";
this.button3.UseVisualStyleBackColor = true;
//
// label12
//
this.label12.AutoSize = true;
this.label12.Location = new System.Drawing.Point(433, 12);
this.label12.Name = "label12";
this.label12.Size = new System.Drawing.Size(114, 13);
this.label12.TabIndex = 26;
this.label12.Text = "GRUP KODU VE İSMİ";
//
// button4
//
this.button4.Location = new System.Drawing.Point(544, 11);
this.button4.Name = "button4";
this.button4.Size = new System.Drawing.Size(18, 19);
this.button4.TabIndex = 27;
this.button4.UseVisualStyleBackColor = true;
//
// textBox9
//
this.textBox9.Location = new System.Drawing.Point(566, 12);
this.textBox9.Name = "textBox9";
this.textBox9.Size = new System.Drawing.Size(421, 20);
this.textBox9.TabIndex = 28;
//
// textBox10
//
this.textBox10.Location = new System.Drawing.Point(566, 38);
this.textBox10.Name = "textBox10";
this.textBox10.Size = new System.Drawing.Size(421, 20);
this.textBox10.TabIndex = 29;
//
// tabControl1
//
this.tabControl1.Controls.Add(this.tabPage1);
this.tabControl1.Controls.Add(this.tabPage2);
this.tabControl1.Controls.Add(this.tabPage3);
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(570, 80);
this.tabControl1.Name = "tabControl1";
this.tabControl1.SelectedIndex = 0;
this.tabControl1.Size = new System.Drawing.Size(416, 140);
this.tabControl1.TabIndex = 30;
//
// tabPage1
//
this.tabPage1.Location = new System.Drawing.Point(4, 22);
this.tabPage1.Name = "tabPage1";
this.tabPage1.Padding = new System.Windows.Forms.Padding(3);
this.tabPage1.Size = new System.Drawing.Size(408, 114);
this.tabPage1.TabIndex = 0;
this.tabPage1.Text = "STOK CİNSİ";
this.tabPage1.UseVisualStyleBackColor = true;
//
// tabPage2
//
this.tabPage2.Location = new System.Drawing.Point(4, 22);
this.tabPage2.Name = "tabPage2";
this.tabPage2.Padding = new System.Windows.Forms.Padding(3);
this.tabPage2.Size = new System.Drawing.Size(408, 114);
this.tabPage2.TabIndex = 1;
this.tabPage2.Text = "DEPO";
this.tabPage2.UseVisualStyleBackColor = true;
//
// tabPage3
//
this.tabPage3.Location = new System.Drawing.Point(4, 22);
this.tabPage3.Name = "tabPage3";
this.tabPage3.Padding = new System.Windows.Forms.Padding(3);
this.tabPage3.Size = new System.Drawing.Size(408, 114);
this.tabPage3.TabIndex = 2;
this.tabPage3.Text = "BİRİM";
this.tabPage3.UseVisualStyleBackColor = true;
//
// tabPage4
//
this.tabPage4.Location = new System.Drawing.Point(4, 22);
this.tabPage4.Name = "tabPage4";
this.tabPage4.Padding = new System.Windows.Forms.Padding(3);
this.tabPage4.Size = new System.Drawing.Size(408, 114);
this.tabPage4.TabIndex = 3;
this.tabPage4.Text = "RAF";
this.tabPage4.UseVisualStyleBackColor = true;
//
// tabPage5
//
this.tabPage5.Location = new System.Drawing.Point(4, 22);
this.tabPage5.Name = "tabPage5";
this.tabPage5.Padding = new System.Windows.Forms.Padding(3);
this.tabPage5.Size = new System.Drawing.Size(408, 114);
this.tabPage5.TabIndex = 4;
this.tabPage5.Text = "ÜRÜN TİPİ";
this.tabPage5.UseVisualStyleBackColor = true;
//
// tabPage6
//
this.tabPage6.Location = new System.Drawing.Point(4, 22);
this.tabPage6.Name = "tabPage6";
this.tabPage6.Padding = new System.Windows.Forms.Padding(3);
this.tabPage6.Size = new System.Drawing.Size(408, 114);
this.tabPage6.TabIndex = 5;
this.tabPage6.Text = "FİRMA";
this.tabPage6.UseVisualStyleBackColor = true;
//
// frmstokkayıt
//
this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
this.ClientSize = new System.Drawing.Size(1257, 576);
this.Controls.Add(this.tabControl1);
this.Controls.Add(this.textBox10);
this.Controls.Add(this.textBox9);
this.Controls.Add(this.button4);
this.Controls.Add(this.label12);
this.Controls.Add(this.button3);
this.Controls.Add(this.button2);
this.Controls.Add(this.button1);
this.Controls.Add(this.textBox8);
this.Controls.Add(this.label11);
this.Controls.Add(this.comboBox4);
this.Controls.Add(this.label10);
this.Controls.Add(this.textBox7);
this.Controls.Add(this.comboBox3);
this.Controls.Add(this.label9);
this.Controls.Add(this.comboBox2);
this.Controls.Add(this.label8);
this.Controls.Add(this.textBox6);
this.Controls.Add(this.label7);
this.Controls.Add(this.textBox5);
this.Controls.Add(this.label6);
this.Controls.Add(this.textBox4);
this.Controls.Add(this.label5);
this.Controls.Add(this.comboBox1);
this.Controls.Add(this.textBox3);
this.Controls.Add(this.textBox2);
this.Controls.Add(this.textBox1);
this.Controls.Add(this.label4);
this.Controls.Add(this.label3);
this.Controls.Add(this.label2);
this.Controls.Add(this.label1);
this.Name = "frmstokkayıt";
this.Text = "STOK KAYIT EKRANI";
this.Load += new System.EventHandler(this.frmstokkayıt_Load);
this.tabControl1.ResumeLayout(false);
this.ResumeLayout(false);
this.PerformLayout();
}
#endregion
private System.Windows.Forms.Label label1;
private System.Windows.Forms.Label label2;
private System.Windows.Forms.Label label3;
private System.Windows.Forms.Label label4;
private System.Windows.Forms.TextBox textBox1;
private System.Windows.Forms.TextBox textBox2;
private System.Windows.Forms.TextBox textBox3;
private System.Windows.Forms.ComboBox comboBox1;
private System.Windows.Forms.Label label5;
private System.Windows.Forms.TextBox textBox4;
private System.Windows.Forms.Label label6;
private System.Windows.Forms.TextBox textBox5;
private System.Windows.Forms.Label label7;
private System.Windows.Forms.TextBox textBox6;
private System.Windows.Forms.Label label8;
private System.Windows.Forms.ComboBox comboBox2;
private System.Windows.Forms.Label label9;
private System.Windows.Forms.ComboBox comboBox3;
private System.Windows.Forms.TextBox textBox7;
private System.Windows.Forms.Label label10;
private System.Windows.Forms.ComboBox comboBox4;
private System.Windows.Forms.Label label11;
private System.Windows.Forms.TextBox textBox8;
private System.Windows.Forms.Button button1;
private System.Windows.Forms.Button button2;
private System.Windows.Forms.Button button3;
private System.Windows.Forms.Label label12;
private System.Windows.Forms.Button button4;
private System.Windows.Forms.TextBox textBox9;
private System.Windows.Forms.TextBox textBox10;
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;
}
}`