private void frmUser_Load(object sender, EventArgs e) { frmMyPresence form = new frmMyPresence(us); form.MdiParent = this; form.Show(); }
private void myPresenceToolStripMenuItem_Click(object sender, EventArgs e)//Shows User Screen When MyPresence click { this.ActiveMdiChild.Close(); frmMyPresence form = new frmMyPresence(us); form.MdiParent = this; form.Show(); }