Esempio n. 1
0
    /// <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();
        }
    }
Esempio n. 2
0
    /// <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;
    }