/// <summary> /// method /// shows the parent dialog and this control's dialog /// </summary> public void ShowMPE() { if (ParentMPE != null) { ParentMPE.Show(); } if (MPE != null) { Visible = true; MPE.Show(); } }
/// <summary> /// method /// displays the parent dialog /// only call this when you do not want to show this control's dialog /// </summary> public void ShowParentMPE() { if (ParentMPE != null) { ParentMPE.Show(); } if (MPE != null) { MPE.Hide(); } Visible = false; }