示例#1
0
 private void RegionPlayerCommand_Invoked(object sender, EventArgs e)
 {
     if (!myVegas.ActivateDockView(Strings.RegionPlayerWindowTitle))
     {
         var player = new FormRegionPlayer {
             AutoLoadCommand = RegionPlayerCommand, PersistDockWindowState = true
         };
         myVegas.LoadDockView(player);
     }
     else
     {
         IDockView ctrl;
         myVegas.FindDockView(Strings.RegionPlayerWindowTitle, out ctrl);
         if (ctrl != null)
         {
             ctrl.InvokeLoaded();
         }
     }
 }
示例#2
0
        private void MediaManagerCommand_MenuPopup(object sender, EventArgs e)
        {
            var cmd = (CustomCommand)sender;

            cmd.Checked = myVegas.FindDockView(Strings.WindowTitle);
        }
示例#3
0
 void vPythonWindowCommand_MenuPopup(object sender, EventArgs e)
 {
     // if the dockview is opened, vPython command is checked
     vPythonWindowCommand.Checked = vegas.FindDockView(vPythonWindowMName);
 }
示例#4
0
        private void ProjectSearchReplaceCommand_MenuPopup(object sender, EventArgs e)
        {
            var cmd = (CustomCommand)sender;

            cmd.Checked = myVegas.FindDockView(ProjectSearchStrings.WindowTitle);
        }
示例#5
0
 void HandleMenuPopup(Object sender, EventArgs args)
 {
     myCommand.Checked = myVegas.FindDockView("LipSyncApp");
 }
 void HandleMenuPopup(Object sender, EventArgs args)
 {
     myViewCommand.Checked = myVegas.FindDockView(Config.DisplayExtensionName);
 }
示例#7
0
        void HandleSampleWebBrowserCmdMenuPopup(Object sender, EventArgs args)
        {
            CustomCommand cmd = (CustomCommand)sender;

            cmd.Checked = myVegas.FindDockView("SampleWebBrowser");
        }