示例#1
0
    public static void NoFilesOpen()
    {
        M_Search.TurnOff();
        M_Insert.TurnOff();
        M_Run.TurnOff();

        M_Save.TurnOff();
        M_SaveAs.TurnOff();
        M_SaveAll.TurnOff();

        M_Close.TurnOff();
        M_CloseAll.TurnOff();

        M_PageSetup.TurnOff();
        M_HeaderFooter.TurnOff();
        M_PrintPreview.TurnOff();
        M_Print.TurnOff();

        M_Cut.TurnOff();
        M_Copy.TurnOff();
        M_Paste.TurnOff();
        M_SelectAll.TurnOff();
    }
示例#2
0
 public static void NoDocHasChanges()
 {
     M_Save.TurnOff();
     M_SaveAll.TurnOff();
 }