740 lines
30 KiB
C#
740 lines
30 KiB
C#
namespace CalendarNotepad
|
|
{
|
|
partial class WorkMain
|
|
{
|
|
/// <summary>
|
|
/// Required designer variable.
|
|
/// </summary>
|
|
private System.ComponentModel.IContainer components = null;
|
|
|
|
/// <summary>
|
|
/// Clean up any resources being used.
|
|
/// </summary>
|
|
/// <param name="disposing">true if managed resources should be disposed; otherwise, false.</param>
|
|
protected override void Dispose(bool disposing) {
|
|
if(disposing && (components != null)) {
|
|
components.Dispose();
|
|
}
|
|
base.Dispose(disposing);
|
|
}
|
|
|
|
#region Windows Form Designer generated code
|
|
|
|
/// <summary>
|
|
/// Required method for Designer support - do not modify
|
|
/// the contents of this method with the code editor.
|
|
/// </summary>
|
|
private void InitializeComponent() {
|
|
components = new System.ComponentModel.Container();
|
|
System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(WorkMain));
|
|
tabControl1 = new TabControl();
|
|
tpWorkManage = new TabPage();
|
|
splitContainer1 = new SplitContainer();
|
|
groupBox1 = new GroupBox();
|
|
C_WorkOut = new FlowLayoutPanel();
|
|
radioButton9 = new RadioButton();
|
|
radioButton6 = new RadioButton();
|
|
radioButton8 = new RadioButton();
|
|
radioButton7 = new RadioButton();
|
|
flowLayoutPanel1 = new FlowLayoutPanel();
|
|
btSave = new Button();
|
|
btReset = new Button();
|
|
gbWorkTypes = new GroupBox();
|
|
C_WorkTypes = new FlowLayoutPanel();
|
|
radioButton1 = new RadioButton();
|
|
radioButton3 = new RadioButton();
|
|
radioButton2 = new RadioButton();
|
|
radioButton4 = new RadioButton();
|
|
radioButton5 = new RadioButton();
|
|
mcWorkDay = new MonthCalendar();
|
|
splitContainer2 = new SplitContainer();
|
|
rtbMsg = new RichTextBox();
|
|
toolStrip1 = new ToolStrip();
|
|
tsp_Copy = new ToolStripButton();
|
|
tsb_palse = new ToolStripButton();
|
|
toolStripSeparator1 = new ToolStripSeparator();
|
|
tsb_loadin = new ToolStripButton();
|
|
FileListView = new ListView();
|
|
cms_FileList = new ContextMenuStrip(components);
|
|
删除ToolStripMenuItem = new ToolStripMenuItem();
|
|
导入ToolStripMenuItem = new ToolStripMenuItem();
|
|
下载ToolStripMenuItem = new ToolStripMenuItem();
|
|
更名ToolStripMenuItem = new ToolStripMenuItem();
|
|
tabPage1 = new TabPage();
|
|
flowLayoutPanel5 = new FlowLayoutPanel();
|
|
bt_m_dbshc = new Button();
|
|
label5 = new Label();
|
|
flowLayoutPanel4 = new FlowLayoutPanel();
|
|
bt_m_Backup = new Button();
|
|
label1 = new Label();
|
|
flowLayoutPanel3 = new FlowLayoutPanel();
|
|
bt_m_ys = new Button();
|
|
label3 = new Label();
|
|
lab_m_dbsize = new Label();
|
|
flowLayoutPanel2 = new FlowLayoutPanel();
|
|
bt_m_Clean = new Button();
|
|
label2 = new Label();
|
|
panel2 = new Panel();
|
|
panel3 = new Panel();
|
|
OpenFileDlg = new OpenFileDialog();
|
|
打开ToolStripMenuItem = new ToolStripMenuItem();
|
|
tabControl1.SuspendLayout();
|
|
tpWorkManage.SuspendLayout();
|
|
((System.ComponentModel.ISupportInitialize)splitContainer1).BeginInit();
|
|
splitContainer1.Panel1.SuspendLayout();
|
|
splitContainer1.Panel2.SuspendLayout();
|
|
splitContainer1.SuspendLayout();
|
|
groupBox1.SuspendLayout();
|
|
C_WorkOut.SuspendLayout();
|
|
flowLayoutPanel1.SuspendLayout();
|
|
gbWorkTypes.SuspendLayout();
|
|
C_WorkTypes.SuspendLayout();
|
|
((System.ComponentModel.ISupportInitialize)splitContainer2).BeginInit();
|
|
splitContainer2.Panel1.SuspendLayout();
|
|
splitContainer2.Panel2.SuspendLayout();
|
|
splitContainer2.SuspendLayout();
|
|
toolStrip1.SuspendLayout();
|
|
cms_FileList.SuspendLayout();
|
|
tabPage1.SuspendLayout();
|
|
flowLayoutPanel5.SuspendLayout();
|
|
flowLayoutPanel4.SuspendLayout();
|
|
flowLayoutPanel3.SuspendLayout();
|
|
flowLayoutPanel2.SuspendLayout();
|
|
SuspendLayout();
|
|
//
|
|
// tabControl1
|
|
//
|
|
tabControl1.Controls.Add(tpWorkManage);
|
|
tabControl1.Controls.Add(tabPage1);
|
|
tabControl1.Dock = DockStyle.Fill;
|
|
tabControl1.Location = new Point(0,0);
|
|
tabControl1.Name = "tabControl1";
|
|
tabControl1.SelectedIndex = 0;
|
|
tabControl1.Size = new Size(719,459);
|
|
tabControl1.TabIndex = 0;
|
|
//
|
|
// tpWorkManage
|
|
//
|
|
tpWorkManage.Controls.Add(splitContainer1);
|
|
tpWorkManage.Location = new Point(4,26);
|
|
tpWorkManage.Name = "tpWorkManage";
|
|
tpWorkManage.Padding = new Padding(3);
|
|
tpWorkManage.Size = new Size(711,429);
|
|
tpWorkManage.TabIndex = 1;
|
|
tpWorkManage.Text = "录入记录";
|
|
tpWorkManage.UseVisualStyleBackColor = true;
|
|
//
|
|
// splitContainer1
|
|
//
|
|
splitContainer1.Dock = DockStyle.Fill;
|
|
splitContainer1.FixedPanel = FixedPanel.Panel1;
|
|
splitContainer1.Location = new Point(3,3);
|
|
splitContainer1.Name = "splitContainer1";
|
|
//
|
|
// splitContainer1.Panel1
|
|
//
|
|
splitContainer1.Panel1.AutoScroll = true;
|
|
splitContainer1.Panel1.Controls.Add(groupBox1);
|
|
splitContainer1.Panel1.Controls.Add(flowLayoutPanel1);
|
|
splitContainer1.Panel1.Controls.Add(gbWorkTypes);
|
|
splitContainer1.Panel1.Controls.Add(mcWorkDay);
|
|
//
|
|
// splitContainer1.Panel2
|
|
//
|
|
splitContainer1.Panel2.Controls.Add(splitContainer2);
|
|
splitContainer1.Size = new Size(705,423);
|
|
splitContainer1.SplitterDistance = 236;
|
|
splitContainer1.TabIndex = 9;
|
|
//
|
|
// groupBox1
|
|
//
|
|
groupBox1.AutoSize = true;
|
|
groupBox1.Controls.Add(C_WorkOut);
|
|
groupBox1.Location = new Point(6,273);
|
|
groupBox1.Name = "groupBox1";
|
|
groupBox1.Size = new Size(220,82);
|
|
groupBox1.TabIndex = 9;
|
|
groupBox1.TabStop = false;
|
|
groupBox1.Text = "加班";
|
|
//
|
|
// C_WorkOut
|
|
//
|
|
C_WorkOut.Controls.Add(radioButton9);
|
|
C_WorkOut.Controls.Add(radioButton6);
|
|
C_WorkOut.Controls.Add(radioButton8);
|
|
C_WorkOut.Controls.Add(radioButton7);
|
|
C_WorkOut.Dock = DockStyle.Fill;
|
|
C_WorkOut.Location = new Point(3,19);
|
|
C_WorkOut.Name = "C_WorkOut";
|
|
C_WorkOut.Size = new Size(214,60);
|
|
C_WorkOut.TabIndex = 0;
|
|
//
|
|
// radioButton9
|
|
//
|
|
radioButton9.AutoSize = true;
|
|
radioButton9.Checked = true;
|
|
radioButton9.Location = new Point(3,3);
|
|
radioButton9.Name = "radioButton9";
|
|
radioButton9.Size = new Size(38,21);
|
|
radioButton9.TabIndex = 0;
|
|
radioButton9.TabStop = true;
|
|
radioButton9.Text = "无";
|
|
radioButton9.UseVisualStyleBackColor = true;
|
|
//
|
|
// radioButton6
|
|
//
|
|
radioButton6.AutoSize = true;
|
|
radioButton6.Location = new Point(47,3);
|
|
radioButton6.Name = "radioButton6";
|
|
radioButton6.Size = new Size(86,21);
|
|
radioButton6.TabIndex = 4;
|
|
radioButton6.Text = "工作日加班";
|
|
radioButton6.UseVisualStyleBackColor = true;
|
|
//
|
|
// radioButton8
|
|
//
|
|
radioButton8.AutoSize = true;
|
|
radioButton8.Location = new Point(3,30);
|
|
radioButton8.Name = "radioButton8";
|
|
radioButton8.Size = new Size(110,21);
|
|
radioButton8.TabIndex = 6;
|
|
radioButton8.Text = "法定节假日加班";
|
|
radioButton8.UseVisualStyleBackColor = true;
|
|
//
|
|
// radioButton7
|
|
//
|
|
radioButton7.AutoSize = true;
|
|
radioButton7.Location = new Point(119,30);
|
|
radioButton7.Name = "radioButton7";
|
|
radioButton7.Size = new Size(86,21);
|
|
radioButton7.TabIndex = 5;
|
|
radioButton7.Text = "休息日加班";
|
|
radioButton7.UseVisualStyleBackColor = true;
|
|
//
|
|
// flowLayoutPanel1
|
|
//
|
|
flowLayoutPanel1.AutoSize = true;
|
|
flowLayoutPanel1.Controls.Add(btSave);
|
|
flowLayoutPanel1.Controls.Add(btReset);
|
|
flowLayoutPanel1.Dock = DockStyle.Bottom;
|
|
flowLayoutPanel1.Location = new Point(0,394);
|
|
flowLayoutPanel1.Name = "flowLayoutPanel1";
|
|
flowLayoutPanel1.Size = new Size(236,29);
|
|
flowLayoutPanel1.TabIndex = 8;
|
|
//
|
|
// btSave
|
|
//
|
|
btSave.Location = new Point(3,3);
|
|
btSave.Name = "btSave";
|
|
btSave.Size = new Size(75,23);
|
|
btSave.TabIndex = 8;
|
|
btSave.Text = "保存";
|
|
btSave.UseVisualStyleBackColor = true;
|
|
btSave.Click += btSave_Click;
|
|
//
|
|
// btReset
|
|
//
|
|
btReset.Location = new Point(84,3);
|
|
btReset.Name = "btReset";
|
|
btReset.Size = new Size(75,23);
|
|
btReset.TabIndex = 9;
|
|
btReset.Text = "还原";
|
|
btReset.UseVisualStyleBackColor = true;
|
|
btReset.Click += btReset_Click;
|
|
//
|
|
// gbWorkTypes
|
|
//
|
|
gbWorkTypes.Controls.Add(C_WorkTypes);
|
|
gbWorkTypes.Location = new Point(6,189);
|
|
gbWorkTypes.Name = "gbWorkTypes";
|
|
gbWorkTypes.Size = new Size(220,84);
|
|
gbWorkTypes.TabIndex = 7;
|
|
gbWorkTypes.TabStop = false;
|
|
gbWorkTypes.Text = "类型";
|
|
//
|
|
// C_WorkTypes
|
|
//
|
|
C_WorkTypes.Controls.Add(radioButton1);
|
|
C_WorkTypes.Controls.Add(radioButton3);
|
|
C_WorkTypes.Controls.Add(radioButton2);
|
|
C_WorkTypes.Controls.Add(radioButton4);
|
|
C_WorkTypes.Controls.Add(radioButton5);
|
|
C_WorkTypes.Dock = DockStyle.Fill;
|
|
C_WorkTypes.Location = new Point(3,19);
|
|
C_WorkTypes.Name = "C_WorkTypes";
|
|
C_WorkTypes.Size = new Size(214,62);
|
|
C_WorkTypes.TabIndex = 2;
|
|
//
|
|
// radioButton1
|
|
//
|
|
radioButton1.AutoSize = true;
|
|
radioButton1.Location = new Point(3,3);
|
|
radioButton1.Name = "radioButton1";
|
|
radioButton1.Size = new Size(50,21);
|
|
radioButton1.TabIndex = 0;
|
|
radioButton1.Text = "工作";
|
|
radioButton1.UseVisualStyleBackColor = true;
|
|
//
|
|
// radioButton3
|
|
//
|
|
radioButton3.AutoSize = true;
|
|
radioButton3.Checked = true;
|
|
radioButton3.Location = new Point(59,3);
|
|
radioButton3.Name = "radioButton3";
|
|
radioButton3.Size = new Size(50,21);
|
|
radioButton3.TabIndex = 1;
|
|
radioButton3.TabStop = true;
|
|
radioButton3.Text = "休假";
|
|
radioButton3.UseVisualStyleBackColor = true;
|
|
//
|
|
// radioButton2
|
|
//
|
|
radioButton2.AutoSize = true;
|
|
radioButton2.Location = new Point(115,3);
|
|
radioButton2.Name = "radioButton2";
|
|
radioButton2.Size = new Size(50,21);
|
|
radioButton2.TabIndex = 1;
|
|
radioButton2.Text = "病假";
|
|
radioButton2.UseVisualStyleBackColor = true;
|
|
//
|
|
// radioButton4
|
|
//
|
|
radioButton4.AutoSize = true;
|
|
radioButton4.Location = new Point(3,30);
|
|
radioButton4.Name = "radioButton4";
|
|
radioButton4.Size = new Size(50,21);
|
|
radioButton4.TabIndex = 2;
|
|
radioButton4.Text = "年假";
|
|
radioButton4.UseVisualStyleBackColor = true;
|
|
//
|
|
// radioButton5
|
|
//
|
|
radioButton5.AutoSize = true;
|
|
radioButton5.Location = new Point(59,30);
|
|
radioButton5.Name = "radioButton5";
|
|
radioButton5.Size = new Size(50,21);
|
|
radioButton5.TabIndex = 3;
|
|
radioButton5.Text = "事假";
|
|
radioButton5.UseVisualStyleBackColor = true;
|
|
//
|
|
// mcWorkDay
|
|
//
|
|
mcWorkDay.FirstDayOfWeek = Day.Sunday;
|
|
mcWorkDay.Location = new Point(6,6);
|
|
mcWorkDay.MaxSelectionCount = 1;
|
|
mcWorkDay.MinDate = new DateTime(2000,1,1,0,0,0,0);
|
|
mcWorkDay.Name = "mcWorkDay";
|
|
mcWorkDay.ShowTodayCircle = false;
|
|
mcWorkDay.TabIndex = 6;
|
|
mcWorkDay.TitleBackColor = SystemColors.MenuHighlight;
|
|
mcWorkDay.TitleForeColor = Color.FromArgb(255,128,128);
|
|
mcWorkDay.DateChanged += mcWorkDay_DateChanged;
|
|
//
|
|
// splitContainer2
|
|
//
|
|
splitContainer2.Dock = DockStyle.Fill;
|
|
splitContainer2.Location = new Point(0,0);
|
|
splitContainer2.Name = "splitContainer2";
|
|
splitContainer2.Orientation = Orientation.Horizontal;
|
|
//
|
|
// splitContainer2.Panel1
|
|
//
|
|
splitContainer2.Panel1.Controls.Add(rtbMsg);
|
|
splitContainer2.Panel1.Controls.Add(toolStrip1);
|
|
//
|
|
// splitContainer2.Panel2
|
|
//
|
|
splitContainer2.Panel2.Controls.Add(FileListView);
|
|
splitContainer2.Size = new Size(465,423);
|
|
splitContainer2.SplitterDistance = 328;
|
|
splitContainer2.TabIndex = 10;
|
|
//
|
|
// rtbMsg
|
|
//
|
|
rtbMsg.Dock = DockStyle.Fill;
|
|
rtbMsg.EnableAutoDragDrop = true;
|
|
rtbMsg.Location = new Point(0,25);
|
|
rtbMsg.Name = "rtbMsg";
|
|
rtbMsg.Size = new Size(465,303);
|
|
rtbMsg.TabIndex = 7;
|
|
rtbMsg.Text = "";
|
|
rtbMsg.LinkClicked += rtbMsg_LinkClicked;
|
|
rtbMsg.TextChanged += rtbMsg_TextChanged_1;
|
|
//
|
|
// toolStrip1
|
|
//
|
|
toolStrip1.Items.AddRange(new ToolStripItem[] { tsp_Copy,tsb_palse,toolStripSeparator1,tsb_loadin });
|
|
toolStrip1.Location = new Point(0,0);
|
|
toolStrip1.Name = "toolStrip1";
|
|
toolStrip1.Size = new Size(465,25);
|
|
toolStrip1.TabIndex = 8;
|
|
toolStrip1.Text = "toolStrip1";
|
|
//
|
|
// tsp_Copy
|
|
//
|
|
tsp_Copy.DisplayStyle = ToolStripItemDisplayStyle.Text;
|
|
tsp_Copy.ImageTransparentColor = Color.Magenta;
|
|
tsp_Copy.Name = "tsp_Copy";
|
|
tsp_Copy.Size = new Size(36,22);
|
|
tsp_Copy.Text = "复制";
|
|
tsp_Copy.TextAlign = ContentAlignment.MiddleRight;
|
|
tsp_Copy.Click += tsp_Copy_Click;
|
|
//
|
|
// tsb_palse
|
|
//
|
|
tsb_palse.DisplayStyle = ToolStripItemDisplayStyle.Text;
|
|
tsb_palse.Image = (Image)resources.GetObject("tsb_palse.Image");
|
|
tsb_palse.ImageTransparentColor = Color.Magenta;
|
|
tsb_palse.Name = "tsb_palse";
|
|
tsb_palse.Size = new Size(36,22);
|
|
tsb_palse.Text = "粘贴";
|
|
tsb_palse.Click += tsb_palse_Click;
|
|
//
|
|
// toolStripSeparator1
|
|
//
|
|
toolStripSeparator1.Name = "toolStripSeparator1";
|
|
toolStripSeparator1.Size = new Size(6,25);
|
|
//
|
|
// tsb_loadin
|
|
//
|
|
tsb_loadin.DisplayStyle = ToolStripItemDisplayStyle.Text;
|
|
tsb_loadin.Image = (Image)resources.GetObject("tsb_loadin.Image");
|
|
tsb_loadin.ImageTransparentColor = Color.Magenta;
|
|
tsb_loadin.Name = "tsb_loadin";
|
|
tsb_loadin.Size = new Size(60,22);
|
|
tsb_loadin.Text = "导入附件";
|
|
tsb_loadin.Click += tsb_loadin_Click;
|
|
//
|
|
// FileListView
|
|
//
|
|
FileListView.ContextMenuStrip = cms_FileList;
|
|
FileListView.Dock = DockStyle.Fill;
|
|
FileListView.FullRowSelect = true;
|
|
FileListView.GridLines = true;
|
|
FileListView.Location = new Point(0,0);
|
|
FileListView.Name = "FileListView";
|
|
FileListView.Size = new Size(465,91);
|
|
FileListView.TabIndex = 9;
|
|
FileListView.UseCompatibleStateImageBehavior = false;
|
|
FileListView.View = View.Details;
|
|
//
|
|
// cms_FileList
|
|
//
|
|
cms_FileList.Items.AddRange(new ToolStripItem[] { 删除ToolStripMenuItem,导入ToolStripMenuItem,下载ToolStripMenuItem,更名ToolStripMenuItem,打开ToolStripMenuItem });
|
|
cms_FileList.Name = "contextMenuStrip1";
|
|
cms_FileList.Size = new Size(181,136);
|
|
//
|
|
// 删除ToolStripMenuItem
|
|
//
|
|
删除ToolStripMenuItem.Name = "删除ToolStripMenuItem";
|
|
删除ToolStripMenuItem.Size = new Size(180,22);
|
|
删除ToolStripMenuItem.Text = "删除";
|
|
删除ToolStripMenuItem.Click += 删除ToolStripMenuItem_Click;
|
|
//
|
|
// 导入ToolStripMenuItem
|
|
//
|
|
导入ToolStripMenuItem.Name = "导入ToolStripMenuItem";
|
|
导入ToolStripMenuItem.Size = new Size(180,22);
|
|
导入ToolStripMenuItem.Text = "导入";
|
|
导入ToolStripMenuItem.Click += 导入ToolStripMenuItem_Click;
|
|
//
|
|
// 下载ToolStripMenuItem
|
|
//
|
|
下载ToolStripMenuItem.Name = "下载ToolStripMenuItem";
|
|
下载ToolStripMenuItem.Size = new Size(180,22);
|
|
下载ToolStripMenuItem.Text = "下载";
|
|
下载ToolStripMenuItem.Click += 下载ToolStripMenuItem_Click;
|
|
//
|
|
// 更名ToolStripMenuItem
|
|
//
|
|
更名ToolStripMenuItem.Name = "更名ToolStripMenuItem";
|
|
更名ToolStripMenuItem.Size = new Size(180,22);
|
|
更名ToolStripMenuItem.Text = "更名";
|
|
更名ToolStripMenuItem.Click += 更名ToolStripMenuItem_Click;
|
|
//
|
|
// tabPage1
|
|
//
|
|
tabPage1.Controls.Add(flowLayoutPanel5);
|
|
tabPage1.Controls.Add(flowLayoutPanel4);
|
|
tabPage1.Controls.Add(flowLayoutPanel3);
|
|
tabPage1.Controls.Add(flowLayoutPanel2);
|
|
tabPage1.Controls.Add(panel2);
|
|
tabPage1.Controls.Add(panel3);
|
|
tabPage1.Location = new Point(4,26);
|
|
tabPage1.Name = "tabPage1";
|
|
tabPage1.Padding = new Padding(3);
|
|
tabPage1.Size = new Size(711,429);
|
|
tabPage1.TabIndex = 2;
|
|
tabPage1.Text = "管理";
|
|
tabPage1.UseVisualStyleBackColor = true;
|
|
//
|
|
// flowLayoutPanel5
|
|
//
|
|
flowLayoutPanel5.AutoSize = true;
|
|
flowLayoutPanel5.Controls.Add(bt_m_dbshc);
|
|
flowLayoutPanel5.Controls.Add(label5);
|
|
flowLayoutPanel5.Dock = DockStyle.Top;
|
|
flowLayoutPanel5.Location = new Point(3,120);
|
|
flowLayoutPanel5.Name = "flowLayoutPanel5";
|
|
flowLayoutPanel5.Padding = new Padding(5);
|
|
flowLayoutPanel5.Size = new Size(705,39);
|
|
flowLayoutPanel5.TabIndex = 6;
|
|
//
|
|
// bt_m_dbshc
|
|
//
|
|
bt_m_dbshc.Location = new Point(8,8);
|
|
bt_m_dbshc.Name = "bt_m_dbshc";
|
|
bt_m_dbshc.Size = new Size(75,23);
|
|
bt_m_dbshc.TabIndex = 0;
|
|
bt_m_dbshc.Text = "架构";
|
|
bt_m_dbshc.UseVisualStyleBackColor = true;
|
|
bt_m_dbshc.Click += bt_m_dbshc_Click;
|
|
//
|
|
// label5
|
|
//
|
|
label5.AutoSize = true;
|
|
label5.Font = new Font("微软雅黑",12F,FontStyle.Regular,GraphicsUnit.Point);
|
|
label5.Location = new Point(89,5);
|
|
label5.Name = "label5";
|
|
label5.Size = new Size(122,21);
|
|
label5.TabIndex = 1;
|
|
label5.Text = "查看数据库架构";
|
|
//
|
|
// flowLayoutPanel4
|
|
//
|
|
flowLayoutPanel4.AutoSize = true;
|
|
flowLayoutPanel4.Controls.Add(bt_m_Backup);
|
|
flowLayoutPanel4.Controls.Add(label1);
|
|
flowLayoutPanel4.Dock = DockStyle.Top;
|
|
flowLayoutPanel4.Location = new Point(3,81);
|
|
flowLayoutPanel4.Name = "flowLayoutPanel4";
|
|
flowLayoutPanel4.Padding = new Padding(5);
|
|
flowLayoutPanel4.Size = new Size(705,39);
|
|
flowLayoutPanel4.TabIndex = 5;
|
|
//
|
|
// bt_m_Backup
|
|
//
|
|
bt_m_Backup.Location = new Point(8,8);
|
|
bt_m_Backup.Name = "bt_m_Backup";
|
|
bt_m_Backup.Size = new Size(75,23);
|
|
bt_m_Backup.TabIndex = 0;
|
|
bt_m_Backup.Text = "备份";
|
|
bt_m_Backup.UseVisualStyleBackColor = true;
|
|
bt_m_Backup.Click += bt_m_Backup_Click;
|
|
//
|
|
// label1
|
|
//
|
|
label1.AutoSize = true;
|
|
label1.Font = new Font("微软雅黑",12F,FontStyle.Regular,GraphicsUnit.Point);
|
|
label1.Location = new Point(89,5);
|
|
label1.Name = "label1";
|
|
label1.Size = new Size(266,21);
|
|
label1.TabIndex = 1;
|
|
label1.Text = "备份数据文件,以便将来出错时还原";
|
|
//
|
|
// flowLayoutPanel3
|
|
//
|
|
flowLayoutPanel3.AutoSize = true;
|
|
flowLayoutPanel3.Controls.Add(bt_m_ys);
|
|
flowLayoutPanel3.Controls.Add(label3);
|
|
flowLayoutPanel3.Controls.Add(lab_m_dbsize);
|
|
flowLayoutPanel3.Dock = DockStyle.Top;
|
|
flowLayoutPanel3.Location = new Point(3,42);
|
|
flowLayoutPanel3.Name = "flowLayoutPanel3";
|
|
flowLayoutPanel3.Padding = new Padding(5);
|
|
flowLayoutPanel3.Size = new Size(705,39);
|
|
flowLayoutPanel3.TabIndex = 4;
|
|
//
|
|
// bt_m_ys
|
|
//
|
|
bt_m_ys.Location = new Point(8,8);
|
|
bt_m_ys.Name = "bt_m_ys";
|
|
bt_m_ys.Size = new Size(75,23);
|
|
bt_m_ys.TabIndex = 0;
|
|
bt_m_ys.Text = "压缩";
|
|
bt_m_ys.UseVisualStyleBackColor = true;
|
|
bt_m_ys.Click += bt_m_ys_Click;
|
|
//
|
|
// label3
|
|
//
|
|
label3.AutoSize = true;
|
|
label3.Font = new Font("微软雅黑",12F,FontStyle.Regular,GraphicsUnit.Point);
|
|
label3.Location = new Point(89,5);
|
|
label3.Name = "label3";
|
|
label3.Size = new Size(266,21);
|
|
label3.TabIndex = 1;
|
|
label3.Text = "压缩数据库文件尺寸,减少文件大小";
|
|
//
|
|
// lab_m_dbsize
|
|
//
|
|
lab_m_dbsize.AutoSize = true;
|
|
lab_m_dbsize.Font = new Font("微软雅黑",12F,FontStyle.Regular,GraphicsUnit.Point);
|
|
lab_m_dbsize.Location = new Point(361,5);
|
|
lab_m_dbsize.Name = "lab_m_dbsize";
|
|
lab_m_dbsize.Size = new Size(42,21);
|
|
lab_m_dbsize.TabIndex = 2;
|
|
lab_m_dbsize.Text = "当前";
|
|
//
|
|
// flowLayoutPanel2
|
|
//
|
|
flowLayoutPanel2.AutoSize = true;
|
|
flowLayoutPanel2.AutoSizeMode = AutoSizeMode.GrowAndShrink;
|
|
flowLayoutPanel2.Controls.Add(bt_m_Clean);
|
|
flowLayoutPanel2.Controls.Add(label2);
|
|
flowLayoutPanel2.Dock = DockStyle.Top;
|
|
flowLayoutPanel2.Location = new Point(3,3);
|
|
flowLayoutPanel2.Name = "flowLayoutPanel2";
|
|
flowLayoutPanel2.Padding = new Padding(5);
|
|
flowLayoutPanel2.Size = new Size(705,39);
|
|
flowLayoutPanel2.TabIndex = 3;
|
|
//
|
|
// bt_m_Clean
|
|
//
|
|
bt_m_Clean.Location = new Point(8,8);
|
|
bt_m_Clean.Name = "bt_m_Clean";
|
|
bt_m_Clean.Size = new Size(75,23);
|
|
bt_m_Clean.TabIndex = 0;
|
|
bt_m_Clean.Text = "清理";
|
|
bt_m_Clean.UseVisualStyleBackColor = true;
|
|
bt_m_Clean.Click += bt_m_Clean_Click;
|
|
//
|
|
// label2
|
|
//
|
|
label2.AutoSize = true;
|
|
label2.Font = new Font("微软雅黑",12F,FontStyle.Regular,GraphicsUnit.Point);
|
|
label2.Location = new Point(89,5);
|
|
label2.Name = "label2";
|
|
label2.Size = new Size(170,21);
|
|
label2.TabIndex = 1;
|
|
label2.Text = "清除数据库中无用垃圾";
|
|
//
|
|
// panel2
|
|
//
|
|
panel2.AutoSize = true;
|
|
panel2.Dock = DockStyle.Top;
|
|
panel2.Location = new Point(3,3);
|
|
panel2.Name = "panel2";
|
|
panel2.Size = new Size(705,0);
|
|
panel2.TabIndex = 2;
|
|
//
|
|
// panel3
|
|
//
|
|
panel3.AutoSize = true;
|
|
panel3.Dock = DockStyle.Top;
|
|
panel3.Location = new Point(3,3);
|
|
panel3.Name = "panel3";
|
|
panel3.Size = new Size(705,0);
|
|
panel3.TabIndex = 1;
|
|
//
|
|
// OpenFileDlg
|
|
//
|
|
OpenFileDlg.Multiselect = true;
|
|
//
|
|
// 打开ToolStripMenuItem
|
|
//
|
|
打开ToolStripMenuItem.Name = "打开ToolStripMenuItem";
|
|
打开ToolStripMenuItem.Size = new Size(180,22);
|
|
打开ToolStripMenuItem.Text = "打开";
|
|
打开ToolStripMenuItem.Click += 打开ToolStripMenuItem_Click;
|
|
//
|
|
// WorkMain
|
|
//
|
|
AutoScaleDimensions = new SizeF(7F,17F);
|
|
AutoScaleMode = AutoScaleMode.Font;
|
|
ClientSize = new Size(719,459);
|
|
Controls.Add(tabControl1);
|
|
Name = "WorkMain";
|
|
StartPosition = FormStartPosition.CenterScreen;
|
|
Text = "工作记录";
|
|
FormClosing += WorkMain_FormClosing;
|
|
Load += WorkMain_Load;
|
|
tabControl1.ResumeLayout(false);
|
|
tpWorkManage.ResumeLayout(false);
|
|
splitContainer1.Panel1.ResumeLayout(false);
|
|
splitContainer1.Panel1.PerformLayout();
|
|
splitContainer1.Panel2.ResumeLayout(false);
|
|
((System.ComponentModel.ISupportInitialize)splitContainer1).EndInit();
|
|
splitContainer1.ResumeLayout(false);
|
|
groupBox1.ResumeLayout(false);
|
|
C_WorkOut.ResumeLayout(false);
|
|
C_WorkOut.PerformLayout();
|
|
flowLayoutPanel1.ResumeLayout(false);
|
|
gbWorkTypes.ResumeLayout(false);
|
|
C_WorkTypes.ResumeLayout(false);
|
|
C_WorkTypes.PerformLayout();
|
|
splitContainer2.Panel1.ResumeLayout(false);
|
|
splitContainer2.Panel1.PerformLayout();
|
|
splitContainer2.Panel2.ResumeLayout(false);
|
|
((System.ComponentModel.ISupportInitialize)splitContainer2).EndInit();
|
|
splitContainer2.ResumeLayout(false);
|
|
toolStrip1.ResumeLayout(false);
|
|
toolStrip1.PerformLayout();
|
|
cms_FileList.ResumeLayout(false);
|
|
tabPage1.ResumeLayout(false);
|
|
tabPage1.PerformLayout();
|
|
flowLayoutPanel5.ResumeLayout(false);
|
|
flowLayoutPanel5.PerformLayout();
|
|
flowLayoutPanel4.ResumeLayout(false);
|
|
flowLayoutPanel4.PerformLayout();
|
|
flowLayoutPanel3.ResumeLayout(false);
|
|
flowLayoutPanel3.PerformLayout();
|
|
flowLayoutPanel2.ResumeLayout(false);
|
|
flowLayoutPanel2.PerformLayout();
|
|
ResumeLayout(false);
|
|
}
|
|
|
|
#endregion
|
|
|
|
private TabControl tabControl1;
|
|
private TabPage tpWorkManage;
|
|
private MonthCalendar mcWorkDay;
|
|
private RichTextBox rtbMsg;
|
|
private SplitContainer splitContainer1;
|
|
private GroupBox gbWorkTypes;
|
|
private RadioButton radioButton3;
|
|
private RadioButton radioButton2;
|
|
private RadioButton radioButton1;
|
|
private FlowLayoutPanel C_WorkTypes;
|
|
private RadioButton radioButton4;
|
|
private RadioButton radioButton5;
|
|
private Button btSave;
|
|
private FlowLayoutPanel flowLayoutPanel1;
|
|
private Button btReset;
|
|
private RadioButton radioButton6;
|
|
private RadioButton radioButton7;
|
|
private RadioButton radioButton8;
|
|
private GroupBox groupBox1;
|
|
private FlowLayoutPanel C_WorkOut;
|
|
private RadioButton radioButton9;
|
|
private ToolStrip toolStrip1;
|
|
private ToolStripButton tsp_Copy;
|
|
private ToolStripButton tsb_palse;
|
|
private ListView FileListView;
|
|
private ContextMenuStrip cms_FileList;
|
|
private ToolStripMenuItem 删除ToolStripMenuItem;
|
|
private ToolStripMenuItem 导入ToolStripMenuItem;
|
|
private OpenFileDialog OpenFileDlg;
|
|
private ToolStripMenuItem 下载ToolStripMenuItem;
|
|
private TabPage tabPage1;
|
|
private Panel panel3;
|
|
private Label label3;
|
|
private Button bt_m_ys;
|
|
private FlowLayoutPanel flowLayoutPanel3;
|
|
private FlowLayoutPanel flowLayoutPanel2;
|
|
private Button bt_m_Clean;
|
|
private Label label2;
|
|
private Panel panel2;
|
|
private FlowLayoutPanel flowLayoutPanel4;
|
|
private Button bt_m_Backup;
|
|
private Label label1;
|
|
private SplitContainer splitContainer2;
|
|
private ToolStripSeparator toolStripSeparator1;
|
|
private ToolStripButton tsb_loadin;
|
|
private Label lab_m_dbsize;
|
|
private FlowLayoutPanel flowLayoutPanel5;
|
|
private Button bt_m_dbshc;
|
|
private Label label5;
|
|
private ToolStripMenuItem 更名ToolStripMenuItem;
|
|
private ToolStripMenuItem 打开ToolStripMenuItem;
|
|
}
|
|
} |