private void metroTile2_Click(object sender, EventArgs e) { Add_Stock c = new Add_Stock(); c.Visible = true; c.metroButton2.PerformClick(); //invent c1 = new invent(); //c1.Visible = true; }
private void metroButton5_Click(object sender, EventArgs e) { Add_Stock e1 = new Add_Stock(); e1.Text = "EDIT STOCK"; e1.metroButton1.Visible = false; e1.metroButton2.Visible = false; e1.metroButton4.Visible = true; e1.metroButton5.Visible = true; e1.metroLabel23.Visible = true; e1.metroLabel24.Visible = true; e1.metroLabel25.Visible = true; e1.numericUpDown8.Visible = true; e1.numericUpDown9.Visible = true; e1.numericUpDown10.Visible = true; e1.metroLabel22.Text = metroLabel6.Text; e1.Visible = true; e1.metroButton5.PerformClick(); e1.numericUpDown1.ReadOnly = true; }