public static DialogResult Show(MyMessageBoxInformation info) { using var form = new MyMessageBoxTemplateForm(); var owner = info.EffectiveOwner; form.Initialize(info); return(owner == null?form.ShowDialog() : form.ShowDialog(owner)); }
public static DialogResult Show( MyMessageBoxInformation information) { return(MyMessageBoxImplementation.Show(information)); }
internal void Initialize( MyMessageBoxInformation info) { _info = info; }