private void send_Click(object sender, EventArgs e) { frmMain.Instance.Content.Controls.Add(new ucMain() { Dock = DockStyle.Fill }); frmMain.Instance.Content.Controls[0].SendToBack(); frmSend frm = new frmSend(); frm.Hide(); }
private void listOnline_Click(object sender, EventArgs e) { frmSend frm = new frmSend(); frm.Show(); }