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(); } } }
private void MediaManagerCommand_MenuPopup(object sender, EventArgs e) { var cmd = (CustomCommand)sender; cmd.Checked = myVegas.FindDockView(Strings.WindowTitle); }
void vPythonWindowCommand_MenuPopup(object sender, EventArgs e) { // if the dockview is opened, vPython command is checked vPythonWindowCommand.Checked = vegas.FindDockView(vPythonWindowMName); }
private void ProjectSearchReplaceCommand_MenuPopup(object sender, EventArgs e) { var cmd = (CustomCommand)sender; cmd.Checked = myVegas.FindDockView(ProjectSearchStrings.WindowTitle); }
void HandleMenuPopup(Object sender, EventArgs args) { myCommand.Checked = myVegas.FindDockView("LipSyncApp"); }
void HandleMenuPopup(Object sender, EventArgs args) { myViewCommand.Checked = myVegas.FindDockView(Config.DisplayExtensionName); }
void HandleSampleWebBrowserCmdMenuPopup(Object sender, EventArgs args) { CustomCommand cmd = (CustomCommand)sender; cmd.Checked = myVegas.FindDockView("SampleWebBrowser"); }