📄 manageform.cs
字号:
this.btnSelectAll.Text = " 全选";
this.btnSelectAll.set_UseVisualStyleBackColor(true);
this.btnSelectAll.Click += new EventHandler(this.btnSelectAll_Click);
this.pictureBox1.Dock = DockStyle.Left;
this.pictureBox1.Image = (Image) manager.GetObject("pictureBox1.Image");
this.pictureBox1.Location = new System.Drawing.Point(0, 0);
this.pictureBox1.Name = "pictureBox1";
this.pictureBox1.Size = new Size(3, 0x39);
this.pictureBox1.TabIndex = 0;
this.pictureBox1.TabStop = false;
this.pictureBox3.BackgroundImage = (Image) manager.GetObject("pictureBox3.BackgroundImage");
this.pictureBox3.Dock = DockStyle.Fill;
this.pictureBox3.Location = new System.Drawing.Point(0, 0);
this.pictureBox3.Name = "pictureBox3";
this.pictureBox3.Size = new Size(0x248, 0x39);
this.pictureBox3.TabIndex = 2;
this.pictureBox3.TabStop = false;
this.panelGrid.Controls.Add(this.dataGridViewSms);
this.panelGrid.Controls.Add(this.panelOperation);
this.panelGrid.Dock = DockStyle.Fill;
this.panelGrid.Location = new System.Drawing.Point(4, 0x44);
this.panelGrid.Name = "panelGrid";
this.panelGrid.Size = new Size(0x248, 0xff);
this.panelGrid.TabIndex = 2;
this.dataGridViewSms.set_AllowUserToAddRows(false);
this.dataGridViewSms.set_AllowUserToDeleteRows(false);
style.set_BackColor(Color.FromArgb(0xf4, 0xf7, 0xf9));
this.dataGridViewSms.set_AlternatingRowsDefaultCellStyle(style);
this.dataGridViewSms.set_AutoGenerateColumns(false);
this.dataGridViewSms.set_BackgroundColor(Color.White);
this.dataGridViewSms.set_BorderStyle(BorderStyle.None);
this.dataGridViewSms.set_CellBorderStyle(4);
this.dataGridViewSms.set_ColumnHeadersBorderStyle(4);
style2.set_Alignment(0x10);
style2.set_BackColor(SystemColors.Control);
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(2);
this.dataGridViewSms.set_ColumnHeadersDefaultCellStyle(style2);
this.dataGridViewSms.set_ColumnHeadersHeightSizeMode(2);
this.dataGridViewSms.get_Columns().AddRange(new DataGridViewColumn[] { this.cb, this.displayReceviersNameDataGridViewTextBoxColumn, this.displaySendTimeDataGridViewTextBoxColumn, this.displayContentDataGridViewTextBoxColumn, this.Id });
this.dataGridViewSms.set_DataSource(this.bindingSourceSms);
this.dataGridViewSms.Dock = DockStyle.Fill;
this.dataGridViewSms.Location = new System.Drawing.Point(0, 0);
this.dataGridViewSms.Name = "dataGridViewSms";
this.dataGridViewSms.set_RowHeadersVisible(false);
this.dataGridViewSms.get_RowTemplate().set_Height(0x17);
this.dataGridViewSms.get_RowTemplate().set_Resizable(2);
this.dataGridViewSms.set_SelectionMode(1);
this.dataGridViewSms.set_ShowEditingIcon(false);
this.dataGridViewSms.Size = new Size(0x248, 0xe5);
this.dataGridViewSms.TabIndex = 20;
this.dataGridViewSms.add_CellValueChanged(new DataGridViewCellEventHandler(this, (IntPtr) this.dataGridViewSms_CellValueChanged));
this.bindingSourceSms.set_DataSource(typeof(ScheduleSms));
this.panelOperation.BackColor = Color.White;
this.panelOperation.Controls.Add(this.label5);
this.panelOperation.Controls.Add(this.labelPage);
this.panelOperation.Controls.Add(this.label3);
this.panelOperation.Controls.Add(this.labelSum);
this.panelOperation.Controls.Add(this.label1);
this.panelOperation.Controls.Add(this.llPre);
this.panelOperation.Controls.Add(this.llNext);
this.panelOperation.Controls.Add(this.llFirst);
this.panelOperation.Controls.Add(this.llLast);
this.panelOperation.Dock = DockStyle.Bottom;
this.panelOperation.Location = new System.Drawing.Point(0, 0xe5);
this.panelOperation.Name = "panelOperation";
this.panelOperation.Size = new Size(0x248, 0x1a);
this.panelOperation.TabIndex = 0;
this.label5.set_AutoSize(true);
this.label5.Location = new System.Drawing.Point(0x92, 6);
this.label5.Name = "label5";
this.label5.Size = new Size(0x13, 13);
this.label5.TabIndex = 0x68;
this.label5.Text = "页";
this.labelPage.set_AutoSize(true);
this.labelPage.ForeColor = Color.FromArgb(0, 0xc0, 0);
this.labelPage.Location = new System.Drawing.Point(0x74, 6);
this.labelPage.Name = "labelPage";
this.labelPage.Size = new Size(0x1b, 13);
this.labelPage.TabIndex = 0x67;
this.labelPage.Text = "num";
this.label3.set_AutoSize(true);
this.label3.Location = new System.Drawing.Point(0x34, 6);
this.label3.Name = "label3";
this.label3.Size = new Size(0x43, 13);
this.label3.TabIndex = 0x66;
this.label3.Text = "条定时短信";
this.labelSum.set_AutoSize(true);
this.labelSum.ForeColor = Color.FromArgb(0, 0xc0, 0);
this.labelSum.Location = new System.Drawing.Point(0x1d, 6);
this.labelSum.Name = "labelSum";
this.labelSum.Size = new Size(0x1a, 13);
this.labelSum.TabIndex = 0x65;
this.labelSum.Text = "sum";
this.label1.set_AutoSize(true);
this.label1.Location = new System.Drawing.Point(12, 6);
this.label1.Name = "label1";
this.label1.Size = new Size(0x13, 13);
this.label1.TabIndex = 2;
this.label1.Text = "共";
this.llPre.set_AutoSize(true);
this.llPre.Location = new System.Drawing.Point(0x1bd, 6);
this.llPre.Name = "llPre";
this.llPre.Size = new Size(0x2b, 13);
this.llPre.TabIndex = 80;
this.llPre.TabStop = true;
this.llPre.Text = "上一页";
this.llPre.LinkClicked += new LinkLabelLinkClickedEventHandler(this.llPre_LinkClicked);
this.llNext.set_AutoSize(true);
this.llNext.Location = new System.Drawing.Point(0x1ee, 6);
this.llNext.Name = "llNext";
this.llNext.Size = new Size(0x2b, 13);
this.llNext.TabIndex = 90;
this.llNext.TabStop = true;
this.llNext.Text = "下一页";
this.llNext.LinkClicked += new LinkLabelLinkClickedEventHandler(this.llNext_LinkClicked);
this.llFirst.set_AutoSize(true);
this.llFirst.Location = new System.Drawing.Point(0x198, 6);
this.llFirst.Name = "llFirst";
this.llFirst.Size = new Size(0x1f, 13);
this.llFirst.TabIndex = 70;
this.llFirst.TabStop = true;
this.llFirst.Text = "首页";
this.llFirst.LinkClicked += new LinkLabelLinkClickedEventHandler(this.llFirst_LinkClicked);
this.llLast.set_AutoSize(true);
this.llLast.Location = new System.Drawing.Point(0x21f, 6);
this.llLast.Name = "llLast";
this.llLast.Size = new Size(0x1f, 13);
this.llLast.TabIndex = 100;
this.llLast.TabStop = true;
this.llLast.Text = "末页";
this.llLast.LinkClicked += new LinkLabelLinkClickedEventHandler(this.llLast_LinkClicked);
this.panelMain.Controls.Add(this.panelGrid);
this.panelMain.Controls.Add(this.panel3);
this.panelMain.Controls.Add(this.panel1);
this.panelMain.Controls.Add(this.panel7);
this.panelMain.Controls.Add(this.panel6);
this.panelMain.Controls.Add(this.panel5);
this.panelMain.Controls.Add(this.panel4);
this.panelMain.Location = new System.Drawing.Point(0, 0);
this.panelMain.Name = "panelMain";
this.panelMain.Size = new Size(0x250, 0x147);
this.panelMain.TabIndex = 3;
this.panel3.BackgroundImage = (Image) manager.GetObject("panel3.BackgroundImage");
this.panel3.Dock = DockStyle.Top;
this.panel3.Location = new System.Drawing.Point(4, 0x3d);
this.panel3.Name = "panel3";
this.panel3.Size = new Size(0x248, 7);
this.panel3.TabIndex = 1;
this.panel7.Dock = DockStyle.Bottom;
this.panel7.Location = new System.Drawing.Point(4, 0x143);
this.panel7.Name = "panel7";
this.panel7.Size = new Size(0x248, 4);
this.panel7.TabIndex = 5;
this.panel6.Dock = DockStyle.Right;
this.panel6.Location = new System.Drawing.Point(0x24c, 4);
this.panel6.Name = "panel6";
this.panel6.Size = new Size(4, 0x143);
this.panel6.TabIndex = 4;
this.panel5.Dock = DockStyle.Left;
this.panel5.Location = new System.Drawing.Point(0, 4);
this.panel5.Name = "panel5";
this.panel5.Size = new Size(4, 0x143);
this.panel5.TabIndex = 3;
this.panel4.Dock = DockStyle.Top;
this.panel4.Location = new System.Drawing.Point(0, 0);
this.panel4.Name = "panel4";
this.panel4.Size = new Size(0x250, 4);
this.panel4.TabIndex = 2;
this.cb.set_HeaderText("选中");
this.cb.set_Name("cb");
this.cb.set_Resizable(2);
this.cb.set_Width(40);
this.displayReceviersNameDataGridViewTextBoxColumn.set_DataPropertyName("DisplayReceviersName");
this.displayReceviersNameDataGridViewTextBoxColumn.set_HeaderText("收信人");
this.displayReceviersNameDataGridViewTextBoxColumn.set_MinimumWidth(100);
this.displayReceviersNameDataGridViewTextBoxColumn.set_Name("displayReceviersNameDataGridViewTextBoxColumn");
this.displayReceviersNameDataGridViewTextBoxColumn.set_ReadOnly(true);
this.displayReceviersNameDataGridViewTextBoxColumn.set_Width(130);
this.displaySendTimeDataGridViewTextBoxColumn.set_DataPropertyName("DisplaySendTime");
this.displaySendTimeDataGridViewTextBoxColumn.set_HeaderText("发送时间");
this.displaySendTimeDataGridViewTextBoxColumn.set_MinimumWidth(100);
this.displaySendTimeDataGridViewTextBoxColumn.set_Name("displaySendTimeDataGridViewTextBoxColumn");
this.displaySendTimeDataGridViewTextBoxColumn.set_ReadOnly(true);
this.displaySendTimeDataGridViewTextBoxColumn.set_Width(110);
this.displayContentDataGridViewTextBoxColumn.set_DataPropertyName("DisplayMessage");
this.displayContentDataGridViewTextBoxColumn.set_HeaderText("短信内容");
this.displayContentDataGridViewTextBoxColumn.set_MinimumWidth(200);
this.displayContentDataGridViewTextBoxColumn.set_Name("displayContentDataGridViewTextBoxColumn");
this.displayContentDataGridViewTextBoxColumn.set_ReadOnly(true);
this.displayContentDataGridViewTextBoxColumn.set_Width(0x130);
this.Id.set_DataPropertyName("Id");
this.Id.set_HeaderText("Id");
this.Id.set_Name("Id");
this.Id.set_ReadOnly(true);
this.Id.set_Visible(false);
base.set_AutoScaleDimensions(new SizeF(6f, 13f));
base.set_AutoScaleMode(1);
base.BaseHeight = 0x163;
base.BaseWidth = 0x257;
base.ClientSize = new Size(0x251, 0x149);
base.Controls.Add(this.panelMain);
base.DisplayLocation = new System.Drawing.Point(0x12, 0x2c);
base.HemlineStyle = HemlineStyle.None;
base.Icon = (Icon) manager.GetObject("$this.Icon");
base.Name = "ManageForm";
base.set_Padding(new Padding(1, 0x16, 13, 4));
base.Text = "定时短信管理";
base.Load += new EventHandler(this.ManageForm_Load);
this.panel1.ResumeLayout(false);
this.pictureBox2.EndInit();
this.pictureBox1.EndInit();
this.pictureBox3.EndInit();
this.panelGrid.ResumeLayout(false);
this.dataGridViewSms.EndInit();
this.bindingSourceSms.EndInit();
this.panelOperation.ResumeLayout(false);
this.panelOperation.PerformLayout();
this.panelMain.ResumeLayout(false);
base.ResumeLayout(false);
}
private void llFirst_LinkClicked(object sender, LinkLabelLinkClickedEventArgs e)
{
try
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -