private void Client_Click(object sender, EventArgs e) { FrmClient frmclient = new FrmClient(this.Name); this.Hide(); frmclient.ShowDialog(); this.Show(); }
private void Client_Click(object sender, EventArgs e) { FrmClient frmclient = new FrmClient(this.Name); this.Hide(); frmclient.ShowDialog(); if (frmclient.Logout == true) { this.Close(); } this.Show(); }