private void button2_Click(object sender, EventArgs e) { TimeTbl TimeTbl = new TimeTbl(); TimeTbl.Show(); this.Hide(); }
private void button2_Click(object sender, EventArgs e) { TimeTbl frm = new TimeTbl() { Dock = DockStyle.Fill, TopLevel = false, TopMost = true }; this.pnlView.Controls.Add(frm); frm.Show(); }