private void PerformDelete(BaseMdiChildForm child, FormAuthInfo auth) { if (auth == null) { return; } if (auth.Value == true) { child?.DoDelete(); } }
public void PerformSave(BaseMdiChildForm child, FormAuthInfo auth) { if (auth == null) { return; } if (auth.Value == true) { DialogResult result = DialogHelper.ShowDialog("저장하시겠습니까?", DialogType.YesNo); if (result == DialogResult.Yes) { child?.DoSave(); } } }