예제 #1
0
 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();
 }
예제 #2
0
 private void InitializeComponent()
 {
     System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(ImageSelection));
     this.label1                 = new System.Windows.Forms.Label();
     this.label2                 = new System.Windows.Forms.Label();
     this.label3                 = new System.Windows.Forms.Label();
     this._categories            = new System.Windows.Forms.ListBox();
     this.pnlBottom              = new System.Windows.Forms.Panel();
     this.lblInfo                = new System.Windows.Forms.Label();
     this.btnUnlink              = new Vendisoft.Controls.ImageButton();
     this.btnLink                = new Vendisoft.Controls.ImageButton();
     this.btnSelect              = new System.Windows.Forms.Button();
     this.btnRenameCat           = new Vendisoft.Controls.ImageButton();
     this.btnRemoveCat           = new Vendisoft.Controls.ImageButton();
     this.btnAddCat              = new Vendisoft.Controls.ImageButton();
     this.btnRemove              = new Vendisoft.Controls.ImageButton();
     this.btnAdd                 = new Vendisoft.Controls.ImageButton();
     this.btnClose               = new System.Windows.Forms.Button();
     this.pnlBottomDiv           = new System.Windows.Forms.Panel();
     this.button1                = new System.Windows.Forms.Button();
     this.photoPreviewContainer1 = new EmpowerPresenter.Controls.Photos.PhotoPreviewContainer();
     this.pnlBottom.SuspendLayout();
     this.SuspendLayout();
     //
     // label1
     //
     resources.ApplyResources(this.label1, "label1");
     this.label1.Name = "label1";
     //
     // label2
     //
     resources.ApplyResources(this.label2, "label2");
     this.label2.Name = "label2";
     //
     // label3
     //
     resources.ApplyResources(this.label3, "label3");
     this.label3.Name = "label3";
     //
     // _categories
     //
     resources.ApplyResources(this._categories, "_categories");
     this._categories.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
     this._categories.DrawMode    = System.Windows.Forms.DrawMode.OwnerDrawFixed;
     this._categories.Items.AddRange(new object[] {
         resources.GetString("_categories.Items"),
         resources.GetString("_categories.Items1"),
         resources.GetString("_categories.Items2"),
         resources.GetString("_categories.Items3")
     });
     this._categories.Name                  = "_categories";
     this._categories.DrawItem             += new System.Windows.Forms.DrawItemEventHandler(this._categories_DrawItem);
     this._categories.SelectedIndexChanged += new System.EventHandler(this._categories_SelectedIndexChanged);
     //
     // pnlBottom
     //
     this.pnlBottom.BackColor = System.Drawing.SystemColors.ControlLightLight;
     this.pnlBottom.Controls.Add(this.lblInfo);
     this.pnlBottom.Controls.Add(this.btnUnlink);
     this.pnlBottom.Controls.Add(this.btnLink);
     this.pnlBottom.Controls.Add(this.btnSelect);
     this.pnlBottom.Controls.Add(this.btnRenameCat);
     this.pnlBottom.Controls.Add(this.btnRemoveCat);
     this.pnlBottom.Controls.Add(this.btnAddCat);
     this.pnlBottom.Controls.Add(this.btnRemove);
     this.pnlBottom.Controls.Add(this.btnAdd);
     this.pnlBottom.Controls.Add(this.btnClose);
     this.pnlBottom.Controls.Add(this.pnlBottomDiv);
     resources.ApplyResources(this.pnlBottom, "pnlBottom");
     this.pnlBottom.Name = "pnlBottom";
     //
     // lblInfo
     //
     resources.ApplyResources(this.lblInfo, "lblInfo");
     this.lblInfo.Name = "lblInfo";
     //
     // btnUnlink
     //
     this.btnUnlink.BackColor     = System.Drawing.Color.Transparent;
     this.btnUnlink.Cursor        = System.Windows.Forms.Cursors.Hand;
     this.btnUnlink.DisabledImg   = global::EmpowerPresenter.Properties.Resources.unlinkfolder_dis;
     this.btnUnlink.IsHighlighted = false;
     this.btnUnlink.IsPressed     = false;
     this.btnUnlink.IsSelected    = false;
     resources.ApplyResources(this.btnUnlink, "btnUnlink");
     this.btnUnlink.Name        = "btnUnlink";
     this.btnUnlink.NormalImg   = global::EmpowerPresenter.Properties.Resources.unlinkfolder;
     this.btnUnlink.OverImg     = global::EmpowerPresenter.Properties.Resources.unlinkfolder;
     this.btnUnlink.PressedImg  = global::EmpowerPresenter.Properties.Resources.unlinkfolder;
     this.btnUnlink.Tag         = "Remove image from current category";
     this.btnUnlink.MouseLeave += new System.EventHandler(this.btnSmall_MouseLeave);
     this.btnUnlink.Click      += new System.EventHandler(this.btnUnlink_Click);
     this.btnUnlink.MouseEnter += new System.EventHandler(this.btnSmall_MouseEnter);
     //
     // btnLink
     //
     this.btnLink.BackColor     = System.Drawing.Color.Transparent;
     this.btnLink.Cursor        = System.Windows.Forms.Cursors.Hand;
     this.btnLink.DisabledImg   = ((System.Drawing.Image)(resources.GetObject("btnLink.DisabledImg")));
     this.btnLink.IsHighlighted = false;
     this.btnLink.IsPressed     = false;
     this.btnLink.IsSelected    = false;
     resources.ApplyResources(this.btnLink, "btnLink");
     this.btnLink.Name        = "btnLink";
     this.btnLink.NormalImg   = global::EmpowerPresenter.Properties.Resources.linkfolder;
     this.btnLink.OverImg     = global::EmpowerPresenter.Properties.Resources.linkfolder;
     this.btnLink.PressedImg  = global::EmpowerPresenter.Properties.Resources.linkfolder;
     this.btnLink.Tag         = "Assign category";
     this.btnLink.MouseLeave += new System.EventHandler(this.btnSmall_MouseLeave);
     this.btnLink.Click      += new System.EventHandler(this.btnLink_Click);
     this.btnLink.MouseEnter += new System.EventHandler(this.btnSmall_MouseEnter);
     //
     // btnSelect
     //
     resources.ApplyResources(this.btnSelect, "btnSelect");
     this.btnSelect.BackColor               = System.Drawing.SystemColors.Control;
     this.btnSelect.DialogResult            = System.Windows.Forms.DialogResult.Cancel;
     this.btnSelect.Name                    = "btnSelect";
     this.btnSelect.UseVisualStyleBackColor = false;
     this.btnSelect.Click                  += new System.EventHandler(this.btnSelect_Click);
     //
     // btnRenameCat
     //
     this.btnRenameCat.BackColor     = System.Drawing.Color.Transparent;
     this.btnRenameCat.Cursor        = System.Windows.Forms.Cursors.Hand;
     this.btnRenameCat.DisabledImg   = global::EmpowerPresenter.Properties.Resources.edit_d;
     this.btnRenameCat.IsHighlighted = false;
     this.btnRenameCat.IsPressed     = false;
     this.btnRenameCat.IsSelected    = false;
     resources.ApplyResources(this.btnRenameCat, "btnRenameCat");
     this.btnRenameCat.Name        = "btnRenameCat";
     this.btnRenameCat.NormalImg   = global::EmpowerPresenter.Properties.Resources.editfolder;
     this.btnRenameCat.OverImg     = global::EmpowerPresenter.Properties.Resources.editfolder;
     this.btnRenameCat.PressedImg  = global::EmpowerPresenter.Properties.Resources.editfolder;
     this.btnRenameCat.Tag         = "Rename category";
     this.btnRenameCat.MouseLeave += new System.EventHandler(this.btnSmall_MouseLeave);
     this.btnRenameCat.Click      += new System.EventHandler(this.btnRenameCat_Click);
     this.btnRenameCat.MouseEnter += new System.EventHandler(this.btnSmall_MouseEnter);
     //
     // btnRemoveCat
     //
     this.btnRemoveCat.BackColor     = System.Drawing.Color.Transparent;
     this.btnRemoveCat.Cursor        = System.Windows.Forms.Cursors.Hand;
     this.btnRemoveCat.DisabledImg   = global::EmpowerPresenter.Properties.Resources.removefolderdis;
     this.btnRemoveCat.IsHighlighted = false;
     this.btnRemoveCat.IsPressed     = false;
     this.btnRemoveCat.IsSelected    = false;
     resources.ApplyResources(this.btnRemoveCat, "btnRemoveCat");
     this.btnRemoveCat.Name        = "btnRemoveCat";
     this.btnRemoveCat.NormalImg   = global::EmpowerPresenter.Properties.Resources.removefolder;
     this.btnRemoveCat.OverImg     = global::EmpowerPresenter.Properties.Resources.removefolder;
     this.btnRemoveCat.PressedImg  = global::EmpowerPresenter.Properties.Resources.removefolder;
     this.btnRemoveCat.Tag         = "Remove current category";
     this.btnRemoveCat.MouseLeave += new System.EventHandler(this.btnSmall_MouseLeave);
     this.btnRemoveCat.Click      += new System.EventHandler(this.btnRemoveCat_Click);
     this.btnRemoveCat.MouseEnter += new System.EventHandler(this.btnSmall_MouseEnter);
     //
     // btnAddCat
     //
     this.btnAddCat.BackColor     = System.Drawing.Color.Transparent;
     this.btnAddCat.Cursor        = System.Windows.Forms.Cursors.Hand;
     this.btnAddCat.DisabledImg   = global::EmpowerPresenter.Properties.Resources.addfolder;
     this.btnAddCat.IsHighlighted = false;
     this.btnAddCat.IsPressed     = false;
     this.btnAddCat.IsSelected    = false;
     resources.ApplyResources(this.btnAddCat, "btnAddCat");
     this.btnAddCat.Name        = "btnAddCat";
     this.btnAddCat.NormalImg   = global::EmpowerPresenter.Properties.Resources.addfolder;
     this.btnAddCat.OverImg     = global::EmpowerPresenter.Properties.Resources.addfolder;
     this.btnAddCat.PressedImg  = global::EmpowerPresenter.Properties.Resources.addfolder;
     this.btnAddCat.Tag         = "Adding a new category";
     this.btnAddCat.MouseLeave += new System.EventHandler(this.btnSmall_MouseLeave);
     this.btnAddCat.Click      += new System.EventHandler(this.btnAddCategory_Click);
     this.btnAddCat.MouseEnter += new System.EventHandler(this.btnSmall_MouseEnter);
     //
     // btnRemove
     //
     this.btnRemove.BackColor     = System.Drawing.Color.Transparent;
     this.btnRemove.Cursor        = System.Windows.Forms.Cursors.Hand;
     this.btnRemove.DisabledImg   = ((System.Drawing.Image)(resources.GetObject("btnRemove.DisabledImg")));
     this.btnRemove.IsHighlighted = false;
     this.btnRemove.IsPressed     = false;
     this.btnRemove.IsSelected    = false;
     resources.ApplyResources(this.btnRemove, "btnRemove");
     this.btnRemove.Name        = "btnRemove";
     this.btnRemove.NormalImg   = global::EmpowerPresenter.Properties.Resources.removeimage;
     this.btnRemove.OverImg     = global::EmpowerPresenter.Properties.Resources.removeimage;
     this.btnRemove.PressedImg  = global::EmpowerPresenter.Properties.Resources.removeimage;
     this.btnRemove.Tag         = "Remove image";
     this.btnRemove.MouseLeave += new System.EventHandler(this.btnSmall_MouseLeave);
     this.btnRemove.Click      += new System.EventHandler(this.btnRemove_Click);
     this.btnRemove.MouseEnter += new System.EventHandler(this.btnSmall_MouseEnter);
     //
     // btnAdd
     //
     this.btnAdd.BackColor     = System.Drawing.Color.Transparent;
     this.btnAdd.Cursor        = System.Windows.Forms.Cursors.Hand;
     this.btnAdd.DisabledImg   = global::EmpowerPresenter.Properties.Resources.addimage;
     this.btnAdd.IsHighlighted = false;
     this.btnAdd.IsPressed     = false;
     this.btnAdd.IsSelected    = false;
     resources.ApplyResources(this.btnAdd, "btnAdd");
     this.btnAdd.Name        = "btnAdd";
     this.btnAdd.NormalImg   = global::EmpowerPresenter.Properties.Resources.addimage;
     this.btnAdd.OverImg     = global::EmpowerPresenter.Properties.Resources.addimage;
     this.btnAdd.PressedImg  = global::EmpowerPresenter.Properties.Resources.addimage;
     this.btnAdd.Tag         = "Add image";
     this.btnAdd.MouseLeave += new System.EventHandler(this.btnSmall_MouseLeave);
     this.btnAdd.Click      += new System.EventHandler(this.btnAddImage_Click);
     this.btnAdd.MouseEnter += new System.EventHandler(this.btnSmall_MouseEnter);
     //
     // 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._cancel_Click);
     //
     // pnlBottomDiv
     //
     this.pnlBottomDiv.BackColor = System.Drawing.Color.Gray;
     resources.ApplyResources(this.pnlBottomDiv, "pnlBottomDiv");
     this.pnlBottomDiv.Name = "pnlBottomDiv";
     //
     // button1
     //
     resources.ApplyResources(this.button1, "button1");
     this.button1.BackColor               = System.Drawing.SystemColors.Control;
     this.button1.DialogResult            = System.Windows.Forms.DialogResult.Cancel;
     this.button1.Name                    = "button1";
     this.button1.UseVisualStyleBackColor = false;
     //
     // photoPreviewContainer1
     //
     resources.ApplyResources(this.photoPreviewContainer1, "photoPreviewContainer1");
     this.photoPreviewContainer1.BackColor          = System.Drawing.Color.White;
     this.photoPreviewContainer1.BorderStyle        = System.Windows.Forms.BorderStyle.FixedSingle;
     this.photoPreviewContainer1.CurrentCategory    = "";
     this.photoPreviewContainer1.Name               = "photoPreviewContainer1";
     this.photoPreviewContainer1.ItemDoubleClicked += new System.EventHandler(this.photoPreviewContainer1_ItemDoubleClicked);
     this.photoPreviewContainer1.ItemClicked       += new System.EventHandler(this.photoPreviewContainer1_ItemClicked);
     //
     // ImageSelection
     //
     this.AcceptButton  = this.btnSelect;
     this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.None;
     this.CancelButton  = this.btnClose;
     resources.ApplyResources(this, "$this");
     this.Controls.Add(this.photoPreviewContainer1);
     this.Controls.Add(this.pnlBottom);
     this.Controls.Add(this._categories);
     this.Controls.Add(this.label1);
     this.Controls.Add(this.label2);
     this.Controls.Add(this.label3);
     this.Name = "ImageSelection";
     this.pnlBottom.ResumeLayout(false);
     this.pnlBottom.PerformLayout();
     this.ResumeLayout(false);
 }
예제 #3
0
 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);
 }
예제 #4
0
 private void InitializeComponent()
 {
     this.themedPanel1 = new Vendisoft.Controls.ThemedPanel();
     this.txtSearch    = new System.Windows.Forms.TextBox();
     this.btnClose     = new Vendisoft.Controls.ImageButton();
     this.themedPanel1.SuspendLayout();
     this.SuspendLayout();
     //
     // themedPanel1
     //
     this.themedPanel1.BottomSplice = 15;
     this.themedPanel1.Controls.Add(this.btnClose);
     this.themedPanel1.Controls.Add(this.txtSearch);
     this.themedPanel1.Dock        = System.Windows.Forms.DockStyle.Fill;
     this.themedPanel1.Image       = global::EmpowerPresenter.Properties.Resources.over;
     this.themedPanel1.LeftSlice   = 15;
     this.themedPanel1.Location    = new System.Drawing.Point(0, 0);
     this.themedPanel1.Name        = "themedPanel1";
     this.themedPanel1.RightSplice = 15;
     this.themedPanel1.Size        = new System.Drawing.Size(283, 39);
     this.themedPanel1.TabIndex    = 0;
     this.themedPanel1.TopSplice   = 15;
     //
     // txtSearch
     //
     this.txtSearch.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left)
                                                                   | System.Windows.Forms.AnchorStyles.Right)));
     this.txtSearch.Location     = new System.Drawing.Point(7, 9);
     this.txtSearch.Name         = "txtSearch";
     this.txtSearch.Size         = new System.Drawing.Size(243, 20);
     this.txtSearch.TabIndex     = 0;
     this.txtSearch.TextChanged += new System.EventHandler(this.txtSearch_TextChanged);
     this.txtSearch.KeyPress    += new KeyPressEventHandler(txtSearch_KeyPress);
     //
     // btnClose
     //
     this.btnClose.Anchor        = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
     this.btnClose.Cursor        = Cursors.Hand;
     this.btnClose.DisabledImg   = null;
     this.btnClose.IsHighlighted = false;
     this.btnClose.IsPressed     = false;
     this.btnClose.IsSelected    = false;
     this.btnClose.Location      = new System.Drawing.Point(252, 8);
     this.btnClose.Name          = "btnClose";
     this.btnClose.NormalImg     = global::EmpowerPresenter.Properties.Resources.close_n;
     this.btnClose.OverImg       = global::EmpowerPresenter.Properties.Resources.close_n;
     this.btnClose.PressedImg    = global::EmpowerPresenter.Properties.Resources.close_o;
     this.btnClose.Size          = new System.Drawing.Size(24, 23);
     this.btnClose.TabIndex      = 1;
     this.btnClose.Click        += new System.EventHandler(this.btnClose_Click);
     //
     // SearchPopup
     //
     this.BackColor = System.Drawing.Color.Transparent;
     this.Controls.Add(this.themedPanel1);
     this.MaximumSize = new System.Drawing.Size(483, 39);
     this.MinimumSize = new System.Drawing.Size(203, 39);
     this.Name        = "SearchPopup";
     this.Size        = new System.Drawing.Size(283, 39);
     this.themedPanel1.ResumeLayout(false);
     this.themedPanel1.PerformLayout();
     this.ResumeLayout(false);
 }