private void ParentForm_FormClosing(object sender, FormClosingEventArgs e) { e.Cancel = true; EndForm form = new EndForm(login, this); form.ShowDialog(); }
private void barButtonItemExit_ItemClick(object sender, DevExpress.XtraBars.ItemClickEventArgs e) { EndForm form = new EndForm(login, this); form.ShowDialog(); }
private void barButtonItem28_ItemClick(object sender, ItemClickEventArgs e) { EndForm form = new EndForm(login, this); form.ShowDialog(); }