예제 #1
0
    /// <summary>
    /// Reloads part of the menu providing file related actions.
    /// </summary>
    public void UpdateActionsMenu()
    {
        // Initialize actions menu
        SetupControls();

        // Apply updated information
        NewFile.ReloadData();
    }
    /// <summary>
    /// Reloads the View mode menu.
    /// </summary>
    public void UpdateViewMenu()
    {
        if (Visible)
        {
            SetupControls();

            // Initialize ViewModeMenu
            if (IsCopyMoveLinkDialog)
            {
                menuView.Visible = false;
            }

            NewFile.ReloadData();
        }
    }