private void btnSaveClient_Click(object sender, EventArgs e) { NewCase newCase = FormPool.NewCase; newCase.FormClosed += (s, args) => this.Close(); newCase.Show(); this.Hide(); }
private void openNewCaseForm() { NewCase newCase = FormPool.NewCase; newCase.FormClosed += (s, args) => this.Close(); newCase.Show(); this.Hide(); ResetUI(); }