private void btnBrightness_Click(object sender, EventArgs e) { if (slider != null && slider.Visible == true) { slider.Deactivate(); } else { if (slider == null) { slider = new EmpowerPresenter.Controls.PopupSlider(); slider.ImedUpdate = true; slider.ValueChanged += new EventHandler(slider_ValueChanged); this.Controls.Add(slider); } Point ptLoc = this.PointToScreen(new Point(btnBrightness.Location.X - 1, btnBrightness.Location.Y + 25)); if (proj.currentSong.Overlay == 777) { slider.Value = (int)(((double)Program.ConfigHelper.SongDefaultOpacity + 255) * 100 / 512); } else { slider.Value = (int)(((double)proj.currentSong.Overlay + 255) * 100 / 512); } Program.Presenter.ShowPopupWindow(slider, ptLoc); Program.Presenter.ActivateKeyClient(slider); } }
private void InitializeComponent() { this.components = new System.ComponentModel.Container(); System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(SongEditorForm)); this.txtNumber = new System.Windows.Forms.TextBox(); this.label3 = new System.Windows.Forms.Label(); this.txtTitle = new System.Windows.Forms.TextBox(); this.label1 = new System.Windows.Forms.Label(); this.label2 = new System.Windows.Forms.Label(); this.txtChorus = new System.Windows.Forms.TextBox(); this.btnCancel = new System.Windows.Forms.Button(); this.btnSave = new System.Windows.Forms.Button(); this.ofdLocation = new System.Windows.Forms.OpenFileDialog(); this.errorProvider1 = new System.Windows.Forms.ErrorProvider(this.components); this.txtCopyright = new System.Windows.Forms.TextBox(); this.lblCopyrightTitle = new System.Windows.Forms.Label(); this.pbCopyright = new System.Windows.Forms.PictureBox(); this.pbPhoto = new System.Windows.Forms.PictureBox(); this.sliderOpacity = new EmpowerPresenter.Controls.PopupSlider(); this.btnFont = new Vendisoft.Controls.ImageButton(); this.btnImage = new Vendisoft.Controls.ImageButton(); this.dataGrid1 = new System.Windows.Forms.DataGridWithEnter(); this.dataView1 = new System.Data.DataView(); this.dataGridTableStyle1 = new System.Windows.Forms.DataGridTableStyle(); this.dataGridBoolColumn1 = new System.Windows.Forms.DataGridBoolColumn(); this.dataGridTextBoxColumn1 = new System.Windows.Forms.DataGridMultiLineTextBox(); ((System.ComponentModel.ISupportInitialize)(this.errorProvider1)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.pbCopyright)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.pbPhoto)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.dataGrid1)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.dataView1)).BeginInit(); this.SuspendLayout(); // // txtNumber // resources.ApplyResources(this.txtNumber, "txtNumber"); this.errorProvider1.SetIconAlignment(this.txtNumber, ((System.Windows.Forms.ErrorIconAlignment)(resources.GetObject("txtNumber.IconAlignment")))); this.errorProvider1.SetIconPadding(this.txtNumber, ((int)(resources.GetObject("txtNumber.IconPadding")))); this.txtNumber.Name = "txtNumber"; this.txtNumber.Validating += new System.ComponentModel.CancelEventHandler(this.txtNumber_Validating); // // label3 // this.errorProvider1.SetIconAlignment(this.label3, ((System.Windows.Forms.ErrorIconAlignment)(resources.GetObject("label3.IconAlignment")))); resources.ApplyResources(this.label3, "label3"); this.label3.Name = "label3"; // // txtTitle // resources.ApplyResources(this.txtTitle, "txtTitle"); this.errorProvider1.SetIconAlignment(this.txtTitle, ((System.Windows.Forms.ErrorIconAlignment)(resources.GetObject("txtTitle.IconAlignment")))); this.errorProvider1.SetIconPadding(this.txtTitle, ((int)(resources.GetObject("txtTitle.IconPadding")))); this.txtTitle.Name = "txtTitle"; this.txtTitle.Validating += new System.ComponentModel.CancelEventHandler(this.txtTitle_Validating); // // label1 // this.errorProvider1.SetIconAlignment(this.label1, ((System.Windows.Forms.ErrorIconAlignment)(resources.GetObject("label1.IconAlignment")))); resources.ApplyResources(this.label1, "label1"); this.label1.Name = "label1"; // // label2 // this.errorProvider1.SetIconAlignment(this.label2, ((System.Windows.Forms.ErrorIconAlignment)(resources.GetObject("label2.IconAlignment")))); resources.ApplyResources(this.label2, "label2"); this.label2.Name = "label2"; // // txtChorus // resources.ApplyResources(this.txtChorus, "txtChorus"); this.errorProvider1.SetIconAlignment(this.txtChorus, ((System.Windows.Forms.ErrorIconAlignment)(resources.GetObject("txtChorus.IconAlignment")))); this.errorProvider1.SetIconPadding(this.txtChorus, ((int)(resources.GetObject("txtChorus.IconPadding")))); this.txtChorus.Name = "txtChorus"; this.txtChorus.Validating += new System.ComponentModel.CancelEventHandler(this.txtChorus_Validating); // // btnCancel // resources.ApplyResources(this.btnCancel, "btnCancel"); this.errorProvider1.SetIconAlignment(this.btnCancel, ((System.Windows.Forms.ErrorIconAlignment)(resources.GetObject("btnCancel.IconAlignment")))); this.btnCancel.Name = "btnCancel"; this.btnCancel.Click += new System.EventHandler(this.btnCancel_Click); // // btnSave // resources.ApplyResources(this.btnSave, "btnSave"); this.errorProvider1.SetIconAlignment(this.btnSave, ((System.Windows.Forms.ErrorIconAlignment)(resources.GetObject("btnSave.IconAlignment")))); this.btnSave.Name = "btnSave"; this.btnSave.Click += new System.EventHandler(this.btnSave_Click); // // errorProvider1 // this.errorProvider1.ContainerControl = this; resources.ApplyResources(this.errorProvider1, "errorProvider1"); // // txtCopyright // resources.ApplyResources(this.txtCopyright, "txtCopyright"); this.errorProvider1.SetIconAlignment(this.txtCopyright, ((System.Windows.Forms.ErrorIconAlignment)(resources.GetObject("txtCopyright.IconAlignment")))); this.txtCopyright.Name = "txtCopyright"; // // lblCopyrightTitle // resources.ApplyResources(this.lblCopyrightTitle, "lblCopyrightTitle"); this.errorProvider1.SetIconAlignment(this.lblCopyrightTitle, ((System.Windows.Forms.ErrorIconAlignment)(resources.GetObject("lblCopyrightTitle.IconAlignment")))); this.lblCopyrightTitle.Name = "lblCopyrightTitle"; // // pbCopyright // this.errorProvider1.SetIconAlignment(this.pbCopyright, ((System.Windows.Forms.ErrorIconAlignment)(resources.GetObject("pbCopyright.IconAlignment")))); this.pbCopyright.Image = global::EmpowerPresenter.Properties.Resources.copyright; resources.ApplyResources(this.pbCopyright, "pbCopyright"); this.pbCopyright.Name = "pbCopyright"; this.pbCopyright.TabStop = false; // // pbPhoto // resources.ApplyResources(this.pbPhoto, "pbPhoto"); this.errorProvider1.SetIconAlignment(this.pbPhoto, ((System.Windows.Forms.ErrorIconAlignment)(resources.GetObject("pbPhoto.IconAlignment")))); this.pbPhoto.Name = "pbPhoto"; this.pbPhoto.TabStop = false; this.pbPhoto.Click += new System.EventHandler(this.pbPhoto_Click); this.pbPhoto.Paint += new System.Windows.Forms.PaintEventHandler(this.pbPhoto_Paint); this.pbPhoto.DoubleClick += new System.EventHandler(this.pbPhoto_Click); // // sliderOpacity // resources.ApplyResources(this.sliderOpacity, "sliderOpacity"); this.sliderOpacity.BackColor = System.Drawing.Color.Transparent; this.errorProvider1.SetIconAlignment(this.sliderOpacity, ((System.Windows.Forms.ErrorIconAlignment)(resources.GetObject("sliderOpacity.IconAlignment")))); this.sliderOpacity.ImedUpdate = false; this.sliderOpacity.MaximumSize = new System.Drawing.Size(27, 95); this.sliderOpacity.MinimumSize = new System.Drawing.Size(27, 95); this.sliderOpacity.Name = "sliderOpacity"; this.sliderOpacity.Value = 100; this.sliderOpacity.ValueChanged += new System.EventHandler(this.sliderOpacity_ValueChanged); // // btnFont // resources.ApplyResources(this.btnFont, "btnFont"); this.btnFont.DisabledImg = global::EmpowerPresenter.Properties.Resources.font_d; this.errorProvider1.SetIconAlignment(this.btnFont, ((System.Windows.Forms.ErrorIconAlignment)(resources.GetObject("btnFont.IconAlignment")))); this.btnFont.IsHighlighted = false; this.btnFont.IsPressed = false; this.btnFont.IsSelected = false; this.btnFont.Name = "btnFont"; this.btnFont.NormalImg = global::EmpowerPresenter.Properties.Resources.font_n; this.btnFont.OverImg = global::EmpowerPresenter.Properties.Resources.font_n; this.btnFont.PressedImg = global::EmpowerPresenter.Properties.Resources.font_n; this.btnFont.Click += new System.EventHandler(this.btnFont_Click); // // btnImage // resources.ApplyResources(this.btnImage, "btnImage"); this.btnImage.DisabledImg = global::EmpowerPresenter.Properties.Resources.images_d; this.errorProvider1.SetIconAlignment(this.btnImage, ((System.Windows.Forms.ErrorIconAlignment)(resources.GetObject("btnImage.IconAlignment")))); this.btnImage.IsHighlighted = false; this.btnImage.IsPressed = false; this.btnImage.IsSelected = false; this.btnImage.Name = "btnImage"; this.btnImage.NormalImg = global::EmpowerPresenter.Properties.Resources.images; this.btnImage.OverImg = global::EmpowerPresenter.Properties.Resources.images; this.btnImage.PressedImg = global::EmpowerPresenter.Properties.Resources.images; this.btnImage.Click += new System.EventHandler(this.pbPhoto_Click); // // dataGrid1 // resources.ApplyResources(this.dataGrid1, "dataGrid1"); this.dataGrid1.DataMember = ""; this.dataGrid1.DataSource = this.dataView1; this.dataGrid1.HeaderForeColor = System.Drawing.SystemColors.ControlText; this.errorProvider1.SetIconAlignment(this.dataGrid1, ((System.Windows.Forms.ErrorIconAlignment)(resources.GetObject("dataGrid1.IconAlignment")))); this.dataGrid1.Name = "dataGrid1"; this.dataGrid1.TableStyles.AddRange(new System.Windows.Forms.DataGridTableStyle[] { this.dataGridTableStyle1 }); // // dataGridTableStyle1 // this.dataGridTableStyle1.DataGrid = this.dataGrid1; this.dataGridTableStyle1.GridColumnStyles.AddRange(new System.Windows.Forms.DataGridColumnStyle[] { this.dataGridBoolColumn1, this.dataGridTextBoxColumn1 }); this.dataGridTableStyle1.HeaderForeColor = System.Drawing.SystemColors.ControlText; resources.ApplyResources(this.dataGridTableStyle1, "dataGridTableStyle1"); // // dataGridBoolColumn1 // resources.ApplyResources(this.dataGridBoolColumn1, "dataGridBoolColumn1"); // // dataGridTextBoxColumn1 // this.dataGridTextBoxColumn1.Format = ""; this.dataGridTextBoxColumn1.FormatInfo = null; resources.ApplyResources(this.dataGridTextBoxColumn1, "dataGridTextBoxColumn1"); // // SongEditorForm // resources.ApplyResources(this, "$this"); this.Controls.Add(this.sliderOpacity); this.Controls.Add(this.lblCopyrightTitle); this.Controls.Add(this.pbCopyright); this.Controls.Add(this.txtCopyright); this.Controls.Add(this.btnFont); this.Controls.Add(this.btnImage); this.Controls.Add(this.label3); this.Controls.Add(this.pbPhoto); this.Controls.Add(this.txtNumber); this.Controls.Add(this.txtChorus); this.Controls.Add(this.label2); this.Controls.Add(this.dataGrid1); this.Controls.Add(this.label1); this.Controls.Add(this.txtTitle); this.Controls.Add(this.btnSave); this.Controls.Add(this.btnCancel); this.Name = "SongEditorForm"; this.Load += new System.EventHandler(this.SongEditorForm_Load); ((System.ComponentModel.ISupportInitialize)(this.errorProvider1)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.pbCopyright)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.pbPhoto)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.dataGrid1)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.dataView1)).EndInit(); this.ResumeLayout(false); this.PerformLayout(); }
private void InitializeComponent() { System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(Settings)); this.groupBox2 = new System.Windows.Forms.GroupBox(); this._secondaryTranslation = new System.Windows.Forms.ComboBox(); this._primaryTranslation = new System.Windows.Forms.ComboBox(); this.label2 = new System.Windows.Forms.Label(); this.label1 = new System.Windows.Forms.Label(); this.pnlBottom = new System.Windows.Forms.Panel(); this.btnSave = new System.Windows.Forms.Button(); this.btnClose = new System.Windows.Forms.Button(); this.pnlBottomDiv = new System.Windows.Forms.Panel(); this.tabControl1 = new System.Windows.Forms.TabControl(); this.tpDisplay = new System.Windows.Forms.TabPage(); this.llDisplayWarning = new System.Windows.Forms.LinkLabel(); this.pbDisplayWarning = new System.Windows.Forms.PictureBox(); this.label4 = new System.Windows.Forms.Label(); this.tpOther = new System.Windows.Forms.TabPage(); this.gbSongs = new System.Windows.Forms.GroupBox(); this.label8 = new System.Windows.Forms.Label(); this.label7 = new System.Windows.Forms.Label(); this.label6 = new System.Windows.Forms.Label(); this.label5 = new System.Windows.Forms.Label(); this.cbHideContent = new System.Windows.Forms.CheckBox(); this.cbBackdrop = new System.Windows.Forms.CheckBox(); this._tertiaryTranslation = new System.Windows.Forms.ComboBox(); this.label3 = new System.Windows.Forms.Label(); this.displaySelection1 = new EmpowerPresenter.DisplaySelection(); this.sliderOpacity = new EmpowerPresenter.Controls.PopupSlider(); this.btnOptions = new Vendisoft.Controls.ImageButton(); this.btnFont = new Vendisoft.Controls.ImageButton(); this.btnImage = new Vendisoft.Controls.ImageButton(); this.groupBox2.SuspendLayout(); this.pnlBottom.SuspendLayout(); this.tabControl1.SuspendLayout(); this.tpDisplay.SuspendLayout(); ((System.ComponentModel.ISupportInitialize)(this.pbDisplayWarning)).BeginInit(); this.tpOther.SuspendLayout(); this.gbSongs.SuspendLayout(); this.SuspendLayout(); // // groupBox2 // resources.ApplyResources(this.groupBox2, "groupBox2"); this.groupBox2.Controls.Add(this.label3); this.groupBox2.Controls.Add(this._tertiaryTranslation); this.groupBox2.Controls.Add(this._secondaryTranslation); this.groupBox2.Controls.Add(this._primaryTranslation); this.groupBox2.Controls.Add(this.label2); this.groupBox2.Controls.Add(this.label1); this.groupBox2.Name = "groupBox2"; this.groupBox2.TabStop = false; // // _secondaryTranslation // resources.ApplyResources(this._secondaryTranslation, "_secondaryTranslation"); this._secondaryTranslation.Items.AddRange(new object[] { resources.GetString("_secondaryTranslation.Items"), resources.GetString("_secondaryTranslation.Items1"), resources.GetString("_secondaryTranslation.Items2"), resources.GetString("_secondaryTranslation.Items3") }); this._secondaryTranslation.Name = "_secondaryTranslation"; // // _primaryTranslation // resources.ApplyResources(this._primaryTranslation, "_primaryTranslation"); this._primaryTranslation.Items.AddRange(new object[] { resources.GetString("_primaryTranslation.Items"), resources.GetString("_primaryTranslation.Items1"), resources.GetString("_primaryTranslation.Items2") }); this._primaryTranslation.Name = "_primaryTranslation"; // // label2 // resources.ApplyResources(this.label2, "label2"); this.label2.Name = "label2"; // // label1 // resources.ApplyResources(this.label1, "label1"); this.label1.Name = "label1"; // // pnlBottom // this.pnlBottom.BackColor = System.Drawing.SystemColors.ControlLightLight; this.pnlBottom.Controls.Add(this.btnSave); this.pnlBottom.Controls.Add(this.btnClose); this.pnlBottom.Controls.Add(this.pnlBottomDiv); resources.ApplyResources(this.pnlBottom, "pnlBottom"); this.pnlBottom.Name = "pnlBottom"; // // btnSave // resources.ApplyResources(this.btnSave, "btnSave"); this.btnSave.BackColor = System.Drawing.SystemColors.Control; this.btnSave.Name = "btnSave"; this.btnSave.UseVisualStyleBackColor = false; this.btnSave.Click += new System.EventHandler(this.btnSave_Click); // // btnClose // resources.ApplyResources(this.btnClose, "btnClose"); this.btnClose.BackColor = System.Drawing.SystemColors.Control; this.btnClose.DialogResult = System.Windows.Forms.DialogResult.Cancel; this.btnClose.Name = "btnClose"; this.btnClose.UseVisualStyleBackColor = false; this.btnClose.Click += new System.EventHandler(this.btnClose_Click); // // pnlBottomDiv // this.pnlBottomDiv.BackColor = System.Drawing.Color.Gray; resources.ApplyResources(this.pnlBottomDiv, "pnlBottomDiv"); this.pnlBottomDiv.Name = "pnlBottomDiv"; // // tabControl1 // resources.ApplyResources(this.tabControl1, "tabControl1"); this.tabControl1.Controls.Add(this.tpDisplay); this.tabControl1.Controls.Add(this.tpOther); this.tabControl1.Name = "tabControl1"; this.tabControl1.SelectedIndex = 0; // // tpDisplay // this.tpDisplay.Controls.Add(this.llDisplayWarning); this.tpDisplay.Controls.Add(this.pbDisplayWarning); this.tpDisplay.Controls.Add(this.label4); this.tpDisplay.Controls.Add(this.displaySelection1); resources.ApplyResources(this.tpDisplay, "tpDisplay"); this.tpDisplay.Name = "tpDisplay"; this.tpDisplay.UseVisualStyleBackColor = true; // // llDisplayWarning // resources.ApplyResources(this.llDisplayWarning, "llDisplayWarning"); this.llDisplayWarning.Name = "llDisplayWarning"; this.llDisplayWarning.TabStop = true; this.llDisplayWarning.UseCompatibleTextRendering = true; this.llDisplayWarning.LinkClicked += new System.Windows.Forms.LinkLabelLinkClickedEventHandler(this.llDisplayWarning_LinkClicked); // // pbDisplayWarning // this.pbDisplayWarning.Image = global::EmpowerPresenter.Properties.Resources.icon_alert; resources.ApplyResources(this.pbDisplayWarning, "pbDisplayWarning"); this.pbDisplayWarning.Name = "pbDisplayWarning"; this.pbDisplayWarning.TabStop = false; // // label4 // resources.ApplyResources(this.label4, "label4"); this.label4.Name = "label4"; // // tpOther // this.tpOther.Controls.Add(this.gbSongs); this.tpOther.Controls.Add(this.cbHideContent); this.tpOther.Controls.Add(this.cbBackdrop); this.tpOther.Controls.Add(this.groupBox2); resources.ApplyResources(this.tpOther, "tpOther"); this.tpOther.Name = "tpOther"; this.tpOther.UseVisualStyleBackColor = true; // // gbSongs // this.gbSongs.Controls.Add(this.sliderOpacity); this.gbSongs.Controls.Add(this.btnOptions); this.gbSongs.Controls.Add(this.label8); this.gbSongs.Controls.Add(this.label7); this.gbSongs.Controls.Add(this.label6); this.gbSongs.Controls.Add(this.label5); this.gbSongs.Controls.Add(this.btnFont); this.gbSongs.Controls.Add(this.btnImage); resources.ApplyResources(this.gbSongs, "gbSongs"); this.gbSongs.Name = "gbSongs"; this.gbSongs.TabStop = false; // // label8 // resources.ApplyResources(this.label8, "label8"); this.label8.Cursor = System.Windows.Forms.Cursors.Hand; this.label8.Name = "label8"; this.label8.Click += new System.EventHandler(this.btnOptions_Click); // // label7 // resources.ApplyResources(this.label7, "label7"); this.label7.Cursor = System.Windows.Forms.Cursors.Hand; this.label7.Name = "label7"; // // label6 // resources.ApplyResources(this.label6, "label6"); this.label6.Cursor = System.Windows.Forms.Cursors.Hand; this.label6.Name = "label6"; this.label6.Click += new System.EventHandler(this.btnFont_Click); // // label5 // resources.ApplyResources(this.label5, "label5"); this.label5.Cursor = System.Windows.Forms.Cursors.Hand; this.label5.Name = "label5"; this.label5.Click += new System.EventHandler(this.btnImage_Click); // // cbHideContent // resources.ApplyResources(this.cbHideContent, "cbHideContent"); this.cbHideContent.Name = "cbHideContent"; this.cbHideContent.UseVisualStyleBackColor = true; // // cbBackdrop // resources.ApplyResources(this.cbBackdrop, "cbBackdrop"); this.cbBackdrop.Name = "cbBackdrop"; this.cbBackdrop.UseVisualStyleBackColor = true; // // _tertiaryTranslation // resources.ApplyResources(this._tertiaryTranslation, "_tertiaryTranslation"); this._tertiaryTranslation.Items.AddRange(new object[] { resources.GetString("_tertiaryTranslation.Items"), resources.GetString("_tertiaryTranslation.Items1"), resources.GetString("_tertiaryTranslation.Items2"), resources.GetString("_tertiaryTranslation.Items3") }); this._tertiaryTranslation.Name = "_tertiaryTranslation"; // // label3 // resources.ApplyResources(this.label3, "label3"); this.label3.Name = "label3"; // // displaySelection1 // this.displaySelection1.CurrentScreenIndex = 0; resources.ApplyResources(this.displaySelection1, "displaySelection1"); this.displaySelection1.Name = "displaySelection1"; // // sliderOpacity // resources.ApplyResources(this.sliderOpacity, "sliderOpacity"); this.sliderOpacity.BackColor = System.Drawing.Color.Transparent; this.sliderOpacity.ImedUpdate = true; this.sliderOpacity.Name = "sliderOpacity"; this.sliderOpacity.Value = 0; // // btnOptions // this.btnOptions.BackColor = System.Drawing.Color.Transparent; this.btnOptions.Cursor = System.Windows.Forms.Cursors.Hand; this.btnOptions.DisabledImg = global::EmpowerPresenter.Properties.Resources.cog; this.btnOptions.IsHighlighted = false; this.btnOptions.IsPressed = false; this.btnOptions.IsSelected = false; resources.ApplyResources(this.btnOptions, "btnOptions"); this.btnOptions.Name = "btnOptions"; this.btnOptions.NormalImg = global::EmpowerPresenter.Properties.Resources.cog; this.btnOptions.OverImg = global::EmpowerPresenter.Properties.Resources.cog; this.btnOptions.PressedImg = global::EmpowerPresenter.Properties.Resources.cog; this.btnOptions.Tag = "Settings"; this.btnOptions.Click += new System.EventHandler(this.btnOptions_Click); // // btnFont // this.btnFont.BackColor = System.Drawing.Color.Transparent; this.btnFont.Cursor = System.Windows.Forms.Cursors.Hand; this.btnFont.DisabledImg = global::EmpowerPresenter.Properties.Resources.font_d; this.btnFont.IsHighlighted = false; this.btnFont.IsPressed = false; this.btnFont.IsSelected = false; resources.ApplyResources(this.btnFont, "btnFont"); this.btnFont.Name = "btnFont"; this.btnFont.NormalImg = global::EmpowerPresenter.Properties.Resources.font_n; this.btnFont.OverImg = global::EmpowerPresenter.Properties.Resources.font_n; this.btnFont.PressedImg = global::EmpowerPresenter.Properties.Resources.font_n; this.btnFont.Tag = "Change font"; this.btnFont.Click += new System.EventHandler(this.btnFont_Click); // // btnImage // this.btnImage.BackColor = System.Drawing.Color.Transparent; this.btnImage.Cursor = System.Windows.Forms.Cursors.Hand; this.btnImage.DisabledImg = global::EmpowerPresenter.Properties.Resources.images_d; this.btnImage.IsHighlighted = false; this.btnImage.IsPressed = false; this.btnImage.IsSelected = false; resources.ApplyResources(this.btnImage, "btnImage"); this.btnImage.Name = "btnImage"; this.btnImage.NormalImg = global::EmpowerPresenter.Properties.Resources.images; this.btnImage.OverImg = global::EmpowerPresenter.Properties.Resources.images; this.btnImage.PressedImg = global::EmpowerPresenter.Properties.Resources.images; this.btnImage.Tag = "Change background"; this.btnImage.Click += new System.EventHandler(this.btnImage_Click); // // Settings // this.AcceptButton = this.btnSave; resources.ApplyResources(this, "$this"); this.CancelButton = this.btnClose; this.Controls.Add(this.tabControl1); this.Controls.Add(this.pnlBottom); this.MaximizeBox = false; this.MinimizeBox = false; this.Name = "Settings"; this.ShowInTaskbar = false; this.SizeGripStyle = System.Windows.Forms.SizeGripStyle.Hide; this.groupBox2.ResumeLayout(false); this.pnlBottom.ResumeLayout(false); this.tabControl1.ResumeLayout(false); this.tpDisplay.ResumeLayout(false); this.tpDisplay.PerformLayout(); ((System.ComponentModel.ISupportInitialize)(this.pbDisplayWarning)).EndInit(); this.tpOther.ResumeLayout(false); this.tpOther.PerformLayout(); this.gbSongs.ResumeLayout(false); this.gbSongs.PerformLayout(); this.ResumeLayout(false); }