private void button10_Click(object sender, EventArgs e) { stockin stockIn = new stockin(); stockIn.main = this; stockIn.Adminid = this.Adminid; if (appitemname == "") { stockIn.Tabindex = 2; } else { stockIn.Tabindex = 0; stockIn.Itemname = appitemname; } stockIn.Show(); }
private void chemstock_Click(object sender, EventArgs e) { stockin stockIn = new stockin(); stockIn.main = this; stockIn.Adminid = this.Adminid; if (chemitemname == "") { stockIn.Tabindex = 3; } else { stockIn.Tabindex = 0; stockIn.Itemname = chemitemname; } stockIn.Show(); }
private void addequipb_Click(object sender, EventArgs e) { stockin stockIn = new stockin(); stockIn.main = this; stockIn.Adminid = this.Adminid; if (equipitemname == "") { stockIn.Tabindex = 1; } else { stockIn.Tabindex = 0; stockIn.Itemname = equipitemname; } stockIn.Show(); }