Пример #1
0
    public M_Cut()
    {
        This = this;
        Text = "Cut";

        Click += new EventHandler(OnClick);
    }
Пример #2
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();
    }
Пример #3
0
 public static void DocHasSelection()
 {
     M_Cut.TurnOn();
     M_Copy.TurnOn();
 }
Пример #4
0
    public M_Cut ()
    { This = this ;
      Text = "Cut" ;

      Click += new EventHandler (OnClick) ;
    }