private void btnTabUserNew_Click(object sender, System.EventArgs e) { UserWizard UW = new UserWizard(); UW.ShowDialog(this); UW.Dispose(); }
private void btnTabUserEdit_Click(object sender, System.EventArgs e) { if(lvUsers.SelectedItems.Count == 0)return; OCL.User U = (OCL.User)lvUsers.SelectedItems[0].Tag; UserWizard UW = new UserWizard(); UW.Tag = U; UW.ShowDialog(this); UW.Dispose(); }