private void User_MainInterface_Load(object sender, EventArgs e) { User_Dashboard UD = new User_Dashboard(); UD.MdiParent = this; UD.Show(); }
private void button1_Click(object sender, EventArgs e) { ActiveMdiChild.Close(); User_Dashboard UD = new User_Dashboard(); UD.MdiParent = this; UD.Show(); }