private void chatDown(object sender, MouseEventArgs e) { panelEmailAndChat.BackColor = Color.FromArgb(110, 116, 10); hideAllTab(); if (emailAndChat == null) { emailAndChat = new EmailAndChat(); emailAndChat.MdiParent = this; this.splitContainer1.Panel2.Controls.Add(emailAndChat); //notification.FormClosed += notification_FormClosed; emailAndChat.Show(); } else { employeeForm.Activate(); } }
private void aboutToolStripMenuItem_Click(object sender, EventArgs e) { EmailAndChat emp = new EmailAndChat(); emp.Show(); }