private void cmbBeatBox_Click(object sender, EventArgs e) { frmBeatBox beatBox = new frmBeatBox(); beatBox.Visible = true; beatBox.Activate(); }
//private void toggleVideoPortal() //{ // if (globalSettings.videoPortal == false) // { // DialogResult fullScreenDialog = new DialogResult(); // fullScreenDialog = System.Windows.Forms.MessageBox.Show("Do you want to launch the video portal in full screen?", "Full Screen?", MessageBoxButtons.YesNoCancel); // switch (fullScreenDialog) // { // case DialogResult.Yes: // globalSettings.videoPortal_FullScreen = true; // break; // case DialogResult.No: // globalSettings.videoPortal_FullScreen = false; // break; // case DialogResult.Cancel: // return; // //break; // } // // Can't handle two video portals // //globalSettings.videoPortal = true; // videoToolStripMenuItem.Checked = true; // // Mark that the video portal still shouldn't start rendering yet // globalSettings.videoPortal_eRenderReady = false; // videoRender = new frmVideoRender(); // videoRender.Visible = true; // videoRender.Activate(); // } // else // { // System.Windows.Forms.MessageBox.Show("Currently closing the Video Portal after it has been opened is not supported", "Closing the video portal not supported"); // //// Close video portals // //globalSettings.videoPortal = false; // //videoToolStripMenuItem.Checked = false; // //globalSettings.videoPortal_eRenderReady = false; // //videoRender.Close(); // } //} private void drumMachineToolStripMenuItem_Click(object sender, EventArgs e) { normWindows(); frmBeatBox beatBox = new frmBeatBox(); beatBox.MdiParent = this; beatBox.Show(); }