📄 customemotionmanagerform.cs
字号:
this.upGridView = new UPanel();
this.upPicture = new UPanel();
this.label2 = new Label();
this.dgvCustomEmotionList.BeginInit();
this.cmsExport.SuspendLayout();
this.pbEmotion.BeginInit();
this.panel1.SuspendLayout();
this.panel2.SuspendLayout();
this.upGridView.SuspendLayout();
this.upPicture.SuspendLayout();
base.SuspendLayout();
this.dgvCustomEmotionList.set_AllowUserToAddRows(false);
this.dgvCustomEmotionList.set_AllowUserToDeleteRows(false);
this.dgvCustomEmotionList.set_AllowUserToResizeColumns(false);
this.dgvCustomEmotionList.set_AllowUserToResizeRows(false);
style.set_BackColor(Color.White);
style.set_ForeColor(Color.Black);
style.set_SelectionBackColor(Color.FromArgb(0xa8, 0xe9, 0xfe));
style.set_SelectionForeColor(Color.Black);
this.dgvCustomEmotionList.set_AlternatingRowsDefaultCellStyle(style);
this.dgvCustomEmotionList.set_AutoSizeColumnsMode(0x10);
this.dgvCustomEmotionList.set_BackgroundColor(Color.White);
this.dgvCustomEmotionList.set_BorderStyle(BorderStyle.None);
this.dgvCustomEmotionList.set_ColumnHeadersBorderStyle(1);
style2.set_Alignment(0x20);
style2.set_BackColor(Color.White);
style2.set_Font(new Font("Microsoft Sans Serif", 8.25f, FontStyle.Regular, GraphicsUnit.Point, 0));
style2.set_ForeColor(SystemColors.WindowText);
style2.set_SelectionBackColor(SystemColors.Highlight);
style2.set_SelectionForeColor(SystemColors.HighlightText);
style2.set_WrapMode(1);
this.dgvCustomEmotionList.set_ColumnHeadersDefaultCellStyle(style2);
this.dgvCustomEmotionList.set_ColumnHeadersHeight(0x16);
this.dgvCustomEmotionList.set_ColumnHeadersHeightSizeMode(1);
this.dgvCustomEmotionList.get_Columns().AddRange(new DataGridViewColumn[] { this.columnImage, this.columnShotCut, this.columnName });
style3.set_Alignment(0x10);
style3.set_BackColor(Color.FromArgb(0xf4, 0xf7, 0xf9));
style3.set_Font(new Font("Microsoft Sans Serif", 8.25f, FontStyle.Regular, GraphicsUnit.Point, 0));
style3.set_ForeColor(Color.Black);
style3.set_SelectionBackColor(Color.FromArgb(0xa8, 0xe9, 0xfe));
style3.set_SelectionForeColor(Color.Black);
style3.set_WrapMode(2);
this.dgvCustomEmotionList.set_DefaultCellStyle(style3);
this.dgvCustomEmotionList.Dock = DockStyle.Fill;
this.dgvCustomEmotionList.set_EnableHeadersVisualStyles(false);
this.dgvCustomEmotionList.set_GridColor(Color.FromArgb(0xdb, 0xe8, 240));
this.dgvCustomEmotionList.Location = new System.Drawing.Point(1, 1);
this.dgvCustomEmotionList.Name = "dgvCustomEmotionList";
this.dgvCustomEmotionList.set_ReadOnly(true);
this.dgvCustomEmotionList.set_RowHeadersVisible(false);
this.dgvCustomEmotionList.get_RowTemplate().set_Height(0x17);
this.dgvCustomEmotionList.get_RowTemplate().set_ReadOnly(true);
this.dgvCustomEmotionList.set_ScrollBars(ScrollBars.Vertical);
this.dgvCustomEmotionList.set_SelectionMode(1);
this.dgvCustomEmotionList.Size = new Size(0xe3, 0x141);
this.dgvCustomEmotionList.TabIndex = 0;
this.dgvCustomEmotionList.Enter += new EventHandler(this.dgvCustomEmotionList_Enter);
this.dgvCustomEmotionList.add_Scroll(new ScrollEventHandler(this.dgvCustomEmotionList_Scroll));
this.dgvCustomEmotionList.add_DataError(new DataGridViewDataErrorEventHandler(this, (IntPtr) this.dgvCustomEmotionList_DataError));
this.dgvCustomEmotionList.add_CellEnter(new DataGridViewCellEventHandler(this, (IntPtr) this.dgvCustomEmotionList_CellEnter));
this.dgvCustomEmotionList.add_SelectionChanged(new EventHandler(this.dgvCustomEmotionList_SelectionChanged));
this.columnImage.set_HeaderText("表情图片");
this.columnImage.set_Name("columnImage");
this.columnImage.set_ReadOnly(true);
this.columnImage.set_Resizable(2);
this.columnImage.set_SortMode(0);
this.columnShotCut.set_DataPropertyName("ShortCut");
style4.set_Alignment(0x20);
this.columnShotCut.set_DefaultCellStyle(style4);
this.columnShotCut.set_HeaderText("快捷方式");
this.columnShotCut.set_Name("columnShotCut");
this.columnShotCut.set_ReadOnly(true);
this.columnShotCut.set_SortMode(0);
this.columnName.set_DataPropertyName("Name");
style5.set_Alignment(0x20);
this.columnName.set_DefaultCellStyle(style5);
this.columnName.set_HeaderText("表情名称");
this.columnName.set_Name("columnName");
this.columnName.set_ReadOnly(true);
this.columnName.set_SortMode(0);
this.lTitleMessage.set_AutoSize(true);
this.lTitleMessage.Font = new Font("Microsoft Sans Serif", 8.25f, FontStyle.Regular, GraphicsUnit.Point, 0);
this.lTitleMessage.Location = new System.Drawing.Point(9, 8);
this.lTitleMessage.Name = "lTitleMessage";
this.lTitleMessage.Size = new Size(270, 0x11);
this.lTitleMessage.TabIndex = 1;
this.lTitleMessage.Text = "点击“添加表情”按钮,添加你喜欢的图片。";
this.lPages.set_AutoSize(true);
this.lPages.ForeColor = Color.Blue;
this.lPages.Location = new System.Drawing.Point(11, 0x164);
this.lPages.Name = "lPages";
this.lPages.Size = new Size(0x1d, 13);
this.lPages.TabIndex = 4;
this.lPages.Text = "N/M";
this.btnAdd.AutoArrangementX = true;
this.btnAdd.AutoSizeToImage = false;
this.btnAdd.BackColor = Color.Transparent;
this.btnAdd.BackgroundImage = (Image) manager.GetObject("btnAdd.BackgroundImage");
this.btnAdd.BackgroundImageDisable = (Image) manager.GetObject("btnAdd.BackgroundImageDisable");
this.btnAdd.BackgroundImageDown = (Image) manager.GetObject("btnAdd.BackgroundImageDown");
this.btnAdd.BackgroundImageHover = (Image) manager.GetObject("btnAdd.BackgroundImageHover");
this.btnAdd.ChangeSkin = false;
this.btnAdd.Location = new System.Drawing.Point(0xf2, 30);
this.btnAdd.Name = "btnAdd";
this.btnAdd.Size = new Size(0x59, 0x15);
this.btnAdd.TabIndex = 3;
this.btnAdd.Text = "添加表情...";
this.btnAdd.set_UseVisualStyleBackColor(false);
this.btnAdd.Click += new EventHandler(this.btnAdd_Click);
this.btnDelete.AutoArrangementX = true;
this.btnDelete.AutoSizeToImage = false;
this.btnDelete.BackColor = Color.Transparent;
this.btnDelete.BackgroundImage = (Image) manager.GetObject("btnDelete.BackgroundImage");
this.btnDelete.BackgroundImageDisable = (Image) manager.GetObject("btnDelete.BackgroundImageDisable");
this.btnDelete.BackgroundImageDown = (Image) manager.GetObject("btnDelete.BackgroundImageDown");
this.btnDelete.BackgroundImageHover = (Image) manager.GetObject("btnDelete.BackgroundImageHover");
this.btnDelete.ChangeSkin = false;
this.btnDelete.Enabled = false;
this.btnDelete.Location = new System.Drawing.Point(0xf2, 60);
this.btnDelete.Name = "btnDelete";
this.btnDelete.Size = new Size(0x59, 0x15);
this.btnDelete.TabIndex = 4;
this.btnDelete.Text = "删除表情...";
this.btnDelete.set_UseVisualStyleBackColor(false);
this.btnDelete.Click += new EventHandler(this.btnDelete_Click);
this.btnEdit.AutoArrangementX = true;
this.btnEdit.AutoSizeToImage = false;
this.btnEdit.BackColor = Color.Transparent;
this.btnEdit.BackgroundImage = (Image) manager.GetObject("btnEdit.BackgroundImage");
this.btnEdit.BackgroundImageDisable = (Image) manager.GetObject("btnEdit.BackgroundImageDisable");
this.btnEdit.BackgroundImageDown = (Image) manager.GetObject("btnEdit.BackgroundImageDown");
this.btnEdit.BackgroundImageHover = (Image) manager.GetObject("btnEdit.BackgroundImageHover");
this.btnEdit.ChangeSkin = false;
this.btnEdit.Enabled = false;
this.btnEdit.Location = new System.Drawing.Point(0xf2, 90);
this.btnEdit.Name = "btnEdit";
this.btnEdit.Size = new Size(0x59, 0x15);
this.btnEdit.TabIndex = 5;
this.btnEdit.Text = "编辑...";
this.btnEdit.set_UseVisualStyleBackColor(false);
this.btnEdit.Click += new EventHandler(this.btnEdit_Click);
this.btnImport.AutoArrangementX = true;
this.btnImport.AutoSizeToImage = false;
this.btnImport.BackColor = Color.Transparent;
this.btnImport.BackgroundImage = (Image) manager.GetObject("btnImport.BackgroundImage");
this.btnImport.BackgroundImageDisable = (Image) manager.GetObject("btnImport.BackgroundImageDisable");
this.btnImport.BackgroundImageDown = (Image) manager.GetObject("btnImport.BackgroundImageDown");
this.btnImport.BackgroundImageHover = (Image) manager.GetObject("btnImport.BackgroundImageHover");
this.btnImport.ChangeSkin = false;
this.btnImport.Location = new System.Drawing.Point(0xf2, 120);
this.btnImport.Name = "btnImport";
this.btnImport.Size = new Size(0x59, 0x15);
this.btnImport.TabIndex = 6;
this.btnImport.Text = "导入表情...";
this.btnImport.set_UseVisualStyleBackColor(false);
this.btnImport.Click += new EventHandler(this.btnImport_Click);
this.btnExport.AutoArrangementX = true;
this.btnExport.AutoSizeToImage = false;
this.btnExport.BackColor = Color.Transparent;
this.btnExport.BackgroundImage = (Image) manager.GetObject("btnExport.BackgroundImage");
this.btnExport.BackgroundImageDisable = (Image) manager.GetObject("btnExport.BackgroundImageDisable");
this.btnExport.BackgroundImageDown = (Image) manager.GetObject("btnExport.BackgroundImageDown");
this.btnExport.BackgroundImageHover = (Image) manager.GetObject("btnExport.BackgroundImageHover");
this.btnExport.set_BackgroundImageLayout(0);
this.btnExport.ChangeSkin = false;
this.btnExport.set_ContextMenuStrip(this.cmsExport);
this.btnExport.Image = (Image) manager.GetObject("btnExport.Image");
this.btnExport.ImageAlign = ContentAlignment.MiddleRight;
this.btnExport.Location = new System.Drawing.Point(0xf2, 150);
this.btnExport.Name = "btnExport";
this.btnExport.Size = new Size(0x59, 0x15);
this.btnExport.TabIndex = 7;
this.btnExport.Text = "导出表情...";
this.btnExport.set_UseVisualStyleBackColor(false);
this.btnExport.Click += new EventHandler(this.btnExport_Click);
this.cmsExport.get_Items().AddRange(new ToolStripItem[] { this.tsmiExportSelected, this.tsmiExportAll });
this.cmsExport.Name = "cmsExport";
this.cmsExport.Size = new Size(0x93, 0x30);
this.cmsExport.UseMnemonic = true;
this.tsmiExportSelected.set_Enabled(false);
this.tsmiExportSelected.set_Name("tsmiExportSelected");
this.tsmiExportSelected.set_Size(new Size(0x92, 0x16));
this.tsmiExportSelected.set_Text("导出选择表情");
this.tsmiExportSelected.add_Click(new EventHandler(this.tsmiExportSelected_Click));
this.tsmiExportAll.set_Name("tsmiExportAll");
this.tsmiExportAll.set_Size(new Size(0x92, 0x16));
this.tsmiExportAll.set_Text("导出全部表情");
this.tsmiExportAll.add_Click(new EventHandler(this.tsmiExportAll_Click));
this.pbEmotion.Dock = DockStyle.Fill;
this.pbEmotion.Location = new System.Drawing.Point(3, 8);
this.pbEmotion.Name = "pbEmotion";
this.pbEmotion.Size = new Size(0x53, 0x53);
this.pbEmotion.SizeMode = (PictureBoxSizeMode) 4;
this.pbEmotion.TabIndex = 12;
this.pbEmotion.TabStop = false;
this.btnOK.AutoArrangementX = true;
this.btnOK.AutoSizeToImage = true;
this.btnOK.BackColor = Color.Transparent;
this.btnOK.BackgroundImageDisable = null;
this.btnOK.BackgroundImageDown = null;
this.btnOK.BackgroundImageHover = null;
this.btnOK.ChangeSkin = true;
this.btnOK.DialogResult = DialogResult.Cancel;
this.btnOK.Location = new System.Drawing.Point(0x101, 0x180);
this.btnOK.Name = "btnOK";
this.btnOK.Size = new Size(0x4d, 0x1b);
this.btnOK.TabIndex = 1;
this.btnOK.Text = "确定";
this.btnOK.set_UseVisualStyleBackColor(false);
this.btnOK.Click += new EventHandler(this.btnOK_Click);
this.sfdExport.DefaultExt = "ffl";
this.sfdExport.Filter = "飞信表情文件*.ffl|*.ffl";
this.llLastPage.set_AutoSize(true);
this.llLastPage.LinkColor = Color.Green;
this.llLastPage.Location = new System.Drawing.Point(0x79, 0x164);
this.llLastPage.Name = "llLastPage";
this.llLastPage.Size = new Size(0x37, 13);
this.llLastPage.TabIndex = 1;
this.llLastPage.TabStop = true;
this.llLastPage.Text = "<上一页";
this.llLastPage.LinkClicked += new LinkLabelLinkClickedEventHandler(this.llLastPage_LinkClicked);
this.llNextPage.set_AutoSize(true);
this.llNextPage.LinkColor = Color.Green;
this.llNextPage.Location = new System.Drawing.Point(0xb7, 0x164);
this.llNextPage.Name = "llNextPage";
this.llNextPage.Size = new Size(0x3a, 13);
this.llNextPage.TabIndex = 2;
this.llNextPage.TabStop = true;
this.llNextPage.Text = "下一页 >";
this.llNextPage.LinkClicked += new LinkLabelLinkClickedEventHandler(this.llNextPage_LinkClicked);
this.panel1.Controls.Add(this.panel2);
this.panel1.Controls.Add(this.upGridView);
this.panel1.Controls.Add(this.upPicture);
this.panel1.Controls.Add(this.lTitleMessage);
this.panel1.Controls.Add(this.btnAdd);
this.panel1.Controls.Add(this.llNextPage);
this.panel1.Controls.Add(this.llLastPage);
this.panel1.Controls.Add(this.btnDelete);
this.panel1.Controls.Add(this.lPages);
this.panel1.Controls.Add(this.btnEdit);
this.panel1.Controls.Add(this.btnImport);
this.panel1.Controls.Add(this.btnExport);
this.panel1.Location = new System.Drawing.Point(1, 2);
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -