public VixenPreviewSetup3() { InitializeComponent(); Icon = Resources.Icon_Vixen3; menuStrip.Renderer = new ThemeToolStripRenderer(); ForeColor = ThemeColorTable.ForeColor; BackColor = ThemeColorTable.BackgroundColor; ThemeUpdateControls.UpdateControls(this); panel10.BackColor = Color.Black; foreach (Control c in panel10.Controls) { c.BackColor = Color.Black; } dockPanel.BackColor = ThemeColorTable.BackgroundColor; label9.ForeColor = Color.Turquoise; label10.ForeColor = Color.LimeGreen; label11.ForeColor = Color.White; label12.ForeColor = Color.HotPink; label13.ForeColor = Color.Yellow; this.ShowInTaskbar = false; int iconSize = (int)(24 * ScalingTools.GetScaleFactor()); undoButton.Image = Tools.GetIcon(Resources.arrow_undo, iconSize); undoButton.DisplayStyle = ToolStripItemDisplayStyle.Image; redoButton.Image = Tools.GetIcon(Resources.arrow_redo, iconSize); redoButton.DisplayStyle = ToolStripItemDisplayStyle.Image; redoButton.ButtonType = UndoButtonType.RedoButton; undoToolStripMenuItem.Enabled = false; redoToolStripMenuItem.Enabled = false; }
public SequencePackageExportOutputStage(TimedSequencePackagerData data) { _data = data; InitializeComponent(); int iconSize = (int)(16 * ScalingTools.GetScaleFactor()); btnOuputFolderSelect.Image = Tools.GetIcon(Resources.folder_explore, iconSize); btnOuputFolderSelect.Text = ""; ThemeUpdateControls.UpdateControls(this); }
public BulkExportOutputFormatStage(BulkExportWizardData data) { _data = data; InitializeComponent(); int iconSize = (int)(16 * ScalingTools.GetScaleFactor()); btnOuputFolderSelect.Image = Tools.GetIcon(Resources.folder_explore, iconSize); btnOuputFolderSelect.Text = ""; btnAudioOutputFolder.Image = Tools.GetIcon(Resources.folder_explore, iconSize); btnAudioOutputFolder.Text = ""; ThemeUpdateControls.UpdateControls(this); }
public BulkExportSourcesStage(BulkExportWizardData data) { _data = data; InitializeComponent(); int iconSize = (int)(16 * ScalingTools.GetScaleFactor()); btnAdd.Image = Tools.GetIcon(Resources.folder_open, iconSize); btnAdd.Text = string.Empty; btnDelete.Image = Tools.GetIcon(Resources.delete_32, iconSize); btnDelete.Text = string.Empty; ThemeUpdateControls.UpdateControls(this); }
public Form_CurveLibrary(TimelineControl timelineControl) { InitializeComponent(); TimelineControl = timelineControl; Icon = Resources.Icon_Vixen3; ThemeUpdateControls.UpdateControls(this); toolStripCurves.Renderer = new ThemeToolStripRenderer(); int iconSize = (int)(16 * ScalingTools.GetScaleFactor()); toolStripCurves.ImageScalingSize = new Size(iconSize, iconSize); toolStripButtonEditCurve.DisplayStyle = ToolStripItemDisplayStyle.Image; toolStripButtonEditCurve.Image = Tools.GetIcon(Resources.configuration, iconSize); toolStripButtonNewCurve.DisplayStyle = ToolStripItemDisplayStyle.Image; toolStripButtonNewCurve.Image = Tools.GetIcon(Resources.addItem, iconSize); toolStripButtonDeleteCurve.DisplayStyle = ToolStripItemDisplayStyle.Image; toolStripButtonDeleteCurve.Image = Tools.GetIcon(Resources.delete_32, iconSize); toolStripButtonExportCurves.DisplayStyle = ToolStripItemDisplayStyle.Image; toolStripButtonExportCurves.Image = Tools.GetIcon(Resources.folder_go, iconSize); toolStripButtonImportCurves.DisplayStyle = ToolStripItemDisplayStyle.Image; toolStripButtonImportCurves.Image = Tools.GetIcon(Resources.folder_open, iconSize); listViewCurves.AllowDrop = true; var xml = new XMLProfileSettings(); _curveLibraryImageScale = Convert.ToDouble(xml.GetSetting(XMLProfileSettings.SettingType.AppSettings, string.Format("{0}/CurveLibraryImageScale", Name), "1"), CultureInfo.InvariantCulture); _curveLibraryTextScale = Convert.ToDouble(xml.GetSetting(XMLProfileSettings.SettingType.AppSettings, string.Format("{0}/CurveLibraryTextScale", Name), "1"), CultureInfo.InvariantCulture); if (_curveLibraryImageScale < 0.1) { _curveLibraryImageScale = 0.1; } if (_curveLibraryTextScale < 0.2) { _curveLibraryTextScale = 0.2; } ImageSetup(); ForeColor = ThemeColorTable.ForeColor; BackColor = ThemeColorTable.BackgroundColor; ThemeUpdateControls.UpdateControls(this); //Over-ride the auto theme listview back color listViewCurves.BackColor = ThemeColorTable.BackgroundColor; listViewCurves.Alignment = ListViewAlignment.Top; _curveLibrary = ApplicationServices.Get <IAppModuleInstance>(CurveLibraryDescriptor.ModuleID) as CurveLibrary; }
public SequencePackageImportInputStage(ImportConfig data) { _data = data; InitializeComponent(); int iconSize = (int)(16 * ScalingTools.GetScaleFactor()); btnOuputFolderSelect.Image = btnMapFile.Image = Tools.GetIcon(Resources.folder_explore, iconSize); btnOuputFolderSelect.Text = btnMapFile.Text = ""; ThemeUpdateControls.UpdateControls(this); txtProfileMap.BackColor = ThemeColorTable.BackgroundColor; btnCreateMap.Enabled = false; btnEditMap.Enabled = false; }
public BulkExportConfigStage(BulkExportWizardData data) { _data = data; InitializeComponent(); ForeColor = ThemeColorTable.ForeColor; BackColor = ThemeColorTable.BackgroundColor; int iconSize = (int)(16 * ScalingTools.GetScaleFactor()); btnAddProfile.Image = Tools.GetIcon(Resources.add, iconSize); btnAddProfile.Text = ""; btnDeleteProfile.Image = Tools.GetIcon(Resources.delete, iconSize); btnDeleteProfile.Text = ""; btnRename.Image = Tools.GetIcon(Resources.cog_edit, iconSize); btnRename.Text = ""; ThemeUpdateControls.UpdateControls(this); }