private void button1_Click(object sender, EventArgs e) { if (LoginCheck()) { mainform f = new mainform(); f.Show(); this.Hide(); } else { label3.Text = "Error"; label3.Visible = true; } }
public Tree(mainform fr) { f_m = fr; }
private void button1_Click(object sender, EventArgs e) { if (LoginCheck()) { mainform f = new mainform(); f.Show(); this.Hide(); } else { label3.Text = "Error"; label3.Visible = true; } }
public Tree(mainform fr) { f_m = fr; }