diff --git a/RbFreqStandMeasure/HomeCtrlForm.Designer.cs b/RbFreqStandMeasure/HomeCtrlForm.Designer.cs
index fb515f8..73e477a 100644
--- a/RbFreqStandMeasure/HomeCtrlForm.Designer.cs
+++ b/RbFreqStandMeasure/HomeCtrlForm.Designer.cs
@@ -29,589 +29,271 @@
///
private void InitializeComponent()
{
- System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle1 = new System.Windows.Forms.DataGridViewCellStyle();
- System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle2 = new System.Windows.Forms.DataGridViewCellStyle();
- this.panelToBeTested = new System.Windows.Forms.Panel();
- this.dataGridViewX1 = new DevComponents.DotNetBar.Controls.DataGridViewX();
- this.Column13 = new System.Windows.Forms.DataGridViewTextBoxColumn();
- this.Column14 = new System.Windows.Forms.DataGridViewTextBoxColumn();
- this.Column15 = new System.Windows.Forms.DataGridViewTextBoxColumn();
- this.Column16 = new System.Windows.Forms.DataGridViewTextBoxColumn();
- this.Column17 = new System.Windows.Forms.DataGridViewTextBoxColumn();
- this.panelEx1 = new DevComponents.DotNetBar.PanelEx();
- this.labelX6 = new DevComponents.DotNetBar.LabelX();
- this.labelX5 = new DevComponents.DotNetBar.LabelX();
- this.labelX4 = new DevComponents.DotNetBar.LabelX();
- this.labelX3 = new DevComponents.DotNetBar.LabelX();
- this.labelX2 = new DevComponents.DotNetBar.LabelX();
- this.labelX1 = new DevComponents.DotNetBar.LabelX();
- this.panelEx2 = new DevComponents.DotNetBar.PanelEx();
- this.labelX7 = new DevComponents.DotNetBar.LabelX();
- this.labelX8 = new DevComponents.DotNetBar.LabelX();
- this.labelX10 = new DevComponents.DotNetBar.LabelX();
- this.labelX9 = new DevComponents.DotNetBar.LabelX();
- this.panelEx3 = new DevComponents.DotNetBar.PanelEx();
- this.labelX11 = new DevComponents.DotNetBar.LabelX();
- this.labelX13 = new DevComponents.DotNetBar.LabelX();
- this.labelX12 = new DevComponents.DotNetBar.LabelX();
- this.panelEx4 = new DevComponents.DotNetBar.PanelEx();
- this.dataGridViewX2 = new DevComponents.DotNetBar.Controls.DataGridViewX();
- this.Column18 = new System.Windows.Forms.DataGridViewTextBoxColumn();
- this.Column19 = new System.Windows.Forms.DataGridViewTextBoxColumn();
- this.Column20 = new System.Windows.Forms.DataGridViewTextBoxColumn();
- this.Column21 = new System.Windows.Forms.DataGridViewTextBoxColumn();
- this.Column22 = new System.Windows.Forms.DataGridViewTextBoxColumn();
- this.Column23 = new System.Windows.Forms.DataGridViewTextBoxColumn();
- this.Column24 = new System.Windows.Forms.DataGridViewTextBoxColumn();
- this.Column25 = new System.Windows.Forms.DataGridViewTextBoxColumn();
- this.Column26 = new System.Windows.Forms.DataGridViewTextBoxColumn();
- this.Column27 = new System.Windows.Forms.DataGridViewTextBoxColumn();
- this.Column28 = new System.Windows.Forms.DataGridViewTextBoxColumn();
- this.Column29 = new System.Windows.Forms.DataGridViewTextBoxColumn();
- this.buttonX1 = new DevComponents.DotNetBar.ButtonX();
- this.buttonX2 = new DevComponents.DotNetBar.ButtonX();
+ this.panel3 = new System.Windows.Forms.Panel();
+ this.panel2 = new System.Windows.Forms.Panel();
+ this.panel1 = new System.Windows.Forms.Panel();
+ this.panel4 = new System.Windows.Forms.Panel();
+ this.panel5 = new System.Windows.Forms.Panel();
this.label1 = new System.Windows.Forms.Label();
this.label2 = new System.Windows.Forms.Label();
- this.panelToBeTested.SuspendLayout();
- ((System.ComponentModel.ISupportInitialize)(this.dataGridViewX1)).BeginInit();
- this.panelEx1.SuspendLayout();
- this.panelEx2.SuspendLayout();
- this.panelEx3.SuspendLayout();
- this.panelEx4.SuspendLayout();
- ((System.ComponentModel.ISupportInitialize)(this.dataGridViewX2)).BeginInit();
+ this.label3 = new System.Windows.Forms.Label();
+ this.label4 = new System.Windows.Forms.Label();
+ this.label5 = new System.Windows.Forms.Label();
+ this.label6 = new System.Windows.Forms.Label();
+ this.label7 = new System.Windows.Forms.Label();
+ this.label8 = new System.Windows.Forms.Label();
+ this.label9 = new System.Windows.Forms.Label();
+ this.label10 = new System.Windows.Forms.Label();
+ this.label11 = new System.Windows.Forms.Label();
+ this.label12 = new System.Windows.Forms.Label();
+ this.label13 = new System.Windows.Forms.Label();
+ this.panel3.SuspendLayout();
+ this.panel2.SuspendLayout();
+ this.panel1.SuspendLayout();
this.SuspendLayout();
//
- // panelToBeTested
+ // panel3
//
- this.panelToBeTested.Controls.Add(this.dataGridViewX1);
- this.panelToBeTested.Controls.Add(this.buttonX2);
- this.panelToBeTested.Controls.Add(this.buttonX1);
- this.panelToBeTested.Location = new System.Drawing.Point(250, 0);
- this.panelToBeTested.Name = "panelToBeTested";
- this.panelToBeTested.Size = new System.Drawing.Size(750, 216);
- this.panelToBeTested.TabIndex = 4;
+ this.panel3.BackgroundImage = global::Casic.Birmm.RbFreqStandMeasure.Properties.Resources.bg_status_location;
+ this.panel3.Controls.Add(this.label8);
+ this.panel3.Controls.Add(this.label13);
+ this.panel3.Controls.Add(this.label12);
+ this.panel3.Controls.Add(this.label11);
+ this.panel3.Controls.Add(this.label9);
+ this.panel3.Controls.Add(this.label10);
+ this.panel3.Location = new System.Drawing.Point(6, 360);
+ this.panel3.Name = "panel3";
+ this.panel3.Size = new System.Drawing.Size(224, 293);
+ this.panel3.TabIndex = 2;
//
- // dataGridViewX1
+ // panel2
//
- this.dataGridViewX1.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.AutoSize;
- this.dataGridViewX1.Columns.AddRange(new System.Windows.Forms.DataGridViewColumn[] {
- this.Column13,
- this.Column14,
- this.Column15,
- this.Column16,
- this.Column17});
- dataGridViewCellStyle1.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleLeft;
- dataGridViewCellStyle1.BackColor = System.Drawing.SystemColors.Window;
- dataGridViewCellStyle1.Font = new System.Drawing.Font("宋体", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
- dataGridViewCellStyle1.ForeColor = System.Drawing.SystemColors.ControlText;
- dataGridViewCellStyle1.SelectionBackColor = System.Drawing.SystemColors.Highlight;
- dataGridViewCellStyle1.SelectionForeColor = System.Drawing.SystemColors.ControlText;
- dataGridViewCellStyle1.WrapMode = System.Windows.Forms.DataGridViewTriState.False;
- this.dataGridViewX1.DefaultCellStyle = dataGridViewCellStyle1;
- this.dataGridViewX1.GridColor = System.Drawing.Color.FromArgb(((int)(((byte)(208)))), ((int)(((byte)(215)))), ((int)(((byte)(229)))));
- this.dataGridViewX1.Location = new System.Drawing.Point(0, 1);
- this.dataGridViewX1.Name = "dataGridViewX1";
- this.dataGridViewX1.RowTemplate.Height = 23;
- this.dataGridViewX1.Size = new System.Drawing.Size(750, 179);
- this.dataGridViewX1.TabIndex = 14;
+ this.panel2.BackgroundImage = global::Casic.Birmm.RbFreqStandMeasure.Properties.Resources.bg_status_time;
+ this.panel2.Controls.Add(this.label4);
+ this.panel2.Controls.Add(this.label7);
+ this.panel2.Controls.Add(this.label6);
+ this.panel2.Controls.Add(this.label5);
+ this.panel2.Location = new System.Drawing.Point(6, 160);
+ this.panel2.Name = "panel2";
+ this.panel2.Size = new System.Drawing.Size(224, 200);
+ this.panel2.TabIndex = 1;
//
- // Column13
+ // panel1
//
- this.Column13.HeaderText = "仪器名称";
- this.Column13.Name = "Column13";
+ this.panel1.BackgroundImage = global::Casic.Birmm.RbFreqStandMeasure.Properties.Resources.bg_status_base;
+ this.panel1.Controls.Add(this.label3);
+ this.panel1.Controls.Add(this.label2);
+ this.panel1.Controls.Add(this.label1);
+ this.panel1.Location = new System.Drawing.Point(6, 0);
+ this.panel1.Margin = new System.Windows.Forms.Padding(0);
+ this.panel1.Name = "panel1";
+ this.panel1.Size = new System.Drawing.Size(224, 160);
+ this.panel1.TabIndex = 0;
//
- // Column14
+ // panel4
//
- this.Column14.HeaderText = "仪器类型";
- this.Column14.Name = "Column14";
+ this.panel4.BackgroundImage = global::Casic.Birmm.RbFreqStandMeasure.Properties.Resources.bg_dev_tested;
+ this.panel4.Location = new System.Drawing.Point(230, 0);
+ this.panel4.Margin = new System.Windows.Forms.Padding(0);
+ this.panel4.Name = "panel4";
+ this.panel4.Size = new System.Drawing.Size(788, 226);
+ this.panel4.TabIndex = 3;
//
- // Column15
+ // panel5
//
- this.Column15.HeaderText = "仪器编号";
- this.Column15.Name = "Column15";
- //
- // Column16
- //
- this.Column16.HeaderText = "客户名称";
- this.Column16.Name = "Column16";
- //
- // Column17
- //
- this.Column17.HeaderText = "开始时间";
- this.Column17.Name = "Column17";
- //
- // panelEx1
- //
- this.panelEx1.CanvasColor = System.Drawing.SystemColors.Control;
- this.panelEx1.ColorSchemeStyle = DevComponents.DotNetBar.eDotNetBarStyle.StyleManagerControlled;
- this.panelEx1.Controls.Add(this.labelX6);
- this.panelEx1.Controls.Add(this.labelX5);
- this.panelEx1.Controls.Add(this.labelX4);
- this.panelEx1.Controls.Add(this.labelX3);
- this.panelEx1.Controls.Add(this.labelX2);
- this.panelEx1.Controls.Add(this.labelX1);
- this.panelEx1.DisabledBackColor = System.Drawing.Color.Empty;
- this.panelEx1.Location = new System.Drawing.Point(25, 376);
- this.panelEx1.Name = "panelEx1";
- this.panelEx1.Size = new System.Drawing.Size(200, 200);
- this.panelEx1.Style.Alignment = System.Drawing.StringAlignment.Center;
- this.panelEx1.Style.BackColor1.ColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelBackground;
- this.panelEx1.Style.BackColor2.ColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelBackground2;
- this.panelEx1.Style.Border = DevComponents.DotNetBar.eBorderType.SingleLine;
- this.panelEx1.Style.BorderColor.ColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelBorder;
- this.panelEx1.Style.ForeColor.ColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelText;
- this.panelEx1.Style.GradientAngle = 90;
- this.panelEx1.TabIndex = 10;
- //
- // labelX6
- //
- //
- //
- //
- this.labelX6.BackgroundStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square;
- this.labelX6.Location = new System.Drawing.Point(3, 153);
- this.labelX6.Name = "labelX6";
- this.labelX6.Size = new System.Drawing.Size(75, 23);
- this.labelX6.Style = DevComponents.DotNetBar.eDotNetBarStyle.Office2013;
- this.labelX6.TabIndex = 0;
- this.labelX6.Text = "Z";
- this.labelX6.TextAlignment = System.Drawing.StringAlignment.Center;
- //
- // labelX5
- //
- //
- //
- //
- this.labelX5.BackgroundStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square;
- this.labelX5.Location = new System.Drawing.Point(3, 124);
- this.labelX5.Name = "labelX5";
- this.labelX5.Size = new System.Drawing.Size(75, 23);
- this.labelX5.Style = DevComponents.DotNetBar.eDotNetBarStyle.Office2013;
- this.labelX5.TabIndex = 0;
- this.labelX5.Text = "Y";
- this.labelX5.TextAlignment = System.Drawing.StringAlignment.Center;
- //
- // labelX4
- //
- //
- //
- //
- this.labelX4.BackgroundStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square;
- this.labelX4.Location = new System.Drawing.Point(3, 95);
- this.labelX4.Name = "labelX4";
- this.labelX4.Size = new System.Drawing.Size(75, 23);
- this.labelX4.Style = DevComponents.DotNetBar.eDotNetBarStyle.Office2013;
- this.labelX4.TabIndex = 0;
- this.labelX4.Text = "X";
- this.labelX4.TextAlignment = System.Drawing.StringAlignment.Center;
- //
- // labelX3
- //
- //
- //
- //
- this.labelX3.BackgroundStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square;
- this.labelX3.Location = new System.Drawing.Point(3, 66);
- this.labelX3.Name = "labelX3";
- this.labelX3.Size = new System.Drawing.Size(75, 23);
- this.labelX3.Style = DevComponents.DotNetBar.eDotNetBarStyle.Office2013;
- this.labelX3.TabIndex = 0;
- this.labelX3.Text = "纬度";
- this.labelX3.TextAlignment = System.Drawing.StringAlignment.Center;
- //
- // labelX2
- //
- //
- //
- //
- this.labelX2.BackgroundStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square;
- this.labelX2.Location = new System.Drawing.Point(3, 37);
- this.labelX2.Name = "labelX2";
- this.labelX2.Size = new System.Drawing.Size(75, 23);
- this.labelX2.Style = DevComponents.DotNetBar.eDotNetBarStyle.Office2013;
- this.labelX2.TabIndex = 0;
- this.labelX2.Text = "经度";
- this.labelX2.TextAlignment = System.Drawing.StringAlignment.Center;
- //
- // labelX1
- //
- //
- //
- //
- this.labelX1.BackgroundStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square;
- this.labelX1.Location = new System.Drawing.Point(3, 3);
- this.labelX1.Name = "labelX1";
- this.labelX1.Size = new System.Drawing.Size(194, 23);
- this.labelX1.Style = DevComponents.DotNetBar.eDotNetBarStyle.Office2013;
- this.labelX1.TabIndex = 0;
- this.labelX1.Text = "位置信息";
- this.labelX1.TextAlignment = System.Drawing.StringAlignment.Center;
- //
- // panelEx2
- //
- this.panelEx2.CanvasColor = System.Drawing.SystemColors.Control;
- this.panelEx2.ColorSchemeStyle = DevComponents.DotNetBar.eDotNetBarStyle.StyleManagerControlled;
- this.panelEx2.Controls.Add(this.labelX7);
- this.panelEx2.Controls.Add(this.labelX8);
- this.panelEx2.Controls.Add(this.labelX10);
- this.panelEx2.Controls.Add(this.labelX9);
- this.panelEx2.DisabledBackColor = System.Drawing.Color.Empty;
- this.panelEx2.Location = new System.Drawing.Point(25, 190);
- this.panelEx2.Name = "panelEx2";
- this.panelEx2.Size = new System.Drawing.Size(200, 150);
- this.panelEx2.Style.Alignment = System.Drawing.StringAlignment.Center;
- this.panelEx2.Style.BackColor1.ColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelBackground;
- this.panelEx2.Style.BackColor2.ColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelBackground2;
- this.panelEx2.Style.Border = DevComponents.DotNetBar.eBorderType.SingleLine;
- this.panelEx2.Style.BorderColor.ColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelBorder;
- this.panelEx2.Style.ForeColor.ColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelText;
- this.panelEx2.Style.GradientAngle = 90;
- this.panelEx2.TabIndex = 10;
- //
- // labelX7
- //
- //
- //
- //
- this.labelX7.BackgroundStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square;
- this.labelX7.Location = new System.Drawing.Point(3, 3);
- this.labelX7.Name = "labelX7";
- this.labelX7.Size = new System.Drawing.Size(194, 23);
- this.labelX7.Style = DevComponents.DotNetBar.eDotNetBarStyle.Office2013;
- this.labelX7.TabIndex = 0;
- this.labelX7.Text = "时间信息";
- this.labelX7.TextAlignment = System.Drawing.StringAlignment.Center;
- //
- // labelX8
- //
- //
- //
- //
- this.labelX8.BackgroundStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square;
- this.labelX8.Location = new System.Drawing.Point(3, 41);
- this.labelX8.Name = "labelX8";
- this.labelX8.Size = new System.Drawing.Size(75, 23);
- this.labelX8.Style = DevComponents.DotNetBar.eDotNetBarStyle.Office2013;
- this.labelX8.TabIndex = 0;
- this.labelX8.Text = "日期";
- this.labelX8.TextAlignment = System.Drawing.StringAlignment.Center;
- //
- // labelX10
- //
- //
- //
- //
- this.labelX10.BackgroundStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square;
- this.labelX10.Location = new System.Drawing.Point(3, 99);
- this.labelX10.Name = "labelX10";
- this.labelX10.Size = new System.Drawing.Size(75, 23);
- this.labelX10.Style = DevComponents.DotNetBar.eDotNetBarStyle.Office2013;
- this.labelX10.TabIndex = 0;
- this.labelX10.Text = "MJD";
- this.labelX10.TextAlignment = System.Drawing.StringAlignment.Center;
- //
- // labelX9
- //
- //
- //
- //
- this.labelX9.BackgroundStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square;
- this.labelX9.Location = new System.Drawing.Point(3, 70);
- this.labelX9.Name = "labelX9";
- this.labelX9.Size = new System.Drawing.Size(75, 23);
- this.labelX9.Style = DevComponents.DotNetBar.eDotNetBarStyle.Office2013;
- this.labelX9.TabIndex = 0;
- this.labelX9.Text = "时间";
- this.labelX9.TextAlignment = System.Drawing.StringAlignment.Center;
- //
- // panelEx3
- //
- this.panelEx3.CanvasColor = System.Drawing.SystemColors.Control;
- this.panelEx3.ColorSchemeStyle = DevComponents.DotNetBar.eDotNetBarStyle.StyleManagerControlled;
- this.panelEx3.Controls.Add(this.labelX11);
- this.panelEx3.Controls.Add(this.labelX13);
- this.panelEx3.Controls.Add(this.labelX12);
- this.panelEx3.DisabledBackColor = System.Drawing.Color.Empty;
- this.panelEx3.Location = new System.Drawing.Point(25, 50);
- this.panelEx3.Name = "panelEx3";
- this.panelEx3.Size = new System.Drawing.Size(200, 100);
- this.panelEx3.Style.Alignment = System.Drawing.StringAlignment.Center;
- this.panelEx3.Style.BackColor1.ColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelBackground;
- this.panelEx3.Style.BackColor2.ColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelBackground2;
- this.panelEx3.Style.Border = DevComponents.DotNetBar.eBorderType.SingleLine;
- this.panelEx3.Style.BorderColor.ColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelBorder;
- this.panelEx3.Style.ForeColor.ColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelText;
- this.panelEx3.Style.GradientAngle = 90;
- this.panelEx3.TabIndex = 10;
- //
- // labelX11
- //
- //
- //
- //
- this.labelX11.BackgroundStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square;
- this.labelX11.Location = new System.Drawing.Point(3, 3);
- this.labelX11.Name = "labelX11";
- this.labelX11.Size = new System.Drawing.Size(194, 23);
- this.labelX11.Style = DevComponents.DotNetBar.eDotNetBarStyle.Office2013;
- this.labelX11.TabIndex = 0;
- this.labelX11.Text = "基本信息";
- this.labelX11.TextAlignment = System.Drawing.StringAlignment.Center;
- //
- // labelX13
- //
- //
- //
- //
- this.labelX13.BackgroundStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square;
- this.labelX13.Location = new System.Drawing.Point(3, 32);
- this.labelX13.Name = "labelX13";
- this.labelX13.Size = new System.Drawing.Size(75, 23);
- this.labelX13.Style = DevComponents.DotNetBar.eDotNetBarStyle.Office2013;
- this.labelX13.TabIndex = 0;
- this.labelX13.Text = "原子钟";
- this.labelX13.TextAlignment = System.Drawing.StringAlignment.Center;
- //
- // labelX12
- //
- //
- //
- //
- this.labelX12.BackgroundStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square;
- this.labelX12.Location = new System.Drawing.Point(3, 61);
- this.labelX12.Name = "labelX12";
- this.labelX12.Size = new System.Drawing.Size(75, 23);
- this.labelX12.Style = DevComponents.DotNetBar.eDotNetBarStyle.Office2013;
- this.labelX12.TabIndex = 0;
- this.labelX12.Text = "接收机";
- this.labelX12.TextAlignment = System.Drawing.StringAlignment.Center;
- //
- // panelEx4
- //
- this.panelEx4.CanvasColor = System.Drawing.SystemColors.Control;
- this.panelEx4.ColorSchemeStyle = DevComponents.DotNetBar.eDotNetBarStyle.StyleManagerControlled;
- this.panelEx4.Controls.Add(this.panelEx2);
- this.panelEx4.Controls.Add(this.panelEx1);
- this.panelEx4.Controls.Add(this.panelEx3);
- this.panelEx4.DisabledBackColor = System.Drawing.Color.Empty;
- this.panelEx4.Location = new System.Drawing.Point(0, 0);
- this.panelEx4.Name = "panelEx4";
- this.panelEx4.Size = new System.Drawing.Size(250, 640);
- this.panelEx4.Style.Alignment = System.Drawing.StringAlignment.Center;
- this.panelEx4.Style.BackColor1.ColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelBackground;
- this.panelEx4.Style.BackColor2.ColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelBackground2;
- this.panelEx4.Style.Border = DevComponents.DotNetBar.eBorderType.SingleLine;
- this.panelEx4.Style.BorderColor.ColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelBorder;
- this.panelEx4.Style.ForeColor.ColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelText;
- this.panelEx4.Style.GradientAngle = 90;
- this.panelEx4.TabIndex = 10;
- //
- // dataGridViewX2
- //
- this.dataGridViewX2.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.AutoSize;
- this.dataGridViewX2.Columns.AddRange(new System.Windows.Forms.DataGridViewColumn[] {
- this.Column18,
- this.Column19,
- this.Column20,
- this.Column21,
- this.Column22,
- this.Column23,
- this.Column24,
- this.Column25,
- this.Column26,
- this.Column27,
- this.Column28,
- this.Column29});
- dataGridViewCellStyle2.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleLeft;
- dataGridViewCellStyle2.BackColor = System.Drawing.SystemColors.Window;
- dataGridViewCellStyle2.Font = new System.Drawing.Font("宋体", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
- dataGridViewCellStyle2.ForeColor = System.Drawing.SystemColors.ControlText;
- dataGridViewCellStyle2.SelectionBackColor = System.Drawing.SystemColors.Highlight;
- dataGridViewCellStyle2.SelectionForeColor = System.Drawing.SystemColors.ControlText;
- dataGridViewCellStyle2.WrapMode = System.Windows.Forms.DataGridViewTriState.False;
- this.dataGridViewX2.DefaultCellStyle = dataGridViewCellStyle2;
- this.dataGridViewX2.GridColor = System.Drawing.Color.FromArgb(((int)(((byte)(208)))), ((int)(((byte)(215)))), ((int)(((byte)(229)))));
- this.dataGridViewX2.Location = new System.Drawing.Point(250, 216);
- this.dataGridViewX2.Name = "dataGridViewX2";
- this.dataGridViewX2.Size = new System.Drawing.Size(747, 424);
- this.dataGridViewX2.TabIndex = 15;
- //
- // Column18
- //
- this.Column18.HeaderText = "通道号";
- this.Column18.Name = "Column18";
- //
- // Column19
- //
- this.Column19.HeaderText = "当前状态";
- this.Column19.Name = "Column19";
- //
- // Column20
- //
- this.Column20.HeaderText = "仪器名称";
- this.Column20.Name = "Column20";
- //
- // Column21
- //
- this.Column21.HeaderText = "仪器编号";
- this.Column21.Name = "Column21";
- //
- // Column22
- //
- this.Column22.HeaderText = "客户名称";
- this.Column22.Name = "Column22";
- //
- // Column23
- //
- this.Column23.HeaderText = "开始时间";
- this.Column23.Name = "Column23";
- //
- // Column24
- //
- this.Column24.HeaderText = "结束时间";
- this.Column24.Name = "Column24";
- //
- // Column25
- //
- this.Column25.HeaderText = "频率稳定度";
- this.Column25.Name = "Column25";
- //
- // Column26
- //
- this.Column26.HeaderText = "频率准确度";
- this.Column26.Name = "Column26";
- //
- // Column27
- //
- this.Column27.HeaderText = "开机特性";
- this.Column27.Name = "Column27";
- //
- // Column28
- //
- this.Column28.HeaderText = "日老化率";
- this.Column28.Name = "Column28";
- //
- // Column29
- //
- this.Column29.HeaderText = "频率计数器范围及灵敏度";
- this.Column29.Name = "Column29";
- //
- // buttonX1
- //
- this.buttonX1.AccessibleRole = System.Windows.Forms.AccessibleRole.PushButton;
- this.buttonX1.BackColor = System.Drawing.Color.Transparent;
- this.buttonX1.ColorTable = DevComponents.DotNetBar.eButtonColor.OrangeWithBackground;
- this.buttonX1.Location = new System.Drawing.Point(663, 183);
- this.buttonX1.Name = "buttonX1";
- this.buttonX1.Size = new System.Drawing.Size(30, 23);
- this.buttonX1.Style = DevComponents.DotNetBar.eDotNetBarStyle.StyleManagerControlled;
- this.buttonX1.Symbol = "";
- this.buttonX1.SymbolColor = System.Drawing.Color.FromArgb(((int)(((byte)(64)))), ((int)(((byte)(64)))), ((int)(((byte)(64)))));
- this.buttonX1.SymbolSize = 8F;
- this.buttonX1.TabIndex = 19;
- //
- // buttonX2
- //
- this.buttonX2.AccessibleRole = System.Windows.Forms.AccessibleRole.PushButton;
- this.buttonX2.BackColor = System.Drawing.Color.Transparent;
- this.buttonX2.ColorTable = DevComponents.DotNetBar.eButtonColor.OrangeWithBackground;
- this.buttonX2.Location = new System.Drawing.Point(589, 184);
- this.buttonX2.Name = "buttonX2";
- this.buttonX2.Size = new System.Drawing.Size(30, 23);
- this.buttonX2.Style = DevComponents.DotNetBar.eDotNetBarStyle.StyleManagerControlled;
- this.buttonX2.Symbol = "";
- this.buttonX2.SymbolColor = System.Drawing.Color.FromArgb(((int)(((byte)(64)))), ((int)(((byte)(64)))), ((int)(((byte)(64)))));
- this.buttonX2.SymbolSize = 8F;
- this.buttonX2.TabIndex = 19;
+ this.panel5.BackgroundImage = global::Casic.Birmm.RbFreqStandMeasure.Properties.Resources.bg_dev_channel;
+ this.panel5.Location = new System.Drawing.Point(230, 226);
+ this.panel5.Name = "panel5";
+ this.panel5.Size = new System.Drawing.Size(788, 424);
+ this.panel5.TabIndex = 4;
//
// label1
//
this.label1.BackColor = System.Drawing.Color.Transparent;
- this.label1.Font = new System.Drawing.Font("Times New Roman", 9.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
- this.label1.Location = new System.Drawing.Point(880, 186);
- this.label1.Margin = new System.Windows.Forms.Padding(0);
+ this.label1.Font = new System.Drawing.Font("微软雅黑", 14F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Pixel, ((byte)(134)));
+ this.label1.Location = new System.Drawing.Point(0, 20);
this.label1.Name = "label1";
- this.label1.Size = new System.Drawing.Size(20, 20);
- this.label1.TabIndex = 20;
- this.label1.Text = "1";
+ this.label1.Size = new System.Drawing.Size(224, 25);
+ this.label1.TabIndex = 0;
+ this.label1.Text = "基本信息";
this.label1.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
//
// label2
//
this.label2.BackColor = System.Drawing.Color.Transparent;
- this.label2.Font = new System.Drawing.Font("Times New Roman", 9.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
- this.label2.Location = new System.Drawing.Point(636, 187);
- this.label2.Margin = new System.Windows.Forms.Padding(0);
+ this.label2.Font = new System.Drawing.Font("微软雅黑", 14F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Pixel, ((byte)(134)));
+ this.label2.Location = new System.Drawing.Point(0, 60);
this.label2.Name = "label2";
- this.label2.Size = new System.Drawing.Size(200, 20);
- this.label2.TabIndex = 20;
- this.label2.Text = "共150条,每页5条,共100页";
- this.label2.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
+ this.label2.Size = new System.Drawing.Size(75, 25);
+ this.label2.TabIndex = 1;
+ this.label2.Text = "原子钟";
+ this.label2.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
+ //
+ // label3
+ //
+ this.label3.BackColor = System.Drawing.Color.Transparent;
+ this.label3.Font = new System.Drawing.Font("微软雅黑", 14F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Pixel, ((byte)(134)));
+ this.label3.Location = new System.Drawing.Point(0, 100);
+ this.label3.Name = "label3";
+ this.label3.Size = new System.Drawing.Size(75, 25);
+ this.label3.TabIndex = 1;
+ this.label3.Text = "接收机";
+ this.label3.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
+ //
+ // label4
+ //
+ this.label4.BackColor = System.Drawing.Color.Transparent;
+ this.label4.Font = new System.Drawing.Font("微软雅黑", 14F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Pixel, ((byte)(134)));
+ this.label4.Location = new System.Drawing.Point(0, 20);
+ this.label4.Name = "label4";
+ this.label4.Size = new System.Drawing.Size(224, 25);
+ this.label4.TabIndex = 0;
+ this.label4.Text = "时间信息";
+ this.label4.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
+ //
+ // label5
+ //
+ this.label5.BackColor = System.Drawing.Color.Transparent;
+ this.label5.Font = new System.Drawing.Font("微软雅黑", 14F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Pixel, ((byte)(134)));
+ this.label5.Location = new System.Drawing.Point(0, 60);
+ this.label5.Name = "label5";
+ this.label5.Size = new System.Drawing.Size(75, 25);
+ this.label5.TabIndex = 1;
+ this.label5.Text = "日期";
+ this.label5.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
+ //
+ // label6
+ //
+ this.label6.BackColor = System.Drawing.Color.Transparent;
+ this.label6.Font = new System.Drawing.Font("微软雅黑", 14F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Pixel, ((byte)(134)));
+ this.label6.Location = new System.Drawing.Point(0, 100);
+ this.label6.Name = "label6";
+ this.label6.Size = new System.Drawing.Size(75, 25);
+ this.label6.TabIndex = 1;
+ this.label6.Text = "时间";
+ this.label6.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
+ //
+ // label7
+ //
+ this.label7.BackColor = System.Drawing.Color.Transparent;
+ this.label7.Font = new System.Drawing.Font("微软雅黑", 14F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Pixel, ((byte)(134)));
+ this.label7.Location = new System.Drawing.Point(0, 140);
+ this.label7.Margin = new System.Windows.Forms.Padding(0);
+ this.label7.Name = "label7";
+ this.label7.Size = new System.Drawing.Size(75, 25);
+ this.label7.TabIndex = 1;
+ this.label7.Text = "MJD";
+ this.label7.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
+ //
+ // label8
+ //
+ this.label8.BackColor = System.Drawing.Color.Transparent;
+ this.label8.Font = new System.Drawing.Font("微软雅黑", 14F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Pixel, ((byte)(134)));
+ this.label8.Location = new System.Drawing.Point(0, 20);
+ this.label8.Name = "label8";
+ this.label8.Size = new System.Drawing.Size(224, 25);
+ this.label8.TabIndex = 0;
+ this.label8.Text = "位置信息";
+ this.label8.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
+ //
+ // label9
+ //
+ this.label9.BackColor = System.Drawing.Color.Transparent;
+ this.label9.Font = new System.Drawing.Font("微软雅黑", 14F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Pixel, ((byte)(134)));
+ this.label9.Location = new System.Drawing.Point(0, 60);
+ this.label9.Name = "label9";
+ this.label9.Size = new System.Drawing.Size(75, 25);
+ this.label9.TabIndex = 1;
+ this.label9.Text = "经度";
+ this.label9.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
+ //
+ // label10
+ //
+ this.label10.BackColor = System.Drawing.Color.Transparent;
+ this.label10.Font = new System.Drawing.Font("微软雅黑", 14F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Pixel, ((byte)(134)));
+ this.label10.Location = new System.Drawing.Point(0, 100);
+ this.label10.Margin = new System.Windows.Forms.Padding(0);
+ this.label10.Name = "label10";
+ this.label10.Size = new System.Drawing.Size(75, 25);
+ this.label10.TabIndex = 1;
+ this.label10.Text = "纬度";
+ this.label10.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
+ //
+ // label11
+ //
+ this.label11.BackColor = System.Drawing.Color.Transparent;
+ this.label11.Font = new System.Drawing.Font("微软雅黑", 14F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Pixel, ((byte)(134)));
+ this.label11.Location = new System.Drawing.Point(0, 140);
+ this.label11.Margin = new System.Windows.Forms.Padding(0);
+ this.label11.Name = "label11";
+ this.label11.Size = new System.Drawing.Size(75, 25);
+ this.label11.TabIndex = 1;
+ this.label11.Text = "X";
+ this.label11.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
+ //
+ // label12
+ //
+ this.label12.BackColor = System.Drawing.Color.Transparent;
+ this.label12.Font = new System.Drawing.Font("微软雅黑", 14F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Pixel, ((byte)(134)));
+ this.label12.Location = new System.Drawing.Point(0, 180);
+ this.label12.Margin = new System.Windows.Forms.Padding(0);
+ this.label12.Name = "label12";
+ this.label12.Size = new System.Drawing.Size(75, 25);
+ this.label12.TabIndex = 1;
+ this.label12.Text = "Y";
+ this.label12.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
+ //
+ // label13
+ //
+ this.label13.BackColor = System.Drawing.Color.Transparent;
+ this.label13.Font = new System.Drawing.Font("微软雅黑", 14F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Pixel, ((byte)(134)));
+ this.label13.Location = new System.Drawing.Point(0, 220);
+ this.label13.Margin = new System.Windows.Forms.Padding(0);
+ this.label13.Name = "label13";
+ this.label13.Size = new System.Drawing.Size(75, 25);
+ this.label13.TabIndex = 1;
+ this.label13.Text = "Z";
+ this.label13.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
//
// HomeCtrlForm
//
this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 12F);
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
- this.Controls.Add(this.label1);
- this.Controls.Add(this.label2);
- this.Controls.Add(this.dataGridViewX2);
- this.Controls.Add(this.panelEx4);
- this.Controls.Add(this.panelToBeTested);
+ this.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(232)))), ((int)(((byte)(234)))), ((int)(((byte)(238)))));
+ this.Controls.Add(this.panel5);
+ this.Controls.Add(this.panel4);
+ this.Controls.Add(this.panel3);
+ this.Controls.Add(this.panel2);
+ this.Controls.Add(this.panel1);
this.Margin = new System.Windows.Forms.Padding(0);
this.Name = "HomeCtrlForm";
- this.Size = new System.Drawing.Size(1000, 640);
- this.panelToBeTested.ResumeLayout(false);
- ((System.ComponentModel.ISupportInitialize)(this.dataGridViewX1)).EndInit();
- this.panelEx1.ResumeLayout(false);
- this.panelEx2.ResumeLayout(false);
- this.panelEx3.ResumeLayout(false);
- this.panelEx4.ResumeLayout(false);
- ((System.ComponentModel.ISupportInitialize)(this.dataGridViewX2)).EndInit();
+ this.Size = new System.Drawing.Size(1024, 654);
+ this.panel3.ResumeLayout(false);
+ this.panel2.ResumeLayout(false);
+ this.panel1.ResumeLayout(false);
this.ResumeLayout(false);
}
#endregion
- private System.Windows.Forms.Panel panelToBeTested;
- private DevComponents.DotNetBar.PanelEx panelEx1;
- private DevComponents.DotNetBar.LabelX labelX6;
- private DevComponents.DotNetBar.LabelX labelX5;
- private DevComponents.DotNetBar.LabelX labelX4;
- private DevComponents.DotNetBar.LabelX labelX3;
- private DevComponents.DotNetBar.LabelX labelX2;
- private DevComponents.DotNetBar.LabelX labelX1;
- private DevComponents.DotNetBar.PanelEx panelEx2;
- private DevComponents.DotNetBar.LabelX labelX7;
- private DevComponents.DotNetBar.LabelX labelX8;
- private DevComponents.DotNetBar.LabelX labelX10;
- private DevComponents.DotNetBar.LabelX labelX9;
- private DevComponents.DotNetBar.PanelEx panelEx3;
- private DevComponents.DotNetBar.LabelX labelX11;
- private DevComponents.DotNetBar.LabelX labelX13;
- private DevComponents.DotNetBar.LabelX labelX12;
- private DevComponents.DotNetBar.PanelEx panelEx4;
- private DevComponents.DotNetBar.Controls.DataGridViewX dataGridViewX1;
- private System.Windows.Forms.DataGridViewTextBoxColumn Column13;
- private System.Windows.Forms.DataGridViewTextBoxColumn Column14;
- private System.Windows.Forms.DataGridViewTextBoxColumn Column15;
- private System.Windows.Forms.DataGridViewTextBoxColumn Column16;
- private System.Windows.Forms.DataGridViewTextBoxColumn Column17;
- private DevComponents.DotNetBar.Controls.DataGridViewX dataGridViewX2;
- private System.Windows.Forms.DataGridViewTextBoxColumn Column18;
- private System.Windows.Forms.DataGridViewTextBoxColumn Column19;
- private System.Windows.Forms.DataGridViewTextBoxColumn Column20;
- private System.Windows.Forms.DataGridViewTextBoxColumn Column21;
- private System.Windows.Forms.DataGridViewTextBoxColumn Column22;
- private System.Windows.Forms.DataGridViewTextBoxColumn Column23;
- private System.Windows.Forms.DataGridViewTextBoxColumn Column24;
- private System.Windows.Forms.DataGridViewTextBoxColumn Column25;
- private System.Windows.Forms.DataGridViewTextBoxColumn Column26;
- private System.Windows.Forms.DataGridViewTextBoxColumn Column27;
- private System.Windows.Forms.DataGridViewTextBoxColumn Column28;
- private System.Windows.Forms.DataGridViewTextBoxColumn Column29;
- private DevComponents.DotNetBar.ButtonX buttonX1;
- private DevComponents.DotNetBar.ButtonX buttonX2;
+
+ private System.Windows.Forms.Panel panel1;
+ private System.Windows.Forms.Panel panel2;
+ private System.Windows.Forms.Panel panel3;
+ private System.Windows.Forms.Panel panel4;
+ private System.Windows.Forms.Panel panel5;
private System.Windows.Forms.Label label1;
private System.Windows.Forms.Label label2;
+ private System.Windows.Forms.Label label3;
+ private System.Windows.Forms.Label label4;
+ private System.Windows.Forms.Label label5;
+ private System.Windows.Forms.Label label6;
+ private System.Windows.Forms.Label label7;
+ private System.Windows.Forms.Label label8;
+ private System.Windows.Forms.Label label11;
+ private System.Windows.Forms.Label label9;
+ private System.Windows.Forms.Label label10;
+ private System.Windows.Forms.Label label12;
+ private System.Windows.Forms.Label label13;
}
}
diff --git a/RbFreqStandMeasure/HomeCtrlForm.Designer.cs b/RbFreqStandMeasure/HomeCtrlForm.Designer.cs
index fb515f8..73e477a 100644
--- a/RbFreqStandMeasure/HomeCtrlForm.Designer.cs
+++ b/RbFreqStandMeasure/HomeCtrlForm.Designer.cs
@@ -29,589 +29,271 @@
///
private void InitializeComponent()
{
- System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle1 = new System.Windows.Forms.DataGridViewCellStyle();
- System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle2 = new System.Windows.Forms.DataGridViewCellStyle();
- this.panelToBeTested = new System.Windows.Forms.Panel();
- this.dataGridViewX1 = new DevComponents.DotNetBar.Controls.DataGridViewX();
- this.Column13 = new System.Windows.Forms.DataGridViewTextBoxColumn();
- this.Column14 = new System.Windows.Forms.DataGridViewTextBoxColumn();
- this.Column15 = new System.Windows.Forms.DataGridViewTextBoxColumn();
- this.Column16 = new System.Windows.Forms.DataGridViewTextBoxColumn();
- this.Column17 = new System.Windows.Forms.DataGridViewTextBoxColumn();
- this.panelEx1 = new DevComponents.DotNetBar.PanelEx();
- this.labelX6 = new DevComponents.DotNetBar.LabelX();
- this.labelX5 = new DevComponents.DotNetBar.LabelX();
- this.labelX4 = new DevComponents.DotNetBar.LabelX();
- this.labelX3 = new DevComponents.DotNetBar.LabelX();
- this.labelX2 = new DevComponents.DotNetBar.LabelX();
- this.labelX1 = new DevComponents.DotNetBar.LabelX();
- this.panelEx2 = new DevComponents.DotNetBar.PanelEx();
- this.labelX7 = new DevComponents.DotNetBar.LabelX();
- this.labelX8 = new DevComponents.DotNetBar.LabelX();
- this.labelX10 = new DevComponents.DotNetBar.LabelX();
- this.labelX9 = new DevComponents.DotNetBar.LabelX();
- this.panelEx3 = new DevComponents.DotNetBar.PanelEx();
- this.labelX11 = new DevComponents.DotNetBar.LabelX();
- this.labelX13 = new DevComponents.DotNetBar.LabelX();
- this.labelX12 = new DevComponents.DotNetBar.LabelX();
- this.panelEx4 = new DevComponents.DotNetBar.PanelEx();
- this.dataGridViewX2 = new DevComponents.DotNetBar.Controls.DataGridViewX();
- this.Column18 = new System.Windows.Forms.DataGridViewTextBoxColumn();
- this.Column19 = new System.Windows.Forms.DataGridViewTextBoxColumn();
- this.Column20 = new System.Windows.Forms.DataGridViewTextBoxColumn();
- this.Column21 = new System.Windows.Forms.DataGridViewTextBoxColumn();
- this.Column22 = new System.Windows.Forms.DataGridViewTextBoxColumn();
- this.Column23 = new System.Windows.Forms.DataGridViewTextBoxColumn();
- this.Column24 = new System.Windows.Forms.DataGridViewTextBoxColumn();
- this.Column25 = new System.Windows.Forms.DataGridViewTextBoxColumn();
- this.Column26 = new System.Windows.Forms.DataGridViewTextBoxColumn();
- this.Column27 = new System.Windows.Forms.DataGridViewTextBoxColumn();
- this.Column28 = new System.Windows.Forms.DataGridViewTextBoxColumn();
- this.Column29 = new System.Windows.Forms.DataGridViewTextBoxColumn();
- this.buttonX1 = new DevComponents.DotNetBar.ButtonX();
- this.buttonX2 = new DevComponents.DotNetBar.ButtonX();
+ this.panel3 = new System.Windows.Forms.Panel();
+ this.panel2 = new System.Windows.Forms.Panel();
+ this.panel1 = new System.Windows.Forms.Panel();
+ this.panel4 = new System.Windows.Forms.Panel();
+ this.panel5 = new System.Windows.Forms.Panel();
this.label1 = new System.Windows.Forms.Label();
this.label2 = new System.Windows.Forms.Label();
- this.panelToBeTested.SuspendLayout();
- ((System.ComponentModel.ISupportInitialize)(this.dataGridViewX1)).BeginInit();
- this.panelEx1.SuspendLayout();
- this.panelEx2.SuspendLayout();
- this.panelEx3.SuspendLayout();
- this.panelEx4.SuspendLayout();
- ((System.ComponentModel.ISupportInitialize)(this.dataGridViewX2)).BeginInit();
+ this.label3 = new System.Windows.Forms.Label();
+ this.label4 = new System.Windows.Forms.Label();
+ this.label5 = new System.Windows.Forms.Label();
+ this.label6 = new System.Windows.Forms.Label();
+ this.label7 = new System.Windows.Forms.Label();
+ this.label8 = new System.Windows.Forms.Label();
+ this.label9 = new System.Windows.Forms.Label();
+ this.label10 = new System.Windows.Forms.Label();
+ this.label11 = new System.Windows.Forms.Label();
+ this.label12 = new System.Windows.Forms.Label();
+ this.label13 = new System.Windows.Forms.Label();
+ this.panel3.SuspendLayout();
+ this.panel2.SuspendLayout();
+ this.panel1.SuspendLayout();
this.SuspendLayout();
//
- // panelToBeTested
+ // panel3
//
- this.panelToBeTested.Controls.Add(this.dataGridViewX1);
- this.panelToBeTested.Controls.Add(this.buttonX2);
- this.panelToBeTested.Controls.Add(this.buttonX1);
- this.panelToBeTested.Location = new System.Drawing.Point(250, 0);
- this.panelToBeTested.Name = "panelToBeTested";
- this.panelToBeTested.Size = new System.Drawing.Size(750, 216);
- this.panelToBeTested.TabIndex = 4;
+ this.panel3.BackgroundImage = global::Casic.Birmm.RbFreqStandMeasure.Properties.Resources.bg_status_location;
+ this.panel3.Controls.Add(this.label8);
+ this.panel3.Controls.Add(this.label13);
+ this.panel3.Controls.Add(this.label12);
+ this.panel3.Controls.Add(this.label11);
+ this.panel3.Controls.Add(this.label9);
+ this.panel3.Controls.Add(this.label10);
+ this.panel3.Location = new System.Drawing.Point(6, 360);
+ this.panel3.Name = "panel3";
+ this.panel3.Size = new System.Drawing.Size(224, 293);
+ this.panel3.TabIndex = 2;
//
- // dataGridViewX1
+ // panel2
//
- this.dataGridViewX1.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.AutoSize;
- this.dataGridViewX1.Columns.AddRange(new System.Windows.Forms.DataGridViewColumn[] {
- this.Column13,
- this.Column14,
- this.Column15,
- this.Column16,
- this.Column17});
- dataGridViewCellStyle1.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleLeft;
- dataGridViewCellStyle1.BackColor = System.Drawing.SystemColors.Window;
- dataGridViewCellStyle1.Font = new System.Drawing.Font("宋体", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
- dataGridViewCellStyle1.ForeColor = System.Drawing.SystemColors.ControlText;
- dataGridViewCellStyle1.SelectionBackColor = System.Drawing.SystemColors.Highlight;
- dataGridViewCellStyle1.SelectionForeColor = System.Drawing.SystemColors.ControlText;
- dataGridViewCellStyle1.WrapMode = System.Windows.Forms.DataGridViewTriState.False;
- this.dataGridViewX1.DefaultCellStyle = dataGridViewCellStyle1;
- this.dataGridViewX1.GridColor = System.Drawing.Color.FromArgb(((int)(((byte)(208)))), ((int)(((byte)(215)))), ((int)(((byte)(229)))));
- this.dataGridViewX1.Location = new System.Drawing.Point(0, 1);
- this.dataGridViewX1.Name = "dataGridViewX1";
- this.dataGridViewX1.RowTemplate.Height = 23;
- this.dataGridViewX1.Size = new System.Drawing.Size(750, 179);
- this.dataGridViewX1.TabIndex = 14;
+ this.panel2.BackgroundImage = global::Casic.Birmm.RbFreqStandMeasure.Properties.Resources.bg_status_time;
+ this.panel2.Controls.Add(this.label4);
+ this.panel2.Controls.Add(this.label7);
+ this.panel2.Controls.Add(this.label6);
+ this.panel2.Controls.Add(this.label5);
+ this.panel2.Location = new System.Drawing.Point(6, 160);
+ this.panel2.Name = "panel2";
+ this.panel2.Size = new System.Drawing.Size(224, 200);
+ this.panel2.TabIndex = 1;
//
- // Column13
+ // panel1
//
- this.Column13.HeaderText = "仪器名称";
- this.Column13.Name = "Column13";
+ this.panel1.BackgroundImage = global::Casic.Birmm.RbFreqStandMeasure.Properties.Resources.bg_status_base;
+ this.panel1.Controls.Add(this.label3);
+ this.panel1.Controls.Add(this.label2);
+ this.panel1.Controls.Add(this.label1);
+ this.panel1.Location = new System.Drawing.Point(6, 0);
+ this.panel1.Margin = new System.Windows.Forms.Padding(0);
+ this.panel1.Name = "panel1";
+ this.panel1.Size = new System.Drawing.Size(224, 160);
+ this.panel1.TabIndex = 0;
//
- // Column14
+ // panel4
//
- this.Column14.HeaderText = "仪器类型";
- this.Column14.Name = "Column14";
+ this.panel4.BackgroundImage = global::Casic.Birmm.RbFreqStandMeasure.Properties.Resources.bg_dev_tested;
+ this.panel4.Location = new System.Drawing.Point(230, 0);
+ this.panel4.Margin = new System.Windows.Forms.Padding(0);
+ this.panel4.Name = "panel4";
+ this.panel4.Size = new System.Drawing.Size(788, 226);
+ this.panel4.TabIndex = 3;
//
- // Column15
+ // panel5
//
- this.Column15.HeaderText = "仪器编号";
- this.Column15.Name = "Column15";
- //
- // Column16
- //
- this.Column16.HeaderText = "客户名称";
- this.Column16.Name = "Column16";
- //
- // Column17
- //
- this.Column17.HeaderText = "开始时间";
- this.Column17.Name = "Column17";
- //
- // panelEx1
- //
- this.panelEx1.CanvasColor = System.Drawing.SystemColors.Control;
- this.panelEx1.ColorSchemeStyle = DevComponents.DotNetBar.eDotNetBarStyle.StyleManagerControlled;
- this.panelEx1.Controls.Add(this.labelX6);
- this.panelEx1.Controls.Add(this.labelX5);
- this.panelEx1.Controls.Add(this.labelX4);
- this.panelEx1.Controls.Add(this.labelX3);
- this.panelEx1.Controls.Add(this.labelX2);
- this.panelEx1.Controls.Add(this.labelX1);
- this.panelEx1.DisabledBackColor = System.Drawing.Color.Empty;
- this.panelEx1.Location = new System.Drawing.Point(25, 376);
- this.panelEx1.Name = "panelEx1";
- this.panelEx1.Size = new System.Drawing.Size(200, 200);
- this.panelEx1.Style.Alignment = System.Drawing.StringAlignment.Center;
- this.panelEx1.Style.BackColor1.ColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelBackground;
- this.panelEx1.Style.BackColor2.ColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelBackground2;
- this.panelEx1.Style.Border = DevComponents.DotNetBar.eBorderType.SingleLine;
- this.panelEx1.Style.BorderColor.ColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelBorder;
- this.panelEx1.Style.ForeColor.ColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelText;
- this.panelEx1.Style.GradientAngle = 90;
- this.panelEx1.TabIndex = 10;
- //
- // labelX6
- //
- //
- //
- //
- this.labelX6.BackgroundStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square;
- this.labelX6.Location = new System.Drawing.Point(3, 153);
- this.labelX6.Name = "labelX6";
- this.labelX6.Size = new System.Drawing.Size(75, 23);
- this.labelX6.Style = DevComponents.DotNetBar.eDotNetBarStyle.Office2013;
- this.labelX6.TabIndex = 0;
- this.labelX6.Text = "Z";
- this.labelX6.TextAlignment = System.Drawing.StringAlignment.Center;
- //
- // labelX5
- //
- //
- //
- //
- this.labelX5.BackgroundStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square;
- this.labelX5.Location = new System.Drawing.Point(3, 124);
- this.labelX5.Name = "labelX5";
- this.labelX5.Size = new System.Drawing.Size(75, 23);
- this.labelX5.Style = DevComponents.DotNetBar.eDotNetBarStyle.Office2013;
- this.labelX5.TabIndex = 0;
- this.labelX5.Text = "Y";
- this.labelX5.TextAlignment = System.Drawing.StringAlignment.Center;
- //
- // labelX4
- //
- //
- //
- //
- this.labelX4.BackgroundStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square;
- this.labelX4.Location = new System.Drawing.Point(3, 95);
- this.labelX4.Name = "labelX4";
- this.labelX4.Size = new System.Drawing.Size(75, 23);
- this.labelX4.Style = DevComponents.DotNetBar.eDotNetBarStyle.Office2013;
- this.labelX4.TabIndex = 0;
- this.labelX4.Text = "X";
- this.labelX4.TextAlignment = System.Drawing.StringAlignment.Center;
- //
- // labelX3
- //
- //
- //
- //
- this.labelX3.BackgroundStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square;
- this.labelX3.Location = new System.Drawing.Point(3, 66);
- this.labelX3.Name = "labelX3";
- this.labelX3.Size = new System.Drawing.Size(75, 23);
- this.labelX3.Style = DevComponents.DotNetBar.eDotNetBarStyle.Office2013;
- this.labelX3.TabIndex = 0;
- this.labelX3.Text = "纬度";
- this.labelX3.TextAlignment = System.Drawing.StringAlignment.Center;
- //
- // labelX2
- //
- //
- //
- //
- this.labelX2.BackgroundStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square;
- this.labelX2.Location = new System.Drawing.Point(3, 37);
- this.labelX2.Name = "labelX2";
- this.labelX2.Size = new System.Drawing.Size(75, 23);
- this.labelX2.Style = DevComponents.DotNetBar.eDotNetBarStyle.Office2013;
- this.labelX2.TabIndex = 0;
- this.labelX2.Text = "经度";
- this.labelX2.TextAlignment = System.Drawing.StringAlignment.Center;
- //
- // labelX1
- //
- //
- //
- //
- this.labelX1.BackgroundStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square;
- this.labelX1.Location = new System.Drawing.Point(3, 3);
- this.labelX1.Name = "labelX1";
- this.labelX1.Size = new System.Drawing.Size(194, 23);
- this.labelX1.Style = DevComponents.DotNetBar.eDotNetBarStyle.Office2013;
- this.labelX1.TabIndex = 0;
- this.labelX1.Text = "位置信息";
- this.labelX1.TextAlignment = System.Drawing.StringAlignment.Center;
- //
- // panelEx2
- //
- this.panelEx2.CanvasColor = System.Drawing.SystemColors.Control;
- this.panelEx2.ColorSchemeStyle = DevComponents.DotNetBar.eDotNetBarStyle.StyleManagerControlled;
- this.panelEx2.Controls.Add(this.labelX7);
- this.panelEx2.Controls.Add(this.labelX8);
- this.panelEx2.Controls.Add(this.labelX10);
- this.panelEx2.Controls.Add(this.labelX9);
- this.panelEx2.DisabledBackColor = System.Drawing.Color.Empty;
- this.panelEx2.Location = new System.Drawing.Point(25, 190);
- this.panelEx2.Name = "panelEx2";
- this.panelEx2.Size = new System.Drawing.Size(200, 150);
- this.panelEx2.Style.Alignment = System.Drawing.StringAlignment.Center;
- this.panelEx2.Style.BackColor1.ColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelBackground;
- this.panelEx2.Style.BackColor2.ColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelBackground2;
- this.panelEx2.Style.Border = DevComponents.DotNetBar.eBorderType.SingleLine;
- this.panelEx2.Style.BorderColor.ColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelBorder;
- this.panelEx2.Style.ForeColor.ColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelText;
- this.panelEx2.Style.GradientAngle = 90;
- this.panelEx2.TabIndex = 10;
- //
- // labelX7
- //
- //
- //
- //
- this.labelX7.BackgroundStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square;
- this.labelX7.Location = new System.Drawing.Point(3, 3);
- this.labelX7.Name = "labelX7";
- this.labelX7.Size = new System.Drawing.Size(194, 23);
- this.labelX7.Style = DevComponents.DotNetBar.eDotNetBarStyle.Office2013;
- this.labelX7.TabIndex = 0;
- this.labelX7.Text = "时间信息";
- this.labelX7.TextAlignment = System.Drawing.StringAlignment.Center;
- //
- // labelX8
- //
- //
- //
- //
- this.labelX8.BackgroundStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square;
- this.labelX8.Location = new System.Drawing.Point(3, 41);
- this.labelX8.Name = "labelX8";
- this.labelX8.Size = new System.Drawing.Size(75, 23);
- this.labelX8.Style = DevComponents.DotNetBar.eDotNetBarStyle.Office2013;
- this.labelX8.TabIndex = 0;
- this.labelX8.Text = "日期";
- this.labelX8.TextAlignment = System.Drawing.StringAlignment.Center;
- //
- // labelX10
- //
- //
- //
- //
- this.labelX10.BackgroundStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square;
- this.labelX10.Location = new System.Drawing.Point(3, 99);
- this.labelX10.Name = "labelX10";
- this.labelX10.Size = new System.Drawing.Size(75, 23);
- this.labelX10.Style = DevComponents.DotNetBar.eDotNetBarStyle.Office2013;
- this.labelX10.TabIndex = 0;
- this.labelX10.Text = "MJD";
- this.labelX10.TextAlignment = System.Drawing.StringAlignment.Center;
- //
- // labelX9
- //
- //
- //
- //
- this.labelX9.BackgroundStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square;
- this.labelX9.Location = new System.Drawing.Point(3, 70);
- this.labelX9.Name = "labelX9";
- this.labelX9.Size = new System.Drawing.Size(75, 23);
- this.labelX9.Style = DevComponents.DotNetBar.eDotNetBarStyle.Office2013;
- this.labelX9.TabIndex = 0;
- this.labelX9.Text = "时间";
- this.labelX9.TextAlignment = System.Drawing.StringAlignment.Center;
- //
- // panelEx3
- //
- this.panelEx3.CanvasColor = System.Drawing.SystemColors.Control;
- this.panelEx3.ColorSchemeStyle = DevComponents.DotNetBar.eDotNetBarStyle.StyleManagerControlled;
- this.panelEx3.Controls.Add(this.labelX11);
- this.panelEx3.Controls.Add(this.labelX13);
- this.panelEx3.Controls.Add(this.labelX12);
- this.panelEx3.DisabledBackColor = System.Drawing.Color.Empty;
- this.panelEx3.Location = new System.Drawing.Point(25, 50);
- this.panelEx3.Name = "panelEx3";
- this.panelEx3.Size = new System.Drawing.Size(200, 100);
- this.panelEx3.Style.Alignment = System.Drawing.StringAlignment.Center;
- this.panelEx3.Style.BackColor1.ColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelBackground;
- this.panelEx3.Style.BackColor2.ColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelBackground2;
- this.panelEx3.Style.Border = DevComponents.DotNetBar.eBorderType.SingleLine;
- this.panelEx3.Style.BorderColor.ColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelBorder;
- this.panelEx3.Style.ForeColor.ColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelText;
- this.panelEx3.Style.GradientAngle = 90;
- this.panelEx3.TabIndex = 10;
- //
- // labelX11
- //
- //
- //
- //
- this.labelX11.BackgroundStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square;
- this.labelX11.Location = new System.Drawing.Point(3, 3);
- this.labelX11.Name = "labelX11";
- this.labelX11.Size = new System.Drawing.Size(194, 23);
- this.labelX11.Style = DevComponents.DotNetBar.eDotNetBarStyle.Office2013;
- this.labelX11.TabIndex = 0;
- this.labelX11.Text = "基本信息";
- this.labelX11.TextAlignment = System.Drawing.StringAlignment.Center;
- //
- // labelX13
- //
- //
- //
- //
- this.labelX13.BackgroundStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square;
- this.labelX13.Location = new System.Drawing.Point(3, 32);
- this.labelX13.Name = "labelX13";
- this.labelX13.Size = new System.Drawing.Size(75, 23);
- this.labelX13.Style = DevComponents.DotNetBar.eDotNetBarStyle.Office2013;
- this.labelX13.TabIndex = 0;
- this.labelX13.Text = "原子钟";
- this.labelX13.TextAlignment = System.Drawing.StringAlignment.Center;
- //
- // labelX12
- //
- //
- //
- //
- this.labelX12.BackgroundStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square;
- this.labelX12.Location = new System.Drawing.Point(3, 61);
- this.labelX12.Name = "labelX12";
- this.labelX12.Size = new System.Drawing.Size(75, 23);
- this.labelX12.Style = DevComponents.DotNetBar.eDotNetBarStyle.Office2013;
- this.labelX12.TabIndex = 0;
- this.labelX12.Text = "接收机";
- this.labelX12.TextAlignment = System.Drawing.StringAlignment.Center;
- //
- // panelEx4
- //
- this.panelEx4.CanvasColor = System.Drawing.SystemColors.Control;
- this.panelEx4.ColorSchemeStyle = DevComponents.DotNetBar.eDotNetBarStyle.StyleManagerControlled;
- this.panelEx4.Controls.Add(this.panelEx2);
- this.panelEx4.Controls.Add(this.panelEx1);
- this.panelEx4.Controls.Add(this.panelEx3);
- this.panelEx4.DisabledBackColor = System.Drawing.Color.Empty;
- this.panelEx4.Location = new System.Drawing.Point(0, 0);
- this.panelEx4.Name = "panelEx4";
- this.panelEx4.Size = new System.Drawing.Size(250, 640);
- this.panelEx4.Style.Alignment = System.Drawing.StringAlignment.Center;
- this.panelEx4.Style.BackColor1.ColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelBackground;
- this.panelEx4.Style.BackColor2.ColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelBackground2;
- this.panelEx4.Style.Border = DevComponents.DotNetBar.eBorderType.SingleLine;
- this.panelEx4.Style.BorderColor.ColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelBorder;
- this.panelEx4.Style.ForeColor.ColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelText;
- this.panelEx4.Style.GradientAngle = 90;
- this.panelEx4.TabIndex = 10;
- //
- // dataGridViewX2
- //
- this.dataGridViewX2.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.AutoSize;
- this.dataGridViewX2.Columns.AddRange(new System.Windows.Forms.DataGridViewColumn[] {
- this.Column18,
- this.Column19,
- this.Column20,
- this.Column21,
- this.Column22,
- this.Column23,
- this.Column24,
- this.Column25,
- this.Column26,
- this.Column27,
- this.Column28,
- this.Column29});
- dataGridViewCellStyle2.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleLeft;
- dataGridViewCellStyle2.BackColor = System.Drawing.SystemColors.Window;
- dataGridViewCellStyle2.Font = new System.Drawing.Font("宋体", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
- dataGridViewCellStyle2.ForeColor = System.Drawing.SystemColors.ControlText;
- dataGridViewCellStyle2.SelectionBackColor = System.Drawing.SystemColors.Highlight;
- dataGridViewCellStyle2.SelectionForeColor = System.Drawing.SystemColors.ControlText;
- dataGridViewCellStyle2.WrapMode = System.Windows.Forms.DataGridViewTriState.False;
- this.dataGridViewX2.DefaultCellStyle = dataGridViewCellStyle2;
- this.dataGridViewX2.GridColor = System.Drawing.Color.FromArgb(((int)(((byte)(208)))), ((int)(((byte)(215)))), ((int)(((byte)(229)))));
- this.dataGridViewX2.Location = new System.Drawing.Point(250, 216);
- this.dataGridViewX2.Name = "dataGridViewX2";
- this.dataGridViewX2.Size = new System.Drawing.Size(747, 424);
- this.dataGridViewX2.TabIndex = 15;
- //
- // Column18
- //
- this.Column18.HeaderText = "通道号";
- this.Column18.Name = "Column18";
- //
- // Column19
- //
- this.Column19.HeaderText = "当前状态";
- this.Column19.Name = "Column19";
- //
- // Column20
- //
- this.Column20.HeaderText = "仪器名称";
- this.Column20.Name = "Column20";
- //
- // Column21
- //
- this.Column21.HeaderText = "仪器编号";
- this.Column21.Name = "Column21";
- //
- // Column22
- //
- this.Column22.HeaderText = "客户名称";
- this.Column22.Name = "Column22";
- //
- // Column23
- //
- this.Column23.HeaderText = "开始时间";
- this.Column23.Name = "Column23";
- //
- // Column24
- //
- this.Column24.HeaderText = "结束时间";
- this.Column24.Name = "Column24";
- //
- // Column25
- //
- this.Column25.HeaderText = "频率稳定度";
- this.Column25.Name = "Column25";
- //
- // Column26
- //
- this.Column26.HeaderText = "频率准确度";
- this.Column26.Name = "Column26";
- //
- // Column27
- //
- this.Column27.HeaderText = "开机特性";
- this.Column27.Name = "Column27";
- //
- // Column28
- //
- this.Column28.HeaderText = "日老化率";
- this.Column28.Name = "Column28";
- //
- // Column29
- //
- this.Column29.HeaderText = "频率计数器范围及灵敏度";
- this.Column29.Name = "Column29";
- //
- // buttonX1
- //
- this.buttonX1.AccessibleRole = System.Windows.Forms.AccessibleRole.PushButton;
- this.buttonX1.BackColor = System.Drawing.Color.Transparent;
- this.buttonX1.ColorTable = DevComponents.DotNetBar.eButtonColor.OrangeWithBackground;
- this.buttonX1.Location = new System.Drawing.Point(663, 183);
- this.buttonX1.Name = "buttonX1";
- this.buttonX1.Size = new System.Drawing.Size(30, 23);
- this.buttonX1.Style = DevComponents.DotNetBar.eDotNetBarStyle.StyleManagerControlled;
- this.buttonX1.Symbol = "";
- this.buttonX1.SymbolColor = System.Drawing.Color.FromArgb(((int)(((byte)(64)))), ((int)(((byte)(64)))), ((int)(((byte)(64)))));
- this.buttonX1.SymbolSize = 8F;
- this.buttonX1.TabIndex = 19;
- //
- // buttonX2
- //
- this.buttonX2.AccessibleRole = System.Windows.Forms.AccessibleRole.PushButton;
- this.buttonX2.BackColor = System.Drawing.Color.Transparent;
- this.buttonX2.ColorTable = DevComponents.DotNetBar.eButtonColor.OrangeWithBackground;
- this.buttonX2.Location = new System.Drawing.Point(589, 184);
- this.buttonX2.Name = "buttonX2";
- this.buttonX2.Size = new System.Drawing.Size(30, 23);
- this.buttonX2.Style = DevComponents.DotNetBar.eDotNetBarStyle.StyleManagerControlled;
- this.buttonX2.Symbol = "";
- this.buttonX2.SymbolColor = System.Drawing.Color.FromArgb(((int)(((byte)(64)))), ((int)(((byte)(64)))), ((int)(((byte)(64)))));
- this.buttonX2.SymbolSize = 8F;
- this.buttonX2.TabIndex = 19;
+ this.panel5.BackgroundImage = global::Casic.Birmm.RbFreqStandMeasure.Properties.Resources.bg_dev_channel;
+ this.panel5.Location = new System.Drawing.Point(230, 226);
+ this.panel5.Name = "panel5";
+ this.panel5.Size = new System.Drawing.Size(788, 424);
+ this.panel5.TabIndex = 4;
//
// label1
//
this.label1.BackColor = System.Drawing.Color.Transparent;
- this.label1.Font = new System.Drawing.Font("Times New Roman", 9.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
- this.label1.Location = new System.Drawing.Point(880, 186);
- this.label1.Margin = new System.Windows.Forms.Padding(0);
+ this.label1.Font = new System.Drawing.Font("微软雅黑", 14F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Pixel, ((byte)(134)));
+ this.label1.Location = new System.Drawing.Point(0, 20);
this.label1.Name = "label1";
- this.label1.Size = new System.Drawing.Size(20, 20);
- this.label1.TabIndex = 20;
- this.label1.Text = "1";
+ this.label1.Size = new System.Drawing.Size(224, 25);
+ this.label1.TabIndex = 0;
+ this.label1.Text = "基本信息";
this.label1.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
//
// label2
//
this.label2.BackColor = System.Drawing.Color.Transparent;
- this.label2.Font = new System.Drawing.Font("Times New Roman", 9.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
- this.label2.Location = new System.Drawing.Point(636, 187);
- this.label2.Margin = new System.Windows.Forms.Padding(0);
+ this.label2.Font = new System.Drawing.Font("微软雅黑", 14F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Pixel, ((byte)(134)));
+ this.label2.Location = new System.Drawing.Point(0, 60);
this.label2.Name = "label2";
- this.label2.Size = new System.Drawing.Size(200, 20);
- this.label2.TabIndex = 20;
- this.label2.Text = "共150条,每页5条,共100页";
- this.label2.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
+ this.label2.Size = new System.Drawing.Size(75, 25);
+ this.label2.TabIndex = 1;
+ this.label2.Text = "原子钟";
+ this.label2.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
+ //
+ // label3
+ //
+ this.label3.BackColor = System.Drawing.Color.Transparent;
+ this.label3.Font = new System.Drawing.Font("微软雅黑", 14F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Pixel, ((byte)(134)));
+ this.label3.Location = new System.Drawing.Point(0, 100);
+ this.label3.Name = "label3";
+ this.label3.Size = new System.Drawing.Size(75, 25);
+ this.label3.TabIndex = 1;
+ this.label3.Text = "接收机";
+ this.label3.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
+ //
+ // label4
+ //
+ this.label4.BackColor = System.Drawing.Color.Transparent;
+ this.label4.Font = new System.Drawing.Font("微软雅黑", 14F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Pixel, ((byte)(134)));
+ this.label4.Location = new System.Drawing.Point(0, 20);
+ this.label4.Name = "label4";
+ this.label4.Size = new System.Drawing.Size(224, 25);
+ this.label4.TabIndex = 0;
+ this.label4.Text = "时间信息";
+ this.label4.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
+ //
+ // label5
+ //
+ this.label5.BackColor = System.Drawing.Color.Transparent;
+ this.label5.Font = new System.Drawing.Font("微软雅黑", 14F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Pixel, ((byte)(134)));
+ this.label5.Location = new System.Drawing.Point(0, 60);
+ this.label5.Name = "label5";
+ this.label5.Size = new System.Drawing.Size(75, 25);
+ this.label5.TabIndex = 1;
+ this.label5.Text = "日期";
+ this.label5.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
+ //
+ // label6
+ //
+ this.label6.BackColor = System.Drawing.Color.Transparent;
+ this.label6.Font = new System.Drawing.Font("微软雅黑", 14F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Pixel, ((byte)(134)));
+ this.label6.Location = new System.Drawing.Point(0, 100);
+ this.label6.Name = "label6";
+ this.label6.Size = new System.Drawing.Size(75, 25);
+ this.label6.TabIndex = 1;
+ this.label6.Text = "时间";
+ this.label6.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
+ //
+ // label7
+ //
+ this.label7.BackColor = System.Drawing.Color.Transparent;
+ this.label7.Font = new System.Drawing.Font("微软雅黑", 14F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Pixel, ((byte)(134)));
+ this.label7.Location = new System.Drawing.Point(0, 140);
+ this.label7.Margin = new System.Windows.Forms.Padding(0);
+ this.label7.Name = "label7";
+ this.label7.Size = new System.Drawing.Size(75, 25);
+ this.label7.TabIndex = 1;
+ this.label7.Text = "MJD";
+ this.label7.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
+ //
+ // label8
+ //
+ this.label8.BackColor = System.Drawing.Color.Transparent;
+ this.label8.Font = new System.Drawing.Font("微软雅黑", 14F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Pixel, ((byte)(134)));
+ this.label8.Location = new System.Drawing.Point(0, 20);
+ this.label8.Name = "label8";
+ this.label8.Size = new System.Drawing.Size(224, 25);
+ this.label8.TabIndex = 0;
+ this.label8.Text = "位置信息";
+ this.label8.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
+ //
+ // label9
+ //
+ this.label9.BackColor = System.Drawing.Color.Transparent;
+ this.label9.Font = new System.Drawing.Font("微软雅黑", 14F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Pixel, ((byte)(134)));
+ this.label9.Location = new System.Drawing.Point(0, 60);
+ this.label9.Name = "label9";
+ this.label9.Size = new System.Drawing.Size(75, 25);
+ this.label9.TabIndex = 1;
+ this.label9.Text = "经度";
+ this.label9.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
+ //
+ // label10
+ //
+ this.label10.BackColor = System.Drawing.Color.Transparent;
+ this.label10.Font = new System.Drawing.Font("微软雅黑", 14F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Pixel, ((byte)(134)));
+ this.label10.Location = new System.Drawing.Point(0, 100);
+ this.label10.Margin = new System.Windows.Forms.Padding(0);
+ this.label10.Name = "label10";
+ this.label10.Size = new System.Drawing.Size(75, 25);
+ this.label10.TabIndex = 1;
+ this.label10.Text = "纬度";
+ this.label10.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
+ //
+ // label11
+ //
+ this.label11.BackColor = System.Drawing.Color.Transparent;
+ this.label11.Font = new System.Drawing.Font("微软雅黑", 14F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Pixel, ((byte)(134)));
+ this.label11.Location = new System.Drawing.Point(0, 140);
+ this.label11.Margin = new System.Windows.Forms.Padding(0);
+ this.label11.Name = "label11";
+ this.label11.Size = new System.Drawing.Size(75, 25);
+ this.label11.TabIndex = 1;
+ this.label11.Text = "X";
+ this.label11.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
+ //
+ // label12
+ //
+ this.label12.BackColor = System.Drawing.Color.Transparent;
+ this.label12.Font = new System.Drawing.Font("微软雅黑", 14F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Pixel, ((byte)(134)));
+ this.label12.Location = new System.Drawing.Point(0, 180);
+ this.label12.Margin = new System.Windows.Forms.Padding(0);
+ this.label12.Name = "label12";
+ this.label12.Size = new System.Drawing.Size(75, 25);
+ this.label12.TabIndex = 1;
+ this.label12.Text = "Y";
+ this.label12.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
+ //
+ // label13
+ //
+ this.label13.BackColor = System.Drawing.Color.Transparent;
+ this.label13.Font = new System.Drawing.Font("微软雅黑", 14F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Pixel, ((byte)(134)));
+ this.label13.Location = new System.Drawing.Point(0, 220);
+ this.label13.Margin = new System.Windows.Forms.Padding(0);
+ this.label13.Name = "label13";
+ this.label13.Size = new System.Drawing.Size(75, 25);
+ this.label13.TabIndex = 1;
+ this.label13.Text = "Z";
+ this.label13.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
//
// HomeCtrlForm
//
this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 12F);
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
- this.Controls.Add(this.label1);
- this.Controls.Add(this.label2);
- this.Controls.Add(this.dataGridViewX2);
- this.Controls.Add(this.panelEx4);
- this.Controls.Add(this.panelToBeTested);
+ this.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(232)))), ((int)(((byte)(234)))), ((int)(((byte)(238)))));
+ this.Controls.Add(this.panel5);
+ this.Controls.Add(this.panel4);
+ this.Controls.Add(this.panel3);
+ this.Controls.Add(this.panel2);
+ this.Controls.Add(this.panel1);
this.Margin = new System.Windows.Forms.Padding(0);
this.Name = "HomeCtrlForm";
- this.Size = new System.Drawing.Size(1000, 640);
- this.panelToBeTested.ResumeLayout(false);
- ((System.ComponentModel.ISupportInitialize)(this.dataGridViewX1)).EndInit();
- this.panelEx1.ResumeLayout(false);
- this.panelEx2.ResumeLayout(false);
- this.panelEx3.ResumeLayout(false);
- this.panelEx4.ResumeLayout(false);
- ((System.ComponentModel.ISupportInitialize)(this.dataGridViewX2)).EndInit();
+ this.Size = new System.Drawing.Size(1024, 654);
+ this.panel3.ResumeLayout(false);
+ this.panel2.ResumeLayout(false);
+ this.panel1.ResumeLayout(false);
this.ResumeLayout(false);
}
#endregion
- private System.Windows.Forms.Panel panelToBeTested;
- private DevComponents.DotNetBar.PanelEx panelEx1;
- private DevComponents.DotNetBar.LabelX labelX6;
- private DevComponents.DotNetBar.LabelX labelX5;
- private DevComponents.DotNetBar.LabelX labelX4;
- private DevComponents.DotNetBar.LabelX labelX3;
- private DevComponents.DotNetBar.LabelX labelX2;
- private DevComponents.DotNetBar.LabelX labelX1;
- private DevComponents.DotNetBar.PanelEx panelEx2;
- private DevComponents.DotNetBar.LabelX labelX7;
- private DevComponents.DotNetBar.LabelX labelX8;
- private DevComponents.DotNetBar.LabelX labelX10;
- private DevComponents.DotNetBar.LabelX labelX9;
- private DevComponents.DotNetBar.PanelEx panelEx3;
- private DevComponents.DotNetBar.LabelX labelX11;
- private DevComponents.DotNetBar.LabelX labelX13;
- private DevComponents.DotNetBar.LabelX labelX12;
- private DevComponents.DotNetBar.PanelEx panelEx4;
- private DevComponents.DotNetBar.Controls.DataGridViewX dataGridViewX1;
- private System.Windows.Forms.DataGridViewTextBoxColumn Column13;
- private System.Windows.Forms.DataGridViewTextBoxColumn Column14;
- private System.Windows.Forms.DataGridViewTextBoxColumn Column15;
- private System.Windows.Forms.DataGridViewTextBoxColumn Column16;
- private System.Windows.Forms.DataGridViewTextBoxColumn Column17;
- private DevComponents.DotNetBar.Controls.DataGridViewX dataGridViewX2;
- private System.Windows.Forms.DataGridViewTextBoxColumn Column18;
- private System.Windows.Forms.DataGridViewTextBoxColumn Column19;
- private System.Windows.Forms.DataGridViewTextBoxColumn Column20;
- private System.Windows.Forms.DataGridViewTextBoxColumn Column21;
- private System.Windows.Forms.DataGridViewTextBoxColumn Column22;
- private System.Windows.Forms.DataGridViewTextBoxColumn Column23;
- private System.Windows.Forms.DataGridViewTextBoxColumn Column24;
- private System.Windows.Forms.DataGridViewTextBoxColumn Column25;
- private System.Windows.Forms.DataGridViewTextBoxColumn Column26;
- private System.Windows.Forms.DataGridViewTextBoxColumn Column27;
- private System.Windows.Forms.DataGridViewTextBoxColumn Column28;
- private System.Windows.Forms.DataGridViewTextBoxColumn Column29;
- private DevComponents.DotNetBar.ButtonX buttonX1;
- private DevComponents.DotNetBar.ButtonX buttonX2;
+
+ private System.Windows.Forms.Panel panel1;
+ private System.Windows.Forms.Panel panel2;
+ private System.Windows.Forms.Panel panel3;
+ private System.Windows.Forms.Panel panel4;
+ private System.Windows.Forms.Panel panel5;
private System.Windows.Forms.Label label1;
private System.Windows.Forms.Label label2;
+ private System.Windows.Forms.Label label3;
+ private System.Windows.Forms.Label label4;
+ private System.Windows.Forms.Label label5;
+ private System.Windows.Forms.Label label6;
+ private System.Windows.Forms.Label label7;
+ private System.Windows.Forms.Label label8;
+ private System.Windows.Forms.Label label11;
+ private System.Windows.Forms.Label label9;
+ private System.Windows.Forms.Label label10;
+ private System.Windows.Forms.Label label12;
+ private System.Windows.Forms.Label label13;
}
}
diff --git a/RbFreqStandMeasure/HomeCtrlForm.resx b/RbFreqStandMeasure/HomeCtrlForm.resx
index 6d97f4f..1af7de1 100644
--- a/RbFreqStandMeasure/HomeCtrlForm.resx
+++ b/RbFreqStandMeasure/HomeCtrlForm.resx
@@ -117,55 +117,4 @@
System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
-
- True
-
-
- True
-
-
- True
-
-
- True
-
-
- True
-
-
- True
-
-
- True
-
-
- True
-
-
- True
-
-
- True
-
-
- True
-
-
- True
-
-
- True
-
-
- True
-
-
- True
-
-
- True
-
-
- True
-
\ No newline at end of file
diff --git a/RbFreqStandMeasure/HomeCtrlForm.Designer.cs b/RbFreqStandMeasure/HomeCtrlForm.Designer.cs
index fb515f8..73e477a 100644
--- a/RbFreqStandMeasure/HomeCtrlForm.Designer.cs
+++ b/RbFreqStandMeasure/HomeCtrlForm.Designer.cs
@@ -29,589 +29,271 @@
///
private void InitializeComponent()
{
- System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle1 = new System.Windows.Forms.DataGridViewCellStyle();
- System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle2 = new System.Windows.Forms.DataGridViewCellStyle();
- this.panelToBeTested = new System.Windows.Forms.Panel();
- this.dataGridViewX1 = new DevComponents.DotNetBar.Controls.DataGridViewX();
- this.Column13 = new System.Windows.Forms.DataGridViewTextBoxColumn();
- this.Column14 = new System.Windows.Forms.DataGridViewTextBoxColumn();
- this.Column15 = new System.Windows.Forms.DataGridViewTextBoxColumn();
- this.Column16 = new System.Windows.Forms.DataGridViewTextBoxColumn();
- this.Column17 = new System.Windows.Forms.DataGridViewTextBoxColumn();
- this.panelEx1 = new DevComponents.DotNetBar.PanelEx();
- this.labelX6 = new DevComponents.DotNetBar.LabelX();
- this.labelX5 = new DevComponents.DotNetBar.LabelX();
- this.labelX4 = new DevComponents.DotNetBar.LabelX();
- this.labelX3 = new DevComponents.DotNetBar.LabelX();
- this.labelX2 = new DevComponents.DotNetBar.LabelX();
- this.labelX1 = new DevComponents.DotNetBar.LabelX();
- this.panelEx2 = new DevComponents.DotNetBar.PanelEx();
- this.labelX7 = new DevComponents.DotNetBar.LabelX();
- this.labelX8 = new DevComponents.DotNetBar.LabelX();
- this.labelX10 = new DevComponents.DotNetBar.LabelX();
- this.labelX9 = new DevComponents.DotNetBar.LabelX();
- this.panelEx3 = new DevComponents.DotNetBar.PanelEx();
- this.labelX11 = new DevComponents.DotNetBar.LabelX();
- this.labelX13 = new DevComponents.DotNetBar.LabelX();
- this.labelX12 = new DevComponents.DotNetBar.LabelX();
- this.panelEx4 = new DevComponents.DotNetBar.PanelEx();
- this.dataGridViewX2 = new DevComponents.DotNetBar.Controls.DataGridViewX();
- this.Column18 = new System.Windows.Forms.DataGridViewTextBoxColumn();
- this.Column19 = new System.Windows.Forms.DataGridViewTextBoxColumn();
- this.Column20 = new System.Windows.Forms.DataGridViewTextBoxColumn();
- this.Column21 = new System.Windows.Forms.DataGridViewTextBoxColumn();
- this.Column22 = new System.Windows.Forms.DataGridViewTextBoxColumn();
- this.Column23 = new System.Windows.Forms.DataGridViewTextBoxColumn();
- this.Column24 = new System.Windows.Forms.DataGridViewTextBoxColumn();
- this.Column25 = new System.Windows.Forms.DataGridViewTextBoxColumn();
- this.Column26 = new System.Windows.Forms.DataGridViewTextBoxColumn();
- this.Column27 = new System.Windows.Forms.DataGridViewTextBoxColumn();
- this.Column28 = new System.Windows.Forms.DataGridViewTextBoxColumn();
- this.Column29 = new System.Windows.Forms.DataGridViewTextBoxColumn();
- this.buttonX1 = new DevComponents.DotNetBar.ButtonX();
- this.buttonX2 = new DevComponents.DotNetBar.ButtonX();
+ this.panel3 = new System.Windows.Forms.Panel();
+ this.panel2 = new System.Windows.Forms.Panel();
+ this.panel1 = new System.Windows.Forms.Panel();
+ this.panel4 = new System.Windows.Forms.Panel();
+ this.panel5 = new System.Windows.Forms.Panel();
this.label1 = new System.Windows.Forms.Label();
this.label2 = new System.Windows.Forms.Label();
- this.panelToBeTested.SuspendLayout();
- ((System.ComponentModel.ISupportInitialize)(this.dataGridViewX1)).BeginInit();
- this.panelEx1.SuspendLayout();
- this.panelEx2.SuspendLayout();
- this.panelEx3.SuspendLayout();
- this.panelEx4.SuspendLayout();
- ((System.ComponentModel.ISupportInitialize)(this.dataGridViewX2)).BeginInit();
+ this.label3 = new System.Windows.Forms.Label();
+ this.label4 = new System.Windows.Forms.Label();
+ this.label5 = new System.Windows.Forms.Label();
+ this.label6 = new System.Windows.Forms.Label();
+ this.label7 = new System.Windows.Forms.Label();
+ this.label8 = new System.Windows.Forms.Label();
+ this.label9 = new System.Windows.Forms.Label();
+ this.label10 = new System.Windows.Forms.Label();
+ this.label11 = new System.Windows.Forms.Label();
+ this.label12 = new System.Windows.Forms.Label();
+ this.label13 = new System.Windows.Forms.Label();
+ this.panel3.SuspendLayout();
+ this.panel2.SuspendLayout();
+ this.panel1.SuspendLayout();
this.SuspendLayout();
//
- // panelToBeTested
+ // panel3
//
- this.panelToBeTested.Controls.Add(this.dataGridViewX1);
- this.panelToBeTested.Controls.Add(this.buttonX2);
- this.panelToBeTested.Controls.Add(this.buttonX1);
- this.panelToBeTested.Location = new System.Drawing.Point(250, 0);
- this.panelToBeTested.Name = "panelToBeTested";
- this.panelToBeTested.Size = new System.Drawing.Size(750, 216);
- this.panelToBeTested.TabIndex = 4;
+ this.panel3.BackgroundImage = global::Casic.Birmm.RbFreqStandMeasure.Properties.Resources.bg_status_location;
+ this.panel3.Controls.Add(this.label8);
+ this.panel3.Controls.Add(this.label13);
+ this.panel3.Controls.Add(this.label12);
+ this.panel3.Controls.Add(this.label11);
+ this.panel3.Controls.Add(this.label9);
+ this.panel3.Controls.Add(this.label10);
+ this.panel3.Location = new System.Drawing.Point(6, 360);
+ this.panel3.Name = "panel3";
+ this.panel3.Size = new System.Drawing.Size(224, 293);
+ this.panel3.TabIndex = 2;
//
- // dataGridViewX1
+ // panel2
//
- this.dataGridViewX1.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.AutoSize;
- this.dataGridViewX1.Columns.AddRange(new System.Windows.Forms.DataGridViewColumn[] {
- this.Column13,
- this.Column14,
- this.Column15,
- this.Column16,
- this.Column17});
- dataGridViewCellStyle1.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleLeft;
- dataGridViewCellStyle1.BackColor = System.Drawing.SystemColors.Window;
- dataGridViewCellStyle1.Font = new System.Drawing.Font("宋体", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
- dataGridViewCellStyle1.ForeColor = System.Drawing.SystemColors.ControlText;
- dataGridViewCellStyle1.SelectionBackColor = System.Drawing.SystemColors.Highlight;
- dataGridViewCellStyle1.SelectionForeColor = System.Drawing.SystemColors.ControlText;
- dataGridViewCellStyle1.WrapMode = System.Windows.Forms.DataGridViewTriState.False;
- this.dataGridViewX1.DefaultCellStyle = dataGridViewCellStyle1;
- this.dataGridViewX1.GridColor = System.Drawing.Color.FromArgb(((int)(((byte)(208)))), ((int)(((byte)(215)))), ((int)(((byte)(229)))));
- this.dataGridViewX1.Location = new System.Drawing.Point(0, 1);
- this.dataGridViewX1.Name = "dataGridViewX1";
- this.dataGridViewX1.RowTemplate.Height = 23;
- this.dataGridViewX1.Size = new System.Drawing.Size(750, 179);
- this.dataGridViewX1.TabIndex = 14;
+ this.panel2.BackgroundImage = global::Casic.Birmm.RbFreqStandMeasure.Properties.Resources.bg_status_time;
+ this.panel2.Controls.Add(this.label4);
+ this.panel2.Controls.Add(this.label7);
+ this.panel2.Controls.Add(this.label6);
+ this.panel2.Controls.Add(this.label5);
+ this.panel2.Location = new System.Drawing.Point(6, 160);
+ this.panel2.Name = "panel2";
+ this.panel2.Size = new System.Drawing.Size(224, 200);
+ this.panel2.TabIndex = 1;
//
- // Column13
+ // panel1
//
- this.Column13.HeaderText = "仪器名称";
- this.Column13.Name = "Column13";
+ this.panel1.BackgroundImage = global::Casic.Birmm.RbFreqStandMeasure.Properties.Resources.bg_status_base;
+ this.panel1.Controls.Add(this.label3);
+ this.panel1.Controls.Add(this.label2);
+ this.panel1.Controls.Add(this.label1);
+ this.panel1.Location = new System.Drawing.Point(6, 0);
+ this.panel1.Margin = new System.Windows.Forms.Padding(0);
+ this.panel1.Name = "panel1";
+ this.panel1.Size = new System.Drawing.Size(224, 160);
+ this.panel1.TabIndex = 0;
//
- // Column14
+ // panel4
//
- this.Column14.HeaderText = "仪器类型";
- this.Column14.Name = "Column14";
+ this.panel4.BackgroundImage = global::Casic.Birmm.RbFreqStandMeasure.Properties.Resources.bg_dev_tested;
+ this.panel4.Location = new System.Drawing.Point(230, 0);
+ this.panel4.Margin = new System.Windows.Forms.Padding(0);
+ this.panel4.Name = "panel4";
+ this.panel4.Size = new System.Drawing.Size(788, 226);
+ this.panel4.TabIndex = 3;
//
- // Column15
+ // panel5
//
- this.Column15.HeaderText = "仪器编号";
- this.Column15.Name = "Column15";
- //
- // Column16
- //
- this.Column16.HeaderText = "客户名称";
- this.Column16.Name = "Column16";
- //
- // Column17
- //
- this.Column17.HeaderText = "开始时间";
- this.Column17.Name = "Column17";
- //
- // panelEx1
- //
- this.panelEx1.CanvasColor = System.Drawing.SystemColors.Control;
- this.panelEx1.ColorSchemeStyle = DevComponents.DotNetBar.eDotNetBarStyle.StyleManagerControlled;
- this.panelEx1.Controls.Add(this.labelX6);
- this.panelEx1.Controls.Add(this.labelX5);
- this.panelEx1.Controls.Add(this.labelX4);
- this.panelEx1.Controls.Add(this.labelX3);
- this.panelEx1.Controls.Add(this.labelX2);
- this.panelEx1.Controls.Add(this.labelX1);
- this.panelEx1.DisabledBackColor = System.Drawing.Color.Empty;
- this.panelEx1.Location = new System.Drawing.Point(25, 376);
- this.panelEx1.Name = "panelEx1";
- this.panelEx1.Size = new System.Drawing.Size(200, 200);
- this.panelEx1.Style.Alignment = System.Drawing.StringAlignment.Center;
- this.panelEx1.Style.BackColor1.ColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelBackground;
- this.panelEx1.Style.BackColor2.ColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelBackground2;
- this.panelEx1.Style.Border = DevComponents.DotNetBar.eBorderType.SingleLine;
- this.panelEx1.Style.BorderColor.ColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelBorder;
- this.panelEx1.Style.ForeColor.ColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelText;
- this.panelEx1.Style.GradientAngle = 90;
- this.panelEx1.TabIndex = 10;
- //
- // labelX6
- //
- //
- //
- //
- this.labelX6.BackgroundStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square;
- this.labelX6.Location = new System.Drawing.Point(3, 153);
- this.labelX6.Name = "labelX6";
- this.labelX6.Size = new System.Drawing.Size(75, 23);
- this.labelX6.Style = DevComponents.DotNetBar.eDotNetBarStyle.Office2013;
- this.labelX6.TabIndex = 0;
- this.labelX6.Text = "Z";
- this.labelX6.TextAlignment = System.Drawing.StringAlignment.Center;
- //
- // labelX5
- //
- //
- //
- //
- this.labelX5.BackgroundStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square;
- this.labelX5.Location = new System.Drawing.Point(3, 124);
- this.labelX5.Name = "labelX5";
- this.labelX5.Size = new System.Drawing.Size(75, 23);
- this.labelX5.Style = DevComponents.DotNetBar.eDotNetBarStyle.Office2013;
- this.labelX5.TabIndex = 0;
- this.labelX5.Text = "Y";
- this.labelX5.TextAlignment = System.Drawing.StringAlignment.Center;
- //
- // labelX4
- //
- //
- //
- //
- this.labelX4.BackgroundStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square;
- this.labelX4.Location = new System.Drawing.Point(3, 95);
- this.labelX4.Name = "labelX4";
- this.labelX4.Size = new System.Drawing.Size(75, 23);
- this.labelX4.Style = DevComponents.DotNetBar.eDotNetBarStyle.Office2013;
- this.labelX4.TabIndex = 0;
- this.labelX4.Text = "X";
- this.labelX4.TextAlignment = System.Drawing.StringAlignment.Center;
- //
- // labelX3
- //
- //
- //
- //
- this.labelX3.BackgroundStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square;
- this.labelX3.Location = new System.Drawing.Point(3, 66);
- this.labelX3.Name = "labelX3";
- this.labelX3.Size = new System.Drawing.Size(75, 23);
- this.labelX3.Style = DevComponents.DotNetBar.eDotNetBarStyle.Office2013;
- this.labelX3.TabIndex = 0;
- this.labelX3.Text = "纬度";
- this.labelX3.TextAlignment = System.Drawing.StringAlignment.Center;
- //
- // labelX2
- //
- //
- //
- //
- this.labelX2.BackgroundStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square;
- this.labelX2.Location = new System.Drawing.Point(3, 37);
- this.labelX2.Name = "labelX2";
- this.labelX2.Size = new System.Drawing.Size(75, 23);
- this.labelX2.Style = DevComponents.DotNetBar.eDotNetBarStyle.Office2013;
- this.labelX2.TabIndex = 0;
- this.labelX2.Text = "经度";
- this.labelX2.TextAlignment = System.Drawing.StringAlignment.Center;
- //
- // labelX1
- //
- //
- //
- //
- this.labelX1.BackgroundStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square;
- this.labelX1.Location = new System.Drawing.Point(3, 3);
- this.labelX1.Name = "labelX1";
- this.labelX1.Size = new System.Drawing.Size(194, 23);
- this.labelX1.Style = DevComponents.DotNetBar.eDotNetBarStyle.Office2013;
- this.labelX1.TabIndex = 0;
- this.labelX1.Text = "位置信息";
- this.labelX1.TextAlignment = System.Drawing.StringAlignment.Center;
- //
- // panelEx2
- //
- this.panelEx2.CanvasColor = System.Drawing.SystemColors.Control;
- this.panelEx2.ColorSchemeStyle = DevComponents.DotNetBar.eDotNetBarStyle.StyleManagerControlled;
- this.panelEx2.Controls.Add(this.labelX7);
- this.panelEx2.Controls.Add(this.labelX8);
- this.panelEx2.Controls.Add(this.labelX10);
- this.panelEx2.Controls.Add(this.labelX9);
- this.panelEx2.DisabledBackColor = System.Drawing.Color.Empty;
- this.panelEx2.Location = new System.Drawing.Point(25, 190);
- this.panelEx2.Name = "panelEx2";
- this.panelEx2.Size = new System.Drawing.Size(200, 150);
- this.panelEx2.Style.Alignment = System.Drawing.StringAlignment.Center;
- this.panelEx2.Style.BackColor1.ColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelBackground;
- this.panelEx2.Style.BackColor2.ColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelBackground2;
- this.panelEx2.Style.Border = DevComponents.DotNetBar.eBorderType.SingleLine;
- this.panelEx2.Style.BorderColor.ColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelBorder;
- this.panelEx2.Style.ForeColor.ColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelText;
- this.panelEx2.Style.GradientAngle = 90;
- this.panelEx2.TabIndex = 10;
- //
- // labelX7
- //
- //
- //
- //
- this.labelX7.BackgroundStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square;
- this.labelX7.Location = new System.Drawing.Point(3, 3);
- this.labelX7.Name = "labelX7";
- this.labelX7.Size = new System.Drawing.Size(194, 23);
- this.labelX7.Style = DevComponents.DotNetBar.eDotNetBarStyle.Office2013;
- this.labelX7.TabIndex = 0;
- this.labelX7.Text = "时间信息";
- this.labelX7.TextAlignment = System.Drawing.StringAlignment.Center;
- //
- // labelX8
- //
- //
- //
- //
- this.labelX8.BackgroundStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square;
- this.labelX8.Location = new System.Drawing.Point(3, 41);
- this.labelX8.Name = "labelX8";
- this.labelX8.Size = new System.Drawing.Size(75, 23);
- this.labelX8.Style = DevComponents.DotNetBar.eDotNetBarStyle.Office2013;
- this.labelX8.TabIndex = 0;
- this.labelX8.Text = "日期";
- this.labelX8.TextAlignment = System.Drawing.StringAlignment.Center;
- //
- // labelX10
- //
- //
- //
- //
- this.labelX10.BackgroundStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square;
- this.labelX10.Location = new System.Drawing.Point(3, 99);
- this.labelX10.Name = "labelX10";
- this.labelX10.Size = new System.Drawing.Size(75, 23);
- this.labelX10.Style = DevComponents.DotNetBar.eDotNetBarStyle.Office2013;
- this.labelX10.TabIndex = 0;
- this.labelX10.Text = "MJD";
- this.labelX10.TextAlignment = System.Drawing.StringAlignment.Center;
- //
- // labelX9
- //
- //
- //
- //
- this.labelX9.BackgroundStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square;
- this.labelX9.Location = new System.Drawing.Point(3, 70);
- this.labelX9.Name = "labelX9";
- this.labelX9.Size = new System.Drawing.Size(75, 23);
- this.labelX9.Style = DevComponents.DotNetBar.eDotNetBarStyle.Office2013;
- this.labelX9.TabIndex = 0;
- this.labelX9.Text = "时间";
- this.labelX9.TextAlignment = System.Drawing.StringAlignment.Center;
- //
- // panelEx3
- //
- this.panelEx3.CanvasColor = System.Drawing.SystemColors.Control;
- this.panelEx3.ColorSchemeStyle = DevComponents.DotNetBar.eDotNetBarStyle.StyleManagerControlled;
- this.panelEx3.Controls.Add(this.labelX11);
- this.panelEx3.Controls.Add(this.labelX13);
- this.panelEx3.Controls.Add(this.labelX12);
- this.panelEx3.DisabledBackColor = System.Drawing.Color.Empty;
- this.panelEx3.Location = new System.Drawing.Point(25, 50);
- this.panelEx3.Name = "panelEx3";
- this.panelEx3.Size = new System.Drawing.Size(200, 100);
- this.panelEx3.Style.Alignment = System.Drawing.StringAlignment.Center;
- this.panelEx3.Style.BackColor1.ColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelBackground;
- this.panelEx3.Style.BackColor2.ColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelBackground2;
- this.panelEx3.Style.Border = DevComponents.DotNetBar.eBorderType.SingleLine;
- this.panelEx3.Style.BorderColor.ColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelBorder;
- this.panelEx3.Style.ForeColor.ColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelText;
- this.panelEx3.Style.GradientAngle = 90;
- this.panelEx3.TabIndex = 10;
- //
- // labelX11
- //
- //
- //
- //
- this.labelX11.BackgroundStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square;
- this.labelX11.Location = new System.Drawing.Point(3, 3);
- this.labelX11.Name = "labelX11";
- this.labelX11.Size = new System.Drawing.Size(194, 23);
- this.labelX11.Style = DevComponents.DotNetBar.eDotNetBarStyle.Office2013;
- this.labelX11.TabIndex = 0;
- this.labelX11.Text = "基本信息";
- this.labelX11.TextAlignment = System.Drawing.StringAlignment.Center;
- //
- // labelX13
- //
- //
- //
- //
- this.labelX13.BackgroundStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square;
- this.labelX13.Location = new System.Drawing.Point(3, 32);
- this.labelX13.Name = "labelX13";
- this.labelX13.Size = new System.Drawing.Size(75, 23);
- this.labelX13.Style = DevComponents.DotNetBar.eDotNetBarStyle.Office2013;
- this.labelX13.TabIndex = 0;
- this.labelX13.Text = "原子钟";
- this.labelX13.TextAlignment = System.Drawing.StringAlignment.Center;
- //
- // labelX12
- //
- //
- //
- //
- this.labelX12.BackgroundStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square;
- this.labelX12.Location = new System.Drawing.Point(3, 61);
- this.labelX12.Name = "labelX12";
- this.labelX12.Size = new System.Drawing.Size(75, 23);
- this.labelX12.Style = DevComponents.DotNetBar.eDotNetBarStyle.Office2013;
- this.labelX12.TabIndex = 0;
- this.labelX12.Text = "接收机";
- this.labelX12.TextAlignment = System.Drawing.StringAlignment.Center;
- //
- // panelEx4
- //
- this.panelEx4.CanvasColor = System.Drawing.SystemColors.Control;
- this.panelEx4.ColorSchemeStyle = DevComponents.DotNetBar.eDotNetBarStyle.StyleManagerControlled;
- this.panelEx4.Controls.Add(this.panelEx2);
- this.panelEx4.Controls.Add(this.panelEx1);
- this.panelEx4.Controls.Add(this.panelEx3);
- this.panelEx4.DisabledBackColor = System.Drawing.Color.Empty;
- this.panelEx4.Location = new System.Drawing.Point(0, 0);
- this.panelEx4.Name = "panelEx4";
- this.panelEx4.Size = new System.Drawing.Size(250, 640);
- this.panelEx4.Style.Alignment = System.Drawing.StringAlignment.Center;
- this.panelEx4.Style.BackColor1.ColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelBackground;
- this.panelEx4.Style.BackColor2.ColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelBackground2;
- this.panelEx4.Style.Border = DevComponents.DotNetBar.eBorderType.SingleLine;
- this.panelEx4.Style.BorderColor.ColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelBorder;
- this.panelEx4.Style.ForeColor.ColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelText;
- this.panelEx4.Style.GradientAngle = 90;
- this.panelEx4.TabIndex = 10;
- //
- // dataGridViewX2
- //
- this.dataGridViewX2.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.AutoSize;
- this.dataGridViewX2.Columns.AddRange(new System.Windows.Forms.DataGridViewColumn[] {
- this.Column18,
- this.Column19,
- this.Column20,
- this.Column21,
- this.Column22,
- this.Column23,
- this.Column24,
- this.Column25,
- this.Column26,
- this.Column27,
- this.Column28,
- this.Column29});
- dataGridViewCellStyle2.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleLeft;
- dataGridViewCellStyle2.BackColor = System.Drawing.SystemColors.Window;
- dataGridViewCellStyle2.Font = new System.Drawing.Font("宋体", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
- dataGridViewCellStyle2.ForeColor = System.Drawing.SystemColors.ControlText;
- dataGridViewCellStyle2.SelectionBackColor = System.Drawing.SystemColors.Highlight;
- dataGridViewCellStyle2.SelectionForeColor = System.Drawing.SystemColors.ControlText;
- dataGridViewCellStyle2.WrapMode = System.Windows.Forms.DataGridViewTriState.False;
- this.dataGridViewX2.DefaultCellStyle = dataGridViewCellStyle2;
- this.dataGridViewX2.GridColor = System.Drawing.Color.FromArgb(((int)(((byte)(208)))), ((int)(((byte)(215)))), ((int)(((byte)(229)))));
- this.dataGridViewX2.Location = new System.Drawing.Point(250, 216);
- this.dataGridViewX2.Name = "dataGridViewX2";
- this.dataGridViewX2.Size = new System.Drawing.Size(747, 424);
- this.dataGridViewX2.TabIndex = 15;
- //
- // Column18
- //
- this.Column18.HeaderText = "通道号";
- this.Column18.Name = "Column18";
- //
- // Column19
- //
- this.Column19.HeaderText = "当前状态";
- this.Column19.Name = "Column19";
- //
- // Column20
- //
- this.Column20.HeaderText = "仪器名称";
- this.Column20.Name = "Column20";
- //
- // Column21
- //
- this.Column21.HeaderText = "仪器编号";
- this.Column21.Name = "Column21";
- //
- // Column22
- //
- this.Column22.HeaderText = "客户名称";
- this.Column22.Name = "Column22";
- //
- // Column23
- //
- this.Column23.HeaderText = "开始时间";
- this.Column23.Name = "Column23";
- //
- // Column24
- //
- this.Column24.HeaderText = "结束时间";
- this.Column24.Name = "Column24";
- //
- // Column25
- //
- this.Column25.HeaderText = "频率稳定度";
- this.Column25.Name = "Column25";
- //
- // Column26
- //
- this.Column26.HeaderText = "频率准确度";
- this.Column26.Name = "Column26";
- //
- // Column27
- //
- this.Column27.HeaderText = "开机特性";
- this.Column27.Name = "Column27";
- //
- // Column28
- //
- this.Column28.HeaderText = "日老化率";
- this.Column28.Name = "Column28";
- //
- // Column29
- //
- this.Column29.HeaderText = "频率计数器范围及灵敏度";
- this.Column29.Name = "Column29";
- //
- // buttonX1
- //
- this.buttonX1.AccessibleRole = System.Windows.Forms.AccessibleRole.PushButton;
- this.buttonX1.BackColor = System.Drawing.Color.Transparent;
- this.buttonX1.ColorTable = DevComponents.DotNetBar.eButtonColor.OrangeWithBackground;
- this.buttonX1.Location = new System.Drawing.Point(663, 183);
- this.buttonX1.Name = "buttonX1";
- this.buttonX1.Size = new System.Drawing.Size(30, 23);
- this.buttonX1.Style = DevComponents.DotNetBar.eDotNetBarStyle.StyleManagerControlled;
- this.buttonX1.Symbol = "";
- this.buttonX1.SymbolColor = System.Drawing.Color.FromArgb(((int)(((byte)(64)))), ((int)(((byte)(64)))), ((int)(((byte)(64)))));
- this.buttonX1.SymbolSize = 8F;
- this.buttonX1.TabIndex = 19;
- //
- // buttonX2
- //
- this.buttonX2.AccessibleRole = System.Windows.Forms.AccessibleRole.PushButton;
- this.buttonX2.BackColor = System.Drawing.Color.Transparent;
- this.buttonX2.ColorTable = DevComponents.DotNetBar.eButtonColor.OrangeWithBackground;
- this.buttonX2.Location = new System.Drawing.Point(589, 184);
- this.buttonX2.Name = "buttonX2";
- this.buttonX2.Size = new System.Drawing.Size(30, 23);
- this.buttonX2.Style = DevComponents.DotNetBar.eDotNetBarStyle.StyleManagerControlled;
- this.buttonX2.Symbol = "";
- this.buttonX2.SymbolColor = System.Drawing.Color.FromArgb(((int)(((byte)(64)))), ((int)(((byte)(64)))), ((int)(((byte)(64)))));
- this.buttonX2.SymbolSize = 8F;
- this.buttonX2.TabIndex = 19;
+ this.panel5.BackgroundImage = global::Casic.Birmm.RbFreqStandMeasure.Properties.Resources.bg_dev_channel;
+ this.panel5.Location = new System.Drawing.Point(230, 226);
+ this.panel5.Name = "panel5";
+ this.panel5.Size = new System.Drawing.Size(788, 424);
+ this.panel5.TabIndex = 4;
//
// label1
//
this.label1.BackColor = System.Drawing.Color.Transparent;
- this.label1.Font = new System.Drawing.Font("Times New Roman", 9.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
- this.label1.Location = new System.Drawing.Point(880, 186);
- this.label1.Margin = new System.Windows.Forms.Padding(0);
+ this.label1.Font = new System.Drawing.Font("微软雅黑", 14F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Pixel, ((byte)(134)));
+ this.label1.Location = new System.Drawing.Point(0, 20);
this.label1.Name = "label1";
- this.label1.Size = new System.Drawing.Size(20, 20);
- this.label1.TabIndex = 20;
- this.label1.Text = "1";
+ this.label1.Size = new System.Drawing.Size(224, 25);
+ this.label1.TabIndex = 0;
+ this.label1.Text = "基本信息";
this.label1.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
//
// label2
//
this.label2.BackColor = System.Drawing.Color.Transparent;
- this.label2.Font = new System.Drawing.Font("Times New Roman", 9.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
- this.label2.Location = new System.Drawing.Point(636, 187);
- this.label2.Margin = new System.Windows.Forms.Padding(0);
+ this.label2.Font = new System.Drawing.Font("微软雅黑", 14F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Pixel, ((byte)(134)));
+ this.label2.Location = new System.Drawing.Point(0, 60);
this.label2.Name = "label2";
- this.label2.Size = new System.Drawing.Size(200, 20);
- this.label2.TabIndex = 20;
- this.label2.Text = "共150条,每页5条,共100页";
- this.label2.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
+ this.label2.Size = new System.Drawing.Size(75, 25);
+ this.label2.TabIndex = 1;
+ this.label2.Text = "原子钟";
+ this.label2.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
+ //
+ // label3
+ //
+ this.label3.BackColor = System.Drawing.Color.Transparent;
+ this.label3.Font = new System.Drawing.Font("微软雅黑", 14F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Pixel, ((byte)(134)));
+ this.label3.Location = new System.Drawing.Point(0, 100);
+ this.label3.Name = "label3";
+ this.label3.Size = new System.Drawing.Size(75, 25);
+ this.label3.TabIndex = 1;
+ this.label3.Text = "接收机";
+ this.label3.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
+ //
+ // label4
+ //
+ this.label4.BackColor = System.Drawing.Color.Transparent;
+ this.label4.Font = new System.Drawing.Font("微软雅黑", 14F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Pixel, ((byte)(134)));
+ this.label4.Location = new System.Drawing.Point(0, 20);
+ this.label4.Name = "label4";
+ this.label4.Size = new System.Drawing.Size(224, 25);
+ this.label4.TabIndex = 0;
+ this.label4.Text = "时间信息";
+ this.label4.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
+ //
+ // label5
+ //
+ this.label5.BackColor = System.Drawing.Color.Transparent;
+ this.label5.Font = new System.Drawing.Font("微软雅黑", 14F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Pixel, ((byte)(134)));
+ this.label5.Location = new System.Drawing.Point(0, 60);
+ this.label5.Name = "label5";
+ this.label5.Size = new System.Drawing.Size(75, 25);
+ this.label5.TabIndex = 1;
+ this.label5.Text = "日期";
+ this.label5.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
+ //
+ // label6
+ //
+ this.label6.BackColor = System.Drawing.Color.Transparent;
+ this.label6.Font = new System.Drawing.Font("微软雅黑", 14F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Pixel, ((byte)(134)));
+ this.label6.Location = new System.Drawing.Point(0, 100);
+ this.label6.Name = "label6";
+ this.label6.Size = new System.Drawing.Size(75, 25);
+ this.label6.TabIndex = 1;
+ this.label6.Text = "时间";
+ this.label6.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
+ //
+ // label7
+ //
+ this.label7.BackColor = System.Drawing.Color.Transparent;
+ this.label7.Font = new System.Drawing.Font("微软雅黑", 14F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Pixel, ((byte)(134)));
+ this.label7.Location = new System.Drawing.Point(0, 140);
+ this.label7.Margin = new System.Windows.Forms.Padding(0);
+ this.label7.Name = "label7";
+ this.label7.Size = new System.Drawing.Size(75, 25);
+ this.label7.TabIndex = 1;
+ this.label7.Text = "MJD";
+ this.label7.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
+ //
+ // label8
+ //
+ this.label8.BackColor = System.Drawing.Color.Transparent;
+ this.label8.Font = new System.Drawing.Font("微软雅黑", 14F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Pixel, ((byte)(134)));
+ this.label8.Location = new System.Drawing.Point(0, 20);
+ this.label8.Name = "label8";
+ this.label8.Size = new System.Drawing.Size(224, 25);
+ this.label8.TabIndex = 0;
+ this.label8.Text = "位置信息";
+ this.label8.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
+ //
+ // label9
+ //
+ this.label9.BackColor = System.Drawing.Color.Transparent;
+ this.label9.Font = new System.Drawing.Font("微软雅黑", 14F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Pixel, ((byte)(134)));
+ this.label9.Location = new System.Drawing.Point(0, 60);
+ this.label9.Name = "label9";
+ this.label9.Size = new System.Drawing.Size(75, 25);
+ this.label9.TabIndex = 1;
+ this.label9.Text = "经度";
+ this.label9.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
+ //
+ // label10
+ //
+ this.label10.BackColor = System.Drawing.Color.Transparent;
+ this.label10.Font = new System.Drawing.Font("微软雅黑", 14F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Pixel, ((byte)(134)));
+ this.label10.Location = new System.Drawing.Point(0, 100);
+ this.label10.Margin = new System.Windows.Forms.Padding(0);
+ this.label10.Name = "label10";
+ this.label10.Size = new System.Drawing.Size(75, 25);
+ this.label10.TabIndex = 1;
+ this.label10.Text = "纬度";
+ this.label10.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
+ //
+ // label11
+ //
+ this.label11.BackColor = System.Drawing.Color.Transparent;
+ this.label11.Font = new System.Drawing.Font("微软雅黑", 14F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Pixel, ((byte)(134)));
+ this.label11.Location = new System.Drawing.Point(0, 140);
+ this.label11.Margin = new System.Windows.Forms.Padding(0);
+ this.label11.Name = "label11";
+ this.label11.Size = new System.Drawing.Size(75, 25);
+ this.label11.TabIndex = 1;
+ this.label11.Text = "X";
+ this.label11.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
+ //
+ // label12
+ //
+ this.label12.BackColor = System.Drawing.Color.Transparent;
+ this.label12.Font = new System.Drawing.Font("微软雅黑", 14F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Pixel, ((byte)(134)));
+ this.label12.Location = new System.Drawing.Point(0, 180);
+ this.label12.Margin = new System.Windows.Forms.Padding(0);
+ this.label12.Name = "label12";
+ this.label12.Size = new System.Drawing.Size(75, 25);
+ this.label12.TabIndex = 1;
+ this.label12.Text = "Y";
+ this.label12.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
+ //
+ // label13
+ //
+ this.label13.BackColor = System.Drawing.Color.Transparent;
+ this.label13.Font = new System.Drawing.Font("微软雅黑", 14F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Pixel, ((byte)(134)));
+ this.label13.Location = new System.Drawing.Point(0, 220);
+ this.label13.Margin = new System.Windows.Forms.Padding(0);
+ this.label13.Name = "label13";
+ this.label13.Size = new System.Drawing.Size(75, 25);
+ this.label13.TabIndex = 1;
+ this.label13.Text = "Z";
+ this.label13.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
//
// HomeCtrlForm
//
this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 12F);
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
- this.Controls.Add(this.label1);
- this.Controls.Add(this.label2);
- this.Controls.Add(this.dataGridViewX2);
- this.Controls.Add(this.panelEx4);
- this.Controls.Add(this.panelToBeTested);
+ this.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(232)))), ((int)(((byte)(234)))), ((int)(((byte)(238)))));
+ this.Controls.Add(this.panel5);
+ this.Controls.Add(this.panel4);
+ this.Controls.Add(this.panel3);
+ this.Controls.Add(this.panel2);
+ this.Controls.Add(this.panel1);
this.Margin = new System.Windows.Forms.Padding(0);
this.Name = "HomeCtrlForm";
- this.Size = new System.Drawing.Size(1000, 640);
- this.panelToBeTested.ResumeLayout(false);
- ((System.ComponentModel.ISupportInitialize)(this.dataGridViewX1)).EndInit();
- this.panelEx1.ResumeLayout(false);
- this.panelEx2.ResumeLayout(false);
- this.panelEx3.ResumeLayout(false);
- this.panelEx4.ResumeLayout(false);
- ((System.ComponentModel.ISupportInitialize)(this.dataGridViewX2)).EndInit();
+ this.Size = new System.Drawing.Size(1024, 654);
+ this.panel3.ResumeLayout(false);
+ this.panel2.ResumeLayout(false);
+ this.panel1.ResumeLayout(false);
this.ResumeLayout(false);
}
#endregion
- private System.Windows.Forms.Panel panelToBeTested;
- private DevComponents.DotNetBar.PanelEx panelEx1;
- private DevComponents.DotNetBar.LabelX labelX6;
- private DevComponents.DotNetBar.LabelX labelX5;
- private DevComponents.DotNetBar.LabelX labelX4;
- private DevComponents.DotNetBar.LabelX labelX3;
- private DevComponents.DotNetBar.LabelX labelX2;
- private DevComponents.DotNetBar.LabelX labelX1;
- private DevComponents.DotNetBar.PanelEx panelEx2;
- private DevComponents.DotNetBar.LabelX labelX7;
- private DevComponents.DotNetBar.LabelX labelX8;
- private DevComponents.DotNetBar.LabelX labelX10;
- private DevComponents.DotNetBar.LabelX labelX9;
- private DevComponents.DotNetBar.PanelEx panelEx3;
- private DevComponents.DotNetBar.LabelX labelX11;
- private DevComponents.DotNetBar.LabelX labelX13;
- private DevComponents.DotNetBar.LabelX labelX12;
- private DevComponents.DotNetBar.PanelEx panelEx4;
- private DevComponents.DotNetBar.Controls.DataGridViewX dataGridViewX1;
- private System.Windows.Forms.DataGridViewTextBoxColumn Column13;
- private System.Windows.Forms.DataGridViewTextBoxColumn Column14;
- private System.Windows.Forms.DataGridViewTextBoxColumn Column15;
- private System.Windows.Forms.DataGridViewTextBoxColumn Column16;
- private System.Windows.Forms.DataGridViewTextBoxColumn Column17;
- private DevComponents.DotNetBar.Controls.DataGridViewX dataGridViewX2;
- private System.Windows.Forms.DataGridViewTextBoxColumn Column18;
- private System.Windows.Forms.DataGridViewTextBoxColumn Column19;
- private System.Windows.Forms.DataGridViewTextBoxColumn Column20;
- private System.Windows.Forms.DataGridViewTextBoxColumn Column21;
- private System.Windows.Forms.DataGridViewTextBoxColumn Column22;
- private System.Windows.Forms.DataGridViewTextBoxColumn Column23;
- private System.Windows.Forms.DataGridViewTextBoxColumn Column24;
- private System.Windows.Forms.DataGridViewTextBoxColumn Column25;
- private System.Windows.Forms.DataGridViewTextBoxColumn Column26;
- private System.Windows.Forms.DataGridViewTextBoxColumn Column27;
- private System.Windows.Forms.DataGridViewTextBoxColumn Column28;
- private System.Windows.Forms.DataGridViewTextBoxColumn Column29;
- private DevComponents.DotNetBar.ButtonX buttonX1;
- private DevComponents.DotNetBar.ButtonX buttonX2;
+
+ private System.Windows.Forms.Panel panel1;
+ private System.Windows.Forms.Panel panel2;
+ private System.Windows.Forms.Panel panel3;
+ private System.Windows.Forms.Panel panel4;
+ private System.Windows.Forms.Panel panel5;
private System.Windows.Forms.Label label1;
private System.Windows.Forms.Label label2;
+ private System.Windows.Forms.Label label3;
+ private System.Windows.Forms.Label label4;
+ private System.Windows.Forms.Label label5;
+ private System.Windows.Forms.Label label6;
+ private System.Windows.Forms.Label label7;
+ private System.Windows.Forms.Label label8;
+ private System.Windows.Forms.Label label11;
+ private System.Windows.Forms.Label label9;
+ private System.Windows.Forms.Label label10;
+ private System.Windows.Forms.Label label12;
+ private System.Windows.Forms.Label label13;
}
}
diff --git a/RbFreqStandMeasure/HomeCtrlForm.resx b/RbFreqStandMeasure/HomeCtrlForm.resx
index 6d97f4f..1af7de1 100644
--- a/RbFreqStandMeasure/HomeCtrlForm.resx
+++ b/RbFreqStandMeasure/HomeCtrlForm.resx
@@ -117,55 +117,4 @@
System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
-
- True
-
-
- True
-
-
- True
-
-
- True
-
-
- True
-
-
- True
-
-
- True
-
-
- True
-
-
- True
-
-
- True
-
-
- True
-
-
- True
-
-
- True
-
-
- True
-
-
- True
-
-
- True
-
-
- True
-
\ No newline at end of file
diff --git a/RbFreqStandMeasure/Program.cs b/RbFreqStandMeasure/Program.cs
index 93a83e5..6150917 100644
--- a/RbFreqStandMeasure/Program.cs
+++ b/RbFreqStandMeasure/Program.cs
@@ -1,6 +1,4 @@
using System;
-using System.Collections.Generic;
-using System.Linq;
using System.Windows.Forms;
namespace Casic.Birmm.RbFreqStandMeasure
diff --git a/RbFreqStandMeasure/HomeCtrlForm.Designer.cs b/RbFreqStandMeasure/HomeCtrlForm.Designer.cs
index fb515f8..73e477a 100644
--- a/RbFreqStandMeasure/HomeCtrlForm.Designer.cs
+++ b/RbFreqStandMeasure/HomeCtrlForm.Designer.cs
@@ -29,589 +29,271 @@
///
private void InitializeComponent()
{
- System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle1 = new System.Windows.Forms.DataGridViewCellStyle();
- System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle2 = new System.Windows.Forms.DataGridViewCellStyle();
- this.panelToBeTested = new System.Windows.Forms.Panel();
- this.dataGridViewX1 = new DevComponents.DotNetBar.Controls.DataGridViewX();
- this.Column13 = new System.Windows.Forms.DataGridViewTextBoxColumn();
- this.Column14 = new System.Windows.Forms.DataGridViewTextBoxColumn();
- this.Column15 = new System.Windows.Forms.DataGridViewTextBoxColumn();
- this.Column16 = new System.Windows.Forms.DataGridViewTextBoxColumn();
- this.Column17 = new System.Windows.Forms.DataGridViewTextBoxColumn();
- this.panelEx1 = new DevComponents.DotNetBar.PanelEx();
- this.labelX6 = new DevComponents.DotNetBar.LabelX();
- this.labelX5 = new DevComponents.DotNetBar.LabelX();
- this.labelX4 = new DevComponents.DotNetBar.LabelX();
- this.labelX3 = new DevComponents.DotNetBar.LabelX();
- this.labelX2 = new DevComponents.DotNetBar.LabelX();
- this.labelX1 = new DevComponents.DotNetBar.LabelX();
- this.panelEx2 = new DevComponents.DotNetBar.PanelEx();
- this.labelX7 = new DevComponents.DotNetBar.LabelX();
- this.labelX8 = new DevComponents.DotNetBar.LabelX();
- this.labelX10 = new DevComponents.DotNetBar.LabelX();
- this.labelX9 = new DevComponents.DotNetBar.LabelX();
- this.panelEx3 = new DevComponents.DotNetBar.PanelEx();
- this.labelX11 = new DevComponents.DotNetBar.LabelX();
- this.labelX13 = new DevComponents.DotNetBar.LabelX();
- this.labelX12 = new DevComponents.DotNetBar.LabelX();
- this.panelEx4 = new DevComponents.DotNetBar.PanelEx();
- this.dataGridViewX2 = new DevComponents.DotNetBar.Controls.DataGridViewX();
- this.Column18 = new System.Windows.Forms.DataGridViewTextBoxColumn();
- this.Column19 = new System.Windows.Forms.DataGridViewTextBoxColumn();
- this.Column20 = new System.Windows.Forms.DataGridViewTextBoxColumn();
- this.Column21 = new System.Windows.Forms.DataGridViewTextBoxColumn();
- this.Column22 = new System.Windows.Forms.DataGridViewTextBoxColumn();
- this.Column23 = new System.Windows.Forms.DataGridViewTextBoxColumn();
- this.Column24 = new System.Windows.Forms.DataGridViewTextBoxColumn();
- this.Column25 = new System.Windows.Forms.DataGridViewTextBoxColumn();
- this.Column26 = new System.Windows.Forms.DataGridViewTextBoxColumn();
- this.Column27 = new System.Windows.Forms.DataGridViewTextBoxColumn();
- this.Column28 = new System.Windows.Forms.DataGridViewTextBoxColumn();
- this.Column29 = new System.Windows.Forms.DataGridViewTextBoxColumn();
- this.buttonX1 = new DevComponents.DotNetBar.ButtonX();
- this.buttonX2 = new DevComponents.DotNetBar.ButtonX();
+ this.panel3 = new System.Windows.Forms.Panel();
+ this.panel2 = new System.Windows.Forms.Panel();
+ this.panel1 = new System.Windows.Forms.Panel();
+ this.panel4 = new System.Windows.Forms.Panel();
+ this.panel5 = new System.Windows.Forms.Panel();
this.label1 = new System.Windows.Forms.Label();
this.label2 = new System.Windows.Forms.Label();
- this.panelToBeTested.SuspendLayout();
- ((System.ComponentModel.ISupportInitialize)(this.dataGridViewX1)).BeginInit();
- this.panelEx1.SuspendLayout();
- this.panelEx2.SuspendLayout();
- this.panelEx3.SuspendLayout();
- this.panelEx4.SuspendLayout();
- ((System.ComponentModel.ISupportInitialize)(this.dataGridViewX2)).BeginInit();
+ this.label3 = new System.Windows.Forms.Label();
+ this.label4 = new System.Windows.Forms.Label();
+ this.label5 = new System.Windows.Forms.Label();
+ this.label6 = new System.Windows.Forms.Label();
+ this.label7 = new System.Windows.Forms.Label();
+ this.label8 = new System.Windows.Forms.Label();
+ this.label9 = new System.Windows.Forms.Label();
+ this.label10 = new System.Windows.Forms.Label();
+ this.label11 = new System.Windows.Forms.Label();
+ this.label12 = new System.Windows.Forms.Label();
+ this.label13 = new System.Windows.Forms.Label();
+ this.panel3.SuspendLayout();
+ this.panel2.SuspendLayout();
+ this.panel1.SuspendLayout();
this.SuspendLayout();
//
- // panelToBeTested
+ // panel3
//
- this.panelToBeTested.Controls.Add(this.dataGridViewX1);
- this.panelToBeTested.Controls.Add(this.buttonX2);
- this.panelToBeTested.Controls.Add(this.buttonX1);
- this.panelToBeTested.Location = new System.Drawing.Point(250, 0);
- this.panelToBeTested.Name = "panelToBeTested";
- this.panelToBeTested.Size = new System.Drawing.Size(750, 216);
- this.panelToBeTested.TabIndex = 4;
+ this.panel3.BackgroundImage = global::Casic.Birmm.RbFreqStandMeasure.Properties.Resources.bg_status_location;
+ this.panel3.Controls.Add(this.label8);
+ this.panel3.Controls.Add(this.label13);
+ this.panel3.Controls.Add(this.label12);
+ this.panel3.Controls.Add(this.label11);
+ this.panel3.Controls.Add(this.label9);
+ this.panel3.Controls.Add(this.label10);
+ this.panel3.Location = new System.Drawing.Point(6, 360);
+ this.panel3.Name = "panel3";
+ this.panel3.Size = new System.Drawing.Size(224, 293);
+ this.panel3.TabIndex = 2;
//
- // dataGridViewX1
+ // panel2
//
- this.dataGridViewX1.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.AutoSize;
- this.dataGridViewX1.Columns.AddRange(new System.Windows.Forms.DataGridViewColumn[] {
- this.Column13,
- this.Column14,
- this.Column15,
- this.Column16,
- this.Column17});
- dataGridViewCellStyle1.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleLeft;
- dataGridViewCellStyle1.BackColor = System.Drawing.SystemColors.Window;
- dataGridViewCellStyle1.Font = new System.Drawing.Font("宋体", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
- dataGridViewCellStyle1.ForeColor = System.Drawing.SystemColors.ControlText;
- dataGridViewCellStyle1.SelectionBackColor = System.Drawing.SystemColors.Highlight;
- dataGridViewCellStyle1.SelectionForeColor = System.Drawing.SystemColors.ControlText;
- dataGridViewCellStyle1.WrapMode = System.Windows.Forms.DataGridViewTriState.False;
- this.dataGridViewX1.DefaultCellStyle = dataGridViewCellStyle1;
- this.dataGridViewX1.GridColor = System.Drawing.Color.FromArgb(((int)(((byte)(208)))), ((int)(((byte)(215)))), ((int)(((byte)(229)))));
- this.dataGridViewX1.Location = new System.Drawing.Point(0, 1);
- this.dataGridViewX1.Name = "dataGridViewX1";
- this.dataGridViewX1.RowTemplate.Height = 23;
- this.dataGridViewX1.Size = new System.Drawing.Size(750, 179);
- this.dataGridViewX1.TabIndex = 14;
+ this.panel2.BackgroundImage = global::Casic.Birmm.RbFreqStandMeasure.Properties.Resources.bg_status_time;
+ this.panel2.Controls.Add(this.label4);
+ this.panel2.Controls.Add(this.label7);
+ this.panel2.Controls.Add(this.label6);
+ this.panel2.Controls.Add(this.label5);
+ this.panel2.Location = new System.Drawing.Point(6, 160);
+ this.panel2.Name = "panel2";
+ this.panel2.Size = new System.Drawing.Size(224, 200);
+ this.panel2.TabIndex = 1;
//
- // Column13
+ // panel1
//
- this.Column13.HeaderText = "仪器名称";
- this.Column13.Name = "Column13";
+ this.panel1.BackgroundImage = global::Casic.Birmm.RbFreqStandMeasure.Properties.Resources.bg_status_base;
+ this.panel1.Controls.Add(this.label3);
+ this.panel1.Controls.Add(this.label2);
+ this.panel1.Controls.Add(this.label1);
+ this.panel1.Location = new System.Drawing.Point(6, 0);
+ this.panel1.Margin = new System.Windows.Forms.Padding(0);
+ this.panel1.Name = "panel1";
+ this.panel1.Size = new System.Drawing.Size(224, 160);
+ this.panel1.TabIndex = 0;
//
- // Column14
+ // panel4
//
- this.Column14.HeaderText = "仪器类型";
- this.Column14.Name = "Column14";
+ this.panel4.BackgroundImage = global::Casic.Birmm.RbFreqStandMeasure.Properties.Resources.bg_dev_tested;
+ this.panel4.Location = new System.Drawing.Point(230, 0);
+ this.panel4.Margin = new System.Windows.Forms.Padding(0);
+ this.panel4.Name = "panel4";
+ this.panel4.Size = new System.Drawing.Size(788, 226);
+ this.panel4.TabIndex = 3;
//
- // Column15
+ // panel5
//
- this.Column15.HeaderText = "仪器编号";
- this.Column15.Name = "Column15";
- //
- // Column16
- //
- this.Column16.HeaderText = "客户名称";
- this.Column16.Name = "Column16";
- //
- // Column17
- //
- this.Column17.HeaderText = "开始时间";
- this.Column17.Name = "Column17";
- //
- // panelEx1
- //
- this.panelEx1.CanvasColor = System.Drawing.SystemColors.Control;
- this.panelEx1.ColorSchemeStyle = DevComponents.DotNetBar.eDotNetBarStyle.StyleManagerControlled;
- this.panelEx1.Controls.Add(this.labelX6);
- this.panelEx1.Controls.Add(this.labelX5);
- this.panelEx1.Controls.Add(this.labelX4);
- this.panelEx1.Controls.Add(this.labelX3);
- this.panelEx1.Controls.Add(this.labelX2);
- this.panelEx1.Controls.Add(this.labelX1);
- this.panelEx1.DisabledBackColor = System.Drawing.Color.Empty;
- this.panelEx1.Location = new System.Drawing.Point(25, 376);
- this.panelEx1.Name = "panelEx1";
- this.panelEx1.Size = new System.Drawing.Size(200, 200);
- this.panelEx1.Style.Alignment = System.Drawing.StringAlignment.Center;
- this.panelEx1.Style.BackColor1.ColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelBackground;
- this.panelEx1.Style.BackColor2.ColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelBackground2;
- this.panelEx1.Style.Border = DevComponents.DotNetBar.eBorderType.SingleLine;
- this.panelEx1.Style.BorderColor.ColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelBorder;
- this.panelEx1.Style.ForeColor.ColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelText;
- this.panelEx1.Style.GradientAngle = 90;
- this.panelEx1.TabIndex = 10;
- //
- // labelX6
- //
- //
- //
- //
- this.labelX6.BackgroundStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square;
- this.labelX6.Location = new System.Drawing.Point(3, 153);
- this.labelX6.Name = "labelX6";
- this.labelX6.Size = new System.Drawing.Size(75, 23);
- this.labelX6.Style = DevComponents.DotNetBar.eDotNetBarStyle.Office2013;
- this.labelX6.TabIndex = 0;
- this.labelX6.Text = "Z";
- this.labelX6.TextAlignment = System.Drawing.StringAlignment.Center;
- //
- // labelX5
- //
- //
- //
- //
- this.labelX5.BackgroundStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square;
- this.labelX5.Location = new System.Drawing.Point(3, 124);
- this.labelX5.Name = "labelX5";
- this.labelX5.Size = new System.Drawing.Size(75, 23);
- this.labelX5.Style = DevComponents.DotNetBar.eDotNetBarStyle.Office2013;
- this.labelX5.TabIndex = 0;
- this.labelX5.Text = "Y";
- this.labelX5.TextAlignment = System.Drawing.StringAlignment.Center;
- //
- // labelX4
- //
- //
- //
- //
- this.labelX4.BackgroundStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square;
- this.labelX4.Location = new System.Drawing.Point(3, 95);
- this.labelX4.Name = "labelX4";
- this.labelX4.Size = new System.Drawing.Size(75, 23);
- this.labelX4.Style = DevComponents.DotNetBar.eDotNetBarStyle.Office2013;
- this.labelX4.TabIndex = 0;
- this.labelX4.Text = "X";
- this.labelX4.TextAlignment = System.Drawing.StringAlignment.Center;
- //
- // labelX3
- //
- //
- //
- //
- this.labelX3.BackgroundStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square;
- this.labelX3.Location = new System.Drawing.Point(3, 66);
- this.labelX3.Name = "labelX3";
- this.labelX3.Size = new System.Drawing.Size(75, 23);
- this.labelX3.Style = DevComponents.DotNetBar.eDotNetBarStyle.Office2013;
- this.labelX3.TabIndex = 0;
- this.labelX3.Text = "纬度";
- this.labelX3.TextAlignment = System.Drawing.StringAlignment.Center;
- //
- // labelX2
- //
- //
- //
- //
- this.labelX2.BackgroundStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square;
- this.labelX2.Location = new System.Drawing.Point(3, 37);
- this.labelX2.Name = "labelX2";
- this.labelX2.Size = new System.Drawing.Size(75, 23);
- this.labelX2.Style = DevComponents.DotNetBar.eDotNetBarStyle.Office2013;
- this.labelX2.TabIndex = 0;
- this.labelX2.Text = "经度";
- this.labelX2.TextAlignment = System.Drawing.StringAlignment.Center;
- //
- // labelX1
- //
- //
- //
- //
- this.labelX1.BackgroundStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square;
- this.labelX1.Location = new System.Drawing.Point(3, 3);
- this.labelX1.Name = "labelX1";
- this.labelX1.Size = new System.Drawing.Size(194, 23);
- this.labelX1.Style = DevComponents.DotNetBar.eDotNetBarStyle.Office2013;
- this.labelX1.TabIndex = 0;
- this.labelX1.Text = "位置信息";
- this.labelX1.TextAlignment = System.Drawing.StringAlignment.Center;
- //
- // panelEx2
- //
- this.panelEx2.CanvasColor = System.Drawing.SystemColors.Control;
- this.panelEx2.ColorSchemeStyle = DevComponents.DotNetBar.eDotNetBarStyle.StyleManagerControlled;
- this.panelEx2.Controls.Add(this.labelX7);
- this.panelEx2.Controls.Add(this.labelX8);
- this.panelEx2.Controls.Add(this.labelX10);
- this.panelEx2.Controls.Add(this.labelX9);
- this.panelEx2.DisabledBackColor = System.Drawing.Color.Empty;
- this.panelEx2.Location = new System.Drawing.Point(25, 190);
- this.panelEx2.Name = "panelEx2";
- this.panelEx2.Size = new System.Drawing.Size(200, 150);
- this.panelEx2.Style.Alignment = System.Drawing.StringAlignment.Center;
- this.panelEx2.Style.BackColor1.ColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelBackground;
- this.panelEx2.Style.BackColor2.ColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelBackground2;
- this.panelEx2.Style.Border = DevComponents.DotNetBar.eBorderType.SingleLine;
- this.panelEx2.Style.BorderColor.ColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelBorder;
- this.panelEx2.Style.ForeColor.ColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelText;
- this.panelEx2.Style.GradientAngle = 90;
- this.panelEx2.TabIndex = 10;
- //
- // labelX7
- //
- //
- //
- //
- this.labelX7.BackgroundStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square;
- this.labelX7.Location = new System.Drawing.Point(3, 3);
- this.labelX7.Name = "labelX7";
- this.labelX7.Size = new System.Drawing.Size(194, 23);
- this.labelX7.Style = DevComponents.DotNetBar.eDotNetBarStyle.Office2013;
- this.labelX7.TabIndex = 0;
- this.labelX7.Text = "时间信息";
- this.labelX7.TextAlignment = System.Drawing.StringAlignment.Center;
- //
- // labelX8
- //
- //
- //
- //
- this.labelX8.BackgroundStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square;
- this.labelX8.Location = new System.Drawing.Point(3, 41);
- this.labelX8.Name = "labelX8";
- this.labelX8.Size = new System.Drawing.Size(75, 23);
- this.labelX8.Style = DevComponents.DotNetBar.eDotNetBarStyle.Office2013;
- this.labelX8.TabIndex = 0;
- this.labelX8.Text = "日期";
- this.labelX8.TextAlignment = System.Drawing.StringAlignment.Center;
- //
- // labelX10
- //
- //
- //
- //
- this.labelX10.BackgroundStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square;
- this.labelX10.Location = new System.Drawing.Point(3, 99);
- this.labelX10.Name = "labelX10";
- this.labelX10.Size = new System.Drawing.Size(75, 23);
- this.labelX10.Style = DevComponents.DotNetBar.eDotNetBarStyle.Office2013;
- this.labelX10.TabIndex = 0;
- this.labelX10.Text = "MJD";
- this.labelX10.TextAlignment = System.Drawing.StringAlignment.Center;
- //
- // labelX9
- //
- //
- //
- //
- this.labelX9.BackgroundStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square;
- this.labelX9.Location = new System.Drawing.Point(3, 70);
- this.labelX9.Name = "labelX9";
- this.labelX9.Size = new System.Drawing.Size(75, 23);
- this.labelX9.Style = DevComponents.DotNetBar.eDotNetBarStyle.Office2013;
- this.labelX9.TabIndex = 0;
- this.labelX9.Text = "时间";
- this.labelX9.TextAlignment = System.Drawing.StringAlignment.Center;
- //
- // panelEx3
- //
- this.panelEx3.CanvasColor = System.Drawing.SystemColors.Control;
- this.panelEx3.ColorSchemeStyle = DevComponents.DotNetBar.eDotNetBarStyle.StyleManagerControlled;
- this.panelEx3.Controls.Add(this.labelX11);
- this.panelEx3.Controls.Add(this.labelX13);
- this.panelEx3.Controls.Add(this.labelX12);
- this.panelEx3.DisabledBackColor = System.Drawing.Color.Empty;
- this.panelEx3.Location = new System.Drawing.Point(25, 50);
- this.panelEx3.Name = "panelEx3";
- this.panelEx3.Size = new System.Drawing.Size(200, 100);
- this.panelEx3.Style.Alignment = System.Drawing.StringAlignment.Center;
- this.panelEx3.Style.BackColor1.ColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelBackground;
- this.panelEx3.Style.BackColor2.ColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelBackground2;
- this.panelEx3.Style.Border = DevComponents.DotNetBar.eBorderType.SingleLine;
- this.panelEx3.Style.BorderColor.ColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelBorder;
- this.panelEx3.Style.ForeColor.ColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelText;
- this.panelEx3.Style.GradientAngle = 90;
- this.panelEx3.TabIndex = 10;
- //
- // labelX11
- //
- //
- //
- //
- this.labelX11.BackgroundStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square;
- this.labelX11.Location = new System.Drawing.Point(3, 3);
- this.labelX11.Name = "labelX11";
- this.labelX11.Size = new System.Drawing.Size(194, 23);
- this.labelX11.Style = DevComponents.DotNetBar.eDotNetBarStyle.Office2013;
- this.labelX11.TabIndex = 0;
- this.labelX11.Text = "基本信息";
- this.labelX11.TextAlignment = System.Drawing.StringAlignment.Center;
- //
- // labelX13
- //
- //
- //
- //
- this.labelX13.BackgroundStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square;
- this.labelX13.Location = new System.Drawing.Point(3, 32);
- this.labelX13.Name = "labelX13";
- this.labelX13.Size = new System.Drawing.Size(75, 23);
- this.labelX13.Style = DevComponents.DotNetBar.eDotNetBarStyle.Office2013;
- this.labelX13.TabIndex = 0;
- this.labelX13.Text = "原子钟";
- this.labelX13.TextAlignment = System.Drawing.StringAlignment.Center;
- //
- // labelX12
- //
- //
- //
- //
- this.labelX12.BackgroundStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square;
- this.labelX12.Location = new System.Drawing.Point(3, 61);
- this.labelX12.Name = "labelX12";
- this.labelX12.Size = new System.Drawing.Size(75, 23);
- this.labelX12.Style = DevComponents.DotNetBar.eDotNetBarStyle.Office2013;
- this.labelX12.TabIndex = 0;
- this.labelX12.Text = "接收机";
- this.labelX12.TextAlignment = System.Drawing.StringAlignment.Center;
- //
- // panelEx4
- //
- this.panelEx4.CanvasColor = System.Drawing.SystemColors.Control;
- this.panelEx4.ColorSchemeStyle = DevComponents.DotNetBar.eDotNetBarStyle.StyleManagerControlled;
- this.panelEx4.Controls.Add(this.panelEx2);
- this.panelEx4.Controls.Add(this.panelEx1);
- this.panelEx4.Controls.Add(this.panelEx3);
- this.panelEx4.DisabledBackColor = System.Drawing.Color.Empty;
- this.panelEx4.Location = new System.Drawing.Point(0, 0);
- this.panelEx4.Name = "panelEx4";
- this.panelEx4.Size = new System.Drawing.Size(250, 640);
- this.panelEx4.Style.Alignment = System.Drawing.StringAlignment.Center;
- this.panelEx4.Style.BackColor1.ColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelBackground;
- this.panelEx4.Style.BackColor2.ColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelBackground2;
- this.panelEx4.Style.Border = DevComponents.DotNetBar.eBorderType.SingleLine;
- this.panelEx4.Style.BorderColor.ColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelBorder;
- this.panelEx4.Style.ForeColor.ColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelText;
- this.panelEx4.Style.GradientAngle = 90;
- this.panelEx4.TabIndex = 10;
- //
- // dataGridViewX2
- //
- this.dataGridViewX2.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.AutoSize;
- this.dataGridViewX2.Columns.AddRange(new System.Windows.Forms.DataGridViewColumn[] {
- this.Column18,
- this.Column19,
- this.Column20,
- this.Column21,
- this.Column22,
- this.Column23,
- this.Column24,
- this.Column25,
- this.Column26,
- this.Column27,
- this.Column28,
- this.Column29});
- dataGridViewCellStyle2.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleLeft;
- dataGridViewCellStyle2.BackColor = System.Drawing.SystemColors.Window;
- dataGridViewCellStyle2.Font = new System.Drawing.Font("宋体", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
- dataGridViewCellStyle2.ForeColor = System.Drawing.SystemColors.ControlText;
- dataGridViewCellStyle2.SelectionBackColor = System.Drawing.SystemColors.Highlight;
- dataGridViewCellStyle2.SelectionForeColor = System.Drawing.SystemColors.ControlText;
- dataGridViewCellStyle2.WrapMode = System.Windows.Forms.DataGridViewTriState.False;
- this.dataGridViewX2.DefaultCellStyle = dataGridViewCellStyle2;
- this.dataGridViewX2.GridColor = System.Drawing.Color.FromArgb(((int)(((byte)(208)))), ((int)(((byte)(215)))), ((int)(((byte)(229)))));
- this.dataGridViewX2.Location = new System.Drawing.Point(250, 216);
- this.dataGridViewX2.Name = "dataGridViewX2";
- this.dataGridViewX2.Size = new System.Drawing.Size(747, 424);
- this.dataGridViewX2.TabIndex = 15;
- //
- // Column18
- //
- this.Column18.HeaderText = "通道号";
- this.Column18.Name = "Column18";
- //
- // Column19
- //
- this.Column19.HeaderText = "当前状态";
- this.Column19.Name = "Column19";
- //
- // Column20
- //
- this.Column20.HeaderText = "仪器名称";
- this.Column20.Name = "Column20";
- //
- // Column21
- //
- this.Column21.HeaderText = "仪器编号";
- this.Column21.Name = "Column21";
- //
- // Column22
- //
- this.Column22.HeaderText = "客户名称";
- this.Column22.Name = "Column22";
- //
- // Column23
- //
- this.Column23.HeaderText = "开始时间";
- this.Column23.Name = "Column23";
- //
- // Column24
- //
- this.Column24.HeaderText = "结束时间";
- this.Column24.Name = "Column24";
- //
- // Column25
- //
- this.Column25.HeaderText = "频率稳定度";
- this.Column25.Name = "Column25";
- //
- // Column26
- //
- this.Column26.HeaderText = "频率准确度";
- this.Column26.Name = "Column26";
- //
- // Column27
- //
- this.Column27.HeaderText = "开机特性";
- this.Column27.Name = "Column27";
- //
- // Column28
- //
- this.Column28.HeaderText = "日老化率";
- this.Column28.Name = "Column28";
- //
- // Column29
- //
- this.Column29.HeaderText = "频率计数器范围及灵敏度";
- this.Column29.Name = "Column29";
- //
- // buttonX1
- //
- this.buttonX1.AccessibleRole = System.Windows.Forms.AccessibleRole.PushButton;
- this.buttonX1.BackColor = System.Drawing.Color.Transparent;
- this.buttonX1.ColorTable = DevComponents.DotNetBar.eButtonColor.OrangeWithBackground;
- this.buttonX1.Location = new System.Drawing.Point(663, 183);
- this.buttonX1.Name = "buttonX1";
- this.buttonX1.Size = new System.Drawing.Size(30, 23);
- this.buttonX1.Style = DevComponents.DotNetBar.eDotNetBarStyle.StyleManagerControlled;
- this.buttonX1.Symbol = "";
- this.buttonX1.SymbolColor = System.Drawing.Color.FromArgb(((int)(((byte)(64)))), ((int)(((byte)(64)))), ((int)(((byte)(64)))));
- this.buttonX1.SymbolSize = 8F;
- this.buttonX1.TabIndex = 19;
- //
- // buttonX2
- //
- this.buttonX2.AccessibleRole = System.Windows.Forms.AccessibleRole.PushButton;
- this.buttonX2.BackColor = System.Drawing.Color.Transparent;
- this.buttonX2.ColorTable = DevComponents.DotNetBar.eButtonColor.OrangeWithBackground;
- this.buttonX2.Location = new System.Drawing.Point(589, 184);
- this.buttonX2.Name = "buttonX2";
- this.buttonX2.Size = new System.Drawing.Size(30, 23);
- this.buttonX2.Style = DevComponents.DotNetBar.eDotNetBarStyle.StyleManagerControlled;
- this.buttonX2.Symbol = "";
- this.buttonX2.SymbolColor = System.Drawing.Color.FromArgb(((int)(((byte)(64)))), ((int)(((byte)(64)))), ((int)(((byte)(64)))));
- this.buttonX2.SymbolSize = 8F;
- this.buttonX2.TabIndex = 19;
+ this.panel5.BackgroundImage = global::Casic.Birmm.RbFreqStandMeasure.Properties.Resources.bg_dev_channel;
+ this.panel5.Location = new System.Drawing.Point(230, 226);
+ this.panel5.Name = "panel5";
+ this.panel5.Size = new System.Drawing.Size(788, 424);
+ this.panel5.TabIndex = 4;
//
// label1
//
this.label1.BackColor = System.Drawing.Color.Transparent;
- this.label1.Font = new System.Drawing.Font("Times New Roman", 9.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
- this.label1.Location = new System.Drawing.Point(880, 186);
- this.label1.Margin = new System.Windows.Forms.Padding(0);
+ this.label1.Font = new System.Drawing.Font("微软雅黑", 14F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Pixel, ((byte)(134)));
+ this.label1.Location = new System.Drawing.Point(0, 20);
this.label1.Name = "label1";
- this.label1.Size = new System.Drawing.Size(20, 20);
- this.label1.TabIndex = 20;
- this.label1.Text = "1";
+ this.label1.Size = new System.Drawing.Size(224, 25);
+ this.label1.TabIndex = 0;
+ this.label1.Text = "基本信息";
this.label1.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
//
// label2
//
this.label2.BackColor = System.Drawing.Color.Transparent;
- this.label2.Font = new System.Drawing.Font("Times New Roman", 9.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
- this.label2.Location = new System.Drawing.Point(636, 187);
- this.label2.Margin = new System.Windows.Forms.Padding(0);
+ this.label2.Font = new System.Drawing.Font("微软雅黑", 14F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Pixel, ((byte)(134)));
+ this.label2.Location = new System.Drawing.Point(0, 60);
this.label2.Name = "label2";
- this.label2.Size = new System.Drawing.Size(200, 20);
- this.label2.TabIndex = 20;
- this.label2.Text = "共150条,每页5条,共100页";
- this.label2.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
+ this.label2.Size = new System.Drawing.Size(75, 25);
+ this.label2.TabIndex = 1;
+ this.label2.Text = "原子钟";
+ this.label2.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
+ //
+ // label3
+ //
+ this.label3.BackColor = System.Drawing.Color.Transparent;
+ this.label3.Font = new System.Drawing.Font("微软雅黑", 14F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Pixel, ((byte)(134)));
+ this.label3.Location = new System.Drawing.Point(0, 100);
+ this.label3.Name = "label3";
+ this.label3.Size = new System.Drawing.Size(75, 25);
+ this.label3.TabIndex = 1;
+ this.label3.Text = "接收机";
+ this.label3.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
+ //
+ // label4
+ //
+ this.label4.BackColor = System.Drawing.Color.Transparent;
+ this.label4.Font = new System.Drawing.Font("微软雅黑", 14F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Pixel, ((byte)(134)));
+ this.label4.Location = new System.Drawing.Point(0, 20);
+ this.label4.Name = "label4";
+ this.label4.Size = new System.Drawing.Size(224, 25);
+ this.label4.TabIndex = 0;
+ this.label4.Text = "时间信息";
+ this.label4.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
+ //
+ // label5
+ //
+ this.label5.BackColor = System.Drawing.Color.Transparent;
+ this.label5.Font = new System.Drawing.Font("微软雅黑", 14F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Pixel, ((byte)(134)));
+ this.label5.Location = new System.Drawing.Point(0, 60);
+ this.label5.Name = "label5";
+ this.label5.Size = new System.Drawing.Size(75, 25);
+ this.label5.TabIndex = 1;
+ this.label5.Text = "日期";
+ this.label5.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
+ //
+ // label6
+ //
+ this.label6.BackColor = System.Drawing.Color.Transparent;
+ this.label6.Font = new System.Drawing.Font("微软雅黑", 14F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Pixel, ((byte)(134)));
+ this.label6.Location = new System.Drawing.Point(0, 100);
+ this.label6.Name = "label6";
+ this.label6.Size = new System.Drawing.Size(75, 25);
+ this.label6.TabIndex = 1;
+ this.label6.Text = "时间";
+ this.label6.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
+ //
+ // label7
+ //
+ this.label7.BackColor = System.Drawing.Color.Transparent;
+ this.label7.Font = new System.Drawing.Font("微软雅黑", 14F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Pixel, ((byte)(134)));
+ this.label7.Location = new System.Drawing.Point(0, 140);
+ this.label7.Margin = new System.Windows.Forms.Padding(0);
+ this.label7.Name = "label7";
+ this.label7.Size = new System.Drawing.Size(75, 25);
+ this.label7.TabIndex = 1;
+ this.label7.Text = "MJD";
+ this.label7.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
+ //
+ // label8
+ //
+ this.label8.BackColor = System.Drawing.Color.Transparent;
+ this.label8.Font = new System.Drawing.Font("微软雅黑", 14F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Pixel, ((byte)(134)));
+ this.label8.Location = new System.Drawing.Point(0, 20);
+ this.label8.Name = "label8";
+ this.label8.Size = new System.Drawing.Size(224, 25);
+ this.label8.TabIndex = 0;
+ this.label8.Text = "位置信息";
+ this.label8.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
+ //
+ // label9
+ //
+ this.label9.BackColor = System.Drawing.Color.Transparent;
+ this.label9.Font = new System.Drawing.Font("微软雅黑", 14F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Pixel, ((byte)(134)));
+ this.label9.Location = new System.Drawing.Point(0, 60);
+ this.label9.Name = "label9";
+ this.label9.Size = new System.Drawing.Size(75, 25);
+ this.label9.TabIndex = 1;
+ this.label9.Text = "经度";
+ this.label9.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
+ //
+ // label10
+ //
+ this.label10.BackColor = System.Drawing.Color.Transparent;
+ this.label10.Font = new System.Drawing.Font("微软雅黑", 14F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Pixel, ((byte)(134)));
+ this.label10.Location = new System.Drawing.Point(0, 100);
+ this.label10.Margin = new System.Windows.Forms.Padding(0);
+ this.label10.Name = "label10";
+ this.label10.Size = new System.Drawing.Size(75, 25);
+ this.label10.TabIndex = 1;
+ this.label10.Text = "纬度";
+ this.label10.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
+ //
+ // label11
+ //
+ this.label11.BackColor = System.Drawing.Color.Transparent;
+ this.label11.Font = new System.Drawing.Font("微软雅黑", 14F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Pixel, ((byte)(134)));
+ this.label11.Location = new System.Drawing.Point(0, 140);
+ this.label11.Margin = new System.Windows.Forms.Padding(0);
+ this.label11.Name = "label11";
+ this.label11.Size = new System.Drawing.Size(75, 25);
+ this.label11.TabIndex = 1;
+ this.label11.Text = "X";
+ this.label11.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
+ //
+ // label12
+ //
+ this.label12.BackColor = System.Drawing.Color.Transparent;
+ this.label12.Font = new System.Drawing.Font("微软雅黑", 14F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Pixel, ((byte)(134)));
+ this.label12.Location = new System.Drawing.Point(0, 180);
+ this.label12.Margin = new System.Windows.Forms.Padding(0);
+ this.label12.Name = "label12";
+ this.label12.Size = new System.Drawing.Size(75, 25);
+ this.label12.TabIndex = 1;
+ this.label12.Text = "Y";
+ this.label12.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
+ //
+ // label13
+ //
+ this.label13.BackColor = System.Drawing.Color.Transparent;
+ this.label13.Font = new System.Drawing.Font("微软雅黑", 14F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Pixel, ((byte)(134)));
+ this.label13.Location = new System.Drawing.Point(0, 220);
+ this.label13.Margin = new System.Windows.Forms.Padding(0);
+ this.label13.Name = "label13";
+ this.label13.Size = new System.Drawing.Size(75, 25);
+ this.label13.TabIndex = 1;
+ this.label13.Text = "Z";
+ this.label13.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
//
// HomeCtrlForm
//
this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 12F);
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
- this.Controls.Add(this.label1);
- this.Controls.Add(this.label2);
- this.Controls.Add(this.dataGridViewX2);
- this.Controls.Add(this.panelEx4);
- this.Controls.Add(this.panelToBeTested);
+ this.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(232)))), ((int)(((byte)(234)))), ((int)(((byte)(238)))));
+ this.Controls.Add(this.panel5);
+ this.Controls.Add(this.panel4);
+ this.Controls.Add(this.panel3);
+ this.Controls.Add(this.panel2);
+ this.Controls.Add(this.panel1);
this.Margin = new System.Windows.Forms.Padding(0);
this.Name = "HomeCtrlForm";
- this.Size = new System.Drawing.Size(1000, 640);
- this.panelToBeTested.ResumeLayout(false);
- ((System.ComponentModel.ISupportInitialize)(this.dataGridViewX1)).EndInit();
- this.panelEx1.ResumeLayout(false);
- this.panelEx2.ResumeLayout(false);
- this.panelEx3.ResumeLayout(false);
- this.panelEx4.ResumeLayout(false);
- ((System.ComponentModel.ISupportInitialize)(this.dataGridViewX2)).EndInit();
+ this.Size = new System.Drawing.Size(1024, 654);
+ this.panel3.ResumeLayout(false);
+ this.panel2.ResumeLayout(false);
+ this.panel1.ResumeLayout(false);
this.ResumeLayout(false);
}
#endregion
- private System.Windows.Forms.Panel panelToBeTested;
- private DevComponents.DotNetBar.PanelEx panelEx1;
- private DevComponents.DotNetBar.LabelX labelX6;
- private DevComponents.DotNetBar.LabelX labelX5;
- private DevComponents.DotNetBar.LabelX labelX4;
- private DevComponents.DotNetBar.LabelX labelX3;
- private DevComponents.DotNetBar.LabelX labelX2;
- private DevComponents.DotNetBar.LabelX labelX1;
- private DevComponents.DotNetBar.PanelEx panelEx2;
- private DevComponents.DotNetBar.LabelX labelX7;
- private DevComponents.DotNetBar.LabelX labelX8;
- private DevComponents.DotNetBar.LabelX labelX10;
- private DevComponents.DotNetBar.LabelX labelX9;
- private DevComponents.DotNetBar.PanelEx panelEx3;
- private DevComponents.DotNetBar.LabelX labelX11;
- private DevComponents.DotNetBar.LabelX labelX13;
- private DevComponents.DotNetBar.LabelX labelX12;
- private DevComponents.DotNetBar.PanelEx panelEx4;
- private DevComponents.DotNetBar.Controls.DataGridViewX dataGridViewX1;
- private System.Windows.Forms.DataGridViewTextBoxColumn Column13;
- private System.Windows.Forms.DataGridViewTextBoxColumn Column14;
- private System.Windows.Forms.DataGridViewTextBoxColumn Column15;
- private System.Windows.Forms.DataGridViewTextBoxColumn Column16;
- private System.Windows.Forms.DataGridViewTextBoxColumn Column17;
- private DevComponents.DotNetBar.Controls.DataGridViewX dataGridViewX2;
- private System.Windows.Forms.DataGridViewTextBoxColumn Column18;
- private System.Windows.Forms.DataGridViewTextBoxColumn Column19;
- private System.Windows.Forms.DataGridViewTextBoxColumn Column20;
- private System.Windows.Forms.DataGridViewTextBoxColumn Column21;
- private System.Windows.Forms.DataGridViewTextBoxColumn Column22;
- private System.Windows.Forms.DataGridViewTextBoxColumn Column23;
- private System.Windows.Forms.DataGridViewTextBoxColumn Column24;
- private System.Windows.Forms.DataGridViewTextBoxColumn Column25;
- private System.Windows.Forms.DataGridViewTextBoxColumn Column26;
- private System.Windows.Forms.DataGridViewTextBoxColumn Column27;
- private System.Windows.Forms.DataGridViewTextBoxColumn Column28;
- private System.Windows.Forms.DataGridViewTextBoxColumn Column29;
- private DevComponents.DotNetBar.ButtonX buttonX1;
- private DevComponents.DotNetBar.ButtonX buttonX2;
+
+ private System.Windows.Forms.Panel panel1;
+ private System.Windows.Forms.Panel panel2;
+ private System.Windows.Forms.Panel panel3;
+ private System.Windows.Forms.Panel panel4;
+ private System.Windows.Forms.Panel panel5;
private System.Windows.Forms.Label label1;
private System.Windows.Forms.Label label2;
+ private System.Windows.Forms.Label label3;
+ private System.Windows.Forms.Label label4;
+ private System.Windows.Forms.Label label5;
+ private System.Windows.Forms.Label label6;
+ private System.Windows.Forms.Label label7;
+ private System.Windows.Forms.Label label8;
+ private System.Windows.Forms.Label label11;
+ private System.Windows.Forms.Label label9;
+ private System.Windows.Forms.Label label10;
+ private System.Windows.Forms.Label label12;
+ private System.Windows.Forms.Label label13;
}
}
diff --git a/RbFreqStandMeasure/HomeCtrlForm.resx b/RbFreqStandMeasure/HomeCtrlForm.resx
index 6d97f4f..1af7de1 100644
--- a/RbFreqStandMeasure/HomeCtrlForm.resx
+++ b/RbFreqStandMeasure/HomeCtrlForm.resx
@@ -117,55 +117,4 @@
System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
-
- True
-
-
- True
-
-
- True
-
-
- True
-
-
- True
-
-
- True
-
-
- True
-
-
- True
-
-
- True
-
-
- True
-
-
- True
-
-
- True
-
-
- True
-
-
- True
-
-
- True
-
-
- True
-
-
- True
-
\ No newline at end of file
diff --git a/RbFreqStandMeasure/Program.cs b/RbFreqStandMeasure/Program.cs
index 93a83e5..6150917 100644
--- a/RbFreqStandMeasure/Program.cs
+++ b/RbFreqStandMeasure/Program.cs
@@ -1,6 +1,4 @@
using System;
-using System.Collections.Generic;
-using System.Linq;
using System.Windows.Forms;
namespace Casic.Birmm.RbFreqStandMeasure
diff --git a/RbFreqStandMeasure/Properties/Resources.Designer.cs b/RbFreqStandMeasure/Properties/Resources.Designer.cs
index 253d7d7..d819a23 100644
--- a/RbFreqStandMeasure/Properties/Resources.Designer.cs
+++ b/RbFreqStandMeasure/Properties/Resources.Designer.cs
@@ -73,6 +73,56 @@
///
/// 查找 System.Drawing.Bitmap 类型的本地化资源。
///
+ internal static System.Drawing.Bitmap bg_dev_channel {
+ get {
+ object obj = ResourceManager.GetObject("bg_dev_channel", resourceCulture);
+ return ((System.Drawing.Bitmap)(obj));
+ }
+ }
+
+ ///
+ /// 查找 System.Drawing.Bitmap 类型的本地化资源。
+ ///
+ internal static System.Drawing.Bitmap bg_dev_tested {
+ get {
+ object obj = ResourceManager.GetObject("bg_dev_tested", resourceCulture);
+ return ((System.Drawing.Bitmap)(obj));
+ }
+ }
+
+ ///
+ /// 查找 System.Drawing.Bitmap 类型的本地化资源。
+ ///
+ internal static System.Drawing.Bitmap bg_status_base {
+ get {
+ object obj = ResourceManager.GetObject("bg_status_base", resourceCulture);
+ return ((System.Drawing.Bitmap)(obj));
+ }
+ }
+
+ ///
+ /// 查找 System.Drawing.Bitmap 类型的本地化资源。
+ ///
+ internal static System.Drawing.Bitmap bg_status_location {
+ get {
+ object obj = ResourceManager.GetObject("bg_status_location", resourceCulture);
+ return ((System.Drawing.Bitmap)(obj));
+ }
+ }
+
+ ///
+ /// 查找 System.Drawing.Bitmap 类型的本地化资源。
+ ///
+ internal static System.Drawing.Bitmap bg_status_time {
+ get {
+ object obj = ResourceManager.GetObject("bg_status_time", resourceCulture);
+ return ((System.Drawing.Bitmap)(obj));
+ }
+ }
+
+ ///
+ /// 查找 System.Drawing.Bitmap 类型的本地化资源。
+ ///
internal static System.Drawing.Bitmap bg_white_shadow {
get {
object obj = ResourceManager.GetObject("bg_white_shadow", resourceCulture);
@@ -83,6 +133,66 @@
///
/// 查找 System.Drawing.Bitmap 类型的本地化资源。
///
+ internal static System.Drawing.Bitmap icon_counter {
+ get {
+ object obj = ResourceManager.GetObject("icon_counter", resourceCulture);
+ return ((System.Drawing.Bitmap)(obj));
+ }
+ }
+
+ ///
+ /// 查找 System.Drawing.Bitmap 类型的本地化资源。
+ ///
+ internal static System.Drawing.Bitmap icon_counter_selected {
+ get {
+ object obj = ResourceManager.GetObject("icon_counter_selected", resourceCulture);
+ return ((System.Drawing.Bitmap)(obj));
+ }
+ }
+
+ ///
+ /// 查找 System.Drawing.Bitmap 类型的本地化资源。
+ ///
+ internal static System.Drawing.Bitmap icon_data {
+ get {
+ object obj = ResourceManager.GetObject("icon_data", resourceCulture);
+ return ((System.Drawing.Bitmap)(obj));
+ }
+ }
+
+ ///
+ /// 查找 System.Drawing.Bitmap 类型的本地化资源。
+ ///
+ internal static System.Drawing.Bitmap icon_data_selected {
+ get {
+ object obj = ResourceManager.GetObject("icon_data_selected", resourceCulture);
+ return ((System.Drawing.Bitmap)(obj));
+ }
+ }
+
+ ///
+ /// 查找 System.Drawing.Bitmap 类型的本地化资源。
+ ///
+ internal static System.Drawing.Bitmap icon_dev {
+ get {
+ object obj = ResourceManager.GetObject("icon_dev", resourceCulture);
+ return ((System.Drawing.Bitmap)(obj));
+ }
+ }
+
+ ///
+ /// 查找 System.Drawing.Bitmap 类型的本地化资源。
+ ///
+ internal static System.Drawing.Bitmap icon_dev_selected {
+ get {
+ object obj = ResourceManager.GetObject("icon_dev_selected", resourceCulture);
+ return ((System.Drawing.Bitmap)(obj));
+ }
+ }
+
+ ///
+ /// 查找 System.Drawing.Bitmap 类型的本地化资源。
+ ///
internal static System.Drawing.Bitmap icon_exit {
get {
object obj = ResourceManager.GetObject("icon_exit", resourceCulture);
@@ -113,6 +223,56 @@
///
/// 查找 System.Drawing.Bitmap 类型的本地化资源。
///
+ internal static System.Drawing.Bitmap icon_measure {
+ get {
+ object obj = ResourceManager.GetObject("icon_measure", resourceCulture);
+ return ((System.Drawing.Bitmap)(obj));
+ }
+ }
+
+ ///
+ /// 查找 System.Drawing.Bitmap 类型的本地化资源。
+ ///
+ internal static System.Drawing.Bitmap icon_measure_selected {
+ get {
+ object obj = ResourceManager.GetObject("icon_measure_selected", resourceCulture);
+ return ((System.Drawing.Bitmap)(obj));
+ }
+ }
+
+ ///
+ /// 查找 System.Drawing.Bitmap 类型的本地化资源。
+ ///
+ internal static System.Drawing.Bitmap icon_min {
+ get {
+ object obj = ResourceManager.GetObject("icon_min", resourceCulture);
+ return ((System.Drawing.Bitmap)(obj));
+ }
+ }
+
+ ///
+ /// 查找 System.Drawing.Bitmap 类型的本地化资源。
+ ///
+ internal static System.Drawing.Bitmap icon_setting {
+ get {
+ object obj = ResourceManager.GetObject("icon_setting", resourceCulture);
+ return ((System.Drawing.Bitmap)(obj));
+ }
+ }
+
+ ///
+ /// 查找 System.Drawing.Bitmap 类型的本地化资源。
+ ///
+ internal static System.Drawing.Bitmap icon_setting_selected {
+ get {
+ object obj = ResourceManager.GetObject("icon_setting_selected", resourceCulture);
+ return ((System.Drawing.Bitmap)(obj));
+ }
+ }
+
+ ///
+ /// 查找 System.Drawing.Bitmap 类型的本地化资源。
+ ///
internal static System.Drawing.Bitmap icon_status {
get {
object obj = ResourceManager.GetObject("icon_status", resourceCulture);
diff --git a/RbFreqStandMeasure/HomeCtrlForm.Designer.cs b/RbFreqStandMeasure/HomeCtrlForm.Designer.cs
index fb515f8..73e477a 100644
--- a/RbFreqStandMeasure/HomeCtrlForm.Designer.cs
+++ b/RbFreqStandMeasure/HomeCtrlForm.Designer.cs
@@ -29,589 +29,271 @@
///
private void InitializeComponent()
{
- System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle1 = new System.Windows.Forms.DataGridViewCellStyle();
- System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle2 = new System.Windows.Forms.DataGridViewCellStyle();
- this.panelToBeTested = new System.Windows.Forms.Panel();
- this.dataGridViewX1 = new DevComponents.DotNetBar.Controls.DataGridViewX();
- this.Column13 = new System.Windows.Forms.DataGridViewTextBoxColumn();
- this.Column14 = new System.Windows.Forms.DataGridViewTextBoxColumn();
- this.Column15 = new System.Windows.Forms.DataGridViewTextBoxColumn();
- this.Column16 = new System.Windows.Forms.DataGridViewTextBoxColumn();
- this.Column17 = new System.Windows.Forms.DataGridViewTextBoxColumn();
- this.panelEx1 = new DevComponents.DotNetBar.PanelEx();
- this.labelX6 = new DevComponents.DotNetBar.LabelX();
- this.labelX5 = new DevComponents.DotNetBar.LabelX();
- this.labelX4 = new DevComponents.DotNetBar.LabelX();
- this.labelX3 = new DevComponents.DotNetBar.LabelX();
- this.labelX2 = new DevComponents.DotNetBar.LabelX();
- this.labelX1 = new DevComponents.DotNetBar.LabelX();
- this.panelEx2 = new DevComponents.DotNetBar.PanelEx();
- this.labelX7 = new DevComponents.DotNetBar.LabelX();
- this.labelX8 = new DevComponents.DotNetBar.LabelX();
- this.labelX10 = new DevComponents.DotNetBar.LabelX();
- this.labelX9 = new DevComponents.DotNetBar.LabelX();
- this.panelEx3 = new DevComponents.DotNetBar.PanelEx();
- this.labelX11 = new DevComponents.DotNetBar.LabelX();
- this.labelX13 = new DevComponents.DotNetBar.LabelX();
- this.labelX12 = new DevComponents.DotNetBar.LabelX();
- this.panelEx4 = new DevComponents.DotNetBar.PanelEx();
- this.dataGridViewX2 = new DevComponents.DotNetBar.Controls.DataGridViewX();
- this.Column18 = new System.Windows.Forms.DataGridViewTextBoxColumn();
- this.Column19 = new System.Windows.Forms.DataGridViewTextBoxColumn();
- this.Column20 = new System.Windows.Forms.DataGridViewTextBoxColumn();
- this.Column21 = new System.Windows.Forms.DataGridViewTextBoxColumn();
- this.Column22 = new System.Windows.Forms.DataGridViewTextBoxColumn();
- this.Column23 = new System.Windows.Forms.DataGridViewTextBoxColumn();
- this.Column24 = new System.Windows.Forms.DataGridViewTextBoxColumn();
- this.Column25 = new System.Windows.Forms.DataGridViewTextBoxColumn();
- this.Column26 = new System.Windows.Forms.DataGridViewTextBoxColumn();
- this.Column27 = new System.Windows.Forms.DataGridViewTextBoxColumn();
- this.Column28 = new System.Windows.Forms.DataGridViewTextBoxColumn();
- this.Column29 = new System.Windows.Forms.DataGridViewTextBoxColumn();
- this.buttonX1 = new DevComponents.DotNetBar.ButtonX();
- this.buttonX2 = new DevComponents.DotNetBar.ButtonX();
+ this.panel3 = new System.Windows.Forms.Panel();
+ this.panel2 = new System.Windows.Forms.Panel();
+ this.panel1 = new System.Windows.Forms.Panel();
+ this.panel4 = new System.Windows.Forms.Panel();
+ this.panel5 = new System.Windows.Forms.Panel();
this.label1 = new System.Windows.Forms.Label();
this.label2 = new System.Windows.Forms.Label();
- this.panelToBeTested.SuspendLayout();
- ((System.ComponentModel.ISupportInitialize)(this.dataGridViewX1)).BeginInit();
- this.panelEx1.SuspendLayout();
- this.panelEx2.SuspendLayout();
- this.panelEx3.SuspendLayout();
- this.panelEx4.SuspendLayout();
- ((System.ComponentModel.ISupportInitialize)(this.dataGridViewX2)).BeginInit();
+ this.label3 = new System.Windows.Forms.Label();
+ this.label4 = new System.Windows.Forms.Label();
+ this.label5 = new System.Windows.Forms.Label();
+ this.label6 = new System.Windows.Forms.Label();
+ this.label7 = new System.Windows.Forms.Label();
+ this.label8 = new System.Windows.Forms.Label();
+ this.label9 = new System.Windows.Forms.Label();
+ this.label10 = new System.Windows.Forms.Label();
+ this.label11 = new System.Windows.Forms.Label();
+ this.label12 = new System.Windows.Forms.Label();
+ this.label13 = new System.Windows.Forms.Label();
+ this.panel3.SuspendLayout();
+ this.panel2.SuspendLayout();
+ this.panel1.SuspendLayout();
this.SuspendLayout();
//
- // panelToBeTested
+ // panel3
//
- this.panelToBeTested.Controls.Add(this.dataGridViewX1);
- this.panelToBeTested.Controls.Add(this.buttonX2);
- this.panelToBeTested.Controls.Add(this.buttonX1);
- this.panelToBeTested.Location = new System.Drawing.Point(250, 0);
- this.panelToBeTested.Name = "panelToBeTested";
- this.panelToBeTested.Size = new System.Drawing.Size(750, 216);
- this.panelToBeTested.TabIndex = 4;
+ this.panel3.BackgroundImage = global::Casic.Birmm.RbFreqStandMeasure.Properties.Resources.bg_status_location;
+ this.panel3.Controls.Add(this.label8);
+ this.panel3.Controls.Add(this.label13);
+ this.panel3.Controls.Add(this.label12);
+ this.panel3.Controls.Add(this.label11);
+ this.panel3.Controls.Add(this.label9);
+ this.panel3.Controls.Add(this.label10);
+ this.panel3.Location = new System.Drawing.Point(6, 360);
+ this.panel3.Name = "panel3";
+ this.panel3.Size = new System.Drawing.Size(224, 293);
+ this.panel3.TabIndex = 2;
//
- // dataGridViewX1
+ // panel2
//
- this.dataGridViewX1.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.AutoSize;
- this.dataGridViewX1.Columns.AddRange(new System.Windows.Forms.DataGridViewColumn[] {
- this.Column13,
- this.Column14,
- this.Column15,
- this.Column16,
- this.Column17});
- dataGridViewCellStyle1.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleLeft;
- dataGridViewCellStyle1.BackColor = System.Drawing.SystemColors.Window;
- dataGridViewCellStyle1.Font = new System.Drawing.Font("宋体", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
- dataGridViewCellStyle1.ForeColor = System.Drawing.SystemColors.ControlText;
- dataGridViewCellStyle1.SelectionBackColor = System.Drawing.SystemColors.Highlight;
- dataGridViewCellStyle1.SelectionForeColor = System.Drawing.SystemColors.ControlText;
- dataGridViewCellStyle1.WrapMode = System.Windows.Forms.DataGridViewTriState.False;
- this.dataGridViewX1.DefaultCellStyle = dataGridViewCellStyle1;
- this.dataGridViewX1.GridColor = System.Drawing.Color.FromArgb(((int)(((byte)(208)))), ((int)(((byte)(215)))), ((int)(((byte)(229)))));
- this.dataGridViewX1.Location = new System.Drawing.Point(0, 1);
- this.dataGridViewX1.Name = "dataGridViewX1";
- this.dataGridViewX1.RowTemplate.Height = 23;
- this.dataGridViewX1.Size = new System.Drawing.Size(750, 179);
- this.dataGridViewX1.TabIndex = 14;
+ this.panel2.BackgroundImage = global::Casic.Birmm.RbFreqStandMeasure.Properties.Resources.bg_status_time;
+ this.panel2.Controls.Add(this.label4);
+ this.panel2.Controls.Add(this.label7);
+ this.panel2.Controls.Add(this.label6);
+ this.panel2.Controls.Add(this.label5);
+ this.panel2.Location = new System.Drawing.Point(6, 160);
+ this.panel2.Name = "panel2";
+ this.panel2.Size = new System.Drawing.Size(224, 200);
+ this.panel2.TabIndex = 1;
//
- // Column13
+ // panel1
//
- this.Column13.HeaderText = "仪器名称";
- this.Column13.Name = "Column13";
+ this.panel1.BackgroundImage = global::Casic.Birmm.RbFreqStandMeasure.Properties.Resources.bg_status_base;
+ this.panel1.Controls.Add(this.label3);
+ this.panel1.Controls.Add(this.label2);
+ this.panel1.Controls.Add(this.label1);
+ this.panel1.Location = new System.Drawing.Point(6, 0);
+ this.panel1.Margin = new System.Windows.Forms.Padding(0);
+ this.panel1.Name = "panel1";
+ this.panel1.Size = new System.Drawing.Size(224, 160);
+ this.panel1.TabIndex = 0;
//
- // Column14
+ // panel4
//
- this.Column14.HeaderText = "仪器类型";
- this.Column14.Name = "Column14";
+ this.panel4.BackgroundImage = global::Casic.Birmm.RbFreqStandMeasure.Properties.Resources.bg_dev_tested;
+ this.panel4.Location = new System.Drawing.Point(230, 0);
+ this.panel4.Margin = new System.Windows.Forms.Padding(0);
+ this.panel4.Name = "panel4";
+ this.panel4.Size = new System.Drawing.Size(788, 226);
+ this.panel4.TabIndex = 3;
//
- // Column15
+ // panel5
//
- this.Column15.HeaderText = "仪器编号";
- this.Column15.Name = "Column15";
- //
- // Column16
- //
- this.Column16.HeaderText = "客户名称";
- this.Column16.Name = "Column16";
- //
- // Column17
- //
- this.Column17.HeaderText = "开始时间";
- this.Column17.Name = "Column17";
- //
- // panelEx1
- //
- this.panelEx1.CanvasColor = System.Drawing.SystemColors.Control;
- this.panelEx1.ColorSchemeStyle = DevComponents.DotNetBar.eDotNetBarStyle.StyleManagerControlled;
- this.panelEx1.Controls.Add(this.labelX6);
- this.panelEx1.Controls.Add(this.labelX5);
- this.panelEx1.Controls.Add(this.labelX4);
- this.panelEx1.Controls.Add(this.labelX3);
- this.panelEx1.Controls.Add(this.labelX2);
- this.panelEx1.Controls.Add(this.labelX1);
- this.panelEx1.DisabledBackColor = System.Drawing.Color.Empty;
- this.panelEx1.Location = new System.Drawing.Point(25, 376);
- this.panelEx1.Name = "panelEx1";
- this.panelEx1.Size = new System.Drawing.Size(200, 200);
- this.panelEx1.Style.Alignment = System.Drawing.StringAlignment.Center;
- this.panelEx1.Style.BackColor1.ColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelBackground;
- this.panelEx1.Style.BackColor2.ColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelBackground2;
- this.panelEx1.Style.Border = DevComponents.DotNetBar.eBorderType.SingleLine;
- this.panelEx1.Style.BorderColor.ColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelBorder;
- this.panelEx1.Style.ForeColor.ColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelText;
- this.panelEx1.Style.GradientAngle = 90;
- this.panelEx1.TabIndex = 10;
- //
- // labelX6
- //
- //
- //
- //
- this.labelX6.BackgroundStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square;
- this.labelX6.Location = new System.Drawing.Point(3, 153);
- this.labelX6.Name = "labelX6";
- this.labelX6.Size = new System.Drawing.Size(75, 23);
- this.labelX6.Style = DevComponents.DotNetBar.eDotNetBarStyle.Office2013;
- this.labelX6.TabIndex = 0;
- this.labelX6.Text = "Z";
- this.labelX6.TextAlignment = System.Drawing.StringAlignment.Center;
- //
- // labelX5
- //
- //
- //
- //
- this.labelX5.BackgroundStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square;
- this.labelX5.Location = new System.Drawing.Point(3, 124);
- this.labelX5.Name = "labelX5";
- this.labelX5.Size = new System.Drawing.Size(75, 23);
- this.labelX5.Style = DevComponents.DotNetBar.eDotNetBarStyle.Office2013;
- this.labelX5.TabIndex = 0;
- this.labelX5.Text = "Y";
- this.labelX5.TextAlignment = System.Drawing.StringAlignment.Center;
- //
- // labelX4
- //
- //
- //
- //
- this.labelX4.BackgroundStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square;
- this.labelX4.Location = new System.Drawing.Point(3, 95);
- this.labelX4.Name = "labelX4";
- this.labelX4.Size = new System.Drawing.Size(75, 23);
- this.labelX4.Style = DevComponents.DotNetBar.eDotNetBarStyle.Office2013;
- this.labelX4.TabIndex = 0;
- this.labelX4.Text = "X";
- this.labelX4.TextAlignment = System.Drawing.StringAlignment.Center;
- //
- // labelX3
- //
- //
- //
- //
- this.labelX3.BackgroundStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square;
- this.labelX3.Location = new System.Drawing.Point(3, 66);
- this.labelX3.Name = "labelX3";
- this.labelX3.Size = new System.Drawing.Size(75, 23);
- this.labelX3.Style = DevComponents.DotNetBar.eDotNetBarStyle.Office2013;
- this.labelX3.TabIndex = 0;
- this.labelX3.Text = "纬度";
- this.labelX3.TextAlignment = System.Drawing.StringAlignment.Center;
- //
- // labelX2
- //
- //
- //
- //
- this.labelX2.BackgroundStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square;
- this.labelX2.Location = new System.Drawing.Point(3, 37);
- this.labelX2.Name = "labelX2";
- this.labelX2.Size = new System.Drawing.Size(75, 23);
- this.labelX2.Style = DevComponents.DotNetBar.eDotNetBarStyle.Office2013;
- this.labelX2.TabIndex = 0;
- this.labelX2.Text = "经度";
- this.labelX2.TextAlignment = System.Drawing.StringAlignment.Center;
- //
- // labelX1
- //
- //
- //
- //
- this.labelX1.BackgroundStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square;
- this.labelX1.Location = new System.Drawing.Point(3, 3);
- this.labelX1.Name = "labelX1";
- this.labelX1.Size = new System.Drawing.Size(194, 23);
- this.labelX1.Style = DevComponents.DotNetBar.eDotNetBarStyle.Office2013;
- this.labelX1.TabIndex = 0;
- this.labelX1.Text = "位置信息";
- this.labelX1.TextAlignment = System.Drawing.StringAlignment.Center;
- //
- // panelEx2
- //
- this.panelEx2.CanvasColor = System.Drawing.SystemColors.Control;
- this.panelEx2.ColorSchemeStyle = DevComponents.DotNetBar.eDotNetBarStyle.StyleManagerControlled;
- this.panelEx2.Controls.Add(this.labelX7);
- this.panelEx2.Controls.Add(this.labelX8);
- this.panelEx2.Controls.Add(this.labelX10);
- this.panelEx2.Controls.Add(this.labelX9);
- this.panelEx2.DisabledBackColor = System.Drawing.Color.Empty;
- this.panelEx2.Location = new System.Drawing.Point(25, 190);
- this.panelEx2.Name = "panelEx2";
- this.panelEx2.Size = new System.Drawing.Size(200, 150);
- this.panelEx2.Style.Alignment = System.Drawing.StringAlignment.Center;
- this.panelEx2.Style.BackColor1.ColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelBackground;
- this.panelEx2.Style.BackColor2.ColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelBackground2;
- this.panelEx2.Style.Border = DevComponents.DotNetBar.eBorderType.SingleLine;
- this.panelEx2.Style.BorderColor.ColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelBorder;
- this.panelEx2.Style.ForeColor.ColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelText;
- this.panelEx2.Style.GradientAngle = 90;
- this.panelEx2.TabIndex = 10;
- //
- // labelX7
- //
- //
- //
- //
- this.labelX7.BackgroundStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square;
- this.labelX7.Location = new System.Drawing.Point(3, 3);
- this.labelX7.Name = "labelX7";
- this.labelX7.Size = new System.Drawing.Size(194, 23);
- this.labelX7.Style = DevComponents.DotNetBar.eDotNetBarStyle.Office2013;
- this.labelX7.TabIndex = 0;
- this.labelX7.Text = "时间信息";
- this.labelX7.TextAlignment = System.Drawing.StringAlignment.Center;
- //
- // labelX8
- //
- //
- //
- //
- this.labelX8.BackgroundStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square;
- this.labelX8.Location = new System.Drawing.Point(3, 41);
- this.labelX8.Name = "labelX8";
- this.labelX8.Size = new System.Drawing.Size(75, 23);
- this.labelX8.Style = DevComponents.DotNetBar.eDotNetBarStyle.Office2013;
- this.labelX8.TabIndex = 0;
- this.labelX8.Text = "日期";
- this.labelX8.TextAlignment = System.Drawing.StringAlignment.Center;
- //
- // labelX10
- //
- //
- //
- //
- this.labelX10.BackgroundStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square;
- this.labelX10.Location = new System.Drawing.Point(3, 99);
- this.labelX10.Name = "labelX10";
- this.labelX10.Size = new System.Drawing.Size(75, 23);
- this.labelX10.Style = DevComponents.DotNetBar.eDotNetBarStyle.Office2013;
- this.labelX10.TabIndex = 0;
- this.labelX10.Text = "MJD";
- this.labelX10.TextAlignment = System.Drawing.StringAlignment.Center;
- //
- // labelX9
- //
- //
- //
- //
- this.labelX9.BackgroundStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square;
- this.labelX9.Location = new System.Drawing.Point(3, 70);
- this.labelX9.Name = "labelX9";
- this.labelX9.Size = new System.Drawing.Size(75, 23);
- this.labelX9.Style = DevComponents.DotNetBar.eDotNetBarStyle.Office2013;
- this.labelX9.TabIndex = 0;
- this.labelX9.Text = "时间";
- this.labelX9.TextAlignment = System.Drawing.StringAlignment.Center;
- //
- // panelEx3
- //
- this.panelEx3.CanvasColor = System.Drawing.SystemColors.Control;
- this.panelEx3.ColorSchemeStyle = DevComponents.DotNetBar.eDotNetBarStyle.StyleManagerControlled;
- this.panelEx3.Controls.Add(this.labelX11);
- this.panelEx3.Controls.Add(this.labelX13);
- this.panelEx3.Controls.Add(this.labelX12);
- this.panelEx3.DisabledBackColor = System.Drawing.Color.Empty;
- this.panelEx3.Location = new System.Drawing.Point(25, 50);
- this.panelEx3.Name = "panelEx3";
- this.panelEx3.Size = new System.Drawing.Size(200, 100);
- this.panelEx3.Style.Alignment = System.Drawing.StringAlignment.Center;
- this.panelEx3.Style.BackColor1.ColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelBackground;
- this.panelEx3.Style.BackColor2.ColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelBackground2;
- this.panelEx3.Style.Border = DevComponents.DotNetBar.eBorderType.SingleLine;
- this.panelEx3.Style.BorderColor.ColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelBorder;
- this.panelEx3.Style.ForeColor.ColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelText;
- this.panelEx3.Style.GradientAngle = 90;
- this.panelEx3.TabIndex = 10;
- //
- // labelX11
- //
- //
- //
- //
- this.labelX11.BackgroundStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square;
- this.labelX11.Location = new System.Drawing.Point(3, 3);
- this.labelX11.Name = "labelX11";
- this.labelX11.Size = new System.Drawing.Size(194, 23);
- this.labelX11.Style = DevComponents.DotNetBar.eDotNetBarStyle.Office2013;
- this.labelX11.TabIndex = 0;
- this.labelX11.Text = "基本信息";
- this.labelX11.TextAlignment = System.Drawing.StringAlignment.Center;
- //
- // labelX13
- //
- //
- //
- //
- this.labelX13.BackgroundStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square;
- this.labelX13.Location = new System.Drawing.Point(3, 32);
- this.labelX13.Name = "labelX13";
- this.labelX13.Size = new System.Drawing.Size(75, 23);
- this.labelX13.Style = DevComponents.DotNetBar.eDotNetBarStyle.Office2013;
- this.labelX13.TabIndex = 0;
- this.labelX13.Text = "原子钟";
- this.labelX13.TextAlignment = System.Drawing.StringAlignment.Center;
- //
- // labelX12
- //
- //
- //
- //
- this.labelX12.BackgroundStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square;
- this.labelX12.Location = new System.Drawing.Point(3, 61);
- this.labelX12.Name = "labelX12";
- this.labelX12.Size = new System.Drawing.Size(75, 23);
- this.labelX12.Style = DevComponents.DotNetBar.eDotNetBarStyle.Office2013;
- this.labelX12.TabIndex = 0;
- this.labelX12.Text = "接收机";
- this.labelX12.TextAlignment = System.Drawing.StringAlignment.Center;
- //
- // panelEx4
- //
- this.panelEx4.CanvasColor = System.Drawing.SystemColors.Control;
- this.panelEx4.ColorSchemeStyle = DevComponents.DotNetBar.eDotNetBarStyle.StyleManagerControlled;
- this.panelEx4.Controls.Add(this.panelEx2);
- this.panelEx4.Controls.Add(this.panelEx1);
- this.panelEx4.Controls.Add(this.panelEx3);
- this.panelEx4.DisabledBackColor = System.Drawing.Color.Empty;
- this.panelEx4.Location = new System.Drawing.Point(0, 0);
- this.panelEx4.Name = "panelEx4";
- this.panelEx4.Size = new System.Drawing.Size(250, 640);
- this.panelEx4.Style.Alignment = System.Drawing.StringAlignment.Center;
- this.panelEx4.Style.BackColor1.ColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelBackground;
- this.panelEx4.Style.BackColor2.ColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelBackground2;
- this.panelEx4.Style.Border = DevComponents.DotNetBar.eBorderType.SingleLine;
- this.panelEx4.Style.BorderColor.ColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelBorder;
- this.panelEx4.Style.ForeColor.ColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelText;
- this.panelEx4.Style.GradientAngle = 90;
- this.panelEx4.TabIndex = 10;
- //
- // dataGridViewX2
- //
- this.dataGridViewX2.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.AutoSize;
- this.dataGridViewX2.Columns.AddRange(new System.Windows.Forms.DataGridViewColumn[] {
- this.Column18,
- this.Column19,
- this.Column20,
- this.Column21,
- this.Column22,
- this.Column23,
- this.Column24,
- this.Column25,
- this.Column26,
- this.Column27,
- this.Column28,
- this.Column29});
- dataGridViewCellStyle2.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleLeft;
- dataGridViewCellStyle2.BackColor = System.Drawing.SystemColors.Window;
- dataGridViewCellStyle2.Font = new System.Drawing.Font("宋体", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
- dataGridViewCellStyle2.ForeColor = System.Drawing.SystemColors.ControlText;
- dataGridViewCellStyle2.SelectionBackColor = System.Drawing.SystemColors.Highlight;
- dataGridViewCellStyle2.SelectionForeColor = System.Drawing.SystemColors.ControlText;
- dataGridViewCellStyle2.WrapMode = System.Windows.Forms.DataGridViewTriState.False;
- this.dataGridViewX2.DefaultCellStyle = dataGridViewCellStyle2;
- this.dataGridViewX2.GridColor = System.Drawing.Color.FromArgb(((int)(((byte)(208)))), ((int)(((byte)(215)))), ((int)(((byte)(229)))));
- this.dataGridViewX2.Location = new System.Drawing.Point(250, 216);
- this.dataGridViewX2.Name = "dataGridViewX2";
- this.dataGridViewX2.Size = new System.Drawing.Size(747, 424);
- this.dataGridViewX2.TabIndex = 15;
- //
- // Column18
- //
- this.Column18.HeaderText = "通道号";
- this.Column18.Name = "Column18";
- //
- // Column19
- //
- this.Column19.HeaderText = "当前状态";
- this.Column19.Name = "Column19";
- //
- // Column20
- //
- this.Column20.HeaderText = "仪器名称";
- this.Column20.Name = "Column20";
- //
- // Column21
- //
- this.Column21.HeaderText = "仪器编号";
- this.Column21.Name = "Column21";
- //
- // Column22
- //
- this.Column22.HeaderText = "客户名称";
- this.Column22.Name = "Column22";
- //
- // Column23
- //
- this.Column23.HeaderText = "开始时间";
- this.Column23.Name = "Column23";
- //
- // Column24
- //
- this.Column24.HeaderText = "结束时间";
- this.Column24.Name = "Column24";
- //
- // Column25
- //
- this.Column25.HeaderText = "频率稳定度";
- this.Column25.Name = "Column25";
- //
- // Column26
- //
- this.Column26.HeaderText = "频率准确度";
- this.Column26.Name = "Column26";
- //
- // Column27
- //
- this.Column27.HeaderText = "开机特性";
- this.Column27.Name = "Column27";
- //
- // Column28
- //
- this.Column28.HeaderText = "日老化率";
- this.Column28.Name = "Column28";
- //
- // Column29
- //
- this.Column29.HeaderText = "频率计数器范围及灵敏度";
- this.Column29.Name = "Column29";
- //
- // buttonX1
- //
- this.buttonX1.AccessibleRole = System.Windows.Forms.AccessibleRole.PushButton;
- this.buttonX1.BackColor = System.Drawing.Color.Transparent;
- this.buttonX1.ColorTable = DevComponents.DotNetBar.eButtonColor.OrangeWithBackground;
- this.buttonX1.Location = new System.Drawing.Point(663, 183);
- this.buttonX1.Name = "buttonX1";
- this.buttonX1.Size = new System.Drawing.Size(30, 23);
- this.buttonX1.Style = DevComponents.DotNetBar.eDotNetBarStyle.StyleManagerControlled;
- this.buttonX1.Symbol = "";
- this.buttonX1.SymbolColor = System.Drawing.Color.FromArgb(((int)(((byte)(64)))), ((int)(((byte)(64)))), ((int)(((byte)(64)))));
- this.buttonX1.SymbolSize = 8F;
- this.buttonX1.TabIndex = 19;
- //
- // buttonX2
- //
- this.buttonX2.AccessibleRole = System.Windows.Forms.AccessibleRole.PushButton;
- this.buttonX2.BackColor = System.Drawing.Color.Transparent;
- this.buttonX2.ColorTable = DevComponents.DotNetBar.eButtonColor.OrangeWithBackground;
- this.buttonX2.Location = new System.Drawing.Point(589, 184);
- this.buttonX2.Name = "buttonX2";
- this.buttonX2.Size = new System.Drawing.Size(30, 23);
- this.buttonX2.Style = DevComponents.DotNetBar.eDotNetBarStyle.StyleManagerControlled;
- this.buttonX2.Symbol = "";
- this.buttonX2.SymbolColor = System.Drawing.Color.FromArgb(((int)(((byte)(64)))), ((int)(((byte)(64)))), ((int)(((byte)(64)))));
- this.buttonX2.SymbolSize = 8F;
- this.buttonX2.TabIndex = 19;
+ this.panel5.BackgroundImage = global::Casic.Birmm.RbFreqStandMeasure.Properties.Resources.bg_dev_channel;
+ this.panel5.Location = new System.Drawing.Point(230, 226);
+ this.panel5.Name = "panel5";
+ this.panel5.Size = new System.Drawing.Size(788, 424);
+ this.panel5.TabIndex = 4;
//
// label1
//
this.label1.BackColor = System.Drawing.Color.Transparent;
- this.label1.Font = new System.Drawing.Font("Times New Roman", 9.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
- this.label1.Location = new System.Drawing.Point(880, 186);
- this.label1.Margin = new System.Windows.Forms.Padding(0);
+ this.label1.Font = new System.Drawing.Font("微软雅黑", 14F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Pixel, ((byte)(134)));
+ this.label1.Location = new System.Drawing.Point(0, 20);
this.label1.Name = "label1";
- this.label1.Size = new System.Drawing.Size(20, 20);
- this.label1.TabIndex = 20;
- this.label1.Text = "1";
+ this.label1.Size = new System.Drawing.Size(224, 25);
+ this.label1.TabIndex = 0;
+ this.label1.Text = "基本信息";
this.label1.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
//
// label2
//
this.label2.BackColor = System.Drawing.Color.Transparent;
- this.label2.Font = new System.Drawing.Font("Times New Roman", 9.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
- this.label2.Location = new System.Drawing.Point(636, 187);
- this.label2.Margin = new System.Windows.Forms.Padding(0);
+ this.label2.Font = new System.Drawing.Font("微软雅黑", 14F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Pixel, ((byte)(134)));
+ this.label2.Location = new System.Drawing.Point(0, 60);
this.label2.Name = "label2";
- this.label2.Size = new System.Drawing.Size(200, 20);
- this.label2.TabIndex = 20;
- this.label2.Text = "共150条,每页5条,共100页";
- this.label2.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
+ this.label2.Size = new System.Drawing.Size(75, 25);
+ this.label2.TabIndex = 1;
+ this.label2.Text = "原子钟";
+ this.label2.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
+ //
+ // label3
+ //
+ this.label3.BackColor = System.Drawing.Color.Transparent;
+ this.label3.Font = new System.Drawing.Font("微软雅黑", 14F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Pixel, ((byte)(134)));
+ this.label3.Location = new System.Drawing.Point(0, 100);
+ this.label3.Name = "label3";
+ this.label3.Size = new System.Drawing.Size(75, 25);
+ this.label3.TabIndex = 1;
+ this.label3.Text = "接收机";
+ this.label3.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
+ //
+ // label4
+ //
+ this.label4.BackColor = System.Drawing.Color.Transparent;
+ this.label4.Font = new System.Drawing.Font("微软雅黑", 14F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Pixel, ((byte)(134)));
+ this.label4.Location = new System.Drawing.Point(0, 20);
+ this.label4.Name = "label4";
+ this.label4.Size = new System.Drawing.Size(224, 25);
+ this.label4.TabIndex = 0;
+ this.label4.Text = "时间信息";
+ this.label4.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
+ //
+ // label5
+ //
+ this.label5.BackColor = System.Drawing.Color.Transparent;
+ this.label5.Font = new System.Drawing.Font("微软雅黑", 14F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Pixel, ((byte)(134)));
+ this.label5.Location = new System.Drawing.Point(0, 60);
+ this.label5.Name = "label5";
+ this.label5.Size = new System.Drawing.Size(75, 25);
+ this.label5.TabIndex = 1;
+ this.label5.Text = "日期";
+ this.label5.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
+ //
+ // label6
+ //
+ this.label6.BackColor = System.Drawing.Color.Transparent;
+ this.label6.Font = new System.Drawing.Font("微软雅黑", 14F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Pixel, ((byte)(134)));
+ this.label6.Location = new System.Drawing.Point(0, 100);
+ this.label6.Name = "label6";
+ this.label6.Size = new System.Drawing.Size(75, 25);
+ this.label6.TabIndex = 1;
+ this.label6.Text = "时间";
+ this.label6.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
+ //
+ // label7
+ //
+ this.label7.BackColor = System.Drawing.Color.Transparent;
+ this.label7.Font = new System.Drawing.Font("微软雅黑", 14F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Pixel, ((byte)(134)));
+ this.label7.Location = new System.Drawing.Point(0, 140);
+ this.label7.Margin = new System.Windows.Forms.Padding(0);
+ this.label7.Name = "label7";
+ this.label7.Size = new System.Drawing.Size(75, 25);
+ this.label7.TabIndex = 1;
+ this.label7.Text = "MJD";
+ this.label7.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
+ //
+ // label8
+ //
+ this.label8.BackColor = System.Drawing.Color.Transparent;
+ this.label8.Font = new System.Drawing.Font("微软雅黑", 14F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Pixel, ((byte)(134)));
+ this.label8.Location = new System.Drawing.Point(0, 20);
+ this.label8.Name = "label8";
+ this.label8.Size = new System.Drawing.Size(224, 25);
+ this.label8.TabIndex = 0;
+ this.label8.Text = "位置信息";
+ this.label8.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
+ //
+ // label9
+ //
+ this.label9.BackColor = System.Drawing.Color.Transparent;
+ this.label9.Font = new System.Drawing.Font("微软雅黑", 14F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Pixel, ((byte)(134)));
+ this.label9.Location = new System.Drawing.Point(0, 60);
+ this.label9.Name = "label9";
+ this.label9.Size = new System.Drawing.Size(75, 25);
+ this.label9.TabIndex = 1;
+ this.label9.Text = "经度";
+ this.label9.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
+ //
+ // label10
+ //
+ this.label10.BackColor = System.Drawing.Color.Transparent;
+ this.label10.Font = new System.Drawing.Font("微软雅黑", 14F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Pixel, ((byte)(134)));
+ this.label10.Location = new System.Drawing.Point(0, 100);
+ this.label10.Margin = new System.Windows.Forms.Padding(0);
+ this.label10.Name = "label10";
+ this.label10.Size = new System.Drawing.Size(75, 25);
+ this.label10.TabIndex = 1;
+ this.label10.Text = "纬度";
+ this.label10.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
+ //
+ // label11
+ //
+ this.label11.BackColor = System.Drawing.Color.Transparent;
+ this.label11.Font = new System.Drawing.Font("微软雅黑", 14F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Pixel, ((byte)(134)));
+ this.label11.Location = new System.Drawing.Point(0, 140);
+ this.label11.Margin = new System.Windows.Forms.Padding(0);
+ this.label11.Name = "label11";
+ this.label11.Size = new System.Drawing.Size(75, 25);
+ this.label11.TabIndex = 1;
+ this.label11.Text = "X";
+ this.label11.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
+ //
+ // label12
+ //
+ this.label12.BackColor = System.Drawing.Color.Transparent;
+ this.label12.Font = new System.Drawing.Font("微软雅黑", 14F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Pixel, ((byte)(134)));
+ this.label12.Location = new System.Drawing.Point(0, 180);
+ this.label12.Margin = new System.Windows.Forms.Padding(0);
+ this.label12.Name = "label12";
+ this.label12.Size = new System.Drawing.Size(75, 25);
+ this.label12.TabIndex = 1;
+ this.label12.Text = "Y";
+ this.label12.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
+ //
+ // label13
+ //
+ this.label13.BackColor = System.Drawing.Color.Transparent;
+ this.label13.Font = new System.Drawing.Font("微软雅黑", 14F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Pixel, ((byte)(134)));
+ this.label13.Location = new System.Drawing.Point(0, 220);
+ this.label13.Margin = new System.Windows.Forms.Padding(0);
+ this.label13.Name = "label13";
+ this.label13.Size = new System.Drawing.Size(75, 25);
+ this.label13.TabIndex = 1;
+ this.label13.Text = "Z";
+ this.label13.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
//
// HomeCtrlForm
//
this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 12F);
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
- this.Controls.Add(this.label1);
- this.Controls.Add(this.label2);
- this.Controls.Add(this.dataGridViewX2);
- this.Controls.Add(this.panelEx4);
- this.Controls.Add(this.panelToBeTested);
+ this.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(232)))), ((int)(((byte)(234)))), ((int)(((byte)(238)))));
+ this.Controls.Add(this.panel5);
+ this.Controls.Add(this.panel4);
+ this.Controls.Add(this.panel3);
+ this.Controls.Add(this.panel2);
+ this.Controls.Add(this.panel1);
this.Margin = new System.Windows.Forms.Padding(0);
this.Name = "HomeCtrlForm";
- this.Size = new System.Drawing.Size(1000, 640);
- this.panelToBeTested.ResumeLayout(false);
- ((System.ComponentModel.ISupportInitialize)(this.dataGridViewX1)).EndInit();
- this.panelEx1.ResumeLayout(false);
- this.panelEx2.ResumeLayout(false);
- this.panelEx3.ResumeLayout(false);
- this.panelEx4.ResumeLayout(false);
- ((System.ComponentModel.ISupportInitialize)(this.dataGridViewX2)).EndInit();
+ this.Size = new System.Drawing.Size(1024, 654);
+ this.panel3.ResumeLayout(false);
+ this.panel2.ResumeLayout(false);
+ this.panel1.ResumeLayout(false);
this.ResumeLayout(false);
}
#endregion
- private System.Windows.Forms.Panel panelToBeTested;
- private DevComponents.DotNetBar.PanelEx panelEx1;
- private DevComponents.DotNetBar.LabelX labelX6;
- private DevComponents.DotNetBar.LabelX labelX5;
- private DevComponents.DotNetBar.LabelX labelX4;
- private DevComponents.DotNetBar.LabelX labelX3;
- private DevComponents.DotNetBar.LabelX labelX2;
- private DevComponents.DotNetBar.LabelX labelX1;
- private DevComponents.DotNetBar.PanelEx panelEx2;
- private DevComponents.DotNetBar.LabelX labelX7;
- private DevComponents.DotNetBar.LabelX labelX8;
- private DevComponents.DotNetBar.LabelX labelX10;
- private DevComponents.DotNetBar.LabelX labelX9;
- private DevComponents.DotNetBar.PanelEx panelEx3;
- private DevComponents.DotNetBar.LabelX labelX11;
- private DevComponents.DotNetBar.LabelX labelX13;
- private DevComponents.DotNetBar.LabelX labelX12;
- private DevComponents.DotNetBar.PanelEx panelEx4;
- private DevComponents.DotNetBar.Controls.DataGridViewX dataGridViewX1;
- private System.Windows.Forms.DataGridViewTextBoxColumn Column13;
- private System.Windows.Forms.DataGridViewTextBoxColumn Column14;
- private System.Windows.Forms.DataGridViewTextBoxColumn Column15;
- private System.Windows.Forms.DataGridViewTextBoxColumn Column16;
- private System.Windows.Forms.DataGridViewTextBoxColumn Column17;
- private DevComponents.DotNetBar.Controls.DataGridViewX dataGridViewX2;
- private System.Windows.Forms.DataGridViewTextBoxColumn Column18;
- private System.Windows.Forms.DataGridViewTextBoxColumn Column19;
- private System.Windows.Forms.DataGridViewTextBoxColumn Column20;
- private System.Windows.Forms.DataGridViewTextBoxColumn Column21;
- private System.Windows.Forms.DataGridViewTextBoxColumn Column22;
- private System.Windows.Forms.DataGridViewTextBoxColumn Column23;
- private System.Windows.Forms.DataGridViewTextBoxColumn Column24;
- private System.Windows.Forms.DataGridViewTextBoxColumn Column25;
- private System.Windows.Forms.DataGridViewTextBoxColumn Column26;
- private System.Windows.Forms.DataGridViewTextBoxColumn Column27;
- private System.Windows.Forms.DataGridViewTextBoxColumn Column28;
- private System.Windows.Forms.DataGridViewTextBoxColumn Column29;
- private DevComponents.DotNetBar.ButtonX buttonX1;
- private DevComponents.DotNetBar.ButtonX buttonX2;
+
+ private System.Windows.Forms.Panel panel1;
+ private System.Windows.Forms.Panel panel2;
+ private System.Windows.Forms.Panel panel3;
+ private System.Windows.Forms.Panel panel4;
+ private System.Windows.Forms.Panel panel5;
private System.Windows.Forms.Label label1;
private System.Windows.Forms.Label label2;
+ private System.Windows.Forms.Label label3;
+ private System.Windows.Forms.Label label4;
+ private System.Windows.Forms.Label label5;
+ private System.Windows.Forms.Label label6;
+ private System.Windows.Forms.Label label7;
+ private System.Windows.Forms.Label label8;
+ private System.Windows.Forms.Label label11;
+ private System.Windows.Forms.Label label9;
+ private System.Windows.Forms.Label label10;
+ private System.Windows.Forms.Label label12;
+ private System.Windows.Forms.Label label13;
}
}
diff --git a/RbFreqStandMeasure/HomeCtrlForm.resx b/RbFreqStandMeasure/HomeCtrlForm.resx
index 6d97f4f..1af7de1 100644
--- a/RbFreqStandMeasure/HomeCtrlForm.resx
+++ b/RbFreqStandMeasure/HomeCtrlForm.resx
@@ -117,55 +117,4 @@
System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
-
- True
-
-
- True
-
-
- True
-
-
- True
-
-
- True
-
-
- True
-
-
- True
-
-
- True
-
-
- True
-
-
- True
-
-
- True
-
-
- True
-
-
- True
-
-
- True
-
-
- True
-
-
- True
-
-
- True
-
\ No newline at end of file
diff --git a/RbFreqStandMeasure/Program.cs b/RbFreqStandMeasure/Program.cs
index 93a83e5..6150917 100644
--- a/RbFreqStandMeasure/Program.cs
+++ b/RbFreqStandMeasure/Program.cs
@@ -1,6 +1,4 @@
using System;
-using System.Collections.Generic;
-using System.Linq;
using System.Windows.Forms;
namespace Casic.Birmm.RbFreqStandMeasure
diff --git a/RbFreqStandMeasure/Properties/Resources.Designer.cs b/RbFreqStandMeasure/Properties/Resources.Designer.cs
index 253d7d7..d819a23 100644
--- a/RbFreqStandMeasure/Properties/Resources.Designer.cs
+++ b/RbFreqStandMeasure/Properties/Resources.Designer.cs
@@ -73,6 +73,56 @@
///
/// 查找 System.Drawing.Bitmap 类型的本地化资源。
///
+ internal static System.Drawing.Bitmap bg_dev_channel {
+ get {
+ object obj = ResourceManager.GetObject("bg_dev_channel", resourceCulture);
+ return ((System.Drawing.Bitmap)(obj));
+ }
+ }
+
+ ///
+ /// 查找 System.Drawing.Bitmap 类型的本地化资源。
+ ///
+ internal static System.Drawing.Bitmap bg_dev_tested {
+ get {
+ object obj = ResourceManager.GetObject("bg_dev_tested", resourceCulture);
+ return ((System.Drawing.Bitmap)(obj));
+ }
+ }
+
+ ///
+ /// 查找 System.Drawing.Bitmap 类型的本地化资源。
+ ///
+ internal static System.Drawing.Bitmap bg_status_base {
+ get {
+ object obj = ResourceManager.GetObject("bg_status_base", resourceCulture);
+ return ((System.Drawing.Bitmap)(obj));
+ }
+ }
+
+ ///
+ /// 查找 System.Drawing.Bitmap 类型的本地化资源。
+ ///
+ internal static System.Drawing.Bitmap bg_status_location {
+ get {
+ object obj = ResourceManager.GetObject("bg_status_location", resourceCulture);
+ return ((System.Drawing.Bitmap)(obj));
+ }
+ }
+
+ ///
+ /// 查找 System.Drawing.Bitmap 类型的本地化资源。
+ ///
+ internal static System.Drawing.Bitmap bg_status_time {
+ get {
+ object obj = ResourceManager.GetObject("bg_status_time", resourceCulture);
+ return ((System.Drawing.Bitmap)(obj));
+ }
+ }
+
+ ///
+ /// 查找 System.Drawing.Bitmap 类型的本地化资源。
+ ///
internal static System.Drawing.Bitmap bg_white_shadow {
get {
object obj = ResourceManager.GetObject("bg_white_shadow", resourceCulture);
@@ -83,6 +133,66 @@
///
/// 查找 System.Drawing.Bitmap 类型的本地化资源。
///
+ internal static System.Drawing.Bitmap icon_counter {
+ get {
+ object obj = ResourceManager.GetObject("icon_counter", resourceCulture);
+ return ((System.Drawing.Bitmap)(obj));
+ }
+ }
+
+ ///
+ /// 查找 System.Drawing.Bitmap 类型的本地化资源。
+ ///
+ internal static System.Drawing.Bitmap icon_counter_selected {
+ get {
+ object obj = ResourceManager.GetObject("icon_counter_selected", resourceCulture);
+ return ((System.Drawing.Bitmap)(obj));
+ }
+ }
+
+ ///
+ /// 查找 System.Drawing.Bitmap 类型的本地化资源。
+ ///
+ internal static System.Drawing.Bitmap icon_data {
+ get {
+ object obj = ResourceManager.GetObject("icon_data", resourceCulture);
+ return ((System.Drawing.Bitmap)(obj));
+ }
+ }
+
+ ///
+ /// 查找 System.Drawing.Bitmap 类型的本地化资源。
+ ///
+ internal static System.Drawing.Bitmap icon_data_selected {
+ get {
+ object obj = ResourceManager.GetObject("icon_data_selected", resourceCulture);
+ return ((System.Drawing.Bitmap)(obj));
+ }
+ }
+
+ ///
+ /// 查找 System.Drawing.Bitmap 类型的本地化资源。
+ ///
+ internal static System.Drawing.Bitmap icon_dev {
+ get {
+ object obj = ResourceManager.GetObject("icon_dev", resourceCulture);
+ return ((System.Drawing.Bitmap)(obj));
+ }
+ }
+
+ ///
+ /// 查找 System.Drawing.Bitmap 类型的本地化资源。
+ ///
+ internal static System.Drawing.Bitmap icon_dev_selected {
+ get {
+ object obj = ResourceManager.GetObject("icon_dev_selected", resourceCulture);
+ return ((System.Drawing.Bitmap)(obj));
+ }
+ }
+
+ ///
+ /// 查找 System.Drawing.Bitmap 类型的本地化资源。
+ ///
internal static System.Drawing.Bitmap icon_exit {
get {
object obj = ResourceManager.GetObject("icon_exit", resourceCulture);
@@ -113,6 +223,56 @@
///
/// 查找 System.Drawing.Bitmap 类型的本地化资源。
///
+ internal static System.Drawing.Bitmap icon_measure {
+ get {
+ object obj = ResourceManager.GetObject("icon_measure", resourceCulture);
+ return ((System.Drawing.Bitmap)(obj));
+ }
+ }
+
+ ///
+ /// 查找 System.Drawing.Bitmap 类型的本地化资源。
+ ///
+ internal static System.Drawing.Bitmap icon_measure_selected {
+ get {
+ object obj = ResourceManager.GetObject("icon_measure_selected", resourceCulture);
+ return ((System.Drawing.Bitmap)(obj));
+ }
+ }
+
+ ///
+ /// 查找 System.Drawing.Bitmap 类型的本地化资源。
+ ///
+ internal static System.Drawing.Bitmap icon_min {
+ get {
+ object obj = ResourceManager.GetObject("icon_min", resourceCulture);
+ return ((System.Drawing.Bitmap)(obj));
+ }
+ }
+
+ ///
+ /// 查找 System.Drawing.Bitmap 类型的本地化资源。
+ ///
+ internal static System.Drawing.Bitmap icon_setting {
+ get {
+ object obj = ResourceManager.GetObject("icon_setting", resourceCulture);
+ return ((System.Drawing.Bitmap)(obj));
+ }
+ }
+
+ ///
+ /// 查找 System.Drawing.Bitmap 类型的本地化资源。
+ ///
+ internal static System.Drawing.Bitmap icon_setting_selected {
+ get {
+ object obj = ResourceManager.GetObject("icon_setting_selected", resourceCulture);
+ return ((System.Drawing.Bitmap)(obj));
+ }
+ }
+
+ ///
+ /// 查找 System.Drawing.Bitmap 类型的本地化资源。
+ ///
internal static System.Drawing.Bitmap icon_status {
get {
object obj = ResourceManager.GetObject("icon_status", resourceCulture);
diff --git a/RbFreqStandMeasure/Properties/Resources.resx b/RbFreqStandMeasure/Properties/Resources.resx
index e781bb7..cfdb255 100644
--- a/RbFreqStandMeasure/Properties/Resources.resx
+++ b/RbFreqStandMeasure/Properties/Resources.resx
@@ -118,25 +118,73 @@
System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
-
- ..\res\images\icon_exit.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
+
+ ..\res\images\icon_counter_selected.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
-
- ..\res\images\bg_white_shadow.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
+
+ ..\res\images\icon_dev_selected.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
+
+
+ ..\res\images\icon_status_selected.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
+
+
+ ..\res\images\icon_data_selected.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
..\res\images\icon_home_selected.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
-
- ..\res\images\bg_banner.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
-
-
- ..\res\images\icon_home.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
+
+ ..\res\images\icon_exit.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
..\res\images\icon_status.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
-
- ..\res\images\icon_status_selected.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
+
+ ..\res\images\icon_data.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
+
+
+ ..\res\images\icon_setting.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
+
+
+ ..\res\images\icon_measure_selected.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
+
+
+ ..\res\images\bg_banner.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
+
+
+ ..\res\images\icon_setting_selected.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
+
+
+ ..\res\images\icon_dev.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
+
+
+ ..\res\images\icon_counter.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
+
+
+ ..\res\images\icon_measure.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
+
+
+ ..\res\images\icon_home.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
+
+
+ ..\res\images\bg_white_shadow.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
+
+
+ ..\res\images\icon_min.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
+
+
+ ..\res\images\bg_status_base.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
+
+
+ ..\res\images\bg_status_location.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
+
+
+ ..\res\images\bg_status_time.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
+
+
+ ..\res\images\bg_dev_channel.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
+
+
+ ..\res\images\bg_dev_tested.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
\ No newline at end of file
diff --git a/RbFreqStandMeasure/HomeCtrlForm.Designer.cs b/RbFreqStandMeasure/HomeCtrlForm.Designer.cs
index fb515f8..73e477a 100644
--- a/RbFreqStandMeasure/HomeCtrlForm.Designer.cs
+++ b/RbFreqStandMeasure/HomeCtrlForm.Designer.cs
@@ -29,589 +29,271 @@
///
private void InitializeComponent()
{
- System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle1 = new System.Windows.Forms.DataGridViewCellStyle();
- System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle2 = new System.Windows.Forms.DataGridViewCellStyle();
- this.panelToBeTested = new System.Windows.Forms.Panel();
- this.dataGridViewX1 = new DevComponents.DotNetBar.Controls.DataGridViewX();
- this.Column13 = new System.Windows.Forms.DataGridViewTextBoxColumn();
- this.Column14 = new System.Windows.Forms.DataGridViewTextBoxColumn();
- this.Column15 = new System.Windows.Forms.DataGridViewTextBoxColumn();
- this.Column16 = new System.Windows.Forms.DataGridViewTextBoxColumn();
- this.Column17 = new System.Windows.Forms.DataGridViewTextBoxColumn();
- this.panelEx1 = new DevComponents.DotNetBar.PanelEx();
- this.labelX6 = new DevComponents.DotNetBar.LabelX();
- this.labelX5 = new DevComponents.DotNetBar.LabelX();
- this.labelX4 = new DevComponents.DotNetBar.LabelX();
- this.labelX3 = new DevComponents.DotNetBar.LabelX();
- this.labelX2 = new DevComponents.DotNetBar.LabelX();
- this.labelX1 = new DevComponents.DotNetBar.LabelX();
- this.panelEx2 = new DevComponents.DotNetBar.PanelEx();
- this.labelX7 = new DevComponents.DotNetBar.LabelX();
- this.labelX8 = new DevComponents.DotNetBar.LabelX();
- this.labelX10 = new DevComponents.DotNetBar.LabelX();
- this.labelX9 = new DevComponents.DotNetBar.LabelX();
- this.panelEx3 = new DevComponents.DotNetBar.PanelEx();
- this.labelX11 = new DevComponents.DotNetBar.LabelX();
- this.labelX13 = new DevComponents.DotNetBar.LabelX();
- this.labelX12 = new DevComponents.DotNetBar.LabelX();
- this.panelEx4 = new DevComponents.DotNetBar.PanelEx();
- this.dataGridViewX2 = new DevComponents.DotNetBar.Controls.DataGridViewX();
- this.Column18 = new System.Windows.Forms.DataGridViewTextBoxColumn();
- this.Column19 = new System.Windows.Forms.DataGridViewTextBoxColumn();
- this.Column20 = new System.Windows.Forms.DataGridViewTextBoxColumn();
- this.Column21 = new System.Windows.Forms.DataGridViewTextBoxColumn();
- this.Column22 = new System.Windows.Forms.DataGridViewTextBoxColumn();
- this.Column23 = new System.Windows.Forms.DataGridViewTextBoxColumn();
- this.Column24 = new System.Windows.Forms.DataGridViewTextBoxColumn();
- this.Column25 = new System.Windows.Forms.DataGridViewTextBoxColumn();
- this.Column26 = new System.Windows.Forms.DataGridViewTextBoxColumn();
- this.Column27 = new System.Windows.Forms.DataGridViewTextBoxColumn();
- this.Column28 = new System.Windows.Forms.DataGridViewTextBoxColumn();
- this.Column29 = new System.Windows.Forms.DataGridViewTextBoxColumn();
- this.buttonX1 = new DevComponents.DotNetBar.ButtonX();
- this.buttonX2 = new DevComponents.DotNetBar.ButtonX();
+ this.panel3 = new System.Windows.Forms.Panel();
+ this.panel2 = new System.Windows.Forms.Panel();
+ this.panel1 = new System.Windows.Forms.Panel();
+ this.panel4 = new System.Windows.Forms.Panel();
+ this.panel5 = new System.Windows.Forms.Panel();
this.label1 = new System.Windows.Forms.Label();
this.label2 = new System.Windows.Forms.Label();
- this.panelToBeTested.SuspendLayout();
- ((System.ComponentModel.ISupportInitialize)(this.dataGridViewX1)).BeginInit();
- this.panelEx1.SuspendLayout();
- this.panelEx2.SuspendLayout();
- this.panelEx3.SuspendLayout();
- this.panelEx4.SuspendLayout();
- ((System.ComponentModel.ISupportInitialize)(this.dataGridViewX2)).BeginInit();
+ this.label3 = new System.Windows.Forms.Label();
+ this.label4 = new System.Windows.Forms.Label();
+ this.label5 = new System.Windows.Forms.Label();
+ this.label6 = new System.Windows.Forms.Label();
+ this.label7 = new System.Windows.Forms.Label();
+ this.label8 = new System.Windows.Forms.Label();
+ this.label9 = new System.Windows.Forms.Label();
+ this.label10 = new System.Windows.Forms.Label();
+ this.label11 = new System.Windows.Forms.Label();
+ this.label12 = new System.Windows.Forms.Label();
+ this.label13 = new System.Windows.Forms.Label();
+ this.panel3.SuspendLayout();
+ this.panel2.SuspendLayout();
+ this.panel1.SuspendLayout();
this.SuspendLayout();
//
- // panelToBeTested
+ // panel3
//
- this.panelToBeTested.Controls.Add(this.dataGridViewX1);
- this.panelToBeTested.Controls.Add(this.buttonX2);
- this.panelToBeTested.Controls.Add(this.buttonX1);
- this.panelToBeTested.Location = new System.Drawing.Point(250, 0);
- this.panelToBeTested.Name = "panelToBeTested";
- this.panelToBeTested.Size = new System.Drawing.Size(750, 216);
- this.panelToBeTested.TabIndex = 4;
+ this.panel3.BackgroundImage = global::Casic.Birmm.RbFreqStandMeasure.Properties.Resources.bg_status_location;
+ this.panel3.Controls.Add(this.label8);
+ this.panel3.Controls.Add(this.label13);
+ this.panel3.Controls.Add(this.label12);
+ this.panel3.Controls.Add(this.label11);
+ this.panel3.Controls.Add(this.label9);
+ this.panel3.Controls.Add(this.label10);
+ this.panel3.Location = new System.Drawing.Point(6, 360);
+ this.panel3.Name = "panel3";
+ this.panel3.Size = new System.Drawing.Size(224, 293);
+ this.panel3.TabIndex = 2;
//
- // dataGridViewX1
+ // panel2
//
- this.dataGridViewX1.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.AutoSize;
- this.dataGridViewX1.Columns.AddRange(new System.Windows.Forms.DataGridViewColumn[] {
- this.Column13,
- this.Column14,
- this.Column15,
- this.Column16,
- this.Column17});
- dataGridViewCellStyle1.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleLeft;
- dataGridViewCellStyle1.BackColor = System.Drawing.SystemColors.Window;
- dataGridViewCellStyle1.Font = new System.Drawing.Font("宋体", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
- dataGridViewCellStyle1.ForeColor = System.Drawing.SystemColors.ControlText;
- dataGridViewCellStyle1.SelectionBackColor = System.Drawing.SystemColors.Highlight;
- dataGridViewCellStyle1.SelectionForeColor = System.Drawing.SystemColors.ControlText;
- dataGridViewCellStyle1.WrapMode = System.Windows.Forms.DataGridViewTriState.False;
- this.dataGridViewX1.DefaultCellStyle = dataGridViewCellStyle1;
- this.dataGridViewX1.GridColor = System.Drawing.Color.FromArgb(((int)(((byte)(208)))), ((int)(((byte)(215)))), ((int)(((byte)(229)))));
- this.dataGridViewX1.Location = new System.Drawing.Point(0, 1);
- this.dataGridViewX1.Name = "dataGridViewX1";
- this.dataGridViewX1.RowTemplate.Height = 23;
- this.dataGridViewX1.Size = new System.Drawing.Size(750, 179);
- this.dataGridViewX1.TabIndex = 14;
+ this.panel2.BackgroundImage = global::Casic.Birmm.RbFreqStandMeasure.Properties.Resources.bg_status_time;
+ this.panel2.Controls.Add(this.label4);
+ this.panel2.Controls.Add(this.label7);
+ this.panel2.Controls.Add(this.label6);
+ this.panel2.Controls.Add(this.label5);
+ this.panel2.Location = new System.Drawing.Point(6, 160);
+ this.panel2.Name = "panel2";
+ this.panel2.Size = new System.Drawing.Size(224, 200);
+ this.panel2.TabIndex = 1;
//
- // Column13
+ // panel1
//
- this.Column13.HeaderText = "仪器名称";
- this.Column13.Name = "Column13";
+ this.panel1.BackgroundImage = global::Casic.Birmm.RbFreqStandMeasure.Properties.Resources.bg_status_base;
+ this.panel1.Controls.Add(this.label3);
+ this.panel1.Controls.Add(this.label2);
+ this.panel1.Controls.Add(this.label1);
+ this.panel1.Location = new System.Drawing.Point(6, 0);
+ this.panel1.Margin = new System.Windows.Forms.Padding(0);
+ this.panel1.Name = "panel1";
+ this.panel1.Size = new System.Drawing.Size(224, 160);
+ this.panel1.TabIndex = 0;
//
- // Column14
+ // panel4
//
- this.Column14.HeaderText = "仪器类型";
- this.Column14.Name = "Column14";
+ this.panel4.BackgroundImage = global::Casic.Birmm.RbFreqStandMeasure.Properties.Resources.bg_dev_tested;
+ this.panel4.Location = new System.Drawing.Point(230, 0);
+ this.panel4.Margin = new System.Windows.Forms.Padding(0);
+ this.panel4.Name = "panel4";
+ this.panel4.Size = new System.Drawing.Size(788, 226);
+ this.panel4.TabIndex = 3;
//
- // Column15
+ // panel5
//
- this.Column15.HeaderText = "仪器编号";
- this.Column15.Name = "Column15";
- //
- // Column16
- //
- this.Column16.HeaderText = "客户名称";
- this.Column16.Name = "Column16";
- //
- // Column17
- //
- this.Column17.HeaderText = "开始时间";
- this.Column17.Name = "Column17";
- //
- // panelEx1
- //
- this.panelEx1.CanvasColor = System.Drawing.SystemColors.Control;
- this.panelEx1.ColorSchemeStyle = DevComponents.DotNetBar.eDotNetBarStyle.StyleManagerControlled;
- this.panelEx1.Controls.Add(this.labelX6);
- this.panelEx1.Controls.Add(this.labelX5);
- this.panelEx1.Controls.Add(this.labelX4);
- this.panelEx1.Controls.Add(this.labelX3);
- this.panelEx1.Controls.Add(this.labelX2);
- this.panelEx1.Controls.Add(this.labelX1);
- this.panelEx1.DisabledBackColor = System.Drawing.Color.Empty;
- this.panelEx1.Location = new System.Drawing.Point(25, 376);
- this.panelEx1.Name = "panelEx1";
- this.panelEx1.Size = new System.Drawing.Size(200, 200);
- this.panelEx1.Style.Alignment = System.Drawing.StringAlignment.Center;
- this.panelEx1.Style.BackColor1.ColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelBackground;
- this.panelEx1.Style.BackColor2.ColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelBackground2;
- this.panelEx1.Style.Border = DevComponents.DotNetBar.eBorderType.SingleLine;
- this.panelEx1.Style.BorderColor.ColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelBorder;
- this.panelEx1.Style.ForeColor.ColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelText;
- this.panelEx1.Style.GradientAngle = 90;
- this.panelEx1.TabIndex = 10;
- //
- // labelX6
- //
- //
- //
- //
- this.labelX6.BackgroundStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square;
- this.labelX6.Location = new System.Drawing.Point(3, 153);
- this.labelX6.Name = "labelX6";
- this.labelX6.Size = new System.Drawing.Size(75, 23);
- this.labelX6.Style = DevComponents.DotNetBar.eDotNetBarStyle.Office2013;
- this.labelX6.TabIndex = 0;
- this.labelX6.Text = "Z";
- this.labelX6.TextAlignment = System.Drawing.StringAlignment.Center;
- //
- // labelX5
- //
- //
- //
- //
- this.labelX5.BackgroundStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square;
- this.labelX5.Location = new System.Drawing.Point(3, 124);
- this.labelX5.Name = "labelX5";
- this.labelX5.Size = new System.Drawing.Size(75, 23);
- this.labelX5.Style = DevComponents.DotNetBar.eDotNetBarStyle.Office2013;
- this.labelX5.TabIndex = 0;
- this.labelX5.Text = "Y";
- this.labelX5.TextAlignment = System.Drawing.StringAlignment.Center;
- //
- // labelX4
- //
- //
- //
- //
- this.labelX4.BackgroundStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square;
- this.labelX4.Location = new System.Drawing.Point(3, 95);
- this.labelX4.Name = "labelX4";
- this.labelX4.Size = new System.Drawing.Size(75, 23);
- this.labelX4.Style = DevComponents.DotNetBar.eDotNetBarStyle.Office2013;
- this.labelX4.TabIndex = 0;
- this.labelX4.Text = "X";
- this.labelX4.TextAlignment = System.Drawing.StringAlignment.Center;
- //
- // labelX3
- //
- //
- //
- //
- this.labelX3.BackgroundStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square;
- this.labelX3.Location = new System.Drawing.Point(3, 66);
- this.labelX3.Name = "labelX3";
- this.labelX3.Size = new System.Drawing.Size(75, 23);
- this.labelX3.Style = DevComponents.DotNetBar.eDotNetBarStyle.Office2013;
- this.labelX3.TabIndex = 0;
- this.labelX3.Text = "纬度";
- this.labelX3.TextAlignment = System.Drawing.StringAlignment.Center;
- //
- // labelX2
- //
- //
- //
- //
- this.labelX2.BackgroundStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square;
- this.labelX2.Location = new System.Drawing.Point(3, 37);
- this.labelX2.Name = "labelX2";
- this.labelX2.Size = new System.Drawing.Size(75, 23);
- this.labelX2.Style = DevComponents.DotNetBar.eDotNetBarStyle.Office2013;
- this.labelX2.TabIndex = 0;
- this.labelX2.Text = "经度";
- this.labelX2.TextAlignment = System.Drawing.StringAlignment.Center;
- //
- // labelX1
- //
- //
- //
- //
- this.labelX1.BackgroundStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square;
- this.labelX1.Location = new System.Drawing.Point(3, 3);
- this.labelX1.Name = "labelX1";
- this.labelX1.Size = new System.Drawing.Size(194, 23);
- this.labelX1.Style = DevComponents.DotNetBar.eDotNetBarStyle.Office2013;
- this.labelX1.TabIndex = 0;
- this.labelX1.Text = "位置信息";
- this.labelX1.TextAlignment = System.Drawing.StringAlignment.Center;
- //
- // panelEx2
- //
- this.panelEx2.CanvasColor = System.Drawing.SystemColors.Control;
- this.panelEx2.ColorSchemeStyle = DevComponents.DotNetBar.eDotNetBarStyle.StyleManagerControlled;
- this.panelEx2.Controls.Add(this.labelX7);
- this.panelEx2.Controls.Add(this.labelX8);
- this.panelEx2.Controls.Add(this.labelX10);
- this.panelEx2.Controls.Add(this.labelX9);
- this.panelEx2.DisabledBackColor = System.Drawing.Color.Empty;
- this.panelEx2.Location = new System.Drawing.Point(25, 190);
- this.panelEx2.Name = "panelEx2";
- this.panelEx2.Size = new System.Drawing.Size(200, 150);
- this.panelEx2.Style.Alignment = System.Drawing.StringAlignment.Center;
- this.panelEx2.Style.BackColor1.ColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelBackground;
- this.panelEx2.Style.BackColor2.ColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelBackground2;
- this.panelEx2.Style.Border = DevComponents.DotNetBar.eBorderType.SingleLine;
- this.panelEx2.Style.BorderColor.ColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelBorder;
- this.panelEx2.Style.ForeColor.ColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelText;
- this.panelEx2.Style.GradientAngle = 90;
- this.panelEx2.TabIndex = 10;
- //
- // labelX7
- //
- //
- //
- //
- this.labelX7.BackgroundStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square;
- this.labelX7.Location = new System.Drawing.Point(3, 3);
- this.labelX7.Name = "labelX7";
- this.labelX7.Size = new System.Drawing.Size(194, 23);
- this.labelX7.Style = DevComponents.DotNetBar.eDotNetBarStyle.Office2013;
- this.labelX7.TabIndex = 0;
- this.labelX7.Text = "时间信息";
- this.labelX7.TextAlignment = System.Drawing.StringAlignment.Center;
- //
- // labelX8
- //
- //
- //
- //
- this.labelX8.BackgroundStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square;
- this.labelX8.Location = new System.Drawing.Point(3, 41);
- this.labelX8.Name = "labelX8";
- this.labelX8.Size = new System.Drawing.Size(75, 23);
- this.labelX8.Style = DevComponents.DotNetBar.eDotNetBarStyle.Office2013;
- this.labelX8.TabIndex = 0;
- this.labelX8.Text = "日期";
- this.labelX8.TextAlignment = System.Drawing.StringAlignment.Center;
- //
- // labelX10
- //
- //
- //
- //
- this.labelX10.BackgroundStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square;
- this.labelX10.Location = new System.Drawing.Point(3, 99);
- this.labelX10.Name = "labelX10";
- this.labelX10.Size = new System.Drawing.Size(75, 23);
- this.labelX10.Style = DevComponents.DotNetBar.eDotNetBarStyle.Office2013;
- this.labelX10.TabIndex = 0;
- this.labelX10.Text = "MJD";
- this.labelX10.TextAlignment = System.Drawing.StringAlignment.Center;
- //
- // labelX9
- //
- //
- //
- //
- this.labelX9.BackgroundStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square;
- this.labelX9.Location = new System.Drawing.Point(3, 70);
- this.labelX9.Name = "labelX9";
- this.labelX9.Size = new System.Drawing.Size(75, 23);
- this.labelX9.Style = DevComponents.DotNetBar.eDotNetBarStyle.Office2013;
- this.labelX9.TabIndex = 0;
- this.labelX9.Text = "时间";
- this.labelX9.TextAlignment = System.Drawing.StringAlignment.Center;
- //
- // panelEx3
- //
- this.panelEx3.CanvasColor = System.Drawing.SystemColors.Control;
- this.panelEx3.ColorSchemeStyle = DevComponents.DotNetBar.eDotNetBarStyle.StyleManagerControlled;
- this.panelEx3.Controls.Add(this.labelX11);
- this.panelEx3.Controls.Add(this.labelX13);
- this.panelEx3.Controls.Add(this.labelX12);
- this.panelEx3.DisabledBackColor = System.Drawing.Color.Empty;
- this.panelEx3.Location = new System.Drawing.Point(25, 50);
- this.panelEx3.Name = "panelEx3";
- this.panelEx3.Size = new System.Drawing.Size(200, 100);
- this.panelEx3.Style.Alignment = System.Drawing.StringAlignment.Center;
- this.panelEx3.Style.BackColor1.ColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelBackground;
- this.panelEx3.Style.BackColor2.ColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelBackground2;
- this.panelEx3.Style.Border = DevComponents.DotNetBar.eBorderType.SingleLine;
- this.panelEx3.Style.BorderColor.ColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelBorder;
- this.panelEx3.Style.ForeColor.ColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelText;
- this.panelEx3.Style.GradientAngle = 90;
- this.panelEx3.TabIndex = 10;
- //
- // labelX11
- //
- //
- //
- //
- this.labelX11.BackgroundStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square;
- this.labelX11.Location = new System.Drawing.Point(3, 3);
- this.labelX11.Name = "labelX11";
- this.labelX11.Size = new System.Drawing.Size(194, 23);
- this.labelX11.Style = DevComponents.DotNetBar.eDotNetBarStyle.Office2013;
- this.labelX11.TabIndex = 0;
- this.labelX11.Text = "基本信息";
- this.labelX11.TextAlignment = System.Drawing.StringAlignment.Center;
- //
- // labelX13
- //
- //
- //
- //
- this.labelX13.BackgroundStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square;
- this.labelX13.Location = new System.Drawing.Point(3, 32);
- this.labelX13.Name = "labelX13";
- this.labelX13.Size = new System.Drawing.Size(75, 23);
- this.labelX13.Style = DevComponents.DotNetBar.eDotNetBarStyle.Office2013;
- this.labelX13.TabIndex = 0;
- this.labelX13.Text = "原子钟";
- this.labelX13.TextAlignment = System.Drawing.StringAlignment.Center;
- //
- // labelX12
- //
- //
- //
- //
- this.labelX12.BackgroundStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square;
- this.labelX12.Location = new System.Drawing.Point(3, 61);
- this.labelX12.Name = "labelX12";
- this.labelX12.Size = new System.Drawing.Size(75, 23);
- this.labelX12.Style = DevComponents.DotNetBar.eDotNetBarStyle.Office2013;
- this.labelX12.TabIndex = 0;
- this.labelX12.Text = "接收机";
- this.labelX12.TextAlignment = System.Drawing.StringAlignment.Center;
- //
- // panelEx4
- //
- this.panelEx4.CanvasColor = System.Drawing.SystemColors.Control;
- this.panelEx4.ColorSchemeStyle = DevComponents.DotNetBar.eDotNetBarStyle.StyleManagerControlled;
- this.panelEx4.Controls.Add(this.panelEx2);
- this.panelEx4.Controls.Add(this.panelEx1);
- this.panelEx4.Controls.Add(this.panelEx3);
- this.panelEx4.DisabledBackColor = System.Drawing.Color.Empty;
- this.panelEx4.Location = new System.Drawing.Point(0, 0);
- this.panelEx4.Name = "panelEx4";
- this.panelEx4.Size = new System.Drawing.Size(250, 640);
- this.panelEx4.Style.Alignment = System.Drawing.StringAlignment.Center;
- this.panelEx4.Style.BackColor1.ColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelBackground;
- this.panelEx4.Style.BackColor2.ColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelBackground2;
- this.panelEx4.Style.Border = DevComponents.DotNetBar.eBorderType.SingleLine;
- this.panelEx4.Style.BorderColor.ColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelBorder;
- this.panelEx4.Style.ForeColor.ColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelText;
- this.panelEx4.Style.GradientAngle = 90;
- this.panelEx4.TabIndex = 10;
- //
- // dataGridViewX2
- //
- this.dataGridViewX2.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.AutoSize;
- this.dataGridViewX2.Columns.AddRange(new System.Windows.Forms.DataGridViewColumn[] {
- this.Column18,
- this.Column19,
- this.Column20,
- this.Column21,
- this.Column22,
- this.Column23,
- this.Column24,
- this.Column25,
- this.Column26,
- this.Column27,
- this.Column28,
- this.Column29});
- dataGridViewCellStyle2.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleLeft;
- dataGridViewCellStyle2.BackColor = System.Drawing.SystemColors.Window;
- dataGridViewCellStyle2.Font = new System.Drawing.Font("宋体", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
- dataGridViewCellStyle2.ForeColor = System.Drawing.SystemColors.ControlText;
- dataGridViewCellStyle2.SelectionBackColor = System.Drawing.SystemColors.Highlight;
- dataGridViewCellStyle2.SelectionForeColor = System.Drawing.SystemColors.ControlText;
- dataGridViewCellStyle2.WrapMode = System.Windows.Forms.DataGridViewTriState.False;
- this.dataGridViewX2.DefaultCellStyle = dataGridViewCellStyle2;
- this.dataGridViewX2.GridColor = System.Drawing.Color.FromArgb(((int)(((byte)(208)))), ((int)(((byte)(215)))), ((int)(((byte)(229)))));
- this.dataGridViewX2.Location = new System.Drawing.Point(250, 216);
- this.dataGridViewX2.Name = "dataGridViewX2";
- this.dataGridViewX2.Size = new System.Drawing.Size(747, 424);
- this.dataGridViewX2.TabIndex = 15;
- //
- // Column18
- //
- this.Column18.HeaderText = "通道号";
- this.Column18.Name = "Column18";
- //
- // Column19
- //
- this.Column19.HeaderText = "当前状态";
- this.Column19.Name = "Column19";
- //
- // Column20
- //
- this.Column20.HeaderText = "仪器名称";
- this.Column20.Name = "Column20";
- //
- // Column21
- //
- this.Column21.HeaderText = "仪器编号";
- this.Column21.Name = "Column21";
- //
- // Column22
- //
- this.Column22.HeaderText = "客户名称";
- this.Column22.Name = "Column22";
- //
- // Column23
- //
- this.Column23.HeaderText = "开始时间";
- this.Column23.Name = "Column23";
- //
- // Column24
- //
- this.Column24.HeaderText = "结束时间";
- this.Column24.Name = "Column24";
- //
- // Column25
- //
- this.Column25.HeaderText = "频率稳定度";
- this.Column25.Name = "Column25";
- //
- // Column26
- //
- this.Column26.HeaderText = "频率准确度";
- this.Column26.Name = "Column26";
- //
- // Column27
- //
- this.Column27.HeaderText = "开机特性";
- this.Column27.Name = "Column27";
- //
- // Column28
- //
- this.Column28.HeaderText = "日老化率";
- this.Column28.Name = "Column28";
- //
- // Column29
- //
- this.Column29.HeaderText = "频率计数器范围及灵敏度";
- this.Column29.Name = "Column29";
- //
- // buttonX1
- //
- this.buttonX1.AccessibleRole = System.Windows.Forms.AccessibleRole.PushButton;
- this.buttonX1.BackColor = System.Drawing.Color.Transparent;
- this.buttonX1.ColorTable = DevComponents.DotNetBar.eButtonColor.OrangeWithBackground;
- this.buttonX1.Location = new System.Drawing.Point(663, 183);
- this.buttonX1.Name = "buttonX1";
- this.buttonX1.Size = new System.Drawing.Size(30, 23);
- this.buttonX1.Style = DevComponents.DotNetBar.eDotNetBarStyle.StyleManagerControlled;
- this.buttonX1.Symbol = "";
- this.buttonX1.SymbolColor = System.Drawing.Color.FromArgb(((int)(((byte)(64)))), ((int)(((byte)(64)))), ((int)(((byte)(64)))));
- this.buttonX1.SymbolSize = 8F;
- this.buttonX1.TabIndex = 19;
- //
- // buttonX2
- //
- this.buttonX2.AccessibleRole = System.Windows.Forms.AccessibleRole.PushButton;
- this.buttonX2.BackColor = System.Drawing.Color.Transparent;
- this.buttonX2.ColorTable = DevComponents.DotNetBar.eButtonColor.OrangeWithBackground;
- this.buttonX2.Location = new System.Drawing.Point(589, 184);
- this.buttonX2.Name = "buttonX2";
- this.buttonX2.Size = new System.Drawing.Size(30, 23);
- this.buttonX2.Style = DevComponents.DotNetBar.eDotNetBarStyle.StyleManagerControlled;
- this.buttonX2.Symbol = "";
- this.buttonX2.SymbolColor = System.Drawing.Color.FromArgb(((int)(((byte)(64)))), ((int)(((byte)(64)))), ((int)(((byte)(64)))));
- this.buttonX2.SymbolSize = 8F;
- this.buttonX2.TabIndex = 19;
+ this.panel5.BackgroundImage = global::Casic.Birmm.RbFreqStandMeasure.Properties.Resources.bg_dev_channel;
+ this.panel5.Location = new System.Drawing.Point(230, 226);
+ this.panel5.Name = "panel5";
+ this.panel5.Size = new System.Drawing.Size(788, 424);
+ this.panel5.TabIndex = 4;
//
// label1
//
this.label1.BackColor = System.Drawing.Color.Transparent;
- this.label1.Font = new System.Drawing.Font("Times New Roman", 9.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
- this.label1.Location = new System.Drawing.Point(880, 186);
- this.label1.Margin = new System.Windows.Forms.Padding(0);
+ this.label1.Font = new System.Drawing.Font("微软雅黑", 14F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Pixel, ((byte)(134)));
+ this.label1.Location = new System.Drawing.Point(0, 20);
this.label1.Name = "label1";
- this.label1.Size = new System.Drawing.Size(20, 20);
- this.label1.TabIndex = 20;
- this.label1.Text = "1";
+ this.label1.Size = new System.Drawing.Size(224, 25);
+ this.label1.TabIndex = 0;
+ this.label1.Text = "基本信息";
this.label1.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
//
// label2
//
this.label2.BackColor = System.Drawing.Color.Transparent;
- this.label2.Font = new System.Drawing.Font("Times New Roman", 9.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
- this.label2.Location = new System.Drawing.Point(636, 187);
- this.label2.Margin = new System.Windows.Forms.Padding(0);
+ this.label2.Font = new System.Drawing.Font("微软雅黑", 14F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Pixel, ((byte)(134)));
+ this.label2.Location = new System.Drawing.Point(0, 60);
this.label2.Name = "label2";
- this.label2.Size = new System.Drawing.Size(200, 20);
- this.label2.TabIndex = 20;
- this.label2.Text = "共150条,每页5条,共100页";
- this.label2.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
+ this.label2.Size = new System.Drawing.Size(75, 25);
+ this.label2.TabIndex = 1;
+ this.label2.Text = "原子钟";
+ this.label2.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
+ //
+ // label3
+ //
+ this.label3.BackColor = System.Drawing.Color.Transparent;
+ this.label3.Font = new System.Drawing.Font("微软雅黑", 14F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Pixel, ((byte)(134)));
+ this.label3.Location = new System.Drawing.Point(0, 100);
+ this.label3.Name = "label3";
+ this.label3.Size = new System.Drawing.Size(75, 25);
+ this.label3.TabIndex = 1;
+ this.label3.Text = "接收机";
+ this.label3.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
+ //
+ // label4
+ //
+ this.label4.BackColor = System.Drawing.Color.Transparent;
+ this.label4.Font = new System.Drawing.Font("微软雅黑", 14F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Pixel, ((byte)(134)));
+ this.label4.Location = new System.Drawing.Point(0, 20);
+ this.label4.Name = "label4";
+ this.label4.Size = new System.Drawing.Size(224, 25);
+ this.label4.TabIndex = 0;
+ this.label4.Text = "时间信息";
+ this.label4.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
+ //
+ // label5
+ //
+ this.label5.BackColor = System.Drawing.Color.Transparent;
+ this.label5.Font = new System.Drawing.Font("微软雅黑", 14F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Pixel, ((byte)(134)));
+ this.label5.Location = new System.Drawing.Point(0, 60);
+ this.label5.Name = "label5";
+ this.label5.Size = new System.Drawing.Size(75, 25);
+ this.label5.TabIndex = 1;
+ this.label5.Text = "日期";
+ this.label5.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
+ //
+ // label6
+ //
+ this.label6.BackColor = System.Drawing.Color.Transparent;
+ this.label6.Font = new System.Drawing.Font("微软雅黑", 14F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Pixel, ((byte)(134)));
+ this.label6.Location = new System.Drawing.Point(0, 100);
+ this.label6.Name = "label6";
+ this.label6.Size = new System.Drawing.Size(75, 25);
+ this.label6.TabIndex = 1;
+ this.label6.Text = "时间";
+ this.label6.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
+ //
+ // label7
+ //
+ this.label7.BackColor = System.Drawing.Color.Transparent;
+ this.label7.Font = new System.Drawing.Font("微软雅黑", 14F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Pixel, ((byte)(134)));
+ this.label7.Location = new System.Drawing.Point(0, 140);
+ this.label7.Margin = new System.Windows.Forms.Padding(0);
+ this.label7.Name = "label7";
+ this.label7.Size = new System.Drawing.Size(75, 25);
+ this.label7.TabIndex = 1;
+ this.label7.Text = "MJD";
+ this.label7.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
+ //
+ // label8
+ //
+ this.label8.BackColor = System.Drawing.Color.Transparent;
+ this.label8.Font = new System.Drawing.Font("微软雅黑", 14F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Pixel, ((byte)(134)));
+ this.label8.Location = new System.Drawing.Point(0, 20);
+ this.label8.Name = "label8";
+ this.label8.Size = new System.Drawing.Size(224, 25);
+ this.label8.TabIndex = 0;
+ this.label8.Text = "位置信息";
+ this.label8.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
+ //
+ // label9
+ //
+ this.label9.BackColor = System.Drawing.Color.Transparent;
+ this.label9.Font = new System.Drawing.Font("微软雅黑", 14F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Pixel, ((byte)(134)));
+ this.label9.Location = new System.Drawing.Point(0, 60);
+ this.label9.Name = "label9";
+ this.label9.Size = new System.Drawing.Size(75, 25);
+ this.label9.TabIndex = 1;
+ this.label9.Text = "经度";
+ this.label9.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
+ //
+ // label10
+ //
+ this.label10.BackColor = System.Drawing.Color.Transparent;
+ this.label10.Font = new System.Drawing.Font("微软雅黑", 14F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Pixel, ((byte)(134)));
+ this.label10.Location = new System.Drawing.Point(0, 100);
+ this.label10.Margin = new System.Windows.Forms.Padding(0);
+ this.label10.Name = "label10";
+ this.label10.Size = new System.Drawing.Size(75, 25);
+ this.label10.TabIndex = 1;
+ this.label10.Text = "纬度";
+ this.label10.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
+ //
+ // label11
+ //
+ this.label11.BackColor = System.Drawing.Color.Transparent;
+ this.label11.Font = new System.Drawing.Font("微软雅黑", 14F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Pixel, ((byte)(134)));
+ this.label11.Location = new System.Drawing.Point(0, 140);
+ this.label11.Margin = new System.Windows.Forms.Padding(0);
+ this.label11.Name = "label11";
+ this.label11.Size = new System.Drawing.Size(75, 25);
+ this.label11.TabIndex = 1;
+ this.label11.Text = "X";
+ this.label11.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
+ //
+ // label12
+ //
+ this.label12.BackColor = System.Drawing.Color.Transparent;
+ this.label12.Font = new System.Drawing.Font("微软雅黑", 14F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Pixel, ((byte)(134)));
+ this.label12.Location = new System.Drawing.Point(0, 180);
+ this.label12.Margin = new System.Windows.Forms.Padding(0);
+ this.label12.Name = "label12";
+ this.label12.Size = new System.Drawing.Size(75, 25);
+ this.label12.TabIndex = 1;
+ this.label12.Text = "Y";
+ this.label12.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
+ //
+ // label13
+ //
+ this.label13.BackColor = System.Drawing.Color.Transparent;
+ this.label13.Font = new System.Drawing.Font("微软雅黑", 14F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Pixel, ((byte)(134)));
+ this.label13.Location = new System.Drawing.Point(0, 220);
+ this.label13.Margin = new System.Windows.Forms.Padding(0);
+ this.label13.Name = "label13";
+ this.label13.Size = new System.Drawing.Size(75, 25);
+ this.label13.TabIndex = 1;
+ this.label13.Text = "Z";
+ this.label13.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
//
// HomeCtrlForm
//
this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 12F);
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
- this.Controls.Add(this.label1);
- this.Controls.Add(this.label2);
- this.Controls.Add(this.dataGridViewX2);
- this.Controls.Add(this.panelEx4);
- this.Controls.Add(this.panelToBeTested);
+ this.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(232)))), ((int)(((byte)(234)))), ((int)(((byte)(238)))));
+ this.Controls.Add(this.panel5);
+ this.Controls.Add(this.panel4);
+ this.Controls.Add(this.panel3);
+ this.Controls.Add(this.panel2);
+ this.Controls.Add(this.panel1);
this.Margin = new System.Windows.Forms.Padding(0);
this.Name = "HomeCtrlForm";
- this.Size = new System.Drawing.Size(1000, 640);
- this.panelToBeTested.ResumeLayout(false);
- ((System.ComponentModel.ISupportInitialize)(this.dataGridViewX1)).EndInit();
- this.panelEx1.ResumeLayout(false);
- this.panelEx2.ResumeLayout(false);
- this.panelEx3.ResumeLayout(false);
- this.panelEx4.ResumeLayout(false);
- ((System.ComponentModel.ISupportInitialize)(this.dataGridViewX2)).EndInit();
+ this.Size = new System.Drawing.Size(1024, 654);
+ this.panel3.ResumeLayout(false);
+ this.panel2.ResumeLayout(false);
+ this.panel1.ResumeLayout(false);
this.ResumeLayout(false);
}
#endregion
- private System.Windows.Forms.Panel panelToBeTested;
- private DevComponents.DotNetBar.PanelEx panelEx1;
- private DevComponents.DotNetBar.LabelX labelX6;
- private DevComponents.DotNetBar.LabelX labelX5;
- private DevComponents.DotNetBar.LabelX labelX4;
- private DevComponents.DotNetBar.LabelX labelX3;
- private DevComponents.DotNetBar.LabelX labelX2;
- private DevComponents.DotNetBar.LabelX labelX1;
- private DevComponents.DotNetBar.PanelEx panelEx2;
- private DevComponents.DotNetBar.LabelX labelX7;
- private DevComponents.DotNetBar.LabelX labelX8;
- private DevComponents.DotNetBar.LabelX labelX10;
- private DevComponents.DotNetBar.LabelX labelX9;
- private DevComponents.DotNetBar.PanelEx panelEx3;
- private DevComponents.DotNetBar.LabelX labelX11;
- private DevComponents.DotNetBar.LabelX labelX13;
- private DevComponents.DotNetBar.LabelX labelX12;
- private DevComponents.DotNetBar.PanelEx panelEx4;
- private DevComponents.DotNetBar.Controls.DataGridViewX dataGridViewX1;
- private System.Windows.Forms.DataGridViewTextBoxColumn Column13;
- private System.Windows.Forms.DataGridViewTextBoxColumn Column14;
- private System.Windows.Forms.DataGridViewTextBoxColumn Column15;
- private System.Windows.Forms.DataGridViewTextBoxColumn Column16;
- private System.Windows.Forms.DataGridViewTextBoxColumn Column17;
- private DevComponents.DotNetBar.Controls.DataGridViewX dataGridViewX2;
- private System.Windows.Forms.DataGridViewTextBoxColumn Column18;
- private System.Windows.Forms.DataGridViewTextBoxColumn Column19;
- private System.Windows.Forms.DataGridViewTextBoxColumn Column20;
- private System.Windows.Forms.DataGridViewTextBoxColumn Column21;
- private System.Windows.Forms.DataGridViewTextBoxColumn Column22;
- private System.Windows.Forms.DataGridViewTextBoxColumn Column23;
- private System.Windows.Forms.DataGridViewTextBoxColumn Column24;
- private System.Windows.Forms.DataGridViewTextBoxColumn Column25;
- private System.Windows.Forms.DataGridViewTextBoxColumn Column26;
- private System.Windows.Forms.DataGridViewTextBoxColumn Column27;
- private System.Windows.Forms.DataGridViewTextBoxColumn Column28;
- private System.Windows.Forms.DataGridViewTextBoxColumn Column29;
- private DevComponents.DotNetBar.ButtonX buttonX1;
- private DevComponents.DotNetBar.ButtonX buttonX2;
+
+ private System.Windows.Forms.Panel panel1;
+ private System.Windows.Forms.Panel panel2;
+ private System.Windows.Forms.Panel panel3;
+ private System.Windows.Forms.Panel panel4;
+ private System.Windows.Forms.Panel panel5;
private System.Windows.Forms.Label label1;
private System.Windows.Forms.Label label2;
+ private System.Windows.Forms.Label label3;
+ private System.Windows.Forms.Label label4;
+ private System.Windows.Forms.Label label5;
+ private System.Windows.Forms.Label label6;
+ private System.Windows.Forms.Label label7;
+ private System.Windows.Forms.Label label8;
+ private System.Windows.Forms.Label label11;
+ private System.Windows.Forms.Label label9;
+ private System.Windows.Forms.Label label10;
+ private System.Windows.Forms.Label label12;
+ private System.Windows.Forms.Label label13;
}
}
diff --git a/RbFreqStandMeasure/HomeCtrlForm.resx b/RbFreqStandMeasure/HomeCtrlForm.resx
index 6d97f4f..1af7de1 100644
--- a/RbFreqStandMeasure/HomeCtrlForm.resx
+++ b/RbFreqStandMeasure/HomeCtrlForm.resx
@@ -117,55 +117,4 @@
System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
-
- True
-
-
- True
-
-
- True
-
-
- True
-
-
- True
-
-
- True
-
-
- True
-
-
- True
-
-
- True
-
-
- True
-
-
- True
-
-
- True
-
-
- True
-
-
- True
-
-
- True
-
-
- True
-
-
- True
-
\ No newline at end of file
diff --git a/RbFreqStandMeasure/Program.cs b/RbFreqStandMeasure/Program.cs
index 93a83e5..6150917 100644
--- a/RbFreqStandMeasure/Program.cs
+++ b/RbFreqStandMeasure/Program.cs
@@ -1,6 +1,4 @@
using System;
-using System.Collections.Generic;
-using System.Linq;
using System.Windows.Forms;
namespace Casic.Birmm.RbFreqStandMeasure
diff --git a/RbFreqStandMeasure/Properties/Resources.Designer.cs b/RbFreqStandMeasure/Properties/Resources.Designer.cs
index 253d7d7..d819a23 100644
--- a/RbFreqStandMeasure/Properties/Resources.Designer.cs
+++ b/RbFreqStandMeasure/Properties/Resources.Designer.cs
@@ -73,6 +73,56 @@
///
/// 查找 System.Drawing.Bitmap 类型的本地化资源。
///
+ internal static System.Drawing.Bitmap bg_dev_channel {
+ get {
+ object obj = ResourceManager.GetObject("bg_dev_channel", resourceCulture);
+ return ((System.Drawing.Bitmap)(obj));
+ }
+ }
+
+ ///
+ /// 查找 System.Drawing.Bitmap 类型的本地化资源。
+ ///
+ internal static System.Drawing.Bitmap bg_dev_tested {
+ get {
+ object obj = ResourceManager.GetObject("bg_dev_tested", resourceCulture);
+ return ((System.Drawing.Bitmap)(obj));
+ }
+ }
+
+ ///
+ /// 查找 System.Drawing.Bitmap 类型的本地化资源。
+ ///
+ internal static System.Drawing.Bitmap bg_status_base {
+ get {
+ object obj = ResourceManager.GetObject("bg_status_base", resourceCulture);
+ return ((System.Drawing.Bitmap)(obj));
+ }
+ }
+
+ ///
+ /// 查找 System.Drawing.Bitmap 类型的本地化资源。
+ ///
+ internal static System.Drawing.Bitmap bg_status_location {
+ get {
+ object obj = ResourceManager.GetObject("bg_status_location", resourceCulture);
+ return ((System.Drawing.Bitmap)(obj));
+ }
+ }
+
+ ///
+ /// 查找 System.Drawing.Bitmap 类型的本地化资源。
+ ///
+ internal static System.Drawing.Bitmap bg_status_time {
+ get {
+ object obj = ResourceManager.GetObject("bg_status_time", resourceCulture);
+ return ((System.Drawing.Bitmap)(obj));
+ }
+ }
+
+ ///
+ /// 查找 System.Drawing.Bitmap 类型的本地化资源。
+ ///
internal static System.Drawing.Bitmap bg_white_shadow {
get {
object obj = ResourceManager.GetObject("bg_white_shadow", resourceCulture);
@@ -83,6 +133,66 @@
///
/// 查找 System.Drawing.Bitmap 类型的本地化资源。
///
+ internal static System.Drawing.Bitmap icon_counter {
+ get {
+ object obj = ResourceManager.GetObject("icon_counter", resourceCulture);
+ return ((System.Drawing.Bitmap)(obj));
+ }
+ }
+
+ ///
+ /// 查找 System.Drawing.Bitmap 类型的本地化资源。
+ ///
+ internal static System.Drawing.Bitmap icon_counter_selected {
+ get {
+ object obj = ResourceManager.GetObject("icon_counter_selected", resourceCulture);
+ return ((System.Drawing.Bitmap)(obj));
+ }
+ }
+
+ ///
+ /// 查找 System.Drawing.Bitmap 类型的本地化资源。
+ ///
+ internal static System.Drawing.Bitmap icon_data {
+ get {
+ object obj = ResourceManager.GetObject("icon_data", resourceCulture);
+ return ((System.Drawing.Bitmap)(obj));
+ }
+ }
+
+ ///
+ /// 查找 System.Drawing.Bitmap 类型的本地化资源。
+ ///
+ internal static System.Drawing.Bitmap icon_data_selected {
+ get {
+ object obj = ResourceManager.GetObject("icon_data_selected", resourceCulture);
+ return ((System.Drawing.Bitmap)(obj));
+ }
+ }
+
+ ///
+ /// 查找 System.Drawing.Bitmap 类型的本地化资源。
+ ///
+ internal static System.Drawing.Bitmap icon_dev {
+ get {
+ object obj = ResourceManager.GetObject("icon_dev", resourceCulture);
+ return ((System.Drawing.Bitmap)(obj));
+ }
+ }
+
+ ///
+ /// 查找 System.Drawing.Bitmap 类型的本地化资源。
+ ///
+ internal static System.Drawing.Bitmap icon_dev_selected {
+ get {
+ object obj = ResourceManager.GetObject("icon_dev_selected", resourceCulture);
+ return ((System.Drawing.Bitmap)(obj));
+ }
+ }
+
+ ///
+ /// 查找 System.Drawing.Bitmap 类型的本地化资源。
+ ///
internal static System.Drawing.Bitmap icon_exit {
get {
object obj = ResourceManager.GetObject("icon_exit", resourceCulture);
@@ -113,6 +223,56 @@
///
/// 查找 System.Drawing.Bitmap 类型的本地化资源。
///
+ internal static System.Drawing.Bitmap icon_measure {
+ get {
+ object obj = ResourceManager.GetObject("icon_measure", resourceCulture);
+ return ((System.Drawing.Bitmap)(obj));
+ }
+ }
+
+ ///
+ /// 查找 System.Drawing.Bitmap 类型的本地化资源。
+ ///
+ internal static System.Drawing.Bitmap icon_measure_selected {
+ get {
+ object obj = ResourceManager.GetObject("icon_measure_selected", resourceCulture);
+ return ((System.Drawing.Bitmap)(obj));
+ }
+ }
+
+ ///
+ /// 查找 System.Drawing.Bitmap 类型的本地化资源。
+ ///
+ internal static System.Drawing.Bitmap icon_min {
+ get {
+ object obj = ResourceManager.GetObject("icon_min", resourceCulture);
+ return ((System.Drawing.Bitmap)(obj));
+ }
+ }
+
+ ///
+ /// 查找 System.Drawing.Bitmap 类型的本地化资源。
+ ///
+ internal static System.Drawing.Bitmap icon_setting {
+ get {
+ object obj = ResourceManager.GetObject("icon_setting", resourceCulture);
+ return ((System.Drawing.Bitmap)(obj));
+ }
+ }
+
+ ///
+ /// 查找 System.Drawing.Bitmap 类型的本地化资源。
+ ///
+ internal static System.Drawing.Bitmap icon_setting_selected {
+ get {
+ object obj = ResourceManager.GetObject("icon_setting_selected", resourceCulture);
+ return ((System.Drawing.Bitmap)(obj));
+ }
+ }
+
+ ///
+ /// 查找 System.Drawing.Bitmap 类型的本地化资源。
+ ///
internal static System.Drawing.Bitmap icon_status {
get {
object obj = ResourceManager.GetObject("icon_status", resourceCulture);
diff --git a/RbFreqStandMeasure/Properties/Resources.resx b/RbFreqStandMeasure/Properties/Resources.resx
index e781bb7..cfdb255 100644
--- a/RbFreqStandMeasure/Properties/Resources.resx
+++ b/RbFreqStandMeasure/Properties/Resources.resx
@@ -118,25 +118,73 @@
System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
-
- ..\res\images\icon_exit.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
+
+ ..\res\images\icon_counter_selected.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
-
- ..\res\images\bg_white_shadow.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
+
+ ..\res\images\icon_dev_selected.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
+
+
+ ..\res\images\icon_status_selected.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
+
+
+ ..\res\images\icon_data_selected.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
..\res\images\icon_home_selected.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
-
- ..\res\images\bg_banner.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
-
-
- ..\res\images\icon_home.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
+
+ ..\res\images\icon_exit.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
..\res\images\icon_status.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
-
- ..\res\images\icon_status_selected.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
+
+ ..\res\images\icon_data.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
+
+
+ ..\res\images\icon_setting.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
+
+
+ ..\res\images\icon_measure_selected.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
+
+
+ ..\res\images\bg_banner.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
+
+
+ ..\res\images\icon_setting_selected.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
+
+
+ ..\res\images\icon_dev.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
+
+
+ ..\res\images\icon_counter.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
+
+
+ ..\res\images\icon_measure.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
+
+
+ ..\res\images\icon_home.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
+
+
+ ..\res\images\bg_white_shadow.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
+
+
+ ..\res\images\icon_min.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
+
+
+ ..\res\images\bg_status_base.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
+
+
+ ..\res\images\bg_status_location.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
+
+
+ ..\res\images\bg_status_time.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
+
+
+ ..\res\images\bg_dev_channel.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
+
+
+ ..\res\images\bg_dev_tested.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
\ No newline at end of file
diff --git a/RbFreqStandMeasure/RbFreqStandMeasure.csproj b/RbFreqStandMeasure/RbFreqStandMeasure.csproj
index f5e7da9..7c12768 100644
--- a/RbFreqStandMeasure/RbFreqStandMeasure.csproj
+++ b/RbFreqStandMeasure/RbFreqStandMeasure.csproj
@@ -232,6 +232,54 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/RbFreqStandMeasure/HomeCtrlForm.Designer.cs b/RbFreqStandMeasure/HomeCtrlForm.Designer.cs
index fb515f8..73e477a 100644
--- a/RbFreqStandMeasure/HomeCtrlForm.Designer.cs
+++ b/RbFreqStandMeasure/HomeCtrlForm.Designer.cs
@@ -29,589 +29,271 @@
///
private void InitializeComponent()
{
- System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle1 = new System.Windows.Forms.DataGridViewCellStyle();
- System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle2 = new System.Windows.Forms.DataGridViewCellStyle();
- this.panelToBeTested = new System.Windows.Forms.Panel();
- this.dataGridViewX1 = new DevComponents.DotNetBar.Controls.DataGridViewX();
- this.Column13 = new System.Windows.Forms.DataGridViewTextBoxColumn();
- this.Column14 = new System.Windows.Forms.DataGridViewTextBoxColumn();
- this.Column15 = new System.Windows.Forms.DataGridViewTextBoxColumn();
- this.Column16 = new System.Windows.Forms.DataGridViewTextBoxColumn();
- this.Column17 = new System.Windows.Forms.DataGridViewTextBoxColumn();
- this.panelEx1 = new DevComponents.DotNetBar.PanelEx();
- this.labelX6 = new DevComponents.DotNetBar.LabelX();
- this.labelX5 = new DevComponents.DotNetBar.LabelX();
- this.labelX4 = new DevComponents.DotNetBar.LabelX();
- this.labelX3 = new DevComponents.DotNetBar.LabelX();
- this.labelX2 = new DevComponents.DotNetBar.LabelX();
- this.labelX1 = new DevComponents.DotNetBar.LabelX();
- this.panelEx2 = new DevComponents.DotNetBar.PanelEx();
- this.labelX7 = new DevComponents.DotNetBar.LabelX();
- this.labelX8 = new DevComponents.DotNetBar.LabelX();
- this.labelX10 = new DevComponents.DotNetBar.LabelX();
- this.labelX9 = new DevComponents.DotNetBar.LabelX();
- this.panelEx3 = new DevComponents.DotNetBar.PanelEx();
- this.labelX11 = new DevComponents.DotNetBar.LabelX();
- this.labelX13 = new DevComponents.DotNetBar.LabelX();
- this.labelX12 = new DevComponents.DotNetBar.LabelX();
- this.panelEx4 = new DevComponents.DotNetBar.PanelEx();
- this.dataGridViewX2 = new DevComponents.DotNetBar.Controls.DataGridViewX();
- this.Column18 = new System.Windows.Forms.DataGridViewTextBoxColumn();
- this.Column19 = new System.Windows.Forms.DataGridViewTextBoxColumn();
- this.Column20 = new System.Windows.Forms.DataGridViewTextBoxColumn();
- this.Column21 = new System.Windows.Forms.DataGridViewTextBoxColumn();
- this.Column22 = new System.Windows.Forms.DataGridViewTextBoxColumn();
- this.Column23 = new System.Windows.Forms.DataGridViewTextBoxColumn();
- this.Column24 = new System.Windows.Forms.DataGridViewTextBoxColumn();
- this.Column25 = new System.Windows.Forms.DataGridViewTextBoxColumn();
- this.Column26 = new System.Windows.Forms.DataGridViewTextBoxColumn();
- this.Column27 = new System.Windows.Forms.DataGridViewTextBoxColumn();
- this.Column28 = new System.Windows.Forms.DataGridViewTextBoxColumn();
- this.Column29 = new System.Windows.Forms.DataGridViewTextBoxColumn();
- this.buttonX1 = new DevComponents.DotNetBar.ButtonX();
- this.buttonX2 = new DevComponents.DotNetBar.ButtonX();
+ this.panel3 = new System.Windows.Forms.Panel();
+ this.panel2 = new System.Windows.Forms.Panel();
+ this.panel1 = new System.Windows.Forms.Panel();
+ this.panel4 = new System.Windows.Forms.Panel();
+ this.panel5 = new System.Windows.Forms.Panel();
this.label1 = new System.Windows.Forms.Label();
this.label2 = new System.Windows.Forms.Label();
- this.panelToBeTested.SuspendLayout();
- ((System.ComponentModel.ISupportInitialize)(this.dataGridViewX1)).BeginInit();
- this.panelEx1.SuspendLayout();
- this.panelEx2.SuspendLayout();
- this.panelEx3.SuspendLayout();
- this.panelEx4.SuspendLayout();
- ((System.ComponentModel.ISupportInitialize)(this.dataGridViewX2)).BeginInit();
+ this.label3 = new System.Windows.Forms.Label();
+ this.label4 = new System.Windows.Forms.Label();
+ this.label5 = new System.Windows.Forms.Label();
+ this.label6 = new System.Windows.Forms.Label();
+ this.label7 = new System.Windows.Forms.Label();
+ this.label8 = new System.Windows.Forms.Label();
+ this.label9 = new System.Windows.Forms.Label();
+ this.label10 = new System.Windows.Forms.Label();
+ this.label11 = new System.Windows.Forms.Label();
+ this.label12 = new System.Windows.Forms.Label();
+ this.label13 = new System.Windows.Forms.Label();
+ this.panel3.SuspendLayout();
+ this.panel2.SuspendLayout();
+ this.panel1.SuspendLayout();
this.SuspendLayout();
//
- // panelToBeTested
+ // panel3
//
- this.panelToBeTested.Controls.Add(this.dataGridViewX1);
- this.panelToBeTested.Controls.Add(this.buttonX2);
- this.panelToBeTested.Controls.Add(this.buttonX1);
- this.panelToBeTested.Location = new System.Drawing.Point(250, 0);
- this.panelToBeTested.Name = "panelToBeTested";
- this.panelToBeTested.Size = new System.Drawing.Size(750, 216);
- this.panelToBeTested.TabIndex = 4;
+ this.panel3.BackgroundImage = global::Casic.Birmm.RbFreqStandMeasure.Properties.Resources.bg_status_location;
+ this.panel3.Controls.Add(this.label8);
+ this.panel3.Controls.Add(this.label13);
+ this.panel3.Controls.Add(this.label12);
+ this.panel3.Controls.Add(this.label11);
+ this.panel3.Controls.Add(this.label9);
+ this.panel3.Controls.Add(this.label10);
+ this.panel3.Location = new System.Drawing.Point(6, 360);
+ this.panel3.Name = "panel3";
+ this.panel3.Size = new System.Drawing.Size(224, 293);
+ this.panel3.TabIndex = 2;
//
- // dataGridViewX1
+ // panel2
//
- this.dataGridViewX1.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.AutoSize;
- this.dataGridViewX1.Columns.AddRange(new System.Windows.Forms.DataGridViewColumn[] {
- this.Column13,
- this.Column14,
- this.Column15,
- this.Column16,
- this.Column17});
- dataGridViewCellStyle1.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleLeft;
- dataGridViewCellStyle1.BackColor = System.Drawing.SystemColors.Window;
- dataGridViewCellStyle1.Font = new System.Drawing.Font("宋体", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
- dataGridViewCellStyle1.ForeColor = System.Drawing.SystemColors.ControlText;
- dataGridViewCellStyle1.SelectionBackColor = System.Drawing.SystemColors.Highlight;
- dataGridViewCellStyle1.SelectionForeColor = System.Drawing.SystemColors.ControlText;
- dataGridViewCellStyle1.WrapMode = System.Windows.Forms.DataGridViewTriState.False;
- this.dataGridViewX1.DefaultCellStyle = dataGridViewCellStyle1;
- this.dataGridViewX1.GridColor = System.Drawing.Color.FromArgb(((int)(((byte)(208)))), ((int)(((byte)(215)))), ((int)(((byte)(229)))));
- this.dataGridViewX1.Location = new System.Drawing.Point(0, 1);
- this.dataGridViewX1.Name = "dataGridViewX1";
- this.dataGridViewX1.RowTemplate.Height = 23;
- this.dataGridViewX1.Size = new System.Drawing.Size(750, 179);
- this.dataGridViewX1.TabIndex = 14;
+ this.panel2.BackgroundImage = global::Casic.Birmm.RbFreqStandMeasure.Properties.Resources.bg_status_time;
+ this.panel2.Controls.Add(this.label4);
+ this.panel2.Controls.Add(this.label7);
+ this.panel2.Controls.Add(this.label6);
+ this.panel2.Controls.Add(this.label5);
+ this.panel2.Location = new System.Drawing.Point(6, 160);
+ this.panel2.Name = "panel2";
+ this.panel2.Size = new System.Drawing.Size(224, 200);
+ this.panel2.TabIndex = 1;
//
- // Column13
+ // panel1
//
- this.Column13.HeaderText = "仪器名称";
- this.Column13.Name = "Column13";
+ this.panel1.BackgroundImage = global::Casic.Birmm.RbFreqStandMeasure.Properties.Resources.bg_status_base;
+ this.panel1.Controls.Add(this.label3);
+ this.panel1.Controls.Add(this.label2);
+ this.panel1.Controls.Add(this.label1);
+ this.panel1.Location = new System.Drawing.Point(6, 0);
+ this.panel1.Margin = new System.Windows.Forms.Padding(0);
+ this.panel1.Name = "panel1";
+ this.panel1.Size = new System.Drawing.Size(224, 160);
+ this.panel1.TabIndex = 0;
//
- // Column14
+ // panel4
//
- this.Column14.HeaderText = "仪器类型";
- this.Column14.Name = "Column14";
+ this.panel4.BackgroundImage = global::Casic.Birmm.RbFreqStandMeasure.Properties.Resources.bg_dev_tested;
+ this.panel4.Location = new System.Drawing.Point(230, 0);
+ this.panel4.Margin = new System.Windows.Forms.Padding(0);
+ this.panel4.Name = "panel4";
+ this.panel4.Size = new System.Drawing.Size(788, 226);
+ this.panel4.TabIndex = 3;
//
- // Column15
+ // panel5
//
- this.Column15.HeaderText = "仪器编号";
- this.Column15.Name = "Column15";
- //
- // Column16
- //
- this.Column16.HeaderText = "客户名称";
- this.Column16.Name = "Column16";
- //
- // Column17
- //
- this.Column17.HeaderText = "开始时间";
- this.Column17.Name = "Column17";
- //
- // panelEx1
- //
- this.panelEx1.CanvasColor = System.Drawing.SystemColors.Control;
- this.panelEx1.ColorSchemeStyle = DevComponents.DotNetBar.eDotNetBarStyle.StyleManagerControlled;
- this.panelEx1.Controls.Add(this.labelX6);
- this.panelEx1.Controls.Add(this.labelX5);
- this.panelEx1.Controls.Add(this.labelX4);
- this.panelEx1.Controls.Add(this.labelX3);
- this.panelEx1.Controls.Add(this.labelX2);
- this.panelEx1.Controls.Add(this.labelX1);
- this.panelEx1.DisabledBackColor = System.Drawing.Color.Empty;
- this.panelEx1.Location = new System.Drawing.Point(25, 376);
- this.panelEx1.Name = "panelEx1";
- this.panelEx1.Size = new System.Drawing.Size(200, 200);
- this.panelEx1.Style.Alignment = System.Drawing.StringAlignment.Center;
- this.panelEx1.Style.BackColor1.ColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelBackground;
- this.panelEx1.Style.BackColor2.ColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelBackground2;
- this.panelEx1.Style.Border = DevComponents.DotNetBar.eBorderType.SingleLine;
- this.panelEx1.Style.BorderColor.ColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelBorder;
- this.panelEx1.Style.ForeColor.ColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelText;
- this.panelEx1.Style.GradientAngle = 90;
- this.panelEx1.TabIndex = 10;
- //
- // labelX6
- //
- //
- //
- //
- this.labelX6.BackgroundStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square;
- this.labelX6.Location = new System.Drawing.Point(3, 153);
- this.labelX6.Name = "labelX6";
- this.labelX6.Size = new System.Drawing.Size(75, 23);
- this.labelX6.Style = DevComponents.DotNetBar.eDotNetBarStyle.Office2013;
- this.labelX6.TabIndex = 0;
- this.labelX6.Text = "Z";
- this.labelX6.TextAlignment = System.Drawing.StringAlignment.Center;
- //
- // labelX5
- //
- //
- //
- //
- this.labelX5.BackgroundStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square;
- this.labelX5.Location = new System.Drawing.Point(3, 124);
- this.labelX5.Name = "labelX5";
- this.labelX5.Size = new System.Drawing.Size(75, 23);
- this.labelX5.Style = DevComponents.DotNetBar.eDotNetBarStyle.Office2013;
- this.labelX5.TabIndex = 0;
- this.labelX5.Text = "Y";
- this.labelX5.TextAlignment = System.Drawing.StringAlignment.Center;
- //
- // labelX4
- //
- //
- //
- //
- this.labelX4.BackgroundStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square;
- this.labelX4.Location = new System.Drawing.Point(3, 95);
- this.labelX4.Name = "labelX4";
- this.labelX4.Size = new System.Drawing.Size(75, 23);
- this.labelX4.Style = DevComponents.DotNetBar.eDotNetBarStyle.Office2013;
- this.labelX4.TabIndex = 0;
- this.labelX4.Text = "X";
- this.labelX4.TextAlignment = System.Drawing.StringAlignment.Center;
- //
- // labelX3
- //
- //
- //
- //
- this.labelX3.BackgroundStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square;
- this.labelX3.Location = new System.Drawing.Point(3, 66);
- this.labelX3.Name = "labelX3";
- this.labelX3.Size = new System.Drawing.Size(75, 23);
- this.labelX3.Style = DevComponents.DotNetBar.eDotNetBarStyle.Office2013;
- this.labelX3.TabIndex = 0;
- this.labelX3.Text = "纬度";
- this.labelX3.TextAlignment = System.Drawing.StringAlignment.Center;
- //
- // labelX2
- //
- //
- //
- //
- this.labelX2.BackgroundStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square;
- this.labelX2.Location = new System.Drawing.Point(3, 37);
- this.labelX2.Name = "labelX2";
- this.labelX2.Size = new System.Drawing.Size(75, 23);
- this.labelX2.Style = DevComponents.DotNetBar.eDotNetBarStyle.Office2013;
- this.labelX2.TabIndex = 0;
- this.labelX2.Text = "经度";
- this.labelX2.TextAlignment = System.Drawing.StringAlignment.Center;
- //
- // labelX1
- //
- //
- //
- //
- this.labelX1.BackgroundStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square;
- this.labelX1.Location = new System.Drawing.Point(3, 3);
- this.labelX1.Name = "labelX1";
- this.labelX1.Size = new System.Drawing.Size(194, 23);
- this.labelX1.Style = DevComponents.DotNetBar.eDotNetBarStyle.Office2013;
- this.labelX1.TabIndex = 0;
- this.labelX1.Text = "位置信息";
- this.labelX1.TextAlignment = System.Drawing.StringAlignment.Center;
- //
- // panelEx2
- //
- this.panelEx2.CanvasColor = System.Drawing.SystemColors.Control;
- this.panelEx2.ColorSchemeStyle = DevComponents.DotNetBar.eDotNetBarStyle.StyleManagerControlled;
- this.panelEx2.Controls.Add(this.labelX7);
- this.panelEx2.Controls.Add(this.labelX8);
- this.panelEx2.Controls.Add(this.labelX10);
- this.panelEx2.Controls.Add(this.labelX9);
- this.panelEx2.DisabledBackColor = System.Drawing.Color.Empty;
- this.panelEx2.Location = new System.Drawing.Point(25, 190);
- this.panelEx2.Name = "panelEx2";
- this.panelEx2.Size = new System.Drawing.Size(200, 150);
- this.panelEx2.Style.Alignment = System.Drawing.StringAlignment.Center;
- this.panelEx2.Style.BackColor1.ColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelBackground;
- this.panelEx2.Style.BackColor2.ColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelBackground2;
- this.panelEx2.Style.Border = DevComponents.DotNetBar.eBorderType.SingleLine;
- this.panelEx2.Style.BorderColor.ColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelBorder;
- this.panelEx2.Style.ForeColor.ColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelText;
- this.panelEx2.Style.GradientAngle = 90;
- this.panelEx2.TabIndex = 10;
- //
- // labelX7
- //
- //
- //
- //
- this.labelX7.BackgroundStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square;
- this.labelX7.Location = new System.Drawing.Point(3, 3);
- this.labelX7.Name = "labelX7";
- this.labelX7.Size = new System.Drawing.Size(194, 23);
- this.labelX7.Style = DevComponents.DotNetBar.eDotNetBarStyle.Office2013;
- this.labelX7.TabIndex = 0;
- this.labelX7.Text = "时间信息";
- this.labelX7.TextAlignment = System.Drawing.StringAlignment.Center;
- //
- // labelX8
- //
- //
- //
- //
- this.labelX8.BackgroundStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square;
- this.labelX8.Location = new System.Drawing.Point(3, 41);
- this.labelX8.Name = "labelX8";
- this.labelX8.Size = new System.Drawing.Size(75, 23);
- this.labelX8.Style = DevComponents.DotNetBar.eDotNetBarStyle.Office2013;
- this.labelX8.TabIndex = 0;
- this.labelX8.Text = "日期";
- this.labelX8.TextAlignment = System.Drawing.StringAlignment.Center;
- //
- // labelX10
- //
- //
- //
- //
- this.labelX10.BackgroundStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square;
- this.labelX10.Location = new System.Drawing.Point(3, 99);
- this.labelX10.Name = "labelX10";
- this.labelX10.Size = new System.Drawing.Size(75, 23);
- this.labelX10.Style = DevComponents.DotNetBar.eDotNetBarStyle.Office2013;
- this.labelX10.TabIndex = 0;
- this.labelX10.Text = "MJD";
- this.labelX10.TextAlignment = System.Drawing.StringAlignment.Center;
- //
- // labelX9
- //
- //
- //
- //
- this.labelX9.BackgroundStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square;
- this.labelX9.Location = new System.Drawing.Point(3, 70);
- this.labelX9.Name = "labelX9";
- this.labelX9.Size = new System.Drawing.Size(75, 23);
- this.labelX9.Style = DevComponents.DotNetBar.eDotNetBarStyle.Office2013;
- this.labelX9.TabIndex = 0;
- this.labelX9.Text = "时间";
- this.labelX9.TextAlignment = System.Drawing.StringAlignment.Center;
- //
- // panelEx3
- //
- this.panelEx3.CanvasColor = System.Drawing.SystemColors.Control;
- this.panelEx3.ColorSchemeStyle = DevComponents.DotNetBar.eDotNetBarStyle.StyleManagerControlled;
- this.panelEx3.Controls.Add(this.labelX11);
- this.panelEx3.Controls.Add(this.labelX13);
- this.panelEx3.Controls.Add(this.labelX12);
- this.panelEx3.DisabledBackColor = System.Drawing.Color.Empty;
- this.panelEx3.Location = new System.Drawing.Point(25, 50);
- this.panelEx3.Name = "panelEx3";
- this.panelEx3.Size = new System.Drawing.Size(200, 100);
- this.panelEx3.Style.Alignment = System.Drawing.StringAlignment.Center;
- this.panelEx3.Style.BackColor1.ColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelBackground;
- this.panelEx3.Style.BackColor2.ColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelBackground2;
- this.panelEx3.Style.Border = DevComponents.DotNetBar.eBorderType.SingleLine;
- this.panelEx3.Style.BorderColor.ColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelBorder;
- this.panelEx3.Style.ForeColor.ColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelText;
- this.panelEx3.Style.GradientAngle = 90;
- this.panelEx3.TabIndex = 10;
- //
- // labelX11
- //
- //
- //
- //
- this.labelX11.BackgroundStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square;
- this.labelX11.Location = new System.Drawing.Point(3, 3);
- this.labelX11.Name = "labelX11";
- this.labelX11.Size = new System.Drawing.Size(194, 23);
- this.labelX11.Style = DevComponents.DotNetBar.eDotNetBarStyle.Office2013;
- this.labelX11.TabIndex = 0;
- this.labelX11.Text = "基本信息";
- this.labelX11.TextAlignment = System.Drawing.StringAlignment.Center;
- //
- // labelX13
- //
- //
- //
- //
- this.labelX13.BackgroundStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square;
- this.labelX13.Location = new System.Drawing.Point(3, 32);
- this.labelX13.Name = "labelX13";
- this.labelX13.Size = new System.Drawing.Size(75, 23);
- this.labelX13.Style = DevComponents.DotNetBar.eDotNetBarStyle.Office2013;
- this.labelX13.TabIndex = 0;
- this.labelX13.Text = "原子钟";
- this.labelX13.TextAlignment = System.Drawing.StringAlignment.Center;
- //
- // labelX12
- //
- //
- //
- //
- this.labelX12.BackgroundStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square;
- this.labelX12.Location = new System.Drawing.Point(3, 61);
- this.labelX12.Name = "labelX12";
- this.labelX12.Size = new System.Drawing.Size(75, 23);
- this.labelX12.Style = DevComponents.DotNetBar.eDotNetBarStyle.Office2013;
- this.labelX12.TabIndex = 0;
- this.labelX12.Text = "接收机";
- this.labelX12.TextAlignment = System.Drawing.StringAlignment.Center;
- //
- // panelEx4
- //
- this.panelEx4.CanvasColor = System.Drawing.SystemColors.Control;
- this.panelEx4.ColorSchemeStyle = DevComponents.DotNetBar.eDotNetBarStyle.StyleManagerControlled;
- this.panelEx4.Controls.Add(this.panelEx2);
- this.panelEx4.Controls.Add(this.panelEx1);
- this.panelEx4.Controls.Add(this.panelEx3);
- this.panelEx4.DisabledBackColor = System.Drawing.Color.Empty;
- this.panelEx4.Location = new System.Drawing.Point(0, 0);
- this.panelEx4.Name = "panelEx4";
- this.panelEx4.Size = new System.Drawing.Size(250, 640);
- this.panelEx4.Style.Alignment = System.Drawing.StringAlignment.Center;
- this.panelEx4.Style.BackColor1.ColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelBackground;
- this.panelEx4.Style.BackColor2.ColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelBackground2;
- this.panelEx4.Style.Border = DevComponents.DotNetBar.eBorderType.SingleLine;
- this.panelEx4.Style.BorderColor.ColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelBorder;
- this.panelEx4.Style.ForeColor.ColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelText;
- this.panelEx4.Style.GradientAngle = 90;
- this.panelEx4.TabIndex = 10;
- //
- // dataGridViewX2
- //
- this.dataGridViewX2.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.AutoSize;
- this.dataGridViewX2.Columns.AddRange(new System.Windows.Forms.DataGridViewColumn[] {
- this.Column18,
- this.Column19,
- this.Column20,
- this.Column21,
- this.Column22,
- this.Column23,
- this.Column24,
- this.Column25,
- this.Column26,
- this.Column27,
- this.Column28,
- this.Column29});
- dataGridViewCellStyle2.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleLeft;
- dataGridViewCellStyle2.BackColor = System.Drawing.SystemColors.Window;
- dataGridViewCellStyle2.Font = new System.Drawing.Font("宋体", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
- dataGridViewCellStyle2.ForeColor = System.Drawing.SystemColors.ControlText;
- dataGridViewCellStyle2.SelectionBackColor = System.Drawing.SystemColors.Highlight;
- dataGridViewCellStyle2.SelectionForeColor = System.Drawing.SystemColors.ControlText;
- dataGridViewCellStyle2.WrapMode = System.Windows.Forms.DataGridViewTriState.False;
- this.dataGridViewX2.DefaultCellStyle = dataGridViewCellStyle2;
- this.dataGridViewX2.GridColor = System.Drawing.Color.FromArgb(((int)(((byte)(208)))), ((int)(((byte)(215)))), ((int)(((byte)(229)))));
- this.dataGridViewX2.Location = new System.Drawing.Point(250, 216);
- this.dataGridViewX2.Name = "dataGridViewX2";
- this.dataGridViewX2.Size = new System.Drawing.Size(747, 424);
- this.dataGridViewX2.TabIndex = 15;
- //
- // Column18
- //
- this.Column18.HeaderText = "通道号";
- this.Column18.Name = "Column18";
- //
- // Column19
- //
- this.Column19.HeaderText = "当前状态";
- this.Column19.Name = "Column19";
- //
- // Column20
- //
- this.Column20.HeaderText = "仪器名称";
- this.Column20.Name = "Column20";
- //
- // Column21
- //
- this.Column21.HeaderText = "仪器编号";
- this.Column21.Name = "Column21";
- //
- // Column22
- //
- this.Column22.HeaderText = "客户名称";
- this.Column22.Name = "Column22";
- //
- // Column23
- //
- this.Column23.HeaderText = "开始时间";
- this.Column23.Name = "Column23";
- //
- // Column24
- //
- this.Column24.HeaderText = "结束时间";
- this.Column24.Name = "Column24";
- //
- // Column25
- //
- this.Column25.HeaderText = "频率稳定度";
- this.Column25.Name = "Column25";
- //
- // Column26
- //
- this.Column26.HeaderText = "频率准确度";
- this.Column26.Name = "Column26";
- //
- // Column27
- //
- this.Column27.HeaderText = "开机特性";
- this.Column27.Name = "Column27";
- //
- // Column28
- //
- this.Column28.HeaderText = "日老化率";
- this.Column28.Name = "Column28";
- //
- // Column29
- //
- this.Column29.HeaderText = "频率计数器范围及灵敏度";
- this.Column29.Name = "Column29";
- //
- // buttonX1
- //
- this.buttonX1.AccessibleRole = System.Windows.Forms.AccessibleRole.PushButton;
- this.buttonX1.BackColor = System.Drawing.Color.Transparent;
- this.buttonX1.ColorTable = DevComponents.DotNetBar.eButtonColor.OrangeWithBackground;
- this.buttonX1.Location = new System.Drawing.Point(663, 183);
- this.buttonX1.Name = "buttonX1";
- this.buttonX1.Size = new System.Drawing.Size(30, 23);
- this.buttonX1.Style = DevComponents.DotNetBar.eDotNetBarStyle.StyleManagerControlled;
- this.buttonX1.Symbol = "";
- this.buttonX1.SymbolColor = System.Drawing.Color.FromArgb(((int)(((byte)(64)))), ((int)(((byte)(64)))), ((int)(((byte)(64)))));
- this.buttonX1.SymbolSize = 8F;
- this.buttonX1.TabIndex = 19;
- //
- // buttonX2
- //
- this.buttonX2.AccessibleRole = System.Windows.Forms.AccessibleRole.PushButton;
- this.buttonX2.BackColor = System.Drawing.Color.Transparent;
- this.buttonX2.ColorTable = DevComponents.DotNetBar.eButtonColor.OrangeWithBackground;
- this.buttonX2.Location = new System.Drawing.Point(589, 184);
- this.buttonX2.Name = "buttonX2";
- this.buttonX2.Size = new System.Drawing.Size(30, 23);
- this.buttonX2.Style = DevComponents.DotNetBar.eDotNetBarStyle.StyleManagerControlled;
- this.buttonX2.Symbol = "";
- this.buttonX2.SymbolColor = System.Drawing.Color.FromArgb(((int)(((byte)(64)))), ((int)(((byte)(64)))), ((int)(((byte)(64)))));
- this.buttonX2.SymbolSize = 8F;
- this.buttonX2.TabIndex = 19;
+ this.panel5.BackgroundImage = global::Casic.Birmm.RbFreqStandMeasure.Properties.Resources.bg_dev_channel;
+ this.panel5.Location = new System.Drawing.Point(230, 226);
+ this.panel5.Name = "panel5";
+ this.panel5.Size = new System.Drawing.Size(788, 424);
+ this.panel5.TabIndex = 4;
//
// label1
//
this.label1.BackColor = System.Drawing.Color.Transparent;
- this.label1.Font = new System.Drawing.Font("Times New Roman", 9.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
- this.label1.Location = new System.Drawing.Point(880, 186);
- this.label1.Margin = new System.Windows.Forms.Padding(0);
+ this.label1.Font = new System.Drawing.Font("微软雅黑", 14F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Pixel, ((byte)(134)));
+ this.label1.Location = new System.Drawing.Point(0, 20);
this.label1.Name = "label1";
- this.label1.Size = new System.Drawing.Size(20, 20);
- this.label1.TabIndex = 20;
- this.label1.Text = "1";
+ this.label1.Size = new System.Drawing.Size(224, 25);
+ this.label1.TabIndex = 0;
+ this.label1.Text = "基本信息";
this.label1.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
//
// label2
//
this.label2.BackColor = System.Drawing.Color.Transparent;
- this.label2.Font = new System.Drawing.Font("Times New Roman", 9.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
- this.label2.Location = new System.Drawing.Point(636, 187);
- this.label2.Margin = new System.Windows.Forms.Padding(0);
+ this.label2.Font = new System.Drawing.Font("微软雅黑", 14F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Pixel, ((byte)(134)));
+ this.label2.Location = new System.Drawing.Point(0, 60);
this.label2.Name = "label2";
- this.label2.Size = new System.Drawing.Size(200, 20);
- this.label2.TabIndex = 20;
- this.label2.Text = "共150条,每页5条,共100页";
- this.label2.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
+ this.label2.Size = new System.Drawing.Size(75, 25);
+ this.label2.TabIndex = 1;
+ this.label2.Text = "原子钟";
+ this.label2.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
+ //
+ // label3
+ //
+ this.label3.BackColor = System.Drawing.Color.Transparent;
+ this.label3.Font = new System.Drawing.Font("微软雅黑", 14F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Pixel, ((byte)(134)));
+ this.label3.Location = new System.Drawing.Point(0, 100);
+ this.label3.Name = "label3";
+ this.label3.Size = new System.Drawing.Size(75, 25);
+ this.label3.TabIndex = 1;
+ this.label3.Text = "接收机";
+ this.label3.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
+ //
+ // label4
+ //
+ this.label4.BackColor = System.Drawing.Color.Transparent;
+ this.label4.Font = new System.Drawing.Font("微软雅黑", 14F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Pixel, ((byte)(134)));
+ this.label4.Location = new System.Drawing.Point(0, 20);
+ this.label4.Name = "label4";
+ this.label4.Size = new System.Drawing.Size(224, 25);
+ this.label4.TabIndex = 0;
+ this.label4.Text = "时间信息";
+ this.label4.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
+ //
+ // label5
+ //
+ this.label5.BackColor = System.Drawing.Color.Transparent;
+ this.label5.Font = new System.Drawing.Font("微软雅黑", 14F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Pixel, ((byte)(134)));
+ this.label5.Location = new System.Drawing.Point(0, 60);
+ this.label5.Name = "label5";
+ this.label5.Size = new System.Drawing.Size(75, 25);
+ this.label5.TabIndex = 1;
+ this.label5.Text = "日期";
+ this.label5.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
+ //
+ // label6
+ //
+ this.label6.BackColor = System.Drawing.Color.Transparent;
+ this.label6.Font = new System.Drawing.Font("微软雅黑", 14F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Pixel, ((byte)(134)));
+ this.label6.Location = new System.Drawing.Point(0, 100);
+ this.label6.Name = "label6";
+ this.label6.Size = new System.Drawing.Size(75, 25);
+ this.label6.TabIndex = 1;
+ this.label6.Text = "时间";
+ this.label6.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
+ //
+ // label7
+ //
+ this.label7.BackColor = System.Drawing.Color.Transparent;
+ this.label7.Font = new System.Drawing.Font("微软雅黑", 14F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Pixel, ((byte)(134)));
+ this.label7.Location = new System.Drawing.Point(0, 140);
+ this.label7.Margin = new System.Windows.Forms.Padding(0);
+ this.label7.Name = "label7";
+ this.label7.Size = new System.Drawing.Size(75, 25);
+ this.label7.TabIndex = 1;
+ this.label7.Text = "MJD";
+ this.label7.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
+ //
+ // label8
+ //
+ this.label8.BackColor = System.Drawing.Color.Transparent;
+ this.label8.Font = new System.Drawing.Font("微软雅黑", 14F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Pixel, ((byte)(134)));
+ this.label8.Location = new System.Drawing.Point(0, 20);
+ this.label8.Name = "label8";
+ this.label8.Size = new System.Drawing.Size(224, 25);
+ this.label8.TabIndex = 0;
+ this.label8.Text = "位置信息";
+ this.label8.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
+ //
+ // label9
+ //
+ this.label9.BackColor = System.Drawing.Color.Transparent;
+ this.label9.Font = new System.Drawing.Font("微软雅黑", 14F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Pixel, ((byte)(134)));
+ this.label9.Location = new System.Drawing.Point(0, 60);
+ this.label9.Name = "label9";
+ this.label9.Size = new System.Drawing.Size(75, 25);
+ this.label9.TabIndex = 1;
+ this.label9.Text = "经度";
+ this.label9.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
+ //
+ // label10
+ //
+ this.label10.BackColor = System.Drawing.Color.Transparent;
+ this.label10.Font = new System.Drawing.Font("微软雅黑", 14F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Pixel, ((byte)(134)));
+ this.label10.Location = new System.Drawing.Point(0, 100);
+ this.label10.Margin = new System.Windows.Forms.Padding(0);
+ this.label10.Name = "label10";
+ this.label10.Size = new System.Drawing.Size(75, 25);
+ this.label10.TabIndex = 1;
+ this.label10.Text = "纬度";
+ this.label10.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
+ //
+ // label11
+ //
+ this.label11.BackColor = System.Drawing.Color.Transparent;
+ this.label11.Font = new System.Drawing.Font("微软雅黑", 14F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Pixel, ((byte)(134)));
+ this.label11.Location = new System.Drawing.Point(0, 140);
+ this.label11.Margin = new System.Windows.Forms.Padding(0);
+ this.label11.Name = "label11";
+ this.label11.Size = new System.Drawing.Size(75, 25);
+ this.label11.TabIndex = 1;
+ this.label11.Text = "X";
+ this.label11.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
+ //
+ // label12
+ //
+ this.label12.BackColor = System.Drawing.Color.Transparent;
+ this.label12.Font = new System.Drawing.Font("微软雅黑", 14F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Pixel, ((byte)(134)));
+ this.label12.Location = new System.Drawing.Point(0, 180);
+ this.label12.Margin = new System.Windows.Forms.Padding(0);
+ this.label12.Name = "label12";
+ this.label12.Size = new System.Drawing.Size(75, 25);
+ this.label12.TabIndex = 1;
+ this.label12.Text = "Y";
+ this.label12.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
+ //
+ // label13
+ //
+ this.label13.BackColor = System.Drawing.Color.Transparent;
+ this.label13.Font = new System.Drawing.Font("微软雅黑", 14F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Pixel, ((byte)(134)));
+ this.label13.Location = new System.Drawing.Point(0, 220);
+ this.label13.Margin = new System.Windows.Forms.Padding(0);
+ this.label13.Name = "label13";
+ this.label13.Size = new System.Drawing.Size(75, 25);
+ this.label13.TabIndex = 1;
+ this.label13.Text = "Z";
+ this.label13.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
//
// HomeCtrlForm
//
this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 12F);
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
- this.Controls.Add(this.label1);
- this.Controls.Add(this.label2);
- this.Controls.Add(this.dataGridViewX2);
- this.Controls.Add(this.panelEx4);
- this.Controls.Add(this.panelToBeTested);
+ this.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(232)))), ((int)(((byte)(234)))), ((int)(((byte)(238)))));
+ this.Controls.Add(this.panel5);
+ this.Controls.Add(this.panel4);
+ this.Controls.Add(this.panel3);
+ this.Controls.Add(this.panel2);
+ this.Controls.Add(this.panel1);
this.Margin = new System.Windows.Forms.Padding(0);
this.Name = "HomeCtrlForm";
- this.Size = new System.Drawing.Size(1000, 640);
- this.panelToBeTested.ResumeLayout(false);
- ((System.ComponentModel.ISupportInitialize)(this.dataGridViewX1)).EndInit();
- this.panelEx1.ResumeLayout(false);
- this.panelEx2.ResumeLayout(false);
- this.panelEx3.ResumeLayout(false);
- this.panelEx4.ResumeLayout(false);
- ((System.ComponentModel.ISupportInitialize)(this.dataGridViewX2)).EndInit();
+ this.Size = new System.Drawing.Size(1024, 654);
+ this.panel3.ResumeLayout(false);
+ this.panel2.ResumeLayout(false);
+ this.panel1.ResumeLayout(false);
this.ResumeLayout(false);
}
#endregion
- private System.Windows.Forms.Panel panelToBeTested;
- private DevComponents.DotNetBar.PanelEx panelEx1;
- private DevComponents.DotNetBar.LabelX labelX6;
- private DevComponents.DotNetBar.LabelX labelX5;
- private DevComponents.DotNetBar.LabelX labelX4;
- private DevComponents.DotNetBar.LabelX labelX3;
- private DevComponents.DotNetBar.LabelX labelX2;
- private DevComponents.DotNetBar.LabelX labelX1;
- private DevComponents.DotNetBar.PanelEx panelEx2;
- private DevComponents.DotNetBar.LabelX labelX7;
- private DevComponents.DotNetBar.LabelX labelX8;
- private DevComponents.DotNetBar.LabelX labelX10;
- private DevComponents.DotNetBar.LabelX labelX9;
- private DevComponents.DotNetBar.PanelEx panelEx3;
- private DevComponents.DotNetBar.LabelX labelX11;
- private DevComponents.DotNetBar.LabelX labelX13;
- private DevComponents.DotNetBar.LabelX labelX12;
- private DevComponents.DotNetBar.PanelEx panelEx4;
- private DevComponents.DotNetBar.Controls.DataGridViewX dataGridViewX1;
- private System.Windows.Forms.DataGridViewTextBoxColumn Column13;
- private System.Windows.Forms.DataGridViewTextBoxColumn Column14;
- private System.Windows.Forms.DataGridViewTextBoxColumn Column15;
- private System.Windows.Forms.DataGridViewTextBoxColumn Column16;
- private System.Windows.Forms.DataGridViewTextBoxColumn Column17;
- private DevComponents.DotNetBar.Controls.DataGridViewX dataGridViewX2;
- private System.Windows.Forms.DataGridViewTextBoxColumn Column18;
- private System.Windows.Forms.DataGridViewTextBoxColumn Column19;
- private System.Windows.Forms.DataGridViewTextBoxColumn Column20;
- private System.Windows.Forms.DataGridViewTextBoxColumn Column21;
- private System.Windows.Forms.DataGridViewTextBoxColumn Column22;
- private System.Windows.Forms.DataGridViewTextBoxColumn Column23;
- private System.Windows.Forms.DataGridViewTextBoxColumn Column24;
- private System.Windows.Forms.DataGridViewTextBoxColumn Column25;
- private System.Windows.Forms.DataGridViewTextBoxColumn Column26;
- private System.Windows.Forms.DataGridViewTextBoxColumn Column27;
- private System.Windows.Forms.DataGridViewTextBoxColumn Column28;
- private System.Windows.Forms.DataGridViewTextBoxColumn Column29;
- private DevComponents.DotNetBar.ButtonX buttonX1;
- private DevComponents.DotNetBar.ButtonX buttonX2;
+
+ private System.Windows.Forms.Panel panel1;
+ private System.Windows.Forms.Panel panel2;
+ private System.Windows.Forms.Panel panel3;
+ private System.Windows.Forms.Panel panel4;
+ private System.Windows.Forms.Panel panel5;
private System.Windows.Forms.Label label1;
private System.Windows.Forms.Label label2;
+ private System.Windows.Forms.Label label3;
+ private System.Windows.Forms.Label label4;
+ private System.Windows.Forms.Label label5;
+ private System.Windows.Forms.Label label6;
+ private System.Windows.Forms.Label label7;
+ private System.Windows.Forms.Label label8;
+ private System.Windows.Forms.Label label11;
+ private System.Windows.Forms.Label label9;
+ private System.Windows.Forms.Label label10;
+ private System.Windows.Forms.Label label12;
+ private System.Windows.Forms.Label label13;
}
}
diff --git a/RbFreqStandMeasure/HomeCtrlForm.resx b/RbFreqStandMeasure/HomeCtrlForm.resx
index 6d97f4f..1af7de1 100644
--- a/RbFreqStandMeasure/HomeCtrlForm.resx
+++ b/RbFreqStandMeasure/HomeCtrlForm.resx
@@ -117,55 +117,4 @@
System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
-
- True
-
-
- True
-
-
- True
-
-
- True
-
-
- True
-
-
- True
-
-
- True
-
-
- True
-
-
- True
-
-
- True
-
-
- True
-
-
- True
-
-
- True
-
-
- True
-
-
- True
-
-
- True
-
-
- True
-
\ No newline at end of file
diff --git a/RbFreqStandMeasure/Program.cs b/RbFreqStandMeasure/Program.cs
index 93a83e5..6150917 100644
--- a/RbFreqStandMeasure/Program.cs
+++ b/RbFreqStandMeasure/Program.cs
@@ -1,6 +1,4 @@
using System;
-using System.Collections.Generic;
-using System.Linq;
using System.Windows.Forms;
namespace Casic.Birmm.RbFreqStandMeasure
diff --git a/RbFreqStandMeasure/Properties/Resources.Designer.cs b/RbFreqStandMeasure/Properties/Resources.Designer.cs
index 253d7d7..d819a23 100644
--- a/RbFreqStandMeasure/Properties/Resources.Designer.cs
+++ b/RbFreqStandMeasure/Properties/Resources.Designer.cs
@@ -73,6 +73,56 @@
///
/// 查找 System.Drawing.Bitmap 类型的本地化资源。
///
+ internal static System.Drawing.Bitmap bg_dev_channel {
+ get {
+ object obj = ResourceManager.GetObject("bg_dev_channel", resourceCulture);
+ return ((System.Drawing.Bitmap)(obj));
+ }
+ }
+
+ ///
+ /// 查找 System.Drawing.Bitmap 类型的本地化资源。
+ ///
+ internal static System.Drawing.Bitmap bg_dev_tested {
+ get {
+ object obj = ResourceManager.GetObject("bg_dev_tested", resourceCulture);
+ return ((System.Drawing.Bitmap)(obj));
+ }
+ }
+
+ ///
+ /// 查找 System.Drawing.Bitmap 类型的本地化资源。
+ ///
+ internal static System.Drawing.Bitmap bg_status_base {
+ get {
+ object obj = ResourceManager.GetObject("bg_status_base", resourceCulture);
+ return ((System.Drawing.Bitmap)(obj));
+ }
+ }
+
+ ///
+ /// 查找 System.Drawing.Bitmap 类型的本地化资源。
+ ///
+ internal static System.Drawing.Bitmap bg_status_location {
+ get {
+ object obj = ResourceManager.GetObject("bg_status_location", resourceCulture);
+ return ((System.Drawing.Bitmap)(obj));
+ }
+ }
+
+ ///
+ /// 查找 System.Drawing.Bitmap 类型的本地化资源。
+ ///
+ internal static System.Drawing.Bitmap bg_status_time {
+ get {
+ object obj = ResourceManager.GetObject("bg_status_time", resourceCulture);
+ return ((System.Drawing.Bitmap)(obj));
+ }
+ }
+
+ ///
+ /// 查找 System.Drawing.Bitmap 类型的本地化资源。
+ ///
internal static System.Drawing.Bitmap bg_white_shadow {
get {
object obj = ResourceManager.GetObject("bg_white_shadow", resourceCulture);
@@ -83,6 +133,66 @@
///
/// 查找 System.Drawing.Bitmap 类型的本地化资源。
///
+ internal static System.Drawing.Bitmap icon_counter {
+ get {
+ object obj = ResourceManager.GetObject("icon_counter", resourceCulture);
+ return ((System.Drawing.Bitmap)(obj));
+ }
+ }
+
+ ///
+ /// 查找 System.Drawing.Bitmap 类型的本地化资源。
+ ///
+ internal static System.Drawing.Bitmap icon_counter_selected {
+ get {
+ object obj = ResourceManager.GetObject("icon_counter_selected", resourceCulture);
+ return ((System.Drawing.Bitmap)(obj));
+ }
+ }
+
+ ///
+ /// 查找 System.Drawing.Bitmap 类型的本地化资源。
+ ///
+ internal static System.Drawing.Bitmap icon_data {
+ get {
+ object obj = ResourceManager.GetObject("icon_data", resourceCulture);
+ return ((System.Drawing.Bitmap)(obj));
+ }
+ }
+
+ ///
+ /// 查找 System.Drawing.Bitmap 类型的本地化资源。
+ ///
+ internal static System.Drawing.Bitmap icon_data_selected {
+ get {
+ object obj = ResourceManager.GetObject("icon_data_selected", resourceCulture);
+ return ((System.Drawing.Bitmap)(obj));
+ }
+ }
+
+ ///
+ /// 查找 System.Drawing.Bitmap 类型的本地化资源。
+ ///
+ internal static System.Drawing.Bitmap icon_dev {
+ get {
+ object obj = ResourceManager.GetObject("icon_dev", resourceCulture);
+ return ((System.Drawing.Bitmap)(obj));
+ }
+ }
+
+ ///
+ /// 查找 System.Drawing.Bitmap 类型的本地化资源。
+ ///
+ internal static System.Drawing.Bitmap icon_dev_selected {
+ get {
+ object obj = ResourceManager.GetObject("icon_dev_selected", resourceCulture);
+ return ((System.Drawing.Bitmap)(obj));
+ }
+ }
+
+ ///
+ /// 查找 System.Drawing.Bitmap 类型的本地化资源。
+ ///
internal static System.Drawing.Bitmap icon_exit {
get {
object obj = ResourceManager.GetObject("icon_exit", resourceCulture);
@@ -113,6 +223,56 @@
///
/// 查找 System.Drawing.Bitmap 类型的本地化资源。
///
+ internal static System.Drawing.Bitmap icon_measure {
+ get {
+ object obj = ResourceManager.GetObject("icon_measure", resourceCulture);
+ return ((System.Drawing.Bitmap)(obj));
+ }
+ }
+
+ ///
+ /// 查找 System.Drawing.Bitmap 类型的本地化资源。
+ ///
+ internal static System.Drawing.Bitmap icon_measure_selected {
+ get {
+ object obj = ResourceManager.GetObject("icon_measure_selected", resourceCulture);
+ return ((System.Drawing.Bitmap)(obj));
+ }
+ }
+
+ ///
+ /// 查找 System.Drawing.Bitmap 类型的本地化资源。
+ ///
+ internal static System.Drawing.Bitmap icon_min {
+ get {
+ object obj = ResourceManager.GetObject("icon_min", resourceCulture);
+ return ((System.Drawing.Bitmap)(obj));
+ }
+ }
+
+ ///
+ /// 查找 System.Drawing.Bitmap 类型的本地化资源。
+ ///
+ internal static System.Drawing.Bitmap icon_setting {
+ get {
+ object obj = ResourceManager.GetObject("icon_setting", resourceCulture);
+ return ((System.Drawing.Bitmap)(obj));
+ }
+ }
+
+ ///
+ /// 查找 System.Drawing.Bitmap 类型的本地化资源。
+ ///
+ internal static System.Drawing.Bitmap icon_setting_selected {
+ get {
+ object obj = ResourceManager.GetObject("icon_setting_selected", resourceCulture);
+ return ((System.Drawing.Bitmap)(obj));
+ }
+ }
+
+ ///
+ /// 查找 System.Drawing.Bitmap 类型的本地化资源。
+ ///
internal static System.Drawing.Bitmap icon_status {
get {
object obj = ResourceManager.GetObject("icon_status", resourceCulture);
diff --git a/RbFreqStandMeasure/Properties/Resources.resx b/RbFreqStandMeasure/Properties/Resources.resx
index e781bb7..cfdb255 100644
--- a/RbFreqStandMeasure/Properties/Resources.resx
+++ b/RbFreqStandMeasure/Properties/Resources.resx
@@ -118,25 +118,73 @@
System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
-
- ..\res\images\icon_exit.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
+
+ ..\res\images\icon_counter_selected.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
-
- ..\res\images\bg_white_shadow.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
+
+ ..\res\images\icon_dev_selected.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
+
+
+ ..\res\images\icon_status_selected.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
+
+
+ ..\res\images\icon_data_selected.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
..\res\images\icon_home_selected.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
-
- ..\res\images\bg_banner.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
-
-
- ..\res\images\icon_home.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
+
+ ..\res\images\icon_exit.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
..\res\images\icon_status.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
-
- ..\res\images\icon_status_selected.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
+
+ ..\res\images\icon_data.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
+
+
+ ..\res\images\icon_setting.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
+
+
+ ..\res\images\icon_measure_selected.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
+
+
+ ..\res\images\bg_banner.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
+
+
+ ..\res\images\icon_setting_selected.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
+
+
+ ..\res\images\icon_dev.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
+
+
+ ..\res\images\icon_counter.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
+
+
+ ..\res\images\icon_measure.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
+
+
+ ..\res\images\icon_home.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
+
+
+ ..\res\images\bg_white_shadow.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
+
+
+ ..\res\images\icon_min.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
+
+
+ ..\res\images\bg_status_base.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
+
+
+ ..\res\images\bg_status_location.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
+
+
+ ..\res\images\bg_status_time.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
+
+
+ ..\res\images\bg_dev_channel.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
+
+
+ ..\res\images\bg_dev_tested.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
\ No newline at end of file
diff --git a/RbFreqStandMeasure/RbFreqStandMeasure.csproj b/RbFreqStandMeasure/RbFreqStandMeasure.csproj
index f5e7da9..7c12768 100644
--- a/RbFreqStandMeasure/RbFreqStandMeasure.csproj
+++ b/RbFreqStandMeasure/RbFreqStandMeasure.csproj
@@ -232,6 +232,54 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/RbFreqStandMeasure/RbFreqStdMeas.Designer.cs b/RbFreqStandMeasure/RbFreqStdMeas.Designer.cs
index 57778cf..1bd008c 100644
--- a/RbFreqStandMeasure/RbFreqStdMeas.Designer.cs
+++ b/RbFreqStandMeasure/RbFreqStdMeas.Designer.cs
@@ -30,148 +30,77 @@
private void InitializeComponent()
{
this.panMenu = new System.Windows.Forms.Panel();
+ this.penBanner = new System.Windows.Forms.Panel();
+ this.btnMinSys = new System.Windows.Forms.Button();
+ this.btnExitSys = new System.Windows.Forms.Button();
+ this.labTitle = new System.Windows.Forms.Label();
+ this.panDev = new Casic.Birmm.RbFreqStandMeasure.RoundPanel();
+ this.labDevText = new System.Windows.Forms.Label();
+ this.labDevSelected = new System.Windows.Forms.Label();
+ this.picIconDev = new System.Windows.Forms.PictureBox();
+ this.panSetting = new Casic.Birmm.RbFreqStandMeasure.RoundPanel();
+ this.labSettingSelected = new System.Windows.Forms.Label();
+ this.labSettingText = new System.Windows.Forms.Label();
+ this.picIconSetting = new System.Windows.Forms.PictureBox();
this.panStatus = new Casic.Birmm.RbFreqStandMeasure.RoundPanel();
this.labStatusText = new System.Windows.Forms.Label();
this.picIconStatus = new System.Windows.Forms.PictureBox();
+ this.labStatusSelected = new System.Windows.Forms.Label();
+ this.panData = new Casic.Birmm.RbFreqStandMeasure.RoundPanel();
+ this.labDataSelected = new System.Windows.Forms.Label();
+ this.labDataText = new System.Windows.Forms.Label();
+ this.picIconData = new System.Windows.Forms.PictureBox();
this.panHome = new Casic.Birmm.RbFreqStandMeasure.RoundPanel();
this.labHomeText = new System.Windows.Forms.Label();
this.picIconHome = new System.Windows.Forms.PictureBox();
this.labHomeSelected = new System.Windows.Forms.Label();
- this.labStatusSelected = new System.Windows.Forms.Label();
- this.penBanner = new System.Windows.Forms.Panel();
- this.btnExitSys = new System.Windows.Forms.Button();
- this.labTitle = new System.Windows.Forms.Label();
+ this.panMeasure = new Casic.Birmm.RbFreqStandMeasure.RoundPanel();
+ this.labMeasureText = new System.Windows.Forms.Label();
+ this.labMeasureSelected = new System.Windows.Forms.Label();
+ this.picIconMeasure = new System.Windows.Forms.PictureBox();
+ this.panCounter = new Casic.Birmm.RbFreqStandMeasure.RoundPanel();
+ this.labCounterSelected = new System.Windows.Forms.Label();
+ this.labCounterText = new System.Windows.Forms.Label();
+ this.picIconCounter = new System.Windows.Forms.PictureBox();
+ this.panelMain = new System.Windows.Forms.Panel();
this.panMenu.SuspendLayout();
+ this.penBanner.SuspendLayout();
+ this.panDev.SuspendLayout();
+ ((System.ComponentModel.ISupportInitialize)(this.picIconDev)).BeginInit();
+ this.panSetting.SuspendLayout();
+ ((System.ComponentModel.ISupportInitialize)(this.picIconSetting)).BeginInit();
this.panStatus.SuspendLayout();
((System.ComponentModel.ISupportInitialize)(this.picIconStatus)).BeginInit();
+ this.panData.SuspendLayout();
+ ((System.ComponentModel.ISupportInitialize)(this.picIconData)).BeginInit();
this.panHome.SuspendLayout();
((System.ComponentModel.ISupportInitialize)(this.picIconHome)).BeginInit();
- this.penBanner.SuspendLayout();
+ this.panMeasure.SuspendLayout();
+ ((System.ComponentModel.ISupportInitialize)(this.picIconMeasure)).BeginInit();
+ this.panCounter.SuspendLayout();
+ ((System.ComponentModel.ISupportInitialize)(this.picIconCounter)).BeginInit();
this.SuspendLayout();
//
// panMenu
//
this.panMenu.BackColor = System.Drawing.Color.White;
+ this.panMenu.Controls.Add(this.panDev);
+ this.panMenu.Controls.Add(this.panSetting);
this.panMenu.Controls.Add(this.panStatus);
+ this.panMenu.Controls.Add(this.panData);
this.panMenu.Controls.Add(this.panHome);
- this.panMenu.Controls.Add(this.labStatusSelected);
+ this.panMenu.Controls.Add(this.panMeasure);
+ this.panMenu.Controls.Add(this.panCounter);
this.panMenu.Location = new System.Drawing.Point(0, 64);
this.panMenu.Name = "panMenu";
this.panMenu.Size = new System.Drawing.Size(1024, 50);
this.panMenu.TabIndex = 1;
//
- // panStatus
- //
- this.panStatus.Back = System.Drawing.Color.Empty;
- this.panStatus.BackColor = System.Drawing.Color.Transparent;
- this.panStatus.Controls.Add(this.labStatusText);
- this.panStatus.Controls.Add(this.picIconStatus);
- this.panStatus.Location = new System.Drawing.Point(160, 0);
- this.panStatus.MatrixRound = 8;
- this.panStatus.Name = "panStatus";
- this.panStatus.Size = new System.Drawing.Size(130, 47);
- this.panStatus.TabIndex = 1;
- this.panStatus.Click += new System.EventHandler(this.panStatus_Click);
- this.panStatus.MouseLeave += new System.EventHandler(this.panStatus_MouseLeave);
- this.panStatus.MouseHover += new System.EventHandler(this.panStatus_MouseHover);
- //
- // labStatusText
- //
- this.labStatusText.BackColor = System.Drawing.Color.Transparent;
- this.labStatusText.Cursor = System.Windows.Forms.Cursors.Hand;
- this.labStatusText.Font = new System.Drawing.Font("微软雅黑", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
- this.labStatusText.ForeColor = System.Drawing.SystemColors.ControlText;
- this.labStatusText.Location = new System.Drawing.Point(35, 0);
- this.labStatusText.Margin = new System.Windows.Forms.Padding(0);
- this.labStatusText.Name = "labStatusText";
- this.labStatusText.Size = new System.Drawing.Size(85, 47);
- this.labStatusText.TabIndex = 2;
- this.labStatusText.Text = "基准状态";
- this.labStatusText.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
- this.labStatusText.Click += new System.EventHandler(this.panStatus_Click);
- this.labStatusText.MouseLeave += new System.EventHandler(this.panStatus_MouseLeave);
- this.labStatusText.MouseHover += new System.EventHandler(this.panStatus_MouseHover);
- //
- // picIconStatus
- //
- this.picIconStatus.BackgroundImage = global::Casic.Birmm.RbFreqStandMeasure.Properties.Resources.icon_status;
- this.picIconStatus.BackgroundImageLayout = System.Windows.Forms.ImageLayout.Zoom;
- this.picIconStatus.Location = new System.Drawing.Point(10, 11);
- this.picIconStatus.Name = "picIconStatus";
- this.picIconStatus.Size = new System.Drawing.Size(25, 25);
- this.picIconStatus.TabIndex = 1;
- this.picIconStatus.TabStop = false;
- this.picIconStatus.Click += new System.EventHandler(this.panStatus_Click);
- this.picIconStatus.MouseLeave += new System.EventHandler(this.panStatus_MouseLeave);
- this.picIconStatus.MouseHover += new System.EventHandler(this.panStatus_MouseHover);
- //
- // panHome
- //
- this.panHome.Back = System.Drawing.Color.Empty;
- this.panHome.Controls.Add(this.labHomeText);
- this.panHome.Controls.Add(this.picIconHome);
- this.panHome.Controls.Add(this.labHomeSelected);
- this.panHome.Cursor = System.Windows.Forms.Cursors.Hand;
- this.panHome.Location = new System.Drawing.Point(30, 0);
- this.panHome.MatrixRound = 8;
- this.panHome.Name = "panHome";
- this.panHome.Size = new System.Drawing.Size(100, 50);
- this.panHome.TabIndex = 0;
- this.panHome.Click += new System.EventHandler(this.panHome_Click);
- this.panHome.MouseLeave += new System.EventHandler(this.panHome_MouseLeave);
- this.panHome.MouseHover += new System.EventHandler(this.panHome_MouseHover);
- //
- // labHomeText
- //
- this.labHomeText.BackColor = System.Drawing.Color.Transparent;
- this.labHomeText.Font = new System.Drawing.Font("微软雅黑", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
- this.labHomeText.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(18)))), ((int)(((byte)(150)))), ((int)(((byte)(219)))));
- this.labHomeText.Location = new System.Drawing.Point(35, 0);
- this.labHomeText.Margin = new System.Windows.Forms.Padding(0);
- this.labHomeText.Name = "labHomeText";
- this.labHomeText.Size = new System.Drawing.Size(55, 47);
- this.labHomeText.TabIndex = 2;
- this.labHomeText.Text = "首页";
- this.labHomeText.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
- this.labHomeText.Click += new System.EventHandler(this.panHome_Click);
- this.labHomeText.MouseLeave += new System.EventHandler(this.panHome_MouseLeave);
- this.labHomeText.MouseHover += new System.EventHandler(this.panHome_MouseHover);
- //
- // picIconHome
- //
- this.picIconHome.BackColor = System.Drawing.Color.Transparent;
- this.picIconHome.BackgroundImage = global::Casic.Birmm.RbFreqStandMeasure.Properties.Resources.icon_home_selected;
- this.picIconHome.BackgroundImageLayout = System.Windows.Forms.ImageLayout.Zoom;
- this.picIconHome.Location = new System.Drawing.Point(10, 11);
- this.picIconHome.Name = "picIconHome";
- this.picIconHome.Size = new System.Drawing.Size(25, 25);
- this.picIconHome.TabIndex = 1;
- this.picIconHome.TabStop = false;
- this.picIconHome.Click += new System.EventHandler(this.panHome_Click);
- this.picIconHome.MouseLeave += new System.EventHandler(this.panHome_MouseLeave);
- this.picIconHome.MouseHover += new System.EventHandler(this.panHome_MouseHover);
- //
- // labHomeSelected
- //
- this.labHomeSelected.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(18)))), ((int)(((byte)(150)))), ((int)(((byte)(219)))));
- this.labHomeSelected.Location = new System.Drawing.Point(0, 47);
- this.labHomeSelected.Name = "labHomeSelected";
- this.labHomeSelected.Size = new System.Drawing.Size(100, 3);
- this.labHomeSelected.TabIndex = 0;
- //
- // labStatusSelected
- //
- this.labStatusSelected.BackColor = System.Drawing.Color.Transparent;
- this.labStatusSelected.Location = new System.Drawing.Point(160, 47);
- this.labStatusSelected.Margin = new System.Windows.Forms.Padding(0);
- this.labStatusSelected.Name = "labStatusSelected";
- this.labStatusSelected.Size = new System.Drawing.Size(130, 3);
- this.labStatusSelected.TabIndex = 0;
- //
// penBanner
//
this.penBanner.BackgroundImage = global::Casic.Birmm.RbFreqStandMeasure.Properties.Resources.bg_banner;
this.penBanner.BackgroundImageLayout = System.Windows.Forms.ImageLayout.Stretch;
+ this.penBanner.Controls.Add(this.btnMinSys);
this.penBanner.Controls.Add(this.btnExitSys);
this.penBanner.Controls.Add(this.labTitle);
this.penBanner.Location = new System.Drawing.Point(0, 0);
@@ -180,6 +109,23 @@
this.penBanner.TabIndex = 0;
this.penBanner.MouseDown += new System.Windows.Forms.MouseEventHandler(this.RbFreqStdMeas_MouseDown);
//
+ // btnMinSys
+ //
+ this.btnMinSys.BackColor = System.Drawing.Color.Transparent;
+ this.btnMinSys.BackgroundImage = global::Casic.Birmm.RbFreqStandMeasure.Properties.Resources.icon_min;
+ this.btnMinSys.BackgroundImageLayout = System.Windows.Forms.ImageLayout.Stretch;
+ this.btnMinSys.FlatAppearance.BorderSize = 0;
+ this.btnMinSys.FlatStyle = System.Windows.Forms.FlatStyle.Flat;
+ this.btnMinSys.ForeColor = System.Drawing.SystemColors.ControlDarkDark;
+ this.btnMinSys.Location = new System.Drawing.Point(944, 22);
+ this.btnMinSys.Margin = new System.Windows.Forms.Padding(0);
+ this.btnMinSys.Name = "btnMinSys";
+ this.btnMinSys.Size = new System.Drawing.Size(20, 20);
+ this.btnMinSys.TabIndex = 1;
+ this.btnMinSys.UseVisualStyleBackColor = false;
+ this.btnMinSys.Click += new System.EventHandler(this.btnMinSys_Click);
+ this.btnMinSys.MouseHover += new System.EventHandler(this.btnMinSys_MouseHover);
+ //
// btnExitSys
//
this.btnExitSys.BackColor = System.Drawing.Color.Transparent;
@@ -200,7 +146,7 @@
// labTitle
//
this.labTitle.BackColor = System.Drawing.Color.Transparent;
- this.labTitle.Font = new System.Drawing.Font("微软雅黑", 15.75F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
+ this.labTitle.Font = new System.Drawing.Font("微软雅黑", 20F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Pixel, ((byte)(134)));
this.labTitle.ForeColor = System.Drawing.Color.White;
this.labTitle.Location = new System.Drawing.Point(30, 16);
this.labTitle.Name = "labTitle";
@@ -209,11 +155,404 @@
this.labTitle.Text = "铷原子频标比对测量软件";
this.labTitle.TextAlign = System.Drawing.ContentAlignment.MiddleLeft;
//
+ // panDev
+ //
+ this.panDev.Back = System.Drawing.Color.Empty;
+ this.panDev.Controls.Add(this.labDevText);
+ this.panDev.Controls.Add(this.labDevSelected);
+ this.panDev.Controls.Add(this.picIconDev);
+ this.panDev.Location = new System.Drawing.Point(214, 0);
+ this.panDev.MatrixRound = 8;
+ this.panDev.Name = "panDev";
+ this.panDev.Size = new System.Drawing.Size(141, 50);
+ this.panDev.TabIndex = 2;
+ this.panDev.Click += new System.EventHandler(this.panDev_Click);
+ this.panDev.MouseLeave += new System.EventHandler(this.panDev_MouseLeave);
+ this.panDev.MouseHover += new System.EventHandler(this.panDev_MouseHover);
+ //
+ // labDevText
+ //
+ this.labDevText.BackColor = System.Drawing.Color.Transparent;
+ this.labDevText.Cursor = System.Windows.Forms.Cursors.Hand;
+ this.labDevText.Font = new System.Drawing.Font("微软雅黑", 16F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Pixel, ((byte)(134)));
+ this.labDevText.ForeColor = System.Drawing.SystemColors.ControlText;
+ this.labDevText.Location = new System.Drawing.Point(30, 14);
+ this.labDevText.Margin = new System.Windows.Forms.Padding(0);
+ this.labDevText.Name = "labDevText";
+ this.labDevText.Size = new System.Drawing.Size(106, 20);
+ this.labDevText.TabIndex = 2;
+ this.labDevText.Text = "送检仪器管理";
+ this.labDevText.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
+ this.labDevText.Click += new System.EventHandler(this.panDev_Click);
+ this.labDevText.MouseLeave += new System.EventHandler(this.panDev_MouseLeave);
+ this.labDevText.MouseHover += new System.EventHandler(this.panDev_MouseHover);
+ //
+ // labDevSelected
+ //
+ this.labDevSelected.BackColor = System.Drawing.Color.Transparent;
+ this.labDevSelected.Location = new System.Drawing.Point(8, 48);
+ this.labDevSelected.Margin = new System.Windows.Forms.Padding(0);
+ this.labDevSelected.Name = "labDevSelected";
+ this.labDevSelected.Size = new System.Drawing.Size(121, 2);
+ this.labDevSelected.TabIndex = 3;
+ //
+ // picIconDev
+ //
+ this.picIconDev.BackColor = System.Drawing.Color.Transparent;
+ this.picIconDev.BackgroundImage = global::Casic.Birmm.RbFreqStandMeasure.Properties.Resources.icon_dev;
+ this.picIconDev.BackgroundImageLayout = System.Windows.Forms.ImageLayout.Zoom;
+ this.picIconDev.Location = new System.Drawing.Point(10, 14);
+ this.picIconDev.Name = "picIconDev";
+ this.picIconDev.Size = new System.Drawing.Size(20, 20);
+ this.picIconDev.TabIndex = 1;
+ this.picIconDev.TabStop = false;
+ this.picIconDev.Click += new System.EventHandler(this.panDev_Click);
+ this.picIconDev.MouseLeave += new System.EventHandler(this.panDev_MouseLeave);
+ this.picIconDev.MouseHover += new System.EventHandler(this.panDev_MouseHover);
+ //
+ // panSetting
+ //
+ this.panSetting.Back = System.Drawing.Color.Empty;
+ this.panSetting.Controls.Add(this.labSettingSelected);
+ this.panSetting.Controls.Add(this.labSettingText);
+ this.panSetting.Controls.Add(this.picIconSetting);
+ this.panSetting.Location = new System.Drawing.Point(879, 0);
+ this.panSetting.MatrixRound = 8;
+ this.panSetting.Name = "panSetting";
+ this.panSetting.Size = new System.Drawing.Size(109, 50);
+ this.panSetting.TabIndex = 2;
+ this.panSetting.Click += new System.EventHandler(this.panSetting_Click);
+ this.panSetting.MouseLeave += new System.EventHandler(this.panSetting_MouseLeave);
+ this.panSetting.MouseHover += new System.EventHandler(this.panSetting_MouseHover);
+ //
+ // labSettingSelected
+ //
+ this.labSettingSelected.BackColor = System.Drawing.Color.Transparent;
+ this.labSettingSelected.Location = new System.Drawing.Point(10, 48);
+ this.labSettingSelected.Margin = new System.Windows.Forms.Padding(0);
+ this.labSettingSelected.Name = "labSettingSelected";
+ this.labSettingSelected.Size = new System.Drawing.Size(89, 2);
+ this.labSettingSelected.TabIndex = 4;
+ //
+ // labSettingText
+ //
+ this.labSettingText.BackColor = System.Drawing.Color.Transparent;
+ this.labSettingText.Cursor = System.Windows.Forms.Cursors.Hand;
+ this.labSettingText.Font = new System.Drawing.Font("微软雅黑", 16F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Pixel, ((byte)(134)));
+ this.labSettingText.ForeColor = System.Drawing.SystemColors.ControlText;
+ this.labSettingText.Location = new System.Drawing.Point(30, 14);
+ this.labSettingText.Margin = new System.Windows.Forms.Padding(0);
+ this.labSettingText.Name = "labSettingText";
+ this.labSettingText.Size = new System.Drawing.Size(74, 20);
+ this.labSettingText.TabIndex = 2;
+ this.labSettingText.Text = "系统设置";
+ this.labSettingText.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
+ this.labSettingText.Click += new System.EventHandler(this.panSetting_Click);
+ this.labSettingText.MouseLeave += new System.EventHandler(this.panSetting_MouseLeave);
+ this.labSettingText.MouseHover += new System.EventHandler(this.panSetting_MouseHover);
+ //
+ // picIconSetting
+ //
+ this.picIconSetting.BackColor = System.Drawing.Color.Transparent;
+ this.picIconSetting.BackgroundImage = global::Casic.Birmm.RbFreqStandMeasure.Properties.Resources.icon_setting;
+ this.picIconSetting.BackgroundImageLayout = System.Windows.Forms.ImageLayout.Zoom;
+ this.picIconSetting.Location = new System.Drawing.Point(10, 14);
+ this.picIconSetting.Name = "picIconSetting";
+ this.picIconSetting.Size = new System.Drawing.Size(20, 20);
+ this.picIconSetting.TabIndex = 1;
+ this.picIconSetting.TabStop = false;
+ this.picIconSetting.Click += new System.EventHandler(this.panSetting_Click);
+ this.picIconSetting.MouseLeave += new System.EventHandler(this.panSetting_MouseLeave);
+ this.picIconSetting.MouseHover += new System.EventHandler(this.panSetting_MouseHover);
+ //
+ // panStatus
+ //
+ this.panStatus.Back = System.Drawing.Color.Empty;
+ this.panStatus.BackColor = System.Drawing.Color.Transparent;
+ this.panStatus.Controls.Add(this.labStatusText);
+ this.panStatus.Controls.Add(this.picIconStatus);
+ this.panStatus.Controls.Add(this.labStatusSelected);
+ this.panStatus.Location = new System.Drawing.Point(101, 0);
+ this.panStatus.MatrixRound = 8;
+ this.panStatus.Name = "panStatus";
+ this.panStatus.Size = new System.Drawing.Size(109, 50);
+ this.panStatus.TabIndex = 1;
+ this.panStatus.Click += new System.EventHandler(this.panStatus_Click);
+ this.panStatus.MouseLeave += new System.EventHandler(this.panStatus_MouseLeave);
+ this.panStatus.MouseHover += new System.EventHandler(this.panStatus_MouseHover);
+ //
+ // labStatusText
+ //
+ this.labStatusText.BackColor = System.Drawing.Color.Transparent;
+ this.labStatusText.Cursor = System.Windows.Forms.Cursors.Hand;
+ this.labStatusText.Font = new System.Drawing.Font("微软雅黑", 16F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Pixel, ((byte)(134)));
+ this.labStatusText.ForeColor = System.Drawing.SystemColors.ControlText;
+ this.labStatusText.Location = new System.Drawing.Point(30, 14);
+ this.labStatusText.Margin = new System.Windows.Forms.Padding(0);
+ this.labStatusText.Name = "labStatusText";
+ this.labStatusText.Size = new System.Drawing.Size(74, 20);
+ this.labStatusText.TabIndex = 2;
+ this.labStatusText.Text = "基准状态";
+ this.labStatusText.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
+ this.labStatusText.Click += new System.EventHandler(this.panStatus_Click);
+ this.labStatusText.MouseLeave += new System.EventHandler(this.panStatus_MouseLeave);
+ this.labStatusText.MouseHover += new System.EventHandler(this.panStatus_MouseHover);
+ //
+ // picIconStatus
+ //
+ this.picIconStatus.BackgroundImage = global::Casic.Birmm.RbFreqStandMeasure.Properties.Resources.icon_status;
+ this.picIconStatus.BackgroundImageLayout = System.Windows.Forms.ImageLayout.Zoom;
+ this.picIconStatus.Location = new System.Drawing.Point(10, 14);
+ this.picIconStatus.Name = "picIconStatus";
+ this.picIconStatus.Size = new System.Drawing.Size(20, 20);
+ this.picIconStatus.TabIndex = 1;
+ this.picIconStatus.TabStop = false;
+ this.picIconStatus.Click += new System.EventHandler(this.panStatus_Click);
+ this.picIconStatus.MouseLeave += new System.EventHandler(this.panStatus_MouseLeave);
+ this.picIconStatus.MouseHover += new System.EventHandler(this.panStatus_MouseHover);
+ //
+ // labStatusSelected
+ //
+ this.labStatusSelected.BackColor = System.Drawing.Color.Transparent;
+ this.labStatusSelected.Location = new System.Drawing.Point(10, 48);
+ this.labStatusSelected.Margin = new System.Windows.Forms.Padding(0);
+ this.labStatusSelected.Name = "labStatusSelected";
+ this.labStatusSelected.Size = new System.Drawing.Size(89, 2);
+ this.labStatusSelected.TabIndex = 0;
+ //
+ // panData
+ //
+ this.panData.Back = System.Drawing.Color.Empty;
+ this.panData.Controls.Add(this.labDataSelected);
+ this.panData.Controls.Add(this.labDataText);
+ this.panData.Controls.Add(this.picIconData);
+ this.panData.Location = new System.Drawing.Point(765, 0);
+ this.panData.MatrixRound = 8;
+ this.panData.Name = "panData";
+ this.panData.Size = new System.Drawing.Size(109, 50);
+ this.panData.TabIndex = 2;
+ this.panData.Click += new System.EventHandler(this.panData_Click);
+ this.panData.MouseLeave += new System.EventHandler(this.panData_MouseLeave);
+ this.panData.MouseHover += new System.EventHandler(this.panData_MouseHover);
+ //
+ // labDataSelected
+ //
+ this.labDataSelected.BackColor = System.Drawing.Color.Transparent;
+ this.labDataSelected.Location = new System.Drawing.Point(10, 48);
+ this.labDataSelected.Margin = new System.Windows.Forms.Padding(0);
+ this.labDataSelected.Name = "labDataSelected";
+ this.labDataSelected.Size = new System.Drawing.Size(89, 2);
+ this.labDataSelected.TabIndex = 3;
+ //
+ // labDataText
+ //
+ this.labDataText.BackColor = System.Drawing.Color.Transparent;
+ this.labDataText.Cursor = System.Windows.Forms.Cursors.Hand;
+ this.labDataText.Font = new System.Drawing.Font("微软雅黑", 16F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Pixel, ((byte)(134)));
+ this.labDataText.ForeColor = System.Drawing.SystemColors.ControlText;
+ this.labDataText.Location = new System.Drawing.Point(30, 14);
+ this.labDataText.Margin = new System.Windows.Forms.Padding(0);
+ this.labDataText.Name = "labDataText";
+ this.labDataText.Size = new System.Drawing.Size(74, 20);
+ this.labDataText.TabIndex = 2;
+ this.labDataText.Text = "数据管理";
+ this.labDataText.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
+ this.labDataText.Click += new System.EventHandler(this.panData_Click);
+ this.labDataText.MouseLeave += new System.EventHandler(this.panData_MouseLeave);
+ this.labDataText.MouseHover += new System.EventHandler(this.panData_MouseHover);
+ //
+ // picIconData
+ //
+ this.picIconData.BackColor = System.Drawing.Color.Transparent;
+ this.picIconData.BackgroundImage = global::Casic.Birmm.RbFreqStandMeasure.Properties.Resources.icon_data;
+ this.picIconData.BackgroundImageLayout = System.Windows.Forms.ImageLayout.Zoom;
+ this.picIconData.Location = new System.Drawing.Point(10, 14);
+ this.picIconData.Name = "picIconData";
+ this.picIconData.Size = new System.Drawing.Size(20, 20);
+ this.picIconData.TabIndex = 1;
+ this.picIconData.TabStop = false;
+ this.picIconData.Click += new System.EventHandler(this.panData_Click);
+ this.picIconData.MouseLeave += new System.EventHandler(this.panData_MouseLeave);
+ this.picIconData.MouseHover += new System.EventHandler(this.panData_MouseHover);
+ //
+ // panHome
+ //
+ this.panHome.Back = System.Drawing.Color.Empty;
+ this.panHome.Controls.Add(this.labHomeText);
+ this.panHome.Controls.Add(this.picIconHome);
+ this.panHome.Controls.Add(this.labHomeSelected);
+ this.panHome.Cursor = System.Windows.Forms.Cursors.Hand;
+ this.panHome.Location = new System.Drawing.Point(20, 0);
+ this.panHome.MatrixRound = 8;
+ this.panHome.Name = "panHome";
+ this.panHome.Size = new System.Drawing.Size(75, 50);
+ this.panHome.TabIndex = 0;
+ this.panHome.Click += new System.EventHandler(this.panHome_Click);
+ this.panHome.MouseLeave += new System.EventHandler(this.panHome_MouseLeave);
+ this.panHome.MouseHover += new System.EventHandler(this.panHome_MouseHover);
+ //
+ // labHomeText
+ //
+ this.labHomeText.BackColor = System.Drawing.Color.Transparent;
+ this.labHomeText.Font = new System.Drawing.Font("微软雅黑", 16F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Pixel, ((byte)(134)));
+ this.labHomeText.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(18)))), ((int)(((byte)(150)))), ((int)(((byte)(219)))));
+ this.labHomeText.Location = new System.Drawing.Point(30, 14);
+ this.labHomeText.Margin = new System.Windows.Forms.Padding(0);
+ this.labHomeText.Name = "labHomeText";
+ this.labHomeText.Size = new System.Drawing.Size(42, 20);
+ this.labHomeText.TabIndex = 2;
+ this.labHomeText.Text = "首页";
+ this.labHomeText.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
+ this.labHomeText.Click += new System.EventHandler(this.panHome_Click);
+ this.labHomeText.MouseLeave += new System.EventHandler(this.panHome_MouseLeave);
+ this.labHomeText.MouseHover += new System.EventHandler(this.panHome_MouseHover);
+ //
+ // picIconHome
+ //
+ this.picIconHome.BackColor = System.Drawing.Color.Transparent;
+ this.picIconHome.BackgroundImage = global::Casic.Birmm.RbFreqStandMeasure.Properties.Resources.icon_home_selected;
+ this.picIconHome.BackgroundImageLayout = System.Windows.Forms.ImageLayout.Zoom;
+ this.picIconHome.Location = new System.Drawing.Point(10, 14);
+ this.picIconHome.Margin = new System.Windows.Forms.Padding(0);
+ this.picIconHome.Name = "picIconHome";
+ this.picIconHome.Size = new System.Drawing.Size(20, 20);
+ this.picIconHome.TabIndex = 1;
+ this.picIconHome.TabStop = false;
+ this.picIconHome.Click += new System.EventHandler(this.panHome_Click);
+ this.picIconHome.MouseLeave += new System.EventHandler(this.panHome_MouseLeave);
+ this.picIconHome.MouseHover += new System.EventHandler(this.panHome_MouseHover);
+ //
+ // labHomeSelected
+ //
+ this.labHomeSelected.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(18)))), ((int)(((byte)(150)))), ((int)(((byte)(219)))));
+ this.labHomeSelected.Location = new System.Drawing.Point(10, 48);
+ this.labHomeSelected.Name = "labHomeSelected";
+ this.labHomeSelected.Size = new System.Drawing.Size(55, 2);
+ this.labHomeSelected.TabIndex = 0;
+ //
+ // panMeasure
+ //
+ this.panMeasure.Back = System.Drawing.Color.Empty;
+ this.panMeasure.Controls.Add(this.labMeasureText);
+ this.panMeasure.Controls.Add(this.labMeasureSelected);
+ this.panMeasure.Controls.Add(this.picIconMeasure);
+ this.panMeasure.Location = new System.Drawing.Point(619, 0);
+ this.panMeasure.MatrixRound = 8;
+ this.panMeasure.Name = "panMeasure";
+ this.panMeasure.Size = new System.Drawing.Size(141, 50);
+ this.panMeasure.TabIndex = 2;
+ this.panMeasure.Click += new System.EventHandler(this.panMeasure_Click);
+ this.panMeasure.MouseLeave += new System.EventHandler(this.panMeasure_MouseLeave);
+ this.panMeasure.MouseHover += new System.EventHandler(this.panMeasure_MouseHover);
+ //
+ // labMeasureText
+ //
+ this.labMeasureText.BackColor = System.Drawing.Color.Transparent;
+ this.labMeasureText.Cursor = System.Windows.Forms.Cursors.Hand;
+ this.labMeasureText.Font = new System.Drawing.Font("微软雅黑", 16F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Pixel, ((byte)(134)));
+ this.labMeasureText.ForeColor = System.Drawing.SystemColors.ControlText;
+ this.labMeasureText.Location = new System.Drawing.Point(30, 14);
+ this.labMeasureText.Margin = new System.Windows.Forms.Padding(0);
+ this.labMeasureText.Name = "labMeasureText";
+ this.labMeasureText.Size = new System.Drawing.Size(106, 20);
+ this.labMeasureText.TabIndex = 2;
+ this.labMeasureText.Text = "计量信息管理";
+ this.labMeasureText.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
+ this.labMeasureText.Click += new System.EventHandler(this.panMeasure_Click);
+ this.labMeasureText.MouseLeave += new System.EventHandler(this.panMeasure_MouseLeave);
+ this.labMeasureText.MouseHover += new System.EventHandler(this.panMeasure_MouseHover);
+ //
+ // labMeasureSelected
+ //
+ this.labMeasureSelected.BackColor = System.Drawing.Color.Transparent;
+ this.labMeasureSelected.Location = new System.Drawing.Point(10, 48);
+ this.labMeasureSelected.Margin = new System.Windows.Forms.Padding(0);
+ this.labMeasureSelected.Name = "labMeasureSelected";
+ this.labMeasureSelected.Size = new System.Drawing.Size(121, 2);
+ this.labMeasureSelected.TabIndex = 3;
+ //
+ // picIconMeasure
+ //
+ this.picIconMeasure.BackColor = System.Drawing.Color.Transparent;
+ this.picIconMeasure.BackgroundImage = global::Casic.Birmm.RbFreqStandMeasure.Properties.Resources.icon_measure;
+ this.picIconMeasure.BackgroundImageLayout = System.Windows.Forms.ImageLayout.Zoom;
+ this.picIconMeasure.Location = new System.Drawing.Point(10, 14);
+ this.picIconMeasure.Name = "picIconMeasure";
+ this.picIconMeasure.Size = new System.Drawing.Size(20, 20);
+ this.picIconMeasure.TabIndex = 1;
+ this.picIconMeasure.TabStop = false;
+ this.picIconMeasure.Click += new System.EventHandler(this.panMeasure_Click);
+ this.picIconMeasure.MouseLeave += new System.EventHandler(this.panMeasure_MouseLeave);
+ this.picIconMeasure.MouseHover += new System.EventHandler(this.panMeasure_MouseHover);
+ //
+ // panCounter
+ //
+ this.panCounter.Back = System.Drawing.Color.Empty;
+ this.panCounter.Controls.Add(this.labCounterSelected);
+ this.panCounter.Controls.Add(this.labCounterText);
+ this.panCounter.Controls.Add(this.picIconCounter);
+ this.panCounter.Location = new System.Drawing.Point(360, 0);
+ this.panCounter.MatrixRound = 8;
+ this.panCounter.Name = "panCounter";
+ this.panCounter.Size = new System.Drawing.Size(254, 50);
+ this.panCounter.TabIndex = 2;
+ this.panCounter.Click += new System.EventHandler(this.panCounter_Click);
+ this.panCounter.MouseLeave += new System.EventHandler(this.panCounter_MouseLeave);
+ this.panCounter.MouseHover += new System.EventHandler(this.panCounter_MouseHover);
+ //
+ // labCounterSelected
+ //
+ this.labCounterSelected.BackColor = System.Drawing.Color.Transparent;
+ this.labCounterSelected.Location = new System.Drawing.Point(10, 48);
+ this.labCounterSelected.Margin = new System.Windows.Forms.Padding(0);
+ this.labCounterSelected.Name = "labCounterSelected";
+ this.labCounterSelected.Size = new System.Drawing.Size(233, 2);
+ this.labCounterSelected.TabIndex = 4;
+ //
+ // labCounterText
+ //
+ this.labCounterText.BackColor = System.Drawing.Color.Transparent;
+ this.labCounterText.Cursor = System.Windows.Forms.Cursors.Hand;
+ this.labCounterText.Font = new System.Drawing.Font("微软雅黑", 16F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Pixel, ((byte)(134)));
+ this.labCounterText.ForeColor = System.Drawing.SystemColors.ControlText;
+ this.labCounterText.Location = new System.Drawing.Point(30, 14);
+ this.labCounterText.Margin = new System.Windows.Forms.Padding(0);
+ this.labCounterText.Name = "labCounterText";
+ this.labCounterText.Size = new System.Drawing.Size(218, 20);
+ this.labCounterText.TabIndex = 2;
+ this.labCounterText.Text = "频率计数器范围及灵敏度测量";
+ this.labCounterText.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
+ this.labCounterText.Click += new System.EventHandler(this.panCounter_Click);
+ this.labCounterText.MouseLeave += new System.EventHandler(this.panCounter_MouseLeave);
+ this.labCounterText.MouseHover += new System.EventHandler(this.panCounter_MouseHover);
+ //
+ // picIconCounter
+ //
+ this.picIconCounter.BackColor = System.Drawing.Color.Transparent;
+ this.picIconCounter.BackgroundImage = global::Casic.Birmm.RbFreqStandMeasure.Properties.Resources.icon_counter;
+ this.picIconCounter.BackgroundImageLayout = System.Windows.Forms.ImageLayout.Zoom;
+ this.picIconCounter.Location = new System.Drawing.Point(10, 14);
+ this.picIconCounter.Name = "picIconCounter";
+ this.picIconCounter.Size = new System.Drawing.Size(20, 20);
+ this.picIconCounter.TabIndex = 1;
+ this.picIconCounter.TabStop = false;
+ this.picIconCounter.Click += new System.EventHandler(this.panCounter_Click);
+ this.picIconCounter.MouseLeave += new System.EventHandler(this.panCounter_MouseLeave);
+ this.picIconCounter.MouseHover += new System.EventHandler(this.panCounter_MouseHover);
+ //
+ // panelMain
+ //
+ this.panelMain.Location = new System.Drawing.Point(0, 114);
+ this.panelMain.Name = "panelMain";
+ this.panelMain.Size = new System.Drawing.Size(1024, 654);
+ this.panelMain.TabIndex = 2;
+ //
// RbFreqStdMeas
//
this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 12F);
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
this.ClientSize = new System.Drawing.Size(1024, 768);
+ this.Controls.Add(this.panelMain);
this.Controls.Add(this.panMenu);
this.Controls.Add(this.penBanner);
this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.None;
@@ -221,11 +560,21 @@
this.Text = "RbFreqStdMeas";
this.Load += new System.EventHandler(this.RbFreqStdMeas_Load);
this.panMenu.ResumeLayout(false);
+ this.penBanner.ResumeLayout(false);
+ this.panDev.ResumeLayout(false);
+ ((System.ComponentModel.ISupportInitialize)(this.picIconDev)).EndInit();
+ this.panSetting.ResumeLayout(false);
+ ((System.ComponentModel.ISupportInitialize)(this.picIconSetting)).EndInit();
this.panStatus.ResumeLayout(false);
((System.ComponentModel.ISupportInitialize)(this.picIconStatus)).EndInit();
+ this.panData.ResumeLayout(false);
+ ((System.ComponentModel.ISupportInitialize)(this.picIconData)).EndInit();
this.panHome.ResumeLayout(false);
((System.ComponentModel.ISupportInitialize)(this.picIconHome)).EndInit();
- this.penBanner.ResumeLayout(false);
+ this.panMeasure.ResumeLayout(false);
+ ((System.ComponentModel.ISupportInitialize)(this.picIconMeasure)).EndInit();
+ this.panCounter.ResumeLayout(false);
+ ((System.ComponentModel.ISupportInitialize)(this.picIconCounter)).EndInit();
this.ResumeLayout(false);
}
@@ -244,5 +593,27 @@
private RoundPanel panStatus;
private RoundPanel panHome;
private System.Windows.Forms.Label labStatusSelected;
+ private RoundPanel panDev;
+ private System.Windows.Forms.PictureBox picIconDev;
+ private System.Windows.Forms.Label labDevText;
+ private System.Windows.Forms.Label labMeasureSelected;
+ private RoundPanel panCounter;
+ private System.Windows.Forms.Label labCounterText;
+ private System.Windows.Forms.PictureBox picIconCounter;
+ private RoundPanel panMeasure;
+ private System.Windows.Forms.Label labMeasureText;
+ private System.Windows.Forms.PictureBox picIconMeasure;
+ private RoundPanel panData;
+ private System.Windows.Forms.Label labDataText;
+ private System.Windows.Forms.PictureBox picIconData;
+ private RoundPanel panSetting;
+ private System.Windows.Forms.Label labSettingText;
+ private System.Windows.Forms.PictureBox picIconSetting;
+ private System.Windows.Forms.Label labCounterSelected;
+ private System.Windows.Forms.Label labDevSelected;
+ private System.Windows.Forms.Label labDataSelected;
+ private System.Windows.Forms.Label labSettingSelected;
+ private System.Windows.Forms.Button btnMinSys;
+ private System.Windows.Forms.Panel panelMain;
}
}
\ No newline at end of file
diff --git a/RbFreqStandMeasure/HomeCtrlForm.Designer.cs b/RbFreqStandMeasure/HomeCtrlForm.Designer.cs
index fb515f8..73e477a 100644
--- a/RbFreqStandMeasure/HomeCtrlForm.Designer.cs
+++ b/RbFreqStandMeasure/HomeCtrlForm.Designer.cs
@@ -29,589 +29,271 @@
///
private void InitializeComponent()
{
- System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle1 = new System.Windows.Forms.DataGridViewCellStyle();
- System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle2 = new System.Windows.Forms.DataGridViewCellStyle();
- this.panelToBeTested = new System.Windows.Forms.Panel();
- this.dataGridViewX1 = new DevComponents.DotNetBar.Controls.DataGridViewX();
- this.Column13 = new System.Windows.Forms.DataGridViewTextBoxColumn();
- this.Column14 = new System.Windows.Forms.DataGridViewTextBoxColumn();
- this.Column15 = new System.Windows.Forms.DataGridViewTextBoxColumn();
- this.Column16 = new System.Windows.Forms.DataGridViewTextBoxColumn();
- this.Column17 = new System.Windows.Forms.DataGridViewTextBoxColumn();
- this.panelEx1 = new DevComponents.DotNetBar.PanelEx();
- this.labelX6 = new DevComponents.DotNetBar.LabelX();
- this.labelX5 = new DevComponents.DotNetBar.LabelX();
- this.labelX4 = new DevComponents.DotNetBar.LabelX();
- this.labelX3 = new DevComponents.DotNetBar.LabelX();
- this.labelX2 = new DevComponents.DotNetBar.LabelX();
- this.labelX1 = new DevComponents.DotNetBar.LabelX();
- this.panelEx2 = new DevComponents.DotNetBar.PanelEx();
- this.labelX7 = new DevComponents.DotNetBar.LabelX();
- this.labelX8 = new DevComponents.DotNetBar.LabelX();
- this.labelX10 = new DevComponents.DotNetBar.LabelX();
- this.labelX9 = new DevComponents.DotNetBar.LabelX();
- this.panelEx3 = new DevComponents.DotNetBar.PanelEx();
- this.labelX11 = new DevComponents.DotNetBar.LabelX();
- this.labelX13 = new DevComponents.DotNetBar.LabelX();
- this.labelX12 = new DevComponents.DotNetBar.LabelX();
- this.panelEx4 = new DevComponents.DotNetBar.PanelEx();
- this.dataGridViewX2 = new DevComponents.DotNetBar.Controls.DataGridViewX();
- this.Column18 = new System.Windows.Forms.DataGridViewTextBoxColumn();
- this.Column19 = new System.Windows.Forms.DataGridViewTextBoxColumn();
- this.Column20 = new System.Windows.Forms.DataGridViewTextBoxColumn();
- this.Column21 = new System.Windows.Forms.DataGridViewTextBoxColumn();
- this.Column22 = new System.Windows.Forms.DataGridViewTextBoxColumn();
- this.Column23 = new System.Windows.Forms.DataGridViewTextBoxColumn();
- this.Column24 = new System.Windows.Forms.DataGridViewTextBoxColumn();
- this.Column25 = new System.Windows.Forms.DataGridViewTextBoxColumn();
- this.Column26 = new System.Windows.Forms.DataGridViewTextBoxColumn();
- this.Column27 = new System.Windows.Forms.DataGridViewTextBoxColumn();
- this.Column28 = new System.Windows.Forms.DataGridViewTextBoxColumn();
- this.Column29 = new System.Windows.Forms.DataGridViewTextBoxColumn();
- this.buttonX1 = new DevComponents.DotNetBar.ButtonX();
- this.buttonX2 = new DevComponents.DotNetBar.ButtonX();
+ this.panel3 = new System.Windows.Forms.Panel();
+ this.panel2 = new System.Windows.Forms.Panel();
+ this.panel1 = new System.Windows.Forms.Panel();
+ this.panel4 = new System.Windows.Forms.Panel();
+ this.panel5 = new System.Windows.Forms.Panel();
this.label1 = new System.Windows.Forms.Label();
this.label2 = new System.Windows.Forms.Label();
- this.panelToBeTested.SuspendLayout();
- ((System.ComponentModel.ISupportInitialize)(this.dataGridViewX1)).BeginInit();
- this.panelEx1.SuspendLayout();
- this.panelEx2.SuspendLayout();
- this.panelEx3.SuspendLayout();
- this.panelEx4.SuspendLayout();
- ((System.ComponentModel.ISupportInitialize)(this.dataGridViewX2)).BeginInit();
+ this.label3 = new System.Windows.Forms.Label();
+ this.label4 = new System.Windows.Forms.Label();
+ this.label5 = new System.Windows.Forms.Label();
+ this.label6 = new System.Windows.Forms.Label();
+ this.label7 = new System.Windows.Forms.Label();
+ this.label8 = new System.Windows.Forms.Label();
+ this.label9 = new System.Windows.Forms.Label();
+ this.label10 = new System.Windows.Forms.Label();
+ this.label11 = new System.Windows.Forms.Label();
+ this.label12 = new System.Windows.Forms.Label();
+ this.label13 = new System.Windows.Forms.Label();
+ this.panel3.SuspendLayout();
+ this.panel2.SuspendLayout();
+ this.panel1.SuspendLayout();
this.SuspendLayout();
//
- // panelToBeTested
+ // panel3
//
- this.panelToBeTested.Controls.Add(this.dataGridViewX1);
- this.panelToBeTested.Controls.Add(this.buttonX2);
- this.panelToBeTested.Controls.Add(this.buttonX1);
- this.panelToBeTested.Location = new System.Drawing.Point(250, 0);
- this.panelToBeTested.Name = "panelToBeTested";
- this.panelToBeTested.Size = new System.Drawing.Size(750, 216);
- this.panelToBeTested.TabIndex = 4;
+ this.panel3.BackgroundImage = global::Casic.Birmm.RbFreqStandMeasure.Properties.Resources.bg_status_location;
+ this.panel3.Controls.Add(this.label8);
+ this.panel3.Controls.Add(this.label13);
+ this.panel3.Controls.Add(this.label12);
+ this.panel3.Controls.Add(this.label11);
+ this.panel3.Controls.Add(this.label9);
+ this.panel3.Controls.Add(this.label10);
+ this.panel3.Location = new System.Drawing.Point(6, 360);
+ this.panel3.Name = "panel3";
+ this.panel3.Size = new System.Drawing.Size(224, 293);
+ this.panel3.TabIndex = 2;
//
- // dataGridViewX1
+ // panel2
//
- this.dataGridViewX1.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.AutoSize;
- this.dataGridViewX1.Columns.AddRange(new System.Windows.Forms.DataGridViewColumn[] {
- this.Column13,
- this.Column14,
- this.Column15,
- this.Column16,
- this.Column17});
- dataGridViewCellStyle1.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleLeft;
- dataGridViewCellStyle1.BackColor = System.Drawing.SystemColors.Window;
- dataGridViewCellStyle1.Font = new System.Drawing.Font("宋体", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
- dataGridViewCellStyle1.ForeColor = System.Drawing.SystemColors.ControlText;
- dataGridViewCellStyle1.SelectionBackColor = System.Drawing.SystemColors.Highlight;
- dataGridViewCellStyle1.SelectionForeColor = System.Drawing.SystemColors.ControlText;
- dataGridViewCellStyle1.WrapMode = System.Windows.Forms.DataGridViewTriState.False;
- this.dataGridViewX1.DefaultCellStyle = dataGridViewCellStyle1;
- this.dataGridViewX1.GridColor = System.Drawing.Color.FromArgb(((int)(((byte)(208)))), ((int)(((byte)(215)))), ((int)(((byte)(229)))));
- this.dataGridViewX1.Location = new System.Drawing.Point(0, 1);
- this.dataGridViewX1.Name = "dataGridViewX1";
- this.dataGridViewX1.RowTemplate.Height = 23;
- this.dataGridViewX1.Size = new System.Drawing.Size(750, 179);
- this.dataGridViewX1.TabIndex = 14;
+ this.panel2.BackgroundImage = global::Casic.Birmm.RbFreqStandMeasure.Properties.Resources.bg_status_time;
+ this.panel2.Controls.Add(this.label4);
+ this.panel2.Controls.Add(this.label7);
+ this.panel2.Controls.Add(this.label6);
+ this.panel2.Controls.Add(this.label5);
+ this.panel2.Location = new System.Drawing.Point(6, 160);
+ this.panel2.Name = "panel2";
+ this.panel2.Size = new System.Drawing.Size(224, 200);
+ this.panel2.TabIndex = 1;
//
- // Column13
+ // panel1
//
- this.Column13.HeaderText = "仪器名称";
- this.Column13.Name = "Column13";
+ this.panel1.BackgroundImage = global::Casic.Birmm.RbFreqStandMeasure.Properties.Resources.bg_status_base;
+ this.panel1.Controls.Add(this.label3);
+ this.panel1.Controls.Add(this.label2);
+ this.panel1.Controls.Add(this.label1);
+ this.panel1.Location = new System.Drawing.Point(6, 0);
+ this.panel1.Margin = new System.Windows.Forms.Padding(0);
+ this.panel1.Name = "panel1";
+ this.panel1.Size = new System.Drawing.Size(224, 160);
+ this.panel1.TabIndex = 0;
//
- // Column14
+ // panel4
//
- this.Column14.HeaderText = "仪器类型";
- this.Column14.Name = "Column14";
+ this.panel4.BackgroundImage = global::Casic.Birmm.RbFreqStandMeasure.Properties.Resources.bg_dev_tested;
+ this.panel4.Location = new System.Drawing.Point(230, 0);
+ this.panel4.Margin = new System.Windows.Forms.Padding(0);
+ this.panel4.Name = "panel4";
+ this.panel4.Size = new System.Drawing.Size(788, 226);
+ this.panel4.TabIndex = 3;
//
- // Column15
+ // panel5
//
- this.Column15.HeaderText = "仪器编号";
- this.Column15.Name = "Column15";
- //
- // Column16
- //
- this.Column16.HeaderText = "客户名称";
- this.Column16.Name = "Column16";
- //
- // Column17
- //
- this.Column17.HeaderText = "开始时间";
- this.Column17.Name = "Column17";
- //
- // panelEx1
- //
- this.panelEx1.CanvasColor = System.Drawing.SystemColors.Control;
- this.panelEx1.ColorSchemeStyle = DevComponents.DotNetBar.eDotNetBarStyle.StyleManagerControlled;
- this.panelEx1.Controls.Add(this.labelX6);
- this.panelEx1.Controls.Add(this.labelX5);
- this.panelEx1.Controls.Add(this.labelX4);
- this.panelEx1.Controls.Add(this.labelX3);
- this.panelEx1.Controls.Add(this.labelX2);
- this.panelEx1.Controls.Add(this.labelX1);
- this.panelEx1.DisabledBackColor = System.Drawing.Color.Empty;
- this.panelEx1.Location = new System.Drawing.Point(25, 376);
- this.panelEx1.Name = "panelEx1";
- this.panelEx1.Size = new System.Drawing.Size(200, 200);
- this.panelEx1.Style.Alignment = System.Drawing.StringAlignment.Center;
- this.panelEx1.Style.BackColor1.ColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelBackground;
- this.panelEx1.Style.BackColor2.ColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelBackground2;
- this.panelEx1.Style.Border = DevComponents.DotNetBar.eBorderType.SingleLine;
- this.panelEx1.Style.BorderColor.ColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelBorder;
- this.panelEx1.Style.ForeColor.ColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelText;
- this.panelEx1.Style.GradientAngle = 90;
- this.panelEx1.TabIndex = 10;
- //
- // labelX6
- //
- //
- //
- //
- this.labelX6.BackgroundStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square;
- this.labelX6.Location = new System.Drawing.Point(3, 153);
- this.labelX6.Name = "labelX6";
- this.labelX6.Size = new System.Drawing.Size(75, 23);
- this.labelX6.Style = DevComponents.DotNetBar.eDotNetBarStyle.Office2013;
- this.labelX6.TabIndex = 0;
- this.labelX6.Text = "Z";
- this.labelX6.TextAlignment = System.Drawing.StringAlignment.Center;
- //
- // labelX5
- //
- //
- //
- //
- this.labelX5.BackgroundStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square;
- this.labelX5.Location = new System.Drawing.Point(3, 124);
- this.labelX5.Name = "labelX5";
- this.labelX5.Size = new System.Drawing.Size(75, 23);
- this.labelX5.Style = DevComponents.DotNetBar.eDotNetBarStyle.Office2013;
- this.labelX5.TabIndex = 0;
- this.labelX5.Text = "Y";
- this.labelX5.TextAlignment = System.Drawing.StringAlignment.Center;
- //
- // labelX4
- //
- //
- //
- //
- this.labelX4.BackgroundStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square;
- this.labelX4.Location = new System.Drawing.Point(3, 95);
- this.labelX4.Name = "labelX4";
- this.labelX4.Size = new System.Drawing.Size(75, 23);
- this.labelX4.Style = DevComponents.DotNetBar.eDotNetBarStyle.Office2013;
- this.labelX4.TabIndex = 0;
- this.labelX4.Text = "X";
- this.labelX4.TextAlignment = System.Drawing.StringAlignment.Center;
- //
- // labelX3
- //
- //
- //
- //
- this.labelX3.BackgroundStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square;
- this.labelX3.Location = new System.Drawing.Point(3, 66);
- this.labelX3.Name = "labelX3";
- this.labelX3.Size = new System.Drawing.Size(75, 23);
- this.labelX3.Style = DevComponents.DotNetBar.eDotNetBarStyle.Office2013;
- this.labelX3.TabIndex = 0;
- this.labelX3.Text = "纬度";
- this.labelX3.TextAlignment = System.Drawing.StringAlignment.Center;
- //
- // labelX2
- //
- //
- //
- //
- this.labelX2.BackgroundStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square;
- this.labelX2.Location = new System.Drawing.Point(3, 37);
- this.labelX2.Name = "labelX2";
- this.labelX2.Size = new System.Drawing.Size(75, 23);
- this.labelX2.Style = DevComponents.DotNetBar.eDotNetBarStyle.Office2013;
- this.labelX2.TabIndex = 0;
- this.labelX2.Text = "经度";
- this.labelX2.TextAlignment = System.Drawing.StringAlignment.Center;
- //
- // labelX1
- //
- //
- //
- //
- this.labelX1.BackgroundStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square;
- this.labelX1.Location = new System.Drawing.Point(3, 3);
- this.labelX1.Name = "labelX1";
- this.labelX1.Size = new System.Drawing.Size(194, 23);
- this.labelX1.Style = DevComponents.DotNetBar.eDotNetBarStyle.Office2013;
- this.labelX1.TabIndex = 0;
- this.labelX1.Text = "位置信息";
- this.labelX1.TextAlignment = System.Drawing.StringAlignment.Center;
- //
- // panelEx2
- //
- this.panelEx2.CanvasColor = System.Drawing.SystemColors.Control;
- this.panelEx2.ColorSchemeStyle = DevComponents.DotNetBar.eDotNetBarStyle.StyleManagerControlled;
- this.panelEx2.Controls.Add(this.labelX7);
- this.panelEx2.Controls.Add(this.labelX8);
- this.panelEx2.Controls.Add(this.labelX10);
- this.panelEx2.Controls.Add(this.labelX9);
- this.panelEx2.DisabledBackColor = System.Drawing.Color.Empty;
- this.panelEx2.Location = new System.Drawing.Point(25, 190);
- this.panelEx2.Name = "panelEx2";
- this.panelEx2.Size = new System.Drawing.Size(200, 150);
- this.panelEx2.Style.Alignment = System.Drawing.StringAlignment.Center;
- this.panelEx2.Style.BackColor1.ColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelBackground;
- this.panelEx2.Style.BackColor2.ColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelBackground2;
- this.panelEx2.Style.Border = DevComponents.DotNetBar.eBorderType.SingleLine;
- this.panelEx2.Style.BorderColor.ColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelBorder;
- this.panelEx2.Style.ForeColor.ColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelText;
- this.panelEx2.Style.GradientAngle = 90;
- this.panelEx2.TabIndex = 10;
- //
- // labelX7
- //
- //
- //
- //
- this.labelX7.BackgroundStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square;
- this.labelX7.Location = new System.Drawing.Point(3, 3);
- this.labelX7.Name = "labelX7";
- this.labelX7.Size = new System.Drawing.Size(194, 23);
- this.labelX7.Style = DevComponents.DotNetBar.eDotNetBarStyle.Office2013;
- this.labelX7.TabIndex = 0;
- this.labelX7.Text = "时间信息";
- this.labelX7.TextAlignment = System.Drawing.StringAlignment.Center;
- //
- // labelX8
- //
- //
- //
- //
- this.labelX8.BackgroundStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square;
- this.labelX8.Location = new System.Drawing.Point(3, 41);
- this.labelX8.Name = "labelX8";
- this.labelX8.Size = new System.Drawing.Size(75, 23);
- this.labelX8.Style = DevComponents.DotNetBar.eDotNetBarStyle.Office2013;
- this.labelX8.TabIndex = 0;
- this.labelX8.Text = "日期";
- this.labelX8.TextAlignment = System.Drawing.StringAlignment.Center;
- //
- // labelX10
- //
- //
- //
- //
- this.labelX10.BackgroundStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square;
- this.labelX10.Location = new System.Drawing.Point(3, 99);
- this.labelX10.Name = "labelX10";
- this.labelX10.Size = new System.Drawing.Size(75, 23);
- this.labelX10.Style = DevComponents.DotNetBar.eDotNetBarStyle.Office2013;
- this.labelX10.TabIndex = 0;
- this.labelX10.Text = "MJD";
- this.labelX10.TextAlignment = System.Drawing.StringAlignment.Center;
- //
- // labelX9
- //
- //
- //
- //
- this.labelX9.BackgroundStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square;
- this.labelX9.Location = new System.Drawing.Point(3, 70);
- this.labelX9.Name = "labelX9";
- this.labelX9.Size = new System.Drawing.Size(75, 23);
- this.labelX9.Style = DevComponents.DotNetBar.eDotNetBarStyle.Office2013;
- this.labelX9.TabIndex = 0;
- this.labelX9.Text = "时间";
- this.labelX9.TextAlignment = System.Drawing.StringAlignment.Center;
- //
- // panelEx3
- //
- this.panelEx3.CanvasColor = System.Drawing.SystemColors.Control;
- this.panelEx3.ColorSchemeStyle = DevComponents.DotNetBar.eDotNetBarStyle.StyleManagerControlled;
- this.panelEx3.Controls.Add(this.labelX11);
- this.panelEx3.Controls.Add(this.labelX13);
- this.panelEx3.Controls.Add(this.labelX12);
- this.panelEx3.DisabledBackColor = System.Drawing.Color.Empty;
- this.panelEx3.Location = new System.Drawing.Point(25, 50);
- this.panelEx3.Name = "panelEx3";
- this.panelEx3.Size = new System.Drawing.Size(200, 100);
- this.panelEx3.Style.Alignment = System.Drawing.StringAlignment.Center;
- this.panelEx3.Style.BackColor1.ColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelBackground;
- this.panelEx3.Style.BackColor2.ColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelBackground2;
- this.panelEx3.Style.Border = DevComponents.DotNetBar.eBorderType.SingleLine;
- this.panelEx3.Style.BorderColor.ColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelBorder;
- this.panelEx3.Style.ForeColor.ColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelText;
- this.panelEx3.Style.GradientAngle = 90;
- this.panelEx3.TabIndex = 10;
- //
- // labelX11
- //
- //
- //
- //
- this.labelX11.BackgroundStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square;
- this.labelX11.Location = new System.Drawing.Point(3, 3);
- this.labelX11.Name = "labelX11";
- this.labelX11.Size = new System.Drawing.Size(194, 23);
- this.labelX11.Style = DevComponents.DotNetBar.eDotNetBarStyle.Office2013;
- this.labelX11.TabIndex = 0;
- this.labelX11.Text = "基本信息";
- this.labelX11.TextAlignment = System.Drawing.StringAlignment.Center;
- //
- // labelX13
- //
- //
- //
- //
- this.labelX13.BackgroundStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square;
- this.labelX13.Location = new System.Drawing.Point(3, 32);
- this.labelX13.Name = "labelX13";
- this.labelX13.Size = new System.Drawing.Size(75, 23);
- this.labelX13.Style = DevComponents.DotNetBar.eDotNetBarStyle.Office2013;
- this.labelX13.TabIndex = 0;
- this.labelX13.Text = "原子钟";
- this.labelX13.TextAlignment = System.Drawing.StringAlignment.Center;
- //
- // labelX12
- //
- //
- //
- //
- this.labelX12.BackgroundStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square;
- this.labelX12.Location = new System.Drawing.Point(3, 61);
- this.labelX12.Name = "labelX12";
- this.labelX12.Size = new System.Drawing.Size(75, 23);
- this.labelX12.Style = DevComponents.DotNetBar.eDotNetBarStyle.Office2013;
- this.labelX12.TabIndex = 0;
- this.labelX12.Text = "接收机";
- this.labelX12.TextAlignment = System.Drawing.StringAlignment.Center;
- //
- // panelEx4
- //
- this.panelEx4.CanvasColor = System.Drawing.SystemColors.Control;
- this.panelEx4.ColorSchemeStyle = DevComponents.DotNetBar.eDotNetBarStyle.StyleManagerControlled;
- this.panelEx4.Controls.Add(this.panelEx2);
- this.panelEx4.Controls.Add(this.panelEx1);
- this.panelEx4.Controls.Add(this.panelEx3);
- this.panelEx4.DisabledBackColor = System.Drawing.Color.Empty;
- this.panelEx4.Location = new System.Drawing.Point(0, 0);
- this.panelEx4.Name = "panelEx4";
- this.panelEx4.Size = new System.Drawing.Size(250, 640);
- this.panelEx4.Style.Alignment = System.Drawing.StringAlignment.Center;
- this.panelEx4.Style.BackColor1.ColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelBackground;
- this.panelEx4.Style.BackColor2.ColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelBackground2;
- this.panelEx4.Style.Border = DevComponents.DotNetBar.eBorderType.SingleLine;
- this.panelEx4.Style.BorderColor.ColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelBorder;
- this.panelEx4.Style.ForeColor.ColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelText;
- this.panelEx4.Style.GradientAngle = 90;
- this.panelEx4.TabIndex = 10;
- //
- // dataGridViewX2
- //
- this.dataGridViewX2.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.AutoSize;
- this.dataGridViewX2.Columns.AddRange(new System.Windows.Forms.DataGridViewColumn[] {
- this.Column18,
- this.Column19,
- this.Column20,
- this.Column21,
- this.Column22,
- this.Column23,
- this.Column24,
- this.Column25,
- this.Column26,
- this.Column27,
- this.Column28,
- this.Column29});
- dataGridViewCellStyle2.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleLeft;
- dataGridViewCellStyle2.BackColor = System.Drawing.SystemColors.Window;
- dataGridViewCellStyle2.Font = new System.Drawing.Font("宋体", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
- dataGridViewCellStyle2.ForeColor = System.Drawing.SystemColors.ControlText;
- dataGridViewCellStyle2.SelectionBackColor = System.Drawing.SystemColors.Highlight;
- dataGridViewCellStyle2.SelectionForeColor = System.Drawing.SystemColors.ControlText;
- dataGridViewCellStyle2.WrapMode = System.Windows.Forms.DataGridViewTriState.False;
- this.dataGridViewX2.DefaultCellStyle = dataGridViewCellStyle2;
- this.dataGridViewX2.GridColor = System.Drawing.Color.FromArgb(((int)(((byte)(208)))), ((int)(((byte)(215)))), ((int)(((byte)(229)))));
- this.dataGridViewX2.Location = new System.Drawing.Point(250, 216);
- this.dataGridViewX2.Name = "dataGridViewX2";
- this.dataGridViewX2.Size = new System.Drawing.Size(747, 424);
- this.dataGridViewX2.TabIndex = 15;
- //
- // Column18
- //
- this.Column18.HeaderText = "通道号";
- this.Column18.Name = "Column18";
- //
- // Column19
- //
- this.Column19.HeaderText = "当前状态";
- this.Column19.Name = "Column19";
- //
- // Column20
- //
- this.Column20.HeaderText = "仪器名称";
- this.Column20.Name = "Column20";
- //
- // Column21
- //
- this.Column21.HeaderText = "仪器编号";
- this.Column21.Name = "Column21";
- //
- // Column22
- //
- this.Column22.HeaderText = "客户名称";
- this.Column22.Name = "Column22";
- //
- // Column23
- //
- this.Column23.HeaderText = "开始时间";
- this.Column23.Name = "Column23";
- //
- // Column24
- //
- this.Column24.HeaderText = "结束时间";
- this.Column24.Name = "Column24";
- //
- // Column25
- //
- this.Column25.HeaderText = "频率稳定度";
- this.Column25.Name = "Column25";
- //
- // Column26
- //
- this.Column26.HeaderText = "频率准确度";
- this.Column26.Name = "Column26";
- //
- // Column27
- //
- this.Column27.HeaderText = "开机特性";
- this.Column27.Name = "Column27";
- //
- // Column28
- //
- this.Column28.HeaderText = "日老化率";
- this.Column28.Name = "Column28";
- //
- // Column29
- //
- this.Column29.HeaderText = "频率计数器范围及灵敏度";
- this.Column29.Name = "Column29";
- //
- // buttonX1
- //
- this.buttonX1.AccessibleRole = System.Windows.Forms.AccessibleRole.PushButton;
- this.buttonX1.BackColor = System.Drawing.Color.Transparent;
- this.buttonX1.ColorTable = DevComponents.DotNetBar.eButtonColor.OrangeWithBackground;
- this.buttonX1.Location = new System.Drawing.Point(663, 183);
- this.buttonX1.Name = "buttonX1";
- this.buttonX1.Size = new System.Drawing.Size(30, 23);
- this.buttonX1.Style = DevComponents.DotNetBar.eDotNetBarStyle.StyleManagerControlled;
- this.buttonX1.Symbol = "";
- this.buttonX1.SymbolColor = System.Drawing.Color.FromArgb(((int)(((byte)(64)))), ((int)(((byte)(64)))), ((int)(((byte)(64)))));
- this.buttonX1.SymbolSize = 8F;
- this.buttonX1.TabIndex = 19;
- //
- // buttonX2
- //
- this.buttonX2.AccessibleRole = System.Windows.Forms.AccessibleRole.PushButton;
- this.buttonX2.BackColor = System.Drawing.Color.Transparent;
- this.buttonX2.ColorTable = DevComponents.DotNetBar.eButtonColor.OrangeWithBackground;
- this.buttonX2.Location = new System.Drawing.Point(589, 184);
- this.buttonX2.Name = "buttonX2";
- this.buttonX2.Size = new System.Drawing.Size(30, 23);
- this.buttonX2.Style = DevComponents.DotNetBar.eDotNetBarStyle.StyleManagerControlled;
- this.buttonX2.Symbol = "";
- this.buttonX2.SymbolColor = System.Drawing.Color.FromArgb(((int)(((byte)(64)))), ((int)(((byte)(64)))), ((int)(((byte)(64)))));
- this.buttonX2.SymbolSize = 8F;
- this.buttonX2.TabIndex = 19;
+ this.panel5.BackgroundImage = global::Casic.Birmm.RbFreqStandMeasure.Properties.Resources.bg_dev_channel;
+ this.panel5.Location = new System.Drawing.Point(230, 226);
+ this.panel5.Name = "panel5";
+ this.panel5.Size = new System.Drawing.Size(788, 424);
+ this.panel5.TabIndex = 4;
//
// label1
//
this.label1.BackColor = System.Drawing.Color.Transparent;
- this.label1.Font = new System.Drawing.Font("Times New Roman", 9.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
- this.label1.Location = new System.Drawing.Point(880, 186);
- this.label1.Margin = new System.Windows.Forms.Padding(0);
+ this.label1.Font = new System.Drawing.Font("微软雅黑", 14F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Pixel, ((byte)(134)));
+ this.label1.Location = new System.Drawing.Point(0, 20);
this.label1.Name = "label1";
- this.label1.Size = new System.Drawing.Size(20, 20);
- this.label1.TabIndex = 20;
- this.label1.Text = "1";
+ this.label1.Size = new System.Drawing.Size(224, 25);
+ this.label1.TabIndex = 0;
+ this.label1.Text = "基本信息";
this.label1.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
//
// label2
//
this.label2.BackColor = System.Drawing.Color.Transparent;
- this.label2.Font = new System.Drawing.Font("Times New Roman", 9.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
- this.label2.Location = new System.Drawing.Point(636, 187);
- this.label2.Margin = new System.Windows.Forms.Padding(0);
+ this.label2.Font = new System.Drawing.Font("微软雅黑", 14F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Pixel, ((byte)(134)));
+ this.label2.Location = new System.Drawing.Point(0, 60);
this.label2.Name = "label2";
- this.label2.Size = new System.Drawing.Size(200, 20);
- this.label2.TabIndex = 20;
- this.label2.Text = "共150条,每页5条,共100页";
- this.label2.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
+ this.label2.Size = new System.Drawing.Size(75, 25);
+ this.label2.TabIndex = 1;
+ this.label2.Text = "原子钟";
+ this.label2.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
+ //
+ // label3
+ //
+ this.label3.BackColor = System.Drawing.Color.Transparent;
+ this.label3.Font = new System.Drawing.Font("微软雅黑", 14F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Pixel, ((byte)(134)));
+ this.label3.Location = new System.Drawing.Point(0, 100);
+ this.label3.Name = "label3";
+ this.label3.Size = new System.Drawing.Size(75, 25);
+ this.label3.TabIndex = 1;
+ this.label3.Text = "接收机";
+ this.label3.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
+ //
+ // label4
+ //
+ this.label4.BackColor = System.Drawing.Color.Transparent;
+ this.label4.Font = new System.Drawing.Font("微软雅黑", 14F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Pixel, ((byte)(134)));
+ this.label4.Location = new System.Drawing.Point(0, 20);
+ this.label4.Name = "label4";
+ this.label4.Size = new System.Drawing.Size(224, 25);
+ this.label4.TabIndex = 0;
+ this.label4.Text = "时间信息";
+ this.label4.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
+ //
+ // label5
+ //
+ this.label5.BackColor = System.Drawing.Color.Transparent;
+ this.label5.Font = new System.Drawing.Font("微软雅黑", 14F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Pixel, ((byte)(134)));
+ this.label5.Location = new System.Drawing.Point(0, 60);
+ this.label5.Name = "label5";
+ this.label5.Size = new System.Drawing.Size(75, 25);
+ this.label5.TabIndex = 1;
+ this.label5.Text = "日期";
+ this.label5.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
+ //
+ // label6
+ //
+ this.label6.BackColor = System.Drawing.Color.Transparent;
+ this.label6.Font = new System.Drawing.Font("微软雅黑", 14F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Pixel, ((byte)(134)));
+ this.label6.Location = new System.Drawing.Point(0, 100);
+ this.label6.Name = "label6";
+ this.label6.Size = new System.Drawing.Size(75, 25);
+ this.label6.TabIndex = 1;
+ this.label6.Text = "时间";
+ this.label6.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
+ //
+ // label7
+ //
+ this.label7.BackColor = System.Drawing.Color.Transparent;
+ this.label7.Font = new System.Drawing.Font("微软雅黑", 14F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Pixel, ((byte)(134)));
+ this.label7.Location = new System.Drawing.Point(0, 140);
+ this.label7.Margin = new System.Windows.Forms.Padding(0);
+ this.label7.Name = "label7";
+ this.label7.Size = new System.Drawing.Size(75, 25);
+ this.label7.TabIndex = 1;
+ this.label7.Text = "MJD";
+ this.label7.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
+ //
+ // label8
+ //
+ this.label8.BackColor = System.Drawing.Color.Transparent;
+ this.label8.Font = new System.Drawing.Font("微软雅黑", 14F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Pixel, ((byte)(134)));
+ this.label8.Location = new System.Drawing.Point(0, 20);
+ this.label8.Name = "label8";
+ this.label8.Size = new System.Drawing.Size(224, 25);
+ this.label8.TabIndex = 0;
+ this.label8.Text = "位置信息";
+ this.label8.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
+ //
+ // label9
+ //
+ this.label9.BackColor = System.Drawing.Color.Transparent;
+ this.label9.Font = new System.Drawing.Font("微软雅黑", 14F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Pixel, ((byte)(134)));
+ this.label9.Location = new System.Drawing.Point(0, 60);
+ this.label9.Name = "label9";
+ this.label9.Size = new System.Drawing.Size(75, 25);
+ this.label9.TabIndex = 1;
+ this.label9.Text = "经度";
+ this.label9.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
+ //
+ // label10
+ //
+ this.label10.BackColor = System.Drawing.Color.Transparent;
+ this.label10.Font = new System.Drawing.Font("微软雅黑", 14F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Pixel, ((byte)(134)));
+ this.label10.Location = new System.Drawing.Point(0, 100);
+ this.label10.Margin = new System.Windows.Forms.Padding(0);
+ this.label10.Name = "label10";
+ this.label10.Size = new System.Drawing.Size(75, 25);
+ this.label10.TabIndex = 1;
+ this.label10.Text = "纬度";
+ this.label10.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
+ //
+ // label11
+ //
+ this.label11.BackColor = System.Drawing.Color.Transparent;
+ this.label11.Font = new System.Drawing.Font("微软雅黑", 14F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Pixel, ((byte)(134)));
+ this.label11.Location = new System.Drawing.Point(0, 140);
+ this.label11.Margin = new System.Windows.Forms.Padding(0);
+ this.label11.Name = "label11";
+ this.label11.Size = new System.Drawing.Size(75, 25);
+ this.label11.TabIndex = 1;
+ this.label11.Text = "X";
+ this.label11.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
+ //
+ // label12
+ //
+ this.label12.BackColor = System.Drawing.Color.Transparent;
+ this.label12.Font = new System.Drawing.Font("微软雅黑", 14F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Pixel, ((byte)(134)));
+ this.label12.Location = new System.Drawing.Point(0, 180);
+ this.label12.Margin = new System.Windows.Forms.Padding(0);
+ this.label12.Name = "label12";
+ this.label12.Size = new System.Drawing.Size(75, 25);
+ this.label12.TabIndex = 1;
+ this.label12.Text = "Y";
+ this.label12.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
+ //
+ // label13
+ //
+ this.label13.BackColor = System.Drawing.Color.Transparent;
+ this.label13.Font = new System.Drawing.Font("微软雅黑", 14F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Pixel, ((byte)(134)));
+ this.label13.Location = new System.Drawing.Point(0, 220);
+ this.label13.Margin = new System.Windows.Forms.Padding(0);
+ this.label13.Name = "label13";
+ this.label13.Size = new System.Drawing.Size(75, 25);
+ this.label13.TabIndex = 1;
+ this.label13.Text = "Z";
+ this.label13.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
//
// HomeCtrlForm
//
this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 12F);
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
- this.Controls.Add(this.label1);
- this.Controls.Add(this.label2);
- this.Controls.Add(this.dataGridViewX2);
- this.Controls.Add(this.panelEx4);
- this.Controls.Add(this.panelToBeTested);
+ this.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(232)))), ((int)(((byte)(234)))), ((int)(((byte)(238)))));
+ this.Controls.Add(this.panel5);
+ this.Controls.Add(this.panel4);
+ this.Controls.Add(this.panel3);
+ this.Controls.Add(this.panel2);
+ this.Controls.Add(this.panel1);
this.Margin = new System.Windows.Forms.Padding(0);
this.Name = "HomeCtrlForm";
- this.Size = new System.Drawing.Size(1000, 640);
- this.panelToBeTested.ResumeLayout(false);
- ((System.ComponentModel.ISupportInitialize)(this.dataGridViewX1)).EndInit();
- this.panelEx1.ResumeLayout(false);
- this.panelEx2.ResumeLayout(false);
- this.panelEx3.ResumeLayout(false);
- this.panelEx4.ResumeLayout(false);
- ((System.ComponentModel.ISupportInitialize)(this.dataGridViewX2)).EndInit();
+ this.Size = new System.Drawing.Size(1024, 654);
+ this.panel3.ResumeLayout(false);
+ this.panel2.ResumeLayout(false);
+ this.panel1.ResumeLayout(false);
this.ResumeLayout(false);
}
#endregion
- private System.Windows.Forms.Panel panelToBeTested;
- private DevComponents.DotNetBar.PanelEx panelEx1;
- private DevComponents.DotNetBar.LabelX labelX6;
- private DevComponents.DotNetBar.LabelX labelX5;
- private DevComponents.DotNetBar.LabelX labelX4;
- private DevComponents.DotNetBar.LabelX labelX3;
- private DevComponents.DotNetBar.LabelX labelX2;
- private DevComponents.DotNetBar.LabelX labelX1;
- private DevComponents.DotNetBar.PanelEx panelEx2;
- private DevComponents.DotNetBar.LabelX labelX7;
- private DevComponents.DotNetBar.LabelX labelX8;
- private DevComponents.DotNetBar.LabelX labelX10;
- private DevComponents.DotNetBar.LabelX labelX9;
- private DevComponents.DotNetBar.PanelEx panelEx3;
- private DevComponents.DotNetBar.LabelX labelX11;
- private DevComponents.DotNetBar.LabelX labelX13;
- private DevComponents.DotNetBar.LabelX labelX12;
- private DevComponents.DotNetBar.PanelEx panelEx4;
- private DevComponents.DotNetBar.Controls.DataGridViewX dataGridViewX1;
- private System.Windows.Forms.DataGridViewTextBoxColumn Column13;
- private System.Windows.Forms.DataGridViewTextBoxColumn Column14;
- private System.Windows.Forms.DataGridViewTextBoxColumn Column15;
- private System.Windows.Forms.DataGridViewTextBoxColumn Column16;
- private System.Windows.Forms.DataGridViewTextBoxColumn Column17;
- private DevComponents.DotNetBar.Controls.DataGridViewX dataGridViewX2;
- private System.Windows.Forms.DataGridViewTextBoxColumn Column18;
- private System.Windows.Forms.DataGridViewTextBoxColumn Column19;
- private System.Windows.Forms.DataGridViewTextBoxColumn Column20;
- private System.Windows.Forms.DataGridViewTextBoxColumn Column21;
- private System.Windows.Forms.DataGridViewTextBoxColumn Column22;
- private System.Windows.Forms.DataGridViewTextBoxColumn Column23;
- private System.Windows.Forms.DataGridViewTextBoxColumn Column24;
- private System.Windows.Forms.DataGridViewTextBoxColumn Column25;
- private System.Windows.Forms.DataGridViewTextBoxColumn Column26;
- private System.Windows.Forms.DataGridViewTextBoxColumn Column27;
- private System.Windows.Forms.DataGridViewTextBoxColumn Column28;
- private System.Windows.Forms.DataGridViewTextBoxColumn Column29;
- private DevComponents.DotNetBar.ButtonX buttonX1;
- private DevComponents.DotNetBar.ButtonX buttonX2;
+
+ private System.Windows.Forms.Panel panel1;
+ private System.Windows.Forms.Panel panel2;
+ private System.Windows.Forms.Panel panel3;
+ private System.Windows.Forms.Panel panel4;
+ private System.Windows.Forms.Panel panel5;
private System.Windows.Forms.Label label1;
private System.Windows.Forms.Label label2;
+ private System.Windows.Forms.Label label3;
+ private System.Windows.Forms.Label label4;
+ private System.Windows.Forms.Label label5;
+ private System.Windows.Forms.Label label6;
+ private System.Windows.Forms.Label label7;
+ private System.Windows.Forms.Label label8;
+ private System.Windows.Forms.Label label11;
+ private System.Windows.Forms.Label label9;
+ private System.Windows.Forms.Label label10;
+ private System.Windows.Forms.Label label12;
+ private System.Windows.Forms.Label label13;
}
}
diff --git a/RbFreqStandMeasure/HomeCtrlForm.resx b/RbFreqStandMeasure/HomeCtrlForm.resx
index 6d97f4f..1af7de1 100644
--- a/RbFreqStandMeasure/HomeCtrlForm.resx
+++ b/RbFreqStandMeasure/HomeCtrlForm.resx
@@ -117,55 +117,4 @@
System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
-
- True
-
-
- True
-
-
- True
-
-
- True
-
-
- True
-
-
- True
-
-
- True
-
-
- True
-
-
- True
-
-
- True
-
-
- True
-
-
- True
-
-
- True
-
-
- True
-
-
- True
-
-
- True
-
-
- True
-
\ No newline at end of file
diff --git a/RbFreqStandMeasure/Program.cs b/RbFreqStandMeasure/Program.cs
index 93a83e5..6150917 100644
--- a/RbFreqStandMeasure/Program.cs
+++ b/RbFreqStandMeasure/Program.cs
@@ -1,6 +1,4 @@
using System;
-using System.Collections.Generic;
-using System.Linq;
using System.Windows.Forms;
namespace Casic.Birmm.RbFreqStandMeasure
diff --git a/RbFreqStandMeasure/Properties/Resources.Designer.cs b/RbFreqStandMeasure/Properties/Resources.Designer.cs
index 253d7d7..d819a23 100644
--- a/RbFreqStandMeasure/Properties/Resources.Designer.cs
+++ b/RbFreqStandMeasure/Properties/Resources.Designer.cs
@@ -73,6 +73,56 @@
///
/// 查找 System.Drawing.Bitmap 类型的本地化资源。
///
+ internal static System.Drawing.Bitmap bg_dev_channel {
+ get {
+ object obj = ResourceManager.GetObject("bg_dev_channel", resourceCulture);
+ return ((System.Drawing.Bitmap)(obj));
+ }
+ }
+
+ ///
+ /// 查找 System.Drawing.Bitmap 类型的本地化资源。
+ ///
+ internal static System.Drawing.Bitmap bg_dev_tested {
+ get {
+ object obj = ResourceManager.GetObject("bg_dev_tested", resourceCulture);
+ return ((System.Drawing.Bitmap)(obj));
+ }
+ }
+
+ ///
+ /// 查找 System.Drawing.Bitmap 类型的本地化资源。
+ ///
+ internal static System.Drawing.Bitmap bg_status_base {
+ get {
+ object obj = ResourceManager.GetObject("bg_status_base", resourceCulture);
+ return ((System.Drawing.Bitmap)(obj));
+ }
+ }
+
+ ///
+ /// 查找 System.Drawing.Bitmap 类型的本地化资源。
+ ///
+ internal static System.Drawing.Bitmap bg_status_location {
+ get {
+ object obj = ResourceManager.GetObject("bg_status_location", resourceCulture);
+ return ((System.Drawing.Bitmap)(obj));
+ }
+ }
+
+ ///
+ /// 查找 System.Drawing.Bitmap 类型的本地化资源。
+ ///
+ internal static System.Drawing.Bitmap bg_status_time {
+ get {
+ object obj = ResourceManager.GetObject("bg_status_time", resourceCulture);
+ return ((System.Drawing.Bitmap)(obj));
+ }
+ }
+
+ ///
+ /// 查找 System.Drawing.Bitmap 类型的本地化资源。
+ ///
internal static System.Drawing.Bitmap bg_white_shadow {
get {
object obj = ResourceManager.GetObject("bg_white_shadow", resourceCulture);
@@ -83,6 +133,66 @@
///
/// 查找 System.Drawing.Bitmap 类型的本地化资源。
///
+ internal static System.Drawing.Bitmap icon_counter {
+ get {
+ object obj = ResourceManager.GetObject("icon_counter", resourceCulture);
+ return ((System.Drawing.Bitmap)(obj));
+ }
+ }
+
+ ///
+ /// 查找 System.Drawing.Bitmap 类型的本地化资源。
+ ///
+ internal static System.Drawing.Bitmap icon_counter_selected {
+ get {
+ object obj = ResourceManager.GetObject("icon_counter_selected", resourceCulture);
+ return ((System.Drawing.Bitmap)(obj));
+ }
+ }
+
+ ///
+ /// 查找 System.Drawing.Bitmap 类型的本地化资源。
+ ///
+ internal static System.Drawing.Bitmap icon_data {
+ get {
+ object obj = ResourceManager.GetObject("icon_data", resourceCulture);
+ return ((System.Drawing.Bitmap)(obj));
+ }
+ }
+
+ ///
+ /// 查找 System.Drawing.Bitmap 类型的本地化资源。
+ ///
+ internal static System.Drawing.Bitmap icon_data_selected {
+ get {
+ object obj = ResourceManager.GetObject("icon_data_selected", resourceCulture);
+ return ((System.Drawing.Bitmap)(obj));
+ }
+ }
+
+ ///
+ /// 查找 System.Drawing.Bitmap 类型的本地化资源。
+ ///
+ internal static System.Drawing.Bitmap icon_dev {
+ get {
+ object obj = ResourceManager.GetObject("icon_dev", resourceCulture);
+ return ((System.Drawing.Bitmap)(obj));
+ }
+ }
+
+ ///
+ /// 查找 System.Drawing.Bitmap 类型的本地化资源。
+ ///
+ internal static System.Drawing.Bitmap icon_dev_selected {
+ get {
+ object obj = ResourceManager.GetObject("icon_dev_selected", resourceCulture);
+ return ((System.Drawing.Bitmap)(obj));
+ }
+ }
+
+ ///
+ /// 查找 System.Drawing.Bitmap 类型的本地化资源。
+ ///
internal static System.Drawing.Bitmap icon_exit {
get {
object obj = ResourceManager.GetObject("icon_exit", resourceCulture);
@@ -113,6 +223,56 @@
///
/// 查找 System.Drawing.Bitmap 类型的本地化资源。
///
+ internal static System.Drawing.Bitmap icon_measure {
+ get {
+ object obj = ResourceManager.GetObject("icon_measure", resourceCulture);
+ return ((System.Drawing.Bitmap)(obj));
+ }
+ }
+
+ ///
+ /// 查找 System.Drawing.Bitmap 类型的本地化资源。
+ ///
+ internal static System.Drawing.Bitmap icon_measure_selected {
+ get {
+ object obj = ResourceManager.GetObject("icon_measure_selected", resourceCulture);
+ return ((System.Drawing.Bitmap)(obj));
+ }
+ }
+
+ ///
+ /// 查找 System.Drawing.Bitmap 类型的本地化资源。
+ ///
+ internal static System.Drawing.Bitmap icon_min {
+ get {
+ object obj = ResourceManager.GetObject("icon_min", resourceCulture);
+ return ((System.Drawing.Bitmap)(obj));
+ }
+ }
+
+ ///
+ /// 查找 System.Drawing.Bitmap 类型的本地化资源。
+ ///
+ internal static System.Drawing.Bitmap icon_setting {
+ get {
+ object obj = ResourceManager.GetObject("icon_setting", resourceCulture);
+ return ((System.Drawing.Bitmap)(obj));
+ }
+ }
+
+ ///
+ /// 查找 System.Drawing.Bitmap 类型的本地化资源。
+ ///
+ internal static System.Drawing.Bitmap icon_setting_selected {
+ get {
+ object obj = ResourceManager.GetObject("icon_setting_selected", resourceCulture);
+ return ((System.Drawing.Bitmap)(obj));
+ }
+ }
+
+ ///
+ /// 查找 System.Drawing.Bitmap 类型的本地化资源。
+ ///
internal static System.Drawing.Bitmap icon_status {
get {
object obj = ResourceManager.GetObject("icon_status", resourceCulture);
diff --git a/RbFreqStandMeasure/Properties/Resources.resx b/RbFreqStandMeasure/Properties/Resources.resx
index e781bb7..cfdb255 100644
--- a/RbFreqStandMeasure/Properties/Resources.resx
+++ b/RbFreqStandMeasure/Properties/Resources.resx
@@ -118,25 +118,73 @@
System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
-
- ..\res\images\icon_exit.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
+
+ ..\res\images\icon_counter_selected.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
-
- ..\res\images\bg_white_shadow.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
+
+ ..\res\images\icon_dev_selected.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
+
+
+ ..\res\images\icon_status_selected.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
+
+
+ ..\res\images\icon_data_selected.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
..\res\images\icon_home_selected.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
-
- ..\res\images\bg_banner.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
-
-
- ..\res\images\icon_home.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
+
+ ..\res\images\icon_exit.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
..\res\images\icon_status.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
-
- ..\res\images\icon_status_selected.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
+
+ ..\res\images\icon_data.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
+
+
+ ..\res\images\icon_setting.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
+
+
+ ..\res\images\icon_measure_selected.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
+
+
+ ..\res\images\bg_banner.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
+
+
+ ..\res\images\icon_setting_selected.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
+
+
+ ..\res\images\icon_dev.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
+
+
+ ..\res\images\icon_counter.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
+
+
+ ..\res\images\icon_measure.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
+
+
+ ..\res\images\icon_home.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
+
+
+ ..\res\images\bg_white_shadow.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
+
+
+ ..\res\images\icon_min.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
+
+
+ ..\res\images\bg_status_base.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
+
+
+ ..\res\images\bg_status_location.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
+
+
+ ..\res\images\bg_status_time.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
+
+
+ ..\res\images\bg_dev_channel.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
+
+
+ ..\res\images\bg_dev_tested.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
\ No newline at end of file
diff --git a/RbFreqStandMeasure/RbFreqStandMeasure.csproj b/RbFreqStandMeasure/RbFreqStandMeasure.csproj
index f5e7da9..7c12768 100644
--- a/RbFreqStandMeasure/RbFreqStandMeasure.csproj
+++ b/RbFreqStandMeasure/RbFreqStandMeasure.csproj
@@ -232,6 +232,54 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/RbFreqStandMeasure/RbFreqStdMeas.Designer.cs b/RbFreqStandMeasure/RbFreqStdMeas.Designer.cs
index 57778cf..1bd008c 100644
--- a/RbFreqStandMeasure/RbFreqStdMeas.Designer.cs
+++ b/RbFreqStandMeasure/RbFreqStdMeas.Designer.cs
@@ -30,148 +30,77 @@
private void InitializeComponent()
{
this.panMenu = new System.Windows.Forms.Panel();
+ this.penBanner = new System.Windows.Forms.Panel();
+ this.btnMinSys = new System.Windows.Forms.Button();
+ this.btnExitSys = new System.Windows.Forms.Button();
+ this.labTitle = new System.Windows.Forms.Label();
+ this.panDev = new Casic.Birmm.RbFreqStandMeasure.RoundPanel();
+ this.labDevText = new System.Windows.Forms.Label();
+ this.labDevSelected = new System.Windows.Forms.Label();
+ this.picIconDev = new System.Windows.Forms.PictureBox();
+ this.panSetting = new Casic.Birmm.RbFreqStandMeasure.RoundPanel();
+ this.labSettingSelected = new System.Windows.Forms.Label();
+ this.labSettingText = new System.Windows.Forms.Label();
+ this.picIconSetting = new System.Windows.Forms.PictureBox();
this.panStatus = new Casic.Birmm.RbFreqStandMeasure.RoundPanel();
this.labStatusText = new System.Windows.Forms.Label();
this.picIconStatus = new System.Windows.Forms.PictureBox();
+ this.labStatusSelected = new System.Windows.Forms.Label();
+ this.panData = new Casic.Birmm.RbFreqStandMeasure.RoundPanel();
+ this.labDataSelected = new System.Windows.Forms.Label();
+ this.labDataText = new System.Windows.Forms.Label();
+ this.picIconData = new System.Windows.Forms.PictureBox();
this.panHome = new Casic.Birmm.RbFreqStandMeasure.RoundPanel();
this.labHomeText = new System.Windows.Forms.Label();
this.picIconHome = new System.Windows.Forms.PictureBox();
this.labHomeSelected = new System.Windows.Forms.Label();
- this.labStatusSelected = new System.Windows.Forms.Label();
- this.penBanner = new System.Windows.Forms.Panel();
- this.btnExitSys = new System.Windows.Forms.Button();
- this.labTitle = new System.Windows.Forms.Label();
+ this.panMeasure = new Casic.Birmm.RbFreqStandMeasure.RoundPanel();
+ this.labMeasureText = new System.Windows.Forms.Label();
+ this.labMeasureSelected = new System.Windows.Forms.Label();
+ this.picIconMeasure = new System.Windows.Forms.PictureBox();
+ this.panCounter = new Casic.Birmm.RbFreqStandMeasure.RoundPanel();
+ this.labCounterSelected = new System.Windows.Forms.Label();
+ this.labCounterText = new System.Windows.Forms.Label();
+ this.picIconCounter = new System.Windows.Forms.PictureBox();
+ this.panelMain = new System.Windows.Forms.Panel();
this.panMenu.SuspendLayout();
+ this.penBanner.SuspendLayout();
+ this.panDev.SuspendLayout();
+ ((System.ComponentModel.ISupportInitialize)(this.picIconDev)).BeginInit();
+ this.panSetting.SuspendLayout();
+ ((System.ComponentModel.ISupportInitialize)(this.picIconSetting)).BeginInit();
this.panStatus.SuspendLayout();
((System.ComponentModel.ISupportInitialize)(this.picIconStatus)).BeginInit();
+ this.panData.SuspendLayout();
+ ((System.ComponentModel.ISupportInitialize)(this.picIconData)).BeginInit();
this.panHome.SuspendLayout();
((System.ComponentModel.ISupportInitialize)(this.picIconHome)).BeginInit();
- this.penBanner.SuspendLayout();
+ this.panMeasure.SuspendLayout();
+ ((System.ComponentModel.ISupportInitialize)(this.picIconMeasure)).BeginInit();
+ this.panCounter.SuspendLayout();
+ ((System.ComponentModel.ISupportInitialize)(this.picIconCounter)).BeginInit();
this.SuspendLayout();
//
// panMenu
//
this.panMenu.BackColor = System.Drawing.Color.White;
+ this.panMenu.Controls.Add(this.panDev);
+ this.panMenu.Controls.Add(this.panSetting);
this.panMenu.Controls.Add(this.panStatus);
+ this.panMenu.Controls.Add(this.panData);
this.panMenu.Controls.Add(this.panHome);
- this.panMenu.Controls.Add(this.labStatusSelected);
+ this.panMenu.Controls.Add(this.panMeasure);
+ this.panMenu.Controls.Add(this.panCounter);
this.panMenu.Location = new System.Drawing.Point(0, 64);
this.panMenu.Name = "panMenu";
this.panMenu.Size = new System.Drawing.Size(1024, 50);
this.panMenu.TabIndex = 1;
//
- // panStatus
- //
- this.panStatus.Back = System.Drawing.Color.Empty;
- this.panStatus.BackColor = System.Drawing.Color.Transparent;
- this.panStatus.Controls.Add(this.labStatusText);
- this.panStatus.Controls.Add(this.picIconStatus);
- this.panStatus.Location = new System.Drawing.Point(160, 0);
- this.panStatus.MatrixRound = 8;
- this.panStatus.Name = "panStatus";
- this.panStatus.Size = new System.Drawing.Size(130, 47);
- this.panStatus.TabIndex = 1;
- this.panStatus.Click += new System.EventHandler(this.panStatus_Click);
- this.panStatus.MouseLeave += new System.EventHandler(this.panStatus_MouseLeave);
- this.panStatus.MouseHover += new System.EventHandler(this.panStatus_MouseHover);
- //
- // labStatusText
- //
- this.labStatusText.BackColor = System.Drawing.Color.Transparent;
- this.labStatusText.Cursor = System.Windows.Forms.Cursors.Hand;
- this.labStatusText.Font = new System.Drawing.Font("微软雅黑", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
- this.labStatusText.ForeColor = System.Drawing.SystemColors.ControlText;
- this.labStatusText.Location = new System.Drawing.Point(35, 0);
- this.labStatusText.Margin = new System.Windows.Forms.Padding(0);
- this.labStatusText.Name = "labStatusText";
- this.labStatusText.Size = new System.Drawing.Size(85, 47);
- this.labStatusText.TabIndex = 2;
- this.labStatusText.Text = "基准状态";
- this.labStatusText.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
- this.labStatusText.Click += new System.EventHandler(this.panStatus_Click);
- this.labStatusText.MouseLeave += new System.EventHandler(this.panStatus_MouseLeave);
- this.labStatusText.MouseHover += new System.EventHandler(this.panStatus_MouseHover);
- //
- // picIconStatus
- //
- this.picIconStatus.BackgroundImage = global::Casic.Birmm.RbFreqStandMeasure.Properties.Resources.icon_status;
- this.picIconStatus.BackgroundImageLayout = System.Windows.Forms.ImageLayout.Zoom;
- this.picIconStatus.Location = new System.Drawing.Point(10, 11);
- this.picIconStatus.Name = "picIconStatus";
- this.picIconStatus.Size = new System.Drawing.Size(25, 25);
- this.picIconStatus.TabIndex = 1;
- this.picIconStatus.TabStop = false;
- this.picIconStatus.Click += new System.EventHandler(this.panStatus_Click);
- this.picIconStatus.MouseLeave += new System.EventHandler(this.panStatus_MouseLeave);
- this.picIconStatus.MouseHover += new System.EventHandler(this.panStatus_MouseHover);
- //
- // panHome
- //
- this.panHome.Back = System.Drawing.Color.Empty;
- this.panHome.Controls.Add(this.labHomeText);
- this.panHome.Controls.Add(this.picIconHome);
- this.panHome.Controls.Add(this.labHomeSelected);
- this.panHome.Cursor = System.Windows.Forms.Cursors.Hand;
- this.panHome.Location = new System.Drawing.Point(30, 0);
- this.panHome.MatrixRound = 8;
- this.panHome.Name = "panHome";
- this.panHome.Size = new System.Drawing.Size(100, 50);
- this.panHome.TabIndex = 0;
- this.panHome.Click += new System.EventHandler(this.panHome_Click);
- this.panHome.MouseLeave += new System.EventHandler(this.panHome_MouseLeave);
- this.panHome.MouseHover += new System.EventHandler(this.panHome_MouseHover);
- //
- // labHomeText
- //
- this.labHomeText.BackColor = System.Drawing.Color.Transparent;
- this.labHomeText.Font = new System.Drawing.Font("微软雅黑", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
- this.labHomeText.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(18)))), ((int)(((byte)(150)))), ((int)(((byte)(219)))));
- this.labHomeText.Location = new System.Drawing.Point(35, 0);
- this.labHomeText.Margin = new System.Windows.Forms.Padding(0);
- this.labHomeText.Name = "labHomeText";
- this.labHomeText.Size = new System.Drawing.Size(55, 47);
- this.labHomeText.TabIndex = 2;
- this.labHomeText.Text = "首页";
- this.labHomeText.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
- this.labHomeText.Click += new System.EventHandler(this.panHome_Click);
- this.labHomeText.MouseLeave += new System.EventHandler(this.panHome_MouseLeave);
- this.labHomeText.MouseHover += new System.EventHandler(this.panHome_MouseHover);
- //
- // picIconHome
- //
- this.picIconHome.BackColor = System.Drawing.Color.Transparent;
- this.picIconHome.BackgroundImage = global::Casic.Birmm.RbFreqStandMeasure.Properties.Resources.icon_home_selected;
- this.picIconHome.BackgroundImageLayout = System.Windows.Forms.ImageLayout.Zoom;
- this.picIconHome.Location = new System.Drawing.Point(10, 11);
- this.picIconHome.Name = "picIconHome";
- this.picIconHome.Size = new System.Drawing.Size(25, 25);
- this.picIconHome.TabIndex = 1;
- this.picIconHome.TabStop = false;
- this.picIconHome.Click += new System.EventHandler(this.panHome_Click);
- this.picIconHome.MouseLeave += new System.EventHandler(this.panHome_MouseLeave);
- this.picIconHome.MouseHover += new System.EventHandler(this.panHome_MouseHover);
- //
- // labHomeSelected
- //
- this.labHomeSelected.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(18)))), ((int)(((byte)(150)))), ((int)(((byte)(219)))));
- this.labHomeSelected.Location = new System.Drawing.Point(0, 47);
- this.labHomeSelected.Name = "labHomeSelected";
- this.labHomeSelected.Size = new System.Drawing.Size(100, 3);
- this.labHomeSelected.TabIndex = 0;
- //
- // labStatusSelected
- //
- this.labStatusSelected.BackColor = System.Drawing.Color.Transparent;
- this.labStatusSelected.Location = new System.Drawing.Point(160, 47);
- this.labStatusSelected.Margin = new System.Windows.Forms.Padding(0);
- this.labStatusSelected.Name = "labStatusSelected";
- this.labStatusSelected.Size = new System.Drawing.Size(130, 3);
- this.labStatusSelected.TabIndex = 0;
- //
// penBanner
//
this.penBanner.BackgroundImage = global::Casic.Birmm.RbFreqStandMeasure.Properties.Resources.bg_banner;
this.penBanner.BackgroundImageLayout = System.Windows.Forms.ImageLayout.Stretch;
+ this.penBanner.Controls.Add(this.btnMinSys);
this.penBanner.Controls.Add(this.btnExitSys);
this.penBanner.Controls.Add(this.labTitle);
this.penBanner.Location = new System.Drawing.Point(0, 0);
@@ -180,6 +109,23 @@
this.penBanner.TabIndex = 0;
this.penBanner.MouseDown += new System.Windows.Forms.MouseEventHandler(this.RbFreqStdMeas_MouseDown);
//
+ // btnMinSys
+ //
+ this.btnMinSys.BackColor = System.Drawing.Color.Transparent;
+ this.btnMinSys.BackgroundImage = global::Casic.Birmm.RbFreqStandMeasure.Properties.Resources.icon_min;
+ this.btnMinSys.BackgroundImageLayout = System.Windows.Forms.ImageLayout.Stretch;
+ this.btnMinSys.FlatAppearance.BorderSize = 0;
+ this.btnMinSys.FlatStyle = System.Windows.Forms.FlatStyle.Flat;
+ this.btnMinSys.ForeColor = System.Drawing.SystemColors.ControlDarkDark;
+ this.btnMinSys.Location = new System.Drawing.Point(944, 22);
+ this.btnMinSys.Margin = new System.Windows.Forms.Padding(0);
+ this.btnMinSys.Name = "btnMinSys";
+ this.btnMinSys.Size = new System.Drawing.Size(20, 20);
+ this.btnMinSys.TabIndex = 1;
+ this.btnMinSys.UseVisualStyleBackColor = false;
+ this.btnMinSys.Click += new System.EventHandler(this.btnMinSys_Click);
+ this.btnMinSys.MouseHover += new System.EventHandler(this.btnMinSys_MouseHover);
+ //
// btnExitSys
//
this.btnExitSys.BackColor = System.Drawing.Color.Transparent;
@@ -200,7 +146,7 @@
// labTitle
//
this.labTitle.BackColor = System.Drawing.Color.Transparent;
- this.labTitle.Font = new System.Drawing.Font("微软雅黑", 15.75F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
+ this.labTitle.Font = new System.Drawing.Font("微软雅黑", 20F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Pixel, ((byte)(134)));
this.labTitle.ForeColor = System.Drawing.Color.White;
this.labTitle.Location = new System.Drawing.Point(30, 16);
this.labTitle.Name = "labTitle";
@@ -209,11 +155,404 @@
this.labTitle.Text = "铷原子频标比对测量软件";
this.labTitle.TextAlign = System.Drawing.ContentAlignment.MiddleLeft;
//
+ // panDev
+ //
+ this.panDev.Back = System.Drawing.Color.Empty;
+ this.panDev.Controls.Add(this.labDevText);
+ this.panDev.Controls.Add(this.labDevSelected);
+ this.panDev.Controls.Add(this.picIconDev);
+ this.panDev.Location = new System.Drawing.Point(214, 0);
+ this.panDev.MatrixRound = 8;
+ this.panDev.Name = "panDev";
+ this.panDev.Size = new System.Drawing.Size(141, 50);
+ this.panDev.TabIndex = 2;
+ this.panDev.Click += new System.EventHandler(this.panDev_Click);
+ this.panDev.MouseLeave += new System.EventHandler(this.panDev_MouseLeave);
+ this.panDev.MouseHover += new System.EventHandler(this.panDev_MouseHover);
+ //
+ // labDevText
+ //
+ this.labDevText.BackColor = System.Drawing.Color.Transparent;
+ this.labDevText.Cursor = System.Windows.Forms.Cursors.Hand;
+ this.labDevText.Font = new System.Drawing.Font("微软雅黑", 16F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Pixel, ((byte)(134)));
+ this.labDevText.ForeColor = System.Drawing.SystemColors.ControlText;
+ this.labDevText.Location = new System.Drawing.Point(30, 14);
+ this.labDevText.Margin = new System.Windows.Forms.Padding(0);
+ this.labDevText.Name = "labDevText";
+ this.labDevText.Size = new System.Drawing.Size(106, 20);
+ this.labDevText.TabIndex = 2;
+ this.labDevText.Text = "送检仪器管理";
+ this.labDevText.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
+ this.labDevText.Click += new System.EventHandler(this.panDev_Click);
+ this.labDevText.MouseLeave += new System.EventHandler(this.panDev_MouseLeave);
+ this.labDevText.MouseHover += new System.EventHandler(this.panDev_MouseHover);
+ //
+ // labDevSelected
+ //
+ this.labDevSelected.BackColor = System.Drawing.Color.Transparent;
+ this.labDevSelected.Location = new System.Drawing.Point(8, 48);
+ this.labDevSelected.Margin = new System.Windows.Forms.Padding(0);
+ this.labDevSelected.Name = "labDevSelected";
+ this.labDevSelected.Size = new System.Drawing.Size(121, 2);
+ this.labDevSelected.TabIndex = 3;
+ //
+ // picIconDev
+ //
+ this.picIconDev.BackColor = System.Drawing.Color.Transparent;
+ this.picIconDev.BackgroundImage = global::Casic.Birmm.RbFreqStandMeasure.Properties.Resources.icon_dev;
+ this.picIconDev.BackgroundImageLayout = System.Windows.Forms.ImageLayout.Zoom;
+ this.picIconDev.Location = new System.Drawing.Point(10, 14);
+ this.picIconDev.Name = "picIconDev";
+ this.picIconDev.Size = new System.Drawing.Size(20, 20);
+ this.picIconDev.TabIndex = 1;
+ this.picIconDev.TabStop = false;
+ this.picIconDev.Click += new System.EventHandler(this.panDev_Click);
+ this.picIconDev.MouseLeave += new System.EventHandler(this.panDev_MouseLeave);
+ this.picIconDev.MouseHover += new System.EventHandler(this.panDev_MouseHover);
+ //
+ // panSetting
+ //
+ this.panSetting.Back = System.Drawing.Color.Empty;
+ this.panSetting.Controls.Add(this.labSettingSelected);
+ this.panSetting.Controls.Add(this.labSettingText);
+ this.panSetting.Controls.Add(this.picIconSetting);
+ this.panSetting.Location = new System.Drawing.Point(879, 0);
+ this.panSetting.MatrixRound = 8;
+ this.panSetting.Name = "panSetting";
+ this.panSetting.Size = new System.Drawing.Size(109, 50);
+ this.panSetting.TabIndex = 2;
+ this.panSetting.Click += new System.EventHandler(this.panSetting_Click);
+ this.panSetting.MouseLeave += new System.EventHandler(this.panSetting_MouseLeave);
+ this.panSetting.MouseHover += new System.EventHandler(this.panSetting_MouseHover);
+ //
+ // labSettingSelected
+ //
+ this.labSettingSelected.BackColor = System.Drawing.Color.Transparent;
+ this.labSettingSelected.Location = new System.Drawing.Point(10, 48);
+ this.labSettingSelected.Margin = new System.Windows.Forms.Padding(0);
+ this.labSettingSelected.Name = "labSettingSelected";
+ this.labSettingSelected.Size = new System.Drawing.Size(89, 2);
+ this.labSettingSelected.TabIndex = 4;
+ //
+ // labSettingText
+ //
+ this.labSettingText.BackColor = System.Drawing.Color.Transparent;
+ this.labSettingText.Cursor = System.Windows.Forms.Cursors.Hand;
+ this.labSettingText.Font = new System.Drawing.Font("微软雅黑", 16F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Pixel, ((byte)(134)));
+ this.labSettingText.ForeColor = System.Drawing.SystemColors.ControlText;
+ this.labSettingText.Location = new System.Drawing.Point(30, 14);
+ this.labSettingText.Margin = new System.Windows.Forms.Padding(0);
+ this.labSettingText.Name = "labSettingText";
+ this.labSettingText.Size = new System.Drawing.Size(74, 20);
+ this.labSettingText.TabIndex = 2;
+ this.labSettingText.Text = "系统设置";
+ this.labSettingText.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
+ this.labSettingText.Click += new System.EventHandler(this.panSetting_Click);
+ this.labSettingText.MouseLeave += new System.EventHandler(this.panSetting_MouseLeave);
+ this.labSettingText.MouseHover += new System.EventHandler(this.panSetting_MouseHover);
+ //
+ // picIconSetting
+ //
+ this.picIconSetting.BackColor = System.Drawing.Color.Transparent;
+ this.picIconSetting.BackgroundImage = global::Casic.Birmm.RbFreqStandMeasure.Properties.Resources.icon_setting;
+ this.picIconSetting.BackgroundImageLayout = System.Windows.Forms.ImageLayout.Zoom;
+ this.picIconSetting.Location = new System.Drawing.Point(10, 14);
+ this.picIconSetting.Name = "picIconSetting";
+ this.picIconSetting.Size = new System.Drawing.Size(20, 20);
+ this.picIconSetting.TabIndex = 1;
+ this.picIconSetting.TabStop = false;
+ this.picIconSetting.Click += new System.EventHandler(this.panSetting_Click);
+ this.picIconSetting.MouseLeave += new System.EventHandler(this.panSetting_MouseLeave);
+ this.picIconSetting.MouseHover += new System.EventHandler(this.panSetting_MouseHover);
+ //
+ // panStatus
+ //
+ this.panStatus.Back = System.Drawing.Color.Empty;
+ this.panStatus.BackColor = System.Drawing.Color.Transparent;
+ this.panStatus.Controls.Add(this.labStatusText);
+ this.panStatus.Controls.Add(this.picIconStatus);
+ this.panStatus.Controls.Add(this.labStatusSelected);
+ this.panStatus.Location = new System.Drawing.Point(101, 0);
+ this.panStatus.MatrixRound = 8;
+ this.panStatus.Name = "panStatus";
+ this.panStatus.Size = new System.Drawing.Size(109, 50);
+ this.panStatus.TabIndex = 1;
+ this.panStatus.Click += new System.EventHandler(this.panStatus_Click);
+ this.panStatus.MouseLeave += new System.EventHandler(this.panStatus_MouseLeave);
+ this.panStatus.MouseHover += new System.EventHandler(this.panStatus_MouseHover);
+ //
+ // labStatusText
+ //
+ this.labStatusText.BackColor = System.Drawing.Color.Transparent;
+ this.labStatusText.Cursor = System.Windows.Forms.Cursors.Hand;
+ this.labStatusText.Font = new System.Drawing.Font("微软雅黑", 16F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Pixel, ((byte)(134)));
+ this.labStatusText.ForeColor = System.Drawing.SystemColors.ControlText;
+ this.labStatusText.Location = new System.Drawing.Point(30, 14);
+ this.labStatusText.Margin = new System.Windows.Forms.Padding(0);
+ this.labStatusText.Name = "labStatusText";
+ this.labStatusText.Size = new System.Drawing.Size(74, 20);
+ this.labStatusText.TabIndex = 2;
+ this.labStatusText.Text = "基准状态";
+ this.labStatusText.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
+ this.labStatusText.Click += new System.EventHandler(this.panStatus_Click);
+ this.labStatusText.MouseLeave += new System.EventHandler(this.panStatus_MouseLeave);
+ this.labStatusText.MouseHover += new System.EventHandler(this.panStatus_MouseHover);
+ //
+ // picIconStatus
+ //
+ this.picIconStatus.BackgroundImage = global::Casic.Birmm.RbFreqStandMeasure.Properties.Resources.icon_status;
+ this.picIconStatus.BackgroundImageLayout = System.Windows.Forms.ImageLayout.Zoom;
+ this.picIconStatus.Location = new System.Drawing.Point(10, 14);
+ this.picIconStatus.Name = "picIconStatus";
+ this.picIconStatus.Size = new System.Drawing.Size(20, 20);
+ this.picIconStatus.TabIndex = 1;
+ this.picIconStatus.TabStop = false;
+ this.picIconStatus.Click += new System.EventHandler(this.panStatus_Click);
+ this.picIconStatus.MouseLeave += new System.EventHandler(this.panStatus_MouseLeave);
+ this.picIconStatus.MouseHover += new System.EventHandler(this.panStatus_MouseHover);
+ //
+ // labStatusSelected
+ //
+ this.labStatusSelected.BackColor = System.Drawing.Color.Transparent;
+ this.labStatusSelected.Location = new System.Drawing.Point(10, 48);
+ this.labStatusSelected.Margin = new System.Windows.Forms.Padding(0);
+ this.labStatusSelected.Name = "labStatusSelected";
+ this.labStatusSelected.Size = new System.Drawing.Size(89, 2);
+ this.labStatusSelected.TabIndex = 0;
+ //
+ // panData
+ //
+ this.panData.Back = System.Drawing.Color.Empty;
+ this.panData.Controls.Add(this.labDataSelected);
+ this.panData.Controls.Add(this.labDataText);
+ this.panData.Controls.Add(this.picIconData);
+ this.panData.Location = new System.Drawing.Point(765, 0);
+ this.panData.MatrixRound = 8;
+ this.panData.Name = "panData";
+ this.panData.Size = new System.Drawing.Size(109, 50);
+ this.panData.TabIndex = 2;
+ this.panData.Click += new System.EventHandler(this.panData_Click);
+ this.panData.MouseLeave += new System.EventHandler(this.panData_MouseLeave);
+ this.panData.MouseHover += new System.EventHandler(this.panData_MouseHover);
+ //
+ // labDataSelected
+ //
+ this.labDataSelected.BackColor = System.Drawing.Color.Transparent;
+ this.labDataSelected.Location = new System.Drawing.Point(10, 48);
+ this.labDataSelected.Margin = new System.Windows.Forms.Padding(0);
+ this.labDataSelected.Name = "labDataSelected";
+ this.labDataSelected.Size = new System.Drawing.Size(89, 2);
+ this.labDataSelected.TabIndex = 3;
+ //
+ // labDataText
+ //
+ this.labDataText.BackColor = System.Drawing.Color.Transparent;
+ this.labDataText.Cursor = System.Windows.Forms.Cursors.Hand;
+ this.labDataText.Font = new System.Drawing.Font("微软雅黑", 16F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Pixel, ((byte)(134)));
+ this.labDataText.ForeColor = System.Drawing.SystemColors.ControlText;
+ this.labDataText.Location = new System.Drawing.Point(30, 14);
+ this.labDataText.Margin = new System.Windows.Forms.Padding(0);
+ this.labDataText.Name = "labDataText";
+ this.labDataText.Size = new System.Drawing.Size(74, 20);
+ this.labDataText.TabIndex = 2;
+ this.labDataText.Text = "数据管理";
+ this.labDataText.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
+ this.labDataText.Click += new System.EventHandler(this.panData_Click);
+ this.labDataText.MouseLeave += new System.EventHandler(this.panData_MouseLeave);
+ this.labDataText.MouseHover += new System.EventHandler(this.panData_MouseHover);
+ //
+ // picIconData
+ //
+ this.picIconData.BackColor = System.Drawing.Color.Transparent;
+ this.picIconData.BackgroundImage = global::Casic.Birmm.RbFreqStandMeasure.Properties.Resources.icon_data;
+ this.picIconData.BackgroundImageLayout = System.Windows.Forms.ImageLayout.Zoom;
+ this.picIconData.Location = new System.Drawing.Point(10, 14);
+ this.picIconData.Name = "picIconData";
+ this.picIconData.Size = new System.Drawing.Size(20, 20);
+ this.picIconData.TabIndex = 1;
+ this.picIconData.TabStop = false;
+ this.picIconData.Click += new System.EventHandler(this.panData_Click);
+ this.picIconData.MouseLeave += new System.EventHandler(this.panData_MouseLeave);
+ this.picIconData.MouseHover += new System.EventHandler(this.panData_MouseHover);
+ //
+ // panHome
+ //
+ this.panHome.Back = System.Drawing.Color.Empty;
+ this.panHome.Controls.Add(this.labHomeText);
+ this.panHome.Controls.Add(this.picIconHome);
+ this.panHome.Controls.Add(this.labHomeSelected);
+ this.panHome.Cursor = System.Windows.Forms.Cursors.Hand;
+ this.panHome.Location = new System.Drawing.Point(20, 0);
+ this.panHome.MatrixRound = 8;
+ this.panHome.Name = "panHome";
+ this.panHome.Size = new System.Drawing.Size(75, 50);
+ this.panHome.TabIndex = 0;
+ this.panHome.Click += new System.EventHandler(this.panHome_Click);
+ this.panHome.MouseLeave += new System.EventHandler(this.panHome_MouseLeave);
+ this.panHome.MouseHover += new System.EventHandler(this.panHome_MouseHover);
+ //
+ // labHomeText
+ //
+ this.labHomeText.BackColor = System.Drawing.Color.Transparent;
+ this.labHomeText.Font = new System.Drawing.Font("微软雅黑", 16F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Pixel, ((byte)(134)));
+ this.labHomeText.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(18)))), ((int)(((byte)(150)))), ((int)(((byte)(219)))));
+ this.labHomeText.Location = new System.Drawing.Point(30, 14);
+ this.labHomeText.Margin = new System.Windows.Forms.Padding(0);
+ this.labHomeText.Name = "labHomeText";
+ this.labHomeText.Size = new System.Drawing.Size(42, 20);
+ this.labHomeText.TabIndex = 2;
+ this.labHomeText.Text = "首页";
+ this.labHomeText.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
+ this.labHomeText.Click += new System.EventHandler(this.panHome_Click);
+ this.labHomeText.MouseLeave += new System.EventHandler(this.panHome_MouseLeave);
+ this.labHomeText.MouseHover += new System.EventHandler(this.panHome_MouseHover);
+ //
+ // picIconHome
+ //
+ this.picIconHome.BackColor = System.Drawing.Color.Transparent;
+ this.picIconHome.BackgroundImage = global::Casic.Birmm.RbFreqStandMeasure.Properties.Resources.icon_home_selected;
+ this.picIconHome.BackgroundImageLayout = System.Windows.Forms.ImageLayout.Zoom;
+ this.picIconHome.Location = new System.Drawing.Point(10, 14);
+ this.picIconHome.Margin = new System.Windows.Forms.Padding(0);
+ this.picIconHome.Name = "picIconHome";
+ this.picIconHome.Size = new System.Drawing.Size(20, 20);
+ this.picIconHome.TabIndex = 1;
+ this.picIconHome.TabStop = false;
+ this.picIconHome.Click += new System.EventHandler(this.panHome_Click);
+ this.picIconHome.MouseLeave += new System.EventHandler(this.panHome_MouseLeave);
+ this.picIconHome.MouseHover += new System.EventHandler(this.panHome_MouseHover);
+ //
+ // labHomeSelected
+ //
+ this.labHomeSelected.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(18)))), ((int)(((byte)(150)))), ((int)(((byte)(219)))));
+ this.labHomeSelected.Location = new System.Drawing.Point(10, 48);
+ this.labHomeSelected.Name = "labHomeSelected";
+ this.labHomeSelected.Size = new System.Drawing.Size(55, 2);
+ this.labHomeSelected.TabIndex = 0;
+ //
+ // panMeasure
+ //
+ this.panMeasure.Back = System.Drawing.Color.Empty;
+ this.panMeasure.Controls.Add(this.labMeasureText);
+ this.panMeasure.Controls.Add(this.labMeasureSelected);
+ this.panMeasure.Controls.Add(this.picIconMeasure);
+ this.panMeasure.Location = new System.Drawing.Point(619, 0);
+ this.panMeasure.MatrixRound = 8;
+ this.panMeasure.Name = "panMeasure";
+ this.panMeasure.Size = new System.Drawing.Size(141, 50);
+ this.panMeasure.TabIndex = 2;
+ this.panMeasure.Click += new System.EventHandler(this.panMeasure_Click);
+ this.panMeasure.MouseLeave += new System.EventHandler(this.panMeasure_MouseLeave);
+ this.panMeasure.MouseHover += new System.EventHandler(this.panMeasure_MouseHover);
+ //
+ // labMeasureText
+ //
+ this.labMeasureText.BackColor = System.Drawing.Color.Transparent;
+ this.labMeasureText.Cursor = System.Windows.Forms.Cursors.Hand;
+ this.labMeasureText.Font = new System.Drawing.Font("微软雅黑", 16F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Pixel, ((byte)(134)));
+ this.labMeasureText.ForeColor = System.Drawing.SystemColors.ControlText;
+ this.labMeasureText.Location = new System.Drawing.Point(30, 14);
+ this.labMeasureText.Margin = new System.Windows.Forms.Padding(0);
+ this.labMeasureText.Name = "labMeasureText";
+ this.labMeasureText.Size = new System.Drawing.Size(106, 20);
+ this.labMeasureText.TabIndex = 2;
+ this.labMeasureText.Text = "计量信息管理";
+ this.labMeasureText.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
+ this.labMeasureText.Click += new System.EventHandler(this.panMeasure_Click);
+ this.labMeasureText.MouseLeave += new System.EventHandler(this.panMeasure_MouseLeave);
+ this.labMeasureText.MouseHover += new System.EventHandler(this.panMeasure_MouseHover);
+ //
+ // labMeasureSelected
+ //
+ this.labMeasureSelected.BackColor = System.Drawing.Color.Transparent;
+ this.labMeasureSelected.Location = new System.Drawing.Point(10, 48);
+ this.labMeasureSelected.Margin = new System.Windows.Forms.Padding(0);
+ this.labMeasureSelected.Name = "labMeasureSelected";
+ this.labMeasureSelected.Size = new System.Drawing.Size(121, 2);
+ this.labMeasureSelected.TabIndex = 3;
+ //
+ // picIconMeasure
+ //
+ this.picIconMeasure.BackColor = System.Drawing.Color.Transparent;
+ this.picIconMeasure.BackgroundImage = global::Casic.Birmm.RbFreqStandMeasure.Properties.Resources.icon_measure;
+ this.picIconMeasure.BackgroundImageLayout = System.Windows.Forms.ImageLayout.Zoom;
+ this.picIconMeasure.Location = new System.Drawing.Point(10, 14);
+ this.picIconMeasure.Name = "picIconMeasure";
+ this.picIconMeasure.Size = new System.Drawing.Size(20, 20);
+ this.picIconMeasure.TabIndex = 1;
+ this.picIconMeasure.TabStop = false;
+ this.picIconMeasure.Click += new System.EventHandler(this.panMeasure_Click);
+ this.picIconMeasure.MouseLeave += new System.EventHandler(this.panMeasure_MouseLeave);
+ this.picIconMeasure.MouseHover += new System.EventHandler(this.panMeasure_MouseHover);
+ //
+ // panCounter
+ //
+ this.panCounter.Back = System.Drawing.Color.Empty;
+ this.panCounter.Controls.Add(this.labCounterSelected);
+ this.panCounter.Controls.Add(this.labCounterText);
+ this.panCounter.Controls.Add(this.picIconCounter);
+ this.panCounter.Location = new System.Drawing.Point(360, 0);
+ this.panCounter.MatrixRound = 8;
+ this.panCounter.Name = "panCounter";
+ this.panCounter.Size = new System.Drawing.Size(254, 50);
+ this.panCounter.TabIndex = 2;
+ this.panCounter.Click += new System.EventHandler(this.panCounter_Click);
+ this.panCounter.MouseLeave += new System.EventHandler(this.panCounter_MouseLeave);
+ this.panCounter.MouseHover += new System.EventHandler(this.panCounter_MouseHover);
+ //
+ // labCounterSelected
+ //
+ this.labCounterSelected.BackColor = System.Drawing.Color.Transparent;
+ this.labCounterSelected.Location = new System.Drawing.Point(10, 48);
+ this.labCounterSelected.Margin = new System.Windows.Forms.Padding(0);
+ this.labCounterSelected.Name = "labCounterSelected";
+ this.labCounterSelected.Size = new System.Drawing.Size(233, 2);
+ this.labCounterSelected.TabIndex = 4;
+ //
+ // labCounterText
+ //
+ this.labCounterText.BackColor = System.Drawing.Color.Transparent;
+ this.labCounterText.Cursor = System.Windows.Forms.Cursors.Hand;
+ this.labCounterText.Font = new System.Drawing.Font("微软雅黑", 16F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Pixel, ((byte)(134)));
+ this.labCounterText.ForeColor = System.Drawing.SystemColors.ControlText;
+ this.labCounterText.Location = new System.Drawing.Point(30, 14);
+ this.labCounterText.Margin = new System.Windows.Forms.Padding(0);
+ this.labCounterText.Name = "labCounterText";
+ this.labCounterText.Size = new System.Drawing.Size(218, 20);
+ this.labCounterText.TabIndex = 2;
+ this.labCounterText.Text = "频率计数器范围及灵敏度测量";
+ this.labCounterText.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
+ this.labCounterText.Click += new System.EventHandler(this.panCounter_Click);
+ this.labCounterText.MouseLeave += new System.EventHandler(this.panCounter_MouseLeave);
+ this.labCounterText.MouseHover += new System.EventHandler(this.panCounter_MouseHover);
+ //
+ // picIconCounter
+ //
+ this.picIconCounter.BackColor = System.Drawing.Color.Transparent;
+ this.picIconCounter.BackgroundImage = global::Casic.Birmm.RbFreqStandMeasure.Properties.Resources.icon_counter;
+ this.picIconCounter.BackgroundImageLayout = System.Windows.Forms.ImageLayout.Zoom;
+ this.picIconCounter.Location = new System.Drawing.Point(10, 14);
+ this.picIconCounter.Name = "picIconCounter";
+ this.picIconCounter.Size = new System.Drawing.Size(20, 20);
+ this.picIconCounter.TabIndex = 1;
+ this.picIconCounter.TabStop = false;
+ this.picIconCounter.Click += new System.EventHandler(this.panCounter_Click);
+ this.picIconCounter.MouseLeave += new System.EventHandler(this.panCounter_MouseLeave);
+ this.picIconCounter.MouseHover += new System.EventHandler(this.panCounter_MouseHover);
+ //
+ // panelMain
+ //
+ this.panelMain.Location = new System.Drawing.Point(0, 114);
+ this.panelMain.Name = "panelMain";
+ this.panelMain.Size = new System.Drawing.Size(1024, 654);
+ this.panelMain.TabIndex = 2;
+ //
// RbFreqStdMeas
//
this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 12F);
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
this.ClientSize = new System.Drawing.Size(1024, 768);
+ this.Controls.Add(this.panelMain);
this.Controls.Add(this.panMenu);
this.Controls.Add(this.penBanner);
this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.None;
@@ -221,11 +560,21 @@
this.Text = "RbFreqStdMeas";
this.Load += new System.EventHandler(this.RbFreqStdMeas_Load);
this.panMenu.ResumeLayout(false);
+ this.penBanner.ResumeLayout(false);
+ this.panDev.ResumeLayout(false);
+ ((System.ComponentModel.ISupportInitialize)(this.picIconDev)).EndInit();
+ this.panSetting.ResumeLayout(false);
+ ((System.ComponentModel.ISupportInitialize)(this.picIconSetting)).EndInit();
this.panStatus.ResumeLayout(false);
((System.ComponentModel.ISupportInitialize)(this.picIconStatus)).EndInit();
+ this.panData.ResumeLayout(false);
+ ((System.ComponentModel.ISupportInitialize)(this.picIconData)).EndInit();
this.panHome.ResumeLayout(false);
((System.ComponentModel.ISupportInitialize)(this.picIconHome)).EndInit();
- this.penBanner.ResumeLayout(false);
+ this.panMeasure.ResumeLayout(false);
+ ((System.ComponentModel.ISupportInitialize)(this.picIconMeasure)).EndInit();
+ this.panCounter.ResumeLayout(false);
+ ((System.ComponentModel.ISupportInitialize)(this.picIconCounter)).EndInit();
this.ResumeLayout(false);
}
@@ -244,5 +593,27 @@
private RoundPanel panStatus;
private RoundPanel panHome;
private System.Windows.Forms.Label labStatusSelected;
+ private RoundPanel panDev;
+ private System.Windows.Forms.PictureBox picIconDev;
+ private System.Windows.Forms.Label labDevText;
+ private System.Windows.Forms.Label labMeasureSelected;
+ private RoundPanel panCounter;
+ private System.Windows.Forms.Label labCounterText;
+ private System.Windows.Forms.PictureBox picIconCounter;
+ private RoundPanel panMeasure;
+ private System.Windows.Forms.Label labMeasureText;
+ private System.Windows.Forms.PictureBox picIconMeasure;
+ private RoundPanel panData;
+ private System.Windows.Forms.Label labDataText;
+ private System.Windows.Forms.PictureBox picIconData;
+ private RoundPanel panSetting;
+ private System.Windows.Forms.Label labSettingText;
+ private System.Windows.Forms.PictureBox picIconSetting;
+ private System.Windows.Forms.Label labCounterSelected;
+ private System.Windows.Forms.Label labDevSelected;
+ private System.Windows.Forms.Label labDataSelected;
+ private System.Windows.Forms.Label labSettingSelected;
+ private System.Windows.Forms.Button btnMinSys;
+ private System.Windows.Forms.Panel panelMain;
}
}
\ No newline at end of file
diff --git a/RbFreqStandMeasure/RbFreqStdMeas.cs b/RbFreqStandMeasure/RbFreqStdMeas.cs
index 3858ddb..af980d7 100644
--- a/RbFreqStandMeasure/RbFreqStdMeas.cs
+++ b/RbFreqStandMeasure/RbFreqStdMeas.cs
@@ -1,13 +1,9 @@
-using Casic.Birmm.RbFreqStandMeasure.Properties;
+using Casic.Birmm.RbFreqStandMeasure.info;
+using Casic.Birmm.RbFreqStandMeasure.Properties;
+using Casic.Birmm.RbFreqStandMeasure.setting;
using System;
-using System.Collections.Generic;
-using System.ComponentModel;
-using System.Data;
using System.Drawing;
-using System.Linq;
-using System.Resources;
using System.Runtime.InteropServices;
-using System.Text;
using System.Windows.Forms;
namespace Casic.Birmm.RbFreqStandMeasure
@@ -15,7 +11,7 @@
public partial class RbFreqStdMeas : Form
{
- #region 无边框拖动效果
+ #region 无边框拖动效果/最小化窗口/关闭窗口
[DllImport("user32.dll")]//拖动无窗体的控件
public static extern bool ReleaseCapture();
[DllImport("user32.dll")]
@@ -30,9 +26,29 @@
ReleaseCapture();
SendMessage(this.Handle, WM_SYSCOMMAND, SC_MOVE + HTCAPTION, 0);
}
+ private void btnExitSys_Click(object sender, EventArgs e)
+ {
+ Application.Exit();
+ }
+ private void btnMinSys_Click(object sender, EventArgs e)
+ {
+ this.WindowState = FormWindowState.Minimized;
+ }
+ private void btnExitSys_MouseHover(object sender, EventArgs e)
+ {
+ ToolTip p = new ToolTip();
+ p.ShowAlways = true;
+ p.SetToolTip(this.btnExitSys, "退出");
+ }
+ private void btnMinSys_MouseHover(object sender, EventArgs e)
+ {
+ ToolTip p = new ToolTip();
+ p.ShowAlways = true;
+ p.SetToolTip(this.btnMinSys, "最小化");
+ }
#endregion
- private bool[] menuSelected = { true, false };
+ private bool[] menuSelected = { true, false, false, false, false, false, false };
// 按钮图标
private PictureBox[] menuPics;
// 按钮图标的资源名称(选中的资源名称在后面加上 _selected)
@@ -57,7 +73,7 @@
// 将当前按钮的效果设置为默认未选中
this.menuPics[index].BackgroundImage = (Bitmap)Resources.ResourceManager.GetObject(this.menuIconResources[index], null);
- this.menuLabels[index].ForeColor = ColorTranslator.FromHtml("#2C2C2C");
+ this.menuLabels[index].ForeColor = ColorTranslator.FromHtml("#333333");
this.menuUnderlines[index].BackColor = Color.Transparent;
}
@@ -79,13 +95,15 @@
LeaveHome();
// 重新设置所有按钮的状态
- this.menuSelected = new bool[] { true, false };
+ this.menuSelected = new bool[] { true, false, false, false, false, false, false };
// 将新选中的按钮设置为选中
this.picIconHome.BackgroundImage = (Bitmap)Resources.ResourceManager.GetObject("icon_home_selected", null);
- this.labHomeText.ForeColor = ColorTranslator.FromHtml("#1296db");
- this.labHomeSelected.BackColor = ColorTranslator.FromHtml("#1296db");
+ this.labHomeText.ForeColor = ColorTranslator.FromHtml("#3f84d7");
+ this.labHomeSelected.BackColor = ColorTranslator.FromHtml("#3f84d7");
+ // 切换至首页
+ switchMainPanel(0);
}
#endregion
@@ -107,12 +125,163 @@
LeaveStatus();
// 重新设置所有按钮的状态
- this.menuSelected = new bool[] { false, true };
+ this.menuSelected = new bool[] { false, true, false, false, false, false, false };
// 将新选中的按钮设置为选中
this.picIconStatus.BackgroundImage = (Bitmap) Resources.ResourceManager.GetObject("icon_status_selected", null);
- this.labStatusText.ForeColor = ColorTranslator.FromHtml("#1296db");
- this.labStatusSelected.BackColor = ColorTranslator.FromHtml("#1296db");
+ this.labStatusText.ForeColor = ColorTranslator.FromHtml("#3f84d7");
+ this.labStatusSelected.BackColor = ColorTranslator.FromHtml("#3f84d7");
+
+ // 切换到基准状态页面
+ switchMainPanel(1);
+ }
+ #endregion
+
+ #region 送检仪器按钮点击、移入/移出效果
+ private void HoverDev()
+ {
+ panDev.Back = ColorTranslator.FromHtml("#56a3f2");
+ }
+ private void LeaveDev()
+ {
+ panDev.Back = Color.Transparent;
+ }
+ private void SelectDev()
+ {
+ // 移除所有按钮的选中样式
+ this.ClearAllMenuSelected();
+
+ // 鼠标移入效果去掉
+ LeaveDev();
+
+ // 重新设置所有按钮的状态
+ this.menuSelected = new bool[] { false, false, true, false, false ,false ,false };
+
+ // 将新选中的按钮设置为选中
+ this.picIconDev.BackgroundImage = (Bitmap)Resources.ResourceManager.GetObject("icon_dev_selected", null);
+ this.labDevText.ForeColor = ColorTranslator.FromHtml("#3f84d7");
+ this.labDevSelected.BackColor = ColorTranslator.FromHtml("#3f84d7");
+
+ // 切换至待检仪器管理
+ switchMainPanel(2);
+ }
+ #endregion
+
+ #region 频率计数器测量点击、移入/移出效果
+ private void HoverCounter()
+ {
+ panCounter.Back = ColorTranslator.FromHtml("#56a3f2");
+ }
+ private void LeaveCounter()
+ {
+ panCounter.Back = Color.Transparent;
+ }
+ private void SelectCounter()
+ {
+ // 移除所有按钮的选中样式
+ this.ClearAllMenuSelected();
+
+ // 鼠标移入效果去掉
+ LeaveCounter();
+
+ // 重新设置所有按钮的状态
+ this.menuSelected = new bool[] { false, false, false, true, false, false, false };
+
+ // 将新选中的按钮设置为选中
+ this.picIconCounter.BackgroundImage = (Bitmap)Resources.ResourceManager.GetObject("icon_counter_selected", null);
+ this.labCounterText.ForeColor = ColorTranslator.FromHtml("#3f84d7");
+ this.labCounterSelected.BackColor = ColorTranslator.FromHtml("#3f84d7");
+ }
+ #endregion
+
+ #region 计量管理点击、移入/移出效果
+ private void HoverMeasure()
+ {
+ panMeasure.Back = ColorTranslator.FromHtml("#56a3f2");
+ }
+ private void LeaveMeasure()
+ {
+ panMeasure.Back = Color.Transparent;
+ }
+ private void SelectMeasure()
+ {
+ // 移除所有按钮的选中样式
+ this.ClearAllMenuSelected();
+
+ // 鼠标移入效果去掉
+ LeaveMeasure();
+
+ // 重新设置所有按钮的状态
+ this.menuSelected = new bool[] { false, false, false, false, true, false, false };
+
+ // 将新选中的按钮设置为选中
+ this.picIconMeasure.BackgroundImage = (Bitmap)Resources.ResourceManager.GetObject("icon_measure_selected", null);
+ this.labMeasureText.ForeColor = ColorTranslator.FromHtml("#3f84d7");
+ this.labMeasureSelected.BackColor = ColorTranslator.FromHtml("#3f84d7");
+
+ // 切换至计量信息管理
+ switchMainPanel(4);
+ }
+ #endregion
+
+ #region 数据管理点击、移入/移出效果
+ private void HoverData()
+ {
+ panData.Back = ColorTranslator.FromHtml("#56a3f2");
+ }
+ private void LeaveData()
+ {
+ panData.Back = Color.Transparent;
+ }
+ private void SelectData()
+ {
+ // 移除所有按钮的选中样式
+ this.ClearAllMenuSelected();
+
+ // 鼠标移入效果去掉
+ LeaveData();
+
+ // 重新设置所有按钮的状态
+ this.menuSelected = new bool[] { false, false, false, false, false, true, false };
+
+ // 将新选中的按钮设置为选中
+ this.picIconData.BackgroundImage = (Bitmap)Resources.ResourceManager.GetObject("icon_data_selected", null);
+ this.labDataText.ForeColor = ColorTranslator.FromHtml("#3f84d7");
+ this.labDataSelected.BackColor = ColorTranslator.FromHtml("#3f84d7");
+
+ // 弹出对话框进行数据备份与还原操作
+ DataBackupDlg dataDlg = new DataBackupDlg();
+ dataDlg.ShowDialog();
+ }
+ #endregion
+
+ #region 系统管理点击、移入/移出效果
+ private void HoverSetting()
+ {
+ panSetting.Back = ColorTranslator.FromHtml("#56a3f2");
+ }
+ private void LeaveSetting()
+ {
+ panSetting.Back = Color.Transparent;
+ }
+ private void SelectSetting()
+ {
+ // 移除所有按钮的选中样式
+ this.ClearAllMenuSelected();
+
+ // 鼠标移入效果去掉
+ LeaveSetting();
+
+ // 重新设置所有按钮的状态
+ this.menuSelected = new bool[] { false, false, false, false, false, false, true };
+
+ // 将新选中的按钮设置为选中
+ this.picIconSetting.BackgroundImage = (Bitmap)Resources.ResourceManager.GetObject("icon_setting_selected", null);
+ this.labSettingText.ForeColor = ColorTranslator.FromHtml("#3f84d7");
+ this.labSettingSelected.BackColor = ColorTranslator.FromHtml("#3f84d7");
+
+ // 切换到设置的界面
+ switchMainPanel(6);
}
#endregion
@@ -123,22 +292,13 @@
private void RbFreqStdMeas_Load(object sender, EventArgs e)
{
- this.menuPics = new PictureBox[] { this.picIconHome, this.picIconStatus };
- this.menuLabels = new Label[] { this.labHomeText, this.labStatusText };
- this.menuUnderlines = new Label[] { this.labHomeSelected, this.labStatusSelected };
- this.menuIconResources = new string[] { "icon_home", "icon_status" };
- }
+ this.menuPics = new PictureBox[] { this.picIconHome, this.picIconStatus, this.picIconDev, this.picIconCounter, this.picIconMeasure, this.picIconData, this.picIconSetting };
+ this.menuLabels = new Label[] { this.labHomeText, this.labStatusText, this.labDevText, this.labCounterText, this.labMeasureText, this.labDataText, this.labSettingText };
+ this.menuUnderlines = new Label[] { this.labHomeSelected, this.labStatusSelected, this.labDevSelected, this.labCounterSelected, this.labMeasureSelected, this.labDataSelected, this.labSettingSelected };
+ this.menuIconResources = new string[] { "icon_home", "icon_status", "icon_dev", "icon_counter", "icon_measure", "icon_data", "icon_setting" };
- private void btnExitSys_Click(object sender, EventArgs e)
- {
- Application.Exit();
- }
-
- private void btnExitSys_MouseHover(object sender, EventArgs e)
- {
- ToolTip p = new ToolTip();
- p.ShowAlways = true;
- p.SetToolTip(this.btnExitSys, "退出");
+ // 加载首页的内容
+ switchMainPanel(0);
}
private void panHome_Click(object sender, EventArgs e)
@@ -191,5 +351,169 @@
LeaveStatus();
}
}
+
+ private void panDev_Click(object sender, EventArgs e)
+ {
+ if (this.menuSelected[2] == false)
+ {
+ SelectDev();
+ }
+ }
+
+ private void panDev_MouseHover(object sender, EventArgs e)
+ {
+ if (this.menuSelected[2] == false)
+ {
+ HoverDev();
+ }
+ }
+
+ private void panDev_MouseLeave(object sender, EventArgs e)
+ {
+ if (this.menuSelected[2] == false)
+ {
+ LeaveDev();
+ }
+ }
+
+ private void panCounter_Click(object sender, EventArgs e)
+ {
+ if (this.menuSelected[3] == false)
+ {
+ SelectCounter();
+ }
+ }
+
+ private void panCounter_MouseHover(object sender, EventArgs e)
+ {
+ if (this.menuSelected[3] == false)
+ {
+ HoverCounter();
+ }
+ }
+
+ private void panCounter_MouseLeave(object sender, EventArgs e)
+ {
+ if (this.menuSelected[3] == false)
+ {
+ LeaveCounter();
+ }
+ }
+
+ private void panMeasure_Click(object sender, EventArgs e)
+ {
+ if (this.menuSelected[4] == false)
+ {
+ SelectMeasure();
+ }
+ }
+
+ private void panMeasure_MouseHover(object sender, EventArgs e)
+ {
+ if (this.menuSelected[4] == false)
+ {
+ HoverMeasure();
+ }
+ }
+
+ private void panMeasure_MouseLeave(object sender, EventArgs e)
+ {
+ if (this.menuSelected[4] == false)
+ {
+ LeaveMeasure();
+ }
+ }
+
+ private void panData_Click(object sender, EventArgs e)
+ {
+ if (this.menuSelected[5] == false)
+ {
+ SelectData();
+ }
+ }
+
+ private void panData_MouseHover(object sender, EventArgs e)
+ {
+ if (this.menuSelected[5] == false)
+ {
+ HoverData();
+ }
+ }
+
+ private void panData_MouseLeave(object sender, EventArgs e)
+ {
+ if (this.menuSelected[5] == false)
+ {
+ LeaveData();
+ }
+ }
+
+ private void panSetting_Click(object sender, EventArgs e)
+ {
+ if (this.menuSelected[6] == false)
+ {
+ SelectSetting();
+ }
+ }
+
+ private void panSetting_MouseHover(object sender, EventArgs e)
+ {
+ if (this.menuSelected[6] == false)
+ {
+ HoverSetting();
+ }
+ }
+
+ private void panSetting_MouseLeave(object sender, EventArgs e)
+ {
+ if (this.menuSelected[6] == false)
+ {
+ LeaveSetting();
+ }
+ }
+
+ private void switchMainPanel(int index)
+ {
+ this.panelMain.Controls.Clear();
+
+ switch (index)
+ {
+ case 0: // 首页
+ HomeCtrlForm home = new HomeCtrlForm();
+ home.Show();
+ this.panelMain.Controls.Add(home);
+ break;
+
+ case 1: // 基准状态
+ StatusCtrlForm statusForm = new StatusCtrlForm();
+ statusForm.Show();
+ this.panelMain.Controls.Add(statusForm);
+ break;
+
+ case 2: // 待检设备
+ InfoCtrlForm infoForm = new InfoCtrlForm();
+ infoForm.Show();
+ this.panelMain.Controls.Add(infoForm);
+ break;
+
+ case 3: // 频率计数器范围
+ break;
+
+ case 4: // 计量信息
+ DevTestedCtrlForm tested = new DevTestedCtrlForm();
+ tested.Show();
+ this.panelMain.Controls.Add(tested);
+ break;
+
+ case 6: // 设置
+ SettingCtrlForm settingForm = new SettingCtrlForm();
+ settingForm.Show();
+ this.panelMain.Controls.Add(settingForm);
+ break;
+
+ default:
+ break;
+ }
+ }
}
}
\ No newline at end of file
diff --git a/RbFreqStandMeasure/HomeCtrlForm.Designer.cs b/RbFreqStandMeasure/HomeCtrlForm.Designer.cs
index fb515f8..73e477a 100644
--- a/RbFreqStandMeasure/HomeCtrlForm.Designer.cs
+++ b/RbFreqStandMeasure/HomeCtrlForm.Designer.cs
@@ -29,589 +29,271 @@
///
private void InitializeComponent()
{
- System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle1 = new System.Windows.Forms.DataGridViewCellStyle();
- System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle2 = new System.Windows.Forms.DataGridViewCellStyle();
- this.panelToBeTested = new System.Windows.Forms.Panel();
- this.dataGridViewX1 = new DevComponents.DotNetBar.Controls.DataGridViewX();
- this.Column13 = new System.Windows.Forms.DataGridViewTextBoxColumn();
- this.Column14 = new System.Windows.Forms.DataGridViewTextBoxColumn();
- this.Column15 = new System.Windows.Forms.DataGridViewTextBoxColumn();
- this.Column16 = new System.Windows.Forms.DataGridViewTextBoxColumn();
- this.Column17 = new System.Windows.Forms.DataGridViewTextBoxColumn();
- this.panelEx1 = new DevComponents.DotNetBar.PanelEx();
- this.labelX6 = new DevComponents.DotNetBar.LabelX();
- this.labelX5 = new DevComponents.DotNetBar.LabelX();
- this.labelX4 = new DevComponents.DotNetBar.LabelX();
- this.labelX3 = new DevComponents.DotNetBar.LabelX();
- this.labelX2 = new DevComponents.DotNetBar.LabelX();
- this.labelX1 = new DevComponents.DotNetBar.LabelX();
- this.panelEx2 = new DevComponents.DotNetBar.PanelEx();
- this.labelX7 = new DevComponents.DotNetBar.LabelX();
- this.labelX8 = new DevComponents.DotNetBar.LabelX();
- this.labelX10 = new DevComponents.DotNetBar.LabelX();
- this.labelX9 = new DevComponents.DotNetBar.LabelX();
- this.panelEx3 = new DevComponents.DotNetBar.PanelEx();
- this.labelX11 = new DevComponents.DotNetBar.LabelX();
- this.labelX13 = new DevComponents.DotNetBar.LabelX();
- this.labelX12 = new DevComponents.DotNetBar.LabelX();
- this.panelEx4 = new DevComponents.DotNetBar.PanelEx();
- this.dataGridViewX2 = new DevComponents.DotNetBar.Controls.DataGridViewX();
- this.Column18 = new System.Windows.Forms.DataGridViewTextBoxColumn();
- this.Column19 = new System.Windows.Forms.DataGridViewTextBoxColumn();
- this.Column20 = new System.Windows.Forms.DataGridViewTextBoxColumn();
- this.Column21 = new System.Windows.Forms.DataGridViewTextBoxColumn();
- this.Column22 = new System.Windows.Forms.DataGridViewTextBoxColumn();
- this.Column23 = new System.Windows.Forms.DataGridViewTextBoxColumn();
- this.Column24 = new System.Windows.Forms.DataGridViewTextBoxColumn();
- this.Column25 = new System.Windows.Forms.DataGridViewTextBoxColumn();
- this.Column26 = new System.Windows.Forms.DataGridViewTextBoxColumn();
- this.Column27 = new System.Windows.Forms.DataGridViewTextBoxColumn();
- this.Column28 = new System.Windows.Forms.DataGridViewTextBoxColumn();
- this.Column29 = new System.Windows.Forms.DataGridViewTextBoxColumn();
- this.buttonX1 = new DevComponents.DotNetBar.ButtonX();
- this.buttonX2 = new DevComponents.DotNetBar.ButtonX();
+ this.panel3 = new System.Windows.Forms.Panel();
+ this.panel2 = new System.Windows.Forms.Panel();
+ this.panel1 = new System.Windows.Forms.Panel();
+ this.panel4 = new System.Windows.Forms.Panel();
+ this.panel5 = new System.Windows.Forms.Panel();
this.label1 = new System.Windows.Forms.Label();
this.label2 = new System.Windows.Forms.Label();
- this.panelToBeTested.SuspendLayout();
- ((System.ComponentModel.ISupportInitialize)(this.dataGridViewX1)).BeginInit();
- this.panelEx1.SuspendLayout();
- this.panelEx2.SuspendLayout();
- this.panelEx3.SuspendLayout();
- this.panelEx4.SuspendLayout();
- ((System.ComponentModel.ISupportInitialize)(this.dataGridViewX2)).BeginInit();
+ this.label3 = new System.Windows.Forms.Label();
+ this.label4 = new System.Windows.Forms.Label();
+ this.label5 = new System.Windows.Forms.Label();
+ this.label6 = new System.Windows.Forms.Label();
+ this.label7 = new System.Windows.Forms.Label();
+ this.label8 = new System.Windows.Forms.Label();
+ this.label9 = new System.Windows.Forms.Label();
+ this.label10 = new System.Windows.Forms.Label();
+ this.label11 = new System.Windows.Forms.Label();
+ this.label12 = new System.Windows.Forms.Label();
+ this.label13 = new System.Windows.Forms.Label();
+ this.panel3.SuspendLayout();
+ this.panel2.SuspendLayout();
+ this.panel1.SuspendLayout();
this.SuspendLayout();
//
- // panelToBeTested
+ // panel3
//
- this.panelToBeTested.Controls.Add(this.dataGridViewX1);
- this.panelToBeTested.Controls.Add(this.buttonX2);
- this.panelToBeTested.Controls.Add(this.buttonX1);
- this.panelToBeTested.Location = new System.Drawing.Point(250, 0);
- this.panelToBeTested.Name = "panelToBeTested";
- this.panelToBeTested.Size = new System.Drawing.Size(750, 216);
- this.panelToBeTested.TabIndex = 4;
+ this.panel3.BackgroundImage = global::Casic.Birmm.RbFreqStandMeasure.Properties.Resources.bg_status_location;
+ this.panel3.Controls.Add(this.label8);
+ this.panel3.Controls.Add(this.label13);
+ this.panel3.Controls.Add(this.label12);
+ this.panel3.Controls.Add(this.label11);
+ this.panel3.Controls.Add(this.label9);
+ this.panel3.Controls.Add(this.label10);
+ this.panel3.Location = new System.Drawing.Point(6, 360);
+ this.panel3.Name = "panel3";
+ this.panel3.Size = new System.Drawing.Size(224, 293);
+ this.panel3.TabIndex = 2;
//
- // dataGridViewX1
+ // panel2
//
- this.dataGridViewX1.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.AutoSize;
- this.dataGridViewX1.Columns.AddRange(new System.Windows.Forms.DataGridViewColumn[] {
- this.Column13,
- this.Column14,
- this.Column15,
- this.Column16,
- this.Column17});
- dataGridViewCellStyle1.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleLeft;
- dataGridViewCellStyle1.BackColor = System.Drawing.SystemColors.Window;
- dataGridViewCellStyle1.Font = new System.Drawing.Font("宋体", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
- dataGridViewCellStyle1.ForeColor = System.Drawing.SystemColors.ControlText;
- dataGridViewCellStyle1.SelectionBackColor = System.Drawing.SystemColors.Highlight;
- dataGridViewCellStyle1.SelectionForeColor = System.Drawing.SystemColors.ControlText;
- dataGridViewCellStyle1.WrapMode = System.Windows.Forms.DataGridViewTriState.False;
- this.dataGridViewX1.DefaultCellStyle = dataGridViewCellStyle1;
- this.dataGridViewX1.GridColor = System.Drawing.Color.FromArgb(((int)(((byte)(208)))), ((int)(((byte)(215)))), ((int)(((byte)(229)))));
- this.dataGridViewX1.Location = new System.Drawing.Point(0, 1);
- this.dataGridViewX1.Name = "dataGridViewX1";
- this.dataGridViewX1.RowTemplate.Height = 23;
- this.dataGridViewX1.Size = new System.Drawing.Size(750, 179);
- this.dataGridViewX1.TabIndex = 14;
+ this.panel2.BackgroundImage = global::Casic.Birmm.RbFreqStandMeasure.Properties.Resources.bg_status_time;
+ this.panel2.Controls.Add(this.label4);
+ this.panel2.Controls.Add(this.label7);
+ this.panel2.Controls.Add(this.label6);
+ this.panel2.Controls.Add(this.label5);
+ this.panel2.Location = new System.Drawing.Point(6, 160);
+ this.panel2.Name = "panel2";
+ this.panel2.Size = new System.Drawing.Size(224, 200);
+ this.panel2.TabIndex = 1;
//
- // Column13
+ // panel1
//
- this.Column13.HeaderText = "仪器名称";
- this.Column13.Name = "Column13";
+ this.panel1.BackgroundImage = global::Casic.Birmm.RbFreqStandMeasure.Properties.Resources.bg_status_base;
+ this.panel1.Controls.Add(this.label3);
+ this.panel1.Controls.Add(this.label2);
+ this.panel1.Controls.Add(this.label1);
+ this.panel1.Location = new System.Drawing.Point(6, 0);
+ this.panel1.Margin = new System.Windows.Forms.Padding(0);
+ this.panel1.Name = "panel1";
+ this.panel1.Size = new System.Drawing.Size(224, 160);
+ this.panel1.TabIndex = 0;
//
- // Column14
+ // panel4
//
- this.Column14.HeaderText = "仪器类型";
- this.Column14.Name = "Column14";
+ this.panel4.BackgroundImage = global::Casic.Birmm.RbFreqStandMeasure.Properties.Resources.bg_dev_tested;
+ this.panel4.Location = new System.Drawing.Point(230, 0);
+ this.panel4.Margin = new System.Windows.Forms.Padding(0);
+ this.panel4.Name = "panel4";
+ this.panel4.Size = new System.Drawing.Size(788, 226);
+ this.panel4.TabIndex = 3;
//
- // Column15
+ // panel5
//
- this.Column15.HeaderText = "仪器编号";
- this.Column15.Name = "Column15";
- //
- // Column16
- //
- this.Column16.HeaderText = "客户名称";
- this.Column16.Name = "Column16";
- //
- // Column17
- //
- this.Column17.HeaderText = "开始时间";
- this.Column17.Name = "Column17";
- //
- // panelEx1
- //
- this.panelEx1.CanvasColor = System.Drawing.SystemColors.Control;
- this.panelEx1.ColorSchemeStyle = DevComponents.DotNetBar.eDotNetBarStyle.StyleManagerControlled;
- this.panelEx1.Controls.Add(this.labelX6);
- this.panelEx1.Controls.Add(this.labelX5);
- this.panelEx1.Controls.Add(this.labelX4);
- this.panelEx1.Controls.Add(this.labelX3);
- this.panelEx1.Controls.Add(this.labelX2);
- this.panelEx1.Controls.Add(this.labelX1);
- this.panelEx1.DisabledBackColor = System.Drawing.Color.Empty;
- this.panelEx1.Location = new System.Drawing.Point(25, 376);
- this.panelEx1.Name = "panelEx1";
- this.panelEx1.Size = new System.Drawing.Size(200, 200);
- this.panelEx1.Style.Alignment = System.Drawing.StringAlignment.Center;
- this.panelEx1.Style.BackColor1.ColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelBackground;
- this.panelEx1.Style.BackColor2.ColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelBackground2;
- this.panelEx1.Style.Border = DevComponents.DotNetBar.eBorderType.SingleLine;
- this.panelEx1.Style.BorderColor.ColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelBorder;
- this.panelEx1.Style.ForeColor.ColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelText;
- this.panelEx1.Style.GradientAngle = 90;
- this.panelEx1.TabIndex = 10;
- //
- // labelX6
- //
- //
- //
- //
- this.labelX6.BackgroundStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square;
- this.labelX6.Location = new System.Drawing.Point(3, 153);
- this.labelX6.Name = "labelX6";
- this.labelX6.Size = new System.Drawing.Size(75, 23);
- this.labelX6.Style = DevComponents.DotNetBar.eDotNetBarStyle.Office2013;
- this.labelX6.TabIndex = 0;
- this.labelX6.Text = "Z";
- this.labelX6.TextAlignment = System.Drawing.StringAlignment.Center;
- //
- // labelX5
- //
- //
- //
- //
- this.labelX5.BackgroundStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square;
- this.labelX5.Location = new System.Drawing.Point(3, 124);
- this.labelX5.Name = "labelX5";
- this.labelX5.Size = new System.Drawing.Size(75, 23);
- this.labelX5.Style = DevComponents.DotNetBar.eDotNetBarStyle.Office2013;
- this.labelX5.TabIndex = 0;
- this.labelX5.Text = "Y";
- this.labelX5.TextAlignment = System.Drawing.StringAlignment.Center;
- //
- // labelX4
- //
- //
- //
- //
- this.labelX4.BackgroundStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square;
- this.labelX4.Location = new System.Drawing.Point(3, 95);
- this.labelX4.Name = "labelX4";
- this.labelX4.Size = new System.Drawing.Size(75, 23);
- this.labelX4.Style = DevComponents.DotNetBar.eDotNetBarStyle.Office2013;
- this.labelX4.TabIndex = 0;
- this.labelX4.Text = "X";
- this.labelX4.TextAlignment = System.Drawing.StringAlignment.Center;
- //
- // labelX3
- //
- //
- //
- //
- this.labelX3.BackgroundStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square;
- this.labelX3.Location = new System.Drawing.Point(3, 66);
- this.labelX3.Name = "labelX3";
- this.labelX3.Size = new System.Drawing.Size(75, 23);
- this.labelX3.Style = DevComponents.DotNetBar.eDotNetBarStyle.Office2013;
- this.labelX3.TabIndex = 0;
- this.labelX3.Text = "纬度";
- this.labelX3.TextAlignment = System.Drawing.StringAlignment.Center;
- //
- // labelX2
- //
- //
- //
- //
- this.labelX2.BackgroundStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square;
- this.labelX2.Location = new System.Drawing.Point(3, 37);
- this.labelX2.Name = "labelX2";
- this.labelX2.Size = new System.Drawing.Size(75, 23);
- this.labelX2.Style = DevComponents.DotNetBar.eDotNetBarStyle.Office2013;
- this.labelX2.TabIndex = 0;
- this.labelX2.Text = "经度";
- this.labelX2.TextAlignment = System.Drawing.StringAlignment.Center;
- //
- // labelX1
- //
- //
- //
- //
- this.labelX1.BackgroundStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square;
- this.labelX1.Location = new System.Drawing.Point(3, 3);
- this.labelX1.Name = "labelX1";
- this.labelX1.Size = new System.Drawing.Size(194, 23);
- this.labelX1.Style = DevComponents.DotNetBar.eDotNetBarStyle.Office2013;
- this.labelX1.TabIndex = 0;
- this.labelX1.Text = "位置信息";
- this.labelX1.TextAlignment = System.Drawing.StringAlignment.Center;
- //
- // panelEx2
- //
- this.panelEx2.CanvasColor = System.Drawing.SystemColors.Control;
- this.panelEx2.ColorSchemeStyle = DevComponents.DotNetBar.eDotNetBarStyle.StyleManagerControlled;
- this.panelEx2.Controls.Add(this.labelX7);
- this.panelEx2.Controls.Add(this.labelX8);
- this.panelEx2.Controls.Add(this.labelX10);
- this.panelEx2.Controls.Add(this.labelX9);
- this.panelEx2.DisabledBackColor = System.Drawing.Color.Empty;
- this.panelEx2.Location = new System.Drawing.Point(25, 190);
- this.panelEx2.Name = "panelEx2";
- this.panelEx2.Size = new System.Drawing.Size(200, 150);
- this.panelEx2.Style.Alignment = System.Drawing.StringAlignment.Center;
- this.panelEx2.Style.BackColor1.ColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelBackground;
- this.panelEx2.Style.BackColor2.ColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelBackground2;
- this.panelEx2.Style.Border = DevComponents.DotNetBar.eBorderType.SingleLine;
- this.panelEx2.Style.BorderColor.ColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelBorder;
- this.panelEx2.Style.ForeColor.ColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelText;
- this.panelEx2.Style.GradientAngle = 90;
- this.panelEx2.TabIndex = 10;
- //
- // labelX7
- //
- //
- //
- //
- this.labelX7.BackgroundStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square;
- this.labelX7.Location = new System.Drawing.Point(3, 3);
- this.labelX7.Name = "labelX7";
- this.labelX7.Size = new System.Drawing.Size(194, 23);
- this.labelX7.Style = DevComponents.DotNetBar.eDotNetBarStyle.Office2013;
- this.labelX7.TabIndex = 0;
- this.labelX7.Text = "时间信息";
- this.labelX7.TextAlignment = System.Drawing.StringAlignment.Center;
- //
- // labelX8
- //
- //
- //
- //
- this.labelX8.BackgroundStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square;
- this.labelX8.Location = new System.Drawing.Point(3, 41);
- this.labelX8.Name = "labelX8";
- this.labelX8.Size = new System.Drawing.Size(75, 23);
- this.labelX8.Style = DevComponents.DotNetBar.eDotNetBarStyle.Office2013;
- this.labelX8.TabIndex = 0;
- this.labelX8.Text = "日期";
- this.labelX8.TextAlignment = System.Drawing.StringAlignment.Center;
- //
- // labelX10
- //
- //
- //
- //
- this.labelX10.BackgroundStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square;
- this.labelX10.Location = new System.Drawing.Point(3, 99);
- this.labelX10.Name = "labelX10";
- this.labelX10.Size = new System.Drawing.Size(75, 23);
- this.labelX10.Style = DevComponents.DotNetBar.eDotNetBarStyle.Office2013;
- this.labelX10.TabIndex = 0;
- this.labelX10.Text = "MJD";
- this.labelX10.TextAlignment = System.Drawing.StringAlignment.Center;
- //
- // labelX9
- //
- //
- //
- //
- this.labelX9.BackgroundStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square;
- this.labelX9.Location = new System.Drawing.Point(3, 70);
- this.labelX9.Name = "labelX9";
- this.labelX9.Size = new System.Drawing.Size(75, 23);
- this.labelX9.Style = DevComponents.DotNetBar.eDotNetBarStyle.Office2013;
- this.labelX9.TabIndex = 0;
- this.labelX9.Text = "时间";
- this.labelX9.TextAlignment = System.Drawing.StringAlignment.Center;
- //
- // panelEx3
- //
- this.panelEx3.CanvasColor = System.Drawing.SystemColors.Control;
- this.panelEx3.ColorSchemeStyle = DevComponents.DotNetBar.eDotNetBarStyle.StyleManagerControlled;
- this.panelEx3.Controls.Add(this.labelX11);
- this.panelEx3.Controls.Add(this.labelX13);
- this.panelEx3.Controls.Add(this.labelX12);
- this.panelEx3.DisabledBackColor = System.Drawing.Color.Empty;
- this.panelEx3.Location = new System.Drawing.Point(25, 50);
- this.panelEx3.Name = "panelEx3";
- this.panelEx3.Size = new System.Drawing.Size(200, 100);
- this.panelEx3.Style.Alignment = System.Drawing.StringAlignment.Center;
- this.panelEx3.Style.BackColor1.ColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelBackground;
- this.panelEx3.Style.BackColor2.ColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelBackground2;
- this.panelEx3.Style.Border = DevComponents.DotNetBar.eBorderType.SingleLine;
- this.panelEx3.Style.BorderColor.ColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelBorder;
- this.panelEx3.Style.ForeColor.ColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelText;
- this.panelEx3.Style.GradientAngle = 90;
- this.panelEx3.TabIndex = 10;
- //
- // labelX11
- //
- //
- //
- //
- this.labelX11.BackgroundStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square;
- this.labelX11.Location = new System.Drawing.Point(3, 3);
- this.labelX11.Name = "labelX11";
- this.labelX11.Size = new System.Drawing.Size(194, 23);
- this.labelX11.Style = DevComponents.DotNetBar.eDotNetBarStyle.Office2013;
- this.labelX11.TabIndex = 0;
- this.labelX11.Text = "基本信息";
- this.labelX11.TextAlignment = System.Drawing.StringAlignment.Center;
- //
- // labelX13
- //
- //
- //
- //
- this.labelX13.BackgroundStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square;
- this.labelX13.Location = new System.Drawing.Point(3, 32);
- this.labelX13.Name = "labelX13";
- this.labelX13.Size = new System.Drawing.Size(75, 23);
- this.labelX13.Style = DevComponents.DotNetBar.eDotNetBarStyle.Office2013;
- this.labelX13.TabIndex = 0;
- this.labelX13.Text = "原子钟";
- this.labelX13.TextAlignment = System.Drawing.StringAlignment.Center;
- //
- // labelX12
- //
- //
- //
- //
- this.labelX12.BackgroundStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square;
- this.labelX12.Location = new System.Drawing.Point(3, 61);
- this.labelX12.Name = "labelX12";
- this.labelX12.Size = new System.Drawing.Size(75, 23);
- this.labelX12.Style = DevComponents.DotNetBar.eDotNetBarStyle.Office2013;
- this.labelX12.TabIndex = 0;
- this.labelX12.Text = "接收机";
- this.labelX12.TextAlignment = System.Drawing.StringAlignment.Center;
- //
- // panelEx4
- //
- this.panelEx4.CanvasColor = System.Drawing.SystemColors.Control;
- this.panelEx4.ColorSchemeStyle = DevComponents.DotNetBar.eDotNetBarStyle.StyleManagerControlled;
- this.panelEx4.Controls.Add(this.panelEx2);
- this.panelEx4.Controls.Add(this.panelEx1);
- this.panelEx4.Controls.Add(this.panelEx3);
- this.panelEx4.DisabledBackColor = System.Drawing.Color.Empty;
- this.panelEx4.Location = new System.Drawing.Point(0, 0);
- this.panelEx4.Name = "panelEx4";
- this.panelEx4.Size = new System.Drawing.Size(250, 640);
- this.panelEx4.Style.Alignment = System.Drawing.StringAlignment.Center;
- this.panelEx4.Style.BackColor1.ColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelBackground;
- this.panelEx4.Style.BackColor2.ColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelBackground2;
- this.panelEx4.Style.Border = DevComponents.DotNetBar.eBorderType.SingleLine;
- this.panelEx4.Style.BorderColor.ColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelBorder;
- this.panelEx4.Style.ForeColor.ColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelText;
- this.panelEx4.Style.GradientAngle = 90;
- this.panelEx4.TabIndex = 10;
- //
- // dataGridViewX2
- //
- this.dataGridViewX2.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.AutoSize;
- this.dataGridViewX2.Columns.AddRange(new System.Windows.Forms.DataGridViewColumn[] {
- this.Column18,
- this.Column19,
- this.Column20,
- this.Column21,
- this.Column22,
- this.Column23,
- this.Column24,
- this.Column25,
- this.Column26,
- this.Column27,
- this.Column28,
- this.Column29});
- dataGridViewCellStyle2.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleLeft;
- dataGridViewCellStyle2.BackColor = System.Drawing.SystemColors.Window;
- dataGridViewCellStyle2.Font = new System.Drawing.Font("宋体", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
- dataGridViewCellStyle2.ForeColor = System.Drawing.SystemColors.ControlText;
- dataGridViewCellStyle2.SelectionBackColor = System.Drawing.SystemColors.Highlight;
- dataGridViewCellStyle2.SelectionForeColor = System.Drawing.SystemColors.ControlText;
- dataGridViewCellStyle2.WrapMode = System.Windows.Forms.DataGridViewTriState.False;
- this.dataGridViewX2.DefaultCellStyle = dataGridViewCellStyle2;
- this.dataGridViewX2.GridColor = System.Drawing.Color.FromArgb(((int)(((byte)(208)))), ((int)(((byte)(215)))), ((int)(((byte)(229)))));
- this.dataGridViewX2.Location = new System.Drawing.Point(250, 216);
- this.dataGridViewX2.Name = "dataGridViewX2";
- this.dataGridViewX2.Size = new System.Drawing.Size(747, 424);
- this.dataGridViewX2.TabIndex = 15;
- //
- // Column18
- //
- this.Column18.HeaderText = "通道号";
- this.Column18.Name = "Column18";
- //
- // Column19
- //
- this.Column19.HeaderText = "当前状态";
- this.Column19.Name = "Column19";
- //
- // Column20
- //
- this.Column20.HeaderText = "仪器名称";
- this.Column20.Name = "Column20";
- //
- // Column21
- //
- this.Column21.HeaderText = "仪器编号";
- this.Column21.Name = "Column21";
- //
- // Column22
- //
- this.Column22.HeaderText = "客户名称";
- this.Column22.Name = "Column22";
- //
- // Column23
- //
- this.Column23.HeaderText = "开始时间";
- this.Column23.Name = "Column23";
- //
- // Column24
- //
- this.Column24.HeaderText = "结束时间";
- this.Column24.Name = "Column24";
- //
- // Column25
- //
- this.Column25.HeaderText = "频率稳定度";
- this.Column25.Name = "Column25";
- //
- // Column26
- //
- this.Column26.HeaderText = "频率准确度";
- this.Column26.Name = "Column26";
- //
- // Column27
- //
- this.Column27.HeaderText = "开机特性";
- this.Column27.Name = "Column27";
- //
- // Column28
- //
- this.Column28.HeaderText = "日老化率";
- this.Column28.Name = "Column28";
- //
- // Column29
- //
- this.Column29.HeaderText = "频率计数器范围及灵敏度";
- this.Column29.Name = "Column29";
- //
- // buttonX1
- //
- this.buttonX1.AccessibleRole = System.Windows.Forms.AccessibleRole.PushButton;
- this.buttonX1.BackColor = System.Drawing.Color.Transparent;
- this.buttonX1.ColorTable = DevComponents.DotNetBar.eButtonColor.OrangeWithBackground;
- this.buttonX1.Location = new System.Drawing.Point(663, 183);
- this.buttonX1.Name = "buttonX1";
- this.buttonX1.Size = new System.Drawing.Size(30, 23);
- this.buttonX1.Style = DevComponents.DotNetBar.eDotNetBarStyle.StyleManagerControlled;
- this.buttonX1.Symbol = "";
- this.buttonX1.SymbolColor = System.Drawing.Color.FromArgb(((int)(((byte)(64)))), ((int)(((byte)(64)))), ((int)(((byte)(64)))));
- this.buttonX1.SymbolSize = 8F;
- this.buttonX1.TabIndex = 19;
- //
- // buttonX2
- //
- this.buttonX2.AccessibleRole = System.Windows.Forms.AccessibleRole.PushButton;
- this.buttonX2.BackColor = System.Drawing.Color.Transparent;
- this.buttonX2.ColorTable = DevComponents.DotNetBar.eButtonColor.OrangeWithBackground;
- this.buttonX2.Location = new System.Drawing.Point(589, 184);
- this.buttonX2.Name = "buttonX2";
- this.buttonX2.Size = new System.Drawing.Size(30, 23);
- this.buttonX2.Style = DevComponents.DotNetBar.eDotNetBarStyle.StyleManagerControlled;
- this.buttonX2.Symbol = "";
- this.buttonX2.SymbolColor = System.Drawing.Color.FromArgb(((int)(((byte)(64)))), ((int)(((byte)(64)))), ((int)(((byte)(64)))));
- this.buttonX2.SymbolSize = 8F;
- this.buttonX2.TabIndex = 19;
+ this.panel5.BackgroundImage = global::Casic.Birmm.RbFreqStandMeasure.Properties.Resources.bg_dev_channel;
+ this.panel5.Location = new System.Drawing.Point(230, 226);
+ this.panel5.Name = "panel5";
+ this.panel5.Size = new System.Drawing.Size(788, 424);
+ this.panel5.TabIndex = 4;
//
// label1
//
this.label1.BackColor = System.Drawing.Color.Transparent;
- this.label1.Font = new System.Drawing.Font("Times New Roman", 9.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
- this.label1.Location = new System.Drawing.Point(880, 186);
- this.label1.Margin = new System.Windows.Forms.Padding(0);
+ this.label1.Font = new System.Drawing.Font("微软雅黑", 14F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Pixel, ((byte)(134)));
+ this.label1.Location = new System.Drawing.Point(0, 20);
this.label1.Name = "label1";
- this.label1.Size = new System.Drawing.Size(20, 20);
- this.label1.TabIndex = 20;
- this.label1.Text = "1";
+ this.label1.Size = new System.Drawing.Size(224, 25);
+ this.label1.TabIndex = 0;
+ this.label1.Text = "基本信息";
this.label1.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
//
// label2
//
this.label2.BackColor = System.Drawing.Color.Transparent;
- this.label2.Font = new System.Drawing.Font("Times New Roman", 9.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
- this.label2.Location = new System.Drawing.Point(636, 187);
- this.label2.Margin = new System.Windows.Forms.Padding(0);
+ this.label2.Font = new System.Drawing.Font("微软雅黑", 14F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Pixel, ((byte)(134)));
+ this.label2.Location = new System.Drawing.Point(0, 60);
this.label2.Name = "label2";
- this.label2.Size = new System.Drawing.Size(200, 20);
- this.label2.TabIndex = 20;
- this.label2.Text = "共150条,每页5条,共100页";
- this.label2.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
+ this.label2.Size = new System.Drawing.Size(75, 25);
+ this.label2.TabIndex = 1;
+ this.label2.Text = "原子钟";
+ this.label2.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
+ //
+ // label3
+ //
+ this.label3.BackColor = System.Drawing.Color.Transparent;
+ this.label3.Font = new System.Drawing.Font("微软雅黑", 14F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Pixel, ((byte)(134)));
+ this.label3.Location = new System.Drawing.Point(0, 100);
+ this.label3.Name = "label3";
+ this.label3.Size = new System.Drawing.Size(75, 25);
+ this.label3.TabIndex = 1;
+ this.label3.Text = "接收机";
+ this.label3.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
+ //
+ // label4
+ //
+ this.label4.BackColor = System.Drawing.Color.Transparent;
+ this.label4.Font = new System.Drawing.Font("微软雅黑", 14F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Pixel, ((byte)(134)));
+ this.label4.Location = new System.Drawing.Point(0, 20);
+ this.label4.Name = "label4";
+ this.label4.Size = new System.Drawing.Size(224, 25);
+ this.label4.TabIndex = 0;
+ this.label4.Text = "时间信息";
+ this.label4.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
+ //
+ // label5
+ //
+ this.label5.BackColor = System.Drawing.Color.Transparent;
+ this.label5.Font = new System.Drawing.Font("微软雅黑", 14F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Pixel, ((byte)(134)));
+ this.label5.Location = new System.Drawing.Point(0, 60);
+ this.label5.Name = "label5";
+ this.label5.Size = new System.Drawing.Size(75, 25);
+ this.label5.TabIndex = 1;
+ this.label5.Text = "日期";
+ this.label5.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
+ //
+ // label6
+ //
+ this.label6.BackColor = System.Drawing.Color.Transparent;
+ this.label6.Font = new System.Drawing.Font("微软雅黑", 14F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Pixel, ((byte)(134)));
+ this.label6.Location = new System.Drawing.Point(0, 100);
+ this.label6.Name = "label6";
+ this.label6.Size = new System.Drawing.Size(75, 25);
+ this.label6.TabIndex = 1;
+ this.label6.Text = "时间";
+ this.label6.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
+ //
+ // label7
+ //
+ this.label7.BackColor = System.Drawing.Color.Transparent;
+ this.label7.Font = new System.Drawing.Font("微软雅黑", 14F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Pixel, ((byte)(134)));
+ this.label7.Location = new System.Drawing.Point(0, 140);
+ this.label7.Margin = new System.Windows.Forms.Padding(0);
+ this.label7.Name = "label7";
+ this.label7.Size = new System.Drawing.Size(75, 25);
+ this.label7.TabIndex = 1;
+ this.label7.Text = "MJD";
+ this.label7.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
+ //
+ // label8
+ //
+ this.label8.BackColor = System.Drawing.Color.Transparent;
+ this.label8.Font = new System.Drawing.Font("微软雅黑", 14F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Pixel, ((byte)(134)));
+ this.label8.Location = new System.Drawing.Point(0, 20);
+ this.label8.Name = "label8";
+ this.label8.Size = new System.Drawing.Size(224, 25);
+ this.label8.TabIndex = 0;
+ this.label8.Text = "位置信息";
+ this.label8.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
+ //
+ // label9
+ //
+ this.label9.BackColor = System.Drawing.Color.Transparent;
+ this.label9.Font = new System.Drawing.Font("微软雅黑", 14F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Pixel, ((byte)(134)));
+ this.label9.Location = new System.Drawing.Point(0, 60);
+ this.label9.Name = "label9";
+ this.label9.Size = new System.Drawing.Size(75, 25);
+ this.label9.TabIndex = 1;
+ this.label9.Text = "经度";
+ this.label9.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
+ //
+ // label10
+ //
+ this.label10.BackColor = System.Drawing.Color.Transparent;
+ this.label10.Font = new System.Drawing.Font("微软雅黑", 14F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Pixel, ((byte)(134)));
+ this.label10.Location = new System.Drawing.Point(0, 100);
+ this.label10.Margin = new System.Windows.Forms.Padding(0);
+ this.label10.Name = "label10";
+ this.label10.Size = new System.Drawing.Size(75, 25);
+ this.label10.TabIndex = 1;
+ this.label10.Text = "纬度";
+ this.label10.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
+ //
+ // label11
+ //
+ this.label11.BackColor = System.Drawing.Color.Transparent;
+ this.label11.Font = new System.Drawing.Font("微软雅黑", 14F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Pixel, ((byte)(134)));
+ this.label11.Location = new System.Drawing.Point(0, 140);
+ this.label11.Margin = new System.Windows.Forms.Padding(0);
+ this.label11.Name = "label11";
+ this.label11.Size = new System.Drawing.Size(75, 25);
+ this.label11.TabIndex = 1;
+ this.label11.Text = "X";
+ this.label11.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
+ //
+ // label12
+ //
+ this.label12.BackColor = System.Drawing.Color.Transparent;
+ this.label12.Font = new System.Drawing.Font("微软雅黑", 14F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Pixel, ((byte)(134)));
+ this.label12.Location = new System.Drawing.Point(0, 180);
+ this.label12.Margin = new System.Windows.Forms.Padding(0);
+ this.label12.Name = "label12";
+ this.label12.Size = new System.Drawing.Size(75, 25);
+ this.label12.TabIndex = 1;
+ this.label12.Text = "Y";
+ this.label12.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
+ //
+ // label13
+ //
+ this.label13.BackColor = System.Drawing.Color.Transparent;
+ this.label13.Font = new System.Drawing.Font("微软雅黑", 14F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Pixel, ((byte)(134)));
+ this.label13.Location = new System.Drawing.Point(0, 220);
+ this.label13.Margin = new System.Windows.Forms.Padding(0);
+ this.label13.Name = "label13";
+ this.label13.Size = new System.Drawing.Size(75, 25);
+ this.label13.TabIndex = 1;
+ this.label13.Text = "Z";
+ this.label13.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
//
// HomeCtrlForm
//
this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 12F);
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
- this.Controls.Add(this.label1);
- this.Controls.Add(this.label2);
- this.Controls.Add(this.dataGridViewX2);
- this.Controls.Add(this.panelEx4);
- this.Controls.Add(this.panelToBeTested);
+ this.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(232)))), ((int)(((byte)(234)))), ((int)(((byte)(238)))));
+ this.Controls.Add(this.panel5);
+ this.Controls.Add(this.panel4);
+ this.Controls.Add(this.panel3);
+ this.Controls.Add(this.panel2);
+ this.Controls.Add(this.panel1);
this.Margin = new System.Windows.Forms.Padding(0);
this.Name = "HomeCtrlForm";
- this.Size = new System.Drawing.Size(1000, 640);
- this.panelToBeTested.ResumeLayout(false);
- ((System.ComponentModel.ISupportInitialize)(this.dataGridViewX1)).EndInit();
- this.panelEx1.ResumeLayout(false);
- this.panelEx2.ResumeLayout(false);
- this.panelEx3.ResumeLayout(false);
- this.panelEx4.ResumeLayout(false);
- ((System.ComponentModel.ISupportInitialize)(this.dataGridViewX2)).EndInit();
+ this.Size = new System.Drawing.Size(1024, 654);
+ this.panel3.ResumeLayout(false);
+ this.panel2.ResumeLayout(false);
+ this.panel1.ResumeLayout(false);
this.ResumeLayout(false);
}
#endregion
- private System.Windows.Forms.Panel panelToBeTested;
- private DevComponents.DotNetBar.PanelEx panelEx1;
- private DevComponents.DotNetBar.LabelX labelX6;
- private DevComponents.DotNetBar.LabelX labelX5;
- private DevComponents.DotNetBar.LabelX labelX4;
- private DevComponents.DotNetBar.LabelX labelX3;
- private DevComponents.DotNetBar.LabelX labelX2;
- private DevComponents.DotNetBar.LabelX labelX1;
- private DevComponents.DotNetBar.PanelEx panelEx2;
- private DevComponents.DotNetBar.LabelX labelX7;
- private DevComponents.DotNetBar.LabelX labelX8;
- private DevComponents.DotNetBar.LabelX labelX10;
- private DevComponents.DotNetBar.LabelX labelX9;
- private DevComponents.DotNetBar.PanelEx panelEx3;
- private DevComponents.DotNetBar.LabelX labelX11;
- private DevComponents.DotNetBar.LabelX labelX13;
- private DevComponents.DotNetBar.LabelX labelX12;
- private DevComponents.DotNetBar.PanelEx panelEx4;
- private DevComponents.DotNetBar.Controls.DataGridViewX dataGridViewX1;
- private System.Windows.Forms.DataGridViewTextBoxColumn Column13;
- private System.Windows.Forms.DataGridViewTextBoxColumn Column14;
- private System.Windows.Forms.DataGridViewTextBoxColumn Column15;
- private System.Windows.Forms.DataGridViewTextBoxColumn Column16;
- private System.Windows.Forms.DataGridViewTextBoxColumn Column17;
- private DevComponents.DotNetBar.Controls.DataGridViewX dataGridViewX2;
- private System.Windows.Forms.DataGridViewTextBoxColumn Column18;
- private System.Windows.Forms.DataGridViewTextBoxColumn Column19;
- private System.Windows.Forms.DataGridViewTextBoxColumn Column20;
- private System.Windows.Forms.DataGridViewTextBoxColumn Column21;
- private System.Windows.Forms.DataGridViewTextBoxColumn Column22;
- private System.Windows.Forms.DataGridViewTextBoxColumn Column23;
- private System.Windows.Forms.DataGridViewTextBoxColumn Column24;
- private System.Windows.Forms.DataGridViewTextBoxColumn Column25;
- private System.Windows.Forms.DataGridViewTextBoxColumn Column26;
- private System.Windows.Forms.DataGridViewTextBoxColumn Column27;
- private System.Windows.Forms.DataGridViewTextBoxColumn Column28;
- private System.Windows.Forms.DataGridViewTextBoxColumn Column29;
- private DevComponents.DotNetBar.ButtonX buttonX1;
- private DevComponents.DotNetBar.ButtonX buttonX2;
+
+ private System.Windows.Forms.Panel panel1;
+ private System.Windows.Forms.Panel panel2;
+ private System.Windows.Forms.Panel panel3;
+ private System.Windows.Forms.Panel panel4;
+ private System.Windows.Forms.Panel panel5;
private System.Windows.Forms.Label label1;
private System.Windows.Forms.Label label2;
+ private System.Windows.Forms.Label label3;
+ private System.Windows.Forms.Label label4;
+ private System.Windows.Forms.Label label5;
+ private System.Windows.Forms.Label label6;
+ private System.Windows.Forms.Label label7;
+ private System.Windows.Forms.Label label8;
+ private System.Windows.Forms.Label label11;
+ private System.Windows.Forms.Label label9;
+ private System.Windows.Forms.Label label10;
+ private System.Windows.Forms.Label label12;
+ private System.Windows.Forms.Label label13;
}
}
diff --git a/RbFreqStandMeasure/HomeCtrlForm.resx b/RbFreqStandMeasure/HomeCtrlForm.resx
index 6d97f4f..1af7de1 100644
--- a/RbFreqStandMeasure/HomeCtrlForm.resx
+++ b/RbFreqStandMeasure/HomeCtrlForm.resx
@@ -117,55 +117,4 @@
System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
-
- True
-
-
- True
-
-
- True
-
-
- True
-
-
- True
-
-
- True
-
-
- True
-
-
- True
-
-
- True
-
-
- True
-
-
- True
-
-
- True
-
-
- True
-
-
- True
-
-
- True
-
-
- True
-
-
- True
-
\ No newline at end of file
diff --git a/RbFreqStandMeasure/Program.cs b/RbFreqStandMeasure/Program.cs
index 93a83e5..6150917 100644
--- a/RbFreqStandMeasure/Program.cs
+++ b/RbFreqStandMeasure/Program.cs
@@ -1,6 +1,4 @@
using System;
-using System.Collections.Generic;
-using System.Linq;
using System.Windows.Forms;
namespace Casic.Birmm.RbFreqStandMeasure
diff --git a/RbFreqStandMeasure/Properties/Resources.Designer.cs b/RbFreqStandMeasure/Properties/Resources.Designer.cs
index 253d7d7..d819a23 100644
--- a/RbFreqStandMeasure/Properties/Resources.Designer.cs
+++ b/RbFreqStandMeasure/Properties/Resources.Designer.cs
@@ -73,6 +73,56 @@
///
/// 查找 System.Drawing.Bitmap 类型的本地化资源。
///
+ internal static System.Drawing.Bitmap bg_dev_channel {
+ get {
+ object obj = ResourceManager.GetObject("bg_dev_channel", resourceCulture);
+ return ((System.Drawing.Bitmap)(obj));
+ }
+ }
+
+ ///
+ /// 查找 System.Drawing.Bitmap 类型的本地化资源。
+ ///
+ internal static System.Drawing.Bitmap bg_dev_tested {
+ get {
+ object obj = ResourceManager.GetObject("bg_dev_tested", resourceCulture);
+ return ((System.Drawing.Bitmap)(obj));
+ }
+ }
+
+ ///
+ /// 查找 System.Drawing.Bitmap 类型的本地化资源。
+ ///
+ internal static System.Drawing.Bitmap bg_status_base {
+ get {
+ object obj = ResourceManager.GetObject("bg_status_base", resourceCulture);
+ return ((System.Drawing.Bitmap)(obj));
+ }
+ }
+
+ ///
+ /// 查找 System.Drawing.Bitmap 类型的本地化资源。
+ ///
+ internal static System.Drawing.Bitmap bg_status_location {
+ get {
+ object obj = ResourceManager.GetObject("bg_status_location", resourceCulture);
+ return ((System.Drawing.Bitmap)(obj));
+ }
+ }
+
+ ///
+ /// 查找 System.Drawing.Bitmap 类型的本地化资源。
+ ///
+ internal static System.Drawing.Bitmap bg_status_time {
+ get {
+ object obj = ResourceManager.GetObject("bg_status_time", resourceCulture);
+ return ((System.Drawing.Bitmap)(obj));
+ }
+ }
+
+ ///
+ /// 查找 System.Drawing.Bitmap 类型的本地化资源。
+ ///
internal static System.Drawing.Bitmap bg_white_shadow {
get {
object obj = ResourceManager.GetObject("bg_white_shadow", resourceCulture);
@@ -83,6 +133,66 @@
///
/// 查找 System.Drawing.Bitmap 类型的本地化资源。
///
+ internal static System.Drawing.Bitmap icon_counter {
+ get {
+ object obj = ResourceManager.GetObject("icon_counter", resourceCulture);
+ return ((System.Drawing.Bitmap)(obj));
+ }
+ }
+
+ ///
+ /// 查找 System.Drawing.Bitmap 类型的本地化资源。
+ ///
+ internal static System.Drawing.Bitmap icon_counter_selected {
+ get {
+ object obj = ResourceManager.GetObject("icon_counter_selected", resourceCulture);
+ return ((System.Drawing.Bitmap)(obj));
+ }
+ }
+
+ ///
+ /// 查找 System.Drawing.Bitmap 类型的本地化资源。
+ ///
+ internal static System.Drawing.Bitmap icon_data {
+ get {
+ object obj = ResourceManager.GetObject("icon_data", resourceCulture);
+ return ((System.Drawing.Bitmap)(obj));
+ }
+ }
+
+ ///
+ /// 查找 System.Drawing.Bitmap 类型的本地化资源。
+ ///
+ internal static System.Drawing.Bitmap icon_data_selected {
+ get {
+ object obj = ResourceManager.GetObject("icon_data_selected", resourceCulture);
+ return ((System.Drawing.Bitmap)(obj));
+ }
+ }
+
+ ///
+ /// 查找 System.Drawing.Bitmap 类型的本地化资源。
+ ///
+ internal static System.Drawing.Bitmap icon_dev {
+ get {
+ object obj = ResourceManager.GetObject("icon_dev", resourceCulture);
+ return ((System.Drawing.Bitmap)(obj));
+ }
+ }
+
+ ///
+ /// 查找 System.Drawing.Bitmap 类型的本地化资源。
+ ///
+ internal static System.Drawing.Bitmap icon_dev_selected {
+ get {
+ object obj = ResourceManager.GetObject("icon_dev_selected", resourceCulture);
+ return ((System.Drawing.Bitmap)(obj));
+ }
+ }
+
+ ///
+ /// 查找 System.Drawing.Bitmap 类型的本地化资源。
+ ///
internal static System.Drawing.Bitmap icon_exit {
get {
object obj = ResourceManager.GetObject("icon_exit", resourceCulture);
@@ -113,6 +223,56 @@
///
/// 查找 System.Drawing.Bitmap 类型的本地化资源。
///
+ internal static System.Drawing.Bitmap icon_measure {
+ get {
+ object obj = ResourceManager.GetObject("icon_measure", resourceCulture);
+ return ((System.Drawing.Bitmap)(obj));
+ }
+ }
+
+ ///
+ /// 查找 System.Drawing.Bitmap 类型的本地化资源。
+ ///
+ internal static System.Drawing.Bitmap icon_measure_selected {
+ get {
+ object obj = ResourceManager.GetObject("icon_measure_selected", resourceCulture);
+ return ((System.Drawing.Bitmap)(obj));
+ }
+ }
+
+ ///
+ /// 查找 System.Drawing.Bitmap 类型的本地化资源。
+ ///
+ internal static System.Drawing.Bitmap icon_min {
+ get {
+ object obj = ResourceManager.GetObject("icon_min", resourceCulture);
+ return ((System.Drawing.Bitmap)(obj));
+ }
+ }
+
+ ///
+ /// 查找 System.Drawing.Bitmap 类型的本地化资源。
+ ///
+ internal static System.Drawing.Bitmap icon_setting {
+ get {
+ object obj = ResourceManager.GetObject("icon_setting", resourceCulture);
+ return ((System.Drawing.Bitmap)(obj));
+ }
+ }
+
+ ///
+ /// 查找 System.Drawing.Bitmap 类型的本地化资源。
+ ///
+ internal static System.Drawing.Bitmap icon_setting_selected {
+ get {
+ object obj = ResourceManager.GetObject("icon_setting_selected", resourceCulture);
+ return ((System.Drawing.Bitmap)(obj));
+ }
+ }
+
+ ///
+ /// 查找 System.Drawing.Bitmap 类型的本地化资源。
+ ///
internal static System.Drawing.Bitmap icon_status {
get {
object obj = ResourceManager.GetObject("icon_status", resourceCulture);
diff --git a/RbFreqStandMeasure/Properties/Resources.resx b/RbFreqStandMeasure/Properties/Resources.resx
index e781bb7..cfdb255 100644
--- a/RbFreqStandMeasure/Properties/Resources.resx
+++ b/RbFreqStandMeasure/Properties/Resources.resx
@@ -118,25 +118,73 @@
System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
-
- ..\res\images\icon_exit.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
+
+ ..\res\images\icon_counter_selected.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
-
- ..\res\images\bg_white_shadow.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
+
+ ..\res\images\icon_dev_selected.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
+
+
+ ..\res\images\icon_status_selected.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
+
+
+ ..\res\images\icon_data_selected.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
..\res\images\icon_home_selected.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
-
- ..\res\images\bg_banner.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
-
-
- ..\res\images\icon_home.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
+
+ ..\res\images\icon_exit.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
..\res\images\icon_status.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
-
- ..\res\images\icon_status_selected.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
+
+ ..\res\images\icon_data.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
+
+
+ ..\res\images\icon_setting.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
+
+
+ ..\res\images\icon_measure_selected.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
+
+
+ ..\res\images\bg_banner.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
+
+
+ ..\res\images\icon_setting_selected.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
+
+
+ ..\res\images\icon_dev.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
+
+
+ ..\res\images\icon_counter.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
+
+
+ ..\res\images\icon_measure.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
+
+
+ ..\res\images\icon_home.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
+
+
+ ..\res\images\bg_white_shadow.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
+
+
+ ..\res\images\icon_min.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
+
+
+ ..\res\images\bg_status_base.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
+
+
+ ..\res\images\bg_status_location.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
+
+
+ ..\res\images\bg_status_time.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
+
+
+ ..\res\images\bg_dev_channel.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
+
+
+ ..\res\images\bg_dev_tested.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
\ No newline at end of file
diff --git a/RbFreqStandMeasure/RbFreqStandMeasure.csproj b/RbFreqStandMeasure/RbFreqStandMeasure.csproj
index f5e7da9..7c12768 100644
--- a/RbFreqStandMeasure/RbFreqStandMeasure.csproj
+++ b/RbFreqStandMeasure/RbFreqStandMeasure.csproj
@@ -232,6 +232,54 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/RbFreqStandMeasure/RbFreqStdMeas.Designer.cs b/RbFreqStandMeasure/RbFreqStdMeas.Designer.cs
index 57778cf..1bd008c 100644
--- a/RbFreqStandMeasure/RbFreqStdMeas.Designer.cs
+++ b/RbFreqStandMeasure/RbFreqStdMeas.Designer.cs
@@ -30,148 +30,77 @@
private void InitializeComponent()
{
this.panMenu = new System.Windows.Forms.Panel();
+ this.penBanner = new System.Windows.Forms.Panel();
+ this.btnMinSys = new System.Windows.Forms.Button();
+ this.btnExitSys = new System.Windows.Forms.Button();
+ this.labTitle = new System.Windows.Forms.Label();
+ this.panDev = new Casic.Birmm.RbFreqStandMeasure.RoundPanel();
+ this.labDevText = new System.Windows.Forms.Label();
+ this.labDevSelected = new System.Windows.Forms.Label();
+ this.picIconDev = new System.Windows.Forms.PictureBox();
+ this.panSetting = new Casic.Birmm.RbFreqStandMeasure.RoundPanel();
+ this.labSettingSelected = new System.Windows.Forms.Label();
+ this.labSettingText = new System.Windows.Forms.Label();
+ this.picIconSetting = new System.Windows.Forms.PictureBox();
this.panStatus = new Casic.Birmm.RbFreqStandMeasure.RoundPanel();
this.labStatusText = new System.Windows.Forms.Label();
this.picIconStatus = new System.Windows.Forms.PictureBox();
+ this.labStatusSelected = new System.Windows.Forms.Label();
+ this.panData = new Casic.Birmm.RbFreqStandMeasure.RoundPanel();
+ this.labDataSelected = new System.Windows.Forms.Label();
+ this.labDataText = new System.Windows.Forms.Label();
+ this.picIconData = new System.Windows.Forms.PictureBox();
this.panHome = new Casic.Birmm.RbFreqStandMeasure.RoundPanel();
this.labHomeText = new System.Windows.Forms.Label();
this.picIconHome = new System.Windows.Forms.PictureBox();
this.labHomeSelected = new System.Windows.Forms.Label();
- this.labStatusSelected = new System.Windows.Forms.Label();
- this.penBanner = new System.Windows.Forms.Panel();
- this.btnExitSys = new System.Windows.Forms.Button();
- this.labTitle = new System.Windows.Forms.Label();
+ this.panMeasure = new Casic.Birmm.RbFreqStandMeasure.RoundPanel();
+ this.labMeasureText = new System.Windows.Forms.Label();
+ this.labMeasureSelected = new System.Windows.Forms.Label();
+ this.picIconMeasure = new System.Windows.Forms.PictureBox();
+ this.panCounter = new Casic.Birmm.RbFreqStandMeasure.RoundPanel();
+ this.labCounterSelected = new System.Windows.Forms.Label();
+ this.labCounterText = new System.Windows.Forms.Label();
+ this.picIconCounter = new System.Windows.Forms.PictureBox();
+ this.panelMain = new System.Windows.Forms.Panel();
this.panMenu.SuspendLayout();
+ this.penBanner.SuspendLayout();
+ this.panDev.SuspendLayout();
+ ((System.ComponentModel.ISupportInitialize)(this.picIconDev)).BeginInit();
+ this.panSetting.SuspendLayout();
+ ((System.ComponentModel.ISupportInitialize)(this.picIconSetting)).BeginInit();
this.panStatus.SuspendLayout();
((System.ComponentModel.ISupportInitialize)(this.picIconStatus)).BeginInit();
+ this.panData.SuspendLayout();
+ ((System.ComponentModel.ISupportInitialize)(this.picIconData)).BeginInit();
this.panHome.SuspendLayout();
((System.ComponentModel.ISupportInitialize)(this.picIconHome)).BeginInit();
- this.penBanner.SuspendLayout();
+ this.panMeasure.SuspendLayout();
+ ((System.ComponentModel.ISupportInitialize)(this.picIconMeasure)).BeginInit();
+ this.panCounter.SuspendLayout();
+ ((System.ComponentModel.ISupportInitialize)(this.picIconCounter)).BeginInit();
this.SuspendLayout();
//
// panMenu
//
this.panMenu.BackColor = System.Drawing.Color.White;
+ this.panMenu.Controls.Add(this.panDev);
+ this.panMenu.Controls.Add(this.panSetting);
this.panMenu.Controls.Add(this.panStatus);
+ this.panMenu.Controls.Add(this.panData);
this.panMenu.Controls.Add(this.panHome);
- this.panMenu.Controls.Add(this.labStatusSelected);
+ this.panMenu.Controls.Add(this.panMeasure);
+ this.panMenu.Controls.Add(this.panCounter);
this.panMenu.Location = new System.Drawing.Point(0, 64);
this.panMenu.Name = "panMenu";
this.panMenu.Size = new System.Drawing.Size(1024, 50);
this.panMenu.TabIndex = 1;
//
- // panStatus
- //
- this.panStatus.Back = System.Drawing.Color.Empty;
- this.panStatus.BackColor = System.Drawing.Color.Transparent;
- this.panStatus.Controls.Add(this.labStatusText);
- this.panStatus.Controls.Add(this.picIconStatus);
- this.panStatus.Location = new System.Drawing.Point(160, 0);
- this.panStatus.MatrixRound = 8;
- this.panStatus.Name = "panStatus";
- this.panStatus.Size = new System.Drawing.Size(130, 47);
- this.panStatus.TabIndex = 1;
- this.panStatus.Click += new System.EventHandler(this.panStatus_Click);
- this.panStatus.MouseLeave += new System.EventHandler(this.panStatus_MouseLeave);
- this.panStatus.MouseHover += new System.EventHandler(this.panStatus_MouseHover);
- //
- // labStatusText
- //
- this.labStatusText.BackColor = System.Drawing.Color.Transparent;
- this.labStatusText.Cursor = System.Windows.Forms.Cursors.Hand;
- this.labStatusText.Font = new System.Drawing.Font("微软雅黑", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
- this.labStatusText.ForeColor = System.Drawing.SystemColors.ControlText;
- this.labStatusText.Location = new System.Drawing.Point(35, 0);
- this.labStatusText.Margin = new System.Windows.Forms.Padding(0);
- this.labStatusText.Name = "labStatusText";
- this.labStatusText.Size = new System.Drawing.Size(85, 47);
- this.labStatusText.TabIndex = 2;
- this.labStatusText.Text = "基准状态";
- this.labStatusText.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
- this.labStatusText.Click += new System.EventHandler(this.panStatus_Click);
- this.labStatusText.MouseLeave += new System.EventHandler(this.panStatus_MouseLeave);
- this.labStatusText.MouseHover += new System.EventHandler(this.panStatus_MouseHover);
- //
- // picIconStatus
- //
- this.picIconStatus.BackgroundImage = global::Casic.Birmm.RbFreqStandMeasure.Properties.Resources.icon_status;
- this.picIconStatus.BackgroundImageLayout = System.Windows.Forms.ImageLayout.Zoom;
- this.picIconStatus.Location = new System.Drawing.Point(10, 11);
- this.picIconStatus.Name = "picIconStatus";
- this.picIconStatus.Size = new System.Drawing.Size(25, 25);
- this.picIconStatus.TabIndex = 1;
- this.picIconStatus.TabStop = false;
- this.picIconStatus.Click += new System.EventHandler(this.panStatus_Click);
- this.picIconStatus.MouseLeave += new System.EventHandler(this.panStatus_MouseLeave);
- this.picIconStatus.MouseHover += new System.EventHandler(this.panStatus_MouseHover);
- //
- // panHome
- //
- this.panHome.Back = System.Drawing.Color.Empty;
- this.panHome.Controls.Add(this.labHomeText);
- this.panHome.Controls.Add(this.picIconHome);
- this.panHome.Controls.Add(this.labHomeSelected);
- this.panHome.Cursor = System.Windows.Forms.Cursors.Hand;
- this.panHome.Location = new System.Drawing.Point(30, 0);
- this.panHome.MatrixRound = 8;
- this.panHome.Name = "panHome";
- this.panHome.Size = new System.Drawing.Size(100, 50);
- this.panHome.TabIndex = 0;
- this.panHome.Click += new System.EventHandler(this.panHome_Click);
- this.panHome.MouseLeave += new System.EventHandler(this.panHome_MouseLeave);
- this.panHome.MouseHover += new System.EventHandler(this.panHome_MouseHover);
- //
- // labHomeText
- //
- this.labHomeText.BackColor = System.Drawing.Color.Transparent;
- this.labHomeText.Font = new System.Drawing.Font("微软雅黑", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
- this.labHomeText.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(18)))), ((int)(((byte)(150)))), ((int)(((byte)(219)))));
- this.labHomeText.Location = new System.Drawing.Point(35, 0);
- this.labHomeText.Margin = new System.Windows.Forms.Padding(0);
- this.labHomeText.Name = "labHomeText";
- this.labHomeText.Size = new System.Drawing.Size(55, 47);
- this.labHomeText.TabIndex = 2;
- this.labHomeText.Text = "首页";
- this.labHomeText.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
- this.labHomeText.Click += new System.EventHandler(this.panHome_Click);
- this.labHomeText.MouseLeave += new System.EventHandler(this.panHome_MouseLeave);
- this.labHomeText.MouseHover += new System.EventHandler(this.panHome_MouseHover);
- //
- // picIconHome
- //
- this.picIconHome.BackColor = System.Drawing.Color.Transparent;
- this.picIconHome.BackgroundImage = global::Casic.Birmm.RbFreqStandMeasure.Properties.Resources.icon_home_selected;
- this.picIconHome.BackgroundImageLayout = System.Windows.Forms.ImageLayout.Zoom;
- this.picIconHome.Location = new System.Drawing.Point(10, 11);
- this.picIconHome.Name = "picIconHome";
- this.picIconHome.Size = new System.Drawing.Size(25, 25);
- this.picIconHome.TabIndex = 1;
- this.picIconHome.TabStop = false;
- this.picIconHome.Click += new System.EventHandler(this.panHome_Click);
- this.picIconHome.MouseLeave += new System.EventHandler(this.panHome_MouseLeave);
- this.picIconHome.MouseHover += new System.EventHandler(this.panHome_MouseHover);
- //
- // labHomeSelected
- //
- this.labHomeSelected.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(18)))), ((int)(((byte)(150)))), ((int)(((byte)(219)))));
- this.labHomeSelected.Location = new System.Drawing.Point(0, 47);
- this.labHomeSelected.Name = "labHomeSelected";
- this.labHomeSelected.Size = new System.Drawing.Size(100, 3);
- this.labHomeSelected.TabIndex = 0;
- //
- // labStatusSelected
- //
- this.labStatusSelected.BackColor = System.Drawing.Color.Transparent;
- this.labStatusSelected.Location = new System.Drawing.Point(160, 47);
- this.labStatusSelected.Margin = new System.Windows.Forms.Padding(0);
- this.labStatusSelected.Name = "labStatusSelected";
- this.labStatusSelected.Size = new System.Drawing.Size(130, 3);
- this.labStatusSelected.TabIndex = 0;
- //
// penBanner
//
this.penBanner.BackgroundImage = global::Casic.Birmm.RbFreqStandMeasure.Properties.Resources.bg_banner;
this.penBanner.BackgroundImageLayout = System.Windows.Forms.ImageLayout.Stretch;
+ this.penBanner.Controls.Add(this.btnMinSys);
this.penBanner.Controls.Add(this.btnExitSys);
this.penBanner.Controls.Add(this.labTitle);
this.penBanner.Location = new System.Drawing.Point(0, 0);
@@ -180,6 +109,23 @@
this.penBanner.TabIndex = 0;
this.penBanner.MouseDown += new System.Windows.Forms.MouseEventHandler(this.RbFreqStdMeas_MouseDown);
//
+ // btnMinSys
+ //
+ this.btnMinSys.BackColor = System.Drawing.Color.Transparent;
+ this.btnMinSys.BackgroundImage = global::Casic.Birmm.RbFreqStandMeasure.Properties.Resources.icon_min;
+ this.btnMinSys.BackgroundImageLayout = System.Windows.Forms.ImageLayout.Stretch;
+ this.btnMinSys.FlatAppearance.BorderSize = 0;
+ this.btnMinSys.FlatStyle = System.Windows.Forms.FlatStyle.Flat;
+ this.btnMinSys.ForeColor = System.Drawing.SystemColors.ControlDarkDark;
+ this.btnMinSys.Location = new System.Drawing.Point(944, 22);
+ this.btnMinSys.Margin = new System.Windows.Forms.Padding(0);
+ this.btnMinSys.Name = "btnMinSys";
+ this.btnMinSys.Size = new System.Drawing.Size(20, 20);
+ this.btnMinSys.TabIndex = 1;
+ this.btnMinSys.UseVisualStyleBackColor = false;
+ this.btnMinSys.Click += new System.EventHandler(this.btnMinSys_Click);
+ this.btnMinSys.MouseHover += new System.EventHandler(this.btnMinSys_MouseHover);
+ //
// btnExitSys
//
this.btnExitSys.BackColor = System.Drawing.Color.Transparent;
@@ -200,7 +146,7 @@
// labTitle
//
this.labTitle.BackColor = System.Drawing.Color.Transparent;
- this.labTitle.Font = new System.Drawing.Font("微软雅黑", 15.75F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
+ this.labTitle.Font = new System.Drawing.Font("微软雅黑", 20F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Pixel, ((byte)(134)));
this.labTitle.ForeColor = System.Drawing.Color.White;
this.labTitle.Location = new System.Drawing.Point(30, 16);
this.labTitle.Name = "labTitle";
@@ -209,11 +155,404 @@
this.labTitle.Text = "铷原子频标比对测量软件";
this.labTitle.TextAlign = System.Drawing.ContentAlignment.MiddleLeft;
//
+ // panDev
+ //
+ this.panDev.Back = System.Drawing.Color.Empty;
+ this.panDev.Controls.Add(this.labDevText);
+ this.panDev.Controls.Add(this.labDevSelected);
+ this.panDev.Controls.Add(this.picIconDev);
+ this.panDev.Location = new System.Drawing.Point(214, 0);
+ this.panDev.MatrixRound = 8;
+ this.panDev.Name = "panDev";
+ this.panDev.Size = new System.Drawing.Size(141, 50);
+ this.panDev.TabIndex = 2;
+ this.panDev.Click += new System.EventHandler(this.panDev_Click);
+ this.panDev.MouseLeave += new System.EventHandler(this.panDev_MouseLeave);
+ this.panDev.MouseHover += new System.EventHandler(this.panDev_MouseHover);
+ //
+ // labDevText
+ //
+ this.labDevText.BackColor = System.Drawing.Color.Transparent;
+ this.labDevText.Cursor = System.Windows.Forms.Cursors.Hand;
+ this.labDevText.Font = new System.Drawing.Font("微软雅黑", 16F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Pixel, ((byte)(134)));
+ this.labDevText.ForeColor = System.Drawing.SystemColors.ControlText;
+ this.labDevText.Location = new System.Drawing.Point(30, 14);
+ this.labDevText.Margin = new System.Windows.Forms.Padding(0);
+ this.labDevText.Name = "labDevText";
+ this.labDevText.Size = new System.Drawing.Size(106, 20);
+ this.labDevText.TabIndex = 2;
+ this.labDevText.Text = "送检仪器管理";
+ this.labDevText.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
+ this.labDevText.Click += new System.EventHandler(this.panDev_Click);
+ this.labDevText.MouseLeave += new System.EventHandler(this.panDev_MouseLeave);
+ this.labDevText.MouseHover += new System.EventHandler(this.panDev_MouseHover);
+ //
+ // labDevSelected
+ //
+ this.labDevSelected.BackColor = System.Drawing.Color.Transparent;
+ this.labDevSelected.Location = new System.Drawing.Point(8, 48);
+ this.labDevSelected.Margin = new System.Windows.Forms.Padding(0);
+ this.labDevSelected.Name = "labDevSelected";
+ this.labDevSelected.Size = new System.Drawing.Size(121, 2);
+ this.labDevSelected.TabIndex = 3;
+ //
+ // picIconDev
+ //
+ this.picIconDev.BackColor = System.Drawing.Color.Transparent;
+ this.picIconDev.BackgroundImage = global::Casic.Birmm.RbFreqStandMeasure.Properties.Resources.icon_dev;
+ this.picIconDev.BackgroundImageLayout = System.Windows.Forms.ImageLayout.Zoom;
+ this.picIconDev.Location = new System.Drawing.Point(10, 14);
+ this.picIconDev.Name = "picIconDev";
+ this.picIconDev.Size = new System.Drawing.Size(20, 20);
+ this.picIconDev.TabIndex = 1;
+ this.picIconDev.TabStop = false;
+ this.picIconDev.Click += new System.EventHandler(this.panDev_Click);
+ this.picIconDev.MouseLeave += new System.EventHandler(this.panDev_MouseLeave);
+ this.picIconDev.MouseHover += new System.EventHandler(this.panDev_MouseHover);
+ //
+ // panSetting
+ //
+ this.panSetting.Back = System.Drawing.Color.Empty;
+ this.panSetting.Controls.Add(this.labSettingSelected);
+ this.panSetting.Controls.Add(this.labSettingText);
+ this.panSetting.Controls.Add(this.picIconSetting);
+ this.panSetting.Location = new System.Drawing.Point(879, 0);
+ this.panSetting.MatrixRound = 8;
+ this.panSetting.Name = "panSetting";
+ this.panSetting.Size = new System.Drawing.Size(109, 50);
+ this.panSetting.TabIndex = 2;
+ this.panSetting.Click += new System.EventHandler(this.panSetting_Click);
+ this.panSetting.MouseLeave += new System.EventHandler(this.panSetting_MouseLeave);
+ this.panSetting.MouseHover += new System.EventHandler(this.panSetting_MouseHover);
+ //
+ // labSettingSelected
+ //
+ this.labSettingSelected.BackColor = System.Drawing.Color.Transparent;
+ this.labSettingSelected.Location = new System.Drawing.Point(10, 48);
+ this.labSettingSelected.Margin = new System.Windows.Forms.Padding(0);
+ this.labSettingSelected.Name = "labSettingSelected";
+ this.labSettingSelected.Size = new System.Drawing.Size(89, 2);
+ this.labSettingSelected.TabIndex = 4;
+ //
+ // labSettingText
+ //
+ this.labSettingText.BackColor = System.Drawing.Color.Transparent;
+ this.labSettingText.Cursor = System.Windows.Forms.Cursors.Hand;
+ this.labSettingText.Font = new System.Drawing.Font("微软雅黑", 16F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Pixel, ((byte)(134)));
+ this.labSettingText.ForeColor = System.Drawing.SystemColors.ControlText;
+ this.labSettingText.Location = new System.Drawing.Point(30, 14);
+ this.labSettingText.Margin = new System.Windows.Forms.Padding(0);
+ this.labSettingText.Name = "labSettingText";
+ this.labSettingText.Size = new System.Drawing.Size(74, 20);
+ this.labSettingText.TabIndex = 2;
+ this.labSettingText.Text = "系统设置";
+ this.labSettingText.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
+ this.labSettingText.Click += new System.EventHandler(this.panSetting_Click);
+ this.labSettingText.MouseLeave += new System.EventHandler(this.panSetting_MouseLeave);
+ this.labSettingText.MouseHover += new System.EventHandler(this.panSetting_MouseHover);
+ //
+ // picIconSetting
+ //
+ this.picIconSetting.BackColor = System.Drawing.Color.Transparent;
+ this.picIconSetting.BackgroundImage = global::Casic.Birmm.RbFreqStandMeasure.Properties.Resources.icon_setting;
+ this.picIconSetting.BackgroundImageLayout = System.Windows.Forms.ImageLayout.Zoom;
+ this.picIconSetting.Location = new System.Drawing.Point(10, 14);
+ this.picIconSetting.Name = "picIconSetting";
+ this.picIconSetting.Size = new System.Drawing.Size(20, 20);
+ this.picIconSetting.TabIndex = 1;
+ this.picIconSetting.TabStop = false;
+ this.picIconSetting.Click += new System.EventHandler(this.panSetting_Click);
+ this.picIconSetting.MouseLeave += new System.EventHandler(this.panSetting_MouseLeave);
+ this.picIconSetting.MouseHover += new System.EventHandler(this.panSetting_MouseHover);
+ //
+ // panStatus
+ //
+ this.panStatus.Back = System.Drawing.Color.Empty;
+ this.panStatus.BackColor = System.Drawing.Color.Transparent;
+ this.panStatus.Controls.Add(this.labStatusText);
+ this.panStatus.Controls.Add(this.picIconStatus);
+ this.panStatus.Controls.Add(this.labStatusSelected);
+ this.panStatus.Location = new System.Drawing.Point(101, 0);
+ this.panStatus.MatrixRound = 8;
+ this.panStatus.Name = "panStatus";
+ this.panStatus.Size = new System.Drawing.Size(109, 50);
+ this.panStatus.TabIndex = 1;
+ this.panStatus.Click += new System.EventHandler(this.panStatus_Click);
+ this.panStatus.MouseLeave += new System.EventHandler(this.panStatus_MouseLeave);
+ this.panStatus.MouseHover += new System.EventHandler(this.panStatus_MouseHover);
+ //
+ // labStatusText
+ //
+ this.labStatusText.BackColor = System.Drawing.Color.Transparent;
+ this.labStatusText.Cursor = System.Windows.Forms.Cursors.Hand;
+ this.labStatusText.Font = new System.Drawing.Font("微软雅黑", 16F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Pixel, ((byte)(134)));
+ this.labStatusText.ForeColor = System.Drawing.SystemColors.ControlText;
+ this.labStatusText.Location = new System.Drawing.Point(30, 14);
+ this.labStatusText.Margin = new System.Windows.Forms.Padding(0);
+ this.labStatusText.Name = "labStatusText";
+ this.labStatusText.Size = new System.Drawing.Size(74, 20);
+ this.labStatusText.TabIndex = 2;
+ this.labStatusText.Text = "基准状态";
+ this.labStatusText.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
+ this.labStatusText.Click += new System.EventHandler(this.panStatus_Click);
+ this.labStatusText.MouseLeave += new System.EventHandler(this.panStatus_MouseLeave);
+ this.labStatusText.MouseHover += new System.EventHandler(this.panStatus_MouseHover);
+ //
+ // picIconStatus
+ //
+ this.picIconStatus.BackgroundImage = global::Casic.Birmm.RbFreqStandMeasure.Properties.Resources.icon_status;
+ this.picIconStatus.BackgroundImageLayout = System.Windows.Forms.ImageLayout.Zoom;
+ this.picIconStatus.Location = new System.Drawing.Point(10, 14);
+ this.picIconStatus.Name = "picIconStatus";
+ this.picIconStatus.Size = new System.Drawing.Size(20, 20);
+ this.picIconStatus.TabIndex = 1;
+ this.picIconStatus.TabStop = false;
+ this.picIconStatus.Click += new System.EventHandler(this.panStatus_Click);
+ this.picIconStatus.MouseLeave += new System.EventHandler(this.panStatus_MouseLeave);
+ this.picIconStatus.MouseHover += new System.EventHandler(this.panStatus_MouseHover);
+ //
+ // labStatusSelected
+ //
+ this.labStatusSelected.BackColor = System.Drawing.Color.Transparent;
+ this.labStatusSelected.Location = new System.Drawing.Point(10, 48);
+ this.labStatusSelected.Margin = new System.Windows.Forms.Padding(0);
+ this.labStatusSelected.Name = "labStatusSelected";
+ this.labStatusSelected.Size = new System.Drawing.Size(89, 2);
+ this.labStatusSelected.TabIndex = 0;
+ //
+ // panData
+ //
+ this.panData.Back = System.Drawing.Color.Empty;
+ this.panData.Controls.Add(this.labDataSelected);
+ this.panData.Controls.Add(this.labDataText);
+ this.panData.Controls.Add(this.picIconData);
+ this.panData.Location = new System.Drawing.Point(765, 0);
+ this.panData.MatrixRound = 8;
+ this.panData.Name = "panData";
+ this.panData.Size = new System.Drawing.Size(109, 50);
+ this.panData.TabIndex = 2;
+ this.panData.Click += new System.EventHandler(this.panData_Click);
+ this.panData.MouseLeave += new System.EventHandler(this.panData_MouseLeave);
+ this.panData.MouseHover += new System.EventHandler(this.panData_MouseHover);
+ //
+ // labDataSelected
+ //
+ this.labDataSelected.BackColor = System.Drawing.Color.Transparent;
+ this.labDataSelected.Location = new System.Drawing.Point(10, 48);
+ this.labDataSelected.Margin = new System.Windows.Forms.Padding(0);
+ this.labDataSelected.Name = "labDataSelected";
+ this.labDataSelected.Size = new System.Drawing.Size(89, 2);
+ this.labDataSelected.TabIndex = 3;
+ //
+ // labDataText
+ //
+ this.labDataText.BackColor = System.Drawing.Color.Transparent;
+ this.labDataText.Cursor = System.Windows.Forms.Cursors.Hand;
+ this.labDataText.Font = new System.Drawing.Font("微软雅黑", 16F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Pixel, ((byte)(134)));
+ this.labDataText.ForeColor = System.Drawing.SystemColors.ControlText;
+ this.labDataText.Location = new System.Drawing.Point(30, 14);
+ this.labDataText.Margin = new System.Windows.Forms.Padding(0);
+ this.labDataText.Name = "labDataText";
+ this.labDataText.Size = new System.Drawing.Size(74, 20);
+ this.labDataText.TabIndex = 2;
+ this.labDataText.Text = "数据管理";
+ this.labDataText.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
+ this.labDataText.Click += new System.EventHandler(this.panData_Click);
+ this.labDataText.MouseLeave += new System.EventHandler(this.panData_MouseLeave);
+ this.labDataText.MouseHover += new System.EventHandler(this.panData_MouseHover);
+ //
+ // picIconData
+ //
+ this.picIconData.BackColor = System.Drawing.Color.Transparent;
+ this.picIconData.BackgroundImage = global::Casic.Birmm.RbFreqStandMeasure.Properties.Resources.icon_data;
+ this.picIconData.BackgroundImageLayout = System.Windows.Forms.ImageLayout.Zoom;
+ this.picIconData.Location = new System.Drawing.Point(10, 14);
+ this.picIconData.Name = "picIconData";
+ this.picIconData.Size = new System.Drawing.Size(20, 20);
+ this.picIconData.TabIndex = 1;
+ this.picIconData.TabStop = false;
+ this.picIconData.Click += new System.EventHandler(this.panData_Click);
+ this.picIconData.MouseLeave += new System.EventHandler(this.panData_MouseLeave);
+ this.picIconData.MouseHover += new System.EventHandler(this.panData_MouseHover);
+ //
+ // panHome
+ //
+ this.panHome.Back = System.Drawing.Color.Empty;
+ this.panHome.Controls.Add(this.labHomeText);
+ this.panHome.Controls.Add(this.picIconHome);
+ this.panHome.Controls.Add(this.labHomeSelected);
+ this.panHome.Cursor = System.Windows.Forms.Cursors.Hand;
+ this.panHome.Location = new System.Drawing.Point(20, 0);
+ this.panHome.MatrixRound = 8;
+ this.panHome.Name = "panHome";
+ this.panHome.Size = new System.Drawing.Size(75, 50);
+ this.panHome.TabIndex = 0;
+ this.panHome.Click += new System.EventHandler(this.panHome_Click);
+ this.panHome.MouseLeave += new System.EventHandler(this.panHome_MouseLeave);
+ this.panHome.MouseHover += new System.EventHandler(this.panHome_MouseHover);
+ //
+ // labHomeText
+ //
+ this.labHomeText.BackColor = System.Drawing.Color.Transparent;
+ this.labHomeText.Font = new System.Drawing.Font("微软雅黑", 16F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Pixel, ((byte)(134)));
+ this.labHomeText.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(18)))), ((int)(((byte)(150)))), ((int)(((byte)(219)))));
+ this.labHomeText.Location = new System.Drawing.Point(30, 14);
+ this.labHomeText.Margin = new System.Windows.Forms.Padding(0);
+ this.labHomeText.Name = "labHomeText";
+ this.labHomeText.Size = new System.Drawing.Size(42, 20);
+ this.labHomeText.TabIndex = 2;
+ this.labHomeText.Text = "首页";
+ this.labHomeText.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
+ this.labHomeText.Click += new System.EventHandler(this.panHome_Click);
+ this.labHomeText.MouseLeave += new System.EventHandler(this.panHome_MouseLeave);
+ this.labHomeText.MouseHover += new System.EventHandler(this.panHome_MouseHover);
+ //
+ // picIconHome
+ //
+ this.picIconHome.BackColor = System.Drawing.Color.Transparent;
+ this.picIconHome.BackgroundImage = global::Casic.Birmm.RbFreqStandMeasure.Properties.Resources.icon_home_selected;
+ this.picIconHome.BackgroundImageLayout = System.Windows.Forms.ImageLayout.Zoom;
+ this.picIconHome.Location = new System.Drawing.Point(10, 14);
+ this.picIconHome.Margin = new System.Windows.Forms.Padding(0);
+ this.picIconHome.Name = "picIconHome";
+ this.picIconHome.Size = new System.Drawing.Size(20, 20);
+ this.picIconHome.TabIndex = 1;
+ this.picIconHome.TabStop = false;
+ this.picIconHome.Click += new System.EventHandler(this.panHome_Click);
+ this.picIconHome.MouseLeave += new System.EventHandler(this.panHome_MouseLeave);
+ this.picIconHome.MouseHover += new System.EventHandler(this.panHome_MouseHover);
+ //
+ // labHomeSelected
+ //
+ this.labHomeSelected.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(18)))), ((int)(((byte)(150)))), ((int)(((byte)(219)))));
+ this.labHomeSelected.Location = new System.Drawing.Point(10, 48);
+ this.labHomeSelected.Name = "labHomeSelected";
+ this.labHomeSelected.Size = new System.Drawing.Size(55, 2);
+ this.labHomeSelected.TabIndex = 0;
+ //
+ // panMeasure
+ //
+ this.panMeasure.Back = System.Drawing.Color.Empty;
+ this.panMeasure.Controls.Add(this.labMeasureText);
+ this.panMeasure.Controls.Add(this.labMeasureSelected);
+ this.panMeasure.Controls.Add(this.picIconMeasure);
+ this.panMeasure.Location = new System.Drawing.Point(619, 0);
+ this.panMeasure.MatrixRound = 8;
+ this.panMeasure.Name = "panMeasure";
+ this.panMeasure.Size = new System.Drawing.Size(141, 50);
+ this.panMeasure.TabIndex = 2;
+ this.panMeasure.Click += new System.EventHandler(this.panMeasure_Click);
+ this.panMeasure.MouseLeave += new System.EventHandler(this.panMeasure_MouseLeave);
+ this.panMeasure.MouseHover += new System.EventHandler(this.panMeasure_MouseHover);
+ //
+ // labMeasureText
+ //
+ this.labMeasureText.BackColor = System.Drawing.Color.Transparent;
+ this.labMeasureText.Cursor = System.Windows.Forms.Cursors.Hand;
+ this.labMeasureText.Font = new System.Drawing.Font("微软雅黑", 16F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Pixel, ((byte)(134)));
+ this.labMeasureText.ForeColor = System.Drawing.SystemColors.ControlText;
+ this.labMeasureText.Location = new System.Drawing.Point(30, 14);
+ this.labMeasureText.Margin = new System.Windows.Forms.Padding(0);
+ this.labMeasureText.Name = "labMeasureText";
+ this.labMeasureText.Size = new System.Drawing.Size(106, 20);
+ this.labMeasureText.TabIndex = 2;
+ this.labMeasureText.Text = "计量信息管理";
+ this.labMeasureText.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
+ this.labMeasureText.Click += new System.EventHandler(this.panMeasure_Click);
+ this.labMeasureText.MouseLeave += new System.EventHandler(this.panMeasure_MouseLeave);
+ this.labMeasureText.MouseHover += new System.EventHandler(this.panMeasure_MouseHover);
+ //
+ // labMeasureSelected
+ //
+ this.labMeasureSelected.BackColor = System.Drawing.Color.Transparent;
+ this.labMeasureSelected.Location = new System.Drawing.Point(10, 48);
+ this.labMeasureSelected.Margin = new System.Windows.Forms.Padding(0);
+ this.labMeasureSelected.Name = "labMeasureSelected";
+ this.labMeasureSelected.Size = new System.Drawing.Size(121, 2);
+ this.labMeasureSelected.TabIndex = 3;
+ //
+ // picIconMeasure
+ //
+ this.picIconMeasure.BackColor = System.Drawing.Color.Transparent;
+ this.picIconMeasure.BackgroundImage = global::Casic.Birmm.RbFreqStandMeasure.Properties.Resources.icon_measure;
+ this.picIconMeasure.BackgroundImageLayout = System.Windows.Forms.ImageLayout.Zoom;
+ this.picIconMeasure.Location = new System.Drawing.Point(10, 14);
+ this.picIconMeasure.Name = "picIconMeasure";
+ this.picIconMeasure.Size = new System.Drawing.Size(20, 20);
+ this.picIconMeasure.TabIndex = 1;
+ this.picIconMeasure.TabStop = false;
+ this.picIconMeasure.Click += new System.EventHandler(this.panMeasure_Click);
+ this.picIconMeasure.MouseLeave += new System.EventHandler(this.panMeasure_MouseLeave);
+ this.picIconMeasure.MouseHover += new System.EventHandler(this.panMeasure_MouseHover);
+ //
+ // panCounter
+ //
+ this.panCounter.Back = System.Drawing.Color.Empty;
+ this.panCounter.Controls.Add(this.labCounterSelected);
+ this.panCounter.Controls.Add(this.labCounterText);
+ this.panCounter.Controls.Add(this.picIconCounter);
+ this.panCounter.Location = new System.Drawing.Point(360, 0);
+ this.panCounter.MatrixRound = 8;
+ this.panCounter.Name = "panCounter";
+ this.panCounter.Size = new System.Drawing.Size(254, 50);
+ this.panCounter.TabIndex = 2;
+ this.panCounter.Click += new System.EventHandler(this.panCounter_Click);
+ this.panCounter.MouseLeave += new System.EventHandler(this.panCounter_MouseLeave);
+ this.panCounter.MouseHover += new System.EventHandler(this.panCounter_MouseHover);
+ //
+ // labCounterSelected
+ //
+ this.labCounterSelected.BackColor = System.Drawing.Color.Transparent;
+ this.labCounterSelected.Location = new System.Drawing.Point(10, 48);
+ this.labCounterSelected.Margin = new System.Windows.Forms.Padding(0);
+ this.labCounterSelected.Name = "labCounterSelected";
+ this.labCounterSelected.Size = new System.Drawing.Size(233, 2);
+ this.labCounterSelected.TabIndex = 4;
+ //
+ // labCounterText
+ //
+ this.labCounterText.BackColor = System.Drawing.Color.Transparent;
+ this.labCounterText.Cursor = System.Windows.Forms.Cursors.Hand;
+ this.labCounterText.Font = new System.Drawing.Font("微软雅黑", 16F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Pixel, ((byte)(134)));
+ this.labCounterText.ForeColor = System.Drawing.SystemColors.ControlText;
+ this.labCounterText.Location = new System.Drawing.Point(30, 14);
+ this.labCounterText.Margin = new System.Windows.Forms.Padding(0);
+ this.labCounterText.Name = "labCounterText";
+ this.labCounterText.Size = new System.Drawing.Size(218, 20);
+ this.labCounterText.TabIndex = 2;
+ this.labCounterText.Text = "频率计数器范围及灵敏度测量";
+ this.labCounterText.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
+ this.labCounterText.Click += new System.EventHandler(this.panCounter_Click);
+ this.labCounterText.MouseLeave += new System.EventHandler(this.panCounter_MouseLeave);
+ this.labCounterText.MouseHover += new System.EventHandler(this.panCounter_MouseHover);
+ //
+ // picIconCounter
+ //
+ this.picIconCounter.BackColor = System.Drawing.Color.Transparent;
+ this.picIconCounter.BackgroundImage = global::Casic.Birmm.RbFreqStandMeasure.Properties.Resources.icon_counter;
+ this.picIconCounter.BackgroundImageLayout = System.Windows.Forms.ImageLayout.Zoom;
+ this.picIconCounter.Location = new System.Drawing.Point(10, 14);
+ this.picIconCounter.Name = "picIconCounter";
+ this.picIconCounter.Size = new System.Drawing.Size(20, 20);
+ this.picIconCounter.TabIndex = 1;
+ this.picIconCounter.TabStop = false;
+ this.picIconCounter.Click += new System.EventHandler(this.panCounter_Click);
+ this.picIconCounter.MouseLeave += new System.EventHandler(this.panCounter_MouseLeave);
+ this.picIconCounter.MouseHover += new System.EventHandler(this.panCounter_MouseHover);
+ //
+ // panelMain
+ //
+ this.panelMain.Location = new System.Drawing.Point(0, 114);
+ this.panelMain.Name = "panelMain";
+ this.panelMain.Size = new System.Drawing.Size(1024, 654);
+ this.panelMain.TabIndex = 2;
+ //
// RbFreqStdMeas
//
this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 12F);
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
this.ClientSize = new System.Drawing.Size(1024, 768);
+ this.Controls.Add(this.panelMain);
this.Controls.Add(this.panMenu);
this.Controls.Add(this.penBanner);
this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.None;
@@ -221,11 +560,21 @@
this.Text = "RbFreqStdMeas";
this.Load += new System.EventHandler(this.RbFreqStdMeas_Load);
this.panMenu.ResumeLayout(false);
+ this.penBanner.ResumeLayout(false);
+ this.panDev.ResumeLayout(false);
+ ((System.ComponentModel.ISupportInitialize)(this.picIconDev)).EndInit();
+ this.panSetting.ResumeLayout(false);
+ ((System.ComponentModel.ISupportInitialize)(this.picIconSetting)).EndInit();
this.panStatus.ResumeLayout(false);
((System.ComponentModel.ISupportInitialize)(this.picIconStatus)).EndInit();
+ this.panData.ResumeLayout(false);
+ ((System.ComponentModel.ISupportInitialize)(this.picIconData)).EndInit();
this.panHome.ResumeLayout(false);
((System.ComponentModel.ISupportInitialize)(this.picIconHome)).EndInit();
- this.penBanner.ResumeLayout(false);
+ this.panMeasure.ResumeLayout(false);
+ ((System.ComponentModel.ISupportInitialize)(this.picIconMeasure)).EndInit();
+ this.panCounter.ResumeLayout(false);
+ ((System.ComponentModel.ISupportInitialize)(this.picIconCounter)).EndInit();
this.ResumeLayout(false);
}
@@ -244,5 +593,27 @@
private RoundPanel panStatus;
private RoundPanel panHome;
private System.Windows.Forms.Label labStatusSelected;
+ private RoundPanel panDev;
+ private System.Windows.Forms.PictureBox picIconDev;
+ private System.Windows.Forms.Label labDevText;
+ private System.Windows.Forms.Label labMeasureSelected;
+ private RoundPanel panCounter;
+ private System.Windows.Forms.Label labCounterText;
+ private System.Windows.Forms.PictureBox picIconCounter;
+ private RoundPanel panMeasure;
+ private System.Windows.Forms.Label labMeasureText;
+ private System.Windows.Forms.PictureBox picIconMeasure;
+ private RoundPanel panData;
+ private System.Windows.Forms.Label labDataText;
+ private System.Windows.Forms.PictureBox picIconData;
+ private RoundPanel panSetting;
+ private System.Windows.Forms.Label labSettingText;
+ private System.Windows.Forms.PictureBox picIconSetting;
+ private System.Windows.Forms.Label labCounterSelected;
+ private System.Windows.Forms.Label labDevSelected;
+ private System.Windows.Forms.Label labDataSelected;
+ private System.Windows.Forms.Label labSettingSelected;
+ private System.Windows.Forms.Button btnMinSys;
+ private System.Windows.Forms.Panel panelMain;
}
}
\ No newline at end of file
diff --git a/RbFreqStandMeasure/RbFreqStdMeas.cs b/RbFreqStandMeasure/RbFreqStdMeas.cs
index 3858ddb..af980d7 100644
--- a/RbFreqStandMeasure/RbFreqStdMeas.cs
+++ b/RbFreqStandMeasure/RbFreqStdMeas.cs
@@ -1,13 +1,9 @@
-using Casic.Birmm.RbFreqStandMeasure.Properties;
+using Casic.Birmm.RbFreqStandMeasure.info;
+using Casic.Birmm.RbFreqStandMeasure.Properties;
+using Casic.Birmm.RbFreqStandMeasure.setting;
using System;
-using System.Collections.Generic;
-using System.ComponentModel;
-using System.Data;
using System.Drawing;
-using System.Linq;
-using System.Resources;
using System.Runtime.InteropServices;
-using System.Text;
using System.Windows.Forms;
namespace Casic.Birmm.RbFreqStandMeasure
@@ -15,7 +11,7 @@
public partial class RbFreqStdMeas : Form
{
- #region 无边框拖动效果
+ #region 无边框拖动效果/最小化窗口/关闭窗口
[DllImport("user32.dll")]//拖动无窗体的控件
public static extern bool ReleaseCapture();
[DllImport("user32.dll")]
@@ -30,9 +26,29 @@
ReleaseCapture();
SendMessage(this.Handle, WM_SYSCOMMAND, SC_MOVE + HTCAPTION, 0);
}
+ private void btnExitSys_Click(object sender, EventArgs e)
+ {
+ Application.Exit();
+ }
+ private void btnMinSys_Click(object sender, EventArgs e)
+ {
+ this.WindowState = FormWindowState.Minimized;
+ }
+ private void btnExitSys_MouseHover(object sender, EventArgs e)
+ {
+ ToolTip p = new ToolTip();
+ p.ShowAlways = true;
+ p.SetToolTip(this.btnExitSys, "退出");
+ }
+ private void btnMinSys_MouseHover(object sender, EventArgs e)
+ {
+ ToolTip p = new ToolTip();
+ p.ShowAlways = true;
+ p.SetToolTip(this.btnMinSys, "最小化");
+ }
#endregion
- private bool[] menuSelected = { true, false };
+ private bool[] menuSelected = { true, false, false, false, false, false, false };
// 按钮图标
private PictureBox[] menuPics;
// 按钮图标的资源名称(选中的资源名称在后面加上 _selected)
@@ -57,7 +73,7 @@
// 将当前按钮的效果设置为默认未选中
this.menuPics[index].BackgroundImage = (Bitmap)Resources.ResourceManager.GetObject(this.menuIconResources[index], null);
- this.menuLabels[index].ForeColor = ColorTranslator.FromHtml("#2C2C2C");
+ this.menuLabels[index].ForeColor = ColorTranslator.FromHtml("#333333");
this.menuUnderlines[index].BackColor = Color.Transparent;
}
@@ -79,13 +95,15 @@
LeaveHome();
// 重新设置所有按钮的状态
- this.menuSelected = new bool[] { true, false };
+ this.menuSelected = new bool[] { true, false, false, false, false, false, false };
// 将新选中的按钮设置为选中
this.picIconHome.BackgroundImage = (Bitmap)Resources.ResourceManager.GetObject("icon_home_selected", null);
- this.labHomeText.ForeColor = ColorTranslator.FromHtml("#1296db");
- this.labHomeSelected.BackColor = ColorTranslator.FromHtml("#1296db");
+ this.labHomeText.ForeColor = ColorTranslator.FromHtml("#3f84d7");
+ this.labHomeSelected.BackColor = ColorTranslator.FromHtml("#3f84d7");
+ // 切换至首页
+ switchMainPanel(0);
}
#endregion
@@ -107,12 +125,163 @@
LeaveStatus();
// 重新设置所有按钮的状态
- this.menuSelected = new bool[] { false, true };
+ this.menuSelected = new bool[] { false, true, false, false, false, false, false };
// 将新选中的按钮设置为选中
this.picIconStatus.BackgroundImage = (Bitmap) Resources.ResourceManager.GetObject("icon_status_selected", null);
- this.labStatusText.ForeColor = ColorTranslator.FromHtml("#1296db");
- this.labStatusSelected.BackColor = ColorTranslator.FromHtml("#1296db");
+ this.labStatusText.ForeColor = ColorTranslator.FromHtml("#3f84d7");
+ this.labStatusSelected.BackColor = ColorTranslator.FromHtml("#3f84d7");
+
+ // 切换到基准状态页面
+ switchMainPanel(1);
+ }
+ #endregion
+
+ #region 送检仪器按钮点击、移入/移出效果
+ private void HoverDev()
+ {
+ panDev.Back = ColorTranslator.FromHtml("#56a3f2");
+ }
+ private void LeaveDev()
+ {
+ panDev.Back = Color.Transparent;
+ }
+ private void SelectDev()
+ {
+ // 移除所有按钮的选中样式
+ this.ClearAllMenuSelected();
+
+ // 鼠标移入效果去掉
+ LeaveDev();
+
+ // 重新设置所有按钮的状态
+ this.menuSelected = new bool[] { false, false, true, false, false ,false ,false };
+
+ // 将新选中的按钮设置为选中
+ this.picIconDev.BackgroundImage = (Bitmap)Resources.ResourceManager.GetObject("icon_dev_selected", null);
+ this.labDevText.ForeColor = ColorTranslator.FromHtml("#3f84d7");
+ this.labDevSelected.BackColor = ColorTranslator.FromHtml("#3f84d7");
+
+ // 切换至待检仪器管理
+ switchMainPanel(2);
+ }
+ #endregion
+
+ #region 频率计数器测量点击、移入/移出效果
+ private void HoverCounter()
+ {
+ panCounter.Back = ColorTranslator.FromHtml("#56a3f2");
+ }
+ private void LeaveCounter()
+ {
+ panCounter.Back = Color.Transparent;
+ }
+ private void SelectCounter()
+ {
+ // 移除所有按钮的选中样式
+ this.ClearAllMenuSelected();
+
+ // 鼠标移入效果去掉
+ LeaveCounter();
+
+ // 重新设置所有按钮的状态
+ this.menuSelected = new bool[] { false, false, false, true, false, false, false };
+
+ // 将新选中的按钮设置为选中
+ this.picIconCounter.BackgroundImage = (Bitmap)Resources.ResourceManager.GetObject("icon_counter_selected", null);
+ this.labCounterText.ForeColor = ColorTranslator.FromHtml("#3f84d7");
+ this.labCounterSelected.BackColor = ColorTranslator.FromHtml("#3f84d7");
+ }
+ #endregion
+
+ #region 计量管理点击、移入/移出效果
+ private void HoverMeasure()
+ {
+ panMeasure.Back = ColorTranslator.FromHtml("#56a3f2");
+ }
+ private void LeaveMeasure()
+ {
+ panMeasure.Back = Color.Transparent;
+ }
+ private void SelectMeasure()
+ {
+ // 移除所有按钮的选中样式
+ this.ClearAllMenuSelected();
+
+ // 鼠标移入效果去掉
+ LeaveMeasure();
+
+ // 重新设置所有按钮的状态
+ this.menuSelected = new bool[] { false, false, false, false, true, false, false };
+
+ // 将新选中的按钮设置为选中
+ this.picIconMeasure.BackgroundImage = (Bitmap)Resources.ResourceManager.GetObject("icon_measure_selected", null);
+ this.labMeasureText.ForeColor = ColorTranslator.FromHtml("#3f84d7");
+ this.labMeasureSelected.BackColor = ColorTranslator.FromHtml("#3f84d7");
+
+ // 切换至计量信息管理
+ switchMainPanel(4);
+ }
+ #endregion
+
+ #region 数据管理点击、移入/移出效果
+ private void HoverData()
+ {
+ panData.Back = ColorTranslator.FromHtml("#56a3f2");
+ }
+ private void LeaveData()
+ {
+ panData.Back = Color.Transparent;
+ }
+ private void SelectData()
+ {
+ // 移除所有按钮的选中样式
+ this.ClearAllMenuSelected();
+
+ // 鼠标移入效果去掉
+ LeaveData();
+
+ // 重新设置所有按钮的状态
+ this.menuSelected = new bool[] { false, false, false, false, false, true, false };
+
+ // 将新选中的按钮设置为选中
+ this.picIconData.BackgroundImage = (Bitmap)Resources.ResourceManager.GetObject("icon_data_selected", null);
+ this.labDataText.ForeColor = ColorTranslator.FromHtml("#3f84d7");
+ this.labDataSelected.BackColor = ColorTranslator.FromHtml("#3f84d7");
+
+ // 弹出对话框进行数据备份与还原操作
+ DataBackupDlg dataDlg = new DataBackupDlg();
+ dataDlg.ShowDialog();
+ }
+ #endregion
+
+ #region 系统管理点击、移入/移出效果
+ private void HoverSetting()
+ {
+ panSetting.Back = ColorTranslator.FromHtml("#56a3f2");
+ }
+ private void LeaveSetting()
+ {
+ panSetting.Back = Color.Transparent;
+ }
+ private void SelectSetting()
+ {
+ // 移除所有按钮的选中样式
+ this.ClearAllMenuSelected();
+
+ // 鼠标移入效果去掉
+ LeaveSetting();
+
+ // 重新设置所有按钮的状态
+ this.menuSelected = new bool[] { false, false, false, false, false, false, true };
+
+ // 将新选中的按钮设置为选中
+ this.picIconSetting.BackgroundImage = (Bitmap)Resources.ResourceManager.GetObject("icon_setting_selected", null);
+ this.labSettingText.ForeColor = ColorTranslator.FromHtml("#3f84d7");
+ this.labSettingSelected.BackColor = ColorTranslator.FromHtml("#3f84d7");
+
+ // 切换到设置的界面
+ switchMainPanel(6);
}
#endregion
@@ -123,22 +292,13 @@
private void RbFreqStdMeas_Load(object sender, EventArgs e)
{
- this.menuPics = new PictureBox[] { this.picIconHome, this.picIconStatus };
- this.menuLabels = new Label[] { this.labHomeText, this.labStatusText };
- this.menuUnderlines = new Label[] { this.labHomeSelected, this.labStatusSelected };
- this.menuIconResources = new string[] { "icon_home", "icon_status" };
- }
+ this.menuPics = new PictureBox[] { this.picIconHome, this.picIconStatus, this.picIconDev, this.picIconCounter, this.picIconMeasure, this.picIconData, this.picIconSetting };
+ this.menuLabels = new Label[] { this.labHomeText, this.labStatusText, this.labDevText, this.labCounterText, this.labMeasureText, this.labDataText, this.labSettingText };
+ this.menuUnderlines = new Label[] { this.labHomeSelected, this.labStatusSelected, this.labDevSelected, this.labCounterSelected, this.labMeasureSelected, this.labDataSelected, this.labSettingSelected };
+ this.menuIconResources = new string[] { "icon_home", "icon_status", "icon_dev", "icon_counter", "icon_measure", "icon_data", "icon_setting" };
- private void btnExitSys_Click(object sender, EventArgs e)
- {
- Application.Exit();
- }
-
- private void btnExitSys_MouseHover(object sender, EventArgs e)
- {
- ToolTip p = new ToolTip();
- p.ShowAlways = true;
- p.SetToolTip(this.btnExitSys, "退出");
+ // 加载首页的内容
+ switchMainPanel(0);
}
private void panHome_Click(object sender, EventArgs e)
@@ -191,5 +351,169 @@
LeaveStatus();
}
}
+
+ private void panDev_Click(object sender, EventArgs e)
+ {
+ if (this.menuSelected[2] == false)
+ {
+ SelectDev();
+ }
+ }
+
+ private void panDev_MouseHover(object sender, EventArgs e)
+ {
+ if (this.menuSelected[2] == false)
+ {
+ HoverDev();
+ }
+ }
+
+ private void panDev_MouseLeave(object sender, EventArgs e)
+ {
+ if (this.menuSelected[2] == false)
+ {
+ LeaveDev();
+ }
+ }
+
+ private void panCounter_Click(object sender, EventArgs e)
+ {
+ if (this.menuSelected[3] == false)
+ {
+ SelectCounter();
+ }
+ }
+
+ private void panCounter_MouseHover(object sender, EventArgs e)
+ {
+ if (this.menuSelected[3] == false)
+ {
+ HoverCounter();
+ }
+ }
+
+ private void panCounter_MouseLeave(object sender, EventArgs e)
+ {
+ if (this.menuSelected[3] == false)
+ {
+ LeaveCounter();
+ }
+ }
+
+ private void panMeasure_Click(object sender, EventArgs e)
+ {
+ if (this.menuSelected[4] == false)
+ {
+ SelectMeasure();
+ }
+ }
+
+ private void panMeasure_MouseHover(object sender, EventArgs e)
+ {
+ if (this.menuSelected[4] == false)
+ {
+ HoverMeasure();
+ }
+ }
+
+ private void panMeasure_MouseLeave(object sender, EventArgs e)
+ {
+ if (this.menuSelected[4] == false)
+ {
+ LeaveMeasure();
+ }
+ }
+
+ private void panData_Click(object sender, EventArgs e)
+ {
+ if (this.menuSelected[5] == false)
+ {
+ SelectData();
+ }
+ }
+
+ private void panData_MouseHover(object sender, EventArgs e)
+ {
+ if (this.menuSelected[5] == false)
+ {
+ HoverData();
+ }
+ }
+
+ private void panData_MouseLeave(object sender, EventArgs e)
+ {
+ if (this.menuSelected[5] == false)
+ {
+ LeaveData();
+ }
+ }
+
+ private void panSetting_Click(object sender, EventArgs e)
+ {
+ if (this.menuSelected[6] == false)
+ {
+ SelectSetting();
+ }
+ }
+
+ private void panSetting_MouseHover(object sender, EventArgs e)
+ {
+ if (this.menuSelected[6] == false)
+ {
+ HoverSetting();
+ }
+ }
+
+ private void panSetting_MouseLeave(object sender, EventArgs e)
+ {
+ if (this.menuSelected[6] == false)
+ {
+ LeaveSetting();
+ }
+ }
+
+ private void switchMainPanel(int index)
+ {
+ this.panelMain.Controls.Clear();
+
+ switch (index)
+ {
+ case 0: // 首页
+ HomeCtrlForm home = new HomeCtrlForm();
+ home.Show();
+ this.panelMain.Controls.Add(home);
+ break;
+
+ case 1: // 基准状态
+ StatusCtrlForm statusForm = new StatusCtrlForm();
+ statusForm.Show();
+ this.panelMain.Controls.Add(statusForm);
+ break;
+
+ case 2: // 待检设备
+ InfoCtrlForm infoForm = new InfoCtrlForm();
+ infoForm.Show();
+ this.panelMain.Controls.Add(infoForm);
+ break;
+
+ case 3: // 频率计数器范围
+ break;
+
+ case 4: // 计量信息
+ DevTestedCtrlForm tested = new DevTestedCtrlForm();
+ tested.Show();
+ this.panelMain.Controls.Add(tested);
+ break;
+
+ case 6: // 设置
+ SettingCtrlForm settingForm = new SettingCtrlForm();
+ settingForm.Show();
+ this.panelMain.Controls.Add(settingForm);
+ break;
+
+ default:
+ break;
+ }
+ }
}
}
\ No newline at end of file
diff --git a/RbFreqStandMeasure/StatusCtrlForm.Designer.cs b/RbFreqStandMeasure/StatusCtrlForm.Designer.cs
index bf5071a..b4151fd 100644
--- a/RbFreqStandMeasure/StatusCtrlForm.Designer.cs
+++ b/RbFreqStandMeasure/StatusCtrlForm.Designer.cs
@@ -31,21 +31,34 @@
{
this.panelSite = new System.Windows.Forms.Panel();
this.label5 = new System.Windows.Forms.Label();
- this.panelStatus = new System.Windows.Forms.Panel();
+ this.panel3 = new System.Windows.Forms.Panel();
+ this.label8 = new System.Windows.Forms.Label();
+ this.label13 = new System.Windows.Forms.Label();
+ this.label12 = new System.Windows.Forms.Label();
+ this.label11 = new System.Windows.Forms.Label();
+ this.label9 = new System.Windows.Forms.Label();
+ this.label10 = new System.Windows.Forms.Label();
+ this.panel2 = new System.Windows.Forms.Panel();
this.label4 = new System.Windows.Forms.Label();
+ this.label7 = new System.Windows.Forms.Label();
+ this.label6 = new System.Windows.Forms.Label();
+ this.label1 = new System.Windows.Forms.Label();
+ this.panel1 = new System.Windows.Forms.Panel();
this.label3 = new System.Windows.Forms.Label();
this.label2 = new System.Windows.Forms.Label();
- this.label1 = new System.Windows.Forms.Label();
+ this.label14 = new System.Windows.Forms.Label();
this.panelSite.SuspendLayout();
- this.panelStatus.SuspendLayout();
+ this.panel3.SuspendLayout();
+ this.panel2.SuspendLayout();
+ this.panel1.SuspendLayout();
this.SuspendLayout();
//
// panelSite
//
this.panelSite.Controls.Add(this.label5);
- this.panelSite.Location = new System.Drawing.Point(200, 0);
+ this.panelSite.Location = new System.Drawing.Point(232, 0);
this.panelSite.Name = "panelSite";
- this.panelSite.Size = new System.Drawing.Size(800, 640);
+ this.panelSite.Size = new System.Drawing.Size(773, 640);
this.panelSite.TabIndex = 3;
//
// label5
@@ -57,67 +70,208 @@
this.label5.TabIndex = 0;
this.label5.Text = "卫星位置图";
//
- // panelStatus
+ // panel3
//
- this.panelStatus.BackColor = System.Drawing.SystemColors.Window;
- this.panelStatus.Controls.Add(this.label4);
- this.panelStatus.Controls.Add(this.label3);
- this.panelStatus.Controls.Add(this.label2);
- this.panelStatus.Controls.Add(this.label1);
- this.panelStatus.Location = new System.Drawing.Point(0, 0);
- this.panelStatus.Name = "panelStatus";
- this.panelStatus.Size = new System.Drawing.Size(200, 640);
- this.panelStatus.TabIndex = 2;
+ this.panel3.BackgroundImage = global::Casic.Birmm.RbFreqStandMeasure.Properties.Resources.bg_status_location;
+ this.panel3.Controls.Add(this.label8);
+ this.panel3.Controls.Add(this.label13);
+ this.panel3.Controls.Add(this.label12);
+ this.panel3.Controls.Add(this.label11);
+ this.panel3.Controls.Add(this.label9);
+ this.panel3.Controls.Add(this.label10);
+ this.panel3.Location = new System.Drawing.Point(6, 360);
+ this.panel3.Name = "panel3";
+ this.panel3.Size = new System.Drawing.Size(224, 293);
+ this.panel3.TabIndex = 6;
+ //
+ // label8
+ //
+ this.label8.BackColor = System.Drawing.Color.Transparent;
+ this.label8.Font = new System.Drawing.Font("微软雅黑", 14F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Pixel, ((byte)(134)));
+ this.label8.Location = new System.Drawing.Point(0, 20);
+ this.label8.Name = "label8";
+ this.label8.Size = new System.Drawing.Size(224, 25);
+ this.label8.TabIndex = 0;
+ this.label8.Text = "位置信息";
+ this.label8.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
+ //
+ // label13
+ //
+ this.label13.BackColor = System.Drawing.Color.Transparent;
+ this.label13.Font = new System.Drawing.Font("微软雅黑", 14F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Pixel, ((byte)(134)));
+ this.label13.Location = new System.Drawing.Point(0, 220);
+ this.label13.Margin = new System.Windows.Forms.Padding(0);
+ this.label13.Name = "label13";
+ this.label13.Size = new System.Drawing.Size(75, 25);
+ this.label13.TabIndex = 1;
+ this.label13.Text = "Z";
+ this.label13.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
+ //
+ // label12
+ //
+ this.label12.BackColor = System.Drawing.Color.Transparent;
+ this.label12.Font = new System.Drawing.Font("微软雅黑", 14F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Pixel, ((byte)(134)));
+ this.label12.Location = new System.Drawing.Point(0, 180);
+ this.label12.Margin = new System.Windows.Forms.Padding(0);
+ this.label12.Name = "label12";
+ this.label12.Size = new System.Drawing.Size(75, 25);
+ this.label12.TabIndex = 1;
+ this.label12.Text = "Y";
+ this.label12.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
+ //
+ // label11
+ //
+ this.label11.BackColor = System.Drawing.Color.Transparent;
+ this.label11.Font = new System.Drawing.Font("微软雅黑", 14F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Pixel, ((byte)(134)));
+ this.label11.Location = new System.Drawing.Point(0, 140);
+ this.label11.Margin = new System.Windows.Forms.Padding(0);
+ this.label11.Name = "label11";
+ this.label11.Size = new System.Drawing.Size(75, 25);
+ this.label11.TabIndex = 1;
+ this.label11.Text = "X";
+ this.label11.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
+ //
+ // label9
+ //
+ this.label9.BackColor = System.Drawing.Color.Transparent;
+ this.label9.Font = new System.Drawing.Font("微软雅黑", 14F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Pixel, ((byte)(134)));
+ this.label9.Location = new System.Drawing.Point(0, 60);
+ this.label9.Name = "label9";
+ this.label9.Size = new System.Drawing.Size(75, 25);
+ this.label9.TabIndex = 1;
+ this.label9.Text = "经度";
+ this.label9.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
+ //
+ // label10
+ //
+ this.label10.BackColor = System.Drawing.Color.Transparent;
+ this.label10.Font = new System.Drawing.Font("微软雅黑", 14F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Pixel, ((byte)(134)));
+ this.label10.Location = new System.Drawing.Point(0, 100);
+ this.label10.Margin = new System.Windows.Forms.Padding(0);
+ this.label10.Name = "label10";
+ this.label10.Size = new System.Drawing.Size(75, 25);
+ this.label10.TabIndex = 1;
+ this.label10.Text = "纬度";
+ this.label10.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
+ //
+ // panel2
+ //
+ this.panel2.BackgroundImage = global::Casic.Birmm.RbFreqStandMeasure.Properties.Resources.bg_status_time;
+ this.panel2.Controls.Add(this.label4);
+ this.panel2.Controls.Add(this.label7);
+ this.panel2.Controls.Add(this.label6);
+ this.panel2.Controls.Add(this.label1);
+ this.panel2.Location = new System.Drawing.Point(6, 160);
+ this.panel2.Name = "panel2";
+ this.panel2.Size = new System.Drawing.Size(224, 200);
+ this.panel2.TabIndex = 5;
//
// label4
//
- this.label4.AutoSize = true;
- this.label4.Location = new System.Drawing.Point(59, 185);
+ this.label4.BackColor = System.Drawing.Color.Transparent;
+ this.label4.Font = new System.Drawing.Font("微软雅黑", 14F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Pixel, ((byte)(134)));
+ this.label4.Location = new System.Drawing.Point(0, 20);
this.label4.Name = "label4";
- this.label4.Size = new System.Drawing.Size(53, 12);
+ this.label4.Size = new System.Drawing.Size(224, 25);
this.label4.TabIndex = 0;
- this.label4.Text = "事件信息";
+ this.label4.Text = "时间信息";
+ this.label4.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
//
- // label3
+ // label7
//
- this.label3.AutoSize = true;
- this.label3.Location = new System.Drawing.Point(59, 139);
- this.label3.Name = "label3";
- this.label3.Size = new System.Drawing.Size(53, 12);
- this.label3.TabIndex = 0;
- this.label3.Text = "位置信息";
+ this.label7.BackColor = System.Drawing.Color.Transparent;
+ this.label7.Font = new System.Drawing.Font("微软雅黑", 14F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Pixel, ((byte)(134)));
+ this.label7.Location = new System.Drawing.Point(0, 140);
+ this.label7.Margin = new System.Windows.Forms.Padding(0);
+ this.label7.Name = "label7";
+ this.label7.Size = new System.Drawing.Size(75, 25);
+ this.label7.TabIndex = 1;
+ this.label7.Text = "MJD";
+ this.label7.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
//
- // label2
+ // label6
//
- this.label2.AutoSize = true;
- this.label2.Location = new System.Drawing.Point(59, 98);
- this.label2.Name = "label2";
- this.label2.Size = new System.Drawing.Size(53, 12);
- this.label2.TabIndex = 0;
- this.label2.Text = "锁定状态";
+ this.label6.BackColor = System.Drawing.Color.Transparent;
+ this.label6.Font = new System.Drawing.Font("微软雅黑", 14F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Pixel, ((byte)(134)));
+ this.label6.Location = new System.Drawing.Point(0, 100);
+ this.label6.Name = "label6";
+ this.label6.Size = new System.Drawing.Size(75, 25);
+ this.label6.TabIndex = 1;
+ this.label6.Text = "时间";
+ this.label6.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
//
// label1
//
- this.label1.AutoSize = true;
- this.label1.Location = new System.Drawing.Point(33, 53);
+ this.label1.BackColor = System.Drawing.Color.Transparent;
+ this.label1.Font = new System.Drawing.Font("微软雅黑", 14F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Pixel, ((byte)(134)));
+ this.label1.Location = new System.Drawing.Point(0, 60);
this.label1.Name = "label1";
- this.label1.Size = new System.Drawing.Size(29, 12);
- this.label1.TabIndex = 0;
- this.label1.Text = "状态";
+ this.label1.Size = new System.Drawing.Size(75, 25);
+ this.label1.TabIndex = 1;
+ this.label1.Text = "日期";
+ this.label1.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
+ //
+ // panel1
+ //
+ this.panel1.BackgroundImage = global::Casic.Birmm.RbFreqStandMeasure.Properties.Resources.bg_status_base;
+ this.panel1.Controls.Add(this.label3);
+ this.panel1.Controls.Add(this.label2);
+ this.panel1.Controls.Add(this.label14);
+ this.panel1.Location = new System.Drawing.Point(6, 0);
+ this.panel1.Margin = new System.Windows.Forms.Padding(0);
+ this.panel1.Name = "panel1";
+ this.panel1.Size = new System.Drawing.Size(224, 160);
+ this.panel1.TabIndex = 4;
+ //
+ // label3
+ //
+ this.label3.BackColor = System.Drawing.Color.Transparent;
+ this.label3.Font = new System.Drawing.Font("微软雅黑", 14F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Pixel, ((byte)(134)));
+ this.label3.Location = new System.Drawing.Point(0, 100);
+ this.label3.Name = "label3";
+ this.label3.Size = new System.Drawing.Size(75, 25);
+ this.label3.TabIndex = 1;
+ this.label3.Text = "接收机";
+ this.label3.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
+ //
+ // label2
+ //
+ this.label2.BackColor = System.Drawing.Color.Transparent;
+ this.label2.Font = new System.Drawing.Font("微软雅黑", 14F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Pixel, ((byte)(134)));
+ this.label2.Location = new System.Drawing.Point(0, 60);
+ this.label2.Name = "label2";
+ this.label2.Size = new System.Drawing.Size(75, 25);
+ this.label2.TabIndex = 1;
+ this.label2.Text = "原子钟";
+ this.label2.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
+ //
+ // label14
+ //
+ this.label14.BackColor = System.Drawing.Color.Transparent;
+ this.label14.Font = new System.Drawing.Font("微软雅黑", 14F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Pixel, ((byte)(134)));
+ this.label14.Location = new System.Drawing.Point(0, 20);
+ this.label14.Name = "label14";
+ this.label14.Size = new System.Drawing.Size(224, 25);
+ this.label14.TabIndex = 0;
+ this.label14.Text = "基本信息";
+ this.label14.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
//
// StatusCtrlForm
//
this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 12F);
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
+ this.Controls.Add(this.panel3);
+ this.Controls.Add(this.panel2);
+ this.Controls.Add(this.panel1);
this.Controls.Add(this.panelSite);
- this.Controls.Add(this.panelStatus);
this.Margin = new System.Windows.Forms.Padding(10);
this.Name = "StatusCtrlForm";
- this.Size = new System.Drawing.Size(1000, 640);
+ this.Size = new System.Drawing.Size(1024, 654);
this.panelSite.ResumeLayout(false);
this.panelSite.PerformLayout();
- this.panelStatus.ResumeLayout(false);
- this.panelStatus.PerformLayout();
+ this.panel3.ResumeLayout(false);
+ this.panel2.ResumeLayout(false);
+ this.panel1.ResumeLayout(false);
this.ResumeLayout(false);
}
@@ -126,10 +280,21 @@
private System.Windows.Forms.Panel panelSite;
private System.Windows.Forms.Label label5;
- private System.Windows.Forms.Panel panelStatus;
+ private System.Windows.Forms.Panel panel3;
+ private System.Windows.Forms.Label label8;
+ private System.Windows.Forms.Label label13;
+ private System.Windows.Forms.Label label12;
+ private System.Windows.Forms.Label label11;
+ private System.Windows.Forms.Label label9;
+ private System.Windows.Forms.Label label10;
+ private System.Windows.Forms.Panel panel2;
private System.Windows.Forms.Label label4;
+ private System.Windows.Forms.Label label7;
+ private System.Windows.Forms.Label label6;
+ private System.Windows.Forms.Label label1;
+ private System.Windows.Forms.Panel panel1;
private System.Windows.Forms.Label label3;
private System.Windows.Forms.Label label2;
- private System.Windows.Forms.Label label1;
+ private System.Windows.Forms.Label label14;
}
}
diff --git a/RbFreqStandMeasure/HomeCtrlForm.Designer.cs b/RbFreqStandMeasure/HomeCtrlForm.Designer.cs
index fb515f8..73e477a 100644
--- a/RbFreqStandMeasure/HomeCtrlForm.Designer.cs
+++ b/RbFreqStandMeasure/HomeCtrlForm.Designer.cs
@@ -29,589 +29,271 @@
///
private void InitializeComponent()
{
- System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle1 = new System.Windows.Forms.DataGridViewCellStyle();
- System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle2 = new System.Windows.Forms.DataGridViewCellStyle();
- this.panelToBeTested = new System.Windows.Forms.Panel();
- this.dataGridViewX1 = new DevComponents.DotNetBar.Controls.DataGridViewX();
- this.Column13 = new System.Windows.Forms.DataGridViewTextBoxColumn();
- this.Column14 = new System.Windows.Forms.DataGridViewTextBoxColumn();
- this.Column15 = new System.Windows.Forms.DataGridViewTextBoxColumn();
- this.Column16 = new System.Windows.Forms.DataGridViewTextBoxColumn();
- this.Column17 = new System.Windows.Forms.DataGridViewTextBoxColumn();
- this.panelEx1 = new DevComponents.DotNetBar.PanelEx();
- this.labelX6 = new DevComponents.DotNetBar.LabelX();
- this.labelX5 = new DevComponents.DotNetBar.LabelX();
- this.labelX4 = new DevComponents.DotNetBar.LabelX();
- this.labelX3 = new DevComponents.DotNetBar.LabelX();
- this.labelX2 = new DevComponents.DotNetBar.LabelX();
- this.labelX1 = new DevComponents.DotNetBar.LabelX();
- this.panelEx2 = new DevComponents.DotNetBar.PanelEx();
- this.labelX7 = new DevComponents.DotNetBar.LabelX();
- this.labelX8 = new DevComponents.DotNetBar.LabelX();
- this.labelX10 = new DevComponents.DotNetBar.LabelX();
- this.labelX9 = new DevComponents.DotNetBar.LabelX();
- this.panelEx3 = new DevComponents.DotNetBar.PanelEx();
- this.labelX11 = new DevComponents.DotNetBar.LabelX();
- this.labelX13 = new DevComponents.DotNetBar.LabelX();
- this.labelX12 = new DevComponents.DotNetBar.LabelX();
- this.panelEx4 = new DevComponents.DotNetBar.PanelEx();
- this.dataGridViewX2 = new DevComponents.DotNetBar.Controls.DataGridViewX();
- this.Column18 = new System.Windows.Forms.DataGridViewTextBoxColumn();
- this.Column19 = new System.Windows.Forms.DataGridViewTextBoxColumn();
- this.Column20 = new System.Windows.Forms.DataGridViewTextBoxColumn();
- this.Column21 = new System.Windows.Forms.DataGridViewTextBoxColumn();
- this.Column22 = new System.Windows.Forms.DataGridViewTextBoxColumn();
- this.Column23 = new System.Windows.Forms.DataGridViewTextBoxColumn();
- this.Column24 = new System.Windows.Forms.DataGridViewTextBoxColumn();
- this.Column25 = new System.Windows.Forms.DataGridViewTextBoxColumn();
- this.Column26 = new System.Windows.Forms.DataGridViewTextBoxColumn();
- this.Column27 = new System.Windows.Forms.DataGridViewTextBoxColumn();
- this.Column28 = new System.Windows.Forms.DataGridViewTextBoxColumn();
- this.Column29 = new System.Windows.Forms.DataGridViewTextBoxColumn();
- this.buttonX1 = new DevComponents.DotNetBar.ButtonX();
- this.buttonX2 = new DevComponents.DotNetBar.ButtonX();
+ this.panel3 = new System.Windows.Forms.Panel();
+ this.panel2 = new System.Windows.Forms.Panel();
+ this.panel1 = new System.Windows.Forms.Panel();
+ this.panel4 = new System.Windows.Forms.Panel();
+ this.panel5 = new System.Windows.Forms.Panel();
this.label1 = new System.Windows.Forms.Label();
this.label2 = new System.Windows.Forms.Label();
- this.panelToBeTested.SuspendLayout();
- ((System.ComponentModel.ISupportInitialize)(this.dataGridViewX1)).BeginInit();
- this.panelEx1.SuspendLayout();
- this.panelEx2.SuspendLayout();
- this.panelEx3.SuspendLayout();
- this.panelEx4.SuspendLayout();
- ((System.ComponentModel.ISupportInitialize)(this.dataGridViewX2)).BeginInit();
+ this.label3 = new System.Windows.Forms.Label();
+ this.label4 = new System.Windows.Forms.Label();
+ this.label5 = new System.Windows.Forms.Label();
+ this.label6 = new System.Windows.Forms.Label();
+ this.label7 = new System.Windows.Forms.Label();
+ this.label8 = new System.Windows.Forms.Label();
+ this.label9 = new System.Windows.Forms.Label();
+ this.label10 = new System.Windows.Forms.Label();
+ this.label11 = new System.Windows.Forms.Label();
+ this.label12 = new System.Windows.Forms.Label();
+ this.label13 = new System.Windows.Forms.Label();
+ this.panel3.SuspendLayout();
+ this.panel2.SuspendLayout();
+ this.panel1.SuspendLayout();
this.SuspendLayout();
//
- // panelToBeTested
+ // panel3
//
- this.panelToBeTested.Controls.Add(this.dataGridViewX1);
- this.panelToBeTested.Controls.Add(this.buttonX2);
- this.panelToBeTested.Controls.Add(this.buttonX1);
- this.panelToBeTested.Location = new System.Drawing.Point(250, 0);
- this.panelToBeTested.Name = "panelToBeTested";
- this.panelToBeTested.Size = new System.Drawing.Size(750, 216);
- this.panelToBeTested.TabIndex = 4;
+ this.panel3.BackgroundImage = global::Casic.Birmm.RbFreqStandMeasure.Properties.Resources.bg_status_location;
+ this.panel3.Controls.Add(this.label8);
+ this.panel3.Controls.Add(this.label13);
+ this.panel3.Controls.Add(this.label12);
+ this.panel3.Controls.Add(this.label11);
+ this.panel3.Controls.Add(this.label9);
+ this.panel3.Controls.Add(this.label10);
+ this.panel3.Location = new System.Drawing.Point(6, 360);
+ this.panel3.Name = "panel3";
+ this.panel3.Size = new System.Drawing.Size(224, 293);
+ this.panel3.TabIndex = 2;
//
- // dataGridViewX1
+ // panel2
//
- this.dataGridViewX1.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.AutoSize;
- this.dataGridViewX1.Columns.AddRange(new System.Windows.Forms.DataGridViewColumn[] {
- this.Column13,
- this.Column14,
- this.Column15,
- this.Column16,
- this.Column17});
- dataGridViewCellStyle1.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleLeft;
- dataGridViewCellStyle1.BackColor = System.Drawing.SystemColors.Window;
- dataGridViewCellStyle1.Font = new System.Drawing.Font("宋体", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
- dataGridViewCellStyle1.ForeColor = System.Drawing.SystemColors.ControlText;
- dataGridViewCellStyle1.SelectionBackColor = System.Drawing.SystemColors.Highlight;
- dataGridViewCellStyle1.SelectionForeColor = System.Drawing.SystemColors.ControlText;
- dataGridViewCellStyle1.WrapMode = System.Windows.Forms.DataGridViewTriState.False;
- this.dataGridViewX1.DefaultCellStyle = dataGridViewCellStyle1;
- this.dataGridViewX1.GridColor = System.Drawing.Color.FromArgb(((int)(((byte)(208)))), ((int)(((byte)(215)))), ((int)(((byte)(229)))));
- this.dataGridViewX1.Location = new System.Drawing.Point(0, 1);
- this.dataGridViewX1.Name = "dataGridViewX1";
- this.dataGridViewX1.RowTemplate.Height = 23;
- this.dataGridViewX1.Size = new System.Drawing.Size(750, 179);
- this.dataGridViewX1.TabIndex = 14;
+ this.panel2.BackgroundImage = global::Casic.Birmm.RbFreqStandMeasure.Properties.Resources.bg_status_time;
+ this.panel2.Controls.Add(this.label4);
+ this.panel2.Controls.Add(this.label7);
+ this.panel2.Controls.Add(this.label6);
+ this.panel2.Controls.Add(this.label5);
+ this.panel2.Location = new System.Drawing.Point(6, 160);
+ this.panel2.Name = "panel2";
+ this.panel2.Size = new System.Drawing.Size(224, 200);
+ this.panel2.TabIndex = 1;
//
- // Column13
+ // panel1
//
- this.Column13.HeaderText = "仪器名称";
- this.Column13.Name = "Column13";
+ this.panel1.BackgroundImage = global::Casic.Birmm.RbFreqStandMeasure.Properties.Resources.bg_status_base;
+ this.panel1.Controls.Add(this.label3);
+ this.panel1.Controls.Add(this.label2);
+ this.panel1.Controls.Add(this.label1);
+ this.panel1.Location = new System.Drawing.Point(6, 0);
+ this.panel1.Margin = new System.Windows.Forms.Padding(0);
+ this.panel1.Name = "panel1";
+ this.panel1.Size = new System.Drawing.Size(224, 160);
+ this.panel1.TabIndex = 0;
//
- // Column14
+ // panel4
//
- this.Column14.HeaderText = "仪器类型";
- this.Column14.Name = "Column14";
+ this.panel4.BackgroundImage = global::Casic.Birmm.RbFreqStandMeasure.Properties.Resources.bg_dev_tested;
+ this.panel4.Location = new System.Drawing.Point(230, 0);
+ this.panel4.Margin = new System.Windows.Forms.Padding(0);
+ this.panel4.Name = "panel4";
+ this.panel4.Size = new System.Drawing.Size(788, 226);
+ this.panel4.TabIndex = 3;
//
- // Column15
+ // panel5
//
- this.Column15.HeaderText = "仪器编号";
- this.Column15.Name = "Column15";
- //
- // Column16
- //
- this.Column16.HeaderText = "客户名称";
- this.Column16.Name = "Column16";
- //
- // Column17
- //
- this.Column17.HeaderText = "开始时间";
- this.Column17.Name = "Column17";
- //
- // panelEx1
- //
- this.panelEx1.CanvasColor = System.Drawing.SystemColors.Control;
- this.panelEx1.ColorSchemeStyle = DevComponents.DotNetBar.eDotNetBarStyle.StyleManagerControlled;
- this.panelEx1.Controls.Add(this.labelX6);
- this.panelEx1.Controls.Add(this.labelX5);
- this.panelEx1.Controls.Add(this.labelX4);
- this.panelEx1.Controls.Add(this.labelX3);
- this.panelEx1.Controls.Add(this.labelX2);
- this.panelEx1.Controls.Add(this.labelX1);
- this.panelEx1.DisabledBackColor = System.Drawing.Color.Empty;
- this.panelEx1.Location = new System.Drawing.Point(25, 376);
- this.panelEx1.Name = "panelEx1";
- this.panelEx1.Size = new System.Drawing.Size(200, 200);
- this.panelEx1.Style.Alignment = System.Drawing.StringAlignment.Center;
- this.panelEx1.Style.BackColor1.ColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelBackground;
- this.panelEx1.Style.BackColor2.ColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelBackground2;
- this.panelEx1.Style.Border = DevComponents.DotNetBar.eBorderType.SingleLine;
- this.panelEx1.Style.BorderColor.ColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelBorder;
- this.panelEx1.Style.ForeColor.ColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelText;
- this.panelEx1.Style.GradientAngle = 90;
- this.panelEx1.TabIndex = 10;
- //
- // labelX6
- //
- //
- //
- //
- this.labelX6.BackgroundStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square;
- this.labelX6.Location = new System.Drawing.Point(3, 153);
- this.labelX6.Name = "labelX6";
- this.labelX6.Size = new System.Drawing.Size(75, 23);
- this.labelX6.Style = DevComponents.DotNetBar.eDotNetBarStyle.Office2013;
- this.labelX6.TabIndex = 0;
- this.labelX6.Text = "Z";
- this.labelX6.TextAlignment = System.Drawing.StringAlignment.Center;
- //
- // labelX5
- //
- //
- //
- //
- this.labelX5.BackgroundStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square;
- this.labelX5.Location = new System.Drawing.Point(3, 124);
- this.labelX5.Name = "labelX5";
- this.labelX5.Size = new System.Drawing.Size(75, 23);
- this.labelX5.Style = DevComponents.DotNetBar.eDotNetBarStyle.Office2013;
- this.labelX5.TabIndex = 0;
- this.labelX5.Text = "Y";
- this.labelX5.TextAlignment = System.Drawing.StringAlignment.Center;
- //
- // labelX4
- //
- //
- //
- //
- this.labelX4.BackgroundStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square;
- this.labelX4.Location = new System.Drawing.Point(3, 95);
- this.labelX4.Name = "labelX4";
- this.labelX4.Size = new System.Drawing.Size(75, 23);
- this.labelX4.Style = DevComponents.DotNetBar.eDotNetBarStyle.Office2013;
- this.labelX4.TabIndex = 0;
- this.labelX4.Text = "X";
- this.labelX4.TextAlignment = System.Drawing.StringAlignment.Center;
- //
- // labelX3
- //
- //
- //
- //
- this.labelX3.BackgroundStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square;
- this.labelX3.Location = new System.Drawing.Point(3, 66);
- this.labelX3.Name = "labelX3";
- this.labelX3.Size = new System.Drawing.Size(75, 23);
- this.labelX3.Style = DevComponents.DotNetBar.eDotNetBarStyle.Office2013;
- this.labelX3.TabIndex = 0;
- this.labelX3.Text = "纬度";
- this.labelX3.TextAlignment = System.Drawing.StringAlignment.Center;
- //
- // labelX2
- //
- //
- //
- //
- this.labelX2.BackgroundStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square;
- this.labelX2.Location = new System.Drawing.Point(3, 37);
- this.labelX2.Name = "labelX2";
- this.labelX2.Size = new System.Drawing.Size(75, 23);
- this.labelX2.Style = DevComponents.DotNetBar.eDotNetBarStyle.Office2013;
- this.labelX2.TabIndex = 0;
- this.labelX2.Text = "经度";
- this.labelX2.TextAlignment = System.Drawing.StringAlignment.Center;
- //
- // labelX1
- //
- //
- //
- //
- this.labelX1.BackgroundStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square;
- this.labelX1.Location = new System.Drawing.Point(3, 3);
- this.labelX1.Name = "labelX1";
- this.labelX1.Size = new System.Drawing.Size(194, 23);
- this.labelX1.Style = DevComponents.DotNetBar.eDotNetBarStyle.Office2013;
- this.labelX1.TabIndex = 0;
- this.labelX1.Text = "位置信息";
- this.labelX1.TextAlignment = System.Drawing.StringAlignment.Center;
- //
- // panelEx2
- //
- this.panelEx2.CanvasColor = System.Drawing.SystemColors.Control;
- this.panelEx2.ColorSchemeStyle = DevComponents.DotNetBar.eDotNetBarStyle.StyleManagerControlled;
- this.panelEx2.Controls.Add(this.labelX7);
- this.panelEx2.Controls.Add(this.labelX8);
- this.panelEx2.Controls.Add(this.labelX10);
- this.panelEx2.Controls.Add(this.labelX9);
- this.panelEx2.DisabledBackColor = System.Drawing.Color.Empty;
- this.panelEx2.Location = new System.Drawing.Point(25, 190);
- this.panelEx2.Name = "panelEx2";
- this.panelEx2.Size = new System.Drawing.Size(200, 150);
- this.panelEx2.Style.Alignment = System.Drawing.StringAlignment.Center;
- this.panelEx2.Style.BackColor1.ColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelBackground;
- this.panelEx2.Style.BackColor2.ColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelBackground2;
- this.panelEx2.Style.Border = DevComponents.DotNetBar.eBorderType.SingleLine;
- this.panelEx2.Style.BorderColor.ColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelBorder;
- this.panelEx2.Style.ForeColor.ColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelText;
- this.panelEx2.Style.GradientAngle = 90;
- this.panelEx2.TabIndex = 10;
- //
- // labelX7
- //
- //
- //
- //
- this.labelX7.BackgroundStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square;
- this.labelX7.Location = new System.Drawing.Point(3, 3);
- this.labelX7.Name = "labelX7";
- this.labelX7.Size = new System.Drawing.Size(194, 23);
- this.labelX7.Style = DevComponents.DotNetBar.eDotNetBarStyle.Office2013;
- this.labelX7.TabIndex = 0;
- this.labelX7.Text = "时间信息";
- this.labelX7.TextAlignment = System.Drawing.StringAlignment.Center;
- //
- // labelX8
- //
- //
- //
- //
- this.labelX8.BackgroundStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square;
- this.labelX8.Location = new System.Drawing.Point(3, 41);
- this.labelX8.Name = "labelX8";
- this.labelX8.Size = new System.Drawing.Size(75, 23);
- this.labelX8.Style = DevComponents.DotNetBar.eDotNetBarStyle.Office2013;
- this.labelX8.TabIndex = 0;
- this.labelX8.Text = "日期";
- this.labelX8.TextAlignment = System.Drawing.StringAlignment.Center;
- //
- // labelX10
- //
- //
- //
- //
- this.labelX10.BackgroundStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square;
- this.labelX10.Location = new System.Drawing.Point(3, 99);
- this.labelX10.Name = "labelX10";
- this.labelX10.Size = new System.Drawing.Size(75, 23);
- this.labelX10.Style = DevComponents.DotNetBar.eDotNetBarStyle.Office2013;
- this.labelX10.TabIndex = 0;
- this.labelX10.Text = "MJD";
- this.labelX10.TextAlignment = System.Drawing.StringAlignment.Center;
- //
- // labelX9
- //
- //
- //
- //
- this.labelX9.BackgroundStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square;
- this.labelX9.Location = new System.Drawing.Point(3, 70);
- this.labelX9.Name = "labelX9";
- this.labelX9.Size = new System.Drawing.Size(75, 23);
- this.labelX9.Style = DevComponents.DotNetBar.eDotNetBarStyle.Office2013;
- this.labelX9.TabIndex = 0;
- this.labelX9.Text = "时间";
- this.labelX9.TextAlignment = System.Drawing.StringAlignment.Center;
- //
- // panelEx3
- //
- this.panelEx3.CanvasColor = System.Drawing.SystemColors.Control;
- this.panelEx3.ColorSchemeStyle = DevComponents.DotNetBar.eDotNetBarStyle.StyleManagerControlled;
- this.panelEx3.Controls.Add(this.labelX11);
- this.panelEx3.Controls.Add(this.labelX13);
- this.panelEx3.Controls.Add(this.labelX12);
- this.panelEx3.DisabledBackColor = System.Drawing.Color.Empty;
- this.panelEx3.Location = new System.Drawing.Point(25, 50);
- this.panelEx3.Name = "panelEx3";
- this.panelEx3.Size = new System.Drawing.Size(200, 100);
- this.panelEx3.Style.Alignment = System.Drawing.StringAlignment.Center;
- this.panelEx3.Style.BackColor1.ColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelBackground;
- this.panelEx3.Style.BackColor2.ColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelBackground2;
- this.panelEx3.Style.Border = DevComponents.DotNetBar.eBorderType.SingleLine;
- this.panelEx3.Style.BorderColor.ColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelBorder;
- this.panelEx3.Style.ForeColor.ColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelText;
- this.panelEx3.Style.GradientAngle = 90;
- this.panelEx3.TabIndex = 10;
- //
- // labelX11
- //
- //
- //
- //
- this.labelX11.BackgroundStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square;
- this.labelX11.Location = new System.Drawing.Point(3, 3);
- this.labelX11.Name = "labelX11";
- this.labelX11.Size = new System.Drawing.Size(194, 23);
- this.labelX11.Style = DevComponents.DotNetBar.eDotNetBarStyle.Office2013;
- this.labelX11.TabIndex = 0;
- this.labelX11.Text = "基本信息";
- this.labelX11.TextAlignment = System.Drawing.StringAlignment.Center;
- //
- // labelX13
- //
- //
- //
- //
- this.labelX13.BackgroundStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square;
- this.labelX13.Location = new System.Drawing.Point(3, 32);
- this.labelX13.Name = "labelX13";
- this.labelX13.Size = new System.Drawing.Size(75, 23);
- this.labelX13.Style = DevComponents.DotNetBar.eDotNetBarStyle.Office2013;
- this.labelX13.TabIndex = 0;
- this.labelX13.Text = "原子钟";
- this.labelX13.TextAlignment = System.Drawing.StringAlignment.Center;
- //
- // labelX12
- //
- //
- //
- //
- this.labelX12.BackgroundStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square;
- this.labelX12.Location = new System.Drawing.Point(3, 61);
- this.labelX12.Name = "labelX12";
- this.labelX12.Size = new System.Drawing.Size(75, 23);
- this.labelX12.Style = DevComponents.DotNetBar.eDotNetBarStyle.Office2013;
- this.labelX12.TabIndex = 0;
- this.labelX12.Text = "接收机";
- this.labelX12.TextAlignment = System.Drawing.StringAlignment.Center;
- //
- // panelEx4
- //
- this.panelEx4.CanvasColor = System.Drawing.SystemColors.Control;
- this.panelEx4.ColorSchemeStyle = DevComponents.DotNetBar.eDotNetBarStyle.StyleManagerControlled;
- this.panelEx4.Controls.Add(this.panelEx2);
- this.panelEx4.Controls.Add(this.panelEx1);
- this.panelEx4.Controls.Add(this.panelEx3);
- this.panelEx4.DisabledBackColor = System.Drawing.Color.Empty;
- this.panelEx4.Location = new System.Drawing.Point(0, 0);
- this.panelEx4.Name = "panelEx4";
- this.panelEx4.Size = new System.Drawing.Size(250, 640);
- this.panelEx4.Style.Alignment = System.Drawing.StringAlignment.Center;
- this.panelEx4.Style.BackColor1.ColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelBackground;
- this.panelEx4.Style.BackColor2.ColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelBackground2;
- this.panelEx4.Style.Border = DevComponents.DotNetBar.eBorderType.SingleLine;
- this.panelEx4.Style.BorderColor.ColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelBorder;
- this.panelEx4.Style.ForeColor.ColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelText;
- this.panelEx4.Style.GradientAngle = 90;
- this.panelEx4.TabIndex = 10;
- //
- // dataGridViewX2
- //
- this.dataGridViewX2.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.AutoSize;
- this.dataGridViewX2.Columns.AddRange(new System.Windows.Forms.DataGridViewColumn[] {
- this.Column18,
- this.Column19,
- this.Column20,
- this.Column21,
- this.Column22,
- this.Column23,
- this.Column24,
- this.Column25,
- this.Column26,
- this.Column27,
- this.Column28,
- this.Column29});
- dataGridViewCellStyle2.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleLeft;
- dataGridViewCellStyle2.BackColor = System.Drawing.SystemColors.Window;
- dataGridViewCellStyle2.Font = new System.Drawing.Font("宋体", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
- dataGridViewCellStyle2.ForeColor = System.Drawing.SystemColors.ControlText;
- dataGridViewCellStyle2.SelectionBackColor = System.Drawing.SystemColors.Highlight;
- dataGridViewCellStyle2.SelectionForeColor = System.Drawing.SystemColors.ControlText;
- dataGridViewCellStyle2.WrapMode = System.Windows.Forms.DataGridViewTriState.False;
- this.dataGridViewX2.DefaultCellStyle = dataGridViewCellStyle2;
- this.dataGridViewX2.GridColor = System.Drawing.Color.FromArgb(((int)(((byte)(208)))), ((int)(((byte)(215)))), ((int)(((byte)(229)))));
- this.dataGridViewX2.Location = new System.Drawing.Point(250, 216);
- this.dataGridViewX2.Name = "dataGridViewX2";
- this.dataGridViewX2.Size = new System.Drawing.Size(747, 424);
- this.dataGridViewX2.TabIndex = 15;
- //
- // Column18
- //
- this.Column18.HeaderText = "通道号";
- this.Column18.Name = "Column18";
- //
- // Column19
- //
- this.Column19.HeaderText = "当前状态";
- this.Column19.Name = "Column19";
- //
- // Column20
- //
- this.Column20.HeaderText = "仪器名称";
- this.Column20.Name = "Column20";
- //
- // Column21
- //
- this.Column21.HeaderText = "仪器编号";
- this.Column21.Name = "Column21";
- //
- // Column22
- //
- this.Column22.HeaderText = "客户名称";
- this.Column22.Name = "Column22";
- //
- // Column23
- //
- this.Column23.HeaderText = "开始时间";
- this.Column23.Name = "Column23";
- //
- // Column24
- //
- this.Column24.HeaderText = "结束时间";
- this.Column24.Name = "Column24";
- //
- // Column25
- //
- this.Column25.HeaderText = "频率稳定度";
- this.Column25.Name = "Column25";
- //
- // Column26
- //
- this.Column26.HeaderText = "频率准确度";
- this.Column26.Name = "Column26";
- //
- // Column27
- //
- this.Column27.HeaderText = "开机特性";
- this.Column27.Name = "Column27";
- //
- // Column28
- //
- this.Column28.HeaderText = "日老化率";
- this.Column28.Name = "Column28";
- //
- // Column29
- //
- this.Column29.HeaderText = "频率计数器范围及灵敏度";
- this.Column29.Name = "Column29";
- //
- // buttonX1
- //
- this.buttonX1.AccessibleRole = System.Windows.Forms.AccessibleRole.PushButton;
- this.buttonX1.BackColor = System.Drawing.Color.Transparent;
- this.buttonX1.ColorTable = DevComponents.DotNetBar.eButtonColor.OrangeWithBackground;
- this.buttonX1.Location = new System.Drawing.Point(663, 183);
- this.buttonX1.Name = "buttonX1";
- this.buttonX1.Size = new System.Drawing.Size(30, 23);
- this.buttonX1.Style = DevComponents.DotNetBar.eDotNetBarStyle.StyleManagerControlled;
- this.buttonX1.Symbol = "";
- this.buttonX1.SymbolColor = System.Drawing.Color.FromArgb(((int)(((byte)(64)))), ((int)(((byte)(64)))), ((int)(((byte)(64)))));
- this.buttonX1.SymbolSize = 8F;
- this.buttonX1.TabIndex = 19;
- //
- // buttonX2
- //
- this.buttonX2.AccessibleRole = System.Windows.Forms.AccessibleRole.PushButton;
- this.buttonX2.BackColor = System.Drawing.Color.Transparent;
- this.buttonX2.ColorTable = DevComponents.DotNetBar.eButtonColor.OrangeWithBackground;
- this.buttonX2.Location = new System.Drawing.Point(589, 184);
- this.buttonX2.Name = "buttonX2";
- this.buttonX2.Size = new System.Drawing.Size(30, 23);
- this.buttonX2.Style = DevComponents.DotNetBar.eDotNetBarStyle.StyleManagerControlled;
- this.buttonX2.Symbol = "";
- this.buttonX2.SymbolColor = System.Drawing.Color.FromArgb(((int)(((byte)(64)))), ((int)(((byte)(64)))), ((int)(((byte)(64)))));
- this.buttonX2.SymbolSize = 8F;
- this.buttonX2.TabIndex = 19;
+ this.panel5.BackgroundImage = global::Casic.Birmm.RbFreqStandMeasure.Properties.Resources.bg_dev_channel;
+ this.panel5.Location = new System.Drawing.Point(230, 226);
+ this.panel5.Name = "panel5";
+ this.panel5.Size = new System.Drawing.Size(788, 424);
+ this.panel5.TabIndex = 4;
//
// label1
//
this.label1.BackColor = System.Drawing.Color.Transparent;
- this.label1.Font = new System.Drawing.Font("Times New Roman", 9.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
- this.label1.Location = new System.Drawing.Point(880, 186);
- this.label1.Margin = new System.Windows.Forms.Padding(0);
+ this.label1.Font = new System.Drawing.Font("微软雅黑", 14F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Pixel, ((byte)(134)));
+ this.label1.Location = new System.Drawing.Point(0, 20);
this.label1.Name = "label1";
- this.label1.Size = new System.Drawing.Size(20, 20);
- this.label1.TabIndex = 20;
- this.label1.Text = "1";
+ this.label1.Size = new System.Drawing.Size(224, 25);
+ this.label1.TabIndex = 0;
+ this.label1.Text = "基本信息";
this.label1.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
//
// label2
//
this.label2.BackColor = System.Drawing.Color.Transparent;
- this.label2.Font = new System.Drawing.Font("Times New Roman", 9.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
- this.label2.Location = new System.Drawing.Point(636, 187);
- this.label2.Margin = new System.Windows.Forms.Padding(0);
+ this.label2.Font = new System.Drawing.Font("微软雅黑", 14F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Pixel, ((byte)(134)));
+ this.label2.Location = new System.Drawing.Point(0, 60);
this.label2.Name = "label2";
- this.label2.Size = new System.Drawing.Size(200, 20);
- this.label2.TabIndex = 20;
- this.label2.Text = "共150条,每页5条,共100页";
- this.label2.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
+ this.label2.Size = new System.Drawing.Size(75, 25);
+ this.label2.TabIndex = 1;
+ this.label2.Text = "原子钟";
+ this.label2.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
+ //
+ // label3
+ //
+ this.label3.BackColor = System.Drawing.Color.Transparent;
+ this.label3.Font = new System.Drawing.Font("微软雅黑", 14F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Pixel, ((byte)(134)));
+ this.label3.Location = new System.Drawing.Point(0, 100);
+ this.label3.Name = "label3";
+ this.label3.Size = new System.Drawing.Size(75, 25);
+ this.label3.TabIndex = 1;
+ this.label3.Text = "接收机";
+ this.label3.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
+ //
+ // label4
+ //
+ this.label4.BackColor = System.Drawing.Color.Transparent;
+ this.label4.Font = new System.Drawing.Font("微软雅黑", 14F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Pixel, ((byte)(134)));
+ this.label4.Location = new System.Drawing.Point(0, 20);
+ this.label4.Name = "label4";
+ this.label4.Size = new System.Drawing.Size(224, 25);
+ this.label4.TabIndex = 0;
+ this.label4.Text = "时间信息";
+ this.label4.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
+ //
+ // label5
+ //
+ this.label5.BackColor = System.Drawing.Color.Transparent;
+ this.label5.Font = new System.Drawing.Font("微软雅黑", 14F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Pixel, ((byte)(134)));
+ this.label5.Location = new System.Drawing.Point(0, 60);
+ this.label5.Name = "label5";
+ this.label5.Size = new System.Drawing.Size(75, 25);
+ this.label5.TabIndex = 1;
+ this.label5.Text = "日期";
+ this.label5.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
+ //
+ // label6
+ //
+ this.label6.BackColor = System.Drawing.Color.Transparent;
+ this.label6.Font = new System.Drawing.Font("微软雅黑", 14F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Pixel, ((byte)(134)));
+ this.label6.Location = new System.Drawing.Point(0, 100);
+ this.label6.Name = "label6";
+ this.label6.Size = new System.Drawing.Size(75, 25);
+ this.label6.TabIndex = 1;
+ this.label6.Text = "时间";
+ this.label6.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
+ //
+ // label7
+ //
+ this.label7.BackColor = System.Drawing.Color.Transparent;
+ this.label7.Font = new System.Drawing.Font("微软雅黑", 14F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Pixel, ((byte)(134)));
+ this.label7.Location = new System.Drawing.Point(0, 140);
+ this.label7.Margin = new System.Windows.Forms.Padding(0);
+ this.label7.Name = "label7";
+ this.label7.Size = new System.Drawing.Size(75, 25);
+ this.label7.TabIndex = 1;
+ this.label7.Text = "MJD";
+ this.label7.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
+ //
+ // label8
+ //
+ this.label8.BackColor = System.Drawing.Color.Transparent;
+ this.label8.Font = new System.Drawing.Font("微软雅黑", 14F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Pixel, ((byte)(134)));
+ this.label8.Location = new System.Drawing.Point(0, 20);
+ this.label8.Name = "label8";
+ this.label8.Size = new System.Drawing.Size(224, 25);
+ this.label8.TabIndex = 0;
+ this.label8.Text = "位置信息";
+ this.label8.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
+ //
+ // label9
+ //
+ this.label9.BackColor = System.Drawing.Color.Transparent;
+ this.label9.Font = new System.Drawing.Font("微软雅黑", 14F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Pixel, ((byte)(134)));
+ this.label9.Location = new System.Drawing.Point(0, 60);
+ this.label9.Name = "label9";
+ this.label9.Size = new System.Drawing.Size(75, 25);
+ this.label9.TabIndex = 1;
+ this.label9.Text = "经度";
+ this.label9.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
+ //
+ // label10
+ //
+ this.label10.BackColor = System.Drawing.Color.Transparent;
+ this.label10.Font = new System.Drawing.Font("微软雅黑", 14F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Pixel, ((byte)(134)));
+ this.label10.Location = new System.Drawing.Point(0, 100);
+ this.label10.Margin = new System.Windows.Forms.Padding(0);
+ this.label10.Name = "label10";
+ this.label10.Size = new System.Drawing.Size(75, 25);
+ this.label10.TabIndex = 1;
+ this.label10.Text = "纬度";
+ this.label10.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
+ //
+ // label11
+ //
+ this.label11.BackColor = System.Drawing.Color.Transparent;
+ this.label11.Font = new System.Drawing.Font("微软雅黑", 14F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Pixel, ((byte)(134)));
+ this.label11.Location = new System.Drawing.Point(0, 140);
+ this.label11.Margin = new System.Windows.Forms.Padding(0);
+ this.label11.Name = "label11";
+ this.label11.Size = new System.Drawing.Size(75, 25);
+ this.label11.TabIndex = 1;
+ this.label11.Text = "X";
+ this.label11.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
+ //
+ // label12
+ //
+ this.label12.BackColor = System.Drawing.Color.Transparent;
+ this.label12.Font = new System.Drawing.Font("微软雅黑", 14F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Pixel, ((byte)(134)));
+ this.label12.Location = new System.Drawing.Point(0, 180);
+ this.label12.Margin = new System.Windows.Forms.Padding(0);
+ this.label12.Name = "label12";
+ this.label12.Size = new System.Drawing.Size(75, 25);
+ this.label12.TabIndex = 1;
+ this.label12.Text = "Y";
+ this.label12.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
+ //
+ // label13
+ //
+ this.label13.BackColor = System.Drawing.Color.Transparent;
+ this.label13.Font = new System.Drawing.Font("微软雅黑", 14F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Pixel, ((byte)(134)));
+ this.label13.Location = new System.Drawing.Point(0, 220);
+ this.label13.Margin = new System.Windows.Forms.Padding(0);
+ this.label13.Name = "label13";
+ this.label13.Size = new System.Drawing.Size(75, 25);
+ this.label13.TabIndex = 1;
+ this.label13.Text = "Z";
+ this.label13.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
//
// HomeCtrlForm
//
this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 12F);
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
- this.Controls.Add(this.label1);
- this.Controls.Add(this.label2);
- this.Controls.Add(this.dataGridViewX2);
- this.Controls.Add(this.panelEx4);
- this.Controls.Add(this.panelToBeTested);
+ this.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(232)))), ((int)(((byte)(234)))), ((int)(((byte)(238)))));
+ this.Controls.Add(this.panel5);
+ this.Controls.Add(this.panel4);
+ this.Controls.Add(this.panel3);
+ this.Controls.Add(this.panel2);
+ this.Controls.Add(this.panel1);
this.Margin = new System.Windows.Forms.Padding(0);
this.Name = "HomeCtrlForm";
- this.Size = new System.Drawing.Size(1000, 640);
- this.panelToBeTested.ResumeLayout(false);
- ((System.ComponentModel.ISupportInitialize)(this.dataGridViewX1)).EndInit();
- this.panelEx1.ResumeLayout(false);
- this.panelEx2.ResumeLayout(false);
- this.panelEx3.ResumeLayout(false);
- this.panelEx4.ResumeLayout(false);
- ((System.ComponentModel.ISupportInitialize)(this.dataGridViewX2)).EndInit();
+ this.Size = new System.Drawing.Size(1024, 654);
+ this.panel3.ResumeLayout(false);
+ this.panel2.ResumeLayout(false);
+ this.panel1.ResumeLayout(false);
this.ResumeLayout(false);
}
#endregion
- private System.Windows.Forms.Panel panelToBeTested;
- private DevComponents.DotNetBar.PanelEx panelEx1;
- private DevComponents.DotNetBar.LabelX labelX6;
- private DevComponents.DotNetBar.LabelX labelX5;
- private DevComponents.DotNetBar.LabelX labelX4;
- private DevComponents.DotNetBar.LabelX labelX3;
- private DevComponents.DotNetBar.LabelX labelX2;
- private DevComponents.DotNetBar.LabelX labelX1;
- private DevComponents.DotNetBar.PanelEx panelEx2;
- private DevComponents.DotNetBar.LabelX labelX7;
- private DevComponents.DotNetBar.LabelX labelX8;
- private DevComponents.DotNetBar.LabelX labelX10;
- private DevComponents.DotNetBar.LabelX labelX9;
- private DevComponents.DotNetBar.PanelEx panelEx3;
- private DevComponents.DotNetBar.LabelX labelX11;
- private DevComponents.DotNetBar.LabelX labelX13;
- private DevComponents.DotNetBar.LabelX labelX12;
- private DevComponents.DotNetBar.PanelEx panelEx4;
- private DevComponents.DotNetBar.Controls.DataGridViewX dataGridViewX1;
- private System.Windows.Forms.DataGridViewTextBoxColumn Column13;
- private System.Windows.Forms.DataGridViewTextBoxColumn Column14;
- private System.Windows.Forms.DataGridViewTextBoxColumn Column15;
- private System.Windows.Forms.DataGridViewTextBoxColumn Column16;
- private System.Windows.Forms.DataGridViewTextBoxColumn Column17;
- private DevComponents.DotNetBar.Controls.DataGridViewX dataGridViewX2;
- private System.Windows.Forms.DataGridViewTextBoxColumn Column18;
- private System.Windows.Forms.DataGridViewTextBoxColumn Column19;
- private System.Windows.Forms.DataGridViewTextBoxColumn Column20;
- private System.Windows.Forms.DataGridViewTextBoxColumn Column21;
- private System.Windows.Forms.DataGridViewTextBoxColumn Column22;
- private System.Windows.Forms.DataGridViewTextBoxColumn Column23;
- private System.Windows.Forms.DataGridViewTextBoxColumn Column24;
- private System.Windows.Forms.DataGridViewTextBoxColumn Column25;
- private System.Windows.Forms.DataGridViewTextBoxColumn Column26;
- private System.Windows.Forms.DataGridViewTextBoxColumn Column27;
- private System.Windows.Forms.DataGridViewTextBoxColumn Column28;
- private System.Windows.Forms.DataGridViewTextBoxColumn Column29;
- private DevComponents.DotNetBar.ButtonX buttonX1;
- private DevComponents.DotNetBar.ButtonX buttonX2;
+
+ private System.Windows.Forms.Panel panel1;
+ private System.Windows.Forms.Panel panel2;
+ private System.Windows.Forms.Panel panel3;
+ private System.Windows.Forms.Panel panel4;
+ private System.Windows.Forms.Panel panel5;
private System.Windows.Forms.Label label1;
private System.Windows.Forms.Label label2;
+ private System.Windows.Forms.Label label3;
+ private System.Windows.Forms.Label label4;
+ private System.Windows.Forms.Label label5;
+ private System.Windows.Forms.Label label6;
+ private System.Windows.Forms.Label label7;
+ private System.Windows.Forms.Label label8;
+ private System.Windows.Forms.Label label11;
+ private System.Windows.Forms.Label label9;
+ private System.Windows.Forms.Label label10;
+ private System.Windows.Forms.Label label12;
+ private System.Windows.Forms.Label label13;
}
}
diff --git a/RbFreqStandMeasure/HomeCtrlForm.resx b/RbFreqStandMeasure/HomeCtrlForm.resx
index 6d97f4f..1af7de1 100644
--- a/RbFreqStandMeasure/HomeCtrlForm.resx
+++ b/RbFreqStandMeasure/HomeCtrlForm.resx
@@ -117,55 +117,4 @@
System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
-
- True
-
-
- True
-
-
- True
-
-
- True
-
-
- True
-
-
- True
-
-
- True
-
-
- True
-
-
- True
-
-
- True
-
-
- True
-
-
- True
-
-
- True
-
-
- True
-
-
- True
-
-
- True
-
-
- True
-
\ No newline at end of file
diff --git a/RbFreqStandMeasure/Program.cs b/RbFreqStandMeasure/Program.cs
index 93a83e5..6150917 100644
--- a/RbFreqStandMeasure/Program.cs
+++ b/RbFreqStandMeasure/Program.cs
@@ -1,6 +1,4 @@
using System;
-using System.Collections.Generic;
-using System.Linq;
using System.Windows.Forms;
namespace Casic.Birmm.RbFreqStandMeasure
diff --git a/RbFreqStandMeasure/Properties/Resources.Designer.cs b/RbFreqStandMeasure/Properties/Resources.Designer.cs
index 253d7d7..d819a23 100644
--- a/RbFreqStandMeasure/Properties/Resources.Designer.cs
+++ b/RbFreqStandMeasure/Properties/Resources.Designer.cs
@@ -73,6 +73,56 @@
///
/// 查找 System.Drawing.Bitmap 类型的本地化资源。
///
+ internal static System.Drawing.Bitmap bg_dev_channel {
+ get {
+ object obj = ResourceManager.GetObject("bg_dev_channel", resourceCulture);
+ return ((System.Drawing.Bitmap)(obj));
+ }
+ }
+
+ ///
+ /// 查找 System.Drawing.Bitmap 类型的本地化资源。
+ ///
+ internal static System.Drawing.Bitmap bg_dev_tested {
+ get {
+ object obj = ResourceManager.GetObject("bg_dev_tested", resourceCulture);
+ return ((System.Drawing.Bitmap)(obj));
+ }
+ }
+
+ ///
+ /// 查找 System.Drawing.Bitmap 类型的本地化资源。
+ ///
+ internal static System.Drawing.Bitmap bg_status_base {
+ get {
+ object obj = ResourceManager.GetObject("bg_status_base", resourceCulture);
+ return ((System.Drawing.Bitmap)(obj));
+ }
+ }
+
+ ///
+ /// 查找 System.Drawing.Bitmap 类型的本地化资源。
+ ///
+ internal static System.Drawing.Bitmap bg_status_location {
+ get {
+ object obj = ResourceManager.GetObject("bg_status_location", resourceCulture);
+ return ((System.Drawing.Bitmap)(obj));
+ }
+ }
+
+ ///
+ /// 查找 System.Drawing.Bitmap 类型的本地化资源。
+ ///
+ internal static System.Drawing.Bitmap bg_status_time {
+ get {
+ object obj = ResourceManager.GetObject("bg_status_time", resourceCulture);
+ return ((System.Drawing.Bitmap)(obj));
+ }
+ }
+
+ ///
+ /// 查找 System.Drawing.Bitmap 类型的本地化资源。
+ ///
internal static System.Drawing.Bitmap bg_white_shadow {
get {
object obj = ResourceManager.GetObject("bg_white_shadow", resourceCulture);
@@ -83,6 +133,66 @@
///
/// 查找 System.Drawing.Bitmap 类型的本地化资源。
///
+ internal static System.Drawing.Bitmap icon_counter {
+ get {
+ object obj = ResourceManager.GetObject("icon_counter", resourceCulture);
+ return ((System.Drawing.Bitmap)(obj));
+ }
+ }
+
+ ///
+ /// 查找 System.Drawing.Bitmap 类型的本地化资源。
+ ///
+ internal static System.Drawing.Bitmap icon_counter_selected {
+ get {
+ object obj = ResourceManager.GetObject("icon_counter_selected", resourceCulture);
+ return ((System.Drawing.Bitmap)(obj));
+ }
+ }
+
+ ///
+ /// 查找 System.Drawing.Bitmap 类型的本地化资源。
+ ///
+ internal static System.Drawing.Bitmap icon_data {
+ get {
+ object obj = ResourceManager.GetObject("icon_data", resourceCulture);
+ return ((System.Drawing.Bitmap)(obj));
+ }
+ }
+
+ ///
+ /// 查找 System.Drawing.Bitmap 类型的本地化资源。
+ ///
+ internal static System.Drawing.Bitmap icon_data_selected {
+ get {
+ object obj = ResourceManager.GetObject("icon_data_selected", resourceCulture);
+ return ((System.Drawing.Bitmap)(obj));
+ }
+ }
+
+ ///
+ /// 查找 System.Drawing.Bitmap 类型的本地化资源。
+ ///
+ internal static System.Drawing.Bitmap icon_dev {
+ get {
+ object obj = ResourceManager.GetObject("icon_dev", resourceCulture);
+ return ((System.Drawing.Bitmap)(obj));
+ }
+ }
+
+ ///
+ /// 查找 System.Drawing.Bitmap 类型的本地化资源。
+ ///
+ internal static System.Drawing.Bitmap icon_dev_selected {
+ get {
+ object obj = ResourceManager.GetObject("icon_dev_selected", resourceCulture);
+ return ((System.Drawing.Bitmap)(obj));
+ }
+ }
+
+ ///
+ /// 查找 System.Drawing.Bitmap 类型的本地化资源。
+ ///
internal static System.Drawing.Bitmap icon_exit {
get {
object obj = ResourceManager.GetObject("icon_exit", resourceCulture);
@@ -113,6 +223,56 @@
///
/// 查找 System.Drawing.Bitmap 类型的本地化资源。
///
+ internal static System.Drawing.Bitmap icon_measure {
+ get {
+ object obj = ResourceManager.GetObject("icon_measure", resourceCulture);
+ return ((System.Drawing.Bitmap)(obj));
+ }
+ }
+
+ ///
+ /// 查找 System.Drawing.Bitmap 类型的本地化资源。
+ ///
+ internal static System.Drawing.Bitmap icon_measure_selected {
+ get {
+ object obj = ResourceManager.GetObject("icon_measure_selected", resourceCulture);
+ return ((System.Drawing.Bitmap)(obj));
+ }
+ }
+
+ ///
+ /// 查找 System.Drawing.Bitmap 类型的本地化资源。
+ ///
+ internal static System.Drawing.Bitmap icon_min {
+ get {
+ object obj = ResourceManager.GetObject("icon_min", resourceCulture);
+ return ((System.Drawing.Bitmap)(obj));
+ }
+ }
+
+ ///
+ /// 查找 System.Drawing.Bitmap 类型的本地化资源。
+ ///
+ internal static System.Drawing.Bitmap icon_setting {
+ get {
+ object obj = ResourceManager.GetObject("icon_setting", resourceCulture);
+ return ((System.Drawing.Bitmap)(obj));
+ }
+ }
+
+ ///
+ /// 查找 System.Drawing.Bitmap 类型的本地化资源。
+ ///
+ internal static System.Drawing.Bitmap icon_setting_selected {
+ get {
+ object obj = ResourceManager.GetObject("icon_setting_selected", resourceCulture);
+ return ((System.Drawing.Bitmap)(obj));
+ }
+ }
+
+ ///
+ /// 查找 System.Drawing.Bitmap 类型的本地化资源。
+ ///
internal static System.Drawing.Bitmap icon_status {
get {
object obj = ResourceManager.GetObject("icon_status", resourceCulture);
diff --git a/RbFreqStandMeasure/Properties/Resources.resx b/RbFreqStandMeasure/Properties/Resources.resx
index e781bb7..cfdb255 100644
--- a/RbFreqStandMeasure/Properties/Resources.resx
+++ b/RbFreqStandMeasure/Properties/Resources.resx
@@ -118,25 +118,73 @@
System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
-
- ..\res\images\icon_exit.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
+
+ ..\res\images\icon_counter_selected.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
-
- ..\res\images\bg_white_shadow.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
+
+ ..\res\images\icon_dev_selected.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
+
+
+ ..\res\images\icon_status_selected.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
+
+
+ ..\res\images\icon_data_selected.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
..\res\images\icon_home_selected.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
-
- ..\res\images\bg_banner.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
-
-
- ..\res\images\icon_home.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
+
+ ..\res\images\icon_exit.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
..\res\images\icon_status.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
-
- ..\res\images\icon_status_selected.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
+
+ ..\res\images\icon_data.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
+
+
+ ..\res\images\icon_setting.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
+
+
+ ..\res\images\icon_measure_selected.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
+
+
+ ..\res\images\bg_banner.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
+
+
+ ..\res\images\icon_setting_selected.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
+
+
+ ..\res\images\icon_dev.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
+
+
+ ..\res\images\icon_counter.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
+
+
+ ..\res\images\icon_measure.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
+
+
+ ..\res\images\icon_home.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
+
+
+ ..\res\images\bg_white_shadow.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
+
+
+ ..\res\images\icon_min.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
+
+
+ ..\res\images\bg_status_base.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
+
+
+ ..\res\images\bg_status_location.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
+
+
+ ..\res\images\bg_status_time.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
+
+
+ ..\res\images\bg_dev_channel.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
+
+
+ ..\res\images\bg_dev_tested.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
\ No newline at end of file
diff --git a/RbFreqStandMeasure/RbFreqStandMeasure.csproj b/RbFreqStandMeasure/RbFreqStandMeasure.csproj
index f5e7da9..7c12768 100644
--- a/RbFreqStandMeasure/RbFreqStandMeasure.csproj
+++ b/RbFreqStandMeasure/RbFreqStandMeasure.csproj
@@ -232,6 +232,54 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/RbFreqStandMeasure/RbFreqStdMeas.Designer.cs b/RbFreqStandMeasure/RbFreqStdMeas.Designer.cs
index 57778cf..1bd008c 100644
--- a/RbFreqStandMeasure/RbFreqStdMeas.Designer.cs
+++ b/RbFreqStandMeasure/RbFreqStdMeas.Designer.cs
@@ -30,148 +30,77 @@
private void InitializeComponent()
{
this.panMenu = new System.Windows.Forms.Panel();
+ this.penBanner = new System.Windows.Forms.Panel();
+ this.btnMinSys = new System.Windows.Forms.Button();
+ this.btnExitSys = new System.Windows.Forms.Button();
+ this.labTitle = new System.Windows.Forms.Label();
+ this.panDev = new Casic.Birmm.RbFreqStandMeasure.RoundPanel();
+ this.labDevText = new System.Windows.Forms.Label();
+ this.labDevSelected = new System.Windows.Forms.Label();
+ this.picIconDev = new System.Windows.Forms.PictureBox();
+ this.panSetting = new Casic.Birmm.RbFreqStandMeasure.RoundPanel();
+ this.labSettingSelected = new System.Windows.Forms.Label();
+ this.labSettingText = new System.Windows.Forms.Label();
+ this.picIconSetting = new System.Windows.Forms.PictureBox();
this.panStatus = new Casic.Birmm.RbFreqStandMeasure.RoundPanel();
this.labStatusText = new System.Windows.Forms.Label();
this.picIconStatus = new System.Windows.Forms.PictureBox();
+ this.labStatusSelected = new System.Windows.Forms.Label();
+ this.panData = new Casic.Birmm.RbFreqStandMeasure.RoundPanel();
+ this.labDataSelected = new System.Windows.Forms.Label();
+ this.labDataText = new System.Windows.Forms.Label();
+ this.picIconData = new System.Windows.Forms.PictureBox();
this.panHome = new Casic.Birmm.RbFreqStandMeasure.RoundPanel();
this.labHomeText = new System.Windows.Forms.Label();
this.picIconHome = new System.Windows.Forms.PictureBox();
this.labHomeSelected = new System.Windows.Forms.Label();
- this.labStatusSelected = new System.Windows.Forms.Label();
- this.penBanner = new System.Windows.Forms.Panel();
- this.btnExitSys = new System.Windows.Forms.Button();
- this.labTitle = new System.Windows.Forms.Label();
+ this.panMeasure = new Casic.Birmm.RbFreqStandMeasure.RoundPanel();
+ this.labMeasureText = new System.Windows.Forms.Label();
+ this.labMeasureSelected = new System.Windows.Forms.Label();
+ this.picIconMeasure = new System.Windows.Forms.PictureBox();
+ this.panCounter = new Casic.Birmm.RbFreqStandMeasure.RoundPanel();
+ this.labCounterSelected = new System.Windows.Forms.Label();
+ this.labCounterText = new System.Windows.Forms.Label();
+ this.picIconCounter = new System.Windows.Forms.PictureBox();
+ this.panelMain = new System.Windows.Forms.Panel();
this.panMenu.SuspendLayout();
+ this.penBanner.SuspendLayout();
+ this.panDev.SuspendLayout();
+ ((System.ComponentModel.ISupportInitialize)(this.picIconDev)).BeginInit();
+ this.panSetting.SuspendLayout();
+ ((System.ComponentModel.ISupportInitialize)(this.picIconSetting)).BeginInit();
this.panStatus.SuspendLayout();
((System.ComponentModel.ISupportInitialize)(this.picIconStatus)).BeginInit();
+ this.panData.SuspendLayout();
+ ((System.ComponentModel.ISupportInitialize)(this.picIconData)).BeginInit();
this.panHome.SuspendLayout();
((System.ComponentModel.ISupportInitialize)(this.picIconHome)).BeginInit();
- this.penBanner.SuspendLayout();
+ this.panMeasure.SuspendLayout();
+ ((System.ComponentModel.ISupportInitialize)(this.picIconMeasure)).BeginInit();
+ this.panCounter.SuspendLayout();
+ ((System.ComponentModel.ISupportInitialize)(this.picIconCounter)).BeginInit();
this.SuspendLayout();
//
// panMenu
//
this.panMenu.BackColor = System.Drawing.Color.White;
+ this.panMenu.Controls.Add(this.panDev);
+ this.panMenu.Controls.Add(this.panSetting);
this.panMenu.Controls.Add(this.panStatus);
+ this.panMenu.Controls.Add(this.panData);
this.panMenu.Controls.Add(this.panHome);
- this.panMenu.Controls.Add(this.labStatusSelected);
+ this.panMenu.Controls.Add(this.panMeasure);
+ this.panMenu.Controls.Add(this.panCounter);
this.panMenu.Location = new System.Drawing.Point(0, 64);
this.panMenu.Name = "panMenu";
this.panMenu.Size = new System.Drawing.Size(1024, 50);
this.panMenu.TabIndex = 1;
//
- // panStatus
- //
- this.panStatus.Back = System.Drawing.Color.Empty;
- this.panStatus.BackColor = System.Drawing.Color.Transparent;
- this.panStatus.Controls.Add(this.labStatusText);
- this.panStatus.Controls.Add(this.picIconStatus);
- this.panStatus.Location = new System.Drawing.Point(160, 0);
- this.panStatus.MatrixRound = 8;
- this.panStatus.Name = "panStatus";
- this.panStatus.Size = new System.Drawing.Size(130, 47);
- this.panStatus.TabIndex = 1;
- this.panStatus.Click += new System.EventHandler(this.panStatus_Click);
- this.panStatus.MouseLeave += new System.EventHandler(this.panStatus_MouseLeave);
- this.panStatus.MouseHover += new System.EventHandler(this.panStatus_MouseHover);
- //
- // labStatusText
- //
- this.labStatusText.BackColor = System.Drawing.Color.Transparent;
- this.labStatusText.Cursor = System.Windows.Forms.Cursors.Hand;
- this.labStatusText.Font = new System.Drawing.Font("微软雅黑", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
- this.labStatusText.ForeColor = System.Drawing.SystemColors.ControlText;
- this.labStatusText.Location = new System.Drawing.Point(35, 0);
- this.labStatusText.Margin = new System.Windows.Forms.Padding(0);
- this.labStatusText.Name = "labStatusText";
- this.labStatusText.Size = new System.Drawing.Size(85, 47);
- this.labStatusText.TabIndex = 2;
- this.labStatusText.Text = "基准状态";
- this.labStatusText.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
- this.labStatusText.Click += new System.EventHandler(this.panStatus_Click);
- this.labStatusText.MouseLeave += new System.EventHandler(this.panStatus_MouseLeave);
- this.labStatusText.MouseHover += new System.EventHandler(this.panStatus_MouseHover);
- //
- // picIconStatus
- //
- this.picIconStatus.BackgroundImage = global::Casic.Birmm.RbFreqStandMeasure.Properties.Resources.icon_status;
- this.picIconStatus.BackgroundImageLayout = System.Windows.Forms.ImageLayout.Zoom;
- this.picIconStatus.Location = new System.Drawing.Point(10, 11);
- this.picIconStatus.Name = "picIconStatus";
- this.picIconStatus.Size = new System.Drawing.Size(25, 25);
- this.picIconStatus.TabIndex = 1;
- this.picIconStatus.TabStop = false;
- this.picIconStatus.Click += new System.EventHandler(this.panStatus_Click);
- this.picIconStatus.MouseLeave += new System.EventHandler(this.panStatus_MouseLeave);
- this.picIconStatus.MouseHover += new System.EventHandler(this.panStatus_MouseHover);
- //
- // panHome
- //
- this.panHome.Back = System.Drawing.Color.Empty;
- this.panHome.Controls.Add(this.labHomeText);
- this.panHome.Controls.Add(this.picIconHome);
- this.panHome.Controls.Add(this.labHomeSelected);
- this.panHome.Cursor = System.Windows.Forms.Cursors.Hand;
- this.panHome.Location = new System.Drawing.Point(30, 0);
- this.panHome.MatrixRound = 8;
- this.panHome.Name = "panHome";
- this.panHome.Size = new System.Drawing.Size(100, 50);
- this.panHome.TabIndex = 0;
- this.panHome.Click += new System.EventHandler(this.panHome_Click);
- this.panHome.MouseLeave += new System.EventHandler(this.panHome_MouseLeave);
- this.panHome.MouseHover += new System.EventHandler(this.panHome_MouseHover);
- //
- // labHomeText
- //
- this.labHomeText.BackColor = System.Drawing.Color.Transparent;
- this.labHomeText.Font = new System.Drawing.Font("微软雅黑", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
- this.labHomeText.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(18)))), ((int)(((byte)(150)))), ((int)(((byte)(219)))));
- this.labHomeText.Location = new System.Drawing.Point(35, 0);
- this.labHomeText.Margin = new System.Windows.Forms.Padding(0);
- this.labHomeText.Name = "labHomeText";
- this.labHomeText.Size = new System.Drawing.Size(55, 47);
- this.labHomeText.TabIndex = 2;
- this.labHomeText.Text = "首页";
- this.labHomeText.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
- this.labHomeText.Click += new System.EventHandler(this.panHome_Click);
- this.labHomeText.MouseLeave += new System.EventHandler(this.panHome_MouseLeave);
- this.labHomeText.MouseHover += new System.EventHandler(this.panHome_MouseHover);
- //
- // picIconHome
- //
- this.picIconHome.BackColor = System.Drawing.Color.Transparent;
- this.picIconHome.BackgroundImage = global::Casic.Birmm.RbFreqStandMeasure.Properties.Resources.icon_home_selected;
- this.picIconHome.BackgroundImageLayout = System.Windows.Forms.ImageLayout.Zoom;
- this.picIconHome.Location = new System.Drawing.Point(10, 11);
- this.picIconHome.Name = "picIconHome";
- this.picIconHome.Size = new System.Drawing.Size(25, 25);
- this.picIconHome.TabIndex = 1;
- this.picIconHome.TabStop = false;
- this.picIconHome.Click += new System.EventHandler(this.panHome_Click);
- this.picIconHome.MouseLeave += new System.EventHandler(this.panHome_MouseLeave);
- this.picIconHome.MouseHover += new System.EventHandler(this.panHome_MouseHover);
- //
- // labHomeSelected
- //
- this.labHomeSelected.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(18)))), ((int)(((byte)(150)))), ((int)(((byte)(219)))));
- this.labHomeSelected.Location = new System.Drawing.Point(0, 47);
- this.labHomeSelected.Name = "labHomeSelected";
- this.labHomeSelected.Size = new System.Drawing.Size(100, 3);
- this.labHomeSelected.TabIndex = 0;
- //
- // labStatusSelected
- //
- this.labStatusSelected.BackColor = System.Drawing.Color.Transparent;
- this.labStatusSelected.Location = new System.Drawing.Point(160, 47);
- this.labStatusSelected.Margin = new System.Windows.Forms.Padding(0);
- this.labStatusSelected.Name = "labStatusSelected";
- this.labStatusSelected.Size = new System.Drawing.Size(130, 3);
- this.labStatusSelected.TabIndex = 0;
- //
// penBanner
//
this.penBanner.BackgroundImage = global::Casic.Birmm.RbFreqStandMeasure.Properties.Resources.bg_banner;
this.penBanner.BackgroundImageLayout = System.Windows.Forms.ImageLayout.Stretch;
+ this.penBanner.Controls.Add(this.btnMinSys);
this.penBanner.Controls.Add(this.btnExitSys);
this.penBanner.Controls.Add(this.labTitle);
this.penBanner.Location = new System.Drawing.Point(0, 0);
@@ -180,6 +109,23 @@
this.penBanner.TabIndex = 0;
this.penBanner.MouseDown += new System.Windows.Forms.MouseEventHandler(this.RbFreqStdMeas_MouseDown);
//
+ // btnMinSys
+ //
+ this.btnMinSys.BackColor = System.Drawing.Color.Transparent;
+ this.btnMinSys.BackgroundImage = global::Casic.Birmm.RbFreqStandMeasure.Properties.Resources.icon_min;
+ this.btnMinSys.BackgroundImageLayout = System.Windows.Forms.ImageLayout.Stretch;
+ this.btnMinSys.FlatAppearance.BorderSize = 0;
+ this.btnMinSys.FlatStyle = System.Windows.Forms.FlatStyle.Flat;
+ this.btnMinSys.ForeColor = System.Drawing.SystemColors.ControlDarkDark;
+ this.btnMinSys.Location = new System.Drawing.Point(944, 22);
+ this.btnMinSys.Margin = new System.Windows.Forms.Padding(0);
+ this.btnMinSys.Name = "btnMinSys";
+ this.btnMinSys.Size = new System.Drawing.Size(20, 20);
+ this.btnMinSys.TabIndex = 1;
+ this.btnMinSys.UseVisualStyleBackColor = false;
+ this.btnMinSys.Click += new System.EventHandler(this.btnMinSys_Click);
+ this.btnMinSys.MouseHover += new System.EventHandler(this.btnMinSys_MouseHover);
+ //
// btnExitSys
//
this.btnExitSys.BackColor = System.Drawing.Color.Transparent;
@@ -200,7 +146,7 @@
// labTitle
//
this.labTitle.BackColor = System.Drawing.Color.Transparent;
- this.labTitle.Font = new System.Drawing.Font("微软雅黑", 15.75F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
+ this.labTitle.Font = new System.Drawing.Font("微软雅黑", 20F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Pixel, ((byte)(134)));
this.labTitle.ForeColor = System.Drawing.Color.White;
this.labTitle.Location = new System.Drawing.Point(30, 16);
this.labTitle.Name = "labTitle";
@@ -209,11 +155,404 @@
this.labTitle.Text = "铷原子频标比对测量软件";
this.labTitle.TextAlign = System.Drawing.ContentAlignment.MiddleLeft;
//
+ // panDev
+ //
+ this.panDev.Back = System.Drawing.Color.Empty;
+ this.panDev.Controls.Add(this.labDevText);
+ this.panDev.Controls.Add(this.labDevSelected);
+ this.panDev.Controls.Add(this.picIconDev);
+ this.panDev.Location = new System.Drawing.Point(214, 0);
+ this.panDev.MatrixRound = 8;
+ this.panDev.Name = "panDev";
+ this.panDev.Size = new System.Drawing.Size(141, 50);
+ this.panDev.TabIndex = 2;
+ this.panDev.Click += new System.EventHandler(this.panDev_Click);
+ this.panDev.MouseLeave += new System.EventHandler(this.panDev_MouseLeave);
+ this.panDev.MouseHover += new System.EventHandler(this.panDev_MouseHover);
+ //
+ // labDevText
+ //
+ this.labDevText.BackColor = System.Drawing.Color.Transparent;
+ this.labDevText.Cursor = System.Windows.Forms.Cursors.Hand;
+ this.labDevText.Font = new System.Drawing.Font("微软雅黑", 16F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Pixel, ((byte)(134)));
+ this.labDevText.ForeColor = System.Drawing.SystemColors.ControlText;
+ this.labDevText.Location = new System.Drawing.Point(30, 14);
+ this.labDevText.Margin = new System.Windows.Forms.Padding(0);
+ this.labDevText.Name = "labDevText";
+ this.labDevText.Size = new System.Drawing.Size(106, 20);
+ this.labDevText.TabIndex = 2;
+ this.labDevText.Text = "送检仪器管理";
+ this.labDevText.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
+ this.labDevText.Click += new System.EventHandler(this.panDev_Click);
+ this.labDevText.MouseLeave += new System.EventHandler(this.panDev_MouseLeave);
+ this.labDevText.MouseHover += new System.EventHandler(this.panDev_MouseHover);
+ //
+ // labDevSelected
+ //
+ this.labDevSelected.BackColor = System.Drawing.Color.Transparent;
+ this.labDevSelected.Location = new System.Drawing.Point(8, 48);
+ this.labDevSelected.Margin = new System.Windows.Forms.Padding(0);
+ this.labDevSelected.Name = "labDevSelected";
+ this.labDevSelected.Size = new System.Drawing.Size(121, 2);
+ this.labDevSelected.TabIndex = 3;
+ //
+ // picIconDev
+ //
+ this.picIconDev.BackColor = System.Drawing.Color.Transparent;
+ this.picIconDev.BackgroundImage = global::Casic.Birmm.RbFreqStandMeasure.Properties.Resources.icon_dev;
+ this.picIconDev.BackgroundImageLayout = System.Windows.Forms.ImageLayout.Zoom;
+ this.picIconDev.Location = new System.Drawing.Point(10, 14);
+ this.picIconDev.Name = "picIconDev";
+ this.picIconDev.Size = new System.Drawing.Size(20, 20);
+ this.picIconDev.TabIndex = 1;
+ this.picIconDev.TabStop = false;
+ this.picIconDev.Click += new System.EventHandler(this.panDev_Click);
+ this.picIconDev.MouseLeave += new System.EventHandler(this.panDev_MouseLeave);
+ this.picIconDev.MouseHover += new System.EventHandler(this.panDev_MouseHover);
+ //
+ // panSetting
+ //
+ this.panSetting.Back = System.Drawing.Color.Empty;
+ this.panSetting.Controls.Add(this.labSettingSelected);
+ this.panSetting.Controls.Add(this.labSettingText);
+ this.panSetting.Controls.Add(this.picIconSetting);
+ this.panSetting.Location = new System.Drawing.Point(879, 0);
+ this.panSetting.MatrixRound = 8;
+ this.panSetting.Name = "panSetting";
+ this.panSetting.Size = new System.Drawing.Size(109, 50);
+ this.panSetting.TabIndex = 2;
+ this.panSetting.Click += new System.EventHandler(this.panSetting_Click);
+ this.panSetting.MouseLeave += new System.EventHandler(this.panSetting_MouseLeave);
+ this.panSetting.MouseHover += new System.EventHandler(this.panSetting_MouseHover);
+ //
+ // labSettingSelected
+ //
+ this.labSettingSelected.BackColor = System.Drawing.Color.Transparent;
+ this.labSettingSelected.Location = new System.Drawing.Point(10, 48);
+ this.labSettingSelected.Margin = new System.Windows.Forms.Padding(0);
+ this.labSettingSelected.Name = "labSettingSelected";
+ this.labSettingSelected.Size = new System.Drawing.Size(89, 2);
+ this.labSettingSelected.TabIndex = 4;
+ //
+ // labSettingText
+ //
+ this.labSettingText.BackColor = System.Drawing.Color.Transparent;
+ this.labSettingText.Cursor = System.Windows.Forms.Cursors.Hand;
+ this.labSettingText.Font = new System.Drawing.Font("微软雅黑", 16F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Pixel, ((byte)(134)));
+ this.labSettingText.ForeColor = System.Drawing.SystemColors.ControlText;
+ this.labSettingText.Location = new System.Drawing.Point(30, 14);
+ this.labSettingText.Margin = new System.Windows.Forms.Padding(0);
+ this.labSettingText.Name = "labSettingText";
+ this.labSettingText.Size = new System.Drawing.Size(74, 20);
+ this.labSettingText.TabIndex = 2;
+ this.labSettingText.Text = "系统设置";
+ this.labSettingText.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
+ this.labSettingText.Click += new System.EventHandler(this.panSetting_Click);
+ this.labSettingText.MouseLeave += new System.EventHandler(this.panSetting_MouseLeave);
+ this.labSettingText.MouseHover += new System.EventHandler(this.panSetting_MouseHover);
+ //
+ // picIconSetting
+ //
+ this.picIconSetting.BackColor = System.Drawing.Color.Transparent;
+ this.picIconSetting.BackgroundImage = global::Casic.Birmm.RbFreqStandMeasure.Properties.Resources.icon_setting;
+ this.picIconSetting.BackgroundImageLayout = System.Windows.Forms.ImageLayout.Zoom;
+ this.picIconSetting.Location = new System.Drawing.Point(10, 14);
+ this.picIconSetting.Name = "picIconSetting";
+ this.picIconSetting.Size = new System.Drawing.Size(20, 20);
+ this.picIconSetting.TabIndex = 1;
+ this.picIconSetting.TabStop = false;
+ this.picIconSetting.Click += new System.EventHandler(this.panSetting_Click);
+ this.picIconSetting.MouseLeave += new System.EventHandler(this.panSetting_MouseLeave);
+ this.picIconSetting.MouseHover += new System.EventHandler(this.panSetting_MouseHover);
+ //
+ // panStatus
+ //
+ this.panStatus.Back = System.Drawing.Color.Empty;
+ this.panStatus.BackColor = System.Drawing.Color.Transparent;
+ this.panStatus.Controls.Add(this.labStatusText);
+ this.panStatus.Controls.Add(this.picIconStatus);
+ this.panStatus.Controls.Add(this.labStatusSelected);
+ this.panStatus.Location = new System.Drawing.Point(101, 0);
+ this.panStatus.MatrixRound = 8;
+ this.panStatus.Name = "panStatus";
+ this.panStatus.Size = new System.Drawing.Size(109, 50);
+ this.panStatus.TabIndex = 1;
+ this.panStatus.Click += new System.EventHandler(this.panStatus_Click);
+ this.panStatus.MouseLeave += new System.EventHandler(this.panStatus_MouseLeave);
+ this.panStatus.MouseHover += new System.EventHandler(this.panStatus_MouseHover);
+ //
+ // labStatusText
+ //
+ this.labStatusText.BackColor = System.Drawing.Color.Transparent;
+ this.labStatusText.Cursor = System.Windows.Forms.Cursors.Hand;
+ this.labStatusText.Font = new System.Drawing.Font("微软雅黑", 16F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Pixel, ((byte)(134)));
+ this.labStatusText.ForeColor = System.Drawing.SystemColors.ControlText;
+ this.labStatusText.Location = new System.Drawing.Point(30, 14);
+ this.labStatusText.Margin = new System.Windows.Forms.Padding(0);
+ this.labStatusText.Name = "labStatusText";
+ this.labStatusText.Size = new System.Drawing.Size(74, 20);
+ this.labStatusText.TabIndex = 2;
+ this.labStatusText.Text = "基准状态";
+ this.labStatusText.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
+ this.labStatusText.Click += new System.EventHandler(this.panStatus_Click);
+ this.labStatusText.MouseLeave += new System.EventHandler(this.panStatus_MouseLeave);
+ this.labStatusText.MouseHover += new System.EventHandler(this.panStatus_MouseHover);
+ //
+ // picIconStatus
+ //
+ this.picIconStatus.BackgroundImage = global::Casic.Birmm.RbFreqStandMeasure.Properties.Resources.icon_status;
+ this.picIconStatus.BackgroundImageLayout = System.Windows.Forms.ImageLayout.Zoom;
+ this.picIconStatus.Location = new System.Drawing.Point(10, 14);
+ this.picIconStatus.Name = "picIconStatus";
+ this.picIconStatus.Size = new System.Drawing.Size(20, 20);
+ this.picIconStatus.TabIndex = 1;
+ this.picIconStatus.TabStop = false;
+ this.picIconStatus.Click += new System.EventHandler(this.panStatus_Click);
+ this.picIconStatus.MouseLeave += new System.EventHandler(this.panStatus_MouseLeave);
+ this.picIconStatus.MouseHover += new System.EventHandler(this.panStatus_MouseHover);
+ //
+ // labStatusSelected
+ //
+ this.labStatusSelected.BackColor = System.Drawing.Color.Transparent;
+ this.labStatusSelected.Location = new System.Drawing.Point(10, 48);
+ this.labStatusSelected.Margin = new System.Windows.Forms.Padding(0);
+ this.labStatusSelected.Name = "labStatusSelected";
+ this.labStatusSelected.Size = new System.Drawing.Size(89, 2);
+ this.labStatusSelected.TabIndex = 0;
+ //
+ // panData
+ //
+ this.panData.Back = System.Drawing.Color.Empty;
+ this.panData.Controls.Add(this.labDataSelected);
+ this.panData.Controls.Add(this.labDataText);
+ this.panData.Controls.Add(this.picIconData);
+ this.panData.Location = new System.Drawing.Point(765, 0);
+ this.panData.MatrixRound = 8;
+ this.panData.Name = "panData";
+ this.panData.Size = new System.Drawing.Size(109, 50);
+ this.panData.TabIndex = 2;
+ this.panData.Click += new System.EventHandler(this.panData_Click);
+ this.panData.MouseLeave += new System.EventHandler(this.panData_MouseLeave);
+ this.panData.MouseHover += new System.EventHandler(this.panData_MouseHover);
+ //
+ // labDataSelected
+ //
+ this.labDataSelected.BackColor = System.Drawing.Color.Transparent;
+ this.labDataSelected.Location = new System.Drawing.Point(10, 48);
+ this.labDataSelected.Margin = new System.Windows.Forms.Padding(0);
+ this.labDataSelected.Name = "labDataSelected";
+ this.labDataSelected.Size = new System.Drawing.Size(89, 2);
+ this.labDataSelected.TabIndex = 3;
+ //
+ // labDataText
+ //
+ this.labDataText.BackColor = System.Drawing.Color.Transparent;
+ this.labDataText.Cursor = System.Windows.Forms.Cursors.Hand;
+ this.labDataText.Font = new System.Drawing.Font("微软雅黑", 16F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Pixel, ((byte)(134)));
+ this.labDataText.ForeColor = System.Drawing.SystemColors.ControlText;
+ this.labDataText.Location = new System.Drawing.Point(30, 14);
+ this.labDataText.Margin = new System.Windows.Forms.Padding(0);
+ this.labDataText.Name = "labDataText";
+ this.labDataText.Size = new System.Drawing.Size(74, 20);
+ this.labDataText.TabIndex = 2;
+ this.labDataText.Text = "数据管理";
+ this.labDataText.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
+ this.labDataText.Click += new System.EventHandler(this.panData_Click);
+ this.labDataText.MouseLeave += new System.EventHandler(this.panData_MouseLeave);
+ this.labDataText.MouseHover += new System.EventHandler(this.panData_MouseHover);
+ //
+ // picIconData
+ //
+ this.picIconData.BackColor = System.Drawing.Color.Transparent;
+ this.picIconData.BackgroundImage = global::Casic.Birmm.RbFreqStandMeasure.Properties.Resources.icon_data;
+ this.picIconData.BackgroundImageLayout = System.Windows.Forms.ImageLayout.Zoom;
+ this.picIconData.Location = new System.Drawing.Point(10, 14);
+ this.picIconData.Name = "picIconData";
+ this.picIconData.Size = new System.Drawing.Size(20, 20);
+ this.picIconData.TabIndex = 1;
+ this.picIconData.TabStop = false;
+ this.picIconData.Click += new System.EventHandler(this.panData_Click);
+ this.picIconData.MouseLeave += new System.EventHandler(this.panData_MouseLeave);
+ this.picIconData.MouseHover += new System.EventHandler(this.panData_MouseHover);
+ //
+ // panHome
+ //
+ this.panHome.Back = System.Drawing.Color.Empty;
+ this.panHome.Controls.Add(this.labHomeText);
+ this.panHome.Controls.Add(this.picIconHome);
+ this.panHome.Controls.Add(this.labHomeSelected);
+ this.panHome.Cursor = System.Windows.Forms.Cursors.Hand;
+ this.panHome.Location = new System.Drawing.Point(20, 0);
+ this.panHome.MatrixRound = 8;
+ this.panHome.Name = "panHome";
+ this.panHome.Size = new System.Drawing.Size(75, 50);
+ this.panHome.TabIndex = 0;
+ this.panHome.Click += new System.EventHandler(this.panHome_Click);
+ this.panHome.MouseLeave += new System.EventHandler(this.panHome_MouseLeave);
+ this.panHome.MouseHover += new System.EventHandler(this.panHome_MouseHover);
+ //
+ // labHomeText
+ //
+ this.labHomeText.BackColor = System.Drawing.Color.Transparent;
+ this.labHomeText.Font = new System.Drawing.Font("微软雅黑", 16F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Pixel, ((byte)(134)));
+ this.labHomeText.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(18)))), ((int)(((byte)(150)))), ((int)(((byte)(219)))));
+ this.labHomeText.Location = new System.Drawing.Point(30, 14);
+ this.labHomeText.Margin = new System.Windows.Forms.Padding(0);
+ this.labHomeText.Name = "labHomeText";
+ this.labHomeText.Size = new System.Drawing.Size(42, 20);
+ this.labHomeText.TabIndex = 2;
+ this.labHomeText.Text = "首页";
+ this.labHomeText.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
+ this.labHomeText.Click += new System.EventHandler(this.panHome_Click);
+ this.labHomeText.MouseLeave += new System.EventHandler(this.panHome_MouseLeave);
+ this.labHomeText.MouseHover += new System.EventHandler(this.panHome_MouseHover);
+ //
+ // picIconHome
+ //
+ this.picIconHome.BackColor = System.Drawing.Color.Transparent;
+ this.picIconHome.BackgroundImage = global::Casic.Birmm.RbFreqStandMeasure.Properties.Resources.icon_home_selected;
+ this.picIconHome.BackgroundImageLayout = System.Windows.Forms.ImageLayout.Zoom;
+ this.picIconHome.Location = new System.Drawing.Point(10, 14);
+ this.picIconHome.Margin = new System.Windows.Forms.Padding(0);
+ this.picIconHome.Name = "picIconHome";
+ this.picIconHome.Size = new System.Drawing.Size(20, 20);
+ this.picIconHome.TabIndex = 1;
+ this.picIconHome.TabStop = false;
+ this.picIconHome.Click += new System.EventHandler(this.panHome_Click);
+ this.picIconHome.MouseLeave += new System.EventHandler(this.panHome_MouseLeave);
+ this.picIconHome.MouseHover += new System.EventHandler(this.panHome_MouseHover);
+ //
+ // labHomeSelected
+ //
+ this.labHomeSelected.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(18)))), ((int)(((byte)(150)))), ((int)(((byte)(219)))));
+ this.labHomeSelected.Location = new System.Drawing.Point(10, 48);
+ this.labHomeSelected.Name = "labHomeSelected";
+ this.labHomeSelected.Size = new System.Drawing.Size(55, 2);
+ this.labHomeSelected.TabIndex = 0;
+ //
+ // panMeasure
+ //
+ this.panMeasure.Back = System.Drawing.Color.Empty;
+ this.panMeasure.Controls.Add(this.labMeasureText);
+ this.panMeasure.Controls.Add(this.labMeasureSelected);
+ this.panMeasure.Controls.Add(this.picIconMeasure);
+ this.panMeasure.Location = new System.Drawing.Point(619, 0);
+ this.panMeasure.MatrixRound = 8;
+ this.panMeasure.Name = "panMeasure";
+ this.panMeasure.Size = new System.Drawing.Size(141, 50);
+ this.panMeasure.TabIndex = 2;
+ this.panMeasure.Click += new System.EventHandler(this.panMeasure_Click);
+ this.panMeasure.MouseLeave += new System.EventHandler(this.panMeasure_MouseLeave);
+ this.panMeasure.MouseHover += new System.EventHandler(this.panMeasure_MouseHover);
+ //
+ // labMeasureText
+ //
+ this.labMeasureText.BackColor = System.Drawing.Color.Transparent;
+ this.labMeasureText.Cursor = System.Windows.Forms.Cursors.Hand;
+ this.labMeasureText.Font = new System.Drawing.Font("微软雅黑", 16F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Pixel, ((byte)(134)));
+ this.labMeasureText.ForeColor = System.Drawing.SystemColors.ControlText;
+ this.labMeasureText.Location = new System.Drawing.Point(30, 14);
+ this.labMeasureText.Margin = new System.Windows.Forms.Padding(0);
+ this.labMeasureText.Name = "labMeasureText";
+ this.labMeasureText.Size = new System.Drawing.Size(106, 20);
+ this.labMeasureText.TabIndex = 2;
+ this.labMeasureText.Text = "计量信息管理";
+ this.labMeasureText.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
+ this.labMeasureText.Click += new System.EventHandler(this.panMeasure_Click);
+ this.labMeasureText.MouseLeave += new System.EventHandler(this.panMeasure_MouseLeave);
+ this.labMeasureText.MouseHover += new System.EventHandler(this.panMeasure_MouseHover);
+ //
+ // labMeasureSelected
+ //
+ this.labMeasureSelected.BackColor = System.Drawing.Color.Transparent;
+ this.labMeasureSelected.Location = new System.Drawing.Point(10, 48);
+ this.labMeasureSelected.Margin = new System.Windows.Forms.Padding(0);
+ this.labMeasureSelected.Name = "labMeasureSelected";
+ this.labMeasureSelected.Size = new System.Drawing.Size(121, 2);
+ this.labMeasureSelected.TabIndex = 3;
+ //
+ // picIconMeasure
+ //
+ this.picIconMeasure.BackColor = System.Drawing.Color.Transparent;
+ this.picIconMeasure.BackgroundImage = global::Casic.Birmm.RbFreqStandMeasure.Properties.Resources.icon_measure;
+ this.picIconMeasure.BackgroundImageLayout = System.Windows.Forms.ImageLayout.Zoom;
+ this.picIconMeasure.Location = new System.Drawing.Point(10, 14);
+ this.picIconMeasure.Name = "picIconMeasure";
+ this.picIconMeasure.Size = new System.Drawing.Size(20, 20);
+ this.picIconMeasure.TabIndex = 1;
+ this.picIconMeasure.TabStop = false;
+ this.picIconMeasure.Click += new System.EventHandler(this.panMeasure_Click);
+ this.picIconMeasure.MouseLeave += new System.EventHandler(this.panMeasure_MouseLeave);
+ this.picIconMeasure.MouseHover += new System.EventHandler(this.panMeasure_MouseHover);
+ //
+ // panCounter
+ //
+ this.panCounter.Back = System.Drawing.Color.Empty;
+ this.panCounter.Controls.Add(this.labCounterSelected);
+ this.panCounter.Controls.Add(this.labCounterText);
+ this.panCounter.Controls.Add(this.picIconCounter);
+ this.panCounter.Location = new System.Drawing.Point(360, 0);
+ this.panCounter.MatrixRound = 8;
+ this.panCounter.Name = "panCounter";
+ this.panCounter.Size = new System.Drawing.Size(254, 50);
+ this.panCounter.TabIndex = 2;
+ this.panCounter.Click += new System.EventHandler(this.panCounter_Click);
+ this.panCounter.MouseLeave += new System.EventHandler(this.panCounter_MouseLeave);
+ this.panCounter.MouseHover += new System.EventHandler(this.panCounter_MouseHover);
+ //
+ // labCounterSelected
+ //
+ this.labCounterSelected.BackColor = System.Drawing.Color.Transparent;
+ this.labCounterSelected.Location = new System.Drawing.Point(10, 48);
+ this.labCounterSelected.Margin = new System.Windows.Forms.Padding(0);
+ this.labCounterSelected.Name = "labCounterSelected";
+ this.labCounterSelected.Size = new System.Drawing.Size(233, 2);
+ this.labCounterSelected.TabIndex = 4;
+ //
+ // labCounterText
+ //
+ this.labCounterText.BackColor = System.Drawing.Color.Transparent;
+ this.labCounterText.Cursor = System.Windows.Forms.Cursors.Hand;
+ this.labCounterText.Font = new System.Drawing.Font("微软雅黑", 16F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Pixel, ((byte)(134)));
+ this.labCounterText.ForeColor = System.Drawing.SystemColors.ControlText;
+ this.labCounterText.Location = new System.Drawing.Point(30, 14);
+ this.labCounterText.Margin = new System.Windows.Forms.Padding(0);
+ this.labCounterText.Name = "labCounterText";
+ this.labCounterText.Size = new System.Drawing.Size(218, 20);
+ this.labCounterText.TabIndex = 2;
+ this.labCounterText.Text = "频率计数器范围及灵敏度测量";
+ this.labCounterText.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
+ this.labCounterText.Click += new System.EventHandler(this.panCounter_Click);
+ this.labCounterText.MouseLeave += new System.EventHandler(this.panCounter_MouseLeave);
+ this.labCounterText.MouseHover += new System.EventHandler(this.panCounter_MouseHover);
+ //
+ // picIconCounter
+ //
+ this.picIconCounter.BackColor = System.Drawing.Color.Transparent;
+ this.picIconCounter.BackgroundImage = global::Casic.Birmm.RbFreqStandMeasure.Properties.Resources.icon_counter;
+ this.picIconCounter.BackgroundImageLayout = System.Windows.Forms.ImageLayout.Zoom;
+ this.picIconCounter.Location = new System.Drawing.Point(10, 14);
+ this.picIconCounter.Name = "picIconCounter";
+ this.picIconCounter.Size = new System.Drawing.Size(20, 20);
+ this.picIconCounter.TabIndex = 1;
+ this.picIconCounter.TabStop = false;
+ this.picIconCounter.Click += new System.EventHandler(this.panCounter_Click);
+ this.picIconCounter.MouseLeave += new System.EventHandler(this.panCounter_MouseLeave);
+ this.picIconCounter.MouseHover += new System.EventHandler(this.panCounter_MouseHover);
+ //
+ // panelMain
+ //
+ this.panelMain.Location = new System.Drawing.Point(0, 114);
+ this.panelMain.Name = "panelMain";
+ this.panelMain.Size = new System.Drawing.Size(1024, 654);
+ this.panelMain.TabIndex = 2;
+ //
// RbFreqStdMeas
//
this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 12F);
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
this.ClientSize = new System.Drawing.Size(1024, 768);
+ this.Controls.Add(this.panelMain);
this.Controls.Add(this.panMenu);
this.Controls.Add(this.penBanner);
this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.None;
@@ -221,11 +560,21 @@
this.Text = "RbFreqStdMeas";
this.Load += new System.EventHandler(this.RbFreqStdMeas_Load);
this.panMenu.ResumeLayout(false);
+ this.penBanner.ResumeLayout(false);
+ this.panDev.ResumeLayout(false);
+ ((System.ComponentModel.ISupportInitialize)(this.picIconDev)).EndInit();
+ this.panSetting.ResumeLayout(false);
+ ((System.ComponentModel.ISupportInitialize)(this.picIconSetting)).EndInit();
this.panStatus.ResumeLayout(false);
((System.ComponentModel.ISupportInitialize)(this.picIconStatus)).EndInit();
+ this.panData.ResumeLayout(false);
+ ((System.ComponentModel.ISupportInitialize)(this.picIconData)).EndInit();
this.panHome.ResumeLayout(false);
((System.ComponentModel.ISupportInitialize)(this.picIconHome)).EndInit();
- this.penBanner.ResumeLayout(false);
+ this.panMeasure.ResumeLayout(false);
+ ((System.ComponentModel.ISupportInitialize)(this.picIconMeasure)).EndInit();
+ this.panCounter.ResumeLayout(false);
+ ((System.ComponentModel.ISupportInitialize)(this.picIconCounter)).EndInit();
this.ResumeLayout(false);
}
@@ -244,5 +593,27 @@
private RoundPanel panStatus;
private RoundPanel panHome;
private System.Windows.Forms.Label labStatusSelected;
+ private RoundPanel panDev;
+ private System.Windows.Forms.PictureBox picIconDev;
+ private System.Windows.Forms.Label labDevText;
+ private System.Windows.Forms.Label labMeasureSelected;
+ private RoundPanel panCounter;
+ private System.Windows.Forms.Label labCounterText;
+ private System.Windows.Forms.PictureBox picIconCounter;
+ private RoundPanel panMeasure;
+ private System.Windows.Forms.Label labMeasureText;
+ private System.Windows.Forms.PictureBox picIconMeasure;
+ private RoundPanel panData;
+ private System.Windows.Forms.Label labDataText;
+ private System.Windows.Forms.PictureBox picIconData;
+ private RoundPanel panSetting;
+ private System.Windows.Forms.Label labSettingText;
+ private System.Windows.Forms.PictureBox picIconSetting;
+ private System.Windows.Forms.Label labCounterSelected;
+ private System.Windows.Forms.Label labDevSelected;
+ private System.Windows.Forms.Label labDataSelected;
+ private System.Windows.Forms.Label labSettingSelected;
+ private System.Windows.Forms.Button btnMinSys;
+ private System.Windows.Forms.Panel panelMain;
}
}
\ No newline at end of file
diff --git a/RbFreqStandMeasure/RbFreqStdMeas.cs b/RbFreqStandMeasure/RbFreqStdMeas.cs
index 3858ddb..af980d7 100644
--- a/RbFreqStandMeasure/RbFreqStdMeas.cs
+++ b/RbFreqStandMeasure/RbFreqStdMeas.cs
@@ -1,13 +1,9 @@
-using Casic.Birmm.RbFreqStandMeasure.Properties;
+using Casic.Birmm.RbFreqStandMeasure.info;
+using Casic.Birmm.RbFreqStandMeasure.Properties;
+using Casic.Birmm.RbFreqStandMeasure.setting;
using System;
-using System.Collections.Generic;
-using System.ComponentModel;
-using System.Data;
using System.Drawing;
-using System.Linq;
-using System.Resources;
using System.Runtime.InteropServices;
-using System.Text;
using System.Windows.Forms;
namespace Casic.Birmm.RbFreqStandMeasure
@@ -15,7 +11,7 @@
public partial class RbFreqStdMeas : Form
{
- #region 无边框拖动效果
+ #region 无边框拖动效果/最小化窗口/关闭窗口
[DllImport("user32.dll")]//拖动无窗体的控件
public static extern bool ReleaseCapture();
[DllImport("user32.dll")]
@@ -30,9 +26,29 @@
ReleaseCapture();
SendMessage(this.Handle, WM_SYSCOMMAND, SC_MOVE + HTCAPTION, 0);
}
+ private void btnExitSys_Click(object sender, EventArgs e)
+ {
+ Application.Exit();
+ }
+ private void btnMinSys_Click(object sender, EventArgs e)
+ {
+ this.WindowState = FormWindowState.Minimized;
+ }
+ private void btnExitSys_MouseHover(object sender, EventArgs e)
+ {
+ ToolTip p = new ToolTip();
+ p.ShowAlways = true;
+ p.SetToolTip(this.btnExitSys, "退出");
+ }
+ private void btnMinSys_MouseHover(object sender, EventArgs e)
+ {
+ ToolTip p = new ToolTip();
+ p.ShowAlways = true;
+ p.SetToolTip(this.btnMinSys, "最小化");
+ }
#endregion
- private bool[] menuSelected = { true, false };
+ private bool[] menuSelected = { true, false, false, false, false, false, false };
// 按钮图标
private PictureBox[] menuPics;
// 按钮图标的资源名称(选中的资源名称在后面加上 _selected)
@@ -57,7 +73,7 @@
// 将当前按钮的效果设置为默认未选中
this.menuPics[index].BackgroundImage = (Bitmap)Resources.ResourceManager.GetObject(this.menuIconResources[index], null);
- this.menuLabels[index].ForeColor = ColorTranslator.FromHtml("#2C2C2C");
+ this.menuLabels[index].ForeColor = ColorTranslator.FromHtml("#333333");
this.menuUnderlines[index].BackColor = Color.Transparent;
}
@@ -79,13 +95,15 @@
LeaveHome();
// 重新设置所有按钮的状态
- this.menuSelected = new bool[] { true, false };
+ this.menuSelected = new bool[] { true, false, false, false, false, false, false };
// 将新选中的按钮设置为选中
this.picIconHome.BackgroundImage = (Bitmap)Resources.ResourceManager.GetObject("icon_home_selected", null);
- this.labHomeText.ForeColor = ColorTranslator.FromHtml("#1296db");
- this.labHomeSelected.BackColor = ColorTranslator.FromHtml("#1296db");
+ this.labHomeText.ForeColor = ColorTranslator.FromHtml("#3f84d7");
+ this.labHomeSelected.BackColor = ColorTranslator.FromHtml("#3f84d7");
+ // 切换至首页
+ switchMainPanel(0);
}
#endregion
@@ -107,12 +125,163 @@
LeaveStatus();
// 重新设置所有按钮的状态
- this.menuSelected = new bool[] { false, true };
+ this.menuSelected = new bool[] { false, true, false, false, false, false, false };
// 将新选中的按钮设置为选中
this.picIconStatus.BackgroundImage = (Bitmap) Resources.ResourceManager.GetObject("icon_status_selected", null);
- this.labStatusText.ForeColor = ColorTranslator.FromHtml("#1296db");
- this.labStatusSelected.BackColor = ColorTranslator.FromHtml("#1296db");
+ this.labStatusText.ForeColor = ColorTranslator.FromHtml("#3f84d7");
+ this.labStatusSelected.BackColor = ColorTranslator.FromHtml("#3f84d7");
+
+ // 切换到基准状态页面
+ switchMainPanel(1);
+ }
+ #endregion
+
+ #region 送检仪器按钮点击、移入/移出效果
+ private void HoverDev()
+ {
+ panDev.Back = ColorTranslator.FromHtml("#56a3f2");
+ }
+ private void LeaveDev()
+ {
+ panDev.Back = Color.Transparent;
+ }
+ private void SelectDev()
+ {
+ // 移除所有按钮的选中样式
+ this.ClearAllMenuSelected();
+
+ // 鼠标移入效果去掉
+ LeaveDev();
+
+ // 重新设置所有按钮的状态
+ this.menuSelected = new bool[] { false, false, true, false, false ,false ,false };
+
+ // 将新选中的按钮设置为选中
+ this.picIconDev.BackgroundImage = (Bitmap)Resources.ResourceManager.GetObject("icon_dev_selected", null);
+ this.labDevText.ForeColor = ColorTranslator.FromHtml("#3f84d7");
+ this.labDevSelected.BackColor = ColorTranslator.FromHtml("#3f84d7");
+
+ // 切换至待检仪器管理
+ switchMainPanel(2);
+ }
+ #endregion
+
+ #region 频率计数器测量点击、移入/移出效果
+ private void HoverCounter()
+ {
+ panCounter.Back = ColorTranslator.FromHtml("#56a3f2");
+ }
+ private void LeaveCounter()
+ {
+ panCounter.Back = Color.Transparent;
+ }
+ private void SelectCounter()
+ {
+ // 移除所有按钮的选中样式
+ this.ClearAllMenuSelected();
+
+ // 鼠标移入效果去掉
+ LeaveCounter();
+
+ // 重新设置所有按钮的状态
+ this.menuSelected = new bool[] { false, false, false, true, false, false, false };
+
+ // 将新选中的按钮设置为选中
+ this.picIconCounter.BackgroundImage = (Bitmap)Resources.ResourceManager.GetObject("icon_counter_selected", null);
+ this.labCounterText.ForeColor = ColorTranslator.FromHtml("#3f84d7");
+ this.labCounterSelected.BackColor = ColorTranslator.FromHtml("#3f84d7");
+ }
+ #endregion
+
+ #region 计量管理点击、移入/移出效果
+ private void HoverMeasure()
+ {
+ panMeasure.Back = ColorTranslator.FromHtml("#56a3f2");
+ }
+ private void LeaveMeasure()
+ {
+ panMeasure.Back = Color.Transparent;
+ }
+ private void SelectMeasure()
+ {
+ // 移除所有按钮的选中样式
+ this.ClearAllMenuSelected();
+
+ // 鼠标移入效果去掉
+ LeaveMeasure();
+
+ // 重新设置所有按钮的状态
+ this.menuSelected = new bool[] { false, false, false, false, true, false, false };
+
+ // 将新选中的按钮设置为选中
+ this.picIconMeasure.BackgroundImage = (Bitmap)Resources.ResourceManager.GetObject("icon_measure_selected", null);
+ this.labMeasureText.ForeColor = ColorTranslator.FromHtml("#3f84d7");
+ this.labMeasureSelected.BackColor = ColorTranslator.FromHtml("#3f84d7");
+
+ // 切换至计量信息管理
+ switchMainPanel(4);
+ }
+ #endregion
+
+ #region 数据管理点击、移入/移出效果
+ private void HoverData()
+ {
+ panData.Back = ColorTranslator.FromHtml("#56a3f2");
+ }
+ private void LeaveData()
+ {
+ panData.Back = Color.Transparent;
+ }
+ private void SelectData()
+ {
+ // 移除所有按钮的选中样式
+ this.ClearAllMenuSelected();
+
+ // 鼠标移入效果去掉
+ LeaveData();
+
+ // 重新设置所有按钮的状态
+ this.menuSelected = new bool[] { false, false, false, false, false, true, false };
+
+ // 将新选中的按钮设置为选中
+ this.picIconData.BackgroundImage = (Bitmap)Resources.ResourceManager.GetObject("icon_data_selected", null);
+ this.labDataText.ForeColor = ColorTranslator.FromHtml("#3f84d7");
+ this.labDataSelected.BackColor = ColorTranslator.FromHtml("#3f84d7");
+
+ // 弹出对话框进行数据备份与还原操作
+ DataBackupDlg dataDlg = new DataBackupDlg();
+ dataDlg.ShowDialog();
+ }
+ #endregion
+
+ #region 系统管理点击、移入/移出效果
+ private void HoverSetting()
+ {
+ panSetting.Back = ColorTranslator.FromHtml("#56a3f2");
+ }
+ private void LeaveSetting()
+ {
+ panSetting.Back = Color.Transparent;
+ }
+ private void SelectSetting()
+ {
+ // 移除所有按钮的选中样式
+ this.ClearAllMenuSelected();
+
+ // 鼠标移入效果去掉
+ LeaveSetting();
+
+ // 重新设置所有按钮的状态
+ this.menuSelected = new bool[] { false, false, false, false, false, false, true };
+
+ // 将新选中的按钮设置为选中
+ this.picIconSetting.BackgroundImage = (Bitmap)Resources.ResourceManager.GetObject("icon_setting_selected", null);
+ this.labSettingText.ForeColor = ColorTranslator.FromHtml("#3f84d7");
+ this.labSettingSelected.BackColor = ColorTranslator.FromHtml("#3f84d7");
+
+ // 切换到设置的界面
+ switchMainPanel(6);
}
#endregion
@@ -123,22 +292,13 @@
private void RbFreqStdMeas_Load(object sender, EventArgs e)
{
- this.menuPics = new PictureBox[] { this.picIconHome, this.picIconStatus };
- this.menuLabels = new Label[] { this.labHomeText, this.labStatusText };
- this.menuUnderlines = new Label[] { this.labHomeSelected, this.labStatusSelected };
- this.menuIconResources = new string[] { "icon_home", "icon_status" };
- }
+ this.menuPics = new PictureBox[] { this.picIconHome, this.picIconStatus, this.picIconDev, this.picIconCounter, this.picIconMeasure, this.picIconData, this.picIconSetting };
+ this.menuLabels = new Label[] { this.labHomeText, this.labStatusText, this.labDevText, this.labCounterText, this.labMeasureText, this.labDataText, this.labSettingText };
+ this.menuUnderlines = new Label[] { this.labHomeSelected, this.labStatusSelected, this.labDevSelected, this.labCounterSelected, this.labMeasureSelected, this.labDataSelected, this.labSettingSelected };
+ this.menuIconResources = new string[] { "icon_home", "icon_status", "icon_dev", "icon_counter", "icon_measure", "icon_data", "icon_setting" };
- private void btnExitSys_Click(object sender, EventArgs e)
- {
- Application.Exit();
- }
-
- private void btnExitSys_MouseHover(object sender, EventArgs e)
- {
- ToolTip p = new ToolTip();
- p.ShowAlways = true;
- p.SetToolTip(this.btnExitSys, "退出");
+ // 加载首页的内容
+ switchMainPanel(0);
}
private void panHome_Click(object sender, EventArgs e)
@@ -191,5 +351,169 @@
LeaveStatus();
}
}
+
+ private void panDev_Click(object sender, EventArgs e)
+ {
+ if (this.menuSelected[2] == false)
+ {
+ SelectDev();
+ }
+ }
+
+ private void panDev_MouseHover(object sender, EventArgs e)
+ {
+ if (this.menuSelected[2] == false)
+ {
+ HoverDev();
+ }
+ }
+
+ private void panDev_MouseLeave(object sender, EventArgs e)
+ {
+ if (this.menuSelected[2] == false)
+ {
+ LeaveDev();
+ }
+ }
+
+ private void panCounter_Click(object sender, EventArgs e)
+ {
+ if (this.menuSelected[3] == false)
+ {
+ SelectCounter();
+ }
+ }
+
+ private void panCounter_MouseHover(object sender, EventArgs e)
+ {
+ if (this.menuSelected[3] == false)
+ {
+ HoverCounter();
+ }
+ }
+
+ private void panCounter_MouseLeave(object sender, EventArgs e)
+ {
+ if (this.menuSelected[3] == false)
+ {
+ LeaveCounter();
+ }
+ }
+
+ private void panMeasure_Click(object sender, EventArgs e)
+ {
+ if (this.menuSelected[4] == false)
+ {
+ SelectMeasure();
+ }
+ }
+
+ private void panMeasure_MouseHover(object sender, EventArgs e)
+ {
+ if (this.menuSelected[4] == false)
+ {
+ HoverMeasure();
+ }
+ }
+
+ private void panMeasure_MouseLeave(object sender, EventArgs e)
+ {
+ if (this.menuSelected[4] == false)
+ {
+ LeaveMeasure();
+ }
+ }
+
+ private void panData_Click(object sender, EventArgs e)
+ {
+ if (this.menuSelected[5] == false)
+ {
+ SelectData();
+ }
+ }
+
+ private void panData_MouseHover(object sender, EventArgs e)
+ {
+ if (this.menuSelected[5] == false)
+ {
+ HoverData();
+ }
+ }
+
+ private void panData_MouseLeave(object sender, EventArgs e)
+ {
+ if (this.menuSelected[5] == false)
+ {
+ LeaveData();
+ }
+ }
+
+ private void panSetting_Click(object sender, EventArgs e)
+ {
+ if (this.menuSelected[6] == false)
+ {
+ SelectSetting();
+ }
+ }
+
+ private void panSetting_MouseHover(object sender, EventArgs e)
+ {
+ if (this.menuSelected[6] == false)
+ {
+ HoverSetting();
+ }
+ }
+
+ private void panSetting_MouseLeave(object sender, EventArgs e)
+ {
+ if (this.menuSelected[6] == false)
+ {
+ LeaveSetting();
+ }
+ }
+
+ private void switchMainPanel(int index)
+ {
+ this.panelMain.Controls.Clear();
+
+ switch (index)
+ {
+ case 0: // 首页
+ HomeCtrlForm home = new HomeCtrlForm();
+ home.Show();
+ this.panelMain.Controls.Add(home);
+ break;
+
+ case 1: // 基准状态
+ StatusCtrlForm statusForm = new StatusCtrlForm();
+ statusForm.Show();
+ this.panelMain.Controls.Add(statusForm);
+ break;
+
+ case 2: // 待检设备
+ InfoCtrlForm infoForm = new InfoCtrlForm();
+ infoForm.Show();
+ this.panelMain.Controls.Add(infoForm);
+ break;
+
+ case 3: // 频率计数器范围
+ break;
+
+ case 4: // 计量信息
+ DevTestedCtrlForm tested = new DevTestedCtrlForm();
+ tested.Show();
+ this.panelMain.Controls.Add(tested);
+ break;
+
+ case 6: // 设置
+ SettingCtrlForm settingForm = new SettingCtrlForm();
+ settingForm.Show();
+ this.panelMain.Controls.Add(settingForm);
+ break;
+
+ default:
+ break;
+ }
+ }
}
}
\ No newline at end of file
diff --git a/RbFreqStandMeasure/StatusCtrlForm.Designer.cs b/RbFreqStandMeasure/StatusCtrlForm.Designer.cs
index bf5071a..b4151fd 100644
--- a/RbFreqStandMeasure/StatusCtrlForm.Designer.cs
+++ b/RbFreqStandMeasure/StatusCtrlForm.Designer.cs
@@ -31,21 +31,34 @@
{
this.panelSite = new System.Windows.Forms.Panel();
this.label5 = new System.Windows.Forms.Label();
- this.panelStatus = new System.Windows.Forms.Panel();
+ this.panel3 = new System.Windows.Forms.Panel();
+ this.label8 = new System.Windows.Forms.Label();
+ this.label13 = new System.Windows.Forms.Label();
+ this.label12 = new System.Windows.Forms.Label();
+ this.label11 = new System.Windows.Forms.Label();
+ this.label9 = new System.Windows.Forms.Label();
+ this.label10 = new System.Windows.Forms.Label();
+ this.panel2 = new System.Windows.Forms.Panel();
this.label4 = new System.Windows.Forms.Label();
+ this.label7 = new System.Windows.Forms.Label();
+ this.label6 = new System.Windows.Forms.Label();
+ this.label1 = new System.Windows.Forms.Label();
+ this.panel1 = new System.Windows.Forms.Panel();
this.label3 = new System.Windows.Forms.Label();
this.label2 = new System.Windows.Forms.Label();
- this.label1 = new System.Windows.Forms.Label();
+ this.label14 = new System.Windows.Forms.Label();
this.panelSite.SuspendLayout();
- this.panelStatus.SuspendLayout();
+ this.panel3.SuspendLayout();
+ this.panel2.SuspendLayout();
+ this.panel1.SuspendLayout();
this.SuspendLayout();
//
// panelSite
//
this.panelSite.Controls.Add(this.label5);
- this.panelSite.Location = new System.Drawing.Point(200, 0);
+ this.panelSite.Location = new System.Drawing.Point(232, 0);
this.panelSite.Name = "panelSite";
- this.panelSite.Size = new System.Drawing.Size(800, 640);
+ this.panelSite.Size = new System.Drawing.Size(773, 640);
this.panelSite.TabIndex = 3;
//
// label5
@@ -57,67 +70,208 @@
this.label5.TabIndex = 0;
this.label5.Text = "卫星位置图";
//
- // panelStatus
+ // panel3
//
- this.panelStatus.BackColor = System.Drawing.SystemColors.Window;
- this.panelStatus.Controls.Add(this.label4);
- this.panelStatus.Controls.Add(this.label3);
- this.panelStatus.Controls.Add(this.label2);
- this.panelStatus.Controls.Add(this.label1);
- this.panelStatus.Location = new System.Drawing.Point(0, 0);
- this.panelStatus.Name = "panelStatus";
- this.panelStatus.Size = new System.Drawing.Size(200, 640);
- this.panelStatus.TabIndex = 2;
+ this.panel3.BackgroundImage = global::Casic.Birmm.RbFreqStandMeasure.Properties.Resources.bg_status_location;
+ this.panel3.Controls.Add(this.label8);
+ this.panel3.Controls.Add(this.label13);
+ this.panel3.Controls.Add(this.label12);
+ this.panel3.Controls.Add(this.label11);
+ this.panel3.Controls.Add(this.label9);
+ this.panel3.Controls.Add(this.label10);
+ this.panel3.Location = new System.Drawing.Point(6, 360);
+ this.panel3.Name = "panel3";
+ this.panel3.Size = new System.Drawing.Size(224, 293);
+ this.panel3.TabIndex = 6;
+ //
+ // label8
+ //
+ this.label8.BackColor = System.Drawing.Color.Transparent;
+ this.label8.Font = new System.Drawing.Font("微软雅黑", 14F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Pixel, ((byte)(134)));
+ this.label8.Location = new System.Drawing.Point(0, 20);
+ this.label8.Name = "label8";
+ this.label8.Size = new System.Drawing.Size(224, 25);
+ this.label8.TabIndex = 0;
+ this.label8.Text = "位置信息";
+ this.label8.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
+ //
+ // label13
+ //
+ this.label13.BackColor = System.Drawing.Color.Transparent;
+ this.label13.Font = new System.Drawing.Font("微软雅黑", 14F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Pixel, ((byte)(134)));
+ this.label13.Location = new System.Drawing.Point(0, 220);
+ this.label13.Margin = new System.Windows.Forms.Padding(0);
+ this.label13.Name = "label13";
+ this.label13.Size = new System.Drawing.Size(75, 25);
+ this.label13.TabIndex = 1;
+ this.label13.Text = "Z";
+ this.label13.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
+ //
+ // label12
+ //
+ this.label12.BackColor = System.Drawing.Color.Transparent;
+ this.label12.Font = new System.Drawing.Font("微软雅黑", 14F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Pixel, ((byte)(134)));
+ this.label12.Location = new System.Drawing.Point(0, 180);
+ this.label12.Margin = new System.Windows.Forms.Padding(0);
+ this.label12.Name = "label12";
+ this.label12.Size = new System.Drawing.Size(75, 25);
+ this.label12.TabIndex = 1;
+ this.label12.Text = "Y";
+ this.label12.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
+ //
+ // label11
+ //
+ this.label11.BackColor = System.Drawing.Color.Transparent;
+ this.label11.Font = new System.Drawing.Font("微软雅黑", 14F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Pixel, ((byte)(134)));
+ this.label11.Location = new System.Drawing.Point(0, 140);
+ this.label11.Margin = new System.Windows.Forms.Padding(0);
+ this.label11.Name = "label11";
+ this.label11.Size = new System.Drawing.Size(75, 25);
+ this.label11.TabIndex = 1;
+ this.label11.Text = "X";
+ this.label11.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
+ //
+ // label9
+ //
+ this.label9.BackColor = System.Drawing.Color.Transparent;
+ this.label9.Font = new System.Drawing.Font("微软雅黑", 14F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Pixel, ((byte)(134)));
+ this.label9.Location = new System.Drawing.Point(0, 60);
+ this.label9.Name = "label9";
+ this.label9.Size = new System.Drawing.Size(75, 25);
+ this.label9.TabIndex = 1;
+ this.label9.Text = "经度";
+ this.label9.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
+ //
+ // label10
+ //
+ this.label10.BackColor = System.Drawing.Color.Transparent;
+ this.label10.Font = new System.Drawing.Font("微软雅黑", 14F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Pixel, ((byte)(134)));
+ this.label10.Location = new System.Drawing.Point(0, 100);
+ this.label10.Margin = new System.Windows.Forms.Padding(0);
+ this.label10.Name = "label10";
+ this.label10.Size = new System.Drawing.Size(75, 25);
+ this.label10.TabIndex = 1;
+ this.label10.Text = "纬度";
+ this.label10.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
+ //
+ // panel2
+ //
+ this.panel2.BackgroundImage = global::Casic.Birmm.RbFreqStandMeasure.Properties.Resources.bg_status_time;
+ this.panel2.Controls.Add(this.label4);
+ this.panel2.Controls.Add(this.label7);
+ this.panel2.Controls.Add(this.label6);
+ this.panel2.Controls.Add(this.label1);
+ this.panel2.Location = new System.Drawing.Point(6, 160);
+ this.panel2.Name = "panel2";
+ this.panel2.Size = new System.Drawing.Size(224, 200);
+ this.panel2.TabIndex = 5;
//
// label4
//
- this.label4.AutoSize = true;
- this.label4.Location = new System.Drawing.Point(59, 185);
+ this.label4.BackColor = System.Drawing.Color.Transparent;
+ this.label4.Font = new System.Drawing.Font("微软雅黑", 14F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Pixel, ((byte)(134)));
+ this.label4.Location = new System.Drawing.Point(0, 20);
this.label4.Name = "label4";
- this.label4.Size = new System.Drawing.Size(53, 12);
+ this.label4.Size = new System.Drawing.Size(224, 25);
this.label4.TabIndex = 0;
- this.label4.Text = "事件信息";
+ this.label4.Text = "时间信息";
+ this.label4.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
//
- // label3
+ // label7
//
- this.label3.AutoSize = true;
- this.label3.Location = new System.Drawing.Point(59, 139);
- this.label3.Name = "label3";
- this.label3.Size = new System.Drawing.Size(53, 12);
- this.label3.TabIndex = 0;
- this.label3.Text = "位置信息";
+ this.label7.BackColor = System.Drawing.Color.Transparent;
+ this.label7.Font = new System.Drawing.Font("微软雅黑", 14F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Pixel, ((byte)(134)));
+ this.label7.Location = new System.Drawing.Point(0, 140);
+ this.label7.Margin = new System.Windows.Forms.Padding(0);
+ this.label7.Name = "label7";
+ this.label7.Size = new System.Drawing.Size(75, 25);
+ this.label7.TabIndex = 1;
+ this.label7.Text = "MJD";
+ this.label7.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
//
- // label2
+ // label6
//
- this.label2.AutoSize = true;
- this.label2.Location = new System.Drawing.Point(59, 98);
- this.label2.Name = "label2";
- this.label2.Size = new System.Drawing.Size(53, 12);
- this.label2.TabIndex = 0;
- this.label2.Text = "锁定状态";
+ this.label6.BackColor = System.Drawing.Color.Transparent;
+ this.label6.Font = new System.Drawing.Font("微软雅黑", 14F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Pixel, ((byte)(134)));
+ this.label6.Location = new System.Drawing.Point(0, 100);
+ this.label6.Name = "label6";
+ this.label6.Size = new System.Drawing.Size(75, 25);
+ this.label6.TabIndex = 1;
+ this.label6.Text = "时间";
+ this.label6.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
//
// label1
//
- this.label1.AutoSize = true;
- this.label1.Location = new System.Drawing.Point(33, 53);
+ this.label1.BackColor = System.Drawing.Color.Transparent;
+ this.label1.Font = new System.Drawing.Font("微软雅黑", 14F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Pixel, ((byte)(134)));
+ this.label1.Location = new System.Drawing.Point(0, 60);
this.label1.Name = "label1";
- this.label1.Size = new System.Drawing.Size(29, 12);
- this.label1.TabIndex = 0;
- this.label1.Text = "状态";
+ this.label1.Size = new System.Drawing.Size(75, 25);
+ this.label1.TabIndex = 1;
+ this.label1.Text = "日期";
+ this.label1.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
+ //
+ // panel1
+ //
+ this.panel1.BackgroundImage = global::Casic.Birmm.RbFreqStandMeasure.Properties.Resources.bg_status_base;
+ this.panel1.Controls.Add(this.label3);
+ this.panel1.Controls.Add(this.label2);
+ this.panel1.Controls.Add(this.label14);
+ this.panel1.Location = new System.Drawing.Point(6, 0);
+ this.panel1.Margin = new System.Windows.Forms.Padding(0);
+ this.panel1.Name = "panel1";
+ this.panel1.Size = new System.Drawing.Size(224, 160);
+ this.panel1.TabIndex = 4;
+ //
+ // label3
+ //
+ this.label3.BackColor = System.Drawing.Color.Transparent;
+ this.label3.Font = new System.Drawing.Font("微软雅黑", 14F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Pixel, ((byte)(134)));
+ this.label3.Location = new System.Drawing.Point(0, 100);
+ this.label3.Name = "label3";
+ this.label3.Size = new System.Drawing.Size(75, 25);
+ this.label3.TabIndex = 1;
+ this.label3.Text = "接收机";
+ this.label3.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
+ //
+ // label2
+ //
+ this.label2.BackColor = System.Drawing.Color.Transparent;
+ this.label2.Font = new System.Drawing.Font("微软雅黑", 14F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Pixel, ((byte)(134)));
+ this.label2.Location = new System.Drawing.Point(0, 60);
+ this.label2.Name = "label2";
+ this.label2.Size = new System.Drawing.Size(75, 25);
+ this.label2.TabIndex = 1;
+ this.label2.Text = "原子钟";
+ this.label2.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
+ //
+ // label14
+ //
+ this.label14.BackColor = System.Drawing.Color.Transparent;
+ this.label14.Font = new System.Drawing.Font("微软雅黑", 14F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Pixel, ((byte)(134)));
+ this.label14.Location = new System.Drawing.Point(0, 20);
+ this.label14.Name = "label14";
+ this.label14.Size = new System.Drawing.Size(224, 25);
+ this.label14.TabIndex = 0;
+ this.label14.Text = "基本信息";
+ this.label14.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
//
// StatusCtrlForm
//
this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 12F);
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
+ this.Controls.Add(this.panel3);
+ this.Controls.Add(this.panel2);
+ this.Controls.Add(this.panel1);
this.Controls.Add(this.panelSite);
- this.Controls.Add(this.panelStatus);
this.Margin = new System.Windows.Forms.Padding(10);
this.Name = "StatusCtrlForm";
- this.Size = new System.Drawing.Size(1000, 640);
+ this.Size = new System.Drawing.Size(1024, 654);
this.panelSite.ResumeLayout(false);
this.panelSite.PerformLayout();
- this.panelStatus.ResumeLayout(false);
- this.panelStatus.PerformLayout();
+ this.panel3.ResumeLayout(false);
+ this.panel2.ResumeLayout(false);
+ this.panel1.ResumeLayout(false);
this.ResumeLayout(false);
}
@@ -126,10 +280,21 @@
private System.Windows.Forms.Panel panelSite;
private System.Windows.Forms.Label label5;
- private System.Windows.Forms.Panel panelStatus;
+ private System.Windows.Forms.Panel panel3;
+ private System.Windows.Forms.Label label8;
+ private System.Windows.Forms.Label label13;
+ private System.Windows.Forms.Label label12;
+ private System.Windows.Forms.Label label11;
+ private System.Windows.Forms.Label label9;
+ private System.Windows.Forms.Label label10;
+ private System.Windows.Forms.Panel panel2;
private System.Windows.Forms.Label label4;
+ private System.Windows.Forms.Label label7;
+ private System.Windows.Forms.Label label6;
+ private System.Windows.Forms.Label label1;
+ private System.Windows.Forms.Panel panel1;
private System.Windows.Forms.Label label3;
private System.Windows.Forms.Label label2;
- private System.Windows.Forms.Label label1;
+ private System.Windows.Forms.Label label14;
}
}
diff --git a/RbFreqStandMeasure/res/images/bg_banner.png b/RbFreqStandMeasure/res/images/bg_banner.png
index d795b7d..3119070 100644
--- a/RbFreqStandMeasure/res/images/bg_banner.png
+++ b/RbFreqStandMeasure/res/images/bg_banner.png
Binary files differ
diff --git a/RbFreqStandMeasure/HomeCtrlForm.Designer.cs b/RbFreqStandMeasure/HomeCtrlForm.Designer.cs
index fb515f8..73e477a 100644
--- a/RbFreqStandMeasure/HomeCtrlForm.Designer.cs
+++ b/RbFreqStandMeasure/HomeCtrlForm.Designer.cs
@@ -29,589 +29,271 @@
///
private void InitializeComponent()
{
- System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle1 = new System.Windows.Forms.DataGridViewCellStyle();
- System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle2 = new System.Windows.Forms.DataGridViewCellStyle();
- this.panelToBeTested = new System.Windows.Forms.Panel();
- this.dataGridViewX1 = new DevComponents.DotNetBar.Controls.DataGridViewX();
- this.Column13 = new System.Windows.Forms.DataGridViewTextBoxColumn();
- this.Column14 = new System.Windows.Forms.DataGridViewTextBoxColumn();
- this.Column15 = new System.Windows.Forms.DataGridViewTextBoxColumn();
- this.Column16 = new System.Windows.Forms.DataGridViewTextBoxColumn();
- this.Column17 = new System.Windows.Forms.DataGridViewTextBoxColumn();
- this.panelEx1 = new DevComponents.DotNetBar.PanelEx();
- this.labelX6 = new DevComponents.DotNetBar.LabelX();
- this.labelX5 = new DevComponents.DotNetBar.LabelX();
- this.labelX4 = new DevComponents.DotNetBar.LabelX();
- this.labelX3 = new DevComponents.DotNetBar.LabelX();
- this.labelX2 = new DevComponents.DotNetBar.LabelX();
- this.labelX1 = new DevComponents.DotNetBar.LabelX();
- this.panelEx2 = new DevComponents.DotNetBar.PanelEx();
- this.labelX7 = new DevComponents.DotNetBar.LabelX();
- this.labelX8 = new DevComponents.DotNetBar.LabelX();
- this.labelX10 = new DevComponents.DotNetBar.LabelX();
- this.labelX9 = new DevComponents.DotNetBar.LabelX();
- this.panelEx3 = new DevComponents.DotNetBar.PanelEx();
- this.labelX11 = new DevComponents.DotNetBar.LabelX();
- this.labelX13 = new DevComponents.DotNetBar.LabelX();
- this.labelX12 = new DevComponents.DotNetBar.LabelX();
- this.panelEx4 = new DevComponents.DotNetBar.PanelEx();
- this.dataGridViewX2 = new DevComponents.DotNetBar.Controls.DataGridViewX();
- this.Column18 = new System.Windows.Forms.DataGridViewTextBoxColumn();
- this.Column19 = new System.Windows.Forms.DataGridViewTextBoxColumn();
- this.Column20 = new System.Windows.Forms.DataGridViewTextBoxColumn();
- this.Column21 = new System.Windows.Forms.DataGridViewTextBoxColumn();
- this.Column22 = new System.Windows.Forms.DataGridViewTextBoxColumn();
- this.Column23 = new System.Windows.Forms.DataGridViewTextBoxColumn();
- this.Column24 = new System.Windows.Forms.DataGridViewTextBoxColumn();
- this.Column25 = new System.Windows.Forms.DataGridViewTextBoxColumn();
- this.Column26 = new System.Windows.Forms.DataGridViewTextBoxColumn();
- this.Column27 = new System.Windows.Forms.DataGridViewTextBoxColumn();
- this.Column28 = new System.Windows.Forms.DataGridViewTextBoxColumn();
- this.Column29 = new System.Windows.Forms.DataGridViewTextBoxColumn();
- this.buttonX1 = new DevComponents.DotNetBar.ButtonX();
- this.buttonX2 = new DevComponents.DotNetBar.ButtonX();
+ this.panel3 = new System.Windows.Forms.Panel();
+ this.panel2 = new System.Windows.Forms.Panel();
+ this.panel1 = new System.Windows.Forms.Panel();
+ this.panel4 = new System.Windows.Forms.Panel();
+ this.panel5 = new System.Windows.Forms.Panel();
this.label1 = new System.Windows.Forms.Label();
this.label2 = new System.Windows.Forms.Label();
- this.panelToBeTested.SuspendLayout();
- ((System.ComponentModel.ISupportInitialize)(this.dataGridViewX1)).BeginInit();
- this.panelEx1.SuspendLayout();
- this.panelEx2.SuspendLayout();
- this.panelEx3.SuspendLayout();
- this.panelEx4.SuspendLayout();
- ((System.ComponentModel.ISupportInitialize)(this.dataGridViewX2)).BeginInit();
+ this.label3 = new System.Windows.Forms.Label();
+ this.label4 = new System.Windows.Forms.Label();
+ this.label5 = new System.Windows.Forms.Label();
+ this.label6 = new System.Windows.Forms.Label();
+ this.label7 = new System.Windows.Forms.Label();
+ this.label8 = new System.Windows.Forms.Label();
+ this.label9 = new System.Windows.Forms.Label();
+ this.label10 = new System.Windows.Forms.Label();
+ this.label11 = new System.Windows.Forms.Label();
+ this.label12 = new System.Windows.Forms.Label();
+ this.label13 = new System.Windows.Forms.Label();
+ this.panel3.SuspendLayout();
+ this.panel2.SuspendLayout();
+ this.panel1.SuspendLayout();
this.SuspendLayout();
//
- // panelToBeTested
+ // panel3
//
- this.panelToBeTested.Controls.Add(this.dataGridViewX1);
- this.panelToBeTested.Controls.Add(this.buttonX2);
- this.panelToBeTested.Controls.Add(this.buttonX1);
- this.panelToBeTested.Location = new System.Drawing.Point(250, 0);
- this.panelToBeTested.Name = "panelToBeTested";
- this.panelToBeTested.Size = new System.Drawing.Size(750, 216);
- this.panelToBeTested.TabIndex = 4;
+ this.panel3.BackgroundImage = global::Casic.Birmm.RbFreqStandMeasure.Properties.Resources.bg_status_location;
+ this.panel3.Controls.Add(this.label8);
+ this.panel3.Controls.Add(this.label13);
+ this.panel3.Controls.Add(this.label12);
+ this.panel3.Controls.Add(this.label11);
+ this.panel3.Controls.Add(this.label9);
+ this.panel3.Controls.Add(this.label10);
+ this.panel3.Location = new System.Drawing.Point(6, 360);
+ this.panel3.Name = "panel3";
+ this.panel3.Size = new System.Drawing.Size(224, 293);
+ this.panel3.TabIndex = 2;
//
- // dataGridViewX1
+ // panel2
//
- this.dataGridViewX1.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.AutoSize;
- this.dataGridViewX1.Columns.AddRange(new System.Windows.Forms.DataGridViewColumn[] {
- this.Column13,
- this.Column14,
- this.Column15,
- this.Column16,
- this.Column17});
- dataGridViewCellStyle1.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleLeft;
- dataGridViewCellStyle1.BackColor = System.Drawing.SystemColors.Window;
- dataGridViewCellStyle1.Font = new System.Drawing.Font("宋体", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
- dataGridViewCellStyle1.ForeColor = System.Drawing.SystemColors.ControlText;
- dataGridViewCellStyle1.SelectionBackColor = System.Drawing.SystemColors.Highlight;
- dataGridViewCellStyle1.SelectionForeColor = System.Drawing.SystemColors.ControlText;
- dataGridViewCellStyle1.WrapMode = System.Windows.Forms.DataGridViewTriState.False;
- this.dataGridViewX1.DefaultCellStyle = dataGridViewCellStyle1;
- this.dataGridViewX1.GridColor = System.Drawing.Color.FromArgb(((int)(((byte)(208)))), ((int)(((byte)(215)))), ((int)(((byte)(229)))));
- this.dataGridViewX1.Location = new System.Drawing.Point(0, 1);
- this.dataGridViewX1.Name = "dataGridViewX1";
- this.dataGridViewX1.RowTemplate.Height = 23;
- this.dataGridViewX1.Size = new System.Drawing.Size(750, 179);
- this.dataGridViewX1.TabIndex = 14;
+ this.panel2.BackgroundImage = global::Casic.Birmm.RbFreqStandMeasure.Properties.Resources.bg_status_time;
+ this.panel2.Controls.Add(this.label4);
+ this.panel2.Controls.Add(this.label7);
+ this.panel2.Controls.Add(this.label6);
+ this.panel2.Controls.Add(this.label5);
+ this.panel2.Location = new System.Drawing.Point(6, 160);
+ this.panel2.Name = "panel2";
+ this.panel2.Size = new System.Drawing.Size(224, 200);
+ this.panel2.TabIndex = 1;
//
- // Column13
+ // panel1
//
- this.Column13.HeaderText = "仪器名称";
- this.Column13.Name = "Column13";
+ this.panel1.BackgroundImage = global::Casic.Birmm.RbFreqStandMeasure.Properties.Resources.bg_status_base;
+ this.panel1.Controls.Add(this.label3);
+ this.panel1.Controls.Add(this.label2);
+ this.panel1.Controls.Add(this.label1);
+ this.panel1.Location = new System.Drawing.Point(6, 0);
+ this.panel1.Margin = new System.Windows.Forms.Padding(0);
+ this.panel1.Name = "panel1";
+ this.panel1.Size = new System.Drawing.Size(224, 160);
+ this.panel1.TabIndex = 0;
//
- // Column14
+ // panel4
//
- this.Column14.HeaderText = "仪器类型";
- this.Column14.Name = "Column14";
+ this.panel4.BackgroundImage = global::Casic.Birmm.RbFreqStandMeasure.Properties.Resources.bg_dev_tested;
+ this.panel4.Location = new System.Drawing.Point(230, 0);
+ this.panel4.Margin = new System.Windows.Forms.Padding(0);
+ this.panel4.Name = "panel4";
+ this.panel4.Size = new System.Drawing.Size(788, 226);
+ this.panel4.TabIndex = 3;
//
- // Column15
+ // panel5
//
- this.Column15.HeaderText = "仪器编号";
- this.Column15.Name = "Column15";
- //
- // Column16
- //
- this.Column16.HeaderText = "客户名称";
- this.Column16.Name = "Column16";
- //
- // Column17
- //
- this.Column17.HeaderText = "开始时间";
- this.Column17.Name = "Column17";
- //
- // panelEx1
- //
- this.panelEx1.CanvasColor = System.Drawing.SystemColors.Control;
- this.panelEx1.ColorSchemeStyle = DevComponents.DotNetBar.eDotNetBarStyle.StyleManagerControlled;
- this.panelEx1.Controls.Add(this.labelX6);
- this.panelEx1.Controls.Add(this.labelX5);
- this.panelEx1.Controls.Add(this.labelX4);
- this.panelEx1.Controls.Add(this.labelX3);
- this.panelEx1.Controls.Add(this.labelX2);
- this.panelEx1.Controls.Add(this.labelX1);
- this.panelEx1.DisabledBackColor = System.Drawing.Color.Empty;
- this.panelEx1.Location = new System.Drawing.Point(25, 376);
- this.panelEx1.Name = "panelEx1";
- this.panelEx1.Size = new System.Drawing.Size(200, 200);
- this.panelEx1.Style.Alignment = System.Drawing.StringAlignment.Center;
- this.panelEx1.Style.BackColor1.ColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelBackground;
- this.panelEx1.Style.BackColor2.ColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelBackground2;
- this.panelEx1.Style.Border = DevComponents.DotNetBar.eBorderType.SingleLine;
- this.panelEx1.Style.BorderColor.ColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelBorder;
- this.panelEx1.Style.ForeColor.ColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelText;
- this.panelEx1.Style.GradientAngle = 90;
- this.panelEx1.TabIndex = 10;
- //
- // labelX6
- //
- //
- //
- //
- this.labelX6.BackgroundStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square;
- this.labelX6.Location = new System.Drawing.Point(3, 153);
- this.labelX6.Name = "labelX6";
- this.labelX6.Size = new System.Drawing.Size(75, 23);
- this.labelX6.Style = DevComponents.DotNetBar.eDotNetBarStyle.Office2013;
- this.labelX6.TabIndex = 0;
- this.labelX6.Text = "Z";
- this.labelX6.TextAlignment = System.Drawing.StringAlignment.Center;
- //
- // labelX5
- //
- //
- //
- //
- this.labelX5.BackgroundStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square;
- this.labelX5.Location = new System.Drawing.Point(3, 124);
- this.labelX5.Name = "labelX5";
- this.labelX5.Size = new System.Drawing.Size(75, 23);
- this.labelX5.Style = DevComponents.DotNetBar.eDotNetBarStyle.Office2013;
- this.labelX5.TabIndex = 0;
- this.labelX5.Text = "Y";
- this.labelX5.TextAlignment = System.Drawing.StringAlignment.Center;
- //
- // labelX4
- //
- //
- //
- //
- this.labelX4.BackgroundStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square;
- this.labelX4.Location = new System.Drawing.Point(3, 95);
- this.labelX4.Name = "labelX4";
- this.labelX4.Size = new System.Drawing.Size(75, 23);
- this.labelX4.Style = DevComponents.DotNetBar.eDotNetBarStyle.Office2013;
- this.labelX4.TabIndex = 0;
- this.labelX4.Text = "X";
- this.labelX4.TextAlignment = System.Drawing.StringAlignment.Center;
- //
- // labelX3
- //
- //
- //
- //
- this.labelX3.BackgroundStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square;
- this.labelX3.Location = new System.Drawing.Point(3, 66);
- this.labelX3.Name = "labelX3";
- this.labelX3.Size = new System.Drawing.Size(75, 23);
- this.labelX3.Style = DevComponents.DotNetBar.eDotNetBarStyle.Office2013;
- this.labelX3.TabIndex = 0;
- this.labelX3.Text = "纬度";
- this.labelX3.TextAlignment = System.Drawing.StringAlignment.Center;
- //
- // labelX2
- //
- //
- //
- //
- this.labelX2.BackgroundStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square;
- this.labelX2.Location = new System.Drawing.Point(3, 37);
- this.labelX2.Name = "labelX2";
- this.labelX2.Size = new System.Drawing.Size(75, 23);
- this.labelX2.Style = DevComponents.DotNetBar.eDotNetBarStyle.Office2013;
- this.labelX2.TabIndex = 0;
- this.labelX2.Text = "经度";
- this.labelX2.TextAlignment = System.Drawing.StringAlignment.Center;
- //
- // labelX1
- //
- //
- //
- //
- this.labelX1.BackgroundStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square;
- this.labelX1.Location = new System.Drawing.Point(3, 3);
- this.labelX1.Name = "labelX1";
- this.labelX1.Size = new System.Drawing.Size(194, 23);
- this.labelX1.Style = DevComponents.DotNetBar.eDotNetBarStyle.Office2013;
- this.labelX1.TabIndex = 0;
- this.labelX1.Text = "位置信息";
- this.labelX1.TextAlignment = System.Drawing.StringAlignment.Center;
- //
- // panelEx2
- //
- this.panelEx2.CanvasColor = System.Drawing.SystemColors.Control;
- this.panelEx2.ColorSchemeStyle = DevComponents.DotNetBar.eDotNetBarStyle.StyleManagerControlled;
- this.panelEx2.Controls.Add(this.labelX7);
- this.panelEx2.Controls.Add(this.labelX8);
- this.panelEx2.Controls.Add(this.labelX10);
- this.panelEx2.Controls.Add(this.labelX9);
- this.panelEx2.DisabledBackColor = System.Drawing.Color.Empty;
- this.panelEx2.Location = new System.Drawing.Point(25, 190);
- this.panelEx2.Name = "panelEx2";
- this.panelEx2.Size = new System.Drawing.Size(200, 150);
- this.panelEx2.Style.Alignment = System.Drawing.StringAlignment.Center;
- this.panelEx2.Style.BackColor1.ColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelBackground;
- this.panelEx2.Style.BackColor2.ColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelBackground2;
- this.panelEx2.Style.Border = DevComponents.DotNetBar.eBorderType.SingleLine;
- this.panelEx2.Style.BorderColor.ColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelBorder;
- this.panelEx2.Style.ForeColor.ColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelText;
- this.panelEx2.Style.GradientAngle = 90;
- this.panelEx2.TabIndex = 10;
- //
- // labelX7
- //
- //
- //
- //
- this.labelX7.BackgroundStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square;
- this.labelX7.Location = new System.Drawing.Point(3, 3);
- this.labelX7.Name = "labelX7";
- this.labelX7.Size = new System.Drawing.Size(194, 23);
- this.labelX7.Style = DevComponents.DotNetBar.eDotNetBarStyle.Office2013;
- this.labelX7.TabIndex = 0;
- this.labelX7.Text = "时间信息";
- this.labelX7.TextAlignment = System.Drawing.StringAlignment.Center;
- //
- // labelX8
- //
- //
- //
- //
- this.labelX8.BackgroundStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square;
- this.labelX8.Location = new System.Drawing.Point(3, 41);
- this.labelX8.Name = "labelX8";
- this.labelX8.Size = new System.Drawing.Size(75, 23);
- this.labelX8.Style = DevComponents.DotNetBar.eDotNetBarStyle.Office2013;
- this.labelX8.TabIndex = 0;
- this.labelX8.Text = "日期";
- this.labelX8.TextAlignment = System.Drawing.StringAlignment.Center;
- //
- // labelX10
- //
- //
- //
- //
- this.labelX10.BackgroundStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square;
- this.labelX10.Location = new System.Drawing.Point(3, 99);
- this.labelX10.Name = "labelX10";
- this.labelX10.Size = new System.Drawing.Size(75, 23);
- this.labelX10.Style = DevComponents.DotNetBar.eDotNetBarStyle.Office2013;
- this.labelX10.TabIndex = 0;
- this.labelX10.Text = "MJD";
- this.labelX10.TextAlignment = System.Drawing.StringAlignment.Center;
- //
- // labelX9
- //
- //
- //
- //
- this.labelX9.BackgroundStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square;
- this.labelX9.Location = new System.Drawing.Point(3, 70);
- this.labelX9.Name = "labelX9";
- this.labelX9.Size = new System.Drawing.Size(75, 23);
- this.labelX9.Style = DevComponents.DotNetBar.eDotNetBarStyle.Office2013;
- this.labelX9.TabIndex = 0;
- this.labelX9.Text = "时间";
- this.labelX9.TextAlignment = System.Drawing.StringAlignment.Center;
- //
- // panelEx3
- //
- this.panelEx3.CanvasColor = System.Drawing.SystemColors.Control;
- this.panelEx3.ColorSchemeStyle = DevComponents.DotNetBar.eDotNetBarStyle.StyleManagerControlled;
- this.panelEx3.Controls.Add(this.labelX11);
- this.panelEx3.Controls.Add(this.labelX13);
- this.panelEx3.Controls.Add(this.labelX12);
- this.panelEx3.DisabledBackColor = System.Drawing.Color.Empty;
- this.panelEx3.Location = new System.Drawing.Point(25, 50);
- this.panelEx3.Name = "panelEx3";
- this.panelEx3.Size = new System.Drawing.Size(200, 100);
- this.panelEx3.Style.Alignment = System.Drawing.StringAlignment.Center;
- this.panelEx3.Style.BackColor1.ColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelBackground;
- this.panelEx3.Style.BackColor2.ColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelBackground2;
- this.panelEx3.Style.Border = DevComponents.DotNetBar.eBorderType.SingleLine;
- this.panelEx3.Style.BorderColor.ColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelBorder;
- this.panelEx3.Style.ForeColor.ColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelText;
- this.panelEx3.Style.GradientAngle = 90;
- this.panelEx3.TabIndex = 10;
- //
- // labelX11
- //
- //
- //
- //
- this.labelX11.BackgroundStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square;
- this.labelX11.Location = new System.Drawing.Point(3, 3);
- this.labelX11.Name = "labelX11";
- this.labelX11.Size = new System.Drawing.Size(194, 23);
- this.labelX11.Style = DevComponents.DotNetBar.eDotNetBarStyle.Office2013;
- this.labelX11.TabIndex = 0;
- this.labelX11.Text = "基本信息";
- this.labelX11.TextAlignment = System.Drawing.StringAlignment.Center;
- //
- // labelX13
- //
- //
- //
- //
- this.labelX13.BackgroundStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square;
- this.labelX13.Location = new System.Drawing.Point(3, 32);
- this.labelX13.Name = "labelX13";
- this.labelX13.Size = new System.Drawing.Size(75, 23);
- this.labelX13.Style = DevComponents.DotNetBar.eDotNetBarStyle.Office2013;
- this.labelX13.TabIndex = 0;
- this.labelX13.Text = "原子钟";
- this.labelX13.TextAlignment = System.Drawing.StringAlignment.Center;
- //
- // labelX12
- //
- //
- //
- //
- this.labelX12.BackgroundStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square;
- this.labelX12.Location = new System.Drawing.Point(3, 61);
- this.labelX12.Name = "labelX12";
- this.labelX12.Size = new System.Drawing.Size(75, 23);
- this.labelX12.Style = DevComponents.DotNetBar.eDotNetBarStyle.Office2013;
- this.labelX12.TabIndex = 0;
- this.labelX12.Text = "接收机";
- this.labelX12.TextAlignment = System.Drawing.StringAlignment.Center;
- //
- // panelEx4
- //
- this.panelEx4.CanvasColor = System.Drawing.SystemColors.Control;
- this.panelEx4.ColorSchemeStyle = DevComponents.DotNetBar.eDotNetBarStyle.StyleManagerControlled;
- this.panelEx4.Controls.Add(this.panelEx2);
- this.panelEx4.Controls.Add(this.panelEx1);
- this.panelEx4.Controls.Add(this.panelEx3);
- this.panelEx4.DisabledBackColor = System.Drawing.Color.Empty;
- this.panelEx4.Location = new System.Drawing.Point(0, 0);
- this.panelEx4.Name = "panelEx4";
- this.panelEx4.Size = new System.Drawing.Size(250, 640);
- this.panelEx4.Style.Alignment = System.Drawing.StringAlignment.Center;
- this.panelEx4.Style.BackColor1.ColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelBackground;
- this.panelEx4.Style.BackColor2.ColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelBackground2;
- this.panelEx4.Style.Border = DevComponents.DotNetBar.eBorderType.SingleLine;
- this.panelEx4.Style.BorderColor.ColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelBorder;
- this.panelEx4.Style.ForeColor.ColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelText;
- this.panelEx4.Style.GradientAngle = 90;
- this.panelEx4.TabIndex = 10;
- //
- // dataGridViewX2
- //
- this.dataGridViewX2.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.AutoSize;
- this.dataGridViewX2.Columns.AddRange(new System.Windows.Forms.DataGridViewColumn[] {
- this.Column18,
- this.Column19,
- this.Column20,
- this.Column21,
- this.Column22,
- this.Column23,
- this.Column24,
- this.Column25,
- this.Column26,
- this.Column27,
- this.Column28,
- this.Column29});
- dataGridViewCellStyle2.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleLeft;
- dataGridViewCellStyle2.BackColor = System.Drawing.SystemColors.Window;
- dataGridViewCellStyle2.Font = new System.Drawing.Font("宋体", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
- dataGridViewCellStyle2.ForeColor = System.Drawing.SystemColors.ControlText;
- dataGridViewCellStyle2.SelectionBackColor = System.Drawing.SystemColors.Highlight;
- dataGridViewCellStyle2.SelectionForeColor = System.Drawing.SystemColors.ControlText;
- dataGridViewCellStyle2.WrapMode = System.Windows.Forms.DataGridViewTriState.False;
- this.dataGridViewX2.DefaultCellStyle = dataGridViewCellStyle2;
- this.dataGridViewX2.GridColor = System.Drawing.Color.FromArgb(((int)(((byte)(208)))), ((int)(((byte)(215)))), ((int)(((byte)(229)))));
- this.dataGridViewX2.Location = new System.Drawing.Point(250, 216);
- this.dataGridViewX2.Name = "dataGridViewX2";
- this.dataGridViewX2.Size = new System.Drawing.Size(747, 424);
- this.dataGridViewX2.TabIndex = 15;
- //
- // Column18
- //
- this.Column18.HeaderText = "通道号";
- this.Column18.Name = "Column18";
- //
- // Column19
- //
- this.Column19.HeaderText = "当前状态";
- this.Column19.Name = "Column19";
- //
- // Column20
- //
- this.Column20.HeaderText = "仪器名称";
- this.Column20.Name = "Column20";
- //
- // Column21
- //
- this.Column21.HeaderText = "仪器编号";
- this.Column21.Name = "Column21";
- //
- // Column22
- //
- this.Column22.HeaderText = "客户名称";
- this.Column22.Name = "Column22";
- //
- // Column23
- //
- this.Column23.HeaderText = "开始时间";
- this.Column23.Name = "Column23";
- //
- // Column24
- //
- this.Column24.HeaderText = "结束时间";
- this.Column24.Name = "Column24";
- //
- // Column25
- //
- this.Column25.HeaderText = "频率稳定度";
- this.Column25.Name = "Column25";
- //
- // Column26
- //
- this.Column26.HeaderText = "频率准确度";
- this.Column26.Name = "Column26";
- //
- // Column27
- //
- this.Column27.HeaderText = "开机特性";
- this.Column27.Name = "Column27";
- //
- // Column28
- //
- this.Column28.HeaderText = "日老化率";
- this.Column28.Name = "Column28";
- //
- // Column29
- //
- this.Column29.HeaderText = "频率计数器范围及灵敏度";
- this.Column29.Name = "Column29";
- //
- // buttonX1
- //
- this.buttonX1.AccessibleRole = System.Windows.Forms.AccessibleRole.PushButton;
- this.buttonX1.BackColor = System.Drawing.Color.Transparent;
- this.buttonX1.ColorTable = DevComponents.DotNetBar.eButtonColor.OrangeWithBackground;
- this.buttonX1.Location = new System.Drawing.Point(663, 183);
- this.buttonX1.Name = "buttonX1";
- this.buttonX1.Size = new System.Drawing.Size(30, 23);
- this.buttonX1.Style = DevComponents.DotNetBar.eDotNetBarStyle.StyleManagerControlled;
- this.buttonX1.Symbol = "";
- this.buttonX1.SymbolColor = System.Drawing.Color.FromArgb(((int)(((byte)(64)))), ((int)(((byte)(64)))), ((int)(((byte)(64)))));
- this.buttonX1.SymbolSize = 8F;
- this.buttonX1.TabIndex = 19;
- //
- // buttonX2
- //
- this.buttonX2.AccessibleRole = System.Windows.Forms.AccessibleRole.PushButton;
- this.buttonX2.BackColor = System.Drawing.Color.Transparent;
- this.buttonX2.ColorTable = DevComponents.DotNetBar.eButtonColor.OrangeWithBackground;
- this.buttonX2.Location = new System.Drawing.Point(589, 184);
- this.buttonX2.Name = "buttonX2";
- this.buttonX2.Size = new System.Drawing.Size(30, 23);
- this.buttonX2.Style = DevComponents.DotNetBar.eDotNetBarStyle.StyleManagerControlled;
- this.buttonX2.Symbol = "";
- this.buttonX2.SymbolColor = System.Drawing.Color.FromArgb(((int)(((byte)(64)))), ((int)(((byte)(64)))), ((int)(((byte)(64)))));
- this.buttonX2.SymbolSize = 8F;
- this.buttonX2.TabIndex = 19;
+ this.panel5.BackgroundImage = global::Casic.Birmm.RbFreqStandMeasure.Properties.Resources.bg_dev_channel;
+ this.panel5.Location = new System.Drawing.Point(230, 226);
+ this.panel5.Name = "panel5";
+ this.panel5.Size = new System.Drawing.Size(788, 424);
+ this.panel5.TabIndex = 4;
//
// label1
//
this.label1.BackColor = System.Drawing.Color.Transparent;
- this.label1.Font = new System.Drawing.Font("Times New Roman", 9.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
- this.label1.Location = new System.Drawing.Point(880, 186);
- this.label1.Margin = new System.Windows.Forms.Padding(0);
+ this.label1.Font = new System.Drawing.Font("微软雅黑", 14F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Pixel, ((byte)(134)));
+ this.label1.Location = new System.Drawing.Point(0, 20);
this.label1.Name = "label1";
- this.label1.Size = new System.Drawing.Size(20, 20);
- this.label1.TabIndex = 20;
- this.label1.Text = "1";
+ this.label1.Size = new System.Drawing.Size(224, 25);
+ this.label1.TabIndex = 0;
+ this.label1.Text = "基本信息";
this.label1.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
//
// label2
//
this.label2.BackColor = System.Drawing.Color.Transparent;
- this.label2.Font = new System.Drawing.Font("Times New Roman", 9.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
- this.label2.Location = new System.Drawing.Point(636, 187);
- this.label2.Margin = new System.Windows.Forms.Padding(0);
+ this.label2.Font = new System.Drawing.Font("微软雅黑", 14F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Pixel, ((byte)(134)));
+ this.label2.Location = new System.Drawing.Point(0, 60);
this.label2.Name = "label2";
- this.label2.Size = new System.Drawing.Size(200, 20);
- this.label2.TabIndex = 20;
- this.label2.Text = "共150条,每页5条,共100页";
- this.label2.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
+ this.label2.Size = new System.Drawing.Size(75, 25);
+ this.label2.TabIndex = 1;
+ this.label2.Text = "原子钟";
+ this.label2.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
+ //
+ // label3
+ //
+ this.label3.BackColor = System.Drawing.Color.Transparent;
+ this.label3.Font = new System.Drawing.Font("微软雅黑", 14F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Pixel, ((byte)(134)));
+ this.label3.Location = new System.Drawing.Point(0, 100);
+ this.label3.Name = "label3";
+ this.label3.Size = new System.Drawing.Size(75, 25);
+ this.label3.TabIndex = 1;
+ this.label3.Text = "接收机";
+ this.label3.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
+ //
+ // label4
+ //
+ this.label4.BackColor = System.Drawing.Color.Transparent;
+ this.label4.Font = new System.Drawing.Font("微软雅黑", 14F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Pixel, ((byte)(134)));
+ this.label4.Location = new System.Drawing.Point(0, 20);
+ this.label4.Name = "label4";
+ this.label4.Size = new System.Drawing.Size(224, 25);
+ this.label4.TabIndex = 0;
+ this.label4.Text = "时间信息";
+ this.label4.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
+ //
+ // label5
+ //
+ this.label5.BackColor = System.Drawing.Color.Transparent;
+ this.label5.Font = new System.Drawing.Font("微软雅黑", 14F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Pixel, ((byte)(134)));
+ this.label5.Location = new System.Drawing.Point(0, 60);
+ this.label5.Name = "label5";
+ this.label5.Size = new System.Drawing.Size(75, 25);
+ this.label5.TabIndex = 1;
+ this.label5.Text = "日期";
+ this.label5.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
+ //
+ // label6
+ //
+ this.label6.BackColor = System.Drawing.Color.Transparent;
+ this.label6.Font = new System.Drawing.Font("微软雅黑", 14F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Pixel, ((byte)(134)));
+ this.label6.Location = new System.Drawing.Point(0, 100);
+ this.label6.Name = "label6";
+ this.label6.Size = new System.Drawing.Size(75, 25);
+ this.label6.TabIndex = 1;
+ this.label6.Text = "时间";
+ this.label6.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
+ //
+ // label7
+ //
+ this.label7.BackColor = System.Drawing.Color.Transparent;
+ this.label7.Font = new System.Drawing.Font("微软雅黑", 14F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Pixel, ((byte)(134)));
+ this.label7.Location = new System.Drawing.Point(0, 140);
+ this.label7.Margin = new System.Windows.Forms.Padding(0);
+ this.label7.Name = "label7";
+ this.label7.Size = new System.Drawing.Size(75, 25);
+ this.label7.TabIndex = 1;
+ this.label7.Text = "MJD";
+ this.label7.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
+ //
+ // label8
+ //
+ this.label8.BackColor = System.Drawing.Color.Transparent;
+ this.label8.Font = new System.Drawing.Font("微软雅黑", 14F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Pixel, ((byte)(134)));
+ this.label8.Location = new System.Drawing.Point(0, 20);
+ this.label8.Name = "label8";
+ this.label8.Size = new System.Drawing.Size(224, 25);
+ this.label8.TabIndex = 0;
+ this.label8.Text = "位置信息";
+ this.label8.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
+ //
+ // label9
+ //
+ this.label9.BackColor = System.Drawing.Color.Transparent;
+ this.label9.Font = new System.Drawing.Font("微软雅黑", 14F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Pixel, ((byte)(134)));
+ this.label9.Location = new System.Drawing.Point(0, 60);
+ this.label9.Name = "label9";
+ this.label9.Size = new System.Drawing.Size(75, 25);
+ this.label9.TabIndex = 1;
+ this.label9.Text = "经度";
+ this.label9.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
+ //
+ // label10
+ //
+ this.label10.BackColor = System.Drawing.Color.Transparent;
+ this.label10.Font = new System.Drawing.Font("微软雅黑", 14F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Pixel, ((byte)(134)));
+ this.label10.Location = new System.Drawing.Point(0, 100);
+ this.label10.Margin = new System.Windows.Forms.Padding(0);
+ this.label10.Name = "label10";
+ this.label10.Size = new System.Drawing.Size(75, 25);
+ this.label10.TabIndex = 1;
+ this.label10.Text = "纬度";
+ this.label10.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
+ //
+ // label11
+ //
+ this.label11.BackColor = System.Drawing.Color.Transparent;
+ this.label11.Font = new System.Drawing.Font("微软雅黑", 14F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Pixel, ((byte)(134)));
+ this.label11.Location = new System.Drawing.Point(0, 140);
+ this.label11.Margin = new System.Windows.Forms.Padding(0);
+ this.label11.Name = "label11";
+ this.label11.Size = new System.Drawing.Size(75, 25);
+ this.label11.TabIndex = 1;
+ this.label11.Text = "X";
+ this.label11.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
+ //
+ // label12
+ //
+ this.label12.BackColor = System.Drawing.Color.Transparent;
+ this.label12.Font = new System.Drawing.Font("微软雅黑", 14F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Pixel, ((byte)(134)));
+ this.label12.Location = new System.Drawing.Point(0, 180);
+ this.label12.Margin = new System.Windows.Forms.Padding(0);
+ this.label12.Name = "label12";
+ this.label12.Size = new System.Drawing.Size(75, 25);
+ this.label12.TabIndex = 1;
+ this.label12.Text = "Y";
+ this.label12.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
+ //
+ // label13
+ //
+ this.label13.BackColor = System.Drawing.Color.Transparent;
+ this.label13.Font = new System.Drawing.Font("微软雅黑", 14F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Pixel, ((byte)(134)));
+ this.label13.Location = new System.Drawing.Point(0, 220);
+ this.label13.Margin = new System.Windows.Forms.Padding(0);
+ this.label13.Name = "label13";
+ this.label13.Size = new System.Drawing.Size(75, 25);
+ this.label13.TabIndex = 1;
+ this.label13.Text = "Z";
+ this.label13.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
//
// HomeCtrlForm
//
this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 12F);
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
- this.Controls.Add(this.label1);
- this.Controls.Add(this.label2);
- this.Controls.Add(this.dataGridViewX2);
- this.Controls.Add(this.panelEx4);
- this.Controls.Add(this.panelToBeTested);
+ this.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(232)))), ((int)(((byte)(234)))), ((int)(((byte)(238)))));
+ this.Controls.Add(this.panel5);
+ this.Controls.Add(this.panel4);
+ this.Controls.Add(this.panel3);
+ this.Controls.Add(this.panel2);
+ this.Controls.Add(this.panel1);
this.Margin = new System.Windows.Forms.Padding(0);
this.Name = "HomeCtrlForm";
- this.Size = new System.Drawing.Size(1000, 640);
- this.panelToBeTested.ResumeLayout(false);
- ((System.ComponentModel.ISupportInitialize)(this.dataGridViewX1)).EndInit();
- this.panelEx1.ResumeLayout(false);
- this.panelEx2.ResumeLayout(false);
- this.panelEx3.ResumeLayout(false);
- this.panelEx4.ResumeLayout(false);
- ((System.ComponentModel.ISupportInitialize)(this.dataGridViewX2)).EndInit();
+ this.Size = new System.Drawing.Size(1024, 654);
+ this.panel3.ResumeLayout(false);
+ this.panel2.ResumeLayout(false);
+ this.panel1.ResumeLayout(false);
this.ResumeLayout(false);
}
#endregion
- private System.Windows.Forms.Panel panelToBeTested;
- private DevComponents.DotNetBar.PanelEx panelEx1;
- private DevComponents.DotNetBar.LabelX labelX6;
- private DevComponents.DotNetBar.LabelX labelX5;
- private DevComponents.DotNetBar.LabelX labelX4;
- private DevComponents.DotNetBar.LabelX labelX3;
- private DevComponents.DotNetBar.LabelX labelX2;
- private DevComponents.DotNetBar.LabelX labelX1;
- private DevComponents.DotNetBar.PanelEx panelEx2;
- private DevComponents.DotNetBar.LabelX labelX7;
- private DevComponents.DotNetBar.LabelX labelX8;
- private DevComponents.DotNetBar.LabelX labelX10;
- private DevComponents.DotNetBar.LabelX labelX9;
- private DevComponents.DotNetBar.PanelEx panelEx3;
- private DevComponents.DotNetBar.LabelX labelX11;
- private DevComponents.DotNetBar.LabelX labelX13;
- private DevComponents.DotNetBar.LabelX labelX12;
- private DevComponents.DotNetBar.PanelEx panelEx4;
- private DevComponents.DotNetBar.Controls.DataGridViewX dataGridViewX1;
- private System.Windows.Forms.DataGridViewTextBoxColumn Column13;
- private System.Windows.Forms.DataGridViewTextBoxColumn Column14;
- private System.Windows.Forms.DataGridViewTextBoxColumn Column15;
- private System.Windows.Forms.DataGridViewTextBoxColumn Column16;
- private System.Windows.Forms.DataGridViewTextBoxColumn Column17;
- private DevComponents.DotNetBar.Controls.DataGridViewX dataGridViewX2;
- private System.Windows.Forms.DataGridViewTextBoxColumn Column18;
- private System.Windows.Forms.DataGridViewTextBoxColumn Column19;
- private System.Windows.Forms.DataGridViewTextBoxColumn Column20;
- private System.Windows.Forms.DataGridViewTextBoxColumn Column21;
- private System.Windows.Forms.DataGridViewTextBoxColumn Column22;
- private System.Windows.Forms.DataGridViewTextBoxColumn Column23;
- private System.Windows.Forms.DataGridViewTextBoxColumn Column24;
- private System.Windows.Forms.DataGridViewTextBoxColumn Column25;
- private System.Windows.Forms.DataGridViewTextBoxColumn Column26;
- private System.Windows.Forms.DataGridViewTextBoxColumn Column27;
- private System.Windows.Forms.DataGridViewTextBoxColumn Column28;
- private System.Windows.Forms.DataGridViewTextBoxColumn Column29;
- private DevComponents.DotNetBar.ButtonX buttonX1;
- private DevComponents.DotNetBar.ButtonX buttonX2;
+
+ private System.Windows.Forms.Panel panel1;
+ private System.Windows.Forms.Panel panel2;
+ private System.Windows.Forms.Panel panel3;
+ private System.Windows.Forms.Panel panel4;
+ private System.Windows.Forms.Panel panel5;
private System.Windows.Forms.Label label1;
private System.Windows.Forms.Label label2;
+ private System.Windows.Forms.Label label3;
+ private System.Windows.Forms.Label label4;
+ private System.Windows.Forms.Label label5;
+ private System.Windows.Forms.Label label6;
+ private System.Windows.Forms.Label label7;
+ private System.Windows.Forms.Label label8;
+ private System.Windows.Forms.Label label11;
+ private System.Windows.Forms.Label label9;
+ private System.Windows.Forms.Label label10;
+ private System.Windows.Forms.Label label12;
+ private System.Windows.Forms.Label label13;
}
}
diff --git a/RbFreqStandMeasure/HomeCtrlForm.resx b/RbFreqStandMeasure/HomeCtrlForm.resx
index 6d97f4f..1af7de1 100644
--- a/RbFreqStandMeasure/HomeCtrlForm.resx
+++ b/RbFreqStandMeasure/HomeCtrlForm.resx
@@ -117,55 +117,4 @@
System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
-
- True
-
-
- True
-
-
- True
-
-
- True
-
-
- True
-
-
- True
-
-
- True
-
-
- True
-
-
- True
-
-
- True
-
-
- True
-
-
- True
-
-
- True
-
-
- True
-
-
- True
-
-
- True
-
-
- True
-
\ No newline at end of file
diff --git a/RbFreqStandMeasure/Program.cs b/RbFreqStandMeasure/Program.cs
index 93a83e5..6150917 100644
--- a/RbFreqStandMeasure/Program.cs
+++ b/RbFreqStandMeasure/Program.cs
@@ -1,6 +1,4 @@
using System;
-using System.Collections.Generic;
-using System.Linq;
using System.Windows.Forms;
namespace Casic.Birmm.RbFreqStandMeasure
diff --git a/RbFreqStandMeasure/Properties/Resources.Designer.cs b/RbFreqStandMeasure/Properties/Resources.Designer.cs
index 253d7d7..d819a23 100644
--- a/RbFreqStandMeasure/Properties/Resources.Designer.cs
+++ b/RbFreqStandMeasure/Properties/Resources.Designer.cs
@@ -73,6 +73,56 @@
///
/// 查找 System.Drawing.Bitmap 类型的本地化资源。
///
+ internal static System.Drawing.Bitmap bg_dev_channel {
+ get {
+ object obj = ResourceManager.GetObject("bg_dev_channel", resourceCulture);
+ return ((System.Drawing.Bitmap)(obj));
+ }
+ }
+
+ ///
+ /// 查找 System.Drawing.Bitmap 类型的本地化资源。
+ ///
+ internal static System.Drawing.Bitmap bg_dev_tested {
+ get {
+ object obj = ResourceManager.GetObject("bg_dev_tested", resourceCulture);
+ return ((System.Drawing.Bitmap)(obj));
+ }
+ }
+
+ ///
+ /// 查找 System.Drawing.Bitmap 类型的本地化资源。
+ ///
+ internal static System.Drawing.Bitmap bg_status_base {
+ get {
+ object obj = ResourceManager.GetObject("bg_status_base", resourceCulture);
+ return ((System.Drawing.Bitmap)(obj));
+ }
+ }
+
+ ///
+ /// 查找 System.Drawing.Bitmap 类型的本地化资源。
+ ///
+ internal static System.Drawing.Bitmap bg_status_location {
+ get {
+ object obj = ResourceManager.GetObject("bg_status_location", resourceCulture);
+ return ((System.Drawing.Bitmap)(obj));
+ }
+ }
+
+ ///
+ /// 查找 System.Drawing.Bitmap 类型的本地化资源。
+ ///
+ internal static System.Drawing.Bitmap bg_status_time {
+ get {
+ object obj = ResourceManager.GetObject("bg_status_time", resourceCulture);
+ return ((System.Drawing.Bitmap)(obj));
+ }
+ }
+
+ ///
+ /// 查找 System.Drawing.Bitmap 类型的本地化资源。
+ ///
internal static System.Drawing.Bitmap bg_white_shadow {
get {
object obj = ResourceManager.GetObject("bg_white_shadow", resourceCulture);
@@ -83,6 +133,66 @@
///
/// 查找 System.Drawing.Bitmap 类型的本地化资源。
///
+ internal static System.Drawing.Bitmap icon_counter {
+ get {
+ object obj = ResourceManager.GetObject("icon_counter", resourceCulture);
+ return ((System.Drawing.Bitmap)(obj));
+ }
+ }
+
+ ///
+ /// 查找 System.Drawing.Bitmap 类型的本地化资源。
+ ///
+ internal static System.Drawing.Bitmap icon_counter_selected {
+ get {
+ object obj = ResourceManager.GetObject("icon_counter_selected", resourceCulture);
+ return ((System.Drawing.Bitmap)(obj));
+ }
+ }
+
+ ///
+ /// 查找 System.Drawing.Bitmap 类型的本地化资源。
+ ///
+ internal static System.Drawing.Bitmap icon_data {
+ get {
+ object obj = ResourceManager.GetObject("icon_data", resourceCulture);
+ return ((System.Drawing.Bitmap)(obj));
+ }
+ }
+
+ ///
+ /// 查找 System.Drawing.Bitmap 类型的本地化资源。
+ ///
+ internal static System.Drawing.Bitmap icon_data_selected {
+ get {
+ object obj = ResourceManager.GetObject("icon_data_selected", resourceCulture);
+ return ((System.Drawing.Bitmap)(obj));
+ }
+ }
+
+ ///
+ /// 查找 System.Drawing.Bitmap 类型的本地化资源。
+ ///
+ internal static System.Drawing.Bitmap icon_dev {
+ get {
+ object obj = ResourceManager.GetObject("icon_dev", resourceCulture);
+ return ((System.Drawing.Bitmap)(obj));
+ }
+ }
+
+ ///
+ /// 查找 System.Drawing.Bitmap 类型的本地化资源。
+ ///
+ internal static System.Drawing.Bitmap icon_dev_selected {
+ get {
+ object obj = ResourceManager.GetObject("icon_dev_selected", resourceCulture);
+ return ((System.Drawing.Bitmap)(obj));
+ }
+ }
+
+ ///
+ /// 查找 System.Drawing.Bitmap 类型的本地化资源。
+ ///
internal static System.Drawing.Bitmap icon_exit {
get {
object obj = ResourceManager.GetObject("icon_exit", resourceCulture);
@@ -113,6 +223,56 @@
///
/// 查找 System.Drawing.Bitmap 类型的本地化资源。
///
+ internal static System.Drawing.Bitmap icon_measure {
+ get {
+ object obj = ResourceManager.GetObject("icon_measure", resourceCulture);
+ return ((System.Drawing.Bitmap)(obj));
+ }
+ }
+
+ ///
+ /// 查找 System.Drawing.Bitmap 类型的本地化资源。
+ ///
+ internal static System.Drawing.Bitmap icon_measure_selected {
+ get {
+ object obj = ResourceManager.GetObject("icon_measure_selected", resourceCulture);
+ return ((System.Drawing.Bitmap)(obj));
+ }
+ }
+
+ ///
+ /// 查找 System.Drawing.Bitmap 类型的本地化资源。
+ ///
+ internal static System.Drawing.Bitmap icon_min {
+ get {
+ object obj = ResourceManager.GetObject("icon_min", resourceCulture);
+ return ((System.Drawing.Bitmap)(obj));
+ }
+ }
+
+ ///
+ /// 查找 System.Drawing.Bitmap 类型的本地化资源。
+ ///
+ internal static System.Drawing.Bitmap icon_setting {
+ get {
+ object obj = ResourceManager.GetObject("icon_setting", resourceCulture);
+ return ((System.Drawing.Bitmap)(obj));
+ }
+ }
+
+ ///
+ /// 查找 System.Drawing.Bitmap 类型的本地化资源。
+ ///
+ internal static System.Drawing.Bitmap icon_setting_selected {
+ get {
+ object obj = ResourceManager.GetObject("icon_setting_selected", resourceCulture);
+ return ((System.Drawing.Bitmap)(obj));
+ }
+ }
+
+ ///
+ /// 查找 System.Drawing.Bitmap 类型的本地化资源。
+ ///
internal static System.Drawing.Bitmap icon_status {
get {
object obj = ResourceManager.GetObject("icon_status", resourceCulture);
diff --git a/RbFreqStandMeasure/Properties/Resources.resx b/RbFreqStandMeasure/Properties/Resources.resx
index e781bb7..cfdb255 100644
--- a/RbFreqStandMeasure/Properties/Resources.resx
+++ b/RbFreqStandMeasure/Properties/Resources.resx
@@ -118,25 +118,73 @@
System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
-
- ..\res\images\icon_exit.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
+
+ ..\res\images\icon_counter_selected.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
-
- ..\res\images\bg_white_shadow.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
+
+ ..\res\images\icon_dev_selected.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
+
+
+ ..\res\images\icon_status_selected.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
+
+
+ ..\res\images\icon_data_selected.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
..\res\images\icon_home_selected.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
-
- ..\res\images\bg_banner.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
-
-
- ..\res\images\icon_home.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
+
+ ..\res\images\icon_exit.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
..\res\images\icon_status.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
-
- ..\res\images\icon_status_selected.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
+
+ ..\res\images\icon_data.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
+
+
+ ..\res\images\icon_setting.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
+
+
+ ..\res\images\icon_measure_selected.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
+
+
+ ..\res\images\bg_banner.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
+
+
+ ..\res\images\icon_setting_selected.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
+
+
+ ..\res\images\icon_dev.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
+
+
+ ..\res\images\icon_counter.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
+
+
+ ..\res\images\icon_measure.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
+
+
+ ..\res\images\icon_home.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
+
+
+ ..\res\images\bg_white_shadow.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
+
+
+ ..\res\images\icon_min.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
+
+
+ ..\res\images\bg_status_base.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
+
+
+ ..\res\images\bg_status_location.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
+
+
+ ..\res\images\bg_status_time.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
+
+
+ ..\res\images\bg_dev_channel.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
+
+
+ ..\res\images\bg_dev_tested.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
\ No newline at end of file
diff --git a/RbFreqStandMeasure/RbFreqStandMeasure.csproj b/RbFreqStandMeasure/RbFreqStandMeasure.csproj
index f5e7da9..7c12768 100644
--- a/RbFreqStandMeasure/RbFreqStandMeasure.csproj
+++ b/RbFreqStandMeasure/RbFreqStandMeasure.csproj
@@ -232,6 +232,54 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/RbFreqStandMeasure/RbFreqStdMeas.Designer.cs b/RbFreqStandMeasure/RbFreqStdMeas.Designer.cs
index 57778cf..1bd008c 100644
--- a/RbFreqStandMeasure/RbFreqStdMeas.Designer.cs
+++ b/RbFreqStandMeasure/RbFreqStdMeas.Designer.cs
@@ -30,148 +30,77 @@
private void InitializeComponent()
{
this.panMenu = new System.Windows.Forms.Panel();
+ this.penBanner = new System.Windows.Forms.Panel();
+ this.btnMinSys = new System.Windows.Forms.Button();
+ this.btnExitSys = new System.Windows.Forms.Button();
+ this.labTitle = new System.Windows.Forms.Label();
+ this.panDev = new Casic.Birmm.RbFreqStandMeasure.RoundPanel();
+ this.labDevText = new System.Windows.Forms.Label();
+ this.labDevSelected = new System.Windows.Forms.Label();
+ this.picIconDev = new System.Windows.Forms.PictureBox();
+ this.panSetting = new Casic.Birmm.RbFreqStandMeasure.RoundPanel();
+ this.labSettingSelected = new System.Windows.Forms.Label();
+ this.labSettingText = new System.Windows.Forms.Label();
+ this.picIconSetting = new System.Windows.Forms.PictureBox();
this.panStatus = new Casic.Birmm.RbFreqStandMeasure.RoundPanel();
this.labStatusText = new System.Windows.Forms.Label();
this.picIconStatus = new System.Windows.Forms.PictureBox();
+ this.labStatusSelected = new System.Windows.Forms.Label();
+ this.panData = new Casic.Birmm.RbFreqStandMeasure.RoundPanel();
+ this.labDataSelected = new System.Windows.Forms.Label();
+ this.labDataText = new System.Windows.Forms.Label();
+ this.picIconData = new System.Windows.Forms.PictureBox();
this.panHome = new Casic.Birmm.RbFreqStandMeasure.RoundPanel();
this.labHomeText = new System.Windows.Forms.Label();
this.picIconHome = new System.Windows.Forms.PictureBox();
this.labHomeSelected = new System.Windows.Forms.Label();
- this.labStatusSelected = new System.Windows.Forms.Label();
- this.penBanner = new System.Windows.Forms.Panel();
- this.btnExitSys = new System.Windows.Forms.Button();
- this.labTitle = new System.Windows.Forms.Label();
+ this.panMeasure = new Casic.Birmm.RbFreqStandMeasure.RoundPanel();
+ this.labMeasureText = new System.Windows.Forms.Label();
+ this.labMeasureSelected = new System.Windows.Forms.Label();
+ this.picIconMeasure = new System.Windows.Forms.PictureBox();
+ this.panCounter = new Casic.Birmm.RbFreqStandMeasure.RoundPanel();
+ this.labCounterSelected = new System.Windows.Forms.Label();
+ this.labCounterText = new System.Windows.Forms.Label();
+ this.picIconCounter = new System.Windows.Forms.PictureBox();
+ this.panelMain = new System.Windows.Forms.Panel();
this.panMenu.SuspendLayout();
+ this.penBanner.SuspendLayout();
+ this.panDev.SuspendLayout();
+ ((System.ComponentModel.ISupportInitialize)(this.picIconDev)).BeginInit();
+ this.panSetting.SuspendLayout();
+ ((System.ComponentModel.ISupportInitialize)(this.picIconSetting)).BeginInit();
this.panStatus.SuspendLayout();
((System.ComponentModel.ISupportInitialize)(this.picIconStatus)).BeginInit();
+ this.panData.SuspendLayout();
+ ((System.ComponentModel.ISupportInitialize)(this.picIconData)).BeginInit();
this.panHome.SuspendLayout();
((System.ComponentModel.ISupportInitialize)(this.picIconHome)).BeginInit();
- this.penBanner.SuspendLayout();
+ this.panMeasure.SuspendLayout();
+ ((System.ComponentModel.ISupportInitialize)(this.picIconMeasure)).BeginInit();
+ this.panCounter.SuspendLayout();
+ ((System.ComponentModel.ISupportInitialize)(this.picIconCounter)).BeginInit();
this.SuspendLayout();
//
// panMenu
//
this.panMenu.BackColor = System.Drawing.Color.White;
+ this.panMenu.Controls.Add(this.panDev);
+ this.panMenu.Controls.Add(this.panSetting);
this.panMenu.Controls.Add(this.panStatus);
+ this.panMenu.Controls.Add(this.panData);
this.panMenu.Controls.Add(this.panHome);
- this.panMenu.Controls.Add(this.labStatusSelected);
+ this.panMenu.Controls.Add(this.panMeasure);
+ this.panMenu.Controls.Add(this.panCounter);
this.panMenu.Location = new System.Drawing.Point(0, 64);
this.panMenu.Name = "panMenu";
this.panMenu.Size = new System.Drawing.Size(1024, 50);
this.panMenu.TabIndex = 1;
//
- // panStatus
- //
- this.panStatus.Back = System.Drawing.Color.Empty;
- this.panStatus.BackColor = System.Drawing.Color.Transparent;
- this.panStatus.Controls.Add(this.labStatusText);
- this.panStatus.Controls.Add(this.picIconStatus);
- this.panStatus.Location = new System.Drawing.Point(160, 0);
- this.panStatus.MatrixRound = 8;
- this.panStatus.Name = "panStatus";
- this.panStatus.Size = new System.Drawing.Size(130, 47);
- this.panStatus.TabIndex = 1;
- this.panStatus.Click += new System.EventHandler(this.panStatus_Click);
- this.panStatus.MouseLeave += new System.EventHandler(this.panStatus_MouseLeave);
- this.panStatus.MouseHover += new System.EventHandler(this.panStatus_MouseHover);
- //
- // labStatusText
- //
- this.labStatusText.BackColor = System.Drawing.Color.Transparent;
- this.labStatusText.Cursor = System.Windows.Forms.Cursors.Hand;
- this.labStatusText.Font = new System.Drawing.Font("微软雅黑", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
- this.labStatusText.ForeColor = System.Drawing.SystemColors.ControlText;
- this.labStatusText.Location = new System.Drawing.Point(35, 0);
- this.labStatusText.Margin = new System.Windows.Forms.Padding(0);
- this.labStatusText.Name = "labStatusText";
- this.labStatusText.Size = new System.Drawing.Size(85, 47);
- this.labStatusText.TabIndex = 2;
- this.labStatusText.Text = "基准状态";
- this.labStatusText.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
- this.labStatusText.Click += new System.EventHandler(this.panStatus_Click);
- this.labStatusText.MouseLeave += new System.EventHandler(this.panStatus_MouseLeave);
- this.labStatusText.MouseHover += new System.EventHandler(this.panStatus_MouseHover);
- //
- // picIconStatus
- //
- this.picIconStatus.BackgroundImage = global::Casic.Birmm.RbFreqStandMeasure.Properties.Resources.icon_status;
- this.picIconStatus.BackgroundImageLayout = System.Windows.Forms.ImageLayout.Zoom;
- this.picIconStatus.Location = new System.Drawing.Point(10, 11);
- this.picIconStatus.Name = "picIconStatus";
- this.picIconStatus.Size = new System.Drawing.Size(25, 25);
- this.picIconStatus.TabIndex = 1;
- this.picIconStatus.TabStop = false;
- this.picIconStatus.Click += new System.EventHandler(this.panStatus_Click);
- this.picIconStatus.MouseLeave += new System.EventHandler(this.panStatus_MouseLeave);
- this.picIconStatus.MouseHover += new System.EventHandler(this.panStatus_MouseHover);
- //
- // panHome
- //
- this.panHome.Back = System.Drawing.Color.Empty;
- this.panHome.Controls.Add(this.labHomeText);
- this.panHome.Controls.Add(this.picIconHome);
- this.panHome.Controls.Add(this.labHomeSelected);
- this.panHome.Cursor = System.Windows.Forms.Cursors.Hand;
- this.panHome.Location = new System.Drawing.Point(30, 0);
- this.panHome.MatrixRound = 8;
- this.panHome.Name = "panHome";
- this.panHome.Size = new System.Drawing.Size(100, 50);
- this.panHome.TabIndex = 0;
- this.panHome.Click += new System.EventHandler(this.panHome_Click);
- this.panHome.MouseLeave += new System.EventHandler(this.panHome_MouseLeave);
- this.panHome.MouseHover += new System.EventHandler(this.panHome_MouseHover);
- //
- // labHomeText
- //
- this.labHomeText.BackColor = System.Drawing.Color.Transparent;
- this.labHomeText.Font = new System.Drawing.Font("微软雅黑", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
- this.labHomeText.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(18)))), ((int)(((byte)(150)))), ((int)(((byte)(219)))));
- this.labHomeText.Location = new System.Drawing.Point(35, 0);
- this.labHomeText.Margin = new System.Windows.Forms.Padding(0);
- this.labHomeText.Name = "labHomeText";
- this.labHomeText.Size = new System.Drawing.Size(55, 47);
- this.labHomeText.TabIndex = 2;
- this.labHomeText.Text = "首页";
- this.labHomeText.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
- this.labHomeText.Click += new System.EventHandler(this.panHome_Click);
- this.labHomeText.MouseLeave += new System.EventHandler(this.panHome_MouseLeave);
- this.labHomeText.MouseHover += new System.EventHandler(this.panHome_MouseHover);
- //
- // picIconHome
- //
- this.picIconHome.BackColor = System.Drawing.Color.Transparent;
- this.picIconHome.BackgroundImage = global::Casic.Birmm.RbFreqStandMeasure.Properties.Resources.icon_home_selected;
- this.picIconHome.BackgroundImageLayout = System.Windows.Forms.ImageLayout.Zoom;
- this.picIconHome.Location = new System.Drawing.Point(10, 11);
- this.picIconHome.Name = "picIconHome";
- this.picIconHome.Size = new System.Drawing.Size(25, 25);
- this.picIconHome.TabIndex = 1;
- this.picIconHome.TabStop = false;
- this.picIconHome.Click += new System.EventHandler(this.panHome_Click);
- this.picIconHome.MouseLeave += new System.EventHandler(this.panHome_MouseLeave);
- this.picIconHome.MouseHover += new System.EventHandler(this.panHome_MouseHover);
- //
- // labHomeSelected
- //
- this.labHomeSelected.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(18)))), ((int)(((byte)(150)))), ((int)(((byte)(219)))));
- this.labHomeSelected.Location = new System.Drawing.Point(0, 47);
- this.labHomeSelected.Name = "labHomeSelected";
- this.labHomeSelected.Size = new System.Drawing.Size(100, 3);
- this.labHomeSelected.TabIndex = 0;
- //
- // labStatusSelected
- //
- this.labStatusSelected.BackColor = System.Drawing.Color.Transparent;
- this.labStatusSelected.Location = new System.Drawing.Point(160, 47);
- this.labStatusSelected.Margin = new System.Windows.Forms.Padding(0);
- this.labStatusSelected.Name = "labStatusSelected";
- this.labStatusSelected.Size = new System.Drawing.Size(130, 3);
- this.labStatusSelected.TabIndex = 0;
- //
// penBanner
//
this.penBanner.BackgroundImage = global::Casic.Birmm.RbFreqStandMeasure.Properties.Resources.bg_banner;
this.penBanner.BackgroundImageLayout = System.Windows.Forms.ImageLayout.Stretch;
+ this.penBanner.Controls.Add(this.btnMinSys);
this.penBanner.Controls.Add(this.btnExitSys);
this.penBanner.Controls.Add(this.labTitle);
this.penBanner.Location = new System.Drawing.Point(0, 0);
@@ -180,6 +109,23 @@
this.penBanner.TabIndex = 0;
this.penBanner.MouseDown += new System.Windows.Forms.MouseEventHandler(this.RbFreqStdMeas_MouseDown);
//
+ // btnMinSys
+ //
+ this.btnMinSys.BackColor = System.Drawing.Color.Transparent;
+ this.btnMinSys.BackgroundImage = global::Casic.Birmm.RbFreqStandMeasure.Properties.Resources.icon_min;
+ this.btnMinSys.BackgroundImageLayout = System.Windows.Forms.ImageLayout.Stretch;
+ this.btnMinSys.FlatAppearance.BorderSize = 0;
+ this.btnMinSys.FlatStyle = System.Windows.Forms.FlatStyle.Flat;
+ this.btnMinSys.ForeColor = System.Drawing.SystemColors.ControlDarkDark;
+ this.btnMinSys.Location = new System.Drawing.Point(944, 22);
+ this.btnMinSys.Margin = new System.Windows.Forms.Padding(0);
+ this.btnMinSys.Name = "btnMinSys";
+ this.btnMinSys.Size = new System.Drawing.Size(20, 20);
+ this.btnMinSys.TabIndex = 1;
+ this.btnMinSys.UseVisualStyleBackColor = false;
+ this.btnMinSys.Click += new System.EventHandler(this.btnMinSys_Click);
+ this.btnMinSys.MouseHover += new System.EventHandler(this.btnMinSys_MouseHover);
+ //
// btnExitSys
//
this.btnExitSys.BackColor = System.Drawing.Color.Transparent;
@@ -200,7 +146,7 @@
// labTitle
//
this.labTitle.BackColor = System.Drawing.Color.Transparent;
- this.labTitle.Font = new System.Drawing.Font("微软雅黑", 15.75F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
+ this.labTitle.Font = new System.Drawing.Font("微软雅黑", 20F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Pixel, ((byte)(134)));
this.labTitle.ForeColor = System.Drawing.Color.White;
this.labTitle.Location = new System.Drawing.Point(30, 16);
this.labTitle.Name = "labTitle";
@@ -209,11 +155,404 @@
this.labTitle.Text = "铷原子频标比对测量软件";
this.labTitle.TextAlign = System.Drawing.ContentAlignment.MiddleLeft;
//
+ // panDev
+ //
+ this.panDev.Back = System.Drawing.Color.Empty;
+ this.panDev.Controls.Add(this.labDevText);
+ this.panDev.Controls.Add(this.labDevSelected);
+ this.panDev.Controls.Add(this.picIconDev);
+ this.panDev.Location = new System.Drawing.Point(214, 0);
+ this.panDev.MatrixRound = 8;
+ this.panDev.Name = "panDev";
+ this.panDev.Size = new System.Drawing.Size(141, 50);
+ this.panDev.TabIndex = 2;
+ this.panDev.Click += new System.EventHandler(this.panDev_Click);
+ this.panDev.MouseLeave += new System.EventHandler(this.panDev_MouseLeave);
+ this.panDev.MouseHover += new System.EventHandler(this.panDev_MouseHover);
+ //
+ // labDevText
+ //
+ this.labDevText.BackColor = System.Drawing.Color.Transparent;
+ this.labDevText.Cursor = System.Windows.Forms.Cursors.Hand;
+ this.labDevText.Font = new System.Drawing.Font("微软雅黑", 16F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Pixel, ((byte)(134)));
+ this.labDevText.ForeColor = System.Drawing.SystemColors.ControlText;
+ this.labDevText.Location = new System.Drawing.Point(30, 14);
+ this.labDevText.Margin = new System.Windows.Forms.Padding(0);
+ this.labDevText.Name = "labDevText";
+ this.labDevText.Size = new System.Drawing.Size(106, 20);
+ this.labDevText.TabIndex = 2;
+ this.labDevText.Text = "送检仪器管理";
+ this.labDevText.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
+ this.labDevText.Click += new System.EventHandler(this.panDev_Click);
+ this.labDevText.MouseLeave += new System.EventHandler(this.panDev_MouseLeave);
+ this.labDevText.MouseHover += new System.EventHandler(this.panDev_MouseHover);
+ //
+ // labDevSelected
+ //
+ this.labDevSelected.BackColor = System.Drawing.Color.Transparent;
+ this.labDevSelected.Location = new System.Drawing.Point(8, 48);
+ this.labDevSelected.Margin = new System.Windows.Forms.Padding(0);
+ this.labDevSelected.Name = "labDevSelected";
+ this.labDevSelected.Size = new System.Drawing.Size(121, 2);
+ this.labDevSelected.TabIndex = 3;
+ //
+ // picIconDev
+ //
+ this.picIconDev.BackColor = System.Drawing.Color.Transparent;
+ this.picIconDev.BackgroundImage = global::Casic.Birmm.RbFreqStandMeasure.Properties.Resources.icon_dev;
+ this.picIconDev.BackgroundImageLayout = System.Windows.Forms.ImageLayout.Zoom;
+ this.picIconDev.Location = new System.Drawing.Point(10, 14);
+ this.picIconDev.Name = "picIconDev";
+ this.picIconDev.Size = new System.Drawing.Size(20, 20);
+ this.picIconDev.TabIndex = 1;
+ this.picIconDev.TabStop = false;
+ this.picIconDev.Click += new System.EventHandler(this.panDev_Click);
+ this.picIconDev.MouseLeave += new System.EventHandler(this.panDev_MouseLeave);
+ this.picIconDev.MouseHover += new System.EventHandler(this.panDev_MouseHover);
+ //
+ // panSetting
+ //
+ this.panSetting.Back = System.Drawing.Color.Empty;
+ this.panSetting.Controls.Add(this.labSettingSelected);
+ this.panSetting.Controls.Add(this.labSettingText);
+ this.panSetting.Controls.Add(this.picIconSetting);
+ this.panSetting.Location = new System.Drawing.Point(879, 0);
+ this.panSetting.MatrixRound = 8;
+ this.panSetting.Name = "panSetting";
+ this.panSetting.Size = new System.Drawing.Size(109, 50);
+ this.panSetting.TabIndex = 2;
+ this.panSetting.Click += new System.EventHandler(this.panSetting_Click);
+ this.panSetting.MouseLeave += new System.EventHandler(this.panSetting_MouseLeave);
+ this.panSetting.MouseHover += new System.EventHandler(this.panSetting_MouseHover);
+ //
+ // labSettingSelected
+ //
+ this.labSettingSelected.BackColor = System.Drawing.Color.Transparent;
+ this.labSettingSelected.Location = new System.Drawing.Point(10, 48);
+ this.labSettingSelected.Margin = new System.Windows.Forms.Padding(0);
+ this.labSettingSelected.Name = "labSettingSelected";
+ this.labSettingSelected.Size = new System.Drawing.Size(89, 2);
+ this.labSettingSelected.TabIndex = 4;
+ //
+ // labSettingText
+ //
+ this.labSettingText.BackColor = System.Drawing.Color.Transparent;
+ this.labSettingText.Cursor = System.Windows.Forms.Cursors.Hand;
+ this.labSettingText.Font = new System.Drawing.Font("微软雅黑", 16F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Pixel, ((byte)(134)));
+ this.labSettingText.ForeColor = System.Drawing.SystemColors.ControlText;
+ this.labSettingText.Location = new System.Drawing.Point(30, 14);
+ this.labSettingText.Margin = new System.Windows.Forms.Padding(0);
+ this.labSettingText.Name = "labSettingText";
+ this.labSettingText.Size = new System.Drawing.Size(74, 20);
+ this.labSettingText.TabIndex = 2;
+ this.labSettingText.Text = "系统设置";
+ this.labSettingText.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
+ this.labSettingText.Click += new System.EventHandler(this.panSetting_Click);
+ this.labSettingText.MouseLeave += new System.EventHandler(this.panSetting_MouseLeave);
+ this.labSettingText.MouseHover += new System.EventHandler(this.panSetting_MouseHover);
+ //
+ // picIconSetting
+ //
+ this.picIconSetting.BackColor = System.Drawing.Color.Transparent;
+ this.picIconSetting.BackgroundImage = global::Casic.Birmm.RbFreqStandMeasure.Properties.Resources.icon_setting;
+ this.picIconSetting.BackgroundImageLayout = System.Windows.Forms.ImageLayout.Zoom;
+ this.picIconSetting.Location = new System.Drawing.Point(10, 14);
+ this.picIconSetting.Name = "picIconSetting";
+ this.picIconSetting.Size = new System.Drawing.Size(20, 20);
+ this.picIconSetting.TabIndex = 1;
+ this.picIconSetting.TabStop = false;
+ this.picIconSetting.Click += new System.EventHandler(this.panSetting_Click);
+ this.picIconSetting.MouseLeave += new System.EventHandler(this.panSetting_MouseLeave);
+ this.picIconSetting.MouseHover += new System.EventHandler(this.panSetting_MouseHover);
+ //
+ // panStatus
+ //
+ this.panStatus.Back = System.Drawing.Color.Empty;
+ this.panStatus.BackColor = System.Drawing.Color.Transparent;
+ this.panStatus.Controls.Add(this.labStatusText);
+ this.panStatus.Controls.Add(this.picIconStatus);
+ this.panStatus.Controls.Add(this.labStatusSelected);
+ this.panStatus.Location = new System.Drawing.Point(101, 0);
+ this.panStatus.MatrixRound = 8;
+ this.panStatus.Name = "panStatus";
+ this.panStatus.Size = new System.Drawing.Size(109, 50);
+ this.panStatus.TabIndex = 1;
+ this.panStatus.Click += new System.EventHandler(this.panStatus_Click);
+ this.panStatus.MouseLeave += new System.EventHandler(this.panStatus_MouseLeave);
+ this.panStatus.MouseHover += new System.EventHandler(this.panStatus_MouseHover);
+ //
+ // labStatusText
+ //
+ this.labStatusText.BackColor = System.Drawing.Color.Transparent;
+ this.labStatusText.Cursor = System.Windows.Forms.Cursors.Hand;
+ this.labStatusText.Font = new System.Drawing.Font("微软雅黑", 16F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Pixel, ((byte)(134)));
+ this.labStatusText.ForeColor = System.Drawing.SystemColors.ControlText;
+ this.labStatusText.Location = new System.Drawing.Point(30, 14);
+ this.labStatusText.Margin = new System.Windows.Forms.Padding(0);
+ this.labStatusText.Name = "labStatusText";
+ this.labStatusText.Size = new System.Drawing.Size(74, 20);
+ this.labStatusText.TabIndex = 2;
+ this.labStatusText.Text = "基准状态";
+ this.labStatusText.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
+ this.labStatusText.Click += new System.EventHandler(this.panStatus_Click);
+ this.labStatusText.MouseLeave += new System.EventHandler(this.panStatus_MouseLeave);
+ this.labStatusText.MouseHover += new System.EventHandler(this.panStatus_MouseHover);
+ //
+ // picIconStatus
+ //
+ this.picIconStatus.BackgroundImage = global::Casic.Birmm.RbFreqStandMeasure.Properties.Resources.icon_status;
+ this.picIconStatus.BackgroundImageLayout = System.Windows.Forms.ImageLayout.Zoom;
+ this.picIconStatus.Location = new System.Drawing.Point(10, 14);
+ this.picIconStatus.Name = "picIconStatus";
+ this.picIconStatus.Size = new System.Drawing.Size(20, 20);
+ this.picIconStatus.TabIndex = 1;
+ this.picIconStatus.TabStop = false;
+ this.picIconStatus.Click += new System.EventHandler(this.panStatus_Click);
+ this.picIconStatus.MouseLeave += new System.EventHandler(this.panStatus_MouseLeave);
+ this.picIconStatus.MouseHover += new System.EventHandler(this.panStatus_MouseHover);
+ //
+ // labStatusSelected
+ //
+ this.labStatusSelected.BackColor = System.Drawing.Color.Transparent;
+ this.labStatusSelected.Location = new System.Drawing.Point(10, 48);
+ this.labStatusSelected.Margin = new System.Windows.Forms.Padding(0);
+ this.labStatusSelected.Name = "labStatusSelected";
+ this.labStatusSelected.Size = new System.Drawing.Size(89, 2);
+ this.labStatusSelected.TabIndex = 0;
+ //
+ // panData
+ //
+ this.panData.Back = System.Drawing.Color.Empty;
+ this.panData.Controls.Add(this.labDataSelected);
+ this.panData.Controls.Add(this.labDataText);
+ this.panData.Controls.Add(this.picIconData);
+ this.panData.Location = new System.Drawing.Point(765, 0);
+ this.panData.MatrixRound = 8;
+ this.panData.Name = "panData";
+ this.panData.Size = new System.Drawing.Size(109, 50);
+ this.panData.TabIndex = 2;
+ this.panData.Click += new System.EventHandler(this.panData_Click);
+ this.panData.MouseLeave += new System.EventHandler(this.panData_MouseLeave);
+ this.panData.MouseHover += new System.EventHandler(this.panData_MouseHover);
+ //
+ // labDataSelected
+ //
+ this.labDataSelected.BackColor = System.Drawing.Color.Transparent;
+ this.labDataSelected.Location = new System.Drawing.Point(10, 48);
+ this.labDataSelected.Margin = new System.Windows.Forms.Padding(0);
+ this.labDataSelected.Name = "labDataSelected";
+ this.labDataSelected.Size = new System.Drawing.Size(89, 2);
+ this.labDataSelected.TabIndex = 3;
+ //
+ // labDataText
+ //
+ this.labDataText.BackColor = System.Drawing.Color.Transparent;
+ this.labDataText.Cursor = System.Windows.Forms.Cursors.Hand;
+ this.labDataText.Font = new System.Drawing.Font("微软雅黑", 16F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Pixel, ((byte)(134)));
+ this.labDataText.ForeColor = System.Drawing.SystemColors.ControlText;
+ this.labDataText.Location = new System.Drawing.Point(30, 14);
+ this.labDataText.Margin = new System.Windows.Forms.Padding(0);
+ this.labDataText.Name = "labDataText";
+ this.labDataText.Size = new System.Drawing.Size(74, 20);
+ this.labDataText.TabIndex = 2;
+ this.labDataText.Text = "数据管理";
+ this.labDataText.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
+ this.labDataText.Click += new System.EventHandler(this.panData_Click);
+ this.labDataText.MouseLeave += new System.EventHandler(this.panData_MouseLeave);
+ this.labDataText.MouseHover += new System.EventHandler(this.panData_MouseHover);
+ //
+ // picIconData
+ //
+ this.picIconData.BackColor = System.Drawing.Color.Transparent;
+ this.picIconData.BackgroundImage = global::Casic.Birmm.RbFreqStandMeasure.Properties.Resources.icon_data;
+ this.picIconData.BackgroundImageLayout = System.Windows.Forms.ImageLayout.Zoom;
+ this.picIconData.Location = new System.Drawing.Point(10, 14);
+ this.picIconData.Name = "picIconData";
+ this.picIconData.Size = new System.Drawing.Size(20, 20);
+ this.picIconData.TabIndex = 1;
+ this.picIconData.TabStop = false;
+ this.picIconData.Click += new System.EventHandler(this.panData_Click);
+ this.picIconData.MouseLeave += new System.EventHandler(this.panData_MouseLeave);
+ this.picIconData.MouseHover += new System.EventHandler(this.panData_MouseHover);
+ //
+ // panHome
+ //
+ this.panHome.Back = System.Drawing.Color.Empty;
+ this.panHome.Controls.Add(this.labHomeText);
+ this.panHome.Controls.Add(this.picIconHome);
+ this.panHome.Controls.Add(this.labHomeSelected);
+ this.panHome.Cursor = System.Windows.Forms.Cursors.Hand;
+ this.panHome.Location = new System.Drawing.Point(20, 0);
+ this.panHome.MatrixRound = 8;
+ this.panHome.Name = "panHome";
+ this.panHome.Size = new System.Drawing.Size(75, 50);
+ this.panHome.TabIndex = 0;
+ this.panHome.Click += new System.EventHandler(this.panHome_Click);
+ this.panHome.MouseLeave += new System.EventHandler(this.panHome_MouseLeave);
+ this.panHome.MouseHover += new System.EventHandler(this.panHome_MouseHover);
+ //
+ // labHomeText
+ //
+ this.labHomeText.BackColor = System.Drawing.Color.Transparent;
+ this.labHomeText.Font = new System.Drawing.Font("微软雅黑", 16F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Pixel, ((byte)(134)));
+ this.labHomeText.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(18)))), ((int)(((byte)(150)))), ((int)(((byte)(219)))));
+ this.labHomeText.Location = new System.Drawing.Point(30, 14);
+ this.labHomeText.Margin = new System.Windows.Forms.Padding(0);
+ this.labHomeText.Name = "labHomeText";
+ this.labHomeText.Size = new System.Drawing.Size(42, 20);
+ this.labHomeText.TabIndex = 2;
+ this.labHomeText.Text = "首页";
+ this.labHomeText.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
+ this.labHomeText.Click += new System.EventHandler(this.panHome_Click);
+ this.labHomeText.MouseLeave += new System.EventHandler(this.panHome_MouseLeave);
+ this.labHomeText.MouseHover += new System.EventHandler(this.panHome_MouseHover);
+ //
+ // picIconHome
+ //
+ this.picIconHome.BackColor = System.Drawing.Color.Transparent;
+ this.picIconHome.BackgroundImage = global::Casic.Birmm.RbFreqStandMeasure.Properties.Resources.icon_home_selected;
+ this.picIconHome.BackgroundImageLayout = System.Windows.Forms.ImageLayout.Zoom;
+ this.picIconHome.Location = new System.Drawing.Point(10, 14);
+ this.picIconHome.Margin = new System.Windows.Forms.Padding(0);
+ this.picIconHome.Name = "picIconHome";
+ this.picIconHome.Size = new System.Drawing.Size(20, 20);
+ this.picIconHome.TabIndex = 1;
+ this.picIconHome.TabStop = false;
+ this.picIconHome.Click += new System.EventHandler(this.panHome_Click);
+ this.picIconHome.MouseLeave += new System.EventHandler(this.panHome_MouseLeave);
+ this.picIconHome.MouseHover += new System.EventHandler(this.panHome_MouseHover);
+ //
+ // labHomeSelected
+ //
+ this.labHomeSelected.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(18)))), ((int)(((byte)(150)))), ((int)(((byte)(219)))));
+ this.labHomeSelected.Location = new System.Drawing.Point(10, 48);
+ this.labHomeSelected.Name = "labHomeSelected";
+ this.labHomeSelected.Size = new System.Drawing.Size(55, 2);
+ this.labHomeSelected.TabIndex = 0;
+ //
+ // panMeasure
+ //
+ this.panMeasure.Back = System.Drawing.Color.Empty;
+ this.panMeasure.Controls.Add(this.labMeasureText);
+ this.panMeasure.Controls.Add(this.labMeasureSelected);
+ this.panMeasure.Controls.Add(this.picIconMeasure);
+ this.panMeasure.Location = new System.Drawing.Point(619, 0);
+ this.panMeasure.MatrixRound = 8;
+ this.panMeasure.Name = "panMeasure";
+ this.panMeasure.Size = new System.Drawing.Size(141, 50);
+ this.panMeasure.TabIndex = 2;
+ this.panMeasure.Click += new System.EventHandler(this.panMeasure_Click);
+ this.panMeasure.MouseLeave += new System.EventHandler(this.panMeasure_MouseLeave);
+ this.panMeasure.MouseHover += new System.EventHandler(this.panMeasure_MouseHover);
+ //
+ // labMeasureText
+ //
+ this.labMeasureText.BackColor = System.Drawing.Color.Transparent;
+ this.labMeasureText.Cursor = System.Windows.Forms.Cursors.Hand;
+ this.labMeasureText.Font = new System.Drawing.Font("微软雅黑", 16F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Pixel, ((byte)(134)));
+ this.labMeasureText.ForeColor = System.Drawing.SystemColors.ControlText;
+ this.labMeasureText.Location = new System.Drawing.Point(30, 14);
+ this.labMeasureText.Margin = new System.Windows.Forms.Padding(0);
+ this.labMeasureText.Name = "labMeasureText";
+ this.labMeasureText.Size = new System.Drawing.Size(106, 20);
+ this.labMeasureText.TabIndex = 2;
+ this.labMeasureText.Text = "计量信息管理";
+ this.labMeasureText.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
+ this.labMeasureText.Click += new System.EventHandler(this.panMeasure_Click);
+ this.labMeasureText.MouseLeave += new System.EventHandler(this.panMeasure_MouseLeave);
+ this.labMeasureText.MouseHover += new System.EventHandler(this.panMeasure_MouseHover);
+ //
+ // labMeasureSelected
+ //
+ this.labMeasureSelected.BackColor = System.Drawing.Color.Transparent;
+ this.labMeasureSelected.Location = new System.Drawing.Point(10, 48);
+ this.labMeasureSelected.Margin = new System.Windows.Forms.Padding(0);
+ this.labMeasureSelected.Name = "labMeasureSelected";
+ this.labMeasureSelected.Size = new System.Drawing.Size(121, 2);
+ this.labMeasureSelected.TabIndex = 3;
+ //
+ // picIconMeasure
+ //
+ this.picIconMeasure.BackColor = System.Drawing.Color.Transparent;
+ this.picIconMeasure.BackgroundImage = global::Casic.Birmm.RbFreqStandMeasure.Properties.Resources.icon_measure;
+ this.picIconMeasure.BackgroundImageLayout = System.Windows.Forms.ImageLayout.Zoom;
+ this.picIconMeasure.Location = new System.Drawing.Point(10, 14);
+ this.picIconMeasure.Name = "picIconMeasure";
+ this.picIconMeasure.Size = new System.Drawing.Size(20, 20);
+ this.picIconMeasure.TabIndex = 1;
+ this.picIconMeasure.TabStop = false;
+ this.picIconMeasure.Click += new System.EventHandler(this.panMeasure_Click);
+ this.picIconMeasure.MouseLeave += new System.EventHandler(this.panMeasure_MouseLeave);
+ this.picIconMeasure.MouseHover += new System.EventHandler(this.panMeasure_MouseHover);
+ //
+ // panCounter
+ //
+ this.panCounter.Back = System.Drawing.Color.Empty;
+ this.panCounter.Controls.Add(this.labCounterSelected);
+ this.panCounter.Controls.Add(this.labCounterText);
+ this.panCounter.Controls.Add(this.picIconCounter);
+ this.panCounter.Location = new System.Drawing.Point(360, 0);
+ this.panCounter.MatrixRound = 8;
+ this.panCounter.Name = "panCounter";
+ this.panCounter.Size = new System.Drawing.Size(254, 50);
+ this.panCounter.TabIndex = 2;
+ this.panCounter.Click += new System.EventHandler(this.panCounter_Click);
+ this.panCounter.MouseLeave += new System.EventHandler(this.panCounter_MouseLeave);
+ this.panCounter.MouseHover += new System.EventHandler(this.panCounter_MouseHover);
+ //
+ // labCounterSelected
+ //
+ this.labCounterSelected.BackColor = System.Drawing.Color.Transparent;
+ this.labCounterSelected.Location = new System.Drawing.Point(10, 48);
+ this.labCounterSelected.Margin = new System.Windows.Forms.Padding(0);
+ this.labCounterSelected.Name = "labCounterSelected";
+ this.labCounterSelected.Size = new System.Drawing.Size(233, 2);
+ this.labCounterSelected.TabIndex = 4;
+ //
+ // labCounterText
+ //
+ this.labCounterText.BackColor = System.Drawing.Color.Transparent;
+ this.labCounterText.Cursor = System.Windows.Forms.Cursors.Hand;
+ this.labCounterText.Font = new System.Drawing.Font("微软雅黑", 16F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Pixel, ((byte)(134)));
+ this.labCounterText.ForeColor = System.Drawing.SystemColors.ControlText;
+ this.labCounterText.Location = new System.Drawing.Point(30, 14);
+ this.labCounterText.Margin = new System.Windows.Forms.Padding(0);
+ this.labCounterText.Name = "labCounterText";
+ this.labCounterText.Size = new System.Drawing.Size(218, 20);
+ this.labCounterText.TabIndex = 2;
+ this.labCounterText.Text = "频率计数器范围及灵敏度测量";
+ this.labCounterText.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
+ this.labCounterText.Click += new System.EventHandler(this.panCounter_Click);
+ this.labCounterText.MouseLeave += new System.EventHandler(this.panCounter_MouseLeave);
+ this.labCounterText.MouseHover += new System.EventHandler(this.panCounter_MouseHover);
+ //
+ // picIconCounter
+ //
+ this.picIconCounter.BackColor = System.Drawing.Color.Transparent;
+ this.picIconCounter.BackgroundImage = global::Casic.Birmm.RbFreqStandMeasure.Properties.Resources.icon_counter;
+ this.picIconCounter.BackgroundImageLayout = System.Windows.Forms.ImageLayout.Zoom;
+ this.picIconCounter.Location = new System.Drawing.Point(10, 14);
+ this.picIconCounter.Name = "picIconCounter";
+ this.picIconCounter.Size = new System.Drawing.Size(20, 20);
+ this.picIconCounter.TabIndex = 1;
+ this.picIconCounter.TabStop = false;
+ this.picIconCounter.Click += new System.EventHandler(this.panCounter_Click);
+ this.picIconCounter.MouseLeave += new System.EventHandler(this.panCounter_MouseLeave);
+ this.picIconCounter.MouseHover += new System.EventHandler(this.panCounter_MouseHover);
+ //
+ // panelMain
+ //
+ this.panelMain.Location = new System.Drawing.Point(0, 114);
+ this.panelMain.Name = "panelMain";
+ this.panelMain.Size = new System.Drawing.Size(1024, 654);
+ this.panelMain.TabIndex = 2;
+ //
// RbFreqStdMeas
//
this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 12F);
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
this.ClientSize = new System.Drawing.Size(1024, 768);
+ this.Controls.Add(this.panelMain);
this.Controls.Add(this.panMenu);
this.Controls.Add(this.penBanner);
this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.None;
@@ -221,11 +560,21 @@
this.Text = "RbFreqStdMeas";
this.Load += new System.EventHandler(this.RbFreqStdMeas_Load);
this.panMenu.ResumeLayout(false);
+ this.penBanner.ResumeLayout(false);
+ this.panDev.ResumeLayout(false);
+ ((System.ComponentModel.ISupportInitialize)(this.picIconDev)).EndInit();
+ this.panSetting.ResumeLayout(false);
+ ((System.ComponentModel.ISupportInitialize)(this.picIconSetting)).EndInit();
this.panStatus.ResumeLayout(false);
((System.ComponentModel.ISupportInitialize)(this.picIconStatus)).EndInit();
+ this.panData.ResumeLayout(false);
+ ((System.ComponentModel.ISupportInitialize)(this.picIconData)).EndInit();
this.panHome.ResumeLayout(false);
((System.ComponentModel.ISupportInitialize)(this.picIconHome)).EndInit();
- this.penBanner.ResumeLayout(false);
+ this.panMeasure.ResumeLayout(false);
+ ((System.ComponentModel.ISupportInitialize)(this.picIconMeasure)).EndInit();
+ this.panCounter.ResumeLayout(false);
+ ((System.ComponentModel.ISupportInitialize)(this.picIconCounter)).EndInit();
this.ResumeLayout(false);
}
@@ -244,5 +593,27 @@
private RoundPanel panStatus;
private RoundPanel panHome;
private System.Windows.Forms.Label labStatusSelected;
+ private RoundPanel panDev;
+ private System.Windows.Forms.PictureBox picIconDev;
+ private System.Windows.Forms.Label labDevText;
+ private System.Windows.Forms.Label labMeasureSelected;
+ private RoundPanel panCounter;
+ private System.Windows.Forms.Label labCounterText;
+ private System.Windows.Forms.PictureBox picIconCounter;
+ private RoundPanel panMeasure;
+ private System.Windows.Forms.Label labMeasureText;
+ private System.Windows.Forms.PictureBox picIconMeasure;
+ private RoundPanel panData;
+ private System.Windows.Forms.Label labDataText;
+ private System.Windows.Forms.PictureBox picIconData;
+ private RoundPanel panSetting;
+ private System.Windows.Forms.Label labSettingText;
+ private System.Windows.Forms.PictureBox picIconSetting;
+ private System.Windows.Forms.Label labCounterSelected;
+ private System.Windows.Forms.Label labDevSelected;
+ private System.Windows.Forms.Label labDataSelected;
+ private System.Windows.Forms.Label labSettingSelected;
+ private System.Windows.Forms.Button btnMinSys;
+ private System.Windows.Forms.Panel panelMain;
}
}
\ No newline at end of file
diff --git a/RbFreqStandMeasure/RbFreqStdMeas.cs b/RbFreqStandMeasure/RbFreqStdMeas.cs
index 3858ddb..af980d7 100644
--- a/RbFreqStandMeasure/RbFreqStdMeas.cs
+++ b/RbFreqStandMeasure/RbFreqStdMeas.cs
@@ -1,13 +1,9 @@
-using Casic.Birmm.RbFreqStandMeasure.Properties;
+using Casic.Birmm.RbFreqStandMeasure.info;
+using Casic.Birmm.RbFreqStandMeasure.Properties;
+using Casic.Birmm.RbFreqStandMeasure.setting;
using System;
-using System.Collections.Generic;
-using System.ComponentModel;
-using System.Data;
using System.Drawing;
-using System.Linq;
-using System.Resources;
using System.Runtime.InteropServices;
-using System.Text;
using System.Windows.Forms;
namespace Casic.Birmm.RbFreqStandMeasure
@@ -15,7 +11,7 @@
public partial class RbFreqStdMeas : Form
{
- #region 无边框拖动效果
+ #region 无边框拖动效果/最小化窗口/关闭窗口
[DllImport("user32.dll")]//拖动无窗体的控件
public static extern bool ReleaseCapture();
[DllImport("user32.dll")]
@@ -30,9 +26,29 @@
ReleaseCapture();
SendMessage(this.Handle, WM_SYSCOMMAND, SC_MOVE + HTCAPTION, 0);
}
+ private void btnExitSys_Click(object sender, EventArgs e)
+ {
+ Application.Exit();
+ }
+ private void btnMinSys_Click(object sender, EventArgs e)
+ {
+ this.WindowState = FormWindowState.Minimized;
+ }
+ private void btnExitSys_MouseHover(object sender, EventArgs e)
+ {
+ ToolTip p = new ToolTip();
+ p.ShowAlways = true;
+ p.SetToolTip(this.btnExitSys, "退出");
+ }
+ private void btnMinSys_MouseHover(object sender, EventArgs e)
+ {
+ ToolTip p = new ToolTip();
+ p.ShowAlways = true;
+ p.SetToolTip(this.btnMinSys, "最小化");
+ }
#endregion
- private bool[] menuSelected = { true, false };
+ private bool[] menuSelected = { true, false, false, false, false, false, false };
// 按钮图标
private PictureBox[] menuPics;
// 按钮图标的资源名称(选中的资源名称在后面加上 _selected)
@@ -57,7 +73,7 @@
// 将当前按钮的效果设置为默认未选中
this.menuPics[index].BackgroundImage = (Bitmap)Resources.ResourceManager.GetObject(this.menuIconResources[index], null);
- this.menuLabels[index].ForeColor = ColorTranslator.FromHtml("#2C2C2C");
+ this.menuLabels[index].ForeColor = ColorTranslator.FromHtml("#333333");
this.menuUnderlines[index].BackColor = Color.Transparent;
}
@@ -79,13 +95,15 @@
LeaveHome();
// 重新设置所有按钮的状态
- this.menuSelected = new bool[] { true, false };
+ this.menuSelected = new bool[] { true, false, false, false, false, false, false };
// 将新选中的按钮设置为选中
this.picIconHome.BackgroundImage = (Bitmap)Resources.ResourceManager.GetObject("icon_home_selected", null);
- this.labHomeText.ForeColor = ColorTranslator.FromHtml("#1296db");
- this.labHomeSelected.BackColor = ColorTranslator.FromHtml("#1296db");
+ this.labHomeText.ForeColor = ColorTranslator.FromHtml("#3f84d7");
+ this.labHomeSelected.BackColor = ColorTranslator.FromHtml("#3f84d7");
+ // 切换至首页
+ switchMainPanel(0);
}
#endregion
@@ -107,12 +125,163 @@
LeaveStatus();
// 重新设置所有按钮的状态
- this.menuSelected = new bool[] { false, true };
+ this.menuSelected = new bool[] { false, true, false, false, false, false, false };
// 将新选中的按钮设置为选中
this.picIconStatus.BackgroundImage = (Bitmap) Resources.ResourceManager.GetObject("icon_status_selected", null);
- this.labStatusText.ForeColor = ColorTranslator.FromHtml("#1296db");
- this.labStatusSelected.BackColor = ColorTranslator.FromHtml("#1296db");
+ this.labStatusText.ForeColor = ColorTranslator.FromHtml("#3f84d7");
+ this.labStatusSelected.BackColor = ColorTranslator.FromHtml("#3f84d7");
+
+ // 切换到基准状态页面
+ switchMainPanel(1);
+ }
+ #endregion
+
+ #region 送检仪器按钮点击、移入/移出效果
+ private void HoverDev()
+ {
+ panDev.Back = ColorTranslator.FromHtml("#56a3f2");
+ }
+ private void LeaveDev()
+ {
+ panDev.Back = Color.Transparent;
+ }
+ private void SelectDev()
+ {
+ // 移除所有按钮的选中样式
+ this.ClearAllMenuSelected();
+
+ // 鼠标移入效果去掉
+ LeaveDev();
+
+ // 重新设置所有按钮的状态
+ this.menuSelected = new bool[] { false, false, true, false, false ,false ,false };
+
+ // 将新选中的按钮设置为选中
+ this.picIconDev.BackgroundImage = (Bitmap)Resources.ResourceManager.GetObject("icon_dev_selected", null);
+ this.labDevText.ForeColor = ColorTranslator.FromHtml("#3f84d7");
+ this.labDevSelected.BackColor = ColorTranslator.FromHtml("#3f84d7");
+
+ // 切换至待检仪器管理
+ switchMainPanel(2);
+ }
+ #endregion
+
+ #region 频率计数器测量点击、移入/移出效果
+ private void HoverCounter()
+ {
+ panCounter.Back = ColorTranslator.FromHtml("#56a3f2");
+ }
+ private void LeaveCounter()
+ {
+ panCounter.Back = Color.Transparent;
+ }
+ private void SelectCounter()
+ {
+ // 移除所有按钮的选中样式
+ this.ClearAllMenuSelected();
+
+ // 鼠标移入效果去掉
+ LeaveCounter();
+
+ // 重新设置所有按钮的状态
+ this.menuSelected = new bool[] { false, false, false, true, false, false, false };
+
+ // 将新选中的按钮设置为选中
+ this.picIconCounter.BackgroundImage = (Bitmap)Resources.ResourceManager.GetObject("icon_counter_selected", null);
+ this.labCounterText.ForeColor = ColorTranslator.FromHtml("#3f84d7");
+ this.labCounterSelected.BackColor = ColorTranslator.FromHtml("#3f84d7");
+ }
+ #endregion
+
+ #region 计量管理点击、移入/移出效果
+ private void HoverMeasure()
+ {
+ panMeasure.Back = ColorTranslator.FromHtml("#56a3f2");
+ }
+ private void LeaveMeasure()
+ {
+ panMeasure.Back = Color.Transparent;
+ }
+ private void SelectMeasure()
+ {
+ // 移除所有按钮的选中样式
+ this.ClearAllMenuSelected();
+
+ // 鼠标移入效果去掉
+ LeaveMeasure();
+
+ // 重新设置所有按钮的状态
+ this.menuSelected = new bool[] { false, false, false, false, true, false, false };
+
+ // 将新选中的按钮设置为选中
+ this.picIconMeasure.BackgroundImage = (Bitmap)Resources.ResourceManager.GetObject("icon_measure_selected", null);
+ this.labMeasureText.ForeColor = ColorTranslator.FromHtml("#3f84d7");
+ this.labMeasureSelected.BackColor = ColorTranslator.FromHtml("#3f84d7");
+
+ // 切换至计量信息管理
+ switchMainPanel(4);
+ }
+ #endregion
+
+ #region 数据管理点击、移入/移出效果
+ private void HoverData()
+ {
+ panData.Back = ColorTranslator.FromHtml("#56a3f2");
+ }
+ private void LeaveData()
+ {
+ panData.Back = Color.Transparent;
+ }
+ private void SelectData()
+ {
+ // 移除所有按钮的选中样式
+ this.ClearAllMenuSelected();
+
+ // 鼠标移入效果去掉
+ LeaveData();
+
+ // 重新设置所有按钮的状态
+ this.menuSelected = new bool[] { false, false, false, false, false, true, false };
+
+ // 将新选中的按钮设置为选中
+ this.picIconData.BackgroundImage = (Bitmap)Resources.ResourceManager.GetObject("icon_data_selected", null);
+ this.labDataText.ForeColor = ColorTranslator.FromHtml("#3f84d7");
+ this.labDataSelected.BackColor = ColorTranslator.FromHtml("#3f84d7");
+
+ // 弹出对话框进行数据备份与还原操作
+ DataBackupDlg dataDlg = new DataBackupDlg();
+ dataDlg.ShowDialog();
+ }
+ #endregion
+
+ #region 系统管理点击、移入/移出效果
+ private void HoverSetting()
+ {
+ panSetting.Back = ColorTranslator.FromHtml("#56a3f2");
+ }
+ private void LeaveSetting()
+ {
+ panSetting.Back = Color.Transparent;
+ }
+ private void SelectSetting()
+ {
+ // 移除所有按钮的选中样式
+ this.ClearAllMenuSelected();
+
+ // 鼠标移入效果去掉
+ LeaveSetting();
+
+ // 重新设置所有按钮的状态
+ this.menuSelected = new bool[] { false, false, false, false, false, false, true };
+
+ // 将新选中的按钮设置为选中
+ this.picIconSetting.BackgroundImage = (Bitmap)Resources.ResourceManager.GetObject("icon_setting_selected", null);
+ this.labSettingText.ForeColor = ColorTranslator.FromHtml("#3f84d7");
+ this.labSettingSelected.BackColor = ColorTranslator.FromHtml("#3f84d7");
+
+ // 切换到设置的界面
+ switchMainPanel(6);
}
#endregion
@@ -123,22 +292,13 @@
private void RbFreqStdMeas_Load(object sender, EventArgs e)
{
- this.menuPics = new PictureBox[] { this.picIconHome, this.picIconStatus };
- this.menuLabels = new Label[] { this.labHomeText, this.labStatusText };
- this.menuUnderlines = new Label[] { this.labHomeSelected, this.labStatusSelected };
- this.menuIconResources = new string[] { "icon_home", "icon_status" };
- }
+ this.menuPics = new PictureBox[] { this.picIconHome, this.picIconStatus, this.picIconDev, this.picIconCounter, this.picIconMeasure, this.picIconData, this.picIconSetting };
+ this.menuLabels = new Label[] { this.labHomeText, this.labStatusText, this.labDevText, this.labCounterText, this.labMeasureText, this.labDataText, this.labSettingText };
+ this.menuUnderlines = new Label[] { this.labHomeSelected, this.labStatusSelected, this.labDevSelected, this.labCounterSelected, this.labMeasureSelected, this.labDataSelected, this.labSettingSelected };
+ this.menuIconResources = new string[] { "icon_home", "icon_status", "icon_dev", "icon_counter", "icon_measure", "icon_data", "icon_setting" };
- private void btnExitSys_Click(object sender, EventArgs e)
- {
- Application.Exit();
- }
-
- private void btnExitSys_MouseHover(object sender, EventArgs e)
- {
- ToolTip p = new ToolTip();
- p.ShowAlways = true;
- p.SetToolTip(this.btnExitSys, "退出");
+ // 加载首页的内容
+ switchMainPanel(0);
}
private void panHome_Click(object sender, EventArgs e)
@@ -191,5 +351,169 @@
LeaveStatus();
}
}
+
+ private void panDev_Click(object sender, EventArgs e)
+ {
+ if (this.menuSelected[2] == false)
+ {
+ SelectDev();
+ }
+ }
+
+ private void panDev_MouseHover(object sender, EventArgs e)
+ {
+ if (this.menuSelected[2] == false)
+ {
+ HoverDev();
+ }
+ }
+
+ private void panDev_MouseLeave(object sender, EventArgs e)
+ {
+ if (this.menuSelected[2] == false)
+ {
+ LeaveDev();
+ }
+ }
+
+ private void panCounter_Click(object sender, EventArgs e)
+ {
+ if (this.menuSelected[3] == false)
+ {
+ SelectCounter();
+ }
+ }
+
+ private void panCounter_MouseHover(object sender, EventArgs e)
+ {
+ if (this.menuSelected[3] == false)
+ {
+ HoverCounter();
+ }
+ }
+
+ private void panCounter_MouseLeave(object sender, EventArgs e)
+ {
+ if (this.menuSelected[3] == false)
+ {
+ LeaveCounter();
+ }
+ }
+
+ private void panMeasure_Click(object sender, EventArgs e)
+ {
+ if (this.menuSelected[4] == false)
+ {
+ SelectMeasure();
+ }
+ }
+
+ private void panMeasure_MouseHover(object sender, EventArgs e)
+ {
+ if (this.menuSelected[4] == false)
+ {
+ HoverMeasure();
+ }
+ }
+
+ private void panMeasure_MouseLeave(object sender, EventArgs e)
+ {
+ if (this.menuSelected[4] == false)
+ {
+ LeaveMeasure();
+ }
+ }
+
+ private void panData_Click(object sender, EventArgs e)
+ {
+ if (this.menuSelected[5] == false)
+ {
+ SelectData();
+ }
+ }
+
+ private void panData_MouseHover(object sender, EventArgs e)
+ {
+ if (this.menuSelected[5] == false)
+ {
+ HoverData();
+ }
+ }
+
+ private void panData_MouseLeave(object sender, EventArgs e)
+ {
+ if (this.menuSelected[5] == false)
+ {
+ LeaveData();
+ }
+ }
+
+ private void panSetting_Click(object sender, EventArgs e)
+ {
+ if (this.menuSelected[6] == false)
+ {
+ SelectSetting();
+ }
+ }
+
+ private void panSetting_MouseHover(object sender, EventArgs e)
+ {
+ if (this.menuSelected[6] == false)
+ {
+ HoverSetting();
+ }
+ }
+
+ private void panSetting_MouseLeave(object sender, EventArgs e)
+ {
+ if (this.menuSelected[6] == false)
+ {
+ LeaveSetting();
+ }
+ }
+
+ private void switchMainPanel(int index)
+ {
+ this.panelMain.Controls.Clear();
+
+ switch (index)
+ {
+ case 0: // 首页
+ HomeCtrlForm home = new HomeCtrlForm();
+ home.Show();
+ this.panelMain.Controls.Add(home);
+ break;
+
+ case 1: // 基准状态
+ StatusCtrlForm statusForm = new StatusCtrlForm();
+ statusForm.Show();
+ this.panelMain.Controls.Add(statusForm);
+ break;
+
+ case 2: // 待检设备
+ InfoCtrlForm infoForm = new InfoCtrlForm();
+ infoForm.Show();
+ this.panelMain.Controls.Add(infoForm);
+ break;
+
+ case 3: // 频率计数器范围
+ break;
+
+ case 4: // 计量信息
+ DevTestedCtrlForm tested = new DevTestedCtrlForm();
+ tested.Show();
+ this.panelMain.Controls.Add(tested);
+ break;
+
+ case 6: // 设置
+ SettingCtrlForm settingForm = new SettingCtrlForm();
+ settingForm.Show();
+ this.panelMain.Controls.Add(settingForm);
+ break;
+
+ default:
+ break;
+ }
+ }
}
}
\ No newline at end of file
diff --git a/RbFreqStandMeasure/StatusCtrlForm.Designer.cs b/RbFreqStandMeasure/StatusCtrlForm.Designer.cs
index bf5071a..b4151fd 100644
--- a/RbFreqStandMeasure/StatusCtrlForm.Designer.cs
+++ b/RbFreqStandMeasure/StatusCtrlForm.Designer.cs
@@ -31,21 +31,34 @@
{
this.panelSite = new System.Windows.Forms.Panel();
this.label5 = new System.Windows.Forms.Label();
- this.panelStatus = new System.Windows.Forms.Panel();
+ this.panel3 = new System.Windows.Forms.Panel();
+ this.label8 = new System.Windows.Forms.Label();
+ this.label13 = new System.Windows.Forms.Label();
+ this.label12 = new System.Windows.Forms.Label();
+ this.label11 = new System.Windows.Forms.Label();
+ this.label9 = new System.Windows.Forms.Label();
+ this.label10 = new System.Windows.Forms.Label();
+ this.panel2 = new System.Windows.Forms.Panel();
this.label4 = new System.Windows.Forms.Label();
+ this.label7 = new System.Windows.Forms.Label();
+ this.label6 = new System.Windows.Forms.Label();
+ this.label1 = new System.Windows.Forms.Label();
+ this.panel1 = new System.Windows.Forms.Panel();
this.label3 = new System.Windows.Forms.Label();
this.label2 = new System.Windows.Forms.Label();
- this.label1 = new System.Windows.Forms.Label();
+ this.label14 = new System.Windows.Forms.Label();
this.panelSite.SuspendLayout();
- this.panelStatus.SuspendLayout();
+ this.panel3.SuspendLayout();
+ this.panel2.SuspendLayout();
+ this.panel1.SuspendLayout();
this.SuspendLayout();
//
// panelSite
//
this.panelSite.Controls.Add(this.label5);
- this.panelSite.Location = new System.Drawing.Point(200, 0);
+ this.panelSite.Location = new System.Drawing.Point(232, 0);
this.panelSite.Name = "panelSite";
- this.panelSite.Size = new System.Drawing.Size(800, 640);
+ this.panelSite.Size = new System.Drawing.Size(773, 640);
this.panelSite.TabIndex = 3;
//
// label5
@@ -57,67 +70,208 @@
this.label5.TabIndex = 0;
this.label5.Text = "卫星位置图";
//
- // panelStatus
+ // panel3
//
- this.panelStatus.BackColor = System.Drawing.SystemColors.Window;
- this.panelStatus.Controls.Add(this.label4);
- this.panelStatus.Controls.Add(this.label3);
- this.panelStatus.Controls.Add(this.label2);
- this.panelStatus.Controls.Add(this.label1);
- this.panelStatus.Location = new System.Drawing.Point(0, 0);
- this.panelStatus.Name = "panelStatus";
- this.panelStatus.Size = new System.Drawing.Size(200, 640);
- this.panelStatus.TabIndex = 2;
+ this.panel3.BackgroundImage = global::Casic.Birmm.RbFreqStandMeasure.Properties.Resources.bg_status_location;
+ this.panel3.Controls.Add(this.label8);
+ this.panel3.Controls.Add(this.label13);
+ this.panel3.Controls.Add(this.label12);
+ this.panel3.Controls.Add(this.label11);
+ this.panel3.Controls.Add(this.label9);
+ this.panel3.Controls.Add(this.label10);
+ this.panel3.Location = new System.Drawing.Point(6, 360);
+ this.panel3.Name = "panel3";
+ this.panel3.Size = new System.Drawing.Size(224, 293);
+ this.panel3.TabIndex = 6;
+ //
+ // label8
+ //
+ this.label8.BackColor = System.Drawing.Color.Transparent;
+ this.label8.Font = new System.Drawing.Font("微软雅黑", 14F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Pixel, ((byte)(134)));
+ this.label8.Location = new System.Drawing.Point(0, 20);
+ this.label8.Name = "label8";
+ this.label8.Size = new System.Drawing.Size(224, 25);
+ this.label8.TabIndex = 0;
+ this.label8.Text = "位置信息";
+ this.label8.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
+ //
+ // label13
+ //
+ this.label13.BackColor = System.Drawing.Color.Transparent;
+ this.label13.Font = new System.Drawing.Font("微软雅黑", 14F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Pixel, ((byte)(134)));
+ this.label13.Location = new System.Drawing.Point(0, 220);
+ this.label13.Margin = new System.Windows.Forms.Padding(0);
+ this.label13.Name = "label13";
+ this.label13.Size = new System.Drawing.Size(75, 25);
+ this.label13.TabIndex = 1;
+ this.label13.Text = "Z";
+ this.label13.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
+ //
+ // label12
+ //
+ this.label12.BackColor = System.Drawing.Color.Transparent;
+ this.label12.Font = new System.Drawing.Font("微软雅黑", 14F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Pixel, ((byte)(134)));
+ this.label12.Location = new System.Drawing.Point(0, 180);
+ this.label12.Margin = new System.Windows.Forms.Padding(0);
+ this.label12.Name = "label12";
+ this.label12.Size = new System.Drawing.Size(75, 25);
+ this.label12.TabIndex = 1;
+ this.label12.Text = "Y";
+ this.label12.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
+ //
+ // label11
+ //
+ this.label11.BackColor = System.Drawing.Color.Transparent;
+ this.label11.Font = new System.Drawing.Font("微软雅黑", 14F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Pixel, ((byte)(134)));
+ this.label11.Location = new System.Drawing.Point(0, 140);
+ this.label11.Margin = new System.Windows.Forms.Padding(0);
+ this.label11.Name = "label11";
+ this.label11.Size = new System.Drawing.Size(75, 25);
+ this.label11.TabIndex = 1;
+ this.label11.Text = "X";
+ this.label11.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
+ //
+ // label9
+ //
+ this.label9.BackColor = System.Drawing.Color.Transparent;
+ this.label9.Font = new System.Drawing.Font("微软雅黑", 14F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Pixel, ((byte)(134)));
+ this.label9.Location = new System.Drawing.Point(0, 60);
+ this.label9.Name = "label9";
+ this.label9.Size = new System.Drawing.Size(75, 25);
+ this.label9.TabIndex = 1;
+ this.label9.Text = "经度";
+ this.label9.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
+ //
+ // label10
+ //
+ this.label10.BackColor = System.Drawing.Color.Transparent;
+ this.label10.Font = new System.Drawing.Font("微软雅黑", 14F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Pixel, ((byte)(134)));
+ this.label10.Location = new System.Drawing.Point(0, 100);
+ this.label10.Margin = new System.Windows.Forms.Padding(0);
+ this.label10.Name = "label10";
+ this.label10.Size = new System.Drawing.Size(75, 25);
+ this.label10.TabIndex = 1;
+ this.label10.Text = "纬度";
+ this.label10.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
+ //
+ // panel2
+ //
+ this.panel2.BackgroundImage = global::Casic.Birmm.RbFreqStandMeasure.Properties.Resources.bg_status_time;
+ this.panel2.Controls.Add(this.label4);
+ this.panel2.Controls.Add(this.label7);
+ this.panel2.Controls.Add(this.label6);
+ this.panel2.Controls.Add(this.label1);
+ this.panel2.Location = new System.Drawing.Point(6, 160);
+ this.panel2.Name = "panel2";
+ this.panel2.Size = new System.Drawing.Size(224, 200);
+ this.panel2.TabIndex = 5;
//
// label4
//
- this.label4.AutoSize = true;
- this.label4.Location = new System.Drawing.Point(59, 185);
+ this.label4.BackColor = System.Drawing.Color.Transparent;
+ this.label4.Font = new System.Drawing.Font("微软雅黑", 14F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Pixel, ((byte)(134)));
+ this.label4.Location = new System.Drawing.Point(0, 20);
this.label4.Name = "label4";
- this.label4.Size = new System.Drawing.Size(53, 12);
+ this.label4.Size = new System.Drawing.Size(224, 25);
this.label4.TabIndex = 0;
- this.label4.Text = "事件信息";
+ this.label4.Text = "时间信息";
+ this.label4.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
//
- // label3
+ // label7
//
- this.label3.AutoSize = true;
- this.label3.Location = new System.Drawing.Point(59, 139);
- this.label3.Name = "label3";
- this.label3.Size = new System.Drawing.Size(53, 12);
- this.label3.TabIndex = 0;
- this.label3.Text = "位置信息";
+ this.label7.BackColor = System.Drawing.Color.Transparent;
+ this.label7.Font = new System.Drawing.Font("微软雅黑", 14F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Pixel, ((byte)(134)));
+ this.label7.Location = new System.Drawing.Point(0, 140);
+ this.label7.Margin = new System.Windows.Forms.Padding(0);
+ this.label7.Name = "label7";
+ this.label7.Size = new System.Drawing.Size(75, 25);
+ this.label7.TabIndex = 1;
+ this.label7.Text = "MJD";
+ this.label7.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
//
- // label2
+ // label6
//
- this.label2.AutoSize = true;
- this.label2.Location = new System.Drawing.Point(59, 98);
- this.label2.Name = "label2";
- this.label2.Size = new System.Drawing.Size(53, 12);
- this.label2.TabIndex = 0;
- this.label2.Text = "锁定状态";
+ this.label6.BackColor = System.Drawing.Color.Transparent;
+ this.label6.Font = new System.Drawing.Font("微软雅黑", 14F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Pixel, ((byte)(134)));
+ this.label6.Location = new System.Drawing.Point(0, 100);
+ this.label6.Name = "label6";
+ this.label6.Size = new System.Drawing.Size(75, 25);
+ this.label6.TabIndex = 1;
+ this.label6.Text = "时间";
+ this.label6.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
//
// label1
//
- this.label1.AutoSize = true;
- this.label1.Location = new System.Drawing.Point(33, 53);
+ this.label1.BackColor = System.Drawing.Color.Transparent;
+ this.label1.Font = new System.Drawing.Font("微软雅黑", 14F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Pixel, ((byte)(134)));
+ this.label1.Location = new System.Drawing.Point(0, 60);
this.label1.Name = "label1";
- this.label1.Size = new System.Drawing.Size(29, 12);
- this.label1.TabIndex = 0;
- this.label1.Text = "状态";
+ this.label1.Size = new System.Drawing.Size(75, 25);
+ this.label1.TabIndex = 1;
+ this.label1.Text = "日期";
+ this.label1.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
+ //
+ // panel1
+ //
+ this.panel1.BackgroundImage = global::Casic.Birmm.RbFreqStandMeasure.Properties.Resources.bg_status_base;
+ this.panel1.Controls.Add(this.label3);
+ this.panel1.Controls.Add(this.label2);
+ this.panel1.Controls.Add(this.label14);
+ this.panel1.Location = new System.Drawing.Point(6, 0);
+ this.panel1.Margin = new System.Windows.Forms.Padding(0);
+ this.panel1.Name = "panel1";
+ this.panel1.Size = new System.Drawing.Size(224, 160);
+ this.panel1.TabIndex = 4;
+ //
+ // label3
+ //
+ this.label3.BackColor = System.Drawing.Color.Transparent;
+ this.label3.Font = new System.Drawing.Font("微软雅黑", 14F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Pixel, ((byte)(134)));
+ this.label3.Location = new System.Drawing.Point(0, 100);
+ this.label3.Name = "label3";
+ this.label3.Size = new System.Drawing.Size(75, 25);
+ this.label3.TabIndex = 1;
+ this.label3.Text = "接收机";
+ this.label3.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
+ //
+ // label2
+ //
+ this.label2.BackColor = System.Drawing.Color.Transparent;
+ this.label2.Font = new System.Drawing.Font("微软雅黑", 14F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Pixel, ((byte)(134)));
+ this.label2.Location = new System.Drawing.Point(0, 60);
+ this.label2.Name = "label2";
+ this.label2.Size = new System.Drawing.Size(75, 25);
+ this.label2.TabIndex = 1;
+ this.label2.Text = "原子钟";
+ this.label2.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
+ //
+ // label14
+ //
+ this.label14.BackColor = System.Drawing.Color.Transparent;
+ this.label14.Font = new System.Drawing.Font("微软雅黑", 14F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Pixel, ((byte)(134)));
+ this.label14.Location = new System.Drawing.Point(0, 20);
+ this.label14.Name = "label14";
+ this.label14.Size = new System.Drawing.Size(224, 25);
+ this.label14.TabIndex = 0;
+ this.label14.Text = "基本信息";
+ this.label14.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
//
// StatusCtrlForm
//
this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 12F);
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
+ this.Controls.Add(this.panel3);
+ this.Controls.Add(this.panel2);
+ this.Controls.Add(this.panel1);
this.Controls.Add(this.panelSite);
- this.Controls.Add(this.panelStatus);
this.Margin = new System.Windows.Forms.Padding(10);
this.Name = "StatusCtrlForm";
- this.Size = new System.Drawing.Size(1000, 640);
+ this.Size = new System.Drawing.Size(1024, 654);
this.panelSite.ResumeLayout(false);
this.panelSite.PerformLayout();
- this.panelStatus.ResumeLayout(false);
- this.panelStatus.PerformLayout();
+ this.panel3.ResumeLayout(false);
+ this.panel2.ResumeLayout(false);
+ this.panel1.ResumeLayout(false);
this.ResumeLayout(false);
}
@@ -126,10 +280,21 @@
private System.Windows.Forms.Panel panelSite;
private System.Windows.Forms.Label label5;
- private System.Windows.Forms.Panel panelStatus;
+ private System.Windows.Forms.Panel panel3;
+ private System.Windows.Forms.Label label8;
+ private System.Windows.Forms.Label label13;
+ private System.Windows.Forms.Label label12;
+ private System.Windows.Forms.Label label11;
+ private System.Windows.Forms.Label label9;
+ private System.Windows.Forms.Label label10;
+ private System.Windows.Forms.Panel panel2;
private System.Windows.Forms.Label label4;
+ private System.Windows.Forms.Label label7;
+ private System.Windows.Forms.Label label6;
+ private System.Windows.Forms.Label label1;
+ private System.Windows.Forms.Panel panel1;
private System.Windows.Forms.Label label3;
private System.Windows.Forms.Label label2;
- private System.Windows.Forms.Label label1;
+ private System.Windows.Forms.Label label14;
}
}
diff --git a/RbFreqStandMeasure/res/images/bg_banner.png b/RbFreqStandMeasure/res/images/bg_banner.png
index d795b7d..3119070 100644
--- a/RbFreqStandMeasure/res/images/bg_banner.png
+++ b/RbFreqStandMeasure/res/images/bg_banner.png
Binary files differ
diff --git a/RbFreqStandMeasure/res/images/bg_dev_channel.png b/RbFreqStandMeasure/res/images/bg_dev_channel.png
new file mode 100644
index 0000000..7bac7ce
--- /dev/null
+++ b/RbFreqStandMeasure/res/images/bg_dev_channel.png
Binary files differ
diff --git a/RbFreqStandMeasure/HomeCtrlForm.Designer.cs b/RbFreqStandMeasure/HomeCtrlForm.Designer.cs
index fb515f8..73e477a 100644
--- a/RbFreqStandMeasure/HomeCtrlForm.Designer.cs
+++ b/RbFreqStandMeasure/HomeCtrlForm.Designer.cs
@@ -29,589 +29,271 @@
///
private void InitializeComponent()
{
- System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle1 = new System.Windows.Forms.DataGridViewCellStyle();
- System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle2 = new System.Windows.Forms.DataGridViewCellStyle();
- this.panelToBeTested = new System.Windows.Forms.Panel();
- this.dataGridViewX1 = new DevComponents.DotNetBar.Controls.DataGridViewX();
- this.Column13 = new System.Windows.Forms.DataGridViewTextBoxColumn();
- this.Column14 = new System.Windows.Forms.DataGridViewTextBoxColumn();
- this.Column15 = new System.Windows.Forms.DataGridViewTextBoxColumn();
- this.Column16 = new System.Windows.Forms.DataGridViewTextBoxColumn();
- this.Column17 = new System.Windows.Forms.DataGridViewTextBoxColumn();
- this.panelEx1 = new DevComponents.DotNetBar.PanelEx();
- this.labelX6 = new DevComponents.DotNetBar.LabelX();
- this.labelX5 = new DevComponents.DotNetBar.LabelX();
- this.labelX4 = new DevComponents.DotNetBar.LabelX();
- this.labelX3 = new DevComponents.DotNetBar.LabelX();
- this.labelX2 = new DevComponents.DotNetBar.LabelX();
- this.labelX1 = new DevComponents.DotNetBar.LabelX();
- this.panelEx2 = new DevComponents.DotNetBar.PanelEx();
- this.labelX7 = new DevComponents.DotNetBar.LabelX();
- this.labelX8 = new DevComponents.DotNetBar.LabelX();
- this.labelX10 = new DevComponents.DotNetBar.LabelX();
- this.labelX9 = new DevComponents.DotNetBar.LabelX();
- this.panelEx3 = new DevComponents.DotNetBar.PanelEx();
- this.labelX11 = new DevComponents.DotNetBar.LabelX();
- this.labelX13 = new DevComponents.DotNetBar.LabelX();
- this.labelX12 = new DevComponents.DotNetBar.LabelX();
- this.panelEx4 = new DevComponents.DotNetBar.PanelEx();
- this.dataGridViewX2 = new DevComponents.DotNetBar.Controls.DataGridViewX();
- this.Column18 = new System.Windows.Forms.DataGridViewTextBoxColumn();
- this.Column19 = new System.Windows.Forms.DataGridViewTextBoxColumn();
- this.Column20 = new System.Windows.Forms.DataGridViewTextBoxColumn();
- this.Column21 = new System.Windows.Forms.DataGridViewTextBoxColumn();
- this.Column22 = new System.Windows.Forms.DataGridViewTextBoxColumn();
- this.Column23 = new System.Windows.Forms.DataGridViewTextBoxColumn();
- this.Column24 = new System.Windows.Forms.DataGridViewTextBoxColumn();
- this.Column25 = new System.Windows.Forms.DataGridViewTextBoxColumn();
- this.Column26 = new System.Windows.Forms.DataGridViewTextBoxColumn();
- this.Column27 = new System.Windows.Forms.DataGridViewTextBoxColumn();
- this.Column28 = new System.Windows.Forms.DataGridViewTextBoxColumn();
- this.Column29 = new System.Windows.Forms.DataGridViewTextBoxColumn();
- this.buttonX1 = new DevComponents.DotNetBar.ButtonX();
- this.buttonX2 = new DevComponents.DotNetBar.ButtonX();
+ this.panel3 = new System.Windows.Forms.Panel();
+ this.panel2 = new System.Windows.Forms.Panel();
+ this.panel1 = new System.Windows.Forms.Panel();
+ this.panel4 = new System.Windows.Forms.Panel();
+ this.panel5 = new System.Windows.Forms.Panel();
this.label1 = new System.Windows.Forms.Label();
this.label2 = new System.Windows.Forms.Label();
- this.panelToBeTested.SuspendLayout();
- ((System.ComponentModel.ISupportInitialize)(this.dataGridViewX1)).BeginInit();
- this.panelEx1.SuspendLayout();
- this.panelEx2.SuspendLayout();
- this.panelEx3.SuspendLayout();
- this.panelEx4.SuspendLayout();
- ((System.ComponentModel.ISupportInitialize)(this.dataGridViewX2)).BeginInit();
+ this.label3 = new System.Windows.Forms.Label();
+ this.label4 = new System.Windows.Forms.Label();
+ this.label5 = new System.Windows.Forms.Label();
+ this.label6 = new System.Windows.Forms.Label();
+ this.label7 = new System.Windows.Forms.Label();
+ this.label8 = new System.Windows.Forms.Label();
+ this.label9 = new System.Windows.Forms.Label();
+ this.label10 = new System.Windows.Forms.Label();
+ this.label11 = new System.Windows.Forms.Label();
+ this.label12 = new System.Windows.Forms.Label();
+ this.label13 = new System.Windows.Forms.Label();
+ this.panel3.SuspendLayout();
+ this.panel2.SuspendLayout();
+ this.panel1.SuspendLayout();
this.SuspendLayout();
//
- // panelToBeTested
+ // panel3
//
- this.panelToBeTested.Controls.Add(this.dataGridViewX1);
- this.panelToBeTested.Controls.Add(this.buttonX2);
- this.panelToBeTested.Controls.Add(this.buttonX1);
- this.panelToBeTested.Location = new System.Drawing.Point(250, 0);
- this.panelToBeTested.Name = "panelToBeTested";
- this.panelToBeTested.Size = new System.Drawing.Size(750, 216);
- this.panelToBeTested.TabIndex = 4;
+ this.panel3.BackgroundImage = global::Casic.Birmm.RbFreqStandMeasure.Properties.Resources.bg_status_location;
+ this.panel3.Controls.Add(this.label8);
+ this.panel3.Controls.Add(this.label13);
+ this.panel3.Controls.Add(this.label12);
+ this.panel3.Controls.Add(this.label11);
+ this.panel3.Controls.Add(this.label9);
+ this.panel3.Controls.Add(this.label10);
+ this.panel3.Location = new System.Drawing.Point(6, 360);
+ this.panel3.Name = "panel3";
+ this.panel3.Size = new System.Drawing.Size(224, 293);
+ this.panel3.TabIndex = 2;
//
- // dataGridViewX1
+ // panel2
//
- this.dataGridViewX1.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.AutoSize;
- this.dataGridViewX1.Columns.AddRange(new System.Windows.Forms.DataGridViewColumn[] {
- this.Column13,
- this.Column14,
- this.Column15,
- this.Column16,
- this.Column17});
- dataGridViewCellStyle1.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleLeft;
- dataGridViewCellStyle1.BackColor = System.Drawing.SystemColors.Window;
- dataGridViewCellStyle1.Font = new System.Drawing.Font("宋体", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
- dataGridViewCellStyle1.ForeColor = System.Drawing.SystemColors.ControlText;
- dataGridViewCellStyle1.SelectionBackColor = System.Drawing.SystemColors.Highlight;
- dataGridViewCellStyle1.SelectionForeColor = System.Drawing.SystemColors.ControlText;
- dataGridViewCellStyle1.WrapMode = System.Windows.Forms.DataGridViewTriState.False;
- this.dataGridViewX1.DefaultCellStyle = dataGridViewCellStyle1;
- this.dataGridViewX1.GridColor = System.Drawing.Color.FromArgb(((int)(((byte)(208)))), ((int)(((byte)(215)))), ((int)(((byte)(229)))));
- this.dataGridViewX1.Location = new System.Drawing.Point(0, 1);
- this.dataGridViewX1.Name = "dataGridViewX1";
- this.dataGridViewX1.RowTemplate.Height = 23;
- this.dataGridViewX1.Size = new System.Drawing.Size(750, 179);
- this.dataGridViewX1.TabIndex = 14;
+ this.panel2.BackgroundImage = global::Casic.Birmm.RbFreqStandMeasure.Properties.Resources.bg_status_time;
+ this.panel2.Controls.Add(this.label4);
+ this.panel2.Controls.Add(this.label7);
+ this.panel2.Controls.Add(this.label6);
+ this.panel2.Controls.Add(this.label5);
+ this.panel2.Location = new System.Drawing.Point(6, 160);
+ this.panel2.Name = "panel2";
+ this.panel2.Size = new System.Drawing.Size(224, 200);
+ this.panel2.TabIndex = 1;
//
- // Column13
+ // panel1
//
- this.Column13.HeaderText = "仪器名称";
- this.Column13.Name = "Column13";
+ this.panel1.BackgroundImage = global::Casic.Birmm.RbFreqStandMeasure.Properties.Resources.bg_status_base;
+ this.panel1.Controls.Add(this.label3);
+ this.panel1.Controls.Add(this.label2);
+ this.panel1.Controls.Add(this.label1);
+ this.panel1.Location = new System.Drawing.Point(6, 0);
+ this.panel1.Margin = new System.Windows.Forms.Padding(0);
+ this.panel1.Name = "panel1";
+ this.panel1.Size = new System.Drawing.Size(224, 160);
+ this.panel1.TabIndex = 0;
//
- // Column14
+ // panel4
//
- this.Column14.HeaderText = "仪器类型";
- this.Column14.Name = "Column14";
+ this.panel4.BackgroundImage = global::Casic.Birmm.RbFreqStandMeasure.Properties.Resources.bg_dev_tested;
+ this.panel4.Location = new System.Drawing.Point(230, 0);
+ this.panel4.Margin = new System.Windows.Forms.Padding(0);
+ this.panel4.Name = "panel4";
+ this.panel4.Size = new System.Drawing.Size(788, 226);
+ this.panel4.TabIndex = 3;
//
- // Column15
+ // panel5
//
- this.Column15.HeaderText = "仪器编号";
- this.Column15.Name = "Column15";
- //
- // Column16
- //
- this.Column16.HeaderText = "客户名称";
- this.Column16.Name = "Column16";
- //
- // Column17
- //
- this.Column17.HeaderText = "开始时间";
- this.Column17.Name = "Column17";
- //
- // panelEx1
- //
- this.panelEx1.CanvasColor = System.Drawing.SystemColors.Control;
- this.panelEx1.ColorSchemeStyle = DevComponents.DotNetBar.eDotNetBarStyle.StyleManagerControlled;
- this.panelEx1.Controls.Add(this.labelX6);
- this.panelEx1.Controls.Add(this.labelX5);
- this.panelEx1.Controls.Add(this.labelX4);
- this.panelEx1.Controls.Add(this.labelX3);
- this.panelEx1.Controls.Add(this.labelX2);
- this.panelEx1.Controls.Add(this.labelX1);
- this.panelEx1.DisabledBackColor = System.Drawing.Color.Empty;
- this.panelEx1.Location = new System.Drawing.Point(25, 376);
- this.panelEx1.Name = "panelEx1";
- this.panelEx1.Size = new System.Drawing.Size(200, 200);
- this.panelEx1.Style.Alignment = System.Drawing.StringAlignment.Center;
- this.panelEx1.Style.BackColor1.ColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelBackground;
- this.panelEx1.Style.BackColor2.ColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelBackground2;
- this.panelEx1.Style.Border = DevComponents.DotNetBar.eBorderType.SingleLine;
- this.panelEx1.Style.BorderColor.ColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelBorder;
- this.panelEx1.Style.ForeColor.ColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelText;
- this.panelEx1.Style.GradientAngle = 90;
- this.panelEx1.TabIndex = 10;
- //
- // labelX6
- //
- //
- //
- //
- this.labelX6.BackgroundStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square;
- this.labelX6.Location = new System.Drawing.Point(3, 153);
- this.labelX6.Name = "labelX6";
- this.labelX6.Size = new System.Drawing.Size(75, 23);
- this.labelX6.Style = DevComponents.DotNetBar.eDotNetBarStyle.Office2013;
- this.labelX6.TabIndex = 0;
- this.labelX6.Text = "Z";
- this.labelX6.TextAlignment = System.Drawing.StringAlignment.Center;
- //
- // labelX5
- //
- //
- //
- //
- this.labelX5.BackgroundStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square;
- this.labelX5.Location = new System.Drawing.Point(3, 124);
- this.labelX5.Name = "labelX5";
- this.labelX5.Size = new System.Drawing.Size(75, 23);
- this.labelX5.Style = DevComponents.DotNetBar.eDotNetBarStyle.Office2013;
- this.labelX5.TabIndex = 0;
- this.labelX5.Text = "Y";
- this.labelX5.TextAlignment = System.Drawing.StringAlignment.Center;
- //
- // labelX4
- //
- //
- //
- //
- this.labelX4.BackgroundStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square;
- this.labelX4.Location = new System.Drawing.Point(3, 95);
- this.labelX4.Name = "labelX4";
- this.labelX4.Size = new System.Drawing.Size(75, 23);
- this.labelX4.Style = DevComponents.DotNetBar.eDotNetBarStyle.Office2013;
- this.labelX4.TabIndex = 0;
- this.labelX4.Text = "X";
- this.labelX4.TextAlignment = System.Drawing.StringAlignment.Center;
- //
- // labelX3
- //
- //
- //
- //
- this.labelX3.BackgroundStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square;
- this.labelX3.Location = new System.Drawing.Point(3, 66);
- this.labelX3.Name = "labelX3";
- this.labelX3.Size = new System.Drawing.Size(75, 23);
- this.labelX3.Style = DevComponents.DotNetBar.eDotNetBarStyle.Office2013;
- this.labelX3.TabIndex = 0;
- this.labelX3.Text = "纬度";
- this.labelX3.TextAlignment = System.Drawing.StringAlignment.Center;
- //
- // labelX2
- //
- //
- //
- //
- this.labelX2.BackgroundStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square;
- this.labelX2.Location = new System.Drawing.Point(3, 37);
- this.labelX2.Name = "labelX2";
- this.labelX2.Size = new System.Drawing.Size(75, 23);
- this.labelX2.Style = DevComponents.DotNetBar.eDotNetBarStyle.Office2013;
- this.labelX2.TabIndex = 0;
- this.labelX2.Text = "经度";
- this.labelX2.TextAlignment = System.Drawing.StringAlignment.Center;
- //
- // labelX1
- //
- //
- //
- //
- this.labelX1.BackgroundStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square;
- this.labelX1.Location = new System.Drawing.Point(3, 3);
- this.labelX1.Name = "labelX1";
- this.labelX1.Size = new System.Drawing.Size(194, 23);
- this.labelX1.Style = DevComponents.DotNetBar.eDotNetBarStyle.Office2013;
- this.labelX1.TabIndex = 0;
- this.labelX1.Text = "位置信息";
- this.labelX1.TextAlignment = System.Drawing.StringAlignment.Center;
- //
- // panelEx2
- //
- this.panelEx2.CanvasColor = System.Drawing.SystemColors.Control;
- this.panelEx2.ColorSchemeStyle = DevComponents.DotNetBar.eDotNetBarStyle.StyleManagerControlled;
- this.panelEx2.Controls.Add(this.labelX7);
- this.panelEx2.Controls.Add(this.labelX8);
- this.panelEx2.Controls.Add(this.labelX10);
- this.panelEx2.Controls.Add(this.labelX9);
- this.panelEx2.DisabledBackColor = System.Drawing.Color.Empty;
- this.panelEx2.Location = new System.Drawing.Point(25, 190);
- this.panelEx2.Name = "panelEx2";
- this.panelEx2.Size = new System.Drawing.Size(200, 150);
- this.panelEx2.Style.Alignment = System.Drawing.StringAlignment.Center;
- this.panelEx2.Style.BackColor1.ColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelBackground;
- this.panelEx2.Style.BackColor2.ColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelBackground2;
- this.panelEx2.Style.Border = DevComponents.DotNetBar.eBorderType.SingleLine;
- this.panelEx2.Style.BorderColor.ColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelBorder;
- this.panelEx2.Style.ForeColor.ColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelText;
- this.panelEx2.Style.GradientAngle = 90;
- this.panelEx2.TabIndex = 10;
- //
- // labelX7
- //
- //
- //
- //
- this.labelX7.BackgroundStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square;
- this.labelX7.Location = new System.Drawing.Point(3, 3);
- this.labelX7.Name = "labelX7";
- this.labelX7.Size = new System.Drawing.Size(194, 23);
- this.labelX7.Style = DevComponents.DotNetBar.eDotNetBarStyle.Office2013;
- this.labelX7.TabIndex = 0;
- this.labelX7.Text = "时间信息";
- this.labelX7.TextAlignment = System.Drawing.StringAlignment.Center;
- //
- // labelX8
- //
- //
- //
- //
- this.labelX8.BackgroundStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square;
- this.labelX8.Location = new System.Drawing.Point(3, 41);
- this.labelX8.Name = "labelX8";
- this.labelX8.Size = new System.Drawing.Size(75, 23);
- this.labelX8.Style = DevComponents.DotNetBar.eDotNetBarStyle.Office2013;
- this.labelX8.TabIndex = 0;
- this.labelX8.Text = "日期";
- this.labelX8.TextAlignment = System.Drawing.StringAlignment.Center;
- //
- // labelX10
- //
- //
- //
- //
- this.labelX10.BackgroundStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square;
- this.labelX10.Location = new System.Drawing.Point(3, 99);
- this.labelX10.Name = "labelX10";
- this.labelX10.Size = new System.Drawing.Size(75, 23);
- this.labelX10.Style = DevComponents.DotNetBar.eDotNetBarStyle.Office2013;
- this.labelX10.TabIndex = 0;
- this.labelX10.Text = "MJD";
- this.labelX10.TextAlignment = System.Drawing.StringAlignment.Center;
- //
- // labelX9
- //
- //
- //
- //
- this.labelX9.BackgroundStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square;
- this.labelX9.Location = new System.Drawing.Point(3, 70);
- this.labelX9.Name = "labelX9";
- this.labelX9.Size = new System.Drawing.Size(75, 23);
- this.labelX9.Style = DevComponents.DotNetBar.eDotNetBarStyle.Office2013;
- this.labelX9.TabIndex = 0;
- this.labelX9.Text = "时间";
- this.labelX9.TextAlignment = System.Drawing.StringAlignment.Center;
- //
- // panelEx3
- //
- this.panelEx3.CanvasColor = System.Drawing.SystemColors.Control;
- this.panelEx3.ColorSchemeStyle = DevComponents.DotNetBar.eDotNetBarStyle.StyleManagerControlled;
- this.panelEx3.Controls.Add(this.labelX11);
- this.panelEx3.Controls.Add(this.labelX13);
- this.panelEx3.Controls.Add(this.labelX12);
- this.panelEx3.DisabledBackColor = System.Drawing.Color.Empty;
- this.panelEx3.Location = new System.Drawing.Point(25, 50);
- this.panelEx3.Name = "panelEx3";
- this.panelEx3.Size = new System.Drawing.Size(200, 100);
- this.panelEx3.Style.Alignment = System.Drawing.StringAlignment.Center;
- this.panelEx3.Style.BackColor1.ColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelBackground;
- this.panelEx3.Style.BackColor2.ColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelBackground2;
- this.panelEx3.Style.Border = DevComponents.DotNetBar.eBorderType.SingleLine;
- this.panelEx3.Style.BorderColor.ColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelBorder;
- this.panelEx3.Style.ForeColor.ColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelText;
- this.panelEx3.Style.GradientAngle = 90;
- this.panelEx3.TabIndex = 10;
- //
- // labelX11
- //
- //
- //
- //
- this.labelX11.BackgroundStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square;
- this.labelX11.Location = new System.Drawing.Point(3, 3);
- this.labelX11.Name = "labelX11";
- this.labelX11.Size = new System.Drawing.Size(194, 23);
- this.labelX11.Style = DevComponents.DotNetBar.eDotNetBarStyle.Office2013;
- this.labelX11.TabIndex = 0;
- this.labelX11.Text = "基本信息";
- this.labelX11.TextAlignment = System.Drawing.StringAlignment.Center;
- //
- // labelX13
- //
- //
- //
- //
- this.labelX13.BackgroundStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square;
- this.labelX13.Location = new System.Drawing.Point(3, 32);
- this.labelX13.Name = "labelX13";
- this.labelX13.Size = new System.Drawing.Size(75, 23);
- this.labelX13.Style = DevComponents.DotNetBar.eDotNetBarStyle.Office2013;
- this.labelX13.TabIndex = 0;
- this.labelX13.Text = "原子钟";
- this.labelX13.TextAlignment = System.Drawing.StringAlignment.Center;
- //
- // labelX12
- //
- //
- //
- //
- this.labelX12.BackgroundStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square;
- this.labelX12.Location = new System.Drawing.Point(3, 61);
- this.labelX12.Name = "labelX12";
- this.labelX12.Size = new System.Drawing.Size(75, 23);
- this.labelX12.Style = DevComponents.DotNetBar.eDotNetBarStyle.Office2013;
- this.labelX12.TabIndex = 0;
- this.labelX12.Text = "接收机";
- this.labelX12.TextAlignment = System.Drawing.StringAlignment.Center;
- //
- // panelEx4
- //
- this.panelEx4.CanvasColor = System.Drawing.SystemColors.Control;
- this.panelEx4.ColorSchemeStyle = DevComponents.DotNetBar.eDotNetBarStyle.StyleManagerControlled;
- this.panelEx4.Controls.Add(this.panelEx2);
- this.panelEx4.Controls.Add(this.panelEx1);
- this.panelEx4.Controls.Add(this.panelEx3);
- this.panelEx4.DisabledBackColor = System.Drawing.Color.Empty;
- this.panelEx4.Location = new System.Drawing.Point(0, 0);
- this.panelEx4.Name = "panelEx4";
- this.panelEx4.Size = new System.Drawing.Size(250, 640);
- this.panelEx4.Style.Alignment = System.Drawing.StringAlignment.Center;
- this.panelEx4.Style.BackColor1.ColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelBackground;
- this.panelEx4.Style.BackColor2.ColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelBackground2;
- this.panelEx4.Style.Border = DevComponents.DotNetBar.eBorderType.SingleLine;
- this.panelEx4.Style.BorderColor.ColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelBorder;
- this.panelEx4.Style.ForeColor.ColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelText;
- this.panelEx4.Style.GradientAngle = 90;
- this.panelEx4.TabIndex = 10;
- //
- // dataGridViewX2
- //
- this.dataGridViewX2.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.AutoSize;
- this.dataGridViewX2.Columns.AddRange(new System.Windows.Forms.DataGridViewColumn[] {
- this.Column18,
- this.Column19,
- this.Column20,
- this.Column21,
- this.Column22,
- this.Column23,
- this.Column24,
- this.Column25,
- this.Column26,
- this.Column27,
- this.Column28,
- this.Column29});
- dataGridViewCellStyle2.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleLeft;
- dataGridViewCellStyle2.BackColor = System.Drawing.SystemColors.Window;
- dataGridViewCellStyle2.Font = new System.Drawing.Font("宋体", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
- dataGridViewCellStyle2.ForeColor = System.Drawing.SystemColors.ControlText;
- dataGridViewCellStyle2.SelectionBackColor = System.Drawing.SystemColors.Highlight;
- dataGridViewCellStyle2.SelectionForeColor = System.Drawing.SystemColors.ControlText;
- dataGridViewCellStyle2.WrapMode = System.Windows.Forms.DataGridViewTriState.False;
- this.dataGridViewX2.DefaultCellStyle = dataGridViewCellStyle2;
- this.dataGridViewX2.GridColor = System.Drawing.Color.FromArgb(((int)(((byte)(208)))), ((int)(((byte)(215)))), ((int)(((byte)(229)))));
- this.dataGridViewX2.Location = new System.Drawing.Point(250, 216);
- this.dataGridViewX2.Name = "dataGridViewX2";
- this.dataGridViewX2.Size = new System.Drawing.Size(747, 424);
- this.dataGridViewX2.TabIndex = 15;
- //
- // Column18
- //
- this.Column18.HeaderText = "通道号";
- this.Column18.Name = "Column18";
- //
- // Column19
- //
- this.Column19.HeaderText = "当前状态";
- this.Column19.Name = "Column19";
- //
- // Column20
- //
- this.Column20.HeaderText = "仪器名称";
- this.Column20.Name = "Column20";
- //
- // Column21
- //
- this.Column21.HeaderText = "仪器编号";
- this.Column21.Name = "Column21";
- //
- // Column22
- //
- this.Column22.HeaderText = "客户名称";
- this.Column22.Name = "Column22";
- //
- // Column23
- //
- this.Column23.HeaderText = "开始时间";
- this.Column23.Name = "Column23";
- //
- // Column24
- //
- this.Column24.HeaderText = "结束时间";
- this.Column24.Name = "Column24";
- //
- // Column25
- //
- this.Column25.HeaderText = "频率稳定度";
- this.Column25.Name = "Column25";
- //
- // Column26
- //
- this.Column26.HeaderText = "频率准确度";
- this.Column26.Name = "Column26";
- //
- // Column27
- //
- this.Column27.HeaderText = "开机特性";
- this.Column27.Name = "Column27";
- //
- // Column28
- //
- this.Column28.HeaderText = "日老化率";
- this.Column28.Name = "Column28";
- //
- // Column29
- //
- this.Column29.HeaderText = "频率计数器范围及灵敏度";
- this.Column29.Name = "Column29";
- //
- // buttonX1
- //
- this.buttonX1.AccessibleRole = System.Windows.Forms.AccessibleRole.PushButton;
- this.buttonX1.BackColor = System.Drawing.Color.Transparent;
- this.buttonX1.ColorTable = DevComponents.DotNetBar.eButtonColor.OrangeWithBackground;
- this.buttonX1.Location = new System.Drawing.Point(663, 183);
- this.buttonX1.Name = "buttonX1";
- this.buttonX1.Size = new System.Drawing.Size(30, 23);
- this.buttonX1.Style = DevComponents.DotNetBar.eDotNetBarStyle.StyleManagerControlled;
- this.buttonX1.Symbol = "";
- this.buttonX1.SymbolColor = System.Drawing.Color.FromArgb(((int)(((byte)(64)))), ((int)(((byte)(64)))), ((int)(((byte)(64)))));
- this.buttonX1.SymbolSize = 8F;
- this.buttonX1.TabIndex = 19;
- //
- // buttonX2
- //
- this.buttonX2.AccessibleRole = System.Windows.Forms.AccessibleRole.PushButton;
- this.buttonX2.BackColor = System.Drawing.Color.Transparent;
- this.buttonX2.ColorTable = DevComponents.DotNetBar.eButtonColor.OrangeWithBackground;
- this.buttonX2.Location = new System.Drawing.Point(589, 184);
- this.buttonX2.Name = "buttonX2";
- this.buttonX2.Size = new System.Drawing.Size(30, 23);
- this.buttonX2.Style = DevComponents.DotNetBar.eDotNetBarStyle.StyleManagerControlled;
- this.buttonX2.Symbol = "";
- this.buttonX2.SymbolColor = System.Drawing.Color.FromArgb(((int)(((byte)(64)))), ((int)(((byte)(64)))), ((int)(((byte)(64)))));
- this.buttonX2.SymbolSize = 8F;
- this.buttonX2.TabIndex = 19;
+ this.panel5.BackgroundImage = global::Casic.Birmm.RbFreqStandMeasure.Properties.Resources.bg_dev_channel;
+ this.panel5.Location = new System.Drawing.Point(230, 226);
+ this.panel5.Name = "panel5";
+ this.panel5.Size = new System.Drawing.Size(788, 424);
+ this.panel5.TabIndex = 4;
//
// label1
//
this.label1.BackColor = System.Drawing.Color.Transparent;
- this.label1.Font = new System.Drawing.Font("Times New Roman", 9.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
- this.label1.Location = new System.Drawing.Point(880, 186);
- this.label1.Margin = new System.Windows.Forms.Padding(0);
+ this.label1.Font = new System.Drawing.Font("微软雅黑", 14F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Pixel, ((byte)(134)));
+ this.label1.Location = new System.Drawing.Point(0, 20);
this.label1.Name = "label1";
- this.label1.Size = new System.Drawing.Size(20, 20);
- this.label1.TabIndex = 20;
- this.label1.Text = "1";
+ this.label1.Size = new System.Drawing.Size(224, 25);
+ this.label1.TabIndex = 0;
+ this.label1.Text = "基本信息";
this.label1.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
//
// label2
//
this.label2.BackColor = System.Drawing.Color.Transparent;
- this.label2.Font = new System.Drawing.Font("Times New Roman", 9.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
- this.label2.Location = new System.Drawing.Point(636, 187);
- this.label2.Margin = new System.Windows.Forms.Padding(0);
+ this.label2.Font = new System.Drawing.Font("微软雅黑", 14F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Pixel, ((byte)(134)));
+ this.label2.Location = new System.Drawing.Point(0, 60);
this.label2.Name = "label2";
- this.label2.Size = new System.Drawing.Size(200, 20);
- this.label2.TabIndex = 20;
- this.label2.Text = "共150条,每页5条,共100页";
- this.label2.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
+ this.label2.Size = new System.Drawing.Size(75, 25);
+ this.label2.TabIndex = 1;
+ this.label2.Text = "原子钟";
+ this.label2.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
+ //
+ // label3
+ //
+ this.label3.BackColor = System.Drawing.Color.Transparent;
+ this.label3.Font = new System.Drawing.Font("微软雅黑", 14F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Pixel, ((byte)(134)));
+ this.label3.Location = new System.Drawing.Point(0, 100);
+ this.label3.Name = "label3";
+ this.label3.Size = new System.Drawing.Size(75, 25);
+ this.label3.TabIndex = 1;
+ this.label3.Text = "接收机";
+ this.label3.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
+ //
+ // label4
+ //
+ this.label4.BackColor = System.Drawing.Color.Transparent;
+ this.label4.Font = new System.Drawing.Font("微软雅黑", 14F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Pixel, ((byte)(134)));
+ this.label4.Location = new System.Drawing.Point(0, 20);
+ this.label4.Name = "label4";
+ this.label4.Size = new System.Drawing.Size(224, 25);
+ this.label4.TabIndex = 0;
+ this.label4.Text = "时间信息";
+ this.label4.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
+ //
+ // label5
+ //
+ this.label5.BackColor = System.Drawing.Color.Transparent;
+ this.label5.Font = new System.Drawing.Font("微软雅黑", 14F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Pixel, ((byte)(134)));
+ this.label5.Location = new System.Drawing.Point(0, 60);
+ this.label5.Name = "label5";
+ this.label5.Size = new System.Drawing.Size(75, 25);
+ this.label5.TabIndex = 1;
+ this.label5.Text = "日期";
+ this.label5.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
+ //
+ // label6
+ //
+ this.label6.BackColor = System.Drawing.Color.Transparent;
+ this.label6.Font = new System.Drawing.Font("微软雅黑", 14F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Pixel, ((byte)(134)));
+ this.label6.Location = new System.Drawing.Point(0, 100);
+ this.label6.Name = "label6";
+ this.label6.Size = new System.Drawing.Size(75, 25);
+ this.label6.TabIndex = 1;
+ this.label6.Text = "时间";
+ this.label6.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
+ //
+ // label7
+ //
+ this.label7.BackColor = System.Drawing.Color.Transparent;
+ this.label7.Font = new System.Drawing.Font("微软雅黑", 14F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Pixel, ((byte)(134)));
+ this.label7.Location = new System.Drawing.Point(0, 140);
+ this.label7.Margin = new System.Windows.Forms.Padding(0);
+ this.label7.Name = "label7";
+ this.label7.Size = new System.Drawing.Size(75, 25);
+ this.label7.TabIndex = 1;
+ this.label7.Text = "MJD";
+ this.label7.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
+ //
+ // label8
+ //
+ this.label8.BackColor = System.Drawing.Color.Transparent;
+ this.label8.Font = new System.Drawing.Font("微软雅黑", 14F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Pixel, ((byte)(134)));
+ this.label8.Location = new System.Drawing.Point(0, 20);
+ this.label8.Name = "label8";
+ this.label8.Size = new System.Drawing.Size(224, 25);
+ this.label8.TabIndex = 0;
+ this.label8.Text = "位置信息";
+ this.label8.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
+ //
+ // label9
+ //
+ this.label9.BackColor = System.Drawing.Color.Transparent;
+ this.label9.Font = new System.Drawing.Font("微软雅黑", 14F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Pixel, ((byte)(134)));
+ this.label9.Location = new System.Drawing.Point(0, 60);
+ this.label9.Name = "label9";
+ this.label9.Size = new System.Drawing.Size(75, 25);
+ this.label9.TabIndex = 1;
+ this.label9.Text = "经度";
+ this.label9.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
+ //
+ // label10
+ //
+ this.label10.BackColor = System.Drawing.Color.Transparent;
+ this.label10.Font = new System.Drawing.Font("微软雅黑", 14F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Pixel, ((byte)(134)));
+ this.label10.Location = new System.Drawing.Point(0, 100);
+ this.label10.Margin = new System.Windows.Forms.Padding(0);
+ this.label10.Name = "label10";
+ this.label10.Size = new System.Drawing.Size(75, 25);
+ this.label10.TabIndex = 1;
+ this.label10.Text = "纬度";
+ this.label10.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
+ //
+ // label11
+ //
+ this.label11.BackColor = System.Drawing.Color.Transparent;
+ this.label11.Font = new System.Drawing.Font("微软雅黑", 14F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Pixel, ((byte)(134)));
+ this.label11.Location = new System.Drawing.Point(0, 140);
+ this.label11.Margin = new System.Windows.Forms.Padding(0);
+ this.label11.Name = "label11";
+ this.label11.Size = new System.Drawing.Size(75, 25);
+ this.label11.TabIndex = 1;
+ this.label11.Text = "X";
+ this.label11.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
+ //
+ // label12
+ //
+ this.label12.BackColor = System.Drawing.Color.Transparent;
+ this.label12.Font = new System.Drawing.Font("微软雅黑", 14F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Pixel, ((byte)(134)));
+ this.label12.Location = new System.Drawing.Point(0, 180);
+ this.label12.Margin = new System.Windows.Forms.Padding(0);
+ this.label12.Name = "label12";
+ this.label12.Size = new System.Drawing.Size(75, 25);
+ this.label12.TabIndex = 1;
+ this.label12.Text = "Y";
+ this.label12.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
+ //
+ // label13
+ //
+ this.label13.BackColor = System.Drawing.Color.Transparent;
+ this.label13.Font = new System.Drawing.Font("微软雅黑", 14F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Pixel, ((byte)(134)));
+ this.label13.Location = new System.Drawing.Point(0, 220);
+ this.label13.Margin = new System.Windows.Forms.Padding(0);
+ this.label13.Name = "label13";
+ this.label13.Size = new System.Drawing.Size(75, 25);
+ this.label13.TabIndex = 1;
+ this.label13.Text = "Z";
+ this.label13.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
//
// HomeCtrlForm
//
this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 12F);
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
- this.Controls.Add(this.label1);
- this.Controls.Add(this.label2);
- this.Controls.Add(this.dataGridViewX2);
- this.Controls.Add(this.panelEx4);
- this.Controls.Add(this.panelToBeTested);
+ this.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(232)))), ((int)(((byte)(234)))), ((int)(((byte)(238)))));
+ this.Controls.Add(this.panel5);
+ this.Controls.Add(this.panel4);
+ this.Controls.Add(this.panel3);
+ this.Controls.Add(this.panel2);
+ this.Controls.Add(this.panel1);
this.Margin = new System.Windows.Forms.Padding(0);
this.Name = "HomeCtrlForm";
- this.Size = new System.Drawing.Size(1000, 640);
- this.panelToBeTested.ResumeLayout(false);
- ((System.ComponentModel.ISupportInitialize)(this.dataGridViewX1)).EndInit();
- this.panelEx1.ResumeLayout(false);
- this.panelEx2.ResumeLayout(false);
- this.panelEx3.ResumeLayout(false);
- this.panelEx4.ResumeLayout(false);
- ((System.ComponentModel.ISupportInitialize)(this.dataGridViewX2)).EndInit();
+ this.Size = new System.Drawing.Size(1024, 654);
+ this.panel3.ResumeLayout(false);
+ this.panel2.ResumeLayout(false);
+ this.panel1.ResumeLayout(false);
this.ResumeLayout(false);
}
#endregion
- private System.Windows.Forms.Panel panelToBeTested;
- private DevComponents.DotNetBar.PanelEx panelEx1;
- private DevComponents.DotNetBar.LabelX labelX6;
- private DevComponents.DotNetBar.LabelX labelX5;
- private DevComponents.DotNetBar.LabelX labelX4;
- private DevComponents.DotNetBar.LabelX labelX3;
- private DevComponents.DotNetBar.LabelX labelX2;
- private DevComponents.DotNetBar.LabelX labelX1;
- private DevComponents.DotNetBar.PanelEx panelEx2;
- private DevComponents.DotNetBar.LabelX labelX7;
- private DevComponents.DotNetBar.LabelX labelX8;
- private DevComponents.DotNetBar.LabelX labelX10;
- private DevComponents.DotNetBar.LabelX labelX9;
- private DevComponents.DotNetBar.PanelEx panelEx3;
- private DevComponents.DotNetBar.LabelX labelX11;
- private DevComponents.DotNetBar.LabelX labelX13;
- private DevComponents.DotNetBar.LabelX labelX12;
- private DevComponents.DotNetBar.PanelEx panelEx4;
- private DevComponents.DotNetBar.Controls.DataGridViewX dataGridViewX1;
- private System.Windows.Forms.DataGridViewTextBoxColumn Column13;
- private System.Windows.Forms.DataGridViewTextBoxColumn Column14;
- private System.Windows.Forms.DataGridViewTextBoxColumn Column15;
- private System.Windows.Forms.DataGridViewTextBoxColumn Column16;
- private System.Windows.Forms.DataGridViewTextBoxColumn Column17;
- private DevComponents.DotNetBar.Controls.DataGridViewX dataGridViewX2;
- private System.Windows.Forms.DataGridViewTextBoxColumn Column18;
- private System.Windows.Forms.DataGridViewTextBoxColumn Column19;
- private System.Windows.Forms.DataGridViewTextBoxColumn Column20;
- private System.Windows.Forms.DataGridViewTextBoxColumn Column21;
- private System.Windows.Forms.DataGridViewTextBoxColumn Column22;
- private System.Windows.Forms.DataGridViewTextBoxColumn Column23;
- private System.Windows.Forms.DataGridViewTextBoxColumn Column24;
- private System.Windows.Forms.DataGridViewTextBoxColumn Column25;
- private System.Windows.Forms.DataGridViewTextBoxColumn Column26;
- private System.Windows.Forms.DataGridViewTextBoxColumn Column27;
- private System.Windows.Forms.DataGridViewTextBoxColumn Column28;
- private System.Windows.Forms.DataGridViewTextBoxColumn Column29;
- private DevComponents.DotNetBar.ButtonX buttonX1;
- private DevComponents.DotNetBar.ButtonX buttonX2;
+
+ private System.Windows.Forms.Panel panel1;
+ private System.Windows.Forms.Panel panel2;
+ private System.Windows.Forms.Panel panel3;
+ private System.Windows.Forms.Panel panel4;
+ private System.Windows.Forms.Panel panel5;
private System.Windows.Forms.Label label1;
private System.Windows.Forms.Label label2;
+ private System.Windows.Forms.Label label3;
+ private System.Windows.Forms.Label label4;
+ private System.Windows.Forms.Label label5;
+ private System.Windows.Forms.Label label6;
+ private System.Windows.Forms.Label label7;
+ private System.Windows.Forms.Label label8;
+ private System.Windows.Forms.Label label11;
+ private System.Windows.Forms.Label label9;
+ private System.Windows.Forms.Label label10;
+ private System.Windows.Forms.Label label12;
+ private System.Windows.Forms.Label label13;
}
}
diff --git a/RbFreqStandMeasure/HomeCtrlForm.resx b/RbFreqStandMeasure/HomeCtrlForm.resx
index 6d97f4f..1af7de1 100644
--- a/RbFreqStandMeasure/HomeCtrlForm.resx
+++ b/RbFreqStandMeasure/HomeCtrlForm.resx
@@ -117,55 +117,4 @@
System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
-
- True
-
-
- True
-
-
- True
-
-
- True
-
-
- True
-
-
- True
-
-
- True
-
-
- True
-
-
- True
-
-
- True
-
-
- True
-
-
- True
-
-
- True
-
-
- True
-
-
- True
-
-
- True
-
-
- True
-
\ No newline at end of file
diff --git a/RbFreqStandMeasure/Program.cs b/RbFreqStandMeasure/Program.cs
index 93a83e5..6150917 100644
--- a/RbFreqStandMeasure/Program.cs
+++ b/RbFreqStandMeasure/Program.cs
@@ -1,6 +1,4 @@
using System;
-using System.Collections.Generic;
-using System.Linq;
using System.Windows.Forms;
namespace Casic.Birmm.RbFreqStandMeasure
diff --git a/RbFreqStandMeasure/Properties/Resources.Designer.cs b/RbFreqStandMeasure/Properties/Resources.Designer.cs
index 253d7d7..d819a23 100644
--- a/RbFreqStandMeasure/Properties/Resources.Designer.cs
+++ b/RbFreqStandMeasure/Properties/Resources.Designer.cs
@@ -73,6 +73,56 @@
///
/// 查找 System.Drawing.Bitmap 类型的本地化资源。
///
+ internal static System.Drawing.Bitmap bg_dev_channel {
+ get {
+ object obj = ResourceManager.GetObject("bg_dev_channel", resourceCulture);
+ return ((System.Drawing.Bitmap)(obj));
+ }
+ }
+
+ ///
+ /// 查找 System.Drawing.Bitmap 类型的本地化资源。
+ ///
+ internal static System.Drawing.Bitmap bg_dev_tested {
+ get {
+ object obj = ResourceManager.GetObject("bg_dev_tested", resourceCulture);
+ return ((System.Drawing.Bitmap)(obj));
+ }
+ }
+
+ ///
+ /// 查找 System.Drawing.Bitmap 类型的本地化资源。
+ ///
+ internal static System.Drawing.Bitmap bg_status_base {
+ get {
+ object obj = ResourceManager.GetObject("bg_status_base", resourceCulture);
+ return ((System.Drawing.Bitmap)(obj));
+ }
+ }
+
+ ///
+ /// 查找 System.Drawing.Bitmap 类型的本地化资源。
+ ///
+ internal static System.Drawing.Bitmap bg_status_location {
+ get {
+ object obj = ResourceManager.GetObject("bg_status_location", resourceCulture);
+ return ((System.Drawing.Bitmap)(obj));
+ }
+ }
+
+ ///
+ /// 查找 System.Drawing.Bitmap 类型的本地化资源。
+ ///
+ internal static System.Drawing.Bitmap bg_status_time {
+ get {
+ object obj = ResourceManager.GetObject("bg_status_time", resourceCulture);
+ return ((System.Drawing.Bitmap)(obj));
+ }
+ }
+
+ ///
+ /// 查找 System.Drawing.Bitmap 类型的本地化资源。
+ ///
internal static System.Drawing.Bitmap bg_white_shadow {
get {
object obj = ResourceManager.GetObject("bg_white_shadow", resourceCulture);
@@ -83,6 +133,66 @@
///
/// 查找 System.Drawing.Bitmap 类型的本地化资源。
///
+ internal static System.Drawing.Bitmap icon_counter {
+ get {
+ object obj = ResourceManager.GetObject("icon_counter", resourceCulture);
+ return ((System.Drawing.Bitmap)(obj));
+ }
+ }
+
+ ///
+ /// 查找 System.Drawing.Bitmap 类型的本地化资源。
+ ///
+ internal static System.Drawing.Bitmap icon_counter_selected {
+ get {
+ object obj = ResourceManager.GetObject("icon_counter_selected", resourceCulture);
+ return ((System.Drawing.Bitmap)(obj));
+ }
+ }
+
+ ///
+ /// 查找 System.Drawing.Bitmap 类型的本地化资源。
+ ///
+ internal static System.Drawing.Bitmap icon_data {
+ get {
+ object obj = ResourceManager.GetObject("icon_data", resourceCulture);
+ return ((System.Drawing.Bitmap)(obj));
+ }
+ }
+
+ ///
+ /// 查找 System.Drawing.Bitmap 类型的本地化资源。
+ ///
+ internal static System.Drawing.Bitmap icon_data_selected {
+ get {
+ object obj = ResourceManager.GetObject("icon_data_selected", resourceCulture);
+ return ((System.Drawing.Bitmap)(obj));
+ }
+ }
+
+ ///
+ /// 查找 System.Drawing.Bitmap 类型的本地化资源。
+ ///
+ internal static System.Drawing.Bitmap icon_dev {
+ get {
+ object obj = ResourceManager.GetObject("icon_dev", resourceCulture);
+ return ((System.Drawing.Bitmap)(obj));
+ }
+ }
+
+ ///
+ /// 查找 System.Drawing.Bitmap 类型的本地化资源。
+ ///
+ internal static System.Drawing.Bitmap icon_dev_selected {
+ get {
+ object obj = ResourceManager.GetObject("icon_dev_selected", resourceCulture);
+ return ((System.Drawing.Bitmap)(obj));
+ }
+ }
+
+ ///
+ /// 查找 System.Drawing.Bitmap 类型的本地化资源。
+ ///
internal static System.Drawing.Bitmap icon_exit {
get {
object obj = ResourceManager.GetObject("icon_exit", resourceCulture);
@@ -113,6 +223,56 @@
///
/// 查找 System.Drawing.Bitmap 类型的本地化资源。
///
+ internal static System.Drawing.Bitmap icon_measure {
+ get {
+ object obj = ResourceManager.GetObject("icon_measure", resourceCulture);
+ return ((System.Drawing.Bitmap)(obj));
+ }
+ }
+
+ ///
+ /// 查找 System.Drawing.Bitmap 类型的本地化资源。
+ ///
+ internal static System.Drawing.Bitmap icon_measure_selected {
+ get {
+ object obj = ResourceManager.GetObject("icon_measure_selected", resourceCulture);
+ return ((System.Drawing.Bitmap)(obj));
+ }
+ }
+
+ ///
+ /// 查找 System.Drawing.Bitmap 类型的本地化资源。
+ ///
+ internal static System.Drawing.Bitmap icon_min {
+ get {
+ object obj = ResourceManager.GetObject("icon_min", resourceCulture);
+ return ((System.Drawing.Bitmap)(obj));
+ }
+ }
+
+ ///
+ /// 查找 System.Drawing.Bitmap 类型的本地化资源。
+ ///
+ internal static System.Drawing.Bitmap icon_setting {
+ get {
+ object obj = ResourceManager.GetObject("icon_setting", resourceCulture);
+ return ((System.Drawing.Bitmap)(obj));
+ }
+ }
+
+ ///
+ /// 查找 System.Drawing.Bitmap 类型的本地化资源。
+ ///
+ internal static System.Drawing.Bitmap icon_setting_selected {
+ get {
+ object obj = ResourceManager.GetObject("icon_setting_selected", resourceCulture);
+ return ((System.Drawing.Bitmap)(obj));
+ }
+ }
+
+ ///
+ /// 查找 System.Drawing.Bitmap 类型的本地化资源。
+ ///
internal static System.Drawing.Bitmap icon_status {
get {
object obj = ResourceManager.GetObject("icon_status", resourceCulture);
diff --git a/RbFreqStandMeasure/Properties/Resources.resx b/RbFreqStandMeasure/Properties/Resources.resx
index e781bb7..cfdb255 100644
--- a/RbFreqStandMeasure/Properties/Resources.resx
+++ b/RbFreqStandMeasure/Properties/Resources.resx
@@ -118,25 +118,73 @@
System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
-
- ..\res\images\icon_exit.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
+
+ ..\res\images\icon_counter_selected.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
-
- ..\res\images\bg_white_shadow.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
+
+ ..\res\images\icon_dev_selected.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
+
+
+ ..\res\images\icon_status_selected.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
+
+
+ ..\res\images\icon_data_selected.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
..\res\images\icon_home_selected.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
-
- ..\res\images\bg_banner.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
-
-
- ..\res\images\icon_home.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
+
+ ..\res\images\icon_exit.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
..\res\images\icon_status.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
-
- ..\res\images\icon_status_selected.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
+
+ ..\res\images\icon_data.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
+
+
+ ..\res\images\icon_setting.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
+
+
+ ..\res\images\icon_measure_selected.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
+
+
+ ..\res\images\bg_banner.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
+
+
+ ..\res\images\icon_setting_selected.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
+
+
+ ..\res\images\icon_dev.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
+
+
+ ..\res\images\icon_counter.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
+
+
+ ..\res\images\icon_measure.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
+
+
+ ..\res\images\icon_home.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
+
+
+ ..\res\images\bg_white_shadow.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
+
+
+ ..\res\images\icon_min.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
+
+
+ ..\res\images\bg_status_base.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
+
+
+ ..\res\images\bg_status_location.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
+
+
+ ..\res\images\bg_status_time.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
+
+
+ ..\res\images\bg_dev_channel.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
+
+
+ ..\res\images\bg_dev_tested.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
\ No newline at end of file
diff --git a/RbFreqStandMeasure/RbFreqStandMeasure.csproj b/RbFreqStandMeasure/RbFreqStandMeasure.csproj
index f5e7da9..7c12768 100644
--- a/RbFreqStandMeasure/RbFreqStandMeasure.csproj
+++ b/RbFreqStandMeasure/RbFreqStandMeasure.csproj
@@ -232,6 +232,54 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/RbFreqStandMeasure/RbFreqStdMeas.Designer.cs b/RbFreqStandMeasure/RbFreqStdMeas.Designer.cs
index 57778cf..1bd008c 100644
--- a/RbFreqStandMeasure/RbFreqStdMeas.Designer.cs
+++ b/RbFreqStandMeasure/RbFreqStdMeas.Designer.cs
@@ -30,148 +30,77 @@
private void InitializeComponent()
{
this.panMenu = new System.Windows.Forms.Panel();
+ this.penBanner = new System.Windows.Forms.Panel();
+ this.btnMinSys = new System.Windows.Forms.Button();
+ this.btnExitSys = new System.Windows.Forms.Button();
+ this.labTitle = new System.Windows.Forms.Label();
+ this.panDev = new Casic.Birmm.RbFreqStandMeasure.RoundPanel();
+ this.labDevText = new System.Windows.Forms.Label();
+ this.labDevSelected = new System.Windows.Forms.Label();
+ this.picIconDev = new System.Windows.Forms.PictureBox();
+ this.panSetting = new Casic.Birmm.RbFreqStandMeasure.RoundPanel();
+ this.labSettingSelected = new System.Windows.Forms.Label();
+ this.labSettingText = new System.Windows.Forms.Label();
+ this.picIconSetting = new System.Windows.Forms.PictureBox();
this.panStatus = new Casic.Birmm.RbFreqStandMeasure.RoundPanel();
this.labStatusText = new System.Windows.Forms.Label();
this.picIconStatus = new System.Windows.Forms.PictureBox();
+ this.labStatusSelected = new System.Windows.Forms.Label();
+ this.panData = new Casic.Birmm.RbFreqStandMeasure.RoundPanel();
+ this.labDataSelected = new System.Windows.Forms.Label();
+ this.labDataText = new System.Windows.Forms.Label();
+ this.picIconData = new System.Windows.Forms.PictureBox();
this.panHome = new Casic.Birmm.RbFreqStandMeasure.RoundPanel();
this.labHomeText = new System.Windows.Forms.Label();
this.picIconHome = new System.Windows.Forms.PictureBox();
this.labHomeSelected = new System.Windows.Forms.Label();
- this.labStatusSelected = new System.Windows.Forms.Label();
- this.penBanner = new System.Windows.Forms.Panel();
- this.btnExitSys = new System.Windows.Forms.Button();
- this.labTitle = new System.Windows.Forms.Label();
+ this.panMeasure = new Casic.Birmm.RbFreqStandMeasure.RoundPanel();
+ this.labMeasureText = new System.Windows.Forms.Label();
+ this.labMeasureSelected = new System.Windows.Forms.Label();
+ this.picIconMeasure = new System.Windows.Forms.PictureBox();
+ this.panCounter = new Casic.Birmm.RbFreqStandMeasure.RoundPanel();
+ this.labCounterSelected = new System.Windows.Forms.Label();
+ this.labCounterText = new System.Windows.Forms.Label();
+ this.picIconCounter = new System.Windows.Forms.PictureBox();
+ this.panelMain = new System.Windows.Forms.Panel();
this.panMenu.SuspendLayout();
+ this.penBanner.SuspendLayout();
+ this.panDev.SuspendLayout();
+ ((System.ComponentModel.ISupportInitialize)(this.picIconDev)).BeginInit();
+ this.panSetting.SuspendLayout();
+ ((System.ComponentModel.ISupportInitialize)(this.picIconSetting)).BeginInit();
this.panStatus.SuspendLayout();
((System.ComponentModel.ISupportInitialize)(this.picIconStatus)).BeginInit();
+ this.panData.SuspendLayout();
+ ((System.ComponentModel.ISupportInitialize)(this.picIconData)).BeginInit();
this.panHome.SuspendLayout();
((System.ComponentModel.ISupportInitialize)(this.picIconHome)).BeginInit();
- this.penBanner.SuspendLayout();
+ this.panMeasure.SuspendLayout();
+ ((System.ComponentModel.ISupportInitialize)(this.picIconMeasure)).BeginInit();
+ this.panCounter.SuspendLayout();
+ ((System.ComponentModel.ISupportInitialize)(this.picIconCounter)).BeginInit();
this.SuspendLayout();
//
// panMenu
//
this.panMenu.BackColor = System.Drawing.Color.White;
+ this.panMenu.Controls.Add(this.panDev);
+ this.panMenu.Controls.Add(this.panSetting);
this.panMenu.Controls.Add(this.panStatus);
+ this.panMenu.Controls.Add(this.panData);
this.panMenu.Controls.Add(this.panHome);
- this.panMenu.Controls.Add(this.labStatusSelected);
+ this.panMenu.Controls.Add(this.panMeasure);
+ this.panMenu.Controls.Add(this.panCounter);
this.panMenu.Location = new System.Drawing.Point(0, 64);
this.panMenu.Name = "panMenu";
this.panMenu.Size = new System.Drawing.Size(1024, 50);
this.panMenu.TabIndex = 1;
//
- // panStatus
- //
- this.panStatus.Back = System.Drawing.Color.Empty;
- this.panStatus.BackColor = System.Drawing.Color.Transparent;
- this.panStatus.Controls.Add(this.labStatusText);
- this.panStatus.Controls.Add(this.picIconStatus);
- this.panStatus.Location = new System.Drawing.Point(160, 0);
- this.panStatus.MatrixRound = 8;
- this.panStatus.Name = "panStatus";
- this.panStatus.Size = new System.Drawing.Size(130, 47);
- this.panStatus.TabIndex = 1;
- this.panStatus.Click += new System.EventHandler(this.panStatus_Click);
- this.panStatus.MouseLeave += new System.EventHandler(this.panStatus_MouseLeave);
- this.panStatus.MouseHover += new System.EventHandler(this.panStatus_MouseHover);
- //
- // labStatusText
- //
- this.labStatusText.BackColor = System.Drawing.Color.Transparent;
- this.labStatusText.Cursor = System.Windows.Forms.Cursors.Hand;
- this.labStatusText.Font = new System.Drawing.Font("微软雅黑", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
- this.labStatusText.ForeColor = System.Drawing.SystemColors.ControlText;
- this.labStatusText.Location = new System.Drawing.Point(35, 0);
- this.labStatusText.Margin = new System.Windows.Forms.Padding(0);
- this.labStatusText.Name = "labStatusText";
- this.labStatusText.Size = new System.Drawing.Size(85, 47);
- this.labStatusText.TabIndex = 2;
- this.labStatusText.Text = "基准状态";
- this.labStatusText.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
- this.labStatusText.Click += new System.EventHandler(this.panStatus_Click);
- this.labStatusText.MouseLeave += new System.EventHandler(this.panStatus_MouseLeave);
- this.labStatusText.MouseHover += new System.EventHandler(this.panStatus_MouseHover);
- //
- // picIconStatus
- //
- this.picIconStatus.BackgroundImage = global::Casic.Birmm.RbFreqStandMeasure.Properties.Resources.icon_status;
- this.picIconStatus.BackgroundImageLayout = System.Windows.Forms.ImageLayout.Zoom;
- this.picIconStatus.Location = new System.Drawing.Point(10, 11);
- this.picIconStatus.Name = "picIconStatus";
- this.picIconStatus.Size = new System.Drawing.Size(25, 25);
- this.picIconStatus.TabIndex = 1;
- this.picIconStatus.TabStop = false;
- this.picIconStatus.Click += new System.EventHandler(this.panStatus_Click);
- this.picIconStatus.MouseLeave += new System.EventHandler(this.panStatus_MouseLeave);
- this.picIconStatus.MouseHover += new System.EventHandler(this.panStatus_MouseHover);
- //
- // panHome
- //
- this.panHome.Back = System.Drawing.Color.Empty;
- this.panHome.Controls.Add(this.labHomeText);
- this.panHome.Controls.Add(this.picIconHome);
- this.panHome.Controls.Add(this.labHomeSelected);
- this.panHome.Cursor = System.Windows.Forms.Cursors.Hand;
- this.panHome.Location = new System.Drawing.Point(30, 0);
- this.panHome.MatrixRound = 8;
- this.panHome.Name = "panHome";
- this.panHome.Size = new System.Drawing.Size(100, 50);
- this.panHome.TabIndex = 0;
- this.panHome.Click += new System.EventHandler(this.panHome_Click);
- this.panHome.MouseLeave += new System.EventHandler(this.panHome_MouseLeave);
- this.panHome.MouseHover += new System.EventHandler(this.panHome_MouseHover);
- //
- // labHomeText
- //
- this.labHomeText.BackColor = System.Drawing.Color.Transparent;
- this.labHomeText.Font = new System.Drawing.Font("微软雅黑", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
- this.labHomeText.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(18)))), ((int)(((byte)(150)))), ((int)(((byte)(219)))));
- this.labHomeText.Location = new System.Drawing.Point(35, 0);
- this.labHomeText.Margin = new System.Windows.Forms.Padding(0);
- this.labHomeText.Name = "labHomeText";
- this.labHomeText.Size = new System.Drawing.Size(55, 47);
- this.labHomeText.TabIndex = 2;
- this.labHomeText.Text = "首页";
- this.labHomeText.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
- this.labHomeText.Click += new System.EventHandler(this.panHome_Click);
- this.labHomeText.MouseLeave += new System.EventHandler(this.panHome_MouseLeave);
- this.labHomeText.MouseHover += new System.EventHandler(this.panHome_MouseHover);
- //
- // picIconHome
- //
- this.picIconHome.BackColor = System.Drawing.Color.Transparent;
- this.picIconHome.BackgroundImage = global::Casic.Birmm.RbFreqStandMeasure.Properties.Resources.icon_home_selected;
- this.picIconHome.BackgroundImageLayout = System.Windows.Forms.ImageLayout.Zoom;
- this.picIconHome.Location = new System.Drawing.Point(10, 11);
- this.picIconHome.Name = "picIconHome";
- this.picIconHome.Size = new System.Drawing.Size(25, 25);
- this.picIconHome.TabIndex = 1;
- this.picIconHome.TabStop = false;
- this.picIconHome.Click += new System.EventHandler(this.panHome_Click);
- this.picIconHome.MouseLeave += new System.EventHandler(this.panHome_MouseLeave);
- this.picIconHome.MouseHover += new System.EventHandler(this.panHome_MouseHover);
- //
- // labHomeSelected
- //
- this.labHomeSelected.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(18)))), ((int)(((byte)(150)))), ((int)(((byte)(219)))));
- this.labHomeSelected.Location = new System.Drawing.Point(0, 47);
- this.labHomeSelected.Name = "labHomeSelected";
- this.labHomeSelected.Size = new System.Drawing.Size(100, 3);
- this.labHomeSelected.TabIndex = 0;
- //
- // labStatusSelected
- //
- this.labStatusSelected.BackColor = System.Drawing.Color.Transparent;
- this.labStatusSelected.Location = new System.Drawing.Point(160, 47);
- this.labStatusSelected.Margin = new System.Windows.Forms.Padding(0);
- this.labStatusSelected.Name = "labStatusSelected";
- this.labStatusSelected.Size = new System.Drawing.Size(130, 3);
- this.labStatusSelected.TabIndex = 0;
- //
// penBanner
//
this.penBanner.BackgroundImage = global::Casic.Birmm.RbFreqStandMeasure.Properties.Resources.bg_banner;
this.penBanner.BackgroundImageLayout = System.Windows.Forms.ImageLayout.Stretch;
+ this.penBanner.Controls.Add(this.btnMinSys);
this.penBanner.Controls.Add(this.btnExitSys);
this.penBanner.Controls.Add(this.labTitle);
this.penBanner.Location = new System.Drawing.Point(0, 0);
@@ -180,6 +109,23 @@
this.penBanner.TabIndex = 0;
this.penBanner.MouseDown += new System.Windows.Forms.MouseEventHandler(this.RbFreqStdMeas_MouseDown);
//
+ // btnMinSys
+ //
+ this.btnMinSys.BackColor = System.Drawing.Color.Transparent;
+ this.btnMinSys.BackgroundImage = global::Casic.Birmm.RbFreqStandMeasure.Properties.Resources.icon_min;
+ this.btnMinSys.BackgroundImageLayout = System.Windows.Forms.ImageLayout.Stretch;
+ this.btnMinSys.FlatAppearance.BorderSize = 0;
+ this.btnMinSys.FlatStyle = System.Windows.Forms.FlatStyle.Flat;
+ this.btnMinSys.ForeColor = System.Drawing.SystemColors.ControlDarkDark;
+ this.btnMinSys.Location = new System.Drawing.Point(944, 22);
+ this.btnMinSys.Margin = new System.Windows.Forms.Padding(0);
+ this.btnMinSys.Name = "btnMinSys";
+ this.btnMinSys.Size = new System.Drawing.Size(20, 20);
+ this.btnMinSys.TabIndex = 1;
+ this.btnMinSys.UseVisualStyleBackColor = false;
+ this.btnMinSys.Click += new System.EventHandler(this.btnMinSys_Click);
+ this.btnMinSys.MouseHover += new System.EventHandler(this.btnMinSys_MouseHover);
+ //
// btnExitSys
//
this.btnExitSys.BackColor = System.Drawing.Color.Transparent;
@@ -200,7 +146,7 @@
// labTitle
//
this.labTitle.BackColor = System.Drawing.Color.Transparent;
- this.labTitle.Font = new System.Drawing.Font("微软雅黑", 15.75F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
+ this.labTitle.Font = new System.Drawing.Font("微软雅黑", 20F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Pixel, ((byte)(134)));
this.labTitle.ForeColor = System.Drawing.Color.White;
this.labTitle.Location = new System.Drawing.Point(30, 16);
this.labTitle.Name = "labTitle";
@@ -209,11 +155,404 @@
this.labTitle.Text = "铷原子频标比对测量软件";
this.labTitle.TextAlign = System.Drawing.ContentAlignment.MiddleLeft;
//
+ // panDev
+ //
+ this.panDev.Back = System.Drawing.Color.Empty;
+ this.panDev.Controls.Add(this.labDevText);
+ this.panDev.Controls.Add(this.labDevSelected);
+ this.panDev.Controls.Add(this.picIconDev);
+ this.panDev.Location = new System.Drawing.Point(214, 0);
+ this.panDev.MatrixRound = 8;
+ this.panDev.Name = "panDev";
+ this.panDev.Size = new System.Drawing.Size(141, 50);
+ this.panDev.TabIndex = 2;
+ this.panDev.Click += new System.EventHandler(this.panDev_Click);
+ this.panDev.MouseLeave += new System.EventHandler(this.panDev_MouseLeave);
+ this.panDev.MouseHover += new System.EventHandler(this.panDev_MouseHover);
+ //
+ // labDevText
+ //
+ this.labDevText.BackColor = System.Drawing.Color.Transparent;
+ this.labDevText.Cursor = System.Windows.Forms.Cursors.Hand;
+ this.labDevText.Font = new System.Drawing.Font("微软雅黑", 16F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Pixel, ((byte)(134)));
+ this.labDevText.ForeColor = System.Drawing.SystemColors.ControlText;
+ this.labDevText.Location = new System.Drawing.Point(30, 14);
+ this.labDevText.Margin = new System.Windows.Forms.Padding(0);
+ this.labDevText.Name = "labDevText";
+ this.labDevText.Size = new System.Drawing.Size(106, 20);
+ this.labDevText.TabIndex = 2;
+ this.labDevText.Text = "送检仪器管理";
+ this.labDevText.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
+ this.labDevText.Click += new System.EventHandler(this.panDev_Click);
+ this.labDevText.MouseLeave += new System.EventHandler(this.panDev_MouseLeave);
+ this.labDevText.MouseHover += new System.EventHandler(this.panDev_MouseHover);
+ //
+ // labDevSelected
+ //
+ this.labDevSelected.BackColor = System.Drawing.Color.Transparent;
+ this.labDevSelected.Location = new System.Drawing.Point(8, 48);
+ this.labDevSelected.Margin = new System.Windows.Forms.Padding(0);
+ this.labDevSelected.Name = "labDevSelected";
+ this.labDevSelected.Size = new System.Drawing.Size(121, 2);
+ this.labDevSelected.TabIndex = 3;
+ //
+ // picIconDev
+ //
+ this.picIconDev.BackColor = System.Drawing.Color.Transparent;
+ this.picIconDev.BackgroundImage = global::Casic.Birmm.RbFreqStandMeasure.Properties.Resources.icon_dev;
+ this.picIconDev.BackgroundImageLayout = System.Windows.Forms.ImageLayout.Zoom;
+ this.picIconDev.Location = new System.Drawing.Point(10, 14);
+ this.picIconDev.Name = "picIconDev";
+ this.picIconDev.Size = new System.Drawing.Size(20, 20);
+ this.picIconDev.TabIndex = 1;
+ this.picIconDev.TabStop = false;
+ this.picIconDev.Click += new System.EventHandler(this.panDev_Click);
+ this.picIconDev.MouseLeave += new System.EventHandler(this.panDev_MouseLeave);
+ this.picIconDev.MouseHover += new System.EventHandler(this.panDev_MouseHover);
+ //
+ // panSetting
+ //
+ this.panSetting.Back = System.Drawing.Color.Empty;
+ this.panSetting.Controls.Add(this.labSettingSelected);
+ this.panSetting.Controls.Add(this.labSettingText);
+ this.panSetting.Controls.Add(this.picIconSetting);
+ this.panSetting.Location = new System.Drawing.Point(879, 0);
+ this.panSetting.MatrixRound = 8;
+ this.panSetting.Name = "panSetting";
+ this.panSetting.Size = new System.Drawing.Size(109, 50);
+ this.panSetting.TabIndex = 2;
+ this.panSetting.Click += new System.EventHandler(this.panSetting_Click);
+ this.panSetting.MouseLeave += new System.EventHandler(this.panSetting_MouseLeave);
+ this.panSetting.MouseHover += new System.EventHandler(this.panSetting_MouseHover);
+ //
+ // labSettingSelected
+ //
+ this.labSettingSelected.BackColor = System.Drawing.Color.Transparent;
+ this.labSettingSelected.Location = new System.Drawing.Point(10, 48);
+ this.labSettingSelected.Margin = new System.Windows.Forms.Padding(0);
+ this.labSettingSelected.Name = "labSettingSelected";
+ this.labSettingSelected.Size = new System.Drawing.Size(89, 2);
+ this.labSettingSelected.TabIndex = 4;
+ //
+ // labSettingText
+ //
+ this.labSettingText.BackColor = System.Drawing.Color.Transparent;
+ this.labSettingText.Cursor = System.Windows.Forms.Cursors.Hand;
+ this.labSettingText.Font = new System.Drawing.Font("微软雅黑", 16F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Pixel, ((byte)(134)));
+ this.labSettingText.ForeColor = System.Drawing.SystemColors.ControlText;
+ this.labSettingText.Location = new System.Drawing.Point(30, 14);
+ this.labSettingText.Margin = new System.Windows.Forms.Padding(0);
+ this.labSettingText.Name = "labSettingText";
+ this.labSettingText.Size = new System.Drawing.Size(74, 20);
+ this.labSettingText.TabIndex = 2;
+ this.labSettingText.Text = "系统设置";
+ this.labSettingText.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
+ this.labSettingText.Click += new System.EventHandler(this.panSetting_Click);
+ this.labSettingText.MouseLeave += new System.EventHandler(this.panSetting_MouseLeave);
+ this.labSettingText.MouseHover += new System.EventHandler(this.panSetting_MouseHover);
+ //
+ // picIconSetting
+ //
+ this.picIconSetting.BackColor = System.Drawing.Color.Transparent;
+ this.picIconSetting.BackgroundImage = global::Casic.Birmm.RbFreqStandMeasure.Properties.Resources.icon_setting;
+ this.picIconSetting.BackgroundImageLayout = System.Windows.Forms.ImageLayout.Zoom;
+ this.picIconSetting.Location = new System.Drawing.Point(10, 14);
+ this.picIconSetting.Name = "picIconSetting";
+ this.picIconSetting.Size = new System.Drawing.Size(20, 20);
+ this.picIconSetting.TabIndex = 1;
+ this.picIconSetting.TabStop = false;
+ this.picIconSetting.Click += new System.EventHandler(this.panSetting_Click);
+ this.picIconSetting.MouseLeave += new System.EventHandler(this.panSetting_MouseLeave);
+ this.picIconSetting.MouseHover += new System.EventHandler(this.panSetting_MouseHover);
+ //
+ // panStatus
+ //
+ this.panStatus.Back = System.Drawing.Color.Empty;
+ this.panStatus.BackColor = System.Drawing.Color.Transparent;
+ this.panStatus.Controls.Add(this.labStatusText);
+ this.panStatus.Controls.Add(this.picIconStatus);
+ this.panStatus.Controls.Add(this.labStatusSelected);
+ this.panStatus.Location = new System.Drawing.Point(101, 0);
+ this.panStatus.MatrixRound = 8;
+ this.panStatus.Name = "panStatus";
+ this.panStatus.Size = new System.Drawing.Size(109, 50);
+ this.panStatus.TabIndex = 1;
+ this.panStatus.Click += new System.EventHandler(this.panStatus_Click);
+ this.panStatus.MouseLeave += new System.EventHandler(this.panStatus_MouseLeave);
+ this.panStatus.MouseHover += new System.EventHandler(this.panStatus_MouseHover);
+ //
+ // labStatusText
+ //
+ this.labStatusText.BackColor = System.Drawing.Color.Transparent;
+ this.labStatusText.Cursor = System.Windows.Forms.Cursors.Hand;
+ this.labStatusText.Font = new System.Drawing.Font("微软雅黑", 16F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Pixel, ((byte)(134)));
+ this.labStatusText.ForeColor = System.Drawing.SystemColors.ControlText;
+ this.labStatusText.Location = new System.Drawing.Point(30, 14);
+ this.labStatusText.Margin = new System.Windows.Forms.Padding(0);
+ this.labStatusText.Name = "labStatusText";
+ this.labStatusText.Size = new System.Drawing.Size(74, 20);
+ this.labStatusText.TabIndex = 2;
+ this.labStatusText.Text = "基准状态";
+ this.labStatusText.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
+ this.labStatusText.Click += new System.EventHandler(this.panStatus_Click);
+ this.labStatusText.MouseLeave += new System.EventHandler(this.panStatus_MouseLeave);
+ this.labStatusText.MouseHover += new System.EventHandler(this.panStatus_MouseHover);
+ //
+ // picIconStatus
+ //
+ this.picIconStatus.BackgroundImage = global::Casic.Birmm.RbFreqStandMeasure.Properties.Resources.icon_status;
+ this.picIconStatus.BackgroundImageLayout = System.Windows.Forms.ImageLayout.Zoom;
+ this.picIconStatus.Location = new System.Drawing.Point(10, 14);
+ this.picIconStatus.Name = "picIconStatus";
+ this.picIconStatus.Size = new System.Drawing.Size(20, 20);
+ this.picIconStatus.TabIndex = 1;
+ this.picIconStatus.TabStop = false;
+ this.picIconStatus.Click += new System.EventHandler(this.panStatus_Click);
+ this.picIconStatus.MouseLeave += new System.EventHandler(this.panStatus_MouseLeave);
+ this.picIconStatus.MouseHover += new System.EventHandler(this.panStatus_MouseHover);
+ //
+ // labStatusSelected
+ //
+ this.labStatusSelected.BackColor = System.Drawing.Color.Transparent;
+ this.labStatusSelected.Location = new System.Drawing.Point(10, 48);
+ this.labStatusSelected.Margin = new System.Windows.Forms.Padding(0);
+ this.labStatusSelected.Name = "labStatusSelected";
+ this.labStatusSelected.Size = new System.Drawing.Size(89, 2);
+ this.labStatusSelected.TabIndex = 0;
+ //
+ // panData
+ //
+ this.panData.Back = System.Drawing.Color.Empty;
+ this.panData.Controls.Add(this.labDataSelected);
+ this.panData.Controls.Add(this.labDataText);
+ this.panData.Controls.Add(this.picIconData);
+ this.panData.Location = new System.Drawing.Point(765, 0);
+ this.panData.MatrixRound = 8;
+ this.panData.Name = "panData";
+ this.panData.Size = new System.Drawing.Size(109, 50);
+ this.panData.TabIndex = 2;
+ this.panData.Click += new System.EventHandler(this.panData_Click);
+ this.panData.MouseLeave += new System.EventHandler(this.panData_MouseLeave);
+ this.panData.MouseHover += new System.EventHandler(this.panData_MouseHover);
+ //
+ // labDataSelected
+ //
+ this.labDataSelected.BackColor = System.Drawing.Color.Transparent;
+ this.labDataSelected.Location = new System.Drawing.Point(10, 48);
+ this.labDataSelected.Margin = new System.Windows.Forms.Padding(0);
+ this.labDataSelected.Name = "labDataSelected";
+ this.labDataSelected.Size = new System.Drawing.Size(89, 2);
+ this.labDataSelected.TabIndex = 3;
+ //
+ // labDataText
+ //
+ this.labDataText.BackColor = System.Drawing.Color.Transparent;
+ this.labDataText.Cursor = System.Windows.Forms.Cursors.Hand;
+ this.labDataText.Font = new System.Drawing.Font("微软雅黑", 16F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Pixel, ((byte)(134)));
+ this.labDataText.ForeColor = System.Drawing.SystemColors.ControlText;
+ this.labDataText.Location = new System.Drawing.Point(30, 14);
+ this.labDataText.Margin = new System.Windows.Forms.Padding(0);
+ this.labDataText.Name = "labDataText";
+ this.labDataText.Size = new System.Drawing.Size(74, 20);
+ this.labDataText.TabIndex = 2;
+ this.labDataText.Text = "数据管理";
+ this.labDataText.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
+ this.labDataText.Click += new System.EventHandler(this.panData_Click);
+ this.labDataText.MouseLeave += new System.EventHandler(this.panData_MouseLeave);
+ this.labDataText.MouseHover += new System.EventHandler(this.panData_MouseHover);
+ //
+ // picIconData
+ //
+ this.picIconData.BackColor = System.Drawing.Color.Transparent;
+ this.picIconData.BackgroundImage = global::Casic.Birmm.RbFreqStandMeasure.Properties.Resources.icon_data;
+ this.picIconData.BackgroundImageLayout = System.Windows.Forms.ImageLayout.Zoom;
+ this.picIconData.Location = new System.Drawing.Point(10, 14);
+ this.picIconData.Name = "picIconData";
+ this.picIconData.Size = new System.Drawing.Size(20, 20);
+ this.picIconData.TabIndex = 1;
+ this.picIconData.TabStop = false;
+ this.picIconData.Click += new System.EventHandler(this.panData_Click);
+ this.picIconData.MouseLeave += new System.EventHandler(this.panData_MouseLeave);
+ this.picIconData.MouseHover += new System.EventHandler(this.panData_MouseHover);
+ //
+ // panHome
+ //
+ this.panHome.Back = System.Drawing.Color.Empty;
+ this.panHome.Controls.Add(this.labHomeText);
+ this.panHome.Controls.Add(this.picIconHome);
+ this.panHome.Controls.Add(this.labHomeSelected);
+ this.panHome.Cursor = System.Windows.Forms.Cursors.Hand;
+ this.panHome.Location = new System.Drawing.Point(20, 0);
+ this.panHome.MatrixRound = 8;
+ this.panHome.Name = "panHome";
+ this.panHome.Size = new System.Drawing.Size(75, 50);
+ this.panHome.TabIndex = 0;
+ this.panHome.Click += new System.EventHandler(this.panHome_Click);
+ this.panHome.MouseLeave += new System.EventHandler(this.panHome_MouseLeave);
+ this.panHome.MouseHover += new System.EventHandler(this.panHome_MouseHover);
+ //
+ // labHomeText
+ //
+ this.labHomeText.BackColor = System.Drawing.Color.Transparent;
+ this.labHomeText.Font = new System.Drawing.Font("微软雅黑", 16F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Pixel, ((byte)(134)));
+ this.labHomeText.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(18)))), ((int)(((byte)(150)))), ((int)(((byte)(219)))));
+ this.labHomeText.Location = new System.Drawing.Point(30, 14);
+ this.labHomeText.Margin = new System.Windows.Forms.Padding(0);
+ this.labHomeText.Name = "labHomeText";
+ this.labHomeText.Size = new System.Drawing.Size(42, 20);
+ this.labHomeText.TabIndex = 2;
+ this.labHomeText.Text = "首页";
+ this.labHomeText.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
+ this.labHomeText.Click += new System.EventHandler(this.panHome_Click);
+ this.labHomeText.MouseLeave += new System.EventHandler(this.panHome_MouseLeave);
+ this.labHomeText.MouseHover += new System.EventHandler(this.panHome_MouseHover);
+ //
+ // picIconHome
+ //
+ this.picIconHome.BackColor = System.Drawing.Color.Transparent;
+ this.picIconHome.BackgroundImage = global::Casic.Birmm.RbFreqStandMeasure.Properties.Resources.icon_home_selected;
+ this.picIconHome.BackgroundImageLayout = System.Windows.Forms.ImageLayout.Zoom;
+ this.picIconHome.Location = new System.Drawing.Point(10, 14);
+ this.picIconHome.Margin = new System.Windows.Forms.Padding(0);
+ this.picIconHome.Name = "picIconHome";
+ this.picIconHome.Size = new System.Drawing.Size(20, 20);
+ this.picIconHome.TabIndex = 1;
+ this.picIconHome.TabStop = false;
+ this.picIconHome.Click += new System.EventHandler(this.panHome_Click);
+ this.picIconHome.MouseLeave += new System.EventHandler(this.panHome_MouseLeave);
+ this.picIconHome.MouseHover += new System.EventHandler(this.panHome_MouseHover);
+ //
+ // labHomeSelected
+ //
+ this.labHomeSelected.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(18)))), ((int)(((byte)(150)))), ((int)(((byte)(219)))));
+ this.labHomeSelected.Location = new System.Drawing.Point(10, 48);
+ this.labHomeSelected.Name = "labHomeSelected";
+ this.labHomeSelected.Size = new System.Drawing.Size(55, 2);
+ this.labHomeSelected.TabIndex = 0;
+ //
+ // panMeasure
+ //
+ this.panMeasure.Back = System.Drawing.Color.Empty;
+ this.panMeasure.Controls.Add(this.labMeasureText);
+ this.panMeasure.Controls.Add(this.labMeasureSelected);
+ this.panMeasure.Controls.Add(this.picIconMeasure);
+ this.panMeasure.Location = new System.Drawing.Point(619, 0);
+ this.panMeasure.MatrixRound = 8;
+ this.panMeasure.Name = "panMeasure";
+ this.panMeasure.Size = new System.Drawing.Size(141, 50);
+ this.panMeasure.TabIndex = 2;
+ this.panMeasure.Click += new System.EventHandler(this.panMeasure_Click);
+ this.panMeasure.MouseLeave += new System.EventHandler(this.panMeasure_MouseLeave);
+ this.panMeasure.MouseHover += new System.EventHandler(this.panMeasure_MouseHover);
+ //
+ // labMeasureText
+ //
+ this.labMeasureText.BackColor = System.Drawing.Color.Transparent;
+ this.labMeasureText.Cursor = System.Windows.Forms.Cursors.Hand;
+ this.labMeasureText.Font = new System.Drawing.Font("微软雅黑", 16F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Pixel, ((byte)(134)));
+ this.labMeasureText.ForeColor = System.Drawing.SystemColors.ControlText;
+ this.labMeasureText.Location = new System.Drawing.Point(30, 14);
+ this.labMeasureText.Margin = new System.Windows.Forms.Padding(0);
+ this.labMeasureText.Name = "labMeasureText";
+ this.labMeasureText.Size = new System.Drawing.Size(106, 20);
+ this.labMeasureText.TabIndex = 2;
+ this.labMeasureText.Text = "计量信息管理";
+ this.labMeasureText.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
+ this.labMeasureText.Click += new System.EventHandler(this.panMeasure_Click);
+ this.labMeasureText.MouseLeave += new System.EventHandler(this.panMeasure_MouseLeave);
+ this.labMeasureText.MouseHover += new System.EventHandler(this.panMeasure_MouseHover);
+ //
+ // labMeasureSelected
+ //
+ this.labMeasureSelected.BackColor = System.Drawing.Color.Transparent;
+ this.labMeasureSelected.Location = new System.Drawing.Point(10, 48);
+ this.labMeasureSelected.Margin = new System.Windows.Forms.Padding(0);
+ this.labMeasureSelected.Name = "labMeasureSelected";
+ this.labMeasureSelected.Size = new System.Drawing.Size(121, 2);
+ this.labMeasureSelected.TabIndex = 3;
+ //
+ // picIconMeasure
+ //
+ this.picIconMeasure.BackColor = System.Drawing.Color.Transparent;
+ this.picIconMeasure.BackgroundImage = global::Casic.Birmm.RbFreqStandMeasure.Properties.Resources.icon_measure;
+ this.picIconMeasure.BackgroundImageLayout = System.Windows.Forms.ImageLayout.Zoom;
+ this.picIconMeasure.Location = new System.Drawing.Point(10, 14);
+ this.picIconMeasure.Name = "picIconMeasure";
+ this.picIconMeasure.Size = new System.Drawing.Size(20, 20);
+ this.picIconMeasure.TabIndex = 1;
+ this.picIconMeasure.TabStop = false;
+ this.picIconMeasure.Click += new System.EventHandler(this.panMeasure_Click);
+ this.picIconMeasure.MouseLeave += new System.EventHandler(this.panMeasure_MouseLeave);
+ this.picIconMeasure.MouseHover += new System.EventHandler(this.panMeasure_MouseHover);
+ //
+ // panCounter
+ //
+ this.panCounter.Back = System.Drawing.Color.Empty;
+ this.panCounter.Controls.Add(this.labCounterSelected);
+ this.panCounter.Controls.Add(this.labCounterText);
+ this.panCounter.Controls.Add(this.picIconCounter);
+ this.panCounter.Location = new System.Drawing.Point(360, 0);
+ this.panCounter.MatrixRound = 8;
+ this.panCounter.Name = "panCounter";
+ this.panCounter.Size = new System.Drawing.Size(254, 50);
+ this.panCounter.TabIndex = 2;
+ this.panCounter.Click += new System.EventHandler(this.panCounter_Click);
+ this.panCounter.MouseLeave += new System.EventHandler(this.panCounter_MouseLeave);
+ this.panCounter.MouseHover += new System.EventHandler(this.panCounter_MouseHover);
+ //
+ // labCounterSelected
+ //
+ this.labCounterSelected.BackColor = System.Drawing.Color.Transparent;
+ this.labCounterSelected.Location = new System.Drawing.Point(10, 48);
+ this.labCounterSelected.Margin = new System.Windows.Forms.Padding(0);
+ this.labCounterSelected.Name = "labCounterSelected";
+ this.labCounterSelected.Size = new System.Drawing.Size(233, 2);
+ this.labCounterSelected.TabIndex = 4;
+ //
+ // labCounterText
+ //
+ this.labCounterText.BackColor = System.Drawing.Color.Transparent;
+ this.labCounterText.Cursor = System.Windows.Forms.Cursors.Hand;
+ this.labCounterText.Font = new System.Drawing.Font("微软雅黑", 16F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Pixel, ((byte)(134)));
+ this.labCounterText.ForeColor = System.Drawing.SystemColors.ControlText;
+ this.labCounterText.Location = new System.Drawing.Point(30, 14);
+ this.labCounterText.Margin = new System.Windows.Forms.Padding(0);
+ this.labCounterText.Name = "labCounterText";
+ this.labCounterText.Size = new System.Drawing.Size(218, 20);
+ this.labCounterText.TabIndex = 2;
+ this.labCounterText.Text = "频率计数器范围及灵敏度测量";
+ this.labCounterText.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
+ this.labCounterText.Click += new System.EventHandler(this.panCounter_Click);
+ this.labCounterText.MouseLeave += new System.EventHandler(this.panCounter_MouseLeave);
+ this.labCounterText.MouseHover += new System.EventHandler(this.panCounter_MouseHover);
+ //
+ // picIconCounter
+ //
+ this.picIconCounter.BackColor = System.Drawing.Color.Transparent;
+ this.picIconCounter.BackgroundImage = global::Casic.Birmm.RbFreqStandMeasure.Properties.Resources.icon_counter;
+ this.picIconCounter.BackgroundImageLayout = System.Windows.Forms.ImageLayout.Zoom;
+ this.picIconCounter.Location = new System.Drawing.Point(10, 14);
+ this.picIconCounter.Name = "picIconCounter";
+ this.picIconCounter.Size = new System.Drawing.Size(20, 20);
+ this.picIconCounter.TabIndex = 1;
+ this.picIconCounter.TabStop = false;
+ this.picIconCounter.Click += new System.EventHandler(this.panCounter_Click);
+ this.picIconCounter.MouseLeave += new System.EventHandler(this.panCounter_MouseLeave);
+ this.picIconCounter.MouseHover += new System.EventHandler(this.panCounter_MouseHover);
+ //
+ // panelMain
+ //
+ this.panelMain.Location = new System.Drawing.Point(0, 114);
+ this.panelMain.Name = "panelMain";
+ this.panelMain.Size = new System.Drawing.Size(1024, 654);
+ this.panelMain.TabIndex = 2;
+ //
// RbFreqStdMeas
//
this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 12F);
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
this.ClientSize = new System.Drawing.Size(1024, 768);
+ this.Controls.Add(this.panelMain);
this.Controls.Add(this.panMenu);
this.Controls.Add(this.penBanner);
this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.None;
@@ -221,11 +560,21 @@
this.Text = "RbFreqStdMeas";
this.Load += new System.EventHandler(this.RbFreqStdMeas_Load);
this.panMenu.ResumeLayout(false);
+ this.penBanner.ResumeLayout(false);
+ this.panDev.ResumeLayout(false);
+ ((System.ComponentModel.ISupportInitialize)(this.picIconDev)).EndInit();
+ this.panSetting.ResumeLayout(false);
+ ((System.ComponentModel.ISupportInitialize)(this.picIconSetting)).EndInit();
this.panStatus.ResumeLayout(false);
((System.ComponentModel.ISupportInitialize)(this.picIconStatus)).EndInit();
+ this.panData.ResumeLayout(false);
+ ((System.ComponentModel.ISupportInitialize)(this.picIconData)).EndInit();
this.panHome.ResumeLayout(false);
((System.ComponentModel.ISupportInitialize)(this.picIconHome)).EndInit();
- this.penBanner.ResumeLayout(false);
+ this.panMeasure.ResumeLayout(false);
+ ((System.ComponentModel.ISupportInitialize)(this.picIconMeasure)).EndInit();
+ this.panCounter.ResumeLayout(false);
+ ((System.ComponentModel.ISupportInitialize)(this.picIconCounter)).EndInit();
this.ResumeLayout(false);
}
@@ -244,5 +593,27 @@
private RoundPanel panStatus;
private RoundPanel panHome;
private System.Windows.Forms.Label labStatusSelected;
+ private RoundPanel panDev;
+ private System.Windows.Forms.PictureBox picIconDev;
+ private System.Windows.Forms.Label labDevText;
+ private System.Windows.Forms.Label labMeasureSelected;
+ private RoundPanel panCounter;
+ private System.Windows.Forms.Label labCounterText;
+ private System.Windows.Forms.PictureBox picIconCounter;
+ private RoundPanel panMeasure;
+ private System.Windows.Forms.Label labMeasureText;
+ private System.Windows.Forms.PictureBox picIconMeasure;
+ private RoundPanel panData;
+ private System.Windows.Forms.Label labDataText;
+ private System.Windows.Forms.PictureBox picIconData;
+ private RoundPanel panSetting;
+ private System.Windows.Forms.Label labSettingText;
+ private System.Windows.Forms.PictureBox picIconSetting;
+ private System.Windows.Forms.Label labCounterSelected;
+ private System.Windows.Forms.Label labDevSelected;
+ private System.Windows.Forms.Label labDataSelected;
+ private System.Windows.Forms.Label labSettingSelected;
+ private System.Windows.Forms.Button btnMinSys;
+ private System.Windows.Forms.Panel panelMain;
}
}
\ No newline at end of file
diff --git a/RbFreqStandMeasure/RbFreqStdMeas.cs b/RbFreqStandMeasure/RbFreqStdMeas.cs
index 3858ddb..af980d7 100644
--- a/RbFreqStandMeasure/RbFreqStdMeas.cs
+++ b/RbFreqStandMeasure/RbFreqStdMeas.cs
@@ -1,13 +1,9 @@
-using Casic.Birmm.RbFreqStandMeasure.Properties;
+using Casic.Birmm.RbFreqStandMeasure.info;
+using Casic.Birmm.RbFreqStandMeasure.Properties;
+using Casic.Birmm.RbFreqStandMeasure.setting;
using System;
-using System.Collections.Generic;
-using System.ComponentModel;
-using System.Data;
using System.Drawing;
-using System.Linq;
-using System.Resources;
using System.Runtime.InteropServices;
-using System.Text;
using System.Windows.Forms;
namespace Casic.Birmm.RbFreqStandMeasure
@@ -15,7 +11,7 @@
public partial class RbFreqStdMeas : Form
{
- #region 无边框拖动效果
+ #region 无边框拖动效果/最小化窗口/关闭窗口
[DllImport("user32.dll")]//拖动无窗体的控件
public static extern bool ReleaseCapture();
[DllImport("user32.dll")]
@@ -30,9 +26,29 @@
ReleaseCapture();
SendMessage(this.Handle, WM_SYSCOMMAND, SC_MOVE + HTCAPTION, 0);
}
+ private void btnExitSys_Click(object sender, EventArgs e)
+ {
+ Application.Exit();
+ }
+ private void btnMinSys_Click(object sender, EventArgs e)
+ {
+ this.WindowState = FormWindowState.Minimized;
+ }
+ private void btnExitSys_MouseHover(object sender, EventArgs e)
+ {
+ ToolTip p = new ToolTip();
+ p.ShowAlways = true;
+ p.SetToolTip(this.btnExitSys, "退出");
+ }
+ private void btnMinSys_MouseHover(object sender, EventArgs e)
+ {
+ ToolTip p = new ToolTip();
+ p.ShowAlways = true;
+ p.SetToolTip(this.btnMinSys, "最小化");
+ }
#endregion
- private bool[] menuSelected = { true, false };
+ private bool[] menuSelected = { true, false, false, false, false, false, false };
// 按钮图标
private PictureBox[] menuPics;
// 按钮图标的资源名称(选中的资源名称在后面加上 _selected)
@@ -57,7 +73,7 @@
// 将当前按钮的效果设置为默认未选中
this.menuPics[index].BackgroundImage = (Bitmap)Resources.ResourceManager.GetObject(this.menuIconResources[index], null);
- this.menuLabels[index].ForeColor = ColorTranslator.FromHtml("#2C2C2C");
+ this.menuLabels[index].ForeColor = ColorTranslator.FromHtml("#333333");
this.menuUnderlines[index].BackColor = Color.Transparent;
}
@@ -79,13 +95,15 @@
LeaveHome();
// 重新设置所有按钮的状态
- this.menuSelected = new bool[] { true, false };
+ this.menuSelected = new bool[] { true, false, false, false, false, false, false };
// 将新选中的按钮设置为选中
this.picIconHome.BackgroundImage = (Bitmap)Resources.ResourceManager.GetObject("icon_home_selected", null);
- this.labHomeText.ForeColor = ColorTranslator.FromHtml("#1296db");
- this.labHomeSelected.BackColor = ColorTranslator.FromHtml("#1296db");
+ this.labHomeText.ForeColor = ColorTranslator.FromHtml("#3f84d7");
+ this.labHomeSelected.BackColor = ColorTranslator.FromHtml("#3f84d7");
+ // 切换至首页
+ switchMainPanel(0);
}
#endregion
@@ -107,12 +125,163 @@
LeaveStatus();
// 重新设置所有按钮的状态
- this.menuSelected = new bool[] { false, true };
+ this.menuSelected = new bool[] { false, true, false, false, false, false, false };
// 将新选中的按钮设置为选中
this.picIconStatus.BackgroundImage = (Bitmap) Resources.ResourceManager.GetObject("icon_status_selected", null);
- this.labStatusText.ForeColor = ColorTranslator.FromHtml("#1296db");
- this.labStatusSelected.BackColor = ColorTranslator.FromHtml("#1296db");
+ this.labStatusText.ForeColor = ColorTranslator.FromHtml("#3f84d7");
+ this.labStatusSelected.BackColor = ColorTranslator.FromHtml("#3f84d7");
+
+ // 切换到基准状态页面
+ switchMainPanel(1);
+ }
+ #endregion
+
+ #region 送检仪器按钮点击、移入/移出效果
+ private void HoverDev()
+ {
+ panDev.Back = ColorTranslator.FromHtml("#56a3f2");
+ }
+ private void LeaveDev()
+ {
+ panDev.Back = Color.Transparent;
+ }
+ private void SelectDev()
+ {
+ // 移除所有按钮的选中样式
+ this.ClearAllMenuSelected();
+
+ // 鼠标移入效果去掉
+ LeaveDev();
+
+ // 重新设置所有按钮的状态
+ this.menuSelected = new bool[] { false, false, true, false, false ,false ,false };
+
+ // 将新选中的按钮设置为选中
+ this.picIconDev.BackgroundImage = (Bitmap)Resources.ResourceManager.GetObject("icon_dev_selected", null);
+ this.labDevText.ForeColor = ColorTranslator.FromHtml("#3f84d7");
+ this.labDevSelected.BackColor = ColorTranslator.FromHtml("#3f84d7");
+
+ // 切换至待检仪器管理
+ switchMainPanel(2);
+ }
+ #endregion
+
+ #region 频率计数器测量点击、移入/移出效果
+ private void HoverCounter()
+ {
+ panCounter.Back = ColorTranslator.FromHtml("#56a3f2");
+ }
+ private void LeaveCounter()
+ {
+ panCounter.Back = Color.Transparent;
+ }
+ private void SelectCounter()
+ {
+ // 移除所有按钮的选中样式
+ this.ClearAllMenuSelected();
+
+ // 鼠标移入效果去掉
+ LeaveCounter();
+
+ // 重新设置所有按钮的状态
+ this.menuSelected = new bool[] { false, false, false, true, false, false, false };
+
+ // 将新选中的按钮设置为选中
+ this.picIconCounter.BackgroundImage = (Bitmap)Resources.ResourceManager.GetObject("icon_counter_selected", null);
+ this.labCounterText.ForeColor = ColorTranslator.FromHtml("#3f84d7");
+ this.labCounterSelected.BackColor = ColorTranslator.FromHtml("#3f84d7");
+ }
+ #endregion
+
+ #region 计量管理点击、移入/移出效果
+ private void HoverMeasure()
+ {
+ panMeasure.Back = ColorTranslator.FromHtml("#56a3f2");
+ }
+ private void LeaveMeasure()
+ {
+ panMeasure.Back = Color.Transparent;
+ }
+ private void SelectMeasure()
+ {
+ // 移除所有按钮的选中样式
+ this.ClearAllMenuSelected();
+
+ // 鼠标移入效果去掉
+ LeaveMeasure();
+
+ // 重新设置所有按钮的状态
+ this.menuSelected = new bool[] { false, false, false, false, true, false, false };
+
+ // 将新选中的按钮设置为选中
+ this.picIconMeasure.BackgroundImage = (Bitmap)Resources.ResourceManager.GetObject("icon_measure_selected", null);
+ this.labMeasureText.ForeColor = ColorTranslator.FromHtml("#3f84d7");
+ this.labMeasureSelected.BackColor = ColorTranslator.FromHtml("#3f84d7");
+
+ // 切换至计量信息管理
+ switchMainPanel(4);
+ }
+ #endregion
+
+ #region 数据管理点击、移入/移出效果
+ private void HoverData()
+ {
+ panData.Back = ColorTranslator.FromHtml("#56a3f2");
+ }
+ private void LeaveData()
+ {
+ panData.Back = Color.Transparent;
+ }
+ private void SelectData()
+ {
+ // 移除所有按钮的选中样式
+ this.ClearAllMenuSelected();
+
+ // 鼠标移入效果去掉
+ LeaveData();
+
+ // 重新设置所有按钮的状态
+ this.menuSelected = new bool[] { false, false, false, false, false, true, false };
+
+ // 将新选中的按钮设置为选中
+ this.picIconData.BackgroundImage = (Bitmap)Resources.ResourceManager.GetObject("icon_data_selected", null);
+ this.labDataText.ForeColor = ColorTranslator.FromHtml("#3f84d7");
+ this.labDataSelected.BackColor = ColorTranslator.FromHtml("#3f84d7");
+
+ // 弹出对话框进行数据备份与还原操作
+ DataBackupDlg dataDlg = new DataBackupDlg();
+ dataDlg.ShowDialog();
+ }
+ #endregion
+
+ #region 系统管理点击、移入/移出效果
+ private void HoverSetting()
+ {
+ panSetting.Back = ColorTranslator.FromHtml("#56a3f2");
+ }
+ private void LeaveSetting()
+ {
+ panSetting.Back = Color.Transparent;
+ }
+ private void SelectSetting()
+ {
+ // 移除所有按钮的选中样式
+ this.ClearAllMenuSelected();
+
+ // 鼠标移入效果去掉
+ LeaveSetting();
+
+ // 重新设置所有按钮的状态
+ this.menuSelected = new bool[] { false, false, false, false, false, false, true };
+
+ // 将新选中的按钮设置为选中
+ this.picIconSetting.BackgroundImage = (Bitmap)Resources.ResourceManager.GetObject("icon_setting_selected", null);
+ this.labSettingText.ForeColor = ColorTranslator.FromHtml("#3f84d7");
+ this.labSettingSelected.BackColor = ColorTranslator.FromHtml("#3f84d7");
+
+ // 切换到设置的界面
+ switchMainPanel(6);
}
#endregion
@@ -123,22 +292,13 @@
private void RbFreqStdMeas_Load(object sender, EventArgs e)
{
- this.menuPics = new PictureBox[] { this.picIconHome, this.picIconStatus };
- this.menuLabels = new Label[] { this.labHomeText, this.labStatusText };
- this.menuUnderlines = new Label[] { this.labHomeSelected, this.labStatusSelected };
- this.menuIconResources = new string[] { "icon_home", "icon_status" };
- }
+ this.menuPics = new PictureBox[] { this.picIconHome, this.picIconStatus, this.picIconDev, this.picIconCounter, this.picIconMeasure, this.picIconData, this.picIconSetting };
+ this.menuLabels = new Label[] { this.labHomeText, this.labStatusText, this.labDevText, this.labCounterText, this.labMeasureText, this.labDataText, this.labSettingText };
+ this.menuUnderlines = new Label[] { this.labHomeSelected, this.labStatusSelected, this.labDevSelected, this.labCounterSelected, this.labMeasureSelected, this.labDataSelected, this.labSettingSelected };
+ this.menuIconResources = new string[] { "icon_home", "icon_status", "icon_dev", "icon_counter", "icon_measure", "icon_data", "icon_setting" };
- private void btnExitSys_Click(object sender, EventArgs e)
- {
- Application.Exit();
- }
-
- private void btnExitSys_MouseHover(object sender, EventArgs e)
- {
- ToolTip p = new ToolTip();
- p.ShowAlways = true;
- p.SetToolTip(this.btnExitSys, "退出");
+ // 加载首页的内容
+ switchMainPanel(0);
}
private void panHome_Click(object sender, EventArgs e)
@@ -191,5 +351,169 @@
LeaveStatus();
}
}
+
+ private void panDev_Click(object sender, EventArgs e)
+ {
+ if (this.menuSelected[2] == false)
+ {
+ SelectDev();
+ }
+ }
+
+ private void panDev_MouseHover(object sender, EventArgs e)
+ {
+ if (this.menuSelected[2] == false)
+ {
+ HoverDev();
+ }
+ }
+
+ private void panDev_MouseLeave(object sender, EventArgs e)
+ {
+ if (this.menuSelected[2] == false)
+ {
+ LeaveDev();
+ }
+ }
+
+ private void panCounter_Click(object sender, EventArgs e)
+ {
+ if (this.menuSelected[3] == false)
+ {
+ SelectCounter();
+ }
+ }
+
+ private void panCounter_MouseHover(object sender, EventArgs e)
+ {
+ if (this.menuSelected[3] == false)
+ {
+ HoverCounter();
+ }
+ }
+
+ private void panCounter_MouseLeave(object sender, EventArgs e)
+ {
+ if (this.menuSelected[3] == false)
+ {
+ LeaveCounter();
+ }
+ }
+
+ private void panMeasure_Click(object sender, EventArgs e)
+ {
+ if (this.menuSelected[4] == false)
+ {
+ SelectMeasure();
+ }
+ }
+
+ private void panMeasure_MouseHover(object sender, EventArgs e)
+ {
+ if (this.menuSelected[4] == false)
+ {
+ HoverMeasure();
+ }
+ }
+
+ private void panMeasure_MouseLeave(object sender, EventArgs e)
+ {
+ if (this.menuSelected[4] == false)
+ {
+ LeaveMeasure();
+ }
+ }
+
+ private void panData_Click(object sender, EventArgs e)
+ {
+ if (this.menuSelected[5] == false)
+ {
+ SelectData();
+ }
+ }
+
+ private void panData_MouseHover(object sender, EventArgs e)
+ {
+ if (this.menuSelected[5] == false)
+ {
+ HoverData();
+ }
+ }
+
+ private void panData_MouseLeave(object sender, EventArgs e)
+ {
+ if (this.menuSelected[5] == false)
+ {
+ LeaveData();
+ }
+ }
+
+ private void panSetting_Click(object sender, EventArgs e)
+ {
+ if (this.menuSelected[6] == false)
+ {
+ SelectSetting();
+ }
+ }
+
+ private void panSetting_MouseHover(object sender, EventArgs e)
+ {
+ if (this.menuSelected[6] == false)
+ {
+ HoverSetting();
+ }
+ }
+
+ private void panSetting_MouseLeave(object sender, EventArgs e)
+ {
+ if (this.menuSelected[6] == false)
+ {
+ LeaveSetting();
+ }
+ }
+
+ private void switchMainPanel(int index)
+ {
+ this.panelMain.Controls.Clear();
+
+ switch (index)
+ {
+ case 0: // 首页
+ HomeCtrlForm home = new HomeCtrlForm();
+ home.Show();
+ this.panelMain.Controls.Add(home);
+ break;
+
+ case 1: // 基准状态
+ StatusCtrlForm statusForm = new StatusCtrlForm();
+ statusForm.Show();
+ this.panelMain.Controls.Add(statusForm);
+ break;
+
+ case 2: // 待检设备
+ InfoCtrlForm infoForm = new InfoCtrlForm();
+ infoForm.Show();
+ this.panelMain.Controls.Add(infoForm);
+ break;
+
+ case 3: // 频率计数器范围
+ break;
+
+ case 4: // 计量信息
+ DevTestedCtrlForm tested = new DevTestedCtrlForm();
+ tested.Show();
+ this.panelMain.Controls.Add(tested);
+ break;
+
+ case 6: // 设置
+ SettingCtrlForm settingForm = new SettingCtrlForm();
+ settingForm.Show();
+ this.panelMain.Controls.Add(settingForm);
+ break;
+
+ default:
+ break;
+ }
+ }
}
}
\ No newline at end of file
diff --git a/RbFreqStandMeasure/StatusCtrlForm.Designer.cs b/RbFreqStandMeasure/StatusCtrlForm.Designer.cs
index bf5071a..b4151fd 100644
--- a/RbFreqStandMeasure/StatusCtrlForm.Designer.cs
+++ b/RbFreqStandMeasure/StatusCtrlForm.Designer.cs
@@ -31,21 +31,34 @@
{
this.panelSite = new System.Windows.Forms.Panel();
this.label5 = new System.Windows.Forms.Label();
- this.panelStatus = new System.Windows.Forms.Panel();
+ this.panel3 = new System.Windows.Forms.Panel();
+ this.label8 = new System.Windows.Forms.Label();
+ this.label13 = new System.Windows.Forms.Label();
+ this.label12 = new System.Windows.Forms.Label();
+ this.label11 = new System.Windows.Forms.Label();
+ this.label9 = new System.Windows.Forms.Label();
+ this.label10 = new System.Windows.Forms.Label();
+ this.panel2 = new System.Windows.Forms.Panel();
this.label4 = new System.Windows.Forms.Label();
+ this.label7 = new System.Windows.Forms.Label();
+ this.label6 = new System.Windows.Forms.Label();
+ this.label1 = new System.Windows.Forms.Label();
+ this.panel1 = new System.Windows.Forms.Panel();
this.label3 = new System.Windows.Forms.Label();
this.label2 = new System.Windows.Forms.Label();
- this.label1 = new System.Windows.Forms.Label();
+ this.label14 = new System.Windows.Forms.Label();
this.panelSite.SuspendLayout();
- this.panelStatus.SuspendLayout();
+ this.panel3.SuspendLayout();
+ this.panel2.SuspendLayout();
+ this.panel1.SuspendLayout();
this.SuspendLayout();
//
// panelSite
//
this.panelSite.Controls.Add(this.label5);
- this.panelSite.Location = new System.Drawing.Point(200, 0);
+ this.panelSite.Location = new System.Drawing.Point(232, 0);
this.panelSite.Name = "panelSite";
- this.panelSite.Size = new System.Drawing.Size(800, 640);
+ this.panelSite.Size = new System.Drawing.Size(773, 640);
this.panelSite.TabIndex = 3;
//
// label5
@@ -57,67 +70,208 @@
this.label5.TabIndex = 0;
this.label5.Text = "卫星位置图";
//
- // panelStatus
+ // panel3
//
- this.panelStatus.BackColor = System.Drawing.SystemColors.Window;
- this.panelStatus.Controls.Add(this.label4);
- this.panelStatus.Controls.Add(this.label3);
- this.panelStatus.Controls.Add(this.label2);
- this.panelStatus.Controls.Add(this.label1);
- this.panelStatus.Location = new System.Drawing.Point(0, 0);
- this.panelStatus.Name = "panelStatus";
- this.panelStatus.Size = new System.Drawing.Size(200, 640);
- this.panelStatus.TabIndex = 2;
+ this.panel3.BackgroundImage = global::Casic.Birmm.RbFreqStandMeasure.Properties.Resources.bg_status_location;
+ this.panel3.Controls.Add(this.label8);
+ this.panel3.Controls.Add(this.label13);
+ this.panel3.Controls.Add(this.label12);
+ this.panel3.Controls.Add(this.label11);
+ this.panel3.Controls.Add(this.label9);
+ this.panel3.Controls.Add(this.label10);
+ this.panel3.Location = new System.Drawing.Point(6, 360);
+ this.panel3.Name = "panel3";
+ this.panel3.Size = new System.Drawing.Size(224, 293);
+ this.panel3.TabIndex = 6;
+ //
+ // label8
+ //
+ this.label8.BackColor = System.Drawing.Color.Transparent;
+ this.label8.Font = new System.Drawing.Font("微软雅黑", 14F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Pixel, ((byte)(134)));
+ this.label8.Location = new System.Drawing.Point(0, 20);
+ this.label8.Name = "label8";
+ this.label8.Size = new System.Drawing.Size(224, 25);
+ this.label8.TabIndex = 0;
+ this.label8.Text = "位置信息";
+ this.label8.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
+ //
+ // label13
+ //
+ this.label13.BackColor = System.Drawing.Color.Transparent;
+ this.label13.Font = new System.Drawing.Font("微软雅黑", 14F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Pixel, ((byte)(134)));
+ this.label13.Location = new System.Drawing.Point(0, 220);
+ this.label13.Margin = new System.Windows.Forms.Padding(0);
+ this.label13.Name = "label13";
+ this.label13.Size = new System.Drawing.Size(75, 25);
+ this.label13.TabIndex = 1;
+ this.label13.Text = "Z";
+ this.label13.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
+ //
+ // label12
+ //
+ this.label12.BackColor = System.Drawing.Color.Transparent;
+ this.label12.Font = new System.Drawing.Font("微软雅黑", 14F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Pixel, ((byte)(134)));
+ this.label12.Location = new System.Drawing.Point(0, 180);
+ this.label12.Margin = new System.Windows.Forms.Padding(0);
+ this.label12.Name = "label12";
+ this.label12.Size = new System.Drawing.Size(75, 25);
+ this.label12.TabIndex = 1;
+ this.label12.Text = "Y";
+ this.label12.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
+ //
+ // label11
+ //
+ this.label11.BackColor = System.Drawing.Color.Transparent;
+ this.label11.Font = new System.Drawing.Font("微软雅黑", 14F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Pixel, ((byte)(134)));
+ this.label11.Location = new System.Drawing.Point(0, 140);
+ this.label11.Margin = new System.Windows.Forms.Padding(0);
+ this.label11.Name = "label11";
+ this.label11.Size = new System.Drawing.Size(75, 25);
+ this.label11.TabIndex = 1;
+ this.label11.Text = "X";
+ this.label11.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
+ //
+ // label9
+ //
+ this.label9.BackColor = System.Drawing.Color.Transparent;
+ this.label9.Font = new System.Drawing.Font("微软雅黑", 14F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Pixel, ((byte)(134)));
+ this.label9.Location = new System.Drawing.Point(0, 60);
+ this.label9.Name = "label9";
+ this.label9.Size = new System.Drawing.Size(75, 25);
+ this.label9.TabIndex = 1;
+ this.label9.Text = "经度";
+ this.label9.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
+ //
+ // label10
+ //
+ this.label10.BackColor = System.Drawing.Color.Transparent;
+ this.label10.Font = new System.Drawing.Font("微软雅黑", 14F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Pixel, ((byte)(134)));
+ this.label10.Location = new System.Drawing.Point(0, 100);
+ this.label10.Margin = new System.Windows.Forms.Padding(0);
+ this.label10.Name = "label10";
+ this.label10.Size = new System.Drawing.Size(75, 25);
+ this.label10.TabIndex = 1;
+ this.label10.Text = "纬度";
+ this.label10.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
+ //
+ // panel2
+ //
+ this.panel2.BackgroundImage = global::Casic.Birmm.RbFreqStandMeasure.Properties.Resources.bg_status_time;
+ this.panel2.Controls.Add(this.label4);
+ this.panel2.Controls.Add(this.label7);
+ this.panel2.Controls.Add(this.label6);
+ this.panel2.Controls.Add(this.label1);
+ this.panel2.Location = new System.Drawing.Point(6, 160);
+ this.panel2.Name = "panel2";
+ this.panel2.Size = new System.Drawing.Size(224, 200);
+ this.panel2.TabIndex = 5;
//
// label4
//
- this.label4.AutoSize = true;
- this.label4.Location = new System.Drawing.Point(59, 185);
+ this.label4.BackColor = System.Drawing.Color.Transparent;
+ this.label4.Font = new System.Drawing.Font("微软雅黑", 14F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Pixel, ((byte)(134)));
+ this.label4.Location = new System.Drawing.Point(0, 20);
this.label4.Name = "label4";
- this.label4.Size = new System.Drawing.Size(53, 12);
+ this.label4.Size = new System.Drawing.Size(224, 25);
this.label4.TabIndex = 0;
- this.label4.Text = "事件信息";
+ this.label4.Text = "时间信息";
+ this.label4.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
//
- // label3
+ // label7
//
- this.label3.AutoSize = true;
- this.label3.Location = new System.Drawing.Point(59, 139);
- this.label3.Name = "label3";
- this.label3.Size = new System.Drawing.Size(53, 12);
- this.label3.TabIndex = 0;
- this.label3.Text = "位置信息";
+ this.label7.BackColor = System.Drawing.Color.Transparent;
+ this.label7.Font = new System.Drawing.Font("微软雅黑", 14F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Pixel, ((byte)(134)));
+ this.label7.Location = new System.Drawing.Point(0, 140);
+ this.label7.Margin = new System.Windows.Forms.Padding(0);
+ this.label7.Name = "label7";
+ this.label7.Size = new System.Drawing.Size(75, 25);
+ this.label7.TabIndex = 1;
+ this.label7.Text = "MJD";
+ this.label7.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
//
- // label2
+ // label6
//
- this.label2.AutoSize = true;
- this.label2.Location = new System.Drawing.Point(59, 98);
- this.label2.Name = "label2";
- this.label2.Size = new System.Drawing.Size(53, 12);
- this.label2.TabIndex = 0;
- this.label2.Text = "锁定状态";
+ this.label6.BackColor = System.Drawing.Color.Transparent;
+ this.label6.Font = new System.Drawing.Font("微软雅黑", 14F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Pixel, ((byte)(134)));
+ this.label6.Location = new System.Drawing.Point(0, 100);
+ this.label6.Name = "label6";
+ this.label6.Size = new System.Drawing.Size(75, 25);
+ this.label6.TabIndex = 1;
+ this.label6.Text = "时间";
+ this.label6.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
//
// label1
//
- this.label1.AutoSize = true;
- this.label1.Location = new System.Drawing.Point(33, 53);
+ this.label1.BackColor = System.Drawing.Color.Transparent;
+ this.label1.Font = new System.Drawing.Font("微软雅黑", 14F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Pixel, ((byte)(134)));
+ this.label1.Location = new System.Drawing.Point(0, 60);
this.label1.Name = "label1";
- this.label1.Size = new System.Drawing.Size(29, 12);
- this.label1.TabIndex = 0;
- this.label1.Text = "状态";
+ this.label1.Size = new System.Drawing.Size(75, 25);
+ this.label1.TabIndex = 1;
+ this.label1.Text = "日期";
+ this.label1.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
+ //
+ // panel1
+ //
+ this.panel1.BackgroundImage = global::Casic.Birmm.RbFreqStandMeasure.Properties.Resources.bg_status_base;
+ this.panel1.Controls.Add(this.label3);
+ this.panel1.Controls.Add(this.label2);
+ this.panel1.Controls.Add(this.label14);
+ this.panel1.Location = new System.Drawing.Point(6, 0);
+ this.panel1.Margin = new System.Windows.Forms.Padding(0);
+ this.panel1.Name = "panel1";
+ this.panel1.Size = new System.Drawing.Size(224, 160);
+ this.panel1.TabIndex = 4;
+ //
+ // label3
+ //
+ this.label3.BackColor = System.Drawing.Color.Transparent;
+ this.label3.Font = new System.Drawing.Font("微软雅黑", 14F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Pixel, ((byte)(134)));
+ this.label3.Location = new System.Drawing.Point(0, 100);
+ this.label3.Name = "label3";
+ this.label3.Size = new System.Drawing.Size(75, 25);
+ this.label3.TabIndex = 1;
+ this.label3.Text = "接收机";
+ this.label3.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
+ //
+ // label2
+ //
+ this.label2.BackColor = System.Drawing.Color.Transparent;
+ this.label2.Font = new System.Drawing.Font("微软雅黑", 14F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Pixel, ((byte)(134)));
+ this.label2.Location = new System.Drawing.Point(0, 60);
+ this.label2.Name = "label2";
+ this.label2.Size = new System.Drawing.Size(75, 25);
+ this.label2.TabIndex = 1;
+ this.label2.Text = "原子钟";
+ this.label2.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
+ //
+ // label14
+ //
+ this.label14.BackColor = System.Drawing.Color.Transparent;
+ this.label14.Font = new System.Drawing.Font("微软雅黑", 14F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Pixel, ((byte)(134)));
+ this.label14.Location = new System.Drawing.Point(0, 20);
+ this.label14.Name = "label14";
+ this.label14.Size = new System.Drawing.Size(224, 25);
+ this.label14.TabIndex = 0;
+ this.label14.Text = "基本信息";
+ this.label14.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
//
// StatusCtrlForm
//
this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 12F);
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
+ this.Controls.Add(this.panel3);
+ this.Controls.Add(this.panel2);
+ this.Controls.Add(this.panel1);
this.Controls.Add(this.panelSite);
- this.Controls.Add(this.panelStatus);
this.Margin = new System.Windows.Forms.Padding(10);
this.Name = "StatusCtrlForm";
- this.Size = new System.Drawing.Size(1000, 640);
+ this.Size = new System.Drawing.Size(1024, 654);
this.panelSite.ResumeLayout(false);
this.panelSite.PerformLayout();
- this.panelStatus.ResumeLayout(false);
- this.panelStatus.PerformLayout();
+ this.panel3.ResumeLayout(false);
+ this.panel2.ResumeLayout(false);
+ this.panel1.ResumeLayout(false);
this.ResumeLayout(false);
}
@@ -126,10 +280,21 @@
private System.Windows.Forms.Panel panelSite;
private System.Windows.Forms.Label label5;
- private System.Windows.Forms.Panel panelStatus;
+ private System.Windows.Forms.Panel panel3;
+ private System.Windows.Forms.Label label8;
+ private System.Windows.Forms.Label label13;
+ private System.Windows.Forms.Label label12;
+ private System.Windows.Forms.Label label11;
+ private System.Windows.Forms.Label label9;
+ private System.Windows.Forms.Label label10;
+ private System.Windows.Forms.Panel panel2;
private System.Windows.Forms.Label label4;
+ private System.Windows.Forms.Label label7;
+ private System.Windows.Forms.Label label6;
+ private System.Windows.Forms.Label label1;
+ private System.Windows.Forms.Panel panel1;
private System.Windows.Forms.Label label3;
private System.Windows.Forms.Label label2;
- private System.Windows.Forms.Label label1;
+ private System.Windows.Forms.Label label14;
}
}
diff --git a/RbFreqStandMeasure/res/images/bg_banner.png b/RbFreqStandMeasure/res/images/bg_banner.png
index d795b7d..3119070 100644
--- a/RbFreqStandMeasure/res/images/bg_banner.png
+++ b/RbFreqStandMeasure/res/images/bg_banner.png
Binary files differ
diff --git a/RbFreqStandMeasure/res/images/bg_dev_channel.png b/RbFreqStandMeasure/res/images/bg_dev_channel.png
new file mode 100644
index 0000000..7bac7ce
--- /dev/null
+++ b/RbFreqStandMeasure/res/images/bg_dev_channel.png
Binary files differ
diff --git a/RbFreqStandMeasure/res/images/bg_dev_tested.png b/RbFreqStandMeasure/res/images/bg_dev_tested.png
new file mode 100644
index 0000000..0b43ead
--- /dev/null
+++ b/RbFreqStandMeasure/res/images/bg_dev_tested.png
Binary files differ
diff --git a/RbFreqStandMeasure/HomeCtrlForm.Designer.cs b/RbFreqStandMeasure/HomeCtrlForm.Designer.cs
index fb515f8..73e477a 100644
--- a/RbFreqStandMeasure/HomeCtrlForm.Designer.cs
+++ b/RbFreqStandMeasure/HomeCtrlForm.Designer.cs
@@ -29,589 +29,271 @@
///
private void InitializeComponent()
{
- System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle1 = new System.Windows.Forms.DataGridViewCellStyle();
- System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle2 = new System.Windows.Forms.DataGridViewCellStyle();
- this.panelToBeTested = new System.Windows.Forms.Panel();
- this.dataGridViewX1 = new DevComponents.DotNetBar.Controls.DataGridViewX();
- this.Column13 = new System.Windows.Forms.DataGridViewTextBoxColumn();
- this.Column14 = new System.Windows.Forms.DataGridViewTextBoxColumn();
- this.Column15 = new System.Windows.Forms.DataGridViewTextBoxColumn();
- this.Column16 = new System.Windows.Forms.DataGridViewTextBoxColumn();
- this.Column17 = new System.Windows.Forms.DataGridViewTextBoxColumn();
- this.panelEx1 = new DevComponents.DotNetBar.PanelEx();
- this.labelX6 = new DevComponents.DotNetBar.LabelX();
- this.labelX5 = new DevComponents.DotNetBar.LabelX();
- this.labelX4 = new DevComponents.DotNetBar.LabelX();
- this.labelX3 = new DevComponents.DotNetBar.LabelX();
- this.labelX2 = new DevComponents.DotNetBar.LabelX();
- this.labelX1 = new DevComponents.DotNetBar.LabelX();
- this.panelEx2 = new DevComponents.DotNetBar.PanelEx();
- this.labelX7 = new DevComponents.DotNetBar.LabelX();
- this.labelX8 = new DevComponents.DotNetBar.LabelX();
- this.labelX10 = new DevComponents.DotNetBar.LabelX();
- this.labelX9 = new DevComponents.DotNetBar.LabelX();
- this.panelEx3 = new DevComponents.DotNetBar.PanelEx();
- this.labelX11 = new DevComponents.DotNetBar.LabelX();
- this.labelX13 = new DevComponents.DotNetBar.LabelX();
- this.labelX12 = new DevComponents.DotNetBar.LabelX();
- this.panelEx4 = new DevComponents.DotNetBar.PanelEx();
- this.dataGridViewX2 = new DevComponents.DotNetBar.Controls.DataGridViewX();
- this.Column18 = new System.Windows.Forms.DataGridViewTextBoxColumn();
- this.Column19 = new System.Windows.Forms.DataGridViewTextBoxColumn();
- this.Column20 = new System.Windows.Forms.DataGridViewTextBoxColumn();
- this.Column21 = new System.Windows.Forms.DataGridViewTextBoxColumn();
- this.Column22 = new System.Windows.Forms.DataGridViewTextBoxColumn();
- this.Column23 = new System.Windows.Forms.DataGridViewTextBoxColumn();
- this.Column24 = new System.Windows.Forms.DataGridViewTextBoxColumn();
- this.Column25 = new System.Windows.Forms.DataGridViewTextBoxColumn();
- this.Column26 = new System.Windows.Forms.DataGridViewTextBoxColumn();
- this.Column27 = new System.Windows.Forms.DataGridViewTextBoxColumn();
- this.Column28 = new System.Windows.Forms.DataGridViewTextBoxColumn();
- this.Column29 = new System.Windows.Forms.DataGridViewTextBoxColumn();
- this.buttonX1 = new DevComponents.DotNetBar.ButtonX();
- this.buttonX2 = new DevComponents.DotNetBar.ButtonX();
+ this.panel3 = new System.Windows.Forms.Panel();
+ this.panel2 = new System.Windows.Forms.Panel();
+ this.panel1 = new System.Windows.Forms.Panel();
+ this.panel4 = new System.Windows.Forms.Panel();
+ this.panel5 = new System.Windows.Forms.Panel();
this.label1 = new System.Windows.Forms.Label();
this.label2 = new System.Windows.Forms.Label();
- this.panelToBeTested.SuspendLayout();
- ((System.ComponentModel.ISupportInitialize)(this.dataGridViewX1)).BeginInit();
- this.panelEx1.SuspendLayout();
- this.panelEx2.SuspendLayout();
- this.panelEx3.SuspendLayout();
- this.panelEx4.SuspendLayout();
- ((System.ComponentModel.ISupportInitialize)(this.dataGridViewX2)).BeginInit();
+ this.label3 = new System.Windows.Forms.Label();
+ this.label4 = new System.Windows.Forms.Label();
+ this.label5 = new System.Windows.Forms.Label();
+ this.label6 = new System.Windows.Forms.Label();
+ this.label7 = new System.Windows.Forms.Label();
+ this.label8 = new System.Windows.Forms.Label();
+ this.label9 = new System.Windows.Forms.Label();
+ this.label10 = new System.Windows.Forms.Label();
+ this.label11 = new System.Windows.Forms.Label();
+ this.label12 = new System.Windows.Forms.Label();
+ this.label13 = new System.Windows.Forms.Label();
+ this.panel3.SuspendLayout();
+ this.panel2.SuspendLayout();
+ this.panel1.SuspendLayout();
this.SuspendLayout();
//
- // panelToBeTested
+ // panel3
//
- this.panelToBeTested.Controls.Add(this.dataGridViewX1);
- this.panelToBeTested.Controls.Add(this.buttonX2);
- this.panelToBeTested.Controls.Add(this.buttonX1);
- this.panelToBeTested.Location = new System.Drawing.Point(250, 0);
- this.panelToBeTested.Name = "panelToBeTested";
- this.panelToBeTested.Size = new System.Drawing.Size(750, 216);
- this.panelToBeTested.TabIndex = 4;
+ this.panel3.BackgroundImage = global::Casic.Birmm.RbFreqStandMeasure.Properties.Resources.bg_status_location;
+ this.panel3.Controls.Add(this.label8);
+ this.panel3.Controls.Add(this.label13);
+ this.panel3.Controls.Add(this.label12);
+ this.panel3.Controls.Add(this.label11);
+ this.panel3.Controls.Add(this.label9);
+ this.panel3.Controls.Add(this.label10);
+ this.panel3.Location = new System.Drawing.Point(6, 360);
+ this.panel3.Name = "panel3";
+ this.panel3.Size = new System.Drawing.Size(224, 293);
+ this.panel3.TabIndex = 2;
//
- // dataGridViewX1
+ // panel2
//
- this.dataGridViewX1.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.AutoSize;
- this.dataGridViewX1.Columns.AddRange(new System.Windows.Forms.DataGridViewColumn[] {
- this.Column13,
- this.Column14,
- this.Column15,
- this.Column16,
- this.Column17});
- dataGridViewCellStyle1.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleLeft;
- dataGridViewCellStyle1.BackColor = System.Drawing.SystemColors.Window;
- dataGridViewCellStyle1.Font = new System.Drawing.Font("宋体", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
- dataGridViewCellStyle1.ForeColor = System.Drawing.SystemColors.ControlText;
- dataGridViewCellStyle1.SelectionBackColor = System.Drawing.SystemColors.Highlight;
- dataGridViewCellStyle1.SelectionForeColor = System.Drawing.SystemColors.ControlText;
- dataGridViewCellStyle1.WrapMode = System.Windows.Forms.DataGridViewTriState.False;
- this.dataGridViewX1.DefaultCellStyle = dataGridViewCellStyle1;
- this.dataGridViewX1.GridColor = System.Drawing.Color.FromArgb(((int)(((byte)(208)))), ((int)(((byte)(215)))), ((int)(((byte)(229)))));
- this.dataGridViewX1.Location = new System.Drawing.Point(0, 1);
- this.dataGridViewX1.Name = "dataGridViewX1";
- this.dataGridViewX1.RowTemplate.Height = 23;
- this.dataGridViewX1.Size = new System.Drawing.Size(750, 179);
- this.dataGridViewX1.TabIndex = 14;
+ this.panel2.BackgroundImage = global::Casic.Birmm.RbFreqStandMeasure.Properties.Resources.bg_status_time;
+ this.panel2.Controls.Add(this.label4);
+ this.panel2.Controls.Add(this.label7);
+ this.panel2.Controls.Add(this.label6);
+ this.panel2.Controls.Add(this.label5);
+ this.panel2.Location = new System.Drawing.Point(6, 160);
+ this.panel2.Name = "panel2";
+ this.panel2.Size = new System.Drawing.Size(224, 200);
+ this.panel2.TabIndex = 1;
//
- // Column13
+ // panel1
//
- this.Column13.HeaderText = "仪器名称";
- this.Column13.Name = "Column13";
+ this.panel1.BackgroundImage = global::Casic.Birmm.RbFreqStandMeasure.Properties.Resources.bg_status_base;
+ this.panel1.Controls.Add(this.label3);
+ this.panel1.Controls.Add(this.label2);
+ this.panel1.Controls.Add(this.label1);
+ this.panel1.Location = new System.Drawing.Point(6, 0);
+ this.panel1.Margin = new System.Windows.Forms.Padding(0);
+ this.panel1.Name = "panel1";
+ this.panel1.Size = new System.Drawing.Size(224, 160);
+ this.panel1.TabIndex = 0;
//
- // Column14
+ // panel4
//
- this.Column14.HeaderText = "仪器类型";
- this.Column14.Name = "Column14";
+ this.panel4.BackgroundImage = global::Casic.Birmm.RbFreqStandMeasure.Properties.Resources.bg_dev_tested;
+ this.panel4.Location = new System.Drawing.Point(230, 0);
+ this.panel4.Margin = new System.Windows.Forms.Padding(0);
+ this.panel4.Name = "panel4";
+ this.panel4.Size = new System.Drawing.Size(788, 226);
+ this.panel4.TabIndex = 3;
//
- // Column15
+ // panel5
//
- this.Column15.HeaderText = "仪器编号";
- this.Column15.Name = "Column15";
- //
- // Column16
- //
- this.Column16.HeaderText = "客户名称";
- this.Column16.Name = "Column16";
- //
- // Column17
- //
- this.Column17.HeaderText = "开始时间";
- this.Column17.Name = "Column17";
- //
- // panelEx1
- //
- this.panelEx1.CanvasColor = System.Drawing.SystemColors.Control;
- this.panelEx1.ColorSchemeStyle = DevComponents.DotNetBar.eDotNetBarStyle.StyleManagerControlled;
- this.panelEx1.Controls.Add(this.labelX6);
- this.panelEx1.Controls.Add(this.labelX5);
- this.panelEx1.Controls.Add(this.labelX4);
- this.panelEx1.Controls.Add(this.labelX3);
- this.panelEx1.Controls.Add(this.labelX2);
- this.panelEx1.Controls.Add(this.labelX1);
- this.panelEx1.DisabledBackColor = System.Drawing.Color.Empty;
- this.panelEx1.Location = new System.Drawing.Point(25, 376);
- this.panelEx1.Name = "panelEx1";
- this.panelEx1.Size = new System.Drawing.Size(200, 200);
- this.panelEx1.Style.Alignment = System.Drawing.StringAlignment.Center;
- this.panelEx1.Style.BackColor1.ColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelBackground;
- this.panelEx1.Style.BackColor2.ColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelBackground2;
- this.panelEx1.Style.Border = DevComponents.DotNetBar.eBorderType.SingleLine;
- this.panelEx1.Style.BorderColor.ColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelBorder;
- this.panelEx1.Style.ForeColor.ColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelText;
- this.panelEx1.Style.GradientAngle = 90;
- this.panelEx1.TabIndex = 10;
- //
- // labelX6
- //
- //
- //
- //
- this.labelX6.BackgroundStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square;
- this.labelX6.Location = new System.Drawing.Point(3, 153);
- this.labelX6.Name = "labelX6";
- this.labelX6.Size = new System.Drawing.Size(75, 23);
- this.labelX6.Style = DevComponents.DotNetBar.eDotNetBarStyle.Office2013;
- this.labelX6.TabIndex = 0;
- this.labelX6.Text = "Z";
- this.labelX6.TextAlignment = System.Drawing.StringAlignment.Center;
- //
- // labelX5
- //
- //
- //
- //
- this.labelX5.BackgroundStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square;
- this.labelX5.Location = new System.Drawing.Point(3, 124);
- this.labelX5.Name = "labelX5";
- this.labelX5.Size = new System.Drawing.Size(75, 23);
- this.labelX5.Style = DevComponents.DotNetBar.eDotNetBarStyle.Office2013;
- this.labelX5.TabIndex = 0;
- this.labelX5.Text = "Y";
- this.labelX5.TextAlignment = System.Drawing.StringAlignment.Center;
- //
- // labelX4
- //
- //
- //
- //
- this.labelX4.BackgroundStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square;
- this.labelX4.Location = new System.Drawing.Point(3, 95);
- this.labelX4.Name = "labelX4";
- this.labelX4.Size = new System.Drawing.Size(75, 23);
- this.labelX4.Style = DevComponents.DotNetBar.eDotNetBarStyle.Office2013;
- this.labelX4.TabIndex = 0;
- this.labelX4.Text = "X";
- this.labelX4.TextAlignment = System.Drawing.StringAlignment.Center;
- //
- // labelX3
- //
- //
- //
- //
- this.labelX3.BackgroundStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square;
- this.labelX3.Location = new System.Drawing.Point(3, 66);
- this.labelX3.Name = "labelX3";
- this.labelX3.Size = new System.Drawing.Size(75, 23);
- this.labelX3.Style = DevComponents.DotNetBar.eDotNetBarStyle.Office2013;
- this.labelX3.TabIndex = 0;
- this.labelX3.Text = "纬度";
- this.labelX3.TextAlignment = System.Drawing.StringAlignment.Center;
- //
- // labelX2
- //
- //
- //
- //
- this.labelX2.BackgroundStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square;
- this.labelX2.Location = new System.Drawing.Point(3, 37);
- this.labelX2.Name = "labelX2";
- this.labelX2.Size = new System.Drawing.Size(75, 23);
- this.labelX2.Style = DevComponents.DotNetBar.eDotNetBarStyle.Office2013;
- this.labelX2.TabIndex = 0;
- this.labelX2.Text = "经度";
- this.labelX2.TextAlignment = System.Drawing.StringAlignment.Center;
- //
- // labelX1
- //
- //
- //
- //
- this.labelX1.BackgroundStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square;
- this.labelX1.Location = new System.Drawing.Point(3, 3);
- this.labelX1.Name = "labelX1";
- this.labelX1.Size = new System.Drawing.Size(194, 23);
- this.labelX1.Style = DevComponents.DotNetBar.eDotNetBarStyle.Office2013;
- this.labelX1.TabIndex = 0;
- this.labelX1.Text = "位置信息";
- this.labelX1.TextAlignment = System.Drawing.StringAlignment.Center;
- //
- // panelEx2
- //
- this.panelEx2.CanvasColor = System.Drawing.SystemColors.Control;
- this.panelEx2.ColorSchemeStyle = DevComponents.DotNetBar.eDotNetBarStyle.StyleManagerControlled;
- this.panelEx2.Controls.Add(this.labelX7);
- this.panelEx2.Controls.Add(this.labelX8);
- this.panelEx2.Controls.Add(this.labelX10);
- this.panelEx2.Controls.Add(this.labelX9);
- this.panelEx2.DisabledBackColor = System.Drawing.Color.Empty;
- this.panelEx2.Location = new System.Drawing.Point(25, 190);
- this.panelEx2.Name = "panelEx2";
- this.panelEx2.Size = new System.Drawing.Size(200, 150);
- this.panelEx2.Style.Alignment = System.Drawing.StringAlignment.Center;
- this.panelEx2.Style.BackColor1.ColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelBackground;
- this.panelEx2.Style.BackColor2.ColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelBackground2;
- this.panelEx2.Style.Border = DevComponents.DotNetBar.eBorderType.SingleLine;
- this.panelEx2.Style.BorderColor.ColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelBorder;
- this.panelEx2.Style.ForeColor.ColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelText;
- this.panelEx2.Style.GradientAngle = 90;
- this.panelEx2.TabIndex = 10;
- //
- // labelX7
- //
- //
- //
- //
- this.labelX7.BackgroundStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square;
- this.labelX7.Location = new System.Drawing.Point(3, 3);
- this.labelX7.Name = "labelX7";
- this.labelX7.Size = new System.Drawing.Size(194, 23);
- this.labelX7.Style = DevComponents.DotNetBar.eDotNetBarStyle.Office2013;
- this.labelX7.TabIndex = 0;
- this.labelX7.Text = "时间信息";
- this.labelX7.TextAlignment = System.Drawing.StringAlignment.Center;
- //
- // labelX8
- //
- //
- //
- //
- this.labelX8.BackgroundStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square;
- this.labelX8.Location = new System.Drawing.Point(3, 41);
- this.labelX8.Name = "labelX8";
- this.labelX8.Size = new System.Drawing.Size(75, 23);
- this.labelX8.Style = DevComponents.DotNetBar.eDotNetBarStyle.Office2013;
- this.labelX8.TabIndex = 0;
- this.labelX8.Text = "日期";
- this.labelX8.TextAlignment = System.Drawing.StringAlignment.Center;
- //
- // labelX10
- //
- //
- //
- //
- this.labelX10.BackgroundStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square;
- this.labelX10.Location = new System.Drawing.Point(3, 99);
- this.labelX10.Name = "labelX10";
- this.labelX10.Size = new System.Drawing.Size(75, 23);
- this.labelX10.Style = DevComponents.DotNetBar.eDotNetBarStyle.Office2013;
- this.labelX10.TabIndex = 0;
- this.labelX10.Text = "MJD";
- this.labelX10.TextAlignment = System.Drawing.StringAlignment.Center;
- //
- // labelX9
- //
- //
- //
- //
- this.labelX9.BackgroundStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square;
- this.labelX9.Location = new System.Drawing.Point(3, 70);
- this.labelX9.Name = "labelX9";
- this.labelX9.Size = new System.Drawing.Size(75, 23);
- this.labelX9.Style = DevComponents.DotNetBar.eDotNetBarStyle.Office2013;
- this.labelX9.TabIndex = 0;
- this.labelX9.Text = "时间";
- this.labelX9.TextAlignment = System.Drawing.StringAlignment.Center;
- //
- // panelEx3
- //
- this.panelEx3.CanvasColor = System.Drawing.SystemColors.Control;
- this.panelEx3.ColorSchemeStyle = DevComponents.DotNetBar.eDotNetBarStyle.StyleManagerControlled;
- this.panelEx3.Controls.Add(this.labelX11);
- this.panelEx3.Controls.Add(this.labelX13);
- this.panelEx3.Controls.Add(this.labelX12);
- this.panelEx3.DisabledBackColor = System.Drawing.Color.Empty;
- this.panelEx3.Location = new System.Drawing.Point(25, 50);
- this.panelEx3.Name = "panelEx3";
- this.panelEx3.Size = new System.Drawing.Size(200, 100);
- this.panelEx3.Style.Alignment = System.Drawing.StringAlignment.Center;
- this.panelEx3.Style.BackColor1.ColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelBackground;
- this.panelEx3.Style.BackColor2.ColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelBackground2;
- this.panelEx3.Style.Border = DevComponents.DotNetBar.eBorderType.SingleLine;
- this.panelEx3.Style.BorderColor.ColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelBorder;
- this.panelEx3.Style.ForeColor.ColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelText;
- this.panelEx3.Style.GradientAngle = 90;
- this.panelEx3.TabIndex = 10;
- //
- // labelX11
- //
- //
- //
- //
- this.labelX11.BackgroundStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square;
- this.labelX11.Location = new System.Drawing.Point(3, 3);
- this.labelX11.Name = "labelX11";
- this.labelX11.Size = new System.Drawing.Size(194, 23);
- this.labelX11.Style = DevComponents.DotNetBar.eDotNetBarStyle.Office2013;
- this.labelX11.TabIndex = 0;
- this.labelX11.Text = "基本信息";
- this.labelX11.TextAlignment = System.Drawing.StringAlignment.Center;
- //
- // labelX13
- //
- //
- //
- //
- this.labelX13.BackgroundStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square;
- this.labelX13.Location = new System.Drawing.Point(3, 32);
- this.labelX13.Name = "labelX13";
- this.labelX13.Size = new System.Drawing.Size(75, 23);
- this.labelX13.Style = DevComponents.DotNetBar.eDotNetBarStyle.Office2013;
- this.labelX13.TabIndex = 0;
- this.labelX13.Text = "原子钟";
- this.labelX13.TextAlignment = System.Drawing.StringAlignment.Center;
- //
- // labelX12
- //
- //
- //
- //
- this.labelX12.BackgroundStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square;
- this.labelX12.Location = new System.Drawing.Point(3, 61);
- this.labelX12.Name = "labelX12";
- this.labelX12.Size = new System.Drawing.Size(75, 23);
- this.labelX12.Style = DevComponents.DotNetBar.eDotNetBarStyle.Office2013;
- this.labelX12.TabIndex = 0;
- this.labelX12.Text = "接收机";
- this.labelX12.TextAlignment = System.Drawing.StringAlignment.Center;
- //
- // panelEx4
- //
- this.panelEx4.CanvasColor = System.Drawing.SystemColors.Control;
- this.panelEx4.ColorSchemeStyle = DevComponents.DotNetBar.eDotNetBarStyle.StyleManagerControlled;
- this.panelEx4.Controls.Add(this.panelEx2);
- this.panelEx4.Controls.Add(this.panelEx1);
- this.panelEx4.Controls.Add(this.panelEx3);
- this.panelEx4.DisabledBackColor = System.Drawing.Color.Empty;
- this.panelEx4.Location = new System.Drawing.Point(0, 0);
- this.panelEx4.Name = "panelEx4";
- this.panelEx4.Size = new System.Drawing.Size(250, 640);
- this.panelEx4.Style.Alignment = System.Drawing.StringAlignment.Center;
- this.panelEx4.Style.BackColor1.ColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelBackground;
- this.panelEx4.Style.BackColor2.ColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelBackground2;
- this.panelEx4.Style.Border = DevComponents.DotNetBar.eBorderType.SingleLine;
- this.panelEx4.Style.BorderColor.ColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelBorder;
- this.panelEx4.Style.ForeColor.ColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelText;
- this.panelEx4.Style.GradientAngle = 90;
- this.panelEx4.TabIndex = 10;
- //
- // dataGridViewX2
- //
- this.dataGridViewX2.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.AutoSize;
- this.dataGridViewX2.Columns.AddRange(new System.Windows.Forms.DataGridViewColumn[] {
- this.Column18,
- this.Column19,
- this.Column20,
- this.Column21,
- this.Column22,
- this.Column23,
- this.Column24,
- this.Column25,
- this.Column26,
- this.Column27,
- this.Column28,
- this.Column29});
- dataGridViewCellStyle2.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleLeft;
- dataGridViewCellStyle2.BackColor = System.Drawing.SystemColors.Window;
- dataGridViewCellStyle2.Font = new System.Drawing.Font("宋体", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
- dataGridViewCellStyle2.ForeColor = System.Drawing.SystemColors.ControlText;
- dataGridViewCellStyle2.SelectionBackColor = System.Drawing.SystemColors.Highlight;
- dataGridViewCellStyle2.SelectionForeColor = System.Drawing.SystemColors.ControlText;
- dataGridViewCellStyle2.WrapMode = System.Windows.Forms.DataGridViewTriState.False;
- this.dataGridViewX2.DefaultCellStyle = dataGridViewCellStyle2;
- this.dataGridViewX2.GridColor = System.Drawing.Color.FromArgb(((int)(((byte)(208)))), ((int)(((byte)(215)))), ((int)(((byte)(229)))));
- this.dataGridViewX2.Location = new System.Drawing.Point(250, 216);
- this.dataGridViewX2.Name = "dataGridViewX2";
- this.dataGridViewX2.Size = new System.Drawing.Size(747, 424);
- this.dataGridViewX2.TabIndex = 15;
- //
- // Column18
- //
- this.Column18.HeaderText = "通道号";
- this.Column18.Name = "Column18";
- //
- // Column19
- //
- this.Column19.HeaderText = "当前状态";
- this.Column19.Name = "Column19";
- //
- // Column20
- //
- this.Column20.HeaderText = "仪器名称";
- this.Column20.Name = "Column20";
- //
- // Column21
- //
- this.Column21.HeaderText = "仪器编号";
- this.Column21.Name = "Column21";
- //
- // Column22
- //
- this.Column22.HeaderText = "客户名称";
- this.Column22.Name = "Column22";
- //
- // Column23
- //
- this.Column23.HeaderText = "开始时间";
- this.Column23.Name = "Column23";
- //
- // Column24
- //
- this.Column24.HeaderText = "结束时间";
- this.Column24.Name = "Column24";
- //
- // Column25
- //
- this.Column25.HeaderText = "频率稳定度";
- this.Column25.Name = "Column25";
- //
- // Column26
- //
- this.Column26.HeaderText = "频率准确度";
- this.Column26.Name = "Column26";
- //
- // Column27
- //
- this.Column27.HeaderText = "开机特性";
- this.Column27.Name = "Column27";
- //
- // Column28
- //
- this.Column28.HeaderText = "日老化率";
- this.Column28.Name = "Column28";
- //
- // Column29
- //
- this.Column29.HeaderText = "频率计数器范围及灵敏度";
- this.Column29.Name = "Column29";
- //
- // buttonX1
- //
- this.buttonX1.AccessibleRole = System.Windows.Forms.AccessibleRole.PushButton;
- this.buttonX1.BackColor = System.Drawing.Color.Transparent;
- this.buttonX1.ColorTable = DevComponents.DotNetBar.eButtonColor.OrangeWithBackground;
- this.buttonX1.Location = new System.Drawing.Point(663, 183);
- this.buttonX1.Name = "buttonX1";
- this.buttonX1.Size = new System.Drawing.Size(30, 23);
- this.buttonX1.Style = DevComponents.DotNetBar.eDotNetBarStyle.StyleManagerControlled;
- this.buttonX1.Symbol = "";
- this.buttonX1.SymbolColor = System.Drawing.Color.FromArgb(((int)(((byte)(64)))), ((int)(((byte)(64)))), ((int)(((byte)(64)))));
- this.buttonX1.SymbolSize = 8F;
- this.buttonX1.TabIndex = 19;
- //
- // buttonX2
- //
- this.buttonX2.AccessibleRole = System.Windows.Forms.AccessibleRole.PushButton;
- this.buttonX2.BackColor = System.Drawing.Color.Transparent;
- this.buttonX2.ColorTable = DevComponents.DotNetBar.eButtonColor.OrangeWithBackground;
- this.buttonX2.Location = new System.Drawing.Point(589, 184);
- this.buttonX2.Name = "buttonX2";
- this.buttonX2.Size = new System.Drawing.Size(30, 23);
- this.buttonX2.Style = DevComponents.DotNetBar.eDotNetBarStyle.StyleManagerControlled;
- this.buttonX2.Symbol = "";
- this.buttonX2.SymbolColor = System.Drawing.Color.FromArgb(((int)(((byte)(64)))), ((int)(((byte)(64)))), ((int)(((byte)(64)))));
- this.buttonX2.SymbolSize = 8F;
- this.buttonX2.TabIndex = 19;
+ this.panel5.BackgroundImage = global::Casic.Birmm.RbFreqStandMeasure.Properties.Resources.bg_dev_channel;
+ this.panel5.Location = new System.Drawing.Point(230, 226);
+ this.panel5.Name = "panel5";
+ this.panel5.Size = new System.Drawing.Size(788, 424);
+ this.panel5.TabIndex = 4;
//
// label1
//
this.label1.BackColor = System.Drawing.Color.Transparent;
- this.label1.Font = new System.Drawing.Font("Times New Roman", 9.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
- this.label1.Location = new System.Drawing.Point(880, 186);
- this.label1.Margin = new System.Windows.Forms.Padding(0);
+ this.label1.Font = new System.Drawing.Font("微软雅黑", 14F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Pixel, ((byte)(134)));
+ this.label1.Location = new System.Drawing.Point(0, 20);
this.label1.Name = "label1";
- this.label1.Size = new System.Drawing.Size(20, 20);
- this.label1.TabIndex = 20;
- this.label1.Text = "1";
+ this.label1.Size = new System.Drawing.Size(224, 25);
+ this.label1.TabIndex = 0;
+ this.label1.Text = "基本信息";
this.label1.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
//
// label2
//
this.label2.BackColor = System.Drawing.Color.Transparent;
- this.label2.Font = new System.Drawing.Font("Times New Roman", 9.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
- this.label2.Location = new System.Drawing.Point(636, 187);
- this.label2.Margin = new System.Windows.Forms.Padding(0);
+ this.label2.Font = new System.Drawing.Font("微软雅黑", 14F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Pixel, ((byte)(134)));
+ this.label2.Location = new System.Drawing.Point(0, 60);
this.label2.Name = "label2";
- this.label2.Size = new System.Drawing.Size(200, 20);
- this.label2.TabIndex = 20;
- this.label2.Text = "共150条,每页5条,共100页";
- this.label2.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
+ this.label2.Size = new System.Drawing.Size(75, 25);
+ this.label2.TabIndex = 1;
+ this.label2.Text = "原子钟";
+ this.label2.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
+ //
+ // label3
+ //
+ this.label3.BackColor = System.Drawing.Color.Transparent;
+ this.label3.Font = new System.Drawing.Font("微软雅黑", 14F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Pixel, ((byte)(134)));
+ this.label3.Location = new System.Drawing.Point(0, 100);
+ this.label3.Name = "label3";
+ this.label3.Size = new System.Drawing.Size(75, 25);
+ this.label3.TabIndex = 1;
+ this.label3.Text = "接收机";
+ this.label3.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
+ //
+ // label4
+ //
+ this.label4.BackColor = System.Drawing.Color.Transparent;
+ this.label4.Font = new System.Drawing.Font("微软雅黑", 14F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Pixel, ((byte)(134)));
+ this.label4.Location = new System.Drawing.Point(0, 20);
+ this.label4.Name = "label4";
+ this.label4.Size = new System.Drawing.Size(224, 25);
+ this.label4.TabIndex = 0;
+ this.label4.Text = "时间信息";
+ this.label4.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
+ //
+ // label5
+ //
+ this.label5.BackColor = System.Drawing.Color.Transparent;
+ this.label5.Font = new System.Drawing.Font("微软雅黑", 14F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Pixel, ((byte)(134)));
+ this.label5.Location = new System.Drawing.Point(0, 60);
+ this.label5.Name = "label5";
+ this.label5.Size = new System.Drawing.Size(75, 25);
+ this.label5.TabIndex = 1;
+ this.label5.Text = "日期";
+ this.label5.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
+ //
+ // label6
+ //
+ this.label6.BackColor = System.Drawing.Color.Transparent;
+ this.label6.Font = new System.Drawing.Font("微软雅黑", 14F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Pixel, ((byte)(134)));
+ this.label6.Location = new System.Drawing.Point(0, 100);
+ this.label6.Name = "label6";
+ this.label6.Size = new System.Drawing.Size(75, 25);
+ this.label6.TabIndex = 1;
+ this.label6.Text = "时间";
+ this.label6.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
+ //
+ // label7
+ //
+ this.label7.BackColor = System.Drawing.Color.Transparent;
+ this.label7.Font = new System.Drawing.Font("微软雅黑", 14F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Pixel, ((byte)(134)));
+ this.label7.Location = new System.Drawing.Point(0, 140);
+ this.label7.Margin = new System.Windows.Forms.Padding(0);
+ this.label7.Name = "label7";
+ this.label7.Size = new System.Drawing.Size(75, 25);
+ this.label7.TabIndex = 1;
+ this.label7.Text = "MJD";
+ this.label7.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
+ //
+ // label8
+ //
+ this.label8.BackColor = System.Drawing.Color.Transparent;
+ this.label8.Font = new System.Drawing.Font("微软雅黑", 14F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Pixel, ((byte)(134)));
+ this.label8.Location = new System.Drawing.Point(0, 20);
+ this.label8.Name = "label8";
+ this.label8.Size = new System.Drawing.Size(224, 25);
+ this.label8.TabIndex = 0;
+ this.label8.Text = "位置信息";
+ this.label8.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
+ //
+ // label9
+ //
+ this.label9.BackColor = System.Drawing.Color.Transparent;
+ this.label9.Font = new System.Drawing.Font("微软雅黑", 14F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Pixel, ((byte)(134)));
+ this.label9.Location = new System.Drawing.Point(0, 60);
+ this.label9.Name = "label9";
+ this.label9.Size = new System.Drawing.Size(75, 25);
+ this.label9.TabIndex = 1;
+ this.label9.Text = "经度";
+ this.label9.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
+ //
+ // label10
+ //
+ this.label10.BackColor = System.Drawing.Color.Transparent;
+ this.label10.Font = new System.Drawing.Font("微软雅黑", 14F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Pixel, ((byte)(134)));
+ this.label10.Location = new System.Drawing.Point(0, 100);
+ this.label10.Margin = new System.Windows.Forms.Padding(0);
+ this.label10.Name = "label10";
+ this.label10.Size = new System.Drawing.Size(75, 25);
+ this.label10.TabIndex = 1;
+ this.label10.Text = "纬度";
+ this.label10.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
+ //
+ // label11
+ //
+ this.label11.BackColor = System.Drawing.Color.Transparent;
+ this.label11.Font = new System.Drawing.Font("微软雅黑", 14F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Pixel, ((byte)(134)));
+ this.label11.Location = new System.Drawing.Point(0, 140);
+ this.label11.Margin = new System.Windows.Forms.Padding(0);
+ this.label11.Name = "label11";
+ this.label11.Size = new System.Drawing.Size(75, 25);
+ this.label11.TabIndex = 1;
+ this.label11.Text = "X";
+ this.label11.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
+ //
+ // label12
+ //
+ this.label12.BackColor = System.Drawing.Color.Transparent;
+ this.label12.Font = new System.Drawing.Font("微软雅黑", 14F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Pixel, ((byte)(134)));
+ this.label12.Location = new System.Drawing.Point(0, 180);
+ this.label12.Margin = new System.Windows.Forms.Padding(0);
+ this.label12.Name = "label12";
+ this.label12.Size = new System.Drawing.Size(75, 25);
+ this.label12.TabIndex = 1;
+ this.label12.Text = "Y";
+ this.label12.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
+ //
+ // label13
+ //
+ this.label13.BackColor = System.Drawing.Color.Transparent;
+ this.label13.Font = new System.Drawing.Font("微软雅黑", 14F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Pixel, ((byte)(134)));
+ this.label13.Location = new System.Drawing.Point(0, 220);
+ this.label13.Margin = new System.Windows.Forms.Padding(0);
+ this.label13.Name = "label13";
+ this.label13.Size = new System.Drawing.Size(75, 25);
+ this.label13.TabIndex = 1;
+ this.label13.Text = "Z";
+ this.label13.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
//
// HomeCtrlForm
//
this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 12F);
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
- this.Controls.Add(this.label1);
- this.Controls.Add(this.label2);
- this.Controls.Add(this.dataGridViewX2);
- this.Controls.Add(this.panelEx4);
- this.Controls.Add(this.panelToBeTested);
+ this.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(232)))), ((int)(((byte)(234)))), ((int)(((byte)(238)))));
+ this.Controls.Add(this.panel5);
+ this.Controls.Add(this.panel4);
+ this.Controls.Add(this.panel3);
+ this.Controls.Add(this.panel2);
+ this.Controls.Add(this.panel1);
this.Margin = new System.Windows.Forms.Padding(0);
this.Name = "HomeCtrlForm";
- this.Size = new System.Drawing.Size(1000, 640);
- this.panelToBeTested.ResumeLayout(false);
- ((System.ComponentModel.ISupportInitialize)(this.dataGridViewX1)).EndInit();
- this.panelEx1.ResumeLayout(false);
- this.panelEx2.ResumeLayout(false);
- this.panelEx3.ResumeLayout(false);
- this.panelEx4.ResumeLayout(false);
- ((System.ComponentModel.ISupportInitialize)(this.dataGridViewX2)).EndInit();
+ this.Size = new System.Drawing.Size(1024, 654);
+ this.panel3.ResumeLayout(false);
+ this.panel2.ResumeLayout(false);
+ this.panel1.ResumeLayout(false);
this.ResumeLayout(false);
}
#endregion
- private System.Windows.Forms.Panel panelToBeTested;
- private DevComponents.DotNetBar.PanelEx panelEx1;
- private DevComponents.DotNetBar.LabelX labelX6;
- private DevComponents.DotNetBar.LabelX labelX5;
- private DevComponents.DotNetBar.LabelX labelX4;
- private DevComponents.DotNetBar.LabelX labelX3;
- private DevComponents.DotNetBar.LabelX labelX2;
- private DevComponents.DotNetBar.LabelX labelX1;
- private DevComponents.DotNetBar.PanelEx panelEx2;
- private DevComponents.DotNetBar.LabelX labelX7;
- private DevComponents.DotNetBar.LabelX labelX8;
- private DevComponents.DotNetBar.LabelX labelX10;
- private DevComponents.DotNetBar.LabelX labelX9;
- private DevComponents.DotNetBar.PanelEx panelEx3;
- private DevComponents.DotNetBar.LabelX labelX11;
- private DevComponents.DotNetBar.LabelX labelX13;
- private DevComponents.DotNetBar.LabelX labelX12;
- private DevComponents.DotNetBar.PanelEx panelEx4;
- private DevComponents.DotNetBar.Controls.DataGridViewX dataGridViewX1;
- private System.Windows.Forms.DataGridViewTextBoxColumn Column13;
- private System.Windows.Forms.DataGridViewTextBoxColumn Column14;
- private System.Windows.Forms.DataGridViewTextBoxColumn Column15;
- private System.Windows.Forms.DataGridViewTextBoxColumn Column16;
- private System.Windows.Forms.DataGridViewTextBoxColumn Column17;
- private DevComponents.DotNetBar.Controls.DataGridViewX dataGridViewX2;
- private System.Windows.Forms.DataGridViewTextBoxColumn Column18;
- private System.Windows.Forms.DataGridViewTextBoxColumn Column19;
- private System.Windows.Forms.DataGridViewTextBoxColumn Column20;
- private System.Windows.Forms.DataGridViewTextBoxColumn Column21;
- private System.Windows.Forms.DataGridViewTextBoxColumn Column22;
- private System.Windows.Forms.DataGridViewTextBoxColumn Column23;
- private System.Windows.Forms.DataGridViewTextBoxColumn Column24;
- private System.Windows.Forms.DataGridViewTextBoxColumn Column25;
- private System.Windows.Forms.DataGridViewTextBoxColumn Column26;
- private System.Windows.Forms.DataGridViewTextBoxColumn Column27;
- private System.Windows.Forms.DataGridViewTextBoxColumn Column28;
- private System.Windows.Forms.DataGridViewTextBoxColumn Column29;
- private DevComponents.DotNetBar.ButtonX buttonX1;
- private DevComponents.DotNetBar.ButtonX buttonX2;
+
+ private System.Windows.Forms.Panel panel1;
+ private System.Windows.Forms.Panel panel2;
+ private System.Windows.Forms.Panel panel3;
+ private System.Windows.Forms.Panel panel4;
+ private System.Windows.Forms.Panel panel5;
private System.Windows.Forms.Label label1;
private System.Windows.Forms.Label label2;
+ private System.Windows.Forms.Label label3;
+ private System.Windows.Forms.Label label4;
+ private System.Windows.Forms.Label label5;
+ private System.Windows.Forms.Label label6;
+ private System.Windows.Forms.Label label7;
+ private System.Windows.Forms.Label label8;
+ private System.Windows.Forms.Label label11;
+ private System.Windows.Forms.Label label9;
+ private System.Windows.Forms.Label label10;
+ private System.Windows.Forms.Label label12;
+ private System.Windows.Forms.Label label13;
}
}
diff --git a/RbFreqStandMeasure/HomeCtrlForm.resx b/RbFreqStandMeasure/HomeCtrlForm.resx
index 6d97f4f..1af7de1 100644
--- a/RbFreqStandMeasure/HomeCtrlForm.resx
+++ b/RbFreqStandMeasure/HomeCtrlForm.resx
@@ -117,55 +117,4 @@
System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
-
- True
-
-
- True
-
-
- True
-
-
- True
-
-
- True
-
-
- True
-
-
- True
-
-
- True
-
-
- True
-
-
- True
-
-
- True
-
-
- True
-
-
- True
-
-
- True
-
-
- True
-
-
- True
-
-
- True
-
\ No newline at end of file
diff --git a/RbFreqStandMeasure/Program.cs b/RbFreqStandMeasure/Program.cs
index 93a83e5..6150917 100644
--- a/RbFreqStandMeasure/Program.cs
+++ b/RbFreqStandMeasure/Program.cs
@@ -1,6 +1,4 @@
using System;
-using System.Collections.Generic;
-using System.Linq;
using System.Windows.Forms;
namespace Casic.Birmm.RbFreqStandMeasure
diff --git a/RbFreqStandMeasure/Properties/Resources.Designer.cs b/RbFreqStandMeasure/Properties/Resources.Designer.cs
index 253d7d7..d819a23 100644
--- a/RbFreqStandMeasure/Properties/Resources.Designer.cs
+++ b/RbFreqStandMeasure/Properties/Resources.Designer.cs
@@ -73,6 +73,56 @@
///
/// 查找 System.Drawing.Bitmap 类型的本地化资源。
///
+ internal static System.Drawing.Bitmap bg_dev_channel {
+ get {
+ object obj = ResourceManager.GetObject("bg_dev_channel", resourceCulture);
+ return ((System.Drawing.Bitmap)(obj));
+ }
+ }
+
+ ///
+ /// 查找 System.Drawing.Bitmap 类型的本地化资源。
+ ///
+ internal static System.Drawing.Bitmap bg_dev_tested {
+ get {
+ object obj = ResourceManager.GetObject("bg_dev_tested", resourceCulture);
+ return ((System.Drawing.Bitmap)(obj));
+ }
+ }
+
+ ///
+ /// 查找 System.Drawing.Bitmap 类型的本地化资源。
+ ///
+ internal static System.Drawing.Bitmap bg_status_base {
+ get {
+ object obj = ResourceManager.GetObject("bg_status_base", resourceCulture);
+ return ((System.Drawing.Bitmap)(obj));
+ }
+ }
+
+ ///
+ /// 查找 System.Drawing.Bitmap 类型的本地化资源。
+ ///
+ internal static System.Drawing.Bitmap bg_status_location {
+ get {
+ object obj = ResourceManager.GetObject("bg_status_location", resourceCulture);
+ return ((System.Drawing.Bitmap)(obj));
+ }
+ }
+
+ ///
+ /// 查找 System.Drawing.Bitmap 类型的本地化资源。
+ ///
+ internal static System.Drawing.Bitmap bg_status_time {
+ get {
+ object obj = ResourceManager.GetObject("bg_status_time", resourceCulture);
+ return ((System.Drawing.Bitmap)(obj));
+ }
+ }
+
+ ///
+ /// 查找 System.Drawing.Bitmap 类型的本地化资源。
+ ///
internal static System.Drawing.Bitmap bg_white_shadow {
get {
object obj = ResourceManager.GetObject("bg_white_shadow", resourceCulture);
@@ -83,6 +133,66 @@
///
/// 查找 System.Drawing.Bitmap 类型的本地化资源。
///
+ internal static System.Drawing.Bitmap icon_counter {
+ get {
+ object obj = ResourceManager.GetObject("icon_counter", resourceCulture);
+ return ((System.Drawing.Bitmap)(obj));
+ }
+ }
+
+ ///
+ /// 查找 System.Drawing.Bitmap 类型的本地化资源。
+ ///
+ internal static System.Drawing.Bitmap icon_counter_selected {
+ get {
+ object obj = ResourceManager.GetObject("icon_counter_selected", resourceCulture);
+ return ((System.Drawing.Bitmap)(obj));
+ }
+ }
+
+ ///
+ /// 查找 System.Drawing.Bitmap 类型的本地化资源。
+ ///
+ internal static System.Drawing.Bitmap icon_data {
+ get {
+ object obj = ResourceManager.GetObject("icon_data", resourceCulture);
+ return ((System.Drawing.Bitmap)(obj));
+ }
+ }
+
+ ///
+ /// 查找 System.Drawing.Bitmap 类型的本地化资源。
+ ///
+ internal static System.Drawing.Bitmap icon_data_selected {
+ get {
+ object obj = ResourceManager.GetObject("icon_data_selected", resourceCulture);
+ return ((System.Drawing.Bitmap)(obj));
+ }
+ }
+
+ ///
+ /// 查找 System.Drawing.Bitmap 类型的本地化资源。
+ ///
+ internal static System.Drawing.Bitmap icon_dev {
+ get {
+ object obj = ResourceManager.GetObject("icon_dev", resourceCulture);
+ return ((System.Drawing.Bitmap)(obj));
+ }
+ }
+
+ ///
+ /// 查找 System.Drawing.Bitmap 类型的本地化资源。
+ ///
+ internal static System.Drawing.Bitmap icon_dev_selected {
+ get {
+ object obj = ResourceManager.GetObject("icon_dev_selected", resourceCulture);
+ return ((System.Drawing.Bitmap)(obj));
+ }
+ }
+
+ ///
+ /// 查找 System.Drawing.Bitmap 类型的本地化资源。
+ ///
internal static System.Drawing.Bitmap icon_exit {
get {
object obj = ResourceManager.GetObject("icon_exit", resourceCulture);
@@ -113,6 +223,56 @@
///
/// 查找 System.Drawing.Bitmap 类型的本地化资源。
///
+ internal static System.Drawing.Bitmap icon_measure {
+ get {
+ object obj = ResourceManager.GetObject("icon_measure", resourceCulture);
+ return ((System.Drawing.Bitmap)(obj));
+ }
+ }
+
+ ///
+ /// 查找 System.Drawing.Bitmap 类型的本地化资源。
+ ///
+ internal static System.Drawing.Bitmap icon_measure_selected {
+ get {
+ object obj = ResourceManager.GetObject("icon_measure_selected", resourceCulture);
+ return ((System.Drawing.Bitmap)(obj));
+ }
+ }
+
+ ///
+ /// 查找 System.Drawing.Bitmap 类型的本地化资源。
+ ///
+ internal static System.Drawing.Bitmap icon_min {
+ get {
+ object obj = ResourceManager.GetObject("icon_min", resourceCulture);
+ return ((System.Drawing.Bitmap)(obj));
+ }
+ }
+
+ ///
+ /// 查找 System.Drawing.Bitmap 类型的本地化资源。
+ ///
+ internal static System.Drawing.Bitmap icon_setting {
+ get {
+ object obj = ResourceManager.GetObject("icon_setting", resourceCulture);
+ return ((System.Drawing.Bitmap)(obj));
+ }
+ }
+
+ ///
+ /// 查找 System.Drawing.Bitmap 类型的本地化资源。
+ ///
+ internal static System.Drawing.Bitmap icon_setting_selected {
+ get {
+ object obj = ResourceManager.GetObject("icon_setting_selected", resourceCulture);
+ return ((System.Drawing.Bitmap)(obj));
+ }
+ }
+
+ ///
+ /// 查找 System.Drawing.Bitmap 类型的本地化资源。
+ ///
internal static System.Drawing.Bitmap icon_status {
get {
object obj = ResourceManager.GetObject("icon_status", resourceCulture);
diff --git a/RbFreqStandMeasure/Properties/Resources.resx b/RbFreqStandMeasure/Properties/Resources.resx
index e781bb7..cfdb255 100644
--- a/RbFreqStandMeasure/Properties/Resources.resx
+++ b/RbFreqStandMeasure/Properties/Resources.resx
@@ -118,25 +118,73 @@
System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
-
- ..\res\images\icon_exit.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
+
+ ..\res\images\icon_counter_selected.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
-
- ..\res\images\bg_white_shadow.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
+
+ ..\res\images\icon_dev_selected.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
+
+
+ ..\res\images\icon_status_selected.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
+
+
+ ..\res\images\icon_data_selected.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
..\res\images\icon_home_selected.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
-
- ..\res\images\bg_banner.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
-
-
- ..\res\images\icon_home.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
+
+ ..\res\images\icon_exit.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
..\res\images\icon_status.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
-
- ..\res\images\icon_status_selected.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
+
+ ..\res\images\icon_data.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
+
+
+ ..\res\images\icon_setting.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
+
+
+ ..\res\images\icon_measure_selected.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
+
+
+ ..\res\images\bg_banner.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
+
+
+ ..\res\images\icon_setting_selected.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
+
+
+ ..\res\images\icon_dev.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
+
+
+ ..\res\images\icon_counter.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
+
+
+ ..\res\images\icon_measure.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
+
+
+ ..\res\images\icon_home.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
+
+
+ ..\res\images\bg_white_shadow.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
+
+
+ ..\res\images\icon_min.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
+
+
+ ..\res\images\bg_status_base.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
+
+
+ ..\res\images\bg_status_location.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
+
+
+ ..\res\images\bg_status_time.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
+
+
+ ..\res\images\bg_dev_channel.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
+
+
+ ..\res\images\bg_dev_tested.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
\ No newline at end of file
diff --git a/RbFreqStandMeasure/RbFreqStandMeasure.csproj b/RbFreqStandMeasure/RbFreqStandMeasure.csproj
index f5e7da9..7c12768 100644
--- a/RbFreqStandMeasure/RbFreqStandMeasure.csproj
+++ b/RbFreqStandMeasure/RbFreqStandMeasure.csproj
@@ -232,6 +232,54 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/RbFreqStandMeasure/RbFreqStdMeas.Designer.cs b/RbFreqStandMeasure/RbFreqStdMeas.Designer.cs
index 57778cf..1bd008c 100644
--- a/RbFreqStandMeasure/RbFreqStdMeas.Designer.cs
+++ b/RbFreqStandMeasure/RbFreqStdMeas.Designer.cs
@@ -30,148 +30,77 @@
private void InitializeComponent()
{
this.panMenu = new System.Windows.Forms.Panel();
+ this.penBanner = new System.Windows.Forms.Panel();
+ this.btnMinSys = new System.Windows.Forms.Button();
+ this.btnExitSys = new System.Windows.Forms.Button();
+ this.labTitle = new System.Windows.Forms.Label();
+ this.panDev = new Casic.Birmm.RbFreqStandMeasure.RoundPanel();
+ this.labDevText = new System.Windows.Forms.Label();
+ this.labDevSelected = new System.Windows.Forms.Label();
+ this.picIconDev = new System.Windows.Forms.PictureBox();
+ this.panSetting = new Casic.Birmm.RbFreqStandMeasure.RoundPanel();
+ this.labSettingSelected = new System.Windows.Forms.Label();
+ this.labSettingText = new System.Windows.Forms.Label();
+ this.picIconSetting = new System.Windows.Forms.PictureBox();
this.panStatus = new Casic.Birmm.RbFreqStandMeasure.RoundPanel();
this.labStatusText = new System.Windows.Forms.Label();
this.picIconStatus = new System.Windows.Forms.PictureBox();
+ this.labStatusSelected = new System.Windows.Forms.Label();
+ this.panData = new Casic.Birmm.RbFreqStandMeasure.RoundPanel();
+ this.labDataSelected = new System.Windows.Forms.Label();
+ this.labDataText = new System.Windows.Forms.Label();
+ this.picIconData = new System.Windows.Forms.PictureBox();
this.panHome = new Casic.Birmm.RbFreqStandMeasure.RoundPanel();
this.labHomeText = new System.Windows.Forms.Label();
this.picIconHome = new System.Windows.Forms.PictureBox();
this.labHomeSelected = new System.Windows.Forms.Label();
- this.labStatusSelected = new System.Windows.Forms.Label();
- this.penBanner = new System.Windows.Forms.Panel();
- this.btnExitSys = new System.Windows.Forms.Button();
- this.labTitle = new System.Windows.Forms.Label();
+ this.panMeasure = new Casic.Birmm.RbFreqStandMeasure.RoundPanel();
+ this.labMeasureText = new System.Windows.Forms.Label();
+ this.labMeasureSelected = new System.Windows.Forms.Label();
+ this.picIconMeasure = new System.Windows.Forms.PictureBox();
+ this.panCounter = new Casic.Birmm.RbFreqStandMeasure.RoundPanel();
+ this.labCounterSelected = new System.Windows.Forms.Label();
+ this.labCounterText = new System.Windows.Forms.Label();
+ this.picIconCounter = new System.Windows.Forms.PictureBox();
+ this.panelMain = new System.Windows.Forms.Panel();
this.panMenu.SuspendLayout();
+ this.penBanner.SuspendLayout();
+ this.panDev.SuspendLayout();
+ ((System.ComponentModel.ISupportInitialize)(this.picIconDev)).BeginInit();
+ this.panSetting.SuspendLayout();
+ ((System.ComponentModel.ISupportInitialize)(this.picIconSetting)).BeginInit();
this.panStatus.SuspendLayout();
((System.ComponentModel.ISupportInitialize)(this.picIconStatus)).BeginInit();
+ this.panData.SuspendLayout();
+ ((System.ComponentModel.ISupportInitialize)(this.picIconData)).BeginInit();
this.panHome.SuspendLayout();
((System.ComponentModel.ISupportInitialize)(this.picIconHome)).BeginInit();
- this.penBanner.SuspendLayout();
+ this.panMeasure.SuspendLayout();
+ ((System.ComponentModel.ISupportInitialize)(this.picIconMeasure)).BeginInit();
+ this.panCounter.SuspendLayout();
+ ((System.ComponentModel.ISupportInitialize)(this.picIconCounter)).BeginInit();
this.SuspendLayout();
//
// panMenu
//
this.panMenu.BackColor = System.Drawing.Color.White;
+ this.panMenu.Controls.Add(this.panDev);
+ this.panMenu.Controls.Add(this.panSetting);
this.panMenu.Controls.Add(this.panStatus);
+ this.panMenu.Controls.Add(this.panData);
this.panMenu.Controls.Add(this.panHome);
- this.panMenu.Controls.Add(this.labStatusSelected);
+ this.panMenu.Controls.Add(this.panMeasure);
+ this.panMenu.Controls.Add(this.panCounter);
this.panMenu.Location = new System.Drawing.Point(0, 64);
this.panMenu.Name = "panMenu";
this.panMenu.Size = new System.Drawing.Size(1024, 50);
this.panMenu.TabIndex = 1;
//
- // panStatus
- //
- this.panStatus.Back = System.Drawing.Color.Empty;
- this.panStatus.BackColor = System.Drawing.Color.Transparent;
- this.panStatus.Controls.Add(this.labStatusText);
- this.panStatus.Controls.Add(this.picIconStatus);
- this.panStatus.Location = new System.Drawing.Point(160, 0);
- this.panStatus.MatrixRound = 8;
- this.panStatus.Name = "panStatus";
- this.panStatus.Size = new System.Drawing.Size(130, 47);
- this.panStatus.TabIndex = 1;
- this.panStatus.Click += new System.EventHandler(this.panStatus_Click);
- this.panStatus.MouseLeave += new System.EventHandler(this.panStatus_MouseLeave);
- this.panStatus.MouseHover += new System.EventHandler(this.panStatus_MouseHover);
- //
- // labStatusText
- //
- this.labStatusText.BackColor = System.Drawing.Color.Transparent;
- this.labStatusText.Cursor = System.Windows.Forms.Cursors.Hand;
- this.labStatusText.Font = new System.Drawing.Font("微软雅黑", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
- this.labStatusText.ForeColor = System.Drawing.SystemColors.ControlText;
- this.labStatusText.Location = new System.Drawing.Point(35, 0);
- this.labStatusText.Margin = new System.Windows.Forms.Padding(0);
- this.labStatusText.Name = "labStatusText";
- this.labStatusText.Size = new System.Drawing.Size(85, 47);
- this.labStatusText.TabIndex = 2;
- this.labStatusText.Text = "基准状态";
- this.labStatusText.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
- this.labStatusText.Click += new System.EventHandler(this.panStatus_Click);
- this.labStatusText.MouseLeave += new System.EventHandler(this.panStatus_MouseLeave);
- this.labStatusText.MouseHover += new System.EventHandler(this.panStatus_MouseHover);
- //
- // picIconStatus
- //
- this.picIconStatus.BackgroundImage = global::Casic.Birmm.RbFreqStandMeasure.Properties.Resources.icon_status;
- this.picIconStatus.BackgroundImageLayout = System.Windows.Forms.ImageLayout.Zoom;
- this.picIconStatus.Location = new System.Drawing.Point(10, 11);
- this.picIconStatus.Name = "picIconStatus";
- this.picIconStatus.Size = new System.Drawing.Size(25, 25);
- this.picIconStatus.TabIndex = 1;
- this.picIconStatus.TabStop = false;
- this.picIconStatus.Click += new System.EventHandler(this.panStatus_Click);
- this.picIconStatus.MouseLeave += new System.EventHandler(this.panStatus_MouseLeave);
- this.picIconStatus.MouseHover += new System.EventHandler(this.panStatus_MouseHover);
- //
- // panHome
- //
- this.panHome.Back = System.Drawing.Color.Empty;
- this.panHome.Controls.Add(this.labHomeText);
- this.panHome.Controls.Add(this.picIconHome);
- this.panHome.Controls.Add(this.labHomeSelected);
- this.panHome.Cursor = System.Windows.Forms.Cursors.Hand;
- this.panHome.Location = new System.Drawing.Point(30, 0);
- this.panHome.MatrixRound = 8;
- this.panHome.Name = "panHome";
- this.panHome.Size = new System.Drawing.Size(100, 50);
- this.panHome.TabIndex = 0;
- this.panHome.Click += new System.EventHandler(this.panHome_Click);
- this.panHome.MouseLeave += new System.EventHandler(this.panHome_MouseLeave);
- this.panHome.MouseHover += new System.EventHandler(this.panHome_MouseHover);
- //
- // labHomeText
- //
- this.labHomeText.BackColor = System.Drawing.Color.Transparent;
- this.labHomeText.Font = new System.Drawing.Font("微软雅黑", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
- this.labHomeText.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(18)))), ((int)(((byte)(150)))), ((int)(((byte)(219)))));
- this.labHomeText.Location = new System.Drawing.Point(35, 0);
- this.labHomeText.Margin = new System.Windows.Forms.Padding(0);
- this.labHomeText.Name = "labHomeText";
- this.labHomeText.Size = new System.Drawing.Size(55, 47);
- this.labHomeText.TabIndex = 2;
- this.labHomeText.Text = "首页";
- this.labHomeText.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
- this.labHomeText.Click += new System.EventHandler(this.panHome_Click);
- this.labHomeText.MouseLeave += new System.EventHandler(this.panHome_MouseLeave);
- this.labHomeText.MouseHover += new System.EventHandler(this.panHome_MouseHover);
- //
- // picIconHome
- //
- this.picIconHome.BackColor = System.Drawing.Color.Transparent;
- this.picIconHome.BackgroundImage = global::Casic.Birmm.RbFreqStandMeasure.Properties.Resources.icon_home_selected;
- this.picIconHome.BackgroundImageLayout = System.Windows.Forms.ImageLayout.Zoom;
- this.picIconHome.Location = new System.Drawing.Point(10, 11);
- this.picIconHome.Name = "picIconHome";
- this.picIconHome.Size = new System.Drawing.Size(25, 25);
- this.picIconHome.TabIndex = 1;
- this.picIconHome.TabStop = false;
- this.picIconHome.Click += new System.EventHandler(this.panHome_Click);
- this.picIconHome.MouseLeave += new System.EventHandler(this.panHome_MouseLeave);
- this.picIconHome.MouseHover += new System.EventHandler(this.panHome_MouseHover);
- //
- // labHomeSelected
- //
- this.labHomeSelected.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(18)))), ((int)(((byte)(150)))), ((int)(((byte)(219)))));
- this.labHomeSelected.Location = new System.Drawing.Point(0, 47);
- this.labHomeSelected.Name = "labHomeSelected";
- this.labHomeSelected.Size = new System.Drawing.Size(100, 3);
- this.labHomeSelected.TabIndex = 0;
- //
- // labStatusSelected
- //
- this.labStatusSelected.BackColor = System.Drawing.Color.Transparent;
- this.labStatusSelected.Location = new System.Drawing.Point(160, 47);
- this.labStatusSelected.Margin = new System.Windows.Forms.Padding(0);
- this.labStatusSelected.Name = "labStatusSelected";
- this.labStatusSelected.Size = new System.Drawing.Size(130, 3);
- this.labStatusSelected.TabIndex = 0;
- //
// penBanner
//
this.penBanner.BackgroundImage = global::Casic.Birmm.RbFreqStandMeasure.Properties.Resources.bg_banner;
this.penBanner.BackgroundImageLayout = System.Windows.Forms.ImageLayout.Stretch;
+ this.penBanner.Controls.Add(this.btnMinSys);
this.penBanner.Controls.Add(this.btnExitSys);
this.penBanner.Controls.Add(this.labTitle);
this.penBanner.Location = new System.Drawing.Point(0, 0);
@@ -180,6 +109,23 @@
this.penBanner.TabIndex = 0;
this.penBanner.MouseDown += new System.Windows.Forms.MouseEventHandler(this.RbFreqStdMeas_MouseDown);
//
+ // btnMinSys
+ //
+ this.btnMinSys.BackColor = System.Drawing.Color.Transparent;
+ this.btnMinSys.BackgroundImage = global::Casic.Birmm.RbFreqStandMeasure.Properties.Resources.icon_min;
+ this.btnMinSys.BackgroundImageLayout = System.Windows.Forms.ImageLayout.Stretch;
+ this.btnMinSys.FlatAppearance.BorderSize = 0;
+ this.btnMinSys.FlatStyle = System.Windows.Forms.FlatStyle.Flat;
+ this.btnMinSys.ForeColor = System.Drawing.SystemColors.ControlDarkDark;
+ this.btnMinSys.Location = new System.Drawing.Point(944, 22);
+ this.btnMinSys.Margin = new System.Windows.Forms.Padding(0);
+ this.btnMinSys.Name = "btnMinSys";
+ this.btnMinSys.Size = new System.Drawing.Size(20, 20);
+ this.btnMinSys.TabIndex = 1;
+ this.btnMinSys.UseVisualStyleBackColor = false;
+ this.btnMinSys.Click += new System.EventHandler(this.btnMinSys_Click);
+ this.btnMinSys.MouseHover += new System.EventHandler(this.btnMinSys_MouseHover);
+ //
// btnExitSys
//
this.btnExitSys.BackColor = System.Drawing.Color.Transparent;
@@ -200,7 +146,7 @@
// labTitle
//
this.labTitle.BackColor = System.Drawing.Color.Transparent;
- this.labTitle.Font = new System.Drawing.Font("微软雅黑", 15.75F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
+ this.labTitle.Font = new System.Drawing.Font("微软雅黑", 20F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Pixel, ((byte)(134)));
this.labTitle.ForeColor = System.Drawing.Color.White;
this.labTitle.Location = new System.Drawing.Point(30, 16);
this.labTitle.Name = "labTitle";
@@ -209,11 +155,404 @@
this.labTitle.Text = "铷原子频标比对测量软件";
this.labTitle.TextAlign = System.Drawing.ContentAlignment.MiddleLeft;
//
+ // panDev
+ //
+ this.panDev.Back = System.Drawing.Color.Empty;
+ this.panDev.Controls.Add(this.labDevText);
+ this.panDev.Controls.Add(this.labDevSelected);
+ this.panDev.Controls.Add(this.picIconDev);
+ this.panDev.Location = new System.Drawing.Point(214, 0);
+ this.panDev.MatrixRound = 8;
+ this.panDev.Name = "panDev";
+ this.panDev.Size = new System.Drawing.Size(141, 50);
+ this.panDev.TabIndex = 2;
+ this.panDev.Click += new System.EventHandler(this.panDev_Click);
+ this.panDev.MouseLeave += new System.EventHandler(this.panDev_MouseLeave);
+ this.panDev.MouseHover += new System.EventHandler(this.panDev_MouseHover);
+ //
+ // labDevText
+ //
+ this.labDevText.BackColor = System.Drawing.Color.Transparent;
+ this.labDevText.Cursor = System.Windows.Forms.Cursors.Hand;
+ this.labDevText.Font = new System.Drawing.Font("微软雅黑", 16F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Pixel, ((byte)(134)));
+ this.labDevText.ForeColor = System.Drawing.SystemColors.ControlText;
+ this.labDevText.Location = new System.Drawing.Point(30, 14);
+ this.labDevText.Margin = new System.Windows.Forms.Padding(0);
+ this.labDevText.Name = "labDevText";
+ this.labDevText.Size = new System.Drawing.Size(106, 20);
+ this.labDevText.TabIndex = 2;
+ this.labDevText.Text = "送检仪器管理";
+ this.labDevText.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
+ this.labDevText.Click += new System.EventHandler(this.panDev_Click);
+ this.labDevText.MouseLeave += new System.EventHandler(this.panDev_MouseLeave);
+ this.labDevText.MouseHover += new System.EventHandler(this.panDev_MouseHover);
+ //
+ // labDevSelected
+ //
+ this.labDevSelected.BackColor = System.Drawing.Color.Transparent;
+ this.labDevSelected.Location = new System.Drawing.Point(8, 48);
+ this.labDevSelected.Margin = new System.Windows.Forms.Padding(0);
+ this.labDevSelected.Name = "labDevSelected";
+ this.labDevSelected.Size = new System.Drawing.Size(121, 2);
+ this.labDevSelected.TabIndex = 3;
+ //
+ // picIconDev
+ //
+ this.picIconDev.BackColor = System.Drawing.Color.Transparent;
+ this.picIconDev.BackgroundImage = global::Casic.Birmm.RbFreqStandMeasure.Properties.Resources.icon_dev;
+ this.picIconDev.BackgroundImageLayout = System.Windows.Forms.ImageLayout.Zoom;
+ this.picIconDev.Location = new System.Drawing.Point(10, 14);
+ this.picIconDev.Name = "picIconDev";
+ this.picIconDev.Size = new System.Drawing.Size(20, 20);
+ this.picIconDev.TabIndex = 1;
+ this.picIconDev.TabStop = false;
+ this.picIconDev.Click += new System.EventHandler(this.panDev_Click);
+ this.picIconDev.MouseLeave += new System.EventHandler(this.panDev_MouseLeave);
+ this.picIconDev.MouseHover += new System.EventHandler(this.panDev_MouseHover);
+ //
+ // panSetting
+ //
+ this.panSetting.Back = System.Drawing.Color.Empty;
+ this.panSetting.Controls.Add(this.labSettingSelected);
+ this.panSetting.Controls.Add(this.labSettingText);
+ this.panSetting.Controls.Add(this.picIconSetting);
+ this.panSetting.Location = new System.Drawing.Point(879, 0);
+ this.panSetting.MatrixRound = 8;
+ this.panSetting.Name = "panSetting";
+ this.panSetting.Size = new System.Drawing.Size(109, 50);
+ this.panSetting.TabIndex = 2;
+ this.panSetting.Click += new System.EventHandler(this.panSetting_Click);
+ this.panSetting.MouseLeave += new System.EventHandler(this.panSetting_MouseLeave);
+ this.panSetting.MouseHover += new System.EventHandler(this.panSetting_MouseHover);
+ //
+ // labSettingSelected
+ //
+ this.labSettingSelected.BackColor = System.Drawing.Color.Transparent;
+ this.labSettingSelected.Location = new System.Drawing.Point(10, 48);
+ this.labSettingSelected.Margin = new System.Windows.Forms.Padding(0);
+ this.labSettingSelected.Name = "labSettingSelected";
+ this.labSettingSelected.Size = new System.Drawing.Size(89, 2);
+ this.labSettingSelected.TabIndex = 4;
+ //
+ // labSettingText
+ //
+ this.labSettingText.BackColor = System.Drawing.Color.Transparent;
+ this.labSettingText.Cursor = System.Windows.Forms.Cursors.Hand;
+ this.labSettingText.Font = new System.Drawing.Font("微软雅黑", 16F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Pixel, ((byte)(134)));
+ this.labSettingText.ForeColor = System.Drawing.SystemColors.ControlText;
+ this.labSettingText.Location = new System.Drawing.Point(30, 14);
+ this.labSettingText.Margin = new System.Windows.Forms.Padding(0);
+ this.labSettingText.Name = "labSettingText";
+ this.labSettingText.Size = new System.Drawing.Size(74, 20);
+ this.labSettingText.TabIndex = 2;
+ this.labSettingText.Text = "系统设置";
+ this.labSettingText.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
+ this.labSettingText.Click += new System.EventHandler(this.panSetting_Click);
+ this.labSettingText.MouseLeave += new System.EventHandler(this.panSetting_MouseLeave);
+ this.labSettingText.MouseHover += new System.EventHandler(this.panSetting_MouseHover);
+ //
+ // picIconSetting
+ //
+ this.picIconSetting.BackColor = System.Drawing.Color.Transparent;
+ this.picIconSetting.BackgroundImage = global::Casic.Birmm.RbFreqStandMeasure.Properties.Resources.icon_setting;
+ this.picIconSetting.BackgroundImageLayout = System.Windows.Forms.ImageLayout.Zoom;
+ this.picIconSetting.Location = new System.Drawing.Point(10, 14);
+ this.picIconSetting.Name = "picIconSetting";
+ this.picIconSetting.Size = new System.Drawing.Size(20, 20);
+ this.picIconSetting.TabIndex = 1;
+ this.picIconSetting.TabStop = false;
+ this.picIconSetting.Click += new System.EventHandler(this.panSetting_Click);
+ this.picIconSetting.MouseLeave += new System.EventHandler(this.panSetting_MouseLeave);
+ this.picIconSetting.MouseHover += new System.EventHandler(this.panSetting_MouseHover);
+ //
+ // panStatus
+ //
+ this.panStatus.Back = System.Drawing.Color.Empty;
+ this.panStatus.BackColor = System.Drawing.Color.Transparent;
+ this.panStatus.Controls.Add(this.labStatusText);
+ this.panStatus.Controls.Add(this.picIconStatus);
+ this.panStatus.Controls.Add(this.labStatusSelected);
+ this.panStatus.Location = new System.Drawing.Point(101, 0);
+ this.panStatus.MatrixRound = 8;
+ this.panStatus.Name = "panStatus";
+ this.panStatus.Size = new System.Drawing.Size(109, 50);
+ this.panStatus.TabIndex = 1;
+ this.panStatus.Click += new System.EventHandler(this.panStatus_Click);
+ this.panStatus.MouseLeave += new System.EventHandler(this.panStatus_MouseLeave);
+ this.panStatus.MouseHover += new System.EventHandler(this.panStatus_MouseHover);
+ //
+ // labStatusText
+ //
+ this.labStatusText.BackColor = System.Drawing.Color.Transparent;
+ this.labStatusText.Cursor = System.Windows.Forms.Cursors.Hand;
+ this.labStatusText.Font = new System.Drawing.Font("微软雅黑", 16F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Pixel, ((byte)(134)));
+ this.labStatusText.ForeColor = System.Drawing.SystemColors.ControlText;
+ this.labStatusText.Location = new System.Drawing.Point(30, 14);
+ this.labStatusText.Margin = new System.Windows.Forms.Padding(0);
+ this.labStatusText.Name = "labStatusText";
+ this.labStatusText.Size = new System.Drawing.Size(74, 20);
+ this.labStatusText.TabIndex = 2;
+ this.labStatusText.Text = "基准状态";
+ this.labStatusText.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
+ this.labStatusText.Click += new System.EventHandler(this.panStatus_Click);
+ this.labStatusText.MouseLeave += new System.EventHandler(this.panStatus_MouseLeave);
+ this.labStatusText.MouseHover += new System.EventHandler(this.panStatus_MouseHover);
+ //
+ // picIconStatus
+ //
+ this.picIconStatus.BackgroundImage = global::Casic.Birmm.RbFreqStandMeasure.Properties.Resources.icon_status;
+ this.picIconStatus.BackgroundImageLayout = System.Windows.Forms.ImageLayout.Zoom;
+ this.picIconStatus.Location = new System.Drawing.Point(10, 14);
+ this.picIconStatus.Name = "picIconStatus";
+ this.picIconStatus.Size = new System.Drawing.Size(20, 20);
+ this.picIconStatus.TabIndex = 1;
+ this.picIconStatus.TabStop = false;
+ this.picIconStatus.Click += new System.EventHandler(this.panStatus_Click);
+ this.picIconStatus.MouseLeave += new System.EventHandler(this.panStatus_MouseLeave);
+ this.picIconStatus.MouseHover += new System.EventHandler(this.panStatus_MouseHover);
+ //
+ // labStatusSelected
+ //
+ this.labStatusSelected.BackColor = System.Drawing.Color.Transparent;
+ this.labStatusSelected.Location = new System.Drawing.Point(10, 48);
+ this.labStatusSelected.Margin = new System.Windows.Forms.Padding(0);
+ this.labStatusSelected.Name = "labStatusSelected";
+ this.labStatusSelected.Size = new System.Drawing.Size(89, 2);
+ this.labStatusSelected.TabIndex = 0;
+ //
+ // panData
+ //
+ this.panData.Back = System.Drawing.Color.Empty;
+ this.panData.Controls.Add(this.labDataSelected);
+ this.panData.Controls.Add(this.labDataText);
+ this.panData.Controls.Add(this.picIconData);
+ this.panData.Location = new System.Drawing.Point(765, 0);
+ this.panData.MatrixRound = 8;
+ this.panData.Name = "panData";
+ this.panData.Size = new System.Drawing.Size(109, 50);
+ this.panData.TabIndex = 2;
+ this.panData.Click += new System.EventHandler(this.panData_Click);
+ this.panData.MouseLeave += new System.EventHandler(this.panData_MouseLeave);
+ this.panData.MouseHover += new System.EventHandler(this.panData_MouseHover);
+ //
+ // labDataSelected
+ //
+ this.labDataSelected.BackColor = System.Drawing.Color.Transparent;
+ this.labDataSelected.Location = new System.Drawing.Point(10, 48);
+ this.labDataSelected.Margin = new System.Windows.Forms.Padding(0);
+ this.labDataSelected.Name = "labDataSelected";
+ this.labDataSelected.Size = new System.Drawing.Size(89, 2);
+ this.labDataSelected.TabIndex = 3;
+ //
+ // labDataText
+ //
+ this.labDataText.BackColor = System.Drawing.Color.Transparent;
+ this.labDataText.Cursor = System.Windows.Forms.Cursors.Hand;
+ this.labDataText.Font = new System.Drawing.Font("微软雅黑", 16F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Pixel, ((byte)(134)));
+ this.labDataText.ForeColor = System.Drawing.SystemColors.ControlText;
+ this.labDataText.Location = new System.Drawing.Point(30, 14);
+ this.labDataText.Margin = new System.Windows.Forms.Padding(0);
+ this.labDataText.Name = "labDataText";
+ this.labDataText.Size = new System.Drawing.Size(74, 20);
+ this.labDataText.TabIndex = 2;
+ this.labDataText.Text = "数据管理";
+ this.labDataText.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
+ this.labDataText.Click += new System.EventHandler(this.panData_Click);
+ this.labDataText.MouseLeave += new System.EventHandler(this.panData_MouseLeave);
+ this.labDataText.MouseHover += new System.EventHandler(this.panData_MouseHover);
+ //
+ // picIconData
+ //
+ this.picIconData.BackColor = System.Drawing.Color.Transparent;
+ this.picIconData.BackgroundImage = global::Casic.Birmm.RbFreqStandMeasure.Properties.Resources.icon_data;
+ this.picIconData.BackgroundImageLayout = System.Windows.Forms.ImageLayout.Zoom;
+ this.picIconData.Location = new System.Drawing.Point(10, 14);
+ this.picIconData.Name = "picIconData";
+ this.picIconData.Size = new System.Drawing.Size(20, 20);
+ this.picIconData.TabIndex = 1;
+ this.picIconData.TabStop = false;
+ this.picIconData.Click += new System.EventHandler(this.panData_Click);
+ this.picIconData.MouseLeave += new System.EventHandler(this.panData_MouseLeave);
+ this.picIconData.MouseHover += new System.EventHandler(this.panData_MouseHover);
+ //
+ // panHome
+ //
+ this.panHome.Back = System.Drawing.Color.Empty;
+ this.panHome.Controls.Add(this.labHomeText);
+ this.panHome.Controls.Add(this.picIconHome);
+ this.panHome.Controls.Add(this.labHomeSelected);
+ this.panHome.Cursor = System.Windows.Forms.Cursors.Hand;
+ this.panHome.Location = new System.Drawing.Point(20, 0);
+ this.panHome.MatrixRound = 8;
+ this.panHome.Name = "panHome";
+ this.panHome.Size = new System.Drawing.Size(75, 50);
+ this.panHome.TabIndex = 0;
+ this.panHome.Click += new System.EventHandler(this.panHome_Click);
+ this.panHome.MouseLeave += new System.EventHandler(this.panHome_MouseLeave);
+ this.panHome.MouseHover += new System.EventHandler(this.panHome_MouseHover);
+ //
+ // labHomeText
+ //
+ this.labHomeText.BackColor = System.Drawing.Color.Transparent;
+ this.labHomeText.Font = new System.Drawing.Font("微软雅黑", 16F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Pixel, ((byte)(134)));
+ this.labHomeText.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(18)))), ((int)(((byte)(150)))), ((int)(((byte)(219)))));
+ this.labHomeText.Location = new System.Drawing.Point(30, 14);
+ this.labHomeText.Margin = new System.Windows.Forms.Padding(0);
+ this.labHomeText.Name = "labHomeText";
+ this.labHomeText.Size = new System.Drawing.Size(42, 20);
+ this.labHomeText.TabIndex = 2;
+ this.labHomeText.Text = "首页";
+ this.labHomeText.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
+ this.labHomeText.Click += new System.EventHandler(this.panHome_Click);
+ this.labHomeText.MouseLeave += new System.EventHandler(this.panHome_MouseLeave);
+ this.labHomeText.MouseHover += new System.EventHandler(this.panHome_MouseHover);
+ //
+ // picIconHome
+ //
+ this.picIconHome.BackColor = System.Drawing.Color.Transparent;
+ this.picIconHome.BackgroundImage = global::Casic.Birmm.RbFreqStandMeasure.Properties.Resources.icon_home_selected;
+ this.picIconHome.BackgroundImageLayout = System.Windows.Forms.ImageLayout.Zoom;
+ this.picIconHome.Location = new System.Drawing.Point(10, 14);
+ this.picIconHome.Margin = new System.Windows.Forms.Padding(0);
+ this.picIconHome.Name = "picIconHome";
+ this.picIconHome.Size = new System.Drawing.Size(20, 20);
+ this.picIconHome.TabIndex = 1;
+ this.picIconHome.TabStop = false;
+ this.picIconHome.Click += new System.EventHandler(this.panHome_Click);
+ this.picIconHome.MouseLeave += new System.EventHandler(this.panHome_MouseLeave);
+ this.picIconHome.MouseHover += new System.EventHandler(this.panHome_MouseHover);
+ //
+ // labHomeSelected
+ //
+ this.labHomeSelected.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(18)))), ((int)(((byte)(150)))), ((int)(((byte)(219)))));
+ this.labHomeSelected.Location = new System.Drawing.Point(10, 48);
+ this.labHomeSelected.Name = "labHomeSelected";
+ this.labHomeSelected.Size = new System.Drawing.Size(55, 2);
+ this.labHomeSelected.TabIndex = 0;
+ //
+ // panMeasure
+ //
+ this.panMeasure.Back = System.Drawing.Color.Empty;
+ this.panMeasure.Controls.Add(this.labMeasureText);
+ this.panMeasure.Controls.Add(this.labMeasureSelected);
+ this.panMeasure.Controls.Add(this.picIconMeasure);
+ this.panMeasure.Location = new System.Drawing.Point(619, 0);
+ this.panMeasure.MatrixRound = 8;
+ this.panMeasure.Name = "panMeasure";
+ this.panMeasure.Size = new System.Drawing.Size(141, 50);
+ this.panMeasure.TabIndex = 2;
+ this.panMeasure.Click += new System.EventHandler(this.panMeasure_Click);
+ this.panMeasure.MouseLeave += new System.EventHandler(this.panMeasure_MouseLeave);
+ this.panMeasure.MouseHover += new System.EventHandler(this.panMeasure_MouseHover);
+ //
+ // labMeasureText
+ //
+ this.labMeasureText.BackColor = System.Drawing.Color.Transparent;
+ this.labMeasureText.Cursor = System.Windows.Forms.Cursors.Hand;
+ this.labMeasureText.Font = new System.Drawing.Font("微软雅黑", 16F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Pixel, ((byte)(134)));
+ this.labMeasureText.ForeColor = System.Drawing.SystemColors.ControlText;
+ this.labMeasureText.Location = new System.Drawing.Point(30, 14);
+ this.labMeasureText.Margin = new System.Windows.Forms.Padding(0);
+ this.labMeasureText.Name = "labMeasureText";
+ this.labMeasureText.Size = new System.Drawing.Size(106, 20);
+ this.labMeasureText.TabIndex = 2;
+ this.labMeasureText.Text = "计量信息管理";
+ this.labMeasureText.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
+ this.labMeasureText.Click += new System.EventHandler(this.panMeasure_Click);
+ this.labMeasureText.MouseLeave += new System.EventHandler(this.panMeasure_MouseLeave);
+ this.labMeasureText.MouseHover += new System.EventHandler(this.panMeasure_MouseHover);
+ //
+ // labMeasureSelected
+ //
+ this.labMeasureSelected.BackColor = System.Drawing.Color.Transparent;
+ this.labMeasureSelected.Location = new System.Drawing.Point(10, 48);
+ this.labMeasureSelected.Margin = new System.Windows.Forms.Padding(0);
+ this.labMeasureSelected.Name = "labMeasureSelected";
+ this.labMeasureSelected.Size = new System.Drawing.Size(121, 2);
+ this.labMeasureSelected.TabIndex = 3;
+ //
+ // picIconMeasure
+ //
+ this.picIconMeasure.BackColor = System.Drawing.Color.Transparent;
+ this.picIconMeasure.BackgroundImage = global::Casic.Birmm.RbFreqStandMeasure.Properties.Resources.icon_measure;
+ this.picIconMeasure.BackgroundImageLayout = System.Windows.Forms.ImageLayout.Zoom;
+ this.picIconMeasure.Location = new System.Drawing.Point(10, 14);
+ this.picIconMeasure.Name = "picIconMeasure";
+ this.picIconMeasure.Size = new System.Drawing.Size(20, 20);
+ this.picIconMeasure.TabIndex = 1;
+ this.picIconMeasure.TabStop = false;
+ this.picIconMeasure.Click += new System.EventHandler(this.panMeasure_Click);
+ this.picIconMeasure.MouseLeave += new System.EventHandler(this.panMeasure_MouseLeave);
+ this.picIconMeasure.MouseHover += new System.EventHandler(this.panMeasure_MouseHover);
+ //
+ // panCounter
+ //
+ this.panCounter.Back = System.Drawing.Color.Empty;
+ this.panCounter.Controls.Add(this.labCounterSelected);
+ this.panCounter.Controls.Add(this.labCounterText);
+ this.panCounter.Controls.Add(this.picIconCounter);
+ this.panCounter.Location = new System.Drawing.Point(360, 0);
+ this.panCounter.MatrixRound = 8;
+ this.panCounter.Name = "panCounter";
+ this.panCounter.Size = new System.Drawing.Size(254, 50);
+ this.panCounter.TabIndex = 2;
+ this.panCounter.Click += new System.EventHandler(this.panCounter_Click);
+ this.panCounter.MouseLeave += new System.EventHandler(this.panCounter_MouseLeave);
+ this.panCounter.MouseHover += new System.EventHandler(this.panCounter_MouseHover);
+ //
+ // labCounterSelected
+ //
+ this.labCounterSelected.BackColor = System.Drawing.Color.Transparent;
+ this.labCounterSelected.Location = new System.Drawing.Point(10, 48);
+ this.labCounterSelected.Margin = new System.Windows.Forms.Padding(0);
+ this.labCounterSelected.Name = "labCounterSelected";
+ this.labCounterSelected.Size = new System.Drawing.Size(233, 2);
+ this.labCounterSelected.TabIndex = 4;
+ //
+ // labCounterText
+ //
+ this.labCounterText.BackColor = System.Drawing.Color.Transparent;
+ this.labCounterText.Cursor = System.Windows.Forms.Cursors.Hand;
+ this.labCounterText.Font = new System.Drawing.Font("微软雅黑", 16F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Pixel, ((byte)(134)));
+ this.labCounterText.ForeColor = System.Drawing.SystemColors.ControlText;
+ this.labCounterText.Location = new System.Drawing.Point(30, 14);
+ this.labCounterText.Margin = new System.Windows.Forms.Padding(0);
+ this.labCounterText.Name = "labCounterText";
+ this.labCounterText.Size = new System.Drawing.Size(218, 20);
+ this.labCounterText.TabIndex = 2;
+ this.labCounterText.Text = "频率计数器范围及灵敏度测量";
+ this.labCounterText.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
+ this.labCounterText.Click += new System.EventHandler(this.panCounter_Click);
+ this.labCounterText.MouseLeave += new System.EventHandler(this.panCounter_MouseLeave);
+ this.labCounterText.MouseHover += new System.EventHandler(this.panCounter_MouseHover);
+ //
+ // picIconCounter
+ //
+ this.picIconCounter.BackColor = System.Drawing.Color.Transparent;
+ this.picIconCounter.BackgroundImage = global::Casic.Birmm.RbFreqStandMeasure.Properties.Resources.icon_counter;
+ this.picIconCounter.BackgroundImageLayout = System.Windows.Forms.ImageLayout.Zoom;
+ this.picIconCounter.Location = new System.Drawing.Point(10, 14);
+ this.picIconCounter.Name = "picIconCounter";
+ this.picIconCounter.Size = new System.Drawing.Size(20, 20);
+ this.picIconCounter.TabIndex = 1;
+ this.picIconCounter.TabStop = false;
+ this.picIconCounter.Click += new System.EventHandler(this.panCounter_Click);
+ this.picIconCounter.MouseLeave += new System.EventHandler(this.panCounter_MouseLeave);
+ this.picIconCounter.MouseHover += new System.EventHandler(this.panCounter_MouseHover);
+ //
+ // panelMain
+ //
+ this.panelMain.Location = new System.Drawing.Point(0, 114);
+ this.panelMain.Name = "panelMain";
+ this.panelMain.Size = new System.Drawing.Size(1024, 654);
+ this.panelMain.TabIndex = 2;
+ //
// RbFreqStdMeas
//
this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 12F);
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
this.ClientSize = new System.Drawing.Size(1024, 768);
+ this.Controls.Add(this.panelMain);
this.Controls.Add(this.panMenu);
this.Controls.Add(this.penBanner);
this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.None;
@@ -221,11 +560,21 @@
this.Text = "RbFreqStdMeas";
this.Load += new System.EventHandler(this.RbFreqStdMeas_Load);
this.panMenu.ResumeLayout(false);
+ this.penBanner.ResumeLayout(false);
+ this.panDev.ResumeLayout(false);
+ ((System.ComponentModel.ISupportInitialize)(this.picIconDev)).EndInit();
+ this.panSetting.ResumeLayout(false);
+ ((System.ComponentModel.ISupportInitialize)(this.picIconSetting)).EndInit();
this.panStatus.ResumeLayout(false);
((System.ComponentModel.ISupportInitialize)(this.picIconStatus)).EndInit();
+ this.panData.ResumeLayout(false);
+ ((System.ComponentModel.ISupportInitialize)(this.picIconData)).EndInit();
this.panHome.ResumeLayout(false);
((System.ComponentModel.ISupportInitialize)(this.picIconHome)).EndInit();
- this.penBanner.ResumeLayout(false);
+ this.panMeasure.ResumeLayout(false);
+ ((System.ComponentModel.ISupportInitialize)(this.picIconMeasure)).EndInit();
+ this.panCounter.ResumeLayout(false);
+ ((System.ComponentModel.ISupportInitialize)(this.picIconCounter)).EndInit();
this.ResumeLayout(false);
}
@@ -244,5 +593,27 @@
private RoundPanel panStatus;
private RoundPanel panHome;
private System.Windows.Forms.Label labStatusSelected;
+ private RoundPanel panDev;
+ private System.Windows.Forms.PictureBox picIconDev;
+ private System.Windows.Forms.Label labDevText;
+ private System.Windows.Forms.Label labMeasureSelected;
+ private RoundPanel panCounter;
+ private System.Windows.Forms.Label labCounterText;
+ private System.Windows.Forms.PictureBox picIconCounter;
+ private RoundPanel panMeasure;
+ private System.Windows.Forms.Label labMeasureText;
+ private System.Windows.Forms.PictureBox picIconMeasure;
+ private RoundPanel panData;
+ private System.Windows.Forms.Label labDataText;
+ private System.Windows.Forms.PictureBox picIconData;
+ private RoundPanel panSetting;
+ private System.Windows.Forms.Label labSettingText;
+ private System.Windows.Forms.PictureBox picIconSetting;
+ private System.Windows.Forms.Label labCounterSelected;
+ private System.Windows.Forms.Label labDevSelected;
+ private System.Windows.Forms.Label labDataSelected;
+ private System.Windows.Forms.Label labSettingSelected;
+ private System.Windows.Forms.Button btnMinSys;
+ private System.Windows.Forms.Panel panelMain;
}
}
\ No newline at end of file
diff --git a/RbFreqStandMeasure/RbFreqStdMeas.cs b/RbFreqStandMeasure/RbFreqStdMeas.cs
index 3858ddb..af980d7 100644
--- a/RbFreqStandMeasure/RbFreqStdMeas.cs
+++ b/RbFreqStandMeasure/RbFreqStdMeas.cs
@@ -1,13 +1,9 @@
-using Casic.Birmm.RbFreqStandMeasure.Properties;
+using Casic.Birmm.RbFreqStandMeasure.info;
+using Casic.Birmm.RbFreqStandMeasure.Properties;
+using Casic.Birmm.RbFreqStandMeasure.setting;
using System;
-using System.Collections.Generic;
-using System.ComponentModel;
-using System.Data;
using System.Drawing;
-using System.Linq;
-using System.Resources;
using System.Runtime.InteropServices;
-using System.Text;
using System.Windows.Forms;
namespace Casic.Birmm.RbFreqStandMeasure
@@ -15,7 +11,7 @@
public partial class RbFreqStdMeas : Form
{
- #region 无边框拖动效果
+ #region 无边框拖动效果/最小化窗口/关闭窗口
[DllImport("user32.dll")]//拖动无窗体的控件
public static extern bool ReleaseCapture();
[DllImport("user32.dll")]
@@ -30,9 +26,29 @@
ReleaseCapture();
SendMessage(this.Handle, WM_SYSCOMMAND, SC_MOVE + HTCAPTION, 0);
}
+ private void btnExitSys_Click(object sender, EventArgs e)
+ {
+ Application.Exit();
+ }
+ private void btnMinSys_Click(object sender, EventArgs e)
+ {
+ this.WindowState = FormWindowState.Minimized;
+ }
+ private void btnExitSys_MouseHover(object sender, EventArgs e)
+ {
+ ToolTip p = new ToolTip();
+ p.ShowAlways = true;
+ p.SetToolTip(this.btnExitSys, "退出");
+ }
+ private void btnMinSys_MouseHover(object sender, EventArgs e)
+ {
+ ToolTip p = new ToolTip();
+ p.ShowAlways = true;
+ p.SetToolTip(this.btnMinSys, "最小化");
+ }
#endregion
- private bool[] menuSelected = { true, false };
+ private bool[] menuSelected = { true, false, false, false, false, false, false };
// 按钮图标
private PictureBox[] menuPics;
// 按钮图标的资源名称(选中的资源名称在后面加上 _selected)
@@ -57,7 +73,7 @@
// 将当前按钮的效果设置为默认未选中
this.menuPics[index].BackgroundImage = (Bitmap)Resources.ResourceManager.GetObject(this.menuIconResources[index], null);
- this.menuLabels[index].ForeColor = ColorTranslator.FromHtml("#2C2C2C");
+ this.menuLabels[index].ForeColor = ColorTranslator.FromHtml("#333333");
this.menuUnderlines[index].BackColor = Color.Transparent;
}
@@ -79,13 +95,15 @@
LeaveHome();
// 重新设置所有按钮的状态
- this.menuSelected = new bool[] { true, false };
+ this.menuSelected = new bool[] { true, false, false, false, false, false, false };
// 将新选中的按钮设置为选中
this.picIconHome.BackgroundImage = (Bitmap)Resources.ResourceManager.GetObject("icon_home_selected", null);
- this.labHomeText.ForeColor = ColorTranslator.FromHtml("#1296db");
- this.labHomeSelected.BackColor = ColorTranslator.FromHtml("#1296db");
+ this.labHomeText.ForeColor = ColorTranslator.FromHtml("#3f84d7");
+ this.labHomeSelected.BackColor = ColorTranslator.FromHtml("#3f84d7");
+ // 切换至首页
+ switchMainPanel(0);
}
#endregion
@@ -107,12 +125,163 @@
LeaveStatus();
// 重新设置所有按钮的状态
- this.menuSelected = new bool[] { false, true };
+ this.menuSelected = new bool[] { false, true, false, false, false, false, false };
// 将新选中的按钮设置为选中
this.picIconStatus.BackgroundImage = (Bitmap) Resources.ResourceManager.GetObject("icon_status_selected", null);
- this.labStatusText.ForeColor = ColorTranslator.FromHtml("#1296db");
- this.labStatusSelected.BackColor = ColorTranslator.FromHtml("#1296db");
+ this.labStatusText.ForeColor = ColorTranslator.FromHtml("#3f84d7");
+ this.labStatusSelected.BackColor = ColorTranslator.FromHtml("#3f84d7");
+
+ // 切换到基准状态页面
+ switchMainPanel(1);
+ }
+ #endregion
+
+ #region 送检仪器按钮点击、移入/移出效果
+ private void HoverDev()
+ {
+ panDev.Back = ColorTranslator.FromHtml("#56a3f2");
+ }
+ private void LeaveDev()
+ {
+ panDev.Back = Color.Transparent;
+ }
+ private void SelectDev()
+ {
+ // 移除所有按钮的选中样式
+ this.ClearAllMenuSelected();
+
+ // 鼠标移入效果去掉
+ LeaveDev();
+
+ // 重新设置所有按钮的状态
+ this.menuSelected = new bool[] { false, false, true, false, false ,false ,false };
+
+ // 将新选中的按钮设置为选中
+ this.picIconDev.BackgroundImage = (Bitmap)Resources.ResourceManager.GetObject("icon_dev_selected", null);
+ this.labDevText.ForeColor = ColorTranslator.FromHtml("#3f84d7");
+ this.labDevSelected.BackColor = ColorTranslator.FromHtml("#3f84d7");
+
+ // 切换至待检仪器管理
+ switchMainPanel(2);
+ }
+ #endregion
+
+ #region 频率计数器测量点击、移入/移出效果
+ private void HoverCounter()
+ {
+ panCounter.Back = ColorTranslator.FromHtml("#56a3f2");
+ }
+ private void LeaveCounter()
+ {
+ panCounter.Back = Color.Transparent;
+ }
+ private void SelectCounter()
+ {
+ // 移除所有按钮的选中样式
+ this.ClearAllMenuSelected();
+
+ // 鼠标移入效果去掉
+ LeaveCounter();
+
+ // 重新设置所有按钮的状态
+ this.menuSelected = new bool[] { false, false, false, true, false, false, false };
+
+ // 将新选中的按钮设置为选中
+ this.picIconCounter.BackgroundImage = (Bitmap)Resources.ResourceManager.GetObject("icon_counter_selected", null);
+ this.labCounterText.ForeColor = ColorTranslator.FromHtml("#3f84d7");
+ this.labCounterSelected.BackColor = ColorTranslator.FromHtml("#3f84d7");
+ }
+ #endregion
+
+ #region 计量管理点击、移入/移出效果
+ private void HoverMeasure()
+ {
+ panMeasure.Back = ColorTranslator.FromHtml("#56a3f2");
+ }
+ private void LeaveMeasure()
+ {
+ panMeasure.Back = Color.Transparent;
+ }
+ private void SelectMeasure()
+ {
+ // 移除所有按钮的选中样式
+ this.ClearAllMenuSelected();
+
+ // 鼠标移入效果去掉
+ LeaveMeasure();
+
+ // 重新设置所有按钮的状态
+ this.menuSelected = new bool[] { false, false, false, false, true, false, false };
+
+ // 将新选中的按钮设置为选中
+ this.picIconMeasure.BackgroundImage = (Bitmap)Resources.ResourceManager.GetObject("icon_measure_selected", null);
+ this.labMeasureText.ForeColor = ColorTranslator.FromHtml("#3f84d7");
+ this.labMeasureSelected.BackColor = ColorTranslator.FromHtml("#3f84d7");
+
+ // 切换至计量信息管理
+ switchMainPanel(4);
+ }
+ #endregion
+
+ #region 数据管理点击、移入/移出效果
+ private void HoverData()
+ {
+ panData.Back = ColorTranslator.FromHtml("#56a3f2");
+ }
+ private void LeaveData()
+ {
+ panData.Back = Color.Transparent;
+ }
+ private void SelectData()
+ {
+ // 移除所有按钮的选中样式
+ this.ClearAllMenuSelected();
+
+ // 鼠标移入效果去掉
+ LeaveData();
+
+ // 重新设置所有按钮的状态
+ this.menuSelected = new bool[] { false, false, false, false, false, true, false };
+
+ // 将新选中的按钮设置为选中
+ this.picIconData.BackgroundImage = (Bitmap)Resources.ResourceManager.GetObject("icon_data_selected", null);
+ this.labDataText.ForeColor = ColorTranslator.FromHtml("#3f84d7");
+ this.labDataSelected.BackColor = ColorTranslator.FromHtml("#3f84d7");
+
+ // 弹出对话框进行数据备份与还原操作
+ DataBackupDlg dataDlg = new DataBackupDlg();
+ dataDlg.ShowDialog();
+ }
+ #endregion
+
+ #region 系统管理点击、移入/移出效果
+ private void HoverSetting()
+ {
+ panSetting.Back = ColorTranslator.FromHtml("#56a3f2");
+ }
+ private void LeaveSetting()
+ {
+ panSetting.Back = Color.Transparent;
+ }
+ private void SelectSetting()
+ {
+ // 移除所有按钮的选中样式
+ this.ClearAllMenuSelected();
+
+ // 鼠标移入效果去掉
+ LeaveSetting();
+
+ // 重新设置所有按钮的状态
+ this.menuSelected = new bool[] { false, false, false, false, false, false, true };
+
+ // 将新选中的按钮设置为选中
+ this.picIconSetting.BackgroundImage = (Bitmap)Resources.ResourceManager.GetObject("icon_setting_selected", null);
+ this.labSettingText.ForeColor = ColorTranslator.FromHtml("#3f84d7");
+ this.labSettingSelected.BackColor = ColorTranslator.FromHtml("#3f84d7");
+
+ // 切换到设置的界面
+ switchMainPanel(6);
}
#endregion
@@ -123,22 +292,13 @@
private void RbFreqStdMeas_Load(object sender, EventArgs e)
{
- this.menuPics = new PictureBox[] { this.picIconHome, this.picIconStatus };
- this.menuLabels = new Label[] { this.labHomeText, this.labStatusText };
- this.menuUnderlines = new Label[] { this.labHomeSelected, this.labStatusSelected };
- this.menuIconResources = new string[] { "icon_home", "icon_status" };
- }
+ this.menuPics = new PictureBox[] { this.picIconHome, this.picIconStatus, this.picIconDev, this.picIconCounter, this.picIconMeasure, this.picIconData, this.picIconSetting };
+ this.menuLabels = new Label[] { this.labHomeText, this.labStatusText, this.labDevText, this.labCounterText, this.labMeasureText, this.labDataText, this.labSettingText };
+ this.menuUnderlines = new Label[] { this.labHomeSelected, this.labStatusSelected, this.labDevSelected, this.labCounterSelected, this.labMeasureSelected, this.labDataSelected, this.labSettingSelected };
+ this.menuIconResources = new string[] { "icon_home", "icon_status", "icon_dev", "icon_counter", "icon_measure", "icon_data", "icon_setting" };
- private void btnExitSys_Click(object sender, EventArgs e)
- {
- Application.Exit();
- }
-
- private void btnExitSys_MouseHover(object sender, EventArgs e)
- {
- ToolTip p = new ToolTip();
- p.ShowAlways = true;
- p.SetToolTip(this.btnExitSys, "退出");
+ // 加载首页的内容
+ switchMainPanel(0);
}
private void panHome_Click(object sender, EventArgs e)
@@ -191,5 +351,169 @@
LeaveStatus();
}
}
+
+ private void panDev_Click(object sender, EventArgs e)
+ {
+ if (this.menuSelected[2] == false)
+ {
+ SelectDev();
+ }
+ }
+
+ private void panDev_MouseHover(object sender, EventArgs e)
+ {
+ if (this.menuSelected[2] == false)
+ {
+ HoverDev();
+ }
+ }
+
+ private void panDev_MouseLeave(object sender, EventArgs e)
+ {
+ if (this.menuSelected[2] == false)
+ {
+ LeaveDev();
+ }
+ }
+
+ private void panCounter_Click(object sender, EventArgs e)
+ {
+ if (this.menuSelected[3] == false)
+ {
+ SelectCounter();
+ }
+ }
+
+ private void panCounter_MouseHover(object sender, EventArgs e)
+ {
+ if (this.menuSelected[3] == false)
+ {
+ HoverCounter();
+ }
+ }
+
+ private void panCounter_MouseLeave(object sender, EventArgs e)
+ {
+ if (this.menuSelected[3] == false)
+ {
+ LeaveCounter();
+ }
+ }
+
+ private void panMeasure_Click(object sender, EventArgs e)
+ {
+ if (this.menuSelected[4] == false)
+ {
+ SelectMeasure();
+ }
+ }
+
+ private void panMeasure_MouseHover(object sender, EventArgs e)
+ {
+ if (this.menuSelected[4] == false)
+ {
+ HoverMeasure();
+ }
+ }
+
+ private void panMeasure_MouseLeave(object sender, EventArgs e)
+ {
+ if (this.menuSelected[4] == false)
+ {
+ LeaveMeasure();
+ }
+ }
+
+ private void panData_Click(object sender, EventArgs e)
+ {
+ if (this.menuSelected[5] == false)
+ {
+ SelectData();
+ }
+ }
+
+ private void panData_MouseHover(object sender, EventArgs e)
+ {
+ if (this.menuSelected[5] == false)
+ {
+ HoverData();
+ }
+ }
+
+ private void panData_MouseLeave(object sender, EventArgs e)
+ {
+ if (this.menuSelected[5] == false)
+ {
+ LeaveData();
+ }
+ }
+
+ private void panSetting_Click(object sender, EventArgs e)
+ {
+ if (this.menuSelected[6] == false)
+ {
+ SelectSetting();
+ }
+ }
+
+ private void panSetting_MouseHover(object sender, EventArgs e)
+ {
+ if (this.menuSelected[6] == false)
+ {
+ HoverSetting();
+ }
+ }
+
+ private void panSetting_MouseLeave(object sender, EventArgs e)
+ {
+ if (this.menuSelected[6] == false)
+ {
+ LeaveSetting();
+ }
+ }
+
+ private void switchMainPanel(int index)
+ {
+ this.panelMain.Controls.Clear();
+
+ switch (index)
+ {
+ case 0: // 首页
+ HomeCtrlForm home = new HomeCtrlForm();
+ home.Show();
+ this.panelMain.Controls.Add(home);
+ break;
+
+ case 1: // 基准状态
+ StatusCtrlForm statusForm = new StatusCtrlForm();
+ statusForm.Show();
+ this.panelMain.Controls.Add(statusForm);
+ break;
+
+ case 2: // 待检设备
+ InfoCtrlForm infoForm = new InfoCtrlForm();
+ infoForm.Show();
+ this.panelMain.Controls.Add(infoForm);
+ break;
+
+ case 3: // 频率计数器范围
+ break;
+
+ case 4: // 计量信息
+ DevTestedCtrlForm tested = new DevTestedCtrlForm();
+ tested.Show();
+ this.panelMain.Controls.Add(tested);
+ break;
+
+ case 6: // 设置
+ SettingCtrlForm settingForm = new SettingCtrlForm();
+ settingForm.Show();
+ this.panelMain.Controls.Add(settingForm);
+ break;
+
+ default:
+ break;
+ }
+ }
}
}
\ No newline at end of file
diff --git a/RbFreqStandMeasure/StatusCtrlForm.Designer.cs b/RbFreqStandMeasure/StatusCtrlForm.Designer.cs
index bf5071a..b4151fd 100644
--- a/RbFreqStandMeasure/StatusCtrlForm.Designer.cs
+++ b/RbFreqStandMeasure/StatusCtrlForm.Designer.cs
@@ -31,21 +31,34 @@
{
this.panelSite = new System.Windows.Forms.Panel();
this.label5 = new System.Windows.Forms.Label();
- this.panelStatus = new System.Windows.Forms.Panel();
+ this.panel3 = new System.Windows.Forms.Panel();
+ this.label8 = new System.Windows.Forms.Label();
+ this.label13 = new System.Windows.Forms.Label();
+ this.label12 = new System.Windows.Forms.Label();
+ this.label11 = new System.Windows.Forms.Label();
+ this.label9 = new System.Windows.Forms.Label();
+ this.label10 = new System.Windows.Forms.Label();
+ this.panel2 = new System.Windows.Forms.Panel();
this.label4 = new System.Windows.Forms.Label();
+ this.label7 = new System.Windows.Forms.Label();
+ this.label6 = new System.Windows.Forms.Label();
+ this.label1 = new System.Windows.Forms.Label();
+ this.panel1 = new System.Windows.Forms.Panel();
this.label3 = new System.Windows.Forms.Label();
this.label2 = new System.Windows.Forms.Label();
- this.label1 = new System.Windows.Forms.Label();
+ this.label14 = new System.Windows.Forms.Label();
this.panelSite.SuspendLayout();
- this.panelStatus.SuspendLayout();
+ this.panel3.SuspendLayout();
+ this.panel2.SuspendLayout();
+ this.panel1.SuspendLayout();
this.SuspendLayout();
//
// panelSite
//
this.panelSite.Controls.Add(this.label5);
- this.panelSite.Location = new System.Drawing.Point(200, 0);
+ this.panelSite.Location = new System.Drawing.Point(232, 0);
this.panelSite.Name = "panelSite";
- this.panelSite.Size = new System.Drawing.Size(800, 640);
+ this.panelSite.Size = new System.Drawing.Size(773, 640);
this.panelSite.TabIndex = 3;
//
// label5
@@ -57,67 +70,208 @@
this.label5.TabIndex = 0;
this.label5.Text = "卫星位置图";
//
- // panelStatus
+ // panel3
//
- this.panelStatus.BackColor = System.Drawing.SystemColors.Window;
- this.panelStatus.Controls.Add(this.label4);
- this.panelStatus.Controls.Add(this.label3);
- this.panelStatus.Controls.Add(this.label2);
- this.panelStatus.Controls.Add(this.label1);
- this.panelStatus.Location = new System.Drawing.Point(0, 0);
- this.panelStatus.Name = "panelStatus";
- this.panelStatus.Size = new System.Drawing.Size(200, 640);
- this.panelStatus.TabIndex = 2;
+ this.panel3.BackgroundImage = global::Casic.Birmm.RbFreqStandMeasure.Properties.Resources.bg_status_location;
+ this.panel3.Controls.Add(this.label8);
+ this.panel3.Controls.Add(this.label13);
+ this.panel3.Controls.Add(this.label12);
+ this.panel3.Controls.Add(this.label11);
+ this.panel3.Controls.Add(this.label9);
+ this.panel3.Controls.Add(this.label10);
+ this.panel3.Location = new System.Drawing.Point(6, 360);
+ this.panel3.Name = "panel3";
+ this.panel3.Size = new System.Drawing.Size(224, 293);
+ this.panel3.TabIndex = 6;
+ //
+ // label8
+ //
+ this.label8.BackColor = System.Drawing.Color.Transparent;
+ this.label8.Font = new System.Drawing.Font("微软雅黑", 14F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Pixel, ((byte)(134)));
+ this.label8.Location = new System.Drawing.Point(0, 20);
+ this.label8.Name = "label8";
+ this.label8.Size = new System.Drawing.Size(224, 25);
+ this.label8.TabIndex = 0;
+ this.label8.Text = "位置信息";
+ this.label8.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
+ //
+ // label13
+ //
+ this.label13.BackColor = System.Drawing.Color.Transparent;
+ this.label13.Font = new System.Drawing.Font("微软雅黑", 14F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Pixel, ((byte)(134)));
+ this.label13.Location = new System.Drawing.Point(0, 220);
+ this.label13.Margin = new System.Windows.Forms.Padding(0);
+ this.label13.Name = "label13";
+ this.label13.Size = new System.Drawing.Size(75, 25);
+ this.label13.TabIndex = 1;
+ this.label13.Text = "Z";
+ this.label13.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
+ //
+ // label12
+ //
+ this.label12.BackColor = System.Drawing.Color.Transparent;
+ this.label12.Font = new System.Drawing.Font("微软雅黑", 14F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Pixel, ((byte)(134)));
+ this.label12.Location = new System.Drawing.Point(0, 180);
+ this.label12.Margin = new System.Windows.Forms.Padding(0);
+ this.label12.Name = "label12";
+ this.label12.Size = new System.Drawing.Size(75, 25);
+ this.label12.TabIndex = 1;
+ this.label12.Text = "Y";
+ this.label12.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
+ //
+ // label11
+ //
+ this.label11.BackColor = System.Drawing.Color.Transparent;
+ this.label11.Font = new System.Drawing.Font("微软雅黑", 14F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Pixel, ((byte)(134)));
+ this.label11.Location = new System.Drawing.Point(0, 140);
+ this.label11.Margin = new System.Windows.Forms.Padding(0);
+ this.label11.Name = "label11";
+ this.label11.Size = new System.Drawing.Size(75, 25);
+ this.label11.TabIndex = 1;
+ this.label11.Text = "X";
+ this.label11.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
+ //
+ // label9
+ //
+ this.label9.BackColor = System.Drawing.Color.Transparent;
+ this.label9.Font = new System.Drawing.Font("微软雅黑", 14F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Pixel, ((byte)(134)));
+ this.label9.Location = new System.Drawing.Point(0, 60);
+ this.label9.Name = "label9";
+ this.label9.Size = new System.Drawing.Size(75, 25);
+ this.label9.TabIndex = 1;
+ this.label9.Text = "经度";
+ this.label9.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
+ //
+ // label10
+ //
+ this.label10.BackColor = System.Drawing.Color.Transparent;
+ this.label10.Font = new System.Drawing.Font("微软雅黑", 14F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Pixel, ((byte)(134)));
+ this.label10.Location = new System.Drawing.Point(0, 100);
+ this.label10.Margin = new System.Windows.Forms.Padding(0);
+ this.label10.Name = "label10";
+ this.label10.Size = new System.Drawing.Size(75, 25);
+ this.label10.TabIndex = 1;
+ this.label10.Text = "纬度";
+ this.label10.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
+ //
+ // panel2
+ //
+ this.panel2.BackgroundImage = global::Casic.Birmm.RbFreqStandMeasure.Properties.Resources.bg_status_time;
+ this.panel2.Controls.Add(this.label4);
+ this.panel2.Controls.Add(this.label7);
+ this.panel2.Controls.Add(this.label6);
+ this.panel2.Controls.Add(this.label1);
+ this.panel2.Location = new System.Drawing.Point(6, 160);
+ this.panel2.Name = "panel2";
+ this.panel2.Size = new System.Drawing.Size(224, 200);
+ this.panel2.TabIndex = 5;
//
// label4
//
- this.label4.AutoSize = true;
- this.label4.Location = new System.Drawing.Point(59, 185);
+ this.label4.BackColor = System.Drawing.Color.Transparent;
+ this.label4.Font = new System.Drawing.Font("微软雅黑", 14F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Pixel, ((byte)(134)));
+ this.label4.Location = new System.Drawing.Point(0, 20);
this.label4.Name = "label4";
- this.label4.Size = new System.Drawing.Size(53, 12);
+ this.label4.Size = new System.Drawing.Size(224, 25);
this.label4.TabIndex = 0;
- this.label4.Text = "事件信息";
+ this.label4.Text = "时间信息";
+ this.label4.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
//
- // label3
+ // label7
//
- this.label3.AutoSize = true;
- this.label3.Location = new System.Drawing.Point(59, 139);
- this.label3.Name = "label3";
- this.label3.Size = new System.Drawing.Size(53, 12);
- this.label3.TabIndex = 0;
- this.label3.Text = "位置信息";
+ this.label7.BackColor = System.Drawing.Color.Transparent;
+ this.label7.Font = new System.Drawing.Font("微软雅黑", 14F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Pixel, ((byte)(134)));
+ this.label7.Location = new System.Drawing.Point(0, 140);
+ this.label7.Margin = new System.Windows.Forms.Padding(0);
+ this.label7.Name = "label7";
+ this.label7.Size = new System.Drawing.Size(75, 25);
+ this.label7.TabIndex = 1;
+ this.label7.Text = "MJD";
+ this.label7.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
//
- // label2
+ // label6
//
- this.label2.AutoSize = true;
- this.label2.Location = new System.Drawing.Point(59, 98);
- this.label2.Name = "label2";
- this.label2.Size = new System.Drawing.Size(53, 12);
- this.label2.TabIndex = 0;
- this.label2.Text = "锁定状态";
+ this.label6.BackColor = System.Drawing.Color.Transparent;
+ this.label6.Font = new System.Drawing.Font("微软雅黑", 14F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Pixel, ((byte)(134)));
+ this.label6.Location = new System.Drawing.Point(0, 100);
+ this.label6.Name = "label6";
+ this.label6.Size = new System.Drawing.Size(75, 25);
+ this.label6.TabIndex = 1;
+ this.label6.Text = "时间";
+ this.label6.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
//
// label1
//
- this.label1.AutoSize = true;
- this.label1.Location = new System.Drawing.Point(33, 53);
+ this.label1.BackColor = System.Drawing.Color.Transparent;
+ this.label1.Font = new System.Drawing.Font("微软雅黑", 14F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Pixel, ((byte)(134)));
+ this.label1.Location = new System.Drawing.Point(0, 60);
this.label1.Name = "label1";
- this.label1.Size = new System.Drawing.Size(29, 12);
- this.label1.TabIndex = 0;
- this.label1.Text = "状态";
+ this.label1.Size = new System.Drawing.Size(75, 25);
+ this.label1.TabIndex = 1;
+ this.label1.Text = "日期";
+ this.label1.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
+ //
+ // panel1
+ //
+ this.panel1.BackgroundImage = global::Casic.Birmm.RbFreqStandMeasure.Properties.Resources.bg_status_base;
+ this.panel1.Controls.Add(this.label3);
+ this.panel1.Controls.Add(this.label2);
+ this.panel1.Controls.Add(this.label14);
+ this.panel1.Location = new System.Drawing.Point(6, 0);
+ this.panel1.Margin = new System.Windows.Forms.Padding(0);
+ this.panel1.Name = "panel1";
+ this.panel1.Size = new System.Drawing.Size(224, 160);
+ this.panel1.TabIndex = 4;
+ //
+ // label3
+ //
+ this.label3.BackColor = System.Drawing.Color.Transparent;
+ this.label3.Font = new System.Drawing.Font("微软雅黑", 14F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Pixel, ((byte)(134)));
+ this.label3.Location = new System.Drawing.Point(0, 100);
+ this.label3.Name = "label3";
+ this.label3.Size = new System.Drawing.Size(75, 25);
+ this.label3.TabIndex = 1;
+ this.label3.Text = "接收机";
+ this.label3.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
+ //
+ // label2
+ //
+ this.label2.BackColor = System.Drawing.Color.Transparent;
+ this.label2.Font = new System.Drawing.Font("微软雅黑", 14F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Pixel, ((byte)(134)));
+ this.label2.Location = new System.Drawing.Point(0, 60);
+ this.label2.Name = "label2";
+ this.label2.Size = new System.Drawing.Size(75, 25);
+ this.label2.TabIndex = 1;
+ this.label2.Text = "原子钟";
+ this.label2.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
+ //
+ // label14
+ //
+ this.label14.BackColor = System.Drawing.Color.Transparent;
+ this.label14.Font = new System.Drawing.Font("微软雅黑", 14F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Pixel, ((byte)(134)));
+ this.label14.Location = new System.Drawing.Point(0, 20);
+ this.label14.Name = "label14";
+ this.label14.Size = new System.Drawing.Size(224, 25);
+ this.label14.TabIndex = 0;
+ this.label14.Text = "基本信息";
+ this.label14.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
//
// StatusCtrlForm
//
this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 12F);
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
+ this.Controls.Add(this.panel3);
+ this.Controls.Add(this.panel2);
+ this.Controls.Add(this.panel1);
this.Controls.Add(this.panelSite);
- this.Controls.Add(this.panelStatus);
this.Margin = new System.Windows.Forms.Padding(10);
this.Name = "StatusCtrlForm";
- this.Size = new System.Drawing.Size(1000, 640);
+ this.Size = new System.Drawing.Size(1024, 654);
this.panelSite.ResumeLayout(false);
this.panelSite.PerformLayout();
- this.panelStatus.ResumeLayout(false);
- this.panelStatus.PerformLayout();
+ this.panel3.ResumeLayout(false);
+ this.panel2.ResumeLayout(false);
+ this.panel1.ResumeLayout(false);
this.ResumeLayout(false);
}
@@ -126,10 +280,21 @@
private System.Windows.Forms.Panel panelSite;
private System.Windows.Forms.Label label5;
- private System.Windows.Forms.Panel panelStatus;
+ private System.Windows.Forms.Panel panel3;
+ private System.Windows.Forms.Label label8;
+ private System.Windows.Forms.Label label13;
+ private System.Windows.Forms.Label label12;
+ private System.Windows.Forms.Label label11;
+ private System.Windows.Forms.Label label9;
+ private System.Windows.Forms.Label label10;
+ private System.Windows.Forms.Panel panel2;
private System.Windows.Forms.Label label4;
+ private System.Windows.Forms.Label label7;
+ private System.Windows.Forms.Label label6;
+ private System.Windows.Forms.Label label1;
+ private System.Windows.Forms.Panel panel1;
private System.Windows.Forms.Label label3;
private System.Windows.Forms.Label label2;
- private System.Windows.Forms.Label label1;
+ private System.Windows.Forms.Label label14;
}
}
diff --git a/RbFreqStandMeasure/res/images/bg_banner.png b/RbFreqStandMeasure/res/images/bg_banner.png
index d795b7d..3119070 100644
--- a/RbFreqStandMeasure/res/images/bg_banner.png
+++ b/RbFreqStandMeasure/res/images/bg_banner.png
Binary files differ
diff --git a/RbFreqStandMeasure/res/images/bg_dev_channel.png b/RbFreqStandMeasure/res/images/bg_dev_channel.png
new file mode 100644
index 0000000..7bac7ce
--- /dev/null
+++ b/RbFreqStandMeasure/res/images/bg_dev_channel.png
Binary files differ
diff --git a/RbFreqStandMeasure/res/images/bg_dev_tested.png b/RbFreqStandMeasure/res/images/bg_dev_tested.png
new file mode 100644
index 0000000..0b43ead
--- /dev/null
+++ b/RbFreqStandMeasure/res/images/bg_dev_tested.png
Binary files differ
diff --git a/RbFreqStandMeasure/res/images/bg_status_base.png b/RbFreqStandMeasure/res/images/bg_status_base.png
new file mode 100644
index 0000000..ef11397
--- /dev/null
+++ b/RbFreqStandMeasure/res/images/bg_status_base.png
Binary files differ
diff --git a/RbFreqStandMeasure/HomeCtrlForm.Designer.cs b/RbFreqStandMeasure/HomeCtrlForm.Designer.cs
index fb515f8..73e477a 100644
--- a/RbFreqStandMeasure/HomeCtrlForm.Designer.cs
+++ b/RbFreqStandMeasure/HomeCtrlForm.Designer.cs
@@ -29,589 +29,271 @@
///
private void InitializeComponent()
{
- System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle1 = new System.Windows.Forms.DataGridViewCellStyle();
- System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle2 = new System.Windows.Forms.DataGridViewCellStyle();
- this.panelToBeTested = new System.Windows.Forms.Panel();
- this.dataGridViewX1 = new DevComponents.DotNetBar.Controls.DataGridViewX();
- this.Column13 = new System.Windows.Forms.DataGridViewTextBoxColumn();
- this.Column14 = new System.Windows.Forms.DataGridViewTextBoxColumn();
- this.Column15 = new System.Windows.Forms.DataGridViewTextBoxColumn();
- this.Column16 = new System.Windows.Forms.DataGridViewTextBoxColumn();
- this.Column17 = new System.Windows.Forms.DataGridViewTextBoxColumn();
- this.panelEx1 = new DevComponents.DotNetBar.PanelEx();
- this.labelX6 = new DevComponents.DotNetBar.LabelX();
- this.labelX5 = new DevComponents.DotNetBar.LabelX();
- this.labelX4 = new DevComponents.DotNetBar.LabelX();
- this.labelX3 = new DevComponents.DotNetBar.LabelX();
- this.labelX2 = new DevComponents.DotNetBar.LabelX();
- this.labelX1 = new DevComponents.DotNetBar.LabelX();
- this.panelEx2 = new DevComponents.DotNetBar.PanelEx();
- this.labelX7 = new DevComponents.DotNetBar.LabelX();
- this.labelX8 = new DevComponents.DotNetBar.LabelX();
- this.labelX10 = new DevComponents.DotNetBar.LabelX();
- this.labelX9 = new DevComponents.DotNetBar.LabelX();
- this.panelEx3 = new DevComponents.DotNetBar.PanelEx();
- this.labelX11 = new DevComponents.DotNetBar.LabelX();
- this.labelX13 = new DevComponents.DotNetBar.LabelX();
- this.labelX12 = new DevComponents.DotNetBar.LabelX();
- this.panelEx4 = new DevComponents.DotNetBar.PanelEx();
- this.dataGridViewX2 = new DevComponents.DotNetBar.Controls.DataGridViewX();
- this.Column18 = new System.Windows.Forms.DataGridViewTextBoxColumn();
- this.Column19 = new System.Windows.Forms.DataGridViewTextBoxColumn();
- this.Column20 = new System.Windows.Forms.DataGridViewTextBoxColumn();
- this.Column21 = new System.Windows.Forms.DataGridViewTextBoxColumn();
- this.Column22 = new System.Windows.Forms.DataGridViewTextBoxColumn();
- this.Column23 = new System.Windows.Forms.DataGridViewTextBoxColumn();
- this.Column24 = new System.Windows.Forms.DataGridViewTextBoxColumn();
- this.Column25 = new System.Windows.Forms.DataGridViewTextBoxColumn();
- this.Column26 = new System.Windows.Forms.DataGridViewTextBoxColumn();
- this.Column27 = new System.Windows.Forms.DataGridViewTextBoxColumn();
- this.Column28 = new System.Windows.Forms.DataGridViewTextBoxColumn();
- this.Column29 = new System.Windows.Forms.DataGridViewTextBoxColumn();
- this.buttonX1 = new DevComponents.DotNetBar.ButtonX();
- this.buttonX2 = new DevComponents.DotNetBar.ButtonX();
+ this.panel3 = new System.Windows.Forms.Panel();
+ this.panel2 = new System.Windows.Forms.Panel();
+ this.panel1 = new System.Windows.Forms.Panel();
+ this.panel4 = new System.Windows.Forms.Panel();
+ this.panel5 = new System.Windows.Forms.Panel();
this.label1 = new System.Windows.Forms.Label();
this.label2 = new System.Windows.Forms.Label();
- this.panelToBeTested.SuspendLayout();
- ((System.ComponentModel.ISupportInitialize)(this.dataGridViewX1)).BeginInit();
- this.panelEx1.SuspendLayout();
- this.panelEx2.SuspendLayout();
- this.panelEx3.SuspendLayout();
- this.panelEx4.SuspendLayout();
- ((System.ComponentModel.ISupportInitialize)(this.dataGridViewX2)).BeginInit();
+ this.label3 = new System.Windows.Forms.Label();
+ this.label4 = new System.Windows.Forms.Label();
+ this.label5 = new System.Windows.Forms.Label();
+ this.label6 = new System.Windows.Forms.Label();
+ this.label7 = new System.Windows.Forms.Label();
+ this.label8 = new System.Windows.Forms.Label();
+ this.label9 = new System.Windows.Forms.Label();
+ this.label10 = new System.Windows.Forms.Label();
+ this.label11 = new System.Windows.Forms.Label();
+ this.label12 = new System.Windows.Forms.Label();
+ this.label13 = new System.Windows.Forms.Label();
+ this.panel3.SuspendLayout();
+ this.panel2.SuspendLayout();
+ this.panel1.SuspendLayout();
this.SuspendLayout();
//
- // panelToBeTested
+ // panel3
//
- this.panelToBeTested.Controls.Add(this.dataGridViewX1);
- this.panelToBeTested.Controls.Add(this.buttonX2);
- this.panelToBeTested.Controls.Add(this.buttonX1);
- this.panelToBeTested.Location = new System.Drawing.Point(250, 0);
- this.panelToBeTested.Name = "panelToBeTested";
- this.panelToBeTested.Size = new System.Drawing.Size(750, 216);
- this.panelToBeTested.TabIndex = 4;
+ this.panel3.BackgroundImage = global::Casic.Birmm.RbFreqStandMeasure.Properties.Resources.bg_status_location;
+ this.panel3.Controls.Add(this.label8);
+ this.panel3.Controls.Add(this.label13);
+ this.panel3.Controls.Add(this.label12);
+ this.panel3.Controls.Add(this.label11);
+ this.panel3.Controls.Add(this.label9);
+ this.panel3.Controls.Add(this.label10);
+ this.panel3.Location = new System.Drawing.Point(6, 360);
+ this.panel3.Name = "panel3";
+ this.panel3.Size = new System.Drawing.Size(224, 293);
+ this.panel3.TabIndex = 2;
//
- // dataGridViewX1
+ // panel2
//
- this.dataGridViewX1.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.AutoSize;
- this.dataGridViewX1.Columns.AddRange(new System.Windows.Forms.DataGridViewColumn[] {
- this.Column13,
- this.Column14,
- this.Column15,
- this.Column16,
- this.Column17});
- dataGridViewCellStyle1.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleLeft;
- dataGridViewCellStyle1.BackColor = System.Drawing.SystemColors.Window;
- dataGridViewCellStyle1.Font = new System.Drawing.Font("宋体", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
- dataGridViewCellStyle1.ForeColor = System.Drawing.SystemColors.ControlText;
- dataGridViewCellStyle1.SelectionBackColor = System.Drawing.SystemColors.Highlight;
- dataGridViewCellStyle1.SelectionForeColor = System.Drawing.SystemColors.ControlText;
- dataGridViewCellStyle1.WrapMode = System.Windows.Forms.DataGridViewTriState.False;
- this.dataGridViewX1.DefaultCellStyle = dataGridViewCellStyle1;
- this.dataGridViewX1.GridColor = System.Drawing.Color.FromArgb(((int)(((byte)(208)))), ((int)(((byte)(215)))), ((int)(((byte)(229)))));
- this.dataGridViewX1.Location = new System.Drawing.Point(0, 1);
- this.dataGridViewX1.Name = "dataGridViewX1";
- this.dataGridViewX1.RowTemplate.Height = 23;
- this.dataGridViewX1.Size = new System.Drawing.Size(750, 179);
- this.dataGridViewX1.TabIndex = 14;
+ this.panel2.BackgroundImage = global::Casic.Birmm.RbFreqStandMeasure.Properties.Resources.bg_status_time;
+ this.panel2.Controls.Add(this.label4);
+ this.panel2.Controls.Add(this.label7);
+ this.panel2.Controls.Add(this.label6);
+ this.panel2.Controls.Add(this.label5);
+ this.panel2.Location = new System.Drawing.Point(6, 160);
+ this.panel2.Name = "panel2";
+ this.panel2.Size = new System.Drawing.Size(224, 200);
+ this.panel2.TabIndex = 1;
//
- // Column13
+ // panel1
//
- this.Column13.HeaderText = "仪器名称";
- this.Column13.Name = "Column13";
+ this.panel1.BackgroundImage = global::Casic.Birmm.RbFreqStandMeasure.Properties.Resources.bg_status_base;
+ this.panel1.Controls.Add(this.label3);
+ this.panel1.Controls.Add(this.label2);
+ this.panel1.Controls.Add(this.label1);
+ this.panel1.Location = new System.Drawing.Point(6, 0);
+ this.panel1.Margin = new System.Windows.Forms.Padding(0);
+ this.panel1.Name = "panel1";
+ this.panel1.Size = new System.Drawing.Size(224, 160);
+ this.panel1.TabIndex = 0;
//
- // Column14
+ // panel4
//
- this.Column14.HeaderText = "仪器类型";
- this.Column14.Name = "Column14";
+ this.panel4.BackgroundImage = global::Casic.Birmm.RbFreqStandMeasure.Properties.Resources.bg_dev_tested;
+ this.panel4.Location = new System.Drawing.Point(230, 0);
+ this.panel4.Margin = new System.Windows.Forms.Padding(0);
+ this.panel4.Name = "panel4";
+ this.panel4.Size = new System.Drawing.Size(788, 226);
+ this.panel4.TabIndex = 3;
//
- // Column15
+ // panel5
//
- this.Column15.HeaderText = "仪器编号";
- this.Column15.Name = "Column15";
- //
- // Column16
- //
- this.Column16.HeaderText = "客户名称";
- this.Column16.Name = "Column16";
- //
- // Column17
- //
- this.Column17.HeaderText = "开始时间";
- this.Column17.Name = "Column17";
- //
- // panelEx1
- //
- this.panelEx1.CanvasColor = System.Drawing.SystemColors.Control;
- this.panelEx1.ColorSchemeStyle = DevComponents.DotNetBar.eDotNetBarStyle.StyleManagerControlled;
- this.panelEx1.Controls.Add(this.labelX6);
- this.panelEx1.Controls.Add(this.labelX5);
- this.panelEx1.Controls.Add(this.labelX4);
- this.panelEx1.Controls.Add(this.labelX3);
- this.panelEx1.Controls.Add(this.labelX2);
- this.panelEx1.Controls.Add(this.labelX1);
- this.panelEx1.DisabledBackColor = System.Drawing.Color.Empty;
- this.panelEx1.Location = new System.Drawing.Point(25, 376);
- this.panelEx1.Name = "panelEx1";
- this.panelEx1.Size = new System.Drawing.Size(200, 200);
- this.panelEx1.Style.Alignment = System.Drawing.StringAlignment.Center;
- this.panelEx1.Style.BackColor1.ColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelBackground;
- this.panelEx1.Style.BackColor2.ColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelBackground2;
- this.panelEx1.Style.Border = DevComponents.DotNetBar.eBorderType.SingleLine;
- this.panelEx1.Style.BorderColor.ColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelBorder;
- this.panelEx1.Style.ForeColor.ColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelText;
- this.panelEx1.Style.GradientAngle = 90;
- this.panelEx1.TabIndex = 10;
- //
- // labelX6
- //
- //
- //
- //
- this.labelX6.BackgroundStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square;
- this.labelX6.Location = new System.Drawing.Point(3, 153);
- this.labelX6.Name = "labelX6";
- this.labelX6.Size = new System.Drawing.Size(75, 23);
- this.labelX6.Style = DevComponents.DotNetBar.eDotNetBarStyle.Office2013;
- this.labelX6.TabIndex = 0;
- this.labelX6.Text = "Z";
- this.labelX6.TextAlignment = System.Drawing.StringAlignment.Center;
- //
- // labelX5
- //
- //
- //
- //
- this.labelX5.BackgroundStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square;
- this.labelX5.Location = new System.Drawing.Point(3, 124);
- this.labelX5.Name = "labelX5";
- this.labelX5.Size = new System.Drawing.Size(75, 23);
- this.labelX5.Style = DevComponents.DotNetBar.eDotNetBarStyle.Office2013;
- this.labelX5.TabIndex = 0;
- this.labelX5.Text = "Y";
- this.labelX5.TextAlignment = System.Drawing.StringAlignment.Center;
- //
- // labelX4
- //
- //
- //
- //
- this.labelX4.BackgroundStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square;
- this.labelX4.Location = new System.Drawing.Point(3, 95);
- this.labelX4.Name = "labelX4";
- this.labelX4.Size = new System.Drawing.Size(75, 23);
- this.labelX4.Style = DevComponents.DotNetBar.eDotNetBarStyle.Office2013;
- this.labelX4.TabIndex = 0;
- this.labelX4.Text = "X";
- this.labelX4.TextAlignment = System.Drawing.StringAlignment.Center;
- //
- // labelX3
- //
- //
- //
- //
- this.labelX3.BackgroundStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square;
- this.labelX3.Location = new System.Drawing.Point(3, 66);
- this.labelX3.Name = "labelX3";
- this.labelX3.Size = new System.Drawing.Size(75, 23);
- this.labelX3.Style = DevComponents.DotNetBar.eDotNetBarStyle.Office2013;
- this.labelX3.TabIndex = 0;
- this.labelX3.Text = "纬度";
- this.labelX3.TextAlignment = System.Drawing.StringAlignment.Center;
- //
- // labelX2
- //
- //
- //
- //
- this.labelX2.BackgroundStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square;
- this.labelX2.Location = new System.Drawing.Point(3, 37);
- this.labelX2.Name = "labelX2";
- this.labelX2.Size = new System.Drawing.Size(75, 23);
- this.labelX2.Style = DevComponents.DotNetBar.eDotNetBarStyle.Office2013;
- this.labelX2.TabIndex = 0;
- this.labelX2.Text = "经度";
- this.labelX2.TextAlignment = System.Drawing.StringAlignment.Center;
- //
- // labelX1
- //
- //
- //
- //
- this.labelX1.BackgroundStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square;
- this.labelX1.Location = new System.Drawing.Point(3, 3);
- this.labelX1.Name = "labelX1";
- this.labelX1.Size = new System.Drawing.Size(194, 23);
- this.labelX1.Style = DevComponents.DotNetBar.eDotNetBarStyle.Office2013;
- this.labelX1.TabIndex = 0;
- this.labelX1.Text = "位置信息";
- this.labelX1.TextAlignment = System.Drawing.StringAlignment.Center;
- //
- // panelEx2
- //
- this.panelEx2.CanvasColor = System.Drawing.SystemColors.Control;
- this.panelEx2.ColorSchemeStyle = DevComponents.DotNetBar.eDotNetBarStyle.StyleManagerControlled;
- this.panelEx2.Controls.Add(this.labelX7);
- this.panelEx2.Controls.Add(this.labelX8);
- this.panelEx2.Controls.Add(this.labelX10);
- this.panelEx2.Controls.Add(this.labelX9);
- this.panelEx2.DisabledBackColor = System.Drawing.Color.Empty;
- this.panelEx2.Location = new System.Drawing.Point(25, 190);
- this.panelEx2.Name = "panelEx2";
- this.panelEx2.Size = new System.Drawing.Size(200, 150);
- this.panelEx2.Style.Alignment = System.Drawing.StringAlignment.Center;
- this.panelEx2.Style.BackColor1.ColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelBackground;
- this.panelEx2.Style.BackColor2.ColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelBackground2;
- this.panelEx2.Style.Border = DevComponents.DotNetBar.eBorderType.SingleLine;
- this.panelEx2.Style.BorderColor.ColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelBorder;
- this.panelEx2.Style.ForeColor.ColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelText;
- this.panelEx2.Style.GradientAngle = 90;
- this.panelEx2.TabIndex = 10;
- //
- // labelX7
- //
- //
- //
- //
- this.labelX7.BackgroundStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square;
- this.labelX7.Location = new System.Drawing.Point(3, 3);
- this.labelX7.Name = "labelX7";
- this.labelX7.Size = new System.Drawing.Size(194, 23);
- this.labelX7.Style = DevComponents.DotNetBar.eDotNetBarStyle.Office2013;
- this.labelX7.TabIndex = 0;
- this.labelX7.Text = "时间信息";
- this.labelX7.TextAlignment = System.Drawing.StringAlignment.Center;
- //
- // labelX8
- //
- //
- //
- //
- this.labelX8.BackgroundStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square;
- this.labelX8.Location = new System.Drawing.Point(3, 41);
- this.labelX8.Name = "labelX8";
- this.labelX8.Size = new System.Drawing.Size(75, 23);
- this.labelX8.Style = DevComponents.DotNetBar.eDotNetBarStyle.Office2013;
- this.labelX8.TabIndex = 0;
- this.labelX8.Text = "日期";
- this.labelX8.TextAlignment = System.Drawing.StringAlignment.Center;
- //
- // labelX10
- //
- //
- //
- //
- this.labelX10.BackgroundStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square;
- this.labelX10.Location = new System.Drawing.Point(3, 99);
- this.labelX10.Name = "labelX10";
- this.labelX10.Size = new System.Drawing.Size(75, 23);
- this.labelX10.Style = DevComponents.DotNetBar.eDotNetBarStyle.Office2013;
- this.labelX10.TabIndex = 0;
- this.labelX10.Text = "MJD";
- this.labelX10.TextAlignment = System.Drawing.StringAlignment.Center;
- //
- // labelX9
- //
- //
- //
- //
- this.labelX9.BackgroundStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square;
- this.labelX9.Location = new System.Drawing.Point(3, 70);
- this.labelX9.Name = "labelX9";
- this.labelX9.Size = new System.Drawing.Size(75, 23);
- this.labelX9.Style = DevComponents.DotNetBar.eDotNetBarStyle.Office2013;
- this.labelX9.TabIndex = 0;
- this.labelX9.Text = "时间";
- this.labelX9.TextAlignment = System.Drawing.StringAlignment.Center;
- //
- // panelEx3
- //
- this.panelEx3.CanvasColor = System.Drawing.SystemColors.Control;
- this.panelEx3.ColorSchemeStyle = DevComponents.DotNetBar.eDotNetBarStyle.StyleManagerControlled;
- this.panelEx3.Controls.Add(this.labelX11);
- this.panelEx3.Controls.Add(this.labelX13);
- this.panelEx3.Controls.Add(this.labelX12);
- this.panelEx3.DisabledBackColor = System.Drawing.Color.Empty;
- this.panelEx3.Location = new System.Drawing.Point(25, 50);
- this.panelEx3.Name = "panelEx3";
- this.panelEx3.Size = new System.Drawing.Size(200, 100);
- this.panelEx3.Style.Alignment = System.Drawing.StringAlignment.Center;
- this.panelEx3.Style.BackColor1.ColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelBackground;
- this.panelEx3.Style.BackColor2.ColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelBackground2;
- this.panelEx3.Style.Border = DevComponents.DotNetBar.eBorderType.SingleLine;
- this.panelEx3.Style.BorderColor.ColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelBorder;
- this.panelEx3.Style.ForeColor.ColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelText;
- this.panelEx3.Style.GradientAngle = 90;
- this.panelEx3.TabIndex = 10;
- //
- // labelX11
- //
- //
- //
- //
- this.labelX11.BackgroundStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square;
- this.labelX11.Location = new System.Drawing.Point(3, 3);
- this.labelX11.Name = "labelX11";
- this.labelX11.Size = new System.Drawing.Size(194, 23);
- this.labelX11.Style = DevComponents.DotNetBar.eDotNetBarStyle.Office2013;
- this.labelX11.TabIndex = 0;
- this.labelX11.Text = "基本信息";
- this.labelX11.TextAlignment = System.Drawing.StringAlignment.Center;
- //
- // labelX13
- //
- //
- //
- //
- this.labelX13.BackgroundStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square;
- this.labelX13.Location = new System.Drawing.Point(3, 32);
- this.labelX13.Name = "labelX13";
- this.labelX13.Size = new System.Drawing.Size(75, 23);
- this.labelX13.Style = DevComponents.DotNetBar.eDotNetBarStyle.Office2013;
- this.labelX13.TabIndex = 0;
- this.labelX13.Text = "原子钟";
- this.labelX13.TextAlignment = System.Drawing.StringAlignment.Center;
- //
- // labelX12
- //
- //
- //
- //
- this.labelX12.BackgroundStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square;
- this.labelX12.Location = new System.Drawing.Point(3, 61);
- this.labelX12.Name = "labelX12";
- this.labelX12.Size = new System.Drawing.Size(75, 23);
- this.labelX12.Style = DevComponents.DotNetBar.eDotNetBarStyle.Office2013;
- this.labelX12.TabIndex = 0;
- this.labelX12.Text = "接收机";
- this.labelX12.TextAlignment = System.Drawing.StringAlignment.Center;
- //
- // panelEx4
- //
- this.panelEx4.CanvasColor = System.Drawing.SystemColors.Control;
- this.panelEx4.ColorSchemeStyle = DevComponents.DotNetBar.eDotNetBarStyle.StyleManagerControlled;
- this.panelEx4.Controls.Add(this.panelEx2);
- this.panelEx4.Controls.Add(this.panelEx1);
- this.panelEx4.Controls.Add(this.panelEx3);
- this.panelEx4.DisabledBackColor = System.Drawing.Color.Empty;
- this.panelEx4.Location = new System.Drawing.Point(0, 0);
- this.panelEx4.Name = "panelEx4";
- this.panelEx4.Size = new System.Drawing.Size(250, 640);
- this.panelEx4.Style.Alignment = System.Drawing.StringAlignment.Center;
- this.panelEx4.Style.BackColor1.ColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelBackground;
- this.panelEx4.Style.BackColor2.ColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelBackground2;
- this.panelEx4.Style.Border = DevComponents.DotNetBar.eBorderType.SingleLine;
- this.panelEx4.Style.BorderColor.ColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelBorder;
- this.panelEx4.Style.ForeColor.ColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelText;
- this.panelEx4.Style.GradientAngle = 90;
- this.panelEx4.TabIndex = 10;
- //
- // dataGridViewX2
- //
- this.dataGridViewX2.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.AutoSize;
- this.dataGridViewX2.Columns.AddRange(new System.Windows.Forms.DataGridViewColumn[] {
- this.Column18,
- this.Column19,
- this.Column20,
- this.Column21,
- this.Column22,
- this.Column23,
- this.Column24,
- this.Column25,
- this.Column26,
- this.Column27,
- this.Column28,
- this.Column29});
- dataGridViewCellStyle2.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleLeft;
- dataGridViewCellStyle2.BackColor = System.Drawing.SystemColors.Window;
- dataGridViewCellStyle2.Font = new System.Drawing.Font("宋体", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
- dataGridViewCellStyle2.ForeColor = System.Drawing.SystemColors.ControlText;
- dataGridViewCellStyle2.SelectionBackColor = System.Drawing.SystemColors.Highlight;
- dataGridViewCellStyle2.SelectionForeColor = System.Drawing.SystemColors.ControlText;
- dataGridViewCellStyle2.WrapMode = System.Windows.Forms.DataGridViewTriState.False;
- this.dataGridViewX2.DefaultCellStyle = dataGridViewCellStyle2;
- this.dataGridViewX2.GridColor = System.Drawing.Color.FromArgb(((int)(((byte)(208)))), ((int)(((byte)(215)))), ((int)(((byte)(229)))));
- this.dataGridViewX2.Location = new System.Drawing.Point(250, 216);
- this.dataGridViewX2.Name = "dataGridViewX2";
- this.dataGridViewX2.Size = new System.Drawing.Size(747, 424);
- this.dataGridViewX2.TabIndex = 15;
- //
- // Column18
- //
- this.Column18.HeaderText = "通道号";
- this.Column18.Name = "Column18";
- //
- // Column19
- //
- this.Column19.HeaderText = "当前状态";
- this.Column19.Name = "Column19";
- //
- // Column20
- //
- this.Column20.HeaderText = "仪器名称";
- this.Column20.Name = "Column20";
- //
- // Column21
- //
- this.Column21.HeaderText = "仪器编号";
- this.Column21.Name = "Column21";
- //
- // Column22
- //
- this.Column22.HeaderText = "客户名称";
- this.Column22.Name = "Column22";
- //
- // Column23
- //
- this.Column23.HeaderText = "开始时间";
- this.Column23.Name = "Column23";
- //
- // Column24
- //
- this.Column24.HeaderText = "结束时间";
- this.Column24.Name = "Column24";
- //
- // Column25
- //
- this.Column25.HeaderText = "频率稳定度";
- this.Column25.Name = "Column25";
- //
- // Column26
- //
- this.Column26.HeaderText = "频率准确度";
- this.Column26.Name = "Column26";
- //
- // Column27
- //
- this.Column27.HeaderText = "开机特性";
- this.Column27.Name = "Column27";
- //
- // Column28
- //
- this.Column28.HeaderText = "日老化率";
- this.Column28.Name = "Column28";
- //
- // Column29
- //
- this.Column29.HeaderText = "频率计数器范围及灵敏度";
- this.Column29.Name = "Column29";
- //
- // buttonX1
- //
- this.buttonX1.AccessibleRole = System.Windows.Forms.AccessibleRole.PushButton;
- this.buttonX1.BackColor = System.Drawing.Color.Transparent;
- this.buttonX1.ColorTable = DevComponents.DotNetBar.eButtonColor.OrangeWithBackground;
- this.buttonX1.Location = new System.Drawing.Point(663, 183);
- this.buttonX1.Name = "buttonX1";
- this.buttonX1.Size = new System.Drawing.Size(30, 23);
- this.buttonX1.Style = DevComponents.DotNetBar.eDotNetBarStyle.StyleManagerControlled;
- this.buttonX1.Symbol = "";
- this.buttonX1.SymbolColor = System.Drawing.Color.FromArgb(((int)(((byte)(64)))), ((int)(((byte)(64)))), ((int)(((byte)(64)))));
- this.buttonX1.SymbolSize = 8F;
- this.buttonX1.TabIndex = 19;
- //
- // buttonX2
- //
- this.buttonX2.AccessibleRole = System.Windows.Forms.AccessibleRole.PushButton;
- this.buttonX2.BackColor = System.Drawing.Color.Transparent;
- this.buttonX2.ColorTable = DevComponents.DotNetBar.eButtonColor.OrangeWithBackground;
- this.buttonX2.Location = new System.Drawing.Point(589, 184);
- this.buttonX2.Name = "buttonX2";
- this.buttonX2.Size = new System.Drawing.Size(30, 23);
- this.buttonX2.Style = DevComponents.DotNetBar.eDotNetBarStyle.StyleManagerControlled;
- this.buttonX2.Symbol = "";
- this.buttonX2.SymbolColor = System.Drawing.Color.FromArgb(((int)(((byte)(64)))), ((int)(((byte)(64)))), ((int)(((byte)(64)))));
- this.buttonX2.SymbolSize = 8F;
- this.buttonX2.TabIndex = 19;
+ this.panel5.BackgroundImage = global::Casic.Birmm.RbFreqStandMeasure.Properties.Resources.bg_dev_channel;
+ this.panel5.Location = new System.Drawing.Point(230, 226);
+ this.panel5.Name = "panel5";
+ this.panel5.Size = new System.Drawing.Size(788, 424);
+ this.panel5.TabIndex = 4;
//
// label1
//
this.label1.BackColor = System.Drawing.Color.Transparent;
- this.label1.Font = new System.Drawing.Font("Times New Roman", 9.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
- this.label1.Location = new System.Drawing.Point(880, 186);
- this.label1.Margin = new System.Windows.Forms.Padding(0);
+ this.label1.Font = new System.Drawing.Font("微软雅黑", 14F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Pixel, ((byte)(134)));
+ this.label1.Location = new System.Drawing.Point(0, 20);
this.label1.Name = "label1";
- this.label1.Size = new System.Drawing.Size(20, 20);
- this.label1.TabIndex = 20;
- this.label1.Text = "1";
+ this.label1.Size = new System.Drawing.Size(224, 25);
+ this.label1.TabIndex = 0;
+ this.label1.Text = "基本信息";
this.label1.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
//
// label2
//
this.label2.BackColor = System.Drawing.Color.Transparent;
- this.label2.Font = new System.Drawing.Font("Times New Roman", 9.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
- this.label2.Location = new System.Drawing.Point(636, 187);
- this.label2.Margin = new System.Windows.Forms.Padding(0);
+ this.label2.Font = new System.Drawing.Font("微软雅黑", 14F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Pixel, ((byte)(134)));
+ this.label2.Location = new System.Drawing.Point(0, 60);
this.label2.Name = "label2";
- this.label2.Size = new System.Drawing.Size(200, 20);
- this.label2.TabIndex = 20;
- this.label2.Text = "共150条,每页5条,共100页";
- this.label2.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
+ this.label2.Size = new System.Drawing.Size(75, 25);
+ this.label2.TabIndex = 1;
+ this.label2.Text = "原子钟";
+ this.label2.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
+ //
+ // label3
+ //
+ this.label3.BackColor = System.Drawing.Color.Transparent;
+ this.label3.Font = new System.Drawing.Font("微软雅黑", 14F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Pixel, ((byte)(134)));
+ this.label3.Location = new System.Drawing.Point(0, 100);
+ this.label3.Name = "label3";
+ this.label3.Size = new System.Drawing.Size(75, 25);
+ this.label3.TabIndex = 1;
+ this.label3.Text = "接收机";
+ this.label3.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
+ //
+ // label4
+ //
+ this.label4.BackColor = System.Drawing.Color.Transparent;
+ this.label4.Font = new System.Drawing.Font("微软雅黑", 14F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Pixel, ((byte)(134)));
+ this.label4.Location = new System.Drawing.Point(0, 20);
+ this.label4.Name = "label4";
+ this.label4.Size = new System.Drawing.Size(224, 25);
+ this.label4.TabIndex = 0;
+ this.label4.Text = "时间信息";
+ this.label4.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
+ //
+ // label5
+ //
+ this.label5.BackColor = System.Drawing.Color.Transparent;
+ this.label5.Font = new System.Drawing.Font("微软雅黑", 14F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Pixel, ((byte)(134)));
+ this.label5.Location = new System.Drawing.Point(0, 60);
+ this.label5.Name = "label5";
+ this.label5.Size = new System.Drawing.Size(75, 25);
+ this.label5.TabIndex = 1;
+ this.label5.Text = "日期";
+ this.label5.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
+ //
+ // label6
+ //
+ this.label6.BackColor = System.Drawing.Color.Transparent;
+ this.label6.Font = new System.Drawing.Font("微软雅黑", 14F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Pixel, ((byte)(134)));
+ this.label6.Location = new System.Drawing.Point(0, 100);
+ this.label6.Name = "label6";
+ this.label6.Size = new System.Drawing.Size(75, 25);
+ this.label6.TabIndex = 1;
+ this.label6.Text = "时间";
+ this.label6.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
+ //
+ // label7
+ //
+ this.label7.BackColor = System.Drawing.Color.Transparent;
+ this.label7.Font = new System.Drawing.Font("微软雅黑", 14F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Pixel, ((byte)(134)));
+ this.label7.Location = new System.Drawing.Point(0, 140);
+ this.label7.Margin = new System.Windows.Forms.Padding(0);
+ this.label7.Name = "label7";
+ this.label7.Size = new System.Drawing.Size(75, 25);
+ this.label7.TabIndex = 1;
+ this.label7.Text = "MJD";
+ this.label7.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
+ //
+ // label8
+ //
+ this.label8.BackColor = System.Drawing.Color.Transparent;
+ this.label8.Font = new System.Drawing.Font("微软雅黑", 14F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Pixel, ((byte)(134)));
+ this.label8.Location = new System.Drawing.Point(0, 20);
+ this.label8.Name = "label8";
+ this.label8.Size = new System.Drawing.Size(224, 25);
+ this.label8.TabIndex = 0;
+ this.label8.Text = "位置信息";
+ this.label8.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
+ //
+ // label9
+ //
+ this.label9.BackColor = System.Drawing.Color.Transparent;
+ this.label9.Font = new System.Drawing.Font("微软雅黑", 14F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Pixel, ((byte)(134)));
+ this.label9.Location = new System.Drawing.Point(0, 60);
+ this.label9.Name = "label9";
+ this.label9.Size = new System.Drawing.Size(75, 25);
+ this.label9.TabIndex = 1;
+ this.label9.Text = "经度";
+ this.label9.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
+ //
+ // label10
+ //
+ this.label10.BackColor = System.Drawing.Color.Transparent;
+ this.label10.Font = new System.Drawing.Font("微软雅黑", 14F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Pixel, ((byte)(134)));
+ this.label10.Location = new System.Drawing.Point(0, 100);
+ this.label10.Margin = new System.Windows.Forms.Padding(0);
+ this.label10.Name = "label10";
+ this.label10.Size = new System.Drawing.Size(75, 25);
+ this.label10.TabIndex = 1;
+ this.label10.Text = "纬度";
+ this.label10.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
+ //
+ // label11
+ //
+ this.label11.BackColor = System.Drawing.Color.Transparent;
+ this.label11.Font = new System.Drawing.Font("微软雅黑", 14F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Pixel, ((byte)(134)));
+ this.label11.Location = new System.Drawing.Point(0, 140);
+ this.label11.Margin = new System.Windows.Forms.Padding(0);
+ this.label11.Name = "label11";
+ this.label11.Size = new System.Drawing.Size(75, 25);
+ this.label11.TabIndex = 1;
+ this.label11.Text = "X";
+ this.label11.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
+ //
+ // label12
+ //
+ this.label12.BackColor = System.Drawing.Color.Transparent;
+ this.label12.Font = new System.Drawing.Font("微软雅黑", 14F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Pixel, ((byte)(134)));
+ this.label12.Location = new System.Drawing.Point(0, 180);
+ this.label12.Margin = new System.Windows.Forms.Padding(0);
+ this.label12.Name = "label12";
+ this.label12.Size = new System.Drawing.Size(75, 25);
+ this.label12.TabIndex = 1;
+ this.label12.Text = "Y";
+ this.label12.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
+ //
+ // label13
+ //
+ this.label13.BackColor = System.Drawing.Color.Transparent;
+ this.label13.Font = new System.Drawing.Font("微软雅黑", 14F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Pixel, ((byte)(134)));
+ this.label13.Location = new System.Drawing.Point(0, 220);
+ this.label13.Margin = new System.Windows.Forms.Padding(0);
+ this.label13.Name = "label13";
+ this.label13.Size = new System.Drawing.Size(75, 25);
+ this.label13.TabIndex = 1;
+ this.label13.Text = "Z";
+ this.label13.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
//
// HomeCtrlForm
//
this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 12F);
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
- this.Controls.Add(this.label1);
- this.Controls.Add(this.label2);
- this.Controls.Add(this.dataGridViewX2);
- this.Controls.Add(this.panelEx4);
- this.Controls.Add(this.panelToBeTested);
+ this.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(232)))), ((int)(((byte)(234)))), ((int)(((byte)(238)))));
+ this.Controls.Add(this.panel5);
+ this.Controls.Add(this.panel4);
+ this.Controls.Add(this.panel3);
+ this.Controls.Add(this.panel2);
+ this.Controls.Add(this.panel1);
this.Margin = new System.Windows.Forms.Padding(0);
this.Name = "HomeCtrlForm";
- this.Size = new System.Drawing.Size(1000, 640);
- this.panelToBeTested.ResumeLayout(false);
- ((System.ComponentModel.ISupportInitialize)(this.dataGridViewX1)).EndInit();
- this.panelEx1.ResumeLayout(false);
- this.panelEx2.ResumeLayout(false);
- this.panelEx3.ResumeLayout(false);
- this.panelEx4.ResumeLayout(false);
- ((System.ComponentModel.ISupportInitialize)(this.dataGridViewX2)).EndInit();
+ this.Size = new System.Drawing.Size(1024, 654);
+ this.panel3.ResumeLayout(false);
+ this.panel2.ResumeLayout(false);
+ this.panel1.ResumeLayout(false);
this.ResumeLayout(false);
}
#endregion
- private System.Windows.Forms.Panel panelToBeTested;
- private DevComponents.DotNetBar.PanelEx panelEx1;
- private DevComponents.DotNetBar.LabelX labelX6;
- private DevComponents.DotNetBar.LabelX labelX5;
- private DevComponents.DotNetBar.LabelX labelX4;
- private DevComponents.DotNetBar.LabelX labelX3;
- private DevComponents.DotNetBar.LabelX labelX2;
- private DevComponents.DotNetBar.LabelX labelX1;
- private DevComponents.DotNetBar.PanelEx panelEx2;
- private DevComponents.DotNetBar.LabelX labelX7;
- private DevComponents.DotNetBar.LabelX labelX8;
- private DevComponents.DotNetBar.LabelX labelX10;
- private DevComponents.DotNetBar.LabelX labelX9;
- private DevComponents.DotNetBar.PanelEx panelEx3;
- private DevComponents.DotNetBar.LabelX labelX11;
- private DevComponents.DotNetBar.LabelX labelX13;
- private DevComponents.DotNetBar.LabelX labelX12;
- private DevComponents.DotNetBar.PanelEx panelEx4;
- private DevComponents.DotNetBar.Controls.DataGridViewX dataGridViewX1;
- private System.Windows.Forms.DataGridViewTextBoxColumn Column13;
- private System.Windows.Forms.DataGridViewTextBoxColumn Column14;
- private System.Windows.Forms.DataGridViewTextBoxColumn Column15;
- private System.Windows.Forms.DataGridViewTextBoxColumn Column16;
- private System.Windows.Forms.DataGridViewTextBoxColumn Column17;
- private DevComponents.DotNetBar.Controls.DataGridViewX dataGridViewX2;
- private System.Windows.Forms.DataGridViewTextBoxColumn Column18;
- private System.Windows.Forms.DataGridViewTextBoxColumn Column19;
- private System.Windows.Forms.DataGridViewTextBoxColumn Column20;
- private System.Windows.Forms.DataGridViewTextBoxColumn Column21;
- private System.Windows.Forms.DataGridViewTextBoxColumn Column22;
- private System.Windows.Forms.DataGridViewTextBoxColumn Column23;
- private System.Windows.Forms.DataGridViewTextBoxColumn Column24;
- private System.Windows.Forms.DataGridViewTextBoxColumn Column25;
- private System.Windows.Forms.DataGridViewTextBoxColumn Column26;
- private System.Windows.Forms.DataGridViewTextBoxColumn Column27;
- private System.Windows.Forms.DataGridViewTextBoxColumn Column28;
- private System.Windows.Forms.DataGridViewTextBoxColumn Column29;
- private DevComponents.DotNetBar.ButtonX buttonX1;
- private DevComponents.DotNetBar.ButtonX buttonX2;
+
+ private System.Windows.Forms.Panel panel1;
+ private System.Windows.Forms.Panel panel2;
+ private System.Windows.Forms.Panel panel3;
+ private System.Windows.Forms.Panel panel4;
+ private System.Windows.Forms.Panel panel5;
private System.Windows.Forms.Label label1;
private System.Windows.Forms.Label label2;
+ private System.Windows.Forms.Label label3;
+ private System.Windows.Forms.Label label4;
+ private System.Windows.Forms.Label label5;
+ private System.Windows.Forms.Label label6;
+ private System.Windows.Forms.Label label7;
+ private System.Windows.Forms.Label label8;
+ private System.Windows.Forms.Label label11;
+ private System.Windows.Forms.Label label9;
+ private System.Windows.Forms.Label label10;
+ private System.Windows.Forms.Label label12;
+ private System.Windows.Forms.Label label13;
}
}
diff --git a/RbFreqStandMeasure/HomeCtrlForm.resx b/RbFreqStandMeasure/HomeCtrlForm.resx
index 6d97f4f..1af7de1 100644
--- a/RbFreqStandMeasure/HomeCtrlForm.resx
+++ b/RbFreqStandMeasure/HomeCtrlForm.resx
@@ -117,55 +117,4 @@
System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
-
- True
-
-
- True
-
-
- True
-
-
- True
-
-
- True
-
-
- True
-
-
- True
-
-
- True
-
-
- True
-
-
- True
-
-
- True
-
-
- True
-
-
- True
-
-
- True
-
-
- True
-
-
- True
-
-
- True
-
\ No newline at end of file
diff --git a/RbFreqStandMeasure/Program.cs b/RbFreqStandMeasure/Program.cs
index 93a83e5..6150917 100644
--- a/RbFreqStandMeasure/Program.cs
+++ b/RbFreqStandMeasure/Program.cs
@@ -1,6 +1,4 @@
using System;
-using System.Collections.Generic;
-using System.Linq;
using System.Windows.Forms;
namespace Casic.Birmm.RbFreqStandMeasure
diff --git a/RbFreqStandMeasure/Properties/Resources.Designer.cs b/RbFreqStandMeasure/Properties/Resources.Designer.cs
index 253d7d7..d819a23 100644
--- a/RbFreqStandMeasure/Properties/Resources.Designer.cs
+++ b/RbFreqStandMeasure/Properties/Resources.Designer.cs
@@ -73,6 +73,56 @@
///
/// 查找 System.Drawing.Bitmap 类型的本地化资源。
///
+ internal static System.Drawing.Bitmap bg_dev_channel {
+ get {
+ object obj = ResourceManager.GetObject("bg_dev_channel", resourceCulture);
+ return ((System.Drawing.Bitmap)(obj));
+ }
+ }
+
+ ///
+ /// 查找 System.Drawing.Bitmap 类型的本地化资源。
+ ///
+ internal static System.Drawing.Bitmap bg_dev_tested {
+ get {
+ object obj = ResourceManager.GetObject("bg_dev_tested", resourceCulture);
+ return ((System.Drawing.Bitmap)(obj));
+ }
+ }
+
+ ///
+ /// 查找 System.Drawing.Bitmap 类型的本地化资源。
+ ///
+ internal static System.Drawing.Bitmap bg_status_base {
+ get {
+ object obj = ResourceManager.GetObject("bg_status_base", resourceCulture);
+ return ((System.Drawing.Bitmap)(obj));
+ }
+ }
+
+ ///
+ /// 查找 System.Drawing.Bitmap 类型的本地化资源。
+ ///
+ internal static System.Drawing.Bitmap bg_status_location {
+ get {
+ object obj = ResourceManager.GetObject("bg_status_location", resourceCulture);
+ return ((System.Drawing.Bitmap)(obj));
+ }
+ }
+
+ ///
+ /// 查找 System.Drawing.Bitmap 类型的本地化资源。
+ ///
+ internal static System.Drawing.Bitmap bg_status_time {
+ get {
+ object obj = ResourceManager.GetObject("bg_status_time", resourceCulture);
+ return ((System.Drawing.Bitmap)(obj));
+ }
+ }
+
+ ///
+ /// 查找 System.Drawing.Bitmap 类型的本地化资源。
+ ///
internal static System.Drawing.Bitmap bg_white_shadow {
get {
object obj = ResourceManager.GetObject("bg_white_shadow", resourceCulture);
@@ -83,6 +133,66 @@
///
/// 查找 System.Drawing.Bitmap 类型的本地化资源。
///
+ internal static System.Drawing.Bitmap icon_counter {
+ get {
+ object obj = ResourceManager.GetObject("icon_counter", resourceCulture);
+ return ((System.Drawing.Bitmap)(obj));
+ }
+ }
+
+ ///
+ /// 查找 System.Drawing.Bitmap 类型的本地化资源。
+ ///
+ internal static System.Drawing.Bitmap icon_counter_selected {
+ get {
+ object obj = ResourceManager.GetObject("icon_counter_selected", resourceCulture);
+ return ((System.Drawing.Bitmap)(obj));
+ }
+ }
+
+ ///
+ /// 查找 System.Drawing.Bitmap 类型的本地化资源。
+ ///
+ internal static System.Drawing.Bitmap icon_data {
+ get {
+ object obj = ResourceManager.GetObject("icon_data", resourceCulture);
+ return ((System.Drawing.Bitmap)(obj));
+ }
+ }
+
+ ///
+ /// 查找 System.Drawing.Bitmap 类型的本地化资源。
+ ///
+ internal static System.Drawing.Bitmap icon_data_selected {
+ get {
+ object obj = ResourceManager.GetObject("icon_data_selected", resourceCulture);
+ return ((System.Drawing.Bitmap)(obj));
+ }
+ }
+
+ ///
+ /// 查找 System.Drawing.Bitmap 类型的本地化资源。
+ ///
+ internal static System.Drawing.Bitmap icon_dev {
+ get {
+ object obj = ResourceManager.GetObject("icon_dev", resourceCulture);
+ return ((System.Drawing.Bitmap)(obj));
+ }
+ }
+
+ ///
+ /// 查找 System.Drawing.Bitmap 类型的本地化资源。
+ ///
+ internal static System.Drawing.Bitmap icon_dev_selected {
+ get {
+ object obj = ResourceManager.GetObject("icon_dev_selected", resourceCulture);
+ return ((System.Drawing.Bitmap)(obj));
+ }
+ }
+
+ ///
+ /// 查找 System.Drawing.Bitmap 类型的本地化资源。
+ ///
internal static System.Drawing.Bitmap icon_exit {
get {
object obj = ResourceManager.GetObject("icon_exit", resourceCulture);
@@ -113,6 +223,56 @@
///
/// 查找 System.Drawing.Bitmap 类型的本地化资源。
///
+ internal static System.Drawing.Bitmap icon_measure {
+ get {
+ object obj = ResourceManager.GetObject("icon_measure", resourceCulture);
+ return ((System.Drawing.Bitmap)(obj));
+ }
+ }
+
+ ///
+ /// 查找 System.Drawing.Bitmap 类型的本地化资源。
+ ///
+ internal static System.Drawing.Bitmap icon_measure_selected {
+ get {
+ object obj = ResourceManager.GetObject("icon_measure_selected", resourceCulture);
+ return ((System.Drawing.Bitmap)(obj));
+ }
+ }
+
+ ///
+ /// 查找 System.Drawing.Bitmap 类型的本地化资源。
+ ///
+ internal static System.Drawing.Bitmap icon_min {
+ get {
+ object obj = ResourceManager.GetObject("icon_min", resourceCulture);
+ return ((System.Drawing.Bitmap)(obj));
+ }
+ }
+
+ ///
+ /// 查找 System.Drawing.Bitmap 类型的本地化资源。
+ ///
+ internal static System.Drawing.Bitmap icon_setting {
+ get {
+ object obj = ResourceManager.GetObject("icon_setting", resourceCulture);
+ return ((System.Drawing.Bitmap)(obj));
+ }
+ }
+
+ ///
+ /// 查找 System.Drawing.Bitmap 类型的本地化资源。
+ ///
+ internal static System.Drawing.Bitmap icon_setting_selected {
+ get {
+ object obj = ResourceManager.GetObject("icon_setting_selected", resourceCulture);
+ return ((System.Drawing.Bitmap)(obj));
+ }
+ }
+
+ ///
+ /// 查找 System.Drawing.Bitmap 类型的本地化资源。
+ ///
internal static System.Drawing.Bitmap icon_status {
get {
object obj = ResourceManager.GetObject("icon_status", resourceCulture);
diff --git a/RbFreqStandMeasure/Properties/Resources.resx b/RbFreqStandMeasure/Properties/Resources.resx
index e781bb7..cfdb255 100644
--- a/RbFreqStandMeasure/Properties/Resources.resx
+++ b/RbFreqStandMeasure/Properties/Resources.resx
@@ -118,25 +118,73 @@
System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
-
- ..\res\images\icon_exit.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
+
+ ..\res\images\icon_counter_selected.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
-
- ..\res\images\bg_white_shadow.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
+
+ ..\res\images\icon_dev_selected.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
+
+
+ ..\res\images\icon_status_selected.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
+
+
+ ..\res\images\icon_data_selected.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
..\res\images\icon_home_selected.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
-
- ..\res\images\bg_banner.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
-
-
- ..\res\images\icon_home.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
+
+ ..\res\images\icon_exit.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
..\res\images\icon_status.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
-
- ..\res\images\icon_status_selected.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
+
+ ..\res\images\icon_data.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
+
+
+ ..\res\images\icon_setting.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
+
+
+ ..\res\images\icon_measure_selected.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
+
+
+ ..\res\images\bg_banner.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
+
+
+ ..\res\images\icon_setting_selected.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
+
+
+ ..\res\images\icon_dev.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
+
+
+ ..\res\images\icon_counter.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
+
+
+ ..\res\images\icon_measure.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
+
+
+ ..\res\images\icon_home.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
+
+
+ ..\res\images\bg_white_shadow.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
+
+
+ ..\res\images\icon_min.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
+
+
+ ..\res\images\bg_status_base.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
+
+
+ ..\res\images\bg_status_location.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
+
+
+ ..\res\images\bg_status_time.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
+
+
+ ..\res\images\bg_dev_channel.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
+
+
+ ..\res\images\bg_dev_tested.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
\ No newline at end of file
diff --git a/RbFreqStandMeasure/RbFreqStandMeasure.csproj b/RbFreqStandMeasure/RbFreqStandMeasure.csproj
index f5e7da9..7c12768 100644
--- a/RbFreqStandMeasure/RbFreqStandMeasure.csproj
+++ b/RbFreqStandMeasure/RbFreqStandMeasure.csproj
@@ -232,6 +232,54 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/RbFreqStandMeasure/RbFreqStdMeas.Designer.cs b/RbFreqStandMeasure/RbFreqStdMeas.Designer.cs
index 57778cf..1bd008c 100644
--- a/RbFreqStandMeasure/RbFreqStdMeas.Designer.cs
+++ b/RbFreqStandMeasure/RbFreqStdMeas.Designer.cs
@@ -30,148 +30,77 @@
private void InitializeComponent()
{
this.panMenu = new System.Windows.Forms.Panel();
+ this.penBanner = new System.Windows.Forms.Panel();
+ this.btnMinSys = new System.Windows.Forms.Button();
+ this.btnExitSys = new System.Windows.Forms.Button();
+ this.labTitle = new System.Windows.Forms.Label();
+ this.panDev = new Casic.Birmm.RbFreqStandMeasure.RoundPanel();
+ this.labDevText = new System.Windows.Forms.Label();
+ this.labDevSelected = new System.Windows.Forms.Label();
+ this.picIconDev = new System.Windows.Forms.PictureBox();
+ this.panSetting = new Casic.Birmm.RbFreqStandMeasure.RoundPanel();
+ this.labSettingSelected = new System.Windows.Forms.Label();
+ this.labSettingText = new System.Windows.Forms.Label();
+ this.picIconSetting = new System.Windows.Forms.PictureBox();
this.panStatus = new Casic.Birmm.RbFreqStandMeasure.RoundPanel();
this.labStatusText = new System.Windows.Forms.Label();
this.picIconStatus = new System.Windows.Forms.PictureBox();
+ this.labStatusSelected = new System.Windows.Forms.Label();
+ this.panData = new Casic.Birmm.RbFreqStandMeasure.RoundPanel();
+ this.labDataSelected = new System.Windows.Forms.Label();
+ this.labDataText = new System.Windows.Forms.Label();
+ this.picIconData = new System.Windows.Forms.PictureBox();
this.panHome = new Casic.Birmm.RbFreqStandMeasure.RoundPanel();
this.labHomeText = new System.Windows.Forms.Label();
this.picIconHome = new System.Windows.Forms.PictureBox();
this.labHomeSelected = new System.Windows.Forms.Label();
- this.labStatusSelected = new System.Windows.Forms.Label();
- this.penBanner = new System.Windows.Forms.Panel();
- this.btnExitSys = new System.Windows.Forms.Button();
- this.labTitle = new System.Windows.Forms.Label();
+ this.panMeasure = new Casic.Birmm.RbFreqStandMeasure.RoundPanel();
+ this.labMeasureText = new System.Windows.Forms.Label();
+ this.labMeasureSelected = new System.Windows.Forms.Label();
+ this.picIconMeasure = new System.Windows.Forms.PictureBox();
+ this.panCounter = new Casic.Birmm.RbFreqStandMeasure.RoundPanel();
+ this.labCounterSelected = new System.Windows.Forms.Label();
+ this.labCounterText = new System.Windows.Forms.Label();
+ this.picIconCounter = new System.Windows.Forms.PictureBox();
+ this.panelMain = new System.Windows.Forms.Panel();
this.panMenu.SuspendLayout();
+ this.penBanner.SuspendLayout();
+ this.panDev.SuspendLayout();
+ ((System.ComponentModel.ISupportInitialize)(this.picIconDev)).BeginInit();
+ this.panSetting.SuspendLayout();
+ ((System.ComponentModel.ISupportInitialize)(this.picIconSetting)).BeginInit();
this.panStatus.SuspendLayout();
((System.ComponentModel.ISupportInitialize)(this.picIconStatus)).BeginInit();
+ this.panData.SuspendLayout();
+ ((System.ComponentModel.ISupportInitialize)(this.picIconData)).BeginInit();
this.panHome.SuspendLayout();
((System.ComponentModel.ISupportInitialize)(this.picIconHome)).BeginInit();
- this.penBanner.SuspendLayout();
+ this.panMeasure.SuspendLayout();
+ ((System.ComponentModel.ISupportInitialize)(this.picIconMeasure)).BeginInit();
+ this.panCounter.SuspendLayout();
+ ((System.ComponentModel.ISupportInitialize)(this.picIconCounter)).BeginInit();
this.SuspendLayout();
//
// panMenu
//
this.panMenu.BackColor = System.Drawing.Color.White;
+ this.panMenu.Controls.Add(this.panDev);
+ this.panMenu.Controls.Add(this.panSetting);
this.panMenu.Controls.Add(this.panStatus);
+ this.panMenu.Controls.Add(this.panData);
this.panMenu.Controls.Add(this.panHome);
- this.panMenu.Controls.Add(this.labStatusSelected);
+ this.panMenu.Controls.Add(this.panMeasure);
+ this.panMenu.Controls.Add(this.panCounter);
this.panMenu.Location = new System.Drawing.Point(0, 64);
this.panMenu.Name = "panMenu";
this.panMenu.Size = new System.Drawing.Size(1024, 50);
this.panMenu.TabIndex = 1;
//
- // panStatus
- //
- this.panStatus.Back = System.Drawing.Color.Empty;
- this.panStatus.BackColor = System.Drawing.Color.Transparent;
- this.panStatus.Controls.Add(this.labStatusText);
- this.panStatus.Controls.Add(this.picIconStatus);
- this.panStatus.Location = new System.Drawing.Point(160, 0);
- this.panStatus.MatrixRound = 8;
- this.panStatus.Name = "panStatus";
- this.panStatus.Size = new System.Drawing.Size(130, 47);
- this.panStatus.TabIndex = 1;
- this.panStatus.Click += new System.EventHandler(this.panStatus_Click);
- this.panStatus.MouseLeave += new System.EventHandler(this.panStatus_MouseLeave);
- this.panStatus.MouseHover += new System.EventHandler(this.panStatus_MouseHover);
- //
- // labStatusText
- //
- this.labStatusText.BackColor = System.Drawing.Color.Transparent;
- this.labStatusText.Cursor = System.Windows.Forms.Cursors.Hand;
- this.labStatusText.Font = new System.Drawing.Font("微软雅黑", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
- this.labStatusText.ForeColor = System.Drawing.SystemColors.ControlText;
- this.labStatusText.Location = new System.Drawing.Point(35, 0);
- this.labStatusText.Margin = new System.Windows.Forms.Padding(0);
- this.labStatusText.Name = "labStatusText";
- this.labStatusText.Size = new System.Drawing.Size(85, 47);
- this.labStatusText.TabIndex = 2;
- this.labStatusText.Text = "基准状态";
- this.labStatusText.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
- this.labStatusText.Click += new System.EventHandler(this.panStatus_Click);
- this.labStatusText.MouseLeave += new System.EventHandler(this.panStatus_MouseLeave);
- this.labStatusText.MouseHover += new System.EventHandler(this.panStatus_MouseHover);
- //
- // picIconStatus
- //
- this.picIconStatus.BackgroundImage = global::Casic.Birmm.RbFreqStandMeasure.Properties.Resources.icon_status;
- this.picIconStatus.BackgroundImageLayout = System.Windows.Forms.ImageLayout.Zoom;
- this.picIconStatus.Location = new System.Drawing.Point(10, 11);
- this.picIconStatus.Name = "picIconStatus";
- this.picIconStatus.Size = new System.Drawing.Size(25, 25);
- this.picIconStatus.TabIndex = 1;
- this.picIconStatus.TabStop = false;
- this.picIconStatus.Click += new System.EventHandler(this.panStatus_Click);
- this.picIconStatus.MouseLeave += new System.EventHandler(this.panStatus_MouseLeave);
- this.picIconStatus.MouseHover += new System.EventHandler(this.panStatus_MouseHover);
- //
- // panHome
- //
- this.panHome.Back = System.Drawing.Color.Empty;
- this.panHome.Controls.Add(this.labHomeText);
- this.panHome.Controls.Add(this.picIconHome);
- this.panHome.Controls.Add(this.labHomeSelected);
- this.panHome.Cursor = System.Windows.Forms.Cursors.Hand;
- this.panHome.Location = new System.Drawing.Point(30, 0);
- this.panHome.MatrixRound = 8;
- this.panHome.Name = "panHome";
- this.panHome.Size = new System.Drawing.Size(100, 50);
- this.panHome.TabIndex = 0;
- this.panHome.Click += new System.EventHandler(this.panHome_Click);
- this.panHome.MouseLeave += new System.EventHandler(this.panHome_MouseLeave);
- this.panHome.MouseHover += new System.EventHandler(this.panHome_MouseHover);
- //
- // labHomeText
- //
- this.labHomeText.BackColor = System.Drawing.Color.Transparent;
- this.labHomeText.Font = new System.Drawing.Font("微软雅黑", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
- this.labHomeText.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(18)))), ((int)(((byte)(150)))), ((int)(((byte)(219)))));
- this.labHomeText.Location = new System.Drawing.Point(35, 0);
- this.labHomeText.Margin = new System.Windows.Forms.Padding(0);
- this.labHomeText.Name = "labHomeText";
- this.labHomeText.Size = new System.Drawing.Size(55, 47);
- this.labHomeText.TabIndex = 2;
- this.labHomeText.Text = "首页";
- this.labHomeText.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
- this.labHomeText.Click += new System.EventHandler(this.panHome_Click);
- this.labHomeText.MouseLeave += new System.EventHandler(this.panHome_MouseLeave);
- this.labHomeText.MouseHover += new System.EventHandler(this.panHome_MouseHover);
- //
- // picIconHome
- //
- this.picIconHome.BackColor = System.Drawing.Color.Transparent;
- this.picIconHome.BackgroundImage = global::Casic.Birmm.RbFreqStandMeasure.Properties.Resources.icon_home_selected;
- this.picIconHome.BackgroundImageLayout = System.Windows.Forms.ImageLayout.Zoom;
- this.picIconHome.Location = new System.Drawing.Point(10, 11);
- this.picIconHome.Name = "picIconHome";
- this.picIconHome.Size = new System.Drawing.Size(25, 25);
- this.picIconHome.TabIndex = 1;
- this.picIconHome.TabStop = false;
- this.picIconHome.Click += new System.EventHandler(this.panHome_Click);
- this.picIconHome.MouseLeave += new System.EventHandler(this.panHome_MouseLeave);
- this.picIconHome.MouseHover += new System.EventHandler(this.panHome_MouseHover);
- //
- // labHomeSelected
- //
- this.labHomeSelected.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(18)))), ((int)(((byte)(150)))), ((int)(((byte)(219)))));
- this.labHomeSelected.Location = new System.Drawing.Point(0, 47);
- this.labHomeSelected.Name = "labHomeSelected";
- this.labHomeSelected.Size = new System.Drawing.Size(100, 3);
- this.labHomeSelected.TabIndex = 0;
- //
- // labStatusSelected
- //
- this.labStatusSelected.BackColor = System.Drawing.Color.Transparent;
- this.labStatusSelected.Location = new System.Drawing.Point(160, 47);
- this.labStatusSelected.Margin = new System.Windows.Forms.Padding(0);
- this.labStatusSelected.Name = "labStatusSelected";
- this.labStatusSelected.Size = new System.Drawing.Size(130, 3);
- this.labStatusSelected.TabIndex = 0;
- //
// penBanner
//
this.penBanner.BackgroundImage = global::Casic.Birmm.RbFreqStandMeasure.Properties.Resources.bg_banner;
this.penBanner.BackgroundImageLayout = System.Windows.Forms.ImageLayout.Stretch;
+ this.penBanner.Controls.Add(this.btnMinSys);
this.penBanner.Controls.Add(this.btnExitSys);
this.penBanner.Controls.Add(this.labTitle);
this.penBanner.Location = new System.Drawing.Point(0, 0);
@@ -180,6 +109,23 @@
this.penBanner.TabIndex = 0;
this.penBanner.MouseDown += new System.Windows.Forms.MouseEventHandler(this.RbFreqStdMeas_MouseDown);
//
+ // btnMinSys
+ //
+ this.btnMinSys.BackColor = System.Drawing.Color.Transparent;
+ this.btnMinSys.BackgroundImage = global::Casic.Birmm.RbFreqStandMeasure.Properties.Resources.icon_min;
+ this.btnMinSys.BackgroundImageLayout = System.Windows.Forms.ImageLayout.Stretch;
+ this.btnMinSys.FlatAppearance.BorderSize = 0;
+ this.btnMinSys.FlatStyle = System.Windows.Forms.FlatStyle.Flat;
+ this.btnMinSys.ForeColor = System.Drawing.SystemColors.ControlDarkDark;
+ this.btnMinSys.Location = new System.Drawing.Point(944, 22);
+ this.btnMinSys.Margin = new System.Windows.Forms.Padding(0);
+ this.btnMinSys.Name = "btnMinSys";
+ this.btnMinSys.Size = new System.Drawing.Size(20, 20);
+ this.btnMinSys.TabIndex = 1;
+ this.btnMinSys.UseVisualStyleBackColor = false;
+ this.btnMinSys.Click += new System.EventHandler(this.btnMinSys_Click);
+ this.btnMinSys.MouseHover += new System.EventHandler(this.btnMinSys_MouseHover);
+ //
// btnExitSys
//
this.btnExitSys.BackColor = System.Drawing.Color.Transparent;
@@ -200,7 +146,7 @@
// labTitle
//
this.labTitle.BackColor = System.Drawing.Color.Transparent;
- this.labTitle.Font = new System.Drawing.Font("微软雅黑", 15.75F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
+ this.labTitle.Font = new System.Drawing.Font("微软雅黑", 20F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Pixel, ((byte)(134)));
this.labTitle.ForeColor = System.Drawing.Color.White;
this.labTitle.Location = new System.Drawing.Point(30, 16);
this.labTitle.Name = "labTitle";
@@ -209,11 +155,404 @@
this.labTitle.Text = "铷原子频标比对测量软件";
this.labTitle.TextAlign = System.Drawing.ContentAlignment.MiddleLeft;
//
+ // panDev
+ //
+ this.panDev.Back = System.Drawing.Color.Empty;
+ this.panDev.Controls.Add(this.labDevText);
+ this.panDev.Controls.Add(this.labDevSelected);
+ this.panDev.Controls.Add(this.picIconDev);
+ this.panDev.Location = new System.Drawing.Point(214, 0);
+ this.panDev.MatrixRound = 8;
+ this.panDev.Name = "panDev";
+ this.panDev.Size = new System.Drawing.Size(141, 50);
+ this.panDev.TabIndex = 2;
+ this.panDev.Click += new System.EventHandler(this.panDev_Click);
+ this.panDev.MouseLeave += new System.EventHandler(this.panDev_MouseLeave);
+ this.panDev.MouseHover += new System.EventHandler(this.panDev_MouseHover);
+ //
+ // labDevText
+ //
+ this.labDevText.BackColor = System.Drawing.Color.Transparent;
+ this.labDevText.Cursor = System.Windows.Forms.Cursors.Hand;
+ this.labDevText.Font = new System.Drawing.Font("微软雅黑", 16F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Pixel, ((byte)(134)));
+ this.labDevText.ForeColor = System.Drawing.SystemColors.ControlText;
+ this.labDevText.Location = new System.Drawing.Point(30, 14);
+ this.labDevText.Margin = new System.Windows.Forms.Padding(0);
+ this.labDevText.Name = "labDevText";
+ this.labDevText.Size = new System.Drawing.Size(106, 20);
+ this.labDevText.TabIndex = 2;
+ this.labDevText.Text = "送检仪器管理";
+ this.labDevText.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
+ this.labDevText.Click += new System.EventHandler(this.panDev_Click);
+ this.labDevText.MouseLeave += new System.EventHandler(this.panDev_MouseLeave);
+ this.labDevText.MouseHover += new System.EventHandler(this.panDev_MouseHover);
+ //
+ // labDevSelected
+ //
+ this.labDevSelected.BackColor = System.Drawing.Color.Transparent;
+ this.labDevSelected.Location = new System.Drawing.Point(8, 48);
+ this.labDevSelected.Margin = new System.Windows.Forms.Padding(0);
+ this.labDevSelected.Name = "labDevSelected";
+ this.labDevSelected.Size = new System.Drawing.Size(121, 2);
+ this.labDevSelected.TabIndex = 3;
+ //
+ // picIconDev
+ //
+ this.picIconDev.BackColor = System.Drawing.Color.Transparent;
+ this.picIconDev.BackgroundImage = global::Casic.Birmm.RbFreqStandMeasure.Properties.Resources.icon_dev;
+ this.picIconDev.BackgroundImageLayout = System.Windows.Forms.ImageLayout.Zoom;
+ this.picIconDev.Location = new System.Drawing.Point(10, 14);
+ this.picIconDev.Name = "picIconDev";
+ this.picIconDev.Size = new System.Drawing.Size(20, 20);
+ this.picIconDev.TabIndex = 1;
+ this.picIconDev.TabStop = false;
+ this.picIconDev.Click += new System.EventHandler(this.panDev_Click);
+ this.picIconDev.MouseLeave += new System.EventHandler(this.panDev_MouseLeave);
+ this.picIconDev.MouseHover += new System.EventHandler(this.panDev_MouseHover);
+ //
+ // panSetting
+ //
+ this.panSetting.Back = System.Drawing.Color.Empty;
+ this.panSetting.Controls.Add(this.labSettingSelected);
+ this.panSetting.Controls.Add(this.labSettingText);
+ this.panSetting.Controls.Add(this.picIconSetting);
+ this.panSetting.Location = new System.Drawing.Point(879, 0);
+ this.panSetting.MatrixRound = 8;
+ this.panSetting.Name = "panSetting";
+ this.panSetting.Size = new System.Drawing.Size(109, 50);
+ this.panSetting.TabIndex = 2;
+ this.panSetting.Click += new System.EventHandler(this.panSetting_Click);
+ this.panSetting.MouseLeave += new System.EventHandler(this.panSetting_MouseLeave);
+ this.panSetting.MouseHover += new System.EventHandler(this.panSetting_MouseHover);
+ //
+ // labSettingSelected
+ //
+ this.labSettingSelected.BackColor = System.Drawing.Color.Transparent;
+ this.labSettingSelected.Location = new System.Drawing.Point(10, 48);
+ this.labSettingSelected.Margin = new System.Windows.Forms.Padding(0);
+ this.labSettingSelected.Name = "labSettingSelected";
+ this.labSettingSelected.Size = new System.Drawing.Size(89, 2);
+ this.labSettingSelected.TabIndex = 4;
+ //
+ // labSettingText
+ //
+ this.labSettingText.BackColor = System.Drawing.Color.Transparent;
+ this.labSettingText.Cursor = System.Windows.Forms.Cursors.Hand;
+ this.labSettingText.Font = new System.Drawing.Font("微软雅黑", 16F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Pixel, ((byte)(134)));
+ this.labSettingText.ForeColor = System.Drawing.SystemColors.ControlText;
+ this.labSettingText.Location = new System.Drawing.Point(30, 14);
+ this.labSettingText.Margin = new System.Windows.Forms.Padding(0);
+ this.labSettingText.Name = "labSettingText";
+ this.labSettingText.Size = new System.Drawing.Size(74, 20);
+ this.labSettingText.TabIndex = 2;
+ this.labSettingText.Text = "系统设置";
+ this.labSettingText.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
+ this.labSettingText.Click += new System.EventHandler(this.panSetting_Click);
+ this.labSettingText.MouseLeave += new System.EventHandler(this.panSetting_MouseLeave);
+ this.labSettingText.MouseHover += new System.EventHandler(this.panSetting_MouseHover);
+ //
+ // picIconSetting
+ //
+ this.picIconSetting.BackColor = System.Drawing.Color.Transparent;
+ this.picIconSetting.BackgroundImage = global::Casic.Birmm.RbFreqStandMeasure.Properties.Resources.icon_setting;
+ this.picIconSetting.BackgroundImageLayout = System.Windows.Forms.ImageLayout.Zoom;
+ this.picIconSetting.Location = new System.Drawing.Point(10, 14);
+ this.picIconSetting.Name = "picIconSetting";
+ this.picIconSetting.Size = new System.Drawing.Size(20, 20);
+ this.picIconSetting.TabIndex = 1;
+ this.picIconSetting.TabStop = false;
+ this.picIconSetting.Click += new System.EventHandler(this.panSetting_Click);
+ this.picIconSetting.MouseLeave += new System.EventHandler(this.panSetting_MouseLeave);
+ this.picIconSetting.MouseHover += new System.EventHandler(this.panSetting_MouseHover);
+ //
+ // panStatus
+ //
+ this.panStatus.Back = System.Drawing.Color.Empty;
+ this.panStatus.BackColor = System.Drawing.Color.Transparent;
+ this.panStatus.Controls.Add(this.labStatusText);
+ this.panStatus.Controls.Add(this.picIconStatus);
+ this.panStatus.Controls.Add(this.labStatusSelected);
+ this.panStatus.Location = new System.Drawing.Point(101, 0);
+ this.panStatus.MatrixRound = 8;
+ this.panStatus.Name = "panStatus";
+ this.panStatus.Size = new System.Drawing.Size(109, 50);
+ this.panStatus.TabIndex = 1;
+ this.panStatus.Click += new System.EventHandler(this.panStatus_Click);
+ this.panStatus.MouseLeave += new System.EventHandler(this.panStatus_MouseLeave);
+ this.panStatus.MouseHover += new System.EventHandler(this.panStatus_MouseHover);
+ //
+ // labStatusText
+ //
+ this.labStatusText.BackColor = System.Drawing.Color.Transparent;
+ this.labStatusText.Cursor = System.Windows.Forms.Cursors.Hand;
+ this.labStatusText.Font = new System.Drawing.Font("微软雅黑", 16F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Pixel, ((byte)(134)));
+ this.labStatusText.ForeColor = System.Drawing.SystemColors.ControlText;
+ this.labStatusText.Location = new System.Drawing.Point(30, 14);
+ this.labStatusText.Margin = new System.Windows.Forms.Padding(0);
+ this.labStatusText.Name = "labStatusText";
+ this.labStatusText.Size = new System.Drawing.Size(74, 20);
+ this.labStatusText.TabIndex = 2;
+ this.labStatusText.Text = "基准状态";
+ this.labStatusText.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
+ this.labStatusText.Click += new System.EventHandler(this.panStatus_Click);
+ this.labStatusText.MouseLeave += new System.EventHandler(this.panStatus_MouseLeave);
+ this.labStatusText.MouseHover += new System.EventHandler(this.panStatus_MouseHover);
+ //
+ // picIconStatus
+ //
+ this.picIconStatus.BackgroundImage = global::Casic.Birmm.RbFreqStandMeasure.Properties.Resources.icon_status;
+ this.picIconStatus.BackgroundImageLayout = System.Windows.Forms.ImageLayout.Zoom;
+ this.picIconStatus.Location = new System.Drawing.Point(10, 14);
+ this.picIconStatus.Name = "picIconStatus";
+ this.picIconStatus.Size = new System.Drawing.Size(20, 20);
+ this.picIconStatus.TabIndex = 1;
+ this.picIconStatus.TabStop = false;
+ this.picIconStatus.Click += new System.EventHandler(this.panStatus_Click);
+ this.picIconStatus.MouseLeave += new System.EventHandler(this.panStatus_MouseLeave);
+ this.picIconStatus.MouseHover += new System.EventHandler(this.panStatus_MouseHover);
+ //
+ // labStatusSelected
+ //
+ this.labStatusSelected.BackColor = System.Drawing.Color.Transparent;
+ this.labStatusSelected.Location = new System.Drawing.Point(10, 48);
+ this.labStatusSelected.Margin = new System.Windows.Forms.Padding(0);
+ this.labStatusSelected.Name = "labStatusSelected";
+ this.labStatusSelected.Size = new System.Drawing.Size(89, 2);
+ this.labStatusSelected.TabIndex = 0;
+ //
+ // panData
+ //
+ this.panData.Back = System.Drawing.Color.Empty;
+ this.panData.Controls.Add(this.labDataSelected);
+ this.panData.Controls.Add(this.labDataText);
+ this.panData.Controls.Add(this.picIconData);
+ this.panData.Location = new System.Drawing.Point(765, 0);
+ this.panData.MatrixRound = 8;
+ this.panData.Name = "panData";
+ this.panData.Size = new System.Drawing.Size(109, 50);
+ this.panData.TabIndex = 2;
+ this.panData.Click += new System.EventHandler(this.panData_Click);
+ this.panData.MouseLeave += new System.EventHandler(this.panData_MouseLeave);
+ this.panData.MouseHover += new System.EventHandler(this.panData_MouseHover);
+ //
+ // labDataSelected
+ //
+ this.labDataSelected.BackColor = System.Drawing.Color.Transparent;
+ this.labDataSelected.Location = new System.Drawing.Point(10, 48);
+ this.labDataSelected.Margin = new System.Windows.Forms.Padding(0);
+ this.labDataSelected.Name = "labDataSelected";
+ this.labDataSelected.Size = new System.Drawing.Size(89, 2);
+ this.labDataSelected.TabIndex = 3;
+ //
+ // labDataText
+ //
+ this.labDataText.BackColor = System.Drawing.Color.Transparent;
+ this.labDataText.Cursor = System.Windows.Forms.Cursors.Hand;
+ this.labDataText.Font = new System.Drawing.Font("微软雅黑", 16F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Pixel, ((byte)(134)));
+ this.labDataText.ForeColor = System.Drawing.SystemColors.ControlText;
+ this.labDataText.Location = new System.Drawing.Point(30, 14);
+ this.labDataText.Margin = new System.Windows.Forms.Padding(0);
+ this.labDataText.Name = "labDataText";
+ this.labDataText.Size = new System.Drawing.Size(74, 20);
+ this.labDataText.TabIndex = 2;
+ this.labDataText.Text = "数据管理";
+ this.labDataText.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
+ this.labDataText.Click += new System.EventHandler(this.panData_Click);
+ this.labDataText.MouseLeave += new System.EventHandler(this.panData_MouseLeave);
+ this.labDataText.MouseHover += new System.EventHandler(this.panData_MouseHover);
+ //
+ // picIconData
+ //
+ this.picIconData.BackColor = System.Drawing.Color.Transparent;
+ this.picIconData.BackgroundImage = global::Casic.Birmm.RbFreqStandMeasure.Properties.Resources.icon_data;
+ this.picIconData.BackgroundImageLayout = System.Windows.Forms.ImageLayout.Zoom;
+ this.picIconData.Location = new System.Drawing.Point(10, 14);
+ this.picIconData.Name = "picIconData";
+ this.picIconData.Size = new System.Drawing.Size(20, 20);
+ this.picIconData.TabIndex = 1;
+ this.picIconData.TabStop = false;
+ this.picIconData.Click += new System.EventHandler(this.panData_Click);
+ this.picIconData.MouseLeave += new System.EventHandler(this.panData_MouseLeave);
+ this.picIconData.MouseHover += new System.EventHandler(this.panData_MouseHover);
+ //
+ // panHome
+ //
+ this.panHome.Back = System.Drawing.Color.Empty;
+ this.panHome.Controls.Add(this.labHomeText);
+ this.panHome.Controls.Add(this.picIconHome);
+ this.panHome.Controls.Add(this.labHomeSelected);
+ this.panHome.Cursor = System.Windows.Forms.Cursors.Hand;
+ this.panHome.Location = new System.Drawing.Point(20, 0);
+ this.panHome.MatrixRound = 8;
+ this.panHome.Name = "panHome";
+ this.panHome.Size = new System.Drawing.Size(75, 50);
+ this.panHome.TabIndex = 0;
+ this.panHome.Click += new System.EventHandler(this.panHome_Click);
+ this.panHome.MouseLeave += new System.EventHandler(this.panHome_MouseLeave);
+ this.panHome.MouseHover += new System.EventHandler(this.panHome_MouseHover);
+ //
+ // labHomeText
+ //
+ this.labHomeText.BackColor = System.Drawing.Color.Transparent;
+ this.labHomeText.Font = new System.Drawing.Font("微软雅黑", 16F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Pixel, ((byte)(134)));
+ this.labHomeText.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(18)))), ((int)(((byte)(150)))), ((int)(((byte)(219)))));
+ this.labHomeText.Location = new System.Drawing.Point(30, 14);
+ this.labHomeText.Margin = new System.Windows.Forms.Padding(0);
+ this.labHomeText.Name = "labHomeText";
+ this.labHomeText.Size = new System.Drawing.Size(42, 20);
+ this.labHomeText.TabIndex = 2;
+ this.labHomeText.Text = "首页";
+ this.labHomeText.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
+ this.labHomeText.Click += new System.EventHandler(this.panHome_Click);
+ this.labHomeText.MouseLeave += new System.EventHandler(this.panHome_MouseLeave);
+ this.labHomeText.MouseHover += new System.EventHandler(this.panHome_MouseHover);
+ //
+ // picIconHome
+ //
+ this.picIconHome.BackColor = System.Drawing.Color.Transparent;
+ this.picIconHome.BackgroundImage = global::Casic.Birmm.RbFreqStandMeasure.Properties.Resources.icon_home_selected;
+ this.picIconHome.BackgroundImageLayout = System.Windows.Forms.ImageLayout.Zoom;
+ this.picIconHome.Location = new System.Drawing.Point(10, 14);
+ this.picIconHome.Margin = new System.Windows.Forms.Padding(0);
+ this.picIconHome.Name = "picIconHome";
+ this.picIconHome.Size = new System.Drawing.Size(20, 20);
+ this.picIconHome.TabIndex = 1;
+ this.picIconHome.TabStop = false;
+ this.picIconHome.Click += new System.EventHandler(this.panHome_Click);
+ this.picIconHome.MouseLeave += new System.EventHandler(this.panHome_MouseLeave);
+ this.picIconHome.MouseHover += new System.EventHandler(this.panHome_MouseHover);
+ //
+ // labHomeSelected
+ //
+ this.labHomeSelected.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(18)))), ((int)(((byte)(150)))), ((int)(((byte)(219)))));
+ this.labHomeSelected.Location = new System.Drawing.Point(10, 48);
+ this.labHomeSelected.Name = "labHomeSelected";
+ this.labHomeSelected.Size = new System.Drawing.Size(55, 2);
+ this.labHomeSelected.TabIndex = 0;
+ //
+ // panMeasure
+ //
+ this.panMeasure.Back = System.Drawing.Color.Empty;
+ this.panMeasure.Controls.Add(this.labMeasureText);
+ this.panMeasure.Controls.Add(this.labMeasureSelected);
+ this.panMeasure.Controls.Add(this.picIconMeasure);
+ this.panMeasure.Location = new System.Drawing.Point(619, 0);
+ this.panMeasure.MatrixRound = 8;
+ this.panMeasure.Name = "panMeasure";
+ this.panMeasure.Size = new System.Drawing.Size(141, 50);
+ this.panMeasure.TabIndex = 2;
+ this.panMeasure.Click += new System.EventHandler(this.panMeasure_Click);
+ this.panMeasure.MouseLeave += new System.EventHandler(this.panMeasure_MouseLeave);
+ this.panMeasure.MouseHover += new System.EventHandler(this.panMeasure_MouseHover);
+ //
+ // labMeasureText
+ //
+ this.labMeasureText.BackColor = System.Drawing.Color.Transparent;
+ this.labMeasureText.Cursor = System.Windows.Forms.Cursors.Hand;
+ this.labMeasureText.Font = new System.Drawing.Font("微软雅黑", 16F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Pixel, ((byte)(134)));
+ this.labMeasureText.ForeColor = System.Drawing.SystemColors.ControlText;
+ this.labMeasureText.Location = new System.Drawing.Point(30, 14);
+ this.labMeasureText.Margin = new System.Windows.Forms.Padding(0);
+ this.labMeasureText.Name = "labMeasureText";
+ this.labMeasureText.Size = new System.Drawing.Size(106, 20);
+ this.labMeasureText.TabIndex = 2;
+ this.labMeasureText.Text = "计量信息管理";
+ this.labMeasureText.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
+ this.labMeasureText.Click += new System.EventHandler(this.panMeasure_Click);
+ this.labMeasureText.MouseLeave += new System.EventHandler(this.panMeasure_MouseLeave);
+ this.labMeasureText.MouseHover += new System.EventHandler(this.panMeasure_MouseHover);
+ //
+ // labMeasureSelected
+ //
+ this.labMeasureSelected.BackColor = System.Drawing.Color.Transparent;
+ this.labMeasureSelected.Location = new System.Drawing.Point(10, 48);
+ this.labMeasureSelected.Margin = new System.Windows.Forms.Padding(0);
+ this.labMeasureSelected.Name = "labMeasureSelected";
+ this.labMeasureSelected.Size = new System.Drawing.Size(121, 2);
+ this.labMeasureSelected.TabIndex = 3;
+ //
+ // picIconMeasure
+ //
+ this.picIconMeasure.BackColor = System.Drawing.Color.Transparent;
+ this.picIconMeasure.BackgroundImage = global::Casic.Birmm.RbFreqStandMeasure.Properties.Resources.icon_measure;
+ this.picIconMeasure.BackgroundImageLayout = System.Windows.Forms.ImageLayout.Zoom;
+ this.picIconMeasure.Location = new System.Drawing.Point(10, 14);
+ this.picIconMeasure.Name = "picIconMeasure";
+ this.picIconMeasure.Size = new System.Drawing.Size(20, 20);
+ this.picIconMeasure.TabIndex = 1;
+ this.picIconMeasure.TabStop = false;
+ this.picIconMeasure.Click += new System.EventHandler(this.panMeasure_Click);
+ this.picIconMeasure.MouseLeave += new System.EventHandler(this.panMeasure_MouseLeave);
+ this.picIconMeasure.MouseHover += new System.EventHandler(this.panMeasure_MouseHover);
+ //
+ // panCounter
+ //
+ this.panCounter.Back = System.Drawing.Color.Empty;
+ this.panCounter.Controls.Add(this.labCounterSelected);
+ this.panCounter.Controls.Add(this.labCounterText);
+ this.panCounter.Controls.Add(this.picIconCounter);
+ this.panCounter.Location = new System.Drawing.Point(360, 0);
+ this.panCounter.MatrixRound = 8;
+ this.panCounter.Name = "panCounter";
+ this.panCounter.Size = new System.Drawing.Size(254, 50);
+ this.panCounter.TabIndex = 2;
+ this.panCounter.Click += new System.EventHandler(this.panCounter_Click);
+ this.panCounter.MouseLeave += new System.EventHandler(this.panCounter_MouseLeave);
+ this.panCounter.MouseHover += new System.EventHandler(this.panCounter_MouseHover);
+ //
+ // labCounterSelected
+ //
+ this.labCounterSelected.BackColor = System.Drawing.Color.Transparent;
+ this.labCounterSelected.Location = new System.Drawing.Point(10, 48);
+ this.labCounterSelected.Margin = new System.Windows.Forms.Padding(0);
+ this.labCounterSelected.Name = "labCounterSelected";
+ this.labCounterSelected.Size = new System.Drawing.Size(233, 2);
+ this.labCounterSelected.TabIndex = 4;
+ //
+ // labCounterText
+ //
+ this.labCounterText.BackColor = System.Drawing.Color.Transparent;
+ this.labCounterText.Cursor = System.Windows.Forms.Cursors.Hand;
+ this.labCounterText.Font = new System.Drawing.Font("微软雅黑", 16F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Pixel, ((byte)(134)));
+ this.labCounterText.ForeColor = System.Drawing.SystemColors.ControlText;
+ this.labCounterText.Location = new System.Drawing.Point(30, 14);
+ this.labCounterText.Margin = new System.Windows.Forms.Padding(0);
+ this.labCounterText.Name = "labCounterText";
+ this.labCounterText.Size = new System.Drawing.Size(218, 20);
+ this.labCounterText.TabIndex = 2;
+ this.labCounterText.Text = "频率计数器范围及灵敏度测量";
+ this.labCounterText.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
+ this.labCounterText.Click += new System.EventHandler(this.panCounter_Click);
+ this.labCounterText.MouseLeave += new System.EventHandler(this.panCounter_MouseLeave);
+ this.labCounterText.MouseHover += new System.EventHandler(this.panCounter_MouseHover);
+ //
+ // picIconCounter
+ //
+ this.picIconCounter.BackColor = System.Drawing.Color.Transparent;
+ this.picIconCounter.BackgroundImage = global::Casic.Birmm.RbFreqStandMeasure.Properties.Resources.icon_counter;
+ this.picIconCounter.BackgroundImageLayout = System.Windows.Forms.ImageLayout.Zoom;
+ this.picIconCounter.Location = new System.Drawing.Point(10, 14);
+ this.picIconCounter.Name = "picIconCounter";
+ this.picIconCounter.Size = new System.Drawing.Size(20, 20);
+ this.picIconCounter.TabIndex = 1;
+ this.picIconCounter.TabStop = false;
+ this.picIconCounter.Click += new System.EventHandler(this.panCounter_Click);
+ this.picIconCounter.MouseLeave += new System.EventHandler(this.panCounter_MouseLeave);
+ this.picIconCounter.MouseHover += new System.EventHandler(this.panCounter_MouseHover);
+ //
+ // panelMain
+ //
+ this.panelMain.Location = new System.Drawing.Point(0, 114);
+ this.panelMain.Name = "panelMain";
+ this.panelMain.Size = new System.Drawing.Size(1024, 654);
+ this.panelMain.TabIndex = 2;
+ //
// RbFreqStdMeas
//
this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 12F);
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
this.ClientSize = new System.Drawing.Size(1024, 768);
+ this.Controls.Add(this.panelMain);
this.Controls.Add(this.panMenu);
this.Controls.Add(this.penBanner);
this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.None;
@@ -221,11 +560,21 @@
this.Text = "RbFreqStdMeas";
this.Load += new System.EventHandler(this.RbFreqStdMeas_Load);
this.panMenu.ResumeLayout(false);
+ this.penBanner.ResumeLayout(false);
+ this.panDev.ResumeLayout(false);
+ ((System.ComponentModel.ISupportInitialize)(this.picIconDev)).EndInit();
+ this.panSetting.ResumeLayout(false);
+ ((System.ComponentModel.ISupportInitialize)(this.picIconSetting)).EndInit();
this.panStatus.ResumeLayout(false);
((System.ComponentModel.ISupportInitialize)(this.picIconStatus)).EndInit();
+ this.panData.ResumeLayout(false);
+ ((System.ComponentModel.ISupportInitialize)(this.picIconData)).EndInit();
this.panHome.ResumeLayout(false);
((System.ComponentModel.ISupportInitialize)(this.picIconHome)).EndInit();
- this.penBanner.ResumeLayout(false);
+ this.panMeasure.ResumeLayout(false);
+ ((System.ComponentModel.ISupportInitialize)(this.picIconMeasure)).EndInit();
+ this.panCounter.ResumeLayout(false);
+ ((System.ComponentModel.ISupportInitialize)(this.picIconCounter)).EndInit();
this.ResumeLayout(false);
}
@@ -244,5 +593,27 @@
private RoundPanel panStatus;
private RoundPanel panHome;
private System.Windows.Forms.Label labStatusSelected;
+ private RoundPanel panDev;
+ private System.Windows.Forms.PictureBox picIconDev;
+ private System.Windows.Forms.Label labDevText;
+ private System.Windows.Forms.Label labMeasureSelected;
+ private RoundPanel panCounter;
+ private System.Windows.Forms.Label labCounterText;
+ private System.Windows.Forms.PictureBox picIconCounter;
+ private RoundPanel panMeasure;
+ private System.Windows.Forms.Label labMeasureText;
+ private System.Windows.Forms.PictureBox picIconMeasure;
+ private RoundPanel panData;
+ private System.Windows.Forms.Label labDataText;
+ private System.Windows.Forms.PictureBox picIconData;
+ private RoundPanel panSetting;
+ private System.Windows.Forms.Label labSettingText;
+ private System.Windows.Forms.PictureBox picIconSetting;
+ private System.Windows.Forms.Label labCounterSelected;
+ private System.Windows.Forms.Label labDevSelected;
+ private System.Windows.Forms.Label labDataSelected;
+ private System.Windows.Forms.Label labSettingSelected;
+ private System.Windows.Forms.Button btnMinSys;
+ private System.Windows.Forms.Panel panelMain;
}
}
\ No newline at end of file
diff --git a/RbFreqStandMeasure/RbFreqStdMeas.cs b/RbFreqStandMeasure/RbFreqStdMeas.cs
index 3858ddb..af980d7 100644
--- a/RbFreqStandMeasure/RbFreqStdMeas.cs
+++ b/RbFreqStandMeasure/RbFreqStdMeas.cs
@@ -1,13 +1,9 @@
-using Casic.Birmm.RbFreqStandMeasure.Properties;
+using Casic.Birmm.RbFreqStandMeasure.info;
+using Casic.Birmm.RbFreqStandMeasure.Properties;
+using Casic.Birmm.RbFreqStandMeasure.setting;
using System;
-using System.Collections.Generic;
-using System.ComponentModel;
-using System.Data;
using System.Drawing;
-using System.Linq;
-using System.Resources;
using System.Runtime.InteropServices;
-using System.Text;
using System.Windows.Forms;
namespace Casic.Birmm.RbFreqStandMeasure
@@ -15,7 +11,7 @@
public partial class RbFreqStdMeas : Form
{
- #region 无边框拖动效果
+ #region 无边框拖动效果/最小化窗口/关闭窗口
[DllImport("user32.dll")]//拖动无窗体的控件
public static extern bool ReleaseCapture();
[DllImport("user32.dll")]
@@ -30,9 +26,29 @@
ReleaseCapture();
SendMessage(this.Handle, WM_SYSCOMMAND, SC_MOVE + HTCAPTION, 0);
}
+ private void btnExitSys_Click(object sender, EventArgs e)
+ {
+ Application.Exit();
+ }
+ private void btnMinSys_Click(object sender, EventArgs e)
+ {
+ this.WindowState = FormWindowState.Minimized;
+ }
+ private void btnExitSys_MouseHover(object sender, EventArgs e)
+ {
+ ToolTip p = new ToolTip();
+ p.ShowAlways = true;
+ p.SetToolTip(this.btnExitSys, "退出");
+ }
+ private void btnMinSys_MouseHover(object sender, EventArgs e)
+ {
+ ToolTip p = new ToolTip();
+ p.ShowAlways = true;
+ p.SetToolTip(this.btnMinSys, "最小化");
+ }
#endregion
- private bool[] menuSelected = { true, false };
+ private bool[] menuSelected = { true, false, false, false, false, false, false };
// 按钮图标
private PictureBox[] menuPics;
// 按钮图标的资源名称(选中的资源名称在后面加上 _selected)
@@ -57,7 +73,7 @@
// 将当前按钮的效果设置为默认未选中
this.menuPics[index].BackgroundImage = (Bitmap)Resources.ResourceManager.GetObject(this.menuIconResources[index], null);
- this.menuLabels[index].ForeColor = ColorTranslator.FromHtml("#2C2C2C");
+ this.menuLabels[index].ForeColor = ColorTranslator.FromHtml("#333333");
this.menuUnderlines[index].BackColor = Color.Transparent;
}
@@ -79,13 +95,15 @@
LeaveHome();
// 重新设置所有按钮的状态
- this.menuSelected = new bool[] { true, false };
+ this.menuSelected = new bool[] { true, false, false, false, false, false, false };
// 将新选中的按钮设置为选中
this.picIconHome.BackgroundImage = (Bitmap)Resources.ResourceManager.GetObject("icon_home_selected", null);
- this.labHomeText.ForeColor = ColorTranslator.FromHtml("#1296db");
- this.labHomeSelected.BackColor = ColorTranslator.FromHtml("#1296db");
+ this.labHomeText.ForeColor = ColorTranslator.FromHtml("#3f84d7");
+ this.labHomeSelected.BackColor = ColorTranslator.FromHtml("#3f84d7");
+ // 切换至首页
+ switchMainPanel(0);
}
#endregion
@@ -107,12 +125,163 @@
LeaveStatus();
// 重新设置所有按钮的状态
- this.menuSelected = new bool[] { false, true };
+ this.menuSelected = new bool[] { false, true, false, false, false, false, false };
// 将新选中的按钮设置为选中
this.picIconStatus.BackgroundImage = (Bitmap) Resources.ResourceManager.GetObject("icon_status_selected", null);
- this.labStatusText.ForeColor = ColorTranslator.FromHtml("#1296db");
- this.labStatusSelected.BackColor = ColorTranslator.FromHtml("#1296db");
+ this.labStatusText.ForeColor = ColorTranslator.FromHtml("#3f84d7");
+ this.labStatusSelected.BackColor = ColorTranslator.FromHtml("#3f84d7");
+
+ // 切换到基准状态页面
+ switchMainPanel(1);
+ }
+ #endregion
+
+ #region 送检仪器按钮点击、移入/移出效果
+ private void HoverDev()
+ {
+ panDev.Back = ColorTranslator.FromHtml("#56a3f2");
+ }
+ private void LeaveDev()
+ {
+ panDev.Back = Color.Transparent;
+ }
+ private void SelectDev()
+ {
+ // 移除所有按钮的选中样式
+ this.ClearAllMenuSelected();
+
+ // 鼠标移入效果去掉
+ LeaveDev();
+
+ // 重新设置所有按钮的状态
+ this.menuSelected = new bool[] { false, false, true, false, false ,false ,false };
+
+ // 将新选中的按钮设置为选中
+ this.picIconDev.BackgroundImage = (Bitmap)Resources.ResourceManager.GetObject("icon_dev_selected", null);
+ this.labDevText.ForeColor = ColorTranslator.FromHtml("#3f84d7");
+ this.labDevSelected.BackColor = ColorTranslator.FromHtml("#3f84d7");
+
+ // 切换至待检仪器管理
+ switchMainPanel(2);
+ }
+ #endregion
+
+ #region 频率计数器测量点击、移入/移出效果
+ private void HoverCounter()
+ {
+ panCounter.Back = ColorTranslator.FromHtml("#56a3f2");
+ }
+ private void LeaveCounter()
+ {
+ panCounter.Back = Color.Transparent;
+ }
+ private void SelectCounter()
+ {
+ // 移除所有按钮的选中样式
+ this.ClearAllMenuSelected();
+
+ // 鼠标移入效果去掉
+ LeaveCounter();
+
+ // 重新设置所有按钮的状态
+ this.menuSelected = new bool[] { false, false, false, true, false, false, false };
+
+ // 将新选中的按钮设置为选中
+ this.picIconCounter.BackgroundImage = (Bitmap)Resources.ResourceManager.GetObject("icon_counter_selected", null);
+ this.labCounterText.ForeColor = ColorTranslator.FromHtml("#3f84d7");
+ this.labCounterSelected.BackColor = ColorTranslator.FromHtml("#3f84d7");
+ }
+ #endregion
+
+ #region 计量管理点击、移入/移出效果
+ private void HoverMeasure()
+ {
+ panMeasure.Back = ColorTranslator.FromHtml("#56a3f2");
+ }
+ private void LeaveMeasure()
+ {
+ panMeasure.Back = Color.Transparent;
+ }
+ private void SelectMeasure()
+ {
+ // 移除所有按钮的选中样式
+ this.ClearAllMenuSelected();
+
+ // 鼠标移入效果去掉
+ LeaveMeasure();
+
+ // 重新设置所有按钮的状态
+ this.menuSelected = new bool[] { false, false, false, false, true, false, false };
+
+ // 将新选中的按钮设置为选中
+ this.picIconMeasure.BackgroundImage = (Bitmap)Resources.ResourceManager.GetObject("icon_measure_selected", null);
+ this.labMeasureText.ForeColor = ColorTranslator.FromHtml("#3f84d7");
+ this.labMeasureSelected.BackColor = ColorTranslator.FromHtml("#3f84d7");
+
+ // 切换至计量信息管理
+ switchMainPanel(4);
+ }
+ #endregion
+
+ #region 数据管理点击、移入/移出效果
+ private void HoverData()
+ {
+ panData.Back = ColorTranslator.FromHtml("#56a3f2");
+ }
+ private void LeaveData()
+ {
+ panData.Back = Color.Transparent;
+ }
+ private void SelectData()
+ {
+ // 移除所有按钮的选中样式
+ this.ClearAllMenuSelected();
+
+ // 鼠标移入效果去掉
+ LeaveData();
+
+ // 重新设置所有按钮的状态
+ this.menuSelected = new bool[] { false, false, false, false, false, true, false };
+
+ // 将新选中的按钮设置为选中
+ this.picIconData.BackgroundImage = (Bitmap)Resources.ResourceManager.GetObject("icon_data_selected", null);
+ this.labDataText.ForeColor = ColorTranslator.FromHtml("#3f84d7");
+ this.labDataSelected.BackColor = ColorTranslator.FromHtml("#3f84d7");
+
+ // 弹出对话框进行数据备份与还原操作
+ DataBackupDlg dataDlg = new DataBackupDlg();
+ dataDlg.ShowDialog();
+ }
+ #endregion
+
+ #region 系统管理点击、移入/移出效果
+ private void HoverSetting()
+ {
+ panSetting.Back = ColorTranslator.FromHtml("#56a3f2");
+ }
+ private void LeaveSetting()
+ {
+ panSetting.Back = Color.Transparent;
+ }
+ private void SelectSetting()
+ {
+ // 移除所有按钮的选中样式
+ this.ClearAllMenuSelected();
+
+ // 鼠标移入效果去掉
+ LeaveSetting();
+
+ // 重新设置所有按钮的状态
+ this.menuSelected = new bool[] { false, false, false, false, false, false, true };
+
+ // 将新选中的按钮设置为选中
+ this.picIconSetting.BackgroundImage = (Bitmap)Resources.ResourceManager.GetObject("icon_setting_selected", null);
+ this.labSettingText.ForeColor = ColorTranslator.FromHtml("#3f84d7");
+ this.labSettingSelected.BackColor = ColorTranslator.FromHtml("#3f84d7");
+
+ // 切换到设置的界面
+ switchMainPanel(6);
}
#endregion
@@ -123,22 +292,13 @@
private void RbFreqStdMeas_Load(object sender, EventArgs e)
{
- this.menuPics = new PictureBox[] { this.picIconHome, this.picIconStatus };
- this.menuLabels = new Label[] { this.labHomeText, this.labStatusText };
- this.menuUnderlines = new Label[] { this.labHomeSelected, this.labStatusSelected };
- this.menuIconResources = new string[] { "icon_home", "icon_status" };
- }
+ this.menuPics = new PictureBox[] { this.picIconHome, this.picIconStatus, this.picIconDev, this.picIconCounter, this.picIconMeasure, this.picIconData, this.picIconSetting };
+ this.menuLabels = new Label[] { this.labHomeText, this.labStatusText, this.labDevText, this.labCounterText, this.labMeasureText, this.labDataText, this.labSettingText };
+ this.menuUnderlines = new Label[] { this.labHomeSelected, this.labStatusSelected, this.labDevSelected, this.labCounterSelected, this.labMeasureSelected, this.labDataSelected, this.labSettingSelected };
+ this.menuIconResources = new string[] { "icon_home", "icon_status", "icon_dev", "icon_counter", "icon_measure", "icon_data", "icon_setting" };
- private void btnExitSys_Click(object sender, EventArgs e)
- {
- Application.Exit();
- }
-
- private void btnExitSys_MouseHover(object sender, EventArgs e)
- {
- ToolTip p = new ToolTip();
- p.ShowAlways = true;
- p.SetToolTip(this.btnExitSys, "退出");
+ // 加载首页的内容
+ switchMainPanel(0);
}
private void panHome_Click(object sender, EventArgs e)
@@ -191,5 +351,169 @@
LeaveStatus();
}
}
+
+ private void panDev_Click(object sender, EventArgs e)
+ {
+ if (this.menuSelected[2] == false)
+ {
+ SelectDev();
+ }
+ }
+
+ private void panDev_MouseHover(object sender, EventArgs e)
+ {
+ if (this.menuSelected[2] == false)
+ {
+ HoverDev();
+ }
+ }
+
+ private void panDev_MouseLeave(object sender, EventArgs e)
+ {
+ if (this.menuSelected[2] == false)
+ {
+ LeaveDev();
+ }
+ }
+
+ private void panCounter_Click(object sender, EventArgs e)
+ {
+ if (this.menuSelected[3] == false)
+ {
+ SelectCounter();
+ }
+ }
+
+ private void panCounter_MouseHover(object sender, EventArgs e)
+ {
+ if (this.menuSelected[3] == false)
+ {
+ HoverCounter();
+ }
+ }
+
+ private void panCounter_MouseLeave(object sender, EventArgs e)
+ {
+ if (this.menuSelected[3] == false)
+ {
+ LeaveCounter();
+ }
+ }
+
+ private void panMeasure_Click(object sender, EventArgs e)
+ {
+ if (this.menuSelected[4] == false)
+ {
+ SelectMeasure();
+ }
+ }
+
+ private void panMeasure_MouseHover(object sender, EventArgs e)
+ {
+ if (this.menuSelected[4] == false)
+ {
+ HoverMeasure();
+ }
+ }
+
+ private void panMeasure_MouseLeave(object sender, EventArgs e)
+ {
+ if (this.menuSelected[4] == false)
+ {
+ LeaveMeasure();
+ }
+ }
+
+ private void panData_Click(object sender, EventArgs e)
+ {
+ if (this.menuSelected[5] == false)
+ {
+ SelectData();
+ }
+ }
+
+ private void panData_MouseHover(object sender, EventArgs e)
+ {
+ if (this.menuSelected[5] == false)
+ {
+ HoverData();
+ }
+ }
+
+ private void panData_MouseLeave(object sender, EventArgs e)
+ {
+ if (this.menuSelected[5] == false)
+ {
+ LeaveData();
+ }
+ }
+
+ private void panSetting_Click(object sender, EventArgs e)
+ {
+ if (this.menuSelected[6] == false)
+ {
+ SelectSetting();
+ }
+ }
+
+ private void panSetting_MouseHover(object sender, EventArgs e)
+ {
+ if (this.menuSelected[6] == false)
+ {
+ HoverSetting();
+ }
+ }
+
+ private void panSetting_MouseLeave(object sender, EventArgs e)
+ {
+ if (this.menuSelected[6] == false)
+ {
+ LeaveSetting();
+ }
+ }
+
+ private void switchMainPanel(int index)
+ {
+ this.panelMain.Controls.Clear();
+
+ switch (index)
+ {
+ case 0: // 首页
+ HomeCtrlForm home = new HomeCtrlForm();
+ home.Show();
+ this.panelMain.Controls.Add(home);
+ break;
+
+ case 1: // 基准状态
+ StatusCtrlForm statusForm = new StatusCtrlForm();
+ statusForm.Show();
+ this.panelMain.Controls.Add(statusForm);
+ break;
+
+ case 2: // 待检设备
+ InfoCtrlForm infoForm = new InfoCtrlForm();
+ infoForm.Show();
+ this.panelMain.Controls.Add(infoForm);
+ break;
+
+ case 3: // 频率计数器范围
+ break;
+
+ case 4: // 计量信息
+ DevTestedCtrlForm tested = new DevTestedCtrlForm();
+ tested.Show();
+ this.panelMain.Controls.Add(tested);
+ break;
+
+ case 6: // 设置
+ SettingCtrlForm settingForm = new SettingCtrlForm();
+ settingForm.Show();
+ this.panelMain.Controls.Add(settingForm);
+ break;
+
+ default:
+ break;
+ }
+ }
}
}
\ No newline at end of file
diff --git a/RbFreqStandMeasure/StatusCtrlForm.Designer.cs b/RbFreqStandMeasure/StatusCtrlForm.Designer.cs
index bf5071a..b4151fd 100644
--- a/RbFreqStandMeasure/StatusCtrlForm.Designer.cs
+++ b/RbFreqStandMeasure/StatusCtrlForm.Designer.cs
@@ -31,21 +31,34 @@
{
this.panelSite = new System.Windows.Forms.Panel();
this.label5 = new System.Windows.Forms.Label();
- this.panelStatus = new System.Windows.Forms.Panel();
+ this.panel3 = new System.Windows.Forms.Panel();
+ this.label8 = new System.Windows.Forms.Label();
+ this.label13 = new System.Windows.Forms.Label();
+ this.label12 = new System.Windows.Forms.Label();
+ this.label11 = new System.Windows.Forms.Label();
+ this.label9 = new System.Windows.Forms.Label();
+ this.label10 = new System.Windows.Forms.Label();
+ this.panel2 = new System.Windows.Forms.Panel();
this.label4 = new System.Windows.Forms.Label();
+ this.label7 = new System.Windows.Forms.Label();
+ this.label6 = new System.Windows.Forms.Label();
+ this.label1 = new System.Windows.Forms.Label();
+ this.panel1 = new System.Windows.Forms.Panel();
this.label3 = new System.Windows.Forms.Label();
this.label2 = new System.Windows.Forms.Label();
- this.label1 = new System.Windows.Forms.Label();
+ this.label14 = new System.Windows.Forms.Label();
this.panelSite.SuspendLayout();
- this.panelStatus.SuspendLayout();
+ this.panel3.SuspendLayout();
+ this.panel2.SuspendLayout();
+ this.panel1.SuspendLayout();
this.SuspendLayout();
//
// panelSite
//
this.panelSite.Controls.Add(this.label5);
- this.panelSite.Location = new System.Drawing.Point(200, 0);
+ this.panelSite.Location = new System.Drawing.Point(232, 0);
this.panelSite.Name = "panelSite";
- this.panelSite.Size = new System.Drawing.Size(800, 640);
+ this.panelSite.Size = new System.Drawing.Size(773, 640);
this.panelSite.TabIndex = 3;
//
// label5
@@ -57,67 +70,208 @@
this.label5.TabIndex = 0;
this.label5.Text = "卫星位置图";
//
- // panelStatus
+ // panel3
//
- this.panelStatus.BackColor = System.Drawing.SystemColors.Window;
- this.panelStatus.Controls.Add(this.label4);
- this.panelStatus.Controls.Add(this.label3);
- this.panelStatus.Controls.Add(this.label2);
- this.panelStatus.Controls.Add(this.label1);
- this.panelStatus.Location = new System.Drawing.Point(0, 0);
- this.panelStatus.Name = "panelStatus";
- this.panelStatus.Size = new System.Drawing.Size(200, 640);
- this.panelStatus.TabIndex = 2;
+ this.panel3.BackgroundImage = global::Casic.Birmm.RbFreqStandMeasure.Properties.Resources.bg_status_location;
+ this.panel3.Controls.Add(this.label8);
+ this.panel3.Controls.Add(this.label13);
+ this.panel3.Controls.Add(this.label12);
+ this.panel3.Controls.Add(this.label11);
+ this.panel3.Controls.Add(this.label9);
+ this.panel3.Controls.Add(this.label10);
+ this.panel3.Location = new System.Drawing.Point(6, 360);
+ this.panel3.Name = "panel3";
+ this.panel3.Size = new System.Drawing.Size(224, 293);
+ this.panel3.TabIndex = 6;
+ //
+ // label8
+ //
+ this.label8.BackColor = System.Drawing.Color.Transparent;
+ this.label8.Font = new System.Drawing.Font("微软雅黑", 14F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Pixel, ((byte)(134)));
+ this.label8.Location = new System.Drawing.Point(0, 20);
+ this.label8.Name = "label8";
+ this.label8.Size = new System.Drawing.Size(224, 25);
+ this.label8.TabIndex = 0;
+ this.label8.Text = "位置信息";
+ this.label8.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
+ //
+ // label13
+ //
+ this.label13.BackColor = System.Drawing.Color.Transparent;
+ this.label13.Font = new System.Drawing.Font("微软雅黑", 14F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Pixel, ((byte)(134)));
+ this.label13.Location = new System.Drawing.Point(0, 220);
+ this.label13.Margin = new System.Windows.Forms.Padding(0);
+ this.label13.Name = "label13";
+ this.label13.Size = new System.Drawing.Size(75, 25);
+ this.label13.TabIndex = 1;
+ this.label13.Text = "Z";
+ this.label13.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
+ //
+ // label12
+ //
+ this.label12.BackColor = System.Drawing.Color.Transparent;
+ this.label12.Font = new System.Drawing.Font("微软雅黑", 14F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Pixel, ((byte)(134)));
+ this.label12.Location = new System.Drawing.Point(0, 180);
+ this.label12.Margin = new System.Windows.Forms.Padding(0);
+ this.label12.Name = "label12";
+ this.label12.Size = new System.Drawing.Size(75, 25);
+ this.label12.TabIndex = 1;
+ this.label12.Text = "Y";
+ this.label12.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
+ //
+ // label11
+ //
+ this.label11.BackColor = System.Drawing.Color.Transparent;
+ this.label11.Font = new System.Drawing.Font("微软雅黑", 14F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Pixel, ((byte)(134)));
+ this.label11.Location = new System.Drawing.Point(0, 140);
+ this.label11.Margin = new System.Windows.Forms.Padding(0);
+ this.label11.Name = "label11";
+ this.label11.Size = new System.Drawing.Size(75, 25);
+ this.label11.TabIndex = 1;
+ this.label11.Text = "X";
+ this.label11.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
+ //
+ // label9
+ //
+ this.label9.BackColor = System.Drawing.Color.Transparent;
+ this.label9.Font = new System.Drawing.Font("微软雅黑", 14F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Pixel, ((byte)(134)));
+ this.label9.Location = new System.Drawing.Point(0, 60);
+ this.label9.Name = "label9";
+ this.label9.Size = new System.Drawing.Size(75, 25);
+ this.label9.TabIndex = 1;
+ this.label9.Text = "经度";
+ this.label9.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
+ //
+ // label10
+ //
+ this.label10.BackColor = System.Drawing.Color.Transparent;
+ this.label10.Font = new System.Drawing.Font("微软雅黑", 14F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Pixel, ((byte)(134)));
+ this.label10.Location = new System.Drawing.Point(0, 100);
+ this.label10.Margin = new System.Windows.Forms.Padding(0);
+ this.label10.Name = "label10";
+ this.label10.Size = new System.Drawing.Size(75, 25);
+ this.label10.TabIndex = 1;
+ this.label10.Text = "纬度";
+ this.label10.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
+ //
+ // panel2
+ //
+ this.panel2.BackgroundImage = global::Casic.Birmm.RbFreqStandMeasure.Properties.Resources.bg_status_time;
+ this.panel2.Controls.Add(this.label4);
+ this.panel2.Controls.Add(this.label7);
+ this.panel2.Controls.Add(this.label6);
+ this.panel2.Controls.Add(this.label1);
+ this.panel2.Location = new System.Drawing.Point(6, 160);
+ this.panel2.Name = "panel2";
+ this.panel2.Size = new System.Drawing.Size(224, 200);
+ this.panel2.TabIndex = 5;
//
// label4
//
- this.label4.AutoSize = true;
- this.label4.Location = new System.Drawing.Point(59, 185);
+ this.label4.BackColor = System.Drawing.Color.Transparent;
+ this.label4.Font = new System.Drawing.Font("微软雅黑", 14F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Pixel, ((byte)(134)));
+ this.label4.Location = new System.Drawing.Point(0, 20);
this.label4.Name = "label4";
- this.label4.Size = new System.Drawing.Size(53, 12);
+ this.label4.Size = new System.Drawing.Size(224, 25);
this.label4.TabIndex = 0;
- this.label4.Text = "事件信息";
+ this.label4.Text = "时间信息";
+ this.label4.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
//
- // label3
+ // label7
//
- this.label3.AutoSize = true;
- this.label3.Location = new System.Drawing.Point(59, 139);
- this.label3.Name = "label3";
- this.label3.Size = new System.Drawing.Size(53, 12);
- this.label3.TabIndex = 0;
- this.label3.Text = "位置信息";
+ this.label7.BackColor = System.Drawing.Color.Transparent;
+ this.label7.Font = new System.Drawing.Font("微软雅黑", 14F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Pixel, ((byte)(134)));
+ this.label7.Location = new System.Drawing.Point(0, 140);
+ this.label7.Margin = new System.Windows.Forms.Padding(0);
+ this.label7.Name = "label7";
+ this.label7.Size = new System.Drawing.Size(75, 25);
+ this.label7.TabIndex = 1;
+ this.label7.Text = "MJD";
+ this.label7.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
//
- // label2
+ // label6
//
- this.label2.AutoSize = true;
- this.label2.Location = new System.Drawing.Point(59, 98);
- this.label2.Name = "label2";
- this.label2.Size = new System.Drawing.Size(53, 12);
- this.label2.TabIndex = 0;
- this.label2.Text = "锁定状态";
+ this.label6.BackColor = System.Drawing.Color.Transparent;
+ this.label6.Font = new System.Drawing.Font("微软雅黑", 14F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Pixel, ((byte)(134)));
+ this.label6.Location = new System.Drawing.Point(0, 100);
+ this.label6.Name = "label6";
+ this.label6.Size = new System.Drawing.Size(75, 25);
+ this.label6.TabIndex = 1;
+ this.label6.Text = "时间";
+ this.label6.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
//
// label1
//
- this.label1.AutoSize = true;
- this.label1.Location = new System.Drawing.Point(33, 53);
+ this.label1.BackColor = System.Drawing.Color.Transparent;
+ this.label1.Font = new System.Drawing.Font("微软雅黑", 14F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Pixel, ((byte)(134)));
+ this.label1.Location = new System.Drawing.Point(0, 60);
this.label1.Name = "label1";
- this.label1.Size = new System.Drawing.Size(29, 12);
- this.label1.TabIndex = 0;
- this.label1.Text = "状态";
+ this.label1.Size = new System.Drawing.Size(75, 25);
+ this.label1.TabIndex = 1;
+ this.label1.Text = "日期";
+ this.label1.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
+ //
+ // panel1
+ //
+ this.panel1.BackgroundImage = global::Casic.Birmm.RbFreqStandMeasure.Properties.Resources.bg_status_base;
+ this.panel1.Controls.Add(this.label3);
+ this.panel1.Controls.Add(this.label2);
+ this.panel1.Controls.Add(this.label14);
+ this.panel1.Location = new System.Drawing.Point(6, 0);
+ this.panel1.Margin = new System.Windows.Forms.Padding(0);
+ this.panel1.Name = "panel1";
+ this.panel1.Size = new System.Drawing.Size(224, 160);
+ this.panel1.TabIndex = 4;
+ //
+ // label3
+ //
+ this.label3.BackColor = System.Drawing.Color.Transparent;
+ this.label3.Font = new System.Drawing.Font("微软雅黑", 14F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Pixel, ((byte)(134)));
+ this.label3.Location = new System.Drawing.Point(0, 100);
+ this.label3.Name = "label3";
+ this.label3.Size = new System.Drawing.Size(75, 25);
+ this.label3.TabIndex = 1;
+ this.label3.Text = "接收机";
+ this.label3.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
+ //
+ // label2
+ //
+ this.label2.BackColor = System.Drawing.Color.Transparent;
+ this.label2.Font = new System.Drawing.Font("微软雅黑", 14F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Pixel, ((byte)(134)));
+ this.label2.Location = new System.Drawing.Point(0, 60);
+ this.label2.Name = "label2";
+ this.label2.Size = new System.Drawing.Size(75, 25);
+ this.label2.TabIndex = 1;
+ this.label2.Text = "原子钟";
+ this.label2.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
+ //
+ // label14
+ //
+ this.label14.BackColor = System.Drawing.Color.Transparent;
+ this.label14.Font = new System.Drawing.Font("微软雅黑", 14F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Pixel, ((byte)(134)));
+ this.label14.Location = new System.Drawing.Point(0, 20);
+ this.label14.Name = "label14";
+ this.label14.Size = new System.Drawing.Size(224, 25);
+ this.label14.TabIndex = 0;
+ this.label14.Text = "基本信息";
+ this.label14.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
//
// StatusCtrlForm
//
this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 12F);
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
+ this.Controls.Add(this.panel3);
+ this.Controls.Add(this.panel2);
+ this.Controls.Add(this.panel1);
this.Controls.Add(this.panelSite);
- this.Controls.Add(this.panelStatus);
this.Margin = new System.Windows.Forms.Padding(10);
this.Name = "StatusCtrlForm";
- this.Size = new System.Drawing.Size(1000, 640);
+ this.Size = new System.Drawing.Size(1024, 654);
this.panelSite.ResumeLayout(false);
this.panelSite.PerformLayout();
- this.panelStatus.ResumeLayout(false);
- this.panelStatus.PerformLayout();
+ this.panel3.ResumeLayout(false);
+ this.panel2.ResumeLayout(false);
+ this.panel1.ResumeLayout(false);
this.ResumeLayout(false);
}
@@ -126,10 +280,21 @@
private System.Windows.Forms.Panel panelSite;
private System.Windows.Forms.Label label5;
- private System.Windows.Forms.Panel panelStatus;
+ private System.Windows.Forms.Panel panel3;
+ private System.Windows.Forms.Label label8;
+ private System.Windows.Forms.Label label13;
+ private System.Windows.Forms.Label label12;
+ private System.Windows.Forms.Label label11;
+ private System.Windows.Forms.Label label9;
+ private System.Windows.Forms.Label label10;
+ private System.Windows.Forms.Panel panel2;
private System.Windows.Forms.Label label4;
+ private System.Windows.Forms.Label label7;
+ private System.Windows.Forms.Label label6;
+ private System.Windows.Forms.Label label1;
+ private System.Windows.Forms.Panel panel1;
private System.Windows.Forms.Label label3;
private System.Windows.Forms.Label label2;
- private System.Windows.Forms.Label label1;
+ private System.Windows.Forms.Label label14;
}
}
diff --git a/RbFreqStandMeasure/res/images/bg_banner.png b/RbFreqStandMeasure/res/images/bg_banner.png
index d795b7d..3119070 100644
--- a/RbFreqStandMeasure/res/images/bg_banner.png
+++ b/RbFreqStandMeasure/res/images/bg_banner.png
Binary files differ
diff --git a/RbFreqStandMeasure/res/images/bg_dev_channel.png b/RbFreqStandMeasure/res/images/bg_dev_channel.png
new file mode 100644
index 0000000..7bac7ce
--- /dev/null
+++ b/RbFreqStandMeasure/res/images/bg_dev_channel.png
Binary files differ
diff --git a/RbFreqStandMeasure/res/images/bg_dev_tested.png b/RbFreqStandMeasure/res/images/bg_dev_tested.png
new file mode 100644
index 0000000..0b43ead
--- /dev/null
+++ b/RbFreqStandMeasure/res/images/bg_dev_tested.png
Binary files differ
diff --git a/RbFreqStandMeasure/res/images/bg_status_base.png b/RbFreqStandMeasure/res/images/bg_status_base.png
new file mode 100644
index 0000000..ef11397
--- /dev/null
+++ b/RbFreqStandMeasure/res/images/bg_status_base.png
Binary files differ
diff --git a/RbFreqStandMeasure/res/images/bg_status_location.png b/RbFreqStandMeasure/res/images/bg_status_location.png
new file mode 100644
index 0000000..64d28d5
--- /dev/null
+++ b/RbFreqStandMeasure/res/images/bg_status_location.png
Binary files differ
diff --git a/RbFreqStandMeasure/HomeCtrlForm.Designer.cs b/RbFreqStandMeasure/HomeCtrlForm.Designer.cs
index fb515f8..73e477a 100644
--- a/RbFreqStandMeasure/HomeCtrlForm.Designer.cs
+++ b/RbFreqStandMeasure/HomeCtrlForm.Designer.cs
@@ -29,589 +29,271 @@
///
private void InitializeComponent()
{
- System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle1 = new System.Windows.Forms.DataGridViewCellStyle();
- System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle2 = new System.Windows.Forms.DataGridViewCellStyle();
- this.panelToBeTested = new System.Windows.Forms.Panel();
- this.dataGridViewX1 = new DevComponents.DotNetBar.Controls.DataGridViewX();
- this.Column13 = new System.Windows.Forms.DataGridViewTextBoxColumn();
- this.Column14 = new System.Windows.Forms.DataGridViewTextBoxColumn();
- this.Column15 = new System.Windows.Forms.DataGridViewTextBoxColumn();
- this.Column16 = new System.Windows.Forms.DataGridViewTextBoxColumn();
- this.Column17 = new System.Windows.Forms.DataGridViewTextBoxColumn();
- this.panelEx1 = new DevComponents.DotNetBar.PanelEx();
- this.labelX6 = new DevComponents.DotNetBar.LabelX();
- this.labelX5 = new DevComponents.DotNetBar.LabelX();
- this.labelX4 = new DevComponents.DotNetBar.LabelX();
- this.labelX3 = new DevComponents.DotNetBar.LabelX();
- this.labelX2 = new DevComponents.DotNetBar.LabelX();
- this.labelX1 = new DevComponents.DotNetBar.LabelX();
- this.panelEx2 = new DevComponents.DotNetBar.PanelEx();
- this.labelX7 = new DevComponents.DotNetBar.LabelX();
- this.labelX8 = new DevComponents.DotNetBar.LabelX();
- this.labelX10 = new DevComponents.DotNetBar.LabelX();
- this.labelX9 = new DevComponents.DotNetBar.LabelX();
- this.panelEx3 = new DevComponents.DotNetBar.PanelEx();
- this.labelX11 = new DevComponents.DotNetBar.LabelX();
- this.labelX13 = new DevComponents.DotNetBar.LabelX();
- this.labelX12 = new DevComponents.DotNetBar.LabelX();
- this.panelEx4 = new DevComponents.DotNetBar.PanelEx();
- this.dataGridViewX2 = new DevComponents.DotNetBar.Controls.DataGridViewX();
- this.Column18 = new System.Windows.Forms.DataGridViewTextBoxColumn();
- this.Column19 = new System.Windows.Forms.DataGridViewTextBoxColumn();
- this.Column20 = new System.Windows.Forms.DataGridViewTextBoxColumn();
- this.Column21 = new System.Windows.Forms.DataGridViewTextBoxColumn();
- this.Column22 = new System.Windows.Forms.DataGridViewTextBoxColumn();
- this.Column23 = new System.Windows.Forms.DataGridViewTextBoxColumn();
- this.Column24 = new System.Windows.Forms.DataGridViewTextBoxColumn();
- this.Column25 = new System.Windows.Forms.DataGridViewTextBoxColumn();
- this.Column26 = new System.Windows.Forms.DataGridViewTextBoxColumn();
- this.Column27 = new System.Windows.Forms.DataGridViewTextBoxColumn();
- this.Column28 = new System.Windows.Forms.DataGridViewTextBoxColumn();
- this.Column29 = new System.Windows.Forms.DataGridViewTextBoxColumn();
- this.buttonX1 = new DevComponents.DotNetBar.ButtonX();
- this.buttonX2 = new DevComponents.DotNetBar.ButtonX();
+ this.panel3 = new System.Windows.Forms.Panel();
+ this.panel2 = new System.Windows.Forms.Panel();
+ this.panel1 = new System.Windows.Forms.Panel();
+ this.panel4 = new System.Windows.Forms.Panel();
+ this.panel5 = new System.Windows.Forms.Panel();
this.label1 = new System.Windows.Forms.Label();
this.label2 = new System.Windows.Forms.Label();
- this.panelToBeTested.SuspendLayout();
- ((System.ComponentModel.ISupportInitialize)(this.dataGridViewX1)).BeginInit();
- this.panelEx1.SuspendLayout();
- this.panelEx2.SuspendLayout();
- this.panelEx3.SuspendLayout();
- this.panelEx4.SuspendLayout();
- ((System.ComponentModel.ISupportInitialize)(this.dataGridViewX2)).BeginInit();
+ this.label3 = new System.Windows.Forms.Label();
+ this.label4 = new System.Windows.Forms.Label();
+ this.label5 = new System.Windows.Forms.Label();
+ this.label6 = new System.Windows.Forms.Label();
+ this.label7 = new System.Windows.Forms.Label();
+ this.label8 = new System.Windows.Forms.Label();
+ this.label9 = new System.Windows.Forms.Label();
+ this.label10 = new System.Windows.Forms.Label();
+ this.label11 = new System.Windows.Forms.Label();
+ this.label12 = new System.Windows.Forms.Label();
+ this.label13 = new System.Windows.Forms.Label();
+ this.panel3.SuspendLayout();
+ this.panel2.SuspendLayout();
+ this.panel1.SuspendLayout();
this.SuspendLayout();
//
- // panelToBeTested
+ // panel3
//
- this.panelToBeTested.Controls.Add(this.dataGridViewX1);
- this.panelToBeTested.Controls.Add(this.buttonX2);
- this.panelToBeTested.Controls.Add(this.buttonX1);
- this.panelToBeTested.Location = new System.Drawing.Point(250, 0);
- this.panelToBeTested.Name = "panelToBeTested";
- this.panelToBeTested.Size = new System.Drawing.Size(750, 216);
- this.panelToBeTested.TabIndex = 4;
+ this.panel3.BackgroundImage = global::Casic.Birmm.RbFreqStandMeasure.Properties.Resources.bg_status_location;
+ this.panel3.Controls.Add(this.label8);
+ this.panel3.Controls.Add(this.label13);
+ this.panel3.Controls.Add(this.label12);
+ this.panel3.Controls.Add(this.label11);
+ this.panel3.Controls.Add(this.label9);
+ this.panel3.Controls.Add(this.label10);
+ this.panel3.Location = new System.Drawing.Point(6, 360);
+ this.panel3.Name = "panel3";
+ this.panel3.Size = new System.Drawing.Size(224, 293);
+ this.panel3.TabIndex = 2;
//
- // dataGridViewX1
+ // panel2
//
- this.dataGridViewX1.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.AutoSize;
- this.dataGridViewX1.Columns.AddRange(new System.Windows.Forms.DataGridViewColumn[] {
- this.Column13,
- this.Column14,
- this.Column15,
- this.Column16,
- this.Column17});
- dataGridViewCellStyle1.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleLeft;
- dataGridViewCellStyle1.BackColor = System.Drawing.SystemColors.Window;
- dataGridViewCellStyle1.Font = new System.Drawing.Font("宋体", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
- dataGridViewCellStyle1.ForeColor = System.Drawing.SystemColors.ControlText;
- dataGridViewCellStyle1.SelectionBackColor = System.Drawing.SystemColors.Highlight;
- dataGridViewCellStyle1.SelectionForeColor = System.Drawing.SystemColors.ControlText;
- dataGridViewCellStyle1.WrapMode = System.Windows.Forms.DataGridViewTriState.False;
- this.dataGridViewX1.DefaultCellStyle = dataGridViewCellStyle1;
- this.dataGridViewX1.GridColor = System.Drawing.Color.FromArgb(((int)(((byte)(208)))), ((int)(((byte)(215)))), ((int)(((byte)(229)))));
- this.dataGridViewX1.Location = new System.Drawing.Point(0, 1);
- this.dataGridViewX1.Name = "dataGridViewX1";
- this.dataGridViewX1.RowTemplate.Height = 23;
- this.dataGridViewX1.Size = new System.Drawing.Size(750, 179);
- this.dataGridViewX1.TabIndex = 14;
+ this.panel2.BackgroundImage = global::Casic.Birmm.RbFreqStandMeasure.Properties.Resources.bg_status_time;
+ this.panel2.Controls.Add(this.label4);
+ this.panel2.Controls.Add(this.label7);
+ this.panel2.Controls.Add(this.label6);
+ this.panel2.Controls.Add(this.label5);
+ this.panel2.Location = new System.Drawing.Point(6, 160);
+ this.panel2.Name = "panel2";
+ this.panel2.Size = new System.Drawing.Size(224, 200);
+ this.panel2.TabIndex = 1;
//
- // Column13
+ // panel1
//
- this.Column13.HeaderText = "仪器名称";
- this.Column13.Name = "Column13";
+ this.panel1.BackgroundImage = global::Casic.Birmm.RbFreqStandMeasure.Properties.Resources.bg_status_base;
+ this.panel1.Controls.Add(this.label3);
+ this.panel1.Controls.Add(this.label2);
+ this.panel1.Controls.Add(this.label1);
+ this.panel1.Location = new System.Drawing.Point(6, 0);
+ this.panel1.Margin = new System.Windows.Forms.Padding(0);
+ this.panel1.Name = "panel1";
+ this.panel1.Size = new System.Drawing.Size(224, 160);
+ this.panel1.TabIndex = 0;
//
- // Column14
+ // panel4
//
- this.Column14.HeaderText = "仪器类型";
- this.Column14.Name = "Column14";
+ this.panel4.BackgroundImage = global::Casic.Birmm.RbFreqStandMeasure.Properties.Resources.bg_dev_tested;
+ this.panel4.Location = new System.Drawing.Point(230, 0);
+ this.panel4.Margin = new System.Windows.Forms.Padding(0);
+ this.panel4.Name = "panel4";
+ this.panel4.Size = new System.Drawing.Size(788, 226);
+ this.panel4.TabIndex = 3;
//
- // Column15
+ // panel5
//
- this.Column15.HeaderText = "仪器编号";
- this.Column15.Name = "Column15";
- //
- // Column16
- //
- this.Column16.HeaderText = "客户名称";
- this.Column16.Name = "Column16";
- //
- // Column17
- //
- this.Column17.HeaderText = "开始时间";
- this.Column17.Name = "Column17";
- //
- // panelEx1
- //
- this.panelEx1.CanvasColor = System.Drawing.SystemColors.Control;
- this.panelEx1.ColorSchemeStyle = DevComponents.DotNetBar.eDotNetBarStyle.StyleManagerControlled;
- this.panelEx1.Controls.Add(this.labelX6);
- this.panelEx1.Controls.Add(this.labelX5);
- this.panelEx1.Controls.Add(this.labelX4);
- this.panelEx1.Controls.Add(this.labelX3);
- this.panelEx1.Controls.Add(this.labelX2);
- this.panelEx1.Controls.Add(this.labelX1);
- this.panelEx1.DisabledBackColor = System.Drawing.Color.Empty;
- this.panelEx1.Location = new System.Drawing.Point(25, 376);
- this.panelEx1.Name = "panelEx1";
- this.panelEx1.Size = new System.Drawing.Size(200, 200);
- this.panelEx1.Style.Alignment = System.Drawing.StringAlignment.Center;
- this.panelEx1.Style.BackColor1.ColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelBackground;
- this.panelEx1.Style.BackColor2.ColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelBackground2;
- this.panelEx1.Style.Border = DevComponents.DotNetBar.eBorderType.SingleLine;
- this.panelEx1.Style.BorderColor.ColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelBorder;
- this.panelEx1.Style.ForeColor.ColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelText;
- this.panelEx1.Style.GradientAngle = 90;
- this.panelEx1.TabIndex = 10;
- //
- // labelX6
- //
- //
- //
- //
- this.labelX6.BackgroundStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square;
- this.labelX6.Location = new System.Drawing.Point(3, 153);
- this.labelX6.Name = "labelX6";
- this.labelX6.Size = new System.Drawing.Size(75, 23);
- this.labelX6.Style = DevComponents.DotNetBar.eDotNetBarStyle.Office2013;
- this.labelX6.TabIndex = 0;
- this.labelX6.Text = "Z";
- this.labelX6.TextAlignment = System.Drawing.StringAlignment.Center;
- //
- // labelX5
- //
- //
- //
- //
- this.labelX5.BackgroundStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square;
- this.labelX5.Location = new System.Drawing.Point(3, 124);
- this.labelX5.Name = "labelX5";
- this.labelX5.Size = new System.Drawing.Size(75, 23);
- this.labelX5.Style = DevComponents.DotNetBar.eDotNetBarStyle.Office2013;
- this.labelX5.TabIndex = 0;
- this.labelX5.Text = "Y";
- this.labelX5.TextAlignment = System.Drawing.StringAlignment.Center;
- //
- // labelX4
- //
- //
- //
- //
- this.labelX4.BackgroundStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square;
- this.labelX4.Location = new System.Drawing.Point(3, 95);
- this.labelX4.Name = "labelX4";
- this.labelX4.Size = new System.Drawing.Size(75, 23);
- this.labelX4.Style = DevComponents.DotNetBar.eDotNetBarStyle.Office2013;
- this.labelX4.TabIndex = 0;
- this.labelX4.Text = "X";
- this.labelX4.TextAlignment = System.Drawing.StringAlignment.Center;
- //
- // labelX3
- //
- //
- //
- //
- this.labelX3.BackgroundStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square;
- this.labelX3.Location = new System.Drawing.Point(3, 66);
- this.labelX3.Name = "labelX3";
- this.labelX3.Size = new System.Drawing.Size(75, 23);
- this.labelX3.Style = DevComponents.DotNetBar.eDotNetBarStyle.Office2013;
- this.labelX3.TabIndex = 0;
- this.labelX3.Text = "纬度";
- this.labelX3.TextAlignment = System.Drawing.StringAlignment.Center;
- //
- // labelX2
- //
- //
- //
- //
- this.labelX2.BackgroundStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square;
- this.labelX2.Location = new System.Drawing.Point(3, 37);
- this.labelX2.Name = "labelX2";
- this.labelX2.Size = new System.Drawing.Size(75, 23);
- this.labelX2.Style = DevComponents.DotNetBar.eDotNetBarStyle.Office2013;
- this.labelX2.TabIndex = 0;
- this.labelX2.Text = "经度";
- this.labelX2.TextAlignment = System.Drawing.StringAlignment.Center;
- //
- // labelX1
- //
- //
- //
- //
- this.labelX1.BackgroundStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square;
- this.labelX1.Location = new System.Drawing.Point(3, 3);
- this.labelX1.Name = "labelX1";
- this.labelX1.Size = new System.Drawing.Size(194, 23);
- this.labelX1.Style = DevComponents.DotNetBar.eDotNetBarStyle.Office2013;
- this.labelX1.TabIndex = 0;
- this.labelX1.Text = "位置信息";
- this.labelX1.TextAlignment = System.Drawing.StringAlignment.Center;
- //
- // panelEx2
- //
- this.panelEx2.CanvasColor = System.Drawing.SystemColors.Control;
- this.panelEx2.ColorSchemeStyle = DevComponents.DotNetBar.eDotNetBarStyle.StyleManagerControlled;
- this.panelEx2.Controls.Add(this.labelX7);
- this.panelEx2.Controls.Add(this.labelX8);
- this.panelEx2.Controls.Add(this.labelX10);
- this.panelEx2.Controls.Add(this.labelX9);
- this.panelEx2.DisabledBackColor = System.Drawing.Color.Empty;
- this.panelEx2.Location = new System.Drawing.Point(25, 190);
- this.panelEx2.Name = "panelEx2";
- this.panelEx2.Size = new System.Drawing.Size(200, 150);
- this.panelEx2.Style.Alignment = System.Drawing.StringAlignment.Center;
- this.panelEx2.Style.BackColor1.ColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelBackground;
- this.panelEx2.Style.BackColor2.ColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelBackground2;
- this.panelEx2.Style.Border = DevComponents.DotNetBar.eBorderType.SingleLine;
- this.panelEx2.Style.BorderColor.ColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelBorder;
- this.panelEx2.Style.ForeColor.ColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelText;
- this.panelEx2.Style.GradientAngle = 90;
- this.panelEx2.TabIndex = 10;
- //
- // labelX7
- //
- //
- //
- //
- this.labelX7.BackgroundStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square;
- this.labelX7.Location = new System.Drawing.Point(3, 3);
- this.labelX7.Name = "labelX7";
- this.labelX7.Size = new System.Drawing.Size(194, 23);
- this.labelX7.Style = DevComponents.DotNetBar.eDotNetBarStyle.Office2013;
- this.labelX7.TabIndex = 0;
- this.labelX7.Text = "时间信息";
- this.labelX7.TextAlignment = System.Drawing.StringAlignment.Center;
- //
- // labelX8
- //
- //
- //
- //
- this.labelX8.BackgroundStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square;
- this.labelX8.Location = new System.Drawing.Point(3, 41);
- this.labelX8.Name = "labelX8";
- this.labelX8.Size = new System.Drawing.Size(75, 23);
- this.labelX8.Style = DevComponents.DotNetBar.eDotNetBarStyle.Office2013;
- this.labelX8.TabIndex = 0;
- this.labelX8.Text = "日期";
- this.labelX8.TextAlignment = System.Drawing.StringAlignment.Center;
- //
- // labelX10
- //
- //
- //
- //
- this.labelX10.BackgroundStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square;
- this.labelX10.Location = new System.Drawing.Point(3, 99);
- this.labelX10.Name = "labelX10";
- this.labelX10.Size = new System.Drawing.Size(75, 23);
- this.labelX10.Style = DevComponents.DotNetBar.eDotNetBarStyle.Office2013;
- this.labelX10.TabIndex = 0;
- this.labelX10.Text = "MJD";
- this.labelX10.TextAlignment = System.Drawing.StringAlignment.Center;
- //
- // labelX9
- //
- //
- //
- //
- this.labelX9.BackgroundStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square;
- this.labelX9.Location = new System.Drawing.Point(3, 70);
- this.labelX9.Name = "labelX9";
- this.labelX9.Size = new System.Drawing.Size(75, 23);
- this.labelX9.Style = DevComponents.DotNetBar.eDotNetBarStyle.Office2013;
- this.labelX9.TabIndex = 0;
- this.labelX9.Text = "时间";
- this.labelX9.TextAlignment = System.Drawing.StringAlignment.Center;
- //
- // panelEx3
- //
- this.panelEx3.CanvasColor = System.Drawing.SystemColors.Control;
- this.panelEx3.ColorSchemeStyle = DevComponents.DotNetBar.eDotNetBarStyle.StyleManagerControlled;
- this.panelEx3.Controls.Add(this.labelX11);
- this.panelEx3.Controls.Add(this.labelX13);
- this.panelEx3.Controls.Add(this.labelX12);
- this.panelEx3.DisabledBackColor = System.Drawing.Color.Empty;
- this.panelEx3.Location = new System.Drawing.Point(25, 50);
- this.panelEx3.Name = "panelEx3";
- this.panelEx3.Size = new System.Drawing.Size(200, 100);
- this.panelEx3.Style.Alignment = System.Drawing.StringAlignment.Center;
- this.panelEx3.Style.BackColor1.ColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelBackground;
- this.panelEx3.Style.BackColor2.ColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelBackground2;
- this.panelEx3.Style.Border = DevComponents.DotNetBar.eBorderType.SingleLine;
- this.panelEx3.Style.BorderColor.ColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelBorder;
- this.panelEx3.Style.ForeColor.ColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelText;
- this.panelEx3.Style.GradientAngle = 90;
- this.panelEx3.TabIndex = 10;
- //
- // labelX11
- //
- //
- //
- //
- this.labelX11.BackgroundStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square;
- this.labelX11.Location = new System.Drawing.Point(3, 3);
- this.labelX11.Name = "labelX11";
- this.labelX11.Size = new System.Drawing.Size(194, 23);
- this.labelX11.Style = DevComponents.DotNetBar.eDotNetBarStyle.Office2013;
- this.labelX11.TabIndex = 0;
- this.labelX11.Text = "基本信息";
- this.labelX11.TextAlignment = System.Drawing.StringAlignment.Center;
- //
- // labelX13
- //
- //
- //
- //
- this.labelX13.BackgroundStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square;
- this.labelX13.Location = new System.Drawing.Point(3, 32);
- this.labelX13.Name = "labelX13";
- this.labelX13.Size = new System.Drawing.Size(75, 23);
- this.labelX13.Style = DevComponents.DotNetBar.eDotNetBarStyle.Office2013;
- this.labelX13.TabIndex = 0;
- this.labelX13.Text = "原子钟";
- this.labelX13.TextAlignment = System.Drawing.StringAlignment.Center;
- //
- // labelX12
- //
- //
- //
- //
- this.labelX12.BackgroundStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square;
- this.labelX12.Location = new System.Drawing.Point(3, 61);
- this.labelX12.Name = "labelX12";
- this.labelX12.Size = new System.Drawing.Size(75, 23);
- this.labelX12.Style = DevComponents.DotNetBar.eDotNetBarStyle.Office2013;
- this.labelX12.TabIndex = 0;
- this.labelX12.Text = "接收机";
- this.labelX12.TextAlignment = System.Drawing.StringAlignment.Center;
- //
- // panelEx4
- //
- this.panelEx4.CanvasColor = System.Drawing.SystemColors.Control;
- this.panelEx4.ColorSchemeStyle = DevComponents.DotNetBar.eDotNetBarStyle.StyleManagerControlled;
- this.panelEx4.Controls.Add(this.panelEx2);
- this.panelEx4.Controls.Add(this.panelEx1);
- this.panelEx4.Controls.Add(this.panelEx3);
- this.panelEx4.DisabledBackColor = System.Drawing.Color.Empty;
- this.panelEx4.Location = new System.Drawing.Point(0, 0);
- this.panelEx4.Name = "panelEx4";
- this.panelEx4.Size = new System.Drawing.Size(250, 640);
- this.panelEx4.Style.Alignment = System.Drawing.StringAlignment.Center;
- this.panelEx4.Style.BackColor1.ColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelBackground;
- this.panelEx4.Style.BackColor2.ColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelBackground2;
- this.panelEx4.Style.Border = DevComponents.DotNetBar.eBorderType.SingleLine;
- this.panelEx4.Style.BorderColor.ColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelBorder;
- this.panelEx4.Style.ForeColor.ColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelText;
- this.panelEx4.Style.GradientAngle = 90;
- this.panelEx4.TabIndex = 10;
- //
- // dataGridViewX2
- //
- this.dataGridViewX2.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.AutoSize;
- this.dataGridViewX2.Columns.AddRange(new System.Windows.Forms.DataGridViewColumn[] {
- this.Column18,
- this.Column19,
- this.Column20,
- this.Column21,
- this.Column22,
- this.Column23,
- this.Column24,
- this.Column25,
- this.Column26,
- this.Column27,
- this.Column28,
- this.Column29});
- dataGridViewCellStyle2.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleLeft;
- dataGridViewCellStyle2.BackColor = System.Drawing.SystemColors.Window;
- dataGridViewCellStyle2.Font = new System.Drawing.Font("宋体", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
- dataGridViewCellStyle2.ForeColor = System.Drawing.SystemColors.ControlText;
- dataGridViewCellStyle2.SelectionBackColor = System.Drawing.SystemColors.Highlight;
- dataGridViewCellStyle2.SelectionForeColor = System.Drawing.SystemColors.ControlText;
- dataGridViewCellStyle2.WrapMode = System.Windows.Forms.DataGridViewTriState.False;
- this.dataGridViewX2.DefaultCellStyle = dataGridViewCellStyle2;
- this.dataGridViewX2.GridColor = System.Drawing.Color.FromArgb(((int)(((byte)(208)))), ((int)(((byte)(215)))), ((int)(((byte)(229)))));
- this.dataGridViewX2.Location = new System.Drawing.Point(250, 216);
- this.dataGridViewX2.Name = "dataGridViewX2";
- this.dataGridViewX2.Size = new System.Drawing.Size(747, 424);
- this.dataGridViewX2.TabIndex = 15;
- //
- // Column18
- //
- this.Column18.HeaderText = "通道号";
- this.Column18.Name = "Column18";
- //
- // Column19
- //
- this.Column19.HeaderText = "当前状态";
- this.Column19.Name = "Column19";
- //
- // Column20
- //
- this.Column20.HeaderText = "仪器名称";
- this.Column20.Name = "Column20";
- //
- // Column21
- //
- this.Column21.HeaderText = "仪器编号";
- this.Column21.Name = "Column21";
- //
- // Column22
- //
- this.Column22.HeaderText = "客户名称";
- this.Column22.Name = "Column22";
- //
- // Column23
- //
- this.Column23.HeaderText = "开始时间";
- this.Column23.Name = "Column23";
- //
- // Column24
- //
- this.Column24.HeaderText = "结束时间";
- this.Column24.Name = "Column24";
- //
- // Column25
- //
- this.Column25.HeaderText = "频率稳定度";
- this.Column25.Name = "Column25";
- //
- // Column26
- //
- this.Column26.HeaderText = "频率准确度";
- this.Column26.Name = "Column26";
- //
- // Column27
- //
- this.Column27.HeaderText = "开机特性";
- this.Column27.Name = "Column27";
- //
- // Column28
- //
- this.Column28.HeaderText = "日老化率";
- this.Column28.Name = "Column28";
- //
- // Column29
- //
- this.Column29.HeaderText = "频率计数器范围及灵敏度";
- this.Column29.Name = "Column29";
- //
- // buttonX1
- //
- this.buttonX1.AccessibleRole = System.Windows.Forms.AccessibleRole.PushButton;
- this.buttonX1.BackColor = System.Drawing.Color.Transparent;
- this.buttonX1.ColorTable = DevComponents.DotNetBar.eButtonColor.OrangeWithBackground;
- this.buttonX1.Location = new System.Drawing.Point(663, 183);
- this.buttonX1.Name = "buttonX1";
- this.buttonX1.Size = new System.Drawing.Size(30, 23);
- this.buttonX1.Style = DevComponents.DotNetBar.eDotNetBarStyle.StyleManagerControlled;
- this.buttonX1.Symbol = "";
- this.buttonX1.SymbolColor = System.Drawing.Color.FromArgb(((int)(((byte)(64)))), ((int)(((byte)(64)))), ((int)(((byte)(64)))));
- this.buttonX1.SymbolSize = 8F;
- this.buttonX1.TabIndex = 19;
- //
- // buttonX2
- //
- this.buttonX2.AccessibleRole = System.Windows.Forms.AccessibleRole.PushButton;
- this.buttonX2.BackColor = System.Drawing.Color.Transparent;
- this.buttonX2.ColorTable = DevComponents.DotNetBar.eButtonColor.OrangeWithBackground;
- this.buttonX2.Location = new System.Drawing.Point(589, 184);
- this.buttonX2.Name = "buttonX2";
- this.buttonX2.Size = new System.Drawing.Size(30, 23);
- this.buttonX2.Style = DevComponents.DotNetBar.eDotNetBarStyle.StyleManagerControlled;
- this.buttonX2.Symbol = "";
- this.buttonX2.SymbolColor = System.Drawing.Color.FromArgb(((int)(((byte)(64)))), ((int)(((byte)(64)))), ((int)(((byte)(64)))));
- this.buttonX2.SymbolSize = 8F;
- this.buttonX2.TabIndex = 19;
+ this.panel5.BackgroundImage = global::Casic.Birmm.RbFreqStandMeasure.Properties.Resources.bg_dev_channel;
+ this.panel5.Location = new System.Drawing.Point(230, 226);
+ this.panel5.Name = "panel5";
+ this.panel5.Size = new System.Drawing.Size(788, 424);
+ this.panel5.TabIndex = 4;
//
// label1
//
this.label1.BackColor = System.Drawing.Color.Transparent;
- this.label1.Font = new System.Drawing.Font("Times New Roman", 9.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
- this.label1.Location = new System.Drawing.Point(880, 186);
- this.label1.Margin = new System.Windows.Forms.Padding(0);
+ this.label1.Font = new System.Drawing.Font("微软雅黑", 14F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Pixel, ((byte)(134)));
+ this.label1.Location = new System.Drawing.Point(0, 20);
this.label1.Name = "label1";
- this.label1.Size = new System.Drawing.Size(20, 20);
- this.label1.TabIndex = 20;
- this.label1.Text = "1";
+ this.label1.Size = new System.Drawing.Size(224, 25);
+ this.label1.TabIndex = 0;
+ this.label1.Text = "基本信息";
this.label1.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
//
// label2
//
this.label2.BackColor = System.Drawing.Color.Transparent;
- this.label2.Font = new System.Drawing.Font("Times New Roman", 9.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
- this.label2.Location = new System.Drawing.Point(636, 187);
- this.label2.Margin = new System.Windows.Forms.Padding(0);
+ this.label2.Font = new System.Drawing.Font("微软雅黑", 14F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Pixel, ((byte)(134)));
+ this.label2.Location = new System.Drawing.Point(0, 60);
this.label2.Name = "label2";
- this.label2.Size = new System.Drawing.Size(200, 20);
- this.label2.TabIndex = 20;
- this.label2.Text = "共150条,每页5条,共100页";
- this.label2.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
+ this.label2.Size = new System.Drawing.Size(75, 25);
+ this.label2.TabIndex = 1;
+ this.label2.Text = "原子钟";
+ this.label2.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
+ //
+ // label3
+ //
+ this.label3.BackColor = System.Drawing.Color.Transparent;
+ this.label3.Font = new System.Drawing.Font("微软雅黑", 14F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Pixel, ((byte)(134)));
+ this.label3.Location = new System.Drawing.Point(0, 100);
+ this.label3.Name = "label3";
+ this.label3.Size = new System.Drawing.Size(75, 25);
+ this.label3.TabIndex = 1;
+ this.label3.Text = "接收机";
+ this.label3.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
+ //
+ // label4
+ //
+ this.label4.BackColor = System.Drawing.Color.Transparent;
+ this.label4.Font = new System.Drawing.Font("微软雅黑", 14F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Pixel, ((byte)(134)));
+ this.label4.Location = new System.Drawing.Point(0, 20);
+ this.label4.Name = "label4";
+ this.label4.Size = new System.Drawing.Size(224, 25);
+ this.label4.TabIndex = 0;
+ this.label4.Text = "时间信息";
+ this.label4.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
+ //
+ // label5
+ //
+ this.label5.BackColor = System.Drawing.Color.Transparent;
+ this.label5.Font = new System.Drawing.Font("微软雅黑", 14F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Pixel, ((byte)(134)));
+ this.label5.Location = new System.Drawing.Point(0, 60);
+ this.label5.Name = "label5";
+ this.label5.Size = new System.Drawing.Size(75, 25);
+ this.label5.TabIndex = 1;
+ this.label5.Text = "日期";
+ this.label5.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
+ //
+ // label6
+ //
+ this.label6.BackColor = System.Drawing.Color.Transparent;
+ this.label6.Font = new System.Drawing.Font("微软雅黑", 14F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Pixel, ((byte)(134)));
+ this.label6.Location = new System.Drawing.Point(0, 100);
+ this.label6.Name = "label6";
+ this.label6.Size = new System.Drawing.Size(75, 25);
+ this.label6.TabIndex = 1;
+ this.label6.Text = "时间";
+ this.label6.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
+ //
+ // label7
+ //
+ this.label7.BackColor = System.Drawing.Color.Transparent;
+ this.label7.Font = new System.Drawing.Font("微软雅黑", 14F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Pixel, ((byte)(134)));
+ this.label7.Location = new System.Drawing.Point(0, 140);
+ this.label7.Margin = new System.Windows.Forms.Padding(0);
+ this.label7.Name = "label7";
+ this.label7.Size = new System.Drawing.Size(75, 25);
+ this.label7.TabIndex = 1;
+ this.label7.Text = "MJD";
+ this.label7.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
+ //
+ // label8
+ //
+ this.label8.BackColor = System.Drawing.Color.Transparent;
+ this.label8.Font = new System.Drawing.Font("微软雅黑", 14F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Pixel, ((byte)(134)));
+ this.label8.Location = new System.Drawing.Point(0, 20);
+ this.label8.Name = "label8";
+ this.label8.Size = new System.Drawing.Size(224, 25);
+ this.label8.TabIndex = 0;
+ this.label8.Text = "位置信息";
+ this.label8.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
+ //
+ // label9
+ //
+ this.label9.BackColor = System.Drawing.Color.Transparent;
+ this.label9.Font = new System.Drawing.Font("微软雅黑", 14F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Pixel, ((byte)(134)));
+ this.label9.Location = new System.Drawing.Point(0, 60);
+ this.label9.Name = "label9";
+ this.label9.Size = new System.Drawing.Size(75, 25);
+ this.label9.TabIndex = 1;
+ this.label9.Text = "经度";
+ this.label9.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
+ //
+ // label10
+ //
+ this.label10.BackColor = System.Drawing.Color.Transparent;
+ this.label10.Font = new System.Drawing.Font("微软雅黑", 14F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Pixel, ((byte)(134)));
+ this.label10.Location = new System.Drawing.Point(0, 100);
+ this.label10.Margin = new System.Windows.Forms.Padding(0);
+ this.label10.Name = "label10";
+ this.label10.Size = new System.Drawing.Size(75, 25);
+ this.label10.TabIndex = 1;
+ this.label10.Text = "纬度";
+ this.label10.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
+ //
+ // label11
+ //
+ this.label11.BackColor = System.Drawing.Color.Transparent;
+ this.label11.Font = new System.Drawing.Font("微软雅黑", 14F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Pixel, ((byte)(134)));
+ this.label11.Location = new System.Drawing.Point(0, 140);
+ this.label11.Margin = new System.Windows.Forms.Padding(0);
+ this.label11.Name = "label11";
+ this.label11.Size = new System.Drawing.Size(75, 25);
+ this.label11.TabIndex = 1;
+ this.label11.Text = "X";
+ this.label11.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
+ //
+ // label12
+ //
+ this.label12.BackColor = System.Drawing.Color.Transparent;
+ this.label12.Font = new System.Drawing.Font("微软雅黑", 14F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Pixel, ((byte)(134)));
+ this.label12.Location = new System.Drawing.Point(0, 180);
+ this.label12.Margin = new System.Windows.Forms.Padding(0);
+ this.label12.Name = "label12";
+ this.label12.Size = new System.Drawing.Size(75, 25);
+ this.label12.TabIndex = 1;
+ this.label12.Text = "Y";
+ this.label12.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
+ //
+ // label13
+ //
+ this.label13.BackColor = System.Drawing.Color.Transparent;
+ this.label13.Font = new System.Drawing.Font("微软雅黑", 14F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Pixel, ((byte)(134)));
+ this.label13.Location = new System.Drawing.Point(0, 220);
+ this.label13.Margin = new System.Windows.Forms.Padding(0);
+ this.label13.Name = "label13";
+ this.label13.Size = new System.Drawing.Size(75, 25);
+ this.label13.TabIndex = 1;
+ this.label13.Text = "Z";
+ this.label13.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
//
// HomeCtrlForm
//
this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 12F);
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
- this.Controls.Add(this.label1);
- this.Controls.Add(this.label2);
- this.Controls.Add(this.dataGridViewX2);
- this.Controls.Add(this.panelEx4);
- this.Controls.Add(this.panelToBeTested);
+ this.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(232)))), ((int)(((byte)(234)))), ((int)(((byte)(238)))));
+ this.Controls.Add(this.panel5);
+ this.Controls.Add(this.panel4);
+ this.Controls.Add(this.panel3);
+ this.Controls.Add(this.panel2);
+ this.Controls.Add(this.panel1);
this.Margin = new System.Windows.Forms.Padding(0);
this.Name = "HomeCtrlForm";
- this.Size = new System.Drawing.Size(1000, 640);
- this.panelToBeTested.ResumeLayout(false);
- ((System.ComponentModel.ISupportInitialize)(this.dataGridViewX1)).EndInit();
- this.panelEx1.ResumeLayout(false);
- this.panelEx2.ResumeLayout(false);
- this.panelEx3.ResumeLayout(false);
- this.panelEx4.ResumeLayout(false);
- ((System.ComponentModel.ISupportInitialize)(this.dataGridViewX2)).EndInit();
+ this.Size = new System.Drawing.Size(1024, 654);
+ this.panel3.ResumeLayout(false);
+ this.panel2.ResumeLayout(false);
+ this.panel1.ResumeLayout(false);
this.ResumeLayout(false);
}
#endregion
- private System.Windows.Forms.Panel panelToBeTested;
- private DevComponents.DotNetBar.PanelEx panelEx1;
- private DevComponents.DotNetBar.LabelX labelX6;
- private DevComponents.DotNetBar.LabelX labelX5;
- private DevComponents.DotNetBar.LabelX labelX4;
- private DevComponents.DotNetBar.LabelX labelX3;
- private DevComponents.DotNetBar.LabelX labelX2;
- private DevComponents.DotNetBar.LabelX labelX1;
- private DevComponents.DotNetBar.PanelEx panelEx2;
- private DevComponents.DotNetBar.LabelX labelX7;
- private DevComponents.DotNetBar.LabelX labelX8;
- private DevComponents.DotNetBar.LabelX labelX10;
- private DevComponents.DotNetBar.LabelX labelX9;
- private DevComponents.DotNetBar.PanelEx panelEx3;
- private DevComponents.DotNetBar.LabelX labelX11;
- private DevComponents.DotNetBar.LabelX labelX13;
- private DevComponents.DotNetBar.LabelX labelX12;
- private DevComponents.DotNetBar.PanelEx panelEx4;
- private DevComponents.DotNetBar.Controls.DataGridViewX dataGridViewX1;
- private System.Windows.Forms.DataGridViewTextBoxColumn Column13;
- private System.Windows.Forms.DataGridViewTextBoxColumn Column14;
- private System.Windows.Forms.DataGridViewTextBoxColumn Column15;
- private System.Windows.Forms.DataGridViewTextBoxColumn Column16;
- private System.Windows.Forms.DataGridViewTextBoxColumn Column17;
- private DevComponents.DotNetBar.Controls.DataGridViewX dataGridViewX2;
- private System.Windows.Forms.DataGridViewTextBoxColumn Column18;
- private System.Windows.Forms.DataGridViewTextBoxColumn Column19;
- private System.Windows.Forms.DataGridViewTextBoxColumn Column20;
- private System.Windows.Forms.DataGridViewTextBoxColumn Column21;
- private System.Windows.Forms.DataGridViewTextBoxColumn Column22;
- private System.Windows.Forms.DataGridViewTextBoxColumn Column23;
- private System.Windows.Forms.DataGridViewTextBoxColumn Column24;
- private System.Windows.Forms.DataGridViewTextBoxColumn Column25;
- private System.Windows.Forms.DataGridViewTextBoxColumn Column26;
- private System.Windows.Forms.DataGridViewTextBoxColumn Column27;
- private System.Windows.Forms.DataGridViewTextBoxColumn Column28;
- private System.Windows.Forms.DataGridViewTextBoxColumn Column29;
- private DevComponents.DotNetBar.ButtonX buttonX1;
- private DevComponents.DotNetBar.ButtonX buttonX2;
+
+ private System.Windows.Forms.Panel panel1;
+ private System.Windows.Forms.Panel panel2;
+ private System.Windows.Forms.Panel panel3;
+ private System.Windows.Forms.Panel panel4;
+ private System.Windows.Forms.Panel panel5;
private System.Windows.Forms.Label label1;
private System.Windows.Forms.Label label2;
+ private System.Windows.Forms.Label label3;
+ private System.Windows.Forms.Label label4;
+ private System.Windows.Forms.Label label5;
+ private System.Windows.Forms.Label label6;
+ private System.Windows.Forms.Label label7;
+ private System.Windows.Forms.Label label8;
+ private System.Windows.Forms.Label label11;
+ private System.Windows.Forms.Label label9;
+ private System.Windows.Forms.Label label10;
+ private System.Windows.Forms.Label label12;
+ private System.Windows.Forms.Label label13;
}
}
diff --git a/RbFreqStandMeasure/HomeCtrlForm.resx b/RbFreqStandMeasure/HomeCtrlForm.resx
index 6d97f4f..1af7de1 100644
--- a/RbFreqStandMeasure/HomeCtrlForm.resx
+++ b/RbFreqStandMeasure/HomeCtrlForm.resx
@@ -117,55 +117,4 @@
System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
-
- True
-
-
- True
-
-
- True
-
-
- True
-
-
- True
-
-
- True
-
-
- True
-
-
- True
-
-
- True
-
-
- True
-
-
- True
-
-
- True
-
-
- True
-
-
- True
-
-
- True
-
-
- True
-
-
- True
-
\ No newline at end of file
diff --git a/RbFreqStandMeasure/Program.cs b/RbFreqStandMeasure/Program.cs
index 93a83e5..6150917 100644
--- a/RbFreqStandMeasure/Program.cs
+++ b/RbFreqStandMeasure/Program.cs
@@ -1,6 +1,4 @@
using System;
-using System.Collections.Generic;
-using System.Linq;
using System.Windows.Forms;
namespace Casic.Birmm.RbFreqStandMeasure
diff --git a/RbFreqStandMeasure/Properties/Resources.Designer.cs b/RbFreqStandMeasure/Properties/Resources.Designer.cs
index 253d7d7..d819a23 100644
--- a/RbFreqStandMeasure/Properties/Resources.Designer.cs
+++ b/RbFreqStandMeasure/Properties/Resources.Designer.cs
@@ -73,6 +73,56 @@
///
/// 查找 System.Drawing.Bitmap 类型的本地化资源。
///
+ internal static System.Drawing.Bitmap bg_dev_channel {
+ get {
+ object obj = ResourceManager.GetObject("bg_dev_channel", resourceCulture);
+ return ((System.Drawing.Bitmap)(obj));
+ }
+ }
+
+ ///
+ /// 查找 System.Drawing.Bitmap 类型的本地化资源。
+ ///
+ internal static System.Drawing.Bitmap bg_dev_tested {
+ get {
+ object obj = ResourceManager.GetObject("bg_dev_tested", resourceCulture);
+ return ((System.Drawing.Bitmap)(obj));
+ }
+ }
+
+ ///
+ /// 查找 System.Drawing.Bitmap 类型的本地化资源。
+ ///
+ internal static System.Drawing.Bitmap bg_status_base {
+ get {
+ object obj = ResourceManager.GetObject("bg_status_base", resourceCulture);
+ return ((System.Drawing.Bitmap)(obj));
+ }
+ }
+
+ ///
+ /// 查找 System.Drawing.Bitmap 类型的本地化资源。
+ ///
+ internal static System.Drawing.Bitmap bg_status_location {
+ get {
+ object obj = ResourceManager.GetObject("bg_status_location", resourceCulture);
+ return ((System.Drawing.Bitmap)(obj));
+ }
+ }
+
+ ///
+ /// 查找 System.Drawing.Bitmap 类型的本地化资源。
+ ///
+ internal static System.Drawing.Bitmap bg_status_time {
+ get {
+ object obj = ResourceManager.GetObject("bg_status_time", resourceCulture);
+ return ((System.Drawing.Bitmap)(obj));
+ }
+ }
+
+ ///
+ /// 查找 System.Drawing.Bitmap 类型的本地化资源。
+ ///
internal static System.Drawing.Bitmap bg_white_shadow {
get {
object obj = ResourceManager.GetObject("bg_white_shadow", resourceCulture);
@@ -83,6 +133,66 @@
///
/// 查找 System.Drawing.Bitmap 类型的本地化资源。
///
+ internal static System.Drawing.Bitmap icon_counter {
+ get {
+ object obj = ResourceManager.GetObject("icon_counter", resourceCulture);
+ return ((System.Drawing.Bitmap)(obj));
+ }
+ }
+
+ ///
+ /// 查找 System.Drawing.Bitmap 类型的本地化资源。
+ ///
+ internal static System.Drawing.Bitmap icon_counter_selected {
+ get {
+ object obj = ResourceManager.GetObject("icon_counter_selected", resourceCulture);
+ return ((System.Drawing.Bitmap)(obj));
+ }
+ }
+
+ ///
+ /// 查找 System.Drawing.Bitmap 类型的本地化资源。
+ ///
+ internal static System.Drawing.Bitmap icon_data {
+ get {
+ object obj = ResourceManager.GetObject("icon_data", resourceCulture);
+ return ((System.Drawing.Bitmap)(obj));
+ }
+ }
+
+ ///
+ /// 查找 System.Drawing.Bitmap 类型的本地化资源。
+ ///
+ internal static System.Drawing.Bitmap icon_data_selected {
+ get {
+ object obj = ResourceManager.GetObject("icon_data_selected", resourceCulture);
+ return ((System.Drawing.Bitmap)(obj));
+ }
+ }
+
+ ///
+ /// 查找 System.Drawing.Bitmap 类型的本地化资源。
+ ///
+ internal static System.Drawing.Bitmap icon_dev {
+ get {
+ object obj = ResourceManager.GetObject("icon_dev", resourceCulture);
+ return ((System.Drawing.Bitmap)(obj));
+ }
+ }
+
+ ///
+ /// 查找 System.Drawing.Bitmap 类型的本地化资源。
+ ///
+ internal static System.Drawing.Bitmap icon_dev_selected {
+ get {
+ object obj = ResourceManager.GetObject("icon_dev_selected", resourceCulture);
+ return ((System.Drawing.Bitmap)(obj));
+ }
+ }
+
+ ///
+ /// 查找 System.Drawing.Bitmap 类型的本地化资源。
+ ///
internal static System.Drawing.Bitmap icon_exit {
get {
object obj = ResourceManager.GetObject("icon_exit", resourceCulture);
@@ -113,6 +223,56 @@
///
/// 查找 System.Drawing.Bitmap 类型的本地化资源。
///
+ internal static System.Drawing.Bitmap icon_measure {
+ get {
+ object obj = ResourceManager.GetObject("icon_measure", resourceCulture);
+ return ((System.Drawing.Bitmap)(obj));
+ }
+ }
+
+ ///
+ /// 查找 System.Drawing.Bitmap 类型的本地化资源。
+ ///
+ internal static System.Drawing.Bitmap icon_measure_selected {
+ get {
+ object obj = ResourceManager.GetObject("icon_measure_selected", resourceCulture);
+ return ((System.Drawing.Bitmap)(obj));
+ }
+ }
+
+ ///
+ /// 查找 System.Drawing.Bitmap 类型的本地化资源。
+ ///
+ internal static System.Drawing.Bitmap icon_min {
+ get {
+ object obj = ResourceManager.GetObject("icon_min", resourceCulture);
+ return ((System.Drawing.Bitmap)(obj));
+ }
+ }
+
+ ///
+ /// 查找 System.Drawing.Bitmap 类型的本地化资源。
+ ///
+ internal static System.Drawing.Bitmap icon_setting {
+ get {
+ object obj = ResourceManager.GetObject("icon_setting", resourceCulture);
+ return ((System.Drawing.Bitmap)(obj));
+ }
+ }
+
+ ///
+ /// 查找 System.Drawing.Bitmap 类型的本地化资源。
+ ///
+ internal static System.Drawing.Bitmap icon_setting_selected {
+ get {
+ object obj = ResourceManager.GetObject("icon_setting_selected", resourceCulture);
+ return ((System.Drawing.Bitmap)(obj));
+ }
+ }
+
+ ///
+ /// 查找 System.Drawing.Bitmap 类型的本地化资源。
+ ///
internal static System.Drawing.Bitmap icon_status {
get {
object obj = ResourceManager.GetObject("icon_status", resourceCulture);
diff --git a/RbFreqStandMeasure/Properties/Resources.resx b/RbFreqStandMeasure/Properties/Resources.resx
index e781bb7..cfdb255 100644
--- a/RbFreqStandMeasure/Properties/Resources.resx
+++ b/RbFreqStandMeasure/Properties/Resources.resx
@@ -118,25 +118,73 @@
System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
-
- ..\res\images\icon_exit.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
+
+ ..\res\images\icon_counter_selected.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
-
- ..\res\images\bg_white_shadow.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
+
+ ..\res\images\icon_dev_selected.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
+
+
+ ..\res\images\icon_status_selected.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
+
+
+ ..\res\images\icon_data_selected.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
..\res\images\icon_home_selected.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
-
- ..\res\images\bg_banner.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
-
-
- ..\res\images\icon_home.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
+
+ ..\res\images\icon_exit.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
..\res\images\icon_status.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
-
- ..\res\images\icon_status_selected.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
+
+ ..\res\images\icon_data.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
+
+
+ ..\res\images\icon_setting.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
+
+
+ ..\res\images\icon_measure_selected.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
+
+
+ ..\res\images\bg_banner.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
+
+
+ ..\res\images\icon_setting_selected.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
+
+
+ ..\res\images\icon_dev.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
+
+
+ ..\res\images\icon_counter.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
+
+
+ ..\res\images\icon_measure.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
+
+
+ ..\res\images\icon_home.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
+
+
+ ..\res\images\bg_white_shadow.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
+
+
+ ..\res\images\icon_min.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
+
+
+ ..\res\images\bg_status_base.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
+
+
+ ..\res\images\bg_status_location.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
+
+
+ ..\res\images\bg_status_time.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
+
+
+ ..\res\images\bg_dev_channel.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
+
+
+ ..\res\images\bg_dev_tested.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
\ No newline at end of file
diff --git a/RbFreqStandMeasure/RbFreqStandMeasure.csproj b/RbFreqStandMeasure/RbFreqStandMeasure.csproj
index f5e7da9..7c12768 100644
--- a/RbFreqStandMeasure/RbFreqStandMeasure.csproj
+++ b/RbFreqStandMeasure/RbFreqStandMeasure.csproj
@@ -232,6 +232,54 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/RbFreqStandMeasure/RbFreqStdMeas.Designer.cs b/RbFreqStandMeasure/RbFreqStdMeas.Designer.cs
index 57778cf..1bd008c 100644
--- a/RbFreqStandMeasure/RbFreqStdMeas.Designer.cs
+++ b/RbFreqStandMeasure/RbFreqStdMeas.Designer.cs
@@ -30,148 +30,77 @@
private void InitializeComponent()
{
this.panMenu = new System.Windows.Forms.Panel();
+ this.penBanner = new System.Windows.Forms.Panel();
+ this.btnMinSys = new System.Windows.Forms.Button();
+ this.btnExitSys = new System.Windows.Forms.Button();
+ this.labTitle = new System.Windows.Forms.Label();
+ this.panDev = new Casic.Birmm.RbFreqStandMeasure.RoundPanel();
+ this.labDevText = new System.Windows.Forms.Label();
+ this.labDevSelected = new System.Windows.Forms.Label();
+ this.picIconDev = new System.Windows.Forms.PictureBox();
+ this.panSetting = new Casic.Birmm.RbFreqStandMeasure.RoundPanel();
+ this.labSettingSelected = new System.Windows.Forms.Label();
+ this.labSettingText = new System.Windows.Forms.Label();
+ this.picIconSetting = new System.Windows.Forms.PictureBox();
this.panStatus = new Casic.Birmm.RbFreqStandMeasure.RoundPanel();
this.labStatusText = new System.Windows.Forms.Label();
this.picIconStatus = new System.Windows.Forms.PictureBox();
+ this.labStatusSelected = new System.Windows.Forms.Label();
+ this.panData = new Casic.Birmm.RbFreqStandMeasure.RoundPanel();
+ this.labDataSelected = new System.Windows.Forms.Label();
+ this.labDataText = new System.Windows.Forms.Label();
+ this.picIconData = new System.Windows.Forms.PictureBox();
this.panHome = new Casic.Birmm.RbFreqStandMeasure.RoundPanel();
this.labHomeText = new System.Windows.Forms.Label();
this.picIconHome = new System.Windows.Forms.PictureBox();
this.labHomeSelected = new System.Windows.Forms.Label();
- this.labStatusSelected = new System.Windows.Forms.Label();
- this.penBanner = new System.Windows.Forms.Panel();
- this.btnExitSys = new System.Windows.Forms.Button();
- this.labTitle = new System.Windows.Forms.Label();
+ this.panMeasure = new Casic.Birmm.RbFreqStandMeasure.RoundPanel();
+ this.labMeasureText = new System.Windows.Forms.Label();
+ this.labMeasureSelected = new System.Windows.Forms.Label();
+ this.picIconMeasure = new System.Windows.Forms.PictureBox();
+ this.panCounter = new Casic.Birmm.RbFreqStandMeasure.RoundPanel();
+ this.labCounterSelected = new System.Windows.Forms.Label();
+ this.labCounterText = new System.Windows.Forms.Label();
+ this.picIconCounter = new System.Windows.Forms.PictureBox();
+ this.panelMain = new System.Windows.Forms.Panel();
this.panMenu.SuspendLayout();
+ this.penBanner.SuspendLayout();
+ this.panDev.SuspendLayout();
+ ((System.ComponentModel.ISupportInitialize)(this.picIconDev)).BeginInit();
+ this.panSetting.SuspendLayout();
+ ((System.ComponentModel.ISupportInitialize)(this.picIconSetting)).BeginInit();
this.panStatus.SuspendLayout();
((System.ComponentModel.ISupportInitialize)(this.picIconStatus)).BeginInit();
+ this.panData.SuspendLayout();
+ ((System.ComponentModel.ISupportInitialize)(this.picIconData)).BeginInit();
this.panHome.SuspendLayout();
((System.ComponentModel.ISupportInitialize)(this.picIconHome)).BeginInit();
- this.penBanner.SuspendLayout();
+ this.panMeasure.SuspendLayout();
+ ((System.ComponentModel.ISupportInitialize)(this.picIconMeasure)).BeginInit();
+ this.panCounter.SuspendLayout();
+ ((System.ComponentModel.ISupportInitialize)(this.picIconCounter)).BeginInit();
this.SuspendLayout();
//
// panMenu
//
this.panMenu.BackColor = System.Drawing.Color.White;
+ this.panMenu.Controls.Add(this.panDev);
+ this.panMenu.Controls.Add(this.panSetting);
this.panMenu.Controls.Add(this.panStatus);
+ this.panMenu.Controls.Add(this.panData);
this.panMenu.Controls.Add(this.panHome);
- this.panMenu.Controls.Add(this.labStatusSelected);
+ this.panMenu.Controls.Add(this.panMeasure);
+ this.panMenu.Controls.Add(this.panCounter);
this.panMenu.Location = new System.Drawing.Point(0, 64);
this.panMenu.Name = "panMenu";
this.panMenu.Size = new System.Drawing.Size(1024, 50);
this.panMenu.TabIndex = 1;
//
- // panStatus
- //
- this.panStatus.Back = System.Drawing.Color.Empty;
- this.panStatus.BackColor = System.Drawing.Color.Transparent;
- this.panStatus.Controls.Add(this.labStatusText);
- this.panStatus.Controls.Add(this.picIconStatus);
- this.panStatus.Location = new System.Drawing.Point(160, 0);
- this.panStatus.MatrixRound = 8;
- this.panStatus.Name = "panStatus";
- this.panStatus.Size = new System.Drawing.Size(130, 47);
- this.panStatus.TabIndex = 1;
- this.panStatus.Click += new System.EventHandler(this.panStatus_Click);
- this.panStatus.MouseLeave += new System.EventHandler(this.panStatus_MouseLeave);
- this.panStatus.MouseHover += new System.EventHandler(this.panStatus_MouseHover);
- //
- // labStatusText
- //
- this.labStatusText.BackColor = System.Drawing.Color.Transparent;
- this.labStatusText.Cursor = System.Windows.Forms.Cursors.Hand;
- this.labStatusText.Font = new System.Drawing.Font("微软雅黑", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
- this.labStatusText.ForeColor = System.Drawing.SystemColors.ControlText;
- this.labStatusText.Location = new System.Drawing.Point(35, 0);
- this.labStatusText.Margin = new System.Windows.Forms.Padding(0);
- this.labStatusText.Name = "labStatusText";
- this.labStatusText.Size = new System.Drawing.Size(85, 47);
- this.labStatusText.TabIndex = 2;
- this.labStatusText.Text = "基准状态";
- this.labStatusText.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
- this.labStatusText.Click += new System.EventHandler(this.panStatus_Click);
- this.labStatusText.MouseLeave += new System.EventHandler(this.panStatus_MouseLeave);
- this.labStatusText.MouseHover += new System.EventHandler(this.panStatus_MouseHover);
- //
- // picIconStatus
- //
- this.picIconStatus.BackgroundImage = global::Casic.Birmm.RbFreqStandMeasure.Properties.Resources.icon_status;
- this.picIconStatus.BackgroundImageLayout = System.Windows.Forms.ImageLayout.Zoom;
- this.picIconStatus.Location = new System.Drawing.Point(10, 11);
- this.picIconStatus.Name = "picIconStatus";
- this.picIconStatus.Size = new System.Drawing.Size(25, 25);
- this.picIconStatus.TabIndex = 1;
- this.picIconStatus.TabStop = false;
- this.picIconStatus.Click += new System.EventHandler(this.panStatus_Click);
- this.picIconStatus.MouseLeave += new System.EventHandler(this.panStatus_MouseLeave);
- this.picIconStatus.MouseHover += new System.EventHandler(this.panStatus_MouseHover);
- //
- // panHome
- //
- this.panHome.Back = System.Drawing.Color.Empty;
- this.panHome.Controls.Add(this.labHomeText);
- this.panHome.Controls.Add(this.picIconHome);
- this.panHome.Controls.Add(this.labHomeSelected);
- this.panHome.Cursor = System.Windows.Forms.Cursors.Hand;
- this.panHome.Location = new System.Drawing.Point(30, 0);
- this.panHome.MatrixRound = 8;
- this.panHome.Name = "panHome";
- this.panHome.Size = new System.Drawing.Size(100, 50);
- this.panHome.TabIndex = 0;
- this.panHome.Click += new System.EventHandler(this.panHome_Click);
- this.panHome.MouseLeave += new System.EventHandler(this.panHome_MouseLeave);
- this.panHome.MouseHover += new System.EventHandler(this.panHome_MouseHover);
- //
- // labHomeText
- //
- this.labHomeText.BackColor = System.Drawing.Color.Transparent;
- this.labHomeText.Font = new System.Drawing.Font("微软雅黑", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
- this.labHomeText.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(18)))), ((int)(((byte)(150)))), ((int)(((byte)(219)))));
- this.labHomeText.Location = new System.Drawing.Point(35, 0);
- this.labHomeText.Margin = new System.Windows.Forms.Padding(0);
- this.labHomeText.Name = "labHomeText";
- this.labHomeText.Size = new System.Drawing.Size(55, 47);
- this.labHomeText.TabIndex = 2;
- this.labHomeText.Text = "首页";
- this.labHomeText.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
- this.labHomeText.Click += new System.EventHandler(this.panHome_Click);
- this.labHomeText.MouseLeave += new System.EventHandler(this.panHome_MouseLeave);
- this.labHomeText.MouseHover += new System.EventHandler(this.panHome_MouseHover);
- //
- // picIconHome
- //
- this.picIconHome.BackColor = System.Drawing.Color.Transparent;
- this.picIconHome.BackgroundImage = global::Casic.Birmm.RbFreqStandMeasure.Properties.Resources.icon_home_selected;
- this.picIconHome.BackgroundImageLayout = System.Windows.Forms.ImageLayout.Zoom;
- this.picIconHome.Location = new System.Drawing.Point(10, 11);
- this.picIconHome.Name = "picIconHome";
- this.picIconHome.Size = new System.Drawing.Size(25, 25);
- this.picIconHome.TabIndex = 1;
- this.picIconHome.TabStop = false;
- this.picIconHome.Click += new System.EventHandler(this.panHome_Click);
- this.picIconHome.MouseLeave += new System.EventHandler(this.panHome_MouseLeave);
- this.picIconHome.MouseHover += new System.EventHandler(this.panHome_MouseHover);
- //
- // labHomeSelected
- //
- this.labHomeSelected.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(18)))), ((int)(((byte)(150)))), ((int)(((byte)(219)))));
- this.labHomeSelected.Location = new System.Drawing.Point(0, 47);
- this.labHomeSelected.Name = "labHomeSelected";
- this.labHomeSelected.Size = new System.Drawing.Size(100, 3);
- this.labHomeSelected.TabIndex = 0;
- //
- // labStatusSelected
- //
- this.labStatusSelected.BackColor = System.Drawing.Color.Transparent;
- this.labStatusSelected.Location = new System.Drawing.Point(160, 47);
- this.labStatusSelected.Margin = new System.Windows.Forms.Padding(0);
- this.labStatusSelected.Name = "labStatusSelected";
- this.labStatusSelected.Size = new System.Drawing.Size(130, 3);
- this.labStatusSelected.TabIndex = 0;
- //
// penBanner
//
this.penBanner.BackgroundImage = global::Casic.Birmm.RbFreqStandMeasure.Properties.Resources.bg_banner;
this.penBanner.BackgroundImageLayout = System.Windows.Forms.ImageLayout.Stretch;
+ this.penBanner.Controls.Add(this.btnMinSys);
this.penBanner.Controls.Add(this.btnExitSys);
this.penBanner.Controls.Add(this.labTitle);
this.penBanner.Location = new System.Drawing.Point(0, 0);
@@ -180,6 +109,23 @@
this.penBanner.TabIndex = 0;
this.penBanner.MouseDown += new System.Windows.Forms.MouseEventHandler(this.RbFreqStdMeas_MouseDown);
//
+ // btnMinSys
+ //
+ this.btnMinSys.BackColor = System.Drawing.Color.Transparent;
+ this.btnMinSys.BackgroundImage = global::Casic.Birmm.RbFreqStandMeasure.Properties.Resources.icon_min;
+ this.btnMinSys.BackgroundImageLayout = System.Windows.Forms.ImageLayout.Stretch;
+ this.btnMinSys.FlatAppearance.BorderSize = 0;
+ this.btnMinSys.FlatStyle = System.Windows.Forms.FlatStyle.Flat;
+ this.btnMinSys.ForeColor = System.Drawing.SystemColors.ControlDarkDark;
+ this.btnMinSys.Location = new System.Drawing.Point(944, 22);
+ this.btnMinSys.Margin = new System.Windows.Forms.Padding(0);
+ this.btnMinSys.Name = "btnMinSys";
+ this.btnMinSys.Size = new System.Drawing.Size(20, 20);
+ this.btnMinSys.TabIndex = 1;
+ this.btnMinSys.UseVisualStyleBackColor = false;
+ this.btnMinSys.Click += new System.EventHandler(this.btnMinSys_Click);
+ this.btnMinSys.MouseHover += new System.EventHandler(this.btnMinSys_MouseHover);
+ //
// btnExitSys
//
this.btnExitSys.BackColor = System.Drawing.Color.Transparent;
@@ -200,7 +146,7 @@
// labTitle
//
this.labTitle.BackColor = System.Drawing.Color.Transparent;
- this.labTitle.Font = new System.Drawing.Font("微软雅黑", 15.75F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
+ this.labTitle.Font = new System.Drawing.Font("微软雅黑", 20F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Pixel, ((byte)(134)));
this.labTitle.ForeColor = System.Drawing.Color.White;
this.labTitle.Location = new System.Drawing.Point(30, 16);
this.labTitle.Name = "labTitle";
@@ -209,11 +155,404 @@
this.labTitle.Text = "铷原子频标比对测量软件";
this.labTitle.TextAlign = System.Drawing.ContentAlignment.MiddleLeft;
//
+ // panDev
+ //
+ this.panDev.Back = System.Drawing.Color.Empty;
+ this.panDev.Controls.Add(this.labDevText);
+ this.panDev.Controls.Add(this.labDevSelected);
+ this.panDev.Controls.Add(this.picIconDev);
+ this.panDev.Location = new System.Drawing.Point(214, 0);
+ this.panDev.MatrixRound = 8;
+ this.panDev.Name = "panDev";
+ this.panDev.Size = new System.Drawing.Size(141, 50);
+ this.panDev.TabIndex = 2;
+ this.panDev.Click += new System.EventHandler(this.panDev_Click);
+ this.panDev.MouseLeave += new System.EventHandler(this.panDev_MouseLeave);
+ this.panDev.MouseHover += new System.EventHandler(this.panDev_MouseHover);
+ //
+ // labDevText
+ //
+ this.labDevText.BackColor = System.Drawing.Color.Transparent;
+ this.labDevText.Cursor = System.Windows.Forms.Cursors.Hand;
+ this.labDevText.Font = new System.Drawing.Font("微软雅黑", 16F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Pixel, ((byte)(134)));
+ this.labDevText.ForeColor = System.Drawing.SystemColors.ControlText;
+ this.labDevText.Location = new System.Drawing.Point(30, 14);
+ this.labDevText.Margin = new System.Windows.Forms.Padding(0);
+ this.labDevText.Name = "labDevText";
+ this.labDevText.Size = new System.Drawing.Size(106, 20);
+ this.labDevText.TabIndex = 2;
+ this.labDevText.Text = "送检仪器管理";
+ this.labDevText.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
+ this.labDevText.Click += new System.EventHandler(this.panDev_Click);
+ this.labDevText.MouseLeave += new System.EventHandler(this.panDev_MouseLeave);
+ this.labDevText.MouseHover += new System.EventHandler(this.panDev_MouseHover);
+ //
+ // labDevSelected
+ //
+ this.labDevSelected.BackColor = System.Drawing.Color.Transparent;
+ this.labDevSelected.Location = new System.Drawing.Point(8, 48);
+ this.labDevSelected.Margin = new System.Windows.Forms.Padding(0);
+ this.labDevSelected.Name = "labDevSelected";
+ this.labDevSelected.Size = new System.Drawing.Size(121, 2);
+ this.labDevSelected.TabIndex = 3;
+ //
+ // picIconDev
+ //
+ this.picIconDev.BackColor = System.Drawing.Color.Transparent;
+ this.picIconDev.BackgroundImage = global::Casic.Birmm.RbFreqStandMeasure.Properties.Resources.icon_dev;
+ this.picIconDev.BackgroundImageLayout = System.Windows.Forms.ImageLayout.Zoom;
+ this.picIconDev.Location = new System.Drawing.Point(10, 14);
+ this.picIconDev.Name = "picIconDev";
+ this.picIconDev.Size = new System.Drawing.Size(20, 20);
+ this.picIconDev.TabIndex = 1;
+ this.picIconDev.TabStop = false;
+ this.picIconDev.Click += new System.EventHandler(this.panDev_Click);
+ this.picIconDev.MouseLeave += new System.EventHandler(this.panDev_MouseLeave);
+ this.picIconDev.MouseHover += new System.EventHandler(this.panDev_MouseHover);
+ //
+ // panSetting
+ //
+ this.panSetting.Back = System.Drawing.Color.Empty;
+ this.panSetting.Controls.Add(this.labSettingSelected);
+ this.panSetting.Controls.Add(this.labSettingText);
+ this.panSetting.Controls.Add(this.picIconSetting);
+ this.panSetting.Location = new System.Drawing.Point(879, 0);
+ this.panSetting.MatrixRound = 8;
+ this.panSetting.Name = "panSetting";
+ this.panSetting.Size = new System.Drawing.Size(109, 50);
+ this.panSetting.TabIndex = 2;
+ this.panSetting.Click += new System.EventHandler(this.panSetting_Click);
+ this.panSetting.MouseLeave += new System.EventHandler(this.panSetting_MouseLeave);
+ this.panSetting.MouseHover += new System.EventHandler(this.panSetting_MouseHover);
+ //
+ // labSettingSelected
+ //
+ this.labSettingSelected.BackColor = System.Drawing.Color.Transparent;
+ this.labSettingSelected.Location = new System.Drawing.Point(10, 48);
+ this.labSettingSelected.Margin = new System.Windows.Forms.Padding(0);
+ this.labSettingSelected.Name = "labSettingSelected";
+ this.labSettingSelected.Size = new System.Drawing.Size(89, 2);
+ this.labSettingSelected.TabIndex = 4;
+ //
+ // labSettingText
+ //
+ this.labSettingText.BackColor = System.Drawing.Color.Transparent;
+ this.labSettingText.Cursor = System.Windows.Forms.Cursors.Hand;
+ this.labSettingText.Font = new System.Drawing.Font("微软雅黑", 16F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Pixel, ((byte)(134)));
+ this.labSettingText.ForeColor = System.Drawing.SystemColors.ControlText;
+ this.labSettingText.Location = new System.Drawing.Point(30, 14);
+ this.labSettingText.Margin = new System.Windows.Forms.Padding(0);
+ this.labSettingText.Name = "labSettingText";
+ this.labSettingText.Size = new System.Drawing.Size(74, 20);
+ this.labSettingText.TabIndex = 2;
+ this.labSettingText.Text = "系统设置";
+ this.labSettingText.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
+ this.labSettingText.Click += new System.EventHandler(this.panSetting_Click);
+ this.labSettingText.MouseLeave += new System.EventHandler(this.panSetting_MouseLeave);
+ this.labSettingText.MouseHover += new System.EventHandler(this.panSetting_MouseHover);
+ //
+ // picIconSetting
+ //
+ this.picIconSetting.BackColor = System.Drawing.Color.Transparent;
+ this.picIconSetting.BackgroundImage = global::Casic.Birmm.RbFreqStandMeasure.Properties.Resources.icon_setting;
+ this.picIconSetting.BackgroundImageLayout = System.Windows.Forms.ImageLayout.Zoom;
+ this.picIconSetting.Location = new System.Drawing.Point(10, 14);
+ this.picIconSetting.Name = "picIconSetting";
+ this.picIconSetting.Size = new System.Drawing.Size(20, 20);
+ this.picIconSetting.TabIndex = 1;
+ this.picIconSetting.TabStop = false;
+ this.picIconSetting.Click += new System.EventHandler(this.panSetting_Click);
+ this.picIconSetting.MouseLeave += new System.EventHandler(this.panSetting_MouseLeave);
+ this.picIconSetting.MouseHover += new System.EventHandler(this.panSetting_MouseHover);
+ //
+ // panStatus
+ //
+ this.panStatus.Back = System.Drawing.Color.Empty;
+ this.panStatus.BackColor = System.Drawing.Color.Transparent;
+ this.panStatus.Controls.Add(this.labStatusText);
+ this.panStatus.Controls.Add(this.picIconStatus);
+ this.panStatus.Controls.Add(this.labStatusSelected);
+ this.panStatus.Location = new System.Drawing.Point(101, 0);
+ this.panStatus.MatrixRound = 8;
+ this.panStatus.Name = "panStatus";
+ this.panStatus.Size = new System.Drawing.Size(109, 50);
+ this.panStatus.TabIndex = 1;
+ this.panStatus.Click += new System.EventHandler(this.panStatus_Click);
+ this.panStatus.MouseLeave += new System.EventHandler(this.panStatus_MouseLeave);
+ this.panStatus.MouseHover += new System.EventHandler(this.panStatus_MouseHover);
+ //
+ // labStatusText
+ //
+ this.labStatusText.BackColor = System.Drawing.Color.Transparent;
+ this.labStatusText.Cursor = System.Windows.Forms.Cursors.Hand;
+ this.labStatusText.Font = new System.Drawing.Font("微软雅黑", 16F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Pixel, ((byte)(134)));
+ this.labStatusText.ForeColor = System.Drawing.SystemColors.ControlText;
+ this.labStatusText.Location = new System.Drawing.Point(30, 14);
+ this.labStatusText.Margin = new System.Windows.Forms.Padding(0);
+ this.labStatusText.Name = "labStatusText";
+ this.labStatusText.Size = new System.Drawing.Size(74, 20);
+ this.labStatusText.TabIndex = 2;
+ this.labStatusText.Text = "基准状态";
+ this.labStatusText.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
+ this.labStatusText.Click += new System.EventHandler(this.panStatus_Click);
+ this.labStatusText.MouseLeave += new System.EventHandler(this.panStatus_MouseLeave);
+ this.labStatusText.MouseHover += new System.EventHandler(this.panStatus_MouseHover);
+ //
+ // picIconStatus
+ //
+ this.picIconStatus.BackgroundImage = global::Casic.Birmm.RbFreqStandMeasure.Properties.Resources.icon_status;
+ this.picIconStatus.BackgroundImageLayout = System.Windows.Forms.ImageLayout.Zoom;
+ this.picIconStatus.Location = new System.Drawing.Point(10, 14);
+ this.picIconStatus.Name = "picIconStatus";
+ this.picIconStatus.Size = new System.Drawing.Size(20, 20);
+ this.picIconStatus.TabIndex = 1;
+ this.picIconStatus.TabStop = false;
+ this.picIconStatus.Click += new System.EventHandler(this.panStatus_Click);
+ this.picIconStatus.MouseLeave += new System.EventHandler(this.panStatus_MouseLeave);
+ this.picIconStatus.MouseHover += new System.EventHandler(this.panStatus_MouseHover);
+ //
+ // labStatusSelected
+ //
+ this.labStatusSelected.BackColor = System.Drawing.Color.Transparent;
+ this.labStatusSelected.Location = new System.Drawing.Point(10, 48);
+ this.labStatusSelected.Margin = new System.Windows.Forms.Padding(0);
+ this.labStatusSelected.Name = "labStatusSelected";
+ this.labStatusSelected.Size = new System.Drawing.Size(89, 2);
+ this.labStatusSelected.TabIndex = 0;
+ //
+ // panData
+ //
+ this.panData.Back = System.Drawing.Color.Empty;
+ this.panData.Controls.Add(this.labDataSelected);
+ this.panData.Controls.Add(this.labDataText);
+ this.panData.Controls.Add(this.picIconData);
+ this.panData.Location = new System.Drawing.Point(765, 0);
+ this.panData.MatrixRound = 8;
+ this.panData.Name = "panData";
+ this.panData.Size = new System.Drawing.Size(109, 50);
+ this.panData.TabIndex = 2;
+ this.panData.Click += new System.EventHandler(this.panData_Click);
+ this.panData.MouseLeave += new System.EventHandler(this.panData_MouseLeave);
+ this.panData.MouseHover += new System.EventHandler(this.panData_MouseHover);
+ //
+ // labDataSelected
+ //
+ this.labDataSelected.BackColor = System.Drawing.Color.Transparent;
+ this.labDataSelected.Location = new System.Drawing.Point(10, 48);
+ this.labDataSelected.Margin = new System.Windows.Forms.Padding(0);
+ this.labDataSelected.Name = "labDataSelected";
+ this.labDataSelected.Size = new System.Drawing.Size(89, 2);
+ this.labDataSelected.TabIndex = 3;
+ //
+ // labDataText
+ //
+ this.labDataText.BackColor = System.Drawing.Color.Transparent;
+ this.labDataText.Cursor = System.Windows.Forms.Cursors.Hand;
+ this.labDataText.Font = new System.Drawing.Font("微软雅黑", 16F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Pixel, ((byte)(134)));
+ this.labDataText.ForeColor = System.Drawing.SystemColors.ControlText;
+ this.labDataText.Location = new System.Drawing.Point(30, 14);
+ this.labDataText.Margin = new System.Windows.Forms.Padding(0);
+ this.labDataText.Name = "labDataText";
+ this.labDataText.Size = new System.Drawing.Size(74, 20);
+ this.labDataText.TabIndex = 2;
+ this.labDataText.Text = "数据管理";
+ this.labDataText.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
+ this.labDataText.Click += new System.EventHandler(this.panData_Click);
+ this.labDataText.MouseLeave += new System.EventHandler(this.panData_MouseLeave);
+ this.labDataText.MouseHover += new System.EventHandler(this.panData_MouseHover);
+ //
+ // picIconData
+ //
+ this.picIconData.BackColor = System.Drawing.Color.Transparent;
+ this.picIconData.BackgroundImage = global::Casic.Birmm.RbFreqStandMeasure.Properties.Resources.icon_data;
+ this.picIconData.BackgroundImageLayout = System.Windows.Forms.ImageLayout.Zoom;
+ this.picIconData.Location = new System.Drawing.Point(10, 14);
+ this.picIconData.Name = "picIconData";
+ this.picIconData.Size = new System.Drawing.Size(20, 20);
+ this.picIconData.TabIndex = 1;
+ this.picIconData.TabStop = false;
+ this.picIconData.Click += new System.EventHandler(this.panData_Click);
+ this.picIconData.MouseLeave += new System.EventHandler(this.panData_MouseLeave);
+ this.picIconData.MouseHover += new System.EventHandler(this.panData_MouseHover);
+ //
+ // panHome
+ //
+ this.panHome.Back = System.Drawing.Color.Empty;
+ this.panHome.Controls.Add(this.labHomeText);
+ this.panHome.Controls.Add(this.picIconHome);
+ this.panHome.Controls.Add(this.labHomeSelected);
+ this.panHome.Cursor = System.Windows.Forms.Cursors.Hand;
+ this.panHome.Location = new System.Drawing.Point(20, 0);
+ this.panHome.MatrixRound = 8;
+ this.panHome.Name = "panHome";
+ this.panHome.Size = new System.Drawing.Size(75, 50);
+ this.panHome.TabIndex = 0;
+ this.panHome.Click += new System.EventHandler(this.panHome_Click);
+ this.panHome.MouseLeave += new System.EventHandler(this.panHome_MouseLeave);
+ this.panHome.MouseHover += new System.EventHandler(this.panHome_MouseHover);
+ //
+ // labHomeText
+ //
+ this.labHomeText.BackColor = System.Drawing.Color.Transparent;
+ this.labHomeText.Font = new System.Drawing.Font("微软雅黑", 16F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Pixel, ((byte)(134)));
+ this.labHomeText.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(18)))), ((int)(((byte)(150)))), ((int)(((byte)(219)))));
+ this.labHomeText.Location = new System.Drawing.Point(30, 14);
+ this.labHomeText.Margin = new System.Windows.Forms.Padding(0);
+ this.labHomeText.Name = "labHomeText";
+ this.labHomeText.Size = new System.Drawing.Size(42, 20);
+ this.labHomeText.TabIndex = 2;
+ this.labHomeText.Text = "首页";
+ this.labHomeText.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
+ this.labHomeText.Click += new System.EventHandler(this.panHome_Click);
+ this.labHomeText.MouseLeave += new System.EventHandler(this.panHome_MouseLeave);
+ this.labHomeText.MouseHover += new System.EventHandler(this.panHome_MouseHover);
+ //
+ // picIconHome
+ //
+ this.picIconHome.BackColor = System.Drawing.Color.Transparent;
+ this.picIconHome.BackgroundImage = global::Casic.Birmm.RbFreqStandMeasure.Properties.Resources.icon_home_selected;
+ this.picIconHome.BackgroundImageLayout = System.Windows.Forms.ImageLayout.Zoom;
+ this.picIconHome.Location = new System.Drawing.Point(10, 14);
+ this.picIconHome.Margin = new System.Windows.Forms.Padding(0);
+ this.picIconHome.Name = "picIconHome";
+ this.picIconHome.Size = new System.Drawing.Size(20, 20);
+ this.picIconHome.TabIndex = 1;
+ this.picIconHome.TabStop = false;
+ this.picIconHome.Click += new System.EventHandler(this.panHome_Click);
+ this.picIconHome.MouseLeave += new System.EventHandler(this.panHome_MouseLeave);
+ this.picIconHome.MouseHover += new System.EventHandler(this.panHome_MouseHover);
+ //
+ // labHomeSelected
+ //
+ this.labHomeSelected.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(18)))), ((int)(((byte)(150)))), ((int)(((byte)(219)))));
+ this.labHomeSelected.Location = new System.Drawing.Point(10, 48);
+ this.labHomeSelected.Name = "labHomeSelected";
+ this.labHomeSelected.Size = new System.Drawing.Size(55, 2);
+ this.labHomeSelected.TabIndex = 0;
+ //
+ // panMeasure
+ //
+ this.panMeasure.Back = System.Drawing.Color.Empty;
+ this.panMeasure.Controls.Add(this.labMeasureText);
+ this.panMeasure.Controls.Add(this.labMeasureSelected);
+ this.panMeasure.Controls.Add(this.picIconMeasure);
+ this.panMeasure.Location = new System.Drawing.Point(619, 0);
+ this.panMeasure.MatrixRound = 8;
+ this.panMeasure.Name = "panMeasure";
+ this.panMeasure.Size = new System.Drawing.Size(141, 50);
+ this.panMeasure.TabIndex = 2;
+ this.panMeasure.Click += new System.EventHandler(this.panMeasure_Click);
+ this.panMeasure.MouseLeave += new System.EventHandler(this.panMeasure_MouseLeave);
+ this.panMeasure.MouseHover += new System.EventHandler(this.panMeasure_MouseHover);
+ //
+ // labMeasureText
+ //
+ this.labMeasureText.BackColor = System.Drawing.Color.Transparent;
+ this.labMeasureText.Cursor = System.Windows.Forms.Cursors.Hand;
+ this.labMeasureText.Font = new System.Drawing.Font("微软雅黑", 16F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Pixel, ((byte)(134)));
+ this.labMeasureText.ForeColor = System.Drawing.SystemColors.ControlText;
+ this.labMeasureText.Location = new System.Drawing.Point(30, 14);
+ this.labMeasureText.Margin = new System.Windows.Forms.Padding(0);
+ this.labMeasureText.Name = "labMeasureText";
+ this.labMeasureText.Size = new System.Drawing.Size(106, 20);
+ this.labMeasureText.TabIndex = 2;
+ this.labMeasureText.Text = "计量信息管理";
+ this.labMeasureText.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
+ this.labMeasureText.Click += new System.EventHandler(this.panMeasure_Click);
+ this.labMeasureText.MouseLeave += new System.EventHandler(this.panMeasure_MouseLeave);
+ this.labMeasureText.MouseHover += new System.EventHandler(this.panMeasure_MouseHover);
+ //
+ // labMeasureSelected
+ //
+ this.labMeasureSelected.BackColor = System.Drawing.Color.Transparent;
+ this.labMeasureSelected.Location = new System.Drawing.Point(10, 48);
+ this.labMeasureSelected.Margin = new System.Windows.Forms.Padding(0);
+ this.labMeasureSelected.Name = "labMeasureSelected";
+ this.labMeasureSelected.Size = new System.Drawing.Size(121, 2);
+ this.labMeasureSelected.TabIndex = 3;
+ //
+ // picIconMeasure
+ //
+ this.picIconMeasure.BackColor = System.Drawing.Color.Transparent;
+ this.picIconMeasure.BackgroundImage = global::Casic.Birmm.RbFreqStandMeasure.Properties.Resources.icon_measure;
+ this.picIconMeasure.BackgroundImageLayout = System.Windows.Forms.ImageLayout.Zoom;
+ this.picIconMeasure.Location = new System.Drawing.Point(10, 14);
+ this.picIconMeasure.Name = "picIconMeasure";
+ this.picIconMeasure.Size = new System.Drawing.Size(20, 20);
+ this.picIconMeasure.TabIndex = 1;
+ this.picIconMeasure.TabStop = false;
+ this.picIconMeasure.Click += new System.EventHandler(this.panMeasure_Click);
+ this.picIconMeasure.MouseLeave += new System.EventHandler(this.panMeasure_MouseLeave);
+ this.picIconMeasure.MouseHover += new System.EventHandler(this.panMeasure_MouseHover);
+ //
+ // panCounter
+ //
+ this.panCounter.Back = System.Drawing.Color.Empty;
+ this.panCounter.Controls.Add(this.labCounterSelected);
+ this.panCounter.Controls.Add(this.labCounterText);
+ this.panCounter.Controls.Add(this.picIconCounter);
+ this.panCounter.Location = new System.Drawing.Point(360, 0);
+ this.panCounter.MatrixRound = 8;
+ this.panCounter.Name = "panCounter";
+ this.panCounter.Size = new System.Drawing.Size(254, 50);
+ this.panCounter.TabIndex = 2;
+ this.panCounter.Click += new System.EventHandler(this.panCounter_Click);
+ this.panCounter.MouseLeave += new System.EventHandler(this.panCounter_MouseLeave);
+ this.panCounter.MouseHover += new System.EventHandler(this.panCounter_MouseHover);
+ //
+ // labCounterSelected
+ //
+ this.labCounterSelected.BackColor = System.Drawing.Color.Transparent;
+ this.labCounterSelected.Location = new System.Drawing.Point(10, 48);
+ this.labCounterSelected.Margin = new System.Windows.Forms.Padding(0);
+ this.labCounterSelected.Name = "labCounterSelected";
+ this.labCounterSelected.Size = new System.Drawing.Size(233, 2);
+ this.labCounterSelected.TabIndex = 4;
+ //
+ // labCounterText
+ //
+ this.labCounterText.BackColor = System.Drawing.Color.Transparent;
+ this.labCounterText.Cursor = System.Windows.Forms.Cursors.Hand;
+ this.labCounterText.Font = new System.Drawing.Font("微软雅黑", 16F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Pixel, ((byte)(134)));
+ this.labCounterText.ForeColor = System.Drawing.SystemColors.ControlText;
+ this.labCounterText.Location = new System.Drawing.Point(30, 14);
+ this.labCounterText.Margin = new System.Windows.Forms.Padding(0);
+ this.labCounterText.Name = "labCounterText";
+ this.labCounterText.Size = new System.Drawing.Size(218, 20);
+ this.labCounterText.TabIndex = 2;
+ this.labCounterText.Text = "频率计数器范围及灵敏度测量";
+ this.labCounterText.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
+ this.labCounterText.Click += new System.EventHandler(this.panCounter_Click);
+ this.labCounterText.MouseLeave += new System.EventHandler(this.panCounter_MouseLeave);
+ this.labCounterText.MouseHover += new System.EventHandler(this.panCounter_MouseHover);
+ //
+ // picIconCounter
+ //
+ this.picIconCounter.BackColor = System.Drawing.Color.Transparent;
+ this.picIconCounter.BackgroundImage = global::Casic.Birmm.RbFreqStandMeasure.Properties.Resources.icon_counter;
+ this.picIconCounter.BackgroundImageLayout = System.Windows.Forms.ImageLayout.Zoom;
+ this.picIconCounter.Location = new System.Drawing.Point(10, 14);
+ this.picIconCounter.Name = "picIconCounter";
+ this.picIconCounter.Size = new System.Drawing.Size(20, 20);
+ this.picIconCounter.TabIndex = 1;
+ this.picIconCounter.TabStop = false;
+ this.picIconCounter.Click += new System.EventHandler(this.panCounter_Click);
+ this.picIconCounter.MouseLeave += new System.EventHandler(this.panCounter_MouseLeave);
+ this.picIconCounter.MouseHover += new System.EventHandler(this.panCounter_MouseHover);
+ //
+ // panelMain
+ //
+ this.panelMain.Location = new System.Drawing.Point(0, 114);
+ this.panelMain.Name = "panelMain";
+ this.panelMain.Size = new System.Drawing.Size(1024, 654);
+ this.panelMain.TabIndex = 2;
+ //
// RbFreqStdMeas
//
this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 12F);
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
this.ClientSize = new System.Drawing.Size(1024, 768);
+ this.Controls.Add(this.panelMain);
this.Controls.Add(this.panMenu);
this.Controls.Add(this.penBanner);
this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.None;
@@ -221,11 +560,21 @@
this.Text = "RbFreqStdMeas";
this.Load += new System.EventHandler(this.RbFreqStdMeas_Load);
this.panMenu.ResumeLayout(false);
+ this.penBanner.ResumeLayout(false);
+ this.panDev.ResumeLayout(false);
+ ((System.ComponentModel.ISupportInitialize)(this.picIconDev)).EndInit();
+ this.panSetting.ResumeLayout(false);
+ ((System.ComponentModel.ISupportInitialize)(this.picIconSetting)).EndInit();
this.panStatus.ResumeLayout(false);
((System.ComponentModel.ISupportInitialize)(this.picIconStatus)).EndInit();
+ this.panData.ResumeLayout(false);
+ ((System.ComponentModel.ISupportInitialize)(this.picIconData)).EndInit();
this.panHome.ResumeLayout(false);
((System.ComponentModel.ISupportInitialize)(this.picIconHome)).EndInit();
- this.penBanner.ResumeLayout(false);
+ this.panMeasure.ResumeLayout(false);
+ ((System.ComponentModel.ISupportInitialize)(this.picIconMeasure)).EndInit();
+ this.panCounter.ResumeLayout(false);
+ ((System.ComponentModel.ISupportInitialize)(this.picIconCounter)).EndInit();
this.ResumeLayout(false);
}
@@ -244,5 +593,27 @@
private RoundPanel panStatus;
private RoundPanel panHome;
private System.Windows.Forms.Label labStatusSelected;
+ private RoundPanel panDev;
+ private System.Windows.Forms.PictureBox picIconDev;
+ private System.Windows.Forms.Label labDevText;
+ private System.Windows.Forms.Label labMeasureSelected;
+ private RoundPanel panCounter;
+ private System.Windows.Forms.Label labCounterText;
+ private System.Windows.Forms.PictureBox picIconCounter;
+ private RoundPanel panMeasure;
+ private System.Windows.Forms.Label labMeasureText;
+ private System.Windows.Forms.PictureBox picIconMeasure;
+ private RoundPanel panData;
+ private System.Windows.Forms.Label labDataText;
+ private System.Windows.Forms.PictureBox picIconData;
+ private RoundPanel panSetting;
+ private System.Windows.Forms.Label labSettingText;
+ private System.Windows.Forms.PictureBox picIconSetting;
+ private System.Windows.Forms.Label labCounterSelected;
+ private System.Windows.Forms.Label labDevSelected;
+ private System.Windows.Forms.Label labDataSelected;
+ private System.Windows.Forms.Label labSettingSelected;
+ private System.Windows.Forms.Button btnMinSys;
+ private System.Windows.Forms.Panel panelMain;
}
}
\ No newline at end of file
diff --git a/RbFreqStandMeasure/RbFreqStdMeas.cs b/RbFreqStandMeasure/RbFreqStdMeas.cs
index 3858ddb..af980d7 100644
--- a/RbFreqStandMeasure/RbFreqStdMeas.cs
+++ b/RbFreqStandMeasure/RbFreqStdMeas.cs
@@ -1,13 +1,9 @@
-using Casic.Birmm.RbFreqStandMeasure.Properties;
+using Casic.Birmm.RbFreqStandMeasure.info;
+using Casic.Birmm.RbFreqStandMeasure.Properties;
+using Casic.Birmm.RbFreqStandMeasure.setting;
using System;
-using System.Collections.Generic;
-using System.ComponentModel;
-using System.Data;
using System.Drawing;
-using System.Linq;
-using System.Resources;
using System.Runtime.InteropServices;
-using System.Text;
using System.Windows.Forms;
namespace Casic.Birmm.RbFreqStandMeasure
@@ -15,7 +11,7 @@
public partial class RbFreqStdMeas : Form
{
- #region 无边框拖动效果
+ #region 无边框拖动效果/最小化窗口/关闭窗口
[DllImport("user32.dll")]//拖动无窗体的控件
public static extern bool ReleaseCapture();
[DllImport("user32.dll")]
@@ -30,9 +26,29 @@
ReleaseCapture();
SendMessage(this.Handle, WM_SYSCOMMAND, SC_MOVE + HTCAPTION, 0);
}
+ private void btnExitSys_Click(object sender, EventArgs e)
+ {
+ Application.Exit();
+ }
+ private void btnMinSys_Click(object sender, EventArgs e)
+ {
+ this.WindowState = FormWindowState.Minimized;
+ }
+ private void btnExitSys_MouseHover(object sender, EventArgs e)
+ {
+ ToolTip p = new ToolTip();
+ p.ShowAlways = true;
+ p.SetToolTip(this.btnExitSys, "退出");
+ }
+ private void btnMinSys_MouseHover(object sender, EventArgs e)
+ {
+ ToolTip p = new ToolTip();
+ p.ShowAlways = true;
+ p.SetToolTip(this.btnMinSys, "最小化");
+ }
#endregion
- private bool[] menuSelected = { true, false };
+ private bool[] menuSelected = { true, false, false, false, false, false, false };
// 按钮图标
private PictureBox[] menuPics;
// 按钮图标的资源名称(选中的资源名称在后面加上 _selected)
@@ -57,7 +73,7 @@
// 将当前按钮的效果设置为默认未选中
this.menuPics[index].BackgroundImage = (Bitmap)Resources.ResourceManager.GetObject(this.menuIconResources[index], null);
- this.menuLabels[index].ForeColor = ColorTranslator.FromHtml("#2C2C2C");
+ this.menuLabels[index].ForeColor = ColorTranslator.FromHtml("#333333");
this.menuUnderlines[index].BackColor = Color.Transparent;
}
@@ -79,13 +95,15 @@
LeaveHome();
// 重新设置所有按钮的状态
- this.menuSelected = new bool[] { true, false };
+ this.menuSelected = new bool[] { true, false, false, false, false, false, false };
// 将新选中的按钮设置为选中
this.picIconHome.BackgroundImage = (Bitmap)Resources.ResourceManager.GetObject("icon_home_selected", null);
- this.labHomeText.ForeColor = ColorTranslator.FromHtml("#1296db");
- this.labHomeSelected.BackColor = ColorTranslator.FromHtml("#1296db");
+ this.labHomeText.ForeColor = ColorTranslator.FromHtml("#3f84d7");
+ this.labHomeSelected.BackColor = ColorTranslator.FromHtml("#3f84d7");
+ // 切换至首页
+ switchMainPanel(0);
}
#endregion
@@ -107,12 +125,163 @@
LeaveStatus();
// 重新设置所有按钮的状态
- this.menuSelected = new bool[] { false, true };
+ this.menuSelected = new bool[] { false, true, false, false, false, false, false };
// 将新选中的按钮设置为选中
this.picIconStatus.BackgroundImage = (Bitmap) Resources.ResourceManager.GetObject("icon_status_selected", null);
- this.labStatusText.ForeColor = ColorTranslator.FromHtml("#1296db");
- this.labStatusSelected.BackColor = ColorTranslator.FromHtml("#1296db");
+ this.labStatusText.ForeColor = ColorTranslator.FromHtml("#3f84d7");
+ this.labStatusSelected.BackColor = ColorTranslator.FromHtml("#3f84d7");
+
+ // 切换到基准状态页面
+ switchMainPanel(1);
+ }
+ #endregion
+
+ #region 送检仪器按钮点击、移入/移出效果
+ private void HoverDev()
+ {
+ panDev.Back = ColorTranslator.FromHtml("#56a3f2");
+ }
+ private void LeaveDev()
+ {
+ panDev.Back = Color.Transparent;
+ }
+ private void SelectDev()
+ {
+ // 移除所有按钮的选中样式
+ this.ClearAllMenuSelected();
+
+ // 鼠标移入效果去掉
+ LeaveDev();
+
+ // 重新设置所有按钮的状态
+ this.menuSelected = new bool[] { false, false, true, false, false ,false ,false };
+
+ // 将新选中的按钮设置为选中
+ this.picIconDev.BackgroundImage = (Bitmap)Resources.ResourceManager.GetObject("icon_dev_selected", null);
+ this.labDevText.ForeColor = ColorTranslator.FromHtml("#3f84d7");
+ this.labDevSelected.BackColor = ColorTranslator.FromHtml("#3f84d7");
+
+ // 切换至待检仪器管理
+ switchMainPanel(2);
+ }
+ #endregion
+
+ #region 频率计数器测量点击、移入/移出效果
+ private void HoverCounter()
+ {
+ panCounter.Back = ColorTranslator.FromHtml("#56a3f2");
+ }
+ private void LeaveCounter()
+ {
+ panCounter.Back = Color.Transparent;
+ }
+ private void SelectCounter()
+ {
+ // 移除所有按钮的选中样式
+ this.ClearAllMenuSelected();
+
+ // 鼠标移入效果去掉
+ LeaveCounter();
+
+ // 重新设置所有按钮的状态
+ this.menuSelected = new bool[] { false, false, false, true, false, false, false };
+
+ // 将新选中的按钮设置为选中
+ this.picIconCounter.BackgroundImage = (Bitmap)Resources.ResourceManager.GetObject("icon_counter_selected", null);
+ this.labCounterText.ForeColor = ColorTranslator.FromHtml("#3f84d7");
+ this.labCounterSelected.BackColor = ColorTranslator.FromHtml("#3f84d7");
+ }
+ #endregion
+
+ #region 计量管理点击、移入/移出效果
+ private void HoverMeasure()
+ {
+ panMeasure.Back = ColorTranslator.FromHtml("#56a3f2");
+ }
+ private void LeaveMeasure()
+ {
+ panMeasure.Back = Color.Transparent;
+ }
+ private void SelectMeasure()
+ {
+ // 移除所有按钮的选中样式
+ this.ClearAllMenuSelected();
+
+ // 鼠标移入效果去掉
+ LeaveMeasure();
+
+ // 重新设置所有按钮的状态
+ this.menuSelected = new bool[] { false, false, false, false, true, false, false };
+
+ // 将新选中的按钮设置为选中
+ this.picIconMeasure.BackgroundImage = (Bitmap)Resources.ResourceManager.GetObject("icon_measure_selected", null);
+ this.labMeasureText.ForeColor = ColorTranslator.FromHtml("#3f84d7");
+ this.labMeasureSelected.BackColor = ColorTranslator.FromHtml("#3f84d7");
+
+ // 切换至计量信息管理
+ switchMainPanel(4);
+ }
+ #endregion
+
+ #region 数据管理点击、移入/移出效果
+ private void HoverData()
+ {
+ panData.Back = ColorTranslator.FromHtml("#56a3f2");
+ }
+ private void LeaveData()
+ {
+ panData.Back = Color.Transparent;
+ }
+ private void SelectData()
+ {
+ // 移除所有按钮的选中样式
+ this.ClearAllMenuSelected();
+
+ // 鼠标移入效果去掉
+ LeaveData();
+
+ // 重新设置所有按钮的状态
+ this.menuSelected = new bool[] { false, false, false, false, false, true, false };
+
+ // 将新选中的按钮设置为选中
+ this.picIconData.BackgroundImage = (Bitmap)Resources.ResourceManager.GetObject("icon_data_selected", null);
+ this.labDataText.ForeColor = ColorTranslator.FromHtml("#3f84d7");
+ this.labDataSelected.BackColor = ColorTranslator.FromHtml("#3f84d7");
+
+ // 弹出对话框进行数据备份与还原操作
+ DataBackupDlg dataDlg = new DataBackupDlg();
+ dataDlg.ShowDialog();
+ }
+ #endregion
+
+ #region 系统管理点击、移入/移出效果
+ private void HoverSetting()
+ {
+ panSetting.Back = ColorTranslator.FromHtml("#56a3f2");
+ }
+ private void LeaveSetting()
+ {
+ panSetting.Back = Color.Transparent;
+ }
+ private void SelectSetting()
+ {
+ // 移除所有按钮的选中样式
+ this.ClearAllMenuSelected();
+
+ // 鼠标移入效果去掉
+ LeaveSetting();
+
+ // 重新设置所有按钮的状态
+ this.menuSelected = new bool[] { false, false, false, false, false, false, true };
+
+ // 将新选中的按钮设置为选中
+ this.picIconSetting.BackgroundImage = (Bitmap)Resources.ResourceManager.GetObject("icon_setting_selected", null);
+ this.labSettingText.ForeColor = ColorTranslator.FromHtml("#3f84d7");
+ this.labSettingSelected.BackColor = ColorTranslator.FromHtml("#3f84d7");
+
+ // 切换到设置的界面
+ switchMainPanel(6);
}
#endregion
@@ -123,22 +292,13 @@
private void RbFreqStdMeas_Load(object sender, EventArgs e)
{
- this.menuPics = new PictureBox[] { this.picIconHome, this.picIconStatus };
- this.menuLabels = new Label[] { this.labHomeText, this.labStatusText };
- this.menuUnderlines = new Label[] { this.labHomeSelected, this.labStatusSelected };
- this.menuIconResources = new string[] { "icon_home", "icon_status" };
- }
+ this.menuPics = new PictureBox[] { this.picIconHome, this.picIconStatus, this.picIconDev, this.picIconCounter, this.picIconMeasure, this.picIconData, this.picIconSetting };
+ this.menuLabels = new Label[] { this.labHomeText, this.labStatusText, this.labDevText, this.labCounterText, this.labMeasureText, this.labDataText, this.labSettingText };
+ this.menuUnderlines = new Label[] { this.labHomeSelected, this.labStatusSelected, this.labDevSelected, this.labCounterSelected, this.labMeasureSelected, this.labDataSelected, this.labSettingSelected };
+ this.menuIconResources = new string[] { "icon_home", "icon_status", "icon_dev", "icon_counter", "icon_measure", "icon_data", "icon_setting" };
- private void btnExitSys_Click(object sender, EventArgs e)
- {
- Application.Exit();
- }
-
- private void btnExitSys_MouseHover(object sender, EventArgs e)
- {
- ToolTip p = new ToolTip();
- p.ShowAlways = true;
- p.SetToolTip(this.btnExitSys, "退出");
+ // 加载首页的内容
+ switchMainPanel(0);
}
private void panHome_Click(object sender, EventArgs e)
@@ -191,5 +351,169 @@
LeaveStatus();
}
}
+
+ private void panDev_Click(object sender, EventArgs e)
+ {
+ if (this.menuSelected[2] == false)
+ {
+ SelectDev();
+ }
+ }
+
+ private void panDev_MouseHover(object sender, EventArgs e)
+ {
+ if (this.menuSelected[2] == false)
+ {
+ HoverDev();
+ }
+ }
+
+ private void panDev_MouseLeave(object sender, EventArgs e)
+ {
+ if (this.menuSelected[2] == false)
+ {
+ LeaveDev();
+ }
+ }
+
+ private void panCounter_Click(object sender, EventArgs e)
+ {
+ if (this.menuSelected[3] == false)
+ {
+ SelectCounter();
+ }
+ }
+
+ private void panCounter_MouseHover(object sender, EventArgs e)
+ {
+ if (this.menuSelected[3] == false)
+ {
+ HoverCounter();
+ }
+ }
+
+ private void panCounter_MouseLeave(object sender, EventArgs e)
+ {
+ if (this.menuSelected[3] == false)
+ {
+ LeaveCounter();
+ }
+ }
+
+ private void panMeasure_Click(object sender, EventArgs e)
+ {
+ if (this.menuSelected[4] == false)
+ {
+ SelectMeasure();
+ }
+ }
+
+ private void panMeasure_MouseHover(object sender, EventArgs e)
+ {
+ if (this.menuSelected[4] == false)
+ {
+ HoverMeasure();
+ }
+ }
+
+ private void panMeasure_MouseLeave(object sender, EventArgs e)
+ {
+ if (this.menuSelected[4] == false)
+ {
+ LeaveMeasure();
+ }
+ }
+
+ private void panData_Click(object sender, EventArgs e)
+ {
+ if (this.menuSelected[5] == false)
+ {
+ SelectData();
+ }
+ }
+
+ private void panData_MouseHover(object sender, EventArgs e)
+ {
+ if (this.menuSelected[5] == false)
+ {
+ HoverData();
+ }
+ }
+
+ private void panData_MouseLeave(object sender, EventArgs e)
+ {
+ if (this.menuSelected[5] == false)
+ {
+ LeaveData();
+ }
+ }
+
+ private void panSetting_Click(object sender, EventArgs e)
+ {
+ if (this.menuSelected[6] == false)
+ {
+ SelectSetting();
+ }
+ }
+
+ private void panSetting_MouseHover(object sender, EventArgs e)
+ {
+ if (this.menuSelected[6] == false)
+ {
+ HoverSetting();
+ }
+ }
+
+ private void panSetting_MouseLeave(object sender, EventArgs e)
+ {
+ if (this.menuSelected[6] == false)
+ {
+ LeaveSetting();
+ }
+ }
+
+ private void switchMainPanel(int index)
+ {
+ this.panelMain.Controls.Clear();
+
+ switch (index)
+ {
+ case 0: // 首页
+ HomeCtrlForm home = new HomeCtrlForm();
+ home.Show();
+ this.panelMain.Controls.Add(home);
+ break;
+
+ case 1: // 基准状态
+ StatusCtrlForm statusForm = new StatusCtrlForm();
+ statusForm.Show();
+ this.panelMain.Controls.Add(statusForm);
+ break;
+
+ case 2: // 待检设备
+ InfoCtrlForm infoForm = new InfoCtrlForm();
+ infoForm.Show();
+ this.panelMain.Controls.Add(infoForm);
+ break;
+
+ case 3: // 频率计数器范围
+ break;
+
+ case 4: // 计量信息
+ DevTestedCtrlForm tested = new DevTestedCtrlForm();
+ tested.Show();
+ this.panelMain.Controls.Add(tested);
+ break;
+
+ case 6: // 设置
+ SettingCtrlForm settingForm = new SettingCtrlForm();
+ settingForm.Show();
+ this.panelMain.Controls.Add(settingForm);
+ break;
+
+ default:
+ break;
+ }
+ }
}
}
\ No newline at end of file
diff --git a/RbFreqStandMeasure/StatusCtrlForm.Designer.cs b/RbFreqStandMeasure/StatusCtrlForm.Designer.cs
index bf5071a..b4151fd 100644
--- a/RbFreqStandMeasure/StatusCtrlForm.Designer.cs
+++ b/RbFreqStandMeasure/StatusCtrlForm.Designer.cs
@@ -31,21 +31,34 @@
{
this.panelSite = new System.Windows.Forms.Panel();
this.label5 = new System.Windows.Forms.Label();
- this.panelStatus = new System.Windows.Forms.Panel();
+ this.panel3 = new System.Windows.Forms.Panel();
+ this.label8 = new System.Windows.Forms.Label();
+ this.label13 = new System.Windows.Forms.Label();
+ this.label12 = new System.Windows.Forms.Label();
+ this.label11 = new System.Windows.Forms.Label();
+ this.label9 = new System.Windows.Forms.Label();
+ this.label10 = new System.Windows.Forms.Label();
+ this.panel2 = new System.Windows.Forms.Panel();
this.label4 = new System.Windows.Forms.Label();
+ this.label7 = new System.Windows.Forms.Label();
+ this.label6 = new System.Windows.Forms.Label();
+ this.label1 = new System.Windows.Forms.Label();
+ this.panel1 = new System.Windows.Forms.Panel();
this.label3 = new System.Windows.Forms.Label();
this.label2 = new System.Windows.Forms.Label();
- this.label1 = new System.Windows.Forms.Label();
+ this.label14 = new System.Windows.Forms.Label();
this.panelSite.SuspendLayout();
- this.panelStatus.SuspendLayout();
+ this.panel3.SuspendLayout();
+ this.panel2.SuspendLayout();
+ this.panel1.SuspendLayout();
this.SuspendLayout();
//
// panelSite
//
this.panelSite.Controls.Add(this.label5);
- this.panelSite.Location = new System.Drawing.Point(200, 0);
+ this.panelSite.Location = new System.Drawing.Point(232, 0);
this.panelSite.Name = "panelSite";
- this.panelSite.Size = new System.Drawing.Size(800, 640);
+ this.panelSite.Size = new System.Drawing.Size(773, 640);
this.panelSite.TabIndex = 3;
//
// label5
@@ -57,67 +70,208 @@
this.label5.TabIndex = 0;
this.label5.Text = "卫星位置图";
//
- // panelStatus
+ // panel3
//
- this.panelStatus.BackColor = System.Drawing.SystemColors.Window;
- this.panelStatus.Controls.Add(this.label4);
- this.panelStatus.Controls.Add(this.label3);
- this.panelStatus.Controls.Add(this.label2);
- this.panelStatus.Controls.Add(this.label1);
- this.panelStatus.Location = new System.Drawing.Point(0, 0);
- this.panelStatus.Name = "panelStatus";
- this.panelStatus.Size = new System.Drawing.Size(200, 640);
- this.panelStatus.TabIndex = 2;
+ this.panel3.BackgroundImage = global::Casic.Birmm.RbFreqStandMeasure.Properties.Resources.bg_status_location;
+ this.panel3.Controls.Add(this.label8);
+ this.panel3.Controls.Add(this.label13);
+ this.panel3.Controls.Add(this.label12);
+ this.panel3.Controls.Add(this.label11);
+ this.panel3.Controls.Add(this.label9);
+ this.panel3.Controls.Add(this.label10);
+ this.panel3.Location = new System.Drawing.Point(6, 360);
+ this.panel3.Name = "panel3";
+ this.panel3.Size = new System.Drawing.Size(224, 293);
+ this.panel3.TabIndex = 6;
+ //
+ // label8
+ //
+ this.label8.BackColor = System.Drawing.Color.Transparent;
+ this.label8.Font = new System.Drawing.Font("微软雅黑", 14F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Pixel, ((byte)(134)));
+ this.label8.Location = new System.Drawing.Point(0, 20);
+ this.label8.Name = "label8";
+ this.label8.Size = new System.Drawing.Size(224, 25);
+ this.label8.TabIndex = 0;
+ this.label8.Text = "位置信息";
+ this.label8.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
+ //
+ // label13
+ //
+ this.label13.BackColor = System.Drawing.Color.Transparent;
+ this.label13.Font = new System.Drawing.Font("微软雅黑", 14F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Pixel, ((byte)(134)));
+ this.label13.Location = new System.Drawing.Point(0, 220);
+ this.label13.Margin = new System.Windows.Forms.Padding(0);
+ this.label13.Name = "label13";
+ this.label13.Size = new System.Drawing.Size(75, 25);
+ this.label13.TabIndex = 1;
+ this.label13.Text = "Z";
+ this.label13.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
+ //
+ // label12
+ //
+ this.label12.BackColor = System.Drawing.Color.Transparent;
+ this.label12.Font = new System.Drawing.Font("微软雅黑", 14F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Pixel, ((byte)(134)));
+ this.label12.Location = new System.Drawing.Point(0, 180);
+ this.label12.Margin = new System.Windows.Forms.Padding(0);
+ this.label12.Name = "label12";
+ this.label12.Size = new System.Drawing.Size(75, 25);
+ this.label12.TabIndex = 1;
+ this.label12.Text = "Y";
+ this.label12.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
+ //
+ // label11
+ //
+ this.label11.BackColor = System.Drawing.Color.Transparent;
+ this.label11.Font = new System.Drawing.Font("微软雅黑", 14F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Pixel, ((byte)(134)));
+ this.label11.Location = new System.Drawing.Point(0, 140);
+ this.label11.Margin = new System.Windows.Forms.Padding(0);
+ this.label11.Name = "label11";
+ this.label11.Size = new System.Drawing.Size(75, 25);
+ this.label11.TabIndex = 1;
+ this.label11.Text = "X";
+ this.label11.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
+ //
+ // label9
+ //
+ this.label9.BackColor = System.Drawing.Color.Transparent;
+ this.label9.Font = new System.Drawing.Font("微软雅黑", 14F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Pixel, ((byte)(134)));
+ this.label9.Location = new System.Drawing.Point(0, 60);
+ this.label9.Name = "label9";
+ this.label9.Size = new System.Drawing.Size(75, 25);
+ this.label9.TabIndex = 1;
+ this.label9.Text = "经度";
+ this.label9.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
+ //
+ // label10
+ //
+ this.label10.BackColor = System.Drawing.Color.Transparent;
+ this.label10.Font = new System.Drawing.Font("微软雅黑", 14F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Pixel, ((byte)(134)));
+ this.label10.Location = new System.Drawing.Point(0, 100);
+ this.label10.Margin = new System.Windows.Forms.Padding(0);
+ this.label10.Name = "label10";
+ this.label10.Size = new System.Drawing.Size(75, 25);
+ this.label10.TabIndex = 1;
+ this.label10.Text = "纬度";
+ this.label10.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
+ //
+ // panel2
+ //
+ this.panel2.BackgroundImage = global::Casic.Birmm.RbFreqStandMeasure.Properties.Resources.bg_status_time;
+ this.panel2.Controls.Add(this.label4);
+ this.panel2.Controls.Add(this.label7);
+ this.panel2.Controls.Add(this.label6);
+ this.panel2.Controls.Add(this.label1);
+ this.panel2.Location = new System.Drawing.Point(6, 160);
+ this.panel2.Name = "panel2";
+ this.panel2.Size = new System.Drawing.Size(224, 200);
+ this.panel2.TabIndex = 5;
//
// label4
//
- this.label4.AutoSize = true;
- this.label4.Location = new System.Drawing.Point(59, 185);
+ this.label4.BackColor = System.Drawing.Color.Transparent;
+ this.label4.Font = new System.Drawing.Font("微软雅黑", 14F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Pixel, ((byte)(134)));
+ this.label4.Location = new System.Drawing.Point(0, 20);
this.label4.Name = "label4";
- this.label4.Size = new System.Drawing.Size(53, 12);
+ this.label4.Size = new System.Drawing.Size(224, 25);
this.label4.TabIndex = 0;
- this.label4.Text = "事件信息";
+ this.label4.Text = "时间信息";
+ this.label4.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
//
- // label3
+ // label7
//
- this.label3.AutoSize = true;
- this.label3.Location = new System.Drawing.Point(59, 139);
- this.label3.Name = "label3";
- this.label3.Size = new System.Drawing.Size(53, 12);
- this.label3.TabIndex = 0;
- this.label3.Text = "位置信息";
+ this.label7.BackColor = System.Drawing.Color.Transparent;
+ this.label7.Font = new System.Drawing.Font("微软雅黑", 14F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Pixel, ((byte)(134)));
+ this.label7.Location = new System.Drawing.Point(0, 140);
+ this.label7.Margin = new System.Windows.Forms.Padding(0);
+ this.label7.Name = "label7";
+ this.label7.Size = new System.Drawing.Size(75, 25);
+ this.label7.TabIndex = 1;
+ this.label7.Text = "MJD";
+ this.label7.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
//
- // label2
+ // label6
//
- this.label2.AutoSize = true;
- this.label2.Location = new System.Drawing.Point(59, 98);
- this.label2.Name = "label2";
- this.label2.Size = new System.Drawing.Size(53, 12);
- this.label2.TabIndex = 0;
- this.label2.Text = "锁定状态";
+ this.label6.BackColor = System.Drawing.Color.Transparent;
+ this.label6.Font = new System.Drawing.Font("微软雅黑", 14F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Pixel, ((byte)(134)));
+ this.label6.Location = new System.Drawing.Point(0, 100);
+ this.label6.Name = "label6";
+ this.label6.Size = new System.Drawing.Size(75, 25);
+ this.label6.TabIndex = 1;
+ this.label6.Text = "时间";
+ this.label6.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
//
// label1
//
- this.label1.AutoSize = true;
- this.label1.Location = new System.Drawing.Point(33, 53);
+ this.label1.BackColor = System.Drawing.Color.Transparent;
+ this.label1.Font = new System.Drawing.Font("微软雅黑", 14F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Pixel, ((byte)(134)));
+ this.label1.Location = new System.Drawing.Point(0, 60);
this.label1.Name = "label1";
- this.label1.Size = new System.Drawing.Size(29, 12);
- this.label1.TabIndex = 0;
- this.label1.Text = "状态";
+ this.label1.Size = new System.Drawing.Size(75, 25);
+ this.label1.TabIndex = 1;
+ this.label1.Text = "日期";
+ this.label1.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
+ //
+ // panel1
+ //
+ this.panel1.BackgroundImage = global::Casic.Birmm.RbFreqStandMeasure.Properties.Resources.bg_status_base;
+ this.panel1.Controls.Add(this.label3);
+ this.panel1.Controls.Add(this.label2);
+ this.panel1.Controls.Add(this.label14);
+ this.panel1.Location = new System.Drawing.Point(6, 0);
+ this.panel1.Margin = new System.Windows.Forms.Padding(0);
+ this.panel1.Name = "panel1";
+ this.panel1.Size = new System.Drawing.Size(224, 160);
+ this.panel1.TabIndex = 4;
+ //
+ // label3
+ //
+ this.label3.BackColor = System.Drawing.Color.Transparent;
+ this.label3.Font = new System.Drawing.Font("微软雅黑", 14F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Pixel, ((byte)(134)));
+ this.label3.Location = new System.Drawing.Point(0, 100);
+ this.label3.Name = "label3";
+ this.label3.Size = new System.Drawing.Size(75, 25);
+ this.label3.TabIndex = 1;
+ this.label3.Text = "接收机";
+ this.label3.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
+ //
+ // label2
+ //
+ this.label2.BackColor = System.Drawing.Color.Transparent;
+ this.label2.Font = new System.Drawing.Font("微软雅黑", 14F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Pixel, ((byte)(134)));
+ this.label2.Location = new System.Drawing.Point(0, 60);
+ this.label2.Name = "label2";
+ this.label2.Size = new System.Drawing.Size(75, 25);
+ this.label2.TabIndex = 1;
+ this.label2.Text = "原子钟";
+ this.label2.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
+ //
+ // label14
+ //
+ this.label14.BackColor = System.Drawing.Color.Transparent;
+ this.label14.Font = new System.Drawing.Font("微软雅黑", 14F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Pixel, ((byte)(134)));
+ this.label14.Location = new System.Drawing.Point(0, 20);
+ this.label14.Name = "label14";
+ this.label14.Size = new System.Drawing.Size(224, 25);
+ this.label14.TabIndex = 0;
+ this.label14.Text = "基本信息";
+ this.label14.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
//
// StatusCtrlForm
//
this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 12F);
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
+ this.Controls.Add(this.panel3);
+ this.Controls.Add(this.panel2);
+ this.Controls.Add(this.panel1);
this.Controls.Add(this.panelSite);
- this.Controls.Add(this.panelStatus);
this.Margin = new System.Windows.Forms.Padding(10);
this.Name = "StatusCtrlForm";
- this.Size = new System.Drawing.Size(1000, 640);
+ this.Size = new System.Drawing.Size(1024, 654);
this.panelSite.ResumeLayout(false);
this.panelSite.PerformLayout();
- this.panelStatus.ResumeLayout(false);
- this.panelStatus.PerformLayout();
+ this.panel3.ResumeLayout(false);
+ this.panel2.ResumeLayout(false);
+ this.panel1.ResumeLayout(false);
this.ResumeLayout(false);
}
@@ -126,10 +280,21 @@
private System.Windows.Forms.Panel panelSite;
private System.Windows.Forms.Label label5;
- private System.Windows.Forms.Panel panelStatus;
+ private System.Windows.Forms.Panel panel3;
+ private System.Windows.Forms.Label label8;
+ private System.Windows.Forms.Label label13;
+ private System.Windows.Forms.Label label12;
+ private System.Windows.Forms.Label label11;
+ private System.Windows.Forms.Label label9;
+ private System.Windows.Forms.Label label10;
+ private System.Windows.Forms.Panel panel2;
private System.Windows.Forms.Label label4;
+ private System.Windows.Forms.Label label7;
+ private System.Windows.Forms.Label label6;
+ private System.Windows.Forms.Label label1;
+ private System.Windows.Forms.Panel panel1;
private System.Windows.Forms.Label label3;
private System.Windows.Forms.Label label2;
- private System.Windows.Forms.Label label1;
+ private System.Windows.Forms.Label label14;
}
}
diff --git a/RbFreqStandMeasure/res/images/bg_banner.png b/RbFreqStandMeasure/res/images/bg_banner.png
index d795b7d..3119070 100644
--- a/RbFreqStandMeasure/res/images/bg_banner.png
+++ b/RbFreqStandMeasure/res/images/bg_banner.png
Binary files differ
diff --git a/RbFreqStandMeasure/res/images/bg_dev_channel.png b/RbFreqStandMeasure/res/images/bg_dev_channel.png
new file mode 100644
index 0000000..7bac7ce
--- /dev/null
+++ b/RbFreqStandMeasure/res/images/bg_dev_channel.png
Binary files differ
diff --git a/RbFreqStandMeasure/res/images/bg_dev_tested.png b/RbFreqStandMeasure/res/images/bg_dev_tested.png
new file mode 100644
index 0000000..0b43ead
--- /dev/null
+++ b/RbFreqStandMeasure/res/images/bg_dev_tested.png
Binary files differ
diff --git a/RbFreqStandMeasure/res/images/bg_status_base.png b/RbFreqStandMeasure/res/images/bg_status_base.png
new file mode 100644
index 0000000..ef11397
--- /dev/null
+++ b/RbFreqStandMeasure/res/images/bg_status_base.png
Binary files differ
diff --git a/RbFreqStandMeasure/res/images/bg_status_location.png b/RbFreqStandMeasure/res/images/bg_status_location.png
new file mode 100644
index 0000000..64d28d5
--- /dev/null
+++ b/RbFreqStandMeasure/res/images/bg_status_location.png
Binary files differ
diff --git a/RbFreqStandMeasure/res/images/bg_status_time.png b/RbFreqStandMeasure/res/images/bg_status_time.png
new file mode 100644
index 0000000..eec981a
--- /dev/null
+++ b/RbFreqStandMeasure/res/images/bg_status_time.png
Binary files differ
diff --git a/RbFreqStandMeasure/HomeCtrlForm.Designer.cs b/RbFreqStandMeasure/HomeCtrlForm.Designer.cs
index fb515f8..73e477a 100644
--- a/RbFreqStandMeasure/HomeCtrlForm.Designer.cs
+++ b/RbFreqStandMeasure/HomeCtrlForm.Designer.cs
@@ -29,589 +29,271 @@
///
private void InitializeComponent()
{
- System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle1 = new System.Windows.Forms.DataGridViewCellStyle();
- System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle2 = new System.Windows.Forms.DataGridViewCellStyle();
- this.panelToBeTested = new System.Windows.Forms.Panel();
- this.dataGridViewX1 = new DevComponents.DotNetBar.Controls.DataGridViewX();
- this.Column13 = new System.Windows.Forms.DataGridViewTextBoxColumn();
- this.Column14 = new System.Windows.Forms.DataGridViewTextBoxColumn();
- this.Column15 = new System.Windows.Forms.DataGridViewTextBoxColumn();
- this.Column16 = new System.Windows.Forms.DataGridViewTextBoxColumn();
- this.Column17 = new System.Windows.Forms.DataGridViewTextBoxColumn();
- this.panelEx1 = new DevComponents.DotNetBar.PanelEx();
- this.labelX6 = new DevComponents.DotNetBar.LabelX();
- this.labelX5 = new DevComponents.DotNetBar.LabelX();
- this.labelX4 = new DevComponents.DotNetBar.LabelX();
- this.labelX3 = new DevComponents.DotNetBar.LabelX();
- this.labelX2 = new DevComponents.DotNetBar.LabelX();
- this.labelX1 = new DevComponents.DotNetBar.LabelX();
- this.panelEx2 = new DevComponents.DotNetBar.PanelEx();
- this.labelX7 = new DevComponents.DotNetBar.LabelX();
- this.labelX8 = new DevComponents.DotNetBar.LabelX();
- this.labelX10 = new DevComponents.DotNetBar.LabelX();
- this.labelX9 = new DevComponents.DotNetBar.LabelX();
- this.panelEx3 = new DevComponents.DotNetBar.PanelEx();
- this.labelX11 = new DevComponents.DotNetBar.LabelX();
- this.labelX13 = new DevComponents.DotNetBar.LabelX();
- this.labelX12 = new DevComponents.DotNetBar.LabelX();
- this.panelEx4 = new DevComponents.DotNetBar.PanelEx();
- this.dataGridViewX2 = new DevComponents.DotNetBar.Controls.DataGridViewX();
- this.Column18 = new System.Windows.Forms.DataGridViewTextBoxColumn();
- this.Column19 = new System.Windows.Forms.DataGridViewTextBoxColumn();
- this.Column20 = new System.Windows.Forms.DataGridViewTextBoxColumn();
- this.Column21 = new System.Windows.Forms.DataGridViewTextBoxColumn();
- this.Column22 = new System.Windows.Forms.DataGridViewTextBoxColumn();
- this.Column23 = new System.Windows.Forms.DataGridViewTextBoxColumn();
- this.Column24 = new System.Windows.Forms.DataGridViewTextBoxColumn();
- this.Column25 = new System.Windows.Forms.DataGridViewTextBoxColumn();
- this.Column26 = new System.Windows.Forms.DataGridViewTextBoxColumn();
- this.Column27 = new System.Windows.Forms.DataGridViewTextBoxColumn();
- this.Column28 = new System.Windows.Forms.DataGridViewTextBoxColumn();
- this.Column29 = new System.Windows.Forms.DataGridViewTextBoxColumn();
- this.buttonX1 = new DevComponents.DotNetBar.ButtonX();
- this.buttonX2 = new DevComponents.DotNetBar.ButtonX();
+ this.panel3 = new System.Windows.Forms.Panel();
+ this.panel2 = new System.Windows.Forms.Panel();
+ this.panel1 = new System.Windows.Forms.Panel();
+ this.panel4 = new System.Windows.Forms.Panel();
+ this.panel5 = new System.Windows.Forms.Panel();
this.label1 = new System.Windows.Forms.Label();
this.label2 = new System.Windows.Forms.Label();
- this.panelToBeTested.SuspendLayout();
- ((System.ComponentModel.ISupportInitialize)(this.dataGridViewX1)).BeginInit();
- this.panelEx1.SuspendLayout();
- this.panelEx2.SuspendLayout();
- this.panelEx3.SuspendLayout();
- this.panelEx4.SuspendLayout();
- ((System.ComponentModel.ISupportInitialize)(this.dataGridViewX2)).BeginInit();
+ this.label3 = new System.Windows.Forms.Label();
+ this.label4 = new System.Windows.Forms.Label();
+ this.label5 = new System.Windows.Forms.Label();
+ this.label6 = new System.Windows.Forms.Label();
+ this.label7 = new System.Windows.Forms.Label();
+ this.label8 = new System.Windows.Forms.Label();
+ this.label9 = new System.Windows.Forms.Label();
+ this.label10 = new System.Windows.Forms.Label();
+ this.label11 = new System.Windows.Forms.Label();
+ this.label12 = new System.Windows.Forms.Label();
+ this.label13 = new System.Windows.Forms.Label();
+ this.panel3.SuspendLayout();
+ this.panel2.SuspendLayout();
+ this.panel1.SuspendLayout();
this.SuspendLayout();
//
- // panelToBeTested
+ // panel3
//
- this.panelToBeTested.Controls.Add(this.dataGridViewX1);
- this.panelToBeTested.Controls.Add(this.buttonX2);
- this.panelToBeTested.Controls.Add(this.buttonX1);
- this.panelToBeTested.Location = new System.Drawing.Point(250, 0);
- this.panelToBeTested.Name = "panelToBeTested";
- this.panelToBeTested.Size = new System.Drawing.Size(750, 216);
- this.panelToBeTested.TabIndex = 4;
+ this.panel3.BackgroundImage = global::Casic.Birmm.RbFreqStandMeasure.Properties.Resources.bg_status_location;
+ this.panel3.Controls.Add(this.label8);
+ this.panel3.Controls.Add(this.label13);
+ this.panel3.Controls.Add(this.label12);
+ this.panel3.Controls.Add(this.label11);
+ this.panel3.Controls.Add(this.label9);
+ this.panel3.Controls.Add(this.label10);
+ this.panel3.Location = new System.Drawing.Point(6, 360);
+ this.panel3.Name = "panel3";
+ this.panel3.Size = new System.Drawing.Size(224, 293);
+ this.panel3.TabIndex = 2;
//
- // dataGridViewX1
+ // panel2
//
- this.dataGridViewX1.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.AutoSize;
- this.dataGridViewX1.Columns.AddRange(new System.Windows.Forms.DataGridViewColumn[] {
- this.Column13,
- this.Column14,
- this.Column15,
- this.Column16,
- this.Column17});
- dataGridViewCellStyle1.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleLeft;
- dataGridViewCellStyle1.BackColor = System.Drawing.SystemColors.Window;
- dataGridViewCellStyle1.Font = new System.Drawing.Font("宋体", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
- dataGridViewCellStyle1.ForeColor = System.Drawing.SystemColors.ControlText;
- dataGridViewCellStyle1.SelectionBackColor = System.Drawing.SystemColors.Highlight;
- dataGridViewCellStyle1.SelectionForeColor = System.Drawing.SystemColors.ControlText;
- dataGridViewCellStyle1.WrapMode = System.Windows.Forms.DataGridViewTriState.False;
- this.dataGridViewX1.DefaultCellStyle = dataGridViewCellStyle1;
- this.dataGridViewX1.GridColor = System.Drawing.Color.FromArgb(((int)(((byte)(208)))), ((int)(((byte)(215)))), ((int)(((byte)(229)))));
- this.dataGridViewX1.Location = new System.Drawing.Point(0, 1);
- this.dataGridViewX1.Name = "dataGridViewX1";
- this.dataGridViewX1.RowTemplate.Height = 23;
- this.dataGridViewX1.Size = new System.Drawing.Size(750, 179);
- this.dataGridViewX1.TabIndex = 14;
+ this.panel2.BackgroundImage = global::Casic.Birmm.RbFreqStandMeasure.Properties.Resources.bg_status_time;
+ this.panel2.Controls.Add(this.label4);
+ this.panel2.Controls.Add(this.label7);
+ this.panel2.Controls.Add(this.label6);
+ this.panel2.Controls.Add(this.label5);
+ this.panel2.Location = new System.Drawing.Point(6, 160);
+ this.panel2.Name = "panel2";
+ this.panel2.Size = new System.Drawing.Size(224, 200);
+ this.panel2.TabIndex = 1;
//
- // Column13
+ // panel1
//
- this.Column13.HeaderText = "仪器名称";
- this.Column13.Name = "Column13";
+ this.panel1.BackgroundImage = global::Casic.Birmm.RbFreqStandMeasure.Properties.Resources.bg_status_base;
+ this.panel1.Controls.Add(this.label3);
+ this.panel1.Controls.Add(this.label2);
+ this.panel1.Controls.Add(this.label1);
+ this.panel1.Location = new System.Drawing.Point(6, 0);
+ this.panel1.Margin = new System.Windows.Forms.Padding(0);
+ this.panel1.Name = "panel1";
+ this.panel1.Size = new System.Drawing.Size(224, 160);
+ this.panel1.TabIndex = 0;
//
- // Column14
+ // panel4
//
- this.Column14.HeaderText = "仪器类型";
- this.Column14.Name = "Column14";
+ this.panel4.BackgroundImage = global::Casic.Birmm.RbFreqStandMeasure.Properties.Resources.bg_dev_tested;
+ this.panel4.Location = new System.Drawing.Point(230, 0);
+ this.panel4.Margin = new System.Windows.Forms.Padding(0);
+ this.panel4.Name = "panel4";
+ this.panel4.Size = new System.Drawing.Size(788, 226);
+ this.panel4.TabIndex = 3;
//
- // Column15
+ // panel5
//
- this.Column15.HeaderText = "仪器编号";
- this.Column15.Name = "Column15";
- //
- // Column16
- //
- this.Column16.HeaderText = "客户名称";
- this.Column16.Name = "Column16";
- //
- // Column17
- //
- this.Column17.HeaderText = "开始时间";
- this.Column17.Name = "Column17";
- //
- // panelEx1
- //
- this.panelEx1.CanvasColor = System.Drawing.SystemColors.Control;
- this.panelEx1.ColorSchemeStyle = DevComponents.DotNetBar.eDotNetBarStyle.StyleManagerControlled;
- this.panelEx1.Controls.Add(this.labelX6);
- this.panelEx1.Controls.Add(this.labelX5);
- this.panelEx1.Controls.Add(this.labelX4);
- this.panelEx1.Controls.Add(this.labelX3);
- this.panelEx1.Controls.Add(this.labelX2);
- this.panelEx1.Controls.Add(this.labelX1);
- this.panelEx1.DisabledBackColor = System.Drawing.Color.Empty;
- this.panelEx1.Location = new System.Drawing.Point(25, 376);
- this.panelEx1.Name = "panelEx1";
- this.panelEx1.Size = new System.Drawing.Size(200, 200);
- this.panelEx1.Style.Alignment = System.Drawing.StringAlignment.Center;
- this.panelEx1.Style.BackColor1.ColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelBackground;
- this.panelEx1.Style.BackColor2.ColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelBackground2;
- this.panelEx1.Style.Border = DevComponents.DotNetBar.eBorderType.SingleLine;
- this.panelEx1.Style.BorderColor.ColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelBorder;
- this.panelEx1.Style.ForeColor.ColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelText;
- this.panelEx1.Style.GradientAngle = 90;
- this.panelEx1.TabIndex = 10;
- //
- // labelX6
- //
- //
- //
- //
- this.labelX6.BackgroundStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square;
- this.labelX6.Location = new System.Drawing.Point(3, 153);
- this.labelX6.Name = "labelX6";
- this.labelX6.Size = new System.Drawing.Size(75, 23);
- this.labelX6.Style = DevComponents.DotNetBar.eDotNetBarStyle.Office2013;
- this.labelX6.TabIndex = 0;
- this.labelX6.Text = "Z";
- this.labelX6.TextAlignment = System.Drawing.StringAlignment.Center;
- //
- // labelX5
- //
- //
- //
- //
- this.labelX5.BackgroundStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square;
- this.labelX5.Location = new System.Drawing.Point(3, 124);
- this.labelX5.Name = "labelX5";
- this.labelX5.Size = new System.Drawing.Size(75, 23);
- this.labelX5.Style = DevComponents.DotNetBar.eDotNetBarStyle.Office2013;
- this.labelX5.TabIndex = 0;
- this.labelX5.Text = "Y";
- this.labelX5.TextAlignment = System.Drawing.StringAlignment.Center;
- //
- // labelX4
- //
- //
- //
- //
- this.labelX4.BackgroundStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square;
- this.labelX4.Location = new System.Drawing.Point(3, 95);
- this.labelX4.Name = "labelX4";
- this.labelX4.Size = new System.Drawing.Size(75, 23);
- this.labelX4.Style = DevComponents.DotNetBar.eDotNetBarStyle.Office2013;
- this.labelX4.TabIndex = 0;
- this.labelX4.Text = "X";
- this.labelX4.TextAlignment = System.Drawing.StringAlignment.Center;
- //
- // labelX3
- //
- //
- //
- //
- this.labelX3.BackgroundStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square;
- this.labelX3.Location = new System.Drawing.Point(3, 66);
- this.labelX3.Name = "labelX3";
- this.labelX3.Size = new System.Drawing.Size(75, 23);
- this.labelX3.Style = DevComponents.DotNetBar.eDotNetBarStyle.Office2013;
- this.labelX3.TabIndex = 0;
- this.labelX3.Text = "纬度";
- this.labelX3.TextAlignment = System.Drawing.StringAlignment.Center;
- //
- // labelX2
- //
- //
- //
- //
- this.labelX2.BackgroundStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square;
- this.labelX2.Location = new System.Drawing.Point(3, 37);
- this.labelX2.Name = "labelX2";
- this.labelX2.Size = new System.Drawing.Size(75, 23);
- this.labelX2.Style = DevComponents.DotNetBar.eDotNetBarStyle.Office2013;
- this.labelX2.TabIndex = 0;
- this.labelX2.Text = "经度";
- this.labelX2.TextAlignment = System.Drawing.StringAlignment.Center;
- //
- // labelX1
- //
- //
- //
- //
- this.labelX1.BackgroundStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square;
- this.labelX1.Location = new System.Drawing.Point(3, 3);
- this.labelX1.Name = "labelX1";
- this.labelX1.Size = new System.Drawing.Size(194, 23);
- this.labelX1.Style = DevComponents.DotNetBar.eDotNetBarStyle.Office2013;
- this.labelX1.TabIndex = 0;
- this.labelX1.Text = "位置信息";
- this.labelX1.TextAlignment = System.Drawing.StringAlignment.Center;
- //
- // panelEx2
- //
- this.panelEx2.CanvasColor = System.Drawing.SystemColors.Control;
- this.panelEx2.ColorSchemeStyle = DevComponents.DotNetBar.eDotNetBarStyle.StyleManagerControlled;
- this.panelEx2.Controls.Add(this.labelX7);
- this.panelEx2.Controls.Add(this.labelX8);
- this.panelEx2.Controls.Add(this.labelX10);
- this.panelEx2.Controls.Add(this.labelX9);
- this.panelEx2.DisabledBackColor = System.Drawing.Color.Empty;
- this.panelEx2.Location = new System.Drawing.Point(25, 190);
- this.panelEx2.Name = "panelEx2";
- this.panelEx2.Size = new System.Drawing.Size(200, 150);
- this.panelEx2.Style.Alignment = System.Drawing.StringAlignment.Center;
- this.panelEx2.Style.BackColor1.ColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelBackground;
- this.panelEx2.Style.BackColor2.ColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelBackground2;
- this.panelEx2.Style.Border = DevComponents.DotNetBar.eBorderType.SingleLine;
- this.panelEx2.Style.BorderColor.ColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelBorder;
- this.panelEx2.Style.ForeColor.ColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelText;
- this.panelEx2.Style.GradientAngle = 90;
- this.panelEx2.TabIndex = 10;
- //
- // labelX7
- //
- //
- //
- //
- this.labelX7.BackgroundStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square;
- this.labelX7.Location = new System.Drawing.Point(3, 3);
- this.labelX7.Name = "labelX7";
- this.labelX7.Size = new System.Drawing.Size(194, 23);
- this.labelX7.Style = DevComponents.DotNetBar.eDotNetBarStyle.Office2013;
- this.labelX7.TabIndex = 0;
- this.labelX7.Text = "时间信息";
- this.labelX7.TextAlignment = System.Drawing.StringAlignment.Center;
- //
- // labelX8
- //
- //
- //
- //
- this.labelX8.BackgroundStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square;
- this.labelX8.Location = new System.Drawing.Point(3, 41);
- this.labelX8.Name = "labelX8";
- this.labelX8.Size = new System.Drawing.Size(75, 23);
- this.labelX8.Style = DevComponents.DotNetBar.eDotNetBarStyle.Office2013;
- this.labelX8.TabIndex = 0;
- this.labelX8.Text = "日期";
- this.labelX8.TextAlignment = System.Drawing.StringAlignment.Center;
- //
- // labelX10
- //
- //
- //
- //
- this.labelX10.BackgroundStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square;
- this.labelX10.Location = new System.Drawing.Point(3, 99);
- this.labelX10.Name = "labelX10";
- this.labelX10.Size = new System.Drawing.Size(75, 23);
- this.labelX10.Style = DevComponents.DotNetBar.eDotNetBarStyle.Office2013;
- this.labelX10.TabIndex = 0;
- this.labelX10.Text = "MJD";
- this.labelX10.TextAlignment = System.Drawing.StringAlignment.Center;
- //
- // labelX9
- //
- //
- //
- //
- this.labelX9.BackgroundStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square;
- this.labelX9.Location = new System.Drawing.Point(3, 70);
- this.labelX9.Name = "labelX9";
- this.labelX9.Size = new System.Drawing.Size(75, 23);
- this.labelX9.Style = DevComponents.DotNetBar.eDotNetBarStyle.Office2013;
- this.labelX9.TabIndex = 0;
- this.labelX9.Text = "时间";
- this.labelX9.TextAlignment = System.Drawing.StringAlignment.Center;
- //
- // panelEx3
- //
- this.panelEx3.CanvasColor = System.Drawing.SystemColors.Control;
- this.panelEx3.ColorSchemeStyle = DevComponents.DotNetBar.eDotNetBarStyle.StyleManagerControlled;
- this.panelEx3.Controls.Add(this.labelX11);
- this.panelEx3.Controls.Add(this.labelX13);
- this.panelEx3.Controls.Add(this.labelX12);
- this.panelEx3.DisabledBackColor = System.Drawing.Color.Empty;
- this.panelEx3.Location = new System.Drawing.Point(25, 50);
- this.panelEx3.Name = "panelEx3";
- this.panelEx3.Size = new System.Drawing.Size(200, 100);
- this.panelEx3.Style.Alignment = System.Drawing.StringAlignment.Center;
- this.panelEx3.Style.BackColor1.ColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelBackground;
- this.panelEx3.Style.BackColor2.ColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelBackground2;
- this.panelEx3.Style.Border = DevComponents.DotNetBar.eBorderType.SingleLine;
- this.panelEx3.Style.BorderColor.ColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelBorder;
- this.panelEx3.Style.ForeColor.ColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelText;
- this.panelEx3.Style.GradientAngle = 90;
- this.panelEx3.TabIndex = 10;
- //
- // labelX11
- //
- //
- //
- //
- this.labelX11.BackgroundStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square;
- this.labelX11.Location = new System.Drawing.Point(3, 3);
- this.labelX11.Name = "labelX11";
- this.labelX11.Size = new System.Drawing.Size(194, 23);
- this.labelX11.Style = DevComponents.DotNetBar.eDotNetBarStyle.Office2013;
- this.labelX11.TabIndex = 0;
- this.labelX11.Text = "基本信息";
- this.labelX11.TextAlignment = System.Drawing.StringAlignment.Center;
- //
- // labelX13
- //
- //
- //
- //
- this.labelX13.BackgroundStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square;
- this.labelX13.Location = new System.Drawing.Point(3, 32);
- this.labelX13.Name = "labelX13";
- this.labelX13.Size = new System.Drawing.Size(75, 23);
- this.labelX13.Style = DevComponents.DotNetBar.eDotNetBarStyle.Office2013;
- this.labelX13.TabIndex = 0;
- this.labelX13.Text = "原子钟";
- this.labelX13.TextAlignment = System.Drawing.StringAlignment.Center;
- //
- // labelX12
- //
- //
- //
- //
- this.labelX12.BackgroundStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square;
- this.labelX12.Location = new System.Drawing.Point(3, 61);
- this.labelX12.Name = "labelX12";
- this.labelX12.Size = new System.Drawing.Size(75, 23);
- this.labelX12.Style = DevComponents.DotNetBar.eDotNetBarStyle.Office2013;
- this.labelX12.TabIndex = 0;
- this.labelX12.Text = "接收机";
- this.labelX12.TextAlignment = System.Drawing.StringAlignment.Center;
- //
- // panelEx4
- //
- this.panelEx4.CanvasColor = System.Drawing.SystemColors.Control;
- this.panelEx4.ColorSchemeStyle = DevComponents.DotNetBar.eDotNetBarStyle.StyleManagerControlled;
- this.panelEx4.Controls.Add(this.panelEx2);
- this.panelEx4.Controls.Add(this.panelEx1);
- this.panelEx4.Controls.Add(this.panelEx3);
- this.panelEx4.DisabledBackColor = System.Drawing.Color.Empty;
- this.panelEx4.Location = new System.Drawing.Point(0, 0);
- this.panelEx4.Name = "panelEx4";
- this.panelEx4.Size = new System.Drawing.Size(250, 640);
- this.panelEx4.Style.Alignment = System.Drawing.StringAlignment.Center;
- this.panelEx4.Style.BackColor1.ColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelBackground;
- this.panelEx4.Style.BackColor2.ColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelBackground2;
- this.panelEx4.Style.Border = DevComponents.DotNetBar.eBorderType.SingleLine;
- this.panelEx4.Style.BorderColor.ColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelBorder;
- this.panelEx4.Style.ForeColor.ColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelText;
- this.panelEx4.Style.GradientAngle = 90;
- this.panelEx4.TabIndex = 10;
- //
- // dataGridViewX2
- //
- this.dataGridViewX2.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.AutoSize;
- this.dataGridViewX2.Columns.AddRange(new System.Windows.Forms.DataGridViewColumn[] {
- this.Column18,
- this.Column19,
- this.Column20,
- this.Column21,
- this.Column22,
- this.Column23,
- this.Column24,
- this.Column25,
- this.Column26,
- this.Column27,
- this.Column28,
- this.Column29});
- dataGridViewCellStyle2.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleLeft;
- dataGridViewCellStyle2.BackColor = System.Drawing.SystemColors.Window;
- dataGridViewCellStyle2.Font = new System.Drawing.Font("宋体", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
- dataGridViewCellStyle2.ForeColor = System.Drawing.SystemColors.ControlText;
- dataGridViewCellStyle2.SelectionBackColor = System.Drawing.SystemColors.Highlight;
- dataGridViewCellStyle2.SelectionForeColor = System.Drawing.SystemColors.ControlText;
- dataGridViewCellStyle2.WrapMode = System.Windows.Forms.DataGridViewTriState.False;
- this.dataGridViewX2.DefaultCellStyle = dataGridViewCellStyle2;
- this.dataGridViewX2.GridColor = System.Drawing.Color.FromArgb(((int)(((byte)(208)))), ((int)(((byte)(215)))), ((int)(((byte)(229)))));
- this.dataGridViewX2.Location = new System.Drawing.Point(250, 216);
- this.dataGridViewX2.Name = "dataGridViewX2";
- this.dataGridViewX2.Size = new System.Drawing.Size(747, 424);
- this.dataGridViewX2.TabIndex = 15;
- //
- // Column18
- //
- this.Column18.HeaderText = "通道号";
- this.Column18.Name = "Column18";
- //
- // Column19
- //
- this.Column19.HeaderText = "当前状态";
- this.Column19.Name = "Column19";
- //
- // Column20
- //
- this.Column20.HeaderText = "仪器名称";
- this.Column20.Name = "Column20";
- //
- // Column21
- //
- this.Column21.HeaderText = "仪器编号";
- this.Column21.Name = "Column21";
- //
- // Column22
- //
- this.Column22.HeaderText = "客户名称";
- this.Column22.Name = "Column22";
- //
- // Column23
- //
- this.Column23.HeaderText = "开始时间";
- this.Column23.Name = "Column23";
- //
- // Column24
- //
- this.Column24.HeaderText = "结束时间";
- this.Column24.Name = "Column24";
- //
- // Column25
- //
- this.Column25.HeaderText = "频率稳定度";
- this.Column25.Name = "Column25";
- //
- // Column26
- //
- this.Column26.HeaderText = "频率准确度";
- this.Column26.Name = "Column26";
- //
- // Column27
- //
- this.Column27.HeaderText = "开机特性";
- this.Column27.Name = "Column27";
- //
- // Column28
- //
- this.Column28.HeaderText = "日老化率";
- this.Column28.Name = "Column28";
- //
- // Column29
- //
- this.Column29.HeaderText = "频率计数器范围及灵敏度";
- this.Column29.Name = "Column29";
- //
- // buttonX1
- //
- this.buttonX1.AccessibleRole = System.Windows.Forms.AccessibleRole.PushButton;
- this.buttonX1.BackColor = System.Drawing.Color.Transparent;
- this.buttonX1.ColorTable = DevComponents.DotNetBar.eButtonColor.OrangeWithBackground;
- this.buttonX1.Location = new System.Drawing.Point(663, 183);
- this.buttonX1.Name = "buttonX1";
- this.buttonX1.Size = new System.Drawing.Size(30, 23);
- this.buttonX1.Style = DevComponents.DotNetBar.eDotNetBarStyle.StyleManagerControlled;
- this.buttonX1.Symbol = "";
- this.buttonX1.SymbolColor = System.Drawing.Color.FromArgb(((int)(((byte)(64)))), ((int)(((byte)(64)))), ((int)(((byte)(64)))));
- this.buttonX1.SymbolSize = 8F;
- this.buttonX1.TabIndex = 19;
- //
- // buttonX2
- //
- this.buttonX2.AccessibleRole = System.Windows.Forms.AccessibleRole.PushButton;
- this.buttonX2.BackColor = System.Drawing.Color.Transparent;
- this.buttonX2.ColorTable = DevComponents.DotNetBar.eButtonColor.OrangeWithBackground;
- this.buttonX2.Location = new System.Drawing.Point(589, 184);
- this.buttonX2.Name = "buttonX2";
- this.buttonX2.Size = new System.Drawing.Size(30, 23);
- this.buttonX2.Style = DevComponents.DotNetBar.eDotNetBarStyle.StyleManagerControlled;
- this.buttonX2.Symbol = "";
- this.buttonX2.SymbolColor = System.Drawing.Color.FromArgb(((int)(((byte)(64)))), ((int)(((byte)(64)))), ((int)(((byte)(64)))));
- this.buttonX2.SymbolSize = 8F;
- this.buttonX2.TabIndex = 19;
+ this.panel5.BackgroundImage = global::Casic.Birmm.RbFreqStandMeasure.Properties.Resources.bg_dev_channel;
+ this.panel5.Location = new System.Drawing.Point(230, 226);
+ this.panel5.Name = "panel5";
+ this.panel5.Size = new System.Drawing.Size(788, 424);
+ this.panel5.TabIndex = 4;
//
// label1
//
this.label1.BackColor = System.Drawing.Color.Transparent;
- this.label1.Font = new System.Drawing.Font("Times New Roman", 9.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
- this.label1.Location = new System.Drawing.Point(880, 186);
- this.label1.Margin = new System.Windows.Forms.Padding(0);
+ this.label1.Font = new System.Drawing.Font("微软雅黑", 14F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Pixel, ((byte)(134)));
+ this.label1.Location = new System.Drawing.Point(0, 20);
this.label1.Name = "label1";
- this.label1.Size = new System.Drawing.Size(20, 20);
- this.label1.TabIndex = 20;
- this.label1.Text = "1";
+ this.label1.Size = new System.Drawing.Size(224, 25);
+ this.label1.TabIndex = 0;
+ this.label1.Text = "基本信息";
this.label1.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
//
// label2
//
this.label2.BackColor = System.Drawing.Color.Transparent;
- this.label2.Font = new System.Drawing.Font("Times New Roman", 9.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
- this.label2.Location = new System.Drawing.Point(636, 187);
- this.label2.Margin = new System.Windows.Forms.Padding(0);
+ this.label2.Font = new System.Drawing.Font("微软雅黑", 14F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Pixel, ((byte)(134)));
+ this.label2.Location = new System.Drawing.Point(0, 60);
this.label2.Name = "label2";
- this.label2.Size = new System.Drawing.Size(200, 20);
- this.label2.TabIndex = 20;
- this.label2.Text = "共150条,每页5条,共100页";
- this.label2.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
+ this.label2.Size = new System.Drawing.Size(75, 25);
+ this.label2.TabIndex = 1;
+ this.label2.Text = "原子钟";
+ this.label2.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
+ //
+ // label3
+ //
+ this.label3.BackColor = System.Drawing.Color.Transparent;
+ this.label3.Font = new System.Drawing.Font("微软雅黑", 14F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Pixel, ((byte)(134)));
+ this.label3.Location = new System.Drawing.Point(0, 100);
+ this.label3.Name = "label3";
+ this.label3.Size = new System.Drawing.Size(75, 25);
+ this.label3.TabIndex = 1;
+ this.label3.Text = "接收机";
+ this.label3.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
+ //
+ // label4
+ //
+ this.label4.BackColor = System.Drawing.Color.Transparent;
+ this.label4.Font = new System.Drawing.Font("微软雅黑", 14F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Pixel, ((byte)(134)));
+ this.label4.Location = new System.Drawing.Point(0, 20);
+ this.label4.Name = "label4";
+ this.label4.Size = new System.Drawing.Size(224, 25);
+ this.label4.TabIndex = 0;
+ this.label4.Text = "时间信息";
+ this.label4.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
+ //
+ // label5
+ //
+ this.label5.BackColor = System.Drawing.Color.Transparent;
+ this.label5.Font = new System.Drawing.Font("微软雅黑", 14F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Pixel, ((byte)(134)));
+ this.label5.Location = new System.Drawing.Point(0, 60);
+ this.label5.Name = "label5";
+ this.label5.Size = new System.Drawing.Size(75, 25);
+ this.label5.TabIndex = 1;
+ this.label5.Text = "日期";
+ this.label5.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
+ //
+ // label6
+ //
+ this.label6.BackColor = System.Drawing.Color.Transparent;
+ this.label6.Font = new System.Drawing.Font("微软雅黑", 14F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Pixel, ((byte)(134)));
+ this.label6.Location = new System.Drawing.Point(0, 100);
+ this.label6.Name = "label6";
+ this.label6.Size = new System.Drawing.Size(75, 25);
+ this.label6.TabIndex = 1;
+ this.label6.Text = "时间";
+ this.label6.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
+ //
+ // label7
+ //
+ this.label7.BackColor = System.Drawing.Color.Transparent;
+ this.label7.Font = new System.Drawing.Font("微软雅黑", 14F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Pixel, ((byte)(134)));
+ this.label7.Location = new System.Drawing.Point(0, 140);
+ this.label7.Margin = new System.Windows.Forms.Padding(0);
+ this.label7.Name = "label7";
+ this.label7.Size = new System.Drawing.Size(75, 25);
+ this.label7.TabIndex = 1;
+ this.label7.Text = "MJD";
+ this.label7.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
+ //
+ // label8
+ //
+ this.label8.BackColor = System.Drawing.Color.Transparent;
+ this.label8.Font = new System.Drawing.Font("微软雅黑", 14F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Pixel, ((byte)(134)));
+ this.label8.Location = new System.Drawing.Point(0, 20);
+ this.label8.Name = "label8";
+ this.label8.Size = new System.Drawing.Size(224, 25);
+ this.label8.TabIndex = 0;
+ this.label8.Text = "位置信息";
+ this.label8.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
+ //
+ // label9
+ //
+ this.label9.BackColor = System.Drawing.Color.Transparent;
+ this.label9.Font = new System.Drawing.Font("微软雅黑", 14F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Pixel, ((byte)(134)));
+ this.label9.Location = new System.Drawing.Point(0, 60);
+ this.label9.Name = "label9";
+ this.label9.Size = new System.Drawing.Size(75, 25);
+ this.label9.TabIndex = 1;
+ this.label9.Text = "经度";
+ this.label9.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
+ //
+ // label10
+ //
+ this.label10.BackColor = System.Drawing.Color.Transparent;
+ this.label10.Font = new System.Drawing.Font("微软雅黑", 14F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Pixel, ((byte)(134)));
+ this.label10.Location = new System.Drawing.Point(0, 100);
+ this.label10.Margin = new System.Windows.Forms.Padding(0);
+ this.label10.Name = "label10";
+ this.label10.Size = new System.Drawing.Size(75, 25);
+ this.label10.TabIndex = 1;
+ this.label10.Text = "纬度";
+ this.label10.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
+ //
+ // label11
+ //
+ this.label11.BackColor = System.Drawing.Color.Transparent;
+ this.label11.Font = new System.Drawing.Font("微软雅黑", 14F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Pixel, ((byte)(134)));
+ this.label11.Location = new System.Drawing.Point(0, 140);
+ this.label11.Margin = new System.Windows.Forms.Padding(0);
+ this.label11.Name = "label11";
+ this.label11.Size = new System.Drawing.Size(75, 25);
+ this.label11.TabIndex = 1;
+ this.label11.Text = "X";
+ this.label11.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
+ //
+ // label12
+ //
+ this.label12.BackColor = System.Drawing.Color.Transparent;
+ this.label12.Font = new System.Drawing.Font("微软雅黑", 14F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Pixel, ((byte)(134)));
+ this.label12.Location = new System.Drawing.Point(0, 180);
+ this.label12.Margin = new System.Windows.Forms.Padding(0);
+ this.label12.Name = "label12";
+ this.label12.Size = new System.Drawing.Size(75, 25);
+ this.label12.TabIndex = 1;
+ this.label12.Text = "Y";
+ this.label12.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
+ //
+ // label13
+ //
+ this.label13.BackColor = System.Drawing.Color.Transparent;
+ this.label13.Font = new System.Drawing.Font("微软雅黑", 14F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Pixel, ((byte)(134)));
+ this.label13.Location = new System.Drawing.Point(0, 220);
+ this.label13.Margin = new System.Windows.Forms.Padding(0);
+ this.label13.Name = "label13";
+ this.label13.Size = new System.Drawing.Size(75, 25);
+ this.label13.TabIndex = 1;
+ this.label13.Text = "Z";
+ this.label13.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
//
// HomeCtrlForm
//
this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 12F);
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
- this.Controls.Add(this.label1);
- this.Controls.Add(this.label2);
- this.Controls.Add(this.dataGridViewX2);
- this.Controls.Add(this.panelEx4);
- this.Controls.Add(this.panelToBeTested);
+ this.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(232)))), ((int)(((byte)(234)))), ((int)(((byte)(238)))));
+ this.Controls.Add(this.panel5);
+ this.Controls.Add(this.panel4);
+ this.Controls.Add(this.panel3);
+ this.Controls.Add(this.panel2);
+ this.Controls.Add(this.panel1);
this.Margin = new System.Windows.Forms.Padding(0);
this.Name = "HomeCtrlForm";
- this.Size = new System.Drawing.Size(1000, 640);
- this.panelToBeTested.ResumeLayout(false);
- ((System.ComponentModel.ISupportInitialize)(this.dataGridViewX1)).EndInit();
- this.panelEx1.ResumeLayout(false);
- this.panelEx2.ResumeLayout(false);
- this.panelEx3.ResumeLayout(false);
- this.panelEx4.ResumeLayout(false);
- ((System.ComponentModel.ISupportInitialize)(this.dataGridViewX2)).EndInit();
+ this.Size = new System.Drawing.Size(1024, 654);
+ this.panel3.ResumeLayout(false);
+ this.panel2.ResumeLayout(false);
+ this.panel1.ResumeLayout(false);
this.ResumeLayout(false);
}
#endregion
- private System.Windows.Forms.Panel panelToBeTested;
- private DevComponents.DotNetBar.PanelEx panelEx1;
- private DevComponents.DotNetBar.LabelX labelX6;
- private DevComponents.DotNetBar.LabelX labelX5;
- private DevComponents.DotNetBar.LabelX labelX4;
- private DevComponents.DotNetBar.LabelX labelX3;
- private DevComponents.DotNetBar.LabelX labelX2;
- private DevComponents.DotNetBar.LabelX labelX1;
- private DevComponents.DotNetBar.PanelEx panelEx2;
- private DevComponents.DotNetBar.LabelX labelX7;
- private DevComponents.DotNetBar.LabelX labelX8;
- private DevComponents.DotNetBar.LabelX labelX10;
- private DevComponents.DotNetBar.LabelX labelX9;
- private DevComponents.DotNetBar.PanelEx panelEx3;
- private DevComponents.DotNetBar.LabelX labelX11;
- private DevComponents.DotNetBar.LabelX labelX13;
- private DevComponents.DotNetBar.LabelX labelX12;
- private DevComponents.DotNetBar.PanelEx panelEx4;
- private DevComponents.DotNetBar.Controls.DataGridViewX dataGridViewX1;
- private System.Windows.Forms.DataGridViewTextBoxColumn Column13;
- private System.Windows.Forms.DataGridViewTextBoxColumn Column14;
- private System.Windows.Forms.DataGridViewTextBoxColumn Column15;
- private System.Windows.Forms.DataGridViewTextBoxColumn Column16;
- private System.Windows.Forms.DataGridViewTextBoxColumn Column17;
- private DevComponents.DotNetBar.Controls.DataGridViewX dataGridViewX2;
- private System.Windows.Forms.DataGridViewTextBoxColumn Column18;
- private System.Windows.Forms.DataGridViewTextBoxColumn Column19;
- private System.Windows.Forms.DataGridViewTextBoxColumn Column20;
- private System.Windows.Forms.DataGridViewTextBoxColumn Column21;
- private System.Windows.Forms.DataGridViewTextBoxColumn Column22;
- private System.Windows.Forms.DataGridViewTextBoxColumn Column23;
- private System.Windows.Forms.DataGridViewTextBoxColumn Column24;
- private System.Windows.Forms.DataGridViewTextBoxColumn Column25;
- private System.Windows.Forms.DataGridViewTextBoxColumn Column26;
- private System.Windows.Forms.DataGridViewTextBoxColumn Column27;
- private System.Windows.Forms.DataGridViewTextBoxColumn Column28;
- private System.Windows.Forms.DataGridViewTextBoxColumn Column29;
- private DevComponents.DotNetBar.ButtonX buttonX1;
- private DevComponents.DotNetBar.ButtonX buttonX2;
+
+ private System.Windows.Forms.Panel panel1;
+ private System.Windows.Forms.Panel panel2;
+ private System.Windows.Forms.Panel panel3;
+ private System.Windows.Forms.Panel panel4;
+ private System.Windows.Forms.Panel panel5;
private System.Windows.Forms.Label label1;
private System.Windows.Forms.Label label2;
+ private System.Windows.Forms.Label label3;
+ private System.Windows.Forms.Label label4;
+ private System.Windows.Forms.Label label5;
+ private System.Windows.Forms.Label label6;
+ private System.Windows.Forms.Label label7;
+ private System.Windows.Forms.Label label8;
+ private System.Windows.Forms.Label label11;
+ private System.Windows.Forms.Label label9;
+ private System.Windows.Forms.Label label10;
+ private System.Windows.Forms.Label label12;
+ private System.Windows.Forms.Label label13;
}
}
diff --git a/RbFreqStandMeasure/HomeCtrlForm.resx b/RbFreqStandMeasure/HomeCtrlForm.resx
index 6d97f4f..1af7de1 100644
--- a/RbFreqStandMeasure/HomeCtrlForm.resx
+++ b/RbFreqStandMeasure/HomeCtrlForm.resx
@@ -117,55 +117,4 @@
System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
-
- True
-
-
- True
-
-
- True
-
-
- True
-
-
- True
-
-
- True
-
-
- True
-
-
- True
-
-
- True
-
-
- True
-
-
- True
-
-
- True
-
-
- True
-
-
- True
-
-
- True
-
-
- True
-
-
- True
-
\ No newline at end of file
diff --git a/RbFreqStandMeasure/Program.cs b/RbFreqStandMeasure/Program.cs
index 93a83e5..6150917 100644
--- a/RbFreqStandMeasure/Program.cs
+++ b/RbFreqStandMeasure/Program.cs
@@ -1,6 +1,4 @@
using System;
-using System.Collections.Generic;
-using System.Linq;
using System.Windows.Forms;
namespace Casic.Birmm.RbFreqStandMeasure
diff --git a/RbFreqStandMeasure/Properties/Resources.Designer.cs b/RbFreqStandMeasure/Properties/Resources.Designer.cs
index 253d7d7..d819a23 100644
--- a/RbFreqStandMeasure/Properties/Resources.Designer.cs
+++ b/RbFreqStandMeasure/Properties/Resources.Designer.cs
@@ -73,6 +73,56 @@
///
/// 查找 System.Drawing.Bitmap 类型的本地化资源。
///
+ internal static System.Drawing.Bitmap bg_dev_channel {
+ get {
+ object obj = ResourceManager.GetObject("bg_dev_channel", resourceCulture);
+ return ((System.Drawing.Bitmap)(obj));
+ }
+ }
+
+ ///
+ /// 查找 System.Drawing.Bitmap 类型的本地化资源。
+ ///
+ internal static System.Drawing.Bitmap bg_dev_tested {
+ get {
+ object obj = ResourceManager.GetObject("bg_dev_tested", resourceCulture);
+ return ((System.Drawing.Bitmap)(obj));
+ }
+ }
+
+ ///
+ /// 查找 System.Drawing.Bitmap 类型的本地化资源。
+ ///
+ internal static System.Drawing.Bitmap bg_status_base {
+ get {
+ object obj = ResourceManager.GetObject("bg_status_base", resourceCulture);
+ return ((System.Drawing.Bitmap)(obj));
+ }
+ }
+
+ ///
+ /// 查找 System.Drawing.Bitmap 类型的本地化资源。
+ ///
+ internal static System.Drawing.Bitmap bg_status_location {
+ get {
+ object obj = ResourceManager.GetObject("bg_status_location", resourceCulture);
+ return ((System.Drawing.Bitmap)(obj));
+ }
+ }
+
+ ///
+ /// 查找 System.Drawing.Bitmap 类型的本地化资源。
+ ///
+ internal static System.Drawing.Bitmap bg_status_time {
+ get {
+ object obj = ResourceManager.GetObject("bg_status_time", resourceCulture);
+ return ((System.Drawing.Bitmap)(obj));
+ }
+ }
+
+ ///
+ /// 查找 System.Drawing.Bitmap 类型的本地化资源。
+ ///
internal static System.Drawing.Bitmap bg_white_shadow {
get {
object obj = ResourceManager.GetObject("bg_white_shadow", resourceCulture);
@@ -83,6 +133,66 @@
///
/// 查找 System.Drawing.Bitmap 类型的本地化资源。
///
+ internal static System.Drawing.Bitmap icon_counter {
+ get {
+ object obj = ResourceManager.GetObject("icon_counter", resourceCulture);
+ return ((System.Drawing.Bitmap)(obj));
+ }
+ }
+
+ ///
+ /// 查找 System.Drawing.Bitmap 类型的本地化资源。
+ ///
+ internal static System.Drawing.Bitmap icon_counter_selected {
+ get {
+ object obj = ResourceManager.GetObject("icon_counter_selected", resourceCulture);
+ return ((System.Drawing.Bitmap)(obj));
+ }
+ }
+
+ ///
+ /// 查找 System.Drawing.Bitmap 类型的本地化资源。
+ ///
+ internal static System.Drawing.Bitmap icon_data {
+ get {
+ object obj = ResourceManager.GetObject("icon_data", resourceCulture);
+ return ((System.Drawing.Bitmap)(obj));
+ }
+ }
+
+ ///
+ /// 查找 System.Drawing.Bitmap 类型的本地化资源。
+ ///
+ internal static System.Drawing.Bitmap icon_data_selected {
+ get {
+ object obj = ResourceManager.GetObject("icon_data_selected", resourceCulture);
+ return ((System.Drawing.Bitmap)(obj));
+ }
+ }
+
+ ///
+ /// 查找 System.Drawing.Bitmap 类型的本地化资源。
+ ///
+ internal static System.Drawing.Bitmap icon_dev {
+ get {
+ object obj = ResourceManager.GetObject("icon_dev", resourceCulture);
+ return ((System.Drawing.Bitmap)(obj));
+ }
+ }
+
+ ///
+ /// 查找 System.Drawing.Bitmap 类型的本地化资源。
+ ///
+ internal static System.Drawing.Bitmap icon_dev_selected {
+ get {
+ object obj = ResourceManager.GetObject("icon_dev_selected", resourceCulture);
+ return ((System.Drawing.Bitmap)(obj));
+ }
+ }
+
+ ///
+ /// 查找 System.Drawing.Bitmap 类型的本地化资源。
+ ///
internal static System.Drawing.Bitmap icon_exit {
get {
object obj = ResourceManager.GetObject("icon_exit", resourceCulture);
@@ -113,6 +223,56 @@
///
/// 查找 System.Drawing.Bitmap 类型的本地化资源。
///
+ internal static System.Drawing.Bitmap icon_measure {
+ get {
+ object obj = ResourceManager.GetObject("icon_measure", resourceCulture);
+ return ((System.Drawing.Bitmap)(obj));
+ }
+ }
+
+ ///
+ /// 查找 System.Drawing.Bitmap 类型的本地化资源。
+ ///
+ internal static System.Drawing.Bitmap icon_measure_selected {
+ get {
+ object obj = ResourceManager.GetObject("icon_measure_selected", resourceCulture);
+ return ((System.Drawing.Bitmap)(obj));
+ }
+ }
+
+ ///
+ /// 查找 System.Drawing.Bitmap 类型的本地化资源。
+ ///
+ internal static System.Drawing.Bitmap icon_min {
+ get {
+ object obj = ResourceManager.GetObject("icon_min", resourceCulture);
+ return ((System.Drawing.Bitmap)(obj));
+ }
+ }
+
+ ///
+ /// 查找 System.Drawing.Bitmap 类型的本地化资源。
+ ///
+ internal static System.Drawing.Bitmap icon_setting {
+ get {
+ object obj = ResourceManager.GetObject("icon_setting", resourceCulture);
+ return ((System.Drawing.Bitmap)(obj));
+ }
+ }
+
+ ///
+ /// 查找 System.Drawing.Bitmap 类型的本地化资源。
+ ///
+ internal static System.Drawing.Bitmap icon_setting_selected {
+ get {
+ object obj = ResourceManager.GetObject("icon_setting_selected", resourceCulture);
+ return ((System.Drawing.Bitmap)(obj));
+ }
+ }
+
+ ///
+ /// 查找 System.Drawing.Bitmap 类型的本地化资源。
+ ///
internal static System.Drawing.Bitmap icon_status {
get {
object obj = ResourceManager.GetObject("icon_status", resourceCulture);
diff --git a/RbFreqStandMeasure/Properties/Resources.resx b/RbFreqStandMeasure/Properties/Resources.resx
index e781bb7..cfdb255 100644
--- a/RbFreqStandMeasure/Properties/Resources.resx
+++ b/RbFreqStandMeasure/Properties/Resources.resx
@@ -118,25 +118,73 @@
System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
-
- ..\res\images\icon_exit.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
+
+ ..\res\images\icon_counter_selected.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
-
- ..\res\images\bg_white_shadow.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
+
+ ..\res\images\icon_dev_selected.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
+
+
+ ..\res\images\icon_status_selected.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
+
+
+ ..\res\images\icon_data_selected.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
..\res\images\icon_home_selected.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
-
- ..\res\images\bg_banner.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
-
-
- ..\res\images\icon_home.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
+
+ ..\res\images\icon_exit.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
..\res\images\icon_status.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
-
- ..\res\images\icon_status_selected.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
+
+ ..\res\images\icon_data.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
+
+
+ ..\res\images\icon_setting.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
+
+
+ ..\res\images\icon_measure_selected.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
+
+
+ ..\res\images\bg_banner.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
+
+
+ ..\res\images\icon_setting_selected.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
+
+
+ ..\res\images\icon_dev.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
+
+
+ ..\res\images\icon_counter.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
+
+
+ ..\res\images\icon_measure.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
+
+
+ ..\res\images\icon_home.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
+
+
+ ..\res\images\bg_white_shadow.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
+
+
+ ..\res\images\icon_min.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
+
+
+ ..\res\images\bg_status_base.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
+
+
+ ..\res\images\bg_status_location.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
+
+
+ ..\res\images\bg_status_time.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
+
+
+ ..\res\images\bg_dev_channel.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
+
+
+ ..\res\images\bg_dev_tested.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
\ No newline at end of file
diff --git a/RbFreqStandMeasure/RbFreqStandMeasure.csproj b/RbFreqStandMeasure/RbFreqStandMeasure.csproj
index f5e7da9..7c12768 100644
--- a/RbFreqStandMeasure/RbFreqStandMeasure.csproj
+++ b/RbFreqStandMeasure/RbFreqStandMeasure.csproj
@@ -232,6 +232,54 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/RbFreqStandMeasure/RbFreqStdMeas.Designer.cs b/RbFreqStandMeasure/RbFreqStdMeas.Designer.cs
index 57778cf..1bd008c 100644
--- a/RbFreqStandMeasure/RbFreqStdMeas.Designer.cs
+++ b/RbFreqStandMeasure/RbFreqStdMeas.Designer.cs
@@ -30,148 +30,77 @@
private void InitializeComponent()
{
this.panMenu = new System.Windows.Forms.Panel();
+ this.penBanner = new System.Windows.Forms.Panel();
+ this.btnMinSys = new System.Windows.Forms.Button();
+ this.btnExitSys = new System.Windows.Forms.Button();
+ this.labTitle = new System.Windows.Forms.Label();
+ this.panDev = new Casic.Birmm.RbFreqStandMeasure.RoundPanel();
+ this.labDevText = new System.Windows.Forms.Label();
+ this.labDevSelected = new System.Windows.Forms.Label();
+ this.picIconDev = new System.Windows.Forms.PictureBox();
+ this.panSetting = new Casic.Birmm.RbFreqStandMeasure.RoundPanel();
+ this.labSettingSelected = new System.Windows.Forms.Label();
+ this.labSettingText = new System.Windows.Forms.Label();
+ this.picIconSetting = new System.Windows.Forms.PictureBox();
this.panStatus = new Casic.Birmm.RbFreqStandMeasure.RoundPanel();
this.labStatusText = new System.Windows.Forms.Label();
this.picIconStatus = new System.Windows.Forms.PictureBox();
+ this.labStatusSelected = new System.Windows.Forms.Label();
+ this.panData = new Casic.Birmm.RbFreqStandMeasure.RoundPanel();
+ this.labDataSelected = new System.Windows.Forms.Label();
+ this.labDataText = new System.Windows.Forms.Label();
+ this.picIconData = new System.Windows.Forms.PictureBox();
this.panHome = new Casic.Birmm.RbFreqStandMeasure.RoundPanel();
this.labHomeText = new System.Windows.Forms.Label();
this.picIconHome = new System.Windows.Forms.PictureBox();
this.labHomeSelected = new System.Windows.Forms.Label();
- this.labStatusSelected = new System.Windows.Forms.Label();
- this.penBanner = new System.Windows.Forms.Panel();
- this.btnExitSys = new System.Windows.Forms.Button();
- this.labTitle = new System.Windows.Forms.Label();
+ this.panMeasure = new Casic.Birmm.RbFreqStandMeasure.RoundPanel();
+ this.labMeasureText = new System.Windows.Forms.Label();
+ this.labMeasureSelected = new System.Windows.Forms.Label();
+ this.picIconMeasure = new System.Windows.Forms.PictureBox();
+ this.panCounter = new Casic.Birmm.RbFreqStandMeasure.RoundPanel();
+ this.labCounterSelected = new System.Windows.Forms.Label();
+ this.labCounterText = new System.Windows.Forms.Label();
+ this.picIconCounter = new System.Windows.Forms.PictureBox();
+ this.panelMain = new System.Windows.Forms.Panel();
this.panMenu.SuspendLayout();
+ this.penBanner.SuspendLayout();
+ this.panDev.SuspendLayout();
+ ((System.ComponentModel.ISupportInitialize)(this.picIconDev)).BeginInit();
+ this.panSetting.SuspendLayout();
+ ((System.ComponentModel.ISupportInitialize)(this.picIconSetting)).BeginInit();
this.panStatus.SuspendLayout();
((System.ComponentModel.ISupportInitialize)(this.picIconStatus)).BeginInit();
+ this.panData.SuspendLayout();
+ ((System.ComponentModel.ISupportInitialize)(this.picIconData)).BeginInit();
this.panHome.SuspendLayout();
((System.ComponentModel.ISupportInitialize)(this.picIconHome)).BeginInit();
- this.penBanner.SuspendLayout();
+ this.panMeasure.SuspendLayout();
+ ((System.ComponentModel.ISupportInitialize)(this.picIconMeasure)).BeginInit();
+ this.panCounter.SuspendLayout();
+ ((System.ComponentModel.ISupportInitialize)(this.picIconCounter)).BeginInit();
this.SuspendLayout();
//
// panMenu
//
this.panMenu.BackColor = System.Drawing.Color.White;
+ this.panMenu.Controls.Add(this.panDev);
+ this.panMenu.Controls.Add(this.panSetting);
this.panMenu.Controls.Add(this.panStatus);
+ this.panMenu.Controls.Add(this.panData);
this.panMenu.Controls.Add(this.panHome);
- this.panMenu.Controls.Add(this.labStatusSelected);
+ this.panMenu.Controls.Add(this.panMeasure);
+ this.panMenu.Controls.Add(this.panCounter);
this.panMenu.Location = new System.Drawing.Point(0, 64);
this.panMenu.Name = "panMenu";
this.panMenu.Size = new System.Drawing.Size(1024, 50);
this.panMenu.TabIndex = 1;
//
- // panStatus
- //
- this.panStatus.Back = System.Drawing.Color.Empty;
- this.panStatus.BackColor = System.Drawing.Color.Transparent;
- this.panStatus.Controls.Add(this.labStatusText);
- this.panStatus.Controls.Add(this.picIconStatus);
- this.panStatus.Location = new System.Drawing.Point(160, 0);
- this.panStatus.MatrixRound = 8;
- this.panStatus.Name = "panStatus";
- this.panStatus.Size = new System.Drawing.Size(130, 47);
- this.panStatus.TabIndex = 1;
- this.panStatus.Click += new System.EventHandler(this.panStatus_Click);
- this.panStatus.MouseLeave += new System.EventHandler(this.panStatus_MouseLeave);
- this.panStatus.MouseHover += new System.EventHandler(this.panStatus_MouseHover);
- //
- // labStatusText
- //
- this.labStatusText.BackColor = System.Drawing.Color.Transparent;
- this.labStatusText.Cursor = System.Windows.Forms.Cursors.Hand;
- this.labStatusText.Font = new System.Drawing.Font("微软雅黑", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
- this.labStatusText.ForeColor = System.Drawing.SystemColors.ControlText;
- this.labStatusText.Location = new System.Drawing.Point(35, 0);
- this.labStatusText.Margin = new System.Windows.Forms.Padding(0);
- this.labStatusText.Name = "labStatusText";
- this.labStatusText.Size = new System.Drawing.Size(85, 47);
- this.labStatusText.TabIndex = 2;
- this.labStatusText.Text = "基准状态";
- this.labStatusText.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
- this.labStatusText.Click += new System.EventHandler(this.panStatus_Click);
- this.labStatusText.MouseLeave += new System.EventHandler(this.panStatus_MouseLeave);
- this.labStatusText.MouseHover += new System.EventHandler(this.panStatus_MouseHover);
- //
- // picIconStatus
- //
- this.picIconStatus.BackgroundImage = global::Casic.Birmm.RbFreqStandMeasure.Properties.Resources.icon_status;
- this.picIconStatus.BackgroundImageLayout = System.Windows.Forms.ImageLayout.Zoom;
- this.picIconStatus.Location = new System.Drawing.Point(10, 11);
- this.picIconStatus.Name = "picIconStatus";
- this.picIconStatus.Size = new System.Drawing.Size(25, 25);
- this.picIconStatus.TabIndex = 1;
- this.picIconStatus.TabStop = false;
- this.picIconStatus.Click += new System.EventHandler(this.panStatus_Click);
- this.picIconStatus.MouseLeave += new System.EventHandler(this.panStatus_MouseLeave);
- this.picIconStatus.MouseHover += new System.EventHandler(this.panStatus_MouseHover);
- //
- // panHome
- //
- this.panHome.Back = System.Drawing.Color.Empty;
- this.panHome.Controls.Add(this.labHomeText);
- this.panHome.Controls.Add(this.picIconHome);
- this.panHome.Controls.Add(this.labHomeSelected);
- this.panHome.Cursor = System.Windows.Forms.Cursors.Hand;
- this.panHome.Location = new System.Drawing.Point(30, 0);
- this.panHome.MatrixRound = 8;
- this.panHome.Name = "panHome";
- this.panHome.Size = new System.Drawing.Size(100, 50);
- this.panHome.TabIndex = 0;
- this.panHome.Click += new System.EventHandler(this.panHome_Click);
- this.panHome.MouseLeave += new System.EventHandler(this.panHome_MouseLeave);
- this.panHome.MouseHover += new System.EventHandler(this.panHome_MouseHover);
- //
- // labHomeText
- //
- this.labHomeText.BackColor = System.Drawing.Color.Transparent;
- this.labHomeText.Font = new System.Drawing.Font("微软雅黑", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
- this.labHomeText.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(18)))), ((int)(((byte)(150)))), ((int)(((byte)(219)))));
- this.labHomeText.Location = new System.Drawing.Point(35, 0);
- this.labHomeText.Margin = new System.Windows.Forms.Padding(0);
- this.labHomeText.Name = "labHomeText";
- this.labHomeText.Size = new System.Drawing.Size(55, 47);
- this.labHomeText.TabIndex = 2;
- this.labHomeText.Text = "首页";
- this.labHomeText.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
- this.labHomeText.Click += new System.EventHandler(this.panHome_Click);
- this.labHomeText.MouseLeave += new System.EventHandler(this.panHome_MouseLeave);
- this.labHomeText.MouseHover += new System.EventHandler(this.panHome_MouseHover);
- //
- // picIconHome
- //
- this.picIconHome.BackColor = System.Drawing.Color.Transparent;
- this.picIconHome.BackgroundImage = global::Casic.Birmm.RbFreqStandMeasure.Properties.Resources.icon_home_selected;
- this.picIconHome.BackgroundImageLayout = System.Windows.Forms.ImageLayout.Zoom;
- this.picIconHome.Location = new System.Drawing.Point(10, 11);
- this.picIconHome.Name = "picIconHome";
- this.picIconHome.Size = new System.Drawing.Size(25, 25);
- this.picIconHome.TabIndex = 1;
- this.picIconHome.TabStop = false;
- this.picIconHome.Click += new System.EventHandler(this.panHome_Click);
- this.picIconHome.MouseLeave += new System.EventHandler(this.panHome_MouseLeave);
- this.picIconHome.MouseHover += new System.EventHandler(this.panHome_MouseHover);
- //
- // labHomeSelected
- //
- this.labHomeSelected.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(18)))), ((int)(((byte)(150)))), ((int)(((byte)(219)))));
- this.labHomeSelected.Location = new System.Drawing.Point(0, 47);
- this.labHomeSelected.Name = "labHomeSelected";
- this.labHomeSelected.Size = new System.Drawing.Size(100, 3);
- this.labHomeSelected.TabIndex = 0;
- //
- // labStatusSelected
- //
- this.labStatusSelected.BackColor = System.Drawing.Color.Transparent;
- this.labStatusSelected.Location = new System.Drawing.Point(160, 47);
- this.labStatusSelected.Margin = new System.Windows.Forms.Padding(0);
- this.labStatusSelected.Name = "labStatusSelected";
- this.labStatusSelected.Size = new System.Drawing.Size(130, 3);
- this.labStatusSelected.TabIndex = 0;
- //
// penBanner
//
this.penBanner.BackgroundImage = global::Casic.Birmm.RbFreqStandMeasure.Properties.Resources.bg_banner;
this.penBanner.BackgroundImageLayout = System.Windows.Forms.ImageLayout.Stretch;
+ this.penBanner.Controls.Add(this.btnMinSys);
this.penBanner.Controls.Add(this.btnExitSys);
this.penBanner.Controls.Add(this.labTitle);
this.penBanner.Location = new System.Drawing.Point(0, 0);
@@ -180,6 +109,23 @@
this.penBanner.TabIndex = 0;
this.penBanner.MouseDown += new System.Windows.Forms.MouseEventHandler(this.RbFreqStdMeas_MouseDown);
//
+ // btnMinSys
+ //
+ this.btnMinSys.BackColor = System.Drawing.Color.Transparent;
+ this.btnMinSys.BackgroundImage = global::Casic.Birmm.RbFreqStandMeasure.Properties.Resources.icon_min;
+ this.btnMinSys.BackgroundImageLayout = System.Windows.Forms.ImageLayout.Stretch;
+ this.btnMinSys.FlatAppearance.BorderSize = 0;
+ this.btnMinSys.FlatStyle = System.Windows.Forms.FlatStyle.Flat;
+ this.btnMinSys.ForeColor = System.Drawing.SystemColors.ControlDarkDark;
+ this.btnMinSys.Location = new System.Drawing.Point(944, 22);
+ this.btnMinSys.Margin = new System.Windows.Forms.Padding(0);
+ this.btnMinSys.Name = "btnMinSys";
+ this.btnMinSys.Size = new System.Drawing.Size(20, 20);
+ this.btnMinSys.TabIndex = 1;
+ this.btnMinSys.UseVisualStyleBackColor = false;
+ this.btnMinSys.Click += new System.EventHandler(this.btnMinSys_Click);
+ this.btnMinSys.MouseHover += new System.EventHandler(this.btnMinSys_MouseHover);
+ //
// btnExitSys
//
this.btnExitSys.BackColor = System.Drawing.Color.Transparent;
@@ -200,7 +146,7 @@
// labTitle
//
this.labTitle.BackColor = System.Drawing.Color.Transparent;
- this.labTitle.Font = new System.Drawing.Font("微软雅黑", 15.75F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
+ this.labTitle.Font = new System.Drawing.Font("微软雅黑", 20F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Pixel, ((byte)(134)));
this.labTitle.ForeColor = System.Drawing.Color.White;
this.labTitle.Location = new System.Drawing.Point(30, 16);
this.labTitle.Name = "labTitle";
@@ -209,11 +155,404 @@
this.labTitle.Text = "铷原子频标比对测量软件";
this.labTitle.TextAlign = System.Drawing.ContentAlignment.MiddleLeft;
//
+ // panDev
+ //
+ this.panDev.Back = System.Drawing.Color.Empty;
+ this.panDev.Controls.Add(this.labDevText);
+ this.panDev.Controls.Add(this.labDevSelected);
+ this.panDev.Controls.Add(this.picIconDev);
+ this.panDev.Location = new System.Drawing.Point(214, 0);
+ this.panDev.MatrixRound = 8;
+ this.panDev.Name = "panDev";
+ this.panDev.Size = new System.Drawing.Size(141, 50);
+ this.panDev.TabIndex = 2;
+ this.panDev.Click += new System.EventHandler(this.panDev_Click);
+ this.panDev.MouseLeave += new System.EventHandler(this.panDev_MouseLeave);
+ this.panDev.MouseHover += new System.EventHandler(this.panDev_MouseHover);
+ //
+ // labDevText
+ //
+ this.labDevText.BackColor = System.Drawing.Color.Transparent;
+ this.labDevText.Cursor = System.Windows.Forms.Cursors.Hand;
+ this.labDevText.Font = new System.Drawing.Font("微软雅黑", 16F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Pixel, ((byte)(134)));
+ this.labDevText.ForeColor = System.Drawing.SystemColors.ControlText;
+ this.labDevText.Location = new System.Drawing.Point(30, 14);
+ this.labDevText.Margin = new System.Windows.Forms.Padding(0);
+ this.labDevText.Name = "labDevText";
+ this.labDevText.Size = new System.Drawing.Size(106, 20);
+ this.labDevText.TabIndex = 2;
+ this.labDevText.Text = "送检仪器管理";
+ this.labDevText.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
+ this.labDevText.Click += new System.EventHandler(this.panDev_Click);
+ this.labDevText.MouseLeave += new System.EventHandler(this.panDev_MouseLeave);
+ this.labDevText.MouseHover += new System.EventHandler(this.panDev_MouseHover);
+ //
+ // labDevSelected
+ //
+ this.labDevSelected.BackColor = System.Drawing.Color.Transparent;
+ this.labDevSelected.Location = new System.Drawing.Point(8, 48);
+ this.labDevSelected.Margin = new System.Windows.Forms.Padding(0);
+ this.labDevSelected.Name = "labDevSelected";
+ this.labDevSelected.Size = new System.Drawing.Size(121, 2);
+ this.labDevSelected.TabIndex = 3;
+ //
+ // picIconDev
+ //
+ this.picIconDev.BackColor = System.Drawing.Color.Transparent;
+ this.picIconDev.BackgroundImage = global::Casic.Birmm.RbFreqStandMeasure.Properties.Resources.icon_dev;
+ this.picIconDev.BackgroundImageLayout = System.Windows.Forms.ImageLayout.Zoom;
+ this.picIconDev.Location = new System.Drawing.Point(10, 14);
+ this.picIconDev.Name = "picIconDev";
+ this.picIconDev.Size = new System.Drawing.Size(20, 20);
+ this.picIconDev.TabIndex = 1;
+ this.picIconDev.TabStop = false;
+ this.picIconDev.Click += new System.EventHandler(this.panDev_Click);
+ this.picIconDev.MouseLeave += new System.EventHandler(this.panDev_MouseLeave);
+ this.picIconDev.MouseHover += new System.EventHandler(this.panDev_MouseHover);
+ //
+ // panSetting
+ //
+ this.panSetting.Back = System.Drawing.Color.Empty;
+ this.panSetting.Controls.Add(this.labSettingSelected);
+ this.panSetting.Controls.Add(this.labSettingText);
+ this.panSetting.Controls.Add(this.picIconSetting);
+ this.panSetting.Location = new System.Drawing.Point(879, 0);
+ this.panSetting.MatrixRound = 8;
+ this.panSetting.Name = "panSetting";
+ this.panSetting.Size = new System.Drawing.Size(109, 50);
+ this.panSetting.TabIndex = 2;
+ this.panSetting.Click += new System.EventHandler(this.panSetting_Click);
+ this.panSetting.MouseLeave += new System.EventHandler(this.panSetting_MouseLeave);
+ this.panSetting.MouseHover += new System.EventHandler(this.panSetting_MouseHover);
+ //
+ // labSettingSelected
+ //
+ this.labSettingSelected.BackColor = System.Drawing.Color.Transparent;
+ this.labSettingSelected.Location = new System.Drawing.Point(10, 48);
+ this.labSettingSelected.Margin = new System.Windows.Forms.Padding(0);
+ this.labSettingSelected.Name = "labSettingSelected";
+ this.labSettingSelected.Size = new System.Drawing.Size(89, 2);
+ this.labSettingSelected.TabIndex = 4;
+ //
+ // labSettingText
+ //
+ this.labSettingText.BackColor = System.Drawing.Color.Transparent;
+ this.labSettingText.Cursor = System.Windows.Forms.Cursors.Hand;
+ this.labSettingText.Font = new System.Drawing.Font("微软雅黑", 16F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Pixel, ((byte)(134)));
+ this.labSettingText.ForeColor = System.Drawing.SystemColors.ControlText;
+ this.labSettingText.Location = new System.Drawing.Point(30, 14);
+ this.labSettingText.Margin = new System.Windows.Forms.Padding(0);
+ this.labSettingText.Name = "labSettingText";
+ this.labSettingText.Size = new System.Drawing.Size(74, 20);
+ this.labSettingText.TabIndex = 2;
+ this.labSettingText.Text = "系统设置";
+ this.labSettingText.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
+ this.labSettingText.Click += new System.EventHandler(this.panSetting_Click);
+ this.labSettingText.MouseLeave += new System.EventHandler(this.panSetting_MouseLeave);
+ this.labSettingText.MouseHover += new System.EventHandler(this.panSetting_MouseHover);
+ //
+ // picIconSetting
+ //
+ this.picIconSetting.BackColor = System.Drawing.Color.Transparent;
+ this.picIconSetting.BackgroundImage = global::Casic.Birmm.RbFreqStandMeasure.Properties.Resources.icon_setting;
+ this.picIconSetting.BackgroundImageLayout = System.Windows.Forms.ImageLayout.Zoom;
+ this.picIconSetting.Location = new System.Drawing.Point(10, 14);
+ this.picIconSetting.Name = "picIconSetting";
+ this.picIconSetting.Size = new System.Drawing.Size(20, 20);
+ this.picIconSetting.TabIndex = 1;
+ this.picIconSetting.TabStop = false;
+ this.picIconSetting.Click += new System.EventHandler(this.panSetting_Click);
+ this.picIconSetting.MouseLeave += new System.EventHandler(this.panSetting_MouseLeave);
+ this.picIconSetting.MouseHover += new System.EventHandler(this.panSetting_MouseHover);
+ //
+ // panStatus
+ //
+ this.panStatus.Back = System.Drawing.Color.Empty;
+ this.panStatus.BackColor = System.Drawing.Color.Transparent;
+ this.panStatus.Controls.Add(this.labStatusText);
+ this.panStatus.Controls.Add(this.picIconStatus);
+ this.panStatus.Controls.Add(this.labStatusSelected);
+ this.panStatus.Location = new System.Drawing.Point(101, 0);
+ this.panStatus.MatrixRound = 8;
+ this.panStatus.Name = "panStatus";
+ this.panStatus.Size = new System.Drawing.Size(109, 50);
+ this.panStatus.TabIndex = 1;
+ this.panStatus.Click += new System.EventHandler(this.panStatus_Click);
+ this.panStatus.MouseLeave += new System.EventHandler(this.panStatus_MouseLeave);
+ this.panStatus.MouseHover += new System.EventHandler(this.panStatus_MouseHover);
+ //
+ // labStatusText
+ //
+ this.labStatusText.BackColor = System.Drawing.Color.Transparent;
+ this.labStatusText.Cursor = System.Windows.Forms.Cursors.Hand;
+ this.labStatusText.Font = new System.Drawing.Font("微软雅黑", 16F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Pixel, ((byte)(134)));
+ this.labStatusText.ForeColor = System.Drawing.SystemColors.ControlText;
+ this.labStatusText.Location = new System.Drawing.Point(30, 14);
+ this.labStatusText.Margin = new System.Windows.Forms.Padding(0);
+ this.labStatusText.Name = "labStatusText";
+ this.labStatusText.Size = new System.Drawing.Size(74, 20);
+ this.labStatusText.TabIndex = 2;
+ this.labStatusText.Text = "基准状态";
+ this.labStatusText.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
+ this.labStatusText.Click += new System.EventHandler(this.panStatus_Click);
+ this.labStatusText.MouseLeave += new System.EventHandler(this.panStatus_MouseLeave);
+ this.labStatusText.MouseHover += new System.EventHandler(this.panStatus_MouseHover);
+ //
+ // picIconStatus
+ //
+ this.picIconStatus.BackgroundImage = global::Casic.Birmm.RbFreqStandMeasure.Properties.Resources.icon_status;
+ this.picIconStatus.BackgroundImageLayout = System.Windows.Forms.ImageLayout.Zoom;
+ this.picIconStatus.Location = new System.Drawing.Point(10, 14);
+ this.picIconStatus.Name = "picIconStatus";
+ this.picIconStatus.Size = new System.Drawing.Size(20, 20);
+ this.picIconStatus.TabIndex = 1;
+ this.picIconStatus.TabStop = false;
+ this.picIconStatus.Click += new System.EventHandler(this.panStatus_Click);
+ this.picIconStatus.MouseLeave += new System.EventHandler(this.panStatus_MouseLeave);
+ this.picIconStatus.MouseHover += new System.EventHandler(this.panStatus_MouseHover);
+ //
+ // labStatusSelected
+ //
+ this.labStatusSelected.BackColor = System.Drawing.Color.Transparent;
+ this.labStatusSelected.Location = new System.Drawing.Point(10, 48);
+ this.labStatusSelected.Margin = new System.Windows.Forms.Padding(0);
+ this.labStatusSelected.Name = "labStatusSelected";
+ this.labStatusSelected.Size = new System.Drawing.Size(89, 2);
+ this.labStatusSelected.TabIndex = 0;
+ //
+ // panData
+ //
+ this.panData.Back = System.Drawing.Color.Empty;
+ this.panData.Controls.Add(this.labDataSelected);
+ this.panData.Controls.Add(this.labDataText);
+ this.panData.Controls.Add(this.picIconData);
+ this.panData.Location = new System.Drawing.Point(765, 0);
+ this.panData.MatrixRound = 8;
+ this.panData.Name = "panData";
+ this.panData.Size = new System.Drawing.Size(109, 50);
+ this.panData.TabIndex = 2;
+ this.panData.Click += new System.EventHandler(this.panData_Click);
+ this.panData.MouseLeave += new System.EventHandler(this.panData_MouseLeave);
+ this.panData.MouseHover += new System.EventHandler(this.panData_MouseHover);
+ //
+ // labDataSelected
+ //
+ this.labDataSelected.BackColor = System.Drawing.Color.Transparent;
+ this.labDataSelected.Location = new System.Drawing.Point(10, 48);
+ this.labDataSelected.Margin = new System.Windows.Forms.Padding(0);
+ this.labDataSelected.Name = "labDataSelected";
+ this.labDataSelected.Size = new System.Drawing.Size(89, 2);
+ this.labDataSelected.TabIndex = 3;
+ //
+ // labDataText
+ //
+ this.labDataText.BackColor = System.Drawing.Color.Transparent;
+ this.labDataText.Cursor = System.Windows.Forms.Cursors.Hand;
+ this.labDataText.Font = new System.Drawing.Font("微软雅黑", 16F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Pixel, ((byte)(134)));
+ this.labDataText.ForeColor = System.Drawing.SystemColors.ControlText;
+ this.labDataText.Location = new System.Drawing.Point(30, 14);
+ this.labDataText.Margin = new System.Windows.Forms.Padding(0);
+ this.labDataText.Name = "labDataText";
+ this.labDataText.Size = new System.Drawing.Size(74, 20);
+ this.labDataText.TabIndex = 2;
+ this.labDataText.Text = "数据管理";
+ this.labDataText.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
+ this.labDataText.Click += new System.EventHandler(this.panData_Click);
+ this.labDataText.MouseLeave += new System.EventHandler(this.panData_MouseLeave);
+ this.labDataText.MouseHover += new System.EventHandler(this.panData_MouseHover);
+ //
+ // picIconData
+ //
+ this.picIconData.BackColor = System.Drawing.Color.Transparent;
+ this.picIconData.BackgroundImage = global::Casic.Birmm.RbFreqStandMeasure.Properties.Resources.icon_data;
+ this.picIconData.BackgroundImageLayout = System.Windows.Forms.ImageLayout.Zoom;
+ this.picIconData.Location = new System.Drawing.Point(10, 14);
+ this.picIconData.Name = "picIconData";
+ this.picIconData.Size = new System.Drawing.Size(20, 20);
+ this.picIconData.TabIndex = 1;
+ this.picIconData.TabStop = false;
+ this.picIconData.Click += new System.EventHandler(this.panData_Click);
+ this.picIconData.MouseLeave += new System.EventHandler(this.panData_MouseLeave);
+ this.picIconData.MouseHover += new System.EventHandler(this.panData_MouseHover);
+ //
+ // panHome
+ //
+ this.panHome.Back = System.Drawing.Color.Empty;
+ this.panHome.Controls.Add(this.labHomeText);
+ this.panHome.Controls.Add(this.picIconHome);
+ this.panHome.Controls.Add(this.labHomeSelected);
+ this.panHome.Cursor = System.Windows.Forms.Cursors.Hand;
+ this.panHome.Location = new System.Drawing.Point(20, 0);
+ this.panHome.MatrixRound = 8;
+ this.panHome.Name = "panHome";
+ this.panHome.Size = new System.Drawing.Size(75, 50);
+ this.panHome.TabIndex = 0;
+ this.panHome.Click += new System.EventHandler(this.panHome_Click);
+ this.panHome.MouseLeave += new System.EventHandler(this.panHome_MouseLeave);
+ this.panHome.MouseHover += new System.EventHandler(this.panHome_MouseHover);
+ //
+ // labHomeText
+ //
+ this.labHomeText.BackColor = System.Drawing.Color.Transparent;
+ this.labHomeText.Font = new System.Drawing.Font("微软雅黑", 16F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Pixel, ((byte)(134)));
+ this.labHomeText.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(18)))), ((int)(((byte)(150)))), ((int)(((byte)(219)))));
+ this.labHomeText.Location = new System.Drawing.Point(30, 14);
+ this.labHomeText.Margin = new System.Windows.Forms.Padding(0);
+ this.labHomeText.Name = "labHomeText";
+ this.labHomeText.Size = new System.Drawing.Size(42, 20);
+ this.labHomeText.TabIndex = 2;
+ this.labHomeText.Text = "首页";
+ this.labHomeText.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
+ this.labHomeText.Click += new System.EventHandler(this.panHome_Click);
+ this.labHomeText.MouseLeave += new System.EventHandler(this.panHome_MouseLeave);
+ this.labHomeText.MouseHover += new System.EventHandler(this.panHome_MouseHover);
+ //
+ // picIconHome
+ //
+ this.picIconHome.BackColor = System.Drawing.Color.Transparent;
+ this.picIconHome.BackgroundImage = global::Casic.Birmm.RbFreqStandMeasure.Properties.Resources.icon_home_selected;
+ this.picIconHome.BackgroundImageLayout = System.Windows.Forms.ImageLayout.Zoom;
+ this.picIconHome.Location = new System.Drawing.Point(10, 14);
+ this.picIconHome.Margin = new System.Windows.Forms.Padding(0);
+ this.picIconHome.Name = "picIconHome";
+ this.picIconHome.Size = new System.Drawing.Size(20, 20);
+ this.picIconHome.TabIndex = 1;
+ this.picIconHome.TabStop = false;
+ this.picIconHome.Click += new System.EventHandler(this.panHome_Click);
+ this.picIconHome.MouseLeave += new System.EventHandler(this.panHome_MouseLeave);
+ this.picIconHome.MouseHover += new System.EventHandler(this.panHome_MouseHover);
+ //
+ // labHomeSelected
+ //
+ this.labHomeSelected.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(18)))), ((int)(((byte)(150)))), ((int)(((byte)(219)))));
+ this.labHomeSelected.Location = new System.Drawing.Point(10, 48);
+ this.labHomeSelected.Name = "labHomeSelected";
+ this.labHomeSelected.Size = new System.Drawing.Size(55, 2);
+ this.labHomeSelected.TabIndex = 0;
+ //
+ // panMeasure
+ //
+ this.panMeasure.Back = System.Drawing.Color.Empty;
+ this.panMeasure.Controls.Add(this.labMeasureText);
+ this.panMeasure.Controls.Add(this.labMeasureSelected);
+ this.panMeasure.Controls.Add(this.picIconMeasure);
+ this.panMeasure.Location = new System.Drawing.Point(619, 0);
+ this.panMeasure.MatrixRound = 8;
+ this.panMeasure.Name = "panMeasure";
+ this.panMeasure.Size = new System.Drawing.Size(141, 50);
+ this.panMeasure.TabIndex = 2;
+ this.panMeasure.Click += new System.EventHandler(this.panMeasure_Click);
+ this.panMeasure.MouseLeave += new System.EventHandler(this.panMeasure_MouseLeave);
+ this.panMeasure.MouseHover += new System.EventHandler(this.panMeasure_MouseHover);
+ //
+ // labMeasureText
+ //
+ this.labMeasureText.BackColor = System.Drawing.Color.Transparent;
+ this.labMeasureText.Cursor = System.Windows.Forms.Cursors.Hand;
+ this.labMeasureText.Font = new System.Drawing.Font("微软雅黑", 16F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Pixel, ((byte)(134)));
+ this.labMeasureText.ForeColor = System.Drawing.SystemColors.ControlText;
+ this.labMeasureText.Location = new System.Drawing.Point(30, 14);
+ this.labMeasureText.Margin = new System.Windows.Forms.Padding(0);
+ this.labMeasureText.Name = "labMeasureText";
+ this.labMeasureText.Size = new System.Drawing.Size(106, 20);
+ this.labMeasureText.TabIndex = 2;
+ this.labMeasureText.Text = "计量信息管理";
+ this.labMeasureText.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
+ this.labMeasureText.Click += new System.EventHandler(this.panMeasure_Click);
+ this.labMeasureText.MouseLeave += new System.EventHandler(this.panMeasure_MouseLeave);
+ this.labMeasureText.MouseHover += new System.EventHandler(this.panMeasure_MouseHover);
+ //
+ // labMeasureSelected
+ //
+ this.labMeasureSelected.BackColor = System.Drawing.Color.Transparent;
+ this.labMeasureSelected.Location = new System.Drawing.Point(10, 48);
+ this.labMeasureSelected.Margin = new System.Windows.Forms.Padding(0);
+ this.labMeasureSelected.Name = "labMeasureSelected";
+ this.labMeasureSelected.Size = new System.Drawing.Size(121, 2);
+ this.labMeasureSelected.TabIndex = 3;
+ //
+ // picIconMeasure
+ //
+ this.picIconMeasure.BackColor = System.Drawing.Color.Transparent;
+ this.picIconMeasure.BackgroundImage = global::Casic.Birmm.RbFreqStandMeasure.Properties.Resources.icon_measure;
+ this.picIconMeasure.BackgroundImageLayout = System.Windows.Forms.ImageLayout.Zoom;
+ this.picIconMeasure.Location = new System.Drawing.Point(10, 14);
+ this.picIconMeasure.Name = "picIconMeasure";
+ this.picIconMeasure.Size = new System.Drawing.Size(20, 20);
+ this.picIconMeasure.TabIndex = 1;
+ this.picIconMeasure.TabStop = false;
+ this.picIconMeasure.Click += new System.EventHandler(this.panMeasure_Click);
+ this.picIconMeasure.MouseLeave += new System.EventHandler(this.panMeasure_MouseLeave);
+ this.picIconMeasure.MouseHover += new System.EventHandler(this.panMeasure_MouseHover);
+ //
+ // panCounter
+ //
+ this.panCounter.Back = System.Drawing.Color.Empty;
+ this.panCounter.Controls.Add(this.labCounterSelected);
+ this.panCounter.Controls.Add(this.labCounterText);
+ this.panCounter.Controls.Add(this.picIconCounter);
+ this.panCounter.Location = new System.Drawing.Point(360, 0);
+ this.panCounter.MatrixRound = 8;
+ this.panCounter.Name = "panCounter";
+ this.panCounter.Size = new System.Drawing.Size(254, 50);
+ this.panCounter.TabIndex = 2;
+ this.panCounter.Click += new System.EventHandler(this.panCounter_Click);
+ this.panCounter.MouseLeave += new System.EventHandler(this.panCounter_MouseLeave);
+ this.panCounter.MouseHover += new System.EventHandler(this.panCounter_MouseHover);
+ //
+ // labCounterSelected
+ //
+ this.labCounterSelected.BackColor = System.Drawing.Color.Transparent;
+ this.labCounterSelected.Location = new System.Drawing.Point(10, 48);
+ this.labCounterSelected.Margin = new System.Windows.Forms.Padding(0);
+ this.labCounterSelected.Name = "labCounterSelected";
+ this.labCounterSelected.Size = new System.Drawing.Size(233, 2);
+ this.labCounterSelected.TabIndex = 4;
+ //
+ // labCounterText
+ //
+ this.labCounterText.BackColor = System.Drawing.Color.Transparent;
+ this.labCounterText.Cursor = System.Windows.Forms.Cursors.Hand;
+ this.labCounterText.Font = new System.Drawing.Font("微软雅黑", 16F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Pixel, ((byte)(134)));
+ this.labCounterText.ForeColor = System.Drawing.SystemColors.ControlText;
+ this.labCounterText.Location = new System.Drawing.Point(30, 14);
+ this.labCounterText.Margin = new System.Windows.Forms.Padding(0);
+ this.labCounterText.Name = "labCounterText";
+ this.labCounterText.Size = new System.Drawing.Size(218, 20);
+ this.labCounterText.TabIndex = 2;
+ this.labCounterText.Text = "频率计数器范围及灵敏度测量";
+ this.labCounterText.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
+ this.labCounterText.Click += new System.EventHandler(this.panCounter_Click);
+ this.labCounterText.MouseLeave += new System.EventHandler(this.panCounter_MouseLeave);
+ this.labCounterText.MouseHover += new System.EventHandler(this.panCounter_MouseHover);
+ //
+ // picIconCounter
+ //
+ this.picIconCounter.BackColor = System.Drawing.Color.Transparent;
+ this.picIconCounter.BackgroundImage = global::Casic.Birmm.RbFreqStandMeasure.Properties.Resources.icon_counter;
+ this.picIconCounter.BackgroundImageLayout = System.Windows.Forms.ImageLayout.Zoom;
+ this.picIconCounter.Location = new System.Drawing.Point(10, 14);
+ this.picIconCounter.Name = "picIconCounter";
+ this.picIconCounter.Size = new System.Drawing.Size(20, 20);
+ this.picIconCounter.TabIndex = 1;
+ this.picIconCounter.TabStop = false;
+ this.picIconCounter.Click += new System.EventHandler(this.panCounter_Click);
+ this.picIconCounter.MouseLeave += new System.EventHandler(this.panCounter_MouseLeave);
+ this.picIconCounter.MouseHover += new System.EventHandler(this.panCounter_MouseHover);
+ //
+ // panelMain
+ //
+ this.panelMain.Location = new System.Drawing.Point(0, 114);
+ this.panelMain.Name = "panelMain";
+ this.panelMain.Size = new System.Drawing.Size(1024, 654);
+ this.panelMain.TabIndex = 2;
+ //
// RbFreqStdMeas
//
this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 12F);
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
this.ClientSize = new System.Drawing.Size(1024, 768);
+ this.Controls.Add(this.panelMain);
this.Controls.Add(this.panMenu);
this.Controls.Add(this.penBanner);
this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.None;
@@ -221,11 +560,21 @@
this.Text = "RbFreqStdMeas";
this.Load += new System.EventHandler(this.RbFreqStdMeas_Load);
this.panMenu.ResumeLayout(false);
+ this.penBanner.ResumeLayout(false);
+ this.panDev.ResumeLayout(false);
+ ((System.ComponentModel.ISupportInitialize)(this.picIconDev)).EndInit();
+ this.panSetting.ResumeLayout(false);
+ ((System.ComponentModel.ISupportInitialize)(this.picIconSetting)).EndInit();
this.panStatus.ResumeLayout(false);
((System.ComponentModel.ISupportInitialize)(this.picIconStatus)).EndInit();
+ this.panData.ResumeLayout(false);
+ ((System.ComponentModel.ISupportInitialize)(this.picIconData)).EndInit();
this.panHome.ResumeLayout(false);
((System.ComponentModel.ISupportInitialize)(this.picIconHome)).EndInit();
- this.penBanner.ResumeLayout(false);
+ this.panMeasure.ResumeLayout(false);
+ ((System.ComponentModel.ISupportInitialize)(this.picIconMeasure)).EndInit();
+ this.panCounter.ResumeLayout(false);
+ ((System.ComponentModel.ISupportInitialize)(this.picIconCounter)).EndInit();
this.ResumeLayout(false);
}
@@ -244,5 +593,27 @@
private RoundPanel panStatus;
private RoundPanel panHome;
private System.Windows.Forms.Label labStatusSelected;
+ private RoundPanel panDev;
+ private System.Windows.Forms.PictureBox picIconDev;
+ private System.Windows.Forms.Label labDevText;
+ private System.Windows.Forms.Label labMeasureSelected;
+ private RoundPanel panCounter;
+ private System.Windows.Forms.Label labCounterText;
+ private System.Windows.Forms.PictureBox picIconCounter;
+ private RoundPanel panMeasure;
+ private System.Windows.Forms.Label labMeasureText;
+ private System.Windows.Forms.PictureBox picIconMeasure;
+ private RoundPanel panData;
+ private System.Windows.Forms.Label labDataText;
+ private System.Windows.Forms.PictureBox picIconData;
+ private RoundPanel panSetting;
+ private System.Windows.Forms.Label labSettingText;
+ private System.Windows.Forms.PictureBox picIconSetting;
+ private System.Windows.Forms.Label labCounterSelected;
+ private System.Windows.Forms.Label labDevSelected;
+ private System.Windows.Forms.Label labDataSelected;
+ private System.Windows.Forms.Label labSettingSelected;
+ private System.Windows.Forms.Button btnMinSys;
+ private System.Windows.Forms.Panel panelMain;
}
}
\ No newline at end of file
diff --git a/RbFreqStandMeasure/RbFreqStdMeas.cs b/RbFreqStandMeasure/RbFreqStdMeas.cs
index 3858ddb..af980d7 100644
--- a/RbFreqStandMeasure/RbFreqStdMeas.cs
+++ b/RbFreqStandMeasure/RbFreqStdMeas.cs
@@ -1,13 +1,9 @@
-using Casic.Birmm.RbFreqStandMeasure.Properties;
+using Casic.Birmm.RbFreqStandMeasure.info;
+using Casic.Birmm.RbFreqStandMeasure.Properties;
+using Casic.Birmm.RbFreqStandMeasure.setting;
using System;
-using System.Collections.Generic;
-using System.ComponentModel;
-using System.Data;
using System.Drawing;
-using System.Linq;
-using System.Resources;
using System.Runtime.InteropServices;
-using System.Text;
using System.Windows.Forms;
namespace Casic.Birmm.RbFreqStandMeasure
@@ -15,7 +11,7 @@
public partial class RbFreqStdMeas : Form
{
- #region 无边框拖动效果
+ #region 无边框拖动效果/最小化窗口/关闭窗口
[DllImport("user32.dll")]//拖动无窗体的控件
public static extern bool ReleaseCapture();
[DllImport("user32.dll")]
@@ -30,9 +26,29 @@
ReleaseCapture();
SendMessage(this.Handle, WM_SYSCOMMAND, SC_MOVE + HTCAPTION, 0);
}
+ private void btnExitSys_Click(object sender, EventArgs e)
+ {
+ Application.Exit();
+ }
+ private void btnMinSys_Click(object sender, EventArgs e)
+ {
+ this.WindowState = FormWindowState.Minimized;
+ }
+ private void btnExitSys_MouseHover(object sender, EventArgs e)
+ {
+ ToolTip p = new ToolTip();
+ p.ShowAlways = true;
+ p.SetToolTip(this.btnExitSys, "退出");
+ }
+ private void btnMinSys_MouseHover(object sender, EventArgs e)
+ {
+ ToolTip p = new ToolTip();
+ p.ShowAlways = true;
+ p.SetToolTip(this.btnMinSys, "最小化");
+ }
#endregion
- private bool[] menuSelected = { true, false };
+ private bool[] menuSelected = { true, false, false, false, false, false, false };
// 按钮图标
private PictureBox[] menuPics;
// 按钮图标的资源名称(选中的资源名称在后面加上 _selected)
@@ -57,7 +73,7 @@
// 将当前按钮的效果设置为默认未选中
this.menuPics[index].BackgroundImage = (Bitmap)Resources.ResourceManager.GetObject(this.menuIconResources[index], null);
- this.menuLabels[index].ForeColor = ColorTranslator.FromHtml("#2C2C2C");
+ this.menuLabels[index].ForeColor = ColorTranslator.FromHtml("#333333");
this.menuUnderlines[index].BackColor = Color.Transparent;
}
@@ -79,13 +95,15 @@
LeaveHome();
// 重新设置所有按钮的状态
- this.menuSelected = new bool[] { true, false };
+ this.menuSelected = new bool[] { true, false, false, false, false, false, false };
// 将新选中的按钮设置为选中
this.picIconHome.BackgroundImage = (Bitmap)Resources.ResourceManager.GetObject("icon_home_selected", null);
- this.labHomeText.ForeColor = ColorTranslator.FromHtml("#1296db");
- this.labHomeSelected.BackColor = ColorTranslator.FromHtml("#1296db");
+ this.labHomeText.ForeColor = ColorTranslator.FromHtml("#3f84d7");
+ this.labHomeSelected.BackColor = ColorTranslator.FromHtml("#3f84d7");
+ // 切换至首页
+ switchMainPanel(0);
}
#endregion
@@ -107,12 +125,163 @@
LeaveStatus();
// 重新设置所有按钮的状态
- this.menuSelected = new bool[] { false, true };
+ this.menuSelected = new bool[] { false, true, false, false, false, false, false };
// 将新选中的按钮设置为选中
this.picIconStatus.BackgroundImage = (Bitmap) Resources.ResourceManager.GetObject("icon_status_selected", null);
- this.labStatusText.ForeColor = ColorTranslator.FromHtml("#1296db");
- this.labStatusSelected.BackColor = ColorTranslator.FromHtml("#1296db");
+ this.labStatusText.ForeColor = ColorTranslator.FromHtml("#3f84d7");
+ this.labStatusSelected.BackColor = ColorTranslator.FromHtml("#3f84d7");
+
+ // 切换到基准状态页面
+ switchMainPanel(1);
+ }
+ #endregion
+
+ #region 送检仪器按钮点击、移入/移出效果
+ private void HoverDev()
+ {
+ panDev.Back = ColorTranslator.FromHtml("#56a3f2");
+ }
+ private void LeaveDev()
+ {
+ panDev.Back = Color.Transparent;
+ }
+ private void SelectDev()
+ {
+ // 移除所有按钮的选中样式
+ this.ClearAllMenuSelected();
+
+ // 鼠标移入效果去掉
+ LeaveDev();
+
+ // 重新设置所有按钮的状态
+ this.menuSelected = new bool[] { false, false, true, false, false ,false ,false };
+
+ // 将新选中的按钮设置为选中
+ this.picIconDev.BackgroundImage = (Bitmap)Resources.ResourceManager.GetObject("icon_dev_selected", null);
+ this.labDevText.ForeColor = ColorTranslator.FromHtml("#3f84d7");
+ this.labDevSelected.BackColor = ColorTranslator.FromHtml("#3f84d7");
+
+ // 切换至待检仪器管理
+ switchMainPanel(2);
+ }
+ #endregion
+
+ #region 频率计数器测量点击、移入/移出效果
+ private void HoverCounter()
+ {
+ panCounter.Back = ColorTranslator.FromHtml("#56a3f2");
+ }
+ private void LeaveCounter()
+ {
+ panCounter.Back = Color.Transparent;
+ }
+ private void SelectCounter()
+ {
+ // 移除所有按钮的选中样式
+ this.ClearAllMenuSelected();
+
+ // 鼠标移入效果去掉
+ LeaveCounter();
+
+ // 重新设置所有按钮的状态
+ this.menuSelected = new bool[] { false, false, false, true, false, false, false };
+
+ // 将新选中的按钮设置为选中
+ this.picIconCounter.BackgroundImage = (Bitmap)Resources.ResourceManager.GetObject("icon_counter_selected", null);
+ this.labCounterText.ForeColor = ColorTranslator.FromHtml("#3f84d7");
+ this.labCounterSelected.BackColor = ColorTranslator.FromHtml("#3f84d7");
+ }
+ #endregion
+
+ #region 计量管理点击、移入/移出效果
+ private void HoverMeasure()
+ {
+ panMeasure.Back = ColorTranslator.FromHtml("#56a3f2");
+ }
+ private void LeaveMeasure()
+ {
+ panMeasure.Back = Color.Transparent;
+ }
+ private void SelectMeasure()
+ {
+ // 移除所有按钮的选中样式
+ this.ClearAllMenuSelected();
+
+ // 鼠标移入效果去掉
+ LeaveMeasure();
+
+ // 重新设置所有按钮的状态
+ this.menuSelected = new bool[] { false, false, false, false, true, false, false };
+
+ // 将新选中的按钮设置为选中
+ this.picIconMeasure.BackgroundImage = (Bitmap)Resources.ResourceManager.GetObject("icon_measure_selected", null);
+ this.labMeasureText.ForeColor = ColorTranslator.FromHtml("#3f84d7");
+ this.labMeasureSelected.BackColor = ColorTranslator.FromHtml("#3f84d7");
+
+ // 切换至计量信息管理
+ switchMainPanel(4);
+ }
+ #endregion
+
+ #region 数据管理点击、移入/移出效果
+ private void HoverData()
+ {
+ panData.Back = ColorTranslator.FromHtml("#56a3f2");
+ }
+ private void LeaveData()
+ {
+ panData.Back = Color.Transparent;
+ }
+ private void SelectData()
+ {
+ // 移除所有按钮的选中样式
+ this.ClearAllMenuSelected();
+
+ // 鼠标移入效果去掉
+ LeaveData();
+
+ // 重新设置所有按钮的状态
+ this.menuSelected = new bool[] { false, false, false, false, false, true, false };
+
+ // 将新选中的按钮设置为选中
+ this.picIconData.BackgroundImage = (Bitmap)Resources.ResourceManager.GetObject("icon_data_selected", null);
+ this.labDataText.ForeColor = ColorTranslator.FromHtml("#3f84d7");
+ this.labDataSelected.BackColor = ColorTranslator.FromHtml("#3f84d7");
+
+ // 弹出对话框进行数据备份与还原操作
+ DataBackupDlg dataDlg = new DataBackupDlg();
+ dataDlg.ShowDialog();
+ }
+ #endregion
+
+ #region 系统管理点击、移入/移出效果
+ private void HoverSetting()
+ {
+ panSetting.Back = ColorTranslator.FromHtml("#56a3f2");
+ }
+ private void LeaveSetting()
+ {
+ panSetting.Back = Color.Transparent;
+ }
+ private void SelectSetting()
+ {
+ // 移除所有按钮的选中样式
+ this.ClearAllMenuSelected();
+
+ // 鼠标移入效果去掉
+ LeaveSetting();
+
+ // 重新设置所有按钮的状态
+ this.menuSelected = new bool[] { false, false, false, false, false, false, true };
+
+ // 将新选中的按钮设置为选中
+ this.picIconSetting.BackgroundImage = (Bitmap)Resources.ResourceManager.GetObject("icon_setting_selected", null);
+ this.labSettingText.ForeColor = ColorTranslator.FromHtml("#3f84d7");
+ this.labSettingSelected.BackColor = ColorTranslator.FromHtml("#3f84d7");
+
+ // 切换到设置的界面
+ switchMainPanel(6);
}
#endregion
@@ -123,22 +292,13 @@
private void RbFreqStdMeas_Load(object sender, EventArgs e)
{
- this.menuPics = new PictureBox[] { this.picIconHome, this.picIconStatus };
- this.menuLabels = new Label[] { this.labHomeText, this.labStatusText };
- this.menuUnderlines = new Label[] { this.labHomeSelected, this.labStatusSelected };
- this.menuIconResources = new string[] { "icon_home", "icon_status" };
- }
+ this.menuPics = new PictureBox[] { this.picIconHome, this.picIconStatus, this.picIconDev, this.picIconCounter, this.picIconMeasure, this.picIconData, this.picIconSetting };
+ this.menuLabels = new Label[] { this.labHomeText, this.labStatusText, this.labDevText, this.labCounterText, this.labMeasureText, this.labDataText, this.labSettingText };
+ this.menuUnderlines = new Label[] { this.labHomeSelected, this.labStatusSelected, this.labDevSelected, this.labCounterSelected, this.labMeasureSelected, this.labDataSelected, this.labSettingSelected };
+ this.menuIconResources = new string[] { "icon_home", "icon_status", "icon_dev", "icon_counter", "icon_measure", "icon_data", "icon_setting" };
- private void btnExitSys_Click(object sender, EventArgs e)
- {
- Application.Exit();
- }
-
- private void btnExitSys_MouseHover(object sender, EventArgs e)
- {
- ToolTip p = new ToolTip();
- p.ShowAlways = true;
- p.SetToolTip(this.btnExitSys, "退出");
+ // 加载首页的内容
+ switchMainPanel(0);
}
private void panHome_Click(object sender, EventArgs e)
@@ -191,5 +351,169 @@
LeaveStatus();
}
}
+
+ private void panDev_Click(object sender, EventArgs e)
+ {
+ if (this.menuSelected[2] == false)
+ {
+ SelectDev();
+ }
+ }
+
+ private void panDev_MouseHover(object sender, EventArgs e)
+ {
+ if (this.menuSelected[2] == false)
+ {
+ HoverDev();
+ }
+ }
+
+ private void panDev_MouseLeave(object sender, EventArgs e)
+ {
+ if (this.menuSelected[2] == false)
+ {
+ LeaveDev();
+ }
+ }
+
+ private void panCounter_Click(object sender, EventArgs e)
+ {
+ if (this.menuSelected[3] == false)
+ {
+ SelectCounter();
+ }
+ }
+
+ private void panCounter_MouseHover(object sender, EventArgs e)
+ {
+ if (this.menuSelected[3] == false)
+ {
+ HoverCounter();
+ }
+ }
+
+ private void panCounter_MouseLeave(object sender, EventArgs e)
+ {
+ if (this.menuSelected[3] == false)
+ {
+ LeaveCounter();
+ }
+ }
+
+ private void panMeasure_Click(object sender, EventArgs e)
+ {
+ if (this.menuSelected[4] == false)
+ {
+ SelectMeasure();
+ }
+ }
+
+ private void panMeasure_MouseHover(object sender, EventArgs e)
+ {
+ if (this.menuSelected[4] == false)
+ {
+ HoverMeasure();
+ }
+ }
+
+ private void panMeasure_MouseLeave(object sender, EventArgs e)
+ {
+ if (this.menuSelected[4] == false)
+ {
+ LeaveMeasure();
+ }
+ }
+
+ private void panData_Click(object sender, EventArgs e)
+ {
+ if (this.menuSelected[5] == false)
+ {
+ SelectData();
+ }
+ }
+
+ private void panData_MouseHover(object sender, EventArgs e)
+ {
+ if (this.menuSelected[5] == false)
+ {
+ HoverData();
+ }
+ }
+
+ private void panData_MouseLeave(object sender, EventArgs e)
+ {
+ if (this.menuSelected[5] == false)
+ {
+ LeaveData();
+ }
+ }
+
+ private void panSetting_Click(object sender, EventArgs e)
+ {
+ if (this.menuSelected[6] == false)
+ {
+ SelectSetting();
+ }
+ }
+
+ private void panSetting_MouseHover(object sender, EventArgs e)
+ {
+ if (this.menuSelected[6] == false)
+ {
+ HoverSetting();
+ }
+ }
+
+ private void panSetting_MouseLeave(object sender, EventArgs e)
+ {
+ if (this.menuSelected[6] == false)
+ {
+ LeaveSetting();
+ }
+ }
+
+ private void switchMainPanel(int index)
+ {
+ this.panelMain.Controls.Clear();
+
+ switch (index)
+ {
+ case 0: // 首页
+ HomeCtrlForm home = new HomeCtrlForm();
+ home.Show();
+ this.panelMain.Controls.Add(home);
+ break;
+
+ case 1: // 基准状态
+ StatusCtrlForm statusForm = new StatusCtrlForm();
+ statusForm.Show();
+ this.panelMain.Controls.Add(statusForm);
+ break;
+
+ case 2: // 待检设备
+ InfoCtrlForm infoForm = new InfoCtrlForm();
+ infoForm.Show();
+ this.panelMain.Controls.Add(infoForm);
+ break;
+
+ case 3: // 频率计数器范围
+ break;
+
+ case 4: // 计量信息
+ DevTestedCtrlForm tested = new DevTestedCtrlForm();
+ tested.Show();
+ this.panelMain.Controls.Add(tested);
+ break;
+
+ case 6: // 设置
+ SettingCtrlForm settingForm = new SettingCtrlForm();
+ settingForm.Show();
+ this.panelMain.Controls.Add(settingForm);
+ break;
+
+ default:
+ break;
+ }
+ }
}
}
\ No newline at end of file
diff --git a/RbFreqStandMeasure/StatusCtrlForm.Designer.cs b/RbFreqStandMeasure/StatusCtrlForm.Designer.cs
index bf5071a..b4151fd 100644
--- a/RbFreqStandMeasure/StatusCtrlForm.Designer.cs
+++ b/RbFreqStandMeasure/StatusCtrlForm.Designer.cs
@@ -31,21 +31,34 @@
{
this.panelSite = new System.Windows.Forms.Panel();
this.label5 = new System.Windows.Forms.Label();
- this.panelStatus = new System.Windows.Forms.Panel();
+ this.panel3 = new System.Windows.Forms.Panel();
+ this.label8 = new System.Windows.Forms.Label();
+ this.label13 = new System.Windows.Forms.Label();
+ this.label12 = new System.Windows.Forms.Label();
+ this.label11 = new System.Windows.Forms.Label();
+ this.label9 = new System.Windows.Forms.Label();
+ this.label10 = new System.Windows.Forms.Label();
+ this.panel2 = new System.Windows.Forms.Panel();
this.label4 = new System.Windows.Forms.Label();
+ this.label7 = new System.Windows.Forms.Label();
+ this.label6 = new System.Windows.Forms.Label();
+ this.label1 = new System.Windows.Forms.Label();
+ this.panel1 = new System.Windows.Forms.Panel();
this.label3 = new System.Windows.Forms.Label();
this.label2 = new System.Windows.Forms.Label();
- this.label1 = new System.Windows.Forms.Label();
+ this.label14 = new System.Windows.Forms.Label();
this.panelSite.SuspendLayout();
- this.panelStatus.SuspendLayout();
+ this.panel3.SuspendLayout();
+ this.panel2.SuspendLayout();
+ this.panel1.SuspendLayout();
this.SuspendLayout();
//
// panelSite
//
this.panelSite.Controls.Add(this.label5);
- this.panelSite.Location = new System.Drawing.Point(200, 0);
+ this.panelSite.Location = new System.Drawing.Point(232, 0);
this.panelSite.Name = "panelSite";
- this.panelSite.Size = new System.Drawing.Size(800, 640);
+ this.panelSite.Size = new System.Drawing.Size(773, 640);
this.panelSite.TabIndex = 3;
//
// label5
@@ -57,67 +70,208 @@
this.label5.TabIndex = 0;
this.label5.Text = "卫星位置图";
//
- // panelStatus
+ // panel3
//
- this.panelStatus.BackColor = System.Drawing.SystemColors.Window;
- this.panelStatus.Controls.Add(this.label4);
- this.panelStatus.Controls.Add(this.label3);
- this.panelStatus.Controls.Add(this.label2);
- this.panelStatus.Controls.Add(this.label1);
- this.panelStatus.Location = new System.Drawing.Point(0, 0);
- this.panelStatus.Name = "panelStatus";
- this.panelStatus.Size = new System.Drawing.Size(200, 640);
- this.panelStatus.TabIndex = 2;
+ this.panel3.BackgroundImage = global::Casic.Birmm.RbFreqStandMeasure.Properties.Resources.bg_status_location;
+ this.panel3.Controls.Add(this.label8);
+ this.panel3.Controls.Add(this.label13);
+ this.panel3.Controls.Add(this.label12);
+ this.panel3.Controls.Add(this.label11);
+ this.panel3.Controls.Add(this.label9);
+ this.panel3.Controls.Add(this.label10);
+ this.panel3.Location = new System.Drawing.Point(6, 360);
+ this.panel3.Name = "panel3";
+ this.panel3.Size = new System.Drawing.Size(224, 293);
+ this.panel3.TabIndex = 6;
+ //
+ // label8
+ //
+ this.label8.BackColor = System.Drawing.Color.Transparent;
+ this.label8.Font = new System.Drawing.Font("微软雅黑", 14F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Pixel, ((byte)(134)));
+ this.label8.Location = new System.Drawing.Point(0, 20);
+ this.label8.Name = "label8";
+ this.label8.Size = new System.Drawing.Size(224, 25);
+ this.label8.TabIndex = 0;
+ this.label8.Text = "位置信息";
+ this.label8.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
+ //
+ // label13
+ //
+ this.label13.BackColor = System.Drawing.Color.Transparent;
+ this.label13.Font = new System.Drawing.Font("微软雅黑", 14F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Pixel, ((byte)(134)));
+ this.label13.Location = new System.Drawing.Point(0, 220);
+ this.label13.Margin = new System.Windows.Forms.Padding(0);
+ this.label13.Name = "label13";
+ this.label13.Size = new System.Drawing.Size(75, 25);
+ this.label13.TabIndex = 1;
+ this.label13.Text = "Z";
+ this.label13.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
+ //
+ // label12
+ //
+ this.label12.BackColor = System.Drawing.Color.Transparent;
+ this.label12.Font = new System.Drawing.Font("微软雅黑", 14F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Pixel, ((byte)(134)));
+ this.label12.Location = new System.Drawing.Point(0, 180);
+ this.label12.Margin = new System.Windows.Forms.Padding(0);
+ this.label12.Name = "label12";
+ this.label12.Size = new System.Drawing.Size(75, 25);
+ this.label12.TabIndex = 1;
+ this.label12.Text = "Y";
+ this.label12.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
+ //
+ // label11
+ //
+ this.label11.BackColor = System.Drawing.Color.Transparent;
+ this.label11.Font = new System.Drawing.Font("微软雅黑", 14F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Pixel, ((byte)(134)));
+ this.label11.Location = new System.Drawing.Point(0, 140);
+ this.label11.Margin = new System.Windows.Forms.Padding(0);
+ this.label11.Name = "label11";
+ this.label11.Size = new System.Drawing.Size(75, 25);
+ this.label11.TabIndex = 1;
+ this.label11.Text = "X";
+ this.label11.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
+ //
+ // label9
+ //
+ this.label9.BackColor = System.Drawing.Color.Transparent;
+ this.label9.Font = new System.Drawing.Font("微软雅黑", 14F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Pixel, ((byte)(134)));
+ this.label9.Location = new System.Drawing.Point(0, 60);
+ this.label9.Name = "label9";
+ this.label9.Size = new System.Drawing.Size(75, 25);
+ this.label9.TabIndex = 1;
+ this.label9.Text = "经度";
+ this.label9.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
+ //
+ // label10
+ //
+ this.label10.BackColor = System.Drawing.Color.Transparent;
+ this.label10.Font = new System.Drawing.Font("微软雅黑", 14F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Pixel, ((byte)(134)));
+ this.label10.Location = new System.Drawing.Point(0, 100);
+ this.label10.Margin = new System.Windows.Forms.Padding(0);
+ this.label10.Name = "label10";
+ this.label10.Size = new System.Drawing.Size(75, 25);
+ this.label10.TabIndex = 1;
+ this.label10.Text = "纬度";
+ this.label10.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
+ //
+ // panel2
+ //
+ this.panel2.BackgroundImage = global::Casic.Birmm.RbFreqStandMeasure.Properties.Resources.bg_status_time;
+ this.panel2.Controls.Add(this.label4);
+ this.panel2.Controls.Add(this.label7);
+ this.panel2.Controls.Add(this.label6);
+ this.panel2.Controls.Add(this.label1);
+ this.panel2.Location = new System.Drawing.Point(6, 160);
+ this.panel2.Name = "panel2";
+ this.panel2.Size = new System.Drawing.Size(224, 200);
+ this.panel2.TabIndex = 5;
//
// label4
//
- this.label4.AutoSize = true;
- this.label4.Location = new System.Drawing.Point(59, 185);
+ this.label4.BackColor = System.Drawing.Color.Transparent;
+ this.label4.Font = new System.Drawing.Font("微软雅黑", 14F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Pixel, ((byte)(134)));
+ this.label4.Location = new System.Drawing.Point(0, 20);
this.label4.Name = "label4";
- this.label4.Size = new System.Drawing.Size(53, 12);
+ this.label4.Size = new System.Drawing.Size(224, 25);
this.label4.TabIndex = 0;
- this.label4.Text = "事件信息";
+ this.label4.Text = "时间信息";
+ this.label4.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
//
- // label3
+ // label7
//
- this.label3.AutoSize = true;
- this.label3.Location = new System.Drawing.Point(59, 139);
- this.label3.Name = "label3";
- this.label3.Size = new System.Drawing.Size(53, 12);
- this.label3.TabIndex = 0;
- this.label3.Text = "位置信息";
+ this.label7.BackColor = System.Drawing.Color.Transparent;
+ this.label7.Font = new System.Drawing.Font("微软雅黑", 14F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Pixel, ((byte)(134)));
+ this.label7.Location = new System.Drawing.Point(0, 140);
+ this.label7.Margin = new System.Windows.Forms.Padding(0);
+ this.label7.Name = "label7";
+ this.label7.Size = new System.Drawing.Size(75, 25);
+ this.label7.TabIndex = 1;
+ this.label7.Text = "MJD";
+ this.label7.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
//
- // label2
+ // label6
//
- this.label2.AutoSize = true;
- this.label2.Location = new System.Drawing.Point(59, 98);
- this.label2.Name = "label2";
- this.label2.Size = new System.Drawing.Size(53, 12);
- this.label2.TabIndex = 0;
- this.label2.Text = "锁定状态";
+ this.label6.BackColor = System.Drawing.Color.Transparent;
+ this.label6.Font = new System.Drawing.Font("微软雅黑", 14F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Pixel, ((byte)(134)));
+ this.label6.Location = new System.Drawing.Point(0, 100);
+ this.label6.Name = "label6";
+ this.label6.Size = new System.Drawing.Size(75, 25);
+ this.label6.TabIndex = 1;
+ this.label6.Text = "时间";
+ this.label6.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
//
// label1
//
- this.label1.AutoSize = true;
- this.label1.Location = new System.Drawing.Point(33, 53);
+ this.label1.BackColor = System.Drawing.Color.Transparent;
+ this.label1.Font = new System.Drawing.Font("微软雅黑", 14F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Pixel, ((byte)(134)));
+ this.label1.Location = new System.Drawing.Point(0, 60);
this.label1.Name = "label1";
- this.label1.Size = new System.Drawing.Size(29, 12);
- this.label1.TabIndex = 0;
- this.label1.Text = "状态";
+ this.label1.Size = new System.Drawing.Size(75, 25);
+ this.label1.TabIndex = 1;
+ this.label1.Text = "日期";
+ this.label1.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
+ //
+ // panel1
+ //
+ this.panel1.BackgroundImage = global::Casic.Birmm.RbFreqStandMeasure.Properties.Resources.bg_status_base;
+ this.panel1.Controls.Add(this.label3);
+ this.panel1.Controls.Add(this.label2);
+ this.panel1.Controls.Add(this.label14);
+ this.panel1.Location = new System.Drawing.Point(6, 0);
+ this.panel1.Margin = new System.Windows.Forms.Padding(0);
+ this.panel1.Name = "panel1";
+ this.panel1.Size = new System.Drawing.Size(224, 160);
+ this.panel1.TabIndex = 4;
+ //
+ // label3
+ //
+ this.label3.BackColor = System.Drawing.Color.Transparent;
+ this.label3.Font = new System.Drawing.Font("微软雅黑", 14F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Pixel, ((byte)(134)));
+ this.label3.Location = new System.Drawing.Point(0, 100);
+ this.label3.Name = "label3";
+ this.label3.Size = new System.Drawing.Size(75, 25);
+ this.label3.TabIndex = 1;
+ this.label3.Text = "接收机";
+ this.label3.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
+ //
+ // label2
+ //
+ this.label2.BackColor = System.Drawing.Color.Transparent;
+ this.label2.Font = new System.Drawing.Font("微软雅黑", 14F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Pixel, ((byte)(134)));
+ this.label2.Location = new System.Drawing.Point(0, 60);
+ this.label2.Name = "label2";
+ this.label2.Size = new System.Drawing.Size(75, 25);
+ this.label2.TabIndex = 1;
+ this.label2.Text = "原子钟";
+ this.label2.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
+ //
+ // label14
+ //
+ this.label14.BackColor = System.Drawing.Color.Transparent;
+ this.label14.Font = new System.Drawing.Font("微软雅黑", 14F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Pixel, ((byte)(134)));
+ this.label14.Location = new System.Drawing.Point(0, 20);
+ this.label14.Name = "label14";
+ this.label14.Size = new System.Drawing.Size(224, 25);
+ this.label14.TabIndex = 0;
+ this.label14.Text = "基本信息";
+ this.label14.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
//
// StatusCtrlForm
//
this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 12F);
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
+ this.Controls.Add(this.panel3);
+ this.Controls.Add(this.panel2);
+ this.Controls.Add(this.panel1);
this.Controls.Add(this.panelSite);
- this.Controls.Add(this.panelStatus);
this.Margin = new System.Windows.Forms.Padding(10);
this.Name = "StatusCtrlForm";
- this.Size = new System.Drawing.Size(1000, 640);
+ this.Size = new System.Drawing.Size(1024, 654);
this.panelSite.ResumeLayout(false);
this.panelSite.PerformLayout();
- this.panelStatus.ResumeLayout(false);
- this.panelStatus.PerformLayout();
+ this.panel3.ResumeLayout(false);
+ this.panel2.ResumeLayout(false);
+ this.panel1.ResumeLayout(false);
this.ResumeLayout(false);
}
@@ -126,10 +280,21 @@
private System.Windows.Forms.Panel panelSite;
private System.Windows.Forms.Label label5;
- private System.Windows.Forms.Panel panelStatus;
+ private System.Windows.Forms.Panel panel3;
+ private System.Windows.Forms.Label label8;
+ private System.Windows.Forms.Label label13;
+ private System.Windows.Forms.Label label12;
+ private System.Windows.Forms.Label label11;
+ private System.Windows.Forms.Label label9;
+ private System.Windows.Forms.Label label10;
+ private System.Windows.Forms.Panel panel2;
private System.Windows.Forms.Label label4;
+ private System.Windows.Forms.Label label7;
+ private System.Windows.Forms.Label label6;
+ private System.Windows.Forms.Label label1;
+ private System.Windows.Forms.Panel panel1;
private System.Windows.Forms.Label label3;
private System.Windows.Forms.Label label2;
- private System.Windows.Forms.Label label1;
+ private System.Windows.Forms.Label label14;
}
}
diff --git a/RbFreqStandMeasure/res/images/bg_banner.png b/RbFreqStandMeasure/res/images/bg_banner.png
index d795b7d..3119070 100644
--- a/RbFreqStandMeasure/res/images/bg_banner.png
+++ b/RbFreqStandMeasure/res/images/bg_banner.png
Binary files differ
diff --git a/RbFreqStandMeasure/res/images/bg_dev_channel.png b/RbFreqStandMeasure/res/images/bg_dev_channel.png
new file mode 100644
index 0000000..7bac7ce
--- /dev/null
+++ b/RbFreqStandMeasure/res/images/bg_dev_channel.png
Binary files differ
diff --git a/RbFreqStandMeasure/res/images/bg_dev_tested.png b/RbFreqStandMeasure/res/images/bg_dev_tested.png
new file mode 100644
index 0000000..0b43ead
--- /dev/null
+++ b/RbFreqStandMeasure/res/images/bg_dev_tested.png
Binary files differ
diff --git a/RbFreqStandMeasure/res/images/bg_status_base.png b/RbFreqStandMeasure/res/images/bg_status_base.png
new file mode 100644
index 0000000..ef11397
--- /dev/null
+++ b/RbFreqStandMeasure/res/images/bg_status_base.png
Binary files differ
diff --git a/RbFreqStandMeasure/res/images/bg_status_location.png b/RbFreqStandMeasure/res/images/bg_status_location.png
new file mode 100644
index 0000000..64d28d5
--- /dev/null
+++ b/RbFreqStandMeasure/res/images/bg_status_location.png
Binary files differ
diff --git a/RbFreqStandMeasure/res/images/bg_status_time.png b/RbFreqStandMeasure/res/images/bg_status_time.png
new file mode 100644
index 0000000..eec981a
--- /dev/null
+++ b/RbFreqStandMeasure/res/images/bg_status_time.png
Binary files differ
diff --git a/RbFreqStandMeasure/res/images/icon_counter.png b/RbFreqStandMeasure/res/images/icon_counter.png
new file mode 100644
index 0000000..060c3d7
--- /dev/null
+++ b/RbFreqStandMeasure/res/images/icon_counter.png
Binary files differ
diff --git a/RbFreqStandMeasure/HomeCtrlForm.Designer.cs b/RbFreqStandMeasure/HomeCtrlForm.Designer.cs
index fb515f8..73e477a 100644
--- a/RbFreqStandMeasure/HomeCtrlForm.Designer.cs
+++ b/RbFreqStandMeasure/HomeCtrlForm.Designer.cs
@@ -29,589 +29,271 @@
///
private void InitializeComponent()
{
- System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle1 = new System.Windows.Forms.DataGridViewCellStyle();
- System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle2 = new System.Windows.Forms.DataGridViewCellStyle();
- this.panelToBeTested = new System.Windows.Forms.Panel();
- this.dataGridViewX1 = new DevComponents.DotNetBar.Controls.DataGridViewX();
- this.Column13 = new System.Windows.Forms.DataGridViewTextBoxColumn();
- this.Column14 = new System.Windows.Forms.DataGridViewTextBoxColumn();
- this.Column15 = new System.Windows.Forms.DataGridViewTextBoxColumn();
- this.Column16 = new System.Windows.Forms.DataGridViewTextBoxColumn();
- this.Column17 = new System.Windows.Forms.DataGridViewTextBoxColumn();
- this.panelEx1 = new DevComponents.DotNetBar.PanelEx();
- this.labelX6 = new DevComponents.DotNetBar.LabelX();
- this.labelX5 = new DevComponents.DotNetBar.LabelX();
- this.labelX4 = new DevComponents.DotNetBar.LabelX();
- this.labelX3 = new DevComponents.DotNetBar.LabelX();
- this.labelX2 = new DevComponents.DotNetBar.LabelX();
- this.labelX1 = new DevComponents.DotNetBar.LabelX();
- this.panelEx2 = new DevComponents.DotNetBar.PanelEx();
- this.labelX7 = new DevComponents.DotNetBar.LabelX();
- this.labelX8 = new DevComponents.DotNetBar.LabelX();
- this.labelX10 = new DevComponents.DotNetBar.LabelX();
- this.labelX9 = new DevComponents.DotNetBar.LabelX();
- this.panelEx3 = new DevComponents.DotNetBar.PanelEx();
- this.labelX11 = new DevComponents.DotNetBar.LabelX();
- this.labelX13 = new DevComponents.DotNetBar.LabelX();
- this.labelX12 = new DevComponents.DotNetBar.LabelX();
- this.panelEx4 = new DevComponents.DotNetBar.PanelEx();
- this.dataGridViewX2 = new DevComponents.DotNetBar.Controls.DataGridViewX();
- this.Column18 = new System.Windows.Forms.DataGridViewTextBoxColumn();
- this.Column19 = new System.Windows.Forms.DataGridViewTextBoxColumn();
- this.Column20 = new System.Windows.Forms.DataGridViewTextBoxColumn();
- this.Column21 = new System.Windows.Forms.DataGridViewTextBoxColumn();
- this.Column22 = new System.Windows.Forms.DataGridViewTextBoxColumn();
- this.Column23 = new System.Windows.Forms.DataGridViewTextBoxColumn();
- this.Column24 = new System.Windows.Forms.DataGridViewTextBoxColumn();
- this.Column25 = new System.Windows.Forms.DataGridViewTextBoxColumn();
- this.Column26 = new System.Windows.Forms.DataGridViewTextBoxColumn();
- this.Column27 = new System.Windows.Forms.DataGridViewTextBoxColumn();
- this.Column28 = new System.Windows.Forms.DataGridViewTextBoxColumn();
- this.Column29 = new System.Windows.Forms.DataGridViewTextBoxColumn();
- this.buttonX1 = new DevComponents.DotNetBar.ButtonX();
- this.buttonX2 = new DevComponents.DotNetBar.ButtonX();
+ this.panel3 = new System.Windows.Forms.Panel();
+ this.panel2 = new System.Windows.Forms.Panel();
+ this.panel1 = new System.Windows.Forms.Panel();
+ this.panel4 = new System.Windows.Forms.Panel();
+ this.panel5 = new System.Windows.Forms.Panel();
this.label1 = new System.Windows.Forms.Label();
this.label2 = new System.Windows.Forms.Label();
- this.panelToBeTested.SuspendLayout();
- ((System.ComponentModel.ISupportInitialize)(this.dataGridViewX1)).BeginInit();
- this.panelEx1.SuspendLayout();
- this.panelEx2.SuspendLayout();
- this.panelEx3.SuspendLayout();
- this.panelEx4.SuspendLayout();
- ((System.ComponentModel.ISupportInitialize)(this.dataGridViewX2)).BeginInit();
+ this.label3 = new System.Windows.Forms.Label();
+ this.label4 = new System.Windows.Forms.Label();
+ this.label5 = new System.Windows.Forms.Label();
+ this.label6 = new System.Windows.Forms.Label();
+ this.label7 = new System.Windows.Forms.Label();
+ this.label8 = new System.Windows.Forms.Label();
+ this.label9 = new System.Windows.Forms.Label();
+ this.label10 = new System.Windows.Forms.Label();
+ this.label11 = new System.Windows.Forms.Label();
+ this.label12 = new System.Windows.Forms.Label();
+ this.label13 = new System.Windows.Forms.Label();
+ this.panel3.SuspendLayout();
+ this.panel2.SuspendLayout();
+ this.panel1.SuspendLayout();
this.SuspendLayout();
//
- // panelToBeTested
+ // panel3
//
- this.panelToBeTested.Controls.Add(this.dataGridViewX1);
- this.panelToBeTested.Controls.Add(this.buttonX2);
- this.panelToBeTested.Controls.Add(this.buttonX1);
- this.panelToBeTested.Location = new System.Drawing.Point(250, 0);
- this.panelToBeTested.Name = "panelToBeTested";
- this.panelToBeTested.Size = new System.Drawing.Size(750, 216);
- this.panelToBeTested.TabIndex = 4;
+ this.panel3.BackgroundImage = global::Casic.Birmm.RbFreqStandMeasure.Properties.Resources.bg_status_location;
+ this.panel3.Controls.Add(this.label8);
+ this.panel3.Controls.Add(this.label13);
+ this.panel3.Controls.Add(this.label12);
+ this.panel3.Controls.Add(this.label11);
+ this.panel3.Controls.Add(this.label9);
+ this.panel3.Controls.Add(this.label10);
+ this.panel3.Location = new System.Drawing.Point(6, 360);
+ this.panel3.Name = "panel3";
+ this.panel3.Size = new System.Drawing.Size(224, 293);
+ this.panel3.TabIndex = 2;
//
- // dataGridViewX1
+ // panel2
//
- this.dataGridViewX1.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.AutoSize;
- this.dataGridViewX1.Columns.AddRange(new System.Windows.Forms.DataGridViewColumn[] {
- this.Column13,
- this.Column14,
- this.Column15,
- this.Column16,
- this.Column17});
- dataGridViewCellStyle1.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleLeft;
- dataGridViewCellStyle1.BackColor = System.Drawing.SystemColors.Window;
- dataGridViewCellStyle1.Font = new System.Drawing.Font("宋体", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
- dataGridViewCellStyle1.ForeColor = System.Drawing.SystemColors.ControlText;
- dataGridViewCellStyle1.SelectionBackColor = System.Drawing.SystemColors.Highlight;
- dataGridViewCellStyle1.SelectionForeColor = System.Drawing.SystemColors.ControlText;
- dataGridViewCellStyle1.WrapMode = System.Windows.Forms.DataGridViewTriState.False;
- this.dataGridViewX1.DefaultCellStyle = dataGridViewCellStyle1;
- this.dataGridViewX1.GridColor = System.Drawing.Color.FromArgb(((int)(((byte)(208)))), ((int)(((byte)(215)))), ((int)(((byte)(229)))));
- this.dataGridViewX1.Location = new System.Drawing.Point(0, 1);
- this.dataGridViewX1.Name = "dataGridViewX1";
- this.dataGridViewX1.RowTemplate.Height = 23;
- this.dataGridViewX1.Size = new System.Drawing.Size(750, 179);
- this.dataGridViewX1.TabIndex = 14;
+ this.panel2.BackgroundImage = global::Casic.Birmm.RbFreqStandMeasure.Properties.Resources.bg_status_time;
+ this.panel2.Controls.Add(this.label4);
+ this.panel2.Controls.Add(this.label7);
+ this.panel2.Controls.Add(this.label6);
+ this.panel2.Controls.Add(this.label5);
+ this.panel2.Location = new System.Drawing.Point(6, 160);
+ this.panel2.Name = "panel2";
+ this.panel2.Size = new System.Drawing.Size(224, 200);
+ this.panel2.TabIndex = 1;
//
- // Column13
+ // panel1
//
- this.Column13.HeaderText = "仪器名称";
- this.Column13.Name = "Column13";
+ this.panel1.BackgroundImage = global::Casic.Birmm.RbFreqStandMeasure.Properties.Resources.bg_status_base;
+ this.panel1.Controls.Add(this.label3);
+ this.panel1.Controls.Add(this.label2);
+ this.panel1.Controls.Add(this.label1);
+ this.panel1.Location = new System.Drawing.Point(6, 0);
+ this.panel1.Margin = new System.Windows.Forms.Padding(0);
+ this.panel1.Name = "panel1";
+ this.panel1.Size = new System.Drawing.Size(224, 160);
+ this.panel1.TabIndex = 0;
//
- // Column14
+ // panel4
//
- this.Column14.HeaderText = "仪器类型";
- this.Column14.Name = "Column14";
+ this.panel4.BackgroundImage = global::Casic.Birmm.RbFreqStandMeasure.Properties.Resources.bg_dev_tested;
+ this.panel4.Location = new System.Drawing.Point(230, 0);
+ this.panel4.Margin = new System.Windows.Forms.Padding(0);
+ this.panel4.Name = "panel4";
+ this.panel4.Size = new System.Drawing.Size(788, 226);
+ this.panel4.TabIndex = 3;
//
- // Column15
+ // panel5
//
- this.Column15.HeaderText = "仪器编号";
- this.Column15.Name = "Column15";
- //
- // Column16
- //
- this.Column16.HeaderText = "客户名称";
- this.Column16.Name = "Column16";
- //
- // Column17
- //
- this.Column17.HeaderText = "开始时间";
- this.Column17.Name = "Column17";
- //
- // panelEx1
- //
- this.panelEx1.CanvasColor = System.Drawing.SystemColors.Control;
- this.panelEx1.ColorSchemeStyle = DevComponents.DotNetBar.eDotNetBarStyle.StyleManagerControlled;
- this.panelEx1.Controls.Add(this.labelX6);
- this.panelEx1.Controls.Add(this.labelX5);
- this.panelEx1.Controls.Add(this.labelX4);
- this.panelEx1.Controls.Add(this.labelX3);
- this.panelEx1.Controls.Add(this.labelX2);
- this.panelEx1.Controls.Add(this.labelX1);
- this.panelEx1.DisabledBackColor = System.Drawing.Color.Empty;
- this.panelEx1.Location = new System.Drawing.Point(25, 376);
- this.panelEx1.Name = "panelEx1";
- this.panelEx1.Size = new System.Drawing.Size(200, 200);
- this.panelEx1.Style.Alignment = System.Drawing.StringAlignment.Center;
- this.panelEx1.Style.BackColor1.ColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelBackground;
- this.panelEx1.Style.BackColor2.ColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelBackground2;
- this.panelEx1.Style.Border = DevComponents.DotNetBar.eBorderType.SingleLine;
- this.panelEx1.Style.BorderColor.ColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelBorder;
- this.panelEx1.Style.ForeColor.ColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelText;
- this.panelEx1.Style.GradientAngle = 90;
- this.panelEx1.TabIndex = 10;
- //
- // labelX6
- //
- //
- //
- //
- this.labelX6.BackgroundStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square;
- this.labelX6.Location = new System.Drawing.Point(3, 153);
- this.labelX6.Name = "labelX6";
- this.labelX6.Size = new System.Drawing.Size(75, 23);
- this.labelX6.Style = DevComponents.DotNetBar.eDotNetBarStyle.Office2013;
- this.labelX6.TabIndex = 0;
- this.labelX6.Text = "Z";
- this.labelX6.TextAlignment = System.Drawing.StringAlignment.Center;
- //
- // labelX5
- //
- //
- //
- //
- this.labelX5.BackgroundStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square;
- this.labelX5.Location = new System.Drawing.Point(3, 124);
- this.labelX5.Name = "labelX5";
- this.labelX5.Size = new System.Drawing.Size(75, 23);
- this.labelX5.Style = DevComponents.DotNetBar.eDotNetBarStyle.Office2013;
- this.labelX5.TabIndex = 0;
- this.labelX5.Text = "Y";
- this.labelX5.TextAlignment = System.Drawing.StringAlignment.Center;
- //
- // labelX4
- //
- //
- //
- //
- this.labelX4.BackgroundStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square;
- this.labelX4.Location = new System.Drawing.Point(3, 95);
- this.labelX4.Name = "labelX4";
- this.labelX4.Size = new System.Drawing.Size(75, 23);
- this.labelX4.Style = DevComponents.DotNetBar.eDotNetBarStyle.Office2013;
- this.labelX4.TabIndex = 0;
- this.labelX4.Text = "X";
- this.labelX4.TextAlignment = System.Drawing.StringAlignment.Center;
- //
- // labelX3
- //
- //
- //
- //
- this.labelX3.BackgroundStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square;
- this.labelX3.Location = new System.Drawing.Point(3, 66);
- this.labelX3.Name = "labelX3";
- this.labelX3.Size = new System.Drawing.Size(75, 23);
- this.labelX3.Style = DevComponents.DotNetBar.eDotNetBarStyle.Office2013;
- this.labelX3.TabIndex = 0;
- this.labelX3.Text = "纬度";
- this.labelX3.TextAlignment = System.Drawing.StringAlignment.Center;
- //
- // labelX2
- //
- //
- //
- //
- this.labelX2.BackgroundStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square;
- this.labelX2.Location = new System.Drawing.Point(3, 37);
- this.labelX2.Name = "labelX2";
- this.labelX2.Size = new System.Drawing.Size(75, 23);
- this.labelX2.Style = DevComponents.DotNetBar.eDotNetBarStyle.Office2013;
- this.labelX2.TabIndex = 0;
- this.labelX2.Text = "经度";
- this.labelX2.TextAlignment = System.Drawing.StringAlignment.Center;
- //
- // labelX1
- //
- //
- //
- //
- this.labelX1.BackgroundStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square;
- this.labelX1.Location = new System.Drawing.Point(3, 3);
- this.labelX1.Name = "labelX1";
- this.labelX1.Size = new System.Drawing.Size(194, 23);
- this.labelX1.Style = DevComponents.DotNetBar.eDotNetBarStyle.Office2013;
- this.labelX1.TabIndex = 0;
- this.labelX1.Text = "位置信息";
- this.labelX1.TextAlignment = System.Drawing.StringAlignment.Center;
- //
- // panelEx2
- //
- this.panelEx2.CanvasColor = System.Drawing.SystemColors.Control;
- this.panelEx2.ColorSchemeStyle = DevComponents.DotNetBar.eDotNetBarStyle.StyleManagerControlled;
- this.panelEx2.Controls.Add(this.labelX7);
- this.panelEx2.Controls.Add(this.labelX8);
- this.panelEx2.Controls.Add(this.labelX10);
- this.panelEx2.Controls.Add(this.labelX9);
- this.panelEx2.DisabledBackColor = System.Drawing.Color.Empty;
- this.panelEx2.Location = new System.Drawing.Point(25, 190);
- this.panelEx2.Name = "panelEx2";
- this.panelEx2.Size = new System.Drawing.Size(200, 150);
- this.panelEx2.Style.Alignment = System.Drawing.StringAlignment.Center;
- this.panelEx2.Style.BackColor1.ColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelBackground;
- this.panelEx2.Style.BackColor2.ColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelBackground2;
- this.panelEx2.Style.Border = DevComponents.DotNetBar.eBorderType.SingleLine;
- this.panelEx2.Style.BorderColor.ColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelBorder;
- this.panelEx2.Style.ForeColor.ColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelText;
- this.panelEx2.Style.GradientAngle = 90;
- this.panelEx2.TabIndex = 10;
- //
- // labelX7
- //
- //
- //
- //
- this.labelX7.BackgroundStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square;
- this.labelX7.Location = new System.Drawing.Point(3, 3);
- this.labelX7.Name = "labelX7";
- this.labelX7.Size = new System.Drawing.Size(194, 23);
- this.labelX7.Style = DevComponents.DotNetBar.eDotNetBarStyle.Office2013;
- this.labelX7.TabIndex = 0;
- this.labelX7.Text = "时间信息";
- this.labelX7.TextAlignment = System.Drawing.StringAlignment.Center;
- //
- // labelX8
- //
- //
- //
- //
- this.labelX8.BackgroundStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square;
- this.labelX8.Location = new System.Drawing.Point(3, 41);
- this.labelX8.Name = "labelX8";
- this.labelX8.Size = new System.Drawing.Size(75, 23);
- this.labelX8.Style = DevComponents.DotNetBar.eDotNetBarStyle.Office2013;
- this.labelX8.TabIndex = 0;
- this.labelX8.Text = "日期";
- this.labelX8.TextAlignment = System.Drawing.StringAlignment.Center;
- //
- // labelX10
- //
- //
- //
- //
- this.labelX10.BackgroundStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square;
- this.labelX10.Location = new System.Drawing.Point(3, 99);
- this.labelX10.Name = "labelX10";
- this.labelX10.Size = new System.Drawing.Size(75, 23);
- this.labelX10.Style = DevComponents.DotNetBar.eDotNetBarStyle.Office2013;
- this.labelX10.TabIndex = 0;
- this.labelX10.Text = "MJD";
- this.labelX10.TextAlignment = System.Drawing.StringAlignment.Center;
- //
- // labelX9
- //
- //
- //
- //
- this.labelX9.BackgroundStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square;
- this.labelX9.Location = new System.Drawing.Point(3, 70);
- this.labelX9.Name = "labelX9";
- this.labelX9.Size = new System.Drawing.Size(75, 23);
- this.labelX9.Style = DevComponents.DotNetBar.eDotNetBarStyle.Office2013;
- this.labelX9.TabIndex = 0;
- this.labelX9.Text = "时间";
- this.labelX9.TextAlignment = System.Drawing.StringAlignment.Center;
- //
- // panelEx3
- //
- this.panelEx3.CanvasColor = System.Drawing.SystemColors.Control;
- this.panelEx3.ColorSchemeStyle = DevComponents.DotNetBar.eDotNetBarStyle.StyleManagerControlled;
- this.panelEx3.Controls.Add(this.labelX11);
- this.panelEx3.Controls.Add(this.labelX13);
- this.panelEx3.Controls.Add(this.labelX12);
- this.panelEx3.DisabledBackColor = System.Drawing.Color.Empty;
- this.panelEx3.Location = new System.Drawing.Point(25, 50);
- this.panelEx3.Name = "panelEx3";
- this.panelEx3.Size = new System.Drawing.Size(200, 100);
- this.panelEx3.Style.Alignment = System.Drawing.StringAlignment.Center;
- this.panelEx3.Style.BackColor1.ColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelBackground;
- this.panelEx3.Style.BackColor2.ColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelBackground2;
- this.panelEx3.Style.Border = DevComponents.DotNetBar.eBorderType.SingleLine;
- this.panelEx3.Style.BorderColor.ColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelBorder;
- this.panelEx3.Style.ForeColor.ColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelText;
- this.panelEx3.Style.GradientAngle = 90;
- this.panelEx3.TabIndex = 10;
- //
- // labelX11
- //
- //
- //
- //
- this.labelX11.BackgroundStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square;
- this.labelX11.Location = new System.Drawing.Point(3, 3);
- this.labelX11.Name = "labelX11";
- this.labelX11.Size = new System.Drawing.Size(194, 23);
- this.labelX11.Style = DevComponents.DotNetBar.eDotNetBarStyle.Office2013;
- this.labelX11.TabIndex = 0;
- this.labelX11.Text = "基本信息";
- this.labelX11.TextAlignment = System.Drawing.StringAlignment.Center;
- //
- // labelX13
- //
- //
- //
- //
- this.labelX13.BackgroundStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square;
- this.labelX13.Location = new System.Drawing.Point(3, 32);
- this.labelX13.Name = "labelX13";
- this.labelX13.Size = new System.Drawing.Size(75, 23);
- this.labelX13.Style = DevComponents.DotNetBar.eDotNetBarStyle.Office2013;
- this.labelX13.TabIndex = 0;
- this.labelX13.Text = "原子钟";
- this.labelX13.TextAlignment = System.Drawing.StringAlignment.Center;
- //
- // labelX12
- //
- //
- //
- //
- this.labelX12.BackgroundStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square;
- this.labelX12.Location = new System.Drawing.Point(3, 61);
- this.labelX12.Name = "labelX12";
- this.labelX12.Size = new System.Drawing.Size(75, 23);
- this.labelX12.Style = DevComponents.DotNetBar.eDotNetBarStyle.Office2013;
- this.labelX12.TabIndex = 0;
- this.labelX12.Text = "接收机";
- this.labelX12.TextAlignment = System.Drawing.StringAlignment.Center;
- //
- // panelEx4
- //
- this.panelEx4.CanvasColor = System.Drawing.SystemColors.Control;
- this.panelEx4.ColorSchemeStyle = DevComponents.DotNetBar.eDotNetBarStyle.StyleManagerControlled;
- this.panelEx4.Controls.Add(this.panelEx2);
- this.panelEx4.Controls.Add(this.panelEx1);
- this.panelEx4.Controls.Add(this.panelEx3);
- this.panelEx4.DisabledBackColor = System.Drawing.Color.Empty;
- this.panelEx4.Location = new System.Drawing.Point(0, 0);
- this.panelEx4.Name = "panelEx4";
- this.panelEx4.Size = new System.Drawing.Size(250, 640);
- this.panelEx4.Style.Alignment = System.Drawing.StringAlignment.Center;
- this.panelEx4.Style.BackColor1.ColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelBackground;
- this.panelEx4.Style.BackColor2.ColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelBackground2;
- this.panelEx4.Style.Border = DevComponents.DotNetBar.eBorderType.SingleLine;
- this.panelEx4.Style.BorderColor.ColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelBorder;
- this.panelEx4.Style.ForeColor.ColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelText;
- this.panelEx4.Style.GradientAngle = 90;
- this.panelEx4.TabIndex = 10;
- //
- // dataGridViewX2
- //
- this.dataGridViewX2.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.AutoSize;
- this.dataGridViewX2.Columns.AddRange(new System.Windows.Forms.DataGridViewColumn[] {
- this.Column18,
- this.Column19,
- this.Column20,
- this.Column21,
- this.Column22,
- this.Column23,
- this.Column24,
- this.Column25,
- this.Column26,
- this.Column27,
- this.Column28,
- this.Column29});
- dataGridViewCellStyle2.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleLeft;
- dataGridViewCellStyle2.BackColor = System.Drawing.SystemColors.Window;
- dataGridViewCellStyle2.Font = new System.Drawing.Font("宋体", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
- dataGridViewCellStyle2.ForeColor = System.Drawing.SystemColors.ControlText;
- dataGridViewCellStyle2.SelectionBackColor = System.Drawing.SystemColors.Highlight;
- dataGridViewCellStyle2.SelectionForeColor = System.Drawing.SystemColors.ControlText;
- dataGridViewCellStyle2.WrapMode = System.Windows.Forms.DataGridViewTriState.False;
- this.dataGridViewX2.DefaultCellStyle = dataGridViewCellStyle2;
- this.dataGridViewX2.GridColor = System.Drawing.Color.FromArgb(((int)(((byte)(208)))), ((int)(((byte)(215)))), ((int)(((byte)(229)))));
- this.dataGridViewX2.Location = new System.Drawing.Point(250, 216);
- this.dataGridViewX2.Name = "dataGridViewX2";
- this.dataGridViewX2.Size = new System.Drawing.Size(747, 424);
- this.dataGridViewX2.TabIndex = 15;
- //
- // Column18
- //
- this.Column18.HeaderText = "通道号";
- this.Column18.Name = "Column18";
- //
- // Column19
- //
- this.Column19.HeaderText = "当前状态";
- this.Column19.Name = "Column19";
- //
- // Column20
- //
- this.Column20.HeaderText = "仪器名称";
- this.Column20.Name = "Column20";
- //
- // Column21
- //
- this.Column21.HeaderText = "仪器编号";
- this.Column21.Name = "Column21";
- //
- // Column22
- //
- this.Column22.HeaderText = "客户名称";
- this.Column22.Name = "Column22";
- //
- // Column23
- //
- this.Column23.HeaderText = "开始时间";
- this.Column23.Name = "Column23";
- //
- // Column24
- //
- this.Column24.HeaderText = "结束时间";
- this.Column24.Name = "Column24";
- //
- // Column25
- //
- this.Column25.HeaderText = "频率稳定度";
- this.Column25.Name = "Column25";
- //
- // Column26
- //
- this.Column26.HeaderText = "频率准确度";
- this.Column26.Name = "Column26";
- //
- // Column27
- //
- this.Column27.HeaderText = "开机特性";
- this.Column27.Name = "Column27";
- //
- // Column28
- //
- this.Column28.HeaderText = "日老化率";
- this.Column28.Name = "Column28";
- //
- // Column29
- //
- this.Column29.HeaderText = "频率计数器范围及灵敏度";
- this.Column29.Name = "Column29";
- //
- // buttonX1
- //
- this.buttonX1.AccessibleRole = System.Windows.Forms.AccessibleRole.PushButton;
- this.buttonX1.BackColor = System.Drawing.Color.Transparent;
- this.buttonX1.ColorTable = DevComponents.DotNetBar.eButtonColor.OrangeWithBackground;
- this.buttonX1.Location = new System.Drawing.Point(663, 183);
- this.buttonX1.Name = "buttonX1";
- this.buttonX1.Size = new System.Drawing.Size(30, 23);
- this.buttonX1.Style = DevComponents.DotNetBar.eDotNetBarStyle.StyleManagerControlled;
- this.buttonX1.Symbol = "";
- this.buttonX1.SymbolColor = System.Drawing.Color.FromArgb(((int)(((byte)(64)))), ((int)(((byte)(64)))), ((int)(((byte)(64)))));
- this.buttonX1.SymbolSize = 8F;
- this.buttonX1.TabIndex = 19;
- //
- // buttonX2
- //
- this.buttonX2.AccessibleRole = System.Windows.Forms.AccessibleRole.PushButton;
- this.buttonX2.BackColor = System.Drawing.Color.Transparent;
- this.buttonX2.ColorTable = DevComponents.DotNetBar.eButtonColor.OrangeWithBackground;
- this.buttonX2.Location = new System.Drawing.Point(589, 184);
- this.buttonX2.Name = "buttonX2";
- this.buttonX2.Size = new System.Drawing.Size(30, 23);
- this.buttonX2.Style = DevComponents.DotNetBar.eDotNetBarStyle.StyleManagerControlled;
- this.buttonX2.Symbol = "";
- this.buttonX2.SymbolColor = System.Drawing.Color.FromArgb(((int)(((byte)(64)))), ((int)(((byte)(64)))), ((int)(((byte)(64)))));
- this.buttonX2.SymbolSize = 8F;
- this.buttonX2.TabIndex = 19;
+ this.panel5.BackgroundImage = global::Casic.Birmm.RbFreqStandMeasure.Properties.Resources.bg_dev_channel;
+ this.panel5.Location = new System.Drawing.Point(230, 226);
+ this.panel5.Name = "panel5";
+ this.panel5.Size = new System.Drawing.Size(788, 424);
+ this.panel5.TabIndex = 4;
//
// label1
//
this.label1.BackColor = System.Drawing.Color.Transparent;
- this.label1.Font = new System.Drawing.Font("Times New Roman", 9.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
- this.label1.Location = new System.Drawing.Point(880, 186);
- this.label1.Margin = new System.Windows.Forms.Padding(0);
+ this.label1.Font = new System.Drawing.Font("微软雅黑", 14F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Pixel, ((byte)(134)));
+ this.label1.Location = new System.Drawing.Point(0, 20);
this.label1.Name = "label1";
- this.label1.Size = new System.Drawing.Size(20, 20);
- this.label1.TabIndex = 20;
- this.label1.Text = "1";
+ this.label1.Size = new System.Drawing.Size(224, 25);
+ this.label1.TabIndex = 0;
+ this.label1.Text = "基本信息";
this.label1.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
//
// label2
//
this.label2.BackColor = System.Drawing.Color.Transparent;
- this.label2.Font = new System.Drawing.Font("Times New Roman", 9.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
- this.label2.Location = new System.Drawing.Point(636, 187);
- this.label2.Margin = new System.Windows.Forms.Padding(0);
+ this.label2.Font = new System.Drawing.Font("微软雅黑", 14F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Pixel, ((byte)(134)));
+ this.label2.Location = new System.Drawing.Point(0, 60);
this.label2.Name = "label2";
- this.label2.Size = new System.Drawing.Size(200, 20);
- this.label2.TabIndex = 20;
- this.label2.Text = "共150条,每页5条,共100页";
- this.label2.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
+ this.label2.Size = new System.Drawing.Size(75, 25);
+ this.label2.TabIndex = 1;
+ this.label2.Text = "原子钟";
+ this.label2.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
+ //
+ // label3
+ //
+ this.label3.BackColor = System.Drawing.Color.Transparent;
+ this.label3.Font = new System.Drawing.Font("微软雅黑", 14F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Pixel, ((byte)(134)));
+ this.label3.Location = new System.Drawing.Point(0, 100);
+ this.label3.Name = "label3";
+ this.label3.Size = new System.Drawing.Size(75, 25);
+ this.label3.TabIndex = 1;
+ this.label3.Text = "接收机";
+ this.label3.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
+ //
+ // label4
+ //
+ this.label4.BackColor = System.Drawing.Color.Transparent;
+ this.label4.Font = new System.Drawing.Font("微软雅黑", 14F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Pixel, ((byte)(134)));
+ this.label4.Location = new System.Drawing.Point(0, 20);
+ this.label4.Name = "label4";
+ this.label4.Size = new System.Drawing.Size(224, 25);
+ this.label4.TabIndex = 0;
+ this.label4.Text = "时间信息";
+ this.label4.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
+ //
+ // label5
+ //
+ this.label5.BackColor = System.Drawing.Color.Transparent;
+ this.label5.Font = new System.Drawing.Font("微软雅黑", 14F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Pixel, ((byte)(134)));
+ this.label5.Location = new System.Drawing.Point(0, 60);
+ this.label5.Name = "label5";
+ this.label5.Size = new System.Drawing.Size(75, 25);
+ this.label5.TabIndex = 1;
+ this.label5.Text = "日期";
+ this.label5.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
+ //
+ // label6
+ //
+ this.label6.BackColor = System.Drawing.Color.Transparent;
+ this.label6.Font = new System.Drawing.Font("微软雅黑", 14F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Pixel, ((byte)(134)));
+ this.label6.Location = new System.Drawing.Point(0, 100);
+ this.label6.Name = "label6";
+ this.label6.Size = new System.Drawing.Size(75, 25);
+ this.label6.TabIndex = 1;
+ this.label6.Text = "时间";
+ this.label6.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
+ //
+ // label7
+ //
+ this.label7.BackColor = System.Drawing.Color.Transparent;
+ this.label7.Font = new System.Drawing.Font("微软雅黑", 14F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Pixel, ((byte)(134)));
+ this.label7.Location = new System.Drawing.Point(0, 140);
+ this.label7.Margin = new System.Windows.Forms.Padding(0);
+ this.label7.Name = "label7";
+ this.label7.Size = new System.Drawing.Size(75, 25);
+ this.label7.TabIndex = 1;
+ this.label7.Text = "MJD";
+ this.label7.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
+ //
+ // label8
+ //
+ this.label8.BackColor = System.Drawing.Color.Transparent;
+ this.label8.Font = new System.Drawing.Font("微软雅黑", 14F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Pixel, ((byte)(134)));
+ this.label8.Location = new System.Drawing.Point(0, 20);
+ this.label8.Name = "label8";
+ this.label8.Size = new System.Drawing.Size(224, 25);
+ this.label8.TabIndex = 0;
+ this.label8.Text = "位置信息";
+ this.label8.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
+ //
+ // label9
+ //
+ this.label9.BackColor = System.Drawing.Color.Transparent;
+ this.label9.Font = new System.Drawing.Font("微软雅黑", 14F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Pixel, ((byte)(134)));
+ this.label9.Location = new System.Drawing.Point(0, 60);
+ this.label9.Name = "label9";
+ this.label9.Size = new System.Drawing.Size(75, 25);
+ this.label9.TabIndex = 1;
+ this.label9.Text = "经度";
+ this.label9.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
+ //
+ // label10
+ //
+ this.label10.BackColor = System.Drawing.Color.Transparent;
+ this.label10.Font = new System.Drawing.Font("微软雅黑", 14F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Pixel, ((byte)(134)));
+ this.label10.Location = new System.Drawing.Point(0, 100);
+ this.label10.Margin = new System.Windows.Forms.Padding(0);
+ this.label10.Name = "label10";
+ this.label10.Size = new System.Drawing.Size(75, 25);
+ this.label10.TabIndex = 1;
+ this.label10.Text = "纬度";
+ this.label10.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
+ //
+ // label11
+ //
+ this.label11.BackColor = System.Drawing.Color.Transparent;
+ this.label11.Font = new System.Drawing.Font("微软雅黑", 14F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Pixel, ((byte)(134)));
+ this.label11.Location = new System.Drawing.Point(0, 140);
+ this.label11.Margin = new System.Windows.Forms.Padding(0);
+ this.label11.Name = "label11";
+ this.label11.Size = new System.Drawing.Size(75, 25);
+ this.label11.TabIndex = 1;
+ this.label11.Text = "X";
+ this.label11.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
+ //
+ // label12
+ //
+ this.label12.BackColor = System.Drawing.Color.Transparent;
+ this.label12.Font = new System.Drawing.Font("微软雅黑", 14F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Pixel, ((byte)(134)));
+ this.label12.Location = new System.Drawing.Point(0, 180);
+ this.label12.Margin = new System.Windows.Forms.Padding(0);
+ this.label12.Name = "label12";
+ this.label12.Size = new System.Drawing.Size(75, 25);
+ this.label12.TabIndex = 1;
+ this.label12.Text = "Y";
+ this.label12.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
+ //
+ // label13
+ //
+ this.label13.BackColor = System.Drawing.Color.Transparent;
+ this.label13.Font = new System.Drawing.Font("微软雅黑", 14F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Pixel, ((byte)(134)));
+ this.label13.Location = new System.Drawing.Point(0, 220);
+ this.label13.Margin = new System.Windows.Forms.Padding(0);
+ this.label13.Name = "label13";
+ this.label13.Size = new System.Drawing.Size(75, 25);
+ this.label13.TabIndex = 1;
+ this.label13.Text = "Z";
+ this.label13.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
//
// HomeCtrlForm
//
this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 12F);
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
- this.Controls.Add(this.label1);
- this.Controls.Add(this.label2);
- this.Controls.Add(this.dataGridViewX2);
- this.Controls.Add(this.panelEx4);
- this.Controls.Add(this.panelToBeTested);
+ this.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(232)))), ((int)(((byte)(234)))), ((int)(((byte)(238)))));
+ this.Controls.Add(this.panel5);
+ this.Controls.Add(this.panel4);
+ this.Controls.Add(this.panel3);
+ this.Controls.Add(this.panel2);
+ this.Controls.Add(this.panel1);
this.Margin = new System.Windows.Forms.Padding(0);
this.Name = "HomeCtrlForm";
- this.Size = new System.Drawing.Size(1000, 640);
- this.panelToBeTested.ResumeLayout(false);
- ((System.ComponentModel.ISupportInitialize)(this.dataGridViewX1)).EndInit();
- this.panelEx1.ResumeLayout(false);
- this.panelEx2.ResumeLayout(false);
- this.panelEx3.ResumeLayout(false);
- this.panelEx4.ResumeLayout(false);
- ((System.ComponentModel.ISupportInitialize)(this.dataGridViewX2)).EndInit();
+ this.Size = new System.Drawing.Size(1024, 654);
+ this.panel3.ResumeLayout(false);
+ this.panel2.ResumeLayout(false);
+ this.panel1.ResumeLayout(false);
this.ResumeLayout(false);
}
#endregion
- private System.Windows.Forms.Panel panelToBeTested;
- private DevComponents.DotNetBar.PanelEx panelEx1;
- private DevComponents.DotNetBar.LabelX labelX6;
- private DevComponents.DotNetBar.LabelX labelX5;
- private DevComponents.DotNetBar.LabelX labelX4;
- private DevComponents.DotNetBar.LabelX labelX3;
- private DevComponents.DotNetBar.LabelX labelX2;
- private DevComponents.DotNetBar.LabelX labelX1;
- private DevComponents.DotNetBar.PanelEx panelEx2;
- private DevComponents.DotNetBar.LabelX labelX7;
- private DevComponents.DotNetBar.LabelX labelX8;
- private DevComponents.DotNetBar.LabelX labelX10;
- private DevComponents.DotNetBar.LabelX labelX9;
- private DevComponents.DotNetBar.PanelEx panelEx3;
- private DevComponents.DotNetBar.LabelX labelX11;
- private DevComponents.DotNetBar.LabelX labelX13;
- private DevComponents.DotNetBar.LabelX labelX12;
- private DevComponents.DotNetBar.PanelEx panelEx4;
- private DevComponents.DotNetBar.Controls.DataGridViewX dataGridViewX1;
- private System.Windows.Forms.DataGridViewTextBoxColumn Column13;
- private System.Windows.Forms.DataGridViewTextBoxColumn Column14;
- private System.Windows.Forms.DataGridViewTextBoxColumn Column15;
- private System.Windows.Forms.DataGridViewTextBoxColumn Column16;
- private System.Windows.Forms.DataGridViewTextBoxColumn Column17;
- private DevComponents.DotNetBar.Controls.DataGridViewX dataGridViewX2;
- private System.Windows.Forms.DataGridViewTextBoxColumn Column18;
- private System.Windows.Forms.DataGridViewTextBoxColumn Column19;
- private System.Windows.Forms.DataGridViewTextBoxColumn Column20;
- private System.Windows.Forms.DataGridViewTextBoxColumn Column21;
- private System.Windows.Forms.DataGridViewTextBoxColumn Column22;
- private System.Windows.Forms.DataGridViewTextBoxColumn Column23;
- private System.Windows.Forms.DataGridViewTextBoxColumn Column24;
- private System.Windows.Forms.DataGridViewTextBoxColumn Column25;
- private System.Windows.Forms.DataGridViewTextBoxColumn Column26;
- private System.Windows.Forms.DataGridViewTextBoxColumn Column27;
- private System.Windows.Forms.DataGridViewTextBoxColumn Column28;
- private System.Windows.Forms.DataGridViewTextBoxColumn Column29;
- private DevComponents.DotNetBar.ButtonX buttonX1;
- private DevComponents.DotNetBar.ButtonX buttonX2;
+
+ private System.Windows.Forms.Panel panel1;
+ private System.Windows.Forms.Panel panel2;
+ private System.Windows.Forms.Panel panel3;
+ private System.Windows.Forms.Panel panel4;
+ private System.Windows.Forms.Panel panel5;
private System.Windows.Forms.Label label1;
private System.Windows.Forms.Label label2;
+ private System.Windows.Forms.Label label3;
+ private System.Windows.Forms.Label label4;
+ private System.Windows.Forms.Label label5;
+ private System.Windows.Forms.Label label6;
+ private System.Windows.Forms.Label label7;
+ private System.Windows.Forms.Label label8;
+ private System.Windows.Forms.Label label11;
+ private System.Windows.Forms.Label label9;
+ private System.Windows.Forms.Label label10;
+ private System.Windows.Forms.Label label12;
+ private System.Windows.Forms.Label label13;
}
}
diff --git a/RbFreqStandMeasure/HomeCtrlForm.resx b/RbFreqStandMeasure/HomeCtrlForm.resx
index 6d97f4f..1af7de1 100644
--- a/RbFreqStandMeasure/HomeCtrlForm.resx
+++ b/RbFreqStandMeasure/HomeCtrlForm.resx
@@ -117,55 +117,4 @@
System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
-
- True
-
-
- True
-
-
- True
-
-
- True
-
-
- True
-
-
- True
-
-
- True
-
-
- True
-
-
- True
-
-
- True
-
-
- True
-
-
- True
-
-
- True
-
-
- True
-
-
- True
-
-
- True
-
-
- True
-
\ No newline at end of file
diff --git a/RbFreqStandMeasure/Program.cs b/RbFreqStandMeasure/Program.cs
index 93a83e5..6150917 100644
--- a/RbFreqStandMeasure/Program.cs
+++ b/RbFreqStandMeasure/Program.cs
@@ -1,6 +1,4 @@
using System;
-using System.Collections.Generic;
-using System.Linq;
using System.Windows.Forms;
namespace Casic.Birmm.RbFreqStandMeasure
diff --git a/RbFreqStandMeasure/Properties/Resources.Designer.cs b/RbFreqStandMeasure/Properties/Resources.Designer.cs
index 253d7d7..d819a23 100644
--- a/RbFreqStandMeasure/Properties/Resources.Designer.cs
+++ b/RbFreqStandMeasure/Properties/Resources.Designer.cs
@@ -73,6 +73,56 @@
///
/// 查找 System.Drawing.Bitmap 类型的本地化资源。
///
+ internal static System.Drawing.Bitmap bg_dev_channel {
+ get {
+ object obj = ResourceManager.GetObject("bg_dev_channel", resourceCulture);
+ return ((System.Drawing.Bitmap)(obj));
+ }
+ }
+
+ ///
+ /// 查找 System.Drawing.Bitmap 类型的本地化资源。
+ ///
+ internal static System.Drawing.Bitmap bg_dev_tested {
+ get {
+ object obj = ResourceManager.GetObject("bg_dev_tested", resourceCulture);
+ return ((System.Drawing.Bitmap)(obj));
+ }
+ }
+
+ ///
+ /// 查找 System.Drawing.Bitmap 类型的本地化资源。
+ ///
+ internal static System.Drawing.Bitmap bg_status_base {
+ get {
+ object obj = ResourceManager.GetObject("bg_status_base", resourceCulture);
+ return ((System.Drawing.Bitmap)(obj));
+ }
+ }
+
+ ///
+ /// 查找 System.Drawing.Bitmap 类型的本地化资源。
+ ///
+ internal static System.Drawing.Bitmap bg_status_location {
+ get {
+ object obj = ResourceManager.GetObject("bg_status_location", resourceCulture);
+ return ((System.Drawing.Bitmap)(obj));
+ }
+ }
+
+ ///
+ /// 查找 System.Drawing.Bitmap 类型的本地化资源。
+ ///
+ internal static System.Drawing.Bitmap bg_status_time {
+ get {
+ object obj = ResourceManager.GetObject("bg_status_time", resourceCulture);
+ return ((System.Drawing.Bitmap)(obj));
+ }
+ }
+
+ ///
+ /// 查找 System.Drawing.Bitmap 类型的本地化资源。
+ ///
internal static System.Drawing.Bitmap bg_white_shadow {
get {
object obj = ResourceManager.GetObject("bg_white_shadow", resourceCulture);
@@ -83,6 +133,66 @@
///
/// 查找 System.Drawing.Bitmap 类型的本地化资源。
///
+ internal static System.Drawing.Bitmap icon_counter {
+ get {
+ object obj = ResourceManager.GetObject("icon_counter", resourceCulture);
+ return ((System.Drawing.Bitmap)(obj));
+ }
+ }
+
+ ///
+ /// 查找 System.Drawing.Bitmap 类型的本地化资源。
+ ///
+ internal static System.Drawing.Bitmap icon_counter_selected {
+ get {
+ object obj = ResourceManager.GetObject("icon_counter_selected", resourceCulture);
+ return ((System.Drawing.Bitmap)(obj));
+ }
+ }
+
+ ///
+ /// 查找 System.Drawing.Bitmap 类型的本地化资源。
+ ///
+ internal static System.Drawing.Bitmap icon_data {
+ get {
+ object obj = ResourceManager.GetObject("icon_data", resourceCulture);
+ return ((System.Drawing.Bitmap)(obj));
+ }
+ }
+
+ ///
+ /// 查找 System.Drawing.Bitmap 类型的本地化资源。
+ ///
+ internal static System.Drawing.Bitmap icon_data_selected {
+ get {
+ object obj = ResourceManager.GetObject("icon_data_selected", resourceCulture);
+ return ((System.Drawing.Bitmap)(obj));
+ }
+ }
+
+ ///
+ /// 查找 System.Drawing.Bitmap 类型的本地化资源。
+ ///
+ internal static System.Drawing.Bitmap icon_dev {
+ get {
+ object obj = ResourceManager.GetObject("icon_dev", resourceCulture);
+ return ((System.Drawing.Bitmap)(obj));
+ }
+ }
+
+ ///
+ /// 查找 System.Drawing.Bitmap 类型的本地化资源。
+ ///
+ internal static System.Drawing.Bitmap icon_dev_selected {
+ get {
+ object obj = ResourceManager.GetObject("icon_dev_selected", resourceCulture);
+ return ((System.Drawing.Bitmap)(obj));
+ }
+ }
+
+ ///
+ /// 查找 System.Drawing.Bitmap 类型的本地化资源。
+ ///
internal static System.Drawing.Bitmap icon_exit {
get {
object obj = ResourceManager.GetObject("icon_exit", resourceCulture);
@@ -113,6 +223,56 @@
///
/// 查找 System.Drawing.Bitmap 类型的本地化资源。
///
+ internal static System.Drawing.Bitmap icon_measure {
+ get {
+ object obj = ResourceManager.GetObject("icon_measure", resourceCulture);
+ return ((System.Drawing.Bitmap)(obj));
+ }
+ }
+
+ ///
+ /// 查找 System.Drawing.Bitmap 类型的本地化资源。
+ ///
+ internal static System.Drawing.Bitmap icon_measure_selected {
+ get {
+ object obj = ResourceManager.GetObject("icon_measure_selected", resourceCulture);
+ return ((System.Drawing.Bitmap)(obj));
+ }
+ }
+
+ ///
+ /// 查找 System.Drawing.Bitmap 类型的本地化资源。
+ ///
+ internal static System.Drawing.Bitmap icon_min {
+ get {
+ object obj = ResourceManager.GetObject("icon_min", resourceCulture);
+ return ((System.Drawing.Bitmap)(obj));
+ }
+ }
+
+ ///
+ /// 查找 System.Drawing.Bitmap 类型的本地化资源。
+ ///
+ internal static System.Drawing.Bitmap icon_setting {
+ get {
+ object obj = ResourceManager.GetObject("icon_setting", resourceCulture);
+ return ((System.Drawing.Bitmap)(obj));
+ }
+ }
+
+ ///
+ /// 查找 System.Drawing.Bitmap 类型的本地化资源。
+ ///
+ internal static System.Drawing.Bitmap icon_setting_selected {
+ get {
+ object obj = ResourceManager.GetObject("icon_setting_selected", resourceCulture);
+ return ((System.Drawing.Bitmap)(obj));
+ }
+ }
+
+ ///
+ /// 查找 System.Drawing.Bitmap 类型的本地化资源。
+ ///
internal static System.Drawing.Bitmap icon_status {
get {
object obj = ResourceManager.GetObject("icon_status", resourceCulture);
diff --git a/RbFreqStandMeasure/Properties/Resources.resx b/RbFreqStandMeasure/Properties/Resources.resx
index e781bb7..cfdb255 100644
--- a/RbFreqStandMeasure/Properties/Resources.resx
+++ b/RbFreqStandMeasure/Properties/Resources.resx
@@ -118,25 +118,73 @@
System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
-
- ..\res\images\icon_exit.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
+
+ ..\res\images\icon_counter_selected.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
-
- ..\res\images\bg_white_shadow.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
+
+ ..\res\images\icon_dev_selected.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
+
+
+ ..\res\images\icon_status_selected.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
+
+
+ ..\res\images\icon_data_selected.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
..\res\images\icon_home_selected.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
-
- ..\res\images\bg_banner.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
-
-
- ..\res\images\icon_home.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
+
+ ..\res\images\icon_exit.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
..\res\images\icon_status.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
-
- ..\res\images\icon_status_selected.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
+
+ ..\res\images\icon_data.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
+
+
+ ..\res\images\icon_setting.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
+
+
+ ..\res\images\icon_measure_selected.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
+
+
+ ..\res\images\bg_banner.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
+
+
+ ..\res\images\icon_setting_selected.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
+
+
+ ..\res\images\icon_dev.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
+
+
+ ..\res\images\icon_counter.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
+
+
+ ..\res\images\icon_measure.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
+
+
+ ..\res\images\icon_home.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
+
+
+ ..\res\images\bg_white_shadow.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
+
+
+ ..\res\images\icon_min.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
+
+
+ ..\res\images\bg_status_base.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
+
+
+ ..\res\images\bg_status_location.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
+
+
+ ..\res\images\bg_status_time.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
+
+
+ ..\res\images\bg_dev_channel.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
+
+
+ ..\res\images\bg_dev_tested.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
\ No newline at end of file
diff --git a/RbFreqStandMeasure/RbFreqStandMeasure.csproj b/RbFreqStandMeasure/RbFreqStandMeasure.csproj
index f5e7da9..7c12768 100644
--- a/RbFreqStandMeasure/RbFreqStandMeasure.csproj
+++ b/RbFreqStandMeasure/RbFreqStandMeasure.csproj
@@ -232,6 +232,54 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/RbFreqStandMeasure/RbFreqStdMeas.Designer.cs b/RbFreqStandMeasure/RbFreqStdMeas.Designer.cs
index 57778cf..1bd008c 100644
--- a/RbFreqStandMeasure/RbFreqStdMeas.Designer.cs
+++ b/RbFreqStandMeasure/RbFreqStdMeas.Designer.cs
@@ -30,148 +30,77 @@
private void InitializeComponent()
{
this.panMenu = new System.Windows.Forms.Panel();
+ this.penBanner = new System.Windows.Forms.Panel();
+ this.btnMinSys = new System.Windows.Forms.Button();
+ this.btnExitSys = new System.Windows.Forms.Button();
+ this.labTitle = new System.Windows.Forms.Label();
+ this.panDev = new Casic.Birmm.RbFreqStandMeasure.RoundPanel();
+ this.labDevText = new System.Windows.Forms.Label();
+ this.labDevSelected = new System.Windows.Forms.Label();
+ this.picIconDev = new System.Windows.Forms.PictureBox();
+ this.panSetting = new Casic.Birmm.RbFreqStandMeasure.RoundPanel();
+ this.labSettingSelected = new System.Windows.Forms.Label();
+ this.labSettingText = new System.Windows.Forms.Label();
+ this.picIconSetting = new System.Windows.Forms.PictureBox();
this.panStatus = new Casic.Birmm.RbFreqStandMeasure.RoundPanel();
this.labStatusText = new System.Windows.Forms.Label();
this.picIconStatus = new System.Windows.Forms.PictureBox();
+ this.labStatusSelected = new System.Windows.Forms.Label();
+ this.panData = new Casic.Birmm.RbFreqStandMeasure.RoundPanel();
+ this.labDataSelected = new System.Windows.Forms.Label();
+ this.labDataText = new System.Windows.Forms.Label();
+ this.picIconData = new System.Windows.Forms.PictureBox();
this.panHome = new Casic.Birmm.RbFreqStandMeasure.RoundPanel();
this.labHomeText = new System.Windows.Forms.Label();
this.picIconHome = new System.Windows.Forms.PictureBox();
this.labHomeSelected = new System.Windows.Forms.Label();
- this.labStatusSelected = new System.Windows.Forms.Label();
- this.penBanner = new System.Windows.Forms.Panel();
- this.btnExitSys = new System.Windows.Forms.Button();
- this.labTitle = new System.Windows.Forms.Label();
+ this.panMeasure = new Casic.Birmm.RbFreqStandMeasure.RoundPanel();
+ this.labMeasureText = new System.Windows.Forms.Label();
+ this.labMeasureSelected = new System.Windows.Forms.Label();
+ this.picIconMeasure = new System.Windows.Forms.PictureBox();
+ this.panCounter = new Casic.Birmm.RbFreqStandMeasure.RoundPanel();
+ this.labCounterSelected = new System.Windows.Forms.Label();
+ this.labCounterText = new System.Windows.Forms.Label();
+ this.picIconCounter = new System.Windows.Forms.PictureBox();
+ this.panelMain = new System.Windows.Forms.Panel();
this.panMenu.SuspendLayout();
+ this.penBanner.SuspendLayout();
+ this.panDev.SuspendLayout();
+ ((System.ComponentModel.ISupportInitialize)(this.picIconDev)).BeginInit();
+ this.panSetting.SuspendLayout();
+ ((System.ComponentModel.ISupportInitialize)(this.picIconSetting)).BeginInit();
this.panStatus.SuspendLayout();
((System.ComponentModel.ISupportInitialize)(this.picIconStatus)).BeginInit();
+ this.panData.SuspendLayout();
+ ((System.ComponentModel.ISupportInitialize)(this.picIconData)).BeginInit();
this.panHome.SuspendLayout();
((System.ComponentModel.ISupportInitialize)(this.picIconHome)).BeginInit();
- this.penBanner.SuspendLayout();
+ this.panMeasure.SuspendLayout();
+ ((System.ComponentModel.ISupportInitialize)(this.picIconMeasure)).BeginInit();
+ this.panCounter.SuspendLayout();
+ ((System.ComponentModel.ISupportInitialize)(this.picIconCounter)).BeginInit();
this.SuspendLayout();
//
// panMenu
//
this.panMenu.BackColor = System.Drawing.Color.White;
+ this.panMenu.Controls.Add(this.panDev);
+ this.panMenu.Controls.Add(this.panSetting);
this.panMenu.Controls.Add(this.panStatus);
+ this.panMenu.Controls.Add(this.panData);
this.panMenu.Controls.Add(this.panHome);
- this.panMenu.Controls.Add(this.labStatusSelected);
+ this.panMenu.Controls.Add(this.panMeasure);
+ this.panMenu.Controls.Add(this.panCounter);
this.panMenu.Location = new System.Drawing.Point(0, 64);
this.panMenu.Name = "panMenu";
this.panMenu.Size = new System.Drawing.Size(1024, 50);
this.panMenu.TabIndex = 1;
//
- // panStatus
- //
- this.panStatus.Back = System.Drawing.Color.Empty;
- this.panStatus.BackColor = System.Drawing.Color.Transparent;
- this.panStatus.Controls.Add(this.labStatusText);
- this.panStatus.Controls.Add(this.picIconStatus);
- this.panStatus.Location = new System.Drawing.Point(160, 0);
- this.panStatus.MatrixRound = 8;
- this.panStatus.Name = "panStatus";
- this.panStatus.Size = new System.Drawing.Size(130, 47);
- this.panStatus.TabIndex = 1;
- this.panStatus.Click += new System.EventHandler(this.panStatus_Click);
- this.panStatus.MouseLeave += new System.EventHandler(this.panStatus_MouseLeave);
- this.panStatus.MouseHover += new System.EventHandler(this.panStatus_MouseHover);
- //
- // labStatusText
- //
- this.labStatusText.BackColor = System.Drawing.Color.Transparent;
- this.labStatusText.Cursor = System.Windows.Forms.Cursors.Hand;
- this.labStatusText.Font = new System.Drawing.Font("微软雅黑", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
- this.labStatusText.ForeColor = System.Drawing.SystemColors.ControlText;
- this.labStatusText.Location = new System.Drawing.Point(35, 0);
- this.labStatusText.Margin = new System.Windows.Forms.Padding(0);
- this.labStatusText.Name = "labStatusText";
- this.labStatusText.Size = new System.Drawing.Size(85, 47);
- this.labStatusText.TabIndex = 2;
- this.labStatusText.Text = "基准状态";
- this.labStatusText.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
- this.labStatusText.Click += new System.EventHandler(this.panStatus_Click);
- this.labStatusText.MouseLeave += new System.EventHandler(this.panStatus_MouseLeave);
- this.labStatusText.MouseHover += new System.EventHandler(this.panStatus_MouseHover);
- //
- // picIconStatus
- //
- this.picIconStatus.BackgroundImage = global::Casic.Birmm.RbFreqStandMeasure.Properties.Resources.icon_status;
- this.picIconStatus.BackgroundImageLayout = System.Windows.Forms.ImageLayout.Zoom;
- this.picIconStatus.Location = new System.Drawing.Point(10, 11);
- this.picIconStatus.Name = "picIconStatus";
- this.picIconStatus.Size = new System.Drawing.Size(25, 25);
- this.picIconStatus.TabIndex = 1;
- this.picIconStatus.TabStop = false;
- this.picIconStatus.Click += new System.EventHandler(this.panStatus_Click);
- this.picIconStatus.MouseLeave += new System.EventHandler(this.panStatus_MouseLeave);
- this.picIconStatus.MouseHover += new System.EventHandler(this.panStatus_MouseHover);
- //
- // panHome
- //
- this.panHome.Back = System.Drawing.Color.Empty;
- this.panHome.Controls.Add(this.labHomeText);
- this.panHome.Controls.Add(this.picIconHome);
- this.panHome.Controls.Add(this.labHomeSelected);
- this.panHome.Cursor = System.Windows.Forms.Cursors.Hand;
- this.panHome.Location = new System.Drawing.Point(30, 0);
- this.panHome.MatrixRound = 8;
- this.panHome.Name = "panHome";
- this.panHome.Size = new System.Drawing.Size(100, 50);
- this.panHome.TabIndex = 0;
- this.panHome.Click += new System.EventHandler(this.panHome_Click);
- this.panHome.MouseLeave += new System.EventHandler(this.panHome_MouseLeave);
- this.panHome.MouseHover += new System.EventHandler(this.panHome_MouseHover);
- //
- // labHomeText
- //
- this.labHomeText.BackColor = System.Drawing.Color.Transparent;
- this.labHomeText.Font = new System.Drawing.Font("微软雅黑", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
- this.labHomeText.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(18)))), ((int)(((byte)(150)))), ((int)(((byte)(219)))));
- this.labHomeText.Location = new System.Drawing.Point(35, 0);
- this.labHomeText.Margin = new System.Windows.Forms.Padding(0);
- this.labHomeText.Name = "labHomeText";
- this.labHomeText.Size = new System.Drawing.Size(55, 47);
- this.labHomeText.TabIndex = 2;
- this.labHomeText.Text = "首页";
- this.labHomeText.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
- this.labHomeText.Click += new System.EventHandler(this.panHome_Click);
- this.labHomeText.MouseLeave += new System.EventHandler(this.panHome_MouseLeave);
- this.labHomeText.MouseHover += new System.EventHandler(this.panHome_MouseHover);
- //
- // picIconHome
- //
- this.picIconHome.BackColor = System.Drawing.Color.Transparent;
- this.picIconHome.BackgroundImage = global::Casic.Birmm.RbFreqStandMeasure.Properties.Resources.icon_home_selected;
- this.picIconHome.BackgroundImageLayout = System.Windows.Forms.ImageLayout.Zoom;
- this.picIconHome.Location = new System.Drawing.Point(10, 11);
- this.picIconHome.Name = "picIconHome";
- this.picIconHome.Size = new System.Drawing.Size(25, 25);
- this.picIconHome.TabIndex = 1;
- this.picIconHome.TabStop = false;
- this.picIconHome.Click += new System.EventHandler(this.panHome_Click);
- this.picIconHome.MouseLeave += new System.EventHandler(this.panHome_MouseLeave);
- this.picIconHome.MouseHover += new System.EventHandler(this.panHome_MouseHover);
- //
- // labHomeSelected
- //
- this.labHomeSelected.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(18)))), ((int)(((byte)(150)))), ((int)(((byte)(219)))));
- this.labHomeSelected.Location = new System.Drawing.Point(0, 47);
- this.labHomeSelected.Name = "labHomeSelected";
- this.labHomeSelected.Size = new System.Drawing.Size(100, 3);
- this.labHomeSelected.TabIndex = 0;
- //
- // labStatusSelected
- //
- this.labStatusSelected.BackColor = System.Drawing.Color.Transparent;
- this.labStatusSelected.Location = new System.Drawing.Point(160, 47);
- this.labStatusSelected.Margin = new System.Windows.Forms.Padding(0);
- this.labStatusSelected.Name = "labStatusSelected";
- this.labStatusSelected.Size = new System.Drawing.Size(130, 3);
- this.labStatusSelected.TabIndex = 0;
- //
// penBanner
//
this.penBanner.BackgroundImage = global::Casic.Birmm.RbFreqStandMeasure.Properties.Resources.bg_banner;
this.penBanner.BackgroundImageLayout = System.Windows.Forms.ImageLayout.Stretch;
+ this.penBanner.Controls.Add(this.btnMinSys);
this.penBanner.Controls.Add(this.btnExitSys);
this.penBanner.Controls.Add(this.labTitle);
this.penBanner.Location = new System.Drawing.Point(0, 0);
@@ -180,6 +109,23 @@
this.penBanner.TabIndex = 0;
this.penBanner.MouseDown += new System.Windows.Forms.MouseEventHandler(this.RbFreqStdMeas_MouseDown);
//
+ // btnMinSys
+ //
+ this.btnMinSys.BackColor = System.Drawing.Color.Transparent;
+ this.btnMinSys.BackgroundImage = global::Casic.Birmm.RbFreqStandMeasure.Properties.Resources.icon_min;
+ this.btnMinSys.BackgroundImageLayout = System.Windows.Forms.ImageLayout.Stretch;
+ this.btnMinSys.FlatAppearance.BorderSize = 0;
+ this.btnMinSys.FlatStyle = System.Windows.Forms.FlatStyle.Flat;
+ this.btnMinSys.ForeColor = System.Drawing.SystemColors.ControlDarkDark;
+ this.btnMinSys.Location = new System.Drawing.Point(944, 22);
+ this.btnMinSys.Margin = new System.Windows.Forms.Padding(0);
+ this.btnMinSys.Name = "btnMinSys";
+ this.btnMinSys.Size = new System.Drawing.Size(20, 20);
+ this.btnMinSys.TabIndex = 1;
+ this.btnMinSys.UseVisualStyleBackColor = false;
+ this.btnMinSys.Click += new System.EventHandler(this.btnMinSys_Click);
+ this.btnMinSys.MouseHover += new System.EventHandler(this.btnMinSys_MouseHover);
+ //
// btnExitSys
//
this.btnExitSys.BackColor = System.Drawing.Color.Transparent;
@@ -200,7 +146,7 @@
// labTitle
//
this.labTitle.BackColor = System.Drawing.Color.Transparent;
- this.labTitle.Font = new System.Drawing.Font("微软雅黑", 15.75F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
+ this.labTitle.Font = new System.Drawing.Font("微软雅黑", 20F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Pixel, ((byte)(134)));
this.labTitle.ForeColor = System.Drawing.Color.White;
this.labTitle.Location = new System.Drawing.Point(30, 16);
this.labTitle.Name = "labTitle";
@@ -209,11 +155,404 @@
this.labTitle.Text = "铷原子频标比对测量软件";
this.labTitle.TextAlign = System.Drawing.ContentAlignment.MiddleLeft;
//
+ // panDev
+ //
+ this.panDev.Back = System.Drawing.Color.Empty;
+ this.panDev.Controls.Add(this.labDevText);
+ this.panDev.Controls.Add(this.labDevSelected);
+ this.panDev.Controls.Add(this.picIconDev);
+ this.panDev.Location = new System.Drawing.Point(214, 0);
+ this.panDev.MatrixRound = 8;
+ this.panDev.Name = "panDev";
+ this.panDev.Size = new System.Drawing.Size(141, 50);
+ this.panDev.TabIndex = 2;
+ this.panDev.Click += new System.EventHandler(this.panDev_Click);
+ this.panDev.MouseLeave += new System.EventHandler(this.panDev_MouseLeave);
+ this.panDev.MouseHover += new System.EventHandler(this.panDev_MouseHover);
+ //
+ // labDevText
+ //
+ this.labDevText.BackColor = System.Drawing.Color.Transparent;
+ this.labDevText.Cursor = System.Windows.Forms.Cursors.Hand;
+ this.labDevText.Font = new System.Drawing.Font("微软雅黑", 16F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Pixel, ((byte)(134)));
+ this.labDevText.ForeColor = System.Drawing.SystemColors.ControlText;
+ this.labDevText.Location = new System.Drawing.Point(30, 14);
+ this.labDevText.Margin = new System.Windows.Forms.Padding(0);
+ this.labDevText.Name = "labDevText";
+ this.labDevText.Size = new System.Drawing.Size(106, 20);
+ this.labDevText.TabIndex = 2;
+ this.labDevText.Text = "送检仪器管理";
+ this.labDevText.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
+ this.labDevText.Click += new System.EventHandler(this.panDev_Click);
+ this.labDevText.MouseLeave += new System.EventHandler(this.panDev_MouseLeave);
+ this.labDevText.MouseHover += new System.EventHandler(this.panDev_MouseHover);
+ //
+ // labDevSelected
+ //
+ this.labDevSelected.BackColor = System.Drawing.Color.Transparent;
+ this.labDevSelected.Location = new System.Drawing.Point(8, 48);
+ this.labDevSelected.Margin = new System.Windows.Forms.Padding(0);
+ this.labDevSelected.Name = "labDevSelected";
+ this.labDevSelected.Size = new System.Drawing.Size(121, 2);
+ this.labDevSelected.TabIndex = 3;
+ //
+ // picIconDev
+ //
+ this.picIconDev.BackColor = System.Drawing.Color.Transparent;
+ this.picIconDev.BackgroundImage = global::Casic.Birmm.RbFreqStandMeasure.Properties.Resources.icon_dev;
+ this.picIconDev.BackgroundImageLayout = System.Windows.Forms.ImageLayout.Zoom;
+ this.picIconDev.Location = new System.Drawing.Point(10, 14);
+ this.picIconDev.Name = "picIconDev";
+ this.picIconDev.Size = new System.Drawing.Size(20, 20);
+ this.picIconDev.TabIndex = 1;
+ this.picIconDev.TabStop = false;
+ this.picIconDev.Click += new System.EventHandler(this.panDev_Click);
+ this.picIconDev.MouseLeave += new System.EventHandler(this.panDev_MouseLeave);
+ this.picIconDev.MouseHover += new System.EventHandler(this.panDev_MouseHover);
+ //
+ // panSetting
+ //
+ this.panSetting.Back = System.Drawing.Color.Empty;
+ this.panSetting.Controls.Add(this.labSettingSelected);
+ this.panSetting.Controls.Add(this.labSettingText);
+ this.panSetting.Controls.Add(this.picIconSetting);
+ this.panSetting.Location = new System.Drawing.Point(879, 0);
+ this.panSetting.MatrixRound = 8;
+ this.panSetting.Name = "panSetting";
+ this.panSetting.Size = new System.Drawing.Size(109, 50);
+ this.panSetting.TabIndex = 2;
+ this.panSetting.Click += new System.EventHandler(this.panSetting_Click);
+ this.panSetting.MouseLeave += new System.EventHandler(this.panSetting_MouseLeave);
+ this.panSetting.MouseHover += new System.EventHandler(this.panSetting_MouseHover);
+ //
+ // labSettingSelected
+ //
+ this.labSettingSelected.BackColor = System.Drawing.Color.Transparent;
+ this.labSettingSelected.Location = new System.Drawing.Point(10, 48);
+ this.labSettingSelected.Margin = new System.Windows.Forms.Padding(0);
+ this.labSettingSelected.Name = "labSettingSelected";
+ this.labSettingSelected.Size = new System.Drawing.Size(89, 2);
+ this.labSettingSelected.TabIndex = 4;
+ //
+ // labSettingText
+ //
+ this.labSettingText.BackColor = System.Drawing.Color.Transparent;
+ this.labSettingText.Cursor = System.Windows.Forms.Cursors.Hand;
+ this.labSettingText.Font = new System.Drawing.Font("微软雅黑", 16F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Pixel, ((byte)(134)));
+ this.labSettingText.ForeColor = System.Drawing.SystemColors.ControlText;
+ this.labSettingText.Location = new System.Drawing.Point(30, 14);
+ this.labSettingText.Margin = new System.Windows.Forms.Padding(0);
+ this.labSettingText.Name = "labSettingText";
+ this.labSettingText.Size = new System.Drawing.Size(74, 20);
+ this.labSettingText.TabIndex = 2;
+ this.labSettingText.Text = "系统设置";
+ this.labSettingText.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
+ this.labSettingText.Click += new System.EventHandler(this.panSetting_Click);
+ this.labSettingText.MouseLeave += new System.EventHandler(this.panSetting_MouseLeave);
+ this.labSettingText.MouseHover += new System.EventHandler(this.panSetting_MouseHover);
+ //
+ // picIconSetting
+ //
+ this.picIconSetting.BackColor = System.Drawing.Color.Transparent;
+ this.picIconSetting.BackgroundImage = global::Casic.Birmm.RbFreqStandMeasure.Properties.Resources.icon_setting;
+ this.picIconSetting.BackgroundImageLayout = System.Windows.Forms.ImageLayout.Zoom;
+ this.picIconSetting.Location = new System.Drawing.Point(10, 14);
+ this.picIconSetting.Name = "picIconSetting";
+ this.picIconSetting.Size = new System.Drawing.Size(20, 20);
+ this.picIconSetting.TabIndex = 1;
+ this.picIconSetting.TabStop = false;
+ this.picIconSetting.Click += new System.EventHandler(this.panSetting_Click);
+ this.picIconSetting.MouseLeave += new System.EventHandler(this.panSetting_MouseLeave);
+ this.picIconSetting.MouseHover += new System.EventHandler(this.panSetting_MouseHover);
+ //
+ // panStatus
+ //
+ this.panStatus.Back = System.Drawing.Color.Empty;
+ this.panStatus.BackColor = System.Drawing.Color.Transparent;
+ this.panStatus.Controls.Add(this.labStatusText);
+ this.panStatus.Controls.Add(this.picIconStatus);
+ this.panStatus.Controls.Add(this.labStatusSelected);
+ this.panStatus.Location = new System.Drawing.Point(101, 0);
+ this.panStatus.MatrixRound = 8;
+ this.panStatus.Name = "panStatus";
+ this.panStatus.Size = new System.Drawing.Size(109, 50);
+ this.panStatus.TabIndex = 1;
+ this.panStatus.Click += new System.EventHandler(this.panStatus_Click);
+ this.panStatus.MouseLeave += new System.EventHandler(this.panStatus_MouseLeave);
+ this.panStatus.MouseHover += new System.EventHandler(this.panStatus_MouseHover);
+ //
+ // labStatusText
+ //
+ this.labStatusText.BackColor = System.Drawing.Color.Transparent;
+ this.labStatusText.Cursor = System.Windows.Forms.Cursors.Hand;
+ this.labStatusText.Font = new System.Drawing.Font("微软雅黑", 16F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Pixel, ((byte)(134)));
+ this.labStatusText.ForeColor = System.Drawing.SystemColors.ControlText;
+ this.labStatusText.Location = new System.Drawing.Point(30, 14);
+ this.labStatusText.Margin = new System.Windows.Forms.Padding(0);
+ this.labStatusText.Name = "labStatusText";
+ this.labStatusText.Size = new System.Drawing.Size(74, 20);
+ this.labStatusText.TabIndex = 2;
+ this.labStatusText.Text = "基准状态";
+ this.labStatusText.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
+ this.labStatusText.Click += new System.EventHandler(this.panStatus_Click);
+ this.labStatusText.MouseLeave += new System.EventHandler(this.panStatus_MouseLeave);
+ this.labStatusText.MouseHover += new System.EventHandler(this.panStatus_MouseHover);
+ //
+ // picIconStatus
+ //
+ this.picIconStatus.BackgroundImage = global::Casic.Birmm.RbFreqStandMeasure.Properties.Resources.icon_status;
+ this.picIconStatus.BackgroundImageLayout = System.Windows.Forms.ImageLayout.Zoom;
+ this.picIconStatus.Location = new System.Drawing.Point(10, 14);
+ this.picIconStatus.Name = "picIconStatus";
+ this.picIconStatus.Size = new System.Drawing.Size(20, 20);
+ this.picIconStatus.TabIndex = 1;
+ this.picIconStatus.TabStop = false;
+ this.picIconStatus.Click += new System.EventHandler(this.panStatus_Click);
+ this.picIconStatus.MouseLeave += new System.EventHandler(this.panStatus_MouseLeave);
+ this.picIconStatus.MouseHover += new System.EventHandler(this.panStatus_MouseHover);
+ //
+ // labStatusSelected
+ //
+ this.labStatusSelected.BackColor = System.Drawing.Color.Transparent;
+ this.labStatusSelected.Location = new System.Drawing.Point(10, 48);
+ this.labStatusSelected.Margin = new System.Windows.Forms.Padding(0);
+ this.labStatusSelected.Name = "labStatusSelected";
+ this.labStatusSelected.Size = new System.Drawing.Size(89, 2);
+ this.labStatusSelected.TabIndex = 0;
+ //
+ // panData
+ //
+ this.panData.Back = System.Drawing.Color.Empty;
+ this.panData.Controls.Add(this.labDataSelected);
+ this.panData.Controls.Add(this.labDataText);
+ this.panData.Controls.Add(this.picIconData);
+ this.panData.Location = new System.Drawing.Point(765, 0);
+ this.panData.MatrixRound = 8;
+ this.panData.Name = "panData";
+ this.panData.Size = new System.Drawing.Size(109, 50);
+ this.panData.TabIndex = 2;
+ this.panData.Click += new System.EventHandler(this.panData_Click);
+ this.panData.MouseLeave += new System.EventHandler(this.panData_MouseLeave);
+ this.panData.MouseHover += new System.EventHandler(this.panData_MouseHover);
+ //
+ // labDataSelected
+ //
+ this.labDataSelected.BackColor = System.Drawing.Color.Transparent;
+ this.labDataSelected.Location = new System.Drawing.Point(10, 48);
+ this.labDataSelected.Margin = new System.Windows.Forms.Padding(0);
+ this.labDataSelected.Name = "labDataSelected";
+ this.labDataSelected.Size = new System.Drawing.Size(89, 2);
+ this.labDataSelected.TabIndex = 3;
+ //
+ // labDataText
+ //
+ this.labDataText.BackColor = System.Drawing.Color.Transparent;
+ this.labDataText.Cursor = System.Windows.Forms.Cursors.Hand;
+ this.labDataText.Font = new System.Drawing.Font("微软雅黑", 16F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Pixel, ((byte)(134)));
+ this.labDataText.ForeColor = System.Drawing.SystemColors.ControlText;
+ this.labDataText.Location = new System.Drawing.Point(30, 14);
+ this.labDataText.Margin = new System.Windows.Forms.Padding(0);
+ this.labDataText.Name = "labDataText";
+ this.labDataText.Size = new System.Drawing.Size(74, 20);
+ this.labDataText.TabIndex = 2;
+ this.labDataText.Text = "数据管理";
+ this.labDataText.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
+ this.labDataText.Click += new System.EventHandler(this.panData_Click);
+ this.labDataText.MouseLeave += new System.EventHandler(this.panData_MouseLeave);
+ this.labDataText.MouseHover += new System.EventHandler(this.panData_MouseHover);
+ //
+ // picIconData
+ //
+ this.picIconData.BackColor = System.Drawing.Color.Transparent;
+ this.picIconData.BackgroundImage = global::Casic.Birmm.RbFreqStandMeasure.Properties.Resources.icon_data;
+ this.picIconData.BackgroundImageLayout = System.Windows.Forms.ImageLayout.Zoom;
+ this.picIconData.Location = new System.Drawing.Point(10, 14);
+ this.picIconData.Name = "picIconData";
+ this.picIconData.Size = new System.Drawing.Size(20, 20);
+ this.picIconData.TabIndex = 1;
+ this.picIconData.TabStop = false;
+ this.picIconData.Click += new System.EventHandler(this.panData_Click);
+ this.picIconData.MouseLeave += new System.EventHandler(this.panData_MouseLeave);
+ this.picIconData.MouseHover += new System.EventHandler(this.panData_MouseHover);
+ //
+ // panHome
+ //
+ this.panHome.Back = System.Drawing.Color.Empty;
+ this.panHome.Controls.Add(this.labHomeText);
+ this.panHome.Controls.Add(this.picIconHome);
+ this.panHome.Controls.Add(this.labHomeSelected);
+ this.panHome.Cursor = System.Windows.Forms.Cursors.Hand;
+ this.panHome.Location = new System.Drawing.Point(20, 0);
+ this.panHome.MatrixRound = 8;
+ this.panHome.Name = "panHome";
+ this.panHome.Size = new System.Drawing.Size(75, 50);
+ this.panHome.TabIndex = 0;
+ this.panHome.Click += new System.EventHandler(this.panHome_Click);
+ this.panHome.MouseLeave += new System.EventHandler(this.panHome_MouseLeave);
+ this.panHome.MouseHover += new System.EventHandler(this.panHome_MouseHover);
+ //
+ // labHomeText
+ //
+ this.labHomeText.BackColor = System.Drawing.Color.Transparent;
+ this.labHomeText.Font = new System.Drawing.Font("微软雅黑", 16F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Pixel, ((byte)(134)));
+ this.labHomeText.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(18)))), ((int)(((byte)(150)))), ((int)(((byte)(219)))));
+ this.labHomeText.Location = new System.Drawing.Point(30, 14);
+ this.labHomeText.Margin = new System.Windows.Forms.Padding(0);
+ this.labHomeText.Name = "labHomeText";
+ this.labHomeText.Size = new System.Drawing.Size(42, 20);
+ this.labHomeText.TabIndex = 2;
+ this.labHomeText.Text = "首页";
+ this.labHomeText.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
+ this.labHomeText.Click += new System.EventHandler(this.panHome_Click);
+ this.labHomeText.MouseLeave += new System.EventHandler(this.panHome_MouseLeave);
+ this.labHomeText.MouseHover += new System.EventHandler(this.panHome_MouseHover);
+ //
+ // picIconHome
+ //
+ this.picIconHome.BackColor = System.Drawing.Color.Transparent;
+ this.picIconHome.BackgroundImage = global::Casic.Birmm.RbFreqStandMeasure.Properties.Resources.icon_home_selected;
+ this.picIconHome.BackgroundImageLayout = System.Windows.Forms.ImageLayout.Zoom;
+ this.picIconHome.Location = new System.Drawing.Point(10, 14);
+ this.picIconHome.Margin = new System.Windows.Forms.Padding(0);
+ this.picIconHome.Name = "picIconHome";
+ this.picIconHome.Size = new System.Drawing.Size(20, 20);
+ this.picIconHome.TabIndex = 1;
+ this.picIconHome.TabStop = false;
+ this.picIconHome.Click += new System.EventHandler(this.panHome_Click);
+ this.picIconHome.MouseLeave += new System.EventHandler(this.panHome_MouseLeave);
+ this.picIconHome.MouseHover += new System.EventHandler(this.panHome_MouseHover);
+ //
+ // labHomeSelected
+ //
+ this.labHomeSelected.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(18)))), ((int)(((byte)(150)))), ((int)(((byte)(219)))));
+ this.labHomeSelected.Location = new System.Drawing.Point(10, 48);
+ this.labHomeSelected.Name = "labHomeSelected";
+ this.labHomeSelected.Size = new System.Drawing.Size(55, 2);
+ this.labHomeSelected.TabIndex = 0;
+ //
+ // panMeasure
+ //
+ this.panMeasure.Back = System.Drawing.Color.Empty;
+ this.panMeasure.Controls.Add(this.labMeasureText);
+ this.panMeasure.Controls.Add(this.labMeasureSelected);
+ this.panMeasure.Controls.Add(this.picIconMeasure);
+ this.panMeasure.Location = new System.Drawing.Point(619, 0);
+ this.panMeasure.MatrixRound = 8;
+ this.panMeasure.Name = "panMeasure";
+ this.panMeasure.Size = new System.Drawing.Size(141, 50);
+ this.panMeasure.TabIndex = 2;
+ this.panMeasure.Click += new System.EventHandler(this.panMeasure_Click);
+ this.panMeasure.MouseLeave += new System.EventHandler(this.panMeasure_MouseLeave);
+ this.panMeasure.MouseHover += new System.EventHandler(this.panMeasure_MouseHover);
+ //
+ // labMeasureText
+ //
+ this.labMeasureText.BackColor = System.Drawing.Color.Transparent;
+ this.labMeasureText.Cursor = System.Windows.Forms.Cursors.Hand;
+ this.labMeasureText.Font = new System.Drawing.Font("微软雅黑", 16F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Pixel, ((byte)(134)));
+ this.labMeasureText.ForeColor = System.Drawing.SystemColors.ControlText;
+ this.labMeasureText.Location = new System.Drawing.Point(30, 14);
+ this.labMeasureText.Margin = new System.Windows.Forms.Padding(0);
+ this.labMeasureText.Name = "labMeasureText";
+ this.labMeasureText.Size = new System.Drawing.Size(106, 20);
+ this.labMeasureText.TabIndex = 2;
+ this.labMeasureText.Text = "计量信息管理";
+ this.labMeasureText.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
+ this.labMeasureText.Click += new System.EventHandler(this.panMeasure_Click);
+ this.labMeasureText.MouseLeave += new System.EventHandler(this.panMeasure_MouseLeave);
+ this.labMeasureText.MouseHover += new System.EventHandler(this.panMeasure_MouseHover);
+ //
+ // labMeasureSelected
+ //
+ this.labMeasureSelected.BackColor = System.Drawing.Color.Transparent;
+ this.labMeasureSelected.Location = new System.Drawing.Point(10, 48);
+ this.labMeasureSelected.Margin = new System.Windows.Forms.Padding(0);
+ this.labMeasureSelected.Name = "labMeasureSelected";
+ this.labMeasureSelected.Size = new System.Drawing.Size(121, 2);
+ this.labMeasureSelected.TabIndex = 3;
+ //
+ // picIconMeasure
+ //
+ this.picIconMeasure.BackColor = System.Drawing.Color.Transparent;
+ this.picIconMeasure.BackgroundImage = global::Casic.Birmm.RbFreqStandMeasure.Properties.Resources.icon_measure;
+ this.picIconMeasure.BackgroundImageLayout = System.Windows.Forms.ImageLayout.Zoom;
+ this.picIconMeasure.Location = new System.Drawing.Point(10, 14);
+ this.picIconMeasure.Name = "picIconMeasure";
+ this.picIconMeasure.Size = new System.Drawing.Size(20, 20);
+ this.picIconMeasure.TabIndex = 1;
+ this.picIconMeasure.TabStop = false;
+ this.picIconMeasure.Click += new System.EventHandler(this.panMeasure_Click);
+ this.picIconMeasure.MouseLeave += new System.EventHandler(this.panMeasure_MouseLeave);
+ this.picIconMeasure.MouseHover += new System.EventHandler(this.panMeasure_MouseHover);
+ //
+ // panCounter
+ //
+ this.panCounter.Back = System.Drawing.Color.Empty;
+ this.panCounter.Controls.Add(this.labCounterSelected);
+ this.panCounter.Controls.Add(this.labCounterText);
+ this.panCounter.Controls.Add(this.picIconCounter);
+ this.panCounter.Location = new System.Drawing.Point(360, 0);
+ this.panCounter.MatrixRound = 8;
+ this.panCounter.Name = "panCounter";
+ this.panCounter.Size = new System.Drawing.Size(254, 50);
+ this.panCounter.TabIndex = 2;
+ this.panCounter.Click += new System.EventHandler(this.panCounter_Click);
+ this.panCounter.MouseLeave += new System.EventHandler(this.panCounter_MouseLeave);
+ this.panCounter.MouseHover += new System.EventHandler(this.panCounter_MouseHover);
+ //
+ // labCounterSelected
+ //
+ this.labCounterSelected.BackColor = System.Drawing.Color.Transparent;
+ this.labCounterSelected.Location = new System.Drawing.Point(10, 48);
+ this.labCounterSelected.Margin = new System.Windows.Forms.Padding(0);
+ this.labCounterSelected.Name = "labCounterSelected";
+ this.labCounterSelected.Size = new System.Drawing.Size(233, 2);
+ this.labCounterSelected.TabIndex = 4;
+ //
+ // labCounterText
+ //
+ this.labCounterText.BackColor = System.Drawing.Color.Transparent;
+ this.labCounterText.Cursor = System.Windows.Forms.Cursors.Hand;
+ this.labCounterText.Font = new System.Drawing.Font("微软雅黑", 16F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Pixel, ((byte)(134)));
+ this.labCounterText.ForeColor = System.Drawing.SystemColors.ControlText;
+ this.labCounterText.Location = new System.Drawing.Point(30, 14);
+ this.labCounterText.Margin = new System.Windows.Forms.Padding(0);
+ this.labCounterText.Name = "labCounterText";
+ this.labCounterText.Size = new System.Drawing.Size(218, 20);
+ this.labCounterText.TabIndex = 2;
+ this.labCounterText.Text = "频率计数器范围及灵敏度测量";
+ this.labCounterText.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
+ this.labCounterText.Click += new System.EventHandler(this.panCounter_Click);
+ this.labCounterText.MouseLeave += new System.EventHandler(this.panCounter_MouseLeave);
+ this.labCounterText.MouseHover += new System.EventHandler(this.panCounter_MouseHover);
+ //
+ // picIconCounter
+ //
+ this.picIconCounter.BackColor = System.Drawing.Color.Transparent;
+ this.picIconCounter.BackgroundImage = global::Casic.Birmm.RbFreqStandMeasure.Properties.Resources.icon_counter;
+ this.picIconCounter.BackgroundImageLayout = System.Windows.Forms.ImageLayout.Zoom;
+ this.picIconCounter.Location = new System.Drawing.Point(10, 14);
+ this.picIconCounter.Name = "picIconCounter";
+ this.picIconCounter.Size = new System.Drawing.Size(20, 20);
+ this.picIconCounter.TabIndex = 1;
+ this.picIconCounter.TabStop = false;
+ this.picIconCounter.Click += new System.EventHandler(this.panCounter_Click);
+ this.picIconCounter.MouseLeave += new System.EventHandler(this.panCounter_MouseLeave);
+ this.picIconCounter.MouseHover += new System.EventHandler(this.panCounter_MouseHover);
+ //
+ // panelMain
+ //
+ this.panelMain.Location = new System.Drawing.Point(0, 114);
+ this.panelMain.Name = "panelMain";
+ this.panelMain.Size = new System.Drawing.Size(1024, 654);
+ this.panelMain.TabIndex = 2;
+ //
// RbFreqStdMeas
//
this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 12F);
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
this.ClientSize = new System.Drawing.Size(1024, 768);
+ this.Controls.Add(this.panelMain);
this.Controls.Add(this.panMenu);
this.Controls.Add(this.penBanner);
this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.None;
@@ -221,11 +560,21 @@
this.Text = "RbFreqStdMeas";
this.Load += new System.EventHandler(this.RbFreqStdMeas_Load);
this.panMenu.ResumeLayout(false);
+ this.penBanner.ResumeLayout(false);
+ this.panDev.ResumeLayout(false);
+ ((System.ComponentModel.ISupportInitialize)(this.picIconDev)).EndInit();
+ this.panSetting.ResumeLayout(false);
+ ((System.ComponentModel.ISupportInitialize)(this.picIconSetting)).EndInit();
this.panStatus.ResumeLayout(false);
((System.ComponentModel.ISupportInitialize)(this.picIconStatus)).EndInit();
+ this.panData.ResumeLayout(false);
+ ((System.ComponentModel.ISupportInitialize)(this.picIconData)).EndInit();
this.panHome.ResumeLayout(false);
((System.ComponentModel.ISupportInitialize)(this.picIconHome)).EndInit();
- this.penBanner.ResumeLayout(false);
+ this.panMeasure.ResumeLayout(false);
+ ((System.ComponentModel.ISupportInitialize)(this.picIconMeasure)).EndInit();
+ this.panCounter.ResumeLayout(false);
+ ((System.ComponentModel.ISupportInitialize)(this.picIconCounter)).EndInit();
this.ResumeLayout(false);
}
@@ -244,5 +593,27 @@
private RoundPanel panStatus;
private RoundPanel panHome;
private System.Windows.Forms.Label labStatusSelected;
+ private RoundPanel panDev;
+ private System.Windows.Forms.PictureBox picIconDev;
+ private System.Windows.Forms.Label labDevText;
+ private System.Windows.Forms.Label labMeasureSelected;
+ private RoundPanel panCounter;
+ private System.Windows.Forms.Label labCounterText;
+ private System.Windows.Forms.PictureBox picIconCounter;
+ private RoundPanel panMeasure;
+ private System.Windows.Forms.Label labMeasureText;
+ private System.Windows.Forms.PictureBox picIconMeasure;
+ private RoundPanel panData;
+ private System.Windows.Forms.Label labDataText;
+ private System.Windows.Forms.PictureBox picIconData;
+ private RoundPanel panSetting;
+ private System.Windows.Forms.Label labSettingText;
+ private System.Windows.Forms.PictureBox picIconSetting;
+ private System.Windows.Forms.Label labCounterSelected;
+ private System.Windows.Forms.Label labDevSelected;
+ private System.Windows.Forms.Label labDataSelected;
+ private System.Windows.Forms.Label labSettingSelected;
+ private System.Windows.Forms.Button btnMinSys;
+ private System.Windows.Forms.Panel panelMain;
}
}
\ No newline at end of file
diff --git a/RbFreqStandMeasure/RbFreqStdMeas.cs b/RbFreqStandMeasure/RbFreqStdMeas.cs
index 3858ddb..af980d7 100644
--- a/RbFreqStandMeasure/RbFreqStdMeas.cs
+++ b/RbFreqStandMeasure/RbFreqStdMeas.cs
@@ -1,13 +1,9 @@
-using Casic.Birmm.RbFreqStandMeasure.Properties;
+using Casic.Birmm.RbFreqStandMeasure.info;
+using Casic.Birmm.RbFreqStandMeasure.Properties;
+using Casic.Birmm.RbFreqStandMeasure.setting;
using System;
-using System.Collections.Generic;
-using System.ComponentModel;
-using System.Data;
using System.Drawing;
-using System.Linq;
-using System.Resources;
using System.Runtime.InteropServices;
-using System.Text;
using System.Windows.Forms;
namespace Casic.Birmm.RbFreqStandMeasure
@@ -15,7 +11,7 @@
public partial class RbFreqStdMeas : Form
{
- #region 无边框拖动效果
+ #region 无边框拖动效果/最小化窗口/关闭窗口
[DllImport("user32.dll")]//拖动无窗体的控件
public static extern bool ReleaseCapture();
[DllImport("user32.dll")]
@@ -30,9 +26,29 @@
ReleaseCapture();
SendMessage(this.Handle, WM_SYSCOMMAND, SC_MOVE + HTCAPTION, 0);
}
+ private void btnExitSys_Click(object sender, EventArgs e)
+ {
+ Application.Exit();
+ }
+ private void btnMinSys_Click(object sender, EventArgs e)
+ {
+ this.WindowState = FormWindowState.Minimized;
+ }
+ private void btnExitSys_MouseHover(object sender, EventArgs e)
+ {
+ ToolTip p = new ToolTip();
+ p.ShowAlways = true;
+ p.SetToolTip(this.btnExitSys, "退出");
+ }
+ private void btnMinSys_MouseHover(object sender, EventArgs e)
+ {
+ ToolTip p = new ToolTip();
+ p.ShowAlways = true;
+ p.SetToolTip(this.btnMinSys, "最小化");
+ }
#endregion
- private bool[] menuSelected = { true, false };
+ private bool[] menuSelected = { true, false, false, false, false, false, false };
// 按钮图标
private PictureBox[] menuPics;
// 按钮图标的资源名称(选中的资源名称在后面加上 _selected)
@@ -57,7 +73,7 @@
// 将当前按钮的效果设置为默认未选中
this.menuPics[index].BackgroundImage = (Bitmap)Resources.ResourceManager.GetObject(this.menuIconResources[index], null);
- this.menuLabels[index].ForeColor = ColorTranslator.FromHtml("#2C2C2C");
+ this.menuLabels[index].ForeColor = ColorTranslator.FromHtml("#333333");
this.menuUnderlines[index].BackColor = Color.Transparent;
}
@@ -79,13 +95,15 @@
LeaveHome();
// 重新设置所有按钮的状态
- this.menuSelected = new bool[] { true, false };
+ this.menuSelected = new bool[] { true, false, false, false, false, false, false };
// 将新选中的按钮设置为选中
this.picIconHome.BackgroundImage = (Bitmap)Resources.ResourceManager.GetObject("icon_home_selected", null);
- this.labHomeText.ForeColor = ColorTranslator.FromHtml("#1296db");
- this.labHomeSelected.BackColor = ColorTranslator.FromHtml("#1296db");
+ this.labHomeText.ForeColor = ColorTranslator.FromHtml("#3f84d7");
+ this.labHomeSelected.BackColor = ColorTranslator.FromHtml("#3f84d7");
+ // 切换至首页
+ switchMainPanel(0);
}
#endregion
@@ -107,12 +125,163 @@
LeaveStatus();
// 重新设置所有按钮的状态
- this.menuSelected = new bool[] { false, true };
+ this.menuSelected = new bool[] { false, true, false, false, false, false, false };
// 将新选中的按钮设置为选中
this.picIconStatus.BackgroundImage = (Bitmap) Resources.ResourceManager.GetObject("icon_status_selected", null);
- this.labStatusText.ForeColor = ColorTranslator.FromHtml("#1296db");
- this.labStatusSelected.BackColor = ColorTranslator.FromHtml("#1296db");
+ this.labStatusText.ForeColor = ColorTranslator.FromHtml("#3f84d7");
+ this.labStatusSelected.BackColor = ColorTranslator.FromHtml("#3f84d7");
+
+ // 切换到基准状态页面
+ switchMainPanel(1);
+ }
+ #endregion
+
+ #region 送检仪器按钮点击、移入/移出效果
+ private void HoverDev()
+ {
+ panDev.Back = ColorTranslator.FromHtml("#56a3f2");
+ }
+ private void LeaveDev()
+ {
+ panDev.Back = Color.Transparent;
+ }
+ private void SelectDev()
+ {
+ // 移除所有按钮的选中样式
+ this.ClearAllMenuSelected();
+
+ // 鼠标移入效果去掉
+ LeaveDev();
+
+ // 重新设置所有按钮的状态
+ this.menuSelected = new bool[] { false, false, true, false, false ,false ,false };
+
+ // 将新选中的按钮设置为选中
+ this.picIconDev.BackgroundImage = (Bitmap)Resources.ResourceManager.GetObject("icon_dev_selected", null);
+ this.labDevText.ForeColor = ColorTranslator.FromHtml("#3f84d7");
+ this.labDevSelected.BackColor = ColorTranslator.FromHtml("#3f84d7");
+
+ // 切换至待检仪器管理
+ switchMainPanel(2);
+ }
+ #endregion
+
+ #region 频率计数器测量点击、移入/移出效果
+ private void HoverCounter()
+ {
+ panCounter.Back = ColorTranslator.FromHtml("#56a3f2");
+ }
+ private void LeaveCounter()
+ {
+ panCounter.Back = Color.Transparent;
+ }
+ private void SelectCounter()
+ {
+ // 移除所有按钮的选中样式
+ this.ClearAllMenuSelected();
+
+ // 鼠标移入效果去掉
+ LeaveCounter();
+
+ // 重新设置所有按钮的状态
+ this.menuSelected = new bool[] { false, false, false, true, false, false, false };
+
+ // 将新选中的按钮设置为选中
+ this.picIconCounter.BackgroundImage = (Bitmap)Resources.ResourceManager.GetObject("icon_counter_selected", null);
+ this.labCounterText.ForeColor = ColorTranslator.FromHtml("#3f84d7");
+ this.labCounterSelected.BackColor = ColorTranslator.FromHtml("#3f84d7");
+ }
+ #endregion
+
+ #region 计量管理点击、移入/移出效果
+ private void HoverMeasure()
+ {
+ panMeasure.Back = ColorTranslator.FromHtml("#56a3f2");
+ }
+ private void LeaveMeasure()
+ {
+ panMeasure.Back = Color.Transparent;
+ }
+ private void SelectMeasure()
+ {
+ // 移除所有按钮的选中样式
+ this.ClearAllMenuSelected();
+
+ // 鼠标移入效果去掉
+ LeaveMeasure();
+
+ // 重新设置所有按钮的状态
+ this.menuSelected = new bool[] { false, false, false, false, true, false, false };
+
+ // 将新选中的按钮设置为选中
+ this.picIconMeasure.BackgroundImage = (Bitmap)Resources.ResourceManager.GetObject("icon_measure_selected", null);
+ this.labMeasureText.ForeColor = ColorTranslator.FromHtml("#3f84d7");
+ this.labMeasureSelected.BackColor = ColorTranslator.FromHtml("#3f84d7");
+
+ // 切换至计量信息管理
+ switchMainPanel(4);
+ }
+ #endregion
+
+ #region 数据管理点击、移入/移出效果
+ private void HoverData()
+ {
+ panData.Back = ColorTranslator.FromHtml("#56a3f2");
+ }
+ private void LeaveData()
+ {
+ panData.Back = Color.Transparent;
+ }
+ private void SelectData()
+ {
+ // 移除所有按钮的选中样式
+ this.ClearAllMenuSelected();
+
+ // 鼠标移入效果去掉
+ LeaveData();
+
+ // 重新设置所有按钮的状态
+ this.menuSelected = new bool[] { false, false, false, false, false, true, false };
+
+ // 将新选中的按钮设置为选中
+ this.picIconData.BackgroundImage = (Bitmap)Resources.ResourceManager.GetObject("icon_data_selected", null);
+ this.labDataText.ForeColor = ColorTranslator.FromHtml("#3f84d7");
+ this.labDataSelected.BackColor = ColorTranslator.FromHtml("#3f84d7");
+
+ // 弹出对话框进行数据备份与还原操作
+ DataBackupDlg dataDlg = new DataBackupDlg();
+ dataDlg.ShowDialog();
+ }
+ #endregion
+
+ #region 系统管理点击、移入/移出效果
+ private void HoverSetting()
+ {
+ panSetting.Back = ColorTranslator.FromHtml("#56a3f2");
+ }
+ private void LeaveSetting()
+ {
+ panSetting.Back = Color.Transparent;
+ }
+ private void SelectSetting()
+ {
+ // 移除所有按钮的选中样式
+ this.ClearAllMenuSelected();
+
+ // 鼠标移入效果去掉
+ LeaveSetting();
+
+ // 重新设置所有按钮的状态
+ this.menuSelected = new bool[] { false, false, false, false, false, false, true };
+
+ // 将新选中的按钮设置为选中
+ this.picIconSetting.BackgroundImage = (Bitmap)Resources.ResourceManager.GetObject("icon_setting_selected", null);
+ this.labSettingText.ForeColor = ColorTranslator.FromHtml("#3f84d7");
+ this.labSettingSelected.BackColor = ColorTranslator.FromHtml("#3f84d7");
+
+ // 切换到设置的界面
+ switchMainPanel(6);
}
#endregion
@@ -123,22 +292,13 @@
private void RbFreqStdMeas_Load(object sender, EventArgs e)
{
- this.menuPics = new PictureBox[] { this.picIconHome, this.picIconStatus };
- this.menuLabels = new Label[] { this.labHomeText, this.labStatusText };
- this.menuUnderlines = new Label[] { this.labHomeSelected, this.labStatusSelected };
- this.menuIconResources = new string[] { "icon_home", "icon_status" };
- }
+ this.menuPics = new PictureBox[] { this.picIconHome, this.picIconStatus, this.picIconDev, this.picIconCounter, this.picIconMeasure, this.picIconData, this.picIconSetting };
+ this.menuLabels = new Label[] { this.labHomeText, this.labStatusText, this.labDevText, this.labCounterText, this.labMeasureText, this.labDataText, this.labSettingText };
+ this.menuUnderlines = new Label[] { this.labHomeSelected, this.labStatusSelected, this.labDevSelected, this.labCounterSelected, this.labMeasureSelected, this.labDataSelected, this.labSettingSelected };
+ this.menuIconResources = new string[] { "icon_home", "icon_status", "icon_dev", "icon_counter", "icon_measure", "icon_data", "icon_setting" };
- private void btnExitSys_Click(object sender, EventArgs e)
- {
- Application.Exit();
- }
-
- private void btnExitSys_MouseHover(object sender, EventArgs e)
- {
- ToolTip p = new ToolTip();
- p.ShowAlways = true;
- p.SetToolTip(this.btnExitSys, "退出");
+ // 加载首页的内容
+ switchMainPanel(0);
}
private void panHome_Click(object sender, EventArgs e)
@@ -191,5 +351,169 @@
LeaveStatus();
}
}
+
+ private void panDev_Click(object sender, EventArgs e)
+ {
+ if (this.menuSelected[2] == false)
+ {
+ SelectDev();
+ }
+ }
+
+ private void panDev_MouseHover(object sender, EventArgs e)
+ {
+ if (this.menuSelected[2] == false)
+ {
+ HoverDev();
+ }
+ }
+
+ private void panDev_MouseLeave(object sender, EventArgs e)
+ {
+ if (this.menuSelected[2] == false)
+ {
+ LeaveDev();
+ }
+ }
+
+ private void panCounter_Click(object sender, EventArgs e)
+ {
+ if (this.menuSelected[3] == false)
+ {
+ SelectCounter();
+ }
+ }
+
+ private void panCounter_MouseHover(object sender, EventArgs e)
+ {
+ if (this.menuSelected[3] == false)
+ {
+ HoverCounter();
+ }
+ }
+
+ private void panCounter_MouseLeave(object sender, EventArgs e)
+ {
+ if (this.menuSelected[3] == false)
+ {
+ LeaveCounter();
+ }
+ }
+
+ private void panMeasure_Click(object sender, EventArgs e)
+ {
+ if (this.menuSelected[4] == false)
+ {
+ SelectMeasure();
+ }
+ }
+
+ private void panMeasure_MouseHover(object sender, EventArgs e)
+ {
+ if (this.menuSelected[4] == false)
+ {
+ HoverMeasure();
+ }
+ }
+
+ private void panMeasure_MouseLeave(object sender, EventArgs e)
+ {
+ if (this.menuSelected[4] == false)
+ {
+ LeaveMeasure();
+ }
+ }
+
+ private void panData_Click(object sender, EventArgs e)
+ {
+ if (this.menuSelected[5] == false)
+ {
+ SelectData();
+ }
+ }
+
+ private void panData_MouseHover(object sender, EventArgs e)
+ {
+ if (this.menuSelected[5] == false)
+ {
+ HoverData();
+ }
+ }
+
+ private void panData_MouseLeave(object sender, EventArgs e)
+ {
+ if (this.menuSelected[5] == false)
+ {
+ LeaveData();
+ }
+ }
+
+ private void panSetting_Click(object sender, EventArgs e)
+ {
+ if (this.menuSelected[6] == false)
+ {
+ SelectSetting();
+ }
+ }
+
+ private void panSetting_MouseHover(object sender, EventArgs e)
+ {
+ if (this.menuSelected[6] == false)
+ {
+ HoverSetting();
+ }
+ }
+
+ private void panSetting_MouseLeave(object sender, EventArgs e)
+ {
+ if (this.menuSelected[6] == false)
+ {
+ LeaveSetting();
+ }
+ }
+
+ private void switchMainPanel(int index)
+ {
+ this.panelMain.Controls.Clear();
+
+ switch (index)
+ {
+ case 0: // 首页
+ HomeCtrlForm home = new HomeCtrlForm();
+ home.Show();
+ this.panelMain.Controls.Add(home);
+ break;
+
+ case 1: // 基准状态
+ StatusCtrlForm statusForm = new StatusCtrlForm();
+ statusForm.Show();
+ this.panelMain.Controls.Add(statusForm);
+ break;
+
+ case 2: // 待检设备
+ InfoCtrlForm infoForm = new InfoCtrlForm();
+ infoForm.Show();
+ this.panelMain.Controls.Add(infoForm);
+ break;
+
+ case 3: // 频率计数器范围
+ break;
+
+ case 4: // 计量信息
+ DevTestedCtrlForm tested = new DevTestedCtrlForm();
+ tested.Show();
+ this.panelMain.Controls.Add(tested);
+ break;
+
+ case 6: // 设置
+ SettingCtrlForm settingForm = new SettingCtrlForm();
+ settingForm.Show();
+ this.panelMain.Controls.Add(settingForm);
+ break;
+
+ default:
+ break;
+ }
+ }
}
}
\ No newline at end of file
diff --git a/RbFreqStandMeasure/StatusCtrlForm.Designer.cs b/RbFreqStandMeasure/StatusCtrlForm.Designer.cs
index bf5071a..b4151fd 100644
--- a/RbFreqStandMeasure/StatusCtrlForm.Designer.cs
+++ b/RbFreqStandMeasure/StatusCtrlForm.Designer.cs
@@ -31,21 +31,34 @@
{
this.panelSite = new System.Windows.Forms.Panel();
this.label5 = new System.Windows.Forms.Label();
- this.panelStatus = new System.Windows.Forms.Panel();
+ this.panel3 = new System.Windows.Forms.Panel();
+ this.label8 = new System.Windows.Forms.Label();
+ this.label13 = new System.Windows.Forms.Label();
+ this.label12 = new System.Windows.Forms.Label();
+ this.label11 = new System.Windows.Forms.Label();
+ this.label9 = new System.Windows.Forms.Label();
+ this.label10 = new System.Windows.Forms.Label();
+ this.panel2 = new System.Windows.Forms.Panel();
this.label4 = new System.Windows.Forms.Label();
+ this.label7 = new System.Windows.Forms.Label();
+ this.label6 = new System.Windows.Forms.Label();
+ this.label1 = new System.Windows.Forms.Label();
+ this.panel1 = new System.Windows.Forms.Panel();
this.label3 = new System.Windows.Forms.Label();
this.label2 = new System.Windows.Forms.Label();
- this.label1 = new System.Windows.Forms.Label();
+ this.label14 = new System.Windows.Forms.Label();
this.panelSite.SuspendLayout();
- this.panelStatus.SuspendLayout();
+ this.panel3.SuspendLayout();
+ this.panel2.SuspendLayout();
+ this.panel1.SuspendLayout();
this.SuspendLayout();
//
// panelSite
//
this.panelSite.Controls.Add(this.label5);
- this.panelSite.Location = new System.Drawing.Point(200, 0);
+ this.panelSite.Location = new System.Drawing.Point(232, 0);
this.panelSite.Name = "panelSite";
- this.panelSite.Size = new System.Drawing.Size(800, 640);
+ this.panelSite.Size = new System.Drawing.Size(773, 640);
this.panelSite.TabIndex = 3;
//
// label5
@@ -57,67 +70,208 @@
this.label5.TabIndex = 0;
this.label5.Text = "卫星位置图";
//
- // panelStatus
+ // panel3
//
- this.panelStatus.BackColor = System.Drawing.SystemColors.Window;
- this.panelStatus.Controls.Add(this.label4);
- this.panelStatus.Controls.Add(this.label3);
- this.panelStatus.Controls.Add(this.label2);
- this.panelStatus.Controls.Add(this.label1);
- this.panelStatus.Location = new System.Drawing.Point(0, 0);
- this.panelStatus.Name = "panelStatus";
- this.panelStatus.Size = new System.Drawing.Size(200, 640);
- this.panelStatus.TabIndex = 2;
+ this.panel3.BackgroundImage = global::Casic.Birmm.RbFreqStandMeasure.Properties.Resources.bg_status_location;
+ this.panel3.Controls.Add(this.label8);
+ this.panel3.Controls.Add(this.label13);
+ this.panel3.Controls.Add(this.label12);
+ this.panel3.Controls.Add(this.label11);
+ this.panel3.Controls.Add(this.label9);
+ this.panel3.Controls.Add(this.label10);
+ this.panel3.Location = new System.Drawing.Point(6, 360);
+ this.panel3.Name = "panel3";
+ this.panel3.Size = new System.Drawing.Size(224, 293);
+ this.panel3.TabIndex = 6;
+ //
+ // label8
+ //
+ this.label8.BackColor = System.Drawing.Color.Transparent;
+ this.label8.Font = new System.Drawing.Font("微软雅黑", 14F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Pixel, ((byte)(134)));
+ this.label8.Location = new System.Drawing.Point(0, 20);
+ this.label8.Name = "label8";
+ this.label8.Size = new System.Drawing.Size(224, 25);
+ this.label8.TabIndex = 0;
+ this.label8.Text = "位置信息";
+ this.label8.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
+ //
+ // label13
+ //
+ this.label13.BackColor = System.Drawing.Color.Transparent;
+ this.label13.Font = new System.Drawing.Font("微软雅黑", 14F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Pixel, ((byte)(134)));
+ this.label13.Location = new System.Drawing.Point(0, 220);
+ this.label13.Margin = new System.Windows.Forms.Padding(0);
+ this.label13.Name = "label13";
+ this.label13.Size = new System.Drawing.Size(75, 25);
+ this.label13.TabIndex = 1;
+ this.label13.Text = "Z";
+ this.label13.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
+ //
+ // label12
+ //
+ this.label12.BackColor = System.Drawing.Color.Transparent;
+ this.label12.Font = new System.Drawing.Font("微软雅黑", 14F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Pixel, ((byte)(134)));
+ this.label12.Location = new System.Drawing.Point(0, 180);
+ this.label12.Margin = new System.Windows.Forms.Padding(0);
+ this.label12.Name = "label12";
+ this.label12.Size = new System.Drawing.Size(75, 25);
+ this.label12.TabIndex = 1;
+ this.label12.Text = "Y";
+ this.label12.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
+ //
+ // label11
+ //
+ this.label11.BackColor = System.Drawing.Color.Transparent;
+ this.label11.Font = new System.Drawing.Font("微软雅黑", 14F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Pixel, ((byte)(134)));
+ this.label11.Location = new System.Drawing.Point(0, 140);
+ this.label11.Margin = new System.Windows.Forms.Padding(0);
+ this.label11.Name = "label11";
+ this.label11.Size = new System.Drawing.Size(75, 25);
+ this.label11.TabIndex = 1;
+ this.label11.Text = "X";
+ this.label11.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
+ //
+ // label9
+ //
+ this.label9.BackColor = System.Drawing.Color.Transparent;
+ this.label9.Font = new System.Drawing.Font("微软雅黑", 14F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Pixel, ((byte)(134)));
+ this.label9.Location = new System.Drawing.Point(0, 60);
+ this.label9.Name = "label9";
+ this.label9.Size = new System.Drawing.Size(75, 25);
+ this.label9.TabIndex = 1;
+ this.label9.Text = "经度";
+ this.label9.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
+ //
+ // label10
+ //
+ this.label10.BackColor = System.Drawing.Color.Transparent;
+ this.label10.Font = new System.Drawing.Font("微软雅黑", 14F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Pixel, ((byte)(134)));
+ this.label10.Location = new System.Drawing.Point(0, 100);
+ this.label10.Margin = new System.Windows.Forms.Padding(0);
+ this.label10.Name = "label10";
+ this.label10.Size = new System.Drawing.Size(75, 25);
+ this.label10.TabIndex = 1;
+ this.label10.Text = "纬度";
+ this.label10.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
+ //
+ // panel2
+ //
+ this.panel2.BackgroundImage = global::Casic.Birmm.RbFreqStandMeasure.Properties.Resources.bg_status_time;
+ this.panel2.Controls.Add(this.label4);
+ this.panel2.Controls.Add(this.label7);
+ this.panel2.Controls.Add(this.label6);
+ this.panel2.Controls.Add(this.label1);
+ this.panel2.Location = new System.Drawing.Point(6, 160);
+ this.panel2.Name = "panel2";
+ this.panel2.Size = new System.Drawing.Size(224, 200);
+ this.panel2.TabIndex = 5;
//
// label4
//
- this.label4.AutoSize = true;
- this.label4.Location = new System.Drawing.Point(59, 185);
+ this.label4.BackColor = System.Drawing.Color.Transparent;
+ this.label4.Font = new System.Drawing.Font("微软雅黑", 14F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Pixel, ((byte)(134)));
+ this.label4.Location = new System.Drawing.Point(0, 20);
this.label4.Name = "label4";
- this.label4.Size = new System.Drawing.Size(53, 12);
+ this.label4.Size = new System.Drawing.Size(224, 25);
this.label4.TabIndex = 0;
- this.label4.Text = "事件信息";
+ this.label4.Text = "时间信息";
+ this.label4.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
//
- // label3
+ // label7
//
- this.label3.AutoSize = true;
- this.label3.Location = new System.Drawing.Point(59, 139);
- this.label3.Name = "label3";
- this.label3.Size = new System.Drawing.Size(53, 12);
- this.label3.TabIndex = 0;
- this.label3.Text = "位置信息";
+ this.label7.BackColor = System.Drawing.Color.Transparent;
+ this.label7.Font = new System.Drawing.Font("微软雅黑", 14F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Pixel, ((byte)(134)));
+ this.label7.Location = new System.Drawing.Point(0, 140);
+ this.label7.Margin = new System.Windows.Forms.Padding(0);
+ this.label7.Name = "label7";
+ this.label7.Size = new System.Drawing.Size(75, 25);
+ this.label7.TabIndex = 1;
+ this.label7.Text = "MJD";
+ this.label7.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
//
- // label2
+ // label6
//
- this.label2.AutoSize = true;
- this.label2.Location = new System.Drawing.Point(59, 98);
- this.label2.Name = "label2";
- this.label2.Size = new System.Drawing.Size(53, 12);
- this.label2.TabIndex = 0;
- this.label2.Text = "锁定状态";
+ this.label6.BackColor = System.Drawing.Color.Transparent;
+ this.label6.Font = new System.Drawing.Font("微软雅黑", 14F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Pixel, ((byte)(134)));
+ this.label6.Location = new System.Drawing.Point(0, 100);
+ this.label6.Name = "label6";
+ this.label6.Size = new System.Drawing.Size(75, 25);
+ this.label6.TabIndex = 1;
+ this.label6.Text = "时间";
+ this.label6.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
//
// label1
//
- this.label1.AutoSize = true;
- this.label1.Location = new System.Drawing.Point(33, 53);
+ this.label1.BackColor = System.Drawing.Color.Transparent;
+ this.label1.Font = new System.Drawing.Font("微软雅黑", 14F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Pixel, ((byte)(134)));
+ this.label1.Location = new System.Drawing.Point(0, 60);
this.label1.Name = "label1";
- this.label1.Size = new System.Drawing.Size(29, 12);
- this.label1.TabIndex = 0;
- this.label1.Text = "状态";
+ this.label1.Size = new System.Drawing.Size(75, 25);
+ this.label1.TabIndex = 1;
+ this.label1.Text = "日期";
+ this.label1.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
+ //
+ // panel1
+ //
+ this.panel1.BackgroundImage = global::Casic.Birmm.RbFreqStandMeasure.Properties.Resources.bg_status_base;
+ this.panel1.Controls.Add(this.label3);
+ this.panel1.Controls.Add(this.label2);
+ this.panel1.Controls.Add(this.label14);
+ this.panel1.Location = new System.Drawing.Point(6, 0);
+ this.panel1.Margin = new System.Windows.Forms.Padding(0);
+ this.panel1.Name = "panel1";
+ this.panel1.Size = new System.Drawing.Size(224, 160);
+ this.panel1.TabIndex = 4;
+ //
+ // label3
+ //
+ this.label3.BackColor = System.Drawing.Color.Transparent;
+ this.label3.Font = new System.Drawing.Font("微软雅黑", 14F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Pixel, ((byte)(134)));
+ this.label3.Location = new System.Drawing.Point(0, 100);
+ this.label3.Name = "label3";
+ this.label3.Size = new System.Drawing.Size(75, 25);
+ this.label3.TabIndex = 1;
+ this.label3.Text = "接收机";
+ this.label3.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
+ //
+ // label2
+ //
+ this.label2.BackColor = System.Drawing.Color.Transparent;
+ this.label2.Font = new System.Drawing.Font("微软雅黑", 14F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Pixel, ((byte)(134)));
+ this.label2.Location = new System.Drawing.Point(0, 60);
+ this.label2.Name = "label2";
+ this.label2.Size = new System.Drawing.Size(75, 25);
+ this.label2.TabIndex = 1;
+ this.label2.Text = "原子钟";
+ this.label2.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
+ //
+ // label14
+ //
+ this.label14.BackColor = System.Drawing.Color.Transparent;
+ this.label14.Font = new System.Drawing.Font("微软雅黑", 14F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Pixel, ((byte)(134)));
+ this.label14.Location = new System.Drawing.Point(0, 20);
+ this.label14.Name = "label14";
+ this.label14.Size = new System.Drawing.Size(224, 25);
+ this.label14.TabIndex = 0;
+ this.label14.Text = "基本信息";
+ this.label14.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
//
// StatusCtrlForm
//
this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 12F);
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
+ this.Controls.Add(this.panel3);
+ this.Controls.Add(this.panel2);
+ this.Controls.Add(this.panel1);
this.Controls.Add(this.panelSite);
- this.Controls.Add(this.panelStatus);
this.Margin = new System.Windows.Forms.Padding(10);
this.Name = "StatusCtrlForm";
- this.Size = new System.Drawing.Size(1000, 640);
+ this.Size = new System.Drawing.Size(1024, 654);
this.panelSite.ResumeLayout(false);
this.panelSite.PerformLayout();
- this.panelStatus.ResumeLayout(false);
- this.panelStatus.PerformLayout();
+ this.panel3.ResumeLayout(false);
+ this.panel2.ResumeLayout(false);
+ this.panel1.ResumeLayout(false);
this.ResumeLayout(false);
}
@@ -126,10 +280,21 @@
private System.Windows.Forms.Panel panelSite;
private System.Windows.Forms.Label label5;
- private System.Windows.Forms.Panel panelStatus;
+ private System.Windows.Forms.Panel panel3;
+ private System.Windows.Forms.Label label8;
+ private System.Windows.Forms.Label label13;
+ private System.Windows.Forms.Label label12;
+ private System.Windows.Forms.Label label11;
+ private System.Windows.Forms.Label label9;
+ private System.Windows.Forms.Label label10;
+ private System.Windows.Forms.Panel panel2;
private System.Windows.Forms.Label label4;
+ private System.Windows.Forms.Label label7;
+ private System.Windows.Forms.Label label6;
+ private System.Windows.Forms.Label label1;
+ private System.Windows.Forms.Panel panel1;
private System.Windows.Forms.Label label3;
private System.Windows.Forms.Label label2;
- private System.Windows.Forms.Label label1;
+ private System.Windows.Forms.Label label14;
}
}
diff --git a/RbFreqStandMeasure/res/images/bg_banner.png b/RbFreqStandMeasure/res/images/bg_banner.png
index d795b7d..3119070 100644
--- a/RbFreqStandMeasure/res/images/bg_banner.png
+++ b/RbFreqStandMeasure/res/images/bg_banner.png
Binary files differ
diff --git a/RbFreqStandMeasure/res/images/bg_dev_channel.png b/RbFreqStandMeasure/res/images/bg_dev_channel.png
new file mode 100644
index 0000000..7bac7ce
--- /dev/null
+++ b/RbFreqStandMeasure/res/images/bg_dev_channel.png
Binary files differ
diff --git a/RbFreqStandMeasure/res/images/bg_dev_tested.png b/RbFreqStandMeasure/res/images/bg_dev_tested.png
new file mode 100644
index 0000000..0b43ead
--- /dev/null
+++ b/RbFreqStandMeasure/res/images/bg_dev_tested.png
Binary files differ
diff --git a/RbFreqStandMeasure/res/images/bg_status_base.png b/RbFreqStandMeasure/res/images/bg_status_base.png
new file mode 100644
index 0000000..ef11397
--- /dev/null
+++ b/RbFreqStandMeasure/res/images/bg_status_base.png
Binary files differ
diff --git a/RbFreqStandMeasure/res/images/bg_status_location.png b/RbFreqStandMeasure/res/images/bg_status_location.png
new file mode 100644
index 0000000..64d28d5
--- /dev/null
+++ b/RbFreqStandMeasure/res/images/bg_status_location.png
Binary files differ
diff --git a/RbFreqStandMeasure/res/images/bg_status_time.png b/RbFreqStandMeasure/res/images/bg_status_time.png
new file mode 100644
index 0000000..eec981a
--- /dev/null
+++ b/RbFreqStandMeasure/res/images/bg_status_time.png
Binary files differ
diff --git a/RbFreqStandMeasure/res/images/icon_counter.png b/RbFreqStandMeasure/res/images/icon_counter.png
new file mode 100644
index 0000000..060c3d7
--- /dev/null
+++ b/RbFreqStandMeasure/res/images/icon_counter.png
Binary files differ
diff --git a/RbFreqStandMeasure/res/images/icon_counter_selected.png b/RbFreqStandMeasure/res/images/icon_counter_selected.png
new file mode 100644
index 0000000..45c7720
--- /dev/null
+++ b/RbFreqStandMeasure/res/images/icon_counter_selected.png
Binary files differ
diff --git a/RbFreqStandMeasure/HomeCtrlForm.Designer.cs b/RbFreqStandMeasure/HomeCtrlForm.Designer.cs
index fb515f8..73e477a 100644
--- a/RbFreqStandMeasure/HomeCtrlForm.Designer.cs
+++ b/RbFreqStandMeasure/HomeCtrlForm.Designer.cs
@@ -29,589 +29,271 @@
///
private void InitializeComponent()
{
- System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle1 = new System.Windows.Forms.DataGridViewCellStyle();
- System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle2 = new System.Windows.Forms.DataGridViewCellStyle();
- this.panelToBeTested = new System.Windows.Forms.Panel();
- this.dataGridViewX1 = new DevComponents.DotNetBar.Controls.DataGridViewX();
- this.Column13 = new System.Windows.Forms.DataGridViewTextBoxColumn();
- this.Column14 = new System.Windows.Forms.DataGridViewTextBoxColumn();
- this.Column15 = new System.Windows.Forms.DataGridViewTextBoxColumn();
- this.Column16 = new System.Windows.Forms.DataGridViewTextBoxColumn();
- this.Column17 = new System.Windows.Forms.DataGridViewTextBoxColumn();
- this.panelEx1 = new DevComponents.DotNetBar.PanelEx();
- this.labelX6 = new DevComponents.DotNetBar.LabelX();
- this.labelX5 = new DevComponents.DotNetBar.LabelX();
- this.labelX4 = new DevComponents.DotNetBar.LabelX();
- this.labelX3 = new DevComponents.DotNetBar.LabelX();
- this.labelX2 = new DevComponents.DotNetBar.LabelX();
- this.labelX1 = new DevComponents.DotNetBar.LabelX();
- this.panelEx2 = new DevComponents.DotNetBar.PanelEx();
- this.labelX7 = new DevComponents.DotNetBar.LabelX();
- this.labelX8 = new DevComponents.DotNetBar.LabelX();
- this.labelX10 = new DevComponents.DotNetBar.LabelX();
- this.labelX9 = new DevComponents.DotNetBar.LabelX();
- this.panelEx3 = new DevComponents.DotNetBar.PanelEx();
- this.labelX11 = new DevComponents.DotNetBar.LabelX();
- this.labelX13 = new DevComponents.DotNetBar.LabelX();
- this.labelX12 = new DevComponents.DotNetBar.LabelX();
- this.panelEx4 = new DevComponents.DotNetBar.PanelEx();
- this.dataGridViewX2 = new DevComponents.DotNetBar.Controls.DataGridViewX();
- this.Column18 = new System.Windows.Forms.DataGridViewTextBoxColumn();
- this.Column19 = new System.Windows.Forms.DataGridViewTextBoxColumn();
- this.Column20 = new System.Windows.Forms.DataGridViewTextBoxColumn();
- this.Column21 = new System.Windows.Forms.DataGridViewTextBoxColumn();
- this.Column22 = new System.Windows.Forms.DataGridViewTextBoxColumn();
- this.Column23 = new System.Windows.Forms.DataGridViewTextBoxColumn();
- this.Column24 = new System.Windows.Forms.DataGridViewTextBoxColumn();
- this.Column25 = new System.Windows.Forms.DataGridViewTextBoxColumn();
- this.Column26 = new System.Windows.Forms.DataGridViewTextBoxColumn();
- this.Column27 = new System.Windows.Forms.DataGridViewTextBoxColumn();
- this.Column28 = new System.Windows.Forms.DataGridViewTextBoxColumn();
- this.Column29 = new System.Windows.Forms.DataGridViewTextBoxColumn();
- this.buttonX1 = new DevComponents.DotNetBar.ButtonX();
- this.buttonX2 = new DevComponents.DotNetBar.ButtonX();
+ this.panel3 = new System.Windows.Forms.Panel();
+ this.panel2 = new System.Windows.Forms.Panel();
+ this.panel1 = new System.Windows.Forms.Panel();
+ this.panel4 = new System.Windows.Forms.Panel();
+ this.panel5 = new System.Windows.Forms.Panel();
this.label1 = new System.Windows.Forms.Label();
this.label2 = new System.Windows.Forms.Label();
- this.panelToBeTested.SuspendLayout();
- ((System.ComponentModel.ISupportInitialize)(this.dataGridViewX1)).BeginInit();
- this.panelEx1.SuspendLayout();
- this.panelEx2.SuspendLayout();
- this.panelEx3.SuspendLayout();
- this.panelEx4.SuspendLayout();
- ((System.ComponentModel.ISupportInitialize)(this.dataGridViewX2)).BeginInit();
+ this.label3 = new System.Windows.Forms.Label();
+ this.label4 = new System.Windows.Forms.Label();
+ this.label5 = new System.Windows.Forms.Label();
+ this.label6 = new System.Windows.Forms.Label();
+ this.label7 = new System.Windows.Forms.Label();
+ this.label8 = new System.Windows.Forms.Label();
+ this.label9 = new System.Windows.Forms.Label();
+ this.label10 = new System.Windows.Forms.Label();
+ this.label11 = new System.Windows.Forms.Label();
+ this.label12 = new System.Windows.Forms.Label();
+ this.label13 = new System.Windows.Forms.Label();
+ this.panel3.SuspendLayout();
+ this.panel2.SuspendLayout();
+ this.panel1.SuspendLayout();
this.SuspendLayout();
//
- // panelToBeTested
+ // panel3
//
- this.panelToBeTested.Controls.Add(this.dataGridViewX1);
- this.panelToBeTested.Controls.Add(this.buttonX2);
- this.panelToBeTested.Controls.Add(this.buttonX1);
- this.panelToBeTested.Location = new System.Drawing.Point(250, 0);
- this.panelToBeTested.Name = "panelToBeTested";
- this.panelToBeTested.Size = new System.Drawing.Size(750, 216);
- this.panelToBeTested.TabIndex = 4;
+ this.panel3.BackgroundImage = global::Casic.Birmm.RbFreqStandMeasure.Properties.Resources.bg_status_location;
+ this.panel3.Controls.Add(this.label8);
+ this.panel3.Controls.Add(this.label13);
+ this.panel3.Controls.Add(this.label12);
+ this.panel3.Controls.Add(this.label11);
+ this.panel3.Controls.Add(this.label9);
+ this.panel3.Controls.Add(this.label10);
+ this.panel3.Location = new System.Drawing.Point(6, 360);
+ this.panel3.Name = "panel3";
+ this.panel3.Size = new System.Drawing.Size(224, 293);
+ this.panel3.TabIndex = 2;
//
- // dataGridViewX1
+ // panel2
//
- this.dataGridViewX1.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.AutoSize;
- this.dataGridViewX1.Columns.AddRange(new System.Windows.Forms.DataGridViewColumn[] {
- this.Column13,
- this.Column14,
- this.Column15,
- this.Column16,
- this.Column17});
- dataGridViewCellStyle1.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleLeft;
- dataGridViewCellStyle1.BackColor = System.Drawing.SystemColors.Window;
- dataGridViewCellStyle1.Font = new System.Drawing.Font("宋体", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
- dataGridViewCellStyle1.ForeColor = System.Drawing.SystemColors.ControlText;
- dataGridViewCellStyle1.SelectionBackColor = System.Drawing.SystemColors.Highlight;
- dataGridViewCellStyle1.SelectionForeColor = System.Drawing.SystemColors.ControlText;
- dataGridViewCellStyle1.WrapMode = System.Windows.Forms.DataGridViewTriState.False;
- this.dataGridViewX1.DefaultCellStyle = dataGridViewCellStyle1;
- this.dataGridViewX1.GridColor = System.Drawing.Color.FromArgb(((int)(((byte)(208)))), ((int)(((byte)(215)))), ((int)(((byte)(229)))));
- this.dataGridViewX1.Location = new System.Drawing.Point(0, 1);
- this.dataGridViewX1.Name = "dataGridViewX1";
- this.dataGridViewX1.RowTemplate.Height = 23;
- this.dataGridViewX1.Size = new System.Drawing.Size(750, 179);
- this.dataGridViewX1.TabIndex = 14;
+ this.panel2.BackgroundImage = global::Casic.Birmm.RbFreqStandMeasure.Properties.Resources.bg_status_time;
+ this.panel2.Controls.Add(this.label4);
+ this.panel2.Controls.Add(this.label7);
+ this.panel2.Controls.Add(this.label6);
+ this.panel2.Controls.Add(this.label5);
+ this.panel2.Location = new System.Drawing.Point(6, 160);
+ this.panel2.Name = "panel2";
+ this.panel2.Size = new System.Drawing.Size(224, 200);
+ this.panel2.TabIndex = 1;
//
- // Column13
+ // panel1
//
- this.Column13.HeaderText = "仪器名称";
- this.Column13.Name = "Column13";
+ this.panel1.BackgroundImage = global::Casic.Birmm.RbFreqStandMeasure.Properties.Resources.bg_status_base;
+ this.panel1.Controls.Add(this.label3);
+ this.panel1.Controls.Add(this.label2);
+ this.panel1.Controls.Add(this.label1);
+ this.panel1.Location = new System.Drawing.Point(6, 0);
+ this.panel1.Margin = new System.Windows.Forms.Padding(0);
+ this.panel1.Name = "panel1";
+ this.panel1.Size = new System.Drawing.Size(224, 160);
+ this.panel1.TabIndex = 0;
//
- // Column14
+ // panel4
//
- this.Column14.HeaderText = "仪器类型";
- this.Column14.Name = "Column14";
+ this.panel4.BackgroundImage = global::Casic.Birmm.RbFreqStandMeasure.Properties.Resources.bg_dev_tested;
+ this.panel4.Location = new System.Drawing.Point(230, 0);
+ this.panel4.Margin = new System.Windows.Forms.Padding(0);
+ this.panel4.Name = "panel4";
+ this.panel4.Size = new System.Drawing.Size(788, 226);
+ this.panel4.TabIndex = 3;
//
- // Column15
+ // panel5
//
- this.Column15.HeaderText = "仪器编号";
- this.Column15.Name = "Column15";
- //
- // Column16
- //
- this.Column16.HeaderText = "客户名称";
- this.Column16.Name = "Column16";
- //
- // Column17
- //
- this.Column17.HeaderText = "开始时间";
- this.Column17.Name = "Column17";
- //
- // panelEx1
- //
- this.panelEx1.CanvasColor = System.Drawing.SystemColors.Control;
- this.panelEx1.ColorSchemeStyle = DevComponents.DotNetBar.eDotNetBarStyle.StyleManagerControlled;
- this.panelEx1.Controls.Add(this.labelX6);
- this.panelEx1.Controls.Add(this.labelX5);
- this.panelEx1.Controls.Add(this.labelX4);
- this.panelEx1.Controls.Add(this.labelX3);
- this.panelEx1.Controls.Add(this.labelX2);
- this.panelEx1.Controls.Add(this.labelX1);
- this.panelEx1.DisabledBackColor = System.Drawing.Color.Empty;
- this.panelEx1.Location = new System.Drawing.Point(25, 376);
- this.panelEx1.Name = "panelEx1";
- this.panelEx1.Size = new System.Drawing.Size(200, 200);
- this.panelEx1.Style.Alignment = System.Drawing.StringAlignment.Center;
- this.panelEx1.Style.BackColor1.ColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelBackground;
- this.panelEx1.Style.BackColor2.ColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelBackground2;
- this.panelEx1.Style.Border = DevComponents.DotNetBar.eBorderType.SingleLine;
- this.panelEx1.Style.BorderColor.ColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelBorder;
- this.panelEx1.Style.ForeColor.ColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelText;
- this.panelEx1.Style.GradientAngle = 90;
- this.panelEx1.TabIndex = 10;
- //
- // labelX6
- //
- //
- //
- //
- this.labelX6.BackgroundStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square;
- this.labelX6.Location = new System.Drawing.Point(3, 153);
- this.labelX6.Name = "labelX6";
- this.labelX6.Size = new System.Drawing.Size(75, 23);
- this.labelX6.Style = DevComponents.DotNetBar.eDotNetBarStyle.Office2013;
- this.labelX6.TabIndex = 0;
- this.labelX6.Text = "Z";
- this.labelX6.TextAlignment = System.Drawing.StringAlignment.Center;
- //
- // labelX5
- //
- //
- //
- //
- this.labelX5.BackgroundStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square;
- this.labelX5.Location = new System.Drawing.Point(3, 124);
- this.labelX5.Name = "labelX5";
- this.labelX5.Size = new System.Drawing.Size(75, 23);
- this.labelX5.Style = DevComponents.DotNetBar.eDotNetBarStyle.Office2013;
- this.labelX5.TabIndex = 0;
- this.labelX5.Text = "Y";
- this.labelX5.TextAlignment = System.Drawing.StringAlignment.Center;
- //
- // labelX4
- //
- //
- //
- //
- this.labelX4.BackgroundStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square;
- this.labelX4.Location = new System.Drawing.Point(3, 95);
- this.labelX4.Name = "labelX4";
- this.labelX4.Size = new System.Drawing.Size(75, 23);
- this.labelX4.Style = DevComponents.DotNetBar.eDotNetBarStyle.Office2013;
- this.labelX4.TabIndex = 0;
- this.labelX4.Text = "X";
- this.labelX4.TextAlignment = System.Drawing.StringAlignment.Center;
- //
- // labelX3
- //
- //
- //
- //
- this.labelX3.BackgroundStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square;
- this.labelX3.Location = new System.Drawing.Point(3, 66);
- this.labelX3.Name = "labelX3";
- this.labelX3.Size = new System.Drawing.Size(75, 23);
- this.labelX3.Style = DevComponents.DotNetBar.eDotNetBarStyle.Office2013;
- this.labelX3.TabIndex = 0;
- this.labelX3.Text = "纬度";
- this.labelX3.TextAlignment = System.Drawing.StringAlignment.Center;
- //
- // labelX2
- //
- //
- //
- //
- this.labelX2.BackgroundStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square;
- this.labelX2.Location = new System.Drawing.Point(3, 37);
- this.labelX2.Name = "labelX2";
- this.labelX2.Size = new System.Drawing.Size(75, 23);
- this.labelX2.Style = DevComponents.DotNetBar.eDotNetBarStyle.Office2013;
- this.labelX2.TabIndex = 0;
- this.labelX2.Text = "经度";
- this.labelX2.TextAlignment = System.Drawing.StringAlignment.Center;
- //
- // labelX1
- //
- //
- //
- //
- this.labelX1.BackgroundStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square;
- this.labelX1.Location = new System.Drawing.Point(3, 3);
- this.labelX1.Name = "labelX1";
- this.labelX1.Size = new System.Drawing.Size(194, 23);
- this.labelX1.Style = DevComponents.DotNetBar.eDotNetBarStyle.Office2013;
- this.labelX1.TabIndex = 0;
- this.labelX1.Text = "位置信息";
- this.labelX1.TextAlignment = System.Drawing.StringAlignment.Center;
- //
- // panelEx2
- //
- this.panelEx2.CanvasColor = System.Drawing.SystemColors.Control;
- this.panelEx2.ColorSchemeStyle = DevComponents.DotNetBar.eDotNetBarStyle.StyleManagerControlled;
- this.panelEx2.Controls.Add(this.labelX7);
- this.panelEx2.Controls.Add(this.labelX8);
- this.panelEx2.Controls.Add(this.labelX10);
- this.panelEx2.Controls.Add(this.labelX9);
- this.panelEx2.DisabledBackColor = System.Drawing.Color.Empty;
- this.panelEx2.Location = new System.Drawing.Point(25, 190);
- this.panelEx2.Name = "panelEx2";
- this.panelEx2.Size = new System.Drawing.Size(200, 150);
- this.panelEx2.Style.Alignment = System.Drawing.StringAlignment.Center;
- this.panelEx2.Style.BackColor1.ColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelBackground;
- this.panelEx2.Style.BackColor2.ColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelBackground2;
- this.panelEx2.Style.Border = DevComponents.DotNetBar.eBorderType.SingleLine;
- this.panelEx2.Style.BorderColor.ColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelBorder;
- this.panelEx2.Style.ForeColor.ColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelText;
- this.panelEx2.Style.GradientAngle = 90;
- this.panelEx2.TabIndex = 10;
- //
- // labelX7
- //
- //
- //
- //
- this.labelX7.BackgroundStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square;
- this.labelX7.Location = new System.Drawing.Point(3, 3);
- this.labelX7.Name = "labelX7";
- this.labelX7.Size = new System.Drawing.Size(194, 23);
- this.labelX7.Style = DevComponents.DotNetBar.eDotNetBarStyle.Office2013;
- this.labelX7.TabIndex = 0;
- this.labelX7.Text = "时间信息";
- this.labelX7.TextAlignment = System.Drawing.StringAlignment.Center;
- //
- // labelX8
- //
- //
- //
- //
- this.labelX8.BackgroundStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square;
- this.labelX8.Location = new System.Drawing.Point(3, 41);
- this.labelX8.Name = "labelX8";
- this.labelX8.Size = new System.Drawing.Size(75, 23);
- this.labelX8.Style = DevComponents.DotNetBar.eDotNetBarStyle.Office2013;
- this.labelX8.TabIndex = 0;
- this.labelX8.Text = "日期";
- this.labelX8.TextAlignment = System.Drawing.StringAlignment.Center;
- //
- // labelX10
- //
- //
- //
- //
- this.labelX10.BackgroundStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square;
- this.labelX10.Location = new System.Drawing.Point(3, 99);
- this.labelX10.Name = "labelX10";
- this.labelX10.Size = new System.Drawing.Size(75, 23);
- this.labelX10.Style = DevComponents.DotNetBar.eDotNetBarStyle.Office2013;
- this.labelX10.TabIndex = 0;
- this.labelX10.Text = "MJD";
- this.labelX10.TextAlignment = System.Drawing.StringAlignment.Center;
- //
- // labelX9
- //
- //
- //
- //
- this.labelX9.BackgroundStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square;
- this.labelX9.Location = new System.Drawing.Point(3, 70);
- this.labelX9.Name = "labelX9";
- this.labelX9.Size = new System.Drawing.Size(75, 23);
- this.labelX9.Style = DevComponents.DotNetBar.eDotNetBarStyle.Office2013;
- this.labelX9.TabIndex = 0;
- this.labelX9.Text = "时间";
- this.labelX9.TextAlignment = System.Drawing.StringAlignment.Center;
- //
- // panelEx3
- //
- this.panelEx3.CanvasColor = System.Drawing.SystemColors.Control;
- this.panelEx3.ColorSchemeStyle = DevComponents.DotNetBar.eDotNetBarStyle.StyleManagerControlled;
- this.panelEx3.Controls.Add(this.labelX11);
- this.panelEx3.Controls.Add(this.labelX13);
- this.panelEx3.Controls.Add(this.labelX12);
- this.panelEx3.DisabledBackColor = System.Drawing.Color.Empty;
- this.panelEx3.Location = new System.Drawing.Point(25, 50);
- this.panelEx3.Name = "panelEx3";
- this.panelEx3.Size = new System.Drawing.Size(200, 100);
- this.panelEx3.Style.Alignment = System.Drawing.StringAlignment.Center;
- this.panelEx3.Style.BackColor1.ColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelBackground;
- this.panelEx3.Style.BackColor2.ColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelBackground2;
- this.panelEx3.Style.Border = DevComponents.DotNetBar.eBorderType.SingleLine;
- this.panelEx3.Style.BorderColor.ColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelBorder;
- this.panelEx3.Style.ForeColor.ColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelText;
- this.panelEx3.Style.GradientAngle = 90;
- this.panelEx3.TabIndex = 10;
- //
- // labelX11
- //
- //
- //
- //
- this.labelX11.BackgroundStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square;
- this.labelX11.Location = new System.Drawing.Point(3, 3);
- this.labelX11.Name = "labelX11";
- this.labelX11.Size = new System.Drawing.Size(194, 23);
- this.labelX11.Style = DevComponents.DotNetBar.eDotNetBarStyle.Office2013;
- this.labelX11.TabIndex = 0;
- this.labelX11.Text = "基本信息";
- this.labelX11.TextAlignment = System.Drawing.StringAlignment.Center;
- //
- // labelX13
- //
- //
- //
- //
- this.labelX13.BackgroundStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square;
- this.labelX13.Location = new System.Drawing.Point(3, 32);
- this.labelX13.Name = "labelX13";
- this.labelX13.Size = new System.Drawing.Size(75, 23);
- this.labelX13.Style = DevComponents.DotNetBar.eDotNetBarStyle.Office2013;
- this.labelX13.TabIndex = 0;
- this.labelX13.Text = "原子钟";
- this.labelX13.TextAlignment = System.Drawing.StringAlignment.Center;
- //
- // labelX12
- //
- //
- //
- //
- this.labelX12.BackgroundStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square;
- this.labelX12.Location = new System.Drawing.Point(3, 61);
- this.labelX12.Name = "labelX12";
- this.labelX12.Size = new System.Drawing.Size(75, 23);
- this.labelX12.Style = DevComponents.DotNetBar.eDotNetBarStyle.Office2013;
- this.labelX12.TabIndex = 0;
- this.labelX12.Text = "接收机";
- this.labelX12.TextAlignment = System.Drawing.StringAlignment.Center;
- //
- // panelEx4
- //
- this.panelEx4.CanvasColor = System.Drawing.SystemColors.Control;
- this.panelEx4.ColorSchemeStyle = DevComponents.DotNetBar.eDotNetBarStyle.StyleManagerControlled;
- this.panelEx4.Controls.Add(this.panelEx2);
- this.panelEx4.Controls.Add(this.panelEx1);
- this.panelEx4.Controls.Add(this.panelEx3);
- this.panelEx4.DisabledBackColor = System.Drawing.Color.Empty;
- this.panelEx4.Location = new System.Drawing.Point(0, 0);
- this.panelEx4.Name = "panelEx4";
- this.panelEx4.Size = new System.Drawing.Size(250, 640);
- this.panelEx4.Style.Alignment = System.Drawing.StringAlignment.Center;
- this.panelEx4.Style.BackColor1.ColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelBackground;
- this.panelEx4.Style.BackColor2.ColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelBackground2;
- this.panelEx4.Style.Border = DevComponents.DotNetBar.eBorderType.SingleLine;
- this.panelEx4.Style.BorderColor.ColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelBorder;
- this.panelEx4.Style.ForeColor.ColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelText;
- this.panelEx4.Style.GradientAngle = 90;
- this.panelEx4.TabIndex = 10;
- //
- // dataGridViewX2
- //
- this.dataGridViewX2.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.AutoSize;
- this.dataGridViewX2.Columns.AddRange(new System.Windows.Forms.DataGridViewColumn[] {
- this.Column18,
- this.Column19,
- this.Column20,
- this.Column21,
- this.Column22,
- this.Column23,
- this.Column24,
- this.Column25,
- this.Column26,
- this.Column27,
- this.Column28,
- this.Column29});
- dataGridViewCellStyle2.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleLeft;
- dataGridViewCellStyle2.BackColor = System.Drawing.SystemColors.Window;
- dataGridViewCellStyle2.Font = new System.Drawing.Font("宋体", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
- dataGridViewCellStyle2.ForeColor = System.Drawing.SystemColors.ControlText;
- dataGridViewCellStyle2.SelectionBackColor = System.Drawing.SystemColors.Highlight;
- dataGridViewCellStyle2.SelectionForeColor = System.Drawing.SystemColors.ControlText;
- dataGridViewCellStyle2.WrapMode = System.Windows.Forms.DataGridViewTriState.False;
- this.dataGridViewX2.DefaultCellStyle = dataGridViewCellStyle2;
- this.dataGridViewX2.GridColor = System.Drawing.Color.FromArgb(((int)(((byte)(208)))), ((int)(((byte)(215)))), ((int)(((byte)(229)))));
- this.dataGridViewX2.Location = new System.Drawing.Point(250, 216);
- this.dataGridViewX2.Name = "dataGridViewX2";
- this.dataGridViewX2.Size = new System.Drawing.Size(747, 424);
- this.dataGridViewX2.TabIndex = 15;
- //
- // Column18
- //
- this.Column18.HeaderText = "通道号";
- this.Column18.Name = "Column18";
- //
- // Column19
- //
- this.Column19.HeaderText = "当前状态";
- this.Column19.Name = "Column19";
- //
- // Column20
- //
- this.Column20.HeaderText = "仪器名称";
- this.Column20.Name = "Column20";
- //
- // Column21
- //
- this.Column21.HeaderText = "仪器编号";
- this.Column21.Name = "Column21";
- //
- // Column22
- //
- this.Column22.HeaderText = "客户名称";
- this.Column22.Name = "Column22";
- //
- // Column23
- //
- this.Column23.HeaderText = "开始时间";
- this.Column23.Name = "Column23";
- //
- // Column24
- //
- this.Column24.HeaderText = "结束时间";
- this.Column24.Name = "Column24";
- //
- // Column25
- //
- this.Column25.HeaderText = "频率稳定度";
- this.Column25.Name = "Column25";
- //
- // Column26
- //
- this.Column26.HeaderText = "频率准确度";
- this.Column26.Name = "Column26";
- //
- // Column27
- //
- this.Column27.HeaderText = "开机特性";
- this.Column27.Name = "Column27";
- //
- // Column28
- //
- this.Column28.HeaderText = "日老化率";
- this.Column28.Name = "Column28";
- //
- // Column29
- //
- this.Column29.HeaderText = "频率计数器范围及灵敏度";
- this.Column29.Name = "Column29";
- //
- // buttonX1
- //
- this.buttonX1.AccessibleRole = System.Windows.Forms.AccessibleRole.PushButton;
- this.buttonX1.BackColor = System.Drawing.Color.Transparent;
- this.buttonX1.ColorTable = DevComponents.DotNetBar.eButtonColor.OrangeWithBackground;
- this.buttonX1.Location = new System.Drawing.Point(663, 183);
- this.buttonX1.Name = "buttonX1";
- this.buttonX1.Size = new System.Drawing.Size(30, 23);
- this.buttonX1.Style = DevComponents.DotNetBar.eDotNetBarStyle.StyleManagerControlled;
- this.buttonX1.Symbol = "";
- this.buttonX1.SymbolColor = System.Drawing.Color.FromArgb(((int)(((byte)(64)))), ((int)(((byte)(64)))), ((int)(((byte)(64)))));
- this.buttonX1.SymbolSize = 8F;
- this.buttonX1.TabIndex = 19;
- //
- // buttonX2
- //
- this.buttonX2.AccessibleRole = System.Windows.Forms.AccessibleRole.PushButton;
- this.buttonX2.BackColor = System.Drawing.Color.Transparent;
- this.buttonX2.ColorTable = DevComponents.DotNetBar.eButtonColor.OrangeWithBackground;
- this.buttonX2.Location = new System.Drawing.Point(589, 184);
- this.buttonX2.Name = "buttonX2";
- this.buttonX2.Size = new System.Drawing.Size(30, 23);
- this.buttonX2.Style = DevComponents.DotNetBar.eDotNetBarStyle.StyleManagerControlled;
- this.buttonX2.Symbol = "";
- this.buttonX2.SymbolColor = System.Drawing.Color.FromArgb(((int)(((byte)(64)))), ((int)(((byte)(64)))), ((int)(((byte)(64)))));
- this.buttonX2.SymbolSize = 8F;
- this.buttonX2.TabIndex = 19;
+ this.panel5.BackgroundImage = global::Casic.Birmm.RbFreqStandMeasure.Properties.Resources.bg_dev_channel;
+ this.panel5.Location = new System.Drawing.Point(230, 226);
+ this.panel5.Name = "panel5";
+ this.panel5.Size = new System.Drawing.Size(788, 424);
+ this.panel5.TabIndex = 4;
//
// label1
//
this.label1.BackColor = System.Drawing.Color.Transparent;
- this.label1.Font = new System.Drawing.Font("Times New Roman", 9.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
- this.label1.Location = new System.Drawing.Point(880, 186);
- this.label1.Margin = new System.Windows.Forms.Padding(0);
+ this.label1.Font = new System.Drawing.Font("微软雅黑", 14F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Pixel, ((byte)(134)));
+ this.label1.Location = new System.Drawing.Point(0, 20);
this.label1.Name = "label1";
- this.label1.Size = new System.Drawing.Size(20, 20);
- this.label1.TabIndex = 20;
- this.label1.Text = "1";
+ this.label1.Size = new System.Drawing.Size(224, 25);
+ this.label1.TabIndex = 0;
+ this.label1.Text = "基本信息";
this.label1.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
//
// label2
//
this.label2.BackColor = System.Drawing.Color.Transparent;
- this.label2.Font = new System.Drawing.Font("Times New Roman", 9.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
- this.label2.Location = new System.Drawing.Point(636, 187);
- this.label2.Margin = new System.Windows.Forms.Padding(0);
+ this.label2.Font = new System.Drawing.Font("微软雅黑", 14F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Pixel, ((byte)(134)));
+ this.label2.Location = new System.Drawing.Point(0, 60);
this.label2.Name = "label2";
- this.label2.Size = new System.Drawing.Size(200, 20);
- this.label2.TabIndex = 20;
- this.label2.Text = "共150条,每页5条,共100页";
- this.label2.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
+ this.label2.Size = new System.Drawing.Size(75, 25);
+ this.label2.TabIndex = 1;
+ this.label2.Text = "原子钟";
+ this.label2.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
+ //
+ // label3
+ //
+ this.label3.BackColor = System.Drawing.Color.Transparent;
+ this.label3.Font = new System.Drawing.Font("微软雅黑", 14F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Pixel, ((byte)(134)));
+ this.label3.Location = new System.Drawing.Point(0, 100);
+ this.label3.Name = "label3";
+ this.label3.Size = new System.Drawing.Size(75, 25);
+ this.label3.TabIndex = 1;
+ this.label3.Text = "接收机";
+ this.label3.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
+ //
+ // label4
+ //
+ this.label4.BackColor = System.Drawing.Color.Transparent;
+ this.label4.Font = new System.Drawing.Font("微软雅黑", 14F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Pixel, ((byte)(134)));
+ this.label4.Location = new System.Drawing.Point(0, 20);
+ this.label4.Name = "label4";
+ this.label4.Size = new System.Drawing.Size(224, 25);
+ this.label4.TabIndex = 0;
+ this.label4.Text = "时间信息";
+ this.label4.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
+ //
+ // label5
+ //
+ this.label5.BackColor = System.Drawing.Color.Transparent;
+ this.label5.Font = new System.Drawing.Font("微软雅黑", 14F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Pixel, ((byte)(134)));
+ this.label5.Location = new System.Drawing.Point(0, 60);
+ this.label5.Name = "label5";
+ this.label5.Size = new System.Drawing.Size(75, 25);
+ this.label5.TabIndex = 1;
+ this.label5.Text = "日期";
+ this.label5.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
+ //
+ // label6
+ //
+ this.label6.BackColor = System.Drawing.Color.Transparent;
+ this.label6.Font = new System.Drawing.Font("微软雅黑", 14F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Pixel, ((byte)(134)));
+ this.label6.Location = new System.Drawing.Point(0, 100);
+ this.label6.Name = "label6";
+ this.label6.Size = new System.Drawing.Size(75, 25);
+ this.label6.TabIndex = 1;
+ this.label6.Text = "时间";
+ this.label6.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
+ //
+ // label7
+ //
+ this.label7.BackColor = System.Drawing.Color.Transparent;
+ this.label7.Font = new System.Drawing.Font("微软雅黑", 14F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Pixel, ((byte)(134)));
+ this.label7.Location = new System.Drawing.Point(0, 140);
+ this.label7.Margin = new System.Windows.Forms.Padding(0);
+ this.label7.Name = "label7";
+ this.label7.Size = new System.Drawing.Size(75, 25);
+ this.label7.TabIndex = 1;
+ this.label7.Text = "MJD";
+ this.label7.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
+ //
+ // label8
+ //
+ this.label8.BackColor = System.Drawing.Color.Transparent;
+ this.label8.Font = new System.Drawing.Font("微软雅黑", 14F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Pixel, ((byte)(134)));
+ this.label8.Location = new System.Drawing.Point(0, 20);
+ this.label8.Name = "label8";
+ this.label8.Size = new System.Drawing.Size(224, 25);
+ this.label8.TabIndex = 0;
+ this.label8.Text = "位置信息";
+ this.label8.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
+ //
+ // label9
+ //
+ this.label9.BackColor = System.Drawing.Color.Transparent;
+ this.label9.Font = new System.Drawing.Font("微软雅黑", 14F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Pixel, ((byte)(134)));
+ this.label9.Location = new System.Drawing.Point(0, 60);
+ this.label9.Name = "label9";
+ this.label9.Size = new System.Drawing.Size(75, 25);
+ this.label9.TabIndex = 1;
+ this.label9.Text = "经度";
+ this.label9.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
+ //
+ // label10
+ //
+ this.label10.BackColor = System.Drawing.Color.Transparent;
+ this.label10.Font = new System.Drawing.Font("微软雅黑", 14F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Pixel, ((byte)(134)));
+ this.label10.Location = new System.Drawing.Point(0, 100);
+ this.label10.Margin = new System.Windows.Forms.Padding(0);
+ this.label10.Name = "label10";
+ this.label10.Size = new System.Drawing.Size(75, 25);
+ this.label10.TabIndex = 1;
+ this.label10.Text = "纬度";
+ this.label10.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
+ //
+ // label11
+ //
+ this.label11.BackColor = System.Drawing.Color.Transparent;
+ this.label11.Font = new System.Drawing.Font("微软雅黑", 14F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Pixel, ((byte)(134)));
+ this.label11.Location = new System.Drawing.Point(0, 140);
+ this.label11.Margin = new System.Windows.Forms.Padding(0);
+ this.label11.Name = "label11";
+ this.label11.Size = new System.Drawing.Size(75, 25);
+ this.label11.TabIndex = 1;
+ this.label11.Text = "X";
+ this.label11.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
+ //
+ // label12
+ //
+ this.label12.BackColor = System.Drawing.Color.Transparent;
+ this.label12.Font = new System.Drawing.Font("微软雅黑", 14F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Pixel, ((byte)(134)));
+ this.label12.Location = new System.Drawing.Point(0, 180);
+ this.label12.Margin = new System.Windows.Forms.Padding(0);
+ this.label12.Name = "label12";
+ this.label12.Size = new System.Drawing.Size(75, 25);
+ this.label12.TabIndex = 1;
+ this.label12.Text = "Y";
+ this.label12.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
+ //
+ // label13
+ //
+ this.label13.BackColor = System.Drawing.Color.Transparent;
+ this.label13.Font = new System.Drawing.Font("微软雅黑", 14F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Pixel, ((byte)(134)));
+ this.label13.Location = new System.Drawing.Point(0, 220);
+ this.label13.Margin = new System.Windows.Forms.Padding(0);
+ this.label13.Name = "label13";
+ this.label13.Size = new System.Drawing.Size(75, 25);
+ this.label13.TabIndex = 1;
+ this.label13.Text = "Z";
+ this.label13.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
//
// HomeCtrlForm
//
this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 12F);
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
- this.Controls.Add(this.label1);
- this.Controls.Add(this.label2);
- this.Controls.Add(this.dataGridViewX2);
- this.Controls.Add(this.panelEx4);
- this.Controls.Add(this.panelToBeTested);
+ this.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(232)))), ((int)(((byte)(234)))), ((int)(((byte)(238)))));
+ this.Controls.Add(this.panel5);
+ this.Controls.Add(this.panel4);
+ this.Controls.Add(this.panel3);
+ this.Controls.Add(this.panel2);
+ this.Controls.Add(this.panel1);
this.Margin = new System.Windows.Forms.Padding(0);
this.Name = "HomeCtrlForm";
- this.Size = new System.Drawing.Size(1000, 640);
- this.panelToBeTested.ResumeLayout(false);
- ((System.ComponentModel.ISupportInitialize)(this.dataGridViewX1)).EndInit();
- this.panelEx1.ResumeLayout(false);
- this.panelEx2.ResumeLayout(false);
- this.panelEx3.ResumeLayout(false);
- this.panelEx4.ResumeLayout(false);
- ((System.ComponentModel.ISupportInitialize)(this.dataGridViewX2)).EndInit();
+ this.Size = new System.Drawing.Size(1024, 654);
+ this.panel3.ResumeLayout(false);
+ this.panel2.ResumeLayout(false);
+ this.panel1.ResumeLayout(false);
this.ResumeLayout(false);
}
#endregion
- private System.Windows.Forms.Panel panelToBeTested;
- private DevComponents.DotNetBar.PanelEx panelEx1;
- private DevComponents.DotNetBar.LabelX labelX6;
- private DevComponents.DotNetBar.LabelX labelX5;
- private DevComponents.DotNetBar.LabelX labelX4;
- private DevComponents.DotNetBar.LabelX labelX3;
- private DevComponents.DotNetBar.LabelX labelX2;
- private DevComponents.DotNetBar.LabelX labelX1;
- private DevComponents.DotNetBar.PanelEx panelEx2;
- private DevComponents.DotNetBar.LabelX labelX7;
- private DevComponents.DotNetBar.LabelX labelX8;
- private DevComponents.DotNetBar.LabelX labelX10;
- private DevComponents.DotNetBar.LabelX labelX9;
- private DevComponents.DotNetBar.PanelEx panelEx3;
- private DevComponents.DotNetBar.LabelX labelX11;
- private DevComponents.DotNetBar.LabelX labelX13;
- private DevComponents.DotNetBar.LabelX labelX12;
- private DevComponents.DotNetBar.PanelEx panelEx4;
- private DevComponents.DotNetBar.Controls.DataGridViewX dataGridViewX1;
- private System.Windows.Forms.DataGridViewTextBoxColumn Column13;
- private System.Windows.Forms.DataGridViewTextBoxColumn Column14;
- private System.Windows.Forms.DataGridViewTextBoxColumn Column15;
- private System.Windows.Forms.DataGridViewTextBoxColumn Column16;
- private System.Windows.Forms.DataGridViewTextBoxColumn Column17;
- private DevComponents.DotNetBar.Controls.DataGridViewX dataGridViewX2;
- private System.Windows.Forms.DataGridViewTextBoxColumn Column18;
- private System.Windows.Forms.DataGridViewTextBoxColumn Column19;
- private System.Windows.Forms.DataGridViewTextBoxColumn Column20;
- private System.Windows.Forms.DataGridViewTextBoxColumn Column21;
- private System.Windows.Forms.DataGridViewTextBoxColumn Column22;
- private System.Windows.Forms.DataGridViewTextBoxColumn Column23;
- private System.Windows.Forms.DataGridViewTextBoxColumn Column24;
- private System.Windows.Forms.DataGridViewTextBoxColumn Column25;
- private System.Windows.Forms.DataGridViewTextBoxColumn Column26;
- private System.Windows.Forms.DataGridViewTextBoxColumn Column27;
- private System.Windows.Forms.DataGridViewTextBoxColumn Column28;
- private System.Windows.Forms.DataGridViewTextBoxColumn Column29;
- private DevComponents.DotNetBar.ButtonX buttonX1;
- private DevComponents.DotNetBar.ButtonX buttonX2;
+
+ private System.Windows.Forms.Panel panel1;
+ private System.Windows.Forms.Panel panel2;
+ private System.Windows.Forms.Panel panel3;
+ private System.Windows.Forms.Panel panel4;
+ private System.Windows.Forms.Panel panel5;
private System.Windows.Forms.Label label1;
private System.Windows.Forms.Label label2;
+ private System.Windows.Forms.Label label3;
+ private System.Windows.Forms.Label label4;
+ private System.Windows.Forms.Label label5;
+ private System.Windows.Forms.Label label6;
+ private System.Windows.Forms.Label label7;
+ private System.Windows.Forms.Label label8;
+ private System.Windows.Forms.Label label11;
+ private System.Windows.Forms.Label label9;
+ private System.Windows.Forms.Label label10;
+ private System.Windows.Forms.Label label12;
+ private System.Windows.Forms.Label label13;
}
}
diff --git a/RbFreqStandMeasure/HomeCtrlForm.resx b/RbFreqStandMeasure/HomeCtrlForm.resx
index 6d97f4f..1af7de1 100644
--- a/RbFreqStandMeasure/HomeCtrlForm.resx
+++ b/RbFreqStandMeasure/HomeCtrlForm.resx
@@ -117,55 +117,4 @@
System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
-
- True
-
-
- True
-
-
- True
-
-
- True
-
-
- True
-
-
- True
-
-
- True
-
-
- True
-
-
- True
-
-
- True
-
-
- True
-
-
- True
-
-
- True
-
-
- True
-
-
- True
-
-
- True
-
-
- True
-
\ No newline at end of file
diff --git a/RbFreqStandMeasure/Program.cs b/RbFreqStandMeasure/Program.cs
index 93a83e5..6150917 100644
--- a/RbFreqStandMeasure/Program.cs
+++ b/RbFreqStandMeasure/Program.cs
@@ -1,6 +1,4 @@
using System;
-using System.Collections.Generic;
-using System.Linq;
using System.Windows.Forms;
namespace Casic.Birmm.RbFreqStandMeasure
diff --git a/RbFreqStandMeasure/Properties/Resources.Designer.cs b/RbFreqStandMeasure/Properties/Resources.Designer.cs
index 253d7d7..d819a23 100644
--- a/RbFreqStandMeasure/Properties/Resources.Designer.cs
+++ b/RbFreqStandMeasure/Properties/Resources.Designer.cs
@@ -73,6 +73,56 @@
///
/// 查找 System.Drawing.Bitmap 类型的本地化资源。
///
+ internal static System.Drawing.Bitmap bg_dev_channel {
+ get {
+ object obj = ResourceManager.GetObject("bg_dev_channel", resourceCulture);
+ return ((System.Drawing.Bitmap)(obj));
+ }
+ }
+
+ ///
+ /// 查找 System.Drawing.Bitmap 类型的本地化资源。
+ ///
+ internal static System.Drawing.Bitmap bg_dev_tested {
+ get {
+ object obj = ResourceManager.GetObject("bg_dev_tested", resourceCulture);
+ return ((System.Drawing.Bitmap)(obj));
+ }
+ }
+
+ ///
+ /// 查找 System.Drawing.Bitmap 类型的本地化资源。
+ ///
+ internal static System.Drawing.Bitmap bg_status_base {
+ get {
+ object obj = ResourceManager.GetObject("bg_status_base", resourceCulture);
+ return ((System.Drawing.Bitmap)(obj));
+ }
+ }
+
+ ///
+ /// 查找 System.Drawing.Bitmap 类型的本地化资源。
+ ///
+ internal static System.Drawing.Bitmap bg_status_location {
+ get {
+ object obj = ResourceManager.GetObject("bg_status_location", resourceCulture);
+ return ((System.Drawing.Bitmap)(obj));
+ }
+ }
+
+ ///
+ /// 查找 System.Drawing.Bitmap 类型的本地化资源。
+ ///
+ internal static System.Drawing.Bitmap bg_status_time {
+ get {
+ object obj = ResourceManager.GetObject("bg_status_time", resourceCulture);
+ return ((System.Drawing.Bitmap)(obj));
+ }
+ }
+
+ ///
+ /// 查找 System.Drawing.Bitmap 类型的本地化资源。
+ ///
internal static System.Drawing.Bitmap bg_white_shadow {
get {
object obj = ResourceManager.GetObject("bg_white_shadow", resourceCulture);
@@ -83,6 +133,66 @@
///
/// 查找 System.Drawing.Bitmap 类型的本地化资源。
///
+ internal static System.Drawing.Bitmap icon_counter {
+ get {
+ object obj = ResourceManager.GetObject("icon_counter", resourceCulture);
+ return ((System.Drawing.Bitmap)(obj));
+ }
+ }
+
+ ///
+ /// 查找 System.Drawing.Bitmap 类型的本地化资源。
+ ///
+ internal static System.Drawing.Bitmap icon_counter_selected {
+ get {
+ object obj = ResourceManager.GetObject("icon_counter_selected", resourceCulture);
+ return ((System.Drawing.Bitmap)(obj));
+ }
+ }
+
+ ///
+ /// 查找 System.Drawing.Bitmap 类型的本地化资源。
+ ///
+ internal static System.Drawing.Bitmap icon_data {
+ get {
+ object obj = ResourceManager.GetObject("icon_data", resourceCulture);
+ return ((System.Drawing.Bitmap)(obj));
+ }
+ }
+
+ ///
+ /// 查找 System.Drawing.Bitmap 类型的本地化资源。
+ ///
+ internal static System.Drawing.Bitmap icon_data_selected {
+ get {
+ object obj = ResourceManager.GetObject("icon_data_selected", resourceCulture);
+ return ((System.Drawing.Bitmap)(obj));
+ }
+ }
+
+ ///
+ /// 查找 System.Drawing.Bitmap 类型的本地化资源。
+ ///
+ internal static System.Drawing.Bitmap icon_dev {
+ get {
+ object obj = ResourceManager.GetObject("icon_dev", resourceCulture);
+ return ((System.Drawing.Bitmap)(obj));
+ }
+ }
+
+ ///
+ /// 查找 System.Drawing.Bitmap 类型的本地化资源。
+ ///
+ internal static System.Drawing.Bitmap icon_dev_selected {
+ get {
+ object obj = ResourceManager.GetObject("icon_dev_selected", resourceCulture);
+ return ((System.Drawing.Bitmap)(obj));
+ }
+ }
+
+ ///
+ /// 查找 System.Drawing.Bitmap 类型的本地化资源。
+ ///
internal static System.Drawing.Bitmap icon_exit {
get {
object obj = ResourceManager.GetObject("icon_exit", resourceCulture);
@@ -113,6 +223,56 @@
///
/// 查找 System.Drawing.Bitmap 类型的本地化资源。
///
+ internal static System.Drawing.Bitmap icon_measure {
+ get {
+ object obj = ResourceManager.GetObject("icon_measure", resourceCulture);
+ return ((System.Drawing.Bitmap)(obj));
+ }
+ }
+
+ ///
+ /// 查找 System.Drawing.Bitmap 类型的本地化资源。
+ ///
+ internal static System.Drawing.Bitmap icon_measure_selected {
+ get {
+ object obj = ResourceManager.GetObject("icon_measure_selected", resourceCulture);
+ return ((System.Drawing.Bitmap)(obj));
+ }
+ }
+
+ ///
+ /// 查找 System.Drawing.Bitmap 类型的本地化资源。
+ ///
+ internal static System.Drawing.Bitmap icon_min {
+ get {
+ object obj = ResourceManager.GetObject("icon_min", resourceCulture);
+ return ((System.Drawing.Bitmap)(obj));
+ }
+ }
+
+ ///
+ /// 查找 System.Drawing.Bitmap 类型的本地化资源。
+ ///
+ internal static System.Drawing.Bitmap icon_setting {
+ get {
+ object obj = ResourceManager.GetObject("icon_setting", resourceCulture);
+ return ((System.Drawing.Bitmap)(obj));
+ }
+ }
+
+ ///
+ /// 查找 System.Drawing.Bitmap 类型的本地化资源。
+ ///
+ internal static System.Drawing.Bitmap icon_setting_selected {
+ get {
+ object obj = ResourceManager.GetObject("icon_setting_selected", resourceCulture);
+ return ((System.Drawing.Bitmap)(obj));
+ }
+ }
+
+ ///
+ /// 查找 System.Drawing.Bitmap 类型的本地化资源。
+ ///
internal static System.Drawing.Bitmap icon_status {
get {
object obj = ResourceManager.GetObject("icon_status", resourceCulture);
diff --git a/RbFreqStandMeasure/Properties/Resources.resx b/RbFreqStandMeasure/Properties/Resources.resx
index e781bb7..cfdb255 100644
--- a/RbFreqStandMeasure/Properties/Resources.resx
+++ b/RbFreqStandMeasure/Properties/Resources.resx
@@ -118,25 +118,73 @@
System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
-
- ..\res\images\icon_exit.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
+
+ ..\res\images\icon_counter_selected.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
-
- ..\res\images\bg_white_shadow.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
+
+ ..\res\images\icon_dev_selected.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
+
+
+ ..\res\images\icon_status_selected.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
+
+
+ ..\res\images\icon_data_selected.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
..\res\images\icon_home_selected.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
-
- ..\res\images\bg_banner.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
-
-
- ..\res\images\icon_home.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
+
+ ..\res\images\icon_exit.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
..\res\images\icon_status.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
-
- ..\res\images\icon_status_selected.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
+
+ ..\res\images\icon_data.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
+
+
+ ..\res\images\icon_setting.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
+
+
+ ..\res\images\icon_measure_selected.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
+
+
+ ..\res\images\bg_banner.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
+
+
+ ..\res\images\icon_setting_selected.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
+
+
+ ..\res\images\icon_dev.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
+
+
+ ..\res\images\icon_counter.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
+
+
+ ..\res\images\icon_measure.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
+
+
+ ..\res\images\icon_home.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
+
+
+ ..\res\images\bg_white_shadow.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
+
+
+ ..\res\images\icon_min.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
+
+
+ ..\res\images\bg_status_base.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
+
+
+ ..\res\images\bg_status_location.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
+
+
+ ..\res\images\bg_status_time.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
+
+
+ ..\res\images\bg_dev_channel.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
+
+
+ ..\res\images\bg_dev_tested.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
\ No newline at end of file
diff --git a/RbFreqStandMeasure/RbFreqStandMeasure.csproj b/RbFreqStandMeasure/RbFreqStandMeasure.csproj
index f5e7da9..7c12768 100644
--- a/RbFreqStandMeasure/RbFreqStandMeasure.csproj
+++ b/RbFreqStandMeasure/RbFreqStandMeasure.csproj
@@ -232,6 +232,54 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/RbFreqStandMeasure/RbFreqStdMeas.Designer.cs b/RbFreqStandMeasure/RbFreqStdMeas.Designer.cs
index 57778cf..1bd008c 100644
--- a/RbFreqStandMeasure/RbFreqStdMeas.Designer.cs
+++ b/RbFreqStandMeasure/RbFreqStdMeas.Designer.cs
@@ -30,148 +30,77 @@
private void InitializeComponent()
{
this.panMenu = new System.Windows.Forms.Panel();
+ this.penBanner = new System.Windows.Forms.Panel();
+ this.btnMinSys = new System.Windows.Forms.Button();
+ this.btnExitSys = new System.Windows.Forms.Button();
+ this.labTitle = new System.Windows.Forms.Label();
+ this.panDev = new Casic.Birmm.RbFreqStandMeasure.RoundPanel();
+ this.labDevText = new System.Windows.Forms.Label();
+ this.labDevSelected = new System.Windows.Forms.Label();
+ this.picIconDev = new System.Windows.Forms.PictureBox();
+ this.panSetting = new Casic.Birmm.RbFreqStandMeasure.RoundPanel();
+ this.labSettingSelected = new System.Windows.Forms.Label();
+ this.labSettingText = new System.Windows.Forms.Label();
+ this.picIconSetting = new System.Windows.Forms.PictureBox();
this.panStatus = new Casic.Birmm.RbFreqStandMeasure.RoundPanel();
this.labStatusText = new System.Windows.Forms.Label();
this.picIconStatus = new System.Windows.Forms.PictureBox();
+ this.labStatusSelected = new System.Windows.Forms.Label();
+ this.panData = new Casic.Birmm.RbFreqStandMeasure.RoundPanel();
+ this.labDataSelected = new System.Windows.Forms.Label();
+ this.labDataText = new System.Windows.Forms.Label();
+ this.picIconData = new System.Windows.Forms.PictureBox();
this.panHome = new Casic.Birmm.RbFreqStandMeasure.RoundPanel();
this.labHomeText = new System.Windows.Forms.Label();
this.picIconHome = new System.Windows.Forms.PictureBox();
this.labHomeSelected = new System.Windows.Forms.Label();
- this.labStatusSelected = new System.Windows.Forms.Label();
- this.penBanner = new System.Windows.Forms.Panel();
- this.btnExitSys = new System.Windows.Forms.Button();
- this.labTitle = new System.Windows.Forms.Label();
+ this.panMeasure = new Casic.Birmm.RbFreqStandMeasure.RoundPanel();
+ this.labMeasureText = new System.Windows.Forms.Label();
+ this.labMeasureSelected = new System.Windows.Forms.Label();
+ this.picIconMeasure = new System.Windows.Forms.PictureBox();
+ this.panCounter = new Casic.Birmm.RbFreqStandMeasure.RoundPanel();
+ this.labCounterSelected = new System.Windows.Forms.Label();
+ this.labCounterText = new System.Windows.Forms.Label();
+ this.picIconCounter = new System.Windows.Forms.PictureBox();
+ this.panelMain = new System.Windows.Forms.Panel();
this.panMenu.SuspendLayout();
+ this.penBanner.SuspendLayout();
+ this.panDev.SuspendLayout();
+ ((System.ComponentModel.ISupportInitialize)(this.picIconDev)).BeginInit();
+ this.panSetting.SuspendLayout();
+ ((System.ComponentModel.ISupportInitialize)(this.picIconSetting)).BeginInit();
this.panStatus.SuspendLayout();
((System.ComponentModel.ISupportInitialize)(this.picIconStatus)).BeginInit();
+ this.panData.SuspendLayout();
+ ((System.ComponentModel.ISupportInitialize)(this.picIconData)).BeginInit();
this.panHome.SuspendLayout();
((System.ComponentModel.ISupportInitialize)(this.picIconHome)).BeginInit();
- this.penBanner.SuspendLayout();
+ this.panMeasure.SuspendLayout();
+ ((System.ComponentModel.ISupportInitialize)(this.picIconMeasure)).BeginInit();
+ this.panCounter.SuspendLayout();
+ ((System.ComponentModel.ISupportInitialize)(this.picIconCounter)).BeginInit();
this.SuspendLayout();
//
// panMenu
//
this.panMenu.BackColor = System.Drawing.Color.White;
+ this.panMenu.Controls.Add(this.panDev);
+ this.panMenu.Controls.Add(this.panSetting);
this.panMenu.Controls.Add(this.panStatus);
+ this.panMenu.Controls.Add(this.panData);
this.panMenu.Controls.Add(this.panHome);
- this.panMenu.Controls.Add(this.labStatusSelected);
+ this.panMenu.Controls.Add(this.panMeasure);
+ this.panMenu.Controls.Add(this.panCounter);
this.panMenu.Location = new System.Drawing.Point(0, 64);
this.panMenu.Name = "panMenu";
this.panMenu.Size = new System.Drawing.Size(1024, 50);
this.panMenu.TabIndex = 1;
//
- // panStatus
- //
- this.panStatus.Back = System.Drawing.Color.Empty;
- this.panStatus.BackColor = System.Drawing.Color.Transparent;
- this.panStatus.Controls.Add(this.labStatusText);
- this.panStatus.Controls.Add(this.picIconStatus);
- this.panStatus.Location = new System.Drawing.Point(160, 0);
- this.panStatus.MatrixRound = 8;
- this.panStatus.Name = "panStatus";
- this.panStatus.Size = new System.Drawing.Size(130, 47);
- this.panStatus.TabIndex = 1;
- this.panStatus.Click += new System.EventHandler(this.panStatus_Click);
- this.panStatus.MouseLeave += new System.EventHandler(this.panStatus_MouseLeave);
- this.panStatus.MouseHover += new System.EventHandler(this.panStatus_MouseHover);
- //
- // labStatusText
- //
- this.labStatusText.BackColor = System.Drawing.Color.Transparent;
- this.labStatusText.Cursor = System.Windows.Forms.Cursors.Hand;
- this.labStatusText.Font = new System.Drawing.Font("微软雅黑", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
- this.labStatusText.ForeColor = System.Drawing.SystemColors.ControlText;
- this.labStatusText.Location = new System.Drawing.Point(35, 0);
- this.labStatusText.Margin = new System.Windows.Forms.Padding(0);
- this.labStatusText.Name = "labStatusText";
- this.labStatusText.Size = new System.Drawing.Size(85, 47);
- this.labStatusText.TabIndex = 2;
- this.labStatusText.Text = "基准状态";
- this.labStatusText.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
- this.labStatusText.Click += new System.EventHandler(this.panStatus_Click);
- this.labStatusText.MouseLeave += new System.EventHandler(this.panStatus_MouseLeave);
- this.labStatusText.MouseHover += new System.EventHandler(this.panStatus_MouseHover);
- //
- // picIconStatus
- //
- this.picIconStatus.BackgroundImage = global::Casic.Birmm.RbFreqStandMeasure.Properties.Resources.icon_status;
- this.picIconStatus.BackgroundImageLayout = System.Windows.Forms.ImageLayout.Zoom;
- this.picIconStatus.Location = new System.Drawing.Point(10, 11);
- this.picIconStatus.Name = "picIconStatus";
- this.picIconStatus.Size = new System.Drawing.Size(25, 25);
- this.picIconStatus.TabIndex = 1;
- this.picIconStatus.TabStop = false;
- this.picIconStatus.Click += new System.EventHandler(this.panStatus_Click);
- this.picIconStatus.MouseLeave += new System.EventHandler(this.panStatus_MouseLeave);
- this.picIconStatus.MouseHover += new System.EventHandler(this.panStatus_MouseHover);
- //
- // panHome
- //
- this.panHome.Back = System.Drawing.Color.Empty;
- this.panHome.Controls.Add(this.labHomeText);
- this.panHome.Controls.Add(this.picIconHome);
- this.panHome.Controls.Add(this.labHomeSelected);
- this.panHome.Cursor = System.Windows.Forms.Cursors.Hand;
- this.panHome.Location = new System.Drawing.Point(30, 0);
- this.panHome.MatrixRound = 8;
- this.panHome.Name = "panHome";
- this.panHome.Size = new System.Drawing.Size(100, 50);
- this.panHome.TabIndex = 0;
- this.panHome.Click += new System.EventHandler(this.panHome_Click);
- this.panHome.MouseLeave += new System.EventHandler(this.panHome_MouseLeave);
- this.panHome.MouseHover += new System.EventHandler(this.panHome_MouseHover);
- //
- // labHomeText
- //
- this.labHomeText.BackColor = System.Drawing.Color.Transparent;
- this.labHomeText.Font = new System.Drawing.Font("微软雅黑", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
- this.labHomeText.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(18)))), ((int)(((byte)(150)))), ((int)(((byte)(219)))));
- this.labHomeText.Location = new System.Drawing.Point(35, 0);
- this.labHomeText.Margin = new System.Windows.Forms.Padding(0);
- this.labHomeText.Name = "labHomeText";
- this.labHomeText.Size = new System.Drawing.Size(55, 47);
- this.labHomeText.TabIndex = 2;
- this.labHomeText.Text = "首页";
- this.labHomeText.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
- this.labHomeText.Click += new System.EventHandler(this.panHome_Click);
- this.labHomeText.MouseLeave += new System.EventHandler(this.panHome_MouseLeave);
- this.labHomeText.MouseHover += new System.EventHandler(this.panHome_MouseHover);
- //
- // picIconHome
- //
- this.picIconHome.BackColor = System.Drawing.Color.Transparent;
- this.picIconHome.BackgroundImage = global::Casic.Birmm.RbFreqStandMeasure.Properties.Resources.icon_home_selected;
- this.picIconHome.BackgroundImageLayout = System.Windows.Forms.ImageLayout.Zoom;
- this.picIconHome.Location = new System.Drawing.Point(10, 11);
- this.picIconHome.Name = "picIconHome";
- this.picIconHome.Size = new System.Drawing.Size(25, 25);
- this.picIconHome.TabIndex = 1;
- this.picIconHome.TabStop = false;
- this.picIconHome.Click += new System.EventHandler(this.panHome_Click);
- this.picIconHome.MouseLeave += new System.EventHandler(this.panHome_MouseLeave);
- this.picIconHome.MouseHover += new System.EventHandler(this.panHome_MouseHover);
- //
- // labHomeSelected
- //
- this.labHomeSelected.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(18)))), ((int)(((byte)(150)))), ((int)(((byte)(219)))));
- this.labHomeSelected.Location = new System.Drawing.Point(0, 47);
- this.labHomeSelected.Name = "labHomeSelected";
- this.labHomeSelected.Size = new System.Drawing.Size(100, 3);
- this.labHomeSelected.TabIndex = 0;
- //
- // labStatusSelected
- //
- this.labStatusSelected.BackColor = System.Drawing.Color.Transparent;
- this.labStatusSelected.Location = new System.Drawing.Point(160, 47);
- this.labStatusSelected.Margin = new System.Windows.Forms.Padding(0);
- this.labStatusSelected.Name = "labStatusSelected";
- this.labStatusSelected.Size = new System.Drawing.Size(130, 3);
- this.labStatusSelected.TabIndex = 0;
- //
// penBanner
//
this.penBanner.BackgroundImage = global::Casic.Birmm.RbFreqStandMeasure.Properties.Resources.bg_banner;
this.penBanner.BackgroundImageLayout = System.Windows.Forms.ImageLayout.Stretch;
+ this.penBanner.Controls.Add(this.btnMinSys);
this.penBanner.Controls.Add(this.btnExitSys);
this.penBanner.Controls.Add(this.labTitle);
this.penBanner.Location = new System.Drawing.Point(0, 0);
@@ -180,6 +109,23 @@
this.penBanner.TabIndex = 0;
this.penBanner.MouseDown += new System.Windows.Forms.MouseEventHandler(this.RbFreqStdMeas_MouseDown);
//
+ // btnMinSys
+ //
+ this.btnMinSys.BackColor = System.Drawing.Color.Transparent;
+ this.btnMinSys.BackgroundImage = global::Casic.Birmm.RbFreqStandMeasure.Properties.Resources.icon_min;
+ this.btnMinSys.BackgroundImageLayout = System.Windows.Forms.ImageLayout.Stretch;
+ this.btnMinSys.FlatAppearance.BorderSize = 0;
+ this.btnMinSys.FlatStyle = System.Windows.Forms.FlatStyle.Flat;
+ this.btnMinSys.ForeColor = System.Drawing.SystemColors.ControlDarkDark;
+ this.btnMinSys.Location = new System.Drawing.Point(944, 22);
+ this.btnMinSys.Margin = new System.Windows.Forms.Padding(0);
+ this.btnMinSys.Name = "btnMinSys";
+ this.btnMinSys.Size = new System.Drawing.Size(20, 20);
+ this.btnMinSys.TabIndex = 1;
+ this.btnMinSys.UseVisualStyleBackColor = false;
+ this.btnMinSys.Click += new System.EventHandler(this.btnMinSys_Click);
+ this.btnMinSys.MouseHover += new System.EventHandler(this.btnMinSys_MouseHover);
+ //
// btnExitSys
//
this.btnExitSys.BackColor = System.Drawing.Color.Transparent;
@@ -200,7 +146,7 @@
// labTitle
//
this.labTitle.BackColor = System.Drawing.Color.Transparent;
- this.labTitle.Font = new System.Drawing.Font("微软雅黑", 15.75F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
+ this.labTitle.Font = new System.Drawing.Font("微软雅黑", 20F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Pixel, ((byte)(134)));
this.labTitle.ForeColor = System.Drawing.Color.White;
this.labTitle.Location = new System.Drawing.Point(30, 16);
this.labTitle.Name = "labTitle";
@@ -209,11 +155,404 @@
this.labTitle.Text = "铷原子频标比对测量软件";
this.labTitle.TextAlign = System.Drawing.ContentAlignment.MiddleLeft;
//
+ // panDev
+ //
+ this.panDev.Back = System.Drawing.Color.Empty;
+ this.panDev.Controls.Add(this.labDevText);
+ this.panDev.Controls.Add(this.labDevSelected);
+ this.panDev.Controls.Add(this.picIconDev);
+ this.panDev.Location = new System.Drawing.Point(214, 0);
+ this.panDev.MatrixRound = 8;
+ this.panDev.Name = "panDev";
+ this.panDev.Size = new System.Drawing.Size(141, 50);
+ this.panDev.TabIndex = 2;
+ this.panDev.Click += new System.EventHandler(this.panDev_Click);
+ this.panDev.MouseLeave += new System.EventHandler(this.panDev_MouseLeave);
+ this.panDev.MouseHover += new System.EventHandler(this.panDev_MouseHover);
+ //
+ // labDevText
+ //
+ this.labDevText.BackColor = System.Drawing.Color.Transparent;
+ this.labDevText.Cursor = System.Windows.Forms.Cursors.Hand;
+ this.labDevText.Font = new System.Drawing.Font("微软雅黑", 16F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Pixel, ((byte)(134)));
+ this.labDevText.ForeColor = System.Drawing.SystemColors.ControlText;
+ this.labDevText.Location = new System.Drawing.Point(30, 14);
+ this.labDevText.Margin = new System.Windows.Forms.Padding(0);
+ this.labDevText.Name = "labDevText";
+ this.labDevText.Size = new System.Drawing.Size(106, 20);
+ this.labDevText.TabIndex = 2;
+ this.labDevText.Text = "送检仪器管理";
+ this.labDevText.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
+ this.labDevText.Click += new System.EventHandler(this.panDev_Click);
+ this.labDevText.MouseLeave += new System.EventHandler(this.panDev_MouseLeave);
+ this.labDevText.MouseHover += new System.EventHandler(this.panDev_MouseHover);
+ //
+ // labDevSelected
+ //
+ this.labDevSelected.BackColor = System.Drawing.Color.Transparent;
+ this.labDevSelected.Location = new System.Drawing.Point(8, 48);
+ this.labDevSelected.Margin = new System.Windows.Forms.Padding(0);
+ this.labDevSelected.Name = "labDevSelected";
+ this.labDevSelected.Size = new System.Drawing.Size(121, 2);
+ this.labDevSelected.TabIndex = 3;
+ //
+ // picIconDev
+ //
+ this.picIconDev.BackColor = System.Drawing.Color.Transparent;
+ this.picIconDev.BackgroundImage = global::Casic.Birmm.RbFreqStandMeasure.Properties.Resources.icon_dev;
+ this.picIconDev.BackgroundImageLayout = System.Windows.Forms.ImageLayout.Zoom;
+ this.picIconDev.Location = new System.Drawing.Point(10, 14);
+ this.picIconDev.Name = "picIconDev";
+ this.picIconDev.Size = new System.Drawing.Size(20, 20);
+ this.picIconDev.TabIndex = 1;
+ this.picIconDev.TabStop = false;
+ this.picIconDev.Click += new System.EventHandler(this.panDev_Click);
+ this.picIconDev.MouseLeave += new System.EventHandler(this.panDev_MouseLeave);
+ this.picIconDev.MouseHover += new System.EventHandler(this.panDev_MouseHover);
+ //
+ // panSetting
+ //
+ this.panSetting.Back = System.Drawing.Color.Empty;
+ this.panSetting.Controls.Add(this.labSettingSelected);
+ this.panSetting.Controls.Add(this.labSettingText);
+ this.panSetting.Controls.Add(this.picIconSetting);
+ this.panSetting.Location = new System.Drawing.Point(879, 0);
+ this.panSetting.MatrixRound = 8;
+ this.panSetting.Name = "panSetting";
+ this.panSetting.Size = new System.Drawing.Size(109, 50);
+ this.panSetting.TabIndex = 2;
+ this.panSetting.Click += new System.EventHandler(this.panSetting_Click);
+ this.panSetting.MouseLeave += new System.EventHandler(this.panSetting_MouseLeave);
+ this.panSetting.MouseHover += new System.EventHandler(this.panSetting_MouseHover);
+ //
+ // labSettingSelected
+ //
+ this.labSettingSelected.BackColor = System.Drawing.Color.Transparent;
+ this.labSettingSelected.Location = new System.Drawing.Point(10, 48);
+ this.labSettingSelected.Margin = new System.Windows.Forms.Padding(0);
+ this.labSettingSelected.Name = "labSettingSelected";
+ this.labSettingSelected.Size = new System.Drawing.Size(89, 2);
+ this.labSettingSelected.TabIndex = 4;
+ //
+ // labSettingText
+ //
+ this.labSettingText.BackColor = System.Drawing.Color.Transparent;
+ this.labSettingText.Cursor = System.Windows.Forms.Cursors.Hand;
+ this.labSettingText.Font = new System.Drawing.Font("微软雅黑", 16F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Pixel, ((byte)(134)));
+ this.labSettingText.ForeColor = System.Drawing.SystemColors.ControlText;
+ this.labSettingText.Location = new System.Drawing.Point(30, 14);
+ this.labSettingText.Margin = new System.Windows.Forms.Padding(0);
+ this.labSettingText.Name = "labSettingText";
+ this.labSettingText.Size = new System.Drawing.Size(74, 20);
+ this.labSettingText.TabIndex = 2;
+ this.labSettingText.Text = "系统设置";
+ this.labSettingText.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
+ this.labSettingText.Click += new System.EventHandler(this.panSetting_Click);
+ this.labSettingText.MouseLeave += new System.EventHandler(this.panSetting_MouseLeave);
+ this.labSettingText.MouseHover += new System.EventHandler(this.panSetting_MouseHover);
+ //
+ // picIconSetting
+ //
+ this.picIconSetting.BackColor = System.Drawing.Color.Transparent;
+ this.picIconSetting.BackgroundImage = global::Casic.Birmm.RbFreqStandMeasure.Properties.Resources.icon_setting;
+ this.picIconSetting.BackgroundImageLayout = System.Windows.Forms.ImageLayout.Zoom;
+ this.picIconSetting.Location = new System.Drawing.Point(10, 14);
+ this.picIconSetting.Name = "picIconSetting";
+ this.picIconSetting.Size = new System.Drawing.Size(20, 20);
+ this.picIconSetting.TabIndex = 1;
+ this.picIconSetting.TabStop = false;
+ this.picIconSetting.Click += new System.EventHandler(this.panSetting_Click);
+ this.picIconSetting.MouseLeave += new System.EventHandler(this.panSetting_MouseLeave);
+ this.picIconSetting.MouseHover += new System.EventHandler(this.panSetting_MouseHover);
+ //
+ // panStatus
+ //
+ this.panStatus.Back = System.Drawing.Color.Empty;
+ this.panStatus.BackColor = System.Drawing.Color.Transparent;
+ this.panStatus.Controls.Add(this.labStatusText);
+ this.panStatus.Controls.Add(this.picIconStatus);
+ this.panStatus.Controls.Add(this.labStatusSelected);
+ this.panStatus.Location = new System.Drawing.Point(101, 0);
+ this.panStatus.MatrixRound = 8;
+ this.panStatus.Name = "panStatus";
+ this.panStatus.Size = new System.Drawing.Size(109, 50);
+ this.panStatus.TabIndex = 1;
+ this.panStatus.Click += new System.EventHandler(this.panStatus_Click);
+ this.panStatus.MouseLeave += new System.EventHandler(this.panStatus_MouseLeave);
+ this.panStatus.MouseHover += new System.EventHandler(this.panStatus_MouseHover);
+ //
+ // labStatusText
+ //
+ this.labStatusText.BackColor = System.Drawing.Color.Transparent;
+ this.labStatusText.Cursor = System.Windows.Forms.Cursors.Hand;
+ this.labStatusText.Font = new System.Drawing.Font("微软雅黑", 16F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Pixel, ((byte)(134)));
+ this.labStatusText.ForeColor = System.Drawing.SystemColors.ControlText;
+ this.labStatusText.Location = new System.Drawing.Point(30, 14);
+ this.labStatusText.Margin = new System.Windows.Forms.Padding(0);
+ this.labStatusText.Name = "labStatusText";
+ this.labStatusText.Size = new System.Drawing.Size(74, 20);
+ this.labStatusText.TabIndex = 2;
+ this.labStatusText.Text = "基准状态";
+ this.labStatusText.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
+ this.labStatusText.Click += new System.EventHandler(this.panStatus_Click);
+ this.labStatusText.MouseLeave += new System.EventHandler(this.panStatus_MouseLeave);
+ this.labStatusText.MouseHover += new System.EventHandler(this.panStatus_MouseHover);
+ //
+ // picIconStatus
+ //
+ this.picIconStatus.BackgroundImage = global::Casic.Birmm.RbFreqStandMeasure.Properties.Resources.icon_status;
+ this.picIconStatus.BackgroundImageLayout = System.Windows.Forms.ImageLayout.Zoom;
+ this.picIconStatus.Location = new System.Drawing.Point(10, 14);
+ this.picIconStatus.Name = "picIconStatus";
+ this.picIconStatus.Size = new System.Drawing.Size(20, 20);
+ this.picIconStatus.TabIndex = 1;
+ this.picIconStatus.TabStop = false;
+ this.picIconStatus.Click += new System.EventHandler(this.panStatus_Click);
+ this.picIconStatus.MouseLeave += new System.EventHandler(this.panStatus_MouseLeave);
+ this.picIconStatus.MouseHover += new System.EventHandler(this.panStatus_MouseHover);
+ //
+ // labStatusSelected
+ //
+ this.labStatusSelected.BackColor = System.Drawing.Color.Transparent;
+ this.labStatusSelected.Location = new System.Drawing.Point(10, 48);
+ this.labStatusSelected.Margin = new System.Windows.Forms.Padding(0);
+ this.labStatusSelected.Name = "labStatusSelected";
+ this.labStatusSelected.Size = new System.Drawing.Size(89, 2);
+ this.labStatusSelected.TabIndex = 0;
+ //
+ // panData
+ //
+ this.panData.Back = System.Drawing.Color.Empty;
+ this.panData.Controls.Add(this.labDataSelected);
+ this.panData.Controls.Add(this.labDataText);
+ this.panData.Controls.Add(this.picIconData);
+ this.panData.Location = new System.Drawing.Point(765, 0);
+ this.panData.MatrixRound = 8;
+ this.panData.Name = "panData";
+ this.panData.Size = new System.Drawing.Size(109, 50);
+ this.panData.TabIndex = 2;
+ this.panData.Click += new System.EventHandler(this.panData_Click);
+ this.panData.MouseLeave += new System.EventHandler(this.panData_MouseLeave);
+ this.panData.MouseHover += new System.EventHandler(this.panData_MouseHover);
+ //
+ // labDataSelected
+ //
+ this.labDataSelected.BackColor = System.Drawing.Color.Transparent;
+ this.labDataSelected.Location = new System.Drawing.Point(10, 48);
+ this.labDataSelected.Margin = new System.Windows.Forms.Padding(0);
+ this.labDataSelected.Name = "labDataSelected";
+ this.labDataSelected.Size = new System.Drawing.Size(89, 2);
+ this.labDataSelected.TabIndex = 3;
+ //
+ // labDataText
+ //
+ this.labDataText.BackColor = System.Drawing.Color.Transparent;
+ this.labDataText.Cursor = System.Windows.Forms.Cursors.Hand;
+ this.labDataText.Font = new System.Drawing.Font("微软雅黑", 16F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Pixel, ((byte)(134)));
+ this.labDataText.ForeColor = System.Drawing.SystemColors.ControlText;
+ this.labDataText.Location = new System.Drawing.Point(30, 14);
+ this.labDataText.Margin = new System.Windows.Forms.Padding(0);
+ this.labDataText.Name = "labDataText";
+ this.labDataText.Size = new System.Drawing.Size(74, 20);
+ this.labDataText.TabIndex = 2;
+ this.labDataText.Text = "数据管理";
+ this.labDataText.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
+ this.labDataText.Click += new System.EventHandler(this.panData_Click);
+ this.labDataText.MouseLeave += new System.EventHandler(this.panData_MouseLeave);
+ this.labDataText.MouseHover += new System.EventHandler(this.panData_MouseHover);
+ //
+ // picIconData
+ //
+ this.picIconData.BackColor = System.Drawing.Color.Transparent;
+ this.picIconData.BackgroundImage = global::Casic.Birmm.RbFreqStandMeasure.Properties.Resources.icon_data;
+ this.picIconData.BackgroundImageLayout = System.Windows.Forms.ImageLayout.Zoom;
+ this.picIconData.Location = new System.Drawing.Point(10, 14);
+ this.picIconData.Name = "picIconData";
+ this.picIconData.Size = new System.Drawing.Size(20, 20);
+ this.picIconData.TabIndex = 1;
+ this.picIconData.TabStop = false;
+ this.picIconData.Click += new System.EventHandler(this.panData_Click);
+ this.picIconData.MouseLeave += new System.EventHandler(this.panData_MouseLeave);
+ this.picIconData.MouseHover += new System.EventHandler(this.panData_MouseHover);
+ //
+ // panHome
+ //
+ this.panHome.Back = System.Drawing.Color.Empty;
+ this.panHome.Controls.Add(this.labHomeText);
+ this.panHome.Controls.Add(this.picIconHome);
+ this.panHome.Controls.Add(this.labHomeSelected);
+ this.panHome.Cursor = System.Windows.Forms.Cursors.Hand;
+ this.panHome.Location = new System.Drawing.Point(20, 0);
+ this.panHome.MatrixRound = 8;
+ this.panHome.Name = "panHome";
+ this.panHome.Size = new System.Drawing.Size(75, 50);
+ this.panHome.TabIndex = 0;
+ this.panHome.Click += new System.EventHandler(this.panHome_Click);
+ this.panHome.MouseLeave += new System.EventHandler(this.panHome_MouseLeave);
+ this.panHome.MouseHover += new System.EventHandler(this.panHome_MouseHover);
+ //
+ // labHomeText
+ //
+ this.labHomeText.BackColor = System.Drawing.Color.Transparent;
+ this.labHomeText.Font = new System.Drawing.Font("微软雅黑", 16F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Pixel, ((byte)(134)));
+ this.labHomeText.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(18)))), ((int)(((byte)(150)))), ((int)(((byte)(219)))));
+ this.labHomeText.Location = new System.Drawing.Point(30, 14);
+ this.labHomeText.Margin = new System.Windows.Forms.Padding(0);
+ this.labHomeText.Name = "labHomeText";
+ this.labHomeText.Size = new System.Drawing.Size(42, 20);
+ this.labHomeText.TabIndex = 2;
+ this.labHomeText.Text = "首页";
+ this.labHomeText.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
+ this.labHomeText.Click += new System.EventHandler(this.panHome_Click);
+ this.labHomeText.MouseLeave += new System.EventHandler(this.panHome_MouseLeave);
+ this.labHomeText.MouseHover += new System.EventHandler(this.panHome_MouseHover);
+ //
+ // picIconHome
+ //
+ this.picIconHome.BackColor = System.Drawing.Color.Transparent;
+ this.picIconHome.BackgroundImage = global::Casic.Birmm.RbFreqStandMeasure.Properties.Resources.icon_home_selected;
+ this.picIconHome.BackgroundImageLayout = System.Windows.Forms.ImageLayout.Zoom;
+ this.picIconHome.Location = new System.Drawing.Point(10, 14);
+ this.picIconHome.Margin = new System.Windows.Forms.Padding(0);
+ this.picIconHome.Name = "picIconHome";
+ this.picIconHome.Size = new System.Drawing.Size(20, 20);
+ this.picIconHome.TabIndex = 1;
+ this.picIconHome.TabStop = false;
+ this.picIconHome.Click += new System.EventHandler(this.panHome_Click);
+ this.picIconHome.MouseLeave += new System.EventHandler(this.panHome_MouseLeave);
+ this.picIconHome.MouseHover += new System.EventHandler(this.panHome_MouseHover);
+ //
+ // labHomeSelected
+ //
+ this.labHomeSelected.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(18)))), ((int)(((byte)(150)))), ((int)(((byte)(219)))));
+ this.labHomeSelected.Location = new System.Drawing.Point(10, 48);
+ this.labHomeSelected.Name = "labHomeSelected";
+ this.labHomeSelected.Size = new System.Drawing.Size(55, 2);
+ this.labHomeSelected.TabIndex = 0;
+ //
+ // panMeasure
+ //
+ this.panMeasure.Back = System.Drawing.Color.Empty;
+ this.panMeasure.Controls.Add(this.labMeasureText);
+ this.panMeasure.Controls.Add(this.labMeasureSelected);
+ this.panMeasure.Controls.Add(this.picIconMeasure);
+ this.panMeasure.Location = new System.Drawing.Point(619, 0);
+ this.panMeasure.MatrixRound = 8;
+ this.panMeasure.Name = "panMeasure";
+ this.panMeasure.Size = new System.Drawing.Size(141, 50);
+ this.panMeasure.TabIndex = 2;
+ this.panMeasure.Click += new System.EventHandler(this.panMeasure_Click);
+ this.panMeasure.MouseLeave += new System.EventHandler(this.panMeasure_MouseLeave);
+ this.panMeasure.MouseHover += new System.EventHandler(this.panMeasure_MouseHover);
+ //
+ // labMeasureText
+ //
+ this.labMeasureText.BackColor = System.Drawing.Color.Transparent;
+ this.labMeasureText.Cursor = System.Windows.Forms.Cursors.Hand;
+ this.labMeasureText.Font = new System.Drawing.Font("微软雅黑", 16F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Pixel, ((byte)(134)));
+ this.labMeasureText.ForeColor = System.Drawing.SystemColors.ControlText;
+ this.labMeasureText.Location = new System.Drawing.Point(30, 14);
+ this.labMeasureText.Margin = new System.Windows.Forms.Padding(0);
+ this.labMeasureText.Name = "labMeasureText";
+ this.labMeasureText.Size = new System.Drawing.Size(106, 20);
+ this.labMeasureText.TabIndex = 2;
+ this.labMeasureText.Text = "计量信息管理";
+ this.labMeasureText.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
+ this.labMeasureText.Click += new System.EventHandler(this.panMeasure_Click);
+ this.labMeasureText.MouseLeave += new System.EventHandler(this.panMeasure_MouseLeave);
+ this.labMeasureText.MouseHover += new System.EventHandler(this.panMeasure_MouseHover);
+ //
+ // labMeasureSelected
+ //
+ this.labMeasureSelected.BackColor = System.Drawing.Color.Transparent;
+ this.labMeasureSelected.Location = new System.Drawing.Point(10, 48);
+ this.labMeasureSelected.Margin = new System.Windows.Forms.Padding(0);
+ this.labMeasureSelected.Name = "labMeasureSelected";
+ this.labMeasureSelected.Size = new System.Drawing.Size(121, 2);
+ this.labMeasureSelected.TabIndex = 3;
+ //
+ // picIconMeasure
+ //
+ this.picIconMeasure.BackColor = System.Drawing.Color.Transparent;
+ this.picIconMeasure.BackgroundImage = global::Casic.Birmm.RbFreqStandMeasure.Properties.Resources.icon_measure;
+ this.picIconMeasure.BackgroundImageLayout = System.Windows.Forms.ImageLayout.Zoom;
+ this.picIconMeasure.Location = new System.Drawing.Point(10, 14);
+ this.picIconMeasure.Name = "picIconMeasure";
+ this.picIconMeasure.Size = new System.Drawing.Size(20, 20);
+ this.picIconMeasure.TabIndex = 1;
+ this.picIconMeasure.TabStop = false;
+ this.picIconMeasure.Click += new System.EventHandler(this.panMeasure_Click);
+ this.picIconMeasure.MouseLeave += new System.EventHandler(this.panMeasure_MouseLeave);
+ this.picIconMeasure.MouseHover += new System.EventHandler(this.panMeasure_MouseHover);
+ //
+ // panCounter
+ //
+ this.panCounter.Back = System.Drawing.Color.Empty;
+ this.panCounter.Controls.Add(this.labCounterSelected);
+ this.panCounter.Controls.Add(this.labCounterText);
+ this.panCounter.Controls.Add(this.picIconCounter);
+ this.panCounter.Location = new System.Drawing.Point(360, 0);
+ this.panCounter.MatrixRound = 8;
+ this.panCounter.Name = "panCounter";
+ this.panCounter.Size = new System.Drawing.Size(254, 50);
+ this.panCounter.TabIndex = 2;
+ this.panCounter.Click += new System.EventHandler(this.panCounter_Click);
+ this.panCounter.MouseLeave += new System.EventHandler(this.panCounter_MouseLeave);
+ this.panCounter.MouseHover += new System.EventHandler(this.panCounter_MouseHover);
+ //
+ // labCounterSelected
+ //
+ this.labCounterSelected.BackColor = System.Drawing.Color.Transparent;
+ this.labCounterSelected.Location = new System.Drawing.Point(10, 48);
+ this.labCounterSelected.Margin = new System.Windows.Forms.Padding(0);
+ this.labCounterSelected.Name = "labCounterSelected";
+ this.labCounterSelected.Size = new System.Drawing.Size(233, 2);
+ this.labCounterSelected.TabIndex = 4;
+ //
+ // labCounterText
+ //
+ this.labCounterText.BackColor = System.Drawing.Color.Transparent;
+ this.labCounterText.Cursor = System.Windows.Forms.Cursors.Hand;
+ this.labCounterText.Font = new System.Drawing.Font("微软雅黑", 16F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Pixel, ((byte)(134)));
+ this.labCounterText.ForeColor = System.Drawing.SystemColors.ControlText;
+ this.labCounterText.Location = new System.Drawing.Point(30, 14);
+ this.labCounterText.Margin = new System.Windows.Forms.Padding(0);
+ this.labCounterText.Name = "labCounterText";
+ this.labCounterText.Size = new System.Drawing.Size(218, 20);
+ this.labCounterText.TabIndex = 2;
+ this.labCounterText.Text = "频率计数器范围及灵敏度测量";
+ this.labCounterText.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
+ this.labCounterText.Click += new System.EventHandler(this.panCounter_Click);
+ this.labCounterText.MouseLeave += new System.EventHandler(this.panCounter_MouseLeave);
+ this.labCounterText.MouseHover += new System.EventHandler(this.panCounter_MouseHover);
+ //
+ // picIconCounter
+ //
+ this.picIconCounter.BackColor = System.Drawing.Color.Transparent;
+ this.picIconCounter.BackgroundImage = global::Casic.Birmm.RbFreqStandMeasure.Properties.Resources.icon_counter;
+ this.picIconCounter.BackgroundImageLayout = System.Windows.Forms.ImageLayout.Zoom;
+ this.picIconCounter.Location = new System.Drawing.Point(10, 14);
+ this.picIconCounter.Name = "picIconCounter";
+ this.picIconCounter.Size = new System.Drawing.Size(20, 20);
+ this.picIconCounter.TabIndex = 1;
+ this.picIconCounter.TabStop = false;
+ this.picIconCounter.Click += new System.EventHandler(this.panCounter_Click);
+ this.picIconCounter.MouseLeave += new System.EventHandler(this.panCounter_MouseLeave);
+ this.picIconCounter.MouseHover += new System.EventHandler(this.panCounter_MouseHover);
+ //
+ // panelMain
+ //
+ this.panelMain.Location = new System.Drawing.Point(0, 114);
+ this.panelMain.Name = "panelMain";
+ this.panelMain.Size = new System.Drawing.Size(1024, 654);
+ this.panelMain.TabIndex = 2;
+ //
// RbFreqStdMeas
//
this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 12F);
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
this.ClientSize = new System.Drawing.Size(1024, 768);
+ this.Controls.Add(this.panelMain);
this.Controls.Add(this.panMenu);
this.Controls.Add(this.penBanner);
this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.None;
@@ -221,11 +560,21 @@
this.Text = "RbFreqStdMeas";
this.Load += new System.EventHandler(this.RbFreqStdMeas_Load);
this.panMenu.ResumeLayout(false);
+ this.penBanner.ResumeLayout(false);
+ this.panDev.ResumeLayout(false);
+ ((System.ComponentModel.ISupportInitialize)(this.picIconDev)).EndInit();
+ this.panSetting.ResumeLayout(false);
+ ((System.ComponentModel.ISupportInitialize)(this.picIconSetting)).EndInit();
this.panStatus.ResumeLayout(false);
((System.ComponentModel.ISupportInitialize)(this.picIconStatus)).EndInit();
+ this.panData.ResumeLayout(false);
+ ((System.ComponentModel.ISupportInitialize)(this.picIconData)).EndInit();
this.panHome.ResumeLayout(false);
((System.ComponentModel.ISupportInitialize)(this.picIconHome)).EndInit();
- this.penBanner.ResumeLayout(false);
+ this.panMeasure.ResumeLayout(false);
+ ((System.ComponentModel.ISupportInitialize)(this.picIconMeasure)).EndInit();
+ this.panCounter.ResumeLayout(false);
+ ((System.ComponentModel.ISupportInitialize)(this.picIconCounter)).EndInit();
this.ResumeLayout(false);
}
@@ -244,5 +593,27 @@
private RoundPanel panStatus;
private RoundPanel panHome;
private System.Windows.Forms.Label labStatusSelected;
+ private RoundPanel panDev;
+ private System.Windows.Forms.PictureBox picIconDev;
+ private System.Windows.Forms.Label labDevText;
+ private System.Windows.Forms.Label labMeasureSelected;
+ private RoundPanel panCounter;
+ private System.Windows.Forms.Label labCounterText;
+ private System.Windows.Forms.PictureBox picIconCounter;
+ private RoundPanel panMeasure;
+ private System.Windows.Forms.Label labMeasureText;
+ private System.Windows.Forms.PictureBox picIconMeasure;
+ private RoundPanel panData;
+ private System.Windows.Forms.Label labDataText;
+ private System.Windows.Forms.PictureBox picIconData;
+ private RoundPanel panSetting;
+ private System.Windows.Forms.Label labSettingText;
+ private System.Windows.Forms.PictureBox picIconSetting;
+ private System.Windows.Forms.Label labCounterSelected;
+ private System.Windows.Forms.Label labDevSelected;
+ private System.Windows.Forms.Label labDataSelected;
+ private System.Windows.Forms.Label labSettingSelected;
+ private System.Windows.Forms.Button btnMinSys;
+ private System.Windows.Forms.Panel panelMain;
}
}
\ No newline at end of file
diff --git a/RbFreqStandMeasure/RbFreqStdMeas.cs b/RbFreqStandMeasure/RbFreqStdMeas.cs
index 3858ddb..af980d7 100644
--- a/RbFreqStandMeasure/RbFreqStdMeas.cs
+++ b/RbFreqStandMeasure/RbFreqStdMeas.cs
@@ -1,13 +1,9 @@
-using Casic.Birmm.RbFreqStandMeasure.Properties;
+using Casic.Birmm.RbFreqStandMeasure.info;
+using Casic.Birmm.RbFreqStandMeasure.Properties;
+using Casic.Birmm.RbFreqStandMeasure.setting;
using System;
-using System.Collections.Generic;
-using System.ComponentModel;
-using System.Data;
using System.Drawing;
-using System.Linq;
-using System.Resources;
using System.Runtime.InteropServices;
-using System.Text;
using System.Windows.Forms;
namespace Casic.Birmm.RbFreqStandMeasure
@@ -15,7 +11,7 @@
public partial class RbFreqStdMeas : Form
{
- #region 无边框拖动效果
+ #region 无边框拖动效果/最小化窗口/关闭窗口
[DllImport("user32.dll")]//拖动无窗体的控件
public static extern bool ReleaseCapture();
[DllImport("user32.dll")]
@@ -30,9 +26,29 @@
ReleaseCapture();
SendMessage(this.Handle, WM_SYSCOMMAND, SC_MOVE + HTCAPTION, 0);
}
+ private void btnExitSys_Click(object sender, EventArgs e)
+ {
+ Application.Exit();
+ }
+ private void btnMinSys_Click(object sender, EventArgs e)
+ {
+ this.WindowState = FormWindowState.Minimized;
+ }
+ private void btnExitSys_MouseHover(object sender, EventArgs e)
+ {
+ ToolTip p = new ToolTip();
+ p.ShowAlways = true;
+ p.SetToolTip(this.btnExitSys, "退出");
+ }
+ private void btnMinSys_MouseHover(object sender, EventArgs e)
+ {
+ ToolTip p = new ToolTip();
+ p.ShowAlways = true;
+ p.SetToolTip(this.btnMinSys, "最小化");
+ }
#endregion
- private bool[] menuSelected = { true, false };
+ private bool[] menuSelected = { true, false, false, false, false, false, false };
// 按钮图标
private PictureBox[] menuPics;
// 按钮图标的资源名称(选中的资源名称在后面加上 _selected)
@@ -57,7 +73,7 @@
// 将当前按钮的效果设置为默认未选中
this.menuPics[index].BackgroundImage = (Bitmap)Resources.ResourceManager.GetObject(this.menuIconResources[index], null);
- this.menuLabels[index].ForeColor = ColorTranslator.FromHtml("#2C2C2C");
+ this.menuLabels[index].ForeColor = ColorTranslator.FromHtml("#333333");
this.menuUnderlines[index].BackColor = Color.Transparent;
}
@@ -79,13 +95,15 @@
LeaveHome();
// 重新设置所有按钮的状态
- this.menuSelected = new bool[] { true, false };
+ this.menuSelected = new bool[] { true, false, false, false, false, false, false };
// 将新选中的按钮设置为选中
this.picIconHome.BackgroundImage = (Bitmap)Resources.ResourceManager.GetObject("icon_home_selected", null);
- this.labHomeText.ForeColor = ColorTranslator.FromHtml("#1296db");
- this.labHomeSelected.BackColor = ColorTranslator.FromHtml("#1296db");
+ this.labHomeText.ForeColor = ColorTranslator.FromHtml("#3f84d7");
+ this.labHomeSelected.BackColor = ColorTranslator.FromHtml("#3f84d7");
+ // 切换至首页
+ switchMainPanel(0);
}
#endregion
@@ -107,12 +125,163 @@
LeaveStatus();
// 重新设置所有按钮的状态
- this.menuSelected = new bool[] { false, true };
+ this.menuSelected = new bool[] { false, true, false, false, false, false, false };
// 将新选中的按钮设置为选中
this.picIconStatus.BackgroundImage = (Bitmap) Resources.ResourceManager.GetObject("icon_status_selected", null);
- this.labStatusText.ForeColor = ColorTranslator.FromHtml("#1296db");
- this.labStatusSelected.BackColor = ColorTranslator.FromHtml("#1296db");
+ this.labStatusText.ForeColor = ColorTranslator.FromHtml("#3f84d7");
+ this.labStatusSelected.BackColor = ColorTranslator.FromHtml("#3f84d7");
+
+ // 切换到基准状态页面
+ switchMainPanel(1);
+ }
+ #endregion
+
+ #region 送检仪器按钮点击、移入/移出效果
+ private void HoverDev()
+ {
+ panDev.Back = ColorTranslator.FromHtml("#56a3f2");
+ }
+ private void LeaveDev()
+ {
+ panDev.Back = Color.Transparent;
+ }
+ private void SelectDev()
+ {
+ // 移除所有按钮的选中样式
+ this.ClearAllMenuSelected();
+
+ // 鼠标移入效果去掉
+ LeaveDev();
+
+ // 重新设置所有按钮的状态
+ this.menuSelected = new bool[] { false, false, true, false, false ,false ,false };
+
+ // 将新选中的按钮设置为选中
+ this.picIconDev.BackgroundImage = (Bitmap)Resources.ResourceManager.GetObject("icon_dev_selected", null);
+ this.labDevText.ForeColor = ColorTranslator.FromHtml("#3f84d7");
+ this.labDevSelected.BackColor = ColorTranslator.FromHtml("#3f84d7");
+
+ // 切换至待检仪器管理
+ switchMainPanel(2);
+ }
+ #endregion
+
+ #region 频率计数器测量点击、移入/移出效果
+ private void HoverCounter()
+ {
+ panCounter.Back = ColorTranslator.FromHtml("#56a3f2");
+ }
+ private void LeaveCounter()
+ {
+ panCounter.Back = Color.Transparent;
+ }
+ private void SelectCounter()
+ {
+ // 移除所有按钮的选中样式
+ this.ClearAllMenuSelected();
+
+ // 鼠标移入效果去掉
+ LeaveCounter();
+
+ // 重新设置所有按钮的状态
+ this.menuSelected = new bool[] { false, false, false, true, false, false, false };
+
+ // 将新选中的按钮设置为选中
+ this.picIconCounter.BackgroundImage = (Bitmap)Resources.ResourceManager.GetObject("icon_counter_selected", null);
+ this.labCounterText.ForeColor = ColorTranslator.FromHtml("#3f84d7");
+ this.labCounterSelected.BackColor = ColorTranslator.FromHtml("#3f84d7");
+ }
+ #endregion
+
+ #region 计量管理点击、移入/移出效果
+ private void HoverMeasure()
+ {
+ panMeasure.Back = ColorTranslator.FromHtml("#56a3f2");
+ }
+ private void LeaveMeasure()
+ {
+ panMeasure.Back = Color.Transparent;
+ }
+ private void SelectMeasure()
+ {
+ // 移除所有按钮的选中样式
+ this.ClearAllMenuSelected();
+
+ // 鼠标移入效果去掉
+ LeaveMeasure();
+
+ // 重新设置所有按钮的状态
+ this.menuSelected = new bool[] { false, false, false, false, true, false, false };
+
+ // 将新选中的按钮设置为选中
+ this.picIconMeasure.BackgroundImage = (Bitmap)Resources.ResourceManager.GetObject("icon_measure_selected", null);
+ this.labMeasureText.ForeColor = ColorTranslator.FromHtml("#3f84d7");
+ this.labMeasureSelected.BackColor = ColorTranslator.FromHtml("#3f84d7");
+
+ // 切换至计量信息管理
+ switchMainPanel(4);
+ }
+ #endregion
+
+ #region 数据管理点击、移入/移出效果
+ private void HoverData()
+ {
+ panData.Back = ColorTranslator.FromHtml("#56a3f2");
+ }
+ private void LeaveData()
+ {
+ panData.Back = Color.Transparent;
+ }
+ private void SelectData()
+ {
+ // 移除所有按钮的选中样式
+ this.ClearAllMenuSelected();
+
+ // 鼠标移入效果去掉
+ LeaveData();
+
+ // 重新设置所有按钮的状态
+ this.menuSelected = new bool[] { false, false, false, false, false, true, false };
+
+ // 将新选中的按钮设置为选中
+ this.picIconData.BackgroundImage = (Bitmap)Resources.ResourceManager.GetObject("icon_data_selected", null);
+ this.labDataText.ForeColor = ColorTranslator.FromHtml("#3f84d7");
+ this.labDataSelected.BackColor = ColorTranslator.FromHtml("#3f84d7");
+
+ // 弹出对话框进行数据备份与还原操作
+ DataBackupDlg dataDlg = new DataBackupDlg();
+ dataDlg.ShowDialog();
+ }
+ #endregion
+
+ #region 系统管理点击、移入/移出效果
+ private void HoverSetting()
+ {
+ panSetting.Back = ColorTranslator.FromHtml("#56a3f2");
+ }
+ private void LeaveSetting()
+ {
+ panSetting.Back = Color.Transparent;
+ }
+ private void SelectSetting()
+ {
+ // 移除所有按钮的选中样式
+ this.ClearAllMenuSelected();
+
+ // 鼠标移入效果去掉
+ LeaveSetting();
+
+ // 重新设置所有按钮的状态
+ this.menuSelected = new bool[] { false, false, false, false, false, false, true };
+
+ // 将新选中的按钮设置为选中
+ this.picIconSetting.BackgroundImage = (Bitmap)Resources.ResourceManager.GetObject("icon_setting_selected", null);
+ this.labSettingText.ForeColor = ColorTranslator.FromHtml("#3f84d7");
+ this.labSettingSelected.BackColor = ColorTranslator.FromHtml("#3f84d7");
+
+ // 切换到设置的界面
+ switchMainPanel(6);
}
#endregion
@@ -123,22 +292,13 @@
private void RbFreqStdMeas_Load(object sender, EventArgs e)
{
- this.menuPics = new PictureBox[] { this.picIconHome, this.picIconStatus };
- this.menuLabels = new Label[] { this.labHomeText, this.labStatusText };
- this.menuUnderlines = new Label[] { this.labHomeSelected, this.labStatusSelected };
- this.menuIconResources = new string[] { "icon_home", "icon_status" };
- }
+ this.menuPics = new PictureBox[] { this.picIconHome, this.picIconStatus, this.picIconDev, this.picIconCounter, this.picIconMeasure, this.picIconData, this.picIconSetting };
+ this.menuLabels = new Label[] { this.labHomeText, this.labStatusText, this.labDevText, this.labCounterText, this.labMeasureText, this.labDataText, this.labSettingText };
+ this.menuUnderlines = new Label[] { this.labHomeSelected, this.labStatusSelected, this.labDevSelected, this.labCounterSelected, this.labMeasureSelected, this.labDataSelected, this.labSettingSelected };
+ this.menuIconResources = new string[] { "icon_home", "icon_status", "icon_dev", "icon_counter", "icon_measure", "icon_data", "icon_setting" };
- private void btnExitSys_Click(object sender, EventArgs e)
- {
- Application.Exit();
- }
-
- private void btnExitSys_MouseHover(object sender, EventArgs e)
- {
- ToolTip p = new ToolTip();
- p.ShowAlways = true;
- p.SetToolTip(this.btnExitSys, "退出");
+ // 加载首页的内容
+ switchMainPanel(0);
}
private void panHome_Click(object sender, EventArgs e)
@@ -191,5 +351,169 @@
LeaveStatus();
}
}
+
+ private void panDev_Click(object sender, EventArgs e)
+ {
+ if (this.menuSelected[2] == false)
+ {
+ SelectDev();
+ }
+ }
+
+ private void panDev_MouseHover(object sender, EventArgs e)
+ {
+ if (this.menuSelected[2] == false)
+ {
+ HoverDev();
+ }
+ }
+
+ private void panDev_MouseLeave(object sender, EventArgs e)
+ {
+ if (this.menuSelected[2] == false)
+ {
+ LeaveDev();
+ }
+ }
+
+ private void panCounter_Click(object sender, EventArgs e)
+ {
+ if (this.menuSelected[3] == false)
+ {
+ SelectCounter();
+ }
+ }
+
+ private void panCounter_MouseHover(object sender, EventArgs e)
+ {
+ if (this.menuSelected[3] == false)
+ {
+ HoverCounter();
+ }
+ }
+
+ private void panCounter_MouseLeave(object sender, EventArgs e)
+ {
+ if (this.menuSelected[3] == false)
+ {
+ LeaveCounter();
+ }
+ }
+
+ private void panMeasure_Click(object sender, EventArgs e)
+ {
+ if (this.menuSelected[4] == false)
+ {
+ SelectMeasure();
+ }
+ }
+
+ private void panMeasure_MouseHover(object sender, EventArgs e)
+ {
+ if (this.menuSelected[4] == false)
+ {
+ HoverMeasure();
+ }
+ }
+
+ private void panMeasure_MouseLeave(object sender, EventArgs e)
+ {
+ if (this.menuSelected[4] == false)
+ {
+ LeaveMeasure();
+ }
+ }
+
+ private void panData_Click(object sender, EventArgs e)
+ {
+ if (this.menuSelected[5] == false)
+ {
+ SelectData();
+ }
+ }
+
+ private void panData_MouseHover(object sender, EventArgs e)
+ {
+ if (this.menuSelected[5] == false)
+ {
+ HoverData();
+ }
+ }
+
+ private void panData_MouseLeave(object sender, EventArgs e)
+ {
+ if (this.menuSelected[5] == false)
+ {
+ LeaveData();
+ }
+ }
+
+ private void panSetting_Click(object sender, EventArgs e)
+ {
+ if (this.menuSelected[6] == false)
+ {
+ SelectSetting();
+ }
+ }
+
+ private void panSetting_MouseHover(object sender, EventArgs e)
+ {
+ if (this.menuSelected[6] == false)
+ {
+ HoverSetting();
+ }
+ }
+
+ private void panSetting_MouseLeave(object sender, EventArgs e)
+ {
+ if (this.menuSelected[6] == false)
+ {
+ LeaveSetting();
+ }
+ }
+
+ private void switchMainPanel(int index)
+ {
+ this.panelMain.Controls.Clear();
+
+ switch (index)
+ {
+ case 0: // 首页
+ HomeCtrlForm home = new HomeCtrlForm();
+ home.Show();
+ this.panelMain.Controls.Add(home);
+ break;
+
+ case 1: // 基准状态
+ StatusCtrlForm statusForm = new StatusCtrlForm();
+ statusForm.Show();
+ this.panelMain.Controls.Add(statusForm);
+ break;
+
+ case 2: // 待检设备
+ InfoCtrlForm infoForm = new InfoCtrlForm();
+ infoForm.Show();
+ this.panelMain.Controls.Add(infoForm);
+ break;
+
+ case 3: // 频率计数器范围
+ break;
+
+ case 4: // 计量信息
+ DevTestedCtrlForm tested = new DevTestedCtrlForm();
+ tested.Show();
+ this.panelMain.Controls.Add(tested);
+ break;
+
+ case 6: // 设置
+ SettingCtrlForm settingForm = new SettingCtrlForm();
+ settingForm.Show();
+ this.panelMain.Controls.Add(settingForm);
+ break;
+
+ default:
+ break;
+ }
+ }
}
}
\ No newline at end of file
diff --git a/RbFreqStandMeasure/StatusCtrlForm.Designer.cs b/RbFreqStandMeasure/StatusCtrlForm.Designer.cs
index bf5071a..b4151fd 100644
--- a/RbFreqStandMeasure/StatusCtrlForm.Designer.cs
+++ b/RbFreqStandMeasure/StatusCtrlForm.Designer.cs
@@ -31,21 +31,34 @@
{
this.panelSite = new System.Windows.Forms.Panel();
this.label5 = new System.Windows.Forms.Label();
- this.panelStatus = new System.Windows.Forms.Panel();
+ this.panel3 = new System.Windows.Forms.Panel();
+ this.label8 = new System.Windows.Forms.Label();
+ this.label13 = new System.Windows.Forms.Label();
+ this.label12 = new System.Windows.Forms.Label();
+ this.label11 = new System.Windows.Forms.Label();
+ this.label9 = new System.Windows.Forms.Label();
+ this.label10 = new System.Windows.Forms.Label();
+ this.panel2 = new System.Windows.Forms.Panel();
this.label4 = new System.Windows.Forms.Label();
+ this.label7 = new System.Windows.Forms.Label();
+ this.label6 = new System.Windows.Forms.Label();
+ this.label1 = new System.Windows.Forms.Label();
+ this.panel1 = new System.Windows.Forms.Panel();
this.label3 = new System.Windows.Forms.Label();
this.label2 = new System.Windows.Forms.Label();
- this.label1 = new System.Windows.Forms.Label();
+ this.label14 = new System.Windows.Forms.Label();
this.panelSite.SuspendLayout();
- this.panelStatus.SuspendLayout();
+ this.panel3.SuspendLayout();
+ this.panel2.SuspendLayout();
+ this.panel1.SuspendLayout();
this.SuspendLayout();
//
// panelSite
//
this.panelSite.Controls.Add(this.label5);
- this.panelSite.Location = new System.Drawing.Point(200, 0);
+ this.panelSite.Location = new System.Drawing.Point(232, 0);
this.panelSite.Name = "panelSite";
- this.panelSite.Size = new System.Drawing.Size(800, 640);
+ this.panelSite.Size = new System.Drawing.Size(773, 640);
this.panelSite.TabIndex = 3;
//
// label5
@@ -57,67 +70,208 @@
this.label5.TabIndex = 0;
this.label5.Text = "卫星位置图";
//
- // panelStatus
+ // panel3
//
- this.panelStatus.BackColor = System.Drawing.SystemColors.Window;
- this.panelStatus.Controls.Add(this.label4);
- this.panelStatus.Controls.Add(this.label3);
- this.panelStatus.Controls.Add(this.label2);
- this.panelStatus.Controls.Add(this.label1);
- this.panelStatus.Location = new System.Drawing.Point(0, 0);
- this.panelStatus.Name = "panelStatus";
- this.panelStatus.Size = new System.Drawing.Size(200, 640);
- this.panelStatus.TabIndex = 2;
+ this.panel3.BackgroundImage = global::Casic.Birmm.RbFreqStandMeasure.Properties.Resources.bg_status_location;
+ this.panel3.Controls.Add(this.label8);
+ this.panel3.Controls.Add(this.label13);
+ this.panel3.Controls.Add(this.label12);
+ this.panel3.Controls.Add(this.label11);
+ this.panel3.Controls.Add(this.label9);
+ this.panel3.Controls.Add(this.label10);
+ this.panel3.Location = new System.Drawing.Point(6, 360);
+ this.panel3.Name = "panel3";
+ this.panel3.Size = new System.Drawing.Size(224, 293);
+ this.panel3.TabIndex = 6;
+ //
+ // label8
+ //
+ this.label8.BackColor = System.Drawing.Color.Transparent;
+ this.label8.Font = new System.Drawing.Font("微软雅黑", 14F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Pixel, ((byte)(134)));
+ this.label8.Location = new System.Drawing.Point(0, 20);
+ this.label8.Name = "label8";
+ this.label8.Size = new System.Drawing.Size(224, 25);
+ this.label8.TabIndex = 0;
+ this.label8.Text = "位置信息";
+ this.label8.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
+ //
+ // label13
+ //
+ this.label13.BackColor = System.Drawing.Color.Transparent;
+ this.label13.Font = new System.Drawing.Font("微软雅黑", 14F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Pixel, ((byte)(134)));
+ this.label13.Location = new System.Drawing.Point(0, 220);
+ this.label13.Margin = new System.Windows.Forms.Padding(0);
+ this.label13.Name = "label13";
+ this.label13.Size = new System.Drawing.Size(75, 25);
+ this.label13.TabIndex = 1;
+ this.label13.Text = "Z";
+ this.label13.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
+ //
+ // label12
+ //
+ this.label12.BackColor = System.Drawing.Color.Transparent;
+ this.label12.Font = new System.Drawing.Font("微软雅黑", 14F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Pixel, ((byte)(134)));
+ this.label12.Location = new System.Drawing.Point(0, 180);
+ this.label12.Margin = new System.Windows.Forms.Padding(0);
+ this.label12.Name = "label12";
+ this.label12.Size = new System.Drawing.Size(75, 25);
+ this.label12.TabIndex = 1;
+ this.label12.Text = "Y";
+ this.label12.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
+ //
+ // label11
+ //
+ this.label11.BackColor = System.Drawing.Color.Transparent;
+ this.label11.Font = new System.Drawing.Font("微软雅黑", 14F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Pixel, ((byte)(134)));
+ this.label11.Location = new System.Drawing.Point(0, 140);
+ this.label11.Margin = new System.Windows.Forms.Padding(0);
+ this.label11.Name = "label11";
+ this.label11.Size = new System.Drawing.Size(75, 25);
+ this.label11.TabIndex = 1;
+ this.label11.Text = "X";
+ this.label11.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
+ //
+ // label9
+ //
+ this.label9.BackColor = System.Drawing.Color.Transparent;
+ this.label9.Font = new System.Drawing.Font("微软雅黑", 14F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Pixel, ((byte)(134)));
+ this.label9.Location = new System.Drawing.Point(0, 60);
+ this.label9.Name = "label9";
+ this.label9.Size = new System.Drawing.Size(75, 25);
+ this.label9.TabIndex = 1;
+ this.label9.Text = "经度";
+ this.label9.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
+ //
+ // label10
+ //
+ this.label10.BackColor = System.Drawing.Color.Transparent;
+ this.label10.Font = new System.Drawing.Font("微软雅黑", 14F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Pixel, ((byte)(134)));
+ this.label10.Location = new System.Drawing.Point(0, 100);
+ this.label10.Margin = new System.Windows.Forms.Padding(0);
+ this.label10.Name = "label10";
+ this.label10.Size = new System.Drawing.Size(75, 25);
+ this.label10.TabIndex = 1;
+ this.label10.Text = "纬度";
+ this.label10.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
+ //
+ // panel2
+ //
+ this.panel2.BackgroundImage = global::Casic.Birmm.RbFreqStandMeasure.Properties.Resources.bg_status_time;
+ this.panel2.Controls.Add(this.label4);
+ this.panel2.Controls.Add(this.label7);
+ this.panel2.Controls.Add(this.label6);
+ this.panel2.Controls.Add(this.label1);
+ this.panel2.Location = new System.Drawing.Point(6, 160);
+ this.panel2.Name = "panel2";
+ this.panel2.Size = new System.Drawing.Size(224, 200);
+ this.panel2.TabIndex = 5;
//
// label4
//
- this.label4.AutoSize = true;
- this.label4.Location = new System.Drawing.Point(59, 185);
+ this.label4.BackColor = System.Drawing.Color.Transparent;
+ this.label4.Font = new System.Drawing.Font("微软雅黑", 14F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Pixel, ((byte)(134)));
+ this.label4.Location = new System.Drawing.Point(0, 20);
this.label4.Name = "label4";
- this.label4.Size = new System.Drawing.Size(53, 12);
+ this.label4.Size = new System.Drawing.Size(224, 25);
this.label4.TabIndex = 0;
- this.label4.Text = "事件信息";
+ this.label4.Text = "时间信息";
+ this.label4.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
//
- // label3
+ // label7
//
- this.label3.AutoSize = true;
- this.label3.Location = new System.Drawing.Point(59, 139);
- this.label3.Name = "label3";
- this.label3.Size = new System.Drawing.Size(53, 12);
- this.label3.TabIndex = 0;
- this.label3.Text = "位置信息";
+ this.label7.BackColor = System.Drawing.Color.Transparent;
+ this.label7.Font = new System.Drawing.Font("微软雅黑", 14F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Pixel, ((byte)(134)));
+ this.label7.Location = new System.Drawing.Point(0, 140);
+ this.label7.Margin = new System.Windows.Forms.Padding(0);
+ this.label7.Name = "label7";
+ this.label7.Size = new System.Drawing.Size(75, 25);
+ this.label7.TabIndex = 1;
+ this.label7.Text = "MJD";
+ this.label7.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
//
- // label2
+ // label6
//
- this.label2.AutoSize = true;
- this.label2.Location = new System.Drawing.Point(59, 98);
- this.label2.Name = "label2";
- this.label2.Size = new System.Drawing.Size(53, 12);
- this.label2.TabIndex = 0;
- this.label2.Text = "锁定状态";
+ this.label6.BackColor = System.Drawing.Color.Transparent;
+ this.label6.Font = new System.Drawing.Font("微软雅黑", 14F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Pixel, ((byte)(134)));
+ this.label6.Location = new System.Drawing.Point(0, 100);
+ this.label6.Name = "label6";
+ this.label6.Size = new System.Drawing.Size(75, 25);
+ this.label6.TabIndex = 1;
+ this.label6.Text = "时间";
+ this.label6.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
//
// label1
//
- this.label1.AutoSize = true;
- this.label1.Location = new System.Drawing.Point(33, 53);
+ this.label1.BackColor = System.Drawing.Color.Transparent;
+ this.label1.Font = new System.Drawing.Font("微软雅黑", 14F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Pixel, ((byte)(134)));
+ this.label1.Location = new System.Drawing.Point(0, 60);
this.label1.Name = "label1";
- this.label1.Size = new System.Drawing.Size(29, 12);
- this.label1.TabIndex = 0;
- this.label1.Text = "状态";
+ this.label1.Size = new System.Drawing.Size(75, 25);
+ this.label1.TabIndex = 1;
+ this.label1.Text = "日期";
+ this.label1.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
+ //
+ // panel1
+ //
+ this.panel1.BackgroundImage = global::Casic.Birmm.RbFreqStandMeasure.Properties.Resources.bg_status_base;
+ this.panel1.Controls.Add(this.label3);
+ this.panel1.Controls.Add(this.label2);
+ this.panel1.Controls.Add(this.label14);
+ this.panel1.Location = new System.Drawing.Point(6, 0);
+ this.panel1.Margin = new System.Windows.Forms.Padding(0);
+ this.panel1.Name = "panel1";
+ this.panel1.Size = new System.Drawing.Size(224, 160);
+ this.panel1.TabIndex = 4;
+ //
+ // label3
+ //
+ this.label3.BackColor = System.Drawing.Color.Transparent;
+ this.label3.Font = new System.Drawing.Font("微软雅黑", 14F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Pixel, ((byte)(134)));
+ this.label3.Location = new System.Drawing.Point(0, 100);
+ this.label3.Name = "label3";
+ this.label3.Size = new System.Drawing.Size(75, 25);
+ this.label3.TabIndex = 1;
+ this.label3.Text = "接收机";
+ this.label3.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
+ //
+ // label2
+ //
+ this.label2.BackColor = System.Drawing.Color.Transparent;
+ this.label2.Font = new System.Drawing.Font("微软雅黑", 14F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Pixel, ((byte)(134)));
+ this.label2.Location = new System.Drawing.Point(0, 60);
+ this.label2.Name = "label2";
+ this.label2.Size = new System.Drawing.Size(75, 25);
+ this.label2.TabIndex = 1;
+ this.label2.Text = "原子钟";
+ this.label2.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
+ //
+ // label14
+ //
+ this.label14.BackColor = System.Drawing.Color.Transparent;
+ this.label14.Font = new System.Drawing.Font("微软雅黑", 14F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Pixel, ((byte)(134)));
+ this.label14.Location = new System.Drawing.Point(0, 20);
+ this.label14.Name = "label14";
+ this.label14.Size = new System.Drawing.Size(224, 25);
+ this.label14.TabIndex = 0;
+ this.label14.Text = "基本信息";
+ this.label14.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
//
// StatusCtrlForm
//
this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 12F);
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
+ this.Controls.Add(this.panel3);
+ this.Controls.Add(this.panel2);
+ this.Controls.Add(this.panel1);
this.Controls.Add(this.panelSite);
- this.Controls.Add(this.panelStatus);
this.Margin = new System.Windows.Forms.Padding(10);
this.Name = "StatusCtrlForm";
- this.Size = new System.Drawing.Size(1000, 640);
+ this.Size = new System.Drawing.Size(1024, 654);
this.panelSite.ResumeLayout(false);
this.panelSite.PerformLayout();
- this.panelStatus.ResumeLayout(false);
- this.panelStatus.PerformLayout();
+ this.panel3.ResumeLayout(false);
+ this.panel2.ResumeLayout(false);
+ this.panel1.ResumeLayout(false);
this.ResumeLayout(false);
}
@@ -126,10 +280,21 @@
private System.Windows.Forms.Panel panelSite;
private System.Windows.Forms.Label label5;
- private System.Windows.Forms.Panel panelStatus;
+ private System.Windows.Forms.Panel panel3;
+ private System.Windows.Forms.Label label8;
+ private System.Windows.Forms.Label label13;
+ private System.Windows.Forms.Label label12;
+ private System.Windows.Forms.Label label11;
+ private System.Windows.Forms.Label label9;
+ private System.Windows.Forms.Label label10;
+ private System.Windows.Forms.Panel panel2;
private System.Windows.Forms.Label label4;
+ private System.Windows.Forms.Label label7;
+ private System.Windows.Forms.Label label6;
+ private System.Windows.Forms.Label label1;
+ private System.Windows.Forms.Panel panel1;
private System.Windows.Forms.Label label3;
private System.Windows.Forms.Label label2;
- private System.Windows.Forms.Label label1;
+ private System.Windows.Forms.Label label14;
}
}
diff --git a/RbFreqStandMeasure/res/images/bg_banner.png b/RbFreqStandMeasure/res/images/bg_banner.png
index d795b7d..3119070 100644
--- a/RbFreqStandMeasure/res/images/bg_banner.png
+++ b/RbFreqStandMeasure/res/images/bg_banner.png
Binary files differ
diff --git a/RbFreqStandMeasure/res/images/bg_dev_channel.png b/RbFreqStandMeasure/res/images/bg_dev_channel.png
new file mode 100644
index 0000000..7bac7ce
--- /dev/null
+++ b/RbFreqStandMeasure/res/images/bg_dev_channel.png
Binary files differ
diff --git a/RbFreqStandMeasure/res/images/bg_dev_tested.png b/RbFreqStandMeasure/res/images/bg_dev_tested.png
new file mode 100644
index 0000000..0b43ead
--- /dev/null
+++ b/RbFreqStandMeasure/res/images/bg_dev_tested.png
Binary files differ
diff --git a/RbFreqStandMeasure/res/images/bg_status_base.png b/RbFreqStandMeasure/res/images/bg_status_base.png
new file mode 100644
index 0000000..ef11397
--- /dev/null
+++ b/RbFreqStandMeasure/res/images/bg_status_base.png
Binary files differ
diff --git a/RbFreqStandMeasure/res/images/bg_status_location.png b/RbFreqStandMeasure/res/images/bg_status_location.png
new file mode 100644
index 0000000..64d28d5
--- /dev/null
+++ b/RbFreqStandMeasure/res/images/bg_status_location.png
Binary files differ
diff --git a/RbFreqStandMeasure/res/images/bg_status_time.png b/RbFreqStandMeasure/res/images/bg_status_time.png
new file mode 100644
index 0000000..eec981a
--- /dev/null
+++ b/RbFreqStandMeasure/res/images/bg_status_time.png
Binary files differ
diff --git a/RbFreqStandMeasure/res/images/icon_counter.png b/RbFreqStandMeasure/res/images/icon_counter.png
new file mode 100644
index 0000000..060c3d7
--- /dev/null
+++ b/RbFreqStandMeasure/res/images/icon_counter.png
Binary files differ
diff --git a/RbFreqStandMeasure/res/images/icon_counter_selected.png b/RbFreqStandMeasure/res/images/icon_counter_selected.png
new file mode 100644
index 0000000..45c7720
--- /dev/null
+++ b/RbFreqStandMeasure/res/images/icon_counter_selected.png
Binary files differ
diff --git a/RbFreqStandMeasure/res/images/icon_data.png b/RbFreqStandMeasure/res/images/icon_data.png
new file mode 100644
index 0000000..bf03575
--- /dev/null
+++ b/RbFreqStandMeasure/res/images/icon_data.png
Binary files differ
diff --git a/RbFreqStandMeasure/HomeCtrlForm.Designer.cs b/RbFreqStandMeasure/HomeCtrlForm.Designer.cs
index fb515f8..73e477a 100644
--- a/RbFreqStandMeasure/HomeCtrlForm.Designer.cs
+++ b/RbFreqStandMeasure/HomeCtrlForm.Designer.cs
@@ -29,589 +29,271 @@
///
private void InitializeComponent()
{
- System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle1 = new System.Windows.Forms.DataGridViewCellStyle();
- System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle2 = new System.Windows.Forms.DataGridViewCellStyle();
- this.panelToBeTested = new System.Windows.Forms.Panel();
- this.dataGridViewX1 = new DevComponents.DotNetBar.Controls.DataGridViewX();
- this.Column13 = new System.Windows.Forms.DataGridViewTextBoxColumn();
- this.Column14 = new System.Windows.Forms.DataGridViewTextBoxColumn();
- this.Column15 = new System.Windows.Forms.DataGridViewTextBoxColumn();
- this.Column16 = new System.Windows.Forms.DataGridViewTextBoxColumn();
- this.Column17 = new System.Windows.Forms.DataGridViewTextBoxColumn();
- this.panelEx1 = new DevComponents.DotNetBar.PanelEx();
- this.labelX6 = new DevComponents.DotNetBar.LabelX();
- this.labelX5 = new DevComponents.DotNetBar.LabelX();
- this.labelX4 = new DevComponents.DotNetBar.LabelX();
- this.labelX3 = new DevComponents.DotNetBar.LabelX();
- this.labelX2 = new DevComponents.DotNetBar.LabelX();
- this.labelX1 = new DevComponents.DotNetBar.LabelX();
- this.panelEx2 = new DevComponents.DotNetBar.PanelEx();
- this.labelX7 = new DevComponents.DotNetBar.LabelX();
- this.labelX8 = new DevComponents.DotNetBar.LabelX();
- this.labelX10 = new DevComponents.DotNetBar.LabelX();
- this.labelX9 = new DevComponents.DotNetBar.LabelX();
- this.panelEx3 = new DevComponents.DotNetBar.PanelEx();
- this.labelX11 = new DevComponents.DotNetBar.LabelX();
- this.labelX13 = new DevComponents.DotNetBar.LabelX();
- this.labelX12 = new DevComponents.DotNetBar.LabelX();
- this.panelEx4 = new DevComponents.DotNetBar.PanelEx();
- this.dataGridViewX2 = new DevComponents.DotNetBar.Controls.DataGridViewX();
- this.Column18 = new System.Windows.Forms.DataGridViewTextBoxColumn();
- this.Column19 = new System.Windows.Forms.DataGridViewTextBoxColumn();
- this.Column20 = new System.Windows.Forms.DataGridViewTextBoxColumn();
- this.Column21 = new System.Windows.Forms.DataGridViewTextBoxColumn();
- this.Column22 = new System.Windows.Forms.DataGridViewTextBoxColumn();
- this.Column23 = new System.Windows.Forms.DataGridViewTextBoxColumn();
- this.Column24 = new System.Windows.Forms.DataGridViewTextBoxColumn();
- this.Column25 = new System.Windows.Forms.DataGridViewTextBoxColumn();
- this.Column26 = new System.Windows.Forms.DataGridViewTextBoxColumn();
- this.Column27 = new System.Windows.Forms.DataGridViewTextBoxColumn();
- this.Column28 = new System.Windows.Forms.DataGridViewTextBoxColumn();
- this.Column29 = new System.Windows.Forms.DataGridViewTextBoxColumn();
- this.buttonX1 = new DevComponents.DotNetBar.ButtonX();
- this.buttonX2 = new DevComponents.DotNetBar.ButtonX();
+ this.panel3 = new System.Windows.Forms.Panel();
+ this.panel2 = new System.Windows.Forms.Panel();
+ this.panel1 = new System.Windows.Forms.Panel();
+ this.panel4 = new System.Windows.Forms.Panel();
+ this.panel5 = new System.Windows.Forms.Panel();
this.label1 = new System.Windows.Forms.Label();
this.label2 = new System.Windows.Forms.Label();
- this.panelToBeTested.SuspendLayout();
- ((System.ComponentModel.ISupportInitialize)(this.dataGridViewX1)).BeginInit();
- this.panelEx1.SuspendLayout();
- this.panelEx2.SuspendLayout();
- this.panelEx3.SuspendLayout();
- this.panelEx4.SuspendLayout();
- ((System.ComponentModel.ISupportInitialize)(this.dataGridViewX2)).BeginInit();
+ this.label3 = new System.Windows.Forms.Label();
+ this.label4 = new System.Windows.Forms.Label();
+ this.label5 = new System.Windows.Forms.Label();
+ this.label6 = new System.Windows.Forms.Label();
+ this.label7 = new System.Windows.Forms.Label();
+ this.label8 = new System.Windows.Forms.Label();
+ this.label9 = new System.Windows.Forms.Label();
+ this.label10 = new System.Windows.Forms.Label();
+ this.label11 = new System.Windows.Forms.Label();
+ this.label12 = new System.Windows.Forms.Label();
+ this.label13 = new System.Windows.Forms.Label();
+ this.panel3.SuspendLayout();
+ this.panel2.SuspendLayout();
+ this.panel1.SuspendLayout();
this.SuspendLayout();
//
- // panelToBeTested
+ // panel3
//
- this.panelToBeTested.Controls.Add(this.dataGridViewX1);
- this.panelToBeTested.Controls.Add(this.buttonX2);
- this.panelToBeTested.Controls.Add(this.buttonX1);
- this.panelToBeTested.Location = new System.Drawing.Point(250, 0);
- this.panelToBeTested.Name = "panelToBeTested";
- this.panelToBeTested.Size = new System.Drawing.Size(750, 216);
- this.panelToBeTested.TabIndex = 4;
+ this.panel3.BackgroundImage = global::Casic.Birmm.RbFreqStandMeasure.Properties.Resources.bg_status_location;
+ this.panel3.Controls.Add(this.label8);
+ this.panel3.Controls.Add(this.label13);
+ this.panel3.Controls.Add(this.label12);
+ this.panel3.Controls.Add(this.label11);
+ this.panel3.Controls.Add(this.label9);
+ this.panel3.Controls.Add(this.label10);
+ this.panel3.Location = new System.Drawing.Point(6, 360);
+ this.panel3.Name = "panel3";
+ this.panel3.Size = new System.Drawing.Size(224, 293);
+ this.panel3.TabIndex = 2;
//
- // dataGridViewX1
+ // panel2
//
- this.dataGridViewX1.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.AutoSize;
- this.dataGridViewX1.Columns.AddRange(new System.Windows.Forms.DataGridViewColumn[] {
- this.Column13,
- this.Column14,
- this.Column15,
- this.Column16,
- this.Column17});
- dataGridViewCellStyle1.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleLeft;
- dataGridViewCellStyle1.BackColor = System.Drawing.SystemColors.Window;
- dataGridViewCellStyle1.Font = new System.Drawing.Font("宋体", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
- dataGridViewCellStyle1.ForeColor = System.Drawing.SystemColors.ControlText;
- dataGridViewCellStyle1.SelectionBackColor = System.Drawing.SystemColors.Highlight;
- dataGridViewCellStyle1.SelectionForeColor = System.Drawing.SystemColors.ControlText;
- dataGridViewCellStyle1.WrapMode = System.Windows.Forms.DataGridViewTriState.False;
- this.dataGridViewX1.DefaultCellStyle = dataGridViewCellStyle1;
- this.dataGridViewX1.GridColor = System.Drawing.Color.FromArgb(((int)(((byte)(208)))), ((int)(((byte)(215)))), ((int)(((byte)(229)))));
- this.dataGridViewX1.Location = new System.Drawing.Point(0, 1);
- this.dataGridViewX1.Name = "dataGridViewX1";
- this.dataGridViewX1.RowTemplate.Height = 23;
- this.dataGridViewX1.Size = new System.Drawing.Size(750, 179);
- this.dataGridViewX1.TabIndex = 14;
+ this.panel2.BackgroundImage = global::Casic.Birmm.RbFreqStandMeasure.Properties.Resources.bg_status_time;
+ this.panel2.Controls.Add(this.label4);
+ this.panel2.Controls.Add(this.label7);
+ this.panel2.Controls.Add(this.label6);
+ this.panel2.Controls.Add(this.label5);
+ this.panel2.Location = new System.Drawing.Point(6, 160);
+ this.panel2.Name = "panel2";
+ this.panel2.Size = new System.Drawing.Size(224, 200);
+ this.panel2.TabIndex = 1;
//
- // Column13
+ // panel1
//
- this.Column13.HeaderText = "仪器名称";
- this.Column13.Name = "Column13";
+ this.panel1.BackgroundImage = global::Casic.Birmm.RbFreqStandMeasure.Properties.Resources.bg_status_base;
+ this.panel1.Controls.Add(this.label3);
+ this.panel1.Controls.Add(this.label2);
+ this.panel1.Controls.Add(this.label1);
+ this.panel1.Location = new System.Drawing.Point(6, 0);
+ this.panel1.Margin = new System.Windows.Forms.Padding(0);
+ this.panel1.Name = "panel1";
+ this.panel1.Size = new System.Drawing.Size(224, 160);
+ this.panel1.TabIndex = 0;
//
- // Column14
+ // panel4
//
- this.Column14.HeaderText = "仪器类型";
- this.Column14.Name = "Column14";
+ this.panel4.BackgroundImage = global::Casic.Birmm.RbFreqStandMeasure.Properties.Resources.bg_dev_tested;
+ this.panel4.Location = new System.Drawing.Point(230, 0);
+ this.panel4.Margin = new System.Windows.Forms.Padding(0);
+ this.panel4.Name = "panel4";
+ this.panel4.Size = new System.Drawing.Size(788, 226);
+ this.panel4.TabIndex = 3;
//
- // Column15
+ // panel5
//
- this.Column15.HeaderText = "仪器编号";
- this.Column15.Name = "Column15";
- //
- // Column16
- //
- this.Column16.HeaderText = "客户名称";
- this.Column16.Name = "Column16";
- //
- // Column17
- //
- this.Column17.HeaderText = "开始时间";
- this.Column17.Name = "Column17";
- //
- // panelEx1
- //
- this.panelEx1.CanvasColor = System.Drawing.SystemColors.Control;
- this.panelEx1.ColorSchemeStyle = DevComponents.DotNetBar.eDotNetBarStyle.StyleManagerControlled;
- this.panelEx1.Controls.Add(this.labelX6);
- this.panelEx1.Controls.Add(this.labelX5);
- this.panelEx1.Controls.Add(this.labelX4);
- this.panelEx1.Controls.Add(this.labelX3);
- this.panelEx1.Controls.Add(this.labelX2);
- this.panelEx1.Controls.Add(this.labelX1);
- this.panelEx1.DisabledBackColor = System.Drawing.Color.Empty;
- this.panelEx1.Location = new System.Drawing.Point(25, 376);
- this.panelEx1.Name = "panelEx1";
- this.panelEx1.Size = new System.Drawing.Size(200, 200);
- this.panelEx1.Style.Alignment = System.Drawing.StringAlignment.Center;
- this.panelEx1.Style.BackColor1.ColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelBackground;
- this.panelEx1.Style.BackColor2.ColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelBackground2;
- this.panelEx1.Style.Border = DevComponents.DotNetBar.eBorderType.SingleLine;
- this.panelEx1.Style.BorderColor.ColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelBorder;
- this.panelEx1.Style.ForeColor.ColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelText;
- this.panelEx1.Style.GradientAngle = 90;
- this.panelEx1.TabIndex = 10;
- //
- // labelX6
- //
- //
- //
- //
- this.labelX6.BackgroundStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square;
- this.labelX6.Location = new System.Drawing.Point(3, 153);
- this.labelX6.Name = "labelX6";
- this.labelX6.Size = new System.Drawing.Size(75, 23);
- this.labelX6.Style = DevComponents.DotNetBar.eDotNetBarStyle.Office2013;
- this.labelX6.TabIndex = 0;
- this.labelX6.Text = "Z";
- this.labelX6.TextAlignment = System.Drawing.StringAlignment.Center;
- //
- // labelX5
- //
- //
- //
- //
- this.labelX5.BackgroundStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square;
- this.labelX5.Location = new System.Drawing.Point(3, 124);
- this.labelX5.Name = "labelX5";
- this.labelX5.Size = new System.Drawing.Size(75, 23);
- this.labelX5.Style = DevComponents.DotNetBar.eDotNetBarStyle.Office2013;
- this.labelX5.TabIndex = 0;
- this.labelX5.Text = "Y";
- this.labelX5.TextAlignment = System.Drawing.StringAlignment.Center;
- //
- // labelX4
- //
- //
- //
- //
- this.labelX4.BackgroundStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square;
- this.labelX4.Location = new System.Drawing.Point(3, 95);
- this.labelX4.Name = "labelX4";
- this.labelX4.Size = new System.Drawing.Size(75, 23);
- this.labelX4.Style = DevComponents.DotNetBar.eDotNetBarStyle.Office2013;
- this.labelX4.TabIndex = 0;
- this.labelX4.Text = "X";
- this.labelX4.TextAlignment = System.Drawing.StringAlignment.Center;
- //
- // labelX3
- //
- //
- //
- //
- this.labelX3.BackgroundStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square;
- this.labelX3.Location = new System.Drawing.Point(3, 66);
- this.labelX3.Name = "labelX3";
- this.labelX3.Size = new System.Drawing.Size(75, 23);
- this.labelX3.Style = DevComponents.DotNetBar.eDotNetBarStyle.Office2013;
- this.labelX3.TabIndex = 0;
- this.labelX3.Text = "纬度";
- this.labelX3.TextAlignment = System.Drawing.StringAlignment.Center;
- //
- // labelX2
- //
- //
- //
- //
- this.labelX2.BackgroundStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square;
- this.labelX2.Location = new System.Drawing.Point(3, 37);
- this.labelX2.Name = "labelX2";
- this.labelX2.Size = new System.Drawing.Size(75, 23);
- this.labelX2.Style = DevComponents.DotNetBar.eDotNetBarStyle.Office2013;
- this.labelX2.TabIndex = 0;
- this.labelX2.Text = "经度";
- this.labelX2.TextAlignment = System.Drawing.StringAlignment.Center;
- //
- // labelX1
- //
- //
- //
- //
- this.labelX1.BackgroundStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square;
- this.labelX1.Location = new System.Drawing.Point(3, 3);
- this.labelX1.Name = "labelX1";
- this.labelX1.Size = new System.Drawing.Size(194, 23);
- this.labelX1.Style = DevComponents.DotNetBar.eDotNetBarStyle.Office2013;
- this.labelX1.TabIndex = 0;
- this.labelX1.Text = "位置信息";
- this.labelX1.TextAlignment = System.Drawing.StringAlignment.Center;
- //
- // panelEx2
- //
- this.panelEx2.CanvasColor = System.Drawing.SystemColors.Control;
- this.panelEx2.ColorSchemeStyle = DevComponents.DotNetBar.eDotNetBarStyle.StyleManagerControlled;
- this.panelEx2.Controls.Add(this.labelX7);
- this.panelEx2.Controls.Add(this.labelX8);
- this.panelEx2.Controls.Add(this.labelX10);
- this.panelEx2.Controls.Add(this.labelX9);
- this.panelEx2.DisabledBackColor = System.Drawing.Color.Empty;
- this.panelEx2.Location = new System.Drawing.Point(25, 190);
- this.panelEx2.Name = "panelEx2";
- this.panelEx2.Size = new System.Drawing.Size(200, 150);
- this.panelEx2.Style.Alignment = System.Drawing.StringAlignment.Center;
- this.panelEx2.Style.BackColor1.ColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelBackground;
- this.panelEx2.Style.BackColor2.ColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelBackground2;
- this.panelEx2.Style.Border = DevComponents.DotNetBar.eBorderType.SingleLine;
- this.panelEx2.Style.BorderColor.ColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelBorder;
- this.panelEx2.Style.ForeColor.ColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelText;
- this.panelEx2.Style.GradientAngle = 90;
- this.panelEx2.TabIndex = 10;
- //
- // labelX7
- //
- //
- //
- //
- this.labelX7.BackgroundStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square;
- this.labelX7.Location = new System.Drawing.Point(3, 3);
- this.labelX7.Name = "labelX7";
- this.labelX7.Size = new System.Drawing.Size(194, 23);
- this.labelX7.Style = DevComponents.DotNetBar.eDotNetBarStyle.Office2013;
- this.labelX7.TabIndex = 0;
- this.labelX7.Text = "时间信息";
- this.labelX7.TextAlignment = System.Drawing.StringAlignment.Center;
- //
- // labelX8
- //
- //
- //
- //
- this.labelX8.BackgroundStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square;
- this.labelX8.Location = new System.Drawing.Point(3, 41);
- this.labelX8.Name = "labelX8";
- this.labelX8.Size = new System.Drawing.Size(75, 23);
- this.labelX8.Style = DevComponents.DotNetBar.eDotNetBarStyle.Office2013;
- this.labelX8.TabIndex = 0;
- this.labelX8.Text = "日期";
- this.labelX8.TextAlignment = System.Drawing.StringAlignment.Center;
- //
- // labelX10
- //
- //
- //
- //
- this.labelX10.BackgroundStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square;
- this.labelX10.Location = new System.Drawing.Point(3, 99);
- this.labelX10.Name = "labelX10";
- this.labelX10.Size = new System.Drawing.Size(75, 23);
- this.labelX10.Style = DevComponents.DotNetBar.eDotNetBarStyle.Office2013;
- this.labelX10.TabIndex = 0;
- this.labelX10.Text = "MJD";
- this.labelX10.TextAlignment = System.Drawing.StringAlignment.Center;
- //
- // labelX9
- //
- //
- //
- //
- this.labelX9.BackgroundStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square;
- this.labelX9.Location = new System.Drawing.Point(3, 70);
- this.labelX9.Name = "labelX9";
- this.labelX9.Size = new System.Drawing.Size(75, 23);
- this.labelX9.Style = DevComponents.DotNetBar.eDotNetBarStyle.Office2013;
- this.labelX9.TabIndex = 0;
- this.labelX9.Text = "时间";
- this.labelX9.TextAlignment = System.Drawing.StringAlignment.Center;
- //
- // panelEx3
- //
- this.panelEx3.CanvasColor = System.Drawing.SystemColors.Control;
- this.panelEx3.ColorSchemeStyle = DevComponents.DotNetBar.eDotNetBarStyle.StyleManagerControlled;
- this.panelEx3.Controls.Add(this.labelX11);
- this.panelEx3.Controls.Add(this.labelX13);
- this.panelEx3.Controls.Add(this.labelX12);
- this.panelEx3.DisabledBackColor = System.Drawing.Color.Empty;
- this.panelEx3.Location = new System.Drawing.Point(25, 50);
- this.panelEx3.Name = "panelEx3";
- this.panelEx3.Size = new System.Drawing.Size(200, 100);
- this.panelEx3.Style.Alignment = System.Drawing.StringAlignment.Center;
- this.panelEx3.Style.BackColor1.ColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelBackground;
- this.panelEx3.Style.BackColor2.ColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelBackground2;
- this.panelEx3.Style.Border = DevComponents.DotNetBar.eBorderType.SingleLine;
- this.panelEx3.Style.BorderColor.ColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelBorder;
- this.panelEx3.Style.ForeColor.ColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelText;
- this.panelEx3.Style.GradientAngle = 90;
- this.panelEx3.TabIndex = 10;
- //
- // labelX11
- //
- //
- //
- //
- this.labelX11.BackgroundStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square;
- this.labelX11.Location = new System.Drawing.Point(3, 3);
- this.labelX11.Name = "labelX11";
- this.labelX11.Size = new System.Drawing.Size(194, 23);
- this.labelX11.Style = DevComponents.DotNetBar.eDotNetBarStyle.Office2013;
- this.labelX11.TabIndex = 0;
- this.labelX11.Text = "基本信息";
- this.labelX11.TextAlignment = System.Drawing.StringAlignment.Center;
- //
- // labelX13
- //
- //
- //
- //
- this.labelX13.BackgroundStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square;
- this.labelX13.Location = new System.Drawing.Point(3, 32);
- this.labelX13.Name = "labelX13";
- this.labelX13.Size = new System.Drawing.Size(75, 23);
- this.labelX13.Style = DevComponents.DotNetBar.eDotNetBarStyle.Office2013;
- this.labelX13.TabIndex = 0;
- this.labelX13.Text = "原子钟";
- this.labelX13.TextAlignment = System.Drawing.StringAlignment.Center;
- //
- // labelX12
- //
- //
- //
- //
- this.labelX12.BackgroundStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square;
- this.labelX12.Location = new System.Drawing.Point(3, 61);
- this.labelX12.Name = "labelX12";
- this.labelX12.Size = new System.Drawing.Size(75, 23);
- this.labelX12.Style = DevComponents.DotNetBar.eDotNetBarStyle.Office2013;
- this.labelX12.TabIndex = 0;
- this.labelX12.Text = "接收机";
- this.labelX12.TextAlignment = System.Drawing.StringAlignment.Center;
- //
- // panelEx4
- //
- this.panelEx4.CanvasColor = System.Drawing.SystemColors.Control;
- this.panelEx4.ColorSchemeStyle = DevComponents.DotNetBar.eDotNetBarStyle.StyleManagerControlled;
- this.panelEx4.Controls.Add(this.panelEx2);
- this.panelEx4.Controls.Add(this.panelEx1);
- this.panelEx4.Controls.Add(this.panelEx3);
- this.panelEx4.DisabledBackColor = System.Drawing.Color.Empty;
- this.panelEx4.Location = new System.Drawing.Point(0, 0);
- this.panelEx4.Name = "panelEx4";
- this.panelEx4.Size = new System.Drawing.Size(250, 640);
- this.panelEx4.Style.Alignment = System.Drawing.StringAlignment.Center;
- this.panelEx4.Style.BackColor1.ColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelBackground;
- this.panelEx4.Style.BackColor2.ColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelBackground2;
- this.panelEx4.Style.Border = DevComponents.DotNetBar.eBorderType.SingleLine;
- this.panelEx4.Style.BorderColor.ColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelBorder;
- this.panelEx4.Style.ForeColor.ColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelText;
- this.panelEx4.Style.GradientAngle = 90;
- this.panelEx4.TabIndex = 10;
- //
- // dataGridViewX2
- //
- this.dataGridViewX2.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.AutoSize;
- this.dataGridViewX2.Columns.AddRange(new System.Windows.Forms.DataGridViewColumn[] {
- this.Column18,
- this.Column19,
- this.Column20,
- this.Column21,
- this.Column22,
- this.Column23,
- this.Column24,
- this.Column25,
- this.Column26,
- this.Column27,
- this.Column28,
- this.Column29});
- dataGridViewCellStyle2.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleLeft;
- dataGridViewCellStyle2.BackColor = System.Drawing.SystemColors.Window;
- dataGridViewCellStyle2.Font = new System.Drawing.Font("宋体", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
- dataGridViewCellStyle2.ForeColor = System.Drawing.SystemColors.ControlText;
- dataGridViewCellStyle2.SelectionBackColor = System.Drawing.SystemColors.Highlight;
- dataGridViewCellStyle2.SelectionForeColor = System.Drawing.SystemColors.ControlText;
- dataGridViewCellStyle2.WrapMode = System.Windows.Forms.DataGridViewTriState.False;
- this.dataGridViewX2.DefaultCellStyle = dataGridViewCellStyle2;
- this.dataGridViewX2.GridColor = System.Drawing.Color.FromArgb(((int)(((byte)(208)))), ((int)(((byte)(215)))), ((int)(((byte)(229)))));
- this.dataGridViewX2.Location = new System.Drawing.Point(250, 216);
- this.dataGridViewX2.Name = "dataGridViewX2";
- this.dataGridViewX2.Size = new System.Drawing.Size(747, 424);
- this.dataGridViewX2.TabIndex = 15;
- //
- // Column18
- //
- this.Column18.HeaderText = "通道号";
- this.Column18.Name = "Column18";
- //
- // Column19
- //
- this.Column19.HeaderText = "当前状态";
- this.Column19.Name = "Column19";
- //
- // Column20
- //
- this.Column20.HeaderText = "仪器名称";
- this.Column20.Name = "Column20";
- //
- // Column21
- //
- this.Column21.HeaderText = "仪器编号";
- this.Column21.Name = "Column21";
- //
- // Column22
- //
- this.Column22.HeaderText = "客户名称";
- this.Column22.Name = "Column22";
- //
- // Column23
- //
- this.Column23.HeaderText = "开始时间";
- this.Column23.Name = "Column23";
- //
- // Column24
- //
- this.Column24.HeaderText = "结束时间";
- this.Column24.Name = "Column24";
- //
- // Column25
- //
- this.Column25.HeaderText = "频率稳定度";
- this.Column25.Name = "Column25";
- //
- // Column26
- //
- this.Column26.HeaderText = "频率准确度";
- this.Column26.Name = "Column26";
- //
- // Column27
- //
- this.Column27.HeaderText = "开机特性";
- this.Column27.Name = "Column27";
- //
- // Column28
- //
- this.Column28.HeaderText = "日老化率";
- this.Column28.Name = "Column28";
- //
- // Column29
- //
- this.Column29.HeaderText = "频率计数器范围及灵敏度";
- this.Column29.Name = "Column29";
- //
- // buttonX1
- //
- this.buttonX1.AccessibleRole = System.Windows.Forms.AccessibleRole.PushButton;
- this.buttonX1.BackColor = System.Drawing.Color.Transparent;
- this.buttonX1.ColorTable = DevComponents.DotNetBar.eButtonColor.OrangeWithBackground;
- this.buttonX1.Location = new System.Drawing.Point(663, 183);
- this.buttonX1.Name = "buttonX1";
- this.buttonX1.Size = new System.Drawing.Size(30, 23);
- this.buttonX1.Style = DevComponents.DotNetBar.eDotNetBarStyle.StyleManagerControlled;
- this.buttonX1.Symbol = "";
- this.buttonX1.SymbolColor = System.Drawing.Color.FromArgb(((int)(((byte)(64)))), ((int)(((byte)(64)))), ((int)(((byte)(64)))));
- this.buttonX1.SymbolSize = 8F;
- this.buttonX1.TabIndex = 19;
- //
- // buttonX2
- //
- this.buttonX2.AccessibleRole = System.Windows.Forms.AccessibleRole.PushButton;
- this.buttonX2.BackColor = System.Drawing.Color.Transparent;
- this.buttonX2.ColorTable = DevComponents.DotNetBar.eButtonColor.OrangeWithBackground;
- this.buttonX2.Location = new System.Drawing.Point(589, 184);
- this.buttonX2.Name = "buttonX2";
- this.buttonX2.Size = new System.Drawing.Size(30, 23);
- this.buttonX2.Style = DevComponents.DotNetBar.eDotNetBarStyle.StyleManagerControlled;
- this.buttonX2.Symbol = "";
- this.buttonX2.SymbolColor = System.Drawing.Color.FromArgb(((int)(((byte)(64)))), ((int)(((byte)(64)))), ((int)(((byte)(64)))));
- this.buttonX2.SymbolSize = 8F;
- this.buttonX2.TabIndex = 19;
+ this.panel5.BackgroundImage = global::Casic.Birmm.RbFreqStandMeasure.Properties.Resources.bg_dev_channel;
+ this.panel5.Location = new System.Drawing.Point(230, 226);
+ this.panel5.Name = "panel5";
+ this.panel5.Size = new System.Drawing.Size(788, 424);
+ this.panel5.TabIndex = 4;
//
// label1
//
this.label1.BackColor = System.Drawing.Color.Transparent;
- this.label1.Font = new System.Drawing.Font("Times New Roman", 9.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
- this.label1.Location = new System.Drawing.Point(880, 186);
- this.label1.Margin = new System.Windows.Forms.Padding(0);
+ this.label1.Font = new System.Drawing.Font("微软雅黑", 14F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Pixel, ((byte)(134)));
+ this.label1.Location = new System.Drawing.Point(0, 20);
this.label1.Name = "label1";
- this.label1.Size = new System.Drawing.Size(20, 20);
- this.label1.TabIndex = 20;
- this.label1.Text = "1";
+ this.label1.Size = new System.Drawing.Size(224, 25);
+ this.label1.TabIndex = 0;
+ this.label1.Text = "基本信息";
this.label1.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
//
// label2
//
this.label2.BackColor = System.Drawing.Color.Transparent;
- this.label2.Font = new System.Drawing.Font("Times New Roman", 9.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
- this.label2.Location = new System.Drawing.Point(636, 187);
- this.label2.Margin = new System.Windows.Forms.Padding(0);
+ this.label2.Font = new System.Drawing.Font("微软雅黑", 14F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Pixel, ((byte)(134)));
+ this.label2.Location = new System.Drawing.Point(0, 60);
this.label2.Name = "label2";
- this.label2.Size = new System.Drawing.Size(200, 20);
- this.label2.TabIndex = 20;
- this.label2.Text = "共150条,每页5条,共100页";
- this.label2.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
+ this.label2.Size = new System.Drawing.Size(75, 25);
+ this.label2.TabIndex = 1;
+ this.label2.Text = "原子钟";
+ this.label2.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
+ //
+ // label3
+ //
+ this.label3.BackColor = System.Drawing.Color.Transparent;
+ this.label3.Font = new System.Drawing.Font("微软雅黑", 14F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Pixel, ((byte)(134)));
+ this.label3.Location = new System.Drawing.Point(0, 100);
+ this.label3.Name = "label3";
+ this.label3.Size = new System.Drawing.Size(75, 25);
+ this.label3.TabIndex = 1;
+ this.label3.Text = "接收机";
+ this.label3.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
+ //
+ // label4
+ //
+ this.label4.BackColor = System.Drawing.Color.Transparent;
+ this.label4.Font = new System.Drawing.Font("微软雅黑", 14F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Pixel, ((byte)(134)));
+ this.label4.Location = new System.Drawing.Point(0, 20);
+ this.label4.Name = "label4";
+ this.label4.Size = new System.Drawing.Size(224, 25);
+ this.label4.TabIndex = 0;
+ this.label4.Text = "时间信息";
+ this.label4.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
+ //
+ // label5
+ //
+ this.label5.BackColor = System.Drawing.Color.Transparent;
+ this.label5.Font = new System.Drawing.Font("微软雅黑", 14F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Pixel, ((byte)(134)));
+ this.label5.Location = new System.Drawing.Point(0, 60);
+ this.label5.Name = "label5";
+ this.label5.Size = new System.Drawing.Size(75, 25);
+ this.label5.TabIndex = 1;
+ this.label5.Text = "日期";
+ this.label5.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
+ //
+ // label6
+ //
+ this.label6.BackColor = System.Drawing.Color.Transparent;
+ this.label6.Font = new System.Drawing.Font("微软雅黑", 14F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Pixel, ((byte)(134)));
+ this.label6.Location = new System.Drawing.Point(0, 100);
+ this.label6.Name = "label6";
+ this.label6.Size = new System.Drawing.Size(75, 25);
+ this.label6.TabIndex = 1;
+ this.label6.Text = "时间";
+ this.label6.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
+ //
+ // label7
+ //
+ this.label7.BackColor = System.Drawing.Color.Transparent;
+ this.label7.Font = new System.Drawing.Font("微软雅黑", 14F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Pixel, ((byte)(134)));
+ this.label7.Location = new System.Drawing.Point(0, 140);
+ this.label7.Margin = new System.Windows.Forms.Padding(0);
+ this.label7.Name = "label7";
+ this.label7.Size = new System.Drawing.Size(75, 25);
+ this.label7.TabIndex = 1;
+ this.label7.Text = "MJD";
+ this.label7.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
+ //
+ // label8
+ //
+ this.label8.BackColor = System.Drawing.Color.Transparent;
+ this.label8.Font = new System.Drawing.Font("微软雅黑", 14F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Pixel, ((byte)(134)));
+ this.label8.Location = new System.Drawing.Point(0, 20);
+ this.label8.Name = "label8";
+ this.label8.Size = new System.Drawing.Size(224, 25);
+ this.label8.TabIndex = 0;
+ this.label8.Text = "位置信息";
+ this.label8.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
+ //
+ // label9
+ //
+ this.label9.BackColor = System.Drawing.Color.Transparent;
+ this.label9.Font = new System.Drawing.Font("微软雅黑", 14F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Pixel, ((byte)(134)));
+ this.label9.Location = new System.Drawing.Point(0, 60);
+ this.label9.Name = "label9";
+ this.label9.Size = new System.Drawing.Size(75, 25);
+ this.label9.TabIndex = 1;
+ this.label9.Text = "经度";
+ this.label9.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
+ //
+ // label10
+ //
+ this.label10.BackColor = System.Drawing.Color.Transparent;
+ this.label10.Font = new System.Drawing.Font("微软雅黑", 14F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Pixel, ((byte)(134)));
+ this.label10.Location = new System.Drawing.Point(0, 100);
+ this.label10.Margin = new System.Windows.Forms.Padding(0);
+ this.label10.Name = "label10";
+ this.label10.Size = new System.Drawing.Size(75, 25);
+ this.label10.TabIndex = 1;
+ this.label10.Text = "纬度";
+ this.label10.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
+ //
+ // label11
+ //
+ this.label11.BackColor = System.Drawing.Color.Transparent;
+ this.label11.Font = new System.Drawing.Font("微软雅黑", 14F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Pixel, ((byte)(134)));
+ this.label11.Location = new System.Drawing.Point(0, 140);
+ this.label11.Margin = new System.Windows.Forms.Padding(0);
+ this.label11.Name = "label11";
+ this.label11.Size = new System.Drawing.Size(75, 25);
+ this.label11.TabIndex = 1;
+ this.label11.Text = "X";
+ this.label11.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
+ //
+ // label12
+ //
+ this.label12.BackColor = System.Drawing.Color.Transparent;
+ this.label12.Font = new System.Drawing.Font("微软雅黑", 14F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Pixel, ((byte)(134)));
+ this.label12.Location = new System.Drawing.Point(0, 180);
+ this.label12.Margin = new System.Windows.Forms.Padding(0);
+ this.label12.Name = "label12";
+ this.label12.Size = new System.Drawing.Size(75, 25);
+ this.label12.TabIndex = 1;
+ this.label12.Text = "Y";
+ this.label12.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
+ //
+ // label13
+ //
+ this.label13.BackColor = System.Drawing.Color.Transparent;
+ this.label13.Font = new System.Drawing.Font("微软雅黑", 14F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Pixel, ((byte)(134)));
+ this.label13.Location = new System.Drawing.Point(0, 220);
+ this.label13.Margin = new System.Windows.Forms.Padding(0);
+ this.label13.Name = "label13";
+ this.label13.Size = new System.Drawing.Size(75, 25);
+ this.label13.TabIndex = 1;
+ this.label13.Text = "Z";
+ this.label13.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
//
// HomeCtrlForm
//
this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 12F);
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
- this.Controls.Add(this.label1);
- this.Controls.Add(this.label2);
- this.Controls.Add(this.dataGridViewX2);
- this.Controls.Add(this.panelEx4);
- this.Controls.Add(this.panelToBeTested);
+ this.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(232)))), ((int)(((byte)(234)))), ((int)(((byte)(238)))));
+ this.Controls.Add(this.panel5);
+ this.Controls.Add(this.panel4);
+ this.Controls.Add(this.panel3);
+ this.Controls.Add(this.panel2);
+ this.Controls.Add(this.panel1);
this.Margin = new System.Windows.Forms.Padding(0);
this.Name = "HomeCtrlForm";
- this.Size = new System.Drawing.Size(1000, 640);
- this.panelToBeTested.ResumeLayout(false);
- ((System.ComponentModel.ISupportInitialize)(this.dataGridViewX1)).EndInit();
- this.panelEx1.ResumeLayout(false);
- this.panelEx2.ResumeLayout(false);
- this.panelEx3.ResumeLayout(false);
- this.panelEx4.ResumeLayout(false);
- ((System.ComponentModel.ISupportInitialize)(this.dataGridViewX2)).EndInit();
+ this.Size = new System.Drawing.Size(1024, 654);
+ this.panel3.ResumeLayout(false);
+ this.panel2.ResumeLayout(false);
+ this.panel1.ResumeLayout(false);
this.ResumeLayout(false);
}
#endregion
- private System.Windows.Forms.Panel panelToBeTested;
- private DevComponents.DotNetBar.PanelEx panelEx1;
- private DevComponents.DotNetBar.LabelX labelX6;
- private DevComponents.DotNetBar.LabelX labelX5;
- private DevComponents.DotNetBar.LabelX labelX4;
- private DevComponents.DotNetBar.LabelX labelX3;
- private DevComponents.DotNetBar.LabelX labelX2;
- private DevComponents.DotNetBar.LabelX labelX1;
- private DevComponents.DotNetBar.PanelEx panelEx2;
- private DevComponents.DotNetBar.LabelX labelX7;
- private DevComponents.DotNetBar.LabelX labelX8;
- private DevComponents.DotNetBar.LabelX labelX10;
- private DevComponents.DotNetBar.LabelX labelX9;
- private DevComponents.DotNetBar.PanelEx panelEx3;
- private DevComponents.DotNetBar.LabelX labelX11;
- private DevComponents.DotNetBar.LabelX labelX13;
- private DevComponents.DotNetBar.LabelX labelX12;
- private DevComponents.DotNetBar.PanelEx panelEx4;
- private DevComponents.DotNetBar.Controls.DataGridViewX dataGridViewX1;
- private System.Windows.Forms.DataGridViewTextBoxColumn Column13;
- private System.Windows.Forms.DataGridViewTextBoxColumn Column14;
- private System.Windows.Forms.DataGridViewTextBoxColumn Column15;
- private System.Windows.Forms.DataGridViewTextBoxColumn Column16;
- private System.Windows.Forms.DataGridViewTextBoxColumn Column17;
- private DevComponents.DotNetBar.Controls.DataGridViewX dataGridViewX2;
- private System.Windows.Forms.DataGridViewTextBoxColumn Column18;
- private System.Windows.Forms.DataGridViewTextBoxColumn Column19;
- private System.Windows.Forms.DataGridViewTextBoxColumn Column20;
- private System.Windows.Forms.DataGridViewTextBoxColumn Column21;
- private System.Windows.Forms.DataGridViewTextBoxColumn Column22;
- private System.Windows.Forms.DataGridViewTextBoxColumn Column23;
- private System.Windows.Forms.DataGridViewTextBoxColumn Column24;
- private System.Windows.Forms.DataGridViewTextBoxColumn Column25;
- private System.Windows.Forms.DataGridViewTextBoxColumn Column26;
- private System.Windows.Forms.DataGridViewTextBoxColumn Column27;
- private System.Windows.Forms.DataGridViewTextBoxColumn Column28;
- private System.Windows.Forms.DataGridViewTextBoxColumn Column29;
- private DevComponents.DotNetBar.ButtonX buttonX1;
- private DevComponents.DotNetBar.ButtonX buttonX2;
+
+ private System.Windows.Forms.Panel panel1;
+ private System.Windows.Forms.Panel panel2;
+ private System.Windows.Forms.Panel panel3;
+ private System.Windows.Forms.Panel panel4;
+ private System.Windows.Forms.Panel panel5;
private System.Windows.Forms.Label label1;
private System.Windows.Forms.Label label2;
+ private System.Windows.Forms.Label label3;
+ private System.Windows.Forms.Label label4;
+ private System.Windows.Forms.Label label5;
+ private System.Windows.Forms.Label label6;
+ private System.Windows.Forms.Label label7;
+ private System.Windows.Forms.Label label8;
+ private System.Windows.Forms.Label label11;
+ private System.Windows.Forms.Label label9;
+ private System.Windows.Forms.Label label10;
+ private System.Windows.Forms.Label label12;
+ private System.Windows.Forms.Label label13;
}
}
diff --git a/RbFreqStandMeasure/HomeCtrlForm.resx b/RbFreqStandMeasure/HomeCtrlForm.resx
index 6d97f4f..1af7de1 100644
--- a/RbFreqStandMeasure/HomeCtrlForm.resx
+++ b/RbFreqStandMeasure/HomeCtrlForm.resx
@@ -117,55 +117,4 @@
System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
-
- True
-
-
- True
-
-
- True
-
-
- True
-
-
- True
-
-
- True
-
-
- True
-
-
- True
-
-
- True
-
-
- True
-
-
- True
-
-
- True
-
-
- True
-
-
- True
-
-
- True
-
-
- True
-
-
- True
-
\ No newline at end of file
diff --git a/RbFreqStandMeasure/Program.cs b/RbFreqStandMeasure/Program.cs
index 93a83e5..6150917 100644
--- a/RbFreqStandMeasure/Program.cs
+++ b/RbFreqStandMeasure/Program.cs
@@ -1,6 +1,4 @@
using System;
-using System.Collections.Generic;
-using System.Linq;
using System.Windows.Forms;
namespace Casic.Birmm.RbFreqStandMeasure
diff --git a/RbFreqStandMeasure/Properties/Resources.Designer.cs b/RbFreqStandMeasure/Properties/Resources.Designer.cs
index 253d7d7..d819a23 100644
--- a/RbFreqStandMeasure/Properties/Resources.Designer.cs
+++ b/RbFreqStandMeasure/Properties/Resources.Designer.cs
@@ -73,6 +73,56 @@
///
/// 查找 System.Drawing.Bitmap 类型的本地化资源。
///
+ internal static System.Drawing.Bitmap bg_dev_channel {
+ get {
+ object obj = ResourceManager.GetObject("bg_dev_channel", resourceCulture);
+ return ((System.Drawing.Bitmap)(obj));
+ }
+ }
+
+ ///
+ /// 查找 System.Drawing.Bitmap 类型的本地化资源。
+ ///
+ internal static System.Drawing.Bitmap bg_dev_tested {
+ get {
+ object obj = ResourceManager.GetObject("bg_dev_tested", resourceCulture);
+ return ((System.Drawing.Bitmap)(obj));
+ }
+ }
+
+ ///
+ /// 查找 System.Drawing.Bitmap 类型的本地化资源。
+ ///
+ internal static System.Drawing.Bitmap bg_status_base {
+ get {
+ object obj = ResourceManager.GetObject("bg_status_base", resourceCulture);
+ return ((System.Drawing.Bitmap)(obj));
+ }
+ }
+
+ ///
+ /// 查找 System.Drawing.Bitmap 类型的本地化资源。
+ ///
+ internal static System.Drawing.Bitmap bg_status_location {
+ get {
+ object obj = ResourceManager.GetObject("bg_status_location", resourceCulture);
+ return ((System.Drawing.Bitmap)(obj));
+ }
+ }
+
+ ///
+ /// 查找 System.Drawing.Bitmap 类型的本地化资源。
+ ///
+ internal static System.Drawing.Bitmap bg_status_time {
+ get {
+ object obj = ResourceManager.GetObject("bg_status_time", resourceCulture);
+ return ((System.Drawing.Bitmap)(obj));
+ }
+ }
+
+ ///
+ /// 查找 System.Drawing.Bitmap 类型的本地化资源。
+ ///
internal static System.Drawing.Bitmap bg_white_shadow {
get {
object obj = ResourceManager.GetObject("bg_white_shadow", resourceCulture);
@@ -83,6 +133,66 @@
///
/// 查找 System.Drawing.Bitmap 类型的本地化资源。
///
+ internal static System.Drawing.Bitmap icon_counter {
+ get {
+ object obj = ResourceManager.GetObject("icon_counter", resourceCulture);
+ return ((System.Drawing.Bitmap)(obj));
+ }
+ }
+
+ ///
+ /// 查找 System.Drawing.Bitmap 类型的本地化资源。
+ ///
+ internal static System.Drawing.Bitmap icon_counter_selected {
+ get {
+ object obj = ResourceManager.GetObject("icon_counter_selected", resourceCulture);
+ return ((System.Drawing.Bitmap)(obj));
+ }
+ }
+
+ ///
+ /// 查找 System.Drawing.Bitmap 类型的本地化资源。
+ ///
+ internal static System.Drawing.Bitmap icon_data {
+ get {
+ object obj = ResourceManager.GetObject("icon_data", resourceCulture);
+ return ((System.Drawing.Bitmap)(obj));
+ }
+ }
+
+ ///
+ /// 查找 System.Drawing.Bitmap 类型的本地化资源。
+ ///
+ internal static System.Drawing.Bitmap icon_data_selected {
+ get {
+ object obj = ResourceManager.GetObject("icon_data_selected", resourceCulture);
+ return ((System.Drawing.Bitmap)(obj));
+ }
+ }
+
+ ///
+ /// 查找 System.Drawing.Bitmap 类型的本地化资源。
+ ///
+ internal static System.Drawing.Bitmap icon_dev {
+ get {
+ object obj = ResourceManager.GetObject("icon_dev", resourceCulture);
+ return ((System.Drawing.Bitmap)(obj));
+ }
+ }
+
+ ///
+ /// 查找 System.Drawing.Bitmap 类型的本地化资源。
+ ///
+ internal static System.Drawing.Bitmap icon_dev_selected {
+ get {
+ object obj = ResourceManager.GetObject("icon_dev_selected", resourceCulture);
+ return ((System.Drawing.Bitmap)(obj));
+ }
+ }
+
+ ///
+ /// 查找 System.Drawing.Bitmap 类型的本地化资源。
+ ///
internal static System.Drawing.Bitmap icon_exit {
get {
object obj = ResourceManager.GetObject("icon_exit", resourceCulture);
@@ -113,6 +223,56 @@
///
/// 查找 System.Drawing.Bitmap 类型的本地化资源。
///
+ internal static System.Drawing.Bitmap icon_measure {
+ get {
+ object obj = ResourceManager.GetObject("icon_measure", resourceCulture);
+ return ((System.Drawing.Bitmap)(obj));
+ }
+ }
+
+ ///
+ /// 查找 System.Drawing.Bitmap 类型的本地化资源。
+ ///
+ internal static System.Drawing.Bitmap icon_measure_selected {
+ get {
+ object obj = ResourceManager.GetObject("icon_measure_selected", resourceCulture);
+ return ((System.Drawing.Bitmap)(obj));
+ }
+ }
+
+ ///
+ /// 查找 System.Drawing.Bitmap 类型的本地化资源。
+ ///
+ internal static System.Drawing.Bitmap icon_min {
+ get {
+ object obj = ResourceManager.GetObject("icon_min", resourceCulture);
+ return ((System.Drawing.Bitmap)(obj));
+ }
+ }
+
+ ///
+ /// 查找 System.Drawing.Bitmap 类型的本地化资源。
+ ///
+ internal static System.Drawing.Bitmap icon_setting {
+ get {
+ object obj = ResourceManager.GetObject("icon_setting", resourceCulture);
+ return ((System.Drawing.Bitmap)(obj));
+ }
+ }
+
+ ///
+ /// 查找 System.Drawing.Bitmap 类型的本地化资源。
+ ///
+ internal static System.Drawing.Bitmap icon_setting_selected {
+ get {
+ object obj = ResourceManager.GetObject("icon_setting_selected", resourceCulture);
+ return ((System.Drawing.Bitmap)(obj));
+ }
+ }
+
+ ///
+ /// 查找 System.Drawing.Bitmap 类型的本地化资源。
+ ///
internal static System.Drawing.Bitmap icon_status {
get {
object obj = ResourceManager.GetObject("icon_status", resourceCulture);
diff --git a/RbFreqStandMeasure/Properties/Resources.resx b/RbFreqStandMeasure/Properties/Resources.resx
index e781bb7..cfdb255 100644
--- a/RbFreqStandMeasure/Properties/Resources.resx
+++ b/RbFreqStandMeasure/Properties/Resources.resx
@@ -118,25 +118,73 @@
System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
-
- ..\res\images\icon_exit.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
+
+ ..\res\images\icon_counter_selected.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
-
- ..\res\images\bg_white_shadow.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
+
+ ..\res\images\icon_dev_selected.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
+
+
+ ..\res\images\icon_status_selected.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
+
+
+ ..\res\images\icon_data_selected.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
..\res\images\icon_home_selected.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
-
- ..\res\images\bg_banner.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
-
-
- ..\res\images\icon_home.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
+
+ ..\res\images\icon_exit.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
..\res\images\icon_status.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
-
- ..\res\images\icon_status_selected.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
+
+ ..\res\images\icon_data.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
+
+
+ ..\res\images\icon_setting.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
+
+
+ ..\res\images\icon_measure_selected.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
+
+
+ ..\res\images\bg_banner.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
+
+
+ ..\res\images\icon_setting_selected.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
+
+
+ ..\res\images\icon_dev.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
+
+
+ ..\res\images\icon_counter.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
+
+
+ ..\res\images\icon_measure.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
+
+
+ ..\res\images\icon_home.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
+
+
+ ..\res\images\bg_white_shadow.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
+
+
+ ..\res\images\icon_min.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
+
+
+ ..\res\images\bg_status_base.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
+
+
+ ..\res\images\bg_status_location.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
+
+
+ ..\res\images\bg_status_time.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
+
+
+ ..\res\images\bg_dev_channel.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
+
+
+ ..\res\images\bg_dev_tested.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
\ No newline at end of file
diff --git a/RbFreqStandMeasure/RbFreqStandMeasure.csproj b/RbFreqStandMeasure/RbFreqStandMeasure.csproj
index f5e7da9..7c12768 100644
--- a/RbFreqStandMeasure/RbFreqStandMeasure.csproj
+++ b/RbFreqStandMeasure/RbFreqStandMeasure.csproj
@@ -232,6 +232,54 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/RbFreqStandMeasure/RbFreqStdMeas.Designer.cs b/RbFreqStandMeasure/RbFreqStdMeas.Designer.cs
index 57778cf..1bd008c 100644
--- a/RbFreqStandMeasure/RbFreqStdMeas.Designer.cs
+++ b/RbFreqStandMeasure/RbFreqStdMeas.Designer.cs
@@ -30,148 +30,77 @@
private void InitializeComponent()
{
this.panMenu = new System.Windows.Forms.Panel();
+ this.penBanner = new System.Windows.Forms.Panel();
+ this.btnMinSys = new System.Windows.Forms.Button();
+ this.btnExitSys = new System.Windows.Forms.Button();
+ this.labTitle = new System.Windows.Forms.Label();
+ this.panDev = new Casic.Birmm.RbFreqStandMeasure.RoundPanel();
+ this.labDevText = new System.Windows.Forms.Label();
+ this.labDevSelected = new System.Windows.Forms.Label();
+ this.picIconDev = new System.Windows.Forms.PictureBox();
+ this.panSetting = new Casic.Birmm.RbFreqStandMeasure.RoundPanel();
+ this.labSettingSelected = new System.Windows.Forms.Label();
+ this.labSettingText = new System.Windows.Forms.Label();
+ this.picIconSetting = new System.Windows.Forms.PictureBox();
this.panStatus = new Casic.Birmm.RbFreqStandMeasure.RoundPanel();
this.labStatusText = new System.Windows.Forms.Label();
this.picIconStatus = new System.Windows.Forms.PictureBox();
+ this.labStatusSelected = new System.Windows.Forms.Label();
+ this.panData = new Casic.Birmm.RbFreqStandMeasure.RoundPanel();
+ this.labDataSelected = new System.Windows.Forms.Label();
+ this.labDataText = new System.Windows.Forms.Label();
+ this.picIconData = new System.Windows.Forms.PictureBox();
this.panHome = new Casic.Birmm.RbFreqStandMeasure.RoundPanel();
this.labHomeText = new System.Windows.Forms.Label();
this.picIconHome = new System.Windows.Forms.PictureBox();
this.labHomeSelected = new System.Windows.Forms.Label();
- this.labStatusSelected = new System.Windows.Forms.Label();
- this.penBanner = new System.Windows.Forms.Panel();
- this.btnExitSys = new System.Windows.Forms.Button();
- this.labTitle = new System.Windows.Forms.Label();
+ this.panMeasure = new Casic.Birmm.RbFreqStandMeasure.RoundPanel();
+ this.labMeasureText = new System.Windows.Forms.Label();
+ this.labMeasureSelected = new System.Windows.Forms.Label();
+ this.picIconMeasure = new System.Windows.Forms.PictureBox();
+ this.panCounter = new Casic.Birmm.RbFreqStandMeasure.RoundPanel();
+ this.labCounterSelected = new System.Windows.Forms.Label();
+ this.labCounterText = new System.Windows.Forms.Label();
+ this.picIconCounter = new System.Windows.Forms.PictureBox();
+ this.panelMain = new System.Windows.Forms.Panel();
this.panMenu.SuspendLayout();
+ this.penBanner.SuspendLayout();
+ this.panDev.SuspendLayout();
+ ((System.ComponentModel.ISupportInitialize)(this.picIconDev)).BeginInit();
+ this.panSetting.SuspendLayout();
+ ((System.ComponentModel.ISupportInitialize)(this.picIconSetting)).BeginInit();
this.panStatus.SuspendLayout();
((System.ComponentModel.ISupportInitialize)(this.picIconStatus)).BeginInit();
+ this.panData.SuspendLayout();
+ ((System.ComponentModel.ISupportInitialize)(this.picIconData)).BeginInit();
this.panHome.SuspendLayout();
((System.ComponentModel.ISupportInitialize)(this.picIconHome)).BeginInit();
- this.penBanner.SuspendLayout();
+ this.panMeasure.SuspendLayout();
+ ((System.ComponentModel.ISupportInitialize)(this.picIconMeasure)).BeginInit();
+ this.panCounter.SuspendLayout();
+ ((System.ComponentModel.ISupportInitialize)(this.picIconCounter)).BeginInit();
this.SuspendLayout();
//
// panMenu
//
this.panMenu.BackColor = System.Drawing.Color.White;
+ this.panMenu.Controls.Add(this.panDev);
+ this.panMenu.Controls.Add(this.panSetting);
this.panMenu.Controls.Add(this.panStatus);
+ this.panMenu.Controls.Add(this.panData);
this.panMenu.Controls.Add(this.panHome);
- this.panMenu.Controls.Add(this.labStatusSelected);
+ this.panMenu.Controls.Add(this.panMeasure);
+ this.panMenu.Controls.Add(this.panCounter);
this.panMenu.Location = new System.Drawing.Point(0, 64);
this.panMenu.Name = "panMenu";
this.panMenu.Size = new System.Drawing.Size(1024, 50);
this.panMenu.TabIndex = 1;
//
- // panStatus
- //
- this.panStatus.Back = System.Drawing.Color.Empty;
- this.panStatus.BackColor = System.Drawing.Color.Transparent;
- this.panStatus.Controls.Add(this.labStatusText);
- this.panStatus.Controls.Add(this.picIconStatus);
- this.panStatus.Location = new System.Drawing.Point(160, 0);
- this.panStatus.MatrixRound = 8;
- this.panStatus.Name = "panStatus";
- this.panStatus.Size = new System.Drawing.Size(130, 47);
- this.panStatus.TabIndex = 1;
- this.panStatus.Click += new System.EventHandler(this.panStatus_Click);
- this.panStatus.MouseLeave += new System.EventHandler(this.panStatus_MouseLeave);
- this.panStatus.MouseHover += new System.EventHandler(this.panStatus_MouseHover);
- //
- // labStatusText
- //
- this.labStatusText.BackColor = System.Drawing.Color.Transparent;
- this.labStatusText.Cursor = System.Windows.Forms.Cursors.Hand;
- this.labStatusText.Font = new System.Drawing.Font("微软雅黑", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
- this.labStatusText.ForeColor = System.Drawing.SystemColors.ControlText;
- this.labStatusText.Location = new System.Drawing.Point(35, 0);
- this.labStatusText.Margin = new System.Windows.Forms.Padding(0);
- this.labStatusText.Name = "labStatusText";
- this.labStatusText.Size = new System.Drawing.Size(85, 47);
- this.labStatusText.TabIndex = 2;
- this.labStatusText.Text = "基准状态";
- this.labStatusText.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
- this.labStatusText.Click += new System.EventHandler(this.panStatus_Click);
- this.labStatusText.MouseLeave += new System.EventHandler(this.panStatus_MouseLeave);
- this.labStatusText.MouseHover += new System.EventHandler(this.panStatus_MouseHover);
- //
- // picIconStatus
- //
- this.picIconStatus.BackgroundImage = global::Casic.Birmm.RbFreqStandMeasure.Properties.Resources.icon_status;
- this.picIconStatus.BackgroundImageLayout = System.Windows.Forms.ImageLayout.Zoom;
- this.picIconStatus.Location = new System.Drawing.Point(10, 11);
- this.picIconStatus.Name = "picIconStatus";
- this.picIconStatus.Size = new System.Drawing.Size(25, 25);
- this.picIconStatus.TabIndex = 1;
- this.picIconStatus.TabStop = false;
- this.picIconStatus.Click += new System.EventHandler(this.panStatus_Click);
- this.picIconStatus.MouseLeave += new System.EventHandler(this.panStatus_MouseLeave);
- this.picIconStatus.MouseHover += new System.EventHandler(this.panStatus_MouseHover);
- //
- // panHome
- //
- this.panHome.Back = System.Drawing.Color.Empty;
- this.panHome.Controls.Add(this.labHomeText);
- this.panHome.Controls.Add(this.picIconHome);
- this.panHome.Controls.Add(this.labHomeSelected);
- this.panHome.Cursor = System.Windows.Forms.Cursors.Hand;
- this.panHome.Location = new System.Drawing.Point(30, 0);
- this.panHome.MatrixRound = 8;
- this.panHome.Name = "panHome";
- this.panHome.Size = new System.Drawing.Size(100, 50);
- this.panHome.TabIndex = 0;
- this.panHome.Click += new System.EventHandler(this.panHome_Click);
- this.panHome.MouseLeave += new System.EventHandler(this.panHome_MouseLeave);
- this.panHome.MouseHover += new System.EventHandler(this.panHome_MouseHover);
- //
- // labHomeText
- //
- this.labHomeText.BackColor = System.Drawing.Color.Transparent;
- this.labHomeText.Font = new System.Drawing.Font("微软雅黑", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
- this.labHomeText.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(18)))), ((int)(((byte)(150)))), ((int)(((byte)(219)))));
- this.labHomeText.Location = new System.Drawing.Point(35, 0);
- this.labHomeText.Margin = new System.Windows.Forms.Padding(0);
- this.labHomeText.Name = "labHomeText";
- this.labHomeText.Size = new System.Drawing.Size(55, 47);
- this.labHomeText.TabIndex = 2;
- this.labHomeText.Text = "首页";
- this.labHomeText.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
- this.labHomeText.Click += new System.EventHandler(this.panHome_Click);
- this.labHomeText.MouseLeave += new System.EventHandler(this.panHome_MouseLeave);
- this.labHomeText.MouseHover += new System.EventHandler(this.panHome_MouseHover);
- //
- // picIconHome
- //
- this.picIconHome.BackColor = System.Drawing.Color.Transparent;
- this.picIconHome.BackgroundImage = global::Casic.Birmm.RbFreqStandMeasure.Properties.Resources.icon_home_selected;
- this.picIconHome.BackgroundImageLayout = System.Windows.Forms.ImageLayout.Zoom;
- this.picIconHome.Location = new System.Drawing.Point(10, 11);
- this.picIconHome.Name = "picIconHome";
- this.picIconHome.Size = new System.Drawing.Size(25, 25);
- this.picIconHome.TabIndex = 1;
- this.picIconHome.TabStop = false;
- this.picIconHome.Click += new System.EventHandler(this.panHome_Click);
- this.picIconHome.MouseLeave += new System.EventHandler(this.panHome_MouseLeave);
- this.picIconHome.MouseHover += new System.EventHandler(this.panHome_MouseHover);
- //
- // labHomeSelected
- //
- this.labHomeSelected.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(18)))), ((int)(((byte)(150)))), ((int)(((byte)(219)))));
- this.labHomeSelected.Location = new System.Drawing.Point(0, 47);
- this.labHomeSelected.Name = "labHomeSelected";
- this.labHomeSelected.Size = new System.Drawing.Size(100, 3);
- this.labHomeSelected.TabIndex = 0;
- //
- // labStatusSelected
- //
- this.labStatusSelected.BackColor = System.Drawing.Color.Transparent;
- this.labStatusSelected.Location = new System.Drawing.Point(160, 47);
- this.labStatusSelected.Margin = new System.Windows.Forms.Padding(0);
- this.labStatusSelected.Name = "labStatusSelected";
- this.labStatusSelected.Size = new System.Drawing.Size(130, 3);
- this.labStatusSelected.TabIndex = 0;
- //
// penBanner
//
this.penBanner.BackgroundImage = global::Casic.Birmm.RbFreqStandMeasure.Properties.Resources.bg_banner;
this.penBanner.BackgroundImageLayout = System.Windows.Forms.ImageLayout.Stretch;
+ this.penBanner.Controls.Add(this.btnMinSys);
this.penBanner.Controls.Add(this.btnExitSys);
this.penBanner.Controls.Add(this.labTitle);
this.penBanner.Location = new System.Drawing.Point(0, 0);
@@ -180,6 +109,23 @@
this.penBanner.TabIndex = 0;
this.penBanner.MouseDown += new System.Windows.Forms.MouseEventHandler(this.RbFreqStdMeas_MouseDown);
//
+ // btnMinSys
+ //
+ this.btnMinSys.BackColor = System.Drawing.Color.Transparent;
+ this.btnMinSys.BackgroundImage = global::Casic.Birmm.RbFreqStandMeasure.Properties.Resources.icon_min;
+ this.btnMinSys.BackgroundImageLayout = System.Windows.Forms.ImageLayout.Stretch;
+ this.btnMinSys.FlatAppearance.BorderSize = 0;
+ this.btnMinSys.FlatStyle = System.Windows.Forms.FlatStyle.Flat;
+ this.btnMinSys.ForeColor = System.Drawing.SystemColors.ControlDarkDark;
+ this.btnMinSys.Location = new System.Drawing.Point(944, 22);
+ this.btnMinSys.Margin = new System.Windows.Forms.Padding(0);
+ this.btnMinSys.Name = "btnMinSys";
+ this.btnMinSys.Size = new System.Drawing.Size(20, 20);
+ this.btnMinSys.TabIndex = 1;
+ this.btnMinSys.UseVisualStyleBackColor = false;
+ this.btnMinSys.Click += new System.EventHandler(this.btnMinSys_Click);
+ this.btnMinSys.MouseHover += new System.EventHandler(this.btnMinSys_MouseHover);
+ //
// btnExitSys
//
this.btnExitSys.BackColor = System.Drawing.Color.Transparent;
@@ -200,7 +146,7 @@
// labTitle
//
this.labTitle.BackColor = System.Drawing.Color.Transparent;
- this.labTitle.Font = new System.Drawing.Font("微软雅黑", 15.75F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
+ this.labTitle.Font = new System.Drawing.Font("微软雅黑", 20F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Pixel, ((byte)(134)));
this.labTitle.ForeColor = System.Drawing.Color.White;
this.labTitle.Location = new System.Drawing.Point(30, 16);
this.labTitle.Name = "labTitle";
@@ -209,11 +155,404 @@
this.labTitle.Text = "铷原子频标比对测量软件";
this.labTitle.TextAlign = System.Drawing.ContentAlignment.MiddleLeft;
//
+ // panDev
+ //
+ this.panDev.Back = System.Drawing.Color.Empty;
+ this.panDev.Controls.Add(this.labDevText);
+ this.panDev.Controls.Add(this.labDevSelected);
+ this.panDev.Controls.Add(this.picIconDev);
+ this.panDev.Location = new System.Drawing.Point(214, 0);
+ this.panDev.MatrixRound = 8;
+ this.panDev.Name = "panDev";
+ this.panDev.Size = new System.Drawing.Size(141, 50);
+ this.panDev.TabIndex = 2;
+ this.panDev.Click += new System.EventHandler(this.panDev_Click);
+ this.panDev.MouseLeave += new System.EventHandler(this.panDev_MouseLeave);
+ this.panDev.MouseHover += new System.EventHandler(this.panDev_MouseHover);
+ //
+ // labDevText
+ //
+ this.labDevText.BackColor = System.Drawing.Color.Transparent;
+ this.labDevText.Cursor = System.Windows.Forms.Cursors.Hand;
+ this.labDevText.Font = new System.Drawing.Font("微软雅黑", 16F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Pixel, ((byte)(134)));
+ this.labDevText.ForeColor = System.Drawing.SystemColors.ControlText;
+ this.labDevText.Location = new System.Drawing.Point(30, 14);
+ this.labDevText.Margin = new System.Windows.Forms.Padding(0);
+ this.labDevText.Name = "labDevText";
+ this.labDevText.Size = new System.Drawing.Size(106, 20);
+ this.labDevText.TabIndex = 2;
+ this.labDevText.Text = "送检仪器管理";
+ this.labDevText.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
+ this.labDevText.Click += new System.EventHandler(this.panDev_Click);
+ this.labDevText.MouseLeave += new System.EventHandler(this.panDev_MouseLeave);
+ this.labDevText.MouseHover += new System.EventHandler(this.panDev_MouseHover);
+ //
+ // labDevSelected
+ //
+ this.labDevSelected.BackColor = System.Drawing.Color.Transparent;
+ this.labDevSelected.Location = new System.Drawing.Point(8, 48);
+ this.labDevSelected.Margin = new System.Windows.Forms.Padding(0);
+ this.labDevSelected.Name = "labDevSelected";
+ this.labDevSelected.Size = new System.Drawing.Size(121, 2);
+ this.labDevSelected.TabIndex = 3;
+ //
+ // picIconDev
+ //
+ this.picIconDev.BackColor = System.Drawing.Color.Transparent;
+ this.picIconDev.BackgroundImage = global::Casic.Birmm.RbFreqStandMeasure.Properties.Resources.icon_dev;
+ this.picIconDev.BackgroundImageLayout = System.Windows.Forms.ImageLayout.Zoom;
+ this.picIconDev.Location = new System.Drawing.Point(10, 14);
+ this.picIconDev.Name = "picIconDev";
+ this.picIconDev.Size = new System.Drawing.Size(20, 20);
+ this.picIconDev.TabIndex = 1;
+ this.picIconDev.TabStop = false;
+ this.picIconDev.Click += new System.EventHandler(this.panDev_Click);
+ this.picIconDev.MouseLeave += new System.EventHandler(this.panDev_MouseLeave);
+ this.picIconDev.MouseHover += new System.EventHandler(this.panDev_MouseHover);
+ //
+ // panSetting
+ //
+ this.panSetting.Back = System.Drawing.Color.Empty;
+ this.panSetting.Controls.Add(this.labSettingSelected);
+ this.panSetting.Controls.Add(this.labSettingText);
+ this.panSetting.Controls.Add(this.picIconSetting);
+ this.panSetting.Location = new System.Drawing.Point(879, 0);
+ this.panSetting.MatrixRound = 8;
+ this.panSetting.Name = "panSetting";
+ this.panSetting.Size = new System.Drawing.Size(109, 50);
+ this.panSetting.TabIndex = 2;
+ this.panSetting.Click += new System.EventHandler(this.panSetting_Click);
+ this.panSetting.MouseLeave += new System.EventHandler(this.panSetting_MouseLeave);
+ this.panSetting.MouseHover += new System.EventHandler(this.panSetting_MouseHover);
+ //
+ // labSettingSelected
+ //
+ this.labSettingSelected.BackColor = System.Drawing.Color.Transparent;
+ this.labSettingSelected.Location = new System.Drawing.Point(10, 48);
+ this.labSettingSelected.Margin = new System.Windows.Forms.Padding(0);
+ this.labSettingSelected.Name = "labSettingSelected";
+ this.labSettingSelected.Size = new System.Drawing.Size(89, 2);
+ this.labSettingSelected.TabIndex = 4;
+ //
+ // labSettingText
+ //
+ this.labSettingText.BackColor = System.Drawing.Color.Transparent;
+ this.labSettingText.Cursor = System.Windows.Forms.Cursors.Hand;
+ this.labSettingText.Font = new System.Drawing.Font("微软雅黑", 16F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Pixel, ((byte)(134)));
+ this.labSettingText.ForeColor = System.Drawing.SystemColors.ControlText;
+ this.labSettingText.Location = new System.Drawing.Point(30, 14);
+ this.labSettingText.Margin = new System.Windows.Forms.Padding(0);
+ this.labSettingText.Name = "labSettingText";
+ this.labSettingText.Size = new System.Drawing.Size(74, 20);
+ this.labSettingText.TabIndex = 2;
+ this.labSettingText.Text = "系统设置";
+ this.labSettingText.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
+ this.labSettingText.Click += new System.EventHandler(this.panSetting_Click);
+ this.labSettingText.MouseLeave += new System.EventHandler(this.panSetting_MouseLeave);
+ this.labSettingText.MouseHover += new System.EventHandler(this.panSetting_MouseHover);
+ //
+ // picIconSetting
+ //
+ this.picIconSetting.BackColor = System.Drawing.Color.Transparent;
+ this.picIconSetting.BackgroundImage = global::Casic.Birmm.RbFreqStandMeasure.Properties.Resources.icon_setting;
+ this.picIconSetting.BackgroundImageLayout = System.Windows.Forms.ImageLayout.Zoom;
+ this.picIconSetting.Location = new System.Drawing.Point(10, 14);
+ this.picIconSetting.Name = "picIconSetting";
+ this.picIconSetting.Size = new System.Drawing.Size(20, 20);
+ this.picIconSetting.TabIndex = 1;
+ this.picIconSetting.TabStop = false;
+ this.picIconSetting.Click += new System.EventHandler(this.panSetting_Click);
+ this.picIconSetting.MouseLeave += new System.EventHandler(this.panSetting_MouseLeave);
+ this.picIconSetting.MouseHover += new System.EventHandler(this.panSetting_MouseHover);
+ //
+ // panStatus
+ //
+ this.panStatus.Back = System.Drawing.Color.Empty;
+ this.panStatus.BackColor = System.Drawing.Color.Transparent;
+ this.panStatus.Controls.Add(this.labStatusText);
+ this.panStatus.Controls.Add(this.picIconStatus);
+ this.panStatus.Controls.Add(this.labStatusSelected);
+ this.panStatus.Location = new System.Drawing.Point(101, 0);
+ this.panStatus.MatrixRound = 8;
+ this.panStatus.Name = "panStatus";
+ this.panStatus.Size = new System.Drawing.Size(109, 50);
+ this.panStatus.TabIndex = 1;
+ this.panStatus.Click += new System.EventHandler(this.panStatus_Click);
+ this.panStatus.MouseLeave += new System.EventHandler(this.panStatus_MouseLeave);
+ this.panStatus.MouseHover += new System.EventHandler(this.panStatus_MouseHover);
+ //
+ // labStatusText
+ //
+ this.labStatusText.BackColor = System.Drawing.Color.Transparent;
+ this.labStatusText.Cursor = System.Windows.Forms.Cursors.Hand;
+ this.labStatusText.Font = new System.Drawing.Font("微软雅黑", 16F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Pixel, ((byte)(134)));
+ this.labStatusText.ForeColor = System.Drawing.SystemColors.ControlText;
+ this.labStatusText.Location = new System.Drawing.Point(30, 14);
+ this.labStatusText.Margin = new System.Windows.Forms.Padding(0);
+ this.labStatusText.Name = "labStatusText";
+ this.labStatusText.Size = new System.Drawing.Size(74, 20);
+ this.labStatusText.TabIndex = 2;
+ this.labStatusText.Text = "基准状态";
+ this.labStatusText.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
+ this.labStatusText.Click += new System.EventHandler(this.panStatus_Click);
+ this.labStatusText.MouseLeave += new System.EventHandler(this.panStatus_MouseLeave);
+ this.labStatusText.MouseHover += new System.EventHandler(this.panStatus_MouseHover);
+ //
+ // picIconStatus
+ //
+ this.picIconStatus.BackgroundImage = global::Casic.Birmm.RbFreqStandMeasure.Properties.Resources.icon_status;
+ this.picIconStatus.BackgroundImageLayout = System.Windows.Forms.ImageLayout.Zoom;
+ this.picIconStatus.Location = new System.Drawing.Point(10, 14);
+ this.picIconStatus.Name = "picIconStatus";
+ this.picIconStatus.Size = new System.Drawing.Size(20, 20);
+ this.picIconStatus.TabIndex = 1;
+ this.picIconStatus.TabStop = false;
+ this.picIconStatus.Click += new System.EventHandler(this.panStatus_Click);
+ this.picIconStatus.MouseLeave += new System.EventHandler(this.panStatus_MouseLeave);
+ this.picIconStatus.MouseHover += new System.EventHandler(this.panStatus_MouseHover);
+ //
+ // labStatusSelected
+ //
+ this.labStatusSelected.BackColor = System.Drawing.Color.Transparent;
+ this.labStatusSelected.Location = new System.Drawing.Point(10, 48);
+ this.labStatusSelected.Margin = new System.Windows.Forms.Padding(0);
+ this.labStatusSelected.Name = "labStatusSelected";
+ this.labStatusSelected.Size = new System.Drawing.Size(89, 2);
+ this.labStatusSelected.TabIndex = 0;
+ //
+ // panData
+ //
+ this.panData.Back = System.Drawing.Color.Empty;
+ this.panData.Controls.Add(this.labDataSelected);
+ this.panData.Controls.Add(this.labDataText);
+ this.panData.Controls.Add(this.picIconData);
+ this.panData.Location = new System.Drawing.Point(765, 0);
+ this.panData.MatrixRound = 8;
+ this.panData.Name = "panData";
+ this.panData.Size = new System.Drawing.Size(109, 50);
+ this.panData.TabIndex = 2;
+ this.panData.Click += new System.EventHandler(this.panData_Click);
+ this.panData.MouseLeave += new System.EventHandler(this.panData_MouseLeave);
+ this.panData.MouseHover += new System.EventHandler(this.panData_MouseHover);
+ //
+ // labDataSelected
+ //
+ this.labDataSelected.BackColor = System.Drawing.Color.Transparent;
+ this.labDataSelected.Location = new System.Drawing.Point(10, 48);
+ this.labDataSelected.Margin = new System.Windows.Forms.Padding(0);
+ this.labDataSelected.Name = "labDataSelected";
+ this.labDataSelected.Size = new System.Drawing.Size(89, 2);
+ this.labDataSelected.TabIndex = 3;
+ //
+ // labDataText
+ //
+ this.labDataText.BackColor = System.Drawing.Color.Transparent;
+ this.labDataText.Cursor = System.Windows.Forms.Cursors.Hand;
+ this.labDataText.Font = new System.Drawing.Font("微软雅黑", 16F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Pixel, ((byte)(134)));
+ this.labDataText.ForeColor = System.Drawing.SystemColors.ControlText;
+ this.labDataText.Location = new System.Drawing.Point(30, 14);
+ this.labDataText.Margin = new System.Windows.Forms.Padding(0);
+ this.labDataText.Name = "labDataText";
+ this.labDataText.Size = new System.Drawing.Size(74, 20);
+ this.labDataText.TabIndex = 2;
+ this.labDataText.Text = "数据管理";
+ this.labDataText.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
+ this.labDataText.Click += new System.EventHandler(this.panData_Click);
+ this.labDataText.MouseLeave += new System.EventHandler(this.panData_MouseLeave);
+ this.labDataText.MouseHover += new System.EventHandler(this.panData_MouseHover);
+ //
+ // picIconData
+ //
+ this.picIconData.BackColor = System.Drawing.Color.Transparent;
+ this.picIconData.BackgroundImage = global::Casic.Birmm.RbFreqStandMeasure.Properties.Resources.icon_data;
+ this.picIconData.BackgroundImageLayout = System.Windows.Forms.ImageLayout.Zoom;
+ this.picIconData.Location = new System.Drawing.Point(10, 14);
+ this.picIconData.Name = "picIconData";
+ this.picIconData.Size = new System.Drawing.Size(20, 20);
+ this.picIconData.TabIndex = 1;
+ this.picIconData.TabStop = false;
+ this.picIconData.Click += new System.EventHandler(this.panData_Click);
+ this.picIconData.MouseLeave += new System.EventHandler(this.panData_MouseLeave);
+ this.picIconData.MouseHover += new System.EventHandler(this.panData_MouseHover);
+ //
+ // panHome
+ //
+ this.panHome.Back = System.Drawing.Color.Empty;
+ this.panHome.Controls.Add(this.labHomeText);
+ this.panHome.Controls.Add(this.picIconHome);
+ this.panHome.Controls.Add(this.labHomeSelected);
+ this.panHome.Cursor = System.Windows.Forms.Cursors.Hand;
+ this.panHome.Location = new System.Drawing.Point(20, 0);
+ this.panHome.MatrixRound = 8;
+ this.panHome.Name = "panHome";
+ this.panHome.Size = new System.Drawing.Size(75, 50);
+ this.panHome.TabIndex = 0;
+ this.panHome.Click += new System.EventHandler(this.panHome_Click);
+ this.panHome.MouseLeave += new System.EventHandler(this.panHome_MouseLeave);
+ this.panHome.MouseHover += new System.EventHandler(this.panHome_MouseHover);
+ //
+ // labHomeText
+ //
+ this.labHomeText.BackColor = System.Drawing.Color.Transparent;
+ this.labHomeText.Font = new System.Drawing.Font("微软雅黑", 16F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Pixel, ((byte)(134)));
+ this.labHomeText.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(18)))), ((int)(((byte)(150)))), ((int)(((byte)(219)))));
+ this.labHomeText.Location = new System.Drawing.Point(30, 14);
+ this.labHomeText.Margin = new System.Windows.Forms.Padding(0);
+ this.labHomeText.Name = "labHomeText";
+ this.labHomeText.Size = new System.Drawing.Size(42, 20);
+ this.labHomeText.TabIndex = 2;
+ this.labHomeText.Text = "首页";
+ this.labHomeText.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
+ this.labHomeText.Click += new System.EventHandler(this.panHome_Click);
+ this.labHomeText.MouseLeave += new System.EventHandler(this.panHome_MouseLeave);
+ this.labHomeText.MouseHover += new System.EventHandler(this.panHome_MouseHover);
+ //
+ // picIconHome
+ //
+ this.picIconHome.BackColor = System.Drawing.Color.Transparent;
+ this.picIconHome.BackgroundImage = global::Casic.Birmm.RbFreqStandMeasure.Properties.Resources.icon_home_selected;
+ this.picIconHome.BackgroundImageLayout = System.Windows.Forms.ImageLayout.Zoom;
+ this.picIconHome.Location = new System.Drawing.Point(10, 14);
+ this.picIconHome.Margin = new System.Windows.Forms.Padding(0);
+ this.picIconHome.Name = "picIconHome";
+ this.picIconHome.Size = new System.Drawing.Size(20, 20);
+ this.picIconHome.TabIndex = 1;
+ this.picIconHome.TabStop = false;
+ this.picIconHome.Click += new System.EventHandler(this.panHome_Click);
+ this.picIconHome.MouseLeave += new System.EventHandler(this.panHome_MouseLeave);
+ this.picIconHome.MouseHover += new System.EventHandler(this.panHome_MouseHover);
+ //
+ // labHomeSelected
+ //
+ this.labHomeSelected.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(18)))), ((int)(((byte)(150)))), ((int)(((byte)(219)))));
+ this.labHomeSelected.Location = new System.Drawing.Point(10, 48);
+ this.labHomeSelected.Name = "labHomeSelected";
+ this.labHomeSelected.Size = new System.Drawing.Size(55, 2);
+ this.labHomeSelected.TabIndex = 0;
+ //
+ // panMeasure
+ //
+ this.panMeasure.Back = System.Drawing.Color.Empty;
+ this.panMeasure.Controls.Add(this.labMeasureText);
+ this.panMeasure.Controls.Add(this.labMeasureSelected);
+ this.panMeasure.Controls.Add(this.picIconMeasure);
+ this.panMeasure.Location = new System.Drawing.Point(619, 0);
+ this.panMeasure.MatrixRound = 8;
+ this.panMeasure.Name = "panMeasure";
+ this.panMeasure.Size = new System.Drawing.Size(141, 50);
+ this.panMeasure.TabIndex = 2;
+ this.panMeasure.Click += new System.EventHandler(this.panMeasure_Click);
+ this.panMeasure.MouseLeave += new System.EventHandler(this.panMeasure_MouseLeave);
+ this.panMeasure.MouseHover += new System.EventHandler(this.panMeasure_MouseHover);
+ //
+ // labMeasureText
+ //
+ this.labMeasureText.BackColor = System.Drawing.Color.Transparent;
+ this.labMeasureText.Cursor = System.Windows.Forms.Cursors.Hand;
+ this.labMeasureText.Font = new System.Drawing.Font("微软雅黑", 16F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Pixel, ((byte)(134)));
+ this.labMeasureText.ForeColor = System.Drawing.SystemColors.ControlText;
+ this.labMeasureText.Location = new System.Drawing.Point(30, 14);
+ this.labMeasureText.Margin = new System.Windows.Forms.Padding(0);
+ this.labMeasureText.Name = "labMeasureText";
+ this.labMeasureText.Size = new System.Drawing.Size(106, 20);
+ this.labMeasureText.TabIndex = 2;
+ this.labMeasureText.Text = "计量信息管理";
+ this.labMeasureText.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
+ this.labMeasureText.Click += new System.EventHandler(this.panMeasure_Click);
+ this.labMeasureText.MouseLeave += new System.EventHandler(this.panMeasure_MouseLeave);
+ this.labMeasureText.MouseHover += new System.EventHandler(this.panMeasure_MouseHover);
+ //
+ // labMeasureSelected
+ //
+ this.labMeasureSelected.BackColor = System.Drawing.Color.Transparent;
+ this.labMeasureSelected.Location = new System.Drawing.Point(10, 48);
+ this.labMeasureSelected.Margin = new System.Windows.Forms.Padding(0);
+ this.labMeasureSelected.Name = "labMeasureSelected";
+ this.labMeasureSelected.Size = new System.Drawing.Size(121, 2);
+ this.labMeasureSelected.TabIndex = 3;
+ //
+ // picIconMeasure
+ //
+ this.picIconMeasure.BackColor = System.Drawing.Color.Transparent;
+ this.picIconMeasure.BackgroundImage = global::Casic.Birmm.RbFreqStandMeasure.Properties.Resources.icon_measure;
+ this.picIconMeasure.BackgroundImageLayout = System.Windows.Forms.ImageLayout.Zoom;
+ this.picIconMeasure.Location = new System.Drawing.Point(10, 14);
+ this.picIconMeasure.Name = "picIconMeasure";
+ this.picIconMeasure.Size = new System.Drawing.Size(20, 20);
+ this.picIconMeasure.TabIndex = 1;
+ this.picIconMeasure.TabStop = false;
+ this.picIconMeasure.Click += new System.EventHandler(this.panMeasure_Click);
+ this.picIconMeasure.MouseLeave += new System.EventHandler(this.panMeasure_MouseLeave);
+ this.picIconMeasure.MouseHover += new System.EventHandler(this.panMeasure_MouseHover);
+ //
+ // panCounter
+ //
+ this.panCounter.Back = System.Drawing.Color.Empty;
+ this.panCounter.Controls.Add(this.labCounterSelected);
+ this.panCounter.Controls.Add(this.labCounterText);
+ this.panCounter.Controls.Add(this.picIconCounter);
+ this.panCounter.Location = new System.Drawing.Point(360, 0);
+ this.panCounter.MatrixRound = 8;
+ this.panCounter.Name = "panCounter";
+ this.panCounter.Size = new System.Drawing.Size(254, 50);
+ this.panCounter.TabIndex = 2;
+ this.panCounter.Click += new System.EventHandler(this.panCounter_Click);
+ this.panCounter.MouseLeave += new System.EventHandler(this.panCounter_MouseLeave);
+ this.panCounter.MouseHover += new System.EventHandler(this.panCounter_MouseHover);
+ //
+ // labCounterSelected
+ //
+ this.labCounterSelected.BackColor = System.Drawing.Color.Transparent;
+ this.labCounterSelected.Location = new System.Drawing.Point(10, 48);
+ this.labCounterSelected.Margin = new System.Windows.Forms.Padding(0);
+ this.labCounterSelected.Name = "labCounterSelected";
+ this.labCounterSelected.Size = new System.Drawing.Size(233, 2);
+ this.labCounterSelected.TabIndex = 4;
+ //
+ // labCounterText
+ //
+ this.labCounterText.BackColor = System.Drawing.Color.Transparent;
+ this.labCounterText.Cursor = System.Windows.Forms.Cursors.Hand;
+ this.labCounterText.Font = new System.Drawing.Font("微软雅黑", 16F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Pixel, ((byte)(134)));
+ this.labCounterText.ForeColor = System.Drawing.SystemColors.ControlText;
+ this.labCounterText.Location = new System.Drawing.Point(30, 14);
+ this.labCounterText.Margin = new System.Windows.Forms.Padding(0);
+ this.labCounterText.Name = "labCounterText";
+ this.labCounterText.Size = new System.Drawing.Size(218, 20);
+ this.labCounterText.TabIndex = 2;
+ this.labCounterText.Text = "频率计数器范围及灵敏度测量";
+ this.labCounterText.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
+ this.labCounterText.Click += new System.EventHandler(this.panCounter_Click);
+ this.labCounterText.MouseLeave += new System.EventHandler(this.panCounter_MouseLeave);
+ this.labCounterText.MouseHover += new System.EventHandler(this.panCounter_MouseHover);
+ //
+ // picIconCounter
+ //
+ this.picIconCounter.BackColor = System.Drawing.Color.Transparent;
+ this.picIconCounter.BackgroundImage = global::Casic.Birmm.RbFreqStandMeasure.Properties.Resources.icon_counter;
+ this.picIconCounter.BackgroundImageLayout = System.Windows.Forms.ImageLayout.Zoom;
+ this.picIconCounter.Location = new System.Drawing.Point(10, 14);
+ this.picIconCounter.Name = "picIconCounter";
+ this.picIconCounter.Size = new System.Drawing.Size(20, 20);
+ this.picIconCounter.TabIndex = 1;
+ this.picIconCounter.TabStop = false;
+ this.picIconCounter.Click += new System.EventHandler(this.panCounter_Click);
+ this.picIconCounter.MouseLeave += new System.EventHandler(this.panCounter_MouseLeave);
+ this.picIconCounter.MouseHover += new System.EventHandler(this.panCounter_MouseHover);
+ //
+ // panelMain
+ //
+ this.panelMain.Location = new System.Drawing.Point(0, 114);
+ this.panelMain.Name = "panelMain";
+ this.panelMain.Size = new System.Drawing.Size(1024, 654);
+ this.panelMain.TabIndex = 2;
+ //
// RbFreqStdMeas
//
this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 12F);
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
this.ClientSize = new System.Drawing.Size(1024, 768);
+ this.Controls.Add(this.panelMain);
this.Controls.Add(this.panMenu);
this.Controls.Add(this.penBanner);
this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.None;
@@ -221,11 +560,21 @@
this.Text = "RbFreqStdMeas";
this.Load += new System.EventHandler(this.RbFreqStdMeas_Load);
this.panMenu.ResumeLayout(false);
+ this.penBanner.ResumeLayout(false);
+ this.panDev.ResumeLayout(false);
+ ((System.ComponentModel.ISupportInitialize)(this.picIconDev)).EndInit();
+ this.panSetting.ResumeLayout(false);
+ ((System.ComponentModel.ISupportInitialize)(this.picIconSetting)).EndInit();
this.panStatus.ResumeLayout(false);
((System.ComponentModel.ISupportInitialize)(this.picIconStatus)).EndInit();
+ this.panData.ResumeLayout(false);
+ ((System.ComponentModel.ISupportInitialize)(this.picIconData)).EndInit();
this.panHome.ResumeLayout(false);
((System.ComponentModel.ISupportInitialize)(this.picIconHome)).EndInit();
- this.penBanner.ResumeLayout(false);
+ this.panMeasure.ResumeLayout(false);
+ ((System.ComponentModel.ISupportInitialize)(this.picIconMeasure)).EndInit();
+ this.panCounter.ResumeLayout(false);
+ ((System.ComponentModel.ISupportInitialize)(this.picIconCounter)).EndInit();
this.ResumeLayout(false);
}
@@ -244,5 +593,27 @@
private RoundPanel panStatus;
private RoundPanel panHome;
private System.Windows.Forms.Label labStatusSelected;
+ private RoundPanel panDev;
+ private System.Windows.Forms.PictureBox picIconDev;
+ private System.Windows.Forms.Label labDevText;
+ private System.Windows.Forms.Label labMeasureSelected;
+ private RoundPanel panCounter;
+ private System.Windows.Forms.Label labCounterText;
+ private System.Windows.Forms.PictureBox picIconCounter;
+ private RoundPanel panMeasure;
+ private System.Windows.Forms.Label labMeasureText;
+ private System.Windows.Forms.PictureBox picIconMeasure;
+ private RoundPanel panData;
+ private System.Windows.Forms.Label labDataText;
+ private System.Windows.Forms.PictureBox picIconData;
+ private RoundPanel panSetting;
+ private System.Windows.Forms.Label labSettingText;
+ private System.Windows.Forms.PictureBox picIconSetting;
+ private System.Windows.Forms.Label labCounterSelected;
+ private System.Windows.Forms.Label labDevSelected;
+ private System.Windows.Forms.Label labDataSelected;
+ private System.Windows.Forms.Label labSettingSelected;
+ private System.Windows.Forms.Button btnMinSys;
+ private System.Windows.Forms.Panel panelMain;
}
}
\ No newline at end of file
diff --git a/RbFreqStandMeasure/RbFreqStdMeas.cs b/RbFreqStandMeasure/RbFreqStdMeas.cs
index 3858ddb..af980d7 100644
--- a/RbFreqStandMeasure/RbFreqStdMeas.cs
+++ b/RbFreqStandMeasure/RbFreqStdMeas.cs
@@ -1,13 +1,9 @@
-using Casic.Birmm.RbFreqStandMeasure.Properties;
+using Casic.Birmm.RbFreqStandMeasure.info;
+using Casic.Birmm.RbFreqStandMeasure.Properties;
+using Casic.Birmm.RbFreqStandMeasure.setting;
using System;
-using System.Collections.Generic;
-using System.ComponentModel;
-using System.Data;
using System.Drawing;
-using System.Linq;
-using System.Resources;
using System.Runtime.InteropServices;
-using System.Text;
using System.Windows.Forms;
namespace Casic.Birmm.RbFreqStandMeasure
@@ -15,7 +11,7 @@
public partial class RbFreqStdMeas : Form
{
- #region 无边框拖动效果
+ #region 无边框拖动效果/最小化窗口/关闭窗口
[DllImport("user32.dll")]//拖动无窗体的控件
public static extern bool ReleaseCapture();
[DllImport("user32.dll")]
@@ -30,9 +26,29 @@
ReleaseCapture();
SendMessage(this.Handle, WM_SYSCOMMAND, SC_MOVE + HTCAPTION, 0);
}
+ private void btnExitSys_Click(object sender, EventArgs e)
+ {
+ Application.Exit();
+ }
+ private void btnMinSys_Click(object sender, EventArgs e)
+ {
+ this.WindowState = FormWindowState.Minimized;
+ }
+ private void btnExitSys_MouseHover(object sender, EventArgs e)
+ {
+ ToolTip p = new ToolTip();
+ p.ShowAlways = true;
+ p.SetToolTip(this.btnExitSys, "退出");
+ }
+ private void btnMinSys_MouseHover(object sender, EventArgs e)
+ {
+ ToolTip p = new ToolTip();
+ p.ShowAlways = true;
+ p.SetToolTip(this.btnMinSys, "最小化");
+ }
#endregion
- private bool[] menuSelected = { true, false };
+ private bool[] menuSelected = { true, false, false, false, false, false, false };
// 按钮图标
private PictureBox[] menuPics;
// 按钮图标的资源名称(选中的资源名称在后面加上 _selected)
@@ -57,7 +73,7 @@
// 将当前按钮的效果设置为默认未选中
this.menuPics[index].BackgroundImage = (Bitmap)Resources.ResourceManager.GetObject(this.menuIconResources[index], null);
- this.menuLabels[index].ForeColor = ColorTranslator.FromHtml("#2C2C2C");
+ this.menuLabels[index].ForeColor = ColorTranslator.FromHtml("#333333");
this.menuUnderlines[index].BackColor = Color.Transparent;
}
@@ -79,13 +95,15 @@
LeaveHome();
// 重新设置所有按钮的状态
- this.menuSelected = new bool[] { true, false };
+ this.menuSelected = new bool[] { true, false, false, false, false, false, false };
// 将新选中的按钮设置为选中
this.picIconHome.BackgroundImage = (Bitmap)Resources.ResourceManager.GetObject("icon_home_selected", null);
- this.labHomeText.ForeColor = ColorTranslator.FromHtml("#1296db");
- this.labHomeSelected.BackColor = ColorTranslator.FromHtml("#1296db");
+ this.labHomeText.ForeColor = ColorTranslator.FromHtml("#3f84d7");
+ this.labHomeSelected.BackColor = ColorTranslator.FromHtml("#3f84d7");
+ // 切换至首页
+ switchMainPanel(0);
}
#endregion
@@ -107,12 +125,163 @@
LeaveStatus();
// 重新设置所有按钮的状态
- this.menuSelected = new bool[] { false, true };
+ this.menuSelected = new bool[] { false, true, false, false, false, false, false };
// 将新选中的按钮设置为选中
this.picIconStatus.BackgroundImage = (Bitmap) Resources.ResourceManager.GetObject("icon_status_selected", null);
- this.labStatusText.ForeColor = ColorTranslator.FromHtml("#1296db");
- this.labStatusSelected.BackColor = ColorTranslator.FromHtml("#1296db");
+ this.labStatusText.ForeColor = ColorTranslator.FromHtml("#3f84d7");
+ this.labStatusSelected.BackColor = ColorTranslator.FromHtml("#3f84d7");
+
+ // 切换到基准状态页面
+ switchMainPanel(1);
+ }
+ #endregion
+
+ #region 送检仪器按钮点击、移入/移出效果
+ private void HoverDev()
+ {
+ panDev.Back = ColorTranslator.FromHtml("#56a3f2");
+ }
+ private void LeaveDev()
+ {
+ panDev.Back = Color.Transparent;
+ }
+ private void SelectDev()
+ {
+ // 移除所有按钮的选中样式
+ this.ClearAllMenuSelected();
+
+ // 鼠标移入效果去掉
+ LeaveDev();
+
+ // 重新设置所有按钮的状态
+ this.menuSelected = new bool[] { false, false, true, false, false ,false ,false };
+
+ // 将新选中的按钮设置为选中
+ this.picIconDev.BackgroundImage = (Bitmap)Resources.ResourceManager.GetObject("icon_dev_selected", null);
+ this.labDevText.ForeColor = ColorTranslator.FromHtml("#3f84d7");
+ this.labDevSelected.BackColor = ColorTranslator.FromHtml("#3f84d7");
+
+ // 切换至待检仪器管理
+ switchMainPanel(2);
+ }
+ #endregion
+
+ #region 频率计数器测量点击、移入/移出效果
+ private void HoverCounter()
+ {
+ panCounter.Back = ColorTranslator.FromHtml("#56a3f2");
+ }
+ private void LeaveCounter()
+ {
+ panCounter.Back = Color.Transparent;
+ }
+ private void SelectCounter()
+ {
+ // 移除所有按钮的选中样式
+ this.ClearAllMenuSelected();
+
+ // 鼠标移入效果去掉
+ LeaveCounter();
+
+ // 重新设置所有按钮的状态
+ this.menuSelected = new bool[] { false, false, false, true, false, false, false };
+
+ // 将新选中的按钮设置为选中
+ this.picIconCounter.BackgroundImage = (Bitmap)Resources.ResourceManager.GetObject("icon_counter_selected", null);
+ this.labCounterText.ForeColor = ColorTranslator.FromHtml("#3f84d7");
+ this.labCounterSelected.BackColor = ColorTranslator.FromHtml("#3f84d7");
+ }
+ #endregion
+
+ #region 计量管理点击、移入/移出效果
+ private void HoverMeasure()
+ {
+ panMeasure.Back = ColorTranslator.FromHtml("#56a3f2");
+ }
+ private void LeaveMeasure()
+ {
+ panMeasure.Back = Color.Transparent;
+ }
+ private void SelectMeasure()
+ {
+ // 移除所有按钮的选中样式
+ this.ClearAllMenuSelected();
+
+ // 鼠标移入效果去掉
+ LeaveMeasure();
+
+ // 重新设置所有按钮的状态
+ this.menuSelected = new bool[] { false, false, false, false, true, false, false };
+
+ // 将新选中的按钮设置为选中
+ this.picIconMeasure.BackgroundImage = (Bitmap)Resources.ResourceManager.GetObject("icon_measure_selected", null);
+ this.labMeasureText.ForeColor = ColorTranslator.FromHtml("#3f84d7");
+ this.labMeasureSelected.BackColor = ColorTranslator.FromHtml("#3f84d7");
+
+ // 切换至计量信息管理
+ switchMainPanel(4);
+ }
+ #endregion
+
+ #region 数据管理点击、移入/移出效果
+ private void HoverData()
+ {
+ panData.Back = ColorTranslator.FromHtml("#56a3f2");
+ }
+ private void LeaveData()
+ {
+ panData.Back = Color.Transparent;
+ }
+ private void SelectData()
+ {
+ // 移除所有按钮的选中样式
+ this.ClearAllMenuSelected();
+
+ // 鼠标移入效果去掉
+ LeaveData();
+
+ // 重新设置所有按钮的状态
+ this.menuSelected = new bool[] { false, false, false, false, false, true, false };
+
+ // 将新选中的按钮设置为选中
+ this.picIconData.BackgroundImage = (Bitmap)Resources.ResourceManager.GetObject("icon_data_selected", null);
+ this.labDataText.ForeColor = ColorTranslator.FromHtml("#3f84d7");
+ this.labDataSelected.BackColor = ColorTranslator.FromHtml("#3f84d7");
+
+ // 弹出对话框进行数据备份与还原操作
+ DataBackupDlg dataDlg = new DataBackupDlg();
+ dataDlg.ShowDialog();
+ }
+ #endregion
+
+ #region 系统管理点击、移入/移出效果
+ private void HoverSetting()
+ {
+ panSetting.Back = ColorTranslator.FromHtml("#56a3f2");
+ }
+ private void LeaveSetting()
+ {
+ panSetting.Back = Color.Transparent;
+ }
+ private void SelectSetting()
+ {
+ // 移除所有按钮的选中样式
+ this.ClearAllMenuSelected();
+
+ // 鼠标移入效果去掉
+ LeaveSetting();
+
+ // 重新设置所有按钮的状态
+ this.menuSelected = new bool[] { false, false, false, false, false, false, true };
+
+ // 将新选中的按钮设置为选中
+ this.picIconSetting.BackgroundImage = (Bitmap)Resources.ResourceManager.GetObject("icon_setting_selected", null);
+ this.labSettingText.ForeColor = ColorTranslator.FromHtml("#3f84d7");
+ this.labSettingSelected.BackColor = ColorTranslator.FromHtml("#3f84d7");
+
+ // 切换到设置的界面
+ switchMainPanel(6);
}
#endregion
@@ -123,22 +292,13 @@
private void RbFreqStdMeas_Load(object sender, EventArgs e)
{
- this.menuPics = new PictureBox[] { this.picIconHome, this.picIconStatus };
- this.menuLabels = new Label[] { this.labHomeText, this.labStatusText };
- this.menuUnderlines = new Label[] { this.labHomeSelected, this.labStatusSelected };
- this.menuIconResources = new string[] { "icon_home", "icon_status" };
- }
+ this.menuPics = new PictureBox[] { this.picIconHome, this.picIconStatus, this.picIconDev, this.picIconCounter, this.picIconMeasure, this.picIconData, this.picIconSetting };
+ this.menuLabels = new Label[] { this.labHomeText, this.labStatusText, this.labDevText, this.labCounterText, this.labMeasureText, this.labDataText, this.labSettingText };
+ this.menuUnderlines = new Label[] { this.labHomeSelected, this.labStatusSelected, this.labDevSelected, this.labCounterSelected, this.labMeasureSelected, this.labDataSelected, this.labSettingSelected };
+ this.menuIconResources = new string[] { "icon_home", "icon_status", "icon_dev", "icon_counter", "icon_measure", "icon_data", "icon_setting" };
- private void btnExitSys_Click(object sender, EventArgs e)
- {
- Application.Exit();
- }
-
- private void btnExitSys_MouseHover(object sender, EventArgs e)
- {
- ToolTip p = new ToolTip();
- p.ShowAlways = true;
- p.SetToolTip(this.btnExitSys, "退出");
+ // 加载首页的内容
+ switchMainPanel(0);
}
private void panHome_Click(object sender, EventArgs e)
@@ -191,5 +351,169 @@
LeaveStatus();
}
}
+
+ private void panDev_Click(object sender, EventArgs e)
+ {
+ if (this.menuSelected[2] == false)
+ {
+ SelectDev();
+ }
+ }
+
+ private void panDev_MouseHover(object sender, EventArgs e)
+ {
+ if (this.menuSelected[2] == false)
+ {
+ HoverDev();
+ }
+ }
+
+ private void panDev_MouseLeave(object sender, EventArgs e)
+ {
+ if (this.menuSelected[2] == false)
+ {
+ LeaveDev();
+ }
+ }
+
+ private void panCounter_Click(object sender, EventArgs e)
+ {
+ if (this.menuSelected[3] == false)
+ {
+ SelectCounter();
+ }
+ }
+
+ private void panCounter_MouseHover(object sender, EventArgs e)
+ {
+ if (this.menuSelected[3] == false)
+ {
+ HoverCounter();
+ }
+ }
+
+ private void panCounter_MouseLeave(object sender, EventArgs e)
+ {
+ if (this.menuSelected[3] == false)
+ {
+ LeaveCounter();
+ }
+ }
+
+ private void panMeasure_Click(object sender, EventArgs e)
+ {
+ if (this.menuSelected[4] == false)
+ {
+ SelectMeasure();
+ }
+ }
+
+ private void panMeasure_MouseHover(object sender, EventArgs e)
+ {
+ if (this.menuSelected[4] == false)
+ {
+ HoverMeasure();
+ }
+ }
+
+ private void panMeasure_MouseLeave(object sender, EventArgs e)
+ {
+ if (this.menuSelected[4] == false)
+ {
+ LeaveMeasure();
+ }
+ }
+
+ private void panData_Click(object sender, EventArgs e)
+ {
+ if (this.menuSelected[5] == false)
+ {
+ SelectData();
+ }
+ }
+
+ private void panData_MouseHover(object sender, EventArgs e)
+ {
+ if (this.menuSelected[5] == false)
+ {
+ HoverData();
+ }
+ }
+
+ private void panData_MouseLeave(object sender, EventArgs e)
+ {
+ if (this.menuSelected[5] == false)
+ {
+ LeaveData();
+ }
+ }
+
+ private void panSetting_Click(object sender, EventArgs e)
+ {
+ if (this.menuSelected[6] == false)
+ {
+ SelectSetting();
+ }
+ }
+
+ private void panSetting_MouseHover(object sender, EventArgs e)
+ {
+ if (this.menuSelected[6] == false)
+ {
+ HoverSetting();
+ }
+ }
+
+ private void panSetting_MouseLeave(object sender, EventArgs e)
+ {
+ if (this.menuSelected[6] == false)
+ {
+ LeaveSetting();
+ }
+ }
+
+ private void switchMainPanel(int index)
+ {
+ this.panelMain.Controls.Clear();
+
+ switch (index)
+ {
+ case 0: // 首页
+ HomeCtrlForm home = new HomeCtrlForm();
+ home.Show();
+ this.panelMain.Controls.Add(home);
+ break;
+
+ case 1: // 基准状态
+ StatusCtrlForm statusForm = new StatusCtrlForm();
+ statusForm.Show();
+ this.panelMain.Controls.Add(statusForm);
+ break;
+
+ case 2: // 待检设备
+ InfoCtrlForm infoForm = new InfoCtrlForm();
+ infoForm.Show();
+ this.panelMain.Controls.Add(infoForm);
+ break;
+
+ case 3: // 频率计数器范围
+ break;
+
+ case 4: // 计量信息
+ DevTestedCtrlForm tested = new DevTestedCtrlForm();
+ tested.Show();
+ this.panelMain.Controls.Add(tested);
+ break;
+
+ case 6: // 设置
+ SettingCtrlForm settingForm = new SettingCtrlForm();
+ settingForm.Show();
+ this.panelMain.Controls.Add(settingForm);
+ break;
+
+ default:
+ break;
+ }
+ }
}
}
\ No newline at end of file
diff --git a/RbFreqStandMeasure/StatusCtrlForm.Designer.cs b/RbFreqStandMeasure/StatusCtrlForm.Designer.cs
index bf5071a..b4151fd 100644
--- a/RbFreqStandMeasure/StatusCtrlForm.Designer.cs
+++ b/RbFreqStandMeasure/StatusCtrlForm.Designer.cs
@@ -31,21 +31,34 @@
{
this.panelSite = new System.Windows.Forms.Panel();
this.label5 = new System.Windows.Forms.Label();
- this.panelStatus = new System.Windows.Forms.Panel();
+ this.panel3 = new System.Windows.Forms.Panel();
+ this.label8 = new System.Windows.Forms.Label();
+ this.label13 = new System.Windows.Forms.Label();
+ this.label12 = new System.Windows.Forms.Label();
+ this.label11 = new System.Windows.Forms.Label();
+ this.label9 = new System.Windows.Forms.Label();
+ this.label10 = new System.Windows.Forms.Label();
+ this.panel2 = new System.Windows.Forms.Panel();
this.label4 = new System.Windows.Forms.Label();
+ this.label7 = new System.Windows.Forms.Label();
+ this.label6 = new System.Windows.Forms.Label();
+ this.label1 = new System.Windows.Forms.Label();
+ this.panel1 = new System.Windows.Forms.Panel();
this.label3 = new System.Windows.Forms.Label();
this.label2 = new System.Windows.Forms.Label();
- this.label1 = new System.Windows.Forms.Label();
+ this.label14 = new System.Windows.Forms.Label();
this.panelSite.SuspendLayout();
- this.panelStatus.SuspendLayout();
+ this.panel3.SuspendLayout();
+ this.panel2.SuspendLayout();
+ this.panel1.SuspendLayout();
this.SuspendLayout();
//
// panelSite
//
this.panelSite.Controls.Add(this.label5);
- this.panelSite.Location = new System.Drawing.Point(200, 0);
+ this.panelSite.Location = new System.Drawing.Point(232, 0);
this.panelSite.Name = "panelSite";
- this.panelSite.Size = new System.Drawing.Size(800, 640);
+ this.panelSite.Size = new System.Drawing.Size(773, 640);
this.panelSite.TabIndex = 3;
//
// label5
@@ -57,67 +70,208 @@
this.label5.TabIndex = 0;
this.label5.Text = "卫星位置图";
//
- // panelStatus
+ // panel3
//
- this.panelStatus.BackColor = System.Drawing.SystemColors.Window;
- this.panelStatus.Controls.Add(this.label4);
- this.panelStatus.Controls.Add(this.label3);
- this.panelStatus.Controls.Add(this.label2);
- this.panelStatus.Controls.Add(this.label1);
- this.panelStatus.Location = new System.Drawing.Point(0, 0);
- this.panelStatus.Name = "panelStatus";
- this.panelStatus.Size = new System.Drawing.Size(200, 640);
- this.panelStatus.TabIndex = 2;
+ this.panel3.BackgroundImage = global::Casic.Birmm.RbFreqStandMeasure.Properties.Resources.bg_status_location;
+ this.panel3.Controls.Add(this.label8);
+ this.panel3.Controls.Add(this.label13);
+ this.panel3.Controls.Add(this.label12);
+ this.panel3.Controls.Add(this.label11);
+ this.panel3.Controls.Add(this.label9);
+ this.panel3.Controls.Add(this.label10);
+ this.panel3.Location = new System.Drawing.Point(6, 360);
+ this.panel3.Name = "panel3";
+ this.panel3.Size = new System.Drawing.Size(224, 293);
+ this.panel3.TabIndex = 6;
+ //
+ // label8
+ //
+ this.label8.BackColor = System.Drawing.Color.Transparent;
+ this.label8.Font = new System.Drawing.Font("微软雅黑", 14F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Pixel, ((byte)(134)));
+ this.label8.Location = new System.Drawing.Point(0, 20);
+ this.label8.Name = "label8";
+ this.label8.Size = new System.Drawing.Size(224, 25);
+ this.label8.TabIndex = 0;
+ this.label8.Text = "位置信息";
+ this.label8.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
+ //
+ // label13
+ //
+ this.label13.BackColor = System.Drawing.Color.Transparent;
+ this.label13.Font = new System.Drawing.Font("微软雅黑", 14F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Pixel, ((byte)(134)));
+ this.label13.Location = new System.Drawing.Point(0, 220);
+ this.label13.Margin = new System.Windows.Forms.Padding(0);
+ this.label13.Name = "label13";
+ this.label13.Size = new System.Drawing.Size(75, 25);
+ this.label13.TabIndex = 1;
+ this.label13.Text = "Z";
+ this.label13.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
+ //
+ // label12
+ //
+ this.label12.BackColor = System.Drawing.Color.Transparent;
+ this.label12.Font = new System.Drawing.Font("微软雅黑", 14F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Pixel, ((byte)(134)));
+ this.label12.Location = new System.Drawing.Point(0, 180);
+ this.label12.Margin = new System.Windows.Forms.Padding(0);
+ this.label12.Name = "label12";
+ this.label12.Size = new System.Drawing.Size(75, 25);
+ this.label12.TabIndex = 1;
+ this.label12.Text = "Y";
+ this.label12.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
+ //
+ // label11
+ //
+ this.label11.BackColor = System.Drawing.Color.Transparent;
+ this.label11.Font = new System.Drawing.Font("微软雅黑", 14F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Pixel, ((byte)(134)));
+ this.label11.Location = new System.Drawing.Point(0, 140);
+ this.label11.Margin = new System.Windows.Forms.Padding(0);
+ this.label11.Name = "label11";
+ this.label11.Size = new System.Drawing.Size(75, 25);
+ this.label11.TabIndex = 1;
+ this.label11.Text = "X";
+ this.label11.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
+ //
+ // label9
+ //
+ this.label9.BackColor = System.Drawing.Color.Transparent;
+ this.label9.Font = new System.Drawing.Font("微软雅黑", 14F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Pixel, ((byte)(134)));
+ this.label9.Location = new System.Drawing.Point(0, 60);
+ this.label9.Name = "label9";
+ this.label9.Size = new System.Drawing.Size(75, 25);
+ this.label9.TabIndex = 1;
+ this.label9.Text = "经度";
+ this.label9.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
+ //
+ // label10
+ //
+ this.label10.BackColor = System.Drawing.Color.Transparent;
+ this.label10.Font = new System.Drawing.Font("微软雅黑", 14F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Pixel, ((byte)(134)));
+ this.label10.Location = new System.Drawing.Point(0, 100);
+ this.label10.Margin = new System.Windows.Forms.Padding(0);
+ this.label10.Name = "label10";
+ this.label10.Size = new System.Drawing.Size(75, 25);
+ this.label10.TabIndex = 1;
+ this.label10.Text = "纬度";
+ this.label10.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
+ //
+ // panel2
+ //
+ this.panel2.BackgroundImage = global::Casic.Birmm.RbFreqStandMeasure.Properties.Resources.bg_status_time;
+ this.panel2.Controls.Add(this.label4);
+ this.panel2.Controls.Add(this.label7);
+ this.panel2.Controls.Add(this.label6);
+ this.panel2.Controls.Add(this.label1);
+ this.panel2.Location = new System.Drawing.Point(6, 160);
+ this.panel2.Name = "panel2";
+ this.panel2.Size = new System.Drawing.Size(224, 200);
+ this.panel2.TabIndex = 5;
//
// label4
//
- this.label4.AutoSize = true;
- this.label4.Location = new System.Drawing.Point(59, 185);
+ this.label4.BackColor = System.Drawing.Color.Transparent;
+ this.label4.Font = new System.Drawing.Font("微软雅黑", 14F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Pixel, ((byte)(134)));
+ this.label4.Location = new System.Drawing.Point(0, 20);
this.label4.Name = "label4";
- this.label4.Size = new System.Drawing.Size(53, 12);
+ this.label4.Size = new System.Drawing.Size(224, 25);
this.label4.TabIndex = 0;
- this.label4.Text = "事件信息";
+ this.label4.Text = "时间信息";
+ this.label4.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
//
- // label3
+ // label7
//
- this.label3.AutoSize = true;
- this.label3.Location = new System.Drawing.Point(59, 139);
- this.label3.Name = "label3";
- this.label3.Size = new System.Drawing.Size(53, 12);
- this.label3.TabIndex = 0;
- this.label3.Text = "位置信息";
+ this.label7.BackColor = System.Drawing.Color.Transparent;
+ this.label7.Font = new System.Drawing.Font("微软雅黑", 14F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Pixel, ((byte)(134)));
+ this.label7.Location = new System.Drawing.Point(0, 140);
+ this.label7.Margin = new System.Windows.Forms.Padding(0);
+ this.label7.Name = "label7";
+ this.label7.Size = new System.Drawing.Size(75, 25);
+ this.label7.TabIndex = 1;
+ this.label7.Text = "MJD";
+ this.label7.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
//
- // label2
+ // label6
//
- this.label2.AutoSize = true;
- this.label2.Location = new System.Drawing.Point(59, 98);
- this.label2.Name = "label2";
- this.label2.Size = new System.Drawing.Size(53, 12);
- this.label2.TabIndex = 0;
- this.label2.Text = "锁定状态";
+ this.label6.BackColor = System.Drawing.Color.Transparent;
+ this.label6.Font = new System.Drawing.Font("微软雅黑", 14F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Pixel, ((byte)(134)));
+ this.label6.Location = new System.Drawing.Point(0, 100);
+ this.label6.Name = "label6";
+ this.label6.Size = new System.Drawing.Size(75, 25);
+ this.label6.TabIndex = 1;
+ this.label6.Text = "时间";
+ this.label6.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
//
// label1
//
- this.label1.AutoSize = true;
- this.label1.Location = new System.Drawing.Point(33, 53);
+ this.label1.BackColor = System.Drawing.Color.Transparent;
+ this.label1.Font = new System.Drawing.Font("微软雅黑", 14F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Pixel, ((byte)(134)));
+ this.label1.Location = new System.Drawing.Point(0, 60);
this.label1.Name = "label1";
- this.label1.Size = new System.Drawing.Size(29, 12);
- this.label1.TabIndex = 0;
- this.label1.Text = "状态";
+ this.label1.Size = new System.Drawing.Size(75, 25);
+ this.label1.TabIndex = 1;
+ this.label1.Text = "日期";
+ this.label1.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
+ //
+ // panel1
+ //
+ this.panel1.BackgroundImage = global::Casic.Birmm.RbFreqStandMeasure.Properties.Resources.bg_status_base;
+ this.panel1.Controls.Add(this.label3);
+ this.panel1.Controls.Add(this.label2);
+ this.panel1.Controls.Add(this.label14);
+ this.panel1.Location = new System.Drawing.Point(6, 0);
+ this.panel1.Margin = new System.Windows.Forms.Padding(0);
+ this.panel1.Name = "panel1";
+ this.panel1.Size = new System.Drawing.Size(224, 160);
+ this.panel1.TabIndex = 4;
+ //
+ // label3
+ //
+ this.label3.BackColor = System.Drawing.Color.Transparent;
+ this.label3.Font = new System.Drawing.Font("微软雅黑", 14F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Pixel, ((byte)(134)));
+ this.label3.Location = new System.Drawing.Point(0, 100);
+ this.label3.Name = "label3";
+ this.label3.Size = new System.Drawing.Size(75, 25);
+ this.label3.TabIndex = 1;
+ this.label3.Text = "接收机";
+ this.label3.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
+ //
+ // label2
+ //
+ this.label2.BackColor = System.Drawing.Color.Transparent;
+ this.label2.Font = new System.Drawing.Font("微软雅黑", 14F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Pixel, ((byte)(134)));
+ this.label2.Location = new System.Drawing.Point(0, 60);
+ this.label2.Name = "label2";
+ this.label2.Size = new System.Drawing.Size(75, 25);
+ this.label2.TabIndex = 1;
+ this.label2.Text = "原子钟";
+ this.label2.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
+ //
+ // label14
+ //
+ this.label14.BackColor = System.Drawing.Color.Transparent;
+ this.label14.Font = new System.Drawing.Font("微软雅黑", 14F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Pixel, ((byte)(134)));
+ this.label14.Location = new System.Drawing.Point(0, 20);
+ this.label14.Name = "label14";
+ this.label14.Size = new System.Drawing.Size(224, 25);
+ this.label14.TabIndex = 0;
+ this.label14.Text = "基本信息";
+ this.label14.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
//
// StatusCtrlForm
//
this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 12F);
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
+ this.Controls.Add(this.panel3);
+ this.Controls.Add(this.panel2);
+ this.Controls.Add(this.panel1);
this.Controls.Add(this.panelSite);
- this.Controls.Add(this.panelStatus);
this.Margin = new System.Windows.Forms.Padding(10);
this.Name = "StatusCtrlForm";
- this.Size = new System.Drawing.Size(1000, 640);
+ this.Size = new System.Drawing.Size(1024, 654);
this.panelSite.ResumeLayout(false);
this.panelSite.PerformLayout();
- this.panelStatus.ResumeLayout(false);
- this.panelStatus.PerformLayout();
+ this.panel3.ResumeLayout(false);
+ this.panel2.ResumeLayout(false);
+ this.panel1.ResumeLayout(false);
this.ResumeLayout(false);
}
@@ -126,10 +280,21 @@
private System.Windows.Forms.Panel panelSite;
private System.Windows.Forms.Label label5;
- private System.Windows.Forms.Panel panelStatus;
+ private System.Windows.Forms.Panel panel3;
+ private System.Windows.Forms.Label label8;
+ private System.Windows.Forms.Label label13;
+ private System.Windows.Forms.Label label12;
+ private System.Windows.Forms.Label label11;
+ private System.Windows.Forms.Label label9;
+ private System.Windows.Forms.Label label10;
+ private System.Windows.Forms.Panel panel2;
private System.Windows.Forms.Label label4;
+ private System.Windows.Forms.Label label7;
+ private System.Windows.Forms.Label label6;
+ private System.Windows.Forms.Label label1;
+ private System.Windows.Forms.Panel panel1;
private System.Windows.Forms.Label label3;
private System.Windows.Forms.Label label2;
- private System.Windows.Forms.Label label1;
+ private System.Windows.Forms.Label label14;
}
}
diff --git a/RbFreqStandMeasure/res/images/bg_banner.png b/RbFreqStandMeasure/res/images/bg_banner.png
index d795b7d..3119070 100644
--- a/RbFreqStandMeasure/res/images/bg_banner.png
+++ b/RbFreqStandMeasure/res/images/bg_banner.png
Binary files differ
diff --git a/RbFreqStandMeasure/res/images/bg_dev_channel.png b/RbFreqStandMeasure/res/images/bg_dev_channel.png
new file mode 100644
index 0000000..7bac7ce
--- /dev/null
+++ b/RbFreqStandMeasure/res/images/bg_dev_channel.png
Binary files differ
diff --git a/RbFreqStandMeasure/res/images/bg_dev_tested.png b/RbFreqStandMeasure/res/images/bg_dev_tested.png
new file mode 100644
index 0000000..0b43ead
--- /dev/null
+++ b/RbFreqStandMeasure/res/images/bg_dev_tested.png
Binary files differ
diff --git a/RbFreqStandMeasure/res/images/bg_status_base.png b/RbFreqStandMeasure/res/images/bg_status_base.png
new file mode 100644
index 0000000..ef11397
--- /dev/null
+++ b/RbFreqStandMeasure/res/images/bg_status_base.png
Binary files differ
diff --git a/RbFreqStandMeasure/res/images/bg_status_location.png b/RbFreqStandMeasure/res/images/bg_status_location.png
new file mode 100644
index 0000000..64d28d5
--- /dev/null
+++ b/RbFreqStandMeasure/res/images/bg_status_location.png
Binary files differ
diff --git a/RbFreqStandMeasure/res/images/bg_status_time.png b/RbFreqStandMeasure/res/images/bg_status_time.png
new file mode 100644
index 0000000..eec981a
--- /dev/null
+++ b/RbFreqStandMeasure/res/images/bg_status_time.png
Binary files differ
diff --git a/RbFreqStandMeasure/res/images/icon_counter.png b/RbFreqStandMeasure/res/images/icon_counter.png
new file mode 100644
index 0000000..060c3d7
--- /dev/null
+++ b/RbFreqStandMeasure/res/images/icon_counter.png
Binary files differ
diff --git a/RbFreqStandMeasure/res/images/icon_counter_selected.png b/RbFreqStandMeasure/res/images/icon_counter_selected.png
new file mode 100644
index 0000000..45c7720
--- /dev/null
+++ b/RbFreqStandMeasure/res/images/icon_counter_selected.png
Binary files differ
diff --git a/RbFreqStandMeasure/res/images/icon_data.png b/RbFreqStandMeasure/res/images/icon_data.png
new file mode 100644
index 0000000..bf03575
--- /dev/null
+++ b/RbFreqStandMeasure/res/images/icon_data.png
Binary files differ
diff --git a/RbFreqStandMeasure/res/images/icon_data_selected.png b/RbFreqStandMeasure/res/images/icon_data_selected.png
new file mode 100644
index 0000000..a8aa441
--- /dev/null
+++ b/RbFreqStandMeasure/res/images/icon_data_selected.png
Binary files differ
diff --git a/RbFreqStandMeasure/HomeCtrlForm.Designer.cs b/RbFreqStandMeasure/HomeCtrlForm.Designer.cs
index fb515f8..73e477a 100644
--- a/RbFreqStandMeasure/HomeCtrlForm.Designer.cs
+++ b/RbFreqStandMeasure/HomeCtrlForm.Designer.cs
@@ -29,589 +29,271 @@
///
private void InitializeComponent()
{
- System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle1 = new System.Windows.Forms.DataGridViewCellStyle();
- System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle2 = new System.Windows.Forms.DataGridViewCellStyle();
- this.panelToBeTested = new System.Windows.Forms.Panel();
- this.dataGridViewX1 = new DevComponents.DotNetBar.Controls.DataGridViewX();
- this.Column13 = new System.Windows.Forms.DataGridViewTextBoxColumn();
- this.Column14 = new System.Windows.Forms.DataGridViewTextBoxColumn();
- this.Column15 = new System.Windows.Forms.DataGridViewTextBoxColumn();
- this.Column16 = new System.Windows.Forms.DataGridViewTextBoxColumn();
- this.Column17 = new System.Windows.Forms.DataGridViewTextBoxColumn();
- this.panelEx1 = new DevComponents.DotNetBar.PanelEx();
- this.labelX6 = new DevComponents.DotNetBar.LabelX();
- this.labelX5 = new DevComponents.DotNetBar.LabelX();
- this.labelX4 = new DevComponents.DotNetBar.LabelX();
- this.labelX3 = new DevComponents.DotNetBar.LabelX();
- this.labelX2 = new DevComponents.DotNetBar.LabelX();
- this.labelX1 = new DevComponents.DotNetBar.LabelX();
- this.panelEx2 = new DevComponents.DotNetBar.PanelEx();
- this.labelX7 = new DevComponents.DotNetBar.LabelX();
- this.labelX8 = new DevComponents.DotNetBar.LabelX();
- this.labelX10 = new DevComponents.DotNetBar.LabelX();
- this.labelX9 = new DevComponents.DotNetBar.LabelX();
- this.panelEx3 = new DevComponents.DotNetBar.PanelEx();
- this.labelX11 = new DevComponents.DotNetBar.LabelX();
- this.labelX13 = new DevComponents.DotNetBar.LabelX();
- this.labelX12 = new DevComponents.DotNetBar.LabelX();
- this.panelEx4 = new DevComponents.DotNetBar.PanelEx();
- this.dataGridViewX2 = new DevComponents.DotNetBar.Controls.DataGridViewX();
- this.Column18 = new System.Windows.Forms.DataGridViewTextBoxColumn();
- this.Column19 = new System.Windows.Forms.DataGridViewTextBoxColumn();
- this.Column20 = new System.Windows.Forms.DataGridViewTextBoxColumn();
- this.Column21 = new System.Windows.Forms.DataGridViewTextBoxColumn();
- this.Column22 = new System.Windows.Forms.DataGridViewTextBoxColumn();
- this.Column23 = new System.Windows.Forms.DataGridViewTextBoxColumn();
- this.Column24 = new System.Windows.Forms.DataGridViewTextBoxColumn();
- this.Column25 = new System.Windows.Forms.DataGridViewTextBoxColumn();
- this.Column26 = new System.Windows.Forms.DataGridViewTextBoxColumn();
- this.Column27 = new System.Windows.Forms.DataGridViewTextBoxColumn();
- this.Column28 = new System.Windows.Forms.DataGridViewTextBoxColumn();
- this.Column29 = new System.Windows.Forms.DataGridViewTextBoxColumn();
- this.buttonX1 = new DevComponents.DotNetBar.ButtonX();
- this.buttonX2 = new DevComponents.DotNetBar.ButtonX();
+ this.panel3 = new System.Windows.Forms.Panel();
+ this.panel2 = new System.Windows.Forms.Panel();
+ this.panel1 = new System.Windows.Forms.Panel();
+ this.panel4 = new System.Windows.Forms.Panel();
+ this.panel5 = new System.Windows.Forms.Panel();
this.label1 = new System.Windows.Forms.Label();
this.label2 = new System.Windows.Forms.Label();
- this.panelToBeTested.SuspendLayout();
- ((System.ComponentModel.ISupportInitialize)(this.dataGridViewX1)).BeginInit();
- this.panelEx1.SuspendLayout();
- this.panelEx2.SuspendLayout();
- this.panelEx3.SuspendLayout();
- this.panelEx4.SuspendLayout();
- ((System.ComponentModel.ISupportInitialize)(this.dataGridViewX2)).BeginInit();
+ this.label3 = new System.Windows.Forms.Label();
+ this.label4 = new System.Windows.Forms.Label();
+ this.label5 = new System.Windows.Forms.Label();
+ this.label6 = new System.Windows.Forms.Label();
+ this.label7 = new System.Windows.Forms.Label();
+ this.label8 = new System.Windows.Forms.Label();
+ this.label9 = new System.Windows.Forms.Label();
+ this.label10 = new System.Windows.Forms.Label();
+ this.label11 = new System.Windows.Forms.Label();
+ this.label12 = new System.Windows.Forms.Label();
+ this.label13 = new System.Windows.Forms.Label();
+ this.panel3.SuspendLayout();
+ this.panel2.SuspendLayout();
+ this.panel1.SuspendLayout();
this.SuspendLayout();
//
- // panelToBeTested
+ // panel3
//
- this.panelToBeTested.Controls.Add(this.dataGridViewX1);
- this.panelToBeTested.Controls.Add(this.buttonX2);
- this.panelToBeTested.Controls.Add(this.buttonX1);
- this.panelToBeTested.Location = new System.Drawing.Point(250, 0);
- this.panelToBeTested.Name = "panelToBeTested";
- this.panelToBeTested.Size = new System.Drawing.Size(750, 216);
- this.panelToBeTested.TabIndex = 4;
+ this.panel3.BackgroundImage = global::Casic.Birmm.RbFreqStandMeasure.Properties.Resources.bg_status_location;
+ this.panel3.Controls.Add(this.label8);
+ this.panel3.Controls.Add(this.label13);
+ this.panel3.Controls.Add(this.label12);
+ this.panel3.Controls.Add(this.label11);
+ this.panel3.Controls.Add(this.label9);
+ this.panel3.Controls.Add(this.label10);
+ this.panel3.Location = new System.Drawing.Point(6, 360);
+ this.panel3.Name = "panel3";
+ this.panel3.Size = new System.Drawing.Size(224, 293);
+ this.panel3.TabIndex = 2;
//
- // dataGridViewX1
+ // panel2
//
- this.dataGridViewX1.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.AutoSize;
- this.dataGridViewX1.Columns.AddRange(new System.Windows.Forms.DataGridViewColumn[] {
- this.Column13,
- this.Column14,
- this.Column15,
- this.Column16,
- this.Column17});
- dataGridViewCellStyle1.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleLeft;
- dataGridViewCellStyle1.BackColor = System.Drawing.SystemColors.Window;
- dataGridViewCellStyle1.Font = new System.Drawing.Font("宋体", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
- dataGridViewCellStyle1.ForeColor = System.Drawing.SystemColors.ControlText;
- dataGridViewCellStyle1.SelectionBackColor = System.Drawing.SystemColors.Highlight;
- dataGridViewCellStyle1.SelectionForeColor = System.Drawing.SystemColors.ControlText;
- dataGridViewCellStyle1.WrapMode = System.Windows.Forms.DataGridViewTriState.False;
- this.dataGridViewX1.DefaultCellStyle = dataGridViewCellStyle1;
- this.dataGridViewX1.GridColor = System.Drawing.Color.FromArgb(((int)(((byte)(208)))), ((int)(((byte)(215)))), ((int)(((byte)(229)))));
- this.dataGridViewX1.Location = new System.Drawing.Point(0, 1);
- this.dataGridViewX1.Name = "dataGridViewX1";
- this.dataGridViewX1.RowTemplate.Height = 23;
- this.dataGridViewX1.Size = new System.Drawing.Size(750, 179);
- this.dataGridViewX1.TabIndex = 14;
+ this.panel2.BackgroundImage = global::Casic.Birmm.RbFreqStandMeasure.Properties.Resources.bg_status_time;
+ this.panel2.Controls.Add(this.label4);
+ this.panel2.Controls.Add(this.label7);
+ this.panel2.Controls.Add(this.label6);
+ this.panel2.Controls.Add(this.label5);
+ this.panel2.Location = new System.Drawing.Point(6, 160);
+ this.panel2.Name = "panel2";
+ this.panel2.Size = new System.Drawing.Size(224, 200);
+ this.panel2.TabIndex = 1;
//
- // Column13
+ // panel1
//
- this.Column13.HeaderText = "仪器名称";
- this.Column13.Name = "Column13";
+ this.panel1.BackgroundImage = global::Casic.Birmm.RbFreqStandMeasure.Properties.Resources.bg_status_base;
+ this.panel1.Controls.Add(this.label3);
+ this.panel1.Controls.Add(this.label2);
+ this.panel1.Controls.Add(this.label1);
+ this.panel1.Location = new System.Drawing.Point(6, 0);
+ this.panel1.Margin = new System.Windows.Forms.Padding(0);
+ this.panel1.Name = "panel1";
+ this.panel1.Size = new System.Drawing.Size(224, 160);
+ this.panel1.TabIndex = 0;
//
- // Column14
+ // panel4
//
- this.Column14.HeaderText = "仪器类型";
- this.Column14.Name = "Column14";
+ this.panel4.BackgroundImage = global::Casic.Birmm.RbFreqStandMeasure.Properties.Resources.bg_dev_tested;
+ this.panel4.Location = new System.Drawing.Point(230, 0);
+ this.panel4.Margin = new System.Windows.Forms.Padding(0);
+ this.panel4.Name = "panel4";
+ this.panel4.Size = new System.Drawing.Size(788, 226);
+ this.panel4.TabIndex = 3;
//
- // Column15
+ // panel5
//
- this.Column15.HeaderText = "仪器编号";
- this.Column15.Name = "Column15";
- //
- // Column16
- //
- this.Column16.HeaderText = "客户名称";
- this.Column16.Name = "Column16";
- //
- // Column17
- //
- this.Column17.HeaderText = "开始时间";
- this.Column17.Name = "Column17";
- //
- // panelEx1
- //
- this.panelEx1.CanvasColor = System.Drawing.SystemColors.Control;
- this.panelEx1.ColorSchemeStyle = DevComponents.DotNetBar.eDotNetBarStyle.StyleManagerControlled;
- this.panelEx1.Controls.Add(this.labelX6);
- this.panelEx1.Controls.Add(this.labelX5);
- this.panelEx1.Controls.Add(this.labelX4);
- this.panelEx1.Controls.Add(this.labelX3);
- this.panelEx1.Controls.Add(this.labelX2);
- this.panelEx1.Controls.Add(this.labelX1);
- this.panelEx1.DisabledBackColor = System.Drawing.Color.Empty;
- this.panelEx1.Location = new System.Drawing.Point(25, 376);
- this.panelEx1.Name = "panelEx1";
- this.panelEx1.Size = new System.Drawing.Size(200, 200);
- this.panelEx1.Style.Alignment = System.Drawing.StringAlignment.Center;
- this.panelEx1.Style.BackColor1.ColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelBackground;
- this.panelEx1.Style.BackColor2.ColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelBackground2;
- this.panelEx1.Style.Border = DevComponents.DotNetBar.eBorderType.SingleLine;
- this.panelEx1.Style.BorderColor.ColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelBorder;
- this.panelEx1.Style.ForeColor.ColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelText;
- this.panelEx1.Style.GradientAngle = 90;
- this.panelEx1.TabIndex = 10;
- //
- // labelX6
- //
- //
- //
- //
- this.labelX6.BackgroundStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square;
- this.labelX6.Location = new System.Drawing.Point(3, 153);
- this.labelX6.Name = "labelX6";
- this.labelX6.Size = new System.Drawing.Size(75, 23);
- this.labelX6.Style = DevComponents.DotNetBar.eDotNetBarStyle.Office2013;
- this.labelX6.TabIndex = 0;
- this.labelX6.Text = "Z";
- this.labelX6.TextAlignment = System.Drawing.StringAlignment.Center;
- //
- // labelX5
- //
- //
- //
- //
- this.labelX5.BackgroundStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square;
- this.labelX5.Location = new System.Drawing.Point(3, 124);
- this.labelX5.Name = "labelX5";
- this.labelX5.Size = new System.Drawing.Size(75, 23);
- this.labelX5.Style = DevComponents.DotNetBar.eDotNetBarStyle.Office2013;
- this.labelX5.TabIndex = 0;
- this.labelX5.Text = "Y";
- this.labelX5.TextAlignment = System.Drawing.StringAlignment.Center;
- //
- // labelX4
- //
- //
- //
- //
- this.labelX4.BackgroundStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square;
- this.labelX4.Location = new System.Drawing.Point(3, 95);
- this.labelX4.Name = "labelX4";
- this.labelX4.Size = new System.Drawing.Size(75, 23);
- this.labelX4.Style = DevComponents.DotNetBar.eDotNetBarStyle.Office2013;
- this.labelX4.TabIndex = 0;
- this.labelX4.Text = "X";
- this.labelX4.TextAlignment = System.Drawing.StringAlignment.Center;
- //
- // labelX3
- //
- //
- //
- //
- this.labelX3.BackgroundStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square;
- this.labelX3.Location = new System.Drawing.Point(3, 66);
- this.labelX3.Name = "labelX3";
- this.labelX3.Size = new System.Drawing.Size(75, 23);
- this.labelX3.Style = DevComponents.DotNetBar.eDotNetBarStyle.Office2013;
- this.labelX3.TabIndex = 0;
- this.labelX3.Text = "纬度";
- this.labelX3.TextAlignment = System.Drawing.StringAlignment.Center;
- //
- // labelX2
- //
- //
- //
- //
- this.labelX2.BackgroundStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square;
- this.labelX2.Location = new System.Drawing.Point(3, 37);
- this.labelX2.Name = "labelX2";
- this.labelX2.Size = new System.Drawing.Size(75, 23);
- this.labelX2.Style = DevComponents.DotNetBar.eDotNetBarStyle.Office2013;
- this.labelX2.TabIndex = 0;
- this.labelX2.Text = "经度";
- this.labelX2.TextAlignment = System.Drawing.StringAlignment.Center;
- //
- // labelX1
- //
- //
- //
- //
- this.labelX1.BackgroundStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square;
- this.labelX1.Location = new System.Drawing.Point(3, 3);
- this.labelX1.Name = "labelX1";
- this.labelX1.Size = new System.Drawing.Size(194, 23);
- this.labelX1.Style = DevComponents.DotNetBar.eDotNetBarStyle.Office2013;
- this.labelX1.TabIndex = 0;
- this.labelX1.Text = "位置信息";
- this.labelX1.TextAlignment = System.Drawing.StringAlignment.Center;
- //
- // panelEx2
- //
- this.panelEx2.CanvasColor = System.Drawing.SystemColors.Control;
- this.panelEx2.ColorSchemeStyle = DevComponents.DotNetBar.eDotNetBarStyle.StyleManagerControlled;
- this.panelEx2.Controls.Add(this.labelX7);
- this.panelEx2.Controls.Add(this.labelX8);
- this.panelEx2.Controls.Add(this.labelX10);
- this.panelEx2.Controls.Add(this.labelX9);
- this.panelEx2.DisabledBackColor = System.Drawing.Color.Empty;
- this.panelEx2.Location = new System.Drawing.Point(25, 190);
- this.panelEx2.Name = "panelEx2";
- this.panelEx2.Size = new System.Drawing.Size(200, 150);
- this.panelEx2.Style.Alignment = System.Drawing.StringAlignment.Center;
- this.panelEx2.Style.BackColor1.ColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelBackground;
- this.panelEx2.Style.BackColor2.ColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelBackground2;
- this.panelEx2.Style.Border = DevComponents.DotNetBar.eBorderType.SingleLine;
- this.panelEx2.Style.BorderColor.ColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelBorder;
- this.panelEx2.Style.ForeColor.ColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelText;
- this.panelEx2.Style.GradientAngle = 90;
- this.panelEx2.TabIndex = 10;
- //
- // labelX7
- //
- //
- //
- //
- this.labelX7.BackgroundStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square;
- this.labelX7.Location = new System.Drawing.Point(3, 3);
- this.labelX7.Name = "labelX7";
- this.labelX7.Size = new System.Drawing.Size(194, 23);
- this.labelX7.Style = DevComponents.DotNetBar.eDotNetBarStyle.Office2013;
- this.labelX7.TabIndex = 0;
- this.labelX7.Text = "时间信息";
- this.labelX7.TextAlignment = System.Drawing.StringAlignment.Center;
- //
- // labelX8
- //
- //
- //
- //
- this.labelX8.BackgroundStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square;
- this.labelX8.Location = new System.Drawing.Point(3, 41);
- this.labelX8.Name = "labelX8";
- this.labelX8.Size = new System.Drawing.Size(75, 23);
- this.labelX8.Style = DevComponents.DotNetBar.eDotNetBarStyle.Office2013;
- this.labelX8.TabIndex = 0;
- this.labelX8.Text = "日期";
- this.labelX8.TextAlignment = System.Drawing.StringAlignment.Center;
- //
- // labelX10
- //
- //
- //
- //
- this.labelX10.BackgroundStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square;
- this.labelX10.Location = new System.Drawing.Point(3, 99);
- this.labelX10.Name = "labelX10";
- this.labelX10.Size = new System.Drawing.Size(75, 23);
- this.labelX10.Style = DevComponents.DotNetBar.eDotNetBarStyle.Office2013;
- this.labelX10.TabIndex = 0;
- this.labelX10.Text = "MJD";
- this.labelX10.TextAlignment = System.Drawing.StringAlignment.Center;
- //
- // labelX9
- //
- //
- //
- //
- this.labelX9.BackgroundStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square;
- this.labelX9.Location = new System.Drawing.Point(3, 70);
- this.labelX9.Name = "labelX9";
- this.labelX9.Size = new System.Drawing.Size(75, 23);
- this.labelX9.Style = DevComponents.DotNetBar.eDotNetBarStyle.Office2013;
- this.labelX9.TabIndex = 0;
- this.labelX9.Text = "时间";
- this.labelX9.TextAlignment = System.Drawing.StringAlignment.Center;
- //
- // panelEx3
- //
- this.panelEx3.CanvasColor = System.Drawing.SystemColors.Control;
- this.panelEx3.ColorSchemeStyle = DevComponents.DotNetBar.eDotNetBarStyle.StyleManagerControlled;
- this.panelEx3.Controls.Add(this.labelX11);
- this.panelEx3.Controls.Add(this.labelX13);
- this.panelEx3.Controls.Add(this.labelX12);
- this.panelEx3.DisabledBackColor = System.Drawing.Color.Empty;
- this.panelEx3.Location = new System.Drawing.Point(25, 50);
- this.panelEx3.Name = "panelEx3";
- this.panelEx3.Size = new System.Drawing.Size(200, 100);
- this.panelEx3.Style.Alignment = System.Drawing.StringAlignment.Center;
- this.panelEx3.Style.BackColor1.ColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelBackground;
- this.panelEx3.Style.BackColor2.ColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelBackground2;
- this.panelEx3.Style.Border = DevComponents.DotNetBar.eBorderType.SingleLine;
- this.panelEx3.Style.BorderColor.ColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelBorder;
- this.panelEx3.Style.ForeColor.ColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelText;
- this.panelEx3.Style.GradientAngle = 90;
- this.panelEx3.TabIndex = 10;
- //
- // labelX11
- //
- //
- //
- //
- this.labelX11.BackgroundStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square;
- this.labelX11.Location = new System.Drawing.Point(3, 3);
- this.labelX11.Name = "labelX11";
- this.labelX11.Size = new System.Drawing.Size(194, 23);
- this.labelX11.Style = DevComponents.DotNetBar.eDotNetBarStyle.Office2013;
- this.labelX11.TabIndex = 0;
- this.labelX11.Text = "基本信息";
- this.labelX11.TextAlignment = System.Drawing.StringAlignment.Center;
- //
- // labelX13
- //
- //
- //
- //
- this.labelX13.BackgroundStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square;
- this.labelX13.Location = new System.Drawing.Point(3, 32);
- this.labelX13.Name = "labelX13";
- this.labelX13.Size = new System.Drawing.Size(75, 23);
- this.labelX13.Style = DevComponents.DotNetBar.eDotNetBarStyle.Office2013;
- this.labelX13.TabIndex = 0;
- this.labelX13.Text = "原子钟";
- this.labelX13.TextAlignment = System.Drawing.StringAlignment.Center;
- //
- // labelX12
- //
- //
- //
- //
- this.labelX12.BackgroundStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square;
- this.labelX12.Location = new System.Drawing.Point(3, 61);
- this.labelX12.Name = "labelX12";
- this.labelX12.Size = new System.Drawing.Size(75, 23);
- this.labelX12.Style = DevComponents.DotNetBar.eDotNetBarStyle.Office2013;
- this.labelX12.TabIndex = 0;
- this.labelX12.Text = "接收机";
- this.labelX12.TextAlignment = System.Drawing.StringAlignment.Center;
- //
- // panelEx4
- //
- this.panelEx4.CanvasColor = System.Drawing.SystemColors.Control;
- this.panelEx4.ColorSchemeStyle = DevComponents.DotNetBar.eDotNetBarStyle.StyleManagerControlled;
- this.panelEx4.Controls.Add(this.panelEx2);
- this.panelEx4.Controls.Add(this.panelEx1);
- this.panelEx4.Controls.Add(this.panelEx3);
- this.panelEx4.DisabledBackColor = System.Drawing.Color.Empty;
- this.panelEx4.Location = new System.Drawing.Point(0, 0);
- this.panelEx4.Name = "panelEx4";
- this.panelEx4.Size = new System.Drawing.Size(250, 640);
- this.panelEx4.Style.Alignment = System.Drawing.StringAlignment.Center;
- this.panelEx4.Style.BackColor1.ColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelBackground;
- this.panelEx4.Style.BackColor2.ColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelBackground2;
- this.panelEx4.Style.Border = DevComponents.DotNetBar.eBorderType.SingleLine;
- this.panelEx4.Style.BorderColor.ColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelBorder;
- this.panelEx4.Style.ForeColor.ColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelText;
- this.panelEx4.Style.GradientAngle = 90;
- this.panelEx4.TabIndex = 10;
- //
- // dataGridViewX2
- //
- this.dataGridViewX2.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.AutoSize;
- this.dataGridViewX2.Columns.AddRange(new System.Windows.Forms.DataGridViewColumn[] {
- this.Column18,
- this.Column19,
- this.Column20,
- this.Column21,
- this.Column22,
- this.Column23,
- this.Column24,
- this.Column25,
- this.Column26,
- this.Column27,
- this.Column28,
- this.Column29});
- dataGridViewCellStyle2.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleLeft;
- dataGridViewCellStyle2.BackColor = System.Drawing.SystemColors.Window;
- dataGridViewCellStyle2.Font = new System.Drawing.Font("宋体", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
- dataGridViewCellStyle2.ForeColor = System.Drawing.SystemColors.ControlText;
- dataGridViewCellStyle2.SelectionBackColor = System.Drawing.SystemColors.Highlight;
- dataGridViewCellStyle2.SelectionForeColor = System.Drawing.SystemColors.ControlText;
- dataGridViewCellStyle2.WrapMode = System.Windows.Forms.DataGridViewTriState.False;
- this.dataGridViewX2.DefaultCellStyle = dataGridViewCellStyle2;
- this.dataGridViewX2.GridColor = System.Drawing.Color.FromArgb(((int)(((byte)(208)))), ((int)(((byte)(215)))), ((int)(((byte)(229)))));
- this.dataGridViewX2.Location = new System.Drawing.Point(250, 216);
- this.dataGridViewX2.Name = "dataGridViewX2";
- this.dataGridViewX2.Size = new System.Drawing.Size(747, 424);
- this.dataGridViewX2.TabIndex = 15;
- //
- // Column18
- //
- this.Column18.HeaderText = "通道号";
- this.Column18.Name = "Column18";
- //
- // Column19
- //
- this.Column19.HeaderText = "当前状态";
- this.Column19.Name = "Column19";
- //
- // Column20
- //
- this.Column20.HeaderText = "仪器名称";
- this.Column20.Name = "Column20";
- //
- // Column21
- //
- this.Column21.HeaderText = "仪器编号";
- this.Column21.Name = "Column21";
- //
- // Column22
- //
- this.Column22.HeaderText = "客户名称";
- this.Column22.Name = "Column22";
- //
- // Column23
- //
- this.Column23.HeaderText = "开始时间";
- this.Column23.Name = "Column23";
- //
- // Column24
- //
- this.Column24.HeaderText = "结束时间";
- this.Column24.Name = "Column24";
- //
- // Column25
- //
- this.Column25.HeaderText = "频率稳定度";
- this.Column25.Name = "Column25";
- //
- // Column26
- //
- this.Column26.HeaderText = "频率准确度";
- this.Column26.Name = "Column26";
- //
- // Column27
- //
- this.Column27.HeaderText = "开机特性";
- this.Column27.Name = "Column27";
- //
- // Column28
- //
- this.Column28.HeaderText = "日老化率";
- this.Column28.Name = "Column28";
- //
- // Column29
- //
- this.Column29.HeaderText = "频率计数器范围及灵敏度";
- this.Column29.Name = "Column29";
- //
- // buttonX1
- //
- this.buttonX1.AccessibleRole = System.Windows.Forms.AccessibleRole.PushButton;
- this.buttonX1.BackColor = System.Drawing.Color.Transparent;
- this.buttonX1.ColorTable = DevComponents.DotNetBar.eButtonColor.OrangeWithBackground;
- this.buttonX1.Location = new System.Drawing.Point(663, 183);
- this.buttonX1.Name = "buttonX1";
- this.buttonX1.Size = new System.Drawing.Size(30, 23);
- this.buttonX1.Style = DevComponents.DotNetBar.eDotNetBarStyle.StyleManagerControlled;
- this.buttonX1.Symbol = "";
- this.buttonX1.SymbolColor = System.Drawing.Color.FromArgb(((int)(((byte)(64)))), ((int)(((byte)(64)))), ((int)(((byte)(64)))));
- this.buttonX1.SymbolSize = 8F;
- this.buttonX1.TabIndex = 19;
- //
- // buttonX2
- //
- this.buttonX2.AccessibleRole = System.Windows.Forms.AccessibleRole.PushButton;
- this.buttonX2.BackColor = System.Drawing.Color.Transparent;
- this.buttonX2.ColorTable = DevComponents.DotNetBar.eButtonColor.OrangeWithBackground;
- this.buttonX2.Location = new System.Drawing.Point(589, 184);
- this.buttonX2.Name = "buttonX2";
- this.buttonX2.Size = new System.Drawing.Size(30, 23);
- this.buttonX2.Style = DevComponents.DotNetBar.eDotNetBarStyle.StyleManagerControlled;
- this.buttonX2.Symbol = "";
- this.buttonX2.SymbolColor = System.Drawing.Color.FromArgb(((int)(((byte)(64)))), ((int)(((byte)(64)))), ((int)(((byte)(64)))));
- this.buttonX2.SymbolSize = 8F;
- this.buttonX2.TabIndex = 19;
+ this.panel5.BackgroundImage = global::Casic.Birmm.RbFreqStandMeasure.Properties.Resources.bg_dev_channel;
+ this.panel5.Location = new System.Drawing.Point(230, 226);
+ this.panel5.Name = "panel5";
+ this.panel5.Size = new System.Drawing.Size(788, 424);
+ this.panel5.TabIndex = 4;
//
// label1
//
this.label1.BackColor = System.Drawing.Color.Transparent;
- this.label1.Font = new System.Drawing.Font("Times New Roman", 9.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
- this.label1.Location = new System.Drawing.Point(880, 186);
- this.label1.Margin = new System.Windows.Forms.Padding(0);
+ this.label1.Font = new System.Drawing.Font("微软雅黑", 14F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Pixel, ((byte)(134)));
+ this.label1.Location = new System.Drawing.Point(0, 20);
this.label1.Name = "label1";
- this.label1.Size = new System.Drawing.Size(20, 20);
- this.label1.TabIndex = 20;
- this.label1.Text = "1";
+ this.label1.Size = new System.Drawing.Size(224, 25);
+ this.label1.TabIndex = 0;
+ this.label1.Text = "基本信息";
this.label1.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
//
// label2
//
this.label2.BackColor = System.Drawing.Color.Transparent;
- this.label2.Font = new System.Drawing.Font("Times New Roman", 9.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
- this.label2.Location = new System.Drawing.Point(636, 187);
- this.label2.Margin = new System.Windows.Forms.Padding(0);
+ this.label2.Font = new System.Drawing.Font("微软雅黑", 14F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Pixel, ((byte)(134)));
+ this.label2.Location = new System.Drawing.Point(0, 60);
this.label2.Name = "label2";
- this.label2.Size = new System.Drawing.Size(200, 20);
- this.label2.TabIndex = 20;
- this.label2.Text = "共150条,每页5条,共100页";
- this.label2.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
+ this.label2.Size = new System.Drawing.Size(75, 25);
+ this.label2.TabIndex = 1;
+ this.label2.Text = "原子钟";
+ this.label2.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
+ //
+ // label3
+ //
+ this.label3.BackColor = System.Drawing.Color.Transparent;
+ this.label3.Font = new System.Drawing.Font("微软雅黑", 14F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Pixel, ((byte)(134)));
+ this.label3.Location = new System.Drawing.Point(0, 100);
+ this.label3.Name = "label3";
+ this.label3.Size = new System.Drawing.Size(75, 25);
+ this.label3.TabIndex = 1;
+ this.label3.Text = "接收机";
+ this.label3.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
+ //
+ // label4
+ //
+ this.label4.BackColor = System.Drawing.Color.Transparent;
+ this.label4.Font = new System.Drawing.Font("微软雅黑", 14F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Pixel, ((byte)(134)));
+ this.label4.Location = new System.Drawing.Point(0, 20);
+ this.label4.Name = "label4";
+ this.label4.Size = new System.Drawing.Size(224, 25);
+ this.label4.TabIndex = 0;
+ this.label4.Text = "时间信息";
+ this.label4.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
+ //
+ // label5
+ //
+ this.label5.BackColor = System.Drawing.Color.Transparent;
+ this.label5.Font = new System.Drawing.Font("微软雅黑", 14F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Pixel, ((byte)(134)));
+ this.label5.Location = new System.Drawing.Point(0, 60);
+ this.label5.Name = "label5";
+ this.label5.Size = new System.Drawing.Size(75, 25);
+ this.label5.TabIndex = 1;
+ this.label5.Text = "日期";
+ this.label5.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
+ //
+ // label6
+ //
+ this.label6.BackColor = System.Drawing.Color.Transparent;
+ this.label6.Font = new System.Drawing.Font("微软雅黑", 14F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Pixel, ((byte)(134)));
+ this.label6.Location = new System.Drawing.Point(0, 100);
+ this.label6.Name = "label6";
+ this.label6.Size = new System.Drawing.Size(75, 25);
+ this.label6.TabIndex = 1;
+ this.label6.Text = "时间";
+ this.label6.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
+ //
+ // label7
+ //
+ this.label7.BackColor = System.Drawing.Color.Transparent;
+ this.label7.Font = new System.Drawing.Font("微软雅黑", 14F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Pixel, ((byte)(134)));
+ this.label7.Location = new System.Drawing.Point(0, 140);
+ this.label7.Margin = new System.Windows.Forms.Padding(0);
+ this.label7.Name = "label7";
+ this.label7.Size = new System.Drawing.Size(75, 25);
+ this.label7.TabIndex = 1;
+ this.label7.Text = "MJD";
+ this.label7.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
+ //
+ // label8
+ //
+ this.label8.BackColor = System.Drawing.Color.Transparent;
+ this.label8.Font = new System.Drawing.Font("微软雅黑", 14F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Pixel, ((byte)(134)));
+ this.label8.Location = new System.Drawing.Point(0, 20);
+ this.label8.Name = "label8";
+ this.label8.Size = new System.Drawing.Size(224, 25);
+ this.label8.TabIndex = 0;
+ this.label8.Text = "位置信息";
+ this.label8.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
+ //
+ // label9
+ //
+ this.label9.BackColor = System.Drawing.Color.Transparent;
+ this.label9.Font = new System.Drawing.Font("微软雅黑", 14F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Pixel, ((byte)(134)));
+ this.label9.Location = new System.Drawing.Point(0, 60);
+ this.label9.Name = "label9";
+ this.label9.Size = new System.Drawing.Size(75, 25);
+ this.label9.TabIndex = 1;
+ this.label9.Text = "经度";
+ this.label9.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
+ //
+ // label10
+ //
+ this.label10.BackColor = System.Drawing.Color.Transparent;
+ this.label10.Font = new System.Drawing.Font("微软雅黑", 14F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Pixel, ((byte)(134)));
+ this.label10.Location = new System.Drawing.Point(0, 100);
+ this.label10.Margin = new System.Windows.Forms.Padding(0);
+ this.label10.Name = "label10";
+ this.label10.Size = new System.Drawing.Size(75, 25);
+ this.label10.TabIndex = 1;
+ this.label10.Text = "纬度";
+ this.label10.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
+ //
+ // label11
+ //
+ this.label11.BackColor = System.Drawing.Color.Transparent;
+ this.label11.Font = new System.Drawing.Font("微软雅黑", 14F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Pixel, ((byte)(134)));
+ this.label11.Location = new System.Drawing.Point(0, 140);
+ this.label11.Margin = new System.Windows.Forms.Padding(0);
+ this.label11.Name = "label11";
+ this.label11.Size = new System.Drawing.Size(75, 25);
+ this.label11.TabIndex = 1;
+ this.label11.Text = "X";
+ this.label11.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
+ //
+ // label12
+ //
+ this.label12.BackColor = System.Drawing.Color.Transparent;
+ this.label12.Font = new System.Drawing.Font("微软雅黑", 14F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Pixel, ((byte)(134)));
+ this.label12.Location = new System.Drawing.Point(0, 180);
+ this.label12.Margin = new System.Windows.Forms.Padding(0);
+ this.label12.Name = "label12";
+ this.label12.Size = new System.Drawing.Size(75, 25);
+ this.label12.TabIndex = 1;
+ this.label12.Text = "Y";
+ this.label12.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
+ //
+ // label13
+ //
+ this.label13.BackColor = System.Drawing.Color.Transparent;
+ this.label13.Font = new System.Drawing.Font("微软雅黑", 14F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Pixel, ((byte)(134)));
+ this.label13.Location = new System.Drawing.Point(0, 220);
+ this.label13.Margin = new System.Windows.Forms.Padding(0);
+ this.label13.Name = "label13";
+ this.label13.Size = new System.Drawing.Size(75, 25);
+ this.label13.TabIndex = 1;
+ this.label13.Text = "Z";
+ this.label13.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
//
// HomeCtrlForm
//
this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 12F);
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
- this.Controls.Add(this.label1);
- this.Controls.Add(this.label2);
- this.Controls.Add(this.dataGridViewX2);
- this.Controls.Add(this.panelEx4);
- this.Controls.Add(this.panelToBeTested);
+ this.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(232)))), ((int)(((byte)(234)))), ((int)(((byte)(238)))));
+ this.Controls.Add(this.panel5);
+ this.Controls.Add(this.panel4);
+ this.Controls.Add(this.panel3);
+ this.Controls.Add(this.panel2);
+ this.Controls.Add(this.panel1);
this.Margin = new System.Windows.Forms.Padding(0);
this.Name = "HomeCtrlForm";
- this.Size = new System.Drawing.Size(1000, 640);
- this.panelToBeTested.ResumeLayout(false);
- ((System.ComponentModel.ISupportInitialize)(this.dataGridViewX1)).EndInit();
- this.panelEx1.ResumeLayout(false);
- this.panelEx2.ResumeLayout(false);
- this.panelEx3.ResumeLayout(false);
- this.panelEx4.ResumeLayout(false);
- ((System.ComponentModel.ISupportInitialize)(this.dataGridViewX2)).EndInit();
+ this.Size = new System.Drawing.Size(1024, 654);
+ this.panel3.ResumeLayout(false);
+ this.panel2.ResumeLayout(false);
+ this.panel1.ResumeLayout(false);
this.ResumeLayout(false);
}
#endregion
- private System.Windows.Forms.Panel panelToBeTested;
- private DevComponents.DotNetBar.PanelEx panelEx1;
- private DevComponents.DotNetBar.LabelX labelX6;
- private DevComponents.DotNetBar.LabelX labelX5;
- private DevComponents.DotNetBar.LabelX labelX4;
- private DevComponents.DotNetBar.LabelX labelX3;
- private DevComponents.DotNetBar.LabelX labelX2;
- private DevComponents.DotNetBar.LabelX labelX1;
- private DevComponents.DotNetBar.PanelEx panelEx2;
- private DevComponents.DotNetBar.LabelX labelX7;
- private DevComponents.DotNetBar.LabelX labelX8;
- private DevComponents.DotNetBar.LabelX labelX10;
- private DevComponents.DotNetBar.LabelX labelX9;
- private DevComponents.DotNetBar.PanelEx panelEx3;
- private DevComponents.DotNetBar.LabelX labelX11;
- private DevComponents.DotNetBar.LabelX labelX13;
- private DevComponents.DotNetBar.LabelX labelX12;
- private DevComponents.DotNetBar.PanelEx panelEx4;
- private DevComponents.DotNetBar.Controls.DataGridViewX dataGridViewX1;
- private System.Windows.Forms.DataGridViewTextBoxColumn Column13;
- private System.Windows.Forms.DataGridViewTextBoxColumn Column14;
- private System.Windows.Forms.DataGridViewTextBoxColumn Column15;
- private System.Windows.Forms.DataGridViewTextBoxColumn Column16;
- private System.Windows.Forms.DataGridViewTextBoxColumn Column17;
- private DevComponents.DotNetBar.Controls.DataGridViewX dataGridViewX2;
- private System.Windows.Forms.DataGridViewTextBoxColumn Column18;
- private System.Windows.Forms.DataGridViewTextBoxColumn Column19;
- private System.Windows.Forms.DataGridViewTextBoxColumn Column20;
- private System.Windows.Forms.DataGridViewTextBoxColumn Column21;
- private System.Windows.Forms.DataGridViewTextBoxColumn Column22;
- private System.Windows.Forms.DataGridViewTextBoxColumn Column23;
- private System.Windows.Forms.DataGridViewTextBoxColumn Column24;
- private System.Windows.Forms.DataGridViewTextBoxColumn Column25;
- private System.Windows.Forms.DataGridViewTextBoxColumn Column26;
- private System.Windows.Forms.DataGridViewTextBoxColumn Column27;
- private System.Windows.Forms.DataGridViewTextBoxColumn Column28;
- private System.Windows.Forms.DataGridViewTextBoxColumn Column29;
- private DevComponents.DotNetBar.ButtonX buttonX1;
- private DevComponents.DotNetBar.ButtonX buttonX2;
+
+ private System.Windows.Forms.Panel panel1;
+ private System.Windows.Forms.Panel panel2;
+ private System.Windows.Forms.Panel panel3;
+ private System.Windows.Forms.Panel panel4;
+ private System.Windows.Forms.Panel panel5;
private System.Windows.Forms.Label label1;
private System.Windows.Forms.Label label2;
+ private System.Windows.Forms.Label label3;
+ private System.Windows.Forms.Label label4;
+ private System.Windows.Forms.Label label5;
+ private System.Windows.Forms.Label label6;
+ private System.Windows.Forms.Label label7;
+ private System.Windows.Forms.Label label8;
+ private System.Windows.Forms.Label label11;
+ private System.Windows.Forms.Label label9;
+ private System.Windows.Forms.Label label10;
+ private System.Windows.Forms.Label label12;
+ private System.Windows.Forms.Label label13;
}
}
diff --git a/RbFreqStandMeasure/HomeCtrlForm.resx b/RbFreqStandMeasure/HomeCtrlForm.resx
index 6d97f4f..1af7de1 100644
--- a/RbFreqStandMeasure/HomeCtrlForm.resx
+++ b/RbFreqStandMeasure/HomeCtrlForm.resx
@@ -117,55 +117,4 @@
System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
-
- True
-
-
- True
-
-
- True
-
-
- True
-
-
- True
-
-
- True
-
-
- True
-
-
- True
-
-
- True
-
-
- True
-
-
- True
-
-
- True
-
-
- True
-
-
- True
-
-
- True
-
-
- True
-
-
- True
-
\ No newline at end of file
diff --git a/RbFreqStandMeasure/Program.cs b/RbFreqStandMeasure/Program.cs
index 93a83e5..6150917 100644
--- a/RbFreqStandMeasure/Program.cs
+++ b/RbFreqStandMeasure/Program.cs
@@ -1,6 +1,4 @@
using System;
-using System.Collections.Generic;
-using System.Linq;
using System.Windows.Forms;
namespace Casic.Birmm.RbFreqStandMeasure
diff --git a/RbFreqStandMeasure/Properties/Resources.Designer.cs b/RbFreqStandMeasure/Properties/Resources.Designer.cs
index 253d7d7..d819a23 100644
--- a/RbFreqStandMeasure/Properties/Resources.Designer.cs
+++ b/RbFreqStandMeasure/Properties/Resources.Designer.cs
@@ -73,6 +73,56 @@
///
/// 查找 System.Drawing.Bitmap 类型的本地化资源。
///
+ internal static System.Drawing.Bitmap bg_dev_channel {
+ get {
+ object obj = ResourceManager.GetObject("bg_dev_channel", resourceCulture);
+ return ((System.Drawing.Bitmap)(obj));
+ }
+ }
+
+ ///
+ /// 查找 System.Drawing.Bitmap 类型的本地化资源。
+ ///
+ internal static System.Drawing.Bitmap bg_dev_tested {
+ get {
+ object obj = ResourceManager.GetObject("bg_dev_tested", resourceCulture);
+ return ((System.Drawing.Bitmap)(obj));
+ }
+ }
+
+ ///
+ /// 查找 System.Drawing.Bitmap 类型的本地化资源。
+ ///
+ internal static System.Drawing.Bitmap bg_status_base {
+ get {
+ object obj = ResourceManager.GetObject("bg_status_base", resourceCulture);
+ return ((System.Drawing.Bitmap)(obj));
+ }
+ }
+
+ ///
+ /// 查找 System.Drawing.Bitmap 类型的本地化资源。
+ ///
+ internal static System.Drawing.Bitmap bg_status_location {
+ get {
+ object obj = ResourceManager.GetObject("bg_status_location", resourceCulture);
+ return ((System.Drawing.Bitmap)(obj));
+ }
+ }
+
+ ///
+ /// 查找 System.Drawing.Bitmap 类型的本地化资源。
+ ///
+ internal static System.Drawing.Bitmap bg_status_time {
+ get {
+ object obj = ResourceManager.GetObject("bg_status_time", resourceCulture);
+ return ((System.Drawing.Bitmap)(obj));
+ }
+ }
+
+ ///
+ /// 查找 System.Drawing.Bitmap 类型的本地化资源。
+ ///
internal static System.Drawing.Bitmap bg_white_shadow {
get {
object obj = ResourceManager.GetObject("bg_white_shadow", resourceCulture);
@@ -83,6 +133,66 @@
///
/// 查找 System.Drawing.Bitmap 类型的本地化资源。
///
+ internal static System.Drawing.Bitmap icon_counter {
+ get {
+ object obj = ResourceManager.GetObject("icon_counter", resourceCulture);
+ return ((System.Drawing.Bitmap)(obj));
+ }
+ }
+
+ ///
+ /// 查找 System.Drawing.Bitmap 类型的本地化资源。
+ ///
+ internal static System.Drawing.Bitmap icon_counter_selected {
+ get {
+ object obj = ResourceManager.GetObject("icon_counter_selected", resourceCulture);
+ return ((System.Drawing.Bitmap)(obj));
+ }
+ }
+
+ ///
+ /// 查找 System.Drawing.Bitmap 类型的本地化资源。
+ ///
+ internal static System.Drawing.Bitmap icon_data {
+ get {
+ object obj = ResourceManager.GetObject("icon_data", resourceCulture);
+ return ((System.Drawing.Bitmap)(obj));
+ }
+ }
+
+ ///
+ /// 查找 System.Drawing.Bitmap 类型的本地化资源。
+ ///
+ internal static System.Drawing.Bitmap icon_data_selected {
+ get {
+ object obj = ResourceManager.GetObject("icon_data_selected", resourceCulture);
+ return ((System.Drawing.Bitmap)(obj));
+ }
+ }
+
+ ///
+ /// 查找 System.Drawing.Bitmap 类型的本地化资源。
+ ///
+ internal static System.Drawing.Bitmap icon_dev {
+ get {
+ object obj = ResourceManager.GetObject("icon_dev", resourceCulture);
+ return ((System.Drawing.Bitmap)(obj));
+ }
+ }
+
+ ///
+ /// 查找 System.Drawing.Bitmap 类型的本地化资源。
+ ///
+ internal static System.Drawing.Bitmap icon_dev_selected {
+ get {
+ object obj = ResourceManager.GetObject("icon_dev_selected", resourceCulture);
+ return ((System.Drawing.Bitmap)(obj));
+ }
+ }
+
+ ///
+ /// 查找 System.Drawing.Bitmap 类型的本地化资源。
+ ///
internal static System.Drawing.Bitmap icon_exit {
get {
object obj = ResourceManager.GetObject("icon_exit", resourceCulture);
@@ -113,6 +223,56 @@
///
/// 查找 System.Drawing.Bitmap 类型的本地化资源。
///
+ internal static System.Drawing.Bitmap icon_measure {
+ get {
+ object obj = ResourceManager.GetObject("icon_measure", resourceCulture);
+ return ((System.Drawing.Bitmap)(obj));
+ }
+ }
+
+ ///
+ /// 查找 System.Drawing.Bitmap 类型的本地化资源。
+ ///
+ internal static System.Drawing.Bitmap icon_measure_selected {
+ get {
+ object obj = ResourceManager.GetObject("icon_measure_selected", resourceCulture);
+ return ((System.Drawing.Bitmap)(obj));
+ }
+ }
+
+ ///
+ /// 查找 System.Drawing.Bitmap 类型的本地化资源。
+ ///
+ internal static System.Drawing.Bitmap icon_min {
+ get {
+ object obj = ResourceManager.GetObject("icon_min", resourceCulture);
+ return ((System.Drawing.Bitmap)(obj));
+ }
+ }
+
+ ///
+ /// 查找 System.Drawing.Bitmap 类型的本地化资源。
+ ///
+ internal static System.Drawing.Bitmap icon_setting {
+ get {
+ object obj = ResourceManager.GetObject("icon_setting", resourceCulture);
+ return ((System.Drawing.Bitmap)(obj));
+ }
+ }
+
+ ///
+ /// 查找 System.Drawing.Bitmap 类型的本地化资源。
+ ///
+ internal static System.Drawing.Bitmap icon_setting_selected {
+ get {
+ object obj = ResourceManager.GetObject("icon_setting_selected", resourceCulture);
+ return ((System.Drawing.Bitmap)(obj));
+ }
+ }
+
+ ///
+ /// 查找 System.Drawing.Bitmap 类型的本地化资源。
+ ///
internal static System.Drawing.Bitmap icon_status {
get {
object obj = ResourceManager.GetObject("icon_status", resourceCulture);
diff --git a/RbFreqStandMeasure/Properties/Resources.resx b/RbFreqStandMeasure/Properties/Resources.resx
index e781bb7..cfdb255 100644
--- a/RbFreqStandMeasure/Properties/Resources.resx
+++ b/RbFreqStandMeasure/Properties/Resources.resx
@@ -118,25 +118,73 @@
System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
-
- ..\res\images\icon_exit.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
+
+ ..\res\images\icon_counter_selected.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
-
- ..\res\images\bg_white_shadow.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
+
+ ..\res\images\icon_dev_selected.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
+
+
+ ..\res\images\icon_status_selected.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
+
+
+ ..\res\images\icon_data_selected.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
..\res\images\icon_home_selected.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
-
- ..\res\images\bg_banner.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
-
-
- ..\res\images\icon_home.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
+
+ ..\res\images\icon_exit.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
..\res\images\icon_status.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
-
- ..\res\images\icon_status_selected.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
+
+ ..\res\images\icon_data.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
+
+
+ ..\res\images\icon_setting.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
+
+
+ ..\res\images\icon_measure_selected.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
+
+
+ ..\res\images\bg_banner.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
+
+
+ ..\res\images\icon_setting_selected.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
+
+
+ ..\res\images\icon_dev.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
+
+
+ ..\res\images\icon_counter.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
+
+
+ ..\res\images\icon_measure.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
+
+
+ ..\res\images\icon_home.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
+
+
+ ..\res\images\bg_white_shadow.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
+
+
+ ..\res\images\icon_min.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
+
+
+ ..\res\images\bg_status_base.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
+
+
+ ..\res\images\bg_status_location.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
+
+
+ ..\res\images\bg_status_time.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
+
+
+ ..\res\images\bg_dev_channel.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
+
+
+ ..\res\images\bg_dev_tested.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
\ No newline at end of file
diff --git a/RbFreqStandMeasure/RbFreqStandMeasure.csproj b/RbFreqStandMeasure/RbFreqStandMeasure.csproj
index f5e7da9..7c12768 100644
--- a/RbFreqStandMeasure/RbFreqStandMeasure.csproj
+++ b/RbFreqStandMeasure/RbFreqStandMeasure.csproj
@@ -232,6 +232,54 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/RbFreqStandMeasure/RbFreqStdMeas.Designer.cs b/RbFreqStandMeasure/RbFreqStdMeas.Designer.cs
index 57778cf..1bd008c 100644
--- a/RbFreqStandMeasure/RbFreqStdMeas.Designer.cs
+++ b/RbFreqStandMeasure/RbFreqStdMeas.Designer.cs
@@ -30,148 +30,77 @@
private void InitializeComponent()
{
this.panMenu = new System.Windows.Forms.Panel();
+ this.penBanner = new System.Windows.Forms.Panel();
+ this.btnMinSys = new System.Windows.Forms.Button();
+ this.btnExitSys = new System.Windows.Forms.Button();
+ this.labTitle = new System.Windows.Forms.Label();
+ this.panDev = new Casic.Birmm.RbFreqStandMeasure.RoundPanel();
+ this.labDevText = new System.Windows.Forms.Label();
+ this.labDevSelected = new System.Windows.Forms.Label();
+ this.picIconDev = new System.Windows.Forms.PictureBox();
+ this.panSetting = new Casic.Birmm.RbFreqStandMeasure.RoundPanel();
+ this.labSettingSelected = new System.Windows.Forms.Label();
+ this.labSettingText = new System.Windows.Forms.Label();
+ this.picIconSetting = new System.Windows.Forms.PictureBox();
this.panStatus = new Casic.Birmm.RbFreqStandMeasure.RoundPanel();
this.labStatusText = new System.Windows.Forms.Label();
this.picIconStatus = new System.Windows.Forms.PictureBox();
+ this.labStatusSelected = new System.Windows.Forms.Label();
+ this.panData = new Casic.Birmm.RbFreqStandMeasure.RoundPanel();
+ this.labDataSelected = new System.Windows.Forms.Label();
+ this.labDataText = new System.Windows.Forms.Label();
+ this.picIconData = new System.Windows.Forms.PictureBox();
this.panHome = new Casic.Birmm.RbFreqStandMeasure.RoundPanel();
this.labHomeText = new System.Windows.Forms.Label();
this.picIconHome = new System.Windows.Forms.PictureBox();
this.labHomeSelected = new System.Windows.Forms.Label();
- this.labStatusSelected = new System.Windows.Forms.Label();
- this.penBanner = new System.Windows.Forms.Panel();
- this.btnExitSys = new System.Windows.Forms.Button();
- this.labTitle = new System.Windows.Forms.Label();
+ this.panMeasure = new Casic.Birmm.RbFreqStandMeasure.RoundPanel();
+ this.labMeasureText = new System.Windows.Forms.Label();
+ this.labMeasureSelected = new System.Windows.Forms.Label();
+ this.picIconMeasure = new System.Windows.Forms.PictureBox();
+ this.panCounter = new Casic.Birmm.RbFreqStandMeasure.RoundPanel();
+ this.labCounterSelected = new System.Windows.Forms.Label();
+ this.labCounterText = new System.Windows.Forms.Label();
+ this.picIconCounter = new System.Windows.Forms.PictureBox();
+ this.panelMain = new System.Windows.Forms.Panel();
this.panMenu.SuspendLayout();
+ this.penBanner.SuspendLayout();
+ this.panDev.SuspendLayout();
+ ((System.ComponentModel.ISupportInitialize)(this.picIconDev)).BeginInit();
+ this.panSetting.SuspendLayout();
+ ((System.ComponentModel.ISupportInitialize)(this.picIconSetting)).BeginInit();
this.panStatus.SuspendLayout();
((System.ComponentModel.ISupportInitialize)(this.picIconStatus)).BeginInit();
+ this.panData.SuspendLayout();
+ ((System.ComponentModel.ISupportInitialize)(this.picIconData)).BeginInit();
this.panHome.SuspendLayout();
((System.ComponentModel.ISupportInitialize)(this.picIconHome)).BeginInit();
- this.penBanner.SuspendLayout();
+ this.panMeasure.SuspendLayout();
+ ((System.ComponentModel.ISupportInitialize)(this.picIconMeasure)).BeginInit();
+ this.panCounter.SuspendLayout();
+ ((System.ComponentModel.ISupportInitialize)(this.picIconCounter)).BeginInit();
this.SuspendLayout();
//
// panMenu
//
this.panMenu.BackColor = System.Drawing.Color.White;
+ this.panMenu.Controls.Add(this.panDev);
+ this.panMenu.Controls.Add(this.panSetting);
this.panMenu.Controls.Add(this.panStatus);
+ this.panMenu.Controls.Add(this.panData);
this.panMenu.Controls.Add(this.panHome);
- this.panMenu.Controls.Add(this.labStatusSelected);
+ this.panMenu.Controls.Add(this.panMeasure);
+ this.panMenu.Controls.Add(this.panCounter);
this.panMenu.Location = new System.Drawing.Point(0, 64);
this.panMenu.Name = "panMenu";
this.panMenu.Size = new System.Drawing.Size(1024, 50);
this.panMenu.TabIndex = 1;
//
- // panStatus
- //
- this.panStatus.Back = System.Drawing.Color.Empty;
- this.panStatus.BackColor = System.Drawing.Color.Transparent;
- this.panStatus.Controls.Add(this.labStatusText);
- this.panStatus.Controls.Add(this.picIconStatus);
- this.panStatus.Location = new System.Drawing.Point(160, 0);
- this.panStatus.MatrixRound = 8;
- this.panStatus.Name = "panStatus";
- this.panStatus.Size = new System.Drawing.Size(130, 47);
- this.panStatus.TabIndex = 1;
- this.panStatus.Click += new System.EventHandler(this.panStatus_Click);
- this.panStatus.MouseLeave += new System.EventHandler(this.panStatus_MouseLeave);
- this.panStatus.MouseHover += new System.EventHandler(this.panStatus_MouseHover);
- //
- // labStatusText
- //
- this.labStatusText.BackColor = System.Drawing.Color.Transparent;
- this.labStatusText.Cursor = System.Windows.Forms.Cursors.Hand;
- this.labStatusText.Font = new System.Drawing.Font("微软雅黑", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
- this.labStatusText.ForeColor = System.Drawing.SystemColors.ControlText;
- this.labStatusText.Location = new System.Drawing.Point(35, 0);
- this.labStatusText.Margin = new System.Windows.Forms.Padding(0);
- this.labStatusText.Name = "labStatusText";
- this.labStatusText.Size = new System.Drawing.Size(85, 47);
- this.labStatusText.TabIndex = 2;
- this.labStatusText.Text = "基准状态";
- this.labStatusText.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
- this.labStatusText.Click += new System.EventHandler(this.panStatus_Click);
- this.labStatusText.MouseLeave += new System.EventHandler(this.panStatus_MouseLeave);
- this.labStatusText.MouseHover += new System.EventHandler(this.panStatus_MouseHover);
- //
- // picIconStatus
- //
- this.picIconStatus.BackgroundImage = global::Casic.Birmm.RbFreqStandMeasure.Properties.Resources.icon_status;
- this.picIconStatus.BackgroundImageLayout = System.Windows.Forms.ImageLayout.Zoom;
- this.picIconStatus.Location = new System.Drawing.Point(10, 11);
- this.picIconStatus.Name = "picIconStatus";
- this.picIconStatus.Size = new System.Drawing.Size(25, 25);
- this.picIconStatus.TabIndex = 1;
- this.picIconStatus.TabStop = false;
- this.picIconStatus.Click += new System.EventHandler(this.panStatus_Click);
- this.picIconStatus.MouseLeave += new System.EventHandler(this.panStatus_MouseLeave);
- this.picIconStatus.MouseHover += new System.EventHandler(this.panStatus_MouseHover);
- //
- // panHome
- //
- this.panHome.Back = System.Drawing.Color.Empty;
- this.panHome.Controls.Add(this.labHomeText);
- this.panHome.Controls.Add(this.picIconHome);
- this.panHome.Controls.Add(this.labHomeSelected);
- this.panHome.Cursor = System.Windows.Forms.Cursors.Hand;
- this.panHome.Location = new System.Drawing.Point(30, 0);
- this.panHome.MatrixRound = 8;
- this.panHome.Name = "panHome";
- this.panHome.Size = new System.Drawing.Size(100, 50);
- this.panHome.TabIndex = 0;
- this.panHome.Click += new System.EventHandler(this.panHome_Click);
- this.panHome.MouseLeave += new System.EventHandler(this.panHome_MouseLeave);
- this.panHome.MouseHover += new System.EventHandler(this.panHome_MouseHover);
- //
- // labHomeText
- //
- this.labHomeText.BackColor = System.Drawing.Color.Transparent;
- this.labHomeText.Font = new System.Drawing.Font("微软雅黑", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
- this.labHomeText.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(18)))), ((int)(((byte)(150)))), ((int)(((byte)(219)))));
- this.labHomeText.Location = new System.Drawing.Point(35, 0);
- this.labHomeText.Margin = new System.Windows.Forms.Padding(0);
- this.labHomeText.Name = "labHomeText";
- this.labHomeText.Size = new System.Drawing.Size(55, 47);
- this.labHomeText.TabIndex = 2;
- this.labHomeText.Text = "首页";
- this.labHomeText.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
- this.labHomeText.Click += new System.EventHandler(this.panHome_Click);
- this.labHomeText.MouseLeave += new System.EventHandler(this.panHome_MouseLeave);
- this.labHomeText.MouseHover += new System.EventHandler(this.panHome_MouseHover);
- //
- // picIconHome
- //
- this.picIconHome.BackColor = System.Drawing.Color.Transparent;
- this.picIconHome.BackgroundImage = global::Casic.Birmm.RbFreqStandMeasure.Properties.Resources.icon_home_selected;
- this.picIconHome.BackgroundImageLayout = System.Windows.Forms.ImageLayout.Zoom;
- this.picIconHome.Location = new System.Drawing.Point(10, 11);
- this.picIconHome.Name = "picIconHome";
- this.picIconHome.Size = new System.Drawing.Size(25, 25);
- this.picIconHome.TabIndex = 1;
- this.picIconHome.TabStop = false;
- this.picIconHome.Click += new System.EventHandler(this.panHome_Click);
- this.picIconHome.MouseLeave += new System.EventHandler(this.panHome_MouseLeave);
- this.picIconHome.MouseHover += new System.EventHandler(this.panHome_MouseHover);
- //
- // labHomeSelected
- //
- this.labHomeSelected.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(18)))), ((int)(((byte)(150)))), ((int)(((byte)(219)))));
- this.labHomeSelected.Location = new System.Drawing.Point(0, 47);
- this.labHomeSelected.Name = "labHomeSelected";
- this.labHomeSelected.Size = new System.Drawing.Size(100, 3);
- this.labHomeSelected.TabIndex = 0;
- //
- // labStatusSelected
- //
- this.labStatusSelected.BackColor = System.Drawing.Color.Transparent;
- this.labStatusSelected.Location = new System.Drawing.Point(160, 47);
- this.labStatusSelected.Margin = new System.Windows.Forms.Padding(0);
- this.labStatusSelected.Name = "labStatusSelected";
- this.labStatusSelected.Size = new System.Drawing.Size(130, 3);
- this.labStatusSelected.TabIndex = 0;
- //
// penBanner
//
this.penBanner.BackgroundImage = global::Casic.Birmm.RbFreqStandMeasure.Properties.Resources.bg_banner;
this.penBanner.BackgroundImageLayout = System.Windows.Forms.ImageLayout.Stretch;
+ this.penBanner.Controls.Add(this.btnMinSys);
this.penBanner.Controls.Add(this.btnExitSys);
this.penBanner.Controls.Add(this.labTitle);
this.penBanner.Location = new System.Drawing.Point(0, 0);
@@ -180,6 +109,23 @@
this.penBanner.TabIndex = 0;
this.penBanner.MouseDown += new System.Windows.Forms.MouseEventHandler(this.RbFreqStdMeas_MouseDown);
//
+ // btnMinSys
+ //
+ this.btnMinSys.BackColor = System.Drawing.Color.Transparent;
+ this.btnMinSys.BackgroundImage = global::Casic.Birmm.RbFreqStandMeasure.Properties.Resources.icon_min;
+ this.btnMinSys.BackgroundImageLayout = System.Windows.Forms.ImageLayout.Stretch;
+ this.btnMinSys.FlatAppearance.BorderSize = 0;
+ this.btnMinSys.FlatStyle = System.Windows.Forms.FlatStyle.Flat;
+ this.btnMinSys.ForeColor = System.Drawing.SystemColors.ControlDarkDark;
+ this.btnMinSys.Location = new System.Drawing.Point(944, 22);
+ this.btnMinSys.Margin = new System.Windows.Forms.Padding(0);
+ this.btnMinSys.Name = "btnMinSys";
+ this.btnMinSys.Size = new System.Drawing.Size(20, 20);
+ this.btnMinSys.TabIndex = 1;
+ this.btnMinSys.UseVisualStyleBackColor = false;
+ this.btnMinSys.Click += new System.EventHandler(this.btnMinSys_Click);
+ this.btnMinSys.MouseHover += new System.EventHandler(this.btnMinSys_MouseHover);
+ //
// btnExitSys
//
this.btnExitSys.BackColor = System.Drawing.Color.Transparent;
@@ -200,7 +146,7 @@
// labTitle
//
this.labTitle.BackColor = System.Drawing.Color.Transparent;
- this.labTitle.Font = new System.Drawing.Font("微软雅黑", 15.75F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
+ this.labTitle.Font = new System.Drawing.Font("微软雅黑", 20F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Pixel, ((byte)(134)));
this.labTitle.ForeColor = System.Drawing.Color.White;
this.labTitle.Location = new System.Drawing.Point(30, 16);
this.labTitle.Name = "labTitle";
@@ -209,11 +155,404 @@
this.labTitle.Text = "铷原子频标比对测量软件";
this.labTitle.TextAlign = System.Drawing.ContentAlignment.MiddleLeft;
//
+ // panDev
+ //
+ this.panDev.Back = System.Drawing.Color.Empty;
+ this.panDev.Controls.Add(this.labDevText);
+ this.panDev.Controls.Add(this.labDevSelected);
+ this.panDev.Controls.Add(this.picIconDev);
+ this.panDev.Location = new System.Drawing.Point(214, 0);
+ this.panDev.MatrixRound = 8;
+ this.panDev.Name = "panDev";
+ this.panDev.Size = new System.Drawing.Size(141, 50);
+ this.panDev.TabIndex = 2;
+ this.panDev.Click += new System.EventHandler(this.panDev_Click);
+ this.panDev.MouseLeave += new System.EventHandler(this.panDev_MouseLeave);
+ this.panDev.MouseHover += new System.EventHandler(this.panDev_MouseHover);
+ //
+ // labDevText
+ //
+ this.labDevText.BackColor = System.Drawing.Color.Transparent;
+ this.labDevText.Cursor = System.Windows.Forms.Cursors.Hand;
+ this.labDevText.Font = new System.Drawing.Font("微软雅黑", 16F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Pixel, ((byte)(134)));
+ this.labDevText.ForeColor = System.Drawing.SystemColors.ControlText;
+ this.labDevText.Location = new System.Drawing.Point(30, 14);
+ this.labDevText.Margin = new System.Windows.Forms.Padding(0);
+ this.labDevText.Name = "labDevText";
+ this.labDevText.Size = new System.Drawing.Size(106, 20);
+ this.labDevText.TabIndex = 2;
+ this.labDevText.Text = "送检仪器管理";
+ this.labDevText.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
+ this.labDevText.Click += new System.EventHandler(this.panDev_Click);
+ this.labDevText.MouseLeave += new System.EventHandler(this.panDev_MouseLeave);
+ this.labDevText.MouseHover += new System.EventHandler(this.panDev_MouseHover);
+ //
+ // labDevSelected
+ //
+ this.labDevSelected.BackColor = System.Drawing.Color.Transparent;
+ this.labDevSelected.Location = new System.Drawing.Point(8, 48);
+ this.labDevSelected.Margin = new System.Windows.Forms.Padding(0);
+ this.labDevSelected.Name = "labDevSelected";
+ this.labDevSelected.Size = new System.Drawing.Size(121, 2);
+ this.labDevSelected.TabIndex = 3;
+ //
+ // picIconDev
+ //
+ this.picIconDev.BackColor = System.Drawing.Color.Transparent;
+ this.picIconDev.BackgroundImage = global::Casic.Birmm.RbFreqStandMeasure.Properties.Resources.icon_dev;
+ this.picIconDev.BackgroundImageLayout = System.Windows.Forms.ImageLayout.Zoom;
+ this.picIconDev.Location = new System.Drawing.Point(10, 14);
+ this.picIconDev.Name = "picIconDev";
+ this.picIconDev.Size = new System.Drawing.Size(20, 20);
+ this.picIconDev.TabIndex = 1;
+ this.picIconDev.TabStop = false;
+ this.picIconDev.Click += new System.EventHandler(this.panDev_Click);
+ this.picIconDev.MouseLeave += new System.EventHandler(this.panDev_MouseLeave);
+ this.picIconDev.MouseHover += new System.EventHandler(this.panDev_MouseHover);
+ //
+ // panSetting
+ //
+ this.panSetting.Back = System.Drawing.Color.Empty;
+ this.panSetting.Controls.Add(this.labSettingSelected);
+ this.panSetting.Controls.Add(this.labSettingText);
+ this.panSetting.Controls.Add(this.picIconSetting);
+ this.panSetting.Location = new System.Drawing.Point(879, 0);
+ this.panSetting.MatrixRound = 8;
+ this.panSetting.Name = "panSetting";
+ this.panSetting.Size = new System.Drawing.Size(109, 50);
+ this.panSetting.TabIndex = 2;
+ this.panSetting.Click += new System.EventHandler(this.panSetting_Click);
+ this.panSetting.MouseLeave += new System.EventHandler(this.panSetting_MouseLeave);
+ this.panSetting.MouseHover += new System.EventHandler(this.panSetting_MouseHover);
+ //
+ // labSettingSelected
+ //
+ this.labSettingSelected.BackColor = System.Drawing.Color.Transparent;
+ this.labSettingSelected.Location = new System.Drawing.Point(10, 48);
+ this.labSettingSelected.Margin = new System.Windows.Forms.Padding(0);
+ this.labSettingSelected.Name = "labSettingSelected";
+ this.labSettingSelected.Size = new System.Drawing.Size(89, 2);
+ this.labSettingSelected.TabIndex = 4;
+ //
+ // labSettingText
+ //
+ this.labSettingText.BackColor = System.Drawing.Color.Transparent;
+ this.labSettingText.Cursor = System.Windows.Forms.Cursors.Hand;
+ this.labSettingText.Font = new System.Drawing.Font("微软雅黑", 16F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Pixel, ((byte)(134)));
+ this.labSettingText.ForeColor = System.Drawing.SystemColors.ControlText;
+ this.labSettingText.Location = new System.Drawing.Point(30, 14);
+ this.labSettingText.Margin = new System.Windows.Forms.Padding(0);
+ this.labSettingText.Name = "labSettingText";
+ this.labSettingText.Size = new System.Drawing.Size(74, 20);
+ this.labSettingText.TabIndex = 2;
+ this.labSettingText.Text = "系统设置";
+ this.labSettingText.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
+ this.labSettingText.Click += new System.EventHandler(this.panSetting_Click);
+ this.labSettingText.MouseLeave += new System.EventHandler(this.panSetting_MouseLeave);
+ this.labSettingText.MouseHover += new System.EventHandler(this.panSetting_MouseHover);
+ //
+ // picIconSetting
+ //
+ this.picIconSetting.BackColor = System.Drawing.Color.Transparent;
+ this.picIconSetting.BackgroundImage = global::Casic.Birmm.RbFreqStandMeasure.Properties.Resources.icon_setting;
+ this.picIconSetting.BackgroundImageLayout = System.Windows.Forms.ImageLayout.Zoom;
+ this.picIconSetting.Location = new System.Drawing.Point(10, 14);
+ this.picIconSetting.Name = "picIconSetting";
+ this.picIconSetting.Size = new System.Drawing.Size(20, 20);
+ this.picIconSetting.TabIndex = 1;
+ this.picIconSetting.TabStop = false;
+ this.picIconSetting.Click += new System.EventHandler(this.panSetting_Click);
+ this.picIconSetting.MouseLeave += new System.EventHandler(this.panSetting_MouseLeave);
+ this.picIconSetting.MouseHover += new System.EventHandler(this.panSetting_MouseHover);
+ //
+ // panStatus
+ //
+ this.panStatus.Back = System.Drawing.Color.Empty;
+ this.panStatus.BackColor = System.Drawing.Color.Transparent;
+ this.panStatus.Controls.Add(this.labStatusText);
+ this.panStatus.Controls.Add(this.picIconStatus);
+ this.panStatus.Controls.Add(this.labStatusSelected);
+ this.panStatus.Location = new System.Drawing.Point(101, 0);
+ this.panStatus.MatrixRound = 8;
+ this.panStatus.Name = "panStatus";
+ this.panStatus.Size = new System.Drawing.Size(109, 50);
+ this.panStatus.TabIndex = 1;
+ this.panStatus.Click += new System.EventHandler(this.panStatus_Click);
+ this.panStatus.MouseLeave += new System.EventHandler(this.panStatus_MouseLeave);
+ this.panStatus.MouseHover += new System.EventHandler(this.panStatus_MouseHover);
+ //
+ // labStatusText
+ //
+ this.labStatusText.BackColor = System.Drawing.Color.Transparent;
+ this.labStatusText.Cursor = System.Windows.Forms.Cursors.Hand;
+ this.labStatusText.Font = new System.Drawing.Font("微软雅黑", 16F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Pixel, ((byte)(134)));
+ this.labStatusText.ForeColor = System.Drawing.SystemColors.ControlText;
+ this.labStatusText.Location = new System.Drawing.Point(30, 14);
+ this.labStatusText.Margin = new System.Windows.Forms.Padding(0);
+ this.labStatusText.Name = "labStatusText";
+ this.labStatusText.Size = new System.Drawing.Size(74, 20);
+ this.labStatusText.TabIndex = 2;
+ this.labStatusText.Text = "基准状态";
+ this.labStatusText.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
+ this.labStatusText.Click += new System.EventHandler(this.panStatus_Click);
+ this.labStatusText.MouseLeave += new System.EventHandler(this.panStatus_MouseLeave);
+ this.labStatusText.MouseHover += new System.EventHandler(this.panStatus_MouseHover);
+ //
+ // picIconStatus
+ //
+ this.picIconStatus.BackgroundImage = global::Casic.Birmm.RbFreqStandMeasure.Properties.Resources.icon_status;
+ this.picIconStatus.BackgroundImageLayout = System.Windows.Forms.ImageLayout.Zoom;
+ this.picIconStatus.Location = new System.Drawing.Point(10, 14);
+ this.picIconStatus.Name = "picIconStatus";
+ this.picIconStatus.Size = new System.Drawing.Size(20, 20);
+ this.picIconStatus.TabIndex = 1;
+ this.picIconStatus.TabStop = false;
+ this.picIconStatus.Click += new System.EventHandler(this.panStatus_Click);
+ this.picIconStatus.MouseLeave += new System.EventHandler(this.panStatus_MouseLeave);
+ this.picIconStatus.MouseHover += new System.EventHandler(this.panStatus_MouseHover);
+ //
+ // labStatusSelected
+ //
+ this.labStatusSelected.BackColor = System.Drawing.Color.Transparent;
+ this.labStatusSelected.Location = new System.Drawing.Point(10, 48);
+ this.labStatusSelected.Margin = new System.Windows.Forms.Padding(0);
+ this.labStatusSelected.Name = "labStatusSelected";
+ this.labStatusSelected.Size = new System.Drawing.Size(89, 2);
+ this.labStatusSelected.TabIndex = 0;
+ //
+ // panData
+ //
+ this.panData.Back = System.Drawing.Color.Empty;
+ this.panData.Controls.Add(this.labDataSelected);
+ this.panData.Controls.Add(this.labDataText);
+ this.panData.Controls.Add(this.picIconData);
+ this.panData.Location = new System.Drawing.Point(765, 0);
+ this.panData.MatrixRound = 8;
+ this.panData.Name = "panData";
+ this.panData.Size = new System.Drawing.Size(109, 50);
+ this.panData.TabIndex = 2;
+ this.panData.Click += new System.EventHandler(this.panData_Click);
+ this.panData.MouseLeave += new System.EventHandler(this.panData_MouseLeave);
+ this.panData.MouseHover += new System.EventHandler(this.panData_MouseHover);
+ //
+ // labDataSelected
+ //
+ this.labDataSelected.BackColor = System.Drawing.Color.Transparent;
+ this.labDataSelected.Location = new System.Drawing.Point(10, 48);
+ this.labDataSelected.Margin = new System.Windows.Forms.Padding(0);
+ this.labDataSelected.Name = "labDataSelected";
+ this.labDataSelected.Size = new System.Drawing.Size(89, 2);
+ this.labDataSelected.TabIndex = 3;
+ //
+ // labDataText
+ //
+ this.labDataText.BackColor = System.Drawing.Color.Transparent;
+ this.labDataText.Cursor = System.Windows.Forms.Cursors.Hand;
+ this.labDataText.Font = new System.Drawing.Font("微软雅黑", 16F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Pixel, ((byte)(134)));
+ this.labDataText.ForeColor = System.Drawing.SystemColors.ControlText;
+ this.labDataText.Location = new System.Drawing.Point(30, 14);
+ this.labDataText.Margin = new System.Windows.Forms.Padding(0);
+ this.labDataText.Name = "labDataText";
+ this.labDataText.Size = new System.Drawing.Size(74, 20);
+ this.labDataText.TabIndex = 2;
+ this.labDataText.Text = "数据管理";
+ this.labDataText.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
+ this.labDataText.Click += new System.EventHandler(this.panData_Click);
+ this.labDataText.MouseLeave += new System.EventHandler(this.panData_MouseLeave);
+ this.labDataText.MouseHover += new System.EventHandler(this.panData_MouseHover);
+ //
+ // picIconData
+ //
+ this.picIconData.BackColor = System.Drawing.Color.Transparent;
+ this.picIconData.BackgroundImage = global::Casic.Birmm.RbFreqStandMeasure.Properties.Resources.icon_data;
+ this.picIconData.BackgroundImageLayout = System.Windows.Forms.ImageLayout.Zoom;
+ this.picIconData.Location = new System.Drawing.Point(10, 14);
+ this.picIconData.Name = "picIconData";
+ this.picIconData.Size = new System.Drawing.Size(20, 20);
+ this.picIconData.TabIndex = 1;
+ this.picIconData.TabStop = false;
+ this.picIconData.Click += new System.EventHandler(this.panData_Click);
+ this.picIconData.MouseLeave += new System.EventHandler(this.panData_MouseLeave);
+ this.picIconData.MouseHover += new System.EventHandler(this.panData_MouseHover);
+ //
+ // panHome
+ //
+ this.panHome.Back = System.Drawing.Color.Empty;
+ this.panHome.Controls.Add(this.labHomeText);
+ this.panHome.Controls.Add(this.picIconHome);
+ this.panHome.Controls.Add(this.labHomeSelected);
+ this.panHome.Cursor = System.Windows.Forms.Cursors.Hand;
+ this.panHome.Location = new System.Drawing.Point(20, 0);
+ this.panHome.MatrixRound = 8;
+ this.panHome.Name = "panHome";
+ this.panHome.Size = new System.Drawing.Size(75, 50);
+ this.panHome.TabIndex = 0;
+ this.panHome.Click += new System.EventHandler(this.panHome_Click);
+ this.panHome.MouseLeave += new System.EventHandler(this.panHome_MouseLeave);
+ this.panHome.MouseHover += new System.EventHandler(this.panHome_MouseHover);
+ //
+ // labHomeText
+ //
+ this.labHomeText.BackColor = System.Drawing.Color.Transparent;
+ this.labHomeText.Font = new System.Drawing.Font("微软雅黑", 16F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Pixel, ((byte)(134)));
+ this.labHomeText.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(18)))), ((int)(((byte)(150)))), ((int)(((byte)(219)))));
+ this.labHomeText.Location = new System.Drawing.Point(30, 14);
+ this.labHomeText.Margin = new System.Windows.Forms.Padding(0);
+ this.labHomeText.Name = "labHomeText";
+ this.labHomeText.Size = new System.Drawing.Size(42, 20);
+ this.labHomeText.TabIndex = 2;
+ this.labHomeText.Text = "首页";
+ this.labHomeText.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
+ this.labHomeText.Click += new System.EventHandler(this.panHome_Click);
+ this.labHomeText.MouseLeave += new System.EventHandler(this.panHome_MouseLeave);
+ this.labHomeText.MouseHover += new System.EventHandler(this.panHome_MouseHover);
+ //
+ // picIconHome
+ //
+ this.picIconHome.BackColor = System.Drawing.Color.Transparent;
+ this.picIconHome.BackgroundImage = global::Casic.Birmm.RbFreqStandMeasure.Properties.Resources.icon_home_selected;
+ this.picIconHome.BackgroundImageLayout = System.Windows.Forms.ImageLayout.Zoom;
+ this.picIconHome.Location = new System.Drawing.Point(10, 14);
+ this.picIconHome.Margin = new System.Windows.Forms.Padding(0);
+ this.picIconHome.Name = "picIconHome";
+ this.picIconHome.Size = new System.Drawing.Size(20, 20);
+ this.picIconHome.TabIndex = 1;
+ this.picIconHome.TabStop = false;
+ this.picIconHome.Click += new System.EventHandler(this.panHome_Click);
+ this.picIconHome.MouseLeave += new System.EventHandler(this.panHome_MouseLeave);
+ this.picIconHome.MouseHover += new System.EventHandler(this.panHome_MouseHover);
+ //
+ // labHomeSelected
+ //
+ this.labHomeSelected.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(18)))), ((int)(((byte)(150)))), ((int)(((byte)(219)))));
+ this.labHomeSelected.Location = new System.Drawing.Point(10, 48);
+ this.labHomeSelected.Name = "labHomeSelected";
+ this.labHomeSelected.Size = new System.Drawing.Size(55, 2);
+ this.labHomeSelected.TabIndex = 0;
+ //
+ // panMeasure
+ //
+ this.panMeasure.Back = System.Drawing.Color.Empty;
+ this.panMeasure.Controls.Add(this.labMeasureText);
+ this.panMeasure.Controls.Add(this.labMeasureSelected);
+ this.panMeasure.Controls.Add(this.picIconMeasure);
+ this.panMeasure.Location = new System.Drawing.Point(619, 0);
+ this.panMeasure.MatrixRound = 8;
+ this.panMeasure.Name = "panMeasure";
+ this.panMeasure.Size = new System.Drawing.Size(141, 50);
+ this.panMeasure.TabIndex = 2;
+ this.panMeasure.Click += new System.EventHandler(this.panMeasure_Click);
+ this.panMeasure.MouseLeave += new System.EventHandler(this.panMeasure_MouseLeave);
+ this.panMeasure.MouseHover += new System.EventHandler(this.panMeasure_MouseHover);
+ //
+ // labMeasureText
+ //
+ this.labMeasureText.BackColor = System.Drawing.Color.Transparent;
+ this.labMeasureText.Cursor = System.Windows.Forms.Cursors.Hand;
+ this.labMeasureText.Font = new System.Drawing.Font("微软雅黑", 16F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Pixel, ((byte)(134)));
+ this.labMeasureText.ForeColor = System.Drawing.SystemColors.ControlText;
+ this.labMeasureText.Location = new System.Drawing.Point(30, 14);
+ this.labMeasureText.Margin = new System.Windows.Forms.Padding(0);
+ this.labMeasureText.Name = "labMeasureText";
+ this.labMeasureText.Size = new System.Drawing.Size(106, 20);
+ this.labMeasureText.TabIndex = 2;
+ this.labMeasureText.Text = "计量信息管理";
+ this.labMeasureText.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
+ this.labMeasureText.Click += new System.EventHandler(this.panMeasure_Click);
+ this.labMeasureText.MouseLeave += new System.EventHandler(this.panMeasure_MouseLeave);
+ this.labMeasureText.MouseHover += new System.EventHandler(this.panMeasure_MouseHover);
+ //
+ // labMeasureSelected
+ //
+ this.labMeasureSelected.BackColor = System.Drawing.Color.Transparent;
+ this.labMeasureSelected.Location = new System.Drawing.Point(10, 48);
+ this.labMeasureSelected.Margin = new System.Windows.Forms.Padding(0);
+ this.labMeasureSelected.Name = "labMeasureSelected";
+ this.labMeasureSelected.Size = new System.Drawing.Size(121, 2);
+ this.labMeasureSelected.TabIndex = 3;
+ //
+ // picIconMeasure
+ //
+ this.picIconMeasure.BackColor = System.Drawing.Color.Transparent;
+ this.picIconMeasure.BackgroundImage = global::Casic.Birmm.RbFreqStandMeasure.Properties.Resources.icon_measure;
+ this.picIconMeasure.BackgroundImageLayout = System.Windows.Forms.ImageLayout.Zoom;
+ this.picIconMeasure.Location = new System.Drawing.Point(10, 14);
+ this.picIconMeasure.Name = "picIconMeasure";
+ this.picIconMeasure.Size = new System.Drawing.Size(20, 20);
+ this.picIconMeasure.TabIndex = 1;
+ this.picIconMeasure.TabStop = false;
+ this.picIconMeasure.Click += new System.EventHandler(this.panMeasure_Click);
+ this.picIconMeasure.MouseLeave += new System.EventHandler(this.panMeasure_MouseLeave);
+ this.picIconMeasure.MouseHover += new System.EventHandler(this.panMeasure_MouseHover);
+ //
+ // panCounter
+ //
+ this.panCounter.Back = System.Drawing.Color.Empty;
+ this.panCounter.Controls.Add(this.labCounterSelected);
+ this.panCounter.Controls.Add(this.labCounterText);
+ this.panCounter.Controls.Add(this.picIconCounter);
+ this.panCounter.Location = new System.Drawing.Point(360, 0);
+ this.panCounter.MatrixRound = 8;
+ this.panCounter.Name = "panCounter";
+ this.panCounter.Size = new System.Drawing.Size(254, 50);
+ this.panCounter.TabIndex = 2;
+ this.panCounter.Click += new System.EventHandler(this.panCounter_Click);
+ this.panCounter.MouseLeave += new System.EventHandler(this.panCounter_MouseLeave);
+ this.panCounter.MouseHover += new System.EventHandler(this.panCounter_MouseHover);
+ //
+ // labCounterSelected
+ //
+ this.labCounterSelected.BackColor = System.Drawing.Color.Transparent;
+ this.labCounterSelected.Location = new System.Drawing.Point(10, 48);
+ this.labCounterSelected.Margin = new System.Windows.Forms.Padding(0);
+ this.labCounterSelected.Name = "labCounterSelected";
+ this.labCounterSelected.Size = new System.Drawing.Size(233, 2);
+ this.labCounterSelected.TabIndex = 4;
+ //
+ // labCounterText
+ //
+ this.labCounterText.BackColor = System.Drawing.Color.Transparent;
+ this.labCounterText.Cursor = System.Windows.Forms.Cursors.Hand;
+ this.labCounterText.Font = new System.Drawing.Font("微软雅黑", 16F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Pixel, ((byte)(134)));
+ this.labCounterText.ForeColor = System.Drawing.SystemColors.ControlText;
+ this.labCounterText.Location = new System.Drawing.Point(30, 14);
+ this.labCounterText.Margin = new System.Windows.Forms.Padding(0);
+ this.labCounterText.Name = "labCounterText";
+ this.labCounterText.Size = new System.Drawing.Size(218, 20);
+ this.labCounterText.TabIndex = 2;
+ this.labCounterText.Text = "频率计数器范围及灵敏度测量";
+ this.labCounterText.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
+ this.labCounterText.Click += new System.EventHandler(this.panCounter_Click);
+ this.labCounterText.MouseLeave += new System.EventHandler(this.panCounter_MouseLeave);
+ this.labCounterText.MouseHover += new System.EventHandler(this.panCounter_MouseHover);
+ //
+ // picIconCounter
+ //
+ this.picIconCounter.BackColor = System.Drawing.Color.Transparent;
+ this.picIconCounter.BackgroundImage = global::Casic.Birmm.RbFreqStandMeasure.Properties.Resources.icon_counter;
+ this.picIconCounter.BackgroundImageLayout = System.Windows.Forms.ImageLayout.Zoom;
+ this.picIconCounter.Location = new System.Drawing.Point(10, 14);
+ this.picIconCounter.Name = "picIconCounter";
+ this.picIconCounter.Size = new System.Drawing.Size(20, 20);
+ this.picIconCounter.TabIndex = 1;
+ this.picIconCounter.TabStop = false;
+ this.picIconCounter.Click += new System.EventHandler(this.panCounter_Click);
+ this.picIconCounter.MouseLeave += new System.EventHandler(this.panCounter_MouseLeave);
+ this.picIconCounter.MouseHover += new System.EventHandler(this.panCounter_MouseHover);
+ //
+ // panelMain
+ //
+ this.panelMain.Location = new System.Drawing.Point(0, 114);
+ this.panelMain.Name = "panelMain";
+ this.panelMain.Size = new System.Drawing.Size(1024, 654);
+ this.panelMain.TabIndex = 2;
+ //
// RbFreqStdMeas
//
this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 12F);
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
this.ClientSize = new System.Drawing.Size(1024, 768);
+ this.Controls.Add(this.panelMain);
this.Controls.Add(this.panMenu);
this.Controls.Add(this.penBanner);
this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.None;
@@ -221,11 +560,21 @@
this.Text = "RbFreqStdMeas";
this.Load += new System.EventHandler(this.RbFreqStdMeas_Load);
this.panMenu.ResumeLayout(false);
+ this.penBanner.ResumeLayout(false);
+ this.panDev.ResumeLayout(false);
+ ((System.ComponentModel.ISupportInitialize)(this.picIconDev)).EndInit();
+ this.panSetting.ResumeLayout(false);
+ ((System.ComponentModel.ISupportInitialize)(this.picIconSetting)).EndInit();
this.panStatus.ResumeLayout(false);
((System.ComponentModel.ISupportInitialize)(this.picIconStatus)).EndInit();
+ this.panData.ResumeLayout(false);
+ ((System.ComponentModel.ISupportInitialize)(this.picIconData)).EndInit();
this.panHome.ResumeLayout(false);
((System.ComponentModel.ISupportInitialize)(this.picIconHome)).EndInit();
- this.penBanner.ResumeLayout(false);
+ this.panMeasure.ResumeLayout(false);
+ ((System.ComponentModel.ISupportInitialize)(this.picIconMeasure)).EndInit();
+ this.panCounter.ResumeLayout(false);
+ ((System.ComponentModel.ISupportInitialize)(this.picIconCounter)).EndInit();
this.ResumeLayout(false);
}
@@ -244,5 +593,27 @@
private RoundPanel panStatus;
private RoundPanel panHome;
private System.Windows.Forms.Label labStatusSelected;
+ private RoundPanel panDev;
+ private System.Windows.Forms.PictureBox picIconDev;
+ private System.Windows.Forms.Label labDevText;
+ private System.Windows.Forms.Label labMeasureSelected;
+ private RoundPanel panCounter;
+ private System.Windows.Forms.Label labCounterText;
+ private System.Windows.Forms.PictureBox picIconCounter;
+ private RoundPanel panMeasure;
+ private System.Windows.Forms.Label labMeasureText;
+ private System.Windows.Forms.PictureBox picIconMeasure;
+ private RoundPanel panData;
+ private System.Windows.Forms.Label labDataText;
+ private System.Windows.Forms.PictureBox picIconData;
+ private RoundPanel panSetting;
+ private System.Windows.Forms.Label labSettingText;
+ private System.Windows.Forms.PictureBox picIconSetting;
+ private System.Windows.Forms.Label labCounterSelected;
+ private System.Windows.Forms.Label labDevSelected;
+ private System.Windows.Forms.Label labDataSelected;
+ private System.Windows.Forms.Label labSettingSelected;
+ private System.Windows.Forms.Button btnMinSys;
+ private System.Windows.Forms.Panel panelMain;
}
}
\ No newline at end of file
diff --git a/RbFreqStandMeasure/RbFreqStdMeas.cs b/RbFreqStandMeasure/RbFreqStdMeas.cs
index 3858ddb..af980d7 100644
--- a/RbFreqStandMeasure/RbFreqStdMeas.cs
+++ b/RbFreqStandMeasure/RbFreqStdMeas.cs
@@ -1,13 +1,9 @@
-using Casic.Birmm.RbFreqStandMeasure.Properties;
+using Casic.Birmm.RbFreqStandMeasure.info;
+using Casic.Birmm.RbFreqStandMeasure.Properties;
+using Casic.Birmm.RbFreqStandMeasure.setting;
using System;
-using System.Collections.Generic;
-using System.ComponentModel;
-using System.Data;
using System.Drawing;
-using System.Linq;
-using System.Resources;
using System.Runtime.InteropServices;
-using System.Text;
using System.Windows.Forms;
namespace Casic.Birmm.RbFreqStandMeasure
@@ -15,7 +11,7 @@
public partial class RbFreqStdMeas : Form
{
- #region 无边框拖动效果
+ #region 无边框拖动效果/最小化窗口/关闭窗口
[DllImport("user32.dll")]//拖动无窗体的控件
public static extern bool ReleaseCapture();
[DllImport("user32.dll")]
@@ -30,9 +26,29 @@
ReleaseCapture();
SendMessage(this.Handle, WM_SYSCOMMAND, SC_MOVE + HTCAPTION, 0);
}
+ private void btnExitSys_Click(object sender, EventArgs e)
+ {
+ Application.Exit();
+ }
+ private void btnMinSys_Click(object sender, EventArgs e)
+ {
+ this.WindowState = FormWindowState.Minimized;
+ }
+ private void btnExitSys_MouseHover(object sender, EventArgs e)
+ {
+ ToolTip p = new ToolTip();
+ p.ShowAlways = true;
+ p.SetToolTip(this.btnExitSys, "退出");
+ }
+ private void btnMinSys_MouseHover(object sender, EventArgs e)
+ {
+ ToolTip p = new ToolTip();
+ p.ShowAlways = true;
+ p.SetToolTip(this.btnMinSys, "最小化");
+ }
#endregion
- private bool[] menuSelected = { true, false };
+ private bool[] menuSelected = { true, false, false, false, false, false, false };
// 按钮图标
private PictureBox[] menuPics;
// 按钮图标的资源名称(选中的资源名称在后面加上 _selected)
@@ -57,7 +73,7 @@
// 将当前按钮的效果设置为默认未选中
this.menuPics[index].BackgroundImage = (Bitmap)Resources.ResourceManager.GetObject(this.menuIconResources[index], null);
- this.menuLabels[index].ForeColor = ColorTranslator.FromHtml("#2C2C2C");
+ this.menuLabels[index].ForeColor = ColorTranslator.FromHtml("#333333");
this.menuUnderlines[index].BackColor = Color.Transparent;
}
@@ -79,13 +95,15 @@
LeaveHome();
// 重新设置所有按钮的状态
- this.menuSelected = new bool[] { true, false };
+ this.menuSelected = new bool[] { true, false, false, false, false, false, false };
// 将新选中的按钮设置为选中
this.picIconHome.BackgroundImage = (Bitmap)Resources.ResourceManager.GetObject("icon_home_selected", null);
- this.labHomeText.ForeColor = ColorTranslator.FromHtml("#1296db");
- this.labHomeSelected.BackColor = ColorTranslator.FromHtml("#1296db");
+ this.labHomeText.ForeColor = ColorTranslator.FromHtml("#3f84d7");
+ this.labHomeSelected.BackColor = ColorTranslator.FromHtml("#3f84d7");
+ // 切换至首页
+ switchMainPanel(0);
}
#endregion
@@ -107,12 +125,163 @@
LeaveStatus();
// 重新设置所有按钮的状态
- this.menuSelected = new bool[] { false, true };
+ this.menuSelected = new bool[] { false, true, false, false, false, false, false };
// 将新选中的按钮设置为选中
this.picIconStatus.BackgroundImage = (Bitmap) Resources.ResourceManager.GetObject("icon_status_selected", null);
- this.labStatusText.ForeColor = ColorTranslator.FromHtml("#1296db");
- this.labStatusSelected.BackColor = ColorTranslator.FromHtml("#1296db");
+ this.labStatusText.ForeColor = ColorTranslator.FromHtml("#3f84d7");
+ this.labStatusSelected.BackColor = ColorTranslator.FromHtml("#3f84d7");
+
+ // 切换到基准状态页面
+ switchMainPanel(1);
+ }
+ #endregion
+
+ #region 送检仪器按钮点击、移入/移出效果
+ private void HoverDev()
+ {
+ panDev.Back = ColorTranslator.FromHtml("#56a3f2");
+ }
+ private void LeaveDev()
+ {
+ panDev.Back = Color.Transparent;
+ }
+ private void SelectDev()
+ {
+ // 移除所有按钮的选中样式
+ this.ClearAllMenuSelected();
+
+ // 鼠标移入效果去掉
+ LeaveDev();
+
+ // 重新设置所有按钮的状态
+ this.menuSelected = new bool[] { false, false, true, false, false ,false ,false };
+
+ // 将新选中的按钮设置为选中
+ this.picIconDev.BackgroundImage = (Bitmap)Resources.ResourceManager.GetObject("icon_dev_selected", null);
+ this.labDevText.ForeColor = ColorTranslator.FromHtml("#3f84d7");
+ this.labDevSelected.BackColor = ColorTranslator.FromHtml("#3f84d7");
+
+ // 切换至待检仪器管理
+ switchMainPanel(2);
+ }
+ #endregion
+
+ #region 频率计数器测量点击、移入/移出效果
+ private void HoverCounter()
+ {
+ panCounter.Back = ColorTranslator.FromHtml("#56a3f2");
+ }
+ private void LeaveCounter()
+ {
+ panCounter.Back = Color.Transparent;
+ }
+ private void SelectCounter()
+ {
+ // 移除所有按钮的选中样式
+ this.ClearAllMenuSelected();
+
+ // 鼠标移入效果去掉
+ LeaveCounter();
+
+ // 重新设置所有按钮的状态
+ this.menuSelected = new bool[] { false, false, false, true, false, false, false };
+
+ // 将新选中的按钮设置为选中
+ this.picIconCounter.BackgroundImage = (Bitmap)Resources.ResourceManager.GetObject("icon_counter_selected", null);
+ this.labCounterText.ForeColor = ColorTranslator.FromHtml("#3f84d7");
+ this.labCounterSelected.BackColor = ColorTranslator.FromHtml("#3f84d7");
+ }
+ #endregion
+
+ #region 计量管理点击、移入/移出效果
+ private void HoverMeasure()
+ {
+ panMeasure.Back = ColorTranslator.FromHtml("#56a3f2");
+ }
+ private void LeaveMeasure()
+ {
+ panMeasure.Back = Color.Transparent;
+ }
+ private void SelectMeasure()
+ {
+ // 移除所有按钮的选中样式
+ this.ClearAllMenuSelected();
+
+ // 鼠标移入效果去掉
+ LeaveMeasure();
+
+ // 重新设置所有按钮的状态
+ this.menuSelected = new bool[] { false, false, false, false, true, false, false };
+
+ // 将新选中的按钮设置为选中
+ this.picIconMeasure.BackgroundImage = (Bitmap)Resources.ResourceManager.GetObject("icon_measure_selected", null);
+ this.labMeasureText.ForeColor = ColorTranslator.FromHtml("#3f84d7");
+ this.labMeasureSelected.BackColor = ColorTranslator.FromHtml("#3f84d7");
+
+ // 切换至计量信息管理
+ switchMainPanel(4);
+ }
+ #endregion
+
+ #region 数据管理点击、移入/移出效果
+ private void HoverData()
+ {
+ panData.Back = ColorTranslator.FromHtml("#56a3f2");
+ }
+ private void LeaveData()
+ {
+ panData.Back = Color.Transparent;
+ }
+ private void SelectData()
+ {
+ // 移除所有按钮的选中样式
+ this.ClearAllMenuSelected();
+
+ // 鼠标移入效果去掉
+ LeaveData();
+
+ // 重新设置所有按钮的状态
+ this.menuSelected = new bool[] { false, false, false, false, false, true, false };
+
+ // 将新选中的按钮设置为选中
+ this.picIconData.BackgroundImage = (Bitmap)Resources.ResourceManager.GetObject("icon_data_selected", null);
+ this.labDataText.ForeColor = ColorTranslator.FromHtml("#3f84d7");
+ this.labDataSelected.BackColor = ColorTranslator.FromHtml("#3f84d7");
+
+ // 弹出对话框进行数据备份与还原操作
+ DataBackupDlg dataDlg = new DataBackupDlg();
+ dataDlg.ShowDialog();
+ }
+ #endregion
+
+ #region 系统管理点击、移入/移出效果
+ private void HoverSetting()
+ {
+ panSetting.Back = ColorTranslator.FromHtml("#56a3f2");
+ }
+ private void LeaveSetting()
+ {
+ panSetting.Back = Color.Transparent;
+ }
+ private void SelectSetting()
+ {
+ // 移除所有按钮的选中样式
+ this.ClearAllMenuSelected();
+
+ // 鼠标移入效果去掉
+ LeaveSetting();
+
+ // 重新设置所有按钮的状态
+ this.menuSelected = new bool[] { false, false, false, false, false, false, true };
+
+ // 将新选中的按钮设置为选中
+ this.picIconSetting.BackgroundImage = (Bitmap)Resources.ResourceManager.GetObject("icon_setting_selected", null);
+ this.labSettingText.ForeColor = ColorTranslator.FromHtml("#3f84d7");
+ this.labSettingSelected.BackColor = ColorTranslator.FromHtml("#3f84d7");
+
+ // 切换到设置的界面
+ switchMainPanel(6);
}
#endregion
@@ -123,22 +292,13 @@
private void RbFreqStdMeas_Load(object sender, EventArgs e)
{
- this.menuPics = new PictureBox[] { this.picIconHome, this.picIconStatus };
- this.menuLabels = new Label[] { this.labHomeText, this.labStatusText };
- this.menuUnderlines = new Label[] { this.labHomeSelected, this.labStatusSelected };
- this.menuIconResources = new string[] { "icon_home", "icon_status" };
- }
+ this.menuPics = new PictureBox[] { this.picIconHome, this.picIconStatus, this.picIconDev, this.picIconCounter, this.picIconMeasure, this.picIconData, this.picIconSetting };
+ this.menuLabels = new Label[] { this.labHomeText, this.labStatusText, this.labDevText, this.labCounterText, this.labMeasureText, this.labDataText, this.labSettingText };
+ this.menuUnderlines = new Label[] { this.labHomeSelected, this.labStatusSelected, this.labDevSelected, this.labCounterSelected, this.labMeasureSelected, this.labDataSelected, this.labSettingSelected };
+ this.menuIconResources = new string[] { "icon_home", "icon_status", "icon_dev", "icon_counter", "icon_measure", "icon_data", "icon_setting" };
- private void btnExitSys_Click(object sender, EventArgs e)
- {
- Application.Exit();
- }
-
- private void btnExitSys_MouseHover(object sender, EventArgs e)
- {
- ToolTip p = new ToolTip();
- p.ShowAlways = true;
- p.SetToolTip(this.btnExitSys, "退出");
+ // 加载首页的内容
+ switchMainPanel(0);
}
private void panHome_Click(object sender, EventArgs e)
@@ -191,5 +351,169 @@
LeaveStatus();
}
}
+
+ private void panDev_Click(object sender, EventArgs e)
+ {
+ if (this.menuSelected[2] == false)
+ {
+ SelectDev();
+ }
+ }
+
+ private void panDev_MouseHover(object sender, EventArgs e)
+ {
+ if (this.menuSelected[2] == false)
+ {
+ HoverDev();
+ }
+ }
+
+ private void panDev_MouseLeave(object sender, EventArgs e)
+ {
+ if (this.menuSelected[2] == false)
+ {
+ LeaveDev();
+ }
+ }
+
+ private void panCounter_Click(object sender, EventArgs e)
+ {
+ if (this.menuSelected[3] == false)
+ {
+ SelectCounter();
+ }
+ }
+
+ private void panCounter_MouseHover(object sender, EventArgs e)
+ {
+ if (this.menuSelected[3] == false)
+ {
+ HoverCounter();
+ }
+ }
+
+ private void panCounter_MouseLeave(object sender, EventArgs e)
+ {
+ if (this.menuSelected[3] == false)
+ {
+ LeaveCounter();
+ }
+ }
+
+ private void panMeasure_Click(object sender, EventArgs e)
+ {
+ if (this.menuSelected[4] == false)
+ {
+ SelectMeasure();
+ }
+ }
+
+ private void panMeasure_MouseHover(object sender, EventArgs e)
+ {
+ if (this.menuSelected[4] == false)
+ {
+ HoverMeasure();
+ }
+ }
+
+ private void panMeasure_MouseLeave(object sender, EventArgs e)
+ {
+ if (this.menuSelected[4] == false)
+ {
+ LeaveMeasure();
+ }
+ }
+
+ private void panData_Click(object sender, EventArgs e)
+ {
+ if (this.menuSelected[5] == false)
+ {
+ SelectData();
+ }
+ }
+
+ private void panData_MouseHover(object sender, EventArgs e)
+ {
+ if (this.menuSelected[5] == false)
+ {
+ HoverData();
+ }
+ }
+
+ private void panData_MouseLeave(object sender, EventArgs e)
+ {
+ if (this.menuSelected[5] == false)
+ {
+ LeaveData();
+ }
+ }
+
+ private void panSetting_Click(object sender, EventArgs e)
+ {
+ if (this.menuSelected[6] == false)
+ {
+ SelectSetting();
+ }
+ }
+
+ private void panSetting_MouseHover(object sender, EventArgs e)
+ {
+ if (this.menuSelected[6] == false)
+ {
+ HoverSetting();
+ }
+ }
+
+ private void panSetting_MouseLeave(object sender, EventArgs e)
+ {
+ if (this.menuSelected[6] == false)
+ {
+ LeaveSetting();
+ }
+ }
+
+ private void switchMainPanel(int index)
+ {
+ this.panelMain.Controls.Clear();
+
+ switch (index)
+ {
+ case 0: // 首页
+ HomeCtrlForm home = new HomeCtrlForm();
+ home.Show();
+ this.panelMain.Controls.Add(home);
+ break;
+
+ case 1: // 基准状态
+ StatusCtrlForm statusForm = new StatusCtrlForm();
+ statusForm.Show();
+ this.panelMain.Controls.Add(statusForm);
+ break;
+
+ case 2: // 待检设备
+ InfoCtrlForm infoForm = new InfoCtrlForm();
+ infoForm.Show();
+ this.panelMain.Controls.Add(infoForm);
+ break;
+
+ case 3: // 频率计数器范围
+ break;
+
+ case 4: // 计量信息
+ DevTestedCtrlForm tested = new DevTestedCtrlForm();
+ tested.Show();
+ this.panelMain.Controls.Add(tested);
+ break;
+
+ case 6: // 设置
+ SettingCtrlForm settingForm = new SettingCtrlForm();
+ settingForm.Show();
+ this.panelMain.Controls.Add(settingForm);
+ break;
+
+ default:
+ break;
+ }
+ }
}
}
\ No newline at end of file
diff --git a/RbFreqStandMeasure/StatusCtrlForm.Designer.cs b/RbFreqStandMeasure/StatusCtrlForm.Designer.cs
index bf5071a..b4151fd 100644
--- a/RbFreqStandMeasure/StatusCtrlForm.Designer.cs
+++ b/RbFreqStandMeasure/StatusCtrlForm.Designer.cs
@@ -31,21 +31,34 @@
{
this.panelSite = new System.Windows.Forms.Panel();
this.label5 = new System.Windows.Forms.Label();
- this.panelStatus = new System.Windows.Forms.Panel();
+ this.panel3 = new System.Windows.Forms.Panel();
+ this.label8 = new System.Windows.Forms.Label();
+ this.label13 = new System.Windows.Forms.Label();
+ this.label12 = new System.Windows.Forms.Label();
+ this.label11 = new System.Windows.Forms.Label();
+ this.label9 = new System.Windows.Forms.Label();
+ this.label10 = new System.Windows.Forms.Label();
+ this.panel2 = new System.Windows.Forms.Panel();
this.label4 = new System.Windows.Forms.Label();
+ this.label7 = new System.Windows.Forms.Label();
+ this.label6 = new System.Windows.Forms.Label();
+ this.label1 = new System.Windows.Forms.Label();
+ this.panel1 = new System.Windows.Forms.Panel();
this.label3 = new System.Windows.Forms.Label();
this.label2 = new System.Windows.Forms.Label();
- this.label1 = new System.Windows.Forms.Label();
+ this.label14 = new System.Windows.Forms.Label();
this.panelSite.SuspendLayout();
- this.panelStatus.SuspendLayout();
+ this.panel3.SuspendLayout();
+ this.panel2.SuspendLayout();
+ this.panel1.SuspendLayout();
this.SuspendLayout();
//
// panelSite
//
this.panelSite.Controls.Add(this.label5);
- this.panelSite.Location = new System.Drawing.Point(200, 0);
+ this.panelSite.Location = new System.Drawing.Point(232, 0);
this.panelSite.Name = "panelSite";
- this.panelSite.Size = new System.Drawing.Size(800, 640);
+ this.panelSite.Size = new System.Drawing.Size(773, 640);
this.panelSite.TabIndex = 3;
//
// label5
@@ -57,67 +70,208 @@
this.label5.TabIndex = 0;
this.label5.Text = "卫星位置图";
//
- // panelStatus
+ // panel3
//
- this.panelStatus.BackColor = System.Drawing.SystemColors.Window;
- this.panelStatus.Controls.Add(this.label4);
- this.panelStatus.Controls.Add(this.label3);
- this.panelStatus.Controls.Add(this.label2);
- this.panelStatus.Controls.Add(this.label1);
- this.panelStatus.Location = new System.Drawing.Point(0, 0);
- this.panelStatus.Name = "panelStatus";
- this.panelStatus.Size = new System.Drawing.Size(200, 640);
- this.panelStatus.TabIndex = 2;
+ this.panel3.BackgroundImage = global::Casic.Birmm.RbFreqStandMeasure.Properties.Resources.bg_status_location;
+ this.panel3.Controls.Add(this.label8);
+ this.panel3.Controls.Add(this.label13);
+ this.panel3.Controls.Add(this.label12);
+ this.panel3.Controls.Add(this.label11);
+ this.panel3.Controls.Add(this.label9);
+ this.panel3.Controls.Add(this.label10);
+ this.panel3.Location = new System.Drawing.Point(6, 360);
+ this.panel3.Name = "panel3";
+ this.panel3.Size = new System.Drawing.Size(224, 293);
+ this.panel3.TabIndex = 6;
+ //
+ // label8
+ //
+ this.label8.BackColor = System.Drawing.Color.Transparent;
+ this.label8.Font = new System.Drawing.Font("微软雅黑", 14F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Pixel, ((byte)(134)));
+ this.label8.Location = new System.Drawing.Point(0, 20);
+ this.label8.Name = "label8";
+ this.label8.Size = new System.Drawing.Size(224, 25);
+ this.label8.TabIndex = 0;
+ this.label8.Text = "位置信息";
+ this.label8.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
+ //
+ // label13
+ //
+ this.label13.BackColor = System.Drawing.Color.Transparent;
+ this.label13.Font = new System.Drawing.Font("微软雅黑", 14F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Pixel, ((byte)(134)));
+ this.label13.Location = new System.Drawing.Point(0, 220);
+ this.label13.Margin = new System.Windows.Forms.Padding(0);
+ this.label13.Name = "label13";
+ this.label13.Size = new System.Drawing.Size(75, 25);
+ this.label13.TabIndex = 1;
+ this.label13.Text = "Z";
+ this.label13.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
+ //
+ // label12
+ //
+ this.label12.BackColor = System.Drawing.Color.Transparent;
+ this.label12.Font = new System.Drawing.Font("微软雅黑", 14F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Pixel, ((byte)(134)));
+ this.label12.Location = new System.Drawing.Point(0, 180);
+ this.label12.Margin = new System.Windows.Forms.Padding(0);
+ this.label12.Name = "label12";
+ this.label12.Size = new System.Drawing.Size(75, 25);
+ this.label12.TabIndex = 1;
+ this.label12.Text = "Y";
+ this.label12.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
+ //
+ // label11
+ //
+ this.label11.BackColor = System.Drawing.Color.Transparent;
+ this.label11.Font = new System.Drawing.Font("微软雅黑", 14F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Pixel, ((byte)(134)));
+ this.label11.Location = new System.Drawing.Point(0, 140);
+ this.label11.Margin = new System.Windows.Forms.Padding(0);
+ this.label11.Name = "label11";
+ this.label11.Size = new System.Drawing.Size(75, 25);
+ this.label11.TabIndex = 1;
+ this.label11.Text = "X";
+ this.label11.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
+ //
+ // label9
+ //
+ this.label9.BackColor = System.Drawing.Color.Transparent;
+ this.label9.Font = new System.Drawing.Font("微软雅黑", 14F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Pixel, ((byte)(134)));
+ this.label9.Location = new System.Drawing.Point(0, 60);
+ this.label9.Name = "label9";
+ this.label9.Size = new System.Drawing.Size(75, 25);
+ this.label9.TabIndex = 1;
+ this.label9.Text = "经度";
+ this.label9.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
+ //
+ // label10
+ //
+ this.label10.BackColor = System.Drawing.Color.Transparent;
+ this.label10.Font = new System.Drawing.Font("微软雅黑", 14F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Pixel, ((byte)(134)));
+ this.label10.Location = new System.Drawing.Point(0, 100);
+ this.label10.Margin = new System.Windows.Forms.Padding(0);
+ this.label10.Name = "label10";
+ this.label10.Size = new System.Drawing.Size(75, 25);
+ this.label10.TabIndex = 1;
+ this.label10.Text = "纬度";
+ this.label10.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
+ //
+ // panel2
+ //
+ this.panel2.BackgroundImage = global::Casic.Birmm.RbFreqStandMeasure.Properties.Resources.bg_status_time;
+ this.panel2.Controls.Add(this.label4);
+ this.panel2.Controls.Add(this.label7);
+ this.panel2.Controls.Add(this.label6);
+ this.panel2.Controls.Add(this.label1);
+ this.panel2.Location = new System.Drawing.Point(6, 160);
+ this.panel2.Name = "panel2";
+ this.panel2.Size = new System.Drawing.Size(224, 200);
+ this.panel2.TabIndex = 5;
//
// label4
//
- this.label4.AutoSize = true;
- this.label4.Location = new System.Drawing.Point(59, 185);
+ this.label4.BackColor = System.Drawing.Color.Transparent;
+ this.label4.Font = new System.Drawing.Font("微软雅黑", 14F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Pixel, ((byte)(134)));
+ this.label4.Location = new System.Drawing.Point(0, 20);
this.label4.Name = "label4";
- this.label4.Size = new System.Drawing.Size(53, 12);
+ this.label4.Size = new System.Drawing.Size(224, 25);
this.label4.TabIndex = 0;
- this.label4.Text = "事件信息";
+ this.label4.Text = "时间信息";
+ this.label4.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
//
- // label3
+ // label7
//
- this.label3.AutoSize = true;
- this.label3.Location = new System.Drawing.Point(59, 139);
- this.label3.Name = "label3";
- this.label3.Size = new System.Drawing.Size(53, 12);
- this.label3.TabIndex = 0;
- this.label3.Text = "位置信息";
+ this.label7.BackColor = System.Drawing.Color.Transparent;
+ this.label7.Font = new System.Drawing.Font("微软雅黑", 14F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Pixel, ((byte)(134)));
+ this.label7.Location = new System.Drawing.Point(0, 140);
+ this.label7.Margin = new System.Windows.Forms.Padding(0);
+ this.label7.Name = "label7";
+ this.label7.Size = new System.Drawing.Size(75, 25);
+ this.label7.TabIndex = 1;
+ this.label7.Text = "MJD";
+ this.label7.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
//
- // label2
+ // label6
//
- this.label2.AutoSize = true;
- this.label2.Location = new System.Drawing.Point(59, 98);
- this.label2.Name = "label2";
- this.label2.Size = new System.Drawing.Size(53, 12);
- this.label2.TabIndex = 0;
- this.label2.Text = "锁定状态";
+ this.label6.BackColor = System.Drawing.Color.Transparent;
+ this.label6.Font = new System.Drawing.Font("微软雅黑", 14F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Pixel, ((byte)(134)));
+ this.label6.Location = new System.Drawing.Point(0, 100);
+ this.label6.Name = "label6";
+ this.label6.Size = new System.Drawing.Size(75, 25);
+ this.label6.TabIndex = 1;
+ this.label6.Text = "时间";
+ this.label6.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
//
// label1
//
- this.label1.AutoSize = true;
- this.label1.Location = new System.Drawing.Point(33, 53);
+ this.label1.BackColor = System.Drawing.Color.Transparent;
+ this.label1.Font = new System.Drawing.Font("微软雅黑", 14F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Pixel, ((byte)(134)));
+ this.label1.Location = new System.Drawing.Point(0, 60);
this.label1.Name = "label1";
- this.label1.Size = new System.Drawing.Size(29, 12);
- this.label1.TabIndex = 0;
- this.label1.Text = "状态";
+ this.label1.Size = new System.Drawing.Size(75, 25);
+ this.label1.TabIndex = 1;
+ this.label1.Text = "日期";
+ this.label1.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
+ //
+ // panel1
+ //
+ this.panel1.BackgroundImage = global::Casic.Birmm.RbFreqStandMeasure.Properties.Resources.bg_status_base;
+ this.panel1.Controls.Add(this.label3);
+ this.panel1.Controls.Add(this.label2);
+ this.panel1.Controls.Add(this.label14);
+ this.panel1.Location = new System.Drawing.Point(6, 0);
+ this.panel1.Margin = new System.Windows.Forms.Padding(0);
+ this.panel1.Name = "panel1";
+ this.panel1.Size = new System.Drawing.Size(224, 160);
+ this.panel1.TabIndex = 4;
+ //
+ // label3
+ //
+ this.label3.BackColor = System.Drawing.Color.Transparent;
+ this.label3.Font = new System.Drawing.Font("微软雅黑", 14F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Pixel, ((byte)(134)));
+ this.label3.Location = new System.Drawing.Point(0, 100);
+ this.label3.Name = "label3";
+ this.label3.Size = new System.Drawing.Size(75, 25);
+ this.label3.TabIndex = 1;
+ this.label3.Text = "接收机";
+ this.label3.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
+ //
+ // label2
+ //
+ this.label2.BackColor = System.Drawing.Color.Transparent;
+ this.label2.Font = new System.Drawing.Font("微软雅黑", 14F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Pixel, ((byte)(134)));
+ this.label2.Location = new System.Drawing.Point(0, 60);
+ this.label2.Name = "label2";
+ this.label2.Size = new System.Drawing.Size(75, 25);
+ this.label2.TabIndex = 1;
+ this.label2.Text = "原子钟";
+ this.label2.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
+ //
+ // label14
+ //
+ this.label14.BackColor = System.Drawing.Color.Transparent;
+ this.label14.Font = new System.Drawing.Font("微软雅黑", 14F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Pixel, ((byte)(134)));
+ this.label14.Location = new System.Drawing.Point(0, 20);
+ this.label14.Name = "label14";
+ this.label14.Size = new System.Drawing.Size(224, 25);
+ this.label14.TabIndex = 0;
+ this.label14.Text = "基本信息";
+ this.label14.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
//
// StatusCtrlForm
//
this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 12F);
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
+ this.Controls.Add(this.panel3);
+ this.Controls.Add(this.panel2);
+ this.Controls.Add(this.panel1);
this.Controls.Add(this.panelSite);
- this.Controls.Add(this.panelStatus);
this.Margin = new System.Windows.Forms.Padding(10);
this.Name = "StatusCtrlForm";
- this.Size = new System.Drawing.Size(1000, 640);
+ this.Size = new System.Drawing.Size(1024, 654);
this.panelSite.ResumeLayout(false);
this.panelSite.PerformLayout();
- this.panelStatus.ResumeLayout(false);
- this.panelStatus.PerformLayout();
+ this.panel3.ResumeLayout(false);
+ this.panel2.ResumeLayout(false);
+ this.panel1.ResumeLayout(false);
this.ResumeLayout(false);
}
@@ -126,10 +280,21 @@
private System.Windows.Forms.Panel panelSite;
private System.Windows.Forms.Label label5;
- private System.Windows.Forms.Panel panelStatus;
+ private System.Windows.Forms.Panel panel3;
+ private System.Windows.Forms.Label label8;
+ private System.Windows.Forms.Label label13;
+ private System.Windows.Forms.Label label12;
+ private System.Windows.Forms.Label label11;
+ private System.Windows.Forms.Label label9;
+ private System.Windows.Forms.Label label10;
+ private System.Windows.Forms.Panel panel2;
private System.Windows.Forms.Label label4;
+ private System.Windows.Forms.Label label7;
+ private System.Windows.Forms.Label label6;
+ private System.Windows.Forms.Label label1;
+ private System.Windows.Forms.Panel panel1;
private System.Windows.Forms.Label label3;
private System.Windows.Forms.Label label2;
- private System.Windows.Forms.Label label1;
+ private System.Windows.Forms.Label label14;
}
}
diff --git a/RbFreqStandMeasure/res/images/bg_banner.png b/RbFreqStandMeasure/res/images/bg_banner.png
index d795b7d..3119070 100644
--- a/RbFreqStandMeasure/res/images/bg_banner.png
+++ b/RbFreqStandMeasure/res/images/bg_banner.png
Binary files differ
diff --git a/RbFreqStandMeasure/res/images/bg_dev_channel.png b/RbFreqStandMeasure/res/images/bg_dev_channel.png
new file mode 100644
index 0000000..7bac7ce
--- /dev/null
+++ b/RbFreqStandMeasure/res/images/bg_dev_channel.png
Binary files differ
diff --git a/RbFreqStandMeasure/res/images/bg_dev_tested.png b/RbFreqStandMeasure/res/images/bg_dev_tested.png
new file mode 100644
index 0000000..0b43ead
--- /dev/null
+++ b/RbFreqStandMeasure/res/images/bg_dev_tested.png
Binary files differ
diff --git a/RbFreqStandMeasure/res/images/bg_status_base.png b/RbFreqStandMeasure/res/images/bg_status_base.png
new file mode 100644
index 0000000..ef11397
--- /dev/null
+++ b/RbFreqStandMeasure/res/images/bg_status_base.png
Binary files differ
diff --git a/RbFreqStandMeasure/res/images/bg_status_location.png b/RbFreqStandMeasure/res/images/bg_status_location.png
new file mode 100644
index 0000000..64d28d5
--- /dev/null
+++ b/RbFreqStandMeasure/res/images/bg_status_location.png
Binary files differ
diff --git a/RbFreqStandMeasure/res/images/bg_status_time.png b/RbFreqStandMeasure/res/images/bg_status_time.png
new file mode 100644
index 0000000..eec981a
--- /dev/null
+++ b/RbFreqStandMeasure/res/images/bg_status_time.png
Binary files differ
diff --git a/RbFreqStandMeasure/res/images/icon_counter.png b/RbFreqStandMeasure/res/images/icon_counter.png
new file mode 100644
index 0000000..060c3d7
--- /dev/null
+++ b/RbFreqStandMeasure/res/images/icon_counter.png
Binary files differ
diff --git a/RbFreqStandMeasure/res/images/icon_counter_selected.png b/RbFreqStandMeasure/res/images/icon_counter_selected.png
new file mode 100644
index 0000000..45c7720
--- /dev/null
+++ b/RbFreqStandMeasure/res/images/icon_counter_selected.png
Binary files differ
diff --git a/RbFreqStandMeasure/res/images/icon_data.png b/RbFreqStandMeasure/res/images/icon_data.png
new file mode 100644
index 0000000..bf03575
--- /dev/null
+++ b/RbFreqStandMeasure/res/images/icon_data.png
Binary files differ
diff --git a/RbFreqStandMeasure/res/images/icon_data_selected.png b/RbFreqStandMeasure/res/images/icon_data_selected.png
new file mode 100644
index 0000000..a8aa441
--- /dev/null
+++ b/RbFreqStandMeasure/res/images/icon_data_selected.png
Binary files differ
diff --git a/RbFreqStandMeasure/res/images/icon_dev.png b/RbFreqStandMeasure/res/images/icon_dev.png
new file mode 100644
index 0000000..09bf380
--- /dev/null
+++ b/RbFreqStandMeasure/res/images/icon_dev.png
Binary files differ
diff --git a/RbFreqStandMeasure/HomeCtrlForm.Designer.cs b/RbFreqStandMeasure/HomeCtrlForm.Designer.cs
index fb515f8..73e477a 100644
--- a/RbFreqStandMeasure/HomeCtrlForm.Designer.cs
+++ b/RbFreqStandMeasure/HomeCtrlForm.Designer.cs
@@ -29,589 +29,271 @@
///
private void InitializeComponent()
{
- System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle1 = new System.Windows.Forms.DataGridViewCellStyle();
- System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle2 = new System.Windows.Forms.DataGridViewCellStyle();
- this.panelToBeTested = new System.Windows.Forms.Panel();
- this.dataGridViewX1 = new DevComponents.DotNetBar.Controls.DataGridViewX();
- this.Column13 = new System.Windows.Forms.DataGridViewTextBoxColumn();
- this.Column14 = new System.Windows.Forms.DataGridViewTextBoxColumn();
- this.Column15 = new System.Windows.Forms.DataGridViewTextBoxColumn();
- this.Column16 = new System.Windows.Forms.DataGridViewTextBoxColumn();
- this.Column17 = new System.Windows.Forms.DataGridViewTextBoxColumn();
- this.panelEx1 = new DevComponents.DotNetBar.PanelEx();
- this.labelX6 = new DevComponents.DotNetBar.LabelX();
- this.labelX5 = new DevComponents.DotNetBar.LabelX();
- this.labelX4 = new DevComponents.DotNetBar.LabelX();
- this.labelX3 = new DevComponents.DotNetBar.LabelX();
- this.labelX2 = new DevComponents.DotNetBar.LabelX();
- this.labelX1 = new DevComponents.DotNetBar.LabelX();
- this.panelEx2 = new DevComponents.DotNetBar.PanelEx();
- this.labelX7 = new DevComponents.DotNetBar.LabelX();
- this.labelX8 = new DevComponents.DotNetBar.LabelX();
- this.labelX10 = new DevComponents.DotNetBar.LabelX();
- this.labelX9 = new DevComponents.DotNetBar.LabelX();
- this.panelEx3 = new DevComponents.DotNetBar.PanelEx();
- this.labelX11 = new DevComponents.DotNetBar.LabelX();
- this.labelX13 = new DevComponents.DotNetBar.LabelX();
- this.labelX12 = new DevComponents.DotNetBar.LabelX();
- this.panelEx4 = new DevComponents.DotNetBar.PanelEx();
- this.dataGridViewX2 = new DevComponents.DotNetBar.Controls.DataGridViewX();
- this.Column18 = new System.Windows.Forms.DataGridViewTextBoxColumn();
- this.Column19 = new System.Windows.Forms.DataGridViewTextBoxColumn();
- this.Column20 = new System.Windows.Forms.DataGridViewTextBoxColumn();
- this.Column21 = new System.Windows.Forms.DataGridViewTextBoxColumn();
- this.Column22 = new System.Windows.Forms.DataGridViewTextBoxColumn();
- this.Column23 = new System.Windows.Forms.DataGridViewTextBoxColumn();
- this.Column24 = new System.Windows.Forms.DataGridViewTextBoxColumn();
- this.Column25 = new System.Windows.Forms.DataGridViewTextBoxColumn();
- this.Column26 = new System.Windows.Forms.DataGridViewTextBoxColumn();
- this.Column27 = new System.Windows.Forms.DataGridViewTextBoxColumn();
- this.Column28 = new System.Windows.Forms.DataGridViewTextBoxColumn();
- this.Column29 = new System.Windows.Forms.DataGridViewTextBoxColumn();
- this.buttonX1 = new DevComponents.DotNetBar.ButtonX();
- this.buttonX2 = new DevComponents.DotNetBar.ButtonX();
+ this.panel3 = new System.Windows.Forms.Panel();
+ this.panel2 = new System.Windows.Forms.Panel();
+ this.panel1 = new System.Windows.Forms.Panel();
+ this.panel4 = new System.Windows.Forms.Panel();
+ this.panel5 = new System.Windows.Forms.Panel();
this.label1 = new System.Windows.Forms.Label();
this.label2 = new System.Windows.Forms.Label();
- this.panelToBeTested.SuspendLayout();
- ((System.ComponentModel.ISupportInitialize)(this.dataGridViewX1)).BeginInit();
- this.panelEx1.SuspendLayout();
- this.panelEx2.SuspendLayout();
- this.panelEx3.SuspendLayout();
- this.panelEx4.SuspendLayout();
- ((System.ComponentModel.ISupportInitialize)(this.dataGridViewX2)).BeginInit();
+ this.label3 = new System.Windows.Forms.Label();
+ this.label4 = new System.Windows.Forms.Label();
+ this.label5 = new System.Windows.Forms.Label();
+ this.label6 = new System.Windows.Forms.Label();
+ this.label7 = new System.Windows.Forms.Label();
+ this.label8 = new System.Windows.Forms.Label();
+ this.label9 = new System.Windows.Forms.Label();
+ this.label10 = new System.Windows.Forms.Label();
+ this.label11 = new System.Windows.Forms.Label();
+ this.label12 = new System.Windows.Forms.Label();
+ this.label13 = new System.Windows.Forms.Label();
+ this.panel3.SuspendLayout();
+ this.panel2.SuspendLayout();
+ this.panel1.SuspendLayout();
this.SuspendLayout();
//
- // panelToBeTested
+ // panel3
//
- this.panelToBeTested.Controls.Add(this.dataGridViewX1);
- this.panelToBeTested.Controls.Add(this.buttonX2);
- this.panelToBeTested.Controls.Add(this.buttonX1);
- this.panelToBeTested.Location = new System.Drawing.Point(250, 0);
- this.panelToBeTested.Name = "panelToBeTested";
- this.panelToBeTested.Size = new System.Drawing.Size(750, 216);
- this.panelToBeTested.TabIndex = 4;
+ this.panel3.BackgroundImage = global::Casic.Birmm.RbFreqStandMeasure.Properties.Resources.bg_status_location;
+ this.panel3.Controls.Add(this.label8);
+ this.panel3.Controls.Add(this.label13);
+ this.panel3.Controls.Add(this.label12);
+ this.panel3.Controls.Add(this.label11);
+ this.panel3.Controls.Add(this.label9);
+ this.panel3.Controls.Add(this.label10);
+ this.panel3.Location = new System.Drawing.Point(6, 360);
+ this.panel3.Name = "panel3";
+ this.panel3.Size = new System.Drawing.Size(224, 293);
+ this.panel3.TabIndex = 2;
//
- // dataGridViewX1
+ // panel2
//
- this.dataGridViewX1.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.AutoSize;
- this.dataGridViewX1.Columns.AddRange(new System.Windows.Forms.DataGridViewColumn[] {
- this.Column13,
- this.Column14,
- this.Column15,
- this.Column16,
- this.Column17});
- dataGridViewCellStyle1.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleLeft;
- dataGridViewCellStyle1.BackColor = System.Drawing.SystemColors.Window;
- dataGridViewCellStyle1.Font = new System.Drawing.Font("宋体", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
- dataGridViewCellStyle1.ForeColor = System.Drawing.SystemColors.ControlText;
- dataGridViewCellStyle1.SelectionBackColor = System.Drawing.SystemColors.Highlight;
- dataGridViewCellStyle1.SelectionForeColor = System.Drawing.SystemColors.ControlText;
- dataGridViewCellStyle1.WrapMode = System.Windows.Forms.DataGridViewTriState.False;
- this.dataGridViewX1.DefaultCellStyle = dataGridViewCellStyle1;
- this.dataGridViewX1.GridColor = System.Drawing.Color.FromArgb(((int)(((byte)(208)))), ((int)(((byte)(215)))), ((int)(((byte)(229)))));
- this.dataGridViewX1.Location = new System.Drawing.Point(0, 1);
- this.dataGridViewX1.Name = "dataGridViewX1";
- this.dataGridViewX1.RowTemplate.Height = 23;
- this.dataGridViewX1.Size = new System.Drawing.Size(750, 179);
- this.dataGridViewX1.TabIndex = 14;
+ this.panel2.BackgroundImage = global::Casic.Birmm.RbFreqStandMeasure.Properties.Resources.bg_status_time;
+ this.panel2.Controls.Add(this.label4);
+ this.panel2.Controls.Add(this.label7);
+ this.panel2.Controls.Add(this.label6);
+ this.panel2.Controls.Add(this.label5);
+ this.panel2.Location = new System.Drawing.Point(6, 160);
+ this.panel2.Name = "panel2";
+ this.panel2.Size = new System.Drawing.Size(224, 200);
+ this.panel2.TabIndex = 1;
//
- // Column13
+ // panel1
//
- this.Column13.HeaderText = "仪器名称";
- this.Column13.Name = "Column13";
+ this.panel1.BackgroundImage = global::Casic.Birmm.RbFreqStandMeasure.Properties.Resources.bg_status_base;
+ this.panel1.Controls.Add(this.label3);
+ this.panel1.Controls.Add(this.label2);
+ this.panel1.Controls.Add(this.label1);
+ this.panel1.Location = new System.Drawing.Point(6, 0);
+ this.panel1.Margin = new System.Windows.Forms.Padding(0);
+ this.panel1.Name = "panel1";
+ this.panel1.Size = new System.Drawing.Size(224, 160);
+ this.panel1.TabIndex = 0;
//
- // Column14
+ // panel4
//
- this.Column14.HeaderText = "仪器类型";
- this.Column14.Name = "Column14";
+ this.panel4.BackgroundImage = global::Casic.Birmm.RbFreqStandMeasure.Properties.Resources.bg_dev_tested;
+ this.panel4.Location = new System.Drawing.Point(230, 0);
+ this.panel4.Margin = new System.Windows.Forms.Padding(0);
+ this.panel4.Name = "panel4";
+ this.panel4.Size = new System.Drawing.Size(788, 226);
+ this.panel4.TabIndex = 3;
//
- // Column15
+ // panel5
//
- this.Column15.HeaderText = "仪器编号";
- this.Column15.Name = "Column15";
- //
- // Column16
- //
- this.Column16.HeaderText = "客户名称";
- this.Column16.Name = "Column16";
- //
- // Column17
- //
- this.Column17.HeaderText = "开始时间";
- this.Column17.Name = "Column17";
- //
- // panelEx1
- //
- this.panelEx1.CanvasColor = System.Drawing.SystemColors.Control;
- this.panelEx1.ColorSchemeStyle = DevComponents.DotNetBar.eDotNetBarStyle.StyleManagerControlled;
- this.panelEx1.Controls.Add(this.labelX6);
- this.panelEx1.Controls.Add(this.labelX5);
- this.panelEx1.Controls.Add(this.labelX4);
- this.panelEx1.Controls.Add(this.labelX3);
- this.panelEx1.Controls.Add(this.labelX2);
- this.panelEx1.Controls.Add(this.labelX1);
- this.panelEx1.DisabledBackColor = System.Drawing.Color.Empty;
- this.panelEx1.Location = new System.Drawing.Point(25, 376);
- this.panelEx1.Name = "panelEx1";
- this.panelEx1.Size = new System.Drawing.Size(200, 200);
- this.panelEx1.Style.Alignment = System.Drawing.StringAlignment.Center;
- this.panelEx1.Style.BackColor1.ColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelBackground;
- this.panelEx1.Style.BackColor2.ColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelBackground2;
- this.panelEx1.Style.Border = DevComponents.DotNetBar.eBorderType.SingleLine;
- this.panelEx1.Style.BorderColor.ColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelBorder;
- this.panelEx1.Style.ForeColor.ColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelText;
- this.panelEx1.Style.GradientAngle = 90;
- this.panelEx1.TabIndex = 10;
- //
- // labelX6
- //
- //
- //
- //
- this.labelX6.BackgroundStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square;
- this.labelX6.Location = new System.Drawing.Point(3, 153);
- this.labelX6.Name = "labelX6";
- this.labelX6.Size = new System.Drawing.Size(75, 23);
- this.labelX6.Style = DevComponents.DotNetBar.eDotNetBarStyle.Office2013;
- this.labelX6.TabIndex = 0;
- this.labelX6.Text = "Z";
- this.labelX6.TextAlignment = System.Drawing.StringAlignment.Center;
- //
- // labelX5
- //
- //
- //
- //
- this.labelX5.BackgroundStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square;
- this.labelX5.Location = new System.Drawing.Point(3, 124);
- this.labelX5.Name = "labelX5";
- this.labelX5.Size = new System.Drawing.Size(75, 23);
- this.labelX5.Style = DevComponents.DotNetBar.eDotNetBarStyle.Office2013;
- this.labelX5.TabIndex = 0;
- this.labelX5.Text = "Y";
- this.labelX5.TextAlignment = System.Drawing.StringAlignment.Center;
- //
- // labelX4
- //
- //
- //
- //
- this.labelX4.BackgroundStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square;
- this.labelX4.Location = new System.Drawing.Point(3, 95);
- this.labelX4.Name = "labelX4";
- this.labelX4.Size = new System.Drawing.Size(75, 23);
- this.labelX4.Style = DevComponents.DotNetBar.eDotNetBarStyle.Office2013;
- this.labelX4.TabIndex = 0;
- this.labelX4.Text = "X";
- this.labelX4.TextAlignment = System.Drawing.StringAlignment.Center;
- //
- // labelX3
- //
- //
- //
- //
- this.labelX3.BackgroundStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square;
- this.labelX3.Location = new System.Drawing.Point(3, 66);
- this.labelX3.Name = "labelX3";
- this.labelX3.Size = new System.Drawing.Size(75, 23);
- this.labelX3.Style = DevComponents.DotNetBar.eDotNetBarStyle.Office2013;
- this.labelX3.TabIndex = 0;
- this.labelX3.Text = "纬度";
- this.labelX3.TextAlignment = System.Drawing.StringAlignment.Center;
- //
- // labelX2
- //
- //
- //
- //
- this.labelX2.BackgroundStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square;
- this.labelX2.Location = new System.Drawing.Point(3, 37);
- this.labelX2.Name = "labelX2";
- this.labelX2.Size = new System.Drawing.Size(75, 23);
- this.labelX2.Style = DevComponents.DotNetBar.eDotNetBarStyle.Office2013;
- this.labelX2.TabIndex = 0;
- this.labelX2.Text = "经度";
- this.labelX2.TextAlignment = System.Drawing.StringAlignment.Center;
- //
- // labelX1
- //
- //
- //
- //
- this.labelX1.BackgroundStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square;
- this.labelX1.Location = new System.Drawing.Point(3, 3);
- this.labelX1.Name = "labelX1";
- this.labelX1.Size = new System.Drawing.Size(194, 23);
- this.labelX1.Style = DevComponents.DotNetBar.eDotNetBarStyle.Office2013;
- this.labelX1.TabIndex = 0;
- this.labelX1.Text = "位置信息";
- this.labelX1.TextAlignment = System.Drawing.StringAlignment.Center;
- //
- // panelEx2
- //
- this.panelEx2.CanvasColor = System.Drawing.SystemColors.Control;
- this.panelEx2.ColorSchemeStyle = DevComponents.DotNetBar.eDotNetBarStyle.StyleManagerControlled;
- this.panelEx2.Controls.Add(this.labelX7);
- this.panelEx2.Controls.Add(this.labelX8);
- this.panelEx2.Controls.Add(this.labelX10);
- this.panelEx2.Controls.Add(this.labelX9);
- this.panelEx2.DisabledBackColor = System.Drawing.Color.Empty;
- this.panelEx2.Location = new System.Drawing.Point(25, 190);
- this.panelEx2.Name = "panelEx2";
- this.panelEx2.Size = new System.Drawing.Size(200, 150);
- this.panelEx2.Style.Alignment = System.Drawing.StringAlignment.Center;
- this.panelEx2.Style.BackColor1.ColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelBackground;
- this.panelEx2.Style.BackColor2.ColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelBackground2;
- this.panelEx2.Style.Border = DevComponents.DotNetBar.eBorderType.SingleLine;
- this.panelEx2.Style.BorderColor.ColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelBorder;
- this.panelEx2.Style.ForeColor.ColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelText;
- this.panelEx2.Style.GradientAngle = 90;
- this.panelEx2.TabIndex = 10;
- //
- // labelX7
- //
- //
- //
- //
- this.labelX7.BackgroundStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square;
- this.labelX7.Location = new System.Drawing.Point(3, 3);
- this.labelX7.Name = "labelX7";
- this.labelX7.Size = new System.Drawing.Size(194, 23);
- this.labelX7.Style = DevComponents.DotNetBar.eDotNetBarStyle.Office2013;
- this.labelX7.TabIndex = 0;
- this.labelX7.Text = "时间信息";
- this.labelX7.TextAlignment = System.Drawing.StringAlignment.Center;
- //
- // labelX8
- //
- //
- //
- //
- this.labelX8.BackgroundStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square;
- this.labelX8.Location = new System.Drawing.Point(3, 41);
- this.labelX8.Name = "labelX8";
- this.labelX8.Size = new System.Drawing.Size(75, 23);
- this.labelX8.Style = DevComponents.DotNetBar.eDotNetBarStyle.Office2013;
- this.labelX8.TabIndex = 0;
- this.labelX8.Text = "日期";
- this.labelX8.TextAlignment = System.Drawing.StringAlignment.Center;
- //
- // labelX10
- //
- //
- //
- //
- this.labelX10.BackgroundStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square;
- this.labelX10.Location = new System.Drawing.Point(3, 99);
- this.labelX10.Name = "labelX10";
- this.labelX10.Size = new System.Drawing.Size(75, 23);
- this.labelX10.Style = DevComponents.DotNetBar.eDotNetBarStyle.Office2013;
- this.labelX10.TabIndex = 0;
- this.labelX10.Text = "MJD";
- this.labelX10.TextAlignment = System.Drawing.StringAlignment.Center;
- //
- // labelX9
- //
- //
- //
- //
- this.labelX9.BackgroundStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square;
- this.labelX9.Location = new System.Drawing.Point(3, 70);
- this.labelX9.Name = "labelX9";
- this.labelX9.Size = new System.Drawing.Size(75, 23);
- this.labelX9.Style = DevComponents.DotNetBar.eDotNetBarStyle.Office2013;
- this.labelX9.TabIndex = 0;
- this.labelX9.Text = "时间";
- this.labelX9.TextAlignment = System.Drawing.StringAlignment.Center;
- //
- // panelEx3
- //
- this.panelEx3.CanvasColor = System.Drawing.SystemColors.Control;
- this.panelEx3.ColorSchemeStyle = DevComponents.DotNetBar.eDotNetBarStyle.StyleManagerControlled;
- this.panelEx3.Controls.Add(this.labelX11);
- this.panelEx3.Controls.Add(this.labelX13);
- this.panelEx3.Controls.Add(this.labelX12);
- this.panelEx3.DisabledBackColor = System.Drawing.Color.Empty;
- this.panelEx3.Location = new System.Drawing.Point(25, 50);
- this.panelEx3.Name = "panelEx3";
- this.panelEx3.Size = new System.Drawing.Size(200, 100);
- this.panelEx3.Style.Alignment = System.Drawing.StringAlignment.Center;
- this.panelEx3.Style.BackColor1.ColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelBackground;
- this.panelEx3.Style.BackColor2.ColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelBackground2;
- this.panelEx3.Style.Border = DevComponents.DotNetBar.eBorderType.SingleLine;
- this.panelEx3.Style.BorderColor.ColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelBorder;
- this.panelEx3.Style.ForeColor.ColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelText;
- this.panelEx3.Style.GradientAngle = 90;
- this.panelEx3.TabIndex = 10;
- //
- // labelX11
- //
- //
- //
- //
- this.labelX11.BackgroundStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square;
- this.labelX11.Location = new System.Drawing.Point(3, 3);
- this.labelX11.Name = "labelX11";
- this.labelX11.Size = new System.Drawing.Size(194, 23);
- this.labelX11.Style = DevComponents.DotNetBar.eDotNetBarStyle.Office2013;
- this.labelX11.TabIndex = 0;
- this.labelX11.Text = "基本信息";
- this.labelX11.TextAlignment = System.Drawing.StringAlignment.Center;
- //
- // labelX13
- //
- //
- //
- //
- this.labelX13.BackgroundStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square;
- this.labelX13.Location = new System.Drawing.Point(3, 32);
- this.labelX13.Name = "labelX13";
- this.labelX13.Size = new System.Drawing.Size(75, 23);
- this.labelX13.Style = DevComponents.DotNetBar.eDotNetBarStyle.Office2013;
- this.labelX13.TabIndex = 0;
- this.labelX13.Text = "原子钟";
- this.labelX13.TextAlignment = System.Drawing.StringAlignment.Center;
- //
- // labelX12
- //
- //
- //
- //
- this.labelX12.BackgroundStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square;
- this.labelX12.Location = new System.Drawing.Point(3, 61);
- this.labelX12.Name = "labelX12";
- this.labelX12.Size = new System.Drawing.Size(75, 23);
- this.labelX12.Style = DevComponents.DotNetBar.eDotNetBarStyle.Office2013;
- this.labelX12.TabIndex = 0;
- this.labelX12.Text = "接收机";
- this.labelX12.TextAlignment = System.Drawing.StringAlignment.Center;
- //
- // panelEx4
- //
- this.panelEx4.CanvasColor = System.Drawing.SystemColors.Control;
- this.panelEx4.ColorSchemeStyle = DevComponents.DotNetBar.eDotNetBarStyle.StyleManagerControlled;
- this.panelEx4.Controls.Add(this.panelEx2);
- this.panelEx4.Controls.Add(this.panelEx1);
- this.panelEx4.Controls.Add(this.panelEx3);
- this.panelEx4.DisabledBackColor = System.Drawing.Color.Empty;
- this.panelEx4.Location = new System.Drawing.Point(0, 0);
- this.panelEx4.Name = "panelEx4";
- this.panelEx4.Size = new System.Drawing.Size(250, 640);
- this.panelEx4.Style.Alignment = System.Drawing.StringAlignment.Center;
- this.panelEx4.Style.BackColor1.ColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelBackground;
- this.panelEx4.Style.BackColor2.ColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelBackground2;
- this.panelEx4.Style.Border = DevComponents.DotNetBar.eBorderType.SingleLine;
- this.panelEx4.Style.BorderColor.ColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelBorder;
- this.panelEx4.Style.ForeColor.ColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelText;
- this.panelEx4.Style.GradientAngle = 90;
- this.panelEx4.TabIndex = 10;
- //
- // dataGridViewX2
- //
- this.dataGridViewX2.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.AutoSize;
- this.dataGridViewX2.Columns.AddRange(new System.Windows.Forms.DataGridViewColumn[] {
- this.Column18,
- this.Column19,
- this.Column20,
- this.Column21,
- this.Column22,
- this.Column23,
- this.Column24,
- this.Column25,
- this.Column26,
- this.Column27,
- this.Column28,
- this.Column29});
- dataGridViewCellStyle2.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleLeft;
- dataGridViewCellStyle2.BackColor = System.Drawing.SystemColors.Window;
- dataGridViewCellStyle2.Font = new System.Drawing.Font("宋体", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
- dataGridViewCellStyle2.ForeColor = System.Drawing.SystemColors.ControlText;
- dataGridViewCellStyle2.SelectionBackColor = System.Drawing.SystemColors.Highlight;
- dataGridViewCellStyle2.SelectionForeColor = System.Drawing.SystemColors.ControlText;
- dataGridViewCellStyle2.WrapMode = System.Windows.Forms.DataGridViewTriState.False;
- this.dataGridViewX2.DefaultCellStyle = dataGridViewCellStyle2;
- this.dataGridViewX2.GridColor = System.Drawing.Color.FromArgb(((int)(((byte)(208)))), ((int)(((byte)(215)))), ((int)(((byte)(229)))));
- this.dataGridViewX2.Location = new System.Drawing.Point(250, 216);
- this.dataGridViewX2.Name = "dataGridViewX2";
- this.dataGridViewX2.Size = new System.Drawing.Size(747, 424);
- this.dataGridViewX2.TabIndex = 15;
- //
- // Column18
- //
- this.Column18.HeaderText = "通道号";
- this.Column18.Name = "Column18";
- //
- // Column19
- //
- this.Column19.HeaderText = "当前状态";
- this.Column19.Name = "Column19";
- //
- // Column20
- //
- this.Column20.HeaderText = "仪器名称";
- this.Column20.Name = "Column20";
- //
- // Column21
- //
- this.Column21.HeaderText = "仪器编号";
- this.Column21.Name = "Column21";
- //
- // Column22
- //
- this.Column22.HeaderText = "客户名称";
- this.Column22.Name = "Column22";
- //
- // Column23
- //
- this.Column23.HeaderText = "开始时间";
- this.Column23.Name = "Column23";
- //
- // Column24
- //
- this.Column24.HeaderText = "结束时间";
- this.Column24.Name = "Column24";
- //
- // Column25
- //
- this.Column25.HeaderText = "频率稳定度";
- this.Column25.Name = "Column25";
- //
- // Column26
- //
- this.Column26.HeaderText = "频率准确度";
- this.Column26.Name = "Column26";
- //
- // Column27
- //
- this.Column27.HeaderText = "开机特性";
- this.Column27.Name = "Column27";
- //
- // Column28
- //
- this.Column28.HeaderText = "日老化率";
- this.Column28.Name = "Column28";
- //
- // Column29
- //
- this.Column29.HeaderText = "频率计数器范围及灵敏度";
- this.Column29.Name = "Column29";
- //
- // buttonX1
- //
- this.buttonX1.AccessibleRole = System.Windows.Forms.AccessibleRole.PushButton;
- this.buttonX1.BackColor = System.Drawing.Color.Transparent;
- this.buttonX1.ColorTable = DevComponents.DotNetBar.eButtonColor.OrangeWithBackground;
- this.buttonX1.Location = new System.Drawing.Point(663, 183);
- this.buttonX1.Name = "buttonX1";
- this.buttonX1.Size = new System.Drawing.Size(30, 23);
- this.buttonX1.Style = DevComponents.DotNetBar.eDotNetBarStyle.StyleManagerControlled;
- this.buttonX1.Symbol = "";
- this.buttonX1.SymbolColor = System.Drawing.Color.FromArgb(((int)(((byte)(64)))), ((int)(((byte)(64)))), ((int)(((byte)(64)))));
- this.buttonX1.SymbolSize = 8F;
- this.buttonX1.TabIndex = 19;
- //
- // buttonX2
- //
- this.buttonX2.AccessibleRole = System.Windows.Forms.AccessibleRole.PushButton;
- this.buttonX2.BackColor = System.Drawing.Color.Transparent;
- this.buttonX2.ColorTable = DevComponents.DotNetBar.eButtonColor.OrangeWithBackground;
- this.buttonX2.Location = new System.Drawing.Point(589, 184);
- this.buttonX2.Name = "buttonX2";
- this.buttonX2.Size = new System.Drawing.Size(30, 23);
- this.buttonX2.Style = DevComponents.DotNetBar.eDotNetBarStyle.StyleManagerControlled;
- this.buttonX2.Symbol = "";
- this.buttonX2.SymbolColor = System.Drawing.Color.FromArgb(((int)(((byte)(64)))), ((int)(((byte)(64)))), ((int)(((byte)(64)))));
- this.buttonX2.SymbolSize = 8F;
- this.buttonX2.TabIndex = 19;
+ this.panel5.BackgroundImage = global::Casic.Birmm.RbFreqStandMeasure.Properties.Resources.bg_dev_channel;
+ this.panel5.Location = new System.Drawing.Point(230, 226);
+ this.panel5.Name = "panel5";
+ this.panel5.Size = new System.Drawing.Size(788, 424);
+ this.panel5.TabIndex = 4;
//
// label1
//
this.label1.BackColor = System.Drawing.Color.Transparent;
- this.label1.Font = new System.Drawing.Font("Times New Roman", 9.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
- this.label1.Location = new System.Drawing.Point(880, 186);
- this.label1.Margin = new System.Windows.Forms.Padding(0);
+ this.label1.Font = new System.Drawing.Font("微软雅黑", 14F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Pixel, ((byte)(134)));
+ this.label1.Location = new System.Drawing.Point(0, 20);
this.label1.Name = "label1";
- this.label1.Size = new System.Drawing.Size(20, 20);
- this.label1.TabIndex = 20;
- this.label1.Text = "1";
+ this.label1.Size = new System.Drawing.Size(224, 25);
+ this.label1.TabIndex = 0;
+ this.label1.Text = "基本信息";
this.label1.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
//
// label2
//
this.label2.BackColor = System.Drawing.Color.Transparent;
- this.label2.Font = new System.Drawing.Font("Times New Roman", 9.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
- this.label2.Location = new System.Drawing.Point(636, 187);
- this.label2.Margin = new System.Windows.Forms.Padding(0);
+ this.label2.Font = new System.Drawing.Font("微软雅黑", 14F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Pixel, ((byte)(134)));
+ this.label2.Location = new System.Drawing.Point(0, 60);
this.label2.Name = "label2";
- this.label2.Size = new System.Drawing.Size(200, 20);
- this.label2.TabIndex = 20;
- this.label2.Text = "共150条,每页5条,共100页";
- this.label2.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
+ this.label2.Size = new System.Drawing.Size(75, 25);
+ this.label2.TabIndex = 1;
+ this.label2.Text = "原子钟";
+ this.label2.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
+ //
+ // label3
+ //
+ this.label3.BackColor = System.Drawing.Color.Transparent;
+ this.label3.Font = new System.Drawing.Font("微软雅黑", 14F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Pixel, ((byte)(134)));
+ this.label3.Location = new System.Drawing.Point(0, 100);
+ this.label3.Name = "label3";
+ this.label3.Size = new System.Drawing.Size(75, 25);
+ this.label3.TabIndex = 1;
+ this.label3.Text = "接收机";
+ this.label3.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
+ //
+ // label4
+ //
+ this.label4.BackColor = System.Drawing.Color.Transparent;
+ this.label4.Font = new System.Drawing.Font("微软雅黑", 14F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Pixel, ((byte)(134)));
+ this.label4.Location = new System.Drawing.Point(0, 20);
+ this.label4.Name = "label4";
+ this.label4.Size = new System.Drawing.Size(224, 25);
+ this.label4.TabIndex = 0;
+ this.label4.Text = "时间信息";
+ this.label4.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
+ //
+ // label5
+ //
+ this.label5.BackColor = System.Drawing.Color.Transparent;
+ this.label5.Font = new System.Drawing.Font("微软雅黑", 14F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Pixel, ((byte)(134)));
+ this.label5.Location = new System.Drawing.Point(0, 60);
+ this.label5.Name = "label5";
+ this.label5.Size = new System.Drawing.Size(75, 25);
+ this.label5.TabIndex = 1;
+ this.label5.Text = "日期";
+ this.label5.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
+ //
+ // label6
+ //
+ this.label6.BackColor = System.Drawing.Color.Transparent;
+ this.label6.Font = new System.Drawing.Font("微软雅黑", 14F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Pixel, ((byte)(134)));
+ this.label6.Location = new System.Drawing.Point(0, 100);
+ this.label6.Name = "label6";
+ this.label6.Size = new System.Drawing.Size(75, 25);
+ this.label6.TabIndex = 1;
+ this.label6.Text = "时间";
+ this.label6.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
+ //
+ // label7
+ //
+ this.label7.BackColor = System.Drawing.Color.Transparent;
+ this.label7.Font = new System.Drawing.Font("微软雅黑", 14F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Pixel, ((byte)(134)));
+ this.label7.Location = new System.Drawing.Point(0, 140);
+ this.label7.Margin = new System.Windows.Forms.Padding(0);
+ this.label7.Name = "label7";
+ this.label7.Size = new System.Drawing.Size(75, 25);
+ this.label7.TabIndex = 1;
+ this.label7.Text = "MJD";
+ this.label7.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
+ //
+ // label8
+ //
+ this.label8.BackColor = System.Drawing.Color.Transparent;
+ this.label8.Font = new System.Drawing.Font("微软雅黑", 14F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Pixel, ((byte)(134)));
+ this.label8.Location = new System.Drawing.Point(0, 20);
+ this.label8.Name = "label8";
+ this.label8.Size = new System.Drawing.Size(224, 25);
+ this.label8.TabIndex = 0;
+ this.label8.Text = "位置信息";
+ this.label8.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
+ //
+ // label9
+ //
+ this.label9.BackColor = System.Drawing.Color.Transparent;
+ this.label9.Font = new System.Drawing.Font("微软雅黑", 14F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Pixel, ((byte)(134)));
+ this.label9.Location = new System.Drawing.Point(0, 60);
+ this.label9.Name = "label9";
+ this.label9.Size = new System.Drawing.Size(75, 25);
+ this.label9.TabIndex = 1;
+ this.label9.Text = "经度";
+ this.label9.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
+ //
+ // label10
+ //
+ this.label10.BackColor = System.Drawing.Color.Transparent;
+ this.label10.Font = new System.Drawing.Font("微软雅黑", 14F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Pixel, ((byte)(134)));
+ this.label10.Location = new System.Drawing.Point(0, 100);
+ this.label10.Margin = new System.Windows.Forms.Padding(0);
+ this.label10.Name = "label10";
+ this.label10.Size = new System.Drawing.Size(75, 25);
+ this.label10.TabIndex = 1;
+ this.label10.Text = "纬度";
+ this.label10.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
+ //
+ // label11
+ //
+ this.label11.BackColor = System.Drawing.Color.Transparent;
+ this.label11.Font = new System.Drawing.Font("微软雅黑", 14F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Pixel, ((byte)(134)));
+ this.label11.Location = new System.Drawing.Point(0, 140);
+ this.label11.Margin = new System.Windows.Forms.Padding(0);
+ this.label11.Name = "label11";
+ this.label11.Size = new System.Drawing.Size(75, 25);
+ this.label11.TabIndex = 1;
+ this.label11.Text = "X";
+ this.label11.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
+ //
+ // label12
+ //
+ this.label12.BackColor = System.Drawing.Color.Transparent;
+ this.label12.Font = new System.Drawing.Font("微软雅黑", 14F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Pixel, ((byte)(134)));
+ this.label12.Location = new System.Drawing.Point(0, 180);
+ this.label12.Margin = new System.Windows.Forms.Padding(0);
+ this.label12.Name = "label12";
+ this.label12.Size = new System.Drawing.Size(75, 25);
+ this.label12.TabIndex = 1;
+ this.label12.Text = "Y";
+ this.label12.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
+ //
+ // label13
+ //
+ this.label13.BackColor = System.Drawing.Color.Transparent;
+ this.label13.Font = new System.Drawing.Font("微软雅黑", 14F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Pixel, ((byte)(134)));
+ this.label13.Location = new System.Drawing.Point(0, 220);
+ this.label13.Margin = new System.Windows.Forms.Padding(0);
+ this.label13.Name = "label13";
+ this.label13.Size = new System.Drawing.Size(75, 25);
+ this.label13.TabIndex = 1;
+ this.label13.Text = "Z";
+ this.label13.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
//
// HomeCtrlForm
//
this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 12F);
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
- this.Controls.Add(this.label1);
- this.Controls.Add(this.label2);
- this.Controls.Add(this.dataGridViewX2);
- this.Controls.Add(this.panelEx4);
- this.Controls.Add(this.panelToBeTested);
+ this.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(232)))), ((int)(((byte)(234)))), ((int)(((byte)(238)))));
+ this.Controls.Add(this.panel5);
+ this.Controls.Add(this.panel4);
+ this.Controls.Add(this.panel3);
+ this.Controls.Add(this.panel2);
+ this.Controls.Add(this.panel1);
this.Margin = new System.Windows.Forms.Padding(0);
this.Name = "HomeCtrlForm";
- this.Size = new System.Drawing.Size(1000, 640);
- this.panelToBeTested.ResumeLayout(false);
- ((System.ComponentModel.ISupportInitialize)(this.dataGridViewX1)).EndInit();
- this.panelEx1.ResumeLayout(false);
- this.panelEx2.ResumeLayout(false);
- this.panelEx3.ResumeLayout(false);
- this.panelEx4.ResumeLayout(false);
- ((System.ComponentModel.ISupportInitialize)(this.dataGridViewX2)).EndInit();
+ this.Size = new System.Drawing.Size(1024, 654);
+ this.panel3.ResumeLayout(false);
+ this.panel2.ResumeLayout(false);
+ this.panel1.ResumeLayout(false);
this.ResumeLayout(false);
}
#endregion
- private System.Windows.Forms.Panel panelToBeTested;
- private DevComponents.DotNetBar.PanelEx panelEx1;
- private DevComponents.DotNetBar.LabelX labelX6;
- private DevComponents.DotNetBar.LabelX labelX5;
- private DevComponents.DotNetBar.LabelX labelX4;
- private DevComponents.DotNetBar.LabelX labelX3;
- private DevComponents.DotNetBar.LabelX labelX2;
- private DevComponents.DotNetBar.LabelX labelX1;
- private DevComponents.DotNetBar.PanelEx panelEx2;
- private DevComponents.DotNetBar.LabelX labelX7;
- private DevComponents.DotNetBar.LabelX labelX8;
- private DevComponents.DotNetBar.LabelX labelX10;
- private DevComponents.DotNetBar.LabelX labelX9;
- private DevComponents.DotNetBar.PanelEx panelEx3;
- private DevComponents.DotNetBar.LabelX labelX11;
- private DevComponents.DotNetBar.LabelX labelX13;
- private DevComponents.DotNetBar.LabelX labelX12;
- private DevComponents.DotNetBar.PanelEx panelEx4;
- private DevComponents.DotNetBar.Controls.DataGridViewX dataGridViewX1;
- private System.Windows.Forms.DataGridViewTextBoxColumn Column13;
- private System.Windows.Forms.DataGridViewTextBoxColumn Column14;
- private System.Windows.Forms.DataGridViewTextBoxColumn Column15;
- private System.Windows.Forms.DataGridViewTextBoxColumn Column16;
- private System.Windows.Forms.DataGridViewTextBoxColumn Column17;
- private DevComponents.DotNetBar.Controls.DataGridViewX dataGridViewX2;
- private System.Windows.Forms.DataGridViewTextBoxColumn Column18;
- private System.Windows.Forms.DataGridViewTextBoxColumn Column19;
- private System.Windows.Forms.DataGridViewTextBoxColumn Column20;
- private System.Windows.Forms.DataGridViewTextBoxColumn Column21;
- private System.Windows.Forms.DataGridViewTextBoxColumn Column22;
- private System.Windows.Forms.DataGridViewTextBoxColumn Column23;
- private System.Windows.Forms.DataGridViewTextBoxColumn Column24;
- private System.Windows.Forms.DataGridViewTextBoxColumn Column25;
- private System.Windows.Forms.DataGridViewTextBoxColumn Column26;
- private System.Windows.Forms.DataGridViewTextBoxColumn Column27;
- private System.Windows.Forms.DataGridViewTextBoxColumn Column28;
- private System.Windows.Forms.DataGridViewTextBoxColumn Column29;
- private DevComponents.DotNetBar.ButtonX buttonX1;
- private DevComponents.DotNetBar.ButtonX buttonX2;
+
+ private System.Windows.Forms.Panel panel1;
+ private System.Windows.Forms.Panel panel2;
+ private System.Windows.Forms.Panel panel3;
+ private System.Windows.Forms.Panel panel4;
+ private System.Windows.Forms.Panel panel5;
private System.Windows.Forms.Label label1;
private System.Windows.Forms.Label label2;
+ private System.Windows.Forms.Label label3;
+ private System.Windows.Forms.Label label4;
+ private System.Windows.Forms.Label label5;
+ private System.Windows.Forms.Label label6;
+ private System.Windows.Forms.Label label7;
+ private System.Windows.Forms.Label label8;
+ private System.Windows.Forms.Label label11;
+ private System.Windows.Forms.Label label9;
+ private System.Windows.Forms.Label label10;
+ private System.Windows.Forms.Label label12;
+ private System.Windows.Forms.Label label13;
}
}
diff --git a/RbFreqStandMeasure/HomeCtrlForm.resx b/RbFreqStandMeasure/HomeCtrlForm.resx
index 6d97f4f..1af7de1 100644
--- a/RbFreqStandMeasure/HomeCtrlForm.resx
+++ b/RbFreqStandMeasure/HomeCtrlForm.resx
@@ -117,55 +117,4 @@
System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
-
- True
-
-
- True
-
-
- True
-
-
- True
-
-
- True
-
-
- True
-
-
- True
-
-
- True
-
-
- True
-
-
- True
-
-
- True
-
-
- True
-
-
- True
-
-
- True
-
-
- True
-
-
- True
-
-
- True
-
\ No newline at end of file
diff --git a/RbFreqStandMeasure/Program.cs b/RbFreqStandMeasure/Program.cs
index 93a83e5..6150917 100644
--- a/RbFreqStandMeasure/Program.cs
+++ b/RbFreqStandMeasure/Program.cs
@@ -1,6 +1,4 @@
using System;
-using System.Collections.Generic;
-using System.Linq;
using System.Windows.Forms;
namespace Casic.Birmm.RbFreqStandMeasure
diff --git a/RbFreqStandMeasure/Properties/Resources.Designer.cs b/RbFreqStandMeasure/Properties/Resources.Designer.cs
index 253d7d7..d819a23 100644
--- a/RbFreqStandMeasure/Properties/Resources.Designer.cs
+++ b/RbFreqStandMeasure/Properties/Resources.Designer.cs
@@ -73,6 +73,56 @@
///
/// 查找 System.Drawing.Bitmap 类型的本地化资源。
///
+ internal static System.Drawing.Bitmap bg_dev_channel {
+ get {
+ object obj = ResourceManager.GetObject("bg_dev_channel", resourceCulture);
+ return ((System.Drawing.Bitmap)(obj));
+ }
+ }
+
+ ///
+ /// 查找 System.Drawing.Bitmap 类型的本地化资源。
+ ///
+ internal static System.Drawing.Bitmap bg_dev_tested {
+ get {
+ object obj = ResourceManager.GetObject("bg_dev_tested", resourceCulture);
+ return ((System.Drawing.Bitmap)(obj));
+ }
+ }
+
+ ///
+ /// 查找 System.Drawing.Bitmap 类型的本地化资源。
+ ///
+ internal static System.Drawing.Bitmap bg_status_base {
+ get {
+ object obj = ResourceManager.GetObject("bg_status_base", resourceCulture);
+ return ((System.Drawing.Bitmap)(obj));
+ }
+ }
+
+ ///
+ /// 查找 System.Drawing.Bitmap 类型的本地化资源。
+ ///
+ internal static System.Drawing.Bitmap bg_status_location {
+ get {
+ object obj = ResourceManager.GetObject("bg_status_location", resourceCulture);
+ return ((System.Drawing.Bitmap)(obj));
+ }
+ }
+
+ ///
+ /// 查找 System.Drawing.Bitmap 类型的本地化资源。
+ ///
+ internal static System.Drawing.Bitmap bg_status_time {
+ get {
+ object obj = ResourceManager.GetObject("bg_status_time", resourceCulture);
+ return ((System.Drawing.Bitmap)(obj));
+ }
+ }
+
+ ///
+ /// 查找 System.Drawing.Bitmap 类型的本地化资源。
+ ///
internal static System.Drawing.Bitmap bg_white_shadow {
get {
object obj = ResourceManager.GetObject("bg_white_shadow", resourceCulture);
@@ -83,6 +133,66 @@
///
/// 查找 System.Drawing.Bitmap 类型的本地化资源。
///
+ internal static System.Drawing.Bitmap icon_counter {
+ get {
+ object obj = ResourceManager.GetObject("icon_counter", resourceCulture);
+ return ((System.Drawing.Bitmap)(obj));
+ }
+ }
+
+ ///
+ /// 查找 System.Drawing.Bitmap 类型的本地化资源。
+ ///
+ internal static System.Drawing.Bitmap icon_counter_selected {
+ get {
+ object obj = ResourceManager.GetObject("icon_counter_selected", resourceCulture);
+ return ((System.Drawing.Bitmap)(obj));
+ }
+ }
+
+ ///
+ /// 查找 System.Drawing.Bitmap 类型的本地化资源。
+ ///
+ internal static System.Drawing.Bitmap icon_data {
+ get {
+ object obj = ResourceManager.GetObject("icon_data", resourceCulture);
+ return ((System.Drawing.Bitmap)(obj));
+ }
+ }
+
+ ///
+ /// 查找 System.Drawing.Bitmap 类型的本地化资源。
+ ///
+ internal static System.Drawing.Bitmap icon_data_selected {
+ get {
+ object obj = ResourceManager.GetObject("icon_data_selected", resourceCulture);
+ return ((System.Drawing.Bitmap)(obj));
+ }
+ }
+
+ ///
+ /// 查找 System.Drawing.Bitmap 类型的本地化资源。
+ ///
+ internal static System.Drawing.Bitmap icon_dev {
+ get {
+ object obj = ResourceManager.GetObject("icon_dev", resourceCulture);
+ return ((System.Drawing.Bitmap)(obj));
+ }
+ }
+
+ ///
+ /// 查找 System.Drawing.Bitmap 类型的本地化资源。
+ ///
+ internal static System.Drawing.Bitmap icon_dev_selected {
+ get {
+ object obj = ResourceManager.GetObject("icon_dev_selected", resourceCulture);
+ return ((System.Drawing.Bitmap)(obj));
+ }
+ }
+
+ ///
+ /// 查找 System.Drawing.Bitmap 类型的本地化资源。
+ ///
internal static System.Drawing.Bitmap icon_exit {
get {
object obj = ResourceManager.GetObject("icon_exit", resourceCulture);
@@ -113,6 +223,56 @@
///
/// 查找 System.Drawing.Bitmap 类型的本地化资源。
///
+ internal static System.Drawing.Bitmap icon_measure {
+ get {
+ object obj = ResourceManager.GetObject("icon_measure", resourceCulture);
+ return ((System.Drawing.Bitmap)(obj));
+ }
+ }
+
+ ///
+ /// 查找 System.Drawing.Bitmap 类型的本地化资源。
+ ///
+ internal static System.Drawing.Bitmap icon_measure_selected {
+ get {
+ object obj = ResourceManager.GetObject("icon_measure_selected", resourceCulture);
+ return ((System.Drawing.Bitmap)(obj));
+ }
+ }
+
+ ///
+ /// 查找 System.Drawing.Bitmap 类型的本地化资源。
+ ///
+ internal static System.Drawing.Bitmap icon_min {
+ get {
+ object obj = ResourceManager.GetObject("icon_min", resourceCulture);
+ return ((System.Drawing.Bitmap)(obj));
+ }
+ }
+
+ ///
+ /// 查找 System.Drawing.Bitmap 类型的本地化资源。
+ ///
+ internal static System.Drawing.Bitmap icon_setting {
+ get {
+ object obj = ResourceManager.GetObject("icon_setting", resourceCulture);
+ return ((System.Drawing.Bitmap)(obj));
+ }
+ }
+
+ ///
+ /// 查找 System.Drawing.Bitmap 类型的本地化资源。
+ ///
+ internal static System.Drawing.Bitmap icon_setting_selected {
+ get {
+ object obj = ResourceManager.GetObject("icon_setting_selected", resourceCulture);
+ return ((System.Drawing.Bitmap)(obj));
+ }
+ }
+
+ ///
+ /// 查找 System.Drawing.Bitmap 类型的本地化资源。
+ ///
internal static System.Drawing.Bitmap icon_status {
get {
object obj = ResourceManager.GetObject("icon_status", resourceCulture);
diff --git a/RbFreqStandMeasure/Properties/Resources.resx b/RbFreqStandMeasure/Properties/Resources.resx
index e781bb7..cfdb255 100644
--- a/RbFreqStandMeasure/Properties/Resources.resx
+++ b/RbFreqStandMeasure/Properties/Resources.resx
@@ -118,25 +118,73 @@
System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
-
- ..\res\images\icon_exit.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
+
+ ..\res\images\icon_counter_selected.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
-
- ..\res\images\bg_white_shadow.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
+
+ ..\res\images\icon_dev_selected.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
+
+
+ ..\res\images\icon_status_selected.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
+
+
+ ..\res\images\icon_data_selected.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
..\res\images\icon_home_selected.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
-
- ..\res\images\bg_banner.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
-
-
- ..\res\images\icon_home.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
+
+ ..\res\images\icon_exit.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
..\res\images\icon_status.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
-
- ..\res\images\icon_status_selected.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
+
+ ..\res\images\icon_data.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
+
+
+ ..\res\images\icon_setting.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
+
+
+ ..\res\images\icon_measure_selected.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
+
+
+ ..\res\images\bg_banner.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
+
+
+ ..\res\images\icon_setting_selected.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
+
+
+ ..\res\images\icon_dev.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
+
+
+ ..\res\images\icon_counter.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
+
+
+ ..\res\images\icon_measure.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
+
+
+ ..\res\images\icon_home.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
+
+
+ ..\res\images\bg_white_shadow.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
+
+
+ ..\res\images\icon_min.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
+
+
+ ..\res\images\bg_status_base.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
+
+
+ ..\res\images\bg_status_location.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
+
+
+ ..\res\images\bg_status_time.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
+
+
+ ..\res\images\bg_dev_channel.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
+
+
+ ..\res\images\bg_dev_tested.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
\ No newline at end of file
diff --git a/RbFreqStandMeasure/RbFreqStandMeasure.csproj b/RbFreqStandMeasure/RbFreqStandMeasure.csproj
index f5e7da9..7c12768 100644
--- a/RbFreqStandMeasure/RbFreqStandMeasure.csproj
+++ b/RbFreqStandMeasure/RbFreqStandMeasure.csproj
@@ -232,6 +232,54 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/RbFreqStandMeasure/RbFreqStdMeas.Designer.cs b/RbFreqStandMeasure/RbFreqStdMeas.Designer.cs
index 57778cf..1bd008c 100644
--- a/RbFreqStandMeasure/RbFreqStdMeas.Designer.cs
+++ b/RbFreqStandMeasure/RbFreqStdMeas.Designer.cs
@@ -30,148 +30,77 @@
private void InitializeComponent()
{
this.panMenu = new System.Windows.Forms.Panel();
+ this.penBanner = new System.Windows.Forms.Panel();
+ this.btnMinSys = new System.Windows.Forms.Button();
+ this.btnExitSys = new System.Windows.Forms.Button();
+ this.labTitle = new System.Windows.Forms.Label();
+ this.panDev = new Casic.Birmm.RbFreqStandMeasure.RoundPanel();
+ this.labDevText = new System.Windows.Forms.Label();
+ this.labDevSelected = new System.Windows.Forms.Label();
+ this.picIconDev = new System.Windows.Forms.PictureBox();
+ this.panSetting = new Casic.Birmm.RbFreqStandMeasure.RoundPanel();
+ this.labSettingSelected = new System.Windows.Forms.Label();
+ this.labSettingText = new System.Windows.Forms.Label();
+ this.picIconSetting = new System.Windows.Forms.PictureBox();
this.panStatus = new Casic.Birmm.RbFreqStandMeasure.RoundPanel();
this.labStatusText = new System.Windows.Forms.Label();
this.picIconStatus = new System.Windows.Forms.PictureBox();
+ this.labStatusSelected = new System.Windows.Forms.Label();
+ this.panData = new Casic.Birmm.RbFreqStandMeasure.RoundPanel();
+ this.labDataSelected = new System.Windows.Forms.Label();
+ this.labDataText = new System.Windows.Forms.Label();
+ this.picIconData = new System.Windows.Forms.PictureBox();
this.panHome = new Casic.Birmm.RbFreqStandMeasure.RoundPanel();
this.labHomeText = new System.Windows.Forms.Label();
this.picIconHome = new System.Windows.Forms.PictureBox();
this.labHomeSelected = new System.Windows.Forms.Label();
- this.labStatusSelected = new System.Windows.Forms.Label();
- this.penBanner = new System.Windows.Forms.Panel();
- this.btnExitSys = new System.Windows.Forms.Button();
- this.labTitle = new System.Windows.Forms.Label();
+ this.panMeasure = new Casic.Birmm.RbFreqStandMeasure.RoundPanel();
+ this.labMeasureText = new System.Windows.Forms.Label();
+ this.labMeasureSelected = new System.Windows.Forms.Label();
+ this.picIconMeasure = new System.Windows.Forms.PictureBox();
+ this.panCounter = new Casic.Birmm.RbFreqStandMeasure.RoundPanel();
+ this.labCounterSelected = new System.Windows.Forms.Label();
+ this.labCounterText = new System.Windows.Forms.Label();
+ this.picIconCounter = new System.Windows.Forms.PictureBox();
+ this.panelMain = new System.Windows.Forms.Panel();
this.panMenu.SuspendLayout();
+ this.penBanner.SuspendLayout();
+ this.panDev.SuspendLayout();
+ ((System.ComponentModel.ISupportInitialize)(this.picIconDev)).BeginInit();
+ this.panSetting.SuspendLayout();
+ ((System.ComponentModel.ISupportInitialize)(this.picIconSetting)).BeginInit();
this.panStatus.SuspendLayout();
((System.ComponentModel.ISupportInitialize)(this.picIconStatus)).BeginInit();
+ this.panData.SuspendLayout();
+ ((System.ComponentModel.ISupportInitialize)(this.picIconData)).BeginInit();
this.panHome.SuspendLayout();
((System.ComponentModel.ISupportInitialize)(this.picIconHome)).BeginInit();
- this.penBanner.SuspendLayout();
+ this.panMeasure.SuspendLayout();
+ ((System.ComponentModel.ISupportInitialize)(this.picIconMeasure)).BeginInit();
+ this.panCounter.SuspendLayout();
+ ((System.ComponentModel.ISupportInitialize)(this.picIconCounter)).BeginInit();
this.SuspendLayout();
//
// panMenu
//
this.panMenu.BackColor = System.Drawing.Color.White;
+ this.panMenu.Controls.Add(this.panDev);
+ this.panMenu.Controls.Add(this.panSetting);
this.panMenu.Controls.Add(this.panStatus);
+ this.panMenu.Controls.Add(this.panData);
this.panMenu.Controls.Add(this.panHome);
- this.panMenu.Controls.Add(this.labStatusSelected);
+ this.panMenu.Controls.Add(this.panMeasure);
+ this.panMenu.Controls.Add(this.panCounter);
this.panMenu.Location = new System.Drawing.Point(0, 64);
this.panMenu.Name = "panMenu";
this.panMenu.Size = new System.Drawing.Size(1024, 50);
this.panMenu.TabIndex = 1;
//
- // panStatus
- //
- this.panStatus.Back = System.Drawing.Color.Empty;
- this.panStatus.BackColor = System.Drawing.Color.Transparent;
- this.panStatus.Controls.Add(this.labStatusText);
- this.panStatus.Controls.Add(this.picIconStatus);
- this.panStatus.Location = new System.Drawing.Point(160, 0);
- this.panStatus.MatrixRound = 8;
- this.panStatus.Name = "panStatus";
- this.panStatus.Size = new System.Drawing.Size(130, 47);
- this.panStatus.TabIndex = 1;
- this.panStatus.Click += new System.EventHandler(this.panStatus_Click);
- this.panStatus.MouseLeave += new System.EventHandler(this.panStatus_MouseLeave);
- this.panStatus.MouseHover += new System.EventHandler(this.panStatus_MouseHover);
- //
- // labStatusText
- //
- this.labStatusText.BackColor = System.Drawing.Color.Transparent;
- this.labStatusText.Cursor = System.Windows.Forms.Cursors.Hand;
- this.labStatusText.Font = new System.Drawing.Font("微软雅黑", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
- this.labStatusText.ForeColor = System.Drawing.SystemColors.ControlText;
- this.labStatusText.Location = new System.Drawing.Point(35, 0);
- this.labStatusText.Margin = new System.Windows.Forms.Padding(0);
- this.labStatusText.Name = "labStatusText";
- this.labStatusText.Size = new System.Drawing.Size(85, 47);
- this.labStatusText.TabIndex = 2;
- this.labStatusText.Text = "基准状态";
- this.labStatusText.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
- this.labStatusText.Click += new System.EventHandler(this.panStatus_Click);
- this.labStatusText.MouseLeave += new System.EventHandler(this.panStatus_MouseLeave);
- this.labStatusText.MouseHover += new System.EventHandler(this.panStatus_MouseHover);
- //
- // picIconStatus
- //
- this.picIconStatus.BackgroundImage = global::Casic.Birmm.RbFreqStandMeasure.Properties.Resources.icon_status;
- this.picIconStatus.BackgroundImageLayout = System.Windows.Forms.ImageLayout.Zoom;
- this.picIconStatus.Location = new System.Drawing.Point(10, 11);
- this.picIconStatus.Name = "picIconStatus";
- this.picIconStatus.Size = new System.Drawing.Size(25, 25);
- this.picIconStatus.TabIndex = 1;
- this.picIconStatus.TabStop = false;
- this.picIconStatus.Click += new System.EventHandler(this.panStatus_Click);
- this.picIconStatus.MouseLeave += new System.EventHandler(this.panStatus_MouseLeave);
- this.picIconStatus.MouseHover += new System.EventHandler(this.panStatus_MouseHover);
- //
- // panHome
- //
- this.panHome.Back = System.Drawing.Color.Empty;
- this.panHome.Controls.Add(this.labHomeText);
- this.panHome.Controls.Add(this.picIconHome);
- this.panHome.Controls.Add(this.labHomeSelected);
- this.panHome.Cursor = System.Windows.Forms.Cursors.Hand;
- this.panHome.Location = new System.Drawing.Point(30, 0);
- this.panHome.MatrixRound = 8;
- this.panHome.Name = "panHome";
- this.panHome.Size = new System.Drawing.Size(100, 50);
- this.panHome.TabIndex = 0;
- this.panHome.Click += new System.EventHandler(this.panHome_Click);
- this.panHome.MouseLeave += new System.EventHandler(this.panHome_MouseLeave);
- this.panHome.MouseHover += new System.EventHandler(this.panHome_MouseHover);
- //
- // labHomeText
- //
- this.labHomeText.BackColor = System.Drawing.Color.Transparent;
- this.labHomeText.Font = new System.Drawing.Font("微软雅黑", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
- this.labHomeText.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(18)))), ((int)(((byte)(150)))), ((int)(((byte)(219)))));
- this.labHomeText.Location = new System.Drawing.Point(35, 0);
- this.labHomeText.Margin = new System.Windows.Forms.Padding(0);
- this.labHomeText.Name = "labHomeText";
- this.labHomeText.Size = new System.Drawing.Size(55, 47);
- this.labHomeText.TabIndex = 2;
- this.labHomeText.Text = "首页";
- this.labHomeText.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
- this.labHomeText.Click += new System.EventHandler(this.panHome_Click);
- this.labHomeText.MouseLeave += new System.EventHandler(this.panHome_MouseLeave);
- this.labHomeText.MouseHover += new System.EventHandler(this.panHome_MouseHover);
- //
- // picIconHome
- //
- this.picIconHome.BackColor = System.Drawing.Color.Transparent;
- this.picIconHome.BackgroundImage = global::Casic.Birmm.RbFreqStandMeasure.Properties.Resources.icon_home_selected;
- this.picIconHome.BackgroundImageLayout = System.Windows.Forms.ImageLayout.Zoom;
- this.picIconHome.Location = new System.Drawing.Point(10, 11);
- this.picIconHome.Name = "picIconHome";
- this.picIconHome.Size = new System.Drawing.Size(25, 25);
- this.picIconHome.TabIndex = 1;
- this.picIconHome.TabStop = false;
- this.picIconHome.Click += new System.EventHandler(this.panHome_Click);
- this.picIconHome.MouseLeave += new System.EventHandler(this.panHome_MouseLeave);
- this.picIconHome.MouseHover += new System.EventHandler(this.panHome_MouseHover);
- //
- // labHomeSelected
- //
- this.labHomeSelected.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(18)))), ((int)(((byte)(150)))), ((int)(((byte)(219)))));
- this.labHomeSelected.Location = new System.Drawing.Point(0, 47);
- this.labHomeSelected.Name = "labHomeSelected";
- this.labHomeSelected.Size = new System.Drawing.Size(100, 3);
- this.labHomeSelected.TabIndex = 0;
- //
- // labStatusSelected
- //
- this.labStatusSelected.BackColor = System.Drawing.Color.Transparent;
- this.labStatusSelected.Location = new System.Drawing.Point(160, 47);
- this.labStatusSelected.Margin = new System.Windows.Forms.Padding(0);
- this.labStatusSelected.Name = "labStatusSelected";
- this.labStatusSelected.Size = new System.Drawing.Size(130, 3);
- this.labStatusSelected.TabIndex = 0;
- //
// penBanner
//
this.penBanner.BackgroundImage = global::Casic.Birmm.RbFreqStandMeasure.Properties.Resources.bg_banner;
this.penBanner.BackgroundImageLayout = System.Windows.Forms.ImageLayout.Stretch;
+ this.penBanner.Controls.Add(this.btnMinSys);
this.penBanner.Controls.Add(this.btnExitSys);
this.penBanner.Controls.Add(this.labTitle);
this.penBanner.Location = new System.Drawing.Point(0, 0);
@@ -180,6 +109,23 @@
this.penBanner.TabIndex = 0;
this.penBanner.MouseDown += new System.Windows.Forms.MouseEventHandler(this.RbFreqStdMeas_MouseDown);
//
+ // btnMinSys
+ //
+ this.btnMinSys.BackColor = System.Drawing.Color.Transparent;
+ this.btnMinSys.BackgroundImage = global::Casic.Birmm.RbFreqStandMeasure.Properties.Resources.icon_min;
+ this.btnMinSys.BackgroundImageLayout = System.Windows.Forms.ImageLayout.Stretch;
+ this.btnMinSys.FlatAppearance.BorderSize = 0;
+ this.btnMinSys.FlatStyle = System.Windows.Forms.FlatStyle.Flat;
+ this.btnMinSys.ForeColor = System.Drawing.SystemColors.ControlDarkDark;
+ this.btnMinSys.Location = new System.Drawing.Point(944, 22);
+ this.btnMinSys.Margin = new System.Windows.Forms.Padding(0);
+ this.btnMinSys.Name = "btnMinSys";
+ this.btnMinSys.Size = new System.Drawing.Size(20, 20);
+ this.btnMinSys.TabIndex = 1;
+ this.btnMinSys.UseVisualStyleBackColor = false;
+ this.btnMinSys.Click += new System.EventHandler(this.btnMinSys_Click);
+ this.btnMinSys.MouseHover += new System.EventHandler(this.btnMinSys_MouseHover);
+ //
// btnExitSys
//
this.btnExitSys.BackColor = System.Drawing.Color.Transparent;
@@ -200,7 +146,7 @@
// labTitle
//
this.labTitle.BackColor = System.Drawing.Color.Transparent;
- this.labTitle.Font = new System.Drawing.Font("微软雅黑", 15.75F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
+ this.labTitle.Font = new System.Drawing.Font("微软雅黑", 20F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Pixel, ((byte)(134)));
this.labTitle.ForeColor = System.Drawing.Color.White;
this.labTitle.Location = new System.Drawing.Point(30, 16);
this.labTitle.Name = "labTitle";
@@ -209,11 +155,404 @@
this.labTitle.Text = "铷原子频标比对测量软件";
this.labTitle.TextAlign = System.Drawing.ContentAlignment.MiddleLeft;
//
+ // panDev
+ //
+ this.panDev.Back = System.Drawing.Color.Empty;
+ this.panDev.Controls.Add(this.labDevText);
+ this.panDev.Controls.Add(this.labDevSelected);
+ this.panDev.Controls.Add(this.picIconDev);
+ this.panDev.Location = new System.Drawing.Point(214, 0);
+ this.panDev.MatrixRound = 8;
+ this.panDev.Name = "panDev";
+ this.panDev.Size = new System.Drawing.Size(141, 50);
+ this.panDev.TabIndex = 2;
+ this.panDev.Click += new System.EventHandler(this.panDev_Click);
+ this.panDev.MouseLeave += new System.EventHandler(this.panDev_MouseLeave);
+ this.panDev.MouseHover += new System.EventHandler(this.panDev_MouseHover);
+ //
+ // labDevText
+ //
+ this.labDevText.BackColor = System.Drawing.Color.Transparent;
+ this.labDevText.Cursor = System.Windows.Forms.Cursors.Hand;
+ this.labDevText.Font = new System.Drawing.Font("微软雅黑", 16F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Pixel, ((byte)(134)));
+ this.labDevText.ForeColor = System.Drawing.SystemColors.ControlText;
+ this.labDevText.Location = new System.Drawing.Point(30, 14);
+ this.labDevText.Margin = new System.Windows.Forms.Padding(0);
+ this.labDevText.Name = "labDevText";
+ this.labDevText.Size = new System.Drawing.Size(106, 20);
+ this.labDevText.TabIndex = 2;
+ this.labDevText.Text = "送检仪器管理";
+ this.labDevText.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
+ this.labDevText.Click += new System.EventHandler(this.panDev_Click);
+ this.labDevText.MouseLeave += new System.EventHandler(this.panDev_MouseLeave);
+ this.labDevText.MouseHover += new System.EventHandler(this.panDev_MouseHover);
+ //
+ // labDevSelected
+ //
+ this.labDevSelected.BackColor = System.Drawing.Color.Transparent;
+ this.labDevSelected.Location = new System.Drawing.Point(8, 48);
+ this.labDevSelected.Margin = new System.Windows.Forms.Padding(0);
+ this.labDevSelected.Name = "labDevSelected";
+ this.labDevSelected.Size = new System.Drawing.Size(121, 2);
+ this.labDevSelected.TabIndex = 3;
+ //
+ // picIconDev
+ //
+ this.picIconDev.BackColor = System.Drawing.Color.Transparent;
+ this.picIconDev.BackgroundImage = global::Casic.Birmm.RbFreqStandMeasure.Properties.Resources.icon_dev;
+ this.picIconDev.BackgroundImageLayout = System.Windows.Forms.ImageLayout.Zoom;
+ this.picIconDev.Location = new System.Drawing.Point(10, 14);
+ this.picIconDev.Name = "picIconDev";
+ this.picIconDev.Size = new System.Drawing.Size(20, 20);
+ this.picIconDev.TabIndex = 1;
+ this.picIconDev.TabStop = false;
+ this.picIconDev.Click += new System.EventHandler(this.panDev_Click);
+ this.picIconDev.MouseLeave += new System.EventHandler(this.panDev_MouseLeave);
+ this.picIconDev.MouseHover += new System.EventHandler(this.panDev_MouseHover);
+ //
+ // panSetting
+ //
+ this.panSetting.Back = System.Drawing.Color.Empty;
+ this.panSetting.Controls.Add(this.labSettingSelected);
+ this.panSetting.Controls.Add(this.labSettingText);
+ this.panSetting.Controls.Add(this.picIconSetting);
+ this.panSetting.Location = new System.Drawing.Point(879, 0);
+ this.panSetting.MatrixRound = 8;
+ this.panSetting.Name = "panSetting";
+ this.panSetting.Size = new System.Drawing.Size(109, 50);
+ this.panSetting.TabIndex = 2;
+ this.panSetting.Click += new System.EventHandler(this.panSetting_Click);
+ this.panSetting.MouseLeave += new System.EventHandler(this.panSetting_MouseLeave);
+ this.panSetting.MouseHover += new System.EventHandler(this.panSetting_MouseHover);
+ //
+ // labSettingSelected
+ //
+ this.labSettingSelected.BackColor = System.Drawing.Color.Transparent;
+ this.labSettingSelected.Location = new System.Drawing.Point(10, 48);
+ this.labSettingSelected.Margin = new System.Windows.Forms.Padding(0);
+ this.labSettingSelected.Name = "labSettingSelected";
+ this.labSettingSelected.Size = new System.Drawing.Size(89, 2);
+ this.labSettingSelected.TabIndex = 4;
+ //
+ // labSettingText
+ //
+ this.labSettingText.BackColor = System.Drawing.Color.Transparent;
+ this.labSettingText.Cursor = System.Windows.Forms.Cursors.Hand;
+ this.labSettingText.Font = new System.Drawing.Font("微软雅黑", 16F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Pixel, ((byte)(134)));
+ this.labSettingText.ForeColor = System.Drawing.SystemColors.ControlText;
+ this.labSettingText.Location = new System.Drawing.Point(30, 14);
+ this.labSettingText.Margin = new System.Windows.Forms.Padding(0);
+ this.labSettingText.Name = "labSettingText";
+ this.labSettingText.Size = new System.Drawing.Size(74, 20);
+ this.labSettingText.TabIndex = 2;
+ this.labSettingText.Text = "系统设置";
+ this.labSettingText.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
+ this.labSettingText.Click += new System.EventHandler(this.panSetting_Click);
+ this.labSettingText.MouseLeave += new System.EventHandler(this.panSetting_MouseLeave);
+ this.labSettingText.MouseHover += new System.EventHandler(this.panSetting_MouseHover);
+ //
+ // picIconSetting
+ //
+ this.picIconSetting.BackColor = System.Drawing.Color.Transparent;
+ this.picIconSetting.BackgroundImage = global::Casic.Birmm.RbFreqStandMeasure.Properties.Resources.icon_setting;
+ this.picIconSetting.BackgroundImageLayout = System.Windows.Forms.ImageLayout.Zoom;
+ this.picIconSetting.Location = new System.Drawing.Point(10, 14);
+ this.picIconSetting.Name = "picIconSetting";
+ this.picIconSetting.Size = new System.Drawing.Size(20, 20);
+ this.picIconSetting.TabIndex = 1;
+ this.picIconSetting.TabStop = false;
+ this.picIconSetting.Click += new System.EventHandler(this.panSetting_Click);
+ this.picIconSetting.MouseLeave += new System.EventHandler(this.panSetting_MouseLeave);
+ this.picIconSetting.MouseHover += new System.EventHandler(this.panSetting_MouseHover);
+ //
+ // panStatus
+ //
+ this.panStatus.Back = System.Drawing.Color.Empty;
+ this.panStatus.BackColor = System.Drawing.Color.Transparent;
+ this.panStatus.Controls.Add(this.labStatusText);
+ this.panStatus.Controls.Add(this.picIconStatus);
+ this.panStatus.Controls.Add(this.labStatusSelected);
+ this.panStatus.Location = new System.Drawing.Point(101, 0);
+ this.panStatus.MatrixRound = 8;
+ this.panStatus.Name = "panStatus";
+ this.panStatus.Size = new System.Drawing.Size(109, 50);
+ this.panStatus.TabIndex = 1;
+ this.panStatus.Click += new System.EventHandler(this.panStatus_Click);
+ this.panStatus.MouseLeave += new System.EventHandler(this.panStatus_MouseLeave);
+ this.panStatus.MouseHover += new System.EventHandler(this.panStatus_MouseHover);
+ //
+ // labStatusText
+ //
+ this.labStatusText.BackColor = System.Drawing.Color.Transparent;
+ this.labStatusText.Cursor = System.Windows.Forms.Cursors.Hand;
+ this.labStatusText.Font = new System.Drawing.Font("微软雅黑", 16F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Pixel, ((byte)(134)));
+ this.labStatusText.ForeColor = System.Drawing.SystemColors.ControlText;
+ this.labStatusText.Location = new System.Drawing.Point(30, 14);
+ this.labStatusText.Margin = new System.Windows.Forms.Padding(0);
+ this.labStatusText.Name = "labStatusText";
+ this.labStatusText.Size = new System.Drawing.Size(74, 20);
+ this.labStatusText.TabIndex = 2;
+ this.labStatusText.Text = "基准状态";
+ this.labStatusText.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
+ this.labStatusText.Click += new System.EventHandler(this.panStatus_Click);
+ this.labStatusText.MouseLeave += new System.EventHandler(this.panStatus_MouseLeave);
+ this.labStatusText.MouseHover += new System.EventHandler(this.panStatus_MouseHover);
+ //
+ // picIconStatus
+ //
+ this.picIconStatus.BackgroundImage = global::Casic.Birmm.RbFreqStandMeasure.Properties.Resources.icon_status;
+ this.picIconStatus.BackgroundImageLayout = System.Windows.Forms.ImageLayout.Zoom;
+ this.picIconStatus.Location = new System.Drawing.Point(10, 14);
+ this.picIconStatus.Name = "picIconStatus";
+ this.picIconStatus.Size = new System.Drawing.Size(20, 20);
+ this.picIconStatus.TabIndex = 1;
+ this.picIconStatus.TabStop = false;
+ this.picIconStatus.Click += new System.EventHandler(this.panStatus_Click);
+ this.picIconStatus.MouseLeave += new System.EventHandler(this.panStatus_MouseLeave);
+ this.picIconStatus.MouseHover += new System.EventHandler(this.panStatus_MouseHover);
+ //
+ // labStatusSelected
+ //
+ this.labStatusSelected.BackColor = System.Drawing.Color.Transparent;
+ this.labStatusSelected.Location = new System.Drawing.Point(10, 48);
+ this.labStatusSelected.Margin = new System.Windows.Forms.Padding(0);
+ this.labStatusSelected.Name = "labStatusSelected";
+ this.labStatusSelected.Size = new System.Drawing.Size(89, 2);
+ this.labStatusSelected.TabIndex = 0;
+ //
+ // panData
+ //
+ this.panData.Back = System.Drawing.Color.Empty;
+ this.panData.Controls.Add(this.labDataSelected);
+ this.panData.Controls.Add(this.labDataText);
+ this.panData.Controls.Add(this.picIconData);
+ this.panData.Location = new System.Drawing.Point(765, 0);
+ this.panData.MatrixRound = 8;
+ this.panData.Name = "panData";
+ this.panData.Size = new System.Drawing.Size(109, 50);
+ this.panData.TabIndex = 2;
+ this.panData.Click += new System.EventHandler(this.panData_Click);
+ this.panData.MouseLeave += new System.EventHandler(this.panData_MouseLeave);
+ this.panData.MouseHover += new System.EventHandler(this.panData_MouseHover);
+ //
+ // labDataSelected
+ //
+ this.labDataSelected.BackColor = System.Drawing.Color.Transparent;
+ this.labDataSelected.Location = new System.Drawing.Point(10, 48);
+ this.labDataSelected.Margin = new System.Windows.Forms.Padding(0);
+ this.labDataSelected.Name = "labDataSelected";
+ this.labDataSelected.Size = new System.Drawing.Size(89, 2);
+ this.labDataSelected.TabIndex = 3;
+ //
+ // labDataText
+ //
+ this.labDataText.BackColor = System.Drawing.Color.Transparent;
+ this.labDataText.Cursor = System.Windows.Forms.Cursors.Hand;
+ this.labDataText.Font = new System.Drawing.Font("微软雅黑", 16F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Pixel, ((byte)(134)));
+ this.labDataText.ForeColor = System.Drawing.SystemColors.ControlText;
+ this.labDataText.Location = new System.Drawing.Point(30, 14);
+ this.labDataText.Margin = new System.Windows.Forms.Padding(0);
+ this.labDataText.Name = "labDataText";
+ this.labDataText.Size = new System.Drawing.Size(74, 20);
+ this.labDataText.TabIndex = 2;
+ this.labDataText.Text = "数据管理";
+ this.labDataText.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
+ this.labDataText.Click += new System.EventHandler(this.panData_Click);
+ this.labDataText.MouseLeave += new System.EventHandler(this.panData_MouseLeave);
+ this.labDataText.MouseHover += new System.EventHandler(this.panData_MouseHover);
+ //
+ // picIconData
+ //
+ this.picIconData.BackColor = System.Drawing.Color.Transparent;
+ this.picIconData.BackgroundImage = global::Casic.Birmm.RbFreqStandMeasure.Properties.Resources.icon_data;
+ this.picIconData.BackgroundImageLayout = System.Windows.Forms.ImageLayout.Zoom;
+ this.picIconData.Location = new System.Drawing.Point(10, 14);
+ this.picIconData.Name = "picIconData";
+ this.picIconData.Size = new System.Drawing.Size(20, 20);
+ this.picIconData.TabIndex = 1;
+ this.picIconData.TabStop = false;
+ this.picIconData.Click += new System.EventHandler(this.panData_Click);
+ this.picIconData.MouseLeave += new System.EventHandler(this.panData_MouseLeave);
+ this.picIconData.MouseHover += new System.EventHandler(this.panData_MouseHover);
+ //
+ // panHome
+ //
+ this.panHome.Back = System.Drawing.Color.Empty;
+ this.panHome.Controls.Add(this.labHomeText);
+ this.panHome.Controls.Add(this.picIconHome);
+ this.panHome.Controls.Add(this.labHomeSelected);
+ this.panHome.Cursor = System.Windows.Forms.Cursors.Hand;
+ this.panHome.Location = new System.Drawing.Point(20, 0);
+ this.panHome.MatrixRound = 8;
+ this.panHome.Name = "panHome";
+ this.panHome.Size = new System.Drawing.Size(75, 50);
+ this.panHome.TabIndex = 0;
+ this.panHome.Click += new System.EventHandler(this.panHome_Click);
+ this.panHome.MouseLeave += new System.EventHandler(this.panHome_MouseLeave);
+ this.panHome.MouseHover += new System.EventHandler(this.panHome_MouseHover);
+ //
+ // labHomeText
+ //
+ this.labHomeText.BackColor = System.Drawing.Color.Transparent;
+ this.labHomeText.Font = new System.Drawing.Font("微软雅黑", 16F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Pixel, ((byte)(134)));
+ this.labHomeText.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(18)))), ((int)(((byte)(150)))), ((int)(((byte)(219)))));
+ this.labHomeText.Location = new System.Drawing.Point(30, 14);
+ this.labHomeText.Margin = new System.Windows.Forms.Padding(0);
+ this.labHomeText.Name = "labHomeText";
+ this.labHomeText.Size = new System.Drawing.Size(42, 20);
+ this.labHomeText.TabIndex = 2;
+ this.labHomeText.Text = "首页";
+ this.labHomeText.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
+ this.labHomeText.Click += new System.EventHandler(this.panHome_Click);
+ this.labHomeText.MouseLeave += new System.EventHandler(this.panHome_MouseLeave);
+ this.labHomeText.MouseHover += new System.EventHandler(this.panHome_MouseHover);
+ //
+ // picIconHome
+ //
+ this.picIconHome.BackColor = System.Drawing.Color.Transparent;
+ this.picIconHome.BackgroundImage = global::Casic.Birmm.RbFreqStandMeasure.Properties.Resources.icon_home_selected;
+ this.picIconHome.BackgroundImageLayout = System.Windows.Forms.ImageLayout.Zoom;
+ this.picIconHome.Location = new System.Drawing.Point(10, 14);
+ this.picIconHome.Margin = new System.Windows.Forms.Padding(0);
+ this.picIconHome.Name = "picIconHome";
+ this.picIconHome.Size = new System.Drawing.Size(20, 20);
+ this.picIconHome.TabIndex = 1;
+ this.picIconHome.TabStop = false;
+ this.picIconHome.Click += new System.EventHandler(this.panHome_Click);
+ this.picIconHome.MouseLeave += new System.EventHandler(this.panHome_MouseLeave);
+ this.picIconHome.MouseHover += new System.EventHandler(this.panHome_MouseHover);
+ //
+ // labHomeSelected
+ //
+ this.labHomeSelected.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(18)))), ((int)(((byte)(150)))), ((int)(((byte)(219)))));
+ this.labHomeSelected.Location = new System.Drawing.Point(10, 48);
+ this.labHomeSelected.Name = "labHomeSelected";
+ this.labHomeSelected.Size = new System.Drawing.Size(55, 2);
+ this.labHomeSelected.TabIndex = 0;
+ //
+ // panMeasure
+ //
+ this.panMeasure.Back = System.Drawing.Color.Empty;
+ this.panMeasure.Controls.Add(this.labMeasureText);
+ this.panMeasure.Controls.Add(this.labMeasureSelected);
+ this.panMeasure.Controls.Add(this.picIconMeasure);
+ this.panMeasure.Location = new System.Drawing.Point(619, 0);
+ this.panMeasure.MatrixRound = 8;
+ this.panMeasure.Name = "panMeasure";
+ this.panMeasure.Size = new System.Drawing.Size(141, 50);
+ this.panMeasure.TabIndex = 2;
+ this.panMeasure.Click += new System.EventHandler(this.panMeasure_Click);
+ this.panMeasure.MouseLeave += new System.EventHandler(this.panMeasure_MouseLeave);
+ this.panMeasure.MouseHover += new System.EventHandler(this.panMeasure_MouseHover);
+ //
+ // labMeasureText
+ //
+ this.labMeasureText.BackColor = System.Drawing.Color.Transparent;
+ this.labMeasureText.Cursor = System.Windows.Forms.Cursors.Hand;
+ this.labMeasureText.Font = new System.Drawing.Font("微软雅黑", 16F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Pixel, ((byte)(134)));
+ this.labMeasureText.ForeColor = System.Drawing.SystemColors.ControlText;
+ this.labMeasureText.Location = new System.Drawing.Point(30, 14);
+ this.labMeasureText.Margin = new System.Windows.Forms.Padding(0);
+ this.labMeasureText.Name = "labMeasureText";
+ this.labMeasureText.Size = new System.Drawing.Size(106, 20);
+ this.labMeasureText.TabIndex = 2;
+ this.labMeasureText.Text = "计量信息管理";
+ this.labMeasureText.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
+ this.labMeasureText.Click += new System.EventHandler(this.panMeasure_Click);
+ this.labMeasureText.MouseLeave += new System.EventHandler(this.panMeasure_MouseLeave);
+ this.labMeasureText.MouseHover += new System.EventHandler(this.panMeasure_MouseHover);
+ //
+ // labMeasureSelected
+ //
+ this.labMeasureSelected.BackColor = System.Drawing.Color.Transparent;
+ this.labMeasureSelected.Location = new System.Drawing.Point(10, 48);
+ this.labMeasureSelected.Margin = new System.Windows.Forms.Padding(0);
+ this.labMeasureSelected.Name = "labMeasureSelected";
+ this.labMeasureSelected.Size = new System.Drawing.Size(121, 2);
+ this.labMeasureSelected.TabIndex = 3;
+ //
+ // picIconMeasure
+ //
+ this.picIconMeasure.BackColor = System.Drawing.Color.Transparent;
+ this.picIconMeasure.BackgroundImage = global::Casic.Birmm.RbFreqStandMeasure.Properties.Resources.icon_measure;
+ this.picIconMeasure.BackgroundImageLayout = System.Windows.Forms.ImageLayout.Zoom;
+ this.picIconMeasure.Location = new System.Drawing.Point(10, 14);
+ this.picIconMeasure.Name = "picIconMeasure";
+ this.picIconMeasure.Size = new System.Drawing.Size(20, 20);
+ this.picIconMeasure.TabIndex = 1;
+ this.picIconMeasure.TabStop = false;
+ this.picIconMeasure.Click += new System.EventHandler(this.panMeasure_Click);
+ this.picIconMeasure.MouseLeave += new System.EventHandler(this.panMeasure_MouseLeave);
+ this.picIconMeasure.MouseHover += new System.EventHandler(this.panMeasure_MouseHover);
+ //
+ // panCounter
+ //
+ this.panCounter.Back = System.Drawing.Color.Empty;
+ this.panCounter.Controls.Add(this.labCounterSelected);
+ this.panCounter.Controls.Add(this.labCounterText);
+ this.panCounter.Controls.Add(this.picIconCounter);
+ this.panCounter.Location = new System.Drawing.Point(360, 0);
+ this.panCounter.MatrixRound = 8;
+ this.panCounter.Name = "panCounter";
+ this.panCounter.Size = new System.Drawing.Size(254, 50);
+ this.panCounter.TabIndex = 2;
+ this.panCounter.Click += new System.EventHandler(this.panCounter_Click);
+ this.panCounter.MouseLeave += new System.EventHandler(this.panCounter_MouseLeave);
+ this.panCounter.MouseHover += new System.EventHandler(this.panCounter_MouseHover);
+ //
+ // labCounterSelected
+ //
+ this.labCounterSelected.BackColor = System.Drawing.Color.Transparent;
+ this.labCounterSelected.Location = new System.Drawing.Point(10, 48);
+ this.labCounterSelected.Margin = new System.Windows.Forms.Padding(0);
+ this.labCounterSelected.Name = "labCounterSelected";
+ this.labCounterSelected.Size = new System.Drawing.Size(233, 2);
+ this.labCounterSelected.TabIndex = 4;
+ //
+ // labCounterText
+ //
+ this.labCounterText.BackColor = System.Drawing.Color.Transparent;
+ this.labCounterText.Cursor = System.Windows.Forms.Cursors.Hand;
+ this.labCounterText.Font = new System.Drawing.Font("微软雅黑", 16F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Pixel, ((byte)(134)));
+ this.labCounterText.ForeColor = System.Drawing.SystemColors.ControlText;
+ this.labCounterText.Location = new System.Drawing.Point(30, 14);
+ this.labCounterText.Margin = new System.Windows.Forms.Padding(0);
+ this.labCounterText.Name = "labCounterText";
+ this.labCounterText.Size = new System.Drawing.Size(218, 20);
+ this.labCounterText.TabIndex = 2;
+ this.labCounterText.Text = "频率计数器范围及灵敏度测量";
+ this.labCounterText.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
+ this.labCounterText.Click += new System.EventHandler(this.panCounter_Click);
+ this.labCounterText.MouseLeave += new System.EventHandler(this.panCounter_MouseLeave);
+ this.labCounterText.MouseHover += new System.EventHandler(this.panCounter_MouseHover);
+ //
+ // picIconCounter
+ //
+ this.picIconCounter.BackColor = System.Drawing.Color.Transparent;
+ this.picIconCounter.BackgroundImage = global::Casic.Birmm.RbFreqStandMeasure.Properties.Resources.icon_counter;
+ this.picIconCounter.BackgroundImageLayout = System.Windows.Forms.ImageLayout.Zoom;
+ this.picIconCounter.Location = new System.Drawing.Point(10, 14);
+ this.picIconCounter.Name = "picIconCounter";
+ this.picIconCounter.Size = new System.Drawing.Size(20, 20);
+ this.picIconCounter.TabIndex = 1;
+ this.picIconCounter.TabStop = false;
+ this.picIconCounter.Click += new System.EventHandler(this.panCounter_Click);
+ this.picIconCounter.MouseLeave += new System.EventHandler(this.panCounter_MouseLeave);
+ this.picIconCounter.MouseHover += new System.EventHandler(this.panCounter_MouseHover);
+ //
+ // panelMain
+ //
+ this.panelMain.Location = new System.Drawing.Point(0, 114);
+ this.panelMain.Name = "panelMain";
+ this.panelMain.Size = new System.Drawing.Size(1024, 654);
+ this.panelMain.TabIndex = 2;
+ //
// RbFreqStdMeas
//
this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 12F);
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
this.ClientSize = new System.Drawing.Size(1024, 768);
+ this.Controls.Add(this.panelMain);
this.Controls.Add(this.panMenu);
this.Controls.Add(this.penBanner);
this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.None;
@@ -221,11 +560,21 @@
this.Text = "RbFreqStdMeas";
this.Load += new System.EventHandler(this.RbFreqStdMeas_Load);
this.panMenu.ResumeLayout(false);
+ this.penBanner.ResumeLayout(false);
+ this.panDev.ResumeLayout(false);
+ ((System.ComponentModel.ISupportInitialize)(this.picIconDev)).EndInit();
+ this.panSetting.ResumeLayout(false);
+ ((System.ComponentModel.ISupportInitialize)(this.picIconSetting)).EndInit();
this.panStatus.ResumeLayout(false);
((System.ComponentModel.ISupportInitialize)(this.picIconStatus)).EndInit();
+ this.panData.ResumeLayout(false);
+ ((System.ComponentModel.ISupportInitialize)(this.picIconData)).EndInit();
this.panHome.ResumeLayout(false);
((System.ComponentModel.ISupportInitialize)(this.picIconHome)).EndInit();
- this.penBanner.ResumeLayout(false);
+ this.panMeasure.ResumeLayout(false);
+ ((System.ComponentModel.ISupportInitialize)(this.picIconMeasure)).EndInit();
+ this.panCounter.ResumeLayout(false);
+ ((System.ComponentModel.ISupportInitialize)(this.picIconCounter)).EndInit();
this.ResumeLayout(false);
}
@@ -244,5 +593,27 @@
private RoundPanel panStatus;
private RoundPanel panHome;
private System.Windows.Forms.Label labStatusSelected;
+ private RoundPanel panDev;
+ private System.Windows.Forms.PictureBox picIconDev;
+ private System.Windows.Forms.Label labDevText;
+ private System.Windows.Forms.Label labMeasureSelected;
+ private RoundPanel panCounter;
+ private System.Windows.Forms.Label labCounterText;
+ private System.Windows.Forms.PictureBox picIconCounter;
+ private RoundPanel panMeasure;
+ private System.Windows.Forms.Label labMeasureText;
+ private System.Windows.Forms.PictureBox picIconMeasure;
+ private RoundPanel panData;
+ private System.Windows.Forms.Label labDataText;
+ private System.Windows.Forms.PictureBox picIconData;
+ private RoundPanel panSetting;
+ private System.Windows.Forms.Label labSettingText;
+ private System.Windows.Forms.PictureBox picIconSetting;
+ private System.Windows.Forms.Label labCounterSelected;
+ private System.Windows.Forms.Label labDevSelected;
+ private System.Windows.Forms.Label labDataSelected;
+ private System.Windows.Forms.Label labSettingSelected;
+ private System.Windows.Forms.Button btnMinSys;
+ private System.Windows.Forms.Panel panelMain;
}
}
\ No newline at end of file
diff --git a/RbFreqStandMeasure/RbFreqStdMeas.cs b/RbFreqStandMeasure/RbFreqStdMeas.cs
index 3858ddb..af980d7 100644
--- a/RbFreqStandMeasure/RbFreqStdMeas.cs
+++ b/RbFreqStandMeasure/RbFreqStdMeas.cs
@@ -1,13 +1,9 @@
-using Casic.Birmm.RbFreqStandMeasure.Properties;
+using Casic.Birmm.RbFreqStandMeasure.info;
+using Casic.Birmm.RbFreqStandMeasure.Properties;
+using Casic.Birmm.RbFreqStandMeasure.setting;
using System;
-using System.Collections.Generic;
-using System.ComponentModel;
-using System.Data;
using System.Drawing;
-using System.Linq;
-using System.Resources;
using System.Runtime.InteropServices;
-using System.Text;
using System.Windows.Forms;
namespace Casic.Birmm.RbFreqStandMeasure
@@ -15,7 +11,7 @@
public partial class RbFreqStdMeas : Form
{
- #region 无边框拖动效果
+ #region 无边框拖动效果/最小化窗口/关闭窗口
[DllImport("user32.dll")]//拖动无窗体的控件
public static extern bool ReleaseCapture();
[DllImport("user32.dll")]
@@ -30,9 +26,29 @@
ReleaseCapture();
SendMessage(this.Handle, WM_SYSCOMMAND, SC_MOVE + HTCAPTION, 0);
}
+ private void btnExitSys_Click(object sender, EventArgs e)
+ {
+ Application.Exit();
+ }
+ private void btnMinSys_Click(object sender, EventArgs e)
+ {
+ this.WindowState = FormWindowState.Minimized;
+ }
+ private void btnExitSys_MouseHover(object sender, EventArgs e)
+ {
+ ToolTip p = new ToolTip();
+ p.ShowAlways = true;
+ p.SetToolTip(this.btnExitSys, "退出");
+ }
+ private void btnMinSys_MouseHover(object sender, EventArgs e)
+ {
+ ToolTip p = new ToolTip();
+ p.ShowAlways = true;
+ p.SetToolTip(this.btnMinSys, "最小化");
+ }
#endregion
- private bool[] menuSelected = { true, false };
+ private bool[] menuSelected = { true, false, false, false, false, false, false };
// 按钮图标
private PictureBox[] menuPics;
// 按钮图标的资源名称(选中的资源名称在后面加上 _selected)
@@ -57,7 +73,7 @@
// 将当前按钮的效果设置为默认未选中
this.menuPics[index].BackgroundImage = (Bitmap)Resources.ResourceManager.GetObject(this.menuIconResources[index], null);
- this.menuLabels[index].ForeColor = ColorTranslator.FromHtml("#2C2C2C");
+ this.menuLabels[index].ForeColor = ColorTranslator.FromHtml("#333333");
this.menuUnderlines[index].BackColor = Color.Transparent;
}
@@ -79,13 +95,15 @@
LeaveHome();
// 重新设置所有按钮的状态
- this.menuSelected = new bool[] { true, false };
+ this.menuSelected = new bool[] { true, false, false, false, false, false, false };
// 将新选中的按钮设置为选中
this.picIconHome.BackgroundImage = (Bitmap)Resources.ResourceManager.GetObject("icon_home_selected", null);
- this.labHomeText.ForeColor = ColorTranslator.FromHtml("#1296db");
- this.labHomeSelected.BackColor = ColorTranslator.FromHtml("#1296db");
+ this.labHomeText.ForeColor = ColorTranslator.FromHtml("#3f84d7");
+ this.labHomeSelected.BackColor = ColorTranslator.FromHtml("#3f84d7");
+ // 切换至首页
+ switchMainPanel(0);
}
#endregion
@@ -107,12 +125,163 @@
LeaveStatus();
// 重新设置所有按钮的状态
- this.menuSelected = new bool[] { false, true };
+ this.menuSelected = new bool[] { false, true, false, false, false, false, false };
// 将新选中的按钮设置为选中
this.picIconStatus.BackgroundImage = (Bitmap) Resources.ResourceManager.GetObject("icon_status_selected", null);
- this.labStatusText.ForeColor = ColorTranslator.FromHtml("#1296db");
- this.labStatusSelected.BackColor = ColorTranslator.FromHtml("#1296db");
+ this.labStatusText.ForeColor = ColorTranslator.FromHtml("#3f84d7");
+ this.labStatusSelected.BackColor = ColorTranslator.FromHtml("#3f84d7");
+
+ // 切换到基准状态页面
+ switchMainPanel(1);
+ }
+ #endregion
+
+ #region 送检仪器按钮点击、移入/移出效果
+ private void HoverDev()
+ {
+ panDev.Back = ColorTranslator.FromHtml("#56a3f2");
+ }
+ private void LeaveDev()
+ {
+ panDev.Back = Color.Transparent;
+ }
+ private void SelectDev()
+ {
+ // 移除所有按钮的选中样式
+ this.ClearAllMenuSelected();
+
+ // 鼠标移入效果去掉
+ LeaveDev();
+
+ // 重新设置所有按钮的状态
+ this.menuSelected = new bool[] { false, false, true, false, false ,false ,false };
+
+ // 将新选中的按钮设置为选中
+ this.picIconDev.BackgroundImage = (Bitmap)Resources.ResourceManager.GetObject("icon_dev_selected", null);
+ this.labDevText.ForeColor = ColorTranslator.FromHtml("#3f84d7");
+ this.labDevSelected.BackColor = ColorTranslator.FromHtml("#3f84d7");
+
+ // 切换至待检仪器管理
+ switchMainPanel(2);
+ }
+ #endregion
+
+ #region 频率计数器测量点击、移入/移出效果
+ private void HoverCounter()
+ {
+ panCounter.Back = ColorTranslator.FromHtml("#56a3f2");
+ }
+ private void LeaveCounter()
+ {
+ panCounter.Back = Color.Transparent;
+ }
+ private void SelectCounter()
+ {
+ // 移除所有按钮的选中样式
+ this.ClearAllMenuSelected();
+
+ // 鼠标移入效果去掉
+ LeaveCounter();
+
+ // 重新设置所有按钮的状态
+ this.menuSelected = new bool[] { false, false, false, true, false, false, false };
+
+ // 将新选中的按钮设置为选中
+ this.picIconCounter.BackgroundImage = (Bitmap)Resources.ResourceManager.GetObject("icon_counter_selected", null);
+ this.labCounterText.ForeColor = ColorTranslator.FromHtml("#3f84d7");
+ this.labCounterSelected.BackColor = ColorTranslator.FromHtml("#3f84d7");
+ }
+ #endregion
+
+ #region 计量管理点击、移入/移出效果
+ private void HoverMeasure()
+ {
+ panMeasure.Back = ColorTranslator.FromHtml("#56a3f2");
+ }
+ private void LeaveMeasure()
+ {
+ panMeasure.Back = Color.Transparent;
+ }
+ private void SelectMeasure()
+ {
+ // 移除所有按钮的选中样式
+ this.ClearAllMenuSelected();
+
+ // 鼠标移入效果去掉
+ LeaveMeasure();
+
+ // 重新设置所有按钮的状态
+ this.menuSelected = new bool[] { false, false, false, false, true, false, false };
+
+ // 将新选中的按钮设置为选中
+ this.picIconMeasure.BackgroundImage = (Bitmap)Resources.ResourceManager.GetObject("icon_measure_selected", null);
+ this.labMeasureText.ForeColor = ColorTranslator.FromHtml("#3f84d7");
+ this.labMeasureSelected.BackColor = ColorTranslator.FromHtml("#3f84d7");
+
+ // 切换至计量信息管理
+ switchMainPanel(4);
+ }
+ #endregion
+
+ #region 数据管理点击、移入/移出效果
+ private void HoverData()
+ {
+ panData.Back = ColorTranslator.FromHtml("#56a3f2");
+ }
+ private void LeaveData()
+ {
+ panData.Back = Color.Transparent;
+ }
+ private void SelectData()
+ {
+ // 移除所有按钮的选中样式
+ this.ClearAllMenuSelected();
+
+ // 鼠标移入效果去掉
+ LeaveData();
+
+ // 重新设置所有按钮的状态
+ this.menuSelected = new bool[] { false, false, false, false, false, true, false };
+
+ // 将新选中的按钮设置为选中
+ this.picIconData.BackgroundImage = (Bitmap)Resources.ResourceManager.GetObject("icon_data_selected", null);
+ this.labDataText.ForeColor = ColorTranslator.FromHtml("#3f84d7");
+ this.labDataSelected.BackColor = ColorTranslator.FromHtml("#3f84d7");
+
+ // 弹出对话框进行数据备份与还原操作
+ DataBackupDlg dataDlg = new DataBackupDlg();
+ dataDlg.ShowDialog();
+ }
+ #endregion
+
+ #region 系统管理点击、移入/移出效果
+ private void HoverSetting()
+ {
+ panSetting.Back = ColorTranslator.FromHtml("#56a3f2");
+ }
+ private void LeaveSetting()
+ {
+ panSetting.Back = Color.Transparent;
+ }
+ private void SelectSetting()
+ {
+ // 移除所有按钮的选中样式
+ this.ClearAllMenuSelected();
+
+ // 鼠标移入效果去掉
+ LeaveSetting();
+
+ // 重新设置所有按钮的状态
+ this.menuSelected = new bool[] { false, false, false, false, false, false, true };
+
+ // 将新选中的按钮设置为选中
+ this.picIconSetting.BackgroundImage = (Bitmap)Resources.ResourceManager.GetObject("icon_setting_selected", null);
+ this.labSettingText.ForeColor = ColorTranslator.FromHtml("#3f84d7");
+ this.labSettingSelected.BackColor = ColorTranslator.FromHtml("#3f84d7");
+
+ // 切换到设置的界面
+ switchMainPanel(6);
}
#endregion
@@ -123,22 +292,13 @@
private void RbFreqStdMeas_Load(object sender, EventArgs e)
{
- this.menuPics = new PictureBox[] { this.picIconHome, this.picIconStatus };
- this.menuLabels = new Label[] { this.labHomeText, this.labStatusText };
- this.menuUnderlines = new Label[] { this.labHomeSelected, this.labStatusSelected };
- this.menuIconResources = new string[] { "icon_home", "icon_status" };
- }
+ this.menuPics = new PictureBox[] { this.picIconHome, this.picIconStatus, this.picIconDev, this.picIconCounter, this.picIconMeasure, this.picIconData, this.picIconSetting };
+ this.menuLabels = new Label[] { this.labHomeText, this.labStatusText, this.labDevText, this.labCounterText, this.labMeasureText, this.labDataText, this.labSettingText };
+ this.menuUnderlines = new Label[] { this.labHomeSelected, this.labStatusSelected, this.labDevSelected, this.labCounterSelected, this.labMeasureSelected, this.labDataSelected, this.labSettingSelected };
+ this.menuIconResources = new string[] { "icon_home", "icon_status", "icon_dev", "icon_counter", "icon_measure", "icon_data", "icon_setting" };
- private void btnExitSys_Click(object sender, EventArgs e)
- {
- Application.Exit();
- }
-
- private void btnExitSys_MouseHover(object sender, EventArgs e)
- {
- ToolTip p = new ToolTip();
- p.ShowAlways = true;
- p.SetToolTip(this.btnExitSys, "退出");
+ // 加载首页的内容
+ switchMainPanel(0);
}
private void panHome_Click(object sender, EventArgs e)
@@ -191,5 +351,169 @@
LeaveStatus();
}
}
+
+ private void panDev_Click(object sender, EventArgs e)
+ {
+ if (this.menuSelected[2] == false)
+ {
+ SelectDev();
+ }
+ }
+
+ private void panDev_MouseHover(object sender, EventArgs e)
+ {
+ if (this.menuSelected[2] == false)
+ {
+ HoverDev();
+ }
+ }
+
+ private void panDev_MouseLeave(object sender, EventArgs e)
+ {
+ if (this.menuSelected[2] == false)
+ {
+ LeaveDev();
+ }
+ }
+
+ private void panCounter_Click(object sender, EventArgs e)
+ {
+ if (this.menuSelected[3] == false)
+ {
+ SelectCounter();
+ }
+ }
+
+ private void panCounter_MouseHover(object sender, EventArgs e)
+ {
+ if (this.menuSelected[3] == false)
+ {
+ HoverCounter();
+ }
+ }
+
+ private void panCounter_MouseLeave(object sender, EventArgs e)
+ {
+ if (this.menuSelected[3] == false)
+ {
+ LeaveCounter();
+ }
+ }
+
+ private void panMeasure_Click(object sender, EventArgs e)
+ {
+ if (this.menuSelected[4] == false)
+ {
+ SelectMeasure();
+ }
+ }
+
+ private void panMeasure_MouseHover(object sender, EventArgs e)
+ {
+ if (this.menuSelected[4] == false)
+ {
+ HoverMeasure();
+ }
+ }
+
+ private void panMeasure_MouseLeave(object sender, EventArgs e)
+ {
+ if (this.menuSelected[4] == false)
+ {
+ LeaveMeasure();
+ }
+ }
+
+ private void panData_Click(object sender, EventArgs e)
+ {
+ if (this.menuSelected[5] == false)
+ {
+ SelectData();
+ }
+ }
+
+ private void panData_MouseHover(object sender, EventArgs e)
+ {
+ if (this.menuSelected[5] == false)
+ {
+ HoverData();
+ }
+ }
+
+ private void panData_MouseLeave(object sender, EventArgs e)
+ {
+ if (this.menuSelected[5] == false)
+ {
+ LeaveData();
+ }
+ }
+
+ private void panSetting_Click(object sender, EventArgs e)
+ {
+ if (this.menuSelected[6] == false)
+ {
+ SelectSetting();
+ }
+ }
+
+ private void panSetting_MouseHover(object sender, EventArgs e)
+ {
+ if (this.menuSelected[6] == false)
+ {
+ HoverSetting();
+ }
+ }
+
+ private void panSetting_MouseLeave(object sender, EventArgs e)
+ {
+ if (this.menuSelected[6] == false)
+ {
+ LeaveSetting();
+ }
+ }
+
+ private void switchMainPanel(int index)
+ {
+ this.panelMain.Controls.Clear();
+
+ switch (index)
+ {
+ case 0: // 首页
+ HomeCtrlForm home = new HomeCtrlForm();
+ home.Show();
+ this.panelMain.Controls.Add(home);
+ break;
+
+ case 1: // 基准状态
+ StatusCtrlForm statusForm = new StatusCtrlForm();
+ statusForm.Show();
+ this.panelMain.Controls.Add(statusForm);
+ break;
+
+ case 2: // 待检设备
+ InfoCtrlForm infoForm = new InfoCtrlForm();
+ infoForm.Show();
+ this.panelMain.Controls.Add(infoForm);
+ break;
+
+ case 3: // 频率计数器范围
+ break;
+
+ case 4: // 计量信息
+ DevTestedCtrlForm tested = new DevTestedCtrlForm();
+ tested.Show();
+ this.panelMain.Controls.Add(tested);
+ break;
+
+ case 6: // 设置
+ SettingCtrlForm settingForm = new SettingCtrlForm();
+ settingForm.Show();
+ this.panelMain.Controls.Add(settingForm);
+ break;
+
+ default:
+ break;
+ }
+ }
}
}
\ No newline at end of file
diff --git a/RbFreqStandMeasure/StatusCtrlForm.Designer.cs b/RbFreqStandMeasure/StatusCtrlForm.Designer.cs
index bf5071a..b4151fd 100644
--- a/RbFreqStandMeasure/StatusCtrlForm.Designer.cs
+++ b/RbFreqStandMeasure/StatusCtrlForm.Designer.cs
@@ -31,21 +31,34 @@
{
this.panelSite = new System.Windows.Forms.Panel();
this.label5 = new System.Windows.Forms.Label();
- this.panelStatus = new System.Windows.Forms.Panel();
+ this.panel3 = new System.Windows.Forms.Panel();
+ this.label8 = new System.Windows.Forms.Label();
+ this.label13 = new System.Windows.Forms.Label();
+ this.label12 = new System.Windows.Forms.Label();
+ this.label11 = new System.Windows.Forms.Label();
+ this.label9 = new System.Windows.Forms.Label();
+ this.label10 = new System.Windows.Forms.Label();
+ this.panel2 = new System.Windows.Forms.Panel();
this.label4 = new System.Windows.Forms.Label();
+ this.label7 = new System.Windows.Forms.Label();
+ this.label6 = new System.Windows.Forms.Label();
+ this.label1 = new System.Windows.Forms.Label();
+ this.panel1 = new System.Windows.Forms.Panel();
this.label3 = new System.Windows.Forms.Label();
this.label2 = new System.Windows.Forms.Label();
- this.label1 = new System.Windows.Forms.Label();
+ this.label14 = new System.Windows.Forms.Label();
this.panelSite.SuspendLayout();
- this.panelStatus.SuspendLayout();
+ this.panel3.SuspendLayout();
+ this.panel2.SuspendLayout();
+ this.panel1.SuspendLayout();
this.SuspendLayout();
//
// panelSite
//
this.panelSite.Controls.Add(this.label5);
- this.panelSite.Location = new System.Drawing.Point(200, 0);
+ this.panelSite.Location = new System.Drawing.Point(232, 0);
this.panelSite.Name = "panelSite";
- this.panelSite.Size = new System.Drawing.Size(800, 640);
+ this.panelSite.Size = new System.Drawing.Size(773, 640);
this.panelSite.TabIndex = 3;
//
// label5
@@ -57,67 +70,208 @@
this.label5.TabIndex = 0;
this.label5.Text = "卫星位置图";
//
- // panelStatus
+ // panel3
//
- this.panelStatus.BackColor = System.Drawing.SystemColors.Window;
- this.panelStatus.Controls.Add(this.label4);
- this.panelStatus.Controls.Add(this.label3);
- this.panelStatus.Controls.Add(this.label2);
- this.panelStatus.Controls.Add(this.label1);
- this.panelStatus.Location = new System.Drawing.Point(0, 0);
- this.panelStatus.Name = "panelStatus";
- this.panelStatus.Size = new System.Drawing.Size(200, 640);
- this.panelStatus.TabIndex = 2;
+ this.panel3.BackgroundImage = global::Casic.Birmm.RbFreqStandMeasure.Properties.Resources.bg_status_location;
+ this.panel3.Controls.Add(this.label8);
+ this.panel3.Controls.Add(this.label13);
+ this.panel3.Controls.Add(this.label12);
+ this.panel3.Controls.Add(this.label11);
+ this.panel3.Controls.Add(this.label9);
+ this.panel3.Controls.Add(this.label10);
+ this.panel3.Location = new System.Drawing.Point(6, 360);
+ this.panel3.Name = "panel3";
+ this.panel3.Size = new System.Drawing.Size(224, 293);
+ this.panel3.TabIndex = 6;
+ //
+ // label8
+ //
+ this.label8.BackColor = System.Drawing.Color.Transparent;
+ this.label8.Font = new System.Drawing.Font("微软雅黑", 14F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Pixel, ((byte)(134)));
+ this.label8.Location = new System.Drawing.Point(0, 20);
+ this.label8.Name = "label8";
+ this.label8.Size = new System.Drawing.Size(224, 25);
+ this.label8.TabIndex = 0;
+ this.label8.Text = "位置信息";
+ this.label8.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
+ //
+ // label13
+ //
+ this.label13.BackColor = System.Drawing.Color.Transparent;
+ this.label13.Font = new System.Drawing.Font("微软雅黑", 14F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Pixel, ((byte)(134)));
+ this.label13.Location = new System.Drawing.Point(0, 220);
+ this.label13.Margin = new System.Windows.Forms.Padding(0);
+ this.label13.Name = "label13";
+ this.label13.Size = new System.Drawing.Size(75, 25);
+ this.label13.TabIndex = 1;
+ this.label13.Text = "Z";
+ this.label13.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
+ //
+ // label12
+ //
+ this.label12.BackColor = System.Drawing.Color.Transparent;
+ this.label12.Font = new System.Drawing.Font("微软雅黑", 14F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Pixel, ((byte)(134)));
+ this.label12.Location = new System.Drawing.Point(0, 180);
+ this.label12.Margin = new System.Windows.Forms.Padding(0);
+ this.label12.Name = "label12";
+ this.label12.Size = new System.Drawing.Size(75, 25);
+ this.label12.TabIndex = 1;
+ this.label12.Text = "Y";
+ this.label12.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
+ //
+ // label11
+ //
+ this.label11.BackColor = System.Drawing.Color.Transparent;
+ this.label11.Font = new System.Drawing.Font("微软雅黑", 14F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Pixel, ((byte)(134)));
+ this.label11.Location = new System.Drawing.Point(0, 140);
+ this.label11.Margin = new System.Windows.Forms.Padding(0);
+ this.label11.Name = "label11";
+ this.label11.Size = new System.Drawing.Size(75, 25);
+ this.label11.TabIndex = 1;
+ this.label11.Text = "X";
+ this.label11.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
+ //
+ // label9
+ //
+ this.label9.BackColor = System.Drawing.Color.Transparent;
+ this.label9.Font = new System.Drawing.Font("微软雅黑", 14F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Pixel, ((byte)(134)));
+ this.label9.Location = new System.Drawing.Point(0, 60);
+ this.label9.Name = "label9";
+ this.label9.Size = new System.Drawing.Size(75, 25);
+ this.label9.TabIndex = 1;
+ this.label9.Text = "经度";
+ this.label9.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
+ //
+ // label10
+ //
+ this.label10.BackColor = System.Drawing.Color.Transparent;
+ this.label10.Font = new System.Drawing.Font("微软雅黑", 14F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Pixel, ((byte)(134)));
+ this.label10.Location = new System.Drawing.Point(0, 100);
+ this.label10.Margin = new System.Windows.Forms.Padding(0);
+ this.label10.Name = "label10";
+ this.label10.Size = new System.Drawing.Size(75, 25);
+ this.label10.TabIndex = 1;
+ this.label10.Text = "纬度";
+ this.label10.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
+ //
+ // panel2
+ //
+ this.panel2.BackgroundImage = global::Casic.Birmm.RbFreqStandMeasure.Properties.Resources.bg_status_time;
+ this.panel2.Controls.Add(this.label4);
+ this.panel2.Controls.Add(this.label7);
+ this.panel2.Controls.Add(this.label6);
+ this.panel2.Controls.Add(this.label1);
+ this.panel2.Location = new System.Drawing.Point(6, 160);
+ this.panel2.Name = "panel2";
+ this.panel2.Size = new System.Drawing.Size(224, 200);
+ this.panel2.TabIndex = 5;
//
// label4
//
- this.label4.AutoSize = true;
- this.label4.Location = new System.Drawing.Point(59, 185);
+ this.label4.BackColor = System.Drawing.Color.Transparent;
+ this.label4.Font = new System.Drawing.Font("微软雅黑", 14F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Pixel, ((byte)(134)));
+ this.label4.Location = new System.Drawing.Point(0, 20);
this.label4.Name = "label4";
- this.label4.Size = new System.Drawing.Size(53, 12);
+ this.label4.Size = new System.Drawing.Size(224, 25);
this.label4.TabIndex = 0;
- this.label4.Text = "事件信息";
+ this.label4.Text = "时间信息";
+ this.label4.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
//
- // label3
+ // label7
//
- this.label3.AutoSize = true;
- this.label3.Location = new System.Drawing.Point(59, 139);
- this.label3.Name = "label3";
- this.label3.Size = new System.Drawing.Size(53, 12);
- this.label3.TabIndex = 0;
- this.label3.Text = "位置信息";
+ this.label7.BackColor = System.Drawing.Color.Transparent;
+ this.label7.Font = new System.Drawing.Font("微软雅黑", 14F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Pixel, ((byte)(134)));
+ this.label7.Location = new System.Drawing.Point(0, 140);
+ this.label7.Margin = new System.Windows.Forms.Padding(0);
+ this.label7.Name = "label7";
+ this.label7.Size = new System.Drawing.Size(75, 25);
+ this.label7.TabIndex = 1;
+ this.label7.Text = "MJD";
+ this.label7.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
//
- // label2
+ // label6
//
- this.label2.AutoSize = true;
- this.label2.Location = new System.Drawing.Point(59, 98);
- this.label2.Name = "label2";
- this.label2.Size = new System.Drawing.Size(53, 12);
- this.label2.TabIndex = 0;
- this.label2.Text = "锁定状态";
+ this.label6.BackColor = System.Drawing.Color.Transparent;
+ this.label6.Font = new System.Drawing.Font("微软雅黑", 14F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Pixel, ((byte)(134)));
+ this.label6.Location = new System.Drawing.Point(0, 100);
+ this.label6.Name = "label6";
+ this.label6.Size = new System.Drawing.Size(75, 25);
+ this.label6.TabIndex = 1;
+ this.label6.Text = "时间";
+ this.label6.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
//
// label1
//
- this.label1.AutoSize = true;
- this.label1.Location = new System.Drawing.Point(33, 53);
+ this.label1.BackColor = System.Drawing.Color.Transparent;
+ this.label1.Font = new System.Drawing.Font("微软雅黑", 14F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Pixel, ((byte)(134)));
+ this.label1.Location = new System.Drawing.Point(0, 60);
this.label1.Name = "label1";
- this.label1.Size = new System.Drawing.Size(29, 12);
- this.label1.TabIndex = 0;
- this.label1.Text = "状态";
+ this.label1.Size = new System.Drawing.Size(75, 25);
+ this.label1.TabIndex = 1;
+ this.label1.Text = "日期";
+ this.label1.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
+ //
+ // panel1
+ //
+ this.panel1.BackgroundImage = global::Casic.Birmm.RbFreqStandMeasure.Properties.Resources.bg_status_base;
+ this.panel1.Controls.Add(this.label3);
+ this.panel1.Controls.Add(this.label2);
+ this.panel1.Controls.Add(this.label14);
+ this.panel1.Location = new System.Drawing.Point(6, 0);
+ this.panel1.Margin = new System.Windows.Forms.Padding(0);
+ this.panel1.Name = "panel1";
+ this.panel1.Size = new System.Drawing.Size(224, 160);
+ this.panel1.TabIndex = 4;
+ //
+ // label3
+ //
+ this.label3.BackColor = System.Drawing.Color.Transparent;
+ this.label3.Font = new System.Drawing.Font("微软雅黑", 14F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Pixel, ((byte)(134)));
+ this.label3.Location = new System.Drawing.Point(0, 100);
+ this.label3.Name = "label3";
+ this.label3.Size = new System.Drawing.Size(75, 25);
+ this.label3.TabIndex = 1;
+ this.label3.Text = "接收机";
+ this.label3.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
+ //
+ // label2
+ //
+ this.label2.BackColor = System.Drawing.Color.Transparent;
+ this.label2.Font = new System.Drawing.Font("微软雅黑", 14F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Pixel, ((byte)(134)));
+ this.label2.Location = new System.Drawing.Point(0, 60);
+ this.label2.Name = "label2";
+ this.label2.Size = new System.Drawing.Size(75, 25);
+ this.label2.TabIndex = 1;
+ this.label2.Text = "原子钟";
+ this.label2.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
+ //
+ // label14
+ //
+ this.label14.BackColor = System.Drawing.Color.Transparent;
+ this.label14.Font = new System.Drawing.Font("微软雅黑", 14F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Pixel, ((byte)(134)));
+ this.label14.Location = new System.Drawing.Point(0, 20);
+ this.label14.Name = "label14";
+ this.label14.Size = new System.Drawing.Size(224, 25);
+ this.label14.TabIndex = 0;
+ this.label14.Text = "基本信息";
+ this.label14.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
//
// StatusCtrlForm
//
this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 12F);
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
+ this.Controls.Add(this.panel3);
+ this.Controls.Add(this.panel2);
+ this.Controls.Add(this.panel1);
this.Controls.Add(this.panelSite);
- this.Controls.Add(this.panelStatus);
this.Margin = new System.Windows.Forms.Padding(10);
this.Name = "StatusCtrlForm";
- this.Size = new System.Drawing.Size(1000, 640);
+ this.Size = new System.Drawing.Size(1024, 654);
this.panelSite.ResumeLayout(false);
this.panelSite.PerformLayout();
- this.panelStatus.ResumeLayout(false);
- this.panelStatus.PerformLayout();
+ this.panel3.ResumeLayout(false);
+ this.panel2.ResumeLayout(false);
+ this.panel1.ResumeLayout(false);
this.ResumeLayout(false);
}
@@ -126,10 +280,21 @@
private System.Windows.Forms.Panel panelSite;
private System.Windows.Forms.Label label5;
- private System.Windows.Forms.Panel panelStatus;
+ private System.Windows.Forms.Panel panel3;
+ private System.Windows.Forms.Label label8;
+ private System.Windows.Forms.Label label13;
+ private System.Windows.Forms.Label label12;
+ private System.Windows.Forms.Label label11;
+ private System.Windows.Forms.Label label9;
+ private System.Windows.Forms.Label label10;
+ private System.Windows.Forms.Panel panel2;
private System.Windows.Forms.Label label4;
+ private System.Windows.Forms.Label label7;
+ private System.Windows.Forms.Label label6;
+ private System.Windows.Forms.Label label1;
+ private System.Windows.Forms.Panel panel1;
private System.Windows.Forms.Label label3;
private System.Windows.Forms.Label label2;
- private System.Windows.Forms.Label label1;
+ private System.Windows.Forms.Label label14;
}
}
diff --git a/RbFreqStandMeasure/res/images/bg_banner.png b/RbFreqStandMeasure/res/images/bg_banner.png
index d795b7d..3119070 100644
--- a/RbFreqStandMeasure/res/images/bg_banner.png
+++ b/RbFreqStandMeasure/res/images/bg_banner.png
Binary files differ
diff --git a/RbFreqStandMeasure/res/images/bg_dev_channel.png b/RbFreqStandMeasure/res/images/bg_dev_channel.png
new file mode 100644
index 0000000..7bac7ce
--- /dev/null
+++ b/RbFreqStandMeasure/res/images/bg_dev_channel.png
Binary files differ
diff --git a/RbFreqStandMeasure/res/images/bg_dev_tested.png b/RbFreqStandMeasure/res/images/bg_dev_tested.png
new file mode 100644
index 0000000..0b43ead
--- /dev/null
+++ b/RbFreqStandMeasure/res/images/bg_dev_tested.png
Binary files differ
diff --git a/RbFreqStandMeasure/res/images/bg_status_base.png b/RbFreqStandMeasure/res/images/bg_status_base.png
new file mode 100644
index 0000000..ef11397
--- /dev/null
+++ b/RbFreqStandMeasure/res/images/bg_status_base.png
Binary files differ
diff --git a/RbFreqStandMeasure/res/images/bg_status_location.png b/RbFreqStandMeasure/res/images/bg_status_location.png
new file mode 100644
index 0000000..64d28d5
--- /dev/null
+++ b/RbFreqStandMeasure/res/images/bg_status_location.png
Binary files differ
diff --git a/RbFreqStandMeasure/res/images/bg_status_time.png b/RbFreqStandMeasure/res/images/bg_status_time.png
new file mode 100644
index 0000000..eec981a
--- /dev/null
+++ b/RbFreqStandMeasure/res/images/bg_status_time.png
Binary files differ
diff --git a/RbFreqStandMeasure/res/images/icon_counter.png b/RbFreqStandMeasure/res/images/icon_counter.png
new file mode 100644
index 0000000..060c3d7
--- /dev/null
+++ b/RbFreqStandMeasure/res/images/icon_counter.png
Binary files differ
diff --git a/RbFreqStandMeasure/res/images/icon_counter_selected.png b/RbFreqStandMeasure/res/images/icon_counter_selected.png
new file mode 100644
index 0000000..45c7720
--- /dev/null
+++ b/RbFreqStandMeasure/res/images/icon_counter_selected.png
Binary files differ
diff --git a/RbFreqStandMeasure/res/images/icon_data.png b/RbFreqStandMeasure/res/images/icon_data.png
new file mode 100644
index 0000000..bf03575
--- /dev/null
+++ b/RbFreqStandMeasure/res/images/icon_data.png
Binary files differ
diff --git a/RbFreqStandMeasure/res/images/icon_data_selected.png b/RbFreqStandMeasure/res/images/icon_data_selected.png
new file mode 100644
index 0000000..a8aa441
--- /dev/null
+++ b/RbFreqStandMeasure/res/images/icon_data_selected.png
Binary files differ
diff --git a/RbFreqStandMeasure/res/images/icon_dev.png b/RbFreqStandMeasure/res/images/icon_dev.png
new file mode 100644
index 0000000..09bf380
--- /dev/null
+++ b/RbFreqStandMeasure/res/images/icon_dev.png
Binary files differ
diff --git a/RbFreqStandMeasure/res/images/icon_dev_selected.png b/RbFreqStandMeasure/res/images/icon_dev_selected.png
new file mode 100644
index 0000000..63a8b7c
--- /dev/null
+++ b/RbFreqStandMeasure/res/images/icon_dev_selected.png
Binary files differ
diff --git a/RbFreqStandMeasure/HomeCtrlForm.Designer.cs b/RbFreqStandMeasure/HomeCtrlForm.Designer.cs
index fb515f8..73e477a 100644
--- a/RbFreqStandMeasure/HomeCtrlForm.Designer.cs
+++ b/RbFreqStandMeasure/HomeCtrlForm.Designer.cs
@@ -29,589 +29,271 @@
///
private void InitializeComponent()
{
- System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle1 = new System.Windows.Forms.DataGridViewCellStyle();
- System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle2 = new System.Windows.Forms.DataGridViewCellStyle();
- this.panelToBeTested = new System.Windows.Forms.Panel();
- this.dataGridViewX1 = new DevComponents.DotNetBar.Controls.DataGridViewX();
- this.Column13 = new System.Windows.Forms.DataGridViewTextBoxColumn();
- this.Column14 = new System.Windows.Forms.DataGridViewTextBoxColumn();
- this.Column15 = new System.Windows.Forms.DataGridViewTextBoxColumn();
- this.Column16 = new System.Windows.Forms.DataGridViewTextBoxColumn();
- this.Column17 = new System.Windows.Forms.DataGridViewTextBoxColumn();
- this.panelEx1 = new DevComponents.DotNetBar.PanelEx();
- this.labelX6 = new DevComponents.DotNetBar.LabelX();
- this.labelX5 = new DevComponents.DotNetBar.LabelX();
- this.labelX4 = new DevComponents.DotNetBar.LabelX();
- this.labelX3 = new DevComponents.DotNetBar.LabelX();
- this.labelX2 = new DevComponents.DotNetBar.LabelX();
- this.labelX1 = new DevComponents.DotNetBar.LabelX();
- this.panelEx2 = new DevComponents.DotNetBar.PanelEx();
- this.labelX7 = new DevComponents.DotNetBar.LabelX();
- this.labelX8 = new DevComponents.DotNetBar.LabelX();
- this.labelX10 = new DevComponents.DotNetBar.LabelX();
- this.labelX9 = new DevComponents.DotNetBar.LabelX();
- this.panelEx3 = new DevComponents.DotNetBar.PanelEx();
- this.labelX11 = new DevComponents.DotNetBar.LabelX();
- this.labelX13 = new DevComponents.DotNetBar.LabelX();
- this.labelX12 = new DevComponents.DotNetBar.LabelX();
- this.panelEx4 = new DevComponents.DotNetBar.PanelEx();
- this.dataGridViewX2 = new DevComponents.DotNetBar.Controls.DataGridViewX();
- this.Column18 = new System.Windows.Forms.DataGridViewTextBoxColumn();
- this.Column19 = new System.Windows.Forms.DataGridViewTextBoxColumn();
- this.Column20 = new System.Windows.Forms.DataGridViewTextBoxColumn();
- this.Column21 = new System.Windows.Forms.DataGridViewTextBoxColumn();
- this.Column22 = new System.Windows.Forms.DataGridViewTextBoxColumn();
- this.Column23 = new System.Windows.Forms.DataGridViewTextBoxColumn();
- this.Column24 = new System.Windows.Forms.DataGridViewTextBoxColumn();
- this.Column25 = new System.Windows.Forms.DataGridViewTextBoxColumn();
- this.Column26 = new System.Windows.Forms.DataGridViewTextBoxColumn();
- this.Column27 = new System.Windows.Forms.DataGridViewTextBoxColumn();
- this.Column28 = new System.Windows.Forms.DataGridViewTextBoxColumn();
- this.Column29 = new System.Windows.Forms.DataGridViewTextBoxColumn();
- this.buttonX1 = new DevComponents.DotNetBar.ButtonX();
- this.buttonX2 = new DevComponents.DotNetBar.ButtonX();
+ this.panel3 = new System.Windows.Forms.Panel();
+ this.panel2 = new System.Windows.Forms.Panel();
+ this.panel1 = new System.Windows.Forms.Panel();
+ this.panel4 = new System.Windows.Forms.Panel();
+ this.panel5 = new System.Windows.Forms.Panel();
this.label1 = new System.Windows.Forms.Label();
this.label2 = new System.Windows.Forms.Label();
- this.panelToBeTested.SuspendLayout();
- ((System.ComponentModel.ISupportInitialize)(this.dataGridViewX1)).BeginInit();
- this.panelEx1.SuspendLayout();
- this.panelEx2.SuspendLayout();
- this.panelEx3.SuspendLayout();
- this.panelEx4.SuspendLayout();
- ((System.ComponentModel.ISupportInitialize)(this.dataGridViewX2)).BeginInit();
+ this.label3 = new System.Windows.Forms.Label();
+ this.label4 = new System.Windows.Forms.Label();
+ this.label5 = new System.Windows.Forms.Label();
+ this.label6 = new System.Windows.Forms.Label();
+ this.label7 = new System.Windows.Forms.Label();
+ this.label8 = new System.Windows.Forms.Label();
+ this.label9 = new System.Windows.Forms.Label();
+ this.label10 = new System.Windows.Forms.Label();
+ this.label11 = new System.Windows.Forms.Label();
+ this.label12 = new System.Windows.Forms.Label();
+ this.label13 = new System.Windows.Forms.Label();
+ this.panel3.SuspendLayout();
+ this.panel2.SuspendLayout();
+ this.panel1.SuspendLayout();
this.SuspendLayout();
//
- // panelToBeTested
+ // panel3
//
- this.panelToBeTested.Controls.Add(this.dataGridViewX1);
- this.panelToBeTested.Controls.Add(this.buttonX2);
- this.panelToBeTested.Controls.Add(this.buttonX1);
- this.panelToBeTested.Location = new System.Drawing.Point(250, 0);
- this.panelToBeTested.Name = "panelToBeTested";
- this.panelToBeTested.Size = new System.Drawing.Size(750, 216);
- this.panelToBeTested.TabIndex = 4;
+ this.panel3.BackgroundImage = global::Casic.Birmm.RbFreqStandMeasure.Properties.Resources.bg_status_location;
+ this.panel3.Controls.Add(this.label8);
+ this.panel3.Controls.Add(this.label13);
+ this.panel3.Controls.Add(this.label12);
+ this.panel3.Controls.Add(this.label11);
+ this.panel3.Controls.Add(this.label9);
+ this.panel3.Controls.Add(this.label10);
+ this.panel3.Location = new System.Drawing.Point(6, 360);
+ this.panel3.Name = "panel3";
+ this.panel3.Size = new System.Drawing.Size(224, 293);
+ this.panel3.TabIndex = 2;
//
- // dataGridViewX1
+ // panel2
//
- this.dataGridViewX1.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.AutoSize;
- this.dataGridViewX1.Columns.AddRange(new System.Windows.Forms.DataGridViewColumn[] {
- this.Column13,
- this.Column14,
- this.Column15,
- this.Column16,
- this.Column17});
- dataGridViewCellStyle1.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleLeft;
- dataGridViewCellStyle1.BackColor = System.Drawing.SystemColors.Window;
- dataGridViewCellStyle1.Font = new System.Drawing.Font("宋体", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
- dataGridViewCellStyle1.ForeColor = System.Drawing.SystemColors.ControlText;
- dataGridViewCellStyle1.SelectionBackColor = System.Drawing.SystemColors.Highlight;
- dataGridViewCellStyle1.SelectionForeColor = System.Drawing.SystemColors.ControlText;
- dataGridViewCellStyle1.WrapMode = System.Windows.Forms.DataGridViewTriState.False;
- this.dataGridViewX1.DefaultCellStyle = dataGridViewCellStyle1;
- this.dataGridViewX1.GridColor = System.Drawing.Color.FromArgb(((int)(((byte)(208)))), ((int)(((byte)(215)))), ((int)(((byte)(229)))));
- this.dataGridViewX1.Location = new System.Drawing.Point(0, 1);
- this.dataGridViewX1.Name = "dataGridViewX1";
- this.dataGridViewX1.RowTemplate.Height = 23;
- this.dataGridViewX1.Size = new System.Drawing.Size(750, 179);
- this.dataGridViewX1.TabIndex = 14;
+ this.panel2.BackgroundImage = global::Casic.Birmm.RbFreqStandMeasure.Properties.Resources.bg_status_time;
+ this.panel2.Controls.Add(this.label4);
+ this.panel2.Controls.Add(this.label7);
+ this.panel2.Controls.Add(this.label6);
+ this.panel2.Controls.Add(this.label5);
+ this.panel2.Location = new System.Drawing.Point(6, 160);
+ this.panel2.Name = "panel2";
+ this.panel2.Size = new System.Drawing.Size(224, 200);
+ this.panel2.TabIndex = 1;
//
- // Column13
+ // panel1
//
- this.Column13.HeaderText = "仪器名称";
- this.Column13.Name = "Column13";
+ this.panel1.BackgroundImage = global::Casic.Birmm.RbFreqStandMeasure.Properties.Resources.bg_status_base;
+ this.panel1.Controls.Add(this.label3);
+ this.panel1.Controls.Add(this.label2);
+ this.panel1.Controls.Add(this.label1);
+ this.panel1.Location = new System.Drawing.Point(6, 0);
+ this.panel1.Margin = new System.Windows.Forms.Padding(0);
+ this.panel1.Name = "panel1";
+ this.panel1.Size = new System.Drawing.Size(224, 160);
+ this.panel1.TabIndex = 0;
//
- // Column14
+ // panel4
//
- this.Column14.HeaderText = "仪器类型";
- this.Column14.Name = "Column14";
+ this.panel4.BackgroundImage = global::Casic.Birmm.RbFreqStandMeasure.Properties.Resources.bg_dev_tested;
+ this.panel4.Location = new System.Drawing.Point(230, 0);
+ this.panel4.Margin = new System.Windows.Forms.Padding(0);
+ this.panel4.Name = "panel4";
+ this.panel4.Size = new System.Drawing.Size(788, 226);
+ this.panel4.TabIndex = 3;
//
- // Column15
+ // panel5
//
- this.Column15.HeaderText = "仪器编号";
- this.Column15.Name = "Column15";
- //
- // Column16
- //
- this.Column16.HeaderText = "客户名称";
- this.Column16.Name = "Column16";
- //
- // Column17
- //
- this.Column17.HeaderText = "开始时间";
- this.Column17.Name = "Column17";
- //
- // panelEx1
- //
- this.panelEx1.CanvasColor = System.Drawing.SystemColors.Control;
- this.panelEx1.ColorSchemeStyle = DevComponents.DotNetBar.eDotNetBarStyle.StyleManagerControlled;
- this.panelEx1.Controls.Add(this.labelX6);
- this.panelEx1.Controls.Add(this.labelX5);
- this.panelEx1.Controls.Add(this.labelX4);
- this.panelEx1.Controls.Add(this.labelX3);
- this.panelEx1.Controls.Add(this.labelX2);
- this.panelEx1.Controls.Add(this.labelX1);
- this.panelEx1.DisabledBackColor = System.Drawing.Color.Empty;
- this.panelEx1.Location = new System.Drawing.Point(25, 376);
- this.panelEx1.Name = "panelEx1";
- this.panelEx1.Size = new System.Drawing.Size(200, 200);
- this.panelEx1.Style.Alignment = System.Drawing.StringAlignment.Center;
- this.panelEx1.Style.BackColor1.ColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelBackground;
- this.panelEx1.Style.BackColor2.ColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelBackground2;
- this.panelEx1.Style.Border = DevComponents.DotNetBar.eBorderType.SingleLine;
- this.panelEx1.Style.BorderColor.ColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelBorder;
- this.panelEx1.Style.ForeColor.ColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelText;
- this.panelEx1.Style.GradientAngle = 90;
- this.panelEx1.TabIndex = 10;
- //
- // labelX6
- //
- //
- //
- //
- this.labelX6.BackgroundStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square;
- this.labelX6.Location = new System.Drawing.Point(3, 153);
- this.labelX6.Name = "labelX6";
- this.labelX6.Size = new System.Drawing.Size(75, 23);
- this.labelX6.Style = DevComponents.DotNetBar.eDotNetBarStyle.Office2013;
- this.labelX6.TabIndex = 0;
- this.labelX6.Text = "Z";
- this.labelX6.TextAlignment = System.Drawing.StringAlignment.Center;
- //
- // labelX5
- //
- //
- //
- //
- this.labelX5.BackgroundStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square;
- this.labelX5.Location = new System.Drawing.Point(3, 124);
- this.labelX5.Name = "labelX5";
- this.labelX5.Size = new System.Drawing.Size(75, 23);
- this.labelX5.Style = DevComponents.DotNetBar.eDotNetBarStyle.Office2013;
- this.labelX5.TabIndex = 0;
- this.labelX5.Text = "Y";
- this.labelX5.TextAlignment = System.Drawing.StringAlignment.Center;
- //
- // labelX4
- //
- //
- //
- //
- this.labelX4.BackgroundStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square;
- this.labelX4.Location = new System.Drawing.Point(3, 95);
- this.labelX4.Name = "labelX4";
- this.labelX4.Size = new System.Drawing.Size(75, 23);
- this.labelX4.Style = DevComponents.DotNetBar.eDotNetBarStyle.Office2013;
- this.labelX4.TabIndex = 0;
- this.labelX4.Text = "X";
- this.labelX4.TextAlignment = System.Drawing.StringAlignment.Center;
- //
- // labelX3
- //
- //
- //
- //
- this.labelX3.BackgroundStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square;
- this.labelX3.Location = new System.Drawing.Point(3, 66);
- this.labelX3.Name = "labelX3";
- this.labelX3.Size = new System.Drawing.Size(75, 23);
- this.labelX3.Style = DevComponents.DotNetBar.eDotNetBarStyle.Office2013;
- this.labelX3.TabIndex = 0;
- this.labelX3.Text = "纬度";
- this.labelX3.TextAlignment = System.Drawing.StringAlignment.Center;
- //
- // labelX2
- //
- //
- //
- //
- this.labelX2.BackgroundStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square;
- this.labelX2.Location = new System.Drawing.Point(3, 37);
- this.labelX2.Name = "labelX2";
- this.labelX2.Size = new System.Drawing.Size(75, 23);
- this.labelX2.Style = DevComponents.DotNetBar.eDotNetBarStyle.Office2013;
- this.labelX2.TabIndex = 0;
- this.labelX2.Text = "经度";
- this.labelX2.TextAlignment = System.Drawing.StringAlignment.Center;
- //
- // labelX1
- //
- //
- //
- //
- this.labelX1.BackgroundStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square;
- this.labelX1.Location = new System.Drawing.Point(3, 3);
- this.labelX1.Name = "labelX1";
- this.labelX1.Size = new System.Drawing.Size(194, 23);
- this.labelX1.Style = DevComponents.DotNetBar.eDotNetBarStyle.Office2013;
- this.labelX1.TabIndex = 0;
- this.labelX1.Text = "位置信息";
- this.labelX1.TextAlignment = System.Drawing.StringAlignment.Center;
- //
- // panelEx2
- //
- this.panelEx2.CanvasColor = System.Drawing.SystemColors.Control;
- this.panelEx2.ColorSchemeStyle = DevComponents.DotNetBar.eDotNetBarStyle.StyleManagerControlled;
- this.panelEx2.Controls.Add(this.labelX7);
- this.panelEx2.Controls.Add(this.labelX8);
- this.panelEx2.Controls.Add(this.labelX10);
- this.panelEx2.Controls.Add(this.labelX9);
- this.panelEx2.DisabledBackColor = System.Drawing.Color.Empty;
- this.panelEx2.Location = new System.Drawing.Point(25, 190);
- this.panelEx2.Name = "panelEx2";
- this.panelEx2.Size = new System.Drawing.Size(200, 150);
- this.panelEx2.Style.Alignment = System.Drawing.StringAlignment.Center;
- this.panelEx2.Style.BackColor1.ColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelBackground;
- this.panelEx2.Style.BackColor2.ColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelBackground2;
- this.panelEx2.Style.Border = DevComponents.DotNetBar.eBorderType.SingleLine;
- this.panelEx2.Style.BorderColor.ColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelBorder;
- this.panelEx2.Style.ForeColor.ColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelText;
- this.panelEx2.Style.GradientAngle = 90;
- this.panelEx2.TabIndex = 10;
- //
- // labelX7
- //
- //
- //
- //
- this.labelX7.BackgroundStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square;
- this.labelX7.Location = new System.Drawing.Point(3, 3);
- this.labelX7.Name = "labelX7";
- this.labelX7.Size = new System.Drawing.Size(194, 23);
- this.labelX7.Style = DevComponents.DotNetBar.eDotNetBarStyle.Office2013;
- this.labelX7.TabIndex = 0;
- this.labelX7.Text = "时间信息";
- this.labelX7.TextAlignment = System.Drawing.StringAlignment.Center;
- //
- // labelX8
- //
- //
- //
- //
- this.labelX8.BackgroundStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square;
- this.labelX8.Location = new System.Drawing.Point(3, 41);
- this.labelX8.Name = "labelX8";
- this.labelX8.Size = new System.Drawing.Size(75, 23);
- this.labelX8.Style = DevComponents.DotNetBar.eDotNetBarStyle.Office2013;
- this.labelX8.TabIndex = 0;
- this.labelX8.Text = "日期";
- this.labelX8.TextAlignment = System.Drawing.StringAlignment.Center;
- //
- // labelX10
- //
- //
- //
- //
- this.labelX10.BackgroundStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square;
- this.labelX10.Location = new System.Drawing.Point(3, 99);
- this.labelX10.Name = "labelX10";
- this.labelX10.Size = new System.Drawing.Size(75, 23);
- this.labelX10.Style = DevComponents.DotNetBar.eDotNetBarStyle.Office2013;
- this.labelX10.TabIndex = 0;
- this.labelX10.Text = "MJD";
- this.labelX10.TextAlignment = System.Drawing.StringAlignment.Center;
- //
- // labelX9
- //
- //
- //
- //
- this.labelX9.BackgroundStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square;
- this.labelX9.Location = new System.Drawing.Point(3, 70);
- this.labelX9.Name = "labelX9";
- this.labelX9.Size = new System.Drawing.Size(75, 23);
- this.labelX9.Style = DevComponents.DotNetBar.eDotNetBarStyle.Office2013;
- this.labelX9.TabIndex = 0;
- this.labelX9.Text = "时间";
- this.labelX9.TextAlignment = System.Drawing.StringAlignment.Center;
- //
- // panelEx3
- //
- this.panelEx3.CanvasColor = System.Drawing.SystemColors.Control;
- this.panelEx3.ColorSchemeStyle = DevComponents.DotNetBar.eDotNetBarStyle.StyleManagerControlled;
- this.panelEx3.Controls.Add(this.labelX11);
- this.panelEx3.Controls.Add(this.labelX13);
- this.panelEx3.Controls.Add(this.labelX12);
- this.panelEx3.DisabledBackColor = System.Drawing.Color.Empty;
- this.panelEx3.Location = new System.Drawing.Point(25, 50);
- this.panelEx3.Name = "panelEx3";
- this.panelEx3.Size = new System.Drawing.Size(200, 100);
- this.panelEx3.Style.Alignment = System.Drawing.StringAlignment.Center;
- this.panelEx3.Style.BackColor1.ColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelBackground;
- this.panelEx3.Style.BackColor2.ColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelBackground2;
- this.panelEx3.Style.Border = DevComponents.DotNetBar.eBorderType.SingleLine;
- this.panelEx3.Style.BorderColor.ColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelBorder;
- this.panelEx3.Style.ForeColor.ColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelText;
- this.panelEx3.Style.GradientAngle = 90;
- this.panelEx3.TabIndex = 10;
- //
- // labelX11
- //
- //
- //
- //
- this.labelX11.BackgroundStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square;
- this.labelX11.Location = new System.Drawing.Point(3, 3);
- this.labelX11.Name = "labelX11";
- this.labelX11.Size = new System.Drawing.Size(194, 23);
- this.labelX11.Style = DevComponents.DotNetBar.eDotNetBarStyle.Office2013;
- this.labelX11.TabIndex = 0;
- this.labelX11.Text = "基本信息";
- this.labelX11.TextAlignment = System.Drawing.StringAlignment.Center;
- //
- // labelX13
- //
- //
- //
- //
- this.labelX13.BackgroundStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square;
- this.labelX13.Location = new System.Drawing.Point(3, 32);
- this.labelX13.Name = "labelX13";
- this.labelX13.Size = new System.Drawing.Size(75, 23);
- this.labelX13.Style = DevComponents.DotNetBar.eDotNetBarStyle.Office2013;
- this.labelX13.TabIndex = 0;
- this.labelX13.Text = "原子钟";
- this.labelX13.TextAlignment = System.Drawing.StringAlignment.Center;
- //
- // labelX12
- //
- //
- //
- //
- this.labelX12.BackgroundStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square;
- this.labelX12.Location = new System.Drawing.Point(3, 61);
- this.labelX12.Name = "labelX12";
- this.labelX12.Size = new System.Drawing.Size(75, 23);
- this.labelX12.Style = DevComponents.DotNetBar.eDotNetBarStyle.Office2013;
- this.labelX12.TabIndex = 0;
- this.labelX12.Text = "接收机";
- this.labelX12.TextAlignment = System.Drawing.StringAlignment.Center;
- //
- // panelEx4
- //
- this.panelEx4.CanvasColor = System.Drawing.SystemColors.Control;
- this.panelEx4.ColorSchemeStyle = DevComponents.DotNetBar.eDotNetBarStyle.StyleManagerControlled;
- this.panelEx4.Controls.Add(this.panelEx2);
- this.panelEx4.Controls.Add(this.panelEx1);
- this.panelEx4.Controls.Add(this.panelEx3);
- this.panelEx4.DisabledBackColor = System.Drawing.Color.Empty;
- this.panelEx4.Location = new System.Drawing.Point(0, 0);
- this.panelEx4.Name = "panelEx4";
- this.panelEx4.Size = new System.Drawing.Size(250, 640);
- this.panelEx4.Style.Alignment = System.Drawing.StringAlignment.Center;
- this.panelEx4.Style.BackColor1.ColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelBackground;
- this.panelEx4.Style.BackColor2.ColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelBackground2;
- this.panelEx4.Style.Border = DevComponents.DotNetBar.eBorderType.SingleLine;
- this.panelEx4.Style.BorderColor.ColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelBorder;
- this.panelEx4.Style.ForeColor.ColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelText;
- this.panelEx4.Style.GradientAngle = 90;
- this.panelEx4.TabIndex = 10;
- //
- // dataGridViewX2
- //
- this.dataGridViewX2.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.AutoSize;
- this.dataGridViewX2.Columns.AddRange(new System.Windows.Forms.DataGridViewColumn[] {
- this.Column18,
- this.Column19,
- this.Column20,
- this.Column21,
- this.Column22,
- this.Column23,
- this.Column24,
- this.Column25,
- this.Column26,
- this.Column27,
- this.Column28,
- this.Column29});
- dataGridViewCellStyle2.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleLeft;
- dataGridViewCellStyle2.BackColor = System.Drawing.SystemColors.Window;
- dataGridViewCellStyle2.Font = new System.Drawing.Font("宋体", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
- dataGridViewCellStyle2.ForeColor = System.Drawing.SystemColors.ControlText;
- dataGridViewCellStyle2.SelectionBackColor = System.Drawing.SystemColors.Highlight;
- dataGridViewCellStyle2.SelectionForeColor = System.Drawing.SystemColors.ControlText;
- dataGridViewCellStyle2.WrapMode = System.Windows.Forms.DataGridViewTriState.False;
- this.dataGridViewX2.DefaultCellStyle = dataGridViewCellStyle2;
- this.dataGridViewX2.GridColor = System.Drawing.Color.FromArgb(((int)(((byte)(208)))), ((int)(((byte)(215)))), ((int)(((byte)(229)))));
- this.dataGridViewX2.Location = new System.Drawing.Point(250, 216);
- this.dataGridViewX2.Name = "dataGridViewX2";
- this.dataGridViewX2.Size = new System.Drawing.Size(747, 424);
- this.dataGridViewX2.TabIndex = 15;
- //
- // Column18
- //
- this.Column18.HeaderText = "通道号";
- this.Column18.Name = "Column18";
- //
- // Column19
- //
- this.Column19.HeaderText = "当前状态";
- this.Column19.Name = "Column19";
- //
- // Column20
- //
- this.Column20.HeaderText = "仪器名称";
- this.Column20.Name = "Column20";
- //
- // Column21
- //
- this.Column21.HeaderText = "仪器编号";
- this.Column21.Name = "Column21";
- //
- // Column22
- //
- this.Column22.HeaderText = "客户名称";
- this.Column22.Name = "Column22";
- //
- // Column23
- //
- this.Column23.HeaderText = "开始时间";
- this.Column23.Name = "Column23";
- //
- // Column24
- //
- this.Column24.HeaderText = "结束时间";
- this.Column24.Name = "Column24";
- //
- // Column25
- //
- this.Column25.HeaderText = "频率稳定度";
- this.Column25.Name = "Column25";
- //
- // Column26
- //
- this.Column26.HeaderText = "频率准确度";
- this.Column26.Name = "Column26";
- //
- // Column27
- //
- this.Column27.HeaderText = "开机特性";
- this.Column27.Name = "Column27";
- //
- // Column28
- //
- this.Column28.HeaderText = "日老化率";
- this.Column28.Name = "Column28";
- //
- // Column29
- //
- this.Column29.HeaderText = "频率计数器范围及灵敏度";
- this.Column29.Name = "Column29";
- //
- // buttonX1
- //
- this.buttonX1.AccessibleRole = System.Windows.Forms.AccessibleRole.PushButton;
- this.buttonX1.BackColor = System.Drawing.Color.Transparent;
- this.buttonX1.ColorTable = DevComponents.DotNetBar.eButtonColor.OrangeWithBackground;
- this.buttonX1.Location = new System.Drawing.Point(663, 183);
- this.buttonX1.Name = "buttonX1";
- this.buttonX1.Size = new System.Drawing.Size(30, 23);
- this.buttonX1.Style = DevComponents.DotNetBar.eDotNetBarStyle.StyleManagerControlled;
- this.buttonX1.Symbol = "";
- this.buttonX1.SymbolColor = System.Drawing.Color.FromArgb(((int)(((byte)(64)))), ((int)(((byte)(64)))), ((int)(((byte)(64)))));
- this.buttonX1.SymbolSize = 8F;
- this.buttonX1.TabIndex = 19;
- //
- // buttonX2
- //
- this.buttonX2.AccessibleRole = System.Windows.Forms.AccessibleRole.PushButton;
- this.buttonX2.BackColor = System.Drawing.Color.Transparent;
- this.buttonX2.ColorTable = DevComponents.DotNetBar.eButtonColor.OrangeWithBackground;
- this.buttonX2.Location = new System.Drawing.Point(589, 184);
- this.buttonX2.Name = "buttonX2";
- this.buttonX2.Size = new System.Drawing.Size(30, 23);
- this.buttonX2.Style = DevComponents.DotNetBar.eDotNetBarStyle.StyleManagerControlled;
- this.buttonX2.Symbol = "";
- this.buttonX2.SymbolColor = System.Drawing.Color.FromArgb(((int)(((byte)(64)))), ((int)(((byte)(64)))), ((int)(((byte)(64)))));
- this.buttonX2.SymbolSize = 8F;
- this.buttonX2.TabIndex = 19;
+ this.panel5.BackgroundImage = global::Casic.Birmm.RbFreqStandMeasure.Properties.Resources.bg_dev_channel;
+ this.panel5.Location = new System.Drawing.Point(230, 226);
+ this.panel5.Name = "panel5";
+ this.panel5.Size = new System.Drawing.Size(788, 424);
+ this.panel5.TabIndex = 4;
//
// label1
//
this.label1.BackColor = System.Drawing.Color.Transparent;
- this.label1.Font = new System.Drawing.Font("Times New Roman", 9.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
- this.label1.Location = new System.Drawing.Point(880, 186);
- this.label1.Margin = new System.Windows.Forms.Padding(0);
+ this.label1.Font = new System.Drawing.Font("微软雅黑", 14F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Pixel, ((byte)(134)));
+ this.label1.Location = new System.Drawing.Point(0, 20);
this.label1.Name = "label1";
- this.label1.Size = new System.Drawing.Size(20, 20);
- this.label1.TabIndex = 20;
- this.label1.Text = "1";
+ this.label1.Size = new System.Drawing.Size(224, 25);
+ this.label1.TabIndex = 0;
+ this.label1.Text = "基本信息";
this.label1.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
//
// label2
//
this.label2.BackColor = System.Drawing.Color.Transparent;
- this.label2.Font = new System.Drawing.Font("Times New Roman", 9.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
- this.label2.Location = new System.Drawing.Point(636, 187);
- this.label2.Margin = new System.Windows.Forms.Padding(0);
+ this.label2.Font = new System.Drawing.Font("微软雅黑", 14F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Pixel, ((byte)(134)));
+ this.label2.Location = new System.Drawing.Point(0, 60);
this.label2.Name = "label2";
- this.label2.Size = new System.Drawing.Size(200, 20);
- this.label2.TabIndex = 20;
- this.label2.Text = "共150条,每页5条,共100页";
- this.label2.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
+ this.label2.Size = new System.Drawing.Size(75, 25);
+ this.label2.TabIndex = 1;
+ this.label2.Text = "原子钟";
+ this.label2.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
+ //
+ // label3
+ //
+ this.label3.BackColor = System.Drawing.Color.Transparent;
+ this.label3.Font = new System.Drawing.Font("微软雅黑", 14F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Pixel, ((byte)(134)));
+ this.label3.Location = new System.Drawing.Point(0, 100);
+ this.label3.Name = "label3";
+ this.label3.Size = new System.Drawing.Size(75, 25);
+ this.label3.TabIndex = 1;
+ this.label3.Text = "接收机";
+ this.label3.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
+ //
+ // label4
+ //
+ this.label4.BackColor = System.Drawing.Color.Transparent;
+ this.label4.Font = new System.Drawing.Font("微软雅黑", 14F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Pixel, ((byte)(134)));
+ this.label4.Location = new System.Drawing.Point(0, 20);
+ this.label4.Name = "label4";
+ this.label4.Size = new System.Drawing.Size(224, 25);
+ this.label4.TabIndex = 0;
+ this.label4.Text = "时间信息";
+ this.label4.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
+ //
+ // label5
+ //
+ this.label5.BackColor = System.Drawing.Color.Transparent;
+ this.label5.Font = new System.Drawing.Font("微软雅黑", 14F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Pixel, ((byte)(134)));
+ this.label5.Location = new System.Drawing.Point(0, 60);
+ this.label5.Name = "label5";
+ this.label5.Size = new System.Drawing.Size(75, 25);
+ this.label5.TabIndex = 1;
+ this.label5.Text = "日期";
+ this.label5.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
+ //
+ // label6
+ //
+ this.label6.BackColor = System.Drawing.Color.Transparent;
+ this.label6.Font = new System.Drawing.Font("微软雅黑", 14F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Pixel, ((byte)(134)));
+ this.label6.Location = new System.Drawing.Point(0, 100);
+ this.label6.Name = "label6";
+ this.label6.Size = new System.Drawing.Size(75, 25);
+ this.label6.TabIndex = 1;
+ this.label6.Text = "时间";
+ this.label6.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
+ //
+ // label7
+ //
+ this.label7.BackColor = System.Drawing.Color.Transparent;
+ this.label7.Font = new System.Drawing.Font("微软雅黑", 14F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Pixel, ((byte)(134)));
+ this.label7.Location = new System.Drawing.Point(0, 140);
+ this.label7.Margin = new System.Windows.Forms.Padding(0);
+ this.label7.Name = "label7";
+ this.label7.Size = new System.Drawing.Size(75, 25);
+ this.label7.TabIndex = 1;
+ this.label7.Text = "MJD";
+ this.label7.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
+ //
+ // label8
+ //
+ this.label8.BackColor = System.Drawing.Color.Transparent;
+ this.label8.Font = new System.Drawing.Font("微软雅黑", 14F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Pixel, ((byte)(134)));
+ this.label8.Location = new System.Drawing.Point(0, 20);
+ this.label8.Name = "label8";
+ this.label8.Size = new System.Drawing.Size(224, 25);
+ this.label8.TabIndex = 0;
+ this.label8.Text = "位置信息";
+ this.label8.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
+ //
+ // label9
+ //
+ this.label9.BackColor = System.Drawing.Color.Transparent;
+ this.label9.Font = new System.Drawing.Font("微软雅黑", 14F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Pixel, ((byte)(134)));
+ this.label9.Location = new System.Drawing.Point(0, 60);
+ this.label9.Name = "label9";
+ this.label9.Size = new System.Drawing.Size(75, 25);
+ this.label9.TabIndex = 1;
+ this.label9.Text = "经度";
+ this.label9.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
+ //
+ // label10
+ //
+ this.label10.BackColor = System.Drawing.Color.Transparent;
+ this.label10.Font = new System.Drawing.Font("微软雅黑", 14F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Pixel, ((byte)(134)));
+ this.label10.Location = new System.Drawing.Point(0, 100);
+ this.label10.Margin = new System.Windows.Forms.Padding(0);
+ this.label10.Name = "label10";
+ this.label10.Size = new System.Drawing.Size(75, 25);
+ this.label10.TabIndex = 1;
+ this.label10.Text = "纬度";
+ this.label10.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
+ //
+ // label11
+ //
+ this.label11.BackColor = System.Drawing.Color.Transparent;
+ this.label11.Font = new System.Drawing.Font("微软雅黑", 14F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Pixel, ((byte)(134)));
+ this.label11.Location = new System.Drawing.Point(0, 140);
+ this.label11.Margin = new System.Windows.Forms.Padding(0);
+ this.label11.Name = "label11";
+ this.label11.Size = new System.Drawing.Size(75, 25);
+ this.label11.TabIndex = 1;
+ this.label11.Text = "X";
+ this.label11.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
+ //
+ // label12
+ //
+ this.label12.BackColor = System.Drawing.Color.Transparent;
+ this.label12.Font = new System.Drawing.Font("微软雅黑", 14F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Pixel, ((byte)(134)));
+ this.label12.Location = new System.Drawing.Point(0, 180);
+ this.label12.Margin = new System.Windows.Forms.Padding(0);
+ this.label12.Name = "label12";
+ this.label12.Size = new System.Drawing.Size(75, 25);
+ this.label12.TabIndex = 1;
+ this.label12.Text = "Y";
+ this.label12.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
+ //
+ // label13
+ //
+ this.label13.BackColor = System.Drawing.Color.Transparent;
+ this.label13.Font = new System.Drawing.Font("微软雅黑", 14F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Pixel, ((byte)(134)));
+ this.label13.Location = new System.Drawing.Point(0, 220);
+ this.label13.Margin = new System.Windows.Forms.Padding(0);
+ this.label13.Name = "label13";
+ this.label13.Size = new System.Drawing.Size(75, 25);
+ this.label13.TabIndex = 1;
+ this.label13.Text = "Z";
+ this.label13.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
//
// HomeCtrlForm
//
this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 12F);
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
- this.Controls.Add(this.label1);
- this.Controls.Add(this.label2);
- this.Controls.Add(this.dataGridViewX2);
- this.Controls.Add(this.panelEx4);
- this.Controls.Add(this.panelToBeTested);
+ this.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(232)))), ((int)(((byte)(234)))), ((int)(((byte)(238)))));
+ this.Controls.Add(this.panel5);
+ this.Controls.Add(this.panel4);
+ this.Controls.Add(this.panel3);
+ this.Controls.Add(this.panel2);
+ this.Controls.Add(this.panel1);
this.Margin = new System.Windows.Forms.Padding(0);
this.Name = "HomeCtrlForm";
- this.Size = new System.Drawing.Size(1000, 640);
- this.panelToBeTested.ResumeLayout(false);
- ((System.ComponentModel.ISupportInitialize)(this.dataGridViewX1)).EndInit();
- this.panelEx1.ResumeLayout(false);
- this.panelEx2.ResumeLayout(false);
- this.panelEx3.ResumeLayout(false);
- this.panelEx4.ResumeLayout(false);
- ((System.ComponentModel.ISupportInitialize)(this.dataGridViewX2)).EndInit();
+ this.Size = new System.Drawing.Size(1024, 654);
+ this.panel3.ResumeLayout(false);
+ this.panel2.ResumeLayout(false);
+ this.panel1.ResumeLayout(false);
this.ResumeLayout(false);
}
#endregion
- private System.Windows.Forms.Panel panelToBeTested;
- private DevComponents.DotNetBar.PanelEx panelEx1;
- private DevComponents.DotNetBar.LabelX labelX6;
- private DevComponents.DotNetBar.LabelX labelX5;
- private DevComponents.DotNetBar.LabelX labelX4;
- private DevComponents.DotNetBar.LabelX labelX3;
- private DevComponents.DotNetBar.LabelX labelX2;
- private DevComponents.DotNetBar.LabelX labelX1;
- private DevComponents.DotNetBar.PanelEx panelEx2;
- private DevComponents.DotNetBar.LabelX labelX7;
- private DevComponents.DotNetBar.LabelX labelX8;
- private DevComponents.DotNetBar.LabelX labelX10;
- private DevComponents.DotNetBar.LabelX labelX9;
- private DevComponents.DotNetBar.PanelEx panelEx3;
- private DevComponents.DotNetBar.LabelX labelX11;
- private DevComponents.DotNetBar.LabelX labelX13;
- private DevComponents.DotNetBar.LabelX labelX12;
- private DevComponents.DotNetBar.PanelEx panelEx4;
- private DevComponents.DotNetBar.Controls.DataGridViewX dataGridViewX1;
- private System.Windows.Forms.DataGridViewTextBoxColumn Column13;
- private System.Windows.Forms.DataGridViewTextBoxColumn Column14;
- private System.Windows.Forms.DataGridViewTextBoxColumn Column15;
- private System.Windows.Forms.DataGridViewTextBoxColumn Column16;
- private System.Windows.Forms.DataGridViewTextBoxColumn Column17;
- private DevComponents.DotNetBar.Controls.DataGridViewX dataGridViewX2;
- private System.Windows.Forms.DataGridViewTextBoxColumn Column18;
- private System.Windows.Forms.DataGridViewTextBoxColumn Column19;
- private System.Windows.Forms.DataGridViewTextBoxColumn Column20;
- private System.Windows.Forms.DataGridViewTextBoxColumn Column21;
- private System.Windows.Forms.DataGridViewTextBoxColumn Column22;
- private System.Windows.Forms.DataGridViewTextBoxColumn Column23;
- private System.Windows.Forms.DataGridViewTextBoxColumn Column24;
- private System.Windows.Forms.DataGridViewTextBoxColumn Column25;
- private System.Windows.Forms.DataGridViewTextBoxColumn Column26;
- private System.Windows.Forms.DataGridViewTextBoxColumn Column27;
- private System.Windows.Forms.DataGridViewTextBoxColumn Column28;
- private System.Windows.Forms.DataGridViewTextBoxColumn Column29;
- private DevComponents.DotNetBar.ButtonX buttonX1;
- private DevComponents.DotNetBar.ButtonX buttonX2;
+
+ private System.Windows.Forms.Panel panel1;
+ private System.Windows.Forms.Panel panel2;
+ private System.Windows.Forms.Panel panel3;
+ private System.Windows.Forms.Panel panel4;
+ private System.Windows.Forms.Panel panel5;
private System.Windows.Forms.Label label1;
private System.Windows.Forms.Label label2;
+ private System.Windows.Forms.Label label3;
+ private System.Windows.Forms.Label label4;
+ private System.Windows.Forms.Label label5;
+ private System.Windows.Forms.Label label6;
+ private System.Windows.Forms.Label label7;
+ private System.Windows.Forms.Label label8;
+ private System.Windows.Forms.Label label11;
+ private System.Windows.Forms.Label label9;
+ private System.Windows.Forms.Label label10;
+ private System.Windows.Forms.Label label12;
+ private System.Windows.Forms.Label label13;
}
}
diff --git a/RbFreqStandMeasure/HomeCtrlForm.resx b/RbFreqStandMeasure/HomeCtrlForm.resx
index 6d97f4f..1af7de1 100644
--- a/RbFreqStandMeasure/HomeCtrlForm.resx
+++ b/RbFreqStandMeasure/HomeCtrlForm.resx
@@ -117,55 +117,4 @@
System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
-
- True
-
-
- True
-
-
- True
-
-
- True
-
-
- True
-
-
- True
-
-
- True
-
-
- True
-
-
- True
-
-
- True
-
-
- True
-
-
- True
-
-
- True
-
-
- True
-
-
- True
-
-
- True
-
-
- True
-
\ No newline at end of file
diff --git a/RbFreqStandMeasure/Program.cs b/RbFreqStandMeasure/Program.cs
index 93a83e5..6150917 100644
--- a/RbFreqStandMeasure/Program.cs
+++ b/RbFreqStandMeasure/Program.cs
@@ -1,6 +1,4 @@
using System;
-using System.Collections.Generic;
-using System.Linq;
using System.Windows.Forms;
namespace Casic.Birmm.RbFreqStandMeasure
diff --git a/RbFreqStandMeasure/Properties/Resources.Designer.cs b/RbFreqStandMeasure/Properties/Resources.Designer.cs
index 253d7d7..d819a23 100644
--- a/RbFreqStandMeasure/Properties/Resources.Designer.cs
+++ b/RbFreqStandMeasure/Properties/Resources.Designer.cs
@@ -73,6 +73,56 @@
///
/// 查找 System.Drawing.Bitmap 类型的本地化资源。
///
+ internal static System.Drawing.Bitmap bg_dev_channel {
+ get {
+ object obj = ResourceManager.GetObject("bg_dev_channel", resourceCulture);
+ return ((System.Drawing.Bitmap)(obj));
+ }
+ }
+
+ ///
+ /// 查找 System.Drawing.Bitmap 类型的本地化资源。
+ ///
+ internal static System.Drawing.Bitmap bg_dev_tested {
+ get {
+ object obj = ResourceManager.GetObject("bg_dev_tested", resourceCulture);
+ return ((System.Drawing.Bitmap)(obj));
+ }
+ }
+
+ ///
+ /// 查找 System.Drawing.Bitmap 类型的本地化资源。
+ ///
+ internal static System.Drawing.Bitmap bg_status_base {
+ get {
+ object obj = ResourceManager.GetObject("bg_status_base", resourceCulture);
+ return ((System.Drawing.Bitmap)(obj));
+ }
+ }
+
+ ///
+ /// 查找 System.Drawing.Bitmap 类型的本地化资源。
+ ///
+ internal static System.Drawing.Bitmap bg_status_location {
+ get {
+ object obj = ResourceManager.GetObject("bg_status_location", resourceCulture);
+ return ((System.Drawing.Bitmap)(obj));
+ }
+ }
+
+ ///
+ /// 查找 System.Drawing.Bitmap 类型的本地化资源。
+ ///
+ internal static System.Drawing.Bitmap bg_status_time {
+ get {
+ object obj = ResourceManager.GetObject("bg_status_time", resourceCulture);
+ return ((System.Drawing.Bitmap)(obj));
+ }
+ }
+
+ ///
+ /// 查找 System.Drawing.Bitmap 类型的本地化资源。
+ ///
internal static System.Drawing.Bitmap bg_white_shadow {
get {
object obj = ResourceManager.GetObject("bg_white_shadow", resourceCulture);
@@ -83,6 +133,66 @@
///
/// 查找 System.Drawing.Bitmap 类型的本地化资源。
///
+ internal static System.Drawing.Bitmap icon_counter {
+ get {
+ object obj = ResourceManager.GetObject("icon_counter", resourceCulture);
+ return ((System.Drawing.Bitmap)(obj));
+ }
+ }
+
+ ///
+ /// 查找 System.Drawing.Bitmap 类型的本地化资源。
+ ///
+ internal static System.Drawing.Bitmap icon_counter_selected {
+ get {
+ object obj = ResourceManager.GetObject("icon_counter_selected", resourceCulture);
+ return ((System.Drawing.Bitmap)(obj));
+ }
+ }
+
+ ///
+ /// 查找 System.Drawing.Bitmap 类型的本地化资源。
+ ///
+ internal static System.Drawing.Bitmap icon_data {
+ get {
+ object obj = ResourceManager.GetObject("icon_data", resourceCulture);
+ return ((System.Drawing.Bitmap)(obj));
+ }
+ }
+
+ ///
+ /// 查找 System.Drawing.Bitmap 类型的本地化资源。
+ ///
+ internal static System.Drawing.Bitmap icon_data_selected {
+ get {
+ object obj = ResourceManager.GetObject("icon_data_selected", resourceCulture);
+ return ((System.Drawing.Bitmap)(obj));
+ }
+ }
+
+ ///
+ /// 查找 System.Drawing.Bitmap 类型的本地化资源。
+ ///
+ internal static System.Drawing.Bitmap icon_dev {
+ get {
+ object obj = ResourceManager.GetObject("icon_dev", resourceCulture);
+ return ((System.Drawing.Bitmap)(obj));
+ }
+ }
+
+ ///
+ /// 查找 System.Drawing.Bitmap 类型的本地化资源。
+ ///
+ internal static System.Drawing.Bitmap icon_dev_selected {
+ get {
+ object obj = ResourceManager.GetObject("icon_dev_selected", resourceCulture);
+ return ((System.Drawing.Bitmap)(obj));
+ }
+ }
+
+ ///
+ /// 查找 System.Drawing.Bitmap 类型的本地化资源。
+ ///
internal static System.Drawing.Bitmap icon_exit {
get {
object obj = ResourceManager.GetObject("icon_exit", resourceCulture);
@@ -113,6 +223,56 @@
///
/// 查找 System.Drawing.Bitmap 类型的本地化资源。
///
+ internal static System.Drawing.Bitmap icon_measure {
+ get {
+ object obj = ResourceManager.GetObject("icon_measure", resourceCulture);
+ return ((System.Drawing.Bitmap)(obj));
+ }
+ }
+
+ ///
+ /// 查找 System.Drawing.Bitmap 类型的本地化资源。
+ ///
+ internal static System.Drawing.Bitmap icon_measure_selected {
+ get {
+ object obj = ResourceManager.GetObject("icon_measure_selected", resourceCulture);
+ return ((System.Drawing.Bitmap)(obj));
+ }
+ }
+
+ ///
+ /// 查找 System.Drawing.Bitmap 类型的本地化资源。
+ ///
+ internal static System.Drawing.Bitmap icon_min {
+ get {
+ object obj = ResourceManager.GetObject("icon_min", resourceCulture);
+ return ((System.Drawing.Bitmap)(obj));
+ }
+ }
+
+ ///
+ /// 查找 System.Drawing.Bitmap 类型的本地化资源。
+ ///
+ internal static System.Drawing.Bitmap icon_setting {
+ get {
+ object obj = ResourceManager.GetObject("icon_setting", resourceCulture);
+ return ((System.Drawing.Bitmap)(obj));
+ }
+ }
+
+ ///
+ /// 查找 System.Drawing.Bitmap 类型的本地化资源。
+ ///
+ internal static System.Drawing.Bitmap icon_setting_selected {
+ get {
+ object obj = ResourceManager.GetObject("icon_setting_selected", resourceCulture);
+ return ((System.Drawing.Bitmap)(obj));
+ }
+ }
+
+ ///
+ /// 查找 System.Drawing.Bitmap 类型的本地化资源。
+ ///
internal static System.Drawing.Bitmap icon_status {
get {
object obj = ResourceManager.GetObject("icon_status", resourceCulture);
diff --git a/RbFreqStandMeasure/Properties/Resources.resx b/RbFreqStandMeasure/Properties/Resources.resx
index e781bb7..cfdb255 100644
--- a/RbFreqStandMeasure/Properties/Resources.resx
+++ b/RbFreqStandMeasure/Properties/Resources.resx
@@ -118,25 +118,73 @@
System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
-
- ..\res\images\icon_exit.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
+
+ ..\res\images\icon_counter_selected.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
-
- ..\res\images\bg_white_shadow.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
+
+ ..\res\images\icon_dev_selected.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
+
+
+ ..\res\images\icon_status_selected.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
+
+
+ ..\res\images\icon_data_selected.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
..\res\images\icon_home_selected.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
-
- ..\res\images\bg_banner.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
-
-
- ..\res\images\icon_home.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
+
+ ..\res\images\icon_exit.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
..\res\images\icon_status.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
-
- ..\res\images\icon_status_selected.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
+
+ ..\res\images\icon_data.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
+
+
+ ..\res\images\icon_setting.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
+
+
+ ..\res\images\icon_measure_selected.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
+
+
+ ..\res\images\bg_banner.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
+
+
+ ..\res\images\icon_setting_selected.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
+
+
+ ..\res\images\icon_dev.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
+
+
+ ..\res\images\icon_counter.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
+
+
+ ..\res\images\icon_measure.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
+
+
+ ..\res\images\icon_home.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
+
+
+ ..\res\images\bg_white_shadow.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
+
+
+ ..\res\images\icon_min.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
+
+
+ ..\res\images\bg_status_base.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
+
+
+ ..\res\images\bg_status_location.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
+
+
+ ..\res\images\bg_status_time.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
+
+
+ ..\res\images\bg_dev_channel.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
+
+
+ ..\res\images\bg_dev_tested.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
\ No newline at end of file
diff --git a/RbFreqStandMeasure/RbFreqStandMeasure.csproj b/RbFreqStandMeasure/RbFreqStandMeasure.csproj
index f5e7da9..7c12768 100644
--- a/RbFreqStandMeasure/RbFreqStandMeasure.csproj
+++ b/RbFreqStandMeasure/RbFreqStandMeasure.csproj
@@ -232,6 +232,54 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/RbFreqStandMeasure/RbFreqStdMeas.Designer.cs b/RbFreqStandMeasure/RbFreqStdMeas.Designer.cs
index 57778cf..1bd008c 100644
--- a/RbFreqStandMeasure/RbFreqStdMeas.Designer.cs
+++ b/RbFreqStandMeasure/RbFreqStdMeas.Designer.cs
@@ -30,148 +30,77 @@
private void InitializeComponent()
{
this.panMenu = new System.Windows.Forms.Panel();
+ this.penBanner = new System.Windows.Forms.Panel();
+ this.btnMinSys = new System.Windows.Forms.Button();
+ this.btnExitSys = new System.Windows.Forms.Button();
+ this.labTitle = new System.Windows.Forms.Label();
+ this.panDev = new Casic.Birmm.RbFreqStandMeasure.RoundPanel();
+ this.labDevText = new System.Windows.Forms.Label();
+ this.labDevSelected = new System.Windows.Forms.Label();
+ this.picIconDev = new System.Windows.Forms.PictureBox();
+ this.panSetting = new Casic.Birmm.RbFreqStandMeasure.RoundPanel();
+ this.labSettingSelected = new System.Windows.Forms.Label();
+ this.labSettingText = new System.Windows.Forms.Label();
+ this.picIconSetting = new System.Windows.Forms.PictureBox();
this.panStatus = new Casic.Birmm.RbFreqStandMeasure.RoundPanel();
this.labStatusText = new System.Windows.Forms.Label();
this.picIconStatus = new System.Windows.Forms.PictureBox();
+ this.labStatusSelected = new System.Windows.Forms.Label();
+ this.panData = new Casic.Birmm.RbFreqStandMeasure.RoundPanel();
+ this.labDataSelected = new System.Windows.Forms.Label();
+ this.labDataText = new System.Windows.Forms.Label();
+ this.picIconData = new System.Windows.Forms.PictureBox();
this.panHome = new Casic.Birmm.RbFreqStandMeasure.RoundPanel();
this.labHomeText = new System.Windows.Forms.Label();
this.picIconHome = new System.Windows.Forms.PictureBox();
this.labHomeSelected = new System.Windows.Forms.Label();
- this.labStatusSelected = new System.Windows.Forms.Label();
- this.penBanner = new System.Windows.Forms.Panel();
- this.btnExitSys = new System.Windows.Forms.Button();
- this.labTitle = new System.Windows.Forms.Label();
+ this.panMeasure = new Casic.Birmm.RbFreqStandMeasure.RoundPanel();
+ this.labMeasureText = new System.Windows.Forms.Label();
+ this.labMeasureSelected = new System.Windows.Forms.Label();
+ this.picIconMeasure = new System.Windows.Forms.PictureBox();
+ this.panCounter = new Casic.Birmm.RbFreqStandMeasure.RoundPanel();
+ this.labCounterSelected = new System.Windows.Forms.Label();
+ this.labCounterText = new System.Windows.Forms.Label();
+ this.picIconCounter = new System.Windows.Forms.PictureBox();
+ this.panelMain = new System.Windows.Forms.Panel();
this.panMenu.SuspendLayout();
+ this.penBanner.SuspendLayout();
+ this.panDev.SuspendLayout();
+ ((System.ComponentModel.ISupportInitialize)(this.picIconDev)).BeginInit();
+ this.panSetting.SuspendLayout();
+ ((System.ComponentModel.ISupportInitialize)(this.picIconSetting)).BeginInit();
this.panStatus.SuspendLayout();
((System.ComponentModel.ISupportInitialize)(this.picIconStatus)).BeginInit();
+ this.panData.SuspendLayout();
+ ((System.ComponentModel.ISupportInitialize)(this.picIconData)).BeginInit();
this.panHome.SuspendLayout();
((System.ComponentModel.ISupportInitialize)(this.picIconHome)).BeginInit();
- this.penBanner.SuspendLayout();
+ this.panMeasure.SuspendLayout();
+ ((System.ComponentModel.ISupportInitialize)(this.picIconMeasure)).BeginInit();
+ this.panCounter.SuspendLayout();
+ ((System.ComponentModel.ISupportInitialize)(this.picIconCounter)).BeginInit();
this.SuspendLayout();
//
// panMenu
//
this.panMenu.BackColor = System.Drawing.Color.White;
+ this.panMenu.Controls.Add(this.panDev);
+ this.panMenu.Controls.Add(this.panSetting);
this.panMenu.Controls.Add(this.panStatus);
+ this.panMenu.Controls.Add(this.panData);
this.panMenu.Controls.Add(this.panHome);
- this.panMenu.Controls.Add(this.labStatusSelected);
+ this.panMenu.Controls.Add(this.panMeasure);
+ this.panMenu.Controls.Add(this.panCounter);
this.panMenu.Location = new System.Drawing.Point(0, 64);
this.panMenu.Name = "panMenu";
this.panMenu.Size = new System.Drawing.Size(1024, 50);
this.panMenu.TabIndex = 1;
//
- // panStatus
- //
- this.panStatus.Back = System.Drawing.Color.Empty;
- this.panStatus.BackColor = System.Drawing.Color.Transparent;
- this.panStatus.Controls.Add(this.labStatusText);
- this.panStatus.Controls.Add(this.picIconStatus);
- this.panStatus.Location = new System.Drawing.Point(160, 0);
- this.panStatus.MatrixRound = 8;
- this.panStatus.Name = "panStatus";
- this.panStatus.Size = new System.Drawing.Size(130, 47);
- this.panStatus.TabIndex = 1;
- this.panStatus.Click += new System.EventHandler(this.panStatus_Click);
- this.panStatus.MouseLeave += new System.EventHandler(this.panStatus_MouseLeave);
- this.panStatus.MouseHover += new System.EventHandler(this.panStatus_MouseHover);
- //
- // labStatusText
- //
- this.labStatusText.BackColor = System.Drawing.Color.Transparent;
- this.labStatusText.Cursor = System.Windows.Forms.Cursors.Hand;
- this.labStatusText.Font = new System.Drawing.Font("微软雅黑", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
- this.labStatusText.ForeColor = System.Drawing.SystemColors.ControlText;
- this.labStatusText.Location = new System.Drawing.Point(35, 0);
- this.labStatusText.Margin = new System.Windows.Forms.Padding(0);
- this.labStatusText.Name = "labStatusText";
- this.labStatusText.Size = new System.Drawing.Size(85, 47);
- this.labStatusText.TabIndex = 2;
- this.labStatusText.Text = "基准状态";
- this.labStatusText.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
- this.labStatusText.Click += new System.EventHandler(this.panStatus_Click);
- this.labStatusText.MouseLeave += new System.EventHandler(this.panStatus_MouseLeave);
- this.labStatusText.MouseHover += new System.EventHandler(this.panStatus_MouseHover);
- //
- // picIconStatus
- //
- this.picIconStatus.BackgroundImage = global::Casic.Birmm.RbFreqStandMeasure.Properties.Resources.icon_status;
- this.picIconStatus.BackgroundImageLayout = System.Windows.Forms.ImageLayout.Zoom;
- this.picIconStatus.Location = new System.Drawing.Point(10, 11);
- this.picIconStatus.Name = "picIconStatus";
- this.picIconStatus.Size = new System.Drawing.Size(25, 25);
- this.picIconStatus.TabIndex = 1;
- this.picIconStatus.TabStop = false;
- this.picIconStatus.Click += new System.EventHandler(this.panStatus_Click);
- this.picIconStatus.MouseLeave += new System.EventHandler(this.panStatus_MouseLeave);
- this.picIconStatus.MouseHover += new System.EventHandler(this.panStatus_MouseHover);
- //
- // panHome
- //
- this.panHome.Back = System.Drawing.Color.Empty;
- this.panHome.Controls.Add(this.labHomeText);
- this.panHome.Controls.Add(this.picIconHome);
- this.panHome.Controls.Add(this.labHomeSelected);
- this.panHome.Cursor = System.Windows.Forms.Cursors.Hand;
- this.panHome.Location = new System.Drawing.Point(30, 0);
- this.panHome.MatrixRound = 8;
- this.panHome.Name = "panHome";
- this.panHome.Size = new System.Drawing.Size(100, 50);
- this.panHome.TabIndex = 0;
- this.panHome.Click += new System.EventHandler(this.panHome_Click);
- this.panHome.MouseLeave += new System.EventHandler(this.panHome_MouseLeave);
- this.panHome.MouseHover += new System.EventHandler(this.panHome_MouseHover);
- //
- // labHomeText
- //
- this.labHomeText.BackColor = System.Drawing.Color.Transparent;
- this.labHomeText.Font = new System.Drawing.Font("微软雅黑", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
- this.labHomeText.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(18)))), ((int)(((byte)(150)))), ((int)(((byte)(219)))));
- this.labHomeText.Location = new System.Drawing.Point(35, 0);
- this.labHomeText.Margin = new System.Windows.Forms.Padding(0);
- this.labHomeText.Name = "labHomeText";
- this.labHomeText.Size = new System.Drawing.Size(55, 47);
- this.labHomeText.TabIndex = 2;
- this.labHomeText.Text = "首页";
- this.labHomeText.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
- this.labHomeText.Click += new System.EventHandler(this.panHome_Click);
- this.labHomeText.MouseLeave += new System.EventHandler(this.panHome_MouseLeave);
- this.labHomeText.MouseHover += new System.EventHandler(this.panHome_MouseHover);
- //
- // picIconHome
- //
- this.picIconHome.BackColor = System.Drawing.Color.Transparent;
- this.picIconHome.BackgroundImage = global::Casic.Birmm.RbFreqStandMeasure.Properties.Resources.icon_home_selected;
- this.picIconHome.BackgroundImageLayout = System.Windows.Forms.ImageLayout.Zoom;
- this.picIconHome.Location = new System.Drawing.Point(10, 11);
- this.picIconHome.Name = "picIconHome";
- this.picIconHome.Size = new System.Drawing.Size(25, 25);
- this.picIconHome.TabIndex = 1;
- this.picIconHome.TabStop = false;
- this.picIconHome.Click += new System.EventHandler(this.panHome_Click);
- this.picIconHome.MouseLeave += new System.EventHandler(this.panHome_MouseLeave);
- this.picIconHome.MouseHover += new System.EventHandler(this.panHome_MouseHover);
- //
- // labHomeSelected
- //
- this.labHomeSelected.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(18)))), ((int)(((byte)(150)))), ((int)(((byte)(219)))));
- this.labHomeSelected.Location = new System.Drawing.Point(0, 47);
- this.labHomeSelected.Name = "labHomeSelected";
- this.labHomeSelected.Size = new System.Drawing.Size(100, 3);
- this.labHomeSelected.TabIndex = 0;
- //
- // labStatusSelected
- //
- this.labStatusSelected.BackColor = System.Drawing.Color.Transparent;
- this.labStatusSelected.Location = new System.Drawing.Point(160, 47);
- this.labStatusSelected.Margin = new System.Windows.Forms.Padding(0);
- this.labStatusSelected.Name = "labStatusSelected";
- this.labStatusSelected.Size = new System.Drawing.Size(130, 3);
- this.labStatusSelected.TabIndex = 0;
- //
// penBanner
//
this.penBanner.BackgroundImage = global::Casic.Birmm.RbFreqStandMeasure.Properties.Resources.bg_banner;
this.penBanner.BackgroundImageLayout = System.Windows.Forms.ImageLayout.Stretch;
+ this.penBanner.Controls.Add(this.btnMinSys);
this.penBanner.Controls.Add(this.btnExitSys);
this.penBanner.Controls.Add(this.labTitle);
this.penBanner.Location = new System.Drawing.Point(0, 0);
@@ -180,6 +109,23 @@
this.penBanner.TabIndex = 0;
this.penBanner.MouseDown += new System.Windows.Forms.MouseEventHandler(this.RbFreqStdMeas_MouseDown);
//
+ // btnMinSys
+ //
+ this.btnMinSys.BackColor = System.Drawing.Color.Transparent;
+ this.btnMinSys.BackgroundImage = global::Casic.Birmm.RbFreqStandMeasure.Properties.Resources.icon_min;
+ this.btnMinSys.BackgroundImageLayout = System.Windows.Forms.ImageLayout.Stretch;
+ this.btnMinSys.FlatAppearance.BorderSize = 0;
+ this.btnMinSys.FlatStyle = System.Windows.Forms.FlatStyle.Flat;
+ this.btnMinSys.ForeColor = System.Drawing.SystemColors.ControlDarkDark;
+ this.btnMinSys.Location = new System.Drawing.Point(944, 22);
+ this.btnMinSys.Margin = new System.Windows.Forms.Padding(0);
+ this.btnMinSys.Name = "btnMinSys";
+ this.btnMinSys.Size = new System.Drawing.Size(20, 20);
+ this.btnMinSys.TabIndex = 1;
+ this.btnMinSys.UseVisualStyleBackColor = false;
+ this.btnMinSys.Click += new System.EventHandler(this.btnMinSys_Click);
+ this.btnMinSys.MouseHover += new System.EventHandler(this.btnMinSys_MouseHover);
+ //
// btnExitSys
//
this.btnExitSys.BackColor = System.Drawing.Color.Transparent;
@@ -200,7 +146,7 @@
// labTitle
//
this.labTitle.BackColor = System.Drawing.Color.Transparent;
- this.labTitle.Font = new System.Drawing.Font("微软雅黑", 15.75F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
+ this.labTitle.Font = new System.Drawing.Font("微软雅黑", 20F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Pixel, ((byte)(134)));
this.labTitle.ForeColor = System.Drawing.Color.White;
this.labTitle.Location = new System.Drawing.Point(30, 16);
this.labTitle.Name = "labTitle";
@@ -209,11 +155,404 @@
this.labTitle.Text = "铷原子频标比对测量软件";
this.labTitle.TextAlign = System.Drawing.ContentAlignment.MiddleLeft;
//
+ // panDev
+ //
+ this.panDev.Back = System.Drawing.Color.Empty;
+ this.panDev.Controls.Add(this.labDevText);
+ this.panDev.Controls.Add(this.labDevSelected);
+ this.panDev.Controls.Add(this.picIconDev);
+ this.panDev.Location = new System.Drawing.Point(214, 0);
+ this.panDev.MatrixRound = 8;
+ this.panDev.Name = "panDev";
+ this.panDev.Size = new System.Drawing.Size(141, 50);
+ this.panDev.TabIndex = 2;
+ this.panDev.Click += new System.EventHandler(this.panDev_Click);
+ this.panDev.MouseLeave += new System.EventHandler(this.panDev_MouseLeave);
+ this.panDev.MouseHover += new System.EventHandler(this.panDev_MouseHover);
+ //
+ // labDevText
+ //
+ this.labDevText.BackColor = System.Drawing.Color.Transparent;
+ this.labDevText.Cursor = System.Windows.Forms.Cursors.Hand;
+ this.labDevText.Font = new System.Drawing.Font("微软雅黑", 16F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Pixel, ((byte)(134)));
+ this.labDevText.ForeColor = System.Drawing.SystemColors.ControlText;
+ this.labDevText.Location = new System.Drawing.Point(30, 14);
+ this.labDevText.Margin = new System.Windows.Forms.Padding(0);
+ this.labDevText.Name = "labDevText";
+ this.labDevText.Size = new System.Drawing.Size(106, 20);
+ this.labDevText.TabIndex = 2;
+ this.labDevText.Text = "送检仪器管理";
+ this.labDevText.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
+ this.labDevText.Click += new System.EventHandler(this.panDev_Click);
+ this.labDevText.MouseLeave += new System.EventHandler(this.panDev_MouseLeave);
+ this.labDevText.MouseHover += new System.EventHandler(this.panDev_MouseHover);
+ //
+ // labDevSelected
+ //
+ this.labDevSelected.BackColor = System.Drawing.Color.Transparent;
+ this.labDevSelected.Location = new System.Drawing.Point(8, 48);
+ this.labDevSelected.Margin = new System.Windows.Forms.Padding(0);
+ this.labDevSelected.Name = "labDevSelected";
+ this.labDevSelected.Size = new System.Drawing.Size(121, 2);
+ this.labDevSelected.TabIndex = 3;
+ //
+ // picIconDev
+ //
+ this.picIconDev.BackColor = System.Drawing.Color.Transparent;
+ this.picIconDev.BackgroundImage = global::Casic.Birmm.RbFreqStandMeasure.Properties.Resources.icon_dev;
+ this.picIconDev.BackgroundImageLayout = System.Windows.Forms.ImageLayout.Zoom;
+ this.picIconDev.Location = new System.Drawing.Point(10, 14);
+ this.picIconDev.Name = "picIconDev";
+ this.picIconDev.Size = new System.Drawing.Size(20, 20);
+ this.picIconDev.TabIndex = 1;
+ this.picIconDev.TabStop = false;
+ this.picIconDev.Click += new System.EventHandler(this.panDev_Click);
+ this.picIconDev.MouseLeave += new System.EventHandler(this.panDev_MouseLeave);
+ this.picIconDev.MouseHover += new System.EventHandler(this.panDev_MouseHover);
+ //
+ // panSetting
+ //
+ this.panSetting.Back = System.Drawing.Color.Empty;
+ this.panSetting.Controls.Add(this.labSettingSelected);
+ this.panSetting.Controls.Add(this.labSettingText);
+ this.panSetting.Controls.Add(this.picIconSetting);
+ this.panSetting.Location = new System.Drawing.Point(879, 0);
+ this.panSetting.MatrixRound = 8;
+ this.panSetting.Name = "panSetting";
+ this.panSetting.Size = new System.Drawing.Size(109, 50);
+ this.panSetting.TabIndex = 2;
+ this.panSetting.Click += new System.EventHandler(this.panSetting_Click);
+ this.panSetting.MouseLeave += new System.EventHandler(this.panSetting_MouseLeave);
+ this.panSetting.MouseHover += new System.EventHandler(this.panSetting_MouseHover);
+ //
+ // labSettingSelected
+ //
+ this.labSettingSelected.BackColor = System.Drawing.Color.Transparent;
+ this.labSettingSelected.Location = new System.Drawing.Point(10, 48);
+ this.labSettingSelected.Margin = new System.Windows.Forms.Padding(0);
+ this.labSettingSelected.Name = "labSettingSelected";
+ this.labSettingSelected.Size = new System.Drawing.Size(89, 2);
+ this.labSettingSelected.TabIndex = 4;
+ //
+ // labSettingText
+ //
+ this.labSettingText.BackColor = System.Drawing.Color.Transparent;
+ this.labSettingText.Cursor = System.Windows.Forms.Cursors.Hand;
+ this.labSettingText.Font = new System.Drawing.Font("微软雅黑", 16F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Pixel, ((byte)(134)));
+ this.labSettingText.ForeColor = System.Drawing.SystemColors.ControlText;
+ this.labSettingText.Location = new System.Drawing.Point(30, 14);
+ this.labSettingText.Margin = new System.Windows.Forms.Padding(0);
+ this.labSettingText.Name = "labSettingText";
+ this.labSettingText.Size = new System.Drawing.Size(74, 20);
+ this.labSettingText.TabIndex = 2;
+ this.labSettingText.Text = "系统设置";
+ this.labSettingText.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
+ this.labSettingText.Click += new System.EventHandler(this.panSetting_Click);
+ this.labSettingText.MouseLeave += new System.EventHandler(this.panSetting_MouseLeave);
+ this.labSettingText.MouseHover += new System.EventHandler(this.panSetting_MouseHover);
+ //
+ // picIconSetting
+ //
+ this.picIconSetting.BackColor = System.Drawing.Color.Transparent;
+ this.picIconSetting.BackgroundImage = global::Casic.Birmm.RbFreqStandMeasure.Properties.Resources.icon_setting;
+ this.picIconSetting.BackgroundImageLayout = System.Windows.Forms.ImageLayout.Zoom;
+ this.picIconSetting.Location = new System.Drawing.Point(10, 14);
+ this.picIconSetting.Name = "picIconSetting";
+ this.picIconSetting.Size = new System.Drawing.Size(20, 20);
+ this.picIconSetting.TabIndex = 1;
+ this.picIconSetting.TabStop = false;
+ this.picIconSetting.Click += new System.EventHandler(this.panSetting_Click);
+ this.picIconSetting.MouseLeave += new System.EventHandler(this.panSetting_MouseLeave);
+ this.picIconSetting.MouseHover += new System.EventHandler(this.panSetting_MouseHover);
+ //
+ // panStatus
+ //
+ this.panStatus.Back = System.Drawing.Color.Empty;
+ this.panStatus.BackColor = System.Drawing.Color.Transparent;
+ this.panStatus.Controls.Add(this.labStatusText);
+ this.panStatus.Controls.Add(this.picIconStatus);
+ this.panStatus.Controls.Add(this.labStatusSelected);
+ this.panStatus.Location = new System.Drawing.Point(101, 0);
+ this.panStatus.MatrixRound = 8;
+ this.panStatus.Name = "panStatus";
+ this.panStatus.Size = new System.Drawing.Size(109, 50);
+ this.panStatus.TabIndex = 1;
+ this.panStatus.Click += new System.EventHandler(this.panStatus_Click);
+ this.panStatus.MouseLeave += new System.EventHandler(this.panStatus_MouseLeave);
+ this.panStatus.MouseHover += new System.EventHandler(this.panStatus_MouseHover);
+ //
+ // labStatusText
+ //
+ this.labStatusText.BackColor = System.Drawing.Color.Transparent;
+ this.labStatusText.Cursor = System.Windows.Forms.Cursors.Hand;
+ this.labStatusText.Font = new System.Drawing.Font("微软雅黑", 16F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Pixel, ((byte)(134)));
+ this.labStatusText.ForeColor = System.Drawing.SystemColors.ControlText;
+ this.labStatusText.Location = new System.Drawing.Point(30, 14);
+ this.labStatusText.Margin = new System.Windows.Forms.Padding(0);
+ this.labStatusText.Name = "labStatusText";
+ this.labStatusText.Size = new System.Drawing.Size(74, 20);
+ this.labStatusText.TabIndex = 2;
+ this.labStatusText.Text = "基准状态";
+ this.labStatusText.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
+ this.labStatusText.Click += new System.EventHandler(this.panStatus_Click);
+ this.labStatusText.MouseLeave += new System.EventHandler(this.panStatus_MouseLeave);
+ this.labStatusText.MouseHover += new System.EventHandler(this.panStatus_MouseHover);
+ //
+ // picIconStatus
+ //
+ this.picIconStatus.BackgroundImage = global::Casic.Birmm.RbFreqStandMeasure.Properties.Resources.icon_status;
+ this.picIconStatus.BackgroundImageLayout = System.Windows.Forms.ImageLayout.Zoom;
+ this.picIconStatus.Location = new System.Drawing.Point(10, 14);
+ this.picIconStatus.Name = "picIconStatus";
+ this.picIconStatus.Size = new System.Drawing.Size(20, 20);
+ this.picIconStatus.TabIndex = 1;
+ this.picIconStatus.TabStop = false;
+ this.picIconStatus.Click += new System.EventHandler(this.panStatus_Click);
+ this.picIconStatus.MouseLeave += new System.EventHandler(this.panStatus_MouseLeave);
+ this.picIconStatus.MouseHover += new System.EventHandler(this.panStatus_MouseHover);
+ //
+ // labStatusSelected
+ //
+ this.labStatusSelected.BackColor = System.Drawing.Color.Transparent;
+ this.labStatusSelected.Location = new System.Drawing.Point(10, 48);
+ this.labStatusSelected.Margin = new System.Windows.Forms.Padding(0);
+ this.labStatusSelected.Name = "labStatusSelected";
+ this.labStatusSelected.Size = new System.Drawing.Size(89, 2);
+ this.labStatusSelected.TabIndex = 0;
+ //
+ // panData
+ //
+ this.panData.Back = System.Drawing.Color.Empty;
+ this.panData.Controls.Add(this.labDataSelected);
+ this.panData.Controls.Add(this.labDataText);
+ this.panData.Controls.Add(this.picIconData);
+ this.panData.Location = new System.Drawing.Point(765, 0);
+ this.panData.MatrixRound = 8;
+ this.panData.Name = "panData";
+ this.panData.Size = new System.Drawing.Size(109, 50);
+ this.panData.TabIndex = 2;
+ this.panData.Click += new System.EventHandler(this.panData_Click);
+ this.panData.MouseLeave += new System.EventHandler(this.panData_MouseLeave);
+ this.panData.MouseHover += new System.EventHandler(this.panData_MouseHover);
+ //
+ // labDataSelected
+ //
+ this.labDataSelected.BackColor = System.Drawing.Color.Transparent;
+ this.labDataSelected.Location = new System.Drawing.Point(10, 48);
+ this.labDataSelected.Margin = new System.Windows.Forms.Padding(0);
+ this.labDataSelected.Name = "labDataSelected";
+ this.labDataSelected.Size = new System.Drawing.Size(89, 2);
+ this.labDataSelected.TabIndex = 3;
+ //
+ // labDataText
+ //
+ this.labDataText.BackColor = System.Drawing.Color.Transparent;
+ this.labDataText.Cursor = System.Windows.Forms.Cursors.Hand;
+ this.labDataText.Font = new System.Drawing.Font("微软雅黑", 16F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Pixel, ((byte)(134)));
+ this.labDataText.ForeColor = System.Drawing.SystemColors.ControlText;
+ this.labDataText.Location = new System.Drawing.Point(30, 14);
+ this.labDataText.Margin = new System.Windows.Forms.Padding(0);
+ this.labDataText.Name = "labDataText";
+ this.labDataText.Size = new System.Drawing.Size(74, 20);
+ this.labDataText.TabIndex = 2;
+ this.labDataText.Text = "数据管理";
+ this.labDataText.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
+ this.labDataText.Click += new System.EventHandler(this.panData_Click);
+ this.labDataText.MouseLeave += new System.EventHandler(this.panData_MouseLeave);
+ this.labDataText.MouseHover += new System.EventHandler(this.panData_MouseHover);
+ //
+ // picIconData
+ //
+ this.picIconData.BackColor = System.Drawing.Color.Transparent;
+ this.picIconData.BackgroundImage = global::Casic.Birmm.RbFreqStandMeasure.Properties.Resources.icon_data;
+ this.picIconData.BackgroundImageLayout = System.Windows.Forms.ImageLayout.Zoom;
+ this.picIconData.Location = new System.Drawing.Point(10, 14);
+ this.picIconData.Name = "picIconData";
+ this.picIconData.Size = new System.Drawing.Size(20, 20);
+ this.picIconData.TabIndex = 1;
+ this.picIconData.TabStop = false;
+ this.picIconData.Click += new System.EventHandler(this.panData_Click);
+ this.picIconData.MouseLeave += new System.EventHandler(this.panData_MouseLeave);
+ this.picIconData.MouseHover += new System.EventHandler(this.panData_MouseHover);
+ //
+ // panHome
+ //
+ this.panHome.Back = System.Drawing.Color.Empty;
+ this.panHome.Controls.Add(this.labHomeText);
+ this.panHome.Controls.Add(this.picIconHome);
+ this.panHome.Controls.Add(this.labHomeSelected);
+ this.panHome.Cursor = System.Windows.Forms.Cursors.Hand;
+ this.panHome.Location = new System.Drawing.Point(20, 0);
+ this.panHome.MatrixRound = 8;
+ this.panHome.Name = "panHome";
+ this.panHome.Size = new System.Drawing.Size(75, 50);
+ this.panHome.TabIndex = 0;
+ this.panHome.Click += new System.EventHandler(this.panHome_Click);
+ this.panHome.MouseLeave += new System.EventHandler(this.panHome_MouseLeave);
+ this.panHome.MouseHover += new System.EventHandler(this.panHome_MouseHover);
+ //
+ // labHomeText
+ //
+ this.labHomeText.BackColor = System.Drawing.Color.Transparent;
+ this.labHomeText.Font = new System.Drawing.Font("微软雅黑", 16F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Pixel, ((byte)(134)));
+ this.labHomeText.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(18)))), ((int)(((byte)(150)))), ((int)(((byte)(219)))));
+ this.labHomeText.Location = new System.Drawing.Point(30, 14);
+ this.labHomeText.Margin = new System.Windows.Forms.Padding(0);
+ this.labHomeText.Name = "labHomeText";
+ this.labHomeText.Size = new System.Drawing.Size(42, 20);
+ this.labHomeText.TabIndex = 2;
+ this.labHomeText.Text = "首页";
+ this.labHomeText.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
+ this.labHomeText.Click += new System.EventHandler(this.panHome_Click);
+ this.labHomeText.MouseLeave += new System.EventHandler(this.panHome_MouseLeave);
+ this.labHomeText.MouseHover += new System.EventHandler(this.panHome_MouseHover);
+ //
+ // picIconHome
+ //
+ this.picIconHome.BackColor = System.Drawing.Color.Transparent;
+ this.picIconHome.BackgroundImage = global::Casic.Birmm.RbFreqStandMeasure.Properties.Resources.icon_home_selected;
+ this.picIconHome.BackgroundImageLayout = System.Windows.Forms.ImageLayout.Zoom;
+ this.picIconHome.Location = new System.Drawing.Point(10, 14);
+ this.picIconHome.Margin = new System.Windows.Forms.Padding(0);
+ this.picIconHome.Name = "picIconHome";
+ this.picIconHome.Size = new System.Drawing.Size(20, 20);
+ this.picIconHome.TabIndex = 1;
+ this.picIconHome.TabStop = false;
+ this.picIconHome.Click += new System.EventHandler(this.panHome_Click);
+ this.picIconHome.MouseLeave += new System.EventHandler(this.panHome_MouseLeave);
+ this.picIconHome.MouseHover += new System.EventHandler(this.panHome_MouseHover);
+ //
+ // labHomeSelected
+ //
+ this.labHomeSelected.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(18)))), ((int)(((byte)(150)))), ((int)(((byte)(219)))));
+ this.labHomeSelected.Location = new System.Drawing.Point(10, 48);
+ this.labHomeSelected.Name = "labHomeSelected";
+ this.labHomeSelected.Size = new System.Drawing.Size(55, 2);
+ this.labHomeSelected.TabIndex = 0;
+ //
+ // panMeasure
+ //
+ this.panMeasure.Back = System.Drawing.Color.Empty;
+ this.panMeasure.Controls.Add(this.labMeasureText);
+ this.panMeasure.Controls.Add(this.labMeasureSelected);
+ this.panMeasure.Controls.Add(this.picIconMeasure);
+ this.panMeasure.Location = new System.Drawing.Point(619, 0);
+ this.panMeasure.MatrixRound = 8;
+ this.panMeasure.Name = "panMeasure";
+ this.panMeasure.Size = new System.Drawing.Size(141, 50);
+ this.panMeasure.TabIndex = 2;
+ this.panMeasure.Click += new System.EventHandler(this.panMeasure_Click);
+ this.panMeasure.MouseLeave += new System.EventHandler(this.panMeasure_MouseLeave);
+ this.panMeasure.MouseHover += new System.EventHandler(this.panMeasure_MouseHover);
+ //
+ // labMeasureText
+ //
+ this.labMeasureText.BackColor = System.Drawing.Color.Transparent;
+ this.labMeasureText.Cursor = System.Windows.Forms.Cursors.Hand;
+ this.labMeasureText.Font = new System.Drawing.Font("微软雅黑", 16F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Pixel, ((byte)(134)));
+ this.labMeasureText.ForeColor = System.Drawing.SystemColors.ControlText;
+ this.labMeasureText.Location = new System.Drawing.Point(30, 14);
+ this.labMeasureText.Margin = new System.Windows.Forms.Padding(0);
+ this.labMeasureText.Name = "labMeasureText";
+ this.labMeasureText.Size = new System.Drawing.Size(106, 20);
+ this.labMeasureText.TabIndex = 2;
+ this.labMeasureText.Text = "计量信息管理";
+ this.labMeasureText.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
+ this.labMeasureText.Click += new System.EventHandler(this.panMeasure_Click);
+ this.labMeasureText.MouseLeave += new System.EventHandler(this.panMeasure_MouseLeave);
+ this.labMeasureText.MouseHover += new System.EventHandler(this.panMeasure_MouseHover);
+ //
+ // labMeasureSelected
+ //
+ this.labMeasureSelected.BackColor = System.Drawing.Color.Transparent;
+ this.labMeasureSelected.Location = new System.Drawing.Point(10, 48);
+ this.labMeasureSelected.Margin = new System.Windows.Forms.Padding(0);
+ this.labMeasureSelected.Name = "labMeasureSelected";
+ this.labMeasureSelected.Size = new System.Drawing.Size(121, 2);
+ this.labMeasureSelected.TabIndex = 3;
+ //
+ // picIconMeasure
+ //
+ this.picIconMeasure.BackColor = System.Drawing.Color.Transparent;
+ this.picIconMeasure.BackgroundImage = global::Casic.Birmm.RbFreqStandMeasure.Properties.Resources.icon_measure;
+ this.picIconMeasure.BackgroundImageLayout = System.Windows.Forms.ImageLayout.Zoom;
+ this.picIconMeasure.Location = new System.Drawing.Point(10, 14);
+ this.picIconMeasure.Name = "picIconMeasure";
+ this.picIconMeasure.Size = new System.Drawing.Size(20, 20);
+ this.picIconMeasure.TabIndex = 1;
+ this.picIconMeasure.TabStop = false;
+ this.picIconMeasure.Click += new System.EventHandler(this.panMeasure_Click);
+ this.picIconMeasure.MouseLeave += new System.EventHandler(this.panMeasure_MouseLeave);
+ this.picIconMeasure.MouseHover += new System.EventHandler(this.panMeasure_MouseHover);
+ //
+ // panCounter
+ //
+ this.panCounter.Back = System.Drawing.Color.Empty;
+ this.panCounter.Controls.Add(this.labCounterSelected);
+ this.panCounter.Controls.Add(this.labCounterText);
+ this.panCounter.Controls.Add(this.picIconCounter);
+ this.panCounter.Location = new System.Drawing.Point(360, 0);
+ this.panCounter.MatrixRound = 8;
+ this.panCounter.Name = "panCounter";
+ this.panCounter.Size = new System.Drawing.Size(254, 50);
+ this.panCounter.TabIndex = 2;
+ this.panCounter.Click += new System.EventHandler(this.panCounter_Click);
+ this.panCounter.MouseLeave += new System.EventHandler(this.panCounter_MouseLeave);
+ this.panCounter.MouseHover += new System.EventHandler(this.panCounter_MouseHover);
+ //
+ // labCounterSelected
+ //
+ this.labCounterSelected.BackColor = System.Drawing.Color.Transparent;
+ this.labCounterSelected.Location = new System.Drawing.Point(10, 48);
+ this.labCounterSelected.Margin = new System.Windows.Forms.Padding(0);
+ this.labCounterSelected.Name = "labCounterSelected";
+ this.labCounterSelected.Size = new System.Drawing.Size(233, 2);
+ this.labCounterSelected.TabIndex = 4;
+ //
+ // labCounterText
+ //
+ this.labCounterText.BackColor = System.Drawing.Color.Transparent;
+ this.labCounterText.Cursor = System.Windows.Forms.Cursors.Hand;
+ this.labCounterText.Font = new System.Drawing.Font("微软雅黑", 16F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Pixel, ((byte)(134)));
+ this.labCounterText.ForeColor = System.Drawing.SystemColors.ControlText;
+ this.labCounterText.Location = new System.Drawing.Point(30, 14);
+ this.labCounterText.Margin = new System.Windows.Forms.Padding(0);
+ this.labCounterText.Name = "labCounterText";
+ this.labCounterText.Size = new System.Drawing.Size(218, 20);
+ this.labCounterText.TabIndex = 2;
+ this.labCounterText.Text = "频率计数器范围及灵敏度测量";
+ this.labCounterText.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
+ this.labCounterText.Click += new System.EventHandler(this.panCounter_Click);
+ this.labCounterText.MouseLeave += new System.EventHandler(this.panCounter_MouseLeave);
+ this.labCounterText.MouseHover += new System.EventHandler(this.panCounter_MouseHover);
+ //
+ // picIconCounter
+ //
+ this.picIconCounter.BackColor = System.Drawing.Color.Transparent;
+ this.picIconCounter.BackgroundImage = global::Casic.Birmm.RbFreqStandMeasure.Properties.Resources.icon_counter;
+ this.picIconCounter.BackgroundImageLayout = System.Windows.Forms.ImageLayout.Zoom;
+ this.picIconCounter.Location = new System.Drawing.Point(10, 14);
+ this.picIconCounter.Name = "picIconCounter";
+ this.picIconCounter.Size = new System.Drawing.Size(20, 20);
+ this.picIconCounter.TabIndex = 1;
+ this.picIconCounter.TabStop = false;
+ this.picIconCounter.Click += new System.EventHandler(this.panCounter_Click);
+ this.picIconCounter.MouseLeave += new System.EventHandler(this.panCounter_MouseLeave);
+ this.picIconCounter.MouseHover += new System.EventHandler(this.panCounter_MouseHover);
+ //
+ // panelMain
+ //
+ this.panelMain.Location = new System.Drawing.Point(0, 114);
+ this.panelMain.Name = "panelMain";
+ this.panelMain.Size = new System.Drawing.Size(1024, 654);
+ this.panelMain.TabIndex = 2;
+ //
// RbFreqStdMeas
//
this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 12F);
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
this.ClientSize = new System.Drawing.Size(1024, 768);
+ this.Controls.Add(this.panelMain);
this.Controls.Add(this.panMenu);
this.Controls.Add(this.penBanner);
this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.None;
@@ -221,11 +560,21 @@
this.Text = "RbFreqStdMeas";
this.Load += new System.EventHandler(this.RbFreqStdMeas_Load);
this.panMenu.ResumeLayout(false);
+ this.penBanner.ResumeLayout(false);
+ this.panDev.ResumeLayout(false);
+ ((System.ComponentModel.ISupportInitialize)(this.picIconDev)).EndInit();
+ this.panSetting.ResumeLayout(false);
+ ((System.ComponentModel.ISupportInitialize)(this.picIconSetting)).EndInit();
this.panStatus.ResumeLayout(false);
((System.ComponentModel.ISupportInitialize)(this.picIconStatus)).EndInit();
+ this.panData.ResumeLayout(false);
+ ((System.ComponentModel.ISupportInitialize)(this.picIconData)).EndInit();
this.panHome.ResumeLayout(false);
((System.ComponentModel.ISupportInitialize)(this.picIconHome)).EndInit();
- this.penBanner.ResumeLayout(false);
+ this.panMeasure.ResumeLayout(false);
+ ((System.ComponentModel.ISupportInitialize)(this.picIconMeasure)).EndInit();
+ this.panCounter.ResumeLayout(false);
+ ((System.ComponentModel.ISupportInitialize)(this.picIconCounter)).EndInit();
this.ResumeLayout(false);
}
@@ -244,5 +593,27 @@
private RoundPanel panStatus;
private RoundPanel panHome;
private System.Windows.Forms.Label labStatusSelected;
+ private RoundPanel panDev;
+ private System.Windows.Forms.PictureBox picIconDev;
+ private System.Windows.Forms.Label labDevText;
+ private System.Windows.Forms.Label labMeasureSelected;
+ private RoundPanel panCounter;
+ private System.Windows.Forms.Label labCounterText;
+ private System.Windows.Forms.PictureBox picIconCounter;
+ private RoundPanel panMeasure;
+ private System.Windows.Forms.Label labMeasureText;
+ private System.Windows.Forms.PictureBox picIconMeasure;
+ private RoundPanel panData;
+ private System.Windows.Forms.Label labDataText;
+ private System.Windows.Forms.PictureBox picIconData;
+ private RoundPanel panSetting;
+ private System.Windows.Forms.Label labSettingText;
+ private System.Windows.Forms.PictureBox picIconSetting;
+ private System.Windows.Forms.Label labCounterSelected;
+ private System.Windows.Forms.Label labDevSelected;
+ private System.Windows.Forms.Label labDataSelected;
+ private System.Windows.Forms.Label labSettingSelected;
+ private System.Windows.Forms.Button btnMinSys;
+ private System.Windows.Forms.Panel panelMain;
}
}
\ No newline at end of file
diff --git a/RbFreqStandMeasure/RbFreqStdMeas.cs b/RbFreqStandMeasure/RbFreqStdMeas.cs
index 3858ddb..af980d7 100644
--- a/RbFreqStandMeasure/RbFreqStdMeas.cs
+++ b/RbFreqStandMeasure/RbFreqStdMeas.cs
@@ -1,13 +1,9 @@
-using Casic.Birmm.RbFreqStandMeasure.Properties;
+using Casic.Birmm.RbFreqStandMeasure.info;
+using Casic.Birmm.RbFreqStandMeasure.Properties;
+using Casic.Birmm.RbFreqStandMeasure.setting;
using System;
-using System.Collections.Generic;
-using System.ComponentModel;
-using System.Data;
using System.Drawing;
-using System.Linq;
-using System.Resources;
using System.Runtime.InteropServices;
-using System.Text;
using System.Windows.Forms;
namespace Casic.Birmm.RbFreqStandMeasure
@@ -15,7 +11,7 @@
public partial class RbFreqStdMeas : Form
{
- #region 无边框拖动效果
+ #region 无边框拖动效果/最小化窗口/关闭窗口
[DllImport("user32.dll")]//拖动无窗体的控件
public static extern bool ReleaseCapture();
[DllImport("user32.dll")]
@@ -30,9 +26,29 @@
ReleaseCapture();
SendMessage(this.Handle, WM_SYSCOMMAND, SC_MOVE + HTCAPTION, 0);
}
+ private void btnExitSys_Click(object sender, EventArgs e)
+ {
+ Application.Exit();
+ }
+ private void btnMinSys_Click(object sender, EventArgs e)
+ {
+ this.WindowState = FormWindowState.Minimized;
+ }
+ private void btnExitSys_MouseHover(object sender, EventArgs e)
+ {
+ ToolTip p = new ToolTip();
+ p.ShowAlways = true;
+ p.SetToolTip(this.btnExitSys, "退出");
+ }
+ private void btnMinSys_MouseHover(object sender, EventArgs e)
+ {
+ ToolTip p = new ToolTip();
+ p.ShowAlways = true;
+ p.SetToolTip(this.btnMinSys, "最小化");
+ }
#endregion
- private bool[] menuSelected = { true, false };
+ private bool[] menuSelected = { true, false, false, false, false, false, false };
// 按钮图标
private PictureBox[] menuPics;
// 按钮图标的资源名称(选中的资源名称在后面加上 _selected)
@@ -57,7 +73,7 @@
// 将当前按钮的效果设置为默认未选中
this.menuPics[index].BackgroundImage = (Bitmap)Resources.ResourceManager.GetObject(this.menuIconResources[index], null);
- this.menuLabels[index].ForeColor = ColorTranslator.FromHtml("#2C2C2C");
+ this.menuLabels[index].ForeColor = ColorTranslator.FromHtml("#333333");
this.menuUnderlines[index].BackColor = Color.Transparent;
}
@@ -79,13 +95,15 @@
LeaveHome();
// 重新设置所有按钮的状态
- this.menuSelected = new bool[] { true, false };
+ this.menuSelected = new bool[] { true, false, false, false, false, false, false };
// 将新选中的按钮设置为选中
this.picIconHome.BackgroundImage = (Bitmap)Resources.ResourceManager.GetObject("icon_home_selected", null);
- this.labHomeText.ForeColor = ColorTranslator.FromHtml("#1296db");
- this.labHomeSelected.BackColor = ColorTranslator.FromHtml("#1296db");
+ this.labHomeText.ForeColor = ColorTranslator.FromHtml("#3f84d7");
+ this.labHomeSelected.BackColor = ColorTranslator.FromHtml("#3f84d7");
+ // 切换至首页
+ switchMainPanel(0);
}
#endregion
@@ -107,12 +125,163 @@
LeaveStatus();
// 重新设置所有按钮的状态
- this.menuSelected = new bool[] { false, true };
+ this.menuSelected = new bool[] { false, true, false, false, false, false, false };
// 将新选中的按钮设置为选中
this.picIconStatus.BackgroundImage = (Bitmap) Resources.ResourceManager.GetObject("icon_status_selected", null);
- this.labStatusText.ForeColor = ColorTranslator.FromHtml("#1296db");
- this.labStatusSelected.BackColor = ColorTranslator.FromHtml("#1296db");
+ this.labStatusText.ForeColor = ColorTranslator.FromHtml("#3f84d7");
+ this.labStatusSelected.BackColor = ColorTranslator.FromHtml("#3f84d7");
+
+ // 切换到基准状态页面
+ switchMainPanel(1);
+ }
+ #endregion
+
+ #region 送检仪器按钮点击、移入/移出效果
+ private void HoverDev()
+ {
+ panDev.Back = ColorTranslator.FromHtml("#56a3f2");
+ }
+ private void LeaveDev()
+ {
+ panDev.Back = Color.Transparent;
+ }
+ private void SelectDev()
+ {
+ // 移除所有按钮的选中样式
+ this.ClearAllMenuSelected();
+
+ // 鼠标移入效果去掉
+ LeaveDev();
+
+ // 重新设置所有按钮的状态
+ this.menuSelected = new bool[] { false, false, true, false, false ,false ,false };
+
+ // 将新选中的按钮设置为选中
+ this.picIconDev.BackgroundImage = (Bitmap)Resources.ResourceManager.GetObject("icon_dev_selected", null);
+ this.labDevText.ForeColor = ColorTranslator.FromHtml("#3f84d7");
+ this.labDevSelected.BackColor = ColorTranslator.FromHtml("#3f84d7");
+
+ // 切换至待检仪器管理
+ switchMainPanel(2);
+ }
+ #endregion
+
+ #region 频率计数器测量点击、移入/移出效果
+ private void HoverCounter()
+ {
+ panCounter.Back = ColorTranslator.FromHtml("#56a3f2");
+ }
+ private void LeaveCounter()
+ {
+ panCounter.Back = Color.Transparent;
+ }
+ private void SelectCounter()
+ {
+ // 移除所有按钮的选中样式
+ this.ClearAllMenuSelected();
+
+ // 鼠标移入效果去掉
+ LeaveCounter();
+
+ // 重新设置所有按钮的状态
+ this.menuSelected = new bool[] { false, false, false, true, false, false, false };
+
+ // 将新选中的按钮设置为选中
+ this.picIconCounter.BackgroundImage = (Bitmap)Resources.ResourceManager.GetObject("icon_counter_selected", null);
+ this.labCounterText.ForeColor = ColorTranslator.FromHtml("#3f84d7");
+ this.labCounterSelected.BackColor = ColorTranslator.FromHtml("#3f84d7");
+ }
+ #endregion
+
+ #region 计量管理点击、移入/移出效果
+ private void HoverMeasure()
+ {
+ panMeasure.Back = ColorTranslator.FromHtml("#56a3f2");
+ }
+ private void LeaveMeasure()
+ {
+ panMeasure.Back = Color.Transparent;
+ }
+ private void SelectMeasure()
+ {
+ // 移除所有按钮的选中样式
+ this.ClearAllMenuSelected();
+
+ // 鼠标移入效果去掉
+ LeaveMeasure();
+
+ // 重新设置所有按钮的状态
+ this.menuSelected = new bool[] { false, false, false, false, true, false, false };
+
+ // 将新选中的按钮设置为选中
+ this.picIconMeasure.BackgroundImage = (Bitmap)Resources.ResourceManager.GetObject("icon_measure_selected", null);
+ this.labMeasureText.ForeColor = ColorTranslator.FromHtml("#3f84d7");
+ this.labMeasureSelected.BackColor = ColorTranslator.FromHtml("#3f84d7");
+
+ // 切换至计量信息管理
+ switchMainPanel(4);
+ }
+ #endregion
+
+ #region 数据管理点击、移入/移出效果
+ private void HoverData()
+ {
+ panData.Back = ColorTranslator.FromHtml("#56a3f2");
+ }
+ private void LeaveData()
+ {
+ panData.Back = Color.Transparent;
+ }
+ private void SelectData()
+ {
+ // 移除所有按钮的选中样式
+ this.ClearAllMenuSelected();
+
+ // 鼠标移入效果去掉
+ LeaveData();
+
+ // 重新设置所有按钮的状态
+ this.menuSelected = new bool[] { false, false, false, false, false, true, false };
+
+ // 将新选中的按钮设置为选中
+ this.picIconData.BackgroundImage = (Bitmap)Resources.ResourceManager.GetObject("icon_data_selected", null);
+ this.labDataText.ForeColor = ColorTranslator.FromHtml("#3f84d7");
+ this.labDataSelected.BackColor = ColorTranslator.FromHtml("#3f84d7");
+
+ // 弹出对话框进行数据备份与还原操作
+ DataBackupDlg dataDlg = new DataBackupDlg();
+ dataDlg.ShowDialog();
+ }
+ #endregion
+
+ #region 系统管理点击、移入/移出效果
+ private void HoverSetting()
+ {
+ panSetting.Back = ColorTranslator.FromHtml("#56a3f2");
+ }
+ private void LeaveSetting()
+ {
+ panSetting.Back = Color.Transparent;
+ }
+ private void SelectSetting()
+ {
+ // 移除所有按钮的选中样式
+ this.ClearAllMenuSelected();
+
+ // 鼠标移入效果去掉
+ LeaveSetting();
+
+ // 重新设置所有按钮的状态
+ this.menuSelected = new bool[] { false, false, false, false, false, false, true };
+
+ // 将新选中的按钮设置为选中
+ this.picIconSetting.BackgroundImage = (Bitmap)Resources.ResourceManager.GetObject("icon_setting_selected", null);
+ this.labSettingText.ForeColor = ColorTranslator.FromHtml("#3f84d7");
+ this.labSettingSelected.BackColor = ColorTranslator.FromHtml("#3f84d7");
+
+ // 切换到设置的界面
+ switchMainPanel(6);
}
#endregion
@@ -123,22 +292,13 @@
private void RbFreqStdMeas_Load(object sender, EventArgs e)
{
- this.menuPics = new PictureBox[] { this.picIconHome, this.picIconStatus };
- this.menuLabels = new Label[] { this.labHomeText, this.labStatusText };
- this.menuUnderlines = new Label[] { this.labHomeSelected, this.labStatusSelected };
- this.menuIconResources = new string[] { "icon_home", "icon_status" };
- }
+ this.menuPics = new PictureBox[] { this.picIconHome, this.picIconStatus, this.picIconDev, this.picIconCounter, this.picIconMeasure, this.picIconData, this.picIconSetting };
+ this.menuLabels = new Label[] { this.labHomeText, this.labStatusText, this.labDevText, this.labCounterText, this.labMeasureText, this.labDataText, this.labSettingText };
+ this.menuUnderlines = new Label[] { this.labHomeSelected, this.labStatusSelected, this.labDevSelected, this.labCounterSelected, this.labMeasureSelected, this.labDataSelected, this.labSettingSelected };
+ this.menuIconResources = new string[] { "icon_home", "icon_status", "icon_dev", "icon_counter", "icon_measure", "icon_data", "icon_setting" };
- private void btnExitSys_Click(object sender, EventArgs e)
- {
- Application.Exit();
- }
-
- private void btnExitSys_MouseHover(object sender, EventArgs e)
- {
- ToolTip p = new ToolTip();
- p.ShowAlways = true;
- p.SetToolTip(this.btnExitSys, "退出");
+ // 加载首页的内容
+ switchMainPanel(0);
}
private void panHome_Click(object sender, EventArgs e)
@@ -191,5 +351,169 @@
LeaveStatus();
}
}
+
+ private void panDev_Click(object sender, EventArgs e)
+ {
+ if (this.menuSelected[2] == false)
+ {
+ SelectDev();
+ }
+ }
+
+ private void panDev_MouseHover(object sender, EventArgs e)
+ {
+ if (this.menuSelected[2] == false)
+ {
+ HoverDev();
+ }
+ }
+
+ private void panDev_MouseLeave(object sender, EventArgs e)
+ {
+ if (this.menuSelected[2] == false)
+ {
+ LeaveDev();
+ }
+ }
+
+ private void panCounter_Click(object sender, EventArgs e)
+ {
+ if (this.menuSelected[3] == false)
+ {
+ SelectCounter();
+ }
+ }
+
+ private void panCounter_MouseHover(object sender, EventArgs e)
+ {
+ if (this.menuSelected[3] == false)
+ {
+ HoverCounter();
+ }
+ }
+
+ private void panCounter_MouseLeave(object sender, EventArgs e)
+ {
+ if (this.menuSelected[3] == false)
+ {
+ LeaveCounter();
+ }
+ }
+
+ private void panMeasure_Click(object sender, EventArgs e)
+ {
+ if (this.menuSelected[4] == false)
+ {
+ SelectMeasure();
+ }
+ }
+
+ private void panMeasure_MouseHover(object sender, EventArgs e)
+ {
+ if (this.menuSelected[4] == false)
+ {
+ HoverMeasure();
+ }
+ }
+
+ private void panMeasure_MouseLeave(object sender, EventArgs e)
+ {
+ if (this.menuSelected[4] == false)
+ {
+ LeaveMeasure();
+ }
+ }
+
+ private void panData_Click(object sender, EventArgs e)
+ {
+ if (this.menuSelected[5] == false)
+ {
+ SelectData();
+ }
+ }
+
+ private void panData_MouseHover(object sender, EventArgs e)
+ {
+ if (this.menuSelected[5] == false)
+ {
+ HoverData();
+ }
+ }
+
+ private void panData_MouseLeave(object sender, EventArgs e)
+ {
+ if (this.menuSelected[5] == false)
+ {
+ LeaveData();
+ }
+ }
+
+ private void panSetting_Click(object sender, EventArgs e)
+ {
+ if (this.menuSelected[6] == false)
+ {
+ SelectSetting();
+ }
+ }
+
+ private void panSetting_MouseHover(object sender, EventArgs e)
+ {
+ if (this.menuSelected[6] == false)
+ {
+ HoverSetting();
+ }
+ }
+
+ private void panSetting_MouseLeave(object sender, EventArgs e)
+ {
+ if (this.menuSelected[6] == false)
+ {
+ LeaveSetting();
+ }
+ }
+
+ private void switchMainPanel(int index)
+ {
+ this.panelMain.Controls.Clear();
+
+ switch (index)
+ {
+ case 0: // 首页
+ HomeCtrlForm home = new HomeCtrlForm();
+ home.Show();
+ this.panelMain.Controls.Add(home);
+ break;
+
+ case 1: // 基准状态
+ StatusCtrlForm statusForm = new StatusCtrlForm();
+ statusForm.Show();
+ this.panelMain.Controls.Add(statusForm);
+ break;
+
+ case 2: // 待检设备
+ InfoCtrlForm infoForm = new InfoCtrlForm();
+ infoForm.Show();
+ this.panelMain.Controls.Add(infoForm);
+ break;
+
+ case 3: // 频率计数器范围
+ break;
+
+ case 4: // 计量信息
+ DevTestedCtrlForm tested = new DevTestedCtrlForm();
+ tested.Show();
+ this.panelMain.Controls.Add(tested);
+ break;
+
+ case 6: // 设置
+ SettingCtrlForm settingForm = new SettingCtrlForm();
+ settingForm.Show();
+ this.panelMain.Controls.Add(settingForm);
+ break;
+
+ default:
+ break;
+ }
+ }
}
}
\ No newline at end of file
diff --git a/RbFreqStandMeasure/StatusCtrlForm.Designer.cs b/RbFreqStandMeasure/StatusCtrlForm.Designer.cs
index bf5071a..b4151fd 100644
--- a/RbFreqStandMeasure/StatusCtrlForm.Designer.cs
+++ b/RbFreqStandMeasure/StatusCtrlForm.Designer.cs
@@ -31,21 +31,34 @@
{
this.panelSite = new System.Windows.Forms.Panel();
this.label5 = new System.Windows.Forms.Label();
- this.panelStatus = new System.Windows.Forms.Panel();
+ this.panel3 = new System.Windows.Forms.Panel();
+ this.label8 = new System.Windows.Forms.Label();
+ this.label13 = new System.Windows.Forms.Label();
+ this.label12 = new System.Windows.Forms.Label();
+ this.label11 = new System.Windows.Forms.Label();
+ this.label9 = new System.Windows.Forms.Label();
+ this.label10 = new System.Windows.Forms.Label();
+ this.panel2 = new System.Windows.Forms.Panel();
this.label4 = new System.Windows.Forms.Label();
+ this.label7 = new System.Windows.Forms.Label();
+ this.label6 = new System.Windows.Forms.Label();
+ this.label1 = new System.Windows.Forms.Label();
+ this.panel1 = new System.Windows.Forms.Panel();
this.label3 = new System.Windows.Forms.Label();
this.label2 = new System.Windows.Forms.Label();
- this.label1 = new System.Windows.Forms.Label();
+ this.label14 = new System.Windows.Forms.Label();
this.panelSite.SuspendLayout();
- this.panelStatus.SuspendLayout();
+ this.panel3.SuspendLayout();
+ this.panel2.SuspendLayout();
+ this.panel1.SuspendLayout();
this.SuspendLayout();
//
// panelSite
//
this.panelSite.Controls.Add(this.label5);
- this.panelSite.Location = new System.Drawing.Point(200, 0);
+ this.panelSite.Location = new System.Drawing.Point(232, 0);
this.panelSite.Name = "panelSite";
- this.panelSite.Size = new System.Drawing.Size(800, 640);
+ this.panelSite.Size = new System.Drawing.Size(773, 640);
this.panelSite.TabIndex = 3;
//
// label5
@@ -57,67 +70,208 @@
this.label5.TabIndex = 0;
this.label5.Text = "卫星位置图";
//
- // panelStatus
+ // panel3
//
- this.panelStatus.BackColor = System.Drawing.SystemColors.Window;
- this.panelStatus.Controls.Add(this.label4);
- this.panelStatus.Controls.Add(this.label3);
- this.panelStatus.Controls.Add(this.label2);
- this.panelStatus.Controls.Add(this.label1);
- this.panelStatus.Location = new System.Drawing.Point(0, 0);
- this.panelStatus.Name = "panelStatus";
- this.panelStatus.Size = new System.Drawing.Size(200, 640);
- this.panelStatus.TabIndex = 2;
+ this.panel3.BackgroundImage = global::Casic.Birmm.RbFreqStandMeasure.Properties.Resources.bg_status_location;
+ this.panel3.Controls.Add(this.label8);
+ this.panel3.Controls.Add(this.label13);
+ this.panel3.Controls.Add(this.label12);
+ this.panel3.Controls.Add(this.label11);
+ this.panel3.Controls.Add(this.label9);
+ this.panel3.Controls.Add(this.label10);
+ this.panel3.Location = new System.Drawing.Point(6, 360);
+ this.panel3.Name = "panel3";
+ this.panel3.Size = new System.Drawing.Size(224, 293);
+ this.panel3.TabIndex = 6;
+ //
+ // label8
+ //
+ this.label8.BackColor = System.Drawing.Color.Transparent;
+ this.label8.Font = new System.Drawing.Font("微软雅黑", 14F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Pixel, ((byte)(134)));
+ this.label8.Location = new System.Drawing.Point(0, 20);
+ this.label8.Name = "label8";
+ this.label8.Size = new System.Drawing.Size(224, 25);
+ this.label8.TabIndex = 0;
+ this.label8.Text = "位置信息";
+ this.label8.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
+ //
+ // label13
+ //
+ this.label13.BackColor = System.Drawing.Color.Transparent;
+ this.label13.Font = new System.Drawing.Font("微软雅黑", 14F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Pixel, ((byte)(134)));
+ this.label13.Location = new System.Drawing.Point(0, 220);
+ this.label13.Margin = new System.Windows.Forms.Padding(0);
+ this.label13.Name = "label13";
+ this.label13.Size = new System.Drawing.Size(75, 25);
+ this.label13.TabIndex = 1;
+ this.label13.Text = "Z";
+ this.label13.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
+ //
+ // label12
+ //
+ this.label12.BackColor = System.Drawing.Color.Transparent;
+ this.label12.Font = new System.Drawing.Font("微软雅黑", 14F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Pixel, ((byte)(134)));
+ this.label12.Location = new System.Drawing.Point(0, 180);
+ this.label12.Margin = new System.Windows.Forms.Padding(0);
+ this.label12.Name = "label12";
+ this.label12.Size = new System.Drawing.Size(75, 25);
+ this.label12.TabIndex = 1;
+ this.label12.Text = "Y";
+ this.label12.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
+ //
+ // label11
+ //
+ this.label11.BackColor = System.Drawing.Color.Transparent;
+ this.label11.Font = new System.Drawing.Font("微软雅黑", 14F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Pixel, ((byte)(134)));
+ this.label11.Location = new System.Drawing.Point(0, 140);
+ this.label11.Margin = new System.Windows.Forms.Padding(0);
+ this.label11.Name = "label11";
+ this.label11.Size = new System.Drawing.Size(75, 25);
+ this.label11.TabIndex = 1;
+ this.label11.Text = "X";
+ this.label11.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
+ //
+ // label9
+ //
+ this.label9.BackColor = System.Drawing.Color.Transparent;
+ this.label9.Font = new System.Drawing.Font("微软雅黑", 14F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Pixel, ((byte)(134)));
+ this.label9.Location = new System.Drawing.Point(0, 60);
+ this.label9.Name = "label9";
+ this.label9.Size = new System.Drawing.Size(75, 25);
+ this.label9.TabIndex = 1;
+ this.label9.Text = "经度";
+ this.label9.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
+ //
+ // label10
+ //
+ this.label10.BackColor = System.Drawing.Color.Transparent;
+ this.label10.Font = new System.Drawing.Font("微软雅黑", 14F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Pixel, ((byte)(134)));
+ this.label10.Location = new System.Drawing.Point(0, 100);
+ this.label10.Margin = new System.Windows.Forms.Padding(0);
+ this.label10.Name = "label10";
+ this.label10.Size = new System.Drawing.Size(75, 25);
+ this.label10.TabIndex = 1;
+ this.label10.Text = "纬度";
+ this.label10.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
+ //
+ // panel2
+ //
+ this.panel2.BackgroundImage = global::Casic.Birmm.RbFreqStandMeasure.Properties.Resources.bg_status_time;
+ this.panel2.Controls.Add(this.label4);
+ this.panel2.Controls.Add(this.label7);
+ this.panel2.Controls.Add(this.label6);
+ this.panel2.Controls.Add(this.label1);
+ this.panel2.Location = new System.Drawing.Point(6, 160);
+ this.panel2.Name = "panel2";
+ this.panel2.Size = new System.Drawing.Size(224, 200);
+ this.panel2.TabIndex = 5;
//
// label4
//
- this.label4.AutoSize = true;
- this.label4.Location = new System.Drawing.Point(59, 185);
+ this.label4.BackColor = System.Drawing.Color.Transparent;
+ this.label4.Font = new System.Drawing.Font("微软雅黑", 14F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Pixel, ((byte)(134)));
+ this.label4.Location = new System.Drawing.Point(0, 20);
this.label4.Name = "label4";
- this.label4.Size = new System.Drawing.Size(53, 12);
+ this.label4.Size = new System.Drawing.Size(224, 25);
this.label4.TabIndex = 0;
- this.label4.Text = "事件信息";
+ this.label4.Text = "时间信息";
+ this.label4.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
//
- // label3
+ // label7
//
- this.label3.AutoSize = true;
- this.label3.Location = new System.Drawing.Point(59, 139);
- this.label3.Name = "label3";
- this.label3.Size = new System.Drawing.Size(53, 12);
- this.label3.TabIndex = 0;
- this.label3.Text = "位置信息";
+ this.label7.BackColor = System.Drawing.Color.Transparent;
+ this.label7.Font = new System.Drawing.Font("微软雅黑", 14F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Pixel, ((byte)(134)));
+ this.label7.Location = new System.Drawing.Point(0, 140);
+ this.label7.Margin = new System.Windows.Forms.Padding(0);
+ this.label7.Name = "label7";
+ this.label7.Size = new System.Drawing.Size(75, 25);
+ this.label7.TabIndex = 1;
+ this.label7.Text = "MJD";
+ this.label7.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
//
- // label2
+ // label6
//
- this.label2.AutoSize = true;
- this.label2.Location = new System.Drawing.Point(59, 98);
- this.label2.Name = "label2";
- this.label2.Size = new System.Drawing.Size(53, 12);
- this.label2.TabIndex = 0;
- this.label2.Text = "锁定状态";
+ this.label6.BackColor = System.Drawing.Color.Transparent;
+ this.label6.Font = new System.Drawing.Font("微软雅黑", 14F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Pixel, ((byte)(134)));
+ this.label6.Location = new System.Drawing.Point(0, 100);
+ this.label6.Name = "label6";
+ this.label6.Size = new System.Drawing.Size(75, 25);
+ this.label6.TabIndex = 1;
+ this.label6.Text = "时间";
+ this.label6.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
//
// label1
//
- this.label1.AutoSize = true;
- this.label1.Location = new System.Drawing.Point(33, 53);
+ this.label1.BackColor = System.Drawing.Color.Transparent;
+ this.label1.Font = new System.Drawing.Font("微软雅黑", 14F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Pixel, ((byte)(134)));
+ this.label1.Location = new System.Drawing.Point(0, 60);
this.label1.Name = "label1";
- this.label1.Size = new System.Drawing.Size(29, 12);
- this.label1.TabIndex = 0;
- this.label1.Text = "状态";
+ this.label1.Size = new System.Drawing.Size(75, 25);
+ this.label1.TabIndex = 1;
+ this.label1.Text = "日期";
+ this.label1.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
+ //
+ // panel1
+ //
+ this.panel1.BackgroundImage = global::Casic.Birmm.RbFreqStandMeasure.Properties.Resources.bg_status_base;
+ this.panel1.Controls.Add(this.label3);
+ this.panel1.Controls.Add(this.label2);
+ this.panel1.Controls.Add(this.label14);
+ this.panel1.Location = new System.Drawing.Point(6, 0);
+ this.panel1.Margin = new System.Windows.Forms.Padding(0);
+ this.panel1.Name = "panel1";
+ this.panel1.Size = new System.Drawing.Size(224, 160);
+ this.panel1.TabIndex = 4;
+ //
+ // label3
+ //
+ this.label3.BackColor = System.Drawing.Color.Transparent;
+ this.label3.Font = new System.Drawing.Font("微软雅黑", 14F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Pixel, ((byte)(134)));
+ this.label3.Location = new System.Drawing.Point(0, 100);
+ this.label3.Name = "label3";
+ this.label3.Size = new System.Drawing.Size(75, 25);
+ this.label3.TabIndex = 1;
+ this.label3.Text = "接收机";
+ this.label3.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
+ //
+ // label2
+ //
+ this.label2.BackColor = System.Drawing.Color.Transparent;
+ this.label2.Font = new System.Drawing.Font("微软雅黑", 14F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Pixel, ((byte)(134)));
+ this.label2.Location = new System.Drawing.Point(0, 60);
+ this.label2.Name = "label2";
+ this.label2.Size = new System.Drawing.Size(75, 25);
+ this.label2.TabIndex = 1;
+ this.label2.Text = "原子钟";
+ this.label2.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
+ //
+ // label14
+ //
+ this.label14.BackColor = System.Drawing.Color.Transparent;
+ this.label14.Font = new System.Drawing.Font("微软雅黑", 14F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Pixel, ((byte)(134)));
+ this.label14.Location = new System.Drawing.Point(0, 20);
+ this.label14.Name = "label14";
+ this.label14.Size = new System.Drawing.Size(224, 25);
+ this.label14.TabIndex = 0;
+ this.label14.Text = "基本信息";
+ this.label14.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
//
// StatusCtrlForm
//
this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 12F);
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
+ this.Controls.Add(this.panel3);
+ this.Controls.Add(this.panel2);
+ this.Controls.Add(this.panel1);
this.Controls.Add(this.panelSite);
- this.Controls.Add(this.panelStatus);
this.Margin = new System.Windows.Forms.Padding(10);
this.Name = "StatusCtrlForm";
- this.Size = new System.Drawing.Size(1000, 640);
+ this.Size = new System.Drawing.Size(1024, 654);
this.panelSite.ResumeLayout(false);
this.panelSite.PerformLayout();
- this.panelStatus.ResumeLayout(false);
- this.panelStatus.PerformLayout();
+ this.panel3.ResumeLayout(false);
+ this.panel2.ResumeLayout(false);
+ this.panel1.ResumeLayout(false);
this.ResumeLayout(false);
}
@@ -126,10 +280,21 @@
private System.Windows.Forms.Panel panelSite;
private System.Windows.Forms.Label label5;
- private System.Windows.Forms.Panel panelStatus;
+ private System.Windows.Forms.Panel panel3;
+ private System.Windows.Forms.Label label8;
+ private System.Windows.Forms.Label label13;
+ private System.Windows.Forms.Label label12;
+ private System.Windows.Forms.Label label11;
+ private System.Windows.Forms.Label label9;
+ private System.Windows.Forms.Label label10;
+ private System.Windows.Forms.Panel panel2;
private System.Windows.Forms.Label label4;
+ private System.Windows.Forms.Label label7;
+ private System.Windows.Forms.Label label6;
+ private System.Windows.Forms.Label label1;
+ private System.Windows.Forms.Panel panel1;
private System.Windows.Forms.Label label3;
private System.Windows.Forms.Label label2;
- private System.Windows.Forms.Label label1;
+ private System.Windows.Forms.Label label14;
}
}
diff --git a/RbFreqStandMeasure/res/images/bg_banner.png b/RbFreqStandMeasure/res/images/bg_banner.png
index d795b7d..3119070 100644
--- a/RbFreqStandMeasure/res/images/bg_banner.png
+++ b/RbFreqStandMeasure/res/images/bg_banner.png
Binary files differ
diff --git a/RbFreqStandMeasure/res/images/bg_dev_channel.png b/RbFreqStandMeasure/res/images/bg_dev_channel.png
new file mode 100644
index 0000000..7bac7ce
--- /dev/null
+++ b/RbFreqStandMeasure/res/images/bg_dev_channel.png
Binary files differ
diff --git a/RbFreqStandMeasure/res/images/bg_dev_tested.png b/RbFreqStandMeasure/res/images/bg_dev_tested.png
new file mode 100644
index 0000000..0b43ead
--- /dev/null
+++ b/RbFreqStandMeasure/res/images/bg_dev_tested.png
Binary files differ
diff --git a/RbFreqStandMeasure/res/images/bg_status_base.png b/RbFreqStandMeasure/res/images/bg_status_base.png
new file mode 100644
index 0000000..ef11397
--- /dev/null
+++ b/RbFreqStandMeasure/res/images/bg_status_base.png
Binary files differ
diff --git a/RbFreqStandMeasure/res/images/bg_status_location.png b/RbFreqStandMeasure/res/images/bg_status_location.png
new file mode 100644
index 0000000..64d28d5
--- /dev/null
+++ b/RbFreqStandMeasure/res/images/bg_status_location.png
Binary files differ
diff --git a/RbFreqStandMeasure/res/images/bg_status_time.png b/RbFreqStandMeasure/res/images/bg_status_time.png
new file mode 100644
index 0000000..eec981a
--- /dev/null
+++ b/RbFreqStandMeasure/res/images/bg_status_time.png
Binary files differ
diff --git a/RbFreqStandMeasure/res/images/icon_counter.png b/RbFreqStandMeasure/res/images/icon_counter.png
new file mode 100644
index 0000000..060c3d7
--- /dev/null
+++ b/RbFreqStandMeasure/res/images/icon_counter.png
Binary files differ
diff --git a/RbFreqStandMeasure/res/images/icon_counter_selected.png b/RbFreqStandMeasure/res/images/icon_counter_selected.png
new file mode 100644
index 0000000..45c7720
--- /dev/null
+++ b/RbFreqStandMeasure/res/images/icon_counter_selected.png
Binary files differ
diff --git a/RbFreqStandMeasure/res/images/icon_data.png b/RbFreqStandMeasure/res/images/icon_data.png
new file mode 100644
index 0000000..bf03575
--- /dev/null
+++ b/RbFreqStandMeasure/res/images/icon_data.png
Binary files differ
diff --git a/RbFreqStandMeasure/res/images/icon_data_selected.png b/RbFreqStandMeasure/res/images/icon_data_selected.png
new file mode 100644
index 0000000..a8aa441
--- /dev/null
+++ b/RbFreqStandMeasure/res/images/icon_data_selected.png
Binary files differ
diff --git a/RbFreqStandMeasure/res/images/icon_dev.png b/RbFreqStandMeasure/res/images/icon_dev.png
new file mode 100644
index 0000000..09bf380
--- /dev/null
+++ b/RbFreqStandMeasure/res/images/icon_dev.png
Binary files differ
diff --git a/RbFreqStandMeasure/res/images/icon_dev_selected.png b/RbFreqStandMeasure/res/images/icon_dev_selected.png
new file mode 100644
index 0000000..63a8b7c
--- /dev/null
+++ b/RbFreqStandMeasure/res/images/icon_dev_selected.png
Binary files differ
diff --git a/RbFreqStandMeasure/res/images/icon_exit.png b/RbFreqStandMeasure/res/images/icon_exit.png
index 997b9e9..a03e429 100644
--- a/RbFreqStandMeasure/res/images/icon_exit.png
+++ b/RbFreqStandMeasure/res/images/icon_exit.png
Binary files differ
diff --git a/RbFreqStandMeasure/HomeCtrlForm.Designer.cs b/RbFreqStandMeasure/HomeCtrlForm.Designer.cs
index fb515f8..73e477a 100644
--- a/RbFreqStandMeasure/HomeCtrlForm.Designer.cs
+++ b/RbFreqStandMeasure/HomeCtrlForm.Designer.cs
@@ -29,589 +29,271 @@
///
private void InitializeComponent()
{
- System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle1 = new System.Windows.Forms.DataGridViewCellStyle();
- System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle2 = new System.Windows.Forms.DataGridViewCellStyle();
- this.panelToBeTested = new System.Windows.Forms.Panel();
- this.dataGridViewX1 = new DevComponents.DotNetBar.Controls.DataGridViewX();
- this.Column13 = new System.Windows.Forms.DataGridViewTextBoxColumn();
- this.Column14 = new System.Windows.Forms.DataGridViewTextBoxColumn();
- this.Column15 = new System.Windows.Forms.DataGridViewTextBoxColumn();
- this.Column16 = new System.Windows.Forms.DataGridViewTextBoxColumn();
- this.Column17 = new System.Windows.Forms.DataGridViewTextBoxColumn();
- this.panelEx1 = new DevComponents.DotNetBar.PanelEx();
- this.labelX6 = new DevComponents.DotNetBar.LabelX();
- this.labelX5 = new DevComponents.DotNetBar.LabelX();
- this.labelX4 = new DevComponents.DotNetBar.LabelX();
- this.labelX3 = new DevComponents.DotNetBar.LabelX();
- this.labelX2 = new DevComponents.DotNetBar.LabelX();
- this.labelX1 = new DevComponents.DotNetBar.LabelX();
- this.panelEx2 = new DevComponents.DotNetBar.PanelEx();
- this.labelX7 = new DevComponents.DotNetBar.LabelX();
- this.labelX8 = new DevComponents.DotNetBar.LabelX();
- this.labelX10 = new DevComponents.DotNetBar.LabelX();
- this.labelX9 = new DevComponents.DotNetBar.LabelX();
- this.panelEx3 = new DevComponents.DotNetBar.PanelEx();
- this.labelX11 = new DevComponents.DotNetBar.LabelX();
- this.labelX13 = new DevComponents.DotNetBar.LabelX();
- this.labelX12 = new DevComponents.DotNetBar.LabelX();
- this.panelEx4 = new DevComponents.DotNetBar.PanelEx();
- this.dataGridViewX2 = new DevComponents.DotNetBar.Controls.DataGridViewX();
- this.Column18 = new System.Windows.Forms.DataGridViewTextBoxColumn();
- this.Column19 = new System.Windows.Forms.DataGridViewTextBoxColumn();
- this.Column20 = new System.Windows.Forms.DataGridViewTextBoxColumn();
- this.Column21 = new System.Windows.Forms.DataGridViewTextBoxColumn();
- this.Column22 = new System.Windows.Forms.DataGridViewTextBoxColumn();
- this.Column23 = new System.Windows.Forms.DataGridViewTextBoxColumn();
- this.Column24 = new System.Windows.Forms.DataGridViewTextBoxColumn();
- this.Column25 = new System.Windows.Forms.DataGridViewTextBoxColumn();
- this.Column26 = new System.Windows.Forms.DataGridViewTextBoxColumn();
- this.Column27 = new System.Windows.Forms.DataGridViewTextBoxColumn();
- this.Column28 = new System.Windows.Forms.DataGridViewTextBoxColumn();
- this.Column29 = new System.Windows.Forms.DataGridViewTextBoxColumn();
- this.buttonX1 = new DevComponents.DotNetBar.ButtonX();
- this.buttonX2 = new DevComponents.DotNetBar.ButtonX();
+ this.panel3 = new System.Windows.Forms.Panel();
+ this.panel2 = new System.Windows.Forms.Panel();
+ this.panel1 = new System.Windows.Forms.Panel();
+ this.panel4 = new System.Windows.Forms.Panel();
+ this.panel5 = new System.Windows.Forms.Panel();
this.label1 = new System.Windows.Forms.Label();
this.label2 = new System.Windows.Forms.Label();
- this.panelToBeTested.SuspendLayout();
- ((System.ComponentModel.ISupportInitialize)(this.dataGridViewX1)).BeginInit();
- this.panelEx1.SuspendLayout();
- this.panelEx2.SuspendLayout();
- this.panelEx3.SuspendLayout();
- this.panelEx4.SuspendLayout();
- ((System.ComponentModel.ISupportInitialize)(this.dataGridViewX2)).BeginInit();
+ this.label3 = new System.Windows.Forms.Label();
+ this.label4 = new System.Windows.Forms.Label();
+ this.label5 = new System.Windows.Forms.Label();
+ this.label6 = new System.Windows.Forms.Label();
+ this.label7 = new System.Windows.Forms.Label();
+ this.label8 = new System.Windows.Forms.Label();
+ this.label9 = new System.Windows.Forms.Label();
+ this.label10 = new System.Windows.Forms.Label();
+ this.label11 = new System.Windows.Forms.Label();
+ this.label12 = new System.Windows.Forms.Label();
+ this.label13 = new System.Windows.Forms.Label();
+ this.panel3.SuspendLayout();
+ this.panel2.SuspendLayout();
+ this.panel1.SuspendLayout();
this.SuspendLayout();
//
- // panelToBeTested
+ // panel3
//
- this.panelToBeTested.Controls.Add(this.dataGridViewX1);
- this.panelToBeTested.Controls.Add(this.buttonX2);
- this.panelToBeTested.Controls.Add(this.buttonX1);
- this.panelToBeTested.Location = new System.Drawing.Point(250, 0);
- this.panelToBeTested.Name = "panelToBeTested";
- this.panelToBeTested.Size = new System.Drawing.Size(750, 216);
- this.panelToBeTested.TabIndex = 4;
+ this.panel3.BackgroundImage = global::Casic.Birmm.RbFreqStandMeasure.Properties.Resources.bg_status_location;
+ this.panel3.Controls.Add(this.label8);
+ this.panel3.Controls.Add(this.label13);
+ this.panel3.Controls.Add(this.label12);
+ this.panel3.Controls.Add(this.label11);
+ this.panel3.Controls.Add(this.label9);
+ this.panel3.Controls.Add(this.label10);
+ this.panel3.Location = new System.Drawing.Point(6, 360);
+ this.panel3.Name = "panel3";
+ this.panel3.Size = new System.Drawing.Size(224, 293);
+ this.panel3.TabIndex = 2;
//
- // dataGridViewX1
+ // panel2
//
- this.dataGridViewX1.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.AutoSize;
- this.dataGridViewX1.Columns.AddRange(new System.Windows.Forms.DataGridViewColumn[] {
- this.Column13,
- this.Column14,
- this.Column15,
- this.Column16,
- this.Column17});
- dataGridViewCellStyle1.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleLeft;
- dataGridViewCellStyle1.BackColor = System.Drawing.SystemColors.Window;
- dataGridViewCellStyle1.Font = new System.Drawing.Font("宋体", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
- dataGridViewCellStyle1.ForeColor = System.Drawing.SystemColors.ControlText;
- dataGridViewCellStyle1.SelectionBackColor = System.Drawing.SystemColors.Highlight;
- dataGridViewCellStyle1.SelectionForeColor = System.Drawing.SystemColors.ControlText;
- dataGridViewCellStyle1.WrapMode = System.Windows.Forms.DataGridViewTriState.False;
- this.dataGridViewX1.DefaultCellStyle = dataGridViewCellStyle1;
- this.dataGridViewX1.GridColor = System.Drawing.Color.FromArgb(((int)(((byte)(208)))), ((int)(((byte)(215)))), ((int)(((byte)(229)))));
- this.dataGridViewX1.Location = new System.Drawing.Point(0, 1);
- this.dataGridViewX1.Name = "dataGridViewX1";
- this.dataGridViewX1.RowTemplate.Height = 23;
- this.dataGridViewX1.Size = new System.Drawing.Size(750, 179);
- this.dataGridViewX1.TabIndex = 14;
+ this.panel2.BackgroundImage = global::Casic.Birmm.RbFreqStandMeasure.Properties.Resources.bg_status_time;
+ this.panel2.Controls.Add(this.label4);
+ this.panel2.Controls.Add(this.label7);
+ this.panel2.Controls.Add(this.label6);
+ this.panel2.Controls.Add(this.label5);
+ this.panel2.Location = new System.Drawing.Point(6, 160);
+ this.panel2.Name = "panel2";
+ this.panel2.Size = new System.Drawing.Size(224, 200);
+ this.panel2.TabIndex = 1;
//
- // Column13
+ // panel1
//
- this.Column13.HeaderText = "仪器名称";
- this.Column13.Name = "Column13";
+ this.panel1.BackgroundImage = global::Casic.Birmm.RbFreqStandMeasure.Properties.Resources.bg_status_base;
+ this.panel1.Controls.Add(this.label3);
+ this.panel1.Controls.Add(this.label2);
+ this.panel1.Controls.Add(this.label1);
+ this.panel1.Location = new System.Drawing.Point(6, 0);
+ this.panel1.Margin = new System.Windows.Forms.Padding(0);
+ this.panel1.Name = "panel1";
+ this.panel1.Size = new System.Drawing.Size(224, 160);
+ this.panel1.TabIndex = 0;
//
- // Column14
+ // panel4
//
- this.Column14.HeaderText = "仪器类型";
- this.Column14.Name = "Column14";
+ this.panel4.BackgroundImage = global::Casic.Birmm.RbFreqStandMeasure.Properties.Resources.bg_dev_tested;
+ this.panel4.Location = new System.Drawing.Point(230, 0);
+ this.panel4.Margin = new System.Windows.Forms.Padding(0);
+ this.panel4.Name = "panel4";
+ this.panel4.Size = new System.Drawing.Size(788, 226);
+ this.panel4.TabIndex = 3;
//
- // Column15
+ // panel5
//
- this.Column15.HeaderText = "仪器编号";
- this.Column15.Name = "Column15";
- //
- // Column16
- //
- this.Column16.HeaderText = "客户名称";
- this.Column16.Name = "Column16";
- //
- // Column17
- //
- this.Column17.HeaderText = "开始时间";
- this.Column17.Name = "Column17";
- //
- // panelEx1
- //
- this.panelEx1.CanvasColor = System.Drawing.SystemColors.Control;
- this.panelEx1.ColorSchemeStyle = DevComponents.DotNetBar.eDotNetBarStyle.StyleManagerControlled;
- this.panelEx1.Controls.Add(this.labelX6);
- this.panelEx1.Controls.Add(this.labelX5);
- this.panelEx1.Controls.Add(this.labelX4);
- this.panelEx1.Controls.Add(this.labelX3);
- this.panelEx1.Controls.Add(this.labelX2);
- this.panelEx1.Controls.Add(this.labelX1);
- this.panelEx1.DisabledBackColor = System.Drawing.Color.Empty;
- this.panelEx1.Location = new System.Drawing.Point(25, 376);
- this.panelEx1.Name = "panelEx1";
- this.panelEx1.Size = new System.Drawing.Size(200, 200);
- this.panelEx1.Style.Alignment = System.Drawing.StringAlignment.Center;
- this.panelEx1.Style.BackColor1.ColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelBackground;
- this.panelEx1.Style.BackColor2.ColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelBackground2;
- this.panelEx1.Style.Border = DevComponents.DotNetBar.eBorderType.SingleLine;
- this.panelEx1.Style.BorderColor.ColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelBorder;
- this.panelEx1.Style.ForeColor.ColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelText;
- this.panelEx1.Style.GradientAngle = 90;
- this.panelEx1.TabIndex = 10;
- //
- // labelX6
- //
- //
- //
- //
- this.labelX6.BackgroundStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square;
- this.labelX6.Location = new System.Drawing.Point(3, 153);
- this.labelX6.Name = "labelX6";
- this.labelX6.Size = new System.Drawing.Size(75, 23);
- this.labelX6.Style = DevComponents.DotNetBar.eDotNetBarStyle.Office2013;
- this.labelX6.TabIndex = 0;
- this.labelX6.Text = "Z";
- this.labelX6.TextAlignment = System.Drawing.StringAlignment.Center;
- //
- // labelX5
- //
- //
- //
- //
- this.labelX5.BackgroundStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square;
- this.labelX5.Location = new System.Drawing.Point(3, 124);
- this.labelX5.Name = "labelX5";
- this.labelX5.Size = new System.Drawing.Size(75, 23);
- this.labelX5.Style = DevComponents.DotNetBar.eDotNetBarStyle.Office2013;
- this.labelX5.TabIndex = 0;
- this.labelX5.Text = "Y";
- this.labelX5.TextAlignment = System.Drawing.StringAlignment.Center;
- //
- // labelX4
- //
- //
- //
- //
- this.labelX4.BackgroundStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square;
- this.labelX4.Location = new System.Drawing.Point(3, 95);
- this.labelX4.Name = "labelX4";
- this.labelX4.Size = new System.Drawing.Size(75, 23);
- this.labelX4.Style = DevComponents.DotNetBar.eDotNetBarStyle.Office2013;
- this.labelX4.TabIndex = 0;
- this.labelX4.Text = "X";
- this.labelX4.TextAlignment = System.Drawing.StringAlignment.Center;
- //
- // labelX3
- //
- //
- //
- //
- this.labelX3.BackgroundStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square;
- this.labelX3.Location = new System.Drawing.Point(3, 66);
- this.labelX3.Name = "labelX3";
- this.labelX3.Size = new System.Drawing.Size(75, 23);
- this.labelX3.Style = DevComponents.DotNetBar.eDotNetBarStyle.Office2013;
- this.labelX3.TabIndex = 0;
- this.labelX3.Text = "纬度";
- this.labelX3.TextAlignment = System.Drawing.StringAlignment.Center;
- //
- // labelX2
- //
- //
- //
- //
- this.labelX2.BackgroundStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square;
- this.labelX2.Location = new System.Drawing.Point(3, 37);
- this.labelX2.Name = "labelX2";
- this.labelX2.Size = new System.Drawing.Size(75, 23);
- this.labelX2.Style = DevComponents.DotNetBar.eDotNetBarStyle.Office2013;
- this.labelX2.TabIndex = 0;
- this.labelX2.Text = "经度";
- this.labelX2.TextAlignment = System.Drawing.StringAlignment.Center;
- //
- // labelX1
- //
- //
- //
- //
- this.labelX1.BackgroundStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square;
- this.labelX1.Location = new System.Drawing.Point(3, 3);
- this.labelX1.Name = "labelX1";
- this.labelX1.Size = new System.Drawing.Size(194, 23);
- this.labelX1.Style = DevComponents.DotNetBar.eDotNetBarStyle.Office2013;
- this.labelX1.TabIndex = 0;
- this.labelX1.Text = "位置信息";
- this.labelX1.TextAlignment = System.Drawing.StringAlignment.Center;
- //
- // panelEx2
- //
- this.panelEx2.CanvasColor = System.Drawing.SystemColors.Control;
- this.panelEx2.ColorSchemeStyle = DevComponents.DotNetBar.eDotNetBarStyle.StyleManagerControlled;
- this.panelEx2.Controls.Add(this.labelX7);
- this.panelEx2.Controls.Add(this.labelX8);
- this.panelEx2.Controls.Add(this.labelX10);
- this.panelEx2.Controls.Add(this.labelX9);
- this.panelEx2.DisabledBackColor = System.Drawing.Color.Empty;
- this.panelEx2.Location = new System.Drawing.Point(25, 190);
- this.panelEx2.Name = "panelEx2";
- this.panelEx2.Size = new System.Drawing.Size(200, 150);
- this.panelEx2.Style.Alignment = System.Drawing.StringAlignment.Center;
- this.panelEx2.Style.BackColor1.ColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelBackground;
- this.panelEx2.Style.BackColor2.ColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelBackground2;
- this.panelEx2.Style.Border = DevComponents.DotNetBar.eBorderType.SingleLine;
- this.panelEx2.Style.BorderColor.ColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelBorder;
- this.panelEx2.Style.ForeColor.ColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelText;
- this.panelEx2.Style.GradientAngle = 90;
- this.panelEx2.TabIndex = 10;
- //
- // labelX7
- //
- //
- //
- //
- this.labelX7.BackgroundStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square;
- this.labelX7.Location = new System.Drawing.Point(3, 3);
- this.labelX7.Name = "labelX7";
- this.labelX7.Size = new System.Drawing.Size(194, 23);
- this.labelX7.Style = DevComponents.DotNetBar.eDotNetBarStyle.Office2013;
- this.labelX7.TabIndex = 0;
- this.labelX7.Text = "时间信息";
- this.labelX7.TextAlignment = System.Drawing.StringAlignment.Center;
- //
- // labelX8
- //
- //
- //
- //
- this.labelX8.BackgroundStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square;
- this.labelX8.Location = new System.Drawing.Point(3, 41);
- this.labelX8.Name = "labelX8";
- this.labelX8.Size = new System.Drawing.Size(75, 23);
- this.labelX8.Style = DevComponents.DotNetBar.eDotNetBarStyle.Office2013;
- this.labelX8.TabIndex = 0;
- this.labelX8.Text = "日期";
- this.labelX8.TextAlignment = System.Drawing.StringAlignment.Center;
- //
- // labelX10
- //
- //
- //
- //
- this.labelX10.BackgroundStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square;
- this.labelX10.Location = new System.Drawing.Point(3, 99);
- this.labelX10.Name = "labelX10";
- this.labelX10.Size = new System.Drawing.Size(75, 23);
- this.labelX10.Style = DevComponents.DotNetBar.eDotNetBarStyle.Office2013;
- this.labelX10.TabIndex = 0;
- this.labelX10.Text = "MJD";
- this.labelX10.TextAlignment = System.Drawing.StringAlignment.Center;
- //
- // labelX9
- //
- //
- //
- //
- this.labelX9.BackgroundStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square;
- this.labelX9.Location = new System.Drawing.Point(3, 70);
- this.labelX9.Name = "labelX9";
- this.labelX9.Size = new System.Drawing.Size(75, 23);
- this.labelX9.Style = DevComponents.DotNetBar.eDotNetBarStyle.Office2013;
- this.labelX9.TabIndex = 0;
- this.labelX9.Text = "时间";
- this.labelX9.TextAlignment = System.Drawing.StringAlignment.Center;
- //
- // panelEx3
- //
- this.panelEx3.CanvasColor = System.Drawing.SystemColors.Control;
- this.panelEx3.ColorSchemeStyle = DevComponents.DotNetBar.eDotNetBarStyle.StyleManagerControlled;
- this.panelEx3.Controls.Add(this.labelX11);
- this.panelEx3.Controls.Add(this.labelX13);
- this.panelEx3.Controls.Add(this.labelX12);
- this.panelEx3.DisabledBackColor = System.Drawing.Color.Empty;
- this.panelEx3.Location = new System.Drawing.Point(25, 50);
- this.panelEx3.Name = "panelEx3";
- this.panelEx3.Size = new System.Drawing.Size(200, 100);
- this.panelEx3.Style.Alignment = System.Drawing.StringAlignment.Center;
- this.panelEx3.Style.BackColor1.ColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelBackground;
- this.panelEx3.Style.BackColor2.ColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelBackground2;
- this.panelEx3.Style.Border = DevComponents.DotNetBar.eBorderType.SingleLine;
- this.panelEx3.Style.BorderColor.ColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelBorder;
- this.panelEx3.Style.ForeColor.ColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelText;
- this.panelEx3.Style.GradientAngle = 90;
- this.panelEx3.TabIndex = 10;
- //
- // labelX11
- //
- //
- //
- //
- this.labelX11.BackgroundStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square;
- this.labelX11.Location = new System.Drawing.Point(3, 3);
- this.labelX11.Name = "labelX11";
- this.labelX11.Size = new System.Drawing.Size(194, 23);
- this.labelX11.Style = DevComponents.DotNetBar.eDotNetBarStyle.Office2013;
- this.labelX11.TabIndex = 0;
- this.labelX11.Text = "基本信息";
- this.labelX11.TextAlignment = System.Drawing.StringAlignment.Center;
- //
- // labelX13
- //
- //
- //
- //
- this.labelX13.BackgroundStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square;
- this.labelX13.Location = new System.Drawing.Point(3, 32);
- this.labelX13.Name = "labelX13";
- this.labelX13.Size = new System.Drawing.Size(75, 23);
- this.labelX13.Style = DevComponents.DotNetBar.eDotNetBarStyle.Office2013;
- this.labelX13.TabIndex = 0;
- this.labelX13.Text = "原子钟";
- this.labelX13.TextAlignment = System.Drawing.StringAlignment.Center;
- //
- // labelX12
- //
- //
- //
- //
- this.labelX12.BackgroundStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square;
- this.labelX12.Location = new System.Drawing.Point(3, 61);
- this.labelX12.Name = "labelX12";
- this.labelX12.Size = new System.Drawing.Size(75, 23);
- this.labelX12.Style = DevComponents.DotNetBar.eDotNetBarStyle.Office2013;
- this.labelX12.TabIndex = 0;
- this.labelX12.Text = "接收机";
- this.labelX12.TextAlignment = System.Drawing.StringAlignment.Center;
- //
- // panelEx4
- //
- this.panelEx4.CanvasColor = System.Drawing.SystemColors.Control;
- this.panelEx4.ColorSchemeStyle = DevComponents.DotNetBar.eDotNetBarStyle.StyleManagerControlled;
- this.panelEx4.Controls.Add(this.panelEx2);
- this.panelEx4.Controls.Add(this.panelEx1);
- this.panelEx4.Controls.Add(this.panelEx3);
- this.panelEx4.DisabledBackColor = System.Drawing.Color.Empty;
- this.panelEx4.Location = new System.Drawing.Point(0, 0);
- this.panelEx4.Name = "panelEx4";
- this.panelEx4.Size = new System.Drawing.Size(250, 640);
- this.panelEx4.Style.Alignment = System.Drawing.StringAlignment.Center;
- this.panelEx4.Style.BackColor1.ColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelBackground;
- this.panelEx4.Style.BackColor2.ColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelBackground2;
- this.panelEx4.Style.Border = DevComponents.DotNetBar.eBorderType.SingleLine;
- this.panelEx4.Style.BorderColor.ColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelBorder;
- this.panelEx4.Style.ForeColor.ColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelText;
- this.panelEx4.Style.GradientAngle = 90;
- this.panelEx4.TabIndex = 10;
- //
- // dataGridViewX2
- //
- this.dataGridViewX2.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.AutoSize;
- this.dataGridViewX2.Columns.AddRange(new System.Windows.Forms.DataGridViewColumn[] {
- this.Column18,
- this.Column19,
- this.Column20,
- this.Column21,
- this.Column22,
- this.Column23,
- this.Column24,
- this.Column25,
- this.Column26,
- this.Column27,
- this.Column28,
- this.Column29});
- dataGridViewCellStyle2.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleLeft;
- dataGridViewCellStyle2.BackColor = System.Drawing.SystemColors.Window;
- dataGridViewCellStyle2.Font = new System.Drawing.Font("宋体", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
- dataGridViewCellStyle2.ForeColor = System.Drawing.SystemColors.ControlText;
- dataGridViewCellStyle2.SelectionBackColor = System.Drawing.SystemColors.Highlight;
- dataGridViewCellStyle2.SelectionForeColor = System.Drawing.SystemColors.ControlText;
- dataGridViewCellStyle2.WrapMode = System.Windows.Forms.DataGridViewTriState.False;
- this.dataGridViewX2.DefaultCellStyle = dataGridViewCellStyle2;
- this.dataGridViewX2.GridColor = System.Drawing.Color.FromArgb(((int)(((byte)(208)))), ((int)(((byte)(215)))), ((int)(((byte)(229)))));
- this.dataGridViewX2.Location = new System.Drawing.Point(250, 216);
- this.dataGridViewX2.Name = "dataGridViewX2";
- this.dataGridViewX2.Size = new System.Drawing.Size(747, 424);
- this.dataGridViewX2.TabIndex = 15;
- //
- // Column18
- //
- this.Column18.HeaderText = "通道号";
- this.Column18.Name = "Column18";
- //
- // Column19
- //
- this.Column19.HeaderText = "当前状态";
- this.Column19.Name = "Column19";
- //
- // Column20
- //
- this.Column20.HeaderText = "仪器名称";
- this.Column20.Name = "Column20";
- //
- // Column21
- //
- this.Column21.HeaderText = "仪器编号";
- this.Column21.Name = "Column21";
- //
- // Column22
- //
- this.Column22.HeaderText = "客户名称";
- this.Column22.Name = "Column22";
- //
- // Column23
- //
- this.Column23.HeaderText = "开始时间";
- this.Column23.Name = "Column23";
- //
- // Column24
- //
- this.Column24.HeaderText = "结束时间";
- this.Column24.Name = "Column24";
- //
- // Column25
- //
- this.Column25.HeaderText = "频率稳定度";
- this.Column25.Name = "Column25";
- //
- // Column26
- //
- this.Column26.HeaderText = "频率准确度";
- this.Column26.Name = "Column26";
- //
- // Column27
- //
- this.Column27.HeaderText = "开机特性";
- this.Column27.Name = "Column27";
- //
- // Column28
- //
- this.Column28.HeaderText = "日老化率";
- this.Column28.Name = "Column28";
- //
- // Column29
- //
- this.Column29.HeaderText = "频率计数器范围及灵敏度";
- this.Column29.Name = "Column29";
- //
- // buttonX1
- //
- this.buttonX1.AccessibleRole = System.Windows.Forms.AccessibleRole.PushButton;
- this.buttonX1.BackColor = System.Drawing.Color.Transparent;
- this.buttonX1.ColorTable = DevComponents.DotNetBar.eButtonColor.OrangeWithBackground;
- this.buttonX1.Location = new System.Drawing.Point(663, 183);
- this.buttonX1.Name = "buttonX1";
- this.buttonX1.Size = new System.Drawing.Size(30, 23);
- this.buttonX1.Style = DevComponents.DotNetBar.eDotNetBarStyle.StyleManagerControlled;
- this.buttonX1.Symbol = "";
- this.buttonX1.SymbolColor = System.Drawing.Color.FromArgb(((int)(((byte)(64)))), ((int)(((byte)(64)))), ((int)(((byte)(64)))));
- this.buttonX1.SymbolSize = 8F;
- this.buttonX1.TabIndex = 19;
- //
- // buttonX2
- //
- this.buttonX2.AccessibleRole = System.Windows.Forms.AccessibleRole.PushButton;
- this.buttonX2.BackColor = System.Drawing.Color.Transparent;
- this.buttonX2.ColorTable = DevComponents.DotNetBar.eButtonColor.OrangeWithBackground;
- this.buttonX2.Location = new System.Drawing.Point(589, 184);
- this.buttonX2.Name = "buttonX2";
- this.buttonX2.Size = new System.Drawing.Size(30, 23);
- this.buttonX2.Style = DevComponents.DotNetBar.eDotNetBarStyle.StyleManagerControlled;
- this.buttonX2.Symbol = "";
- this.buttonX2.SymbolColor = System.Drawing.Color.FromArgb(((int)(((byte)(64)))), ((int)(((byte)(64)))), ((int)(((byte)(64)))));
- this.buttonX2.SymbolSize = 8F;
- this.buttonX2.TabIndex = 19;
+ this.panel5.BackgroundImage = global::Casic.Birmm.RbFreqStandMeasure.Properties.Resources.bg_dev_channel;
+ this.panel5.Location = new System.Drawing.Point(230, 226);
+ this.panel5.Name = "panel5";
+ this.panel5.Size = new System.Drawing.Size(788, 424);
+ this.panel5.TabIndex = 4;
//
// label1
//
this.label1.BackColor = System.Drawing.Color.Transparent;
- this.label1.Font = new System.Drawing.Font("Times New Roman", 9.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
- this.label1.Location = new System.Drawing.Point(880, 186);
- this.label1.Margin = new System.Windows.Forms.Padding(0);
+ this.label1.Font = new System.Drawing.Font("微软雅黑", 14F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Pixel, ((byte)(134)));
+ this.label1.Location = new System.Drawing.Point(0, 20);
this.label1.Name = "label1";
- this.label1.Size = new System.Drawing.Size(20, 20);
- this.label1.TabIndex = 20;
- this.label1.Text = "1";
+ this.label1.Size = new System.Drawing.Size(224, 25);
+ this.label1.TabIndex = 0;
+ this.label1.Text = "基本信息";
this.label1.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
//
// label2
//
this.label2.BackColor = System.Drawing.Color.Transparent;
- this.label2.Font = new System.Drawing.Font("Times New Roman", 9.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
- this.label2.Location = new System.Drawing.Point(636, 187);
- this.label2.Margin = new System.Windows.Forms.Padding(0);
+ this.label2.Font = new System.Drawing.Font("微软雅黑", 14F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Pixel, ((byte)(134)));
+ this.label2.Location = new System.Drawing.Point(0, 60);
this.label2.Name = "label2";
- this.label2.Size = new System.Drawing.Size(200, 20);
- this.label2.TabIndex = 20;
- this.label2.Text = "共150条,每页5条,共100页";
- this.label2.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
+ this.label2.Size = new System.Drawing.Size(75, 25);
+ this.label2.TabIndex = 1;
+ this.label2.Text = "原子钟";
+ this.label2.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
+ //
+ // label3
+ //
+ this.label3.BackColor = System.Drawing.Color.Transparent;
+ this.label3.Font = new System.Drawing.Font("微软雅黑", 14F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Pixel, ((byte)(134)));
+ this.label3.Location = new System.Drawing.Point(0, 100);
+ this.label3.Name = "label3";
+ this.label3.Size = new System.Drawing.Size(75, 25);
+ this.label3.TabIndex = 1;
+ this.label3.Text = "接收机";
+ this.label3.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
+ //
+ // label4
+ //
+ this.label4.BackColor = System.Drawing.Color.Transparent;
+ this.label4.Font = new System.Drawing.Font("微软雅黑", 14F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Pixel, ((byte)(134)));
+ this.label4.Location = new System.Drawing.Point(0, 20);
+ this.label4.Name = "label4";
+ this.label4.Size = new System.Drawing.Size(224, 25);
+ this.label4.TabIndex = 0;
+ this.label4.Text = "时间信息";
+ this.label4.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
+ //
+ // label5
+ //
+ this.label5.BackColor = System.Drawing.Color.Transparent;
+ this.label5.Font = new System.Drawing.Font("微软雅黑", 14F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Pixel, ((byte)(134)));
+ this.label5.Location = new System.Drawing.Point(0, 60);
+ this.label5.Name = "label5";
+ this.label5.Size = new System.Drawing.Size(75, 25);
+ this.label5.TabIndex = 1;
+ this.label5.Text = "日期";
+ this.label5.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
+ //
+ // label6
+ //
+ this.label6.BackColor = System.Drawing.Color.Transparent;
+ this.label6.Font = new System.Drawing.Font("微软雅黑", 14F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Pixel, ((byte)(134)));
+ this.label6.Location = new System.Drawing.Point(0, 100);
+ this.label6.Name = "label6";
+ this.label6.Size = new System.Drawing.Size(75, 25);
+ this.label6.TabIndex = 1;
+ this.label6.Text = "时间";
+ this.label6.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
+ //
+ // label7
+ //
+ this.label7.BackColor = System.Drawing.Color.Transparent;
+ this.label7.Font = new System.Drawing.Font("微软雅黑", 14F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Pixel, ((byte)(134)));
+ this.label7.Location = new System.Drawing.Point(0, 140);
+ this.label7.Margin = new System.Windows.Forms.Padding(0);
+ this.label7.Name = "label7";
+ this.label7.Size = new System.Drawing.Size(75, 25);
+ this.label7.TabIndex = 1;
+ this.label7.Text = "MJD";
+ this.label7.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
+ //
+ // label8
+ //
+ this.label8.BackColor = System.Drawing.Color.Transparent;
+ this.label8.Font = new System.Drawing.Font("微软雅黑", 14F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Pixel, ((byte)(134)));
+ this.label8.Location = new System.Drawing.Point(0, 20);
+ this.label8.Name = "label8";
+ this.label8.Size = new System.Drawing.Size(224, 25);
+ this.label8.TabIndex = 0;
+ this.label8.Text = "位置信息";
+ this.label8.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
+ //
+ // label9
+ //
+ this.label9.BackColor = System.Drawing.Color.Transparent;
+ this.label9.Font = new System.Drawing.Font("微软雅黑", 14F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Pixel, ((byte)(134)));
+ this.label9.Location = new System.Drawing.Point(0, 60);
+ this.label9.Name = "label9";
+ this.label9.Size = new System.Drawing.Size(75, 25);
+ this.label9.TabIndex = 1;
+ this.label9.Text = "经度";
+ this.label9.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
+ //
+ // label10
+ //
+ this.label10.BackColor = System.Drawing.Color.Transparent;
+ this.label10.Font = new System.Drawing.Font("微软雅黑", 14F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Pixel, ((byte)(134)));
+ this.label10.Location = new System.Drawing.Point(0, 100);
+ this.label10.Margin = new System.Windows.Forms.Padding(0);
+ this.label10.Name = "label10";
+ this.label10.Size = new System.Drawing.Size(75, 25);
+ this.label10.TabIndex = 1;
+ this.label10.Text = "纬度";
+ this.label10.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
+ //
+ // label11
+ //
+ this.label11.BackColor = System.Drawing.Color.Transparent;
+ this.label11.Font = new System.Drawing.Font("微软雅黑", 14F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Pixel, ((byte)(134)));
+ this.label11.Location = new System.Drawing.Point(0, 140);
+ this.label11.Margin = new System.Windows.Forms.Padding(0);
+ this.label11.Name = "label11";
+ this.label11.Size = new System.Drawing.Size(75, 25);
+ this.label11.TabIndex = 1;
+ this.label11.Text = "X";
+ this.label11.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
+ //
+ // label12
+ //
+ this.label12.BackColor = System.Drawing.Color.Transparent;
+ this.label12.Font = new System.Drawing.Font("微软雅黑", 14F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Pixel, ((byte)(134)));
+ this.label12.Location = new System.Drawing.Point(0, 180);
+ this.label12.Margin = new System.Windows.Forms.Padding(0);
+ this.label12.Name = "label12";
+ this.label12.Size = new System.Drawing.Size(75, 25);
+ this.label12.TabIndex = 1;
+ this.label12.Text = "Y";
+ this.label12.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
+ //
+ // label13
+ //
+ this.label13.BackColor = System.Drawing.Color.Transparent;
+ this.label13.Font = new System.Drawing.Font("微软雅黑", 14F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Pixel, ((byte)(134)));
+ this.label13.Location = new System.Drawing.Point(0, 220);
+ this.label13.Margin = new System.Windows.Forms.Padding(0);
+ this.label13.Name = "label13";
+ this.label13.Size = new System.Drawing.Size(75, 25);
+ this.label13.TabIndex = 1;
+ this.label13.Text = "Z";
+ this.label13.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
//
// HomeCtrlForm
//
this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 12F);
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
- this.Controls.Add(this.label1);
- this.Controls.Add(this.label2);
- this.Controls.Add(this.dataGridViewX2);
- this.Controls.Add(this.panelEx4);
- this.Controls.Add(this.panelToBeTested);
+ this.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(232)))), ((int)(((byte)(234)))), ((int)(((byte)(238)))));
+ this.Controls.Add(this.panel5);
+ this.Controls.Add(this.panel4);
+ this.Controls.Add(this.panel3);
+ this.Controls.Add(this.panel2);
+ this.Controls.Add(this.panel1);
this.Margin = new System.Windows.Forms.Padding(0);
this.Name = "HomeCtrlForm";
- this.Size = new System.Drawing.Size(1000, 640);
- this.panelToBeTested.ResumeLayout(false);
- ((System.ComponentModel.ISupportInitialize)(this.dataGridViewX1)).EndInit();
- this.panelEx1.ResumeLayout(false);
- this.panelEx2.ResumeLayout(false);
- this.panelEx3.ResumeLayout(false);
- this.panelEx4.ResumeLayout(false);
- ((System.ComponentModel.ISupportInitialize)(this.dataGridViewX2)).EndInit();
+ this.Size = new System.Drawing.Size(1024, 654);
+ this.panel3.ResumeLayout(false);
+ this.panel2.ResumeLayout(false);
+ this.panel1.ResumeLayout(false);
this.ResumeLayout(false);
}
#endregion
- private System.Windows.Forms.Panel panelToBeTested;
- private DevComponents.DotNetBar.PanelEx panelEx1;
- private DevComponents.DotNetBar.LabelX labelX6;
- private DevComponents.DotNetBar.LabelX labelX5;
- private DevComponents.DotNetBar.LabelX labelX4;
- private DevComponents.DotNetBar.LabelX labelX3;
- private DevComponents.DotNetBar.LabelX labelX2;
- private DevComponents.DotNetBar.LabelX labelX1;
- private DevComponents.DotNetBar.PanelEx panelEx2;
- private DevComponents.DotNetBar.LabelX labelX7;
- private DevComponents.DotNetBar.LabelX labelX8;
- private DevComponents.DotNetBar.LabelX labelX10;
- private DevComponents.DotNetBar.LabelX labelX9;
- private DevComponents.DotNetBar.PanelEx panelEx3;
- private DevComponents.DotNetBar.LabelX labelX11;
- private DevComponents.DotNetBar.LabelX labelX13;
- private DevComponents.DotNetBar.LabelX labelX12;
- private DevComponents.DotNetBar.PanelEx panelEx4;
- private DevComponents.DotNetBar.Controls.DataGridViewX dataGridViewX1;
- private System.Windows.Forms.DataGridViewTextBoxColumn Column13;
- private System.Windows.Forms.DataGridViewTextBoxColumn Column14;
- private System.Windows.Forms.DataGridViewTextBoxColumn Column15;
- private System.Windows.Forms.DataGridViewTextBoxColumn Column16;
- private System.Windows.Forms.DataGridViewTextBoxColumn Column17;
- private DevComponents.DotNetBar.Controls.DataGridViewX dataGridViewX2;
- private System.Windows.Forms.DataGridViewTextBoxColumn Column18;
- private System.Windows.Forms.DataGridViewTextBoxColumn Column19;
- private System.Windows.Forms.DataGridViewTextBoxColumn Column20;
- private System.Windows.Forms.DataGridViewTextBoxColumn Column21;
- private System.Windows.Forms.DataGridViewTextBoxColumn Column22;
- private System.Windows.Forms.DataGridViewTextBoxColumn Column23;
- private System.Windows.Forms.DataGridViewTextBoxColumn Column24;
- private System.Windows.Forms.DataGridViewTextBoxColumn Column25;
- private System.Windows.Forms.DataGridViewTextBoxColumn Column26;
- private System.Windows.Forms.DataGridViewTextBoxColumn Column27;
- private System.Windows.Forms.DataGridViewTextBoxColumn Column28;
- private System.Windows.Forms.DataGridViewTextBoxColumn Column29;
- private DevComponents.DotNetBar.ButtonX buttonX1;
- private DevComponents.DotNetBar.ButtonX buttonX2;
+
+ private System.Windows.Forms.Panel panel1;
+ private System.Windows.Forms.Panel panel2;
+ private System.Windows.Forms.Panel panel3;
+ private System.Windows.Forms.Panel panel4;
+ private System.Windows.Forms.Panel panel5;
private System.Windows.Forms.Label label1;
private System.Windows.Forms.Label label2;
+ private System.Windows.Forms.Label label3;
+ private System.Windows.Forms.Label label4;
+ private System.Windows.Forms.Label label5;
+ private System.Windows.Forms.Label label6;
+ private System.Windows.Forms.Label label7;
+ private System.Windows.Forms.Label label8;
+ private System.Windows.Forms.Label label11;
+ private System.Windows.Forms.Label label9;
+ private System.Windows.Forms.Label label10;
+ private System.Windows.Forms.Label label12;
+ private System.Windows.Forms.Label label13;
}
}
diff --git a/RbFreqStandMeasure/HomeCtrlForm.resx b/RbFreqStandMeasure/HomeCtrlForm.resx
index 6d97f4f..1af7de1 100644
--- a/RbFreqStandMeasure/HomeCtrlForm.resx
+++ b/RbFreqStandMeasure/HomeCtrlForm.resx
@@ -117,55 +117,4 @@
System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
-
- True
-
-
- True
-
-
- True
-
-
- True
-
-
- True
-
-
- True
-
-
- True
-
-
- True
-
-
- True
-
-
- True
-
-
- True
-
-
- True
-
-
- True
-
-
- True
-
-
- True
-
-
- True
-
-
- True
-
\ No newline at end of file
diff --git a/RbFreqStandMeasure/Program.cs b/RbFreqStandMeasure/Program.cs
index 93a83e5..6150917 100644
--- a/RbFreqStandMeasure/Program.cs
+++ b/RbFreqStandMeasure/Program.cs
@@ -1,6 +1,4 @@
using System;
-using System.Collections.Generic;
-using System.Linq;
using System.Windows.Forms;
namespace Casic.Birmm.RbFreqStandMeasure
diff --git a/RbFreqStandMeasure/Properties/Resources.Designer.cs b/RbFreqStandMeasure/Properties/Resources.Designer.cs
index 253d7d7..d819a23 100644
--- a/RbFreqStandMeasure/Properties/Resources.Designer.cs
+++ b/RbFreqStandMeasure/Properties/Resources.Designer.cs
@@ -73,6 +73,56 @@
///
/// 查找 System.Drawing.Bitmap 类型的本地化资源。
///
+ internal static System.Drawing.Bitmap bg_dev_channel {
+ get {
+ object obj = ResourceManager.GetObject("bg_dev_channel", resourceCulture);
+ return ((System.Drawing.Bitmap)(obj));
+ }
+ }
+
+ ///
+ /// 查找 System.Drawing.Bitmap 类型的本地化资源。
+ ///
+ internal static System.Drawing.Bitmap bg_dev_tested {
+ get {
+ object obj = ResourceManager.GetObject("bg_dev_tested", resourceCulture);
+ return ((System.Drawing.Bitmap)(obj));
+ }
+ }
+
+ ///
+ /// 查找 System.Drawing.Bitmap 类型的本地化资源。
+ ///
+ internal static System.Drawing.Bitmap bg_status_base {
+ get {
+ object obj = ResourceManager.GetObject("bg_status_base", resourceCulture);
+ return ((System.Drawing.Bitmap)(obj));
+ }
+ }
+
+ ///
+ /// 查找 System.Drawing.Bitmap 类型的本地化资源。
+ ///
+ internal static System.Drawing.Bitmap bg_status_location {
+ get {
+ object obj = ResourceManager.GetObject("bg_status_location", resourceCulture);
+ return ((System.Drawing.Bitmap)(obj));
+ }
+ }
+
+ ///
+ /// 查找 System.Drawing.Bitmap 类型的本地化资源。
+ ///
+ internal static System.Drawing.Bitmap bg_status_time {
+ get {
+ object obj = ResourceManager.GetObject("bg_status_time", resourceCulture);
+ return ((System.Drawing.Bitmap)(obj));
+ }
+ }
+
+ ///
+ /// 查找 System.Drawing.Bitmap 类型的本地化资源。
+ ///
internal static System.Drawing.Bitmap bg_white_shadow {
get {
object obj = ResourceManager.GetObject("bg_white_shadow", resourceCulture);
@@ -83,6 +133,66 @@
///
/// 查找 System.Drawing.Bitmap 类型的本地化资源。
///
+ internal static System.Drawing.Bitmap icon_counter {
+ get {
+ object obj = ResourceManager.GetObject("icon_counter", resourceCulture);
+ return ((System.Drawing.Bitmap)(obj));
+ }
+ }
+
+ ///
+ /// 查找 System.Drawing.Bitmap 类型的本地化资源。
+ ///
+ internal static System.Drawing.Bitmap icon_counter_selected {
+ get {
+ object obj = ResourceManager.GetObject("icon_counter_selected", resourceCulture);
+ return ((System.Drawing.Bitmap)(obj));
+ }
+ }
+
+ ///
+ /// 查找 System.Drawing.Bitmap 类型的本地化资源。
+ ///
+ internal static System.Drawing.Bitmap icon_data {
+ get {
+ object obj = ResourceManager.GetObject("icon_data", resourceCulture);
+ return ((System.Drawing.Bitmap)(obj));
+ }
+ }
+
+ ///
+ /// 查找 System.Drawing.Bitmap 类型的本地化资源。
+ ///
+ internal static System.Drawing.Bitmap icon_data_selected {
+ get {
+ object obj = ResourceManager.GetObject("icon_data_selected", resourceCulture);
+ return ((System.Drawing.Bitmap)(obj));
+ }
+ }
+
+ ///
+ /// 查找 System.Drawing.Bitmap 类型的本地化资源。
+ ///
+ internal static System.Drawing.Bitmap icon_dev {
+ get {
+ object obj = ResourceManager.GetObject("icon_dev", resourceCulture);
+ return ((System.Drawing.Bitmap)(obj));
+ }
+ }
+
+ ///
+ /// 查找 System.Drawing.Bitmap 类型的本地化资源。
+ ///
+ internal static System.Drawing.Bitmap icon_dev_selected {
+ get {
+ object obj = ResourceManager.GetObject("icon_dev_selected", resourceCulture);
+ return ((System.Drawing.Bitmap)(obj));
+ }
+ }
+
+ ///
+ /// 查找 System.Drawing.Bitmap 类型的本地化资源。
+ ///
internal static System.Drawing.Bitmap icon_exit {
get {
object obj = ResourceManager.GetObject("icon_exit", resourceCulture);
@@ -113,6 +223,56 @@
///
/// 查找 System.Drawing.Bitmap 类型的本地化资源。
///
+ internal static System.Drawing.Bitmap icon_measure {
+ get {
+ object obj = ResourceManager.GetObject("icon_measure", resourceCulture);
+ return ((System.Drawing.Bitmap)(obj));
+ }
+ }
+
+ ///
+ /// 查找 System.Drawing.Bitmap 类型的本地化资源。
+ ///
+ internal static System.Drawing.Bitmap icon_measure_selected {
+ get {
+ object obj = ResourceManager.GetObject("icon_measure_selected", resourceCulture);
+ return ((System.Drawing.Bitmap)(obj));
+ }
+ }
+
+ ///
+ /// 查找 System.Drawing.Bitmap 类型的本地化资源。
+ ///
+ internal static System.Drawing.Bitmap icon_min {
+ get {
+ object obj = ResourceManager.GetObject("icon_min", resourceCulture);
+ return ((System.Drawing.Bitmap)(obj));
+ }
+ }
+
+ ///
+ /// 查找 System.Drawing.Bitmap 类型的本地化资源。
+ ///
+ internal static System.Drawing.Bitmap icon_setting {
+ get {
+ object obj = ResourceManager.GetObject("icon_setting", resourceCulture);
+ return ((System.Drawing.Bitmap)(obj));
+ }
+ }
+
+ ///
+ /// 查找 System.Drawing.Bitmap 类型的本地化资源。
+ ///
+ internal static System.Drawing.Bitmap icon_setting_selected {
+ get {
+ object obj = ResourceManager.GetObject("icon_setting_selected", resourceCulture);
+ return ((System.Drawing.Bitmap)(obj));
+ }
+ }
+
+ ///
+ /// 查找 System.Drawing.Bitmap 类型的本地化资源。
+ ///
internal static System.Drawing.Bitmap icon_status {
get {
object obj = ResourceManager.GetObject("icon_status", resourceCulture);
diff --git a/RbFreqStandMeasure/Properties/Resources.resx b/RbFreqStandMeasure/Properties/Resources.resx
index e781bb7..cfdb255 100644
--- a/RbFreqStandMeasure/Properties/Resources.resx
+++ b/RbFreqStandMeasure/Properties/Resources.resx
@@ -118,25 +118,73 @@
System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
-
- ..\res\images\icon_exit.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
+
+ ..\res\images\icon_counter_selected.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
-
- ..\res\images\bg_white_shadow.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
+
+ ..\res\images\icon_dev_selected.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
+
+
+ ..\res\images\icon_status_selected.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
+
+
+ ..\res\images\icon_data_selected.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
..\res\images\icon_home_selected.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
-
- ..\res\images\bg_banner.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
-
-
- ..\res\images\icon_home.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
+
+ ..\res\images\icon_exit.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
..\res\images\icon_status.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
-
- ..\res\images\icon_status_selected.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
+
+ ..\res\images\icon_data.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
+
+
+ ..\res\images\icon_setting.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
+
+
+ ..\res\images\icon_measure_selected.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
+
+
+ ..\res\images\bg_banner.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
+
+
+ ..\res\images\icon_setting_selected.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
+
+
+ ..\res\images\icon_dev.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
+
+
+ ..\res\images\icon_counter.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
+
+
+ ..\res\images\icon_measure.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
+
+
+ ..\res\images\icon_home.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
+
+
+ ..\res\images\bg_white_shadow.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
+
+
+ ..\res\images\icon_min.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
+
+
+ ..\res\images\bg_status_base.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
+
+
+ ..\res\images\bg_status_location.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
+
+
+ ..\res\images\bg_status_time.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
+
+
+ ..\res\images\bg_dev_channel.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
+
+
+ ..\res\images\bg_dev_tested.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
\ No newline at end of file
diff --git a/RbFreqStandMeasure/RbFreqStandMeasure.csproj b/RbFreqStandMeasure/RbFreqStandMeasure.csproj
index f5e7da9..7c12768 100644
--- a/RbFreqStandMeasure/RbFreqStandMeasure.csproj
+++ b/RbFreqStandMeasure/RbFreqStandMeasure.csproj
@@ -232,6 +232,54 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/RbFreqStandMeasure/RbFreqStdMeas.Designer.cs b/RbFreqStandMeasure/RbFreqStdMeas.Designer.cs
index 57778cf..1bd008c 100644
--- a/RbFreqStandMeasure/RbFreqStdMeas.Designer.cs
+++ b/RbFreqStandMeasure/RbFreqStdMeas.Designer.cs
@@ -30,148 +30,77 @@
private void InitializeComponent()
{
this.panMenu = new System.Windows.Forms.Panel();
+ this.penBanner = new System.Windows.Forms.Panel();
+ this.btnMinSys = new System.Windows.Forms.Button();
+ this.btnExitSys = new System.Windows.Forms.Button();
+ this.labTitle = new System.Windows.Forms.Label();
+ this.panDev = new Casic.Birmm.RbFreqStandMeasure.RoundPanel();
+ this.labDevText = new System.Windows.Forms.Label();
+ this.labDevSelected = new System.Windows.Forms.Label();
+ this.picIconDev = new System.Windows.Forms.PictureBox();
+ this.panSetting = new Casic.Birmm.RbFreqStandMeasure.RoundPanel();
+ this.labSettingSelected = new System.Windows.Forms.Label();
+ this.labSettingText = new System.Windows.Forms.Label();
+ this.picIconSetting = new System.Windows.Forms.PictureBox();
this.panStatus = new Casic.Birmm.RbFreqStandMeasure.RoundPanel();
this.labStatusText = new System.Windows.Forms.Label();
this.picIconStatus = new System.Windows.Forms.PictureBox();
+ this.labStatusSelected = new System.Windows.Forms.Label();
+ this.panData = new Casic.Birmm.RbFreqStandMeasure.RoundPanel();
+ this.labDataSelected = new System.Windows.Forms.Label();
+ this.labDataText = new System.Windows.Forms.Label();
+ this.picIconData = new System.Windows.Forms.PictureBox();
this.panHome = new Casic.Birmm.RbFreqStandMeasure.RoundPanel();
this.labHomeText = new System.Windows.Forms.Label();
this.picIconHome = new System.Windows.Forms.PictureBox();
this.labHomeSelected = new System.Windows.Forms.Label();
- this.labStatusSelected = new System.Windows.Forms.Label();
- this.penBanner = new System.Windows.Forms.Panel();
- this.btnExitSys = new System.Windows.Forms.Button();
- this.labTitle = new System.Windows.Forms.Label();
+ this.panMeasure = new Casic.Birmm.RbFreqStandMeasure.RoundPanel();
+ this.labMeasureText = new System.Windows.Forms.Label();
+ this.labMeasureSelected = new System.Windows.Forms.Label();
+ this.picIconMeasure = new System.Windows.Forms.PictureBox();
+ this.panCounter = new Casic.Birmm.RbFreqStandMeasure.RoundPanel();
+ this.labCounterSelected = new System.Windows.Forms.Label();
+ this.labCounterText = new System.Windows.Forms.Label();
+ this.picIconCounter = new System.Windows.Forms.PictureBox();
+ this.panelMain = new System.Windows.Forms.Panel();
this.panMenu.SuspendLayout();
+ this.penBanner.SuspendLayout();
+ this.panDev.SuspendLayout();
+ ((System.ComponentModel.ISupportInitialize)(this.picIconDev)).BeginInit();
+ this.panSetting.SuspendLayout();
+ ((System.ComponentModel.ISupportInitialize)(this.picIconSetting)).BeginInit();
this.panStatus.SuspendLayout();
((System.ComponentModel.ISupportInitialize)(this.picIconStatus)).BeginInit();
+ this.panData.SuspendLayout();
+ ((System.ComponentModel.ISupportInitialize)(this.picIconData)).BeginInit();
this.panHome.SuspendLayout();
((System.ComponentModel.ISupportInitialize)(this.picIconHome)).BeginInit();
- this.penBanner.SuspendLayout();
+ this.panMeasure.SuspendLayout();
+ ((System.ComponentModel.ISupportInitialize)(this.picIconMeasure)).BeginInit();
+ this.panCounter.SuspendLayout();
+ ((System.ComponentModel.ISupportInitialize)(this.picIconCounter)).BeginInit();
this.SuspendLayout();
//
// panMenu
//
this.panMenu.BackColor = System.Drawing.Color.White;
+ this.panMenu.Controls.Add(this.panDev);
+ this.panMenu.Controls.Add(this.panSetting);
this.panMenu.Controls.Add(this.panStatus);
+ this.panMenu.Controls.Add(this.panData);
this.panMenu.Controls.Add(this.panHome);
- this.panMenu.Controls.Add(this.labStatusSelected);
+ this.panMenu.Controls.Add(this.panMeasure);
+ this.panMenu.Controls.Add(this.panCounter);
this.panMenu.Location = new System.Drawing.Point(0, 64);
this.panMenu.Name = "panMenu";
this.panMenu.Size = new System.Drawing.Size(1024, 50);
this.panMenu.TabIndex = 1;
//
- // panStatus
- //
- this.panStatus.Back = System.Drawing.Color.Empty;
- this.panStatus.BackColor = System.Drawing.Color.Transparent;
- this.panStatus.Controls.Add(this.labStatusText);
- this.panStatus.Controls.Add(this.picIconStatus);
- this.panStatus.Location = new System.Drawing.Point(160, 0);
- this.panStatus.MatrixRound = 8;
- this.panStatus.Name = "panStatus";
- this.panStatus.Size = new System.Drawing.Size(130, 47);
- this.panStatus.TabIndex = 1;
- this.panStatus.Click += new System.EventHandler(this.panStatus_Click);
- this.panStatus.MouseLeave += new System.EventHandler(this.panStatus_MouseLeave);
- this.panStatus.MouseHover += new System.EventHandler(this.panStatus_MouseHover);
- //
- // labStatusText
- //
- this.labStatusText.BackColor = System.Drawing.Color.Transparent;
- this.labStatusText.Cursor = System.Windows.Forms.Cursors.Hand;
- this.labStatusText.Font = new System.Drawing.Font("微软雅黑", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
- this.labStatusText.ForeColor = System.Drawing.SystemColors.ControlText;
- this.labStatusText.Location = new System.Drawing.Point(35, 0);
- this.labStatusText.Margin = new System.Windows.Forms.Padding(0);
- this.labStatusText.Name = "labStatusText";
- this.labStatusText.Size = new System.Drawing.Size(85, 47);
- this.labStatusText.TabIndex = 2;
- this.labStatusText.Text = "基准状态";
- this.labStatusText.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
- this.labStatusText.Click += new System.EventHandler(this.panStatus_Click);
- this.labStatusText.MouseLeave += new System.EventHandler(this.panStatus_MouseLeave);
- this.labStatusText.MouseHover += new System.EventHandler(this.panStatus_MouseHover);
- //
- // picIconStatus
- //
- this.picIconStatus.BackgroundImage = global::Casic.Birmm.RbFreqStandMeasure.Properties.Resources.icon_status;
- this.picIconStatus.BackgroundImageLayout = System.Windows.Forms.ImageLayout.Zoom;
- this.picIconStatus.Location = new System.Drawing.Point(10, 11);
- this.picIconStatus.Name = "picIconStatus";
- this.picIconStatus.Size = new System.Drawing.Size(25, 25);
- this.picIconStatus.TabIndex = 1;
- this.picIconStatus.TabStop = false;
- this.picIconStatus.Click += new System.EventHandler(this.panStatus_Click);
- this.picIconStatus.MouseLeave += new System.EventHandler(this.panStatus_MouseLeave);
- this.picIconStatus.MouseHover += new System.EventHandler(this.panStatus_MouseHover);
- //
- // panHome
- //
- this.panHome.Back = System.Drawing.Color.Empty;
- this.panHome.Controls.Add(this.labHomeText);
- this.panHome.Controls.Add(this.picIconHome);
- this.panHome.Controls.Add(this.labHomeSelected);
- this.panHome.Cursor = System.Windows.Forms.Cursors.Hand;
- this.panHome.Location = new System.Drawing.Point(30, 0);
- this.panHome.MatrixRound = 8;
- this.panHome.Name = "panHome";
- this.panHome.Size = new System.Drawing.Size(100, 50);
- this.panHome.TabIndex = 0;
- this.panHome.Click += new System.EventHandler(this.panHome_Click);
- this.panHome.MouseLeave += new System.EventHandler(this.panHome_MouseLeave);
- this.panHome.MouseHover += new System.EventHandler(this.panHome_MouseHover);
- //
- // labHomeText
- //
- this.labHomeText.BackColor = System.Drawing.Color.Transparent;
- this.labHomeText.Font = new System.Drawing.Font("微软雅黑", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
- this.labHomeText.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(18)))), ((int)(((byte)(150)))), ((int)(((byte)(219)))));
- this.labHomeText.Location = new System.Drawing.Point(35, 0);
- this.labHomeText.Margin = new System.Windows.Forms.Padding(0);
- this.labHomeText.Name = "labHomeText";
- this.labHomeText.Size = new System.Drawing.Size(55, 47);
- this.labHomeText.TabIndex = 2;
- this.labHomeText.Text = "首页";
- this.labHomeText.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
- this.labHomeText.Click += new System.EventHandler(this.panHome_Click);
- this.labHomeText.MouseLeave += new System.EventHandler(this.panHome_MouseLeave);
- this.labHomeText.MouseHover += new System.EventHandler(this.panHome_MouseHover);
- //
- // picIconHome
- //
- this.picIconHome.BackColor = System.Drawing.Color.Transparent;
- this.picIconHome.BackgroundImage = global::Casic.Birmm.RbFreqStandMeasure.Properties.Resources.icon_home_selected;
- this.picIconHome.BackgroundImageLayout = System.Windows.Forms.ImageLayout.Zoom;
- this.picIconHome.Location = new System.Drawing.Point(10, 11);
- this.picIconHome.Name = "picIconHome";
- this.picIconHome.Size = new System.Drawing.Size(25, 25);
- this.picIconHome.TabIndex = 1;
- this.picIconHome.TabStop = false;
- this.picIconHome.Click += new System.EventHandler(this.panHome_Click);
- this.picIconHome.MouseLeave += new System.EventHandler(this.panHome_MouseLeave);
- this.picIconHome.MouseHover += new System.EventHandler(this.panHome_MouseHover);
- //
- // labHomeSelected
- //
- this.labHomeSelected.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(18)))), ((int)(((byte)(150)))), ((int)(((byte)(219)))));
- this.labHomeSelected.Location = new System.Drawing.Point(0, 47);
- this.labHomeSelected.Name = "labHomeSelected";
- this.labHomeSelected.Size = new System.Drawing.Size(100, 3);
- this.labHomeSelected.TabIndex = 0;
- //
- // labStatusSelected
- //
- this.labStatusSelected.BackColor = System.Drawing.Color.Transparent;
- this.labStatusSelected.Location = new System.Drawing.Point(160, 47);
- this.labStatusSelected.Margin = new System.Windows.Forms.Padding(0);
- this.labStatusSelected.Name = "labStatusSelected";
- this.labStatusSelected.Size = new System.Drawing.Size(130, 3);
- this.labStatusSelected.TabIndex = 0;
- //
// penBanner
//
this.penBanner.BackgroundImage = global::Casic.Birmm.RbFreqStandMeasure.Properties.Resources.bg_banner;
this.penBanner.BackgroundImageLayout = System.Windows.Forms.ImageLayout.Stretch;
+ this.penBanner.Controls.Add(this.btnMinSys);
this.penBanner.Controls.Add(this.btnExitSys);
this.penBanner.Controls.Add(this.labTitle);
this.penBanner.Location = new System.Drawing.Point(0, 0);
@@ -180,6 +109,23 @@
this.penBanner.TabIndex = 0;
this.penBanner.MouseDown += new System.Windows.Forms.MouseEventHandler(this.RbFreqStdMeas_MouseDown);
//
+ // btnMinSys
+ //
+ this.btnMinSys.BackColor = System.Drawing.Color.Transparent;
+ this.btnMinSys.BackgroundImage = global::Casic.Birmm.RbFreqStandMeasure.Properties.Resources.icon_min;
+ this.btnMinSys.BackgroundImageLayout = System.Windows.Forms.ImageLayout.Stretch;
+ this.btnMinSys.FlatAppearance.BorderSize = 0;
+ this.btnMinSys.FlatStyle = System.Windows.Forms.FlatStyle.Flat;
+ this.btnMinSys.ForeColor = System.Drawing.SystemColors.ControlDarkDark;
+ this.btnMinSys.Location = new System.Drawing.Point(944, 22);
+ this.btnMinSys.Margin = new System.Windows.Forms.Padding(0);
+ this.btnMinSys.Name = "btnMinSys";
+ this.btnMinSys.Size = new System.Drawing.Size(20, 20);
+ this.btnMinSys.TabIndex = 1;
+ this.btnMinSys.UseVisualStyleBackColor = false;
+ this.btnMinSys.Click += new System.EventHandler(this.btnMinSys_Click);
+ this.btnMinSys.MouseHover += new System.EventHandler(this.btnMinSys_MouseHover);
+ //
// btnExitSys
//
this.btnExitSys.BackColor = System.Drawing.Color.Transparent;
@@ -200,7 +146,7 @@
// labTitle
//
this.labTitle.BackColor = System.Drawing.Color.Transparent;
- this.labTitle.Font = new System.Drawing.Font("微软雅黑", 15.75F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
+ this.labTitle.Font = new System.Drawing.Font("微软雅黑", 20F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Pixel, ((byte)(134)));
this.labTitle.ForeColor = System.Drawing.Color.White;
this.labTitle.Location = new System.Drawing.Point(30, 16);
this.labTitle.Name = "labTitle";
@@ -209,11 +155,404 @@
this.labTitle.Text = "铷原子频标比对测量软件";
this.labTitle.TextAlign = System.Drawing.ContentAlignment.MiddleLeft;
//
+ // panDev
+ //
+ this.panDev.Back = System.Drawing.Color.Empty;
+ this.panDev.Controls.Add(this.labDevText);
+ this.panDev.Controls.Add(this.labDevSelected);
+ this.panDev.Controls.Add(this.picIconDev);
+ this.panDev.Location = new System.Drawing.Point(214, 0);
+ this.panDev.MatrixRound = 8;
+ this.panDev.Name = "panDev";
+ this.panDev.Size = new System.Drawing.Size(141, 50);
+ this.panDev.TabIndex = 2;
+ this.panDev.Click += new System.EventHandler(this.panDev_Click);
+ this.panDev.MouseLeave += new System.EventHandler(this.panDev_MouseLeave);
+ this.panDev.MouseHover += new System.EventHandler(this.panDev_MouseHover);
+ //
+ // labDevText
+ //
+ this.labDevText.BackColor = System.Drawing.Color.Transparent;
+ this.labDevText.Cursor = System.Windows.Forms.Cursors.Hand;
+ this.labDevText.Font = new System.Drawing.Font("微软雅黑", 16F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Pixel, ((byte)(134)));
+ this.labDevText.ForeColor = System.Drawing.SystemColors.ControlText;
+ this.labDevText.Location = new System.Drawing.Point(30, 14);
+ this.labDevText.Margin = new System.Windows.Forms.Padding(0);
+ this.labDevText.Name = "labDevText";
+ this.labDevText.Size = new System.Drawing.Size(106, 20);
+ this.labDevText.TabIndex = 2;
+ this.labDevText.Text = "送检仪器管理";
+ this.labDevText.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
+ this.labDevText.Click += new System.EventHandler(this.panDev_Click);
+ this.labDevText.MouseLeave += new System.EventHandler(this.panDev_MouseLeave);
+ this.labDevText.MouseHover += new System.EventHandler(this.panDev_MouseHover);
+ //
+ // labDevSelected
+ //
+ this.labDevSelected.BackColor = System.Drawing.Color.Transparent;
+ this.labDevSelected.Location = new System.Drawing.Point(8, 48);
+ this.labDevSelected.Margin = new System.Windows.Forms.Padding(0);
+ this.labDevSelected.Name = "labDevSelected";
+ this.labDevSelected.Size = new System.Drawing.Size(121, 2);
+ this.labDevSelected.TabIndex = 3;
+ //
+ // picIconDev
+ //
+ this.picIconDev.BackColor = System.Drawing.Color.Transparent;
+ this.picIconDev.BackgroundImage = global::Casic.Birmm.RbFreqStandMeasure.Properties.Resources.icon_dev;
+ this.picIconDev.BackgroundImageLayout = System.Windows.Forms.ImageLayout.Zoom;
+ this.picIconDev.Location = new System.Drawing.Point(10, 14);
+ this.picIconDev.Name = "picIconDev";
+ this.picIconDev.Size = new System.Drawing.Size(20, 20);
+ this.picIconDev.TabIndex = 1;
+ this.picIconDev.TabStop = false;
+ this.picIconDev.Click += new System.EventHandler(this.panDev_Click);
+ this.picIconDev.MouseLeave += new System.EventHandler(this.panDev_MouseLeave);
+ this.picIconDev.MouseHover += new System.EventHandler(this.panDev_MouseHover);
+ //
+ // panSetting
+ //
+ this.panSetting.Back = System.Drawing.Color.Empty;
+ this.panSetting.Controls.Add(this.labSettingSelected);
+ this.panSetting.Controls.Add(this.labSettingText);
+ this.panSetting.Controls.Add(this.picIconSetting);
+ this.panSetting.Location = new System.Drawing.Point(879, 0);
+ this.panSetting.MatrixRound = 8;
+ this.panSetting.Name = "panSetting";
+ this.panSetting.Size = new System.Drawing.Size(109, 50);
+ this.panSetting.TabIndex = 2;
+ this.panSetting.Click += new System.EventHandler(this.panSetting_Click);
+ this.panSetting.MouseLeave += new System.EventHandler(this.panSetting_MouseLeave);
+ this.panSetting.MouseHover += new System.EventHandler(this.panSetting_MouseHover);
+ //
+ // labSettingSelected
+ //
+ this.labSettingSelected.BackColor = System.Drawing.Color.Transparent;
+ this.labSettingSelected.Location = new System.Drawing.Point(10, 48);
+ this.labSettingSelected.Margin = new System.Windows.Forms.Padding(0);
+ this.labSettingSelected.Name = "labSettingSelected";
+ this.labSettingSelected.Size = new System.Drawing.Size(89, 2);
+ this.labSettingSelected.TabIndex = 4;
+ //
+ // labSettingText
+ //
+ this.labSettingText.BackColor = System.Drawing.Color.Transparent;
+ this.labSettingText.Cursor = System.Windows.Forms.Cursors.Hand;
+ this.labSettingText.Font = new System.Drawing.Font("微软雅黑", 16F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Pixel, ((byte)(134)));
+ this.labSettingText.ForeColor = System.Drawing.SystemColors.ControlText;
+ this.labSettingText.Location = new System.Drawing.Point(30, 14);
+ this.labSettingText.Margin = new System.Windows.Forms.Padding(0);
+ this.labSettingText.Name = "labSettingText";
+ this.labSettingText.Size = new System.Drawing.Size(74, 20);
+ this.labSettingText.TabIndex = 2;
+ this.labSettingText.Text = "系统设置";
+ this.labSettingText.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
+ this.labSettingText.Click += new System.EventHandler(this.panSetting_Click);
+ this.labSettingText.MouseLeave += new System.EventHandler(this.panSetting_MouseLeave);
+ this.labSettingText.MouseHover += new System.EventHandler(this.panSetting_MouseHover);
+ //
+ // picIconSetting
+ //
+ this.picIconSetting.BackColor = System.Drawing.Color.Transparent;
+ this.picIconSetting.BackgroundImage = global::Casic.Birmm.RbFreqStandMeasure.Properties.Resources.icon_setting;
+ this.picIconSetting.BackgroundImageLayout = System.Windows.Forms.ImageLayout.Zoom;
+ this.picIconSetting.Location = new System.Drawing.Point(10, 14);
+ this.picIconSetting.Name = "picIconSetting";
+ this.picIconSetting.Size = new System.Drawing.Size(20, 20);
+ this.picIconSetting.TabIndex = 1;
+ this.picIconSetting.TabStop = false;
+ this.picIconSetting.Click += new System.EventHandler(this.panSetting_Click);
+ this.picIconSetting.MouseLeave += new System.EventHandler(this.panSetting_MouseLeave);
+ this.picIconSetting.MouseHover += new System.EventHandler(this.panSetting_MouseHover);
+ //
+ // panStatus
+ //
+ this.panStatus.Back = System.Drawing.Color.Empty;
+ this.panStatus.BackColor = System.Drawing.Color.Transparent;
+ this.panStatus.Controls.Add(this.labStatusText);
+ this.panStatus.Controls.Add(this.picIconStatus);
+ this.panStatus.Controls.Add(this.labStatusSelected);
+ this.panStatus.Location = new System.Drawing.Point(101, 0);
+ this.panStatus.MatrixRound = 8;
+ this.panStatus.Name = "panStatus";
+ this.panStatus.Size = new System.Drawing.Size(109, 50);
+ this.panStatus.TabIndex = 1;
+ this.panStatus.Click += new System.EventHandler(this.panStatus_Click);
+ this.panStatus.MouseLeave += new System.EventHandler(this.panStatus_MouseLeave);
+ this.panStatus.MouseHover += new System.EventHandler(this.panStatus_MouseHover);
+ //
+ // labStatusText
+ //
+ this.labStatusText.BackColor = System.Drawing.Color.Transparent;
+ this.labStatusText.Cursor = System.Windows.Forms.Cursors.Hand;
+ this.labStatusText.Font = new System.Drawing.Font("微软雅黑", 16F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Pixel, ((byte)(134)));
+ this.labStatusText.ForeColor = System.Drawing.SystemColors.ControlText;
+ this.labStatusText.Location = new System.Drawing.Point(30, 14);
+ this.labStatusText.Margin = new System.Windows.Forms.Padding(0);
+ this.labStatusText.Name = "labStatusText";
+ this.labStatusText.Size = new System.Drawing.Size(74, 20);
+ this.labStatusText.TabIndex = 2;
+ this.labStatusText.Text = "基准状态";
+ this.labStatusText.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
+ this.labStatusText.Click += new System.EventHandler(this.panStatus_Click);
+ this.labStatusText.MouseLeave += new System.EventHandler(this.panStatus_MouseLeave);
+ this.labStatusText.MouseHover += new System.EventHandler(this.panStatus_MouseHover);
+ //
+ // picIconStatus
+ //
+ this.picIconStatus.BackgroundImage = global::Casic.Birmm.RbFreqStandMeasure.Properties.Resources.icon_status;
+ this.picIconStatus.BackgroundImageLayout = System.Windows.Forms.ImageLayout.Zoom;
+ this.picIconStatus.Location = new System.Drawing.Point(10, 14);
+ this.picIconStatus.Name = "picIconStatus";
+ this.picIconStatus.Size = new System.Drawing.Size(20, 20);
+ this.picIconStatus.TabIndex = 1;
+ this.picIconStatus.TabStop = false;
+ this.picIconStatus.Click += new System.EventHandler(this.panStatus_Click);
+ this.picIconStatus.MouseLeave += new System.EventHandler(this.panStatus_MouseLeave);
+ this.picIconStatus.MouseHover += new System.EventHandler(this.panStatus_MouseHover);
+ //
+ // labStatusSelected
+ //
+ this.labStatusSelected.BackColor = System.Drawing.Color.Transparent;
+ this.labStatusSelected.Location = new System.Drawing.Point(10, 48);
+ this.labStatusSelected.Margin = new System.Windows.Forms.Padding(0);
+ this.labStatusSelected.Name = "labStatusSelected";
+ this.labStatusSelected.Size = new System.Drawing.Size(89, 2);
+ this.labStatusSelected.TabIndex = 0;
+ //
+ // panData
+ //
+ this.panData.Back = System.Drawing.Color.Empty;
+ this.panData.Controls.Add(this.labDataSelected);
+ this.panData.Controls.Add(this.labDataText);
+ this.panData.Controls.Add(this.picIconData);
+ this.panData.Location = new System.Drawing.Point(765, 0);
+ this.panData.MatrixRound = 8;
+ this.panData.Name = "panData";
+ this.panData.Size = new System.Drawing.Size(109, 50);
+ this.panData.TabIndex = 2;
+ this.panData.Click += new System.EventHandler(this.panData_Click);
+ this.panData.MouseLeave += new System.EventHandler(this.panData_MouseLeave);
+ this.panData.MouseHover += new System.EventHandler(this.panData_MouseHover);
+ //
+ // labDataSelected
+ //
+ this.labDataSelected.BackColor = System.Drawing.Color.Transparent;
+ this.labDataSelected.Location = new System.Drawing.Point(10, 48);
+ this.labDataSelected.Margin = new System.Windows.Forms.Padding(0);
+ this.labDataSelected.Name = "labDataSelected";
+ this.labDataSelected.Size = new System.Drawing.Size(89, 2);
+ this.labDataSelected.TabIndex = 3;
+ //
+ // labDataText
+ //
+ this.labDataText.BackColor = System.Drawing.Color.Transparent;
+ this.labDataText.Cursor = System.Windows.Forms.Cursors.Hand;
+ this.labDataText.Font = new System.Drawing.Font("微软雅黑", 16F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Pixel, ((byte)(134)));
+ this.labDataText.ForeColor = System.Drawing.SystemColors.ControlText;
+ this.labDataText.Location = new System.Drawing.Point(30, 14);
+ this.labDataText.Margin = new System.Windows.Forms.Padding(0);
+ this.labDataText.Name = "labDataText";
+ this.labDataText.Size = new System.Drawing.Size(74, 20);
+ this.labDataText.TabIndex = 2;
+ this.labDataText.Text = "数据管理";
+ this.labDataText.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
+ this.labDataText.Click += new System.EventHandler(this.panData_Click);
+ this.labDataText.MouseLeave += new System.EventHandler(this.panData_MouseLeave);
+ this.labDataText.MouseHover += new System.EventHandler(this.panData_MouseHover);
+ //
+ // picIconData
+ //
+ this.picIconData.BackColor = System.Drawing.Color.Transparent;
+ this.picIconData.BackgroundImage = global::Casic.Birmm.RbFreqStandMeasure.Properties.Resources.icon_data;
+ this.picIconData.BackgroundImageLayout = System.Windows.Forms.ImageLayout.Zoom;
+ this.picIconData.Location = new System.Drawing.Point(10, 14);
+ this.picIconData.Name = "picIconData";
+ this.picIconData.Size = new System.Drawing.Size(20, 20);
+ this.picIconData.TabIndex = 1;
+ this.picIconData.TabStop = false;
+ this.picIconData.Click += new System.EventHandler(this.panData_Click);
+ this.picIconData.MouseLeave += new System.EventHandler(this.panData_MouseLeave);
+ this.picIconData.MouseHover += new System.EventHandler(this.panData_MouseHover);
+ //
+ // panHome
+ //
+ this.panHome.Back = System.Drawing.Color.Empty;
+ this.panHome.Controls.Add(this.labHomeText);
+ this.panHome.Controls.Add(this.picIconHome);
+ this.panHome.Controls.Add(this.labHomeSelected);
+ this.panHome.Cursor = System.Windows.Forms.Cursors.Hand;
+ this.panHome.Location = new System.Drawing.Point(20, 0);
+ this.panHome.MatrixRound = 8;
+ this.panHome.Name = "panHome";
+ this.panHome.Size = new System.Drawing.Size(75, 50);
+ this.panHome.TabIndex = 0;
+ this.panHome.Click += new System.EventHandler(this.panHome_Click);
+ this.panHome.MouseLeave += new System.EventHandler(this.panHome_MouseLeave);
+ this.panHome.MouseHover += new System.EventHandler(this.panHome_MouseHover);
+ //
+ // labHomeText
+ //
+ this.labHomeText.BackColor = System.Drawing.Color.Transparent;
+ this.labHomeText.Font = new System.Drawing.Font("微软雅黑", 16F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Pixel, ((byte)(134)));
+ this.labHomeText.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(18)))), ((int)(((byte)(150)))), ((int)(((byte)(219)))));
+ this.labHomeText.Location = new System.Drawing.Point(30, 14);
+ this.labHomeText.Margin = new System.Windows.Forms.Padding(0);
+ this.labHomeText.Name = "labHomeText";
+ this.labHomeText.Size = new System.Drawing.Size(42, 20);
+ this.labHomeText.TabIndex = 2;
+ this.labHomeText.Text = "首页";
+ this.labHomeText.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
+ this.labHomeText.Click += new System.EventHandler(this.panHome_Click);
+ this.labHomeText.MouseLeave += new System.EventHandler(this.panHome_MouseLeave);
+ this.labHomeText.MouseHover += new System.EventHandler(this.panHome_MouseHover);
+ //
+ // picIconHome
+ //
+ this.picIconHome.BackColor = System.Drawing.Color.Transparent;
+ this.picIconHome.BackgroundImage = global::Casic.Birmm.RbFreqStandMeasure.Properties.Resources.icon_home_selected;
+ this.picIconHome.BackgroundImageLayout = System.Windows.Forms.ImageLayout.Zoom;
+ this.picIconHome.Location = new System.Drawing.Point(10, 14);
+ this.picIconHome.Margin = new System.Windows.Forms.Padding(0);
+ this.picIconHome.Name = "picIconHome";
+ this.picIconHome.Size = new System.Drawing.Size(20, 20);
+ this.picIconHome.TabIndex = 1;
+ this.picIconHome.TabStop = false;
+ this.picIconHome.Click += new System.EventHandler(this.panHome_Click);
+ this.picIconHome.MouseLeave += new System.EventHandler(this.panHome_MouseLeave);
+ this.picIconHome.MouseHover += new System.EventHandler(this.panHome_MouseHover);
+ //
+ // labHomeSelected
+ //
+ this.labHomeSelected.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(18)))), ((int)(((byte)(150)))), ((int)(((byte)(219)))));
+ this.labHomeSelected.Location = new System.Drawing.Point(10, 48);
+ this.labHomeSelected.Name = "labHomeSelected";
+ this.labHomeSelected.Size = new System.Drawing.Size(55, 2);
+ this.labHomeSelected.TabIndex = 0;
+ //
+ // panMeasure
+ //
+ this.panMeasure.Back = System.Drawing.Color.Empty;
+ this.panMeasure.Controls.Add(this.labMeasureText);
+ this.panMeasure.Controls.Add(this.labMeasureSelected);
+ this.panMeasure.Controls.Add(this.picIconMeasure);
+ this.panMeasure.Location = new System.Drawing.Point(619, 0);
+ this.panMeasure.MatrixRound = 8;
+ this.panMeasure.Name = "panMeasure";
+ this.panMeasure.Size = new System.Drawing.Size(141, 50);
+ this.panMeasure.TabIndex = 2;
+ this.panMeasure.Click += new System.EventHandler(this.panMeasure_Click);
+ this.panMeasure.MouseLeave += new System.EventHandler(this.panMeasure_MouseLeave);
+ this.panMeasure.MouseHover += new System.EventHandler(this.panMeasure_MouseHover);
+ //
+ // labMeasureText
+ //
+ this.labMeasureText.BackColor = System.Drawing.Color.Transparent;
+ this.labMeasureText.Cursor = System.Windows.Forms.Cursors.Hand;
+ this.labMeasureText.Font = new System.Drawing.Font("微软雅黑", 16F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Pixel, ((byte)(134)));
+ this.labMeasureText.ForeColor = System.Drawing.SystemColors.ControlText;
+ this.labMeasureText.Location = new System.Drawing.Point(30, 14);
+ this.labMeasureText.Margin = new System.Windows.Forms.Padding(0);
+ this.labMeasureText.Name = "labMeasureText";
+ this.labMeasureText.Size = new System.Drawing.Size(106, 20);
+ this.labMeasureText.TabIndex = 2;
+ this.labMeasureText.Text = "计量信息管理";
+ this.labMeasureText.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
+ this.labMeasureText.Click += new System.EventHandler(this.panMeasure_Click);
+ this.labMeasureText.MouseLeave += new System.EventHandler(this.panMeasure_MouseLeave);
+ this.labMeasureText.MouseHover += new System.EventHandler(this.panMeasure_MouseHover);
+ //
+ // labMeasureSelected
+ //
+ this.labMeasureSelected.BackColor = System.Drawing.Color.Transparent;
+ this.labMeasureSelected.Location = new System.Drawing.Point(10, 48);
+ this.labMeasureSelected.Margin = new System.Windows.Forms.Padding(0);
+ this.labMeasureSelected.Name = "labMeasureSelected";
+ this.labMeasureSelected.Size = new System.Drawing.Size(121, 2);
+ this.labMeasureSelected.TabIndex = 3;
+ //
+ // picIconMeasure
+ //
+ this.picIconMeasure.BackColor = System.Drawing.Color.Transparent;
+ this.picIconMeasure.BackgroundImage = global::Casic.Birmm.RbFreqStandMeasure.Properties.Resources.icon_measure;
+ this.picIconMeasure.BackgroundImageLayout = System.Windows.Forms.ImageLayout.Zoom;
+ this.picIconMeasure.Location = new System.Drawing.Point(10, 14);
+ this.picIconMeasure.Name = "picIconMeasure";
+ this.picIconMeasure.Size = new System.Drawing.Size(20, 20);
+ this.picIconMeasure.TabIndex = 1;
+ this.picIconMeasure.TabStop = false;
+ this.picIconMeasure.Click += new System.EventHandler(this.panMeasure_Click);
+ this.picIconMeasure.MouseLeave += new System.EventHandler(this.panMeasure_MouseLeave);
+ this.picIconMeasure.MouseHover += new System.EventHandler(this.panMeasure_MouseHover);
+ //
+ // panCounter
+ //
+ this.panCounter.Back = System.Drawing.Color.Empty;
+ this.panCounter.Controls.Add(this.labCounterSelected);
+ this.panCounter.Controls.Add(this.labCounterText);
+ this.panCounter.Controls.Add(this.picIconCounter);
+ this.panCounter.Location = new System.Drawing.Point(360, 0);
+ this.panCounter.MatrixRound = 8;
+ this.panCounter.Name = "panCounter";
+ this.panCounter.Size = new System.Drawing.Size(254, 50);
+ this.panCounter.TabIndex = 2;
+ this.panCounter.Click += new System.EventHandler(this.panCounter_Click);
+ this.panCounter.MouseLeave += new System.EventHandler(this.panCounter_MouseLeave);
+ this.panCounter.MouseHover += new System.EventHandler(this.panCounter_MouseHover);
+ //
+ // labCounterSelected
+ //
+ this.labCounterSelected.BackColor = System.Drawing.Color.Transparent;
+ this.labCounterSelected.Location = new System.Drawing.Point(10, 48);
+ this.labCounterSelected.Margin = new System.Windows.Forms.Padding(0);
+ this.labCounterSelected.Name = "labCounterSelected";
+ this.labCounterSelected.Size = new System.Drawing.Size(233, 2);
+ this.labCounterSelected.TabIndex = 4;
+ //
+ // labCounterText
+ //
+ this.labCounterText.BackColor = System.Drawing.Color.Transparent;
+ this.labCounterText.Cursor = System.Windows.Forms.Cursors.Hand;
+ this.labCounterText.Font = new System.Drawing.Font("微软雅黑", 16F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Pixel, ((byte)(134)));
+ this.labCounterText.ForeColor = System.Drawing.SystemColors.ControlText;
+ this.labCounterText.Location = new System.Drawing.Point(30, 14);
+ this.labCounterText.Margin = new System.Windows.Forms.Padding(0);
+ this.labCounterText.Name = "labCounterText";
+ this.labCounterText.Size = new System.Drawing.Size(218, 20);
+ this.labCounterText.TabIndex = 2;
+ this.labCounterText.Text = "频率计数器范围及灵敏度测量";
+ this.labCounterText.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
+ this.labCounterText.Click += new System.EventHandler(this.panCounter_Click);
+ this.labCounterText.MouseLeave += new System.EventHandler(this.panCounter_MouseLeave);
+ this.labCounterText.MouseHover += new System.EventHandler(this.panCounter_MouseHover);
+ //
+ // picIconCounter
+ //
+ this.picIconCounter.BackColor = System.Drawing.Color.Transparent;
+ this.picIconCounter.BackgroundImage = global::Casic.Birmm.RbFreqStandMeasure.Properties.Resources.icon_counter;
+ this.picIconCounter.BackgroundImageLayout = System.Windows.Forms.ImageLayout.Zoom;
+ this.picIconCounter.Location = new System.Drawing.Point(10, 14);
+ this.picIconCounter.Name = "picIconCounter";
+ this.picIconCounter.Size = new System.Drawing.Size(20, 20);
+ this.picIconCounter.TabIndex = 1;
+ this.picIconCounter.TabStop = false;
+ this.picIconCounter.Click += new System.EventHandler(this.panCounter_Click);
+ this.picIconCounter.MouseLeave += new System.EventHandler(this.panCounter_MouseLeave);
+ this.picIconCounter.MouseHover += new System.EventHandler(this.panCounter_MouseHover);
+ //
+ // panelMain
+ //
+ this.panelMain.Location = new System.Drawing.Point(0, 114);
+ this.panelMain.Name = "panelMain";
+ this.panelMain.Size = new System.Drawing.Size(1024, 654);
+ this.panelMain.TabIndex = 2;
+ //
// RbFreqStdMeas
//
this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 12F);
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
this.ClientSize = new System.Drawing.Size(1024, 768);
+ this.Controls.Add(this.panelMain);
this.Controls.Add(this.panMenu);
this.Controls.Add(this.penBanner);
this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.None;
@@ -221,11 +560,21 @@
this.Text = "RbFreqStdMeas";
this.Load += new System.EventHandler(this.RbFreqStdMeas_Load);
this.panMenu.ResumeLayout(false);
+ this.penBanner.ResumeLayout(false);
+ this.panDev.ResumeLayout(false);
+ ((System.ComponentModel.ISupportInitialize)(this.picIconDev)).EndInit();
+ this.panSetting.ResumeLayout(false);
+ ((System.ComponentModel.ISupportInitialize)(this.picIconSetting)).EndInit();
this.panStatus.ResumeLayout(false);
((System.ComponentModel.ISupportInitialize)(this.picIconStatus)).EndInit();
+ this.panData.ResumeLayout(false);
+ ((System.ComponentModel.ISupportInitialize)(this.picIconData)).EndInit();
this.panHome.ResumeLayout(false);
((System.ComponentModel.ISupportInitialize)(this.picIconHome)).EndInit();
- this.penBanner.ResumeLayout(false);
+ this.panMeasure.ResumeLayout(false);
+ ((System.ComponentModel.ISupportInitialize)(this.picIconMeasure)).EndInit();
+ this.panCounter.ResumeLayout(false);
+ ((System.ComponentModel.ISupportInitialize)(this.picIconCounter)).EndInit();
this.ResumeLayout(false);
}
@@ -244,5 +593,27 @@
private RoundPanel panStatus;
private RoundPanel panHome;
private System.Windows.Forms.Label labStatusSelected;
+ private RoundPanel panDev;
+ private System.Windows.Forms.PictureBox picIconDev;
+ private System.Windows.Forms.Label labDevText;
+ private System.Windows.Forms.Label labMeasureSelected;
+ private RoundPanel panCounter;
+ private System.Windows.Forms.Label labCounterText;
+ private System.Windows.Forms.PictureBox picIconCounter;
+ private RoundPanel panMeasure;
+ private System.Windows.Forms.Label labMeasureText;
+ private System.Windows.Forms.PictureBox picIconMeasure;
+ private RoundPanel panData;
+ private System.Windows.Forms.Label labDataText;
+ private System.Windows.Forms.PictureBox picIconData;
+ private RoundPanel panSetting;
+ private System.Windows.Forms.Label labSettingText;
+ private System.Windows.Forms.PictureBox picIconSetting;
+ private System.Windows.Forms.Label labCounterSelected;
+ private System.Windows.Forms.Label labDevSelected;
+ private System.Windows.Forms.Label labDataSelected;
+ private System.Windows.Forms.Label labSettingSelected;
+ private System.Windows.Forms.Button btnMinSys;
+ private System.Windows.Forms.Panel panelMain;
}
}
\ No newline at end of file
diff --git a/RbFreqStandMeasure/RbFreqStdMeas.cs b/RbFreqStandMeasure/RbFreqStdMeas.cs
index 3858ddb..af980d7 100644
--- a/RbFreqStandMeasure/RbFreqStdMeas.cs
+++ b/RbFreqStandMeasure/RbFreqStdMeas.cs
@@ -1,13 +1,9 @@
-using Casic.Birmm.RbFreqStandMeasure.Properties;
+using Casic.Birmm.RbFreqStandMeasure.info;
+using Casic.Birmm.RbFreqStandMeasure.Properties;
+using Casic.Birmm.RbFreqStandMeasure.setting;
using System;
-using System.Collections.Generic;
-using System.ComponentModel;
-using System.Data;
using System.Drawing;
-using System.Linq;
-using System.Resources;
using System.Runtime.InteropServices;
-using System.Text;
using System.Windows.Forms;
namespace Casic.Birmm.RbFreqStandMeasure
@@ -15,7 +11,7 @@
public partial class RbFreqStdMeas : Form
{
- #region 无边框拖动效果
+ #region 无边框拖动效果/最小化窗口/关闭窗口
[DllImport("user32.dll")]//拖动无窗体的控件
public static extern bool ReleaseCapture();
[DllImport("user32.dll")]
@@ -30,9 +26,29 @@
ReleaseCapture();
SendMessage(this.Handle, WM_SYSCOMMAND, SC_MOVE + HTCAPTION, 0);
}
+ private void btnExitSys_Click(object sender, EventArgs e)
+ {
+ Application.Exit();
+ }
+ private void btnMinSys_Click(object sender, EventArgs e)
+ {
+ this.WindowState = FormWindowState.Minimized;
+ }
+ private void btnExitSys_MouseHover(object sender, EventArgs e)
+ {
+ ToolTip p = new ToolTip();
+ p.ShowAlways = true;
+ p.SetToolTip(this.btnExitSys, "退出");
+ }
+ private void btnMinSys_MouseHover(object sender, EventArgs e)
+ {
+ ToolTip p = new ToolTip();
+ p.ShowAlways = true;
+ p.SetToolTip(this.btnMinSys, "最小化");
+ }
#endregion
- private bool[] menuSelected = { true, false };
+ private bool[] menuSelected = { true, false, false, false, false, false, false };
// 按钮图标
private PictureBox[] menuPics;
// 按钮图标的资源名称(选中的资源名称在后面加上 _selected)
@@ -57,7 +73,7 @@
// 将当前按钮的效果设置为默认未选中
this.menuPics[index].BackgroundImage = (Bitmap)Resources.ResourceManager.GetObject(this.menuIconResources[index], null);
- this.menuLabels[index].ForeColor = ColorTranslator.FromHtml("#2C2C2C");
+ this.menuLabels[index].ForeColor = ColorTranslator.FromHtml("#333333");
this.menuUnderlines[index].BackColor = Color.Transparent;
}
@@ -79,13 +95,15 @@
LeaveHome();
// 重新设置所有按钮的状态
- this.menuSelected = new bool[] { true, false };
+ this.menuSelected = new bool[] { true, false, false, false, false, false, false };
// 将新选中的按钮设置为选中
this.picIconHome.BackgroundImage = (Bitmap)Resources.ResourceManager.GetObject("icon_home_selected", null);
- this.labHomeText.ForeColor = ColorTranslator.FromHtml("#1296db");
- this.labHomeSelected.BackColor = ColorTranslator.FromHtml("#1296db");
+ this.labHomeText.ForeColor = ColorTranslator.FromHtml("#3f84d7");
+ this.labHomeSelected.BackColor = ColorTranslator.FromHtml("#3f84d7");
+ // 切换至首页
+ switchMainPanel(0);
}
#endregion
@@ -107,12 +125,163 @@
LeaveStatus();
// 重新设置所有按钮的状态
- this.menuSelected = new bool[] { false, true };
+ this.menuSelected = new bool[] { false, true, false, false, false, false, false };
// 将新选中的按钮设置为选中
this.picIconStatus.BackgroundImage = (Bitmap) Resources.ResourceManager.GetObject("icon_status_selected", null);
- this.labStatusText.ForeColor = ColorTranslator.FromHtml("#1296db");
- this.labStatusSelected.BackColor = ColorTranslator.FromHtml("#1296db");
+ this.labStatusText.ForeColor = ColorTranslator.FromHtml("#3f84d7");
+ this.labStatusSelected.BackColor = ColorTranslator.FromHtml("#3f84d7");
+
+ // 切换到基准状态页面
+ switchMainPanel(1);
+ }
+ #endregion
+
+ #region 送检仪器按钮点击、移入/移出效果
+ private void HoverDev()
+ {
+ panDev.Back = ColorTranslator.FromHtml("#56a3f2");
+ }
+ private void LeaveDev()
+ {
+ panDev.Back = Color.Transparent;
+ }
+ private void SelectDev()
+ {
+ // 移除所有按钮的选中样式
+ this.ClearAllMenuSelected();
+
+ // 鼠标移入效果去掉
+ LeaveDev();
+
+ // 重新设置所有按钮的状态
+ this.menuSelected = new bool[] { false, false, true, false, false ,false ,false };
+
+ // 将新选中的按钮设置为选中
+ this.picIconDev.BackgroundImage = (Bitmap)Resources.ResourceManager.GetObject("icon_dev_selected", null);
+ this.labDevText.ForeColor = ColorTranslator.FromHtml("#3f84d7");
+ this.labDevSelected.BackColor = ColorTranslator.FromHtml("#3f84d7");
+
+ // 切换至待检仪器管理
+ switchMainPanel(2);
+ }
+ #endregion
+
+ #region 频率计数器测量点击、移入/移出效果
+ private void HoverCounter()
+ {
+ panCounter.Back = ColorTranslator.FromHtml("#56a3f2");
+ }
+ private void LeaveCounter()
+ {
+ panCounter.Back = Color.Transparent;
+ }
+ private void SelectCounter()
+ {
+ // 移除所有按钮的选中样式
+ this.ClearAllMenuSelected();
+
+ // 鼠标移入效果去掉
+ LeaveCounter();
+
+ // 重新设置所有按钮的状态
+ this.menuSelected = new bool[] { false, false, false, true, false, false, false };
+
+ // 将新选中的按钮设置为选中
+ this.picIconCounter.BackgroundImage = (Bitmap)Resources.ResourceManager.GetObject("icon_counter_selected", null);
+ this.labCounterText.ForeColor = ColorTranslator.FromHtml("#3f84d7");
+ this.labCounterSelected.BackColor = ColorTranslator.FromHtml("#3f84d7");
+ }
+ #endregion
+
+ #region 计量管理点击、移入/移出效果
+ private void HoverMeasure()
+ {
+ panMeasure.Back = ColorTranslator.FromHtml("#56a3f2");
+ }
+ private void LeaveMeasure()
+ {
+ panMeasure.Back = Color.Transparent;
+ }
+ private void SelectMeasure()
+ {
+ // 移除所有按钮的选中样式
+ this.ClearAllMenuSelected();
+
+ // 鼠标移入效果去掉
+ LeaveMeasure();
+
+ // 重新设置所有按钮的状态
+ this.menuSelected = new bool[] { false, false, false, false, true, false, false };
+
+ // 将新选中的按钮设置为选中
+ this.picIconMeasure.BackgroundImage = (Bitmap)Resources.ResourceManager.GetObject("icon_measure_selected", null);
+ this.labMeasureText.ForeColor = ColorTranslator.FromHtml("#3f84d7");
+ this.labMeasureSelected.BackColor = ColorTranslator.FromHtml("#3f84d7");
+
+ // 切换至计量信息管理
+ switchMainPanel(4);
+ }
+ #endregion
+
+ #region 数据管理点击、移入/移出效果
+ private void HoverData()
+ {
+ panData.Back = ColorTranslator.FromHtml("#56a3f2");
+ }
+ private void LeaveData()
+ {
+ panData.Back = Color.Transparent;
+ }
+ private void SelectData()
+ {
+ // 移除所有按钮的选中样式
+ this.ClearAllMenuSelected();
+
+ // 鼠标移入效果去掉
+ LeaveData();
+
+ // 重新设置所有按钮的状态
+ this.menuSelected = new bool[] { false, false, false, false, false, true, false };
+
+ // 将新选中的按钮设置为选中
+ this.picIconData.BackgroundImage = (Bitmap)Resources.ResourceManager.GetObject("icon_data_selected", null);
+ this.labDataText.ForeColor = ColorTranslator.FromHtml("#3f84d7");
+ this.labDataSelected.BackColor = ColorTranslator.FromHtml("#3f84d7");
+
+ // 弹出对话框进行数据备份与还原操作
+ DataBackupDlg dataDlg = new DataBackupDlg();
+ dataDlg.ShowDialog();
+ }
+ #endregion
+
+ #region 系统管理点击、移入/移出效果
+ private void HoverSetting()
+ {
+ panSetting.Back = ColorTranslator.FromHtml("#56a3f2");
+ }
+ private void LeaveSetting()
+ {
+ panSetting.Back = Color.Transparent;
+ }
+ private void SelectSetting()
+ {
+ // 移除所有按钮的选中样式
+ this.ClearAllMenuSelected();
+
+ // 鼠标移入效果去掉
+ LeaveSetting();
+
+ // 重新设置所有按钮的状态
+ this.menuSelected = new bool[] { false, false, false, false, false, false, true };
+
+ // 将新选中的按钮设置为选中
+ this.picIconSetting.BackgroundImage = (Bitmap)Resources.ResourceManager.GetObject("icon_setting_selected", null);
+ this.labSettingText.ForeColor = ColorTranslator.FromHtml("#3f84d7");
+ this.labSettingSelected.BackColor = ColorTranslator.FromHtml("#3f84d7");
+
+ // 切换到设置的界面
+ switchMainPanel(6);
}
#endregion
@@ -123,22 +292,13 @@
private void RbFreqStdMeas_Load(object sender, EventArgs e)
{
- this.menuPics = new PictureBox[] { this.picIconHome, this.picIconStatus };
- this.menuLabels = new Label[] { this.labHomeText, this.labStatusText };
- this.menuUnderlines = new Label[] { this.labHomeSelected, this.labStatusSelected };
- this.menuIconResources = new string[] { "icon_home", "icon_status" };
- }
+ this.menuPics = new PictureBox[] { this.picIconHome, this.picIconStatus, this.picIconDev, this.picIconCounter, this.picIconMeasure, this.picIconData, this.picIconSetting };
+ this.menuLabels = new Label[] { this.labHomeText, this.labStatusText, this.labDevText, this.labCounterText, this.labMeasureText, this.labDataText, this.labSettingText };
+ this.menuUnderlines = new Label[] { this.labHomeSelected, this.labStatusSelected, this.labDevSelected, this.labCounterSelected, this.labMeasureSelected, this.labDataSelected, this.labSettingSelected };
+ this.menuIconResources = new string[] { "icon_home", "icon_status", "icon_dev", "icon_counter", "icon_measure", "icon_data", "icon_setting" };
- private void btnExitSys_Click(object sender, EventArgs e)
- {
- Application.Exit();
- }
-
- private void btnExitSys_MouseHover(object sender, EventArgs e)
- {
- ToolTip p = new ToolTip();
- p.ShowAlways = true;
- p.SetToolTip(this.btnExitSys, "退出");
+ // 加载首页的内容
+ switchMainPanel(0);
}
private void panHome_Click(object sender, EventArgs e)
@@ -191,5 +351,169 @@
LeaveStatus();
}
}
+
+ private void panDev_Click(object sender, EventArgs e)
+ {
+ if (this.menuSelected[2] == false)
+ {
+ SelectDev();
+ }
+ }
+
+ private void panDev_MouseHover(object sender, EventArgs e)
+ {
+ if (this.menuSelected[2] == false)
+ {
+ HoverDev();
+ }
+ }
+
+ private void panDev_MouseLeave(object sender, EventArgs e)
+ {
+ if (this.menuSelected[2] == false)
+ {
+ LeaveDev();
+ }
+ }
+
+ private void panCounter_Click(object sender, EventArgs e)
+ {
+ if (this.menuSelected[3] == false)
+ {
+ SelectCounter();
+ }
+ }
+
+ private void panCounter_MouseHover(object sender, EventArgs e)
+ {
+ if (this.menuSelected[3] == false)
+ {
+ HoverCounter();
+ }
+ }
+
+ private void panCounter_MouseLeave(object sender, EventArgs e)
+ {
+ if (this.menuSelected[3] == false)
+ {
+ LeaveCounter();
+ }
+ }
+
+ private void panMeasure_Click(object sender, EventArgs e)
+ {
+ if (this.menuSelected[4] == false)
+ {
+ SelectMeasure();
+ }
+ }
+
+ private void panMeasure_MouseHover(object sender, EventArgs e)
+ {
+ if (this.menuSelected[4] == false)
+ {
+ HoverMeasure();
+ }
+ }
+
+ private void panMeasure_MouseLeave(object sender, EventArgs e)
+ {
+ if (this.menuSelected[4] == false)
+ {
+ LeaveMeasure();
+ }
+ }
+
+ private void panData_Click(object sender, EventArgs e)
+ {
+ if (this.menuSelected[5] == false)
+ {
+ SelectData();
+ }
+ }
+
+ private void panData_MouseHover(object sender, EventArgs e)
+ {
+ if (this.menuSelected[5] == false)
+ {
+ HoverData();
+ }
+ }
+
+ private void panData_MouseLeave(object sender, EventArgs e)
+ {
+ if (this.menuSelected[5] == false)
+ {
+ LeaveData();
+ }
+ }
+
+ private void panSetting_Click(object sender, EventArgs e)
+ {
+ if (this.menuSelected[6] == false)
+ {
+ SelectSetting();
+ }
+ }
+
+ private void panSetting_MouseHover(object sender, EventArgs e)
+ {
+ if (this.menuSelected[6] == false)
+ {
+ HoverSetting();
+ }
+ }
+
+ private void panSetting_MouseLeave(object sender, EventArgs e)
+ {
+ if (this.menuSelected[6] == false)
+ {
+ LeaveSetting();
+ }
+ }
+
+ private void switchMainPanel(int index)
+ {
+ this.panelMain.Controls.Clear();
+
+ switch (index)
+ {
+ case 0: // 首页
+ HomeCtrlForm home = new HomeCtrlForm();
+ home.Show();
+ this.panelMain.Controls.Add(home);
+ break;
+
+ case 1: // 基准状态
+ StatusCtrlForm statusForm = new StatusCtrlForm();
+ statusForm.Show();
+ this.panelMain.Controls.Add(statusForm);
+ break;
+
+ case 2: // 待检设备
+ InfoCtrlForm infoForm = new InfoCtrlForm();
+ infoForm.Show();
+ this.panelMain.Controls.Add(infoForm);
+ break;
+
+ case 3: // 频率计数器范围
+ break;
+
+ case 4: // 计量信息
+ DevTestedCtrlForm tested = new DevTestedCtrlForm();
+ tested.Show();
+ this.panelMain.Controls.Add(tested);
+ break;
+
+ case 6: // 设置
+ SettingCtrlForm settingForm = new SettingCtrlForm();
+ settingForm.Show();
+ this.panelMain.Controls.Add(settingForm);
+ break;
+
+ default:
+ break;
+ }
+ }
}
}
\ No newline at end of file
diff --git a/RbFreqStandMeasure/StatusCtrlForm.Designer.cs b/RbFreqStandMeasure/StatusCtrlForm.Designer.cs
index bf5071a..b4151fd 100644
--- a/RbFreqStandMeasure/StatusCtrlForm.Designer.cs
+++ b/RbFreqStandMeasure/StatusCtrlForm.Designer.cs
@@ -31,21 +31,34 @@
{
this.panelSite = new System.Windows.Forms.Panel();
this.label5 = new System.Windows.Forms.Label();
- this.panelStatus = new System.Windows.Forms.Panel();
+ this.panel3 = new System.Windows.Forms.Panel();
+ this.label8 = new System.Windows.Forms.Label();
+ this.label13 = new System.Windows.Forms.Label();
+ this.label12 = new System.Windows.Forms.Label();
+ this.label11 = new System.Windows.Forms.Label();
+ this.label9 = new System.Windows.Forms.Label();
+ this.label10 = new System.Windows.Forms.Label();
+ this.panel2 = new System.Windows.Forms.Panel();
this.label4 = new System.Windows.Forms.Label();
+ this.label7 = new System.Windows.Forms.Label();
+ this.label6 = new System.Windows.Forms.Label();
+ this.label1 = new System.Windows.Forms.Label();
+ this.panel1 = new System.Windows.Forms.Panel();
this.label3 = new System.Windows.Forms.Label();
this.label2 = new System.Windows.Forms.Label();
- this.label1 = new System.Windows.Forms.Label();
+ this.label14 = new System.Windows.Forms.Label();
this.panelSite.SuspendLayout();
- this.panelStatus.SuspendLayout();
+ this.panel3.SuspendLayout();
+ this.panel2.SuspendLayout();
+ this.panel1.SuspendLayout();
this.SuspendLayout();
//
// panelSite
//
this.panelSite.Controls.Add(this.label5);
- this.panelSite.Location = new System.Drawing.Point(200, 0);
+ this.panelSite.Location = new System.Drawing.Point(232, 0);
this.panelSite.Name = "panelSite";
- this.panelSite.Size = new System.Drawing.Size(800, 640);
+ this.panelSite.Size = new System.Drawing.Size(773, 640);
this.panelSite.TabIndex = 3;
//
// label5
@@ -57,67 +70,208 @@
this.label5.TabIndex = 0;
this.label5.Text = "卫星位置图";
//
- // panelStatus
+ // panel3
//
- this.panelStatus.BackColor = System.Drawing.SystemColors.Window;
- this.panelStatus.Controls.Add(this.label4);
- this.panelStatus.Controls.Add(this.label3);
- this.panelStatus.Controls.Add(this.label2);
- this.panelStatus.Controls.Add(this.label1);
- this.panelStatus.Location = new System.Drawing.Point(0, 0);
- this.panelStatus.Name = "panelStatus";
- this.panelStatus.Size = new System.Drawing.Size(200, 640);
- this.panelStatus.TabIndex = 2;
+ this.panel3.BackgroundImage = global::Casic.Birmm.RbFreqStandMeasure.Properties.Resources.bg_status_location;
+ this.panel3.Controls.Add(this.label8);
+ this.panel3.Controls.Add(this.label13);
+ this.panel3.Controls.Add(this.label12);
+ this.panel3.Controls.Add(this.label11);
+ this.panel3.Controls.Add(this.label9);
+ this.panel3.Controls.Add(this.label10);
+ this.panel3.Location = new System.Drawing.Point(6, 360);
+ this.panel3.Name = "panel3";
+ this.panel3.Size = new System.Drawing.Size(224, 293);
+ this.panel3.TabIndex = 6;
+ //
+ // label8
+ //
+ this.label8.BackColor = System.Drawing.Color.Transparent;
+ this.label8.Font = new System.Drawing.Font("微软雅黑", 14F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Pixel, ((byte)(134)));
+ this.label8.Location = new System.Drawing.Point(0, 20);
+ this.label8.Name = "label8";
+ this.label8.Size = new System.Drawing.Size(224, 25);
+ this.label8.TabIndex = 0;
+ this.label8.Text = "位置信息";
+ this.label8.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
+ //
+ // label13
+ //
+ this.label13.BackColor = System.Drawing.Color.Transparent;
+ this.label13.Font = new System.Drawing.Font("微软雅黑", 14F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Pixel, ((byte)(134)));
+ this.label13.Location = new System.Drawing.Point(0, 220);
+ this.label13.Margin = new System.Windows.Forms.Padding(0);
+ this.label13.Name = "label13";
+ this.label13.Size = new System.Drawing.Size(75, 25);
+ this.label13.TabIndex = 1;
+ this.label13.Text = "Z";
+ this.label13.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
+ //
+ // label12
+ //
+ this.label12.BackColor = System.Drawing.Color.Transparent;
+ this.label12.Font = new System.Drawing.Font("微软雅黑", 14F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Pixel, ((byte)(134)));
+ this.label12.Location = new System.Drawing.Point(0, 180);
+ this.label12.Margin = new System.Windows.Forms.Padding(0);
+ this.label12.Name = "label12";
+ this.label12.Size = new System.Drawing.Size(75, 25);
+ this.label12.TabIndex = 1;
+ this.label12.Text = "Y";
+ this.label12.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
+ //
+ // label11
+ //
+ this.label11.BackColor = System.Drawing.Color.Transparent;
+ this.label11.Font = new System.Drawing.Font("微软雅黑", 14F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Pixel, ((byte)(134)));
+ this.label11.Location = new System.Drawing.Point(0, 140);
+ this.label11.Margin = new System.Windows.Forms.Padding(0);
+ this.label11.Name = "label11";
+ this.label11.Size = new System.Drawing.Size(75, 25);
+ this.label11.TabIndex = 1;
+ this.label11.Text = "X";
+ this.label11.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
+ //
+ // label9
+ //
+ this.label9.BackColor = System.Drawing.Color.Transparent;
+ this.label9.Font = new System.Drawing.Font("微软雅黑", 14F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Pixel, ((byte)(134)));
+ this.label9.Location = new System.Drawing.Point(0, 60);
+ this.label9.Name = "label9";
+ this.label9.Size = new System.Drawing.Size(75, 25);
+ this.label9.TabIndex = 1;
+ this.label9.Text = "经度";
+ this.label9.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
+ //
+ // label10
+ //
+ this.label10.BackColor = System.Drawing.Color.Transparent;
+ this.label10.Font = new System.Drawing.Font("微软雅黑", 14F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Pixel, ((byte)(134)));
+ this.label10.Location = new System.Drawing.Point(0, 100);
+ this.label10.Margin = new System.Windows.Forms.Padding(0);
+ this.label10.Name = "label10";
+ this.label10.Size = new System.Drawing.Size(75, 25);
+ this.label10.TabIndex = 1;
+ this.label10.Text = "纬度";
+ this.label10.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
+ //
+ // panel2
+ //
+ this.panel2.BackgroundImage = global::Casic.Birmm.RbFreqStandMeasure.Properties.Resources.bg_status_time;
+ this.panel2.Controls.Add(this.label4);
+ this.panel2.Controls.Add(this.label7);
+ this.panel2.Controls.Add(this.label6);
+ this.panel2.Controls.Add(this.label1);
+ this.panel2.Location = new System.Drawing.Point(6, 160);
+ this.panel2.Name = "panel2";
+ this.panel2.Size = new System.Drawing.Size(224, 200);
+ this.panel2.TabIndex = 5;
//
// label4
//
- this.label4.AutoSize = true;
- this.label4.Location = new System.Drawing.Point(59, 185);
+ this.label4.BackColor = System.Drawing.Color.Transparent;
+ this.label4.Font = new System.Drawing.Font("微软雅黑", 14F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Pixel, ((byte)(134)));
+ this.label4.Location = new System.Drawing.Point(0, 20);
this.label4.Name = "label4";
- this.label4.Size = new System.Drawing.Size(53, 12);
+ this.label4.Size = new System.Drawing.Size(224, 25);
this.label4.TabIndex = 0;
- this.label4.Text = "事件信息";
+ this.label4.Text = "时间信息";
+ this.label4.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
//
- // label3
+ // label7
//
- this.label3.AutoSize = true;
- this.label3.Location = new System.Drawing.Point(59, 139);
- this.label3.Name = "label3";
- this.label3.Size = new System.Drawing.Size(53, 12);
- this.label3.TabIndex = 0;
- this.label3.Text = "位置信息";
+ this.label7.BackColor = System.Drawing.Color.Transparent;
+ this.label7.Font = new System.Drawing.Font("微软雅黑", 14F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Pixel, ((byte)(134)));
+ this.label7.Location = new System.Drawing.Point(0, 140);
+ this.label7.Margin = new System.Windows.Forms.Padding(0);
+ this.label7.Name = "label7";
+ this.label7.Size = new System.Drawing.Size(75, 25);
+ this.label7.TabIndex = 1;
+ this.label7.Text = "MJD";
+ this.label7.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
//
- // label2
+ // label6
//
- this.label2.AutoSize = true;
- this.label2.Location = new System.Drawing.Point(59, 98);
- this.label2.Name = "label2";
- this.label2.Size = new System.Drawing.Size(53, 12);
- this.label2.TabIndex = 0;
- this.label2.Text = "锁定状态";
+ this.label6.BackColor = System.Drawing.Color.Transparent;
+ this.label6.Font = new System.Drawing.Font("微软雅黑", 14F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Pixel, ((byte)(134)));
+ this.label6.Location = new System.Drawing.Point(0, 100);
+ this.label6.Name = "label6";
+ this.label6.Size = new System.Drawing.Size(75, 25);
+ this.label6.TabIndex = 1;
+ this.label6.Text = "时间";
+ this.label6.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
//
// label1
//
- this.label1.AutoSize = true;
- this.label1.Location = new System.Drawing.Point(33, 53);
+ this.label1.BackColor = System.Drawing.Color.Transparent;
+ this.label1.Font = new System.Drawing.Font("微软雅黑", 14F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Pixel, ((byte)(134)));
+ this.label1.Location = new System.Drawing.Point(0, 60);
this.label1.Name = "label1";
- this.label1.Size = new System.Drawing.Size(29, 12);
- this.label1.TabIndex = 0;
- this.label1.Text = "状态";
+ this.label1.Size = new System.Drawing.Size(75, 25);
+ this.label1.TabIndex = 1;
+ this.label1.Text = "日期";
+ this.label1.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
+ //
+ // panel1
+ //
+ this.panel1.BackgroundImage = global::Casic.Birmm.RbFreqStandMeasure.Properties.Resources.bg_status_base;
+ this.panel1.Controls.Add(this.label3);
+ this.panel1.Controls.Add(this.label2);
+ this.panel1.Controls.Add(this.label14);
+ this.panel1.Location = new System.Drawing.Point(6, 0);
+ this.panel1.Margin = new System.Windows.Forms.Padding(0);
+ this.panel1.Name = "panel1";
+ this.panel1.Size = new System.Drawing.Size(224, 160);
+ this.panel1.TabIndex = 4;
+ //
+ // label3
+ //
+ this.label3.BackColor = System.Drawing.Color.Transparent;
+ this.label3.Font = new System.Drawing.Font("微软雅黑", 14F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Pixel, ((byte)(134)));
+ this.label3.Location = new System.Drawing.Point(0, 100);
+ this.label3.Name = "label3";
+ this.label3.Size = new System.Drawing.Size(75, 25);
+ this.label3.TabIndex = 1;
+ this.label3.Text = "接收机";
+ this.label3.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
+ //
+ // label2
+ //
+ this.label2.BackColor = System.Drawing.Color.Transparent;
+ this.label2.Font = new System.Drawing.Font("微软雅黑", 14F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Pixel, ((byte)(134)));
+ this.label2.Location = new System.Drawing.Point(0, 60);
+ this.label2.Name = "label2";
+ this.label2.Size = new System.Drawing.Size(75, 25);
+ this.label2.TabIndex = 1;
+ this.label2.Text = "原子钟";
+ this.label2.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
+ //
+ // label14
+ //
+ this.label14.BackColor = System.Drawing.Color.Transparent;
+ this.label14.Font = new System.Drawing.Font("微软雅黑", 14F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Pixel, ((byte)(134)));
+ this.label14.Location = new System.Drawing.Point(0, 20);
+ this.label14.Name = "label14";
+ this.label14.Size = new System.Drawing.Size(224, 25);
+ this.label14.TabIndex = 0;
+ this.label14.Text = "基本信息";
+ this.label14.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
//
// StatusCtrlForm
//
this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 12F);
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
+ this.Controls.Add(this.panel3);
+ this.Controls.Add(this.panel2);
+ this.Controls.Add(this.panel1);
this.Controls.Add(this.panelSite);
- this.Controls.Add(this.panelStatus);
this.Margin = new System.Windows.Forms.Padding(10);
this.Name = "StatusCtrlForm";
- this.Size = new System.Drawing.Size(1000, 640);
+ this.Size = new System.Drawing.Size(1024, 654);
this.panelSite.ResumeLayout(false);
this.panelSite.PerformLayout();
- this.panelStatus.ResumeLayout(false);
- this.panelStatus.PerformLayout();
+ this.panel3.ResumeLayout(false);
+ this.panel2.ResumeLayout(false);
+ this.panel1.ResumeLayout(false);
this.ResumeLayout(false);
}
@@ -126,10 +280,21 @@
private System.Windows.Forms.Panel panelSite;
private System.Windows.Forms.Label label5;
- private System.Windows.Forms.Panel panelStatus;
+ private System.Windows.Forms.Panel panel3;
+ private System.Windows.Forms.Label label8;
+ private System.Windows.Forms.Label label13;
+ private System.Windows.Forms.Label label12;
+ private System.Windows.Forms.Label label11;
+ private System.Windows.Forms.Label label9;
+ private System.Windows.Forms.Label label10;
+ private System.Windows.Forms.Panel panel2;
private System.Windows.Forms.Label label4;
+ private System.Windows.Forms.Label label7;
+ private System.Windows.Forms.Label label6;
+ private System.Windows.Forms.Label label1;
+ private System.Windows.Forms.Panel panel1;
private System.Windows.Forms.Label label3;
private System.Windows.Forms.Label label2;
- private System.Windows.Forms.Label label1;
+ private System.Windows.Forms.Label label14;
}
}
diff --git a/RbFreqStandMeasure/res/images/bg_banner.png b/RbFreqStandMeasure/res/images/bg_banner.png
index d795b7d..3119070 100644
--- a/RbFreqStandMeasure/res/images/bg_banner.png
+++ b/RbFreqStandMeasure/res/images/bg_banner.png
Binary files differ
diff --git a/RbFreqStandMeasure/res/images/bg_dev_channel.png b/RbFreqStandMeasure/res/images/bg_dev_channel.png
new file mode 100644
index 0000000..7bac7ce
--- /dev/null
+++ b/RbFreqStandMeasure/res/images/bg_dev_channel.png
Binary files differ
diff --git a/RbFreqStandMeasure/res/images/bg_dev_tested.png b/RbFreqStandMeasure/res/images/bg_dev_tested.png
new file mode 100644
index 0000000..0b43ead
--- /dev/null
+++ b/RbFreqStandMeasure/res/images/bg_dev_tested.png
Binary files differ
diff --git a/RbFreqStandMeasure/res/images/bg_status_base.png b/RbFreqStandMeasure/res/images/bg_status_base.png
new file mode 100644
index 0000000..ef11397
--- /dev/null
+++ b/RbFreqStandMeasure/res/images/bg_status_base.png
Binary files differ
diff --git a/RbFreqStandMeasure/res/images/bg_status_location.png b/RbFreqStandMeasure/res/images/bg_status_location.png
new file mode 100644
index 0000000..64d28d5
--- /dev/null
+++ b/RbFreqStandMeasure/res/images/bg_status_location.png
Binary files differ
diff --git a/RbFreqStandMeasure/res/images/bg_status_time.png b/RbFreqStandMeasure/res/images/bg_status_time.png
new file mode 100644
index 0000000..eec981a
--- /dev/null
+++ b/RbFreqStandMeasure/res/images/bg_status_time.png
Binary files differ
diff --git a/RbFreqStandMeasure/res/images/icon_counter.png b/RbFreqStandMeasure/res/images/icon_counter.png
new file mode 100644
index 0000000..060c3d7
--- /dev/null
+++ b/RbFreqStandMeasure/res/images/icon_counter.png
Binary files differ
diff --git a/RbFreqStandMeasure/res/images/icon_counter_selected.png b/RbFreqStandMeasure/res/images/icon_counter_selected.png
new file mode 100644
index 0000000..45c7720
--- /dev/null
+++ b/RbFreqStandMeasure/res/images/icon_counter_selected.png
Binary files differ
diff --git a/RbFreqStandMeasure/res/images/icon_data.png b/RbFreqStandMeasure/res/images/icon_data.png
new file mode 100644
index 0000000..bf03575
--- /dev/null
+++ b/RbFreqStandMeasure/res/images/icon_data.png
Binary files differ
diff --git a/RbFreqStandMeasure/res/images/icon_data_selected.png b/RbFreqStandMeasure/res/images/icon_data_selected.png
new file mode 100644
index 0000000..a8aa441
--- /dev/null
+++ b/RbFreqStandMeasure/res/images/icon_data_selected.png
Binary files differ
diff --git a/RbFreqStandMeasure/res/images/icon_dev.png b/RbFreqStandMeasure/res/images/icon_dev.png
new file mode 100644
index 0000000..09bf380
--- /dev/null
+++ b/RbFreqStandMeasure/res/images/icon_dev.png
Binary files differ
diff --git a/RbFreqStandMeasure/res/images/icon_dev_selected.png b/RbFreqStandMeasure/res/images/icon_dev_selected.png
new file mode 100644
index 0000000..63a8b7c
--- /dev/null
+++ b/RbFreqStandMeasure/res/images/icon_dev_selected.png
Binary files differ
diff --git a/RbFreqStandMeasure/res/images/icon_exit.png b/RbFreqStandMeasure/res/images/icon_exit.png
index 997b9e9..a03e429 100644
--- a/RbFreqStandMeasure/res/images/icon_exit.png
+++ b/RbFreqStandMeasure/res/images/icon_exit.png
Binary files differ
diff --git a/RbFreqStandMeasure/res/images/icon_home.png b/RbFreqStandMeasure/res/images/icon_home.png
index f200f25..6409b89 100644
--- a/RbFreqStandMeasure/res/images/icon_home.png
+++ b/RbFreqStandMeasure/res/images/icon_home.png
Binary files differ
diff --git a/RbFreqStandMeasure/HomeCtrlForm.Designer.cs b/RbFreqStandMeasure/HomeCtrlForm.Designer.cs
index fb515f8..73e477a 100644
--- a/RbFreqStandMeasure/HomeCtrlForm.Designer.cs
+++ b/RbFreqStandMeasure/HomeCtrlForm.Designer.cs
@@ -29,589 +29,271 @@
///
private void InitializeComponent()
{
- System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle1 = new System.Windows.Forms.DataGridViewCellStyle();
- System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle2 = new System.Windows.Forms.DataGridViewCellStyle();
- this.panelToBeTested = new System.Windows.Forms.Panel();
- this.dataGridViewX1 = new DevComponents.DotNetBar.Controls.DataGridViewX();
- this.Column13 = new System.Windows.Forms.DataGridViewTextBoxColumn();
- this.Column14 = new System.Windows.Forms.DataGridViewTextBoxColumn();
- this.Column15 = new System.Windows.Forms.DataGridViewTextBoxColumn();
- this.Column16 = new System.Windows.Forms.DataGridViewTextBoxColumn();
- this.Column17 = new System.Windows.Forms.DataGridViewTextBoxColumn();
- this.panelEx1 = new DevComponents.DotNetBar.PanelEx();
- this.labelX6 = new DevComponents.DotNetBar.LabelX();
- this.labelX5 = new DevComponents.DotNetBar.LabelX();
- this.labelX4 = new DevComponents.DotNetBar.LabelX();
- this.labelX3 = new DevComponents.DotNetBar.LabelX();
- this.labelX2 = new DevComponents.DotNetBar.LabelX();
- this.labelX1 = new DevComponents.DotNetBar.LabelX();
- this.panelEx2 = new DevComponents.DotNetBar.PanelEx();
- this.labelX7 = new DevComponents.DotNetBar.LabelX();
- this.labelX8 = new DevComponents.DotNetBar.LabelX();
- this.labelX10 = new DevComponents.DotNetBar.LabelX();
- this.labelX9 = new DevComponents.DotNetBar.LabelX();
- this.panelEx3 = new DevComponents.DotNetBar.PanelEx();
- this.labelX11 = new DevComponents.DotNetBar.LabelX();
- this.labelX13 = new DevComponents.DotNetBar.LabelX();
- this.labelX12 = new DevComponents.DotNetBar.LabelX();
- this.panelEx4 = new DevComponents.DotNetBar.PanelEx();
- this.dataGridViewX2 = new DevComponents.DotNetBar.Controls.DataGridViewX();
- this.Column18 = new System.Windows.Forms.DataGridViewTextBoxColumn();
- this.Column19 = new System.Windows.Forms.DataGridViewTextBoxColumn();
- this.Column20 = new System.Windows.Forms.DataGridViewTextBoxColumn();
- this.Column21 = new System.Windows.Forms.DataGridViewTextBoxColumn();
- this.Column22 = new System.Windows.Forms.DataGridViewTextBoxColumn();
- this.Column23 = new System.Windows.Forms.DataGridViewTextBoxColumn();
- this.Column24 = new System.Windows.Forms.DataGridViewTextBoxColumn();
- this.Column25 = new System.Windows.Forms.DataGridViewTextBoxColumn();
- this.Column26 = new System.Windows.Forms.DataGridViewTextBoxColumn();
- this.Column27 = new System.Windows.Forms.DataGridViewTextBoxColumn();
- this.Column28 = new System.Windows.Forms.DataGridViewTextBoxColumn();
- this.Column29 = new System.Windows.Forms.DataGridViewTextBoxColumn();
- this.buttonX1 = new DevComponents.DotNetBar.ButtonX();
- this.buttonX2 = new DevComponents.DotNetBar.ButtonX();
+ this.panel3 = new System.Windows.Forms.Panel();
+ this.panel2 = new System.Windows.Forms.Panel();
+ this.panel1 = new System.Windows.Forms.Panel();
+ this.panel4 = new System.Windows.Forms.Panel();
+ this.panel5 = new System.Windows.Forms.Panel();
this.label1 = new System.Windows.Forms.Label();
this.label2 = new System.Windows.Forms.Label();
- this.panelToBeTested.SuspendLayout();
- ((System.ComponentModel.ISupportInitialize)(this.dataGridViewX1)).BeginInit();
- this.panelEx1.SuspendLayout();
- this.panelEx2.SuspendLayout();
- this.panelEx3.SuspendLayout();
- this.panelEx4.SuspendLayout();
- ((System.ComponentModel.ISupportInitialize)(this.dataGridViewX2)).BeginInit();
+ this.label3 = new System.Windows.Forms.Label();
+ this.label4 = new System.Windows.Forms.Label();
+ this.label5 = new System.Windows.Forms.Label();
+ this.label6 = new System.Windows.Forms.Label();
+ this.label7 = new System.Windows.Forms.Label();
+ this.label8 = new System.Windows.Forms.Label();
+ this.label9 = new System.Windows.Forms.Label();
+ this.label10 = new System.Windows.Forms.Label();
+ this.label11 = new System.Windows.Forms.Label();
+ this.label12 = new System.Windows.Forms.Label();
+ this.label13 = new System.Windows.Forms.Label();
+ this.panel3.SuspendLayout();
+ this.panel2.SuspendLayout();
+ this.panel1.SuspendLayout();
this.SuspendLayout();
//
- // panelToBeTested
+ // panel3
//
- this.panelToBeTested.Controls.Add(this.dataGridViewX1);
- this.panelToBeTested.Controls.Add(this.buttonX2);
- this.panelToBeTested.Controls.Add(this.buttonX1);
- this.panelToBeTested.Location = new System.Drawing.Point(250, 0);
- this.panelToBeTested.Name = "panelToBeTested";
- this.panelToBeTested.Size = new System.Drawing.Size(750, 216);
- this.panelToBeTested.TabIndex = 4;
+ this.panel3.BackgroundImage = global::Casic.Birmm.RbFreqStandMeasure.Properties.Resources.bg_status_location;
+ this.panel3.Controls.Add(this.label8);
+ this.panel3.Controls.Add(this.label13);
+ this.panel3.Controls.Add(this.label12);
+ this.panel3.Controls.Add(this.label11);
+ this.panel3.Controls.Add(this.label9);
+ this.panel3.Controls.Add(this.label10);
+ this.panel3.Location = new System.Drawing.Point(6, 360);
+ this.panel3.Name = "panel3";
+ this.panel3.Size = new System.Drawing.Size(224, 293);
+ this.panel3.TabIndex = 2;
//
- // dataGridViewX1
+ // panel2
//
- this.dataGridViewX1.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.AutoSize;
- this.dataGridViewX1.Columns.AddRange(new System.Windows.Forms.DataGridViewColumn[] {
- this.Column13,
- this.Column14,
- this.Column15,
- this.Column16,
- this.Column17});
- dataGridViewCellStyle1.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleLeft;
- dataGridViewCellStyle1.BackColor = System.Drawing.SystemColors.Window;
- dataGridViewCellStyle1.Font = new System.Drawing.Font("宋体", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
- dataGridViewCellStyle1.ForeColor = System.Drawing.SystemColors.ControlText;
- dataGridViewCellStyle1.SelectionBackColor = System.Drawing.SystemColors.Highlight;
- dataGridViewCellStyle1.SelectionForeColor = System.Drawing.SystemColors.ControlText;
- dataGridViewCellStyle1.WrapMode = System.Windows.Forms.DataGridViewTriState.False;
- this.dataGridViewX1.DefaultCellStyle = dataGridViewCellStyle1;
- this.dataGridViewX1.GridColor = System.Drawing.Color.FromArgb(((int)(((byte)(208)))), ((int)(((byte)(215)))), ((int)(((byte)(229)))));
- this.dataGridViewX1.Location = new System.Drawing.Point(0, 1);
- this.dataGridViewX1.Name = "dataGridViewX1";
- this.dataGridViewX1.RowTemplate.Height = 23;
- this.dataGridViewX1.Size = new System.Drawing.Size(750, 179);
- this.dataGridViewX1.TabIndex = 14;
+ this.panel2.BackgroundImage = global::Casic.Birmm.RbFreqStandMeasure.Properties.Resources.bg_status_time;
+ this.panel2.Controls.Add(this.label4);
+ this.panel2.Controls.Add(this.label7);
+ this.panel2.Controls.Add(this.label6);
+ this.panel2.Controls.Add(this.label5);
+ this.panel2.Location = new System.Drawing.Point(6, 160);
+ this.panel2.Name = "panel2";
+ this.panel2.Size = new System.Drawing.Size(224, 200);
+ this.panel2.TabIndex = 1;
//
- // Column13
+ // panel1
//
- this.Column13.HeaderText = "仪器名称";
- this.Column13.Name = "Column13";
+ this.panel1.BackgroundImage = global::Casic.Birmm.RbFreqStandMeasure.Properties.Resources.bg_status_base;
+ this.panel1.Controls.Add(this.label3);
+ this.panel1.Controls.Add(this.label2);
+ this.panel1.Controls.Add(this.label1);
+ this.panel1.Location = new System.Drawing.Point(6, 0);
+ this.panel1.Margin = new System.Windows.Forms.Padding(0);
+ this.panel1.Name = "panel1";
+ this.panel1.Size = new System.Drawing.Size(224, 160);
+ this.panel1.TabIndex = 0;
//
- // Column14
+ // panel4
//
- this.Column14.HeaderText = "仪器类型";
- this.Column14.Name = "Column14";
+ this.panel4.BackgroundImage = global::Casic.Birmm.RbFreqStandMeasure.Properties.Resources.bg_dev_tested;
+ this.panel4.Location = new System.Drawing.Point(230, 0);
+ this.panel4.Margin = new System.Windows.Forms.Padding(0);
+ this.panel4.Name = "panel4";
+ this.panel4.Size = new System.Drawing.Size(788, 226);
+ this.panel4.TabIndex = 3;
//
- // Column15
+ // panel5
//
- this.Column15.HeaderText = "仪器编号";
- this.Column15.Name = "Column15";
- //
- // Column16
- //
- this.Column16.HeaderText = "客户名称";
- this.Column16.Name = "Column16";
- //
- // Column17
- //
- this.Column17.HeaderText = "开始时间";
- this.Column17.Name = "Column17";
- //
- // panelEx1
- //
- this.panelEx1.CanvasColor = System.Drawing.SystemColors.Control;
- this.panelEx1.ColorSchemeStyle = DevComponents.DotNetBar.eDotNetBarStyle.StyleManagerControlled;
- this.panelEx1.Controls.Add(this.labelX6);
- this.panelEx1.Controls.Add(this.labelX5);
- this.panelEx1.Controls.Add(this.labelX4);
- this.panelEx1.Controls.Add(this.labelX3);
- this.panelEx1.Controls.Add(this.labelX2);
- this.panelEx1.Controls.Add(this.labelX1);
- this.panelEx1.DisabledBackColor = System.Drawing.Color.Empty;
- this.panelEx1.Location = new System.Drawing.Point(25, 376);
- this.panelEx1.Name = "panelEx1";
- this.panelEx1.Size = new System.Drawing.Size(200, 200);
- this.panelEx1.Style.Alignment = System.Drawing.StringAlignment.Center;
- this.panelEx1.Style.BackColor1.ColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelBackground;
- this.panelEx1.Style.BackColor2.ColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelBackground2;
- this.panelEx1.Style.Border = DevComponents.DotNetBar.eBorderType.SingleLine;
- this.panelEx1.Style.BorderColor.ColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelBorder;
- this.panelEx1.Style.ForeColor.ColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelText;
- this.panelEx1.Style.GradientAngle = 90;
- this.panelEx1.TabIndex = 10;
- //
- // labelX6
- //
- //
- //
- //
- this.labelX6.BackgroundStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square;
- this.labelX6.Location = new System.Drawing.Point(3, 153);
- this.labelX6.Name = "labelX6";
- this.labelX6.Size = new System.Drawing.Size(75, 23);
- this.labelX6.Style = DevComponents.DotNetBar.eDotNetBarStyle.Office2013;
- this.labelX6.TabIndex = 0;
- this.labelX6.Text = "Z";
- this.labelX6.TextAlignment = System.Drawing.StringAlignment.Center;
- //
- // labelX5
- //
- //
- //
- //
- this.labelX5.BackgroundStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square;
- this.labelX5.Location = new System.Drawing.Point(3, 124);
- this.labelX5.Name = "labelX5";
- this.labelX5.Size = new System.Drawing.Size(75, 23);
- this.labelX5.Style = DevComponents.DotNetBar.eDotNetBarStyle.Office2013;
- this.labelX5.TabIndex = 0;
- this.labelX5.Text = "Y";
- this.labelX5.TextAlignment = System.Drawing.StringAlignment.Center;
- //
- // labelX4
- //
- //
- //
- //
- this.labelX4.BackgroundStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square;
- this.labelX4.Location = new System.Drawing.Point(3, 95);
- this.labelX4.Name = "labelX4";
- this.labelX4.Size = new System.Drawing.Size(75, 23);
- this.labelX4.Style = DevComponents.DotNetBar.eDotNetBarStyle.Office2013;
- this.labelX4.TabIndex = 0;
- this.labelX4.Text = "X";
- this.labelX4.TextAlignment = System.Drawing.StringAlignment.Center;
- //
- // labelX3
- //
- //
- //
- //
- this.labelX3.BackgroundStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square;
- this.labelX3.Location = new System.Drawing.Point(3, 66);
- this.labelX3.Name = "labelX3";
- this.labelX3.Size = new System.Drawing.Size(75, 23);
- this.labelX3.Style = DevComponents.DotNetBar.eDotNetBarStyle.Office2013;
- this.labelX3.TabIndex = 0;
- this.labelX3.Text = "纬度";
- this.labelX3.TextAlignment = System.Drawing.StringAlignment.Center;
- //
- // labelX2
- //
- //
- //
- //
- this.labelX2.BackgroundStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square;
- this.labelX2.Location = new System.Drawing.Point(3, 37);
- this.labelX2.Name = "labelX2";
- this.labelX2.Size = new System.Drawing.Size(75, 23);
- this.labelX2.Style = DevComponents.DotNetBar.eDotNetBarStyle.Office2013;
- this.labelX2.TabIndex = 0;
- this.labelX2.Text = "经度";
- this.labelX2.TextAlignment = System.Drawing.StringAlignment.Center;
- //
- // labelX1
- //
- //
- //
- //
- this.labelX1.BackgroundStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square;
- this.labelX1.Location = new System.Drawing.Point(3, 3);
- this.labelX1.Name = "labelX1";
- this.labelX1.Size = new System.Drawing.Size(194, 23);
- this.labelX1.Style = DevComponents.DotNetBar.eDotNetBarStyle.Office2013;
- this.labelX1.TabIndex = 0;
- this.labelX1.Text = "位置信息";
- this.labelX1.TextAlignment = System.Drawing.StringAlignment.Center;
- //
- // panelEx2
- //
- this.panelEx2.CanvasColor = System.Drawing.SystemColors.Control;
- this.panelEx2.ColorSchemeStyle = DevComponents.DotNetBar.eDotNetBarStyle.StyleManagerControlled;
- this.panelEx2.Controls.Add(this.labelX7);
- this.panelEx2.Controls.Add(this.labelX8);
- this.panelEx2.Controls.Add(this.labelX10);
- this.panelEx2.Controls.Add(this.labelX9);
- this.panelEx2.DisabledBackColor = System.Drawing.Color.Empty;
- this.panelEx2.Location = new System.Drawing.Point(25, 190);
- this.panelEx2.Name = "panelEx2";
- this.panelEx2.Size = new System.Drawing.Size(200, 150);
- this.panelEx2.Style.Alignment = System.Drawing.StringAlignment.Center;
- this.panelEx2.Style.BackColor1.ColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelBackground;
- this.panelEx2.Style.BackColor2.ColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelBackground2;
- this.panelEx2.Style.Border = DevComponents.DotNetBar.eBorderType.SingleLine;
- this.panelEx2.Style.BorderColor.ColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelBorder;
- this.panelEx2.Style.ForeColor.ColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelText;
- this.panelEx2.Style.GradientAngle = 90;
- this.panelEx2.TabIndex = 10;
- //
- // labelX7
- //
- //
- //
- //
- this.labelX7.BackgroundStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square;
- this.labelX7.Location = new System.Drawing.Point(3, 3);
- this.labelX7.Name = "labelX7";
- this.labelX7.Size = new System.Drawing.Size(194, 23);
- this.labelX7.Style = DevComponents.DotNetBar.eDotNetBarStyle.Office2013;
- this.labelX7.TabIndex = 0;
- this.labelX7.Text = "时间信息";
- this.labelX7.TextAlignment = System.Drawing.StringAlignment.Center;
- //
- // labelX8
- //
- //
- //
- //
- this.labelX8.BackgroundStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square;
- this.labelX8.Location = new System.Drawing.Point(3, 41);
- this.labelX8.Name = "labelX8";
- this.labelX8.Size = new System.Drawing.Size(75, 23);
- this.labelX8.Style = DevComponents.DotNetBar.eDotNetBarStyle.Office2013;
- this.labelX8.TabIndex = 0;
- this.labelX8.Text = "日期";
- this.labelX8.TextAlignment = System.Drawing.StringAlignment.Center;
- //
- // labelX10
- //
- //
- //
- //
- this.labelX10.BackgroundStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square;
- this.labelX10.Location = new System.Drawing.Point(3, 99);
- this.labelX10.Name = "labelX10";
- this.labelX10.Size = new System.Drawing.Size(75, 23);
- this.labelX10.Style = DevComponents.DotNetBar.eDotNetBarStyle.Office2013;
- this.labelX10.TabIndex = 0;
- this.labelX10.Text = "MJD";
- this.labelX10.TextAlignment = System.Drawing.StringAlignment.Center;
- //
- // labelX9
- //
- //
- //
- //
- this.labelX9.BackgroundStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square;
- this.labelX9.Location = new System.Drawing.Point(3, 70);
- this.labelX9.Name = "labelX9";
- this.labelX9.Size = new System.Drawing.Size(75, 23);
- this.labelX9.Style = DevComponents.DotNetBar.eDotNetBarStyle.Office2013;
- this.labelX9.TabIndex = 0;
- this.labelX9.Text = "时间";
- this.labelX9.TextAlignment = System.Drawing.StringAlignment.Center;
- //
- // panelEx3
- //
- this.panelEx3.CanvasColor = System.Drawing.SystemColors.Control;
- this.panelEx3.ColorSchemeStyle = DevComponents.DotNetBar.eDotNetBarStyle.StyleManagerControlled;
- this.panelEx3.Controls.Add(this.labelX11);
- this.panelEx3.Controls.Add(this.labelX13);
- this.panelEx3.Controls.Add(this.labelX12);
- this.panelEx3.DisabledBackColor = System.Drawing.Color.Empty;
- this.panelEx3.Location = new System.Drawing.Point(25, 50);
- this.panelEx3.Name = "panelEx3";
- this.panelEx3.Size = new System.Drawing.Size(200, 100);
- this.panelEx3.Style.Alignment = System.Drawing.StringAlignment.Center;
- this.panelEx3.Style.BackColor1.ColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelBackground;
- this.panelEx3.Style.BackColor2.ColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelBackground2;
- this.panelEx3.Style.Border = DevComponents.DotNetBar.eBorderType.SingleLine;
- this.panelEx3.Style.BorderColor.ColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelBorder;
- this.panelEx3.Style.ForeColor.ColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelText;
- this.panelEx3.Style.GradientAngle = 90;
- this.panelEx3.TabIndex = 10;
- //
- // labelX11
- //
- //
- //
- //
- this.labelX11.BackgroundStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square;
- this.labelX11.Location = new System.Drawing.Point(3, 3);
- this.labelX11.Name = "labelX11";
- this.labelX11.Size = new System.Drawing.Size(194, 23);
- this.labelX11.Style = DevComponents.DotNetBar.eDotNetBarStyle.Office2013;
- this.labelX11.TabIndex = 0;
- this.labelX11.Text = "基本信息";
- this.labelX11.TextAlignment = System.Drawing.StringAlignment.Center;
- //
- // labelX13
- //
- //
- //
- //
- this.labelX13.BackgroundStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square;
- this.labelX13.Location = new System.Drawing.Point(3, 32);
- this.labelX13.Name = "labelX13";
- this.labelX13.Size = new System.Drawing.Size(75, 23);
- this.labelX13.Style = DevComponents.DotNetBar.eDotNetBarStyle.Office2013;
- this.labelX13.TabIndex = 0;
- this.labelX13.Text = "原子钟";
- this.labelX13.TextAlignment = System.Drawing.StringAlignment.Center;
- //
- // labelX12
- //
- //
- //
- //
- this.labelX12.BackgroundStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square;
- this.labelX12.Location = new System.Drawing.Point(3, 61);
- this.labelX12.Name = "labelX12";
- this.labelX12.Size = new System.Drawing.Size(75, 23);
- this.labelX12.Style = DevComponents.DotNetBar.eDotNetBarStyle.Office2013;
- this.labelX12.TabIndex = 0;
- this.labelX12.Text = "接收机";
- this.labelX12.TextAlignment = System.Drawing.StringAlignment.Center;
- //
- // panelEx4
- //
- this.panelEx4.CanvasColor = System.Drawing.SystemColors.Control;
- this.panelEx4.ColorSchemeStyle = DevComponents.DotNetBar.eDotNetBarStyle.StyleManagerControlled;
- this.panelEx4.Controls.Add(this.panelEx2);
- this.panelEx4.Controls.Add(this.panelEx1);
- this.panelEx4.Controls.Add(this.panelEx3);
- this.panelEx4.DisabledBackColor = System.Drawing.Color.Empty;
- this.panelEx4.Location = new System.Drawing.Point(0, 0);
- this.panelEx4.Name = "panelEx4";
- this.panelEx4.Size = new System.Drawing.Size(250, 640);
- this.panelEx4.Style.Alignment = System.Drawing.StringAlignment.Center;
- this.panelEx4.Style.BackColor1.ColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelBackground;
- this.panelEx4.Style.BackColor2.ColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelBackground2;
- this.panelEx4.Style.Border = DevComponents.DotNetBar.eBorderType.SingleLine;
- this.panelEx4.Style.BorderColor.ColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelBorder;
- this.panelEx4.Style.ForeColor.ColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelText;
- this.panelEx4.Style.GradientAngle = 90;
- this.panelEx4.TabIndex = 10;
- //
- // dataGridViewX2
- //
- this.dataGridViewX2.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.AutoSize;
- this.dataGridViewX2.Columns.AddRange(new System.Windows.Forms.DataGridViewColumn[] {
- this.Column18,
- this.Column19,
- this.Column20,
- this.Column21,
- this.Column22,
- this.Column23,
- this.Column24,
- this.Column25,
- this.Column26,
- this.Column27,
- this.Column28,
- this.Column29});
- dataGridViewCellStyle2.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleLeft;
- dataGridViewCellStyle2.BackColor = System.Drawing.SystemColors.Window;
- dataGridViewCellStyle2.Font = new System.Drawing.Font("宋体", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
- dataGridViewCellStyle2.ForeColor = System.Drawing.SystemColors.ControlText;
- dataGridViewCellStyle2.SelectionBackColor = System.Drawing.SystemColors.Highlight;
- dataGridViewCellStyle2.SelectionForeColor = System.Drawing.SystemColors.ControlText;
- dataGridViewCellStyle2.WrapMode = System.Windows.Forms.DataGridViewTriState.False;
- this.dataGridViewX2.DefaultCellStyle = dataGridViewCellStyle2;
- this.dataGridViewX2.GridColor = System.Drawing.Color.FromArgb(((int)(((byte)(208)))), ((int)(((byte)(215)))), ((int)(((byte)(229)))));
- this.dataGridViewX2.Location = new System.Drawing.Point(250, 216);
- this.dataGridViewX2.Name = "dataGridViewX2";
- this.dataGridViewX2.Size = new System.Drawing.Size(747, 424);
- this.dataGridViewX2.TabIndex = 15;
- //
- // Column18
- //
- this.Column18.HeaderText = "通道号";
- this.Column18.Name = "Column18";
- //
- // Column19
- //
- this.Column19.HeaderText = "当前状态";
- this.Column19.Name = "Column19";
- //
- // Column20
- //
- this.Column20.HeaderText = "仪器名称";
- this.Column20.Name = "Column20";
- //
- // Column21
- //
- this.Column21.HeaderText = "仪器编号";
- this.Column21.Name = "Column21";
- //
- // Column22
- //
- this.Column22.HeaderText = "客户名称";
- this.Column22.Name = "Column22";
- //
- // Column23
- //
- this.Column23.HeaderText = "开始时间";
- this.Column23.Name = "Column23";
- //
- // Column24
- //
- this.Column24.HeaderText = "结束时间";
- this.Column24.Name = "Column24";
- //
- // Column25
- //
- this.Column25.HeaderText = "频率稳定度";
- this.Column25.Name = "Column25";
- //
- // Column26
- //
- this.Column26.HeaderText = "频率准确度";
- this.Column26.Name = "Column26";
- //
- // Column27
- //
- this.Column27.HeaderText = "开机特性";
- this.Column27.Name = "Column27";
- //
- // Column28
- //
- this.Column28.HeaderText = "日老化率";
- this.Column28.Name = "Column28";
- //
- // Column29
- //
- this.Column29.HeaderText = "频率计数器范围及灵敏度";
- this.Column29.Name = "Column29";
- //
- // buttonX1
- //
- this.buttonX1.AccessibleRole = System.Windows.Forms.AccessibleRole.PushButton;
- this.buttonX1.BackColor = System.Drawing.Color.Transparent;
- this.buttonX1.ColorTable = DevComponents.DotNetBar.eButtonColor.OrangeWithBackground;
- this.buttonX1.Location = new System.Drawing.Point(663, 183);
- this.buttonX1.Name = "buttonX1";
- this.buttonX1.Size = new System.Drawing.Size(30, 23);
- this.buttonX1.Style = DevComponents.DotNetBar.eDotNetBarStyle.StyleManagerControlled;
- this.buttonX1.Symbol = "";
- this.buttonX1.SymbolColor = System.Drawing.Color.FromArgb(((int)(((byte)(64)))), ((int)(((byte)(64)))), ((int)(((byte)(64)))));
- this.buttonX1.SymbolSize = 8F;
- this.buttonX1.TabIndex = 19;
- //
- // buttonX2
- //
- this.buttonX2.AccessibleRole = System.Windows.Forms.AccessibleRole.PushButton;
- this.buttonX2.BackColor = System.Drawing.Color.Transparent;
- this.buttonX2.ColorTable = DevComponents.DotNetBar.eButtonColor.OrangeWithBackground;
- this.buttonX2.Location = new System.Drawing.Point(589, 184);
- this.buttonX2.Name = "buttonX2";
- this.buttonX2.Size = new System.Drawing.Size(30, 23);
- this.buttonX2.Style = DevComponents.DotNetBar.eDotNetBarStyle.StyleManagerControlled;
- this.buttonX2.Symbol = "";
- this.buttonX2.SymbolColor = System.Drawing.Color.FromArgb(((int)(((byte)(64)))), ((int)(((byte)(64)))), ((int)(((byte)(64)))));
- this.buttonX2.SymbolSize = 8F;
- this.buttonX2.TabIndex = 19;
+ this.panel5.BackgroundImage = global::Casic.Birmm.RbFreqStandMeasure.Properties.Resources.bg_dev_channel;
+ this.panel5.Location = new System.Drawing.Point(230, 226);
+ this.panel5.Name = "panel5";
+ this.panel5.Size = new System.Drawing.Size(788, 424);
+ this.panel5.TabIndex = 4;
//
// label1
//
this.label1.BackColor = System.Drawing.Color.Transparent;
- this.label1.Font = new System.Drawing.Font("Times New Roman", 9.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
- this.label1.Location = new System.Drawing.Point(880, 186);
- this.label1.Margin = new System.Windows.Forms.Padding(0);
+ this.label1.Font = new System.Drawing.Font("微软雅黑", 14F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Pixel, ((byte)(134)));
+ this.label1.Location = new System.Drawing.Point(0, 20);
this.label1.Name = "label1";
- this.label1.Size = new System.Drawing.Size(20, 20);
- this.label1.TabIndex = 20;
- this.label1.Text = "1";
+ this.label1.Size = new System.Drawing.Size(224, 25);
+ this.label1.TabIndex = 0;
+ this.label1.Text = "基本信息";
this.label1.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
//
// label2
//
this.label2.BackColor = System.Drawing.Color.Transparent;
- this.label2.Font = new System.Drawing.Font("Times New Roman", 9.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
- this.label2.Location = new System.Drawing.Point(636, 187);
- this.label2.Margin = new System.Windows.Forms.Padding(0);
+ this.label2.Font = new System.Drawing.Font("微软雅黑", 14F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Pixel, ((byte)(134)));
+ this.label2.Location = new System.Drawing.Point(0, 60);
this.label2.Name = "label2";
- this.label2.Size = new System.Drawing.Size(200, 20);
- this.label2.TabIndex = 20;
- this.label2.Text = "共150条,每页5条,共100页";
- this.label2.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
+ this.label2.Size = new System.Drawing.Size(75, 25);
+ this.label2.TabIndex = 1;
+ this.label2.Text = "原子钟";
+ this.label2.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
+ //
+ // label3
+ //
+ this.label3.BackColor = System.Drawing.Color.Transparent;
+ this.label3.Font = new System.Drawing.Font("微软雅黑", 14F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Pixel, ((byte)(134)));
+ this.label3.Location = new System.Drawing.Point(0, 100);
+ this.label3.Name = "label3";
+ this.label3.Size = new System.Drawing.Size(75, 25);
+ this.label3.TabIndex = 1;
+ this.label3.Text = "接收机";
+ this.label3.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
+ //
+ // label4
+ //
+ this.label4.BackColor = System.Drawing.Color.Transparent;
+ this.label4.Font = new System.Drawing.Font("微软雅黑", 14F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Pixel, ((byte)(134)));
+ this.label4.Location = new System.Drawing.Point(0, 20);
+ this.label4.Name = "label4";
+ this.label4.Size = new System.Drawing.Size(224, 25);
+ this.label4.TabIndex = 0;
+ this.label4.Text = "时间信息";
+ this.label4.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
+ //
+ // label5
+ //
+ this.label5.BackColor = System.Drawing.Color.Transparent;
+ this.label5.Font = new System.Drawing.Font("微软雅黑", 14F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Pixel, ((byte)(134)));
+ this.label5.Location = new System.Drawing.Point(0, 60);
+ this.label5.Name = "label5";
+ this.label5.Size = new System.Drawing.Size(75, 25);
+ this.label5.TabIndex = 1;
+ this.label5.Text = "日期";
+ this.label5.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
+ //
+ // label6
+ //
+ this.label6.BackColor = System.Drawing.Color.Transparent;
+ this.label6.Font = new System.Drawing.Font("微软雅黑", 14F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Pixel, ((byte)(134)));
+ this.label6.Location = new System.Drawing.Point(0, 100);
+ this.label6.Name = "label6";
+ this.label6.Size = new System.Drawing.Size(75, 25);
+ this.label6.TabIndex = 1;
+ this.label6.Text = "时间";
+ this.label6.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
+ //
+ // label7
+ //
+ this.label7.BackColor = System.Drawing.Color.Transparent;
+ this.label7.Font = new System.Drawing.Font("微软雅黑", 14F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Pixel, ((byte)(134)));
+ this.label7.Location = new System.Drawing.Point(0, 140);
+ this.label7.Margin = new System.Windows.Forms.Padding(0);
+ this.label7.Name = "label7";
+ this.label7.Size = new System.Drawing.Size(75, 25);
+ this.label7.TabIndex = 1;
+ this.label7.Text = "MJD";
+ this.label7.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
+ //
+ // label8
+ //
+ this.label8.BackColor = System.Drawing.Color.Transparent;
+ this.label8.Font = new System.Drawing.Font("微软雅黑", 14F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Pixel, ((byte)(134)));
+ this.label8.Location = new System.Drawing.Point(0, 20);
+ this.label8.Name = "label8";
+ this.label8.Size = new System.Drawing.Size(224, 25);
+ this.label8.TabIndex = 0;
+ this.label8.Text = "位置信息";
+ this.label8.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
+ //
+ // label9
+ //
+ this.label9.BackColor = System.Drawing.Color.Transparent;
+ this.label9.Font = new System.Drawing.Font("微软雅黑", 14F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Pixel, ((byte)(134)));
+ this.label9.Location = new System.Drawing.Point(0, 60);
+ this.label9.Name = "label9";
+ this.label9.Size = new System.Drawing.Size(75, 25);
+ this.label9.TabIndex = 1;
+ this.label9.Text = "经度";
+ this.label9.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
+ //
+ // label10
+ //
+ this.label10.BackColor = System.Drawing.Color.Transparent;
+ this.label10.Font = new System.Drawing.Font("微软雅黑", 14F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Pixel, ((byte)(134)));
+ this.label10.Location = new System.Drawing.Point(0, 100);
+ this.label10.Margin = new System.Windows.Forms.Padding(0);
+ this.label10.Name = "label10";
+ this.label10.Size = new System.Drawing.Size(75, 25);
+ this.label10.TabIndex = 1;
+ this.label10.Text = "纬度";
+ this.label10.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
+ //
+ // label11
+ //
+ this.label11.BackColor = System.Drawing.Color.Transparent;
+ this.label11.Font = new System.Drawing.Font("微软雅黑", 14F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Pixel, ((byte)(134)));
+ this.label11.Location = new System.Drawing.Point(0, 140);
+ this.label11.Margin = new System.Windows.Forms.Padding(0);
+ this.label11.Name = "label11";
+ this.label11.Size = new System.Drawing.Size(75, 25);
+ this.label11.TabIndex = 1;
+ this.label11.Text = "X";
+ this.label11.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
+ //
+ // label12
+ //
+ this.label12.BackColor = System.Drawing.Color.Transparent;
+ this.label12.Font = new System.Drawing.Font("微软雅黑", 14F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Pixel, ((byte)(134)));
+ this.label12.Location = new System.Drawing.Point(0, 180);
+ this.label12.Margin = new System.Windows.Forms.Padding(0);
+ this.label12.Name = "label12";
+ this.label12.Size = new System.Drawing.Size(75, 25);
+ this.label12.TabIndex = 1;
+ this.label12.Text = "Y";
+ this.label12.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
+ //
+ // label13
+ //
+ this.label13.BackColor = System.Drawing.Color.Transparent;
+ this.label13.Font = new System.Drawing.Font("微软雅黑", 14F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Pixel, ((byte)(134)));
+ this.label13.Location = new System.Drawing.Point(0, 220);
+ this.label13.Margin = new System.Windows.Forms.Padding(0);
+ this.label13.Name = "label13";
+ this.label13.Size = new System.Drawing.Size(75, 25);
+ this.label13.TabIndex = 1;
+ this.label13.Text = "Z";
+ this.label13.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
//
// HomeCtrlForm
//
this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 12F);
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
- this.Controls.Add(this.label1);
- this.Controls.Add(this.label2);
- this.Controls.Add(this.dataGridViewX2);
- this.Controls.Add(this.panelEx4);
- this.Controls.Add(this.panelToBeTested);
+ this.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(232)))), ((int)(((byte)(234)))), ((int)(((byte)(238)))));
+ this.Controls.Add(this.panel5);
+ this.Controls.Add(this.panel4);
+ this.Controls.Add(this.panel3);
+ this.Controls.Add(this.panel2);
+ this.Controls.Add(this.panel1);
this.Margin = new System.Windows.Forms.Padding(0);
this.Name = "HomeCtrlForm";
- this.Size = new System.Drawing.Size(1000, 640);
- this.panelToBeTested.ResumeLayout(false);
- ((System.ComponentModel.ISupportInitialize)(this.dataGridViewX1)).EndInit();
- this.panelEx1.ResumeLayout(false);
- this.panelEx2.ResumeLayout(false);
- this.panelEx3.ResumeLayout(false);
- this.panelEx4.ResumeLayout(false);
- ((System.ComponentModel.ISupportInitialize)(this.dataGridViewX2)).EndInit();
+ this.Size = new System.Drawing.Size(1024, 654);
+ this.panel3.ResumeLayout(false);
+ this.panel2.ResumeLayout(false);
+ this.panel1.ResumeLayout(false);
this.ResumeLayout(false);
}
#endregion
- private System.Windows.Forms.Panel panelToBeTested;
- private DevComponents.DotNetBar.PanelEx panelEx1;
- private DevComponents.DotNetBar.LabelX labelX6;
- private DevComponents.DotNetBar.LabelX labelX5;
- private DevComponents.DotNetBar.LabelX labelX4;
- private DevComponents.DotNetBar.LabelX labelX3;
- private DevComponents.DotNetBar.LabelX labelX2;
- private DevComponents.DotNetBar.LabelX labelX1;
- private DevComponents.DotNetBar.PanelEx panelEx2;
- private DevComponents.DotNetBar.LabelX labelX7;
- private DevComponents.DotNetBar.LabelX labelX8;
- private DevComponents.DotNetBar.LabelX labelX10;
- private DevComponents.DotNetBar.LabelX labelX9;
- private DevComponents.DotNetBar.PanelEx panelEx3;
- private DevComponents.DotNetBar.LabelX labelX11;
- private DevComponents.DotNetBar.LabelX labelX13;
- private DevComponents.DotNetBar.LabelX labelX12;
- private DevComponents.DotNetBar.PanelEx panelEx4;
- private DevComponents.DotNetBar.Controls.DataGridViewX dataGridViewX1;
- private System.Windows.Forms.DataGridViewTextBoxColumn Column13;
- private System.Windows.Forms.DataGridViewTextBoxColumn Column14;
- private System.Windows.Forms.DataGridViewTextBoxColumn Column15;
- private System.Windows.Forms.DataGridViewTextBoxColumn Column16;
- private System.Windows.Forms.DataGridViewTextBoxColumn Column17;
- private DevComponents.DotNetBar.Controls.DataGridViewX dataGridViewX2;
- private System.Windows.Forms.DataGridViewTextBoxColumn Column18;
- private System.Windows.Forms.DataGridViewTextBoxColumn Column19;
- private System.Windows.Forms.DataGridViewTextBoxColumn Column20;
- private System.Windows.Forms.DataGridViewTextBoxColumn Column21;
- private System.Windows.Forms.DataGridViewTextBoxColumn Column22;
- private System.Windows.Forms.DataGridViewTextBoxColumn Column23;
- private System.Windows.Forms.DataGridViewTextBoxColumn Column24;
- private System.Windows.Forms.DataGridViewTextBoxColumn Column25;
- private System.Windows.Forms.DataGridViewTextBoxColumn Column26;
- private System.Windows.Forms.DataGridViewTextBoxColumn Column27;
- private System.Windows.Forms.DataGridViewTextBoxColumn Column28;
- private System.Windows.Forms.DataGridViewTextBoxColumn Column29;
- private DevComponents.DotNetBar.ButtonX buttonX1;
- private DevComponents.DotNetBar.ButtonX buttonX2;
+
+ private System.Windows.Forms.Panel panel1;
+ private System.Windows.Forms.Panel panel2;
+ private System.Windows.Forms.Panel panel3;
+ private System.Windows.Forms.Panel panel4;
+ private System.Windows.Forms.Panel panel5;
private System.Windows.Forms.Label label1;
private System.Windows.Forms.Label label2;
+ private System.Windows.Forms.Label label3;
+ private System.Windows.Forms.Label label4;
+ private System.Windows.Forms.Label label5;
+ private System.Windows.Forms.Label label6;
+ private System.Windows.Forms.Label label7;
+ private System.Windows.Forms.Label label8;
+ private System.Windows.Forms.Label label11;
+ private System.Windows.Forms.Label label9;
+ private System.Windows.Forms.Label label10;
+ private System.Windows.Forms.Label label12;
+ private System.Windows.Forms.Label label13;
}
}
diff --git a/RbFreqStandMeasure/HomeCtrlForm.resx b/RbFreqStandMeasure/HomeCtrlForm.resx
index 6d97f4f..1af7de1 100644
--- a/RbFreqStandMeasure/HomeCtrlForm.resx
+++ b/RbFreqStandMeasure/HomeCtrlForm.resx
@@ -117,55 +117,4 @@
System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
-
- True
-
-
- True
-
-
- True
-
-
- True
-
-
- True
-
-
- True
-
-
- True
-
-
- True
-
-
- True
-
-
- True
-
-
- True
-
-
- True
-
-
- True
-
-
- True
-
-
- True
-
-
- True
-
-
- True
-
\ No newline at end of file
diff --git a/RbFreqStandMeasure/Program.cs b/RbFreqStandMeasure/Program.cs
index 93a83e5..6150917 100644
--- a/RbFreqStandMeasure/Program.cs
+++ b/RbFreqStandMeasure/Program.cs
@@ -1,6 +1,4 @@
using System;
-using System.Collections.Generic;
-using System.Linq;
using System.Windows.Forms;
namespace Casic.Birmm.RbFreqStandMeasure
diff --git a/RbFreqStandMeasure/Properties/Resources.Designer.cs b/RbFreqStandMeasure/Properties/Resources.Designer.cs
index 253d7d7..d819a23 100644
--- a/RbFreqStandMeasure/Properties/Resources.Designer.cs
+++ b/RbFreqStandMeasure/Properties/Resources.Designer.cs
@@ -73,6 +73,56 @@
///
/// 查找 System.Drawing.Bitmap 类型的本地化资源。
///
+ internal static System.Drawing.Bitmap bg_dev_channel {
+ get {
+ object obj = ResourceManager.GetObject("bg_dev_channel", resourceCulture);
+ return ((System.Drawing.Bitmap)(obj));
+ }
+ }
+
+ ///
+ /// 查找 System.Drawing.Bitmap 类型的本地化资源。
+ ///
+ internal static System.Drawing.Bitmap bg_dev_tested {
+ get {
+ object obj = ResourceManager.GetObject("bg_dev_tested", resourceCulture);
+ return ((System.Drawing.Bitmap)(obj));
+ }
+ }
+
+ ///
+ /// 查找 System.Drawing.Bitmap 类型的本地化资源。
+ ///
+ internal static System.Drawing.Bitmap bg_status_base {
+ get {
+ object obj = ResourceManager.GetObject("bg_status_base", resourceCulture);
+ return ((System.Drawing.Bitmap)(obj));
+ }
+ }
+
+ ///
+ /// 查找 System.Drawing.Bitmap 类型的本地化资源。
+ ///
+ internal static System.Drawing.Bitmap bg_status_location {
+ get {
+ object obj = ResourceManager.GetObject("bg_status_location", resourceCulture);
+ return ((System.Drawing.Bitmap)(obj));
+ }
+ }
+
+ ///
+ /// 查找 System.Drawing.Bitmap 类型的本地化资源。
+ ///
+ internal static System.Drawing.Bitmap bg_status_time {
+ get {
+ object obj = ResourceManager.GetObject("bg_status_time", resourceCulture);
+ return ((System.Drawing.Bitmap)(obj));
+ }
+ }
+
+ ///
+ /// 查找 System.Drawing.Bitmap 类型的本地化资源。
+ ///
internal static System.Drawing.Bitmap bg_white_shadow {
get {
object obj = ResourceManager.GetObject("bg_white_shadow", resourceCulture);
@@ -83,6 +133,66 @@
///
/// 查找 System.Drawing.Bitmap 类型的本地化资源。
///
+ internal static System.Drawing.Bitmap icon_counter {
+ get {
+ object obj = ResourceManager.GetObject("icon_counter", resourceCulture);
+ return ((System.Drawing.Bitmap)(obj));
+ }
+ }
+
+ ///
+ /// 查找 System.Drawing.Bitmap 类型的本地化资源。
+ ///
+ internal static System.Drawing.Bitmap icon_counter_selected {
+ get {
+ object obj = ResourceManager.GetObject("icon_counter_selected", resourceCulture);
+ return ((System.Drawing.Bitmap)(obj));
+ }
+ }
+
+ ///
+ /// 查找 System.Drawing.Bitmap 类型的本地化资源。
+ ///
+ internal static System.Drawing.Bitmap icon_data {
+ get {
+ object obj = ResourceManager.GetObject("icon_data", resourceCulture);
+ return ((System.Drawing.Bitmap)(obj));
+ }
+ }
+
+ ///
+ /// 查找 System.Drawing.Bitmap 类型的本地化资源。
+ ///
+ internal static System.Drawing.Bitmap icon_data_selected {
+ get {
+ object obj = ResourceManager.GetObject("icon_data_selected", resourceCulture);
+ return ((System.Drawing.Bitmap)(obj));
+ }
+ }
+
+ ///
+ /// 查找 System.Drawing.Bitmap 类型的本地化资源。
+ ///
+ internal static System.Drawing.Bitmap icon_dev {
+ get {
+ object obj = ResourceManager.GetObject("icon_dev", resourceCulture);
+ return ((System.Drawing.Bitmap)(obj));
+ }
+ }
+
+ ///
+ /// 查找 System.Drawing.Bitmap 类型的本地化资源。
+ ///
+ internal static System.Drawing.Bitmap icon_dev_selected {
+ get {
+ object obj = ResourceManager.GetObject("icon_dev_selected", resourceCulture);
+ return ((System.Drawing.Bitmap)(obj));
+ }
+ }
+
+ ///
+ /// 查找 System.Drawing.Bitmap 类型的本地化资源。
+ ///
internal static System.Drawing.Bitmap icon_exit {
get {
object obj = ResourceManager.GetObject("icon_exit", resourceCulture);
@@ -113,6 +223,56 @@
///
/// 查找 System.Drawing.Bitmap 类型的本地化资源。
///
+ internal static System.Drawing.Bitmap icon_measure {
+ get {
+ object obj = ResourceManager.GetObject("icon_measure", resourceCulture);
+ return ((System.Drawing.Bitmap)(obj));
+ }
+ }
+
+ ///
+ /// 查找 System.Drawing.Bitmap 类型的本地化资源。
+ ///
+ internal static System.Drawing.Bitmap icon_measure_selected {
+ get {
+ object obj = ResourceManager.GetObject("icon_measure_selected", resourceCulture);
+ return ((System.Drawing.Bitmap)(obj));
+ }
+ }
+
+ ///
+ /// 查找 System.Drawing.Bitmap 类型的本地化资源。
+ ///
+ internal static System.Drawing.Bitmap icon_min {
+ get {
+ object obj = ResourceManager.GetObject("icon_min", resourceCulture);
+ return ((System.Drawing.Bitmap)(obj));
+ }
+ }
+
+ ///
+ /// 查找 System.Drawing.Bitmap 类型的本地化资源。
+ ///
+ internal static System.Drawing.Bitmap icon_setting {
+ get {
+ object obj = ResourceManager.GetObject("icon_setting", resourceCulture);
+ return ((System.Drawing.Bitmap)(obj));
+ }
+ }
+
+ ///
+ /// 查找 System.Drawing.Bitmap 类型的本地化资源。
+ ///
+ internal static System.Drawing.Bitmap icon_setting_selected {
+ get {
+ object obj = ResourceManager.GetObject("icon_setting_selected", resourceCulture);
+ return ((System.Drawing.Bitmap)(obj));
+ }
+ }
+
+ ///
+ /// 查找 System.Drawing.Bitmap 类型的本地化资源。
+ ///
internal static System.Drawing.Bitmap icon_status {
get {
object obj = ResourceManager.GetObject("icon_status", resourceCulture);
diff --git a/RbFreqStandMeasure/Properties/Resources.resx b/RbFreqStandMeasure/Properties/Resources.resx
index e781bb7..cfdb255 100644
--- a/RbFreqStandMeasure/Properties/Resources.resx
+++ b/RbFreqStandMeasure/Properties/Resources.resx
@@ -118,25 +118,73 @@
System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
-
- ..\res\images\icon_exit.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
+
+ ..\res\images\icon_counter_selected.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
-
- ..\res\images\bg_white_shadow.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
+
+ ..\res\images\icon_dev_selected.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
+
+
+ ..\res\images\icon_status_selected.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
+
+
+ ..\res\images\icon_data_selected.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
..\res\images\icon_home_selected.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
-
- ..\res\images\bg_banner.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
-
-
- ..\res\images\icon_home.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
+
+ ..\res\images\icon_exit.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
..\res\images\icon_status.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
-
- ..\res\images\icon_status_selected.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
+
+ ..\res\images\icon_data.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
+
+
+ ..\res\images\icon_setting.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
+
+
+ ..\res\images\icon_measure_selected.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
+
+
+ ..\res\images\bg_banner.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
+
+
+ ..\res\images\icon_setting_selected.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
+
+
+ ..\res\images\icon_dev.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
+
+
+ ..\res\images\icon_counter.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
+
+
+ ..\res\images\icon_measure.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
+
+
+ ..\res\images\icon_home.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
+
+
+ ..\res\images\bg_white_shadow.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
+
+
+ ..\res\images\icon_min.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
+
+
+ ..\res\images\bg_status_base.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
+
+
+ ..\res\images\bg_status_location.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
+
+
+ ..\res\images\bg_status_time.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
+
+
+ ..\res\images\bg_dev_channel.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
+
+
+ ..\res\images\bg_dev_tested.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
\ No newline at end of file
diff --git a/RbFreqStandMeasure/RbFreqStandMeasure.csproj b/RbFreqStandMeasure/RbFreqStandMeasure.csproj
index f5e7da9..7c12768 100644
--- a/RbFreqStandMeasure/RbFreqStandMeasure.csproj
+++ b/RbFreqStandMeasure/RbFreqStandMeasure.csproj
@@ -232,6 +232,54 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/RbFreqStandMeasure/RbFreqStdMeas.Designer.cs b/RbFreqStandMeasure/RbFreqStdMeas.Designer.cs
index 57778cf..1bd008c 100644
--- a/RbFreqStandMeasure/RbFreqStdMeas.Designer.cs
+++ b/RbFreqStandMeasure/RbFreqStdMeas.Designer.cs
@@ -30,148 +30,77 @@
private void InitializeComponent()
{
this.panMenu = new System.Windows.Forms.Panel();
+ this.penBanner = new System.Windows.Forms.Panel();
+ this.btnMinSys = new System.Windows.Forms.Button();
+ this.btnExitSys = new System.Windows.Forms.Button();
+ this.labTitle = new System.Windows.Forms.Label();
+ this.panDev = new Casic.Birmm.RbFreqStandMeasure.RoundPanel();
+ this.labDevText = new System.Windows.Forms.Label();
+ this.labDevSelected = new System.Windows.Forms.Label();
+ this.picIconDev = new System.Windows.Forms.PictureBox();
+ this.panSetting = new Casic.Birmm.RbFreqStandMeasure.RoundPanel();
+ this.labSettingSelected = new System.Windows.Forms.Label();
+ this.labSettingText = new System.Windows.Forms.Label();
+ this.picIconSetting = new System.Windows.Forms.PictureBox();
this.panStatus = new Casic.Birmm.RbFreqStandMeasure.RoundPanel();
this.labStatusText = new System.Windows.Forms.Label();
this.picIconStatus = new System.Windows.Forms.PictureBox();
+ this.labStatusSelected = new System.Windows.Forms.Label();
+ this.panData = new Casic.Birmm.RbFreqStandMeasure.RoundPanel();
+ this.labDataSelected = new System.Windows.Forms.Label();
+ this.labDataText = new System.Windows.Forms.Label();
+ this.picIconData = new System.Windows.Forms.PictureBox();
this.panHome = new Casic.Birmm.RbFreqStandMeasure.RoundPanel();
this.labHomeText = new System.Windows.Forms.Label();
this.picIconHome = new System.Windows.Forms.PictureBox();
this.labHomeSelected = new System.Windows.Forms.Label();
- this.labStatusSelected = new System.Windows.Forms.Label();
- this.penBanner = new System.Windows.Forms.Panel();
- this.btnExitSys = new System.Windows.Forms.Button();
- this.labTitle = new System.Windows.Forms.Label();
+ this.panMeasure = new Casic.Birmm.RbFreqStandMeasure.RoundPanel();
+ this.labMeasureText = new System.Windows.Forms.Label();
+ this.labMeasureSelected = new System.Windows.Forms.Label();
+ this.picIconMeasure = new System.Windows.Forms.PictureBox();
+ this.panCounter = new Casic.Birmm.RbFreqStandMeasure.RoundPanel();
+ this.labCounterSelected = new System.Windows.Forms.Label();
+ this.labCounterText = new System.Windows.Forms.Label();
+ this.picIconCounter = new System.Windows.Forms.PictureBox();
+ this.panelMain = new System.Windows.Forms.Panel();
this.panMenu.SuspendLayout();
+ this.penBanner.SuspendLayout();
+ this.panDev.SuspendLayout();
+ ((System.ComponentModel.ISupportInitialize)(this.picIconDev)).BeginInit();
+ this.panSetting.SuspendLayout();
+ ((System.ComponentModel.ISupportInitialize)(this.picIconSetting)).BeginInit();
this.panStatus.SuspendLayout();
((System.ComponentModel.ISupportInitialize)(this.picIconStatus)).BeginInit();
+ this.panData.SuspendLayout();
+ ((System.ComponentModel.ISupportInitialize)(this.picIconData)).BeginInit();
this.panHome.SuspendLayout();
((System.ComponentModel.ISupportInitialize)(this.picIconHome)).BeginInit();
- this.penBanner.SuspendLayout();
+ this.panMeasure.SuspendLayout();
+ ((System.ComponentModel.ISupportInitialize)(this.picIconMeasure)).BeginInit();
+ this.panCounter.SuspendLayout();
+ ((System.ComponentModel.ISupportInitialize)(this.picIconCounter)).BeginInit();
this.SuspendLayout();
//
// panMenu
//
this.panMenu.BackColor = System.Drawing.Color.White;
+ this.panMenu.Controls.Add(this.panDev);
+ this.panMenu.Controls.Add(this.panSetting);
this.panMenu.Controls.Add(this.panStatus);
+ this.panMenu.Controls.Add(this.panData);
this.panMenu.Controls.Add(this.panHome);
- this.panMenu.Controls.Add(this.labStatusSelected);
+ this.panMenu.Controls.Add(this.panMeasure);
+ this.panMenu.Controls.Add(this.panCounter);
this.panMenu.Location = new System.Drawing.Point(0, 64);
this.panMenu.Name = "panMenu";
this.panMenu.Size = new System.Drawing.Size(1024, 50);
this.panMenu.TabIndex = 1;
//
- // panStatus
- //
- this.panStatus.Back = System.Drawing.Color.Empty;
- this.panStatus.BackColor = System.Drawing.Color.Transparent;
- this.panStatus.Controls.Add(this.labStatusText);
- this.panStatus.Controls.Add(this.picIconStatus);
- this.panStatus.Location = new System.Drawing.Point(160, 0);
- this.panStatus.MatrixRound = 8;
- this.panStatus.Name = "panStatus";
- this.panStatus.Size = new System.Drawing.Size(130, 47);
- this.panStatus.TabIndex = 1;
- this.panStatus.Click += new System.EventHandler(this.panStatus_Click);
- this.panStatus.MouseLeave += new System.EventHandler(this.panStatus_MouseLeave);
- this.panStatus.MouseHover += new System.EventHandler(this.panStatus_MouseHover);
- //
- // labStatusText
- //
- this.labStatusText.BackColor = System.Drawing.Color.Transparent;
- this.labStatusText.Cursor = System.Windows.Forms.Cursors.Hand;
- this.labStatusText.Font = new System.Drawing.Font("微软雅黑", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
- this.labStatusText.ForeColor = System.Drawing.SystemColors.ControlText;
- this.labStatusText.Location = new System.Drawing.Point(35, 0);
- this.labStatusText.Margin = new System.Windows.Forms.Padding(0);
- this.labStatusText.Name = "labStatusText";
- this.labStatusText.Size = new System.Drawing.Size(85, 47);
- this.labStatusText.TabIndex = 2;
- this.labStatusText.Text = "基准状态";
- this.labStatusText.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
- this.labStatusText.Click += new System.EventHandler(this.panStatus_Click);
- this.labStatusText.MouseLeave += new System.EventHandler(this.panStatus_MouseLeave);
- this.labStatusText.MouseHover += new System.EventHandler(this.panStatus_MouseHover);
- //
- // picIconStatus
- //
- this.picIconStatus.BackgroundImage = global::Casic.Birmm.RbFreqStandMeasure.Properties.Resources.icon_status;
- this.picIconStatus.BackgroundImageLayout = System.Windows.Forms.ImageLayout.Zoom;
- this.picIconStatus.Location = new System.Drawing.Point(10, 11);
- this.picIconStatus.Name = "picIconStatus";
- this.picIconStatus.Size = new System.Drawing.Size(25, 25);
- this.picIconStatus.TabIndex = 1;
- this.picIconStatus.TabStop = false;
- this.picIconStatus.Click += new System.EventHandler(this.panStatus_Click);
- this.picIconStatus.MouseLeave += new System.EventHandler(this.panStatus_MouseLeave);
- this.picIconStatus.MouseHover += new System.EventHandler(this.panStatus_MouseHover);
- //
- // panHome
- //
- this.panHome.Back = System.Drawing.Color.Empty;
- this.panHome.Controls.Add(this.labHomeText);
- this.panHome.Controls.Add(this.picIconHome);
- this.panHome.Controls.Add(this.labHomeSelected);
- this.panHome.Cursor = System.Windows.Forms.Cursors.Hand;
- this.panHome.Location = new System.Drawing.Point(30, 0);
- this.panHome.MatrixRound = 8;
- this.panHome.Name = "panHome";
- this.panHome.Size = new System.Drawing.Size(100, 50);
- this.panHome.TabIndex = 0;
- this.panHome.Click += new System.EventHandler(this.panHome_Click);
- this.panHome.MouseLeave += new System.EventHandler(this.panHome_MouseLeave);
- this.panHome.MouseHover += new System.EventHandler(this.panHome_MouseHover);
- //
- // labHomeText
- //
- this.labHomeText.BackColor = System.Drawing.Color.Transparent;
- this.labHomeText.Font = new System.Drawing.Font("微软雅黑", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
- this.labHomeText.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(18)))), ((int)(((byte)(150)))), ((int)(((byte)(219)))));
- this.labHomeText.Location = new System.Drawing.Point(35, 0);
- this.labHomeText.Margin = new System.Windows.Forms.Padding(0);
- this.labHomeText.Name = "labHomeText";
- this.labHomeText.Size = new System.Drawing.Size(55, 47);
- this.labHomeText.TabIndex = 2;
- this.labHomeText.Text = "首页";
- this.labHomeText.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
- this.labHomeText.Click += new System.EventHandler(this.panHome_Click);
- this.labHomeText.MouseLeave += new System.EventHandler(this.panHome_MouseLeave);
- this.labHomeText.MouseHover += new System.EventHandler(this.panHome_MouseHover);
- //
- // picIconHome
- //
- this.picIconHome.BackColor = System.Drawing.Color.Transparent;
- this.picIconHome.BackgroundImage = global::Casic.Birmm.RbFreqStandMeasure.Properties.Resources.icon_home_selected;
- this.picIconHome.BackgroundImageLayout = System.Windows.Forms.ImageLayout.Zoom;
- this.picIconHome.Location = new System.Drawing.Point(10, 11);
- this.picIconHome.Name = "picIconHome";
- this.picIconHome.Size = new System.Drawing.Size(25, 25);
- this.picIconHome.TabIndex = 1;
- this.picIconHome.TabStop = false;
- this.picIconHome.Click += new System.EventHandler(this.panHome_Click);
- this.picIconHome.MouseLeave += new System.EventHandler(this.panHome_MouseLeave);
- this.picIconHome.MouseHover += new System.EventHandler(this.panHome_MouseHover);
- //
- // labHomeSelected
- //
- this.labHomeSelected.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(18)))), ((int)(((byte)(150)))), ((int)(((byte)(219)))));
- this.labHomeSelected.Location = new System.Drawing.Point(0, 47);
- this.labHomeSelected.Name = "labHomeSelected";
- this.labHomeSelected.Size = new System.Drawing.Size(100, 3);
- this.labHomeSelected.TabIndex = 0;
- //
- // labStatusSelected
- //
- this.labStatusSelected.BackColor = System.Drawing.Color.Transparent;
- this.labStatusSelected.Location = new System.Drawing.Point(160, 47);
- this.labStatusSelected.Margin = new System.Windows.Forms.Padding(0);
- this.labStatusSelected.Name = "labStatusSelected";
- this.labStatusSelected.Size = new System.Drawing.Size(130, 3);
- this.labStatusSelected.TabIndex = 0;
- //
// penBanner
//
this.penBanner.BackgroundImage = global::Casic.Birmm.RbFreqStandMeasure.Properties.Resources.bg_banner;
this.penBanner.BackgroundImageLayout = System.Windows.Forms.ImageLayout.Stretch;
+ this.penBanner.Controls.Add(this.btnMinSys);
this.penBanner.Controls.Add(this.btnExitSys);
this.penBanner.Controls.Add(this.labTitle);
this.penBanner.Location = new System.Drawing.Point(0, 0);
@@ -180,6 +109,23 @@
this.penBanner.TabIndex = 0;
this.penBanner.MouseDown += new System.Windows.Forms.MouseEventHandler(this.RbFreqStdMeas_MouseDown);
//
+ // btnMinSys
+ //
+ this.btnMinSys.BackColor = System.Drawing.Color.Transparent;
+ this.btnMinSys.BackgroundImage = global::Casic.Birmm.RbFreqStandMeasure.Properties.Resources.icon_min;
+ this.btnMinSys.BackgroundImageLayout = System.Windows.Forms.ImageLayout.Stretch;
+ this.btnMinSys.FlatAppearance.BorderSize = 0;
+ this.btnMinSys.FlatStyle = System.Windows.Forms.FlatStyle.Flat;
+ this.btnMinSys.ForeColor = System.Drawing.SystemColors.ControlDarkDark;
+ this.btnMinSys.Location = new System.Drawing.Point(944, 22);
+ this.btnMinSys.Margin = new System.Windows.Forms.Padding(0);
+ this.btnMinSys.Name = "btnMinSys";
+ this.btnMinSys.Size = new System.Drawing.Size(20, 20);
+ this.btnMinSys.TabIndex = 1;
+ this.btnMinSys.UseVisualStyleBackColor = false;
+ this.btnMinSys.Click += new System.EventHandler(this.btnMinSys_Click);
+ this.btnMinSys.MouseHover += new System.EventHandler(this.btnMinSys_MouseHover);
+ //
// btnExitSys
//
this.btnExitSys.BackColor = System.Drawing.Color.Transparent;
@@ -200,7 +146,7 @@
// labTitle
//
this.labTitle.BackColor = System.Drawing.Color.Transparent;
- this.labTitle.Font = new System.Drawing.Font("微软雅黑", 15.75F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
+ this.labTitle.Font = new System.Drawing.Font("微软雅黑", 20F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Pixel, ((byte)(134)));
this.labTitle.ForeColor = System.Drawing.Color.White;
this.labTitle.Location = new System.Drawing.Point(30, 16);
this.labTitle.Name = "labTitle";
@@ -209,11 +155,404 @@
this.labTitle.Text = "铷原子频标比对测量软件";
this.labTitle.TextAlign = System.Drawing.ContentAlignment.MiddleLeft;
//
+ // panDev
+ //
+ this.panDev.Back = System.Drawing.Color.Empty;
+ this.panDev.Controls.Add(this.labDevText);
+ this.panDev.Controls.Add(this.labDevSelected);
+ this.panDev.Controls.Add(this.picIconDev);
+ this.panDev.Location = new System.Drawing.Point(214, 0);
+ this.panDev.MatrixRound = 8;
+ this.panDev.Name = "panDev";
+ this.panDev.Size = new System.Drawing.Size(141, 50);
+ this.panDev.TabIndex = 2;
+ this.panDev.Click += new System.EventHandler(this.panDev_Click);
+ this.panDev.MouseLeave += new System.EventHandler(this.panDev_MouseLeave);
+ this.panDev.MouseHover += new System.EventHandler(this.panDev_MouseHover);
+ //
+ // labDevText
+ //
+ this.labDevText.BackColor = System.Drawing.Color.Transparent;
+ this.labDevText.Cursor = System.Windows.Forms.Cursors.Hand;
+ this.labDevText.Font = new System.Drawing.Font("微软雅黑", 16F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Pixel, ((byte)(134)));
+ this.labDevText.ForeColor = System.Drawing.SystemColors.ControlText;
+ this.labDevText.Location = new System.Drawing.Point(30, 14);
+ this.labDevText.Margin = new System.Windows.Forms.Padding(0);
+ this.labDevText.Name = "labDevText";
+ this.labDevText.Size = new System.Drawing.Size(106, 20);
+ this.labDevText.TabIndex = 2;
+ this.labDevText.Text = "送检仪器管理";
+ this.labDevText.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
+ this.labDevText.Click += new System.EventHandler(this.panDev_Click);
+ this.labDevText.MouseLeave += new System.EventHandler(this.panDev_MouseLeave);
+ this.labDevText.MouseHover += new System.EventHandler(this.panDev_MouseHover);
+ //
+ // labDevSelected
+ //
+ this.labDevSelected.BackColor = System.Drawing.Color.Transparent;
+ this.labDevSelected.Location = new System.Drawing.Point(8, 48);
+ this.labDevSelected.Margin = new System.Windows.Forms.Padding(0);
+ this.labDevSelected.Name = "labDevSelected";
+ this.labDevSelected.Size = new System.Drawing.Size(121, 2);
+ this.labDevSelected.TabIndex = 3;
+ //
+ // picIconDev
+ //
+ this.picIconDev.BackColor = System.Drawing.Color.Transparent;
+ this.picIconDev.BackgroundImage = global::Casic.Birmm.RbFreqStandMeasure.Properties.Resources.icon_dev;
+ this.picIconDev.BackgroundImageLayout = System.Windows.Forms.ImageLayout.Zoom;
+ this.picIconDev.Location = new System.Drawing.Point(10, 14);
+ this.picIconDev.Name = "picIconDev";
+ this.picIconDev.Size = new System.Drawing.Size(20, 20);
+ this.picIconDev.TabIndex = 1;
+ this.picIconDev.TabStop = false;
+ this.picIconDev.Click += new System.EventHandler(this.panDev_Click);
+ this.picIconDev.MouseLeave += new System.EventHandler(this.panDev_MouseLeave);
+ this.picIconDev.MouseHover += new System.EventHandler(this.panDev_MouseHover);
+ //
+ // panSetting
+ //
+ this.panSetting.Back = System.Drawing.Color.Empty;
+ this.panSetting.Controls.Add(this.labSettingSelected);
+ this.panSetting.Controls.Add(this.labSettingText);
+ this.panSetting.Controls.Add(this.picIconSetting);
+ this.panSetting.Location = new System.Drawing.Point(879, 0);
+ this.panSetting.MatrixRound = 8;
+ this.panSetting.Name = "panSetting";
+ this.panSetting.Size = new System.Drawing.Size(109, 50);
+ this.panSetting.TabIndex = 2;
+ this.panSetting.Click += new System.EventHandler(this.panSetting_Click);
+ this.panSetting.MouseLeave += new System.EventHandler(this.panSetting_MouseLeave);
+ this.panSetting.MouseHover += new System.EventHandler(this.panSetting_MouseHover);
+ //
+ // labSettingSelected
+ //
+ this.labSettingSelected.BackColor = System.Drawing.Color.Transparent;
+ this.labSettingSelected.Location = new System.Drawing.Point(10, 48);
+ this.labSettingSelected.Margin = new System.Windows.Forms.Padding(0);
+ this.labSettingSelected.Name = "labSettingSelected";
+ this.labSettingSelected.Size = new System.Drawing.Size(89, 2);
+ this.labSettingSelected.TabIndex = 4;
+ //
+ // labSettingText
+ //
+ this.labSettingText.BackColor = System.Drawing.Color.Transparent;
+ this.labSettingText.Cursor = System.Windows.Forms.Cursors.Hand;
+ this.labSettingText.Font = new System.Drawing.Font("微软雅黑", 16F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Pixel, ((byte)(134)));
+ this.labSettingText.ForeColor = System.Drawing.SystemColors.ControlText;
+ this.labSettingText.Location = new System.Drawing.Point(30, 14);
+ this.labSettingText.Margin = new System.Windows.Forms.Padding(0);
+ this.labSettingText.Name = "labSettingText";
+ this.labSettingText.Size = new System.Drawing.Size(74, 20);
+ this.labSettingText.TabIndex = 2;
+ this.labSettingText.Text = "系统设置";
+ this.labSettingText.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
+ this.labSettingText.Click += new System.EventHandler(this.panSetting_Click);
+ this.labSettingText.MouseLeave += new System.EventHandler(this.panSetting_MouseLeave);
+ this.labSettingText.MouseHover += new System.EventHandler(this.panSetting_MouseHover);
+ //
+ // picIconSetting
+ //
+ this.picIconSetting.BackColor = System.Drawing.Color.Transparent;
+ this.picIconSetting.BackgroundImage = global::Casic.Birmm.RbFreqStandMeasure.Properties.Resources.icon_setting;
+ this.picIconSetting.BackgroundImageLayout = System.Windows.Forms.ImageLayout.Zoom;
+ this.picIconSetting.Location = new System.Drawing.Point(10, 14);
+ this.picIconSetting.Name = "picIconSetting";
+ this.picIconSetting.Size = new System.Drawing.Size(20, 20);
+ this.picIconSetting.TabIndex = 1;
+ this.picIconSetting.TabStop = false;
+ this.picIconSetting.Click += new System.EventHandler(this.panSetting_Click);
+ this.picIconSetting.MouseLeave += new System.EventHandler(this.panSetting_MouseLeave);
+ this.picIconSetting.MouseHover += new System.EventHandler(this.panSetting_MouseHover);
+ //
+ // panStatus
+ //
+ this.panStatus.Back = System.Drawing.Color.Empty;
+ this.panStatus.BackColor = System.Drawing.Color.Transparent;
+ this.panStatus.Controls.Add(this.labStatusText);
+ this.panStatus.Controls.Add(this.picIconStatus);
+ this.panStatus.Controls.Add(this.labStatusSelected);
+ this.panStatus.Location = new System.Drawing.Point(101, 0);
+ this.panStatus.MatrixRound = 8;
+ this.panStatus.Name = "panStatus";
+ this.panStatus.Size = new System.Drawing.Size(109, 50);
+ this.panStatus.TabIndex = 1;
+ this.panStatus.Click += new System.EventHandler(this.panStatus_Click);
+ this.panStatus.MouseLeave += new System.EventHandler(this.panStatus_MouseLeave);
+ this.panStatus.MouseHover += new System.EventHandler(this.panStatus_MouseHover);
+ //
+ // labStatusText
+ //
+ this.labStatusText.BackColor = System.Drawing.Color.Transparent;
+ this.labStatusText.Cursor = System.Windows.Forms.Cursors.Hand;
+ this.labStatusText.Font = new System.Drawing.Font("微软雅黑", 16F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Pixel, ((byte)(134)));
+ this.labStatusText.ForeColor = System.Drawing.SystemColors.ControlText;
+ this.labStatusText.Location = new System.Drawing.Point(30, 14);
+ this.labStatusText.Margin = new System.Windows.Forms.Padding(0);
+ this.labStatusText.Name = "labStatusText";
+ this.labStatusText.Size = new System.Drawing.Size(74, 20);
+ this.labStatusText.TabIndex = 2;
+ this.labStatusText.Text = "基准状态";
+ this.labStatusText.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
+ this.labStatusText.Click += new System.EventHandler(this.panStatus_Click);
+ this.labStatusText.MouseLeave += new System.EventHandler(this.panStatus_MouseLeave);
+ this.labStatusText.MouseHover += new System.EventHandler(this.panStatus_MouseHover);
+ //
+ // picIconStatus
+ //
+ this.picIconStatus.BackgroundImage = global::Casic.Birmm.RbFreqStandMeasure.Properties.Resources.icon_status;
+ this.picIconStatus.BackgroundImageLayout = System.Windows.Forms.ImageLayout.Zoom;
+ this.picIconStatus.Location = new System.Drawing.Point(10, 14);
+ this.picIconStatus.Name = "picIconStatus";
+ this.picIconStatus.Size = new System.Drawing.Size(20, 20);
+ this.picIconStatus.TabIndex = 1;
+ this.picIconStatus.TabStop = false;
+ this.picIconStatus.Click += new System.EventHandler(this.panStatus_Click);
+ this.picIconStatus.MouseLeave += new System.EventHandler(this.panStatus_MouseLeave);
+ this.picIconStatus.MouseHover += new System.EventHandler(this.panStatus_MouseHover);
+ //
+ // labStatusSelected
+ //
+ this.labStatusSelected.BackColor = System.Drawing.Color.Transparent;
+ this.labStatusSelected.Location = new System.Drawing.Point(10, 48);
+ this.labStatusSelected.Margin = new System.Windows.Forms.Padding(0);
+ this.labStatusSelected.Name = "labStatusSelected";
+ this.labStatusSelected.Size = new System.Drawing.Size(89, 2);
+ this.labStatusSelected.TabIndex = 0;
+ //
+ // panData
+ //
+ this.panData.Back = System.Drawing.Color.Empty;
+ this.panData.Controls.Add(this.labDataSelected);
+ this.panData.Controls.Add(this.labDataText);
+ this.panData.Controls.Add(this.picIconData);
+ this.panData.Location = new System.Drawing.Point(765, 0);
+ this.panData.MatrixRound = 8;
+ this.panData.Name = "panData";
+ this.panData.Size = new System.Drawing.Size(109, 50);
+ this.panData.TabIndex = 2;
+ this.panData.Click += new System.EventHandler(this.panData_Click);
+ this.panData.MouseLeave += new System.EventHandler(this.panData_MouseLeave);
+ this.panData.MouseHover += new System.EventHandler(this.panData_MouseHover);
+ //
+ // labDataSelected
+ //
+ this.labDataSelected.BackColor = System.Drawing.Color.Transparent;
+ this.labDataSelected.Location = new System.Drawing.Point(10, 48);
+ this.labDataSelected.Margin = new System.Windows.Forms.Padding(0);
+ this.labDataSelected.Name = "labDataSelected";
+ this.labDataSelected.Size = new System.Drawing.Size(89, 2);
+ this.labDataSelected.TabIndex = 3;
+ //
+ // labDataText
+ //
+ this.labDataText.BackColor = System.Drawing.Color.Transparent;
+ this.labDataText.Cursor = System.Windows.Forms.Cursors.Hand;
+ this.labDataText.Font = new System.Drawing.Font("微软雅黑", 16F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Pixel, ((byte)(134)));
+ this.labDataText.ForeColor = System.Drawing.SystemColors.ControlText;
+ this.labDataText.Location = new System.Drawing.Point(30, 14);
+ this.labDataText.Margin = new System.Windows.Forms.Padding(0);
+ this.labDataText.Name = "labDataText";
+ this.labDataText.Size = new System.Drawing.Size(74, 20);
+ this.labDataText.TabIndex = 2;
+ this.labDataText.Text = "数据管理";
+ this.labDataText.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
+ this.labDataText.Click += new System.EventHandler(this.panData_Click);
+ this.labDataText.MouseLeave += new System.EventHandler(this.panData_MouseLeave);
+ this.labDataText.MouseHover += new System.EventHandler(this.panData_MouseHover);
+ //
+ // picIconData
+ //
+ this.picIconData.BackColor = System.Drawing.Color.Transparent;
+ this.picIconData.BackgroundImage = global::Casic.Birmm.RbFreqStandMeasure.Properties.Resources.icon_data;
+ this.picIconData.BackgroundImageLayout = System.Windows.Forms.ImageLayout.Zoom;
+ this.picIconData.Location = new System.Drawing.Point(10, 14);
+ this.picIconData.Name = "picIconData";
+ this.picIconData.Size = new System.Drawing.Size(20, 20);
+ this.picIconData.TabIndex = 1;
+ this.picIconData.TabStop = false;
+ this.picIconData.Click += new System.EventHandler(this.panData_Click);
+ this.picIconData.MouseLeave += new System.EventHandler(this.panData_MouseLeave);
+ this.picIconData.MouseHover += new System.EventHandler(this.panData_MouseHover);
+ //
+ // panHome
+ //
+ this.panHome.Back = System.Drawing.Color.Empty;
+ this.panHome.Controls.Add(this.labHomeText);
+ this.panHome.Controls.Add(this.picIconHome);
+ this.panHome.Controls.Add(this.labHomeSelected);
+ this.panHome.Cursor = System.Windows.Forms.Cursors.Hand;
+ this.panHome.Location = new System.Drawing.Point(20, 0);
+ this.panHome.MatrixRound = 8;
+ this.panHome.Name = "panHome";
+ this.panHome.Size = new System.Drawing.Size(75, 50);
+ this.panHome.TabIndex = 0;
+ this.panHome.Click += new System.EventHandler(this.panHome_Click);
+ this.panHome.MouseLeave += new System.EventHandler(this.panHome_MouseLeave);
+ this.panHome.MouseHover += new System.EventHandler(this.panHome_MouseHover);
+ //
+ // labHomeText
+ //
+ this.labHomeText.BackColor = System.Drawing.Color.Transparent;
+ this.labHomeText.Font = new System.Drawing.Font("微软雅黑", 16F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Pixel, ((byte)(134)));
+ this.labHomeText.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(18)))), ((int)(((byte)(150)))), ((int)(((byte)(219)))));
+ this.labHomeText.Location = new System.Drawing.Point(30, 14);
+ this.labHomeText.Margin = new System.Windows.Forms.Padding(0);
+ this.labHomeText.Name = "labHomeText";
+ this.labHomeText.Size = new System.Drawing.Size(42, 20);
+ this.labHomeText.TabIndex = 2;
+ this.labHomeText.Text = "首页";
+ this.labHomeText.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
+ this.labHomeText.Click += new System.EventHandler(this.panHome_Click);
+ this.labHomeText.MouseLeave += new System.EventHandler(this.panHome_MouseLeave);
+ this.labHomeText.MouseHover += new System.EventHandler(this.panHome_MouseHover);
+ //
+ // picIconHome
+ //
+ this.picIconHome.BackColor = System.Drawing.Color.Transparent;
+ this.picIconHome.BackgroundImage = global::Casic.Birmm.RbFreqStandMeasure.Properties.Resources.icon_home_selected;
+ this.picIconHome.BackgroundImageLayout = System.Windows.Forms.ImageLayout.Zoom;
+ this.picIconHome.Location = new System.Drawing.Point(10, 14);
+ this.picIconHome.Margin = new System.Windows.Forms.Padding(0);
+ this.picIconHome.Name = "picIconHome";
+ this.picIconHome.Size = new System.Drawing.Size(20, 20);
+ this.picIconHome.TabIndex = 1;
+ this.picIconHome.TabStop = false;
+ this.picIconHome.Click += new System.EventHandler(this.panHome_Click);
+ this.picIconHome.MouseLeave += new System.EventHandler(this.panHome_MouseLeave);
+ this.picIconHome.MouseHover += new System.EventHandler(this.panHome_MouseHover);
+ //
+ // labHomeSelected
+ //
+ this.labHomeSelected.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(18)))), ((int)(((byte)(150)))), ((int)(((byte)(219)))));
+ this.labHomeSelected.Location = new System.Drawing.Point(10, 48);
+ this.labHomeSelected.Name = "labHomeSelected";
+ this.labHomeSelected.Size = new System.Drawing.Size(55, 2);
+ this.labHomeSelected.TabIndex = 0;
+ //
+ // panMeasure
+ //
+ this.panMeasure.Back = System.Drawing.Color.Empty;
+ this.panMeasure.Controls.Add(this.labMeasureText);
+ this.panMeasure.Controls.Add(this.labMeasureSelected);
+ this.panMeasure.Controls.Add(this.picIconMeasure);
+ this.panMeasure.Location = new System.Drawing.Point(619, 0);
+ this.panMeasure.MatrixRound = 8;
+ this.panMeasure.Name = "panMeasure";
+ this.panMeasure.Size = new System.Drawing.Size(141, 50);
+ this.panMeasure.TabIndex = 2;
+ this.panMeasure.Click += new System.EventHandler(this.panMeasure_Click);
+ this.panMeasure.MouseLeave += new System.EventHandler(this.panMeasure_MouseLeave);
+ this.panMeasure.MouseHover += new System.EventHandler(this.panMeasure_MouseHover);
+ //
+ // labMeasureText
+ //
+ this.labMeasureText.BackColor = System.Drawing.Color.Transparent;
+ this.labMeasureText.Cursor = System.Windows.Forms.Cursors.Hand;
+ this.labMeasureText.Font = new System.Drawing.Font("微软雅黑", 16F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Pixel, ((byte)(134)));
+ this.labMeasureText.ForeColor = System.Drawing.SystemColors.ControlText;
+ this.labMeasureText.Location = new System.Drawing.Point(30, 14);
+ this.labMeasureText.Margin = new System.Windows.Forms.Padding(0);
+ this.labMeasureText.Name = "labMeasureText";
+ this.labMeasureText.Size = new System.Drawing.Size(106, 20);
+ this.labMeasureText.TabIndex = 2;
+ this.labMeasureText.Text = "计量信息管理";
+ this.labMeasureText.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
+ this.labMeasureText.Click += new System.EventHandler(this.panMeasure_Click);
+ this.labMeasureText.MouseLeave += new System.EventHandler(this.panMeasure_MouseLeave);
+ this.labMeasureText.MouseHover += new System.EventHandler(this.panMeasure_MouseHover);
+ //
+ // labMeasureSelected
+ //
+ this.labMeasureSelected.BackColor = System.Drawing.Color.Transparent;
+ this.labMeasureSelected.Location = new System.Drawing.Point(10, 48);
+ this.labMeasureSelected.Margin = new System.Windows.Forms.Padding(0);
+ this.labMeasureSelected.Name = "labMeasureSelected";
+ this.labMeasureSelected.Size = new System.Drawing.Size(121, 2);
+ this.labMeasureSelected.TabIndex = 3;
+ //
+ // picIconMeasure
+ //
+ this.picIconMeasure.BackColor = System.Drawing.Color.Transparent;
+ this.picIconMeasure.BackgroundImage = global::Casic.Birmm.RbFreqStandMeasure.Properties.Resources.icon_measure;
+ this.picIconMeasure.BackgroundImageLayout = System.Windows.Forms.ImageLayout.Zoom;
+ this.picIconMeasure.Location = new System.Drawing.Point(10, 14);
+ this.picIconMeasure.Name = "picIconMeasure";
+ this.picIconMeasure.Size = new System.Drawing.Size(20, 20);
+ this.picIconMeasure.TabIndex = 1;
+ this.picIconMeasure.TabStop = false;
+ this.picIconMeasure.Click += new System.EventHandler(this.panMeasure_Click);
+ this.picIconMeasure.MouseLeave += new System.EventHandler(this.panMeasure_MouseLeave);
+ this.picIconMeasure.MouseHover += new System.EventHandler(this.panMeasure_MouseHover);
+ //
+ // panCounter
+ //
+ this.panCounter.Back = System.Drawing.Color.Empty;
+ this.panCounter.Controls.Add(this.labCounterSelected);
+ this.panCounter.Controls.Add(this.labCounterText);
+ this.panCounter.Controls.Add(this.picIconCounter);
+ this.panCounter.Location = new System.Drawing.Point(360, 0);
+ this.panCounter.MatrixRound = 8;
+ this.panCounter.Name = "panCounter";
+ this.panCounter.Size = new System.Drawing.Size(254, 50);
+ this.panCounter.TabIndex = 2;
+ this.panCounter.Click += new System.EventHandler(this.panCounter_Click);
+ this.panCounter.MouseLeave += new System.EventHandler(this.panCounter_MouseLeave);
+ this.panCounter.MouseHover += new System.EventHandler(this.panCounter_MouseHover);
+ //
+ // labCounterSelected
+ //
+ this.labCounterSelected.BackColor = System.Drawing.Color.Transparent;
+ this.labCounterSelected.Location = new System.Drawing.Point(10, 48);
+ this.labCounterSelected.Margin = new System.Windows.Forms.Padding(0);
+ this.labCounterSelected.Name = "labCounterSelected";
+ this.labCounterSelected.Size = new System.Drawing.Size(233, 2);
+ this.labCounterSelected.TabIndex = 4;
+ //
+ // labCounterText
+ //
+ this.labCounterText.BackColor = System.Drawing.Color.Transparent;
+ this.labCounterText.Cursor = System.Windows.Forms.Cursors.Hand;
+ this.labCounterText.Font = new System.Drawing.Font("微软雅黑", 16F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Pixel, ((byte)(134)));
+ this.labCounterText.ForeColor = System.Drawing.SystemColors.ControlText;
+ this.labCounterText.Location = new System.Drawing.Point(30, 14);
+ this.labCounterText.Margin = new System.Windows.Forms.Padding(0);
+ this.labCounterText.Name = "labCounterText";
+ this.labCounterText.Size = new System.Drawing.Size(218, 20);
+ this.labCounterText.TabIndex = 2;
+ this.labCounterText.Text = "频率计数器范围及灵敏度测量";
+ this.labCounterText.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
+ this.labCounterText.Click += new System.EventHandler(this.panCounter_Click);
+ this.labCounterText.MouseLeave += new System.EventHandler(this.panCounter_MouseLeave);
+ this.labCounterText.MouseHover += new System.EventHandler(this.panCounter_MouseHover);
+ //
+ // picIconCounter
+ //
+ this.picIconCounter.BackColor = System.Drawing.Color.Transparent;
+ this.picIconCounter.BackgroundImage = global::Casic.Birmm.RbFreqStandMeasure.Properties.Resources.icon_counter;
+ this.picIconCounter.BackgroundImageLayout = System.Windows.Forms.ImageLayout.Zoom;
+ this.picIconCounter.Location = new System.Drawing.Point(10, 14);
+ this.picIconCounter.Name = "picIconCounter";
+ this.picIconCounter.Size = new System.Drawing.Size(20, 20);
+ this.picIconCounter.TabIndex = 1;
+ this.picIconCounter.TabStop = false;
+ this.picIconCounter.Click += new System.EventHandler(this.panCounter_Click);
+ this.picIconCounter.MouseLeave += new System.EventHandler(this.panCounter_MouseLeave);
+ this.picIconCounter.MouseHover += new System.EventHandler(this.panCounter_MouseHover);
+ //
+ // panelMain
+ //
+ this.panelMain.Location = new System.Drawing.Point(0, 114);
+ this.panelMain.Name = "panelMain";
+ this.panelMain.Size = new System.Drawing.Size(1024, 654);
+ this.panelMain.TabIndex = 2;
+ //
// RbFreqStdMeas
//
this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 12F);
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
this.ClientSize = new System.Drawing.Size(1024, 768);
+ this.Controls.Add(this.panelMain);
this.Controls.Add(this.panMenu);
this.Controls.Add(this.penBanner);
this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.None;
@@ -221,11 +560,21 @@
this.Text = "RbFreqStdMeas";
this.Load += new System.EventHandler(this.RbFreqStdMeas_Load);
this.panMenu.ResumeLayout(false);
+ this.penBanner.ResumeLayout(false);
+ this.panDev.ResumeLayout(false);
+ ((System.ComponentModel.ISupportInitialize)(this.picIconDev)).EndInit();
+ this.panSetting.ResumeLayout(false);
+ ((System.ComponentModel.ISupportInitialize)(this.picIconSetting)).EndInit();
this.panStatus.ResumeLayout(false);
((System.ComponentModel.ISupportInitialize)(this.picIconStatus)).EndInit();
+ this.panData.ResumeLayout(false);
+ ((System.ComponentModel.ISupportInitialize)(this.picIconData)).EndInit();
this.panHome.ResumeLayout(false);
((System.ComponentModel.ISupportInitialize)(this.picIconHome)).EndInit();
- this.penBanner.ResumeLayout(false);
+ this.panMeasure.ResumeLayout(false);
+ ((System.ComponentModel.ISupportInitialize)(this.picIconMeasure)).EndInit();
+ this.panCounter.ResumeLayout(false);
+ ((System.ComponentModel.ISupportInitialize)(this.picIconCounter)).EndInit();
this.ResumeLayout(false);
}
@@ -244,5 +593,27 @@
private RoundPanel panStatus;
private RoundPanel panHome;
private System.Windows.Forms.Label labStatusSelected;
+ private RoundPanel panDev;
+ private System.Windows.Forms.PictureBox picIconDev;
+ private System.Windows.Forms.Label labDevText;
+ private System.Windows.Forms.Label labMeasureSelected;
+ private RoundPanel panCounter;
+ private System.Windows.Forms.Label labCounterText;
+ private System.Windows.Forms.PictureBox picIconCounter;
+ private RoundPanel panMeasure;
+ private System.Windows.Forms.Label labMeasureText;
+ private System.Windows.Forms.PictureBox picIconMeasure;
+ private RoundPanel panData;
+ private System.Windows.Forms.Label labDataText;
+ private System.Windows.Forms.PictureBox picIconData;
+ private RoundPanel panSetting;
+ private System.Windows.Forms.Label labSettingText;
+ private System.Windows.Forms.PictureBox picIconSetting;
+ private System.Windows.Forms.Label labCounterSelected;
+ private System.Windows.Forms.Label labDevSelected;
+ private System.Windows.Forms.Label labDataSelected;
+ private System.Windows.Forms.Label labSettingSelected;
+ private System.Windows.Forms.Button btnMinSys;
+ private System.Windows.Forms.Panel panelMain;
}
}
\ No newline at end of file
diff --git a/RbFreqStandMeasure/RbFreqStdMeas.cs b/RbFreqStandMeasure/RbFreqStdMeas.cs
index 3858ddb..af980d7 100644
--- a/RbFreqStandMeasure/RbFreqStdMeas.cs
+++ b/RbFreqStandMeasure/RbFreqStdMeas.cs
@@ -1,13 +1,9 @@
-using Casic.Birmm.RbFreqStandMeasure.Properties;
+using Casic.Birmm.RbFreqStandMeasure.info;
+using Casic.Birmm.RbFreqStandMeasure.Properties;
+using Casic.Birmm.RbFreqStandMeasure.setting;
using System;
-using System.Collections.Generic;
-using System.ComponentModel;
-using System.Data;
using System.Drawing;
-using System.Linq;
-using System.Resources;
using System.Runtime.InteropServices;
-using System.Text;
using System.Windows.Forms;
namespace Casic.Birmm.RbFreqStandMeasure
@@ -15,7 +11,7 @@
public partial class RbFreqStdMeas : Form
{
- #region 无边框拖动效果
+ #region 无边框拖动效果/最小化窗口/关闭窗口
[DllImport("user32.dll")]//拖动无窗体的控件
public static extern bool ReleaseCapture();
[DllImport("user32.dll")]
@@ -30,9 +26,29 @@
ReleaseCapture();
SendMessage(this.Handle, WM_SYSCOMMAND, SC_MOVE + HTCAPTION, 0);
}
+ private void btnExitSys_Click(object sender, EventArgs e)
+ {
+ Application.Exit();
+ }
+ private void btnMinSys_Click(object sender, EventArgs e)
+ {
+ this.WindowState = FormWindowState.Minimized;
+ }
+ private void btnExitSys_MouseHover(object sender, EventArgs e)
+ {
+ ToolTip p = new ToolTip();
+ p.ShowAlways = true;
+ p.SetToolTip(this.btnExitSys, "退出");
+ }
+ private void btnMinSys_MouseHover(object sender, EventArgs e)
+ {
+ ToolTip p = new ToolTip();
+ p.ShowAlways = true;
+ p.SetToolTip(this.btnMinSys, "最小化");
+ }
#endregion
- private bool[] menuSelected = { true, false };
+ private bool[] menuSelected = { true, false, false, false, false, false, false };
// 按钮图标
private PictureBox[] menuPics;
// 按钮图标的资源名称(选中的资源名称在后面加上 _selected)
@@ -57,7 +73,7 @@
// 将当前按钮的效果设置为默认未选中
this.menuPics[index].BackgroundImage = (Bitmap)Resources.ResourceManager.GetObject(this.menuIconResources[index], null);
- this.menuLabels[index].ForeColor = ColorTranslator.FromHtml("#2C2C2C");
+ this.menuLabels[index].ForeColor = ColorTranslator.FromHtml("#333333");
this.menuUnderlines[index].BackColor = Color.Transparent;
}
@@ -79,13 +95,15 @@
LeaveHome();
// 重新设置所有按钮的状态
- this.menuSelected = new bool[] { true, false };
+ this.menuSelected = new bool[] { true, false, false, false, false, false, false };
// 将新选中的按钮设置为选中
this.picIconHome.BackgroundImage = (Bitmap)Resources.ResourceManager.GetObject("icon_home_selected", null);
- this.labHomeText.ForeColor = ColorTranslator.FromHtml("#1296db");
- this.labHomeSelected.BackColor = ColorTranslator.FromHtml("#1296db");
+ this.labHomeText.ForeColor = ColorTranslator.FromHtml("#3f84d7");
+ this.labHomeSelected.BackColor = ColorTranslator.FromHtml("#3f84d7");
+ // 切换至首页
+ switchMainPanel(0);
}
#endregion
@@ -107,12 +125,163 @@
LeaveStatus();
// 重新设置所有按钮的状态
- this.menuSelected = new bool[] { false, true };
+ this.menuSelected = new bool[] { false, true, false, false, false, false, false };
// 将新选中的按钮设置为选中
this.picIconStatus.BackgroundImage = (Bitmap) Resources.ResourceManager.GetObject("icon_status_selected", null);
- this.labStatusText.ForeColor = ColorTranslator.FromHtml("#1296db");
- this.labStatusSelected.BackColor = ColorTranslator.FromHtml("#1296db");
+ this.labStatusText.ForeColor = ColorTranslator.FromHtml("#3f84d7");
+ this.labStatusSelected.BackColor = ColorTranslator.FromHtml("#3f84d7");
+
+ // 切换到基准状态页面
+ switchMainPanel(1);
+ }
+ #endregion
+
+ #region 送检仪器按钮点击、移入/移出效果
+ private void HoverDev()
+ {
+ panDev.Back = ColorTranslator.FromHtml("#56a3f2");
+ }
+ private void LeaveDev()
+ {
+ panDev.Back = Color.Transparent;
+ }
+ private void SelectDev()
+ {
+ // 移除所有按钮的选中样式
+ this.ClearAllMenuSelected();
+
+ // 鼠标移入效果去掉
+ LeaveDev();
+
+ // 重新设置所有按钮的状态
+ this.menuSelected = new bool[] { false, false, true, false, false ,false ,false };
+
+ // 将新选中的按钮设置为选中
+ this.picIconDev.BackgroundImage = (Bitmap)Resources.ResourceManager.GetObject("icon_dev_selected", null);
+ this.labDevText.ForeColor = ColorTranslator.FromHtml("#3f84d7");
+ this.labDevSelected.BackColor = ColorTranslator.FromHtml("#3f84d7");
+
+ // 切换至待检仪器管理
+ switchMainPanel(2);
+ }
+ #endregion
+
+ #region 频率计数器测量点击、移入/移出效果
+ private void HoverCounter()
+ {
+ panCounter.Back = ColorTranslator.FromHtml("#56a3f2");
+ }
+ private void LeaveCounter()
+ {
+ panCounter.Back = Color.Transparent;
+ }
+ private void SelectCounter()
+ {
+ // 移除所有按钮的选中样式
+ this.ClearAllMenuSelected();
+
+ // 鼠标移入效果去掉
+ LeaveCounter();
+
+ // 重新设置所有按钮的状态
+ this.menuSelected = new bool[] { false, false, false, true, false, false, false };
+
+ // 将新选中的按钮设置为选中
+ this.picIconCounter.BackgroundImage = (Bitmap)Resources.ResourceManager.GetObject("icon_counter_selected", null);
+ this.labCounterText.ForeColor = ColorTranslator.FromHtml("#3f84d7");
+ this.labCounterSelected.BackColor = ColorTranslator.FromHtml("#3f84d7");
+ }
+ #endregion
+
+ #region 计量管理点击、移入/移出效果
+ private void HoverMeasure()
+ {
+ panMeasure.Back = ColorTranslator.FromHtml("#56a3f2");
+ }
+ private void LeaveMeasure()
+ {
+ panMeasure.Back = Color.Transparent;
+ }
+ private void SelectMeasure()
+ {
+ // 移除所有按钮的选中样式
+ this.ClearAllMenuSelected();
+
+ // 鼠标移入效果去掉
+ LeaveMeasure();
+
+ // 重新设置所有按钮的状态
+ this.menuSelected = new bool[] { false, false, false, false, true, false, false };
+
+ // 将新选中的按钮设置为选中
+ this.picIconMeasure.BackgroundImage = (Bitmap)Resources.ResourceManager.GetObject("icon_measure_selected", null);
+ this.labMeasureText.ForeColor = ColorTranslator.FromHtml("#3f84d7");
+ this.labMeasureSelected.BackColor = ColorTranslator.FromHtml("#3f84d7");
+
+ // 切换至计量信息管理
+ switchMainPanel(4);
+ }
+ #endregion
+
+ #region 数据管理点击、移入/移出效果
+ private void HoverData()
+ {
+ panData.Back = ColorTranslator.FromHtml("#56a3f2");
+ }
+ private void LeaveData()
+ {
+ panData.Back = Color.Transparent;
+ }
+ private void SelectData()
+ {
+ // 移除所有按钮的选中样式
+ this.ClearAllMenuSelected();
+
+ // 鼠标移入效果去掉
+ LeaveData();
+
+ // 重新设置所有按钮的状态
+ this.menuSelected = new bool[] { false, false, false, false, false, true, false };
+
+ // 将新选中的按钮设置为选中
+ this.picIconData.BackgroundImage = (Bitmap)Resources.ResourceManager.GetObject("icon_data_selected", null);
+ this.labDataText.ForeColor = ColorTranslator.FromHtml("#3f84d7");
+ this.labDataSelected.BackColor = ColorTranslator.FromHtml("#3f84d7");
+
+ // 弹出对话框进行数据备份与还原操作
+ DataBackupDlg dataDlg = new DataBackupDlg();
+ dataDlg.ShowDialog();
+ }
+ #endregion
+
+ #region 系统管理点击、移入/移出效果
+ private void HoverSetting()
+ {
+ panSetting.Back = ColorTranslator.FromHtml("#56a3f2");
+ }
+ private void LeaveSetting()
+ {
+ panSetting.Back = Color.Transparent;
+ }
+ private void SelectSetting()
+ {
+ // 移除所有按钮的选中样式
+ this.ClearAllMenuSelected();
+
+ // 鼠标移入效果去掉
+ LeaveSetting();
+
+ // 重新设置所有按钮的状态
+ this.menuSelected = new bool[] { false, false, false, false, false, false, true };
+
+ // 将新选中的按钮设置为选中
+ this.picIconSetting.BackgroundImage = (Bitmap)Resources.ResourceManager.GetObject("icon_setting_selected", null);
+ this.labSettingText.ForeColor = ColorTranslator.FromHtml("#3f84d7");
+ this.labSettingSelected.BackColor = ColorTranslator.FromHtml("#3f84d7");
+
+ // 切换到设置的界面
+ switchMainPanel(6);
}
#endregion
@@ -123,22 +292,13 @@
private void RbFreqStdMeas_Load(object sender, EventArgs e)
{
- this.menuPics = new PictureBox[] { this.picIconHome, this.picIconStatus };
- this.menuLabels = new Label[] { this.labHomeText, this.labStatusText };
- this.menuUnderlines = new Label[] { this.labHomeSelected, this.labStatusSelected };
- this.menuIconResources = new string[] { "icon_home", "icon_status" };
- }
+ this.menuPics = new PictureBox[] { this.picIconHome, this.picIconStatus, this.picIconDev, this.picIconCounter, this.picIconMeasure, this.picIconData, this.picIconSetting };
+ this.menuLabels = new Label[] { this.labHomeText, this.labStatusText, this.labDevText, this.labCounterText, this.labMeasureText, this.labDataText, this.labSettingText };
+ this.menuUnderlines = new Label[] { this.labHomeSelected, this.labStatusSelected, this.labDevSelected, this.labCounterSelected, this.labMeasureSelected, this.labDataSelected, this.labSettingSelected };
+ this.menuIconResources = new string[] { "icon_home", "icon_status", "icon_dev", "icon_counter", "icon_measure", "icon_data", "icon_setting" };
- private void btnExitSys_Click(object sender, EventArgs e)
- {
- Application.Exit();
- }
-
- private void btnExitSys_MouseHover(object sender, EventArgs e)
- {
- ToolTip p = new ToolTip();
- p.ShowAlways = true;
- p.SetToolTip(this.btnExitSys, "退出");
+ // 加载首页的内容
+ switchMainPanel(0);
}
private void panHome_Click(object sender, EventArgs e)
@@ -191,5 +351,169 @@
LeaveStatus();
}
}
+
+ private void panDev_Click(object sender, EventArgs e)
+ {
+ if (this.menuSelected[2] == false)
+ {
+ SelectDev();
+ }
+ }
+
+ private void panDev_MouseHover(object sender, EventArgs e)
+ {
+ if (this.menuSelected[2] == false)
+ {
+ HoverDev();
+ }
+ }
+
+ private void panDev_MouseLeave(object sender, EventArgs e)
+ {
+ if (this.menuSelected[2] == false)
+ {
+ LeaveDev();
+ }
+ }
+
+ private void panCounter_Click(object sender, EventArgs e)
+ {
+ if (this.menuSelected[3] == false)
+ {
+ SelectCounter();
+ }
+ }
+
+ private void panCounter_MouseHover(object sender, EventArgs e)
+ {
+ if (this.menuSelected[3] == false)
+ {
+ HoverCounter();
+ }
+ }
+
+ private void panCounter_MouseLeave(object sender, EventArgs e)
+ {
+ if (this.menuSelected[3] == false)
+ {
+ LeaveCounter();
+ }
+ }
+
+ private void panMeasure_Click(object sender, EventArgs e)
+ {
+ if (this.menuSelected[4] == false)
+ {
+ SelectMeasure();
+ }
+ }
+
+ private void panMeasure_MouseHover(object sender, EventArgs e)
+ {
+ if (this.menuSelected[4] == false)
+ {
+ HoverMeasure();
+ }
+ }
+
+ private void panMeasure_MouseLeave(object sender, EventArgs e)
+ {
+ if (this.menuSelected[4] == false)
+ {
+ LeaveMeasure();
+ }
+ }
+
+ private void panData_Click(object sender, EventArgs e)
+ {
+ if (this.menuSelected[5] == false)
+ {
+ SelectData();
+ }
+ }
+
+ private void panData_MouseHover(object sender, EventArgs e)
+ {
+ if (this.menuSelected[5] == false)
+ {
+ HoverData();
+ }
+ }
+
+ private void panData_MouseLeave(object sender, EventArgs e)
+ {
+ if (this.menuSelected[5] == false)
+ {
+ LeaveData();
+ }
+ }
+
+ private void panSetting_Click(object sender, EventArgs e)
+ {
+ if (this.menuSelected[6] == false)
+ {
+ SelectSetting();
+ }
+ }
+
+ private void panSetting_MouseHover(object sender, EventArgs e)
+ {
+ if (this.menuSelected[6] == false)
+ {
+ HoverSetting();
+ }
+ }
+
+ private void panSetting_MouseLeave(object sender, EventArgs e)
+ {
+ if (this.menuSelected[6] == false)
+ {
+ LeaveSetting();
+ }
+ }
+
+ private void switchMainPanel(int index)
+ {
+ this.panelMain.Controls.Clear();
+
+ switch (index)
+ {
+ case 0: // 首页
+ HomeCtrlForm home = new HomeCtrlForm();
+ home.Show();
+ this.panelMain.Controls.Add(home);
+ break;
+
+ case 1: // 基准状态
+ StatusCtrlForm statusForm = new StatusCtrlForm();
+ statusForm.Show();
+ this.panelMain.Controls.Add(statusForm);
+ break;
+
+ case 2: // 待检设备
+ InfoCtrlForm infoForm = new InfoCtrlForm();
+ infoForm.Show();
+ this.panelMain.Controls.Add(infoForm);
+ break;
+
+ case 3: // 频率计数器范围
+ break;
+
+ case 4: // 计量信息
+ DevTestedCtrlForm tested = new DevTestedCtrlForm();
+ tested.Show();
+ this.panelMain.Controls.Add(tested);
+ break;
+
+ case 6: // 设置
+ SettingCtrlForm settingForm = new SettingCtrlForm();
+ settingForm.Show();
+ this.panelMain.Controls.Add(settingForm);
+ break;
+
+ default:
+ break;
+ }
+ }
}
}
\ No newline at end of file
diff --git a/RbFreqStandMeasure/StatusCtrlForm.Designer.cs b/RbFreqStandMeasure/StatusCtrlForm.Designer.cs
index bf5071a..b4151fd 100644
--- a/RbFreqStandMeasure/StatusCtrlForm.Designer.cs
+++ b/RbFreqStandMeasure/StatusCtrlForm.Designer.cs
@@ -31,21 +31,34 @@
{
this.panelSite = new System.Windows.Forms.Panel();
this.label5 = new System.Windows.Forms.Label();
- this.panelStatus = new System.Windows.Forms.Panel();
+ this.panel3 = new System.Windows.Forms.Panel();
+ this.label8 = new System.Windows.Forms.Label();
+ this.label13 = new System.Windows.Forms.Label();
+ this.label12 = new System.Windows.Forms.Label();
+ this.label11 = new System.Windows.Forms.Label();
+ this.label9 = new System.Windows.Forms.Label();
+ this.label10 = new System.Windows.Forms.Label();
+ this.panel2 = new System.Windows.Forms.Panel();
this.label4 = new System.Windows.Forms.Label();
+ this.label7 = new System.Windows.Forms.Label();
+ this.label6 = new System.Windows.Forms.Label();
+ this.label1 = new System.Windows.Forms.Label();
+ this.panel1 = new System.Windows.Forms.Panel();
this.label3 = new System.Windows.Forms.Label();
this.label2 = new System.Windows.Forms.Label();
- this.label1 = new System.Windows.Forms.Label();
+ this.label14 = new System.Windows.Forms.Label();
this.panelSite.SuspendLayout();
- this.panelStatus.SuspendLayout();
+ this.panel3.SuspendLayout();
+ this.panel2.SuspendLayout();
+ this.panel1.SuspendLayout();
this.SuspendLayout();
//
// panelSite
//
this.panelSite.Controls.Add(this.label5);
- this.panelSite.Location = new System.Drawing.Point(200, 0);
+ this.panelSite.Location = new System.Drawing.Point(232, 0);
this.panelSite.Name = "panelSite";
- this.panelSite.Size = new System.Drawing.Size(800, 640);
+ this.panelSite.Size = new System.Drawing.Size(773, 640);
this.panelSite.TabIndex = 3;
//
// label5
@@ -57,67 +70,208 @@
this.label5.TabIndex = 0;
this.label5.Text = "卫星位置图";
//
- // panelStatus
+ // panel3
//
- this.panelStatus.BackColor = System.Drawing.SystemColors.Window;
- this.panelStatus.Controls.Add(this.label4);
- this.panelStatus.Controls.Add(this.label3);
- this.panelStatus.Controls.Add(this.label2);
- this.panelStatus.Controls.Add(this.label1);
- this.panelStatus.Location = new System.Drawing.Point(0, 0);
- this.panelStatus.Name = "panelStatus";
- this.panelStatus.Size = new System.Drawing.Size(200, 640);
- this.panelStatus.TabIndex = 2;
+ this.panel3.BackgroundImage = global::Casic.Birmm.RbFreqStandMeasure.Properties.Resources.bg_status_location;
+ this.panel3.Controls.Add(this.label8);
+ this.panel3.Controls.Add(this.label13);
+ this.panel3.Controls.Add(this.label12);
+ this.panel3.Controls.Add(this.label11);
+ this.panel3.Controls.Add(this.label9);
+ this.panel3.Controls.Add(this.label10);
+ this.panel3.Location = new System.Drawing.Point(6, 360);
+ this.panel3.Name = "panel3";
+ this.panel3.Size = new System.Drawing.Size(224, 293);
+ this.panel3.TabIndex = 6;
+ //
+ // label8
+ //
+ this.label8.BackColor = System.Drawing.Color.Transparent;
+ this.label8.Font = new System.Drawing.Font("微软雅黑", 14F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Pixel, ((byte)(134)));
+ this.label8.Location = new System.Drawing.Point(0, 20);
+ this.label8.Name = "label8";
+ this.label8.Size = new System.Drawing.Size(224, 25);
+ this.label8.TabIndex = 0;
+ this.label8.Text = "位置信息";
+ this.label8.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
+ //
+ // label13
+ //
+ this.label13.BackColor = System.Drawing.Color.Transparent;
+ this.label13.Font = new System.Drawing.Font("微软雅黑", 14F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Pixel, ((byte)(134)));
+ this.label13.Location = new System.Drawing.Point(0, 220);
+ this.label13.Margin = new System.Windows.Forms.Padding(0);
+ this.label13.Name = "label13";
+ this.label13.Size = new System.Drawing.Size(75, 25);
+ this.label13.TabIndex = 1;
+ this.label13.Text = "Z";
+ this.label13.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
+ //
+ // label12
+ //
+ this.label12.BackColor = System.Drawing.Color.Transparent;
+ this.label12.Font = new System.Drawing.Font("微软雅黑", 14F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Pixel, ((byte)(134)));
+ this.label12.Location = new System.Drawing.Point(0, 180);
+ this.label12.Margin = new System.Windows.Forms.Padding(0);
+ this.label12.Name = "label12";
+ this.label12.Size = new System.Drawing.Size(75, 25);
+ this.label12.TabIndex = 1;
+ this.label12.Text = "Y";
+ this.label12.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
+ //
+ // label11
+ //
+ this.label11.BackColor = System.Drawing.Color.Transparent;
+ this.label11.Font = new System.Drawing.Font("微软雅黑", 14F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Pixel, ((byte)(134)));
+ this.label11.Location = new System.Drawing.Point(0, 140);
+ this.label11.Margin = new System.Windows.Forms.Padding(0);
+ this.label11.Name = "label11";
+ this.label11.Size = new System.Drawing.Size(75, 25);
+ this.label11.TabIndex = 1;
+ this.label11.Text = "X";
+ this.label11.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
+ //
+ // label9
+ //
+ this.label9.BackColor = System.Drawing.Color.Transparent;
+ this.label9.Font = new System.Drawing.Font("微软雅黑", 14F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Pixel, ((byte)(134)));
+ this.label9.Location = new System.Drawing.Point(0, 60);
+ this.label9.Name = "label9";
+ this.label9.Size = new System.Drawing.Size(75, 25);
+ this.label9.TabIndex = 1;
+ this.label9.Text = "经度";
+ this.label9.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
+ //
+ // label10
+ //
+ this.label10.BackColor = System.Drawing.Color.Transparent;
+ this.label10.Font = new System.Drawing.Font("微软雅黑", 14F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Pixel, ((byte)(134)));
+ this.label10.Location = new System.Drawing.Point(0, 100);
+ this.label10.Margin = new System.Windows.Forms.Padding(0);
+ this.label10.Name = "label10";
+ this.label10.Size = new System.Drawing.Size(75, 25);
+ this.label10.TabIndex = 1;
+ this.label10.Text = "纬度";
+ this.label10.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
+ //
+ // panel2
+ //
+ this.panel2.BackgroundImage = global::Casic.Birmm.RbFreqStandMeasure.Properties.Resources.bg_status_time;
+ this.panel2.Controls.Add(this.label4);
+ this.panel2.Controls.Add(this.label7);
+ this.panel2.Controls.Add(this.label6);
+ this.panel2.Controls.Add(this.label1);
+ this.panel2.Location = new System.Drawing.Point(6, 160);
+ this.panel2.Name = "panel2";
+ this.panel2.Size = new System.Drawing.Size(224, 200);
+ this.panel2.TabIndex = 5;
//
// label4
//
- this.label4.AutoSize = true;
- this.label4.Location = new System.Drawing.Point(59, 185);
+ this.label4.BackColor = System.Drawing.Color.Transparent;
+ this.label4.Font = new System.Drawing.Font("微软雅黑", 14F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Pixel, ((byte)(134)));
+ this.label4.Location = new System.Drawing.Point(0, 20);
this.label4.Name = "label4";
- this.label4.Size = new System.Drawing.Size(53, 12);
+ this.label4.Size = new System.Drawing.Size(224, 25);
this.label4.TabIndex = 0;
- this.label4.Text = "事件信息";
+ this.label4.Text = "时间信息";
+ this.label4.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
//
- // label3
+ // label7
//
- this.label3.AutoSize = true;
- this.label3.Location = new System.Drawing.Point(59, 139);
- this.label3.Name = "label3";
- this.label3.Size = new System.Drawing.Size(53, 12);
- this.label3.TabIndex = 0;
- this.label3.Text = "位置信息";
+ this.label7.BackColor = System.Drawing.Color.Transparent;
+ this.label7.Font = new System.Drawing.Font("微软雅黑", 14F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Pixel, ((byte)(134)));
+ this.label7.Location = new System.Drawing.Point(0, 140);
+ this.label7.Margin = new System.Windows.Forms.Padding(0);
+ this.label7.Name = "label7";
+ this.label7.Size = new System.Drawing.Size(75, 25);
+ this.label7.TabIndex = 1;
+ this.label7.Text = "MJD";
+ this.label7.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
//
- // label2
+ // label6
//
- this.label2.AutoSize = true;
- this.label2.Location = new System.Drawing.Point(59, 98);
- this.label2.Name = "label2";
- this.label2.Size = new System.Drawing.Size(53, 12);
- this.label2.TabIndex = 0;
- this.label2.Text = "锁定状态";
+ this.label6.BackColor = System.Drawing.Color.Transparent;
+ this.label6.Font = new System.Drawing.Font("微软雅黑", 14F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Pixel, ((byte)(134)));
+ this.label6.Location = new System.Drawing.Point(0, 100);
+ this.label6.Name = "label6";
+ this.label6.Size = new System.Drawing.Size(75, 25);
+ this.label6.TabIndex = 1;
+ this.label6.Text = "时间";
+ this.label6.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
//
// label1
//
- this.label1.AutoSize = true;
- this.label1.Location = new System.Drawing.Point(33, 53);
+ this.label1.BackColor = System.Drawing.Color.Transparent;
+ this.label1.Font = new System.Drawing.Font("微软雅黑", 14F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Pixel, ((byte)(134)));
+ this.label1.Location = new System.Drawing.Point(0, 60);
this.label1.Name = "label1";
- this.label1.Size = new System.Drawing.Size(29, 12);
- this.label1.TabIndex = 0;
- this.label1.Text = "状态";
+ this.label1.Size = new System.Drawing.Size(75, 25);
+ this.label1.TabIndex = 1;
+ this.label1.Text = "日期";
+ this.label1.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
+ //
+ // panel1
+ //
+ this.panel1.BackgroundImage = global::Casic.Birmm.RbFreqStandMeasure.Properties.Resources.bg_status_base;
+ this.panel1.Controls.Add(this.label3);
+ this.panel1.Controls.Add(this.label2);
+ this.panel1.Controls.Add(this.label14);
+ this.panel1.Location = new System.Drawing.Point(6, 0);
+ this.panel1.Margin = new System.Windows.Forms.Padding(0);
+ this.panel1.Name = "panel1";
+ this.panel1.Size = new System.Drawing.Size(224, 160);
+ this.panel1.TabIndex = 4;
+ //
+ // label3
+ //
+ this.label3.BackColor = System.Drawing.Color.Transparent;
+ this.label3.Font = new System.Drawing.Font("微软雅黑", 14F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Pixel, ((byte)(134)));
+ this.label3.Location = new System.Drawing.Point(0, 100);
+ this.label3.Name = "label3";
+ this.label3.Size = new System.Drawing.Size(75, 25);
+ this.label3.TabIndex = 1;
+ this.label3.Text = "接收机";
+ this.label3.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
+ //
+ // label2
+ //
+ this.label2.BackColor = System.Drawing.Color.Transparent;
+ this.label2.Font = new System.Drawing.Font("微软雅黑", 14F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Pixel, ((byte)(134)));
+ this.label2.Location = new System.Drawing.Point(0, 60);
+ this.label2.Name = "label2";
+ this.label2.Size = new System.Drawing.Size(75, 25);
+ this.label2.TabIndex = 1;
+ this.label2.Text = "原子钟";
+ this.label2.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
+ //
+ // label14
+ //
+ this.label14.BackColor = System.Drawing.Color.Transparent;
+ this.label14.Font = new System.Drawing.Font("微软雅黑", 14F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Pixel, ((byte)(134)));
+ this.label14.Location = new System.Drawing.Point(0, 20);
+ this.label14.Name = "label14";
+ this.label14.Size = new System.Drawing.Size(224, 25);
+ this.label14.TabIndex = 0;
+ this.label14.Text = "基本信息";
+ this.label14.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
//
// StatusCtrlForm
//
this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 12F);
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
+ this.Controls.Add(this.panel3);
+ this.Controls.Add(this.panel2);
+ this.Controls.Add(this.panel1);
this.Controls.Add(this.panelSite);
- this.Controls.Add(this.panelStatus);
this.Margin = new System.Windows.Forms.Padding(10);
this.Name = "StatusCtrlForm";
- this.Size = new System.Drawing.Size(1000, 640);
+ this.Size = new System.Drawing.Size(1024, 654);
this.panelSite.ResumeLayout(false);
this.panelSite.PerformLayout();
- this.panelStatus.ResumeLayout(false);
- this.panelStatus.PerformLayout();
+ this.panel3.ResumeLayout(false);
+ this.panel2.ResumeLayout(false);
+ this.panel1.ResumeLayout(false);
this.ResumeLayout(false);
}
@@ -126,10 +280,21 @@
private System.Windows.Forms.Panel panelSite;
private System.Windows.Forms.Label label5;
- private System.Windows.Forms.Panel panelStatus;
+ private System.Windows.Forms.Panel panel3;
+ private System.Windows.Forms.Label label8;
+ private System.Windows.Forms.Label label13;
+ private System.Windows.Forms.Label label12;
+ private System.Windows.Forms.Label label11;
+ private System.Windows.Forms.Label label9;
+ private System.Windows.Forms.Label label10;
+ private System.Windows.Forms.Panel panel2;
private System.Windows.Forms.Label label4;
+ private System.Windows.Forms.Label label7;
+ private System.Windows.Forms.Label label6;
+ private System.Windows.Forms.Label label1;
+ private System.Windows.Forms.Panel panel1;
private System.Windows.Forms.Label label3;
private System.Windows.Forms.Label label2;
- private System.Windows.Forms.Label label1;
+ private System.Windows.Forms.Label label14;
}
}
diff --git a/RbFreqStandMeasure/res/images/bg_banner.png b/RbFreqStandMeasure/res/images/bg_banner.png
index d795b7d..3119070 100644
--- a/RbFreqStandMeasure/res/images/bg_banner.png
+++ b/RbFreqStandMeasure/res/images/bg_banner.png
Binary files differ
diff --git a/RbFreqStandMeasure/res/images/bg_dev_channel.png b/RbFreqStandMeasure/res/images/bg_dev_channel.png
new file mode 100644
index 0000000..7bac7ce
--- /dev/null
+++ b/RbFreqStandMeasure/res/images/bg_dev_channel.png
Binary files differ
diff --git a/RbFreqStandMeasure/res/images/bg_dev_tested.png b/RbFreqStandMeasure/res/images/bg_dev_tested.png
new file mode 100644
index 0000000..0b43ead
--- /dev/null
+++ b/RbFreqStandMeasure/res/images/bg_dev_tested.png
Binary files differ
diff --git a/RbFreqStandMeasure/res/images/bg_status_base.png b/RbFreqStandMeasure/res/images/bg_status_base.png
new file mode 100644
index 0000000..ef11397
--- /dev/null
+++ b/RbFreqStandMeasure/res/images/bg_status_base.png
Binary files differ
diff --git a/RbFreqStandMeasure/res/images/bg_status_location.png b/RbFreqStandMeasure/res/images/bg_status_location.png
new file mode 100644
index 0000000..64d28d5
--- /dev/null
+++ b/RbFreqStandMeasure/res/images/bg_status_location.png
Binary files differ
diff --git a/RbFreqStandMeasure/res/images/bg_status_time.png b/RbFreqStandMeasure/res/images/bg_status_time.png
new file mode 100644
index 0000000..eec981a
--- /dev/null
+++ b/RbFreqStandMeasure/res/images/bg_status_time.png
Binary files differ
diff --git a/RbFreqStandMeasure/res/images/icon_counter.png b/RbFreqStandMeasure/res/images/icon_counter.png
new file mode 100644
index 0000000..060c3d7
--- /dev/null
+++ b/RbFreqStandMeasure/res/images/icon_counter.png
Binary files differ
diff --git a/RbFreqStandMeasure/res/images/icon_counter_selected.png b/RbFreqStandMeasure/res/images/icon_counter_selected.png
new file mode 100644
index 0000000..45c7720
--- /dev/null
+++ b/RbFreqStandMeasure/res/images/icon_counter_selected.png
Binary files differ
diff --git a/RbFreqStandMeasure/res/images/icon_data.png b/RbFreqStandMeasure/res/images/icon_data.png
new file mode 100644
index 0000000..bf03575
--- /dev/null
+++ b/RbFreqStandMeasure/res/images/icon_data.png
Binary files differ
diff --git a/RbFreqStandMeasure/res/images/icon_data_selected.png b/RbFreqStandMeasure/res/images/icon_data_selected.png
new file mode 100644
index 0000000..a8aa441
--- /dev/null
+++ b/RbFreqStandMeasure/res/images/icon_data_selected.png
Binary files differ
diff --git a/RbFreqStandMeasure/res/images/icon_dev.png b/RbFreqStandMeasure/res/images/icon_dev.png
new file mode 100644
index 0000000..09bf380
--- /dev/null
+++ b/RbFreqStandMeasure/res/images/icon_dev.png
Binary files differ
diff --git a/RbFreqStandMeasure/res/images/icon_dev_selected.png b/RbFreqStandMeasure/res/images/icon_dev_selected.png
new file mode 100644
index 0000000..63a8b7c
--- /dev/null
+++ b/RbFreqStandMeasure/res/images/icon_dev_selected.png
Binary files differ
diff --git a/RbFreqStandMeasure/res/images/icon_exit.png b/RbFreqStandMeasure/res/images/icon_exit.png
index 997b9e9..a03e429 100644
--- a/RbFreqStandMeasure/res/images/icon_exit.png
+++ b/RbFreqStandMeasure/res/images/icon_exit.png
Binary files differ
diff --git a/RbFreqStandMeasure/res/images/icon_home.png b/RbFreqStandMeasure/res/images/icon_home.png
index f200f25..6409b89 100644
--- a/RbFreqStandMeasure/res/images/icon_home.png
+++ b/RbFreqStandMeasure/res/images/icon_home.png
Binary files differ
diff --git a/RbFreqStandMeasure/res/images/icon_home_selected.png b/RbFreqStandMeasure/res/images/icon_home_selected.png
index 7a4feb4..cfbf470 100644
--- a/RbFreqStandMeasure/res/images/icon_home_selected.png
+++ b/RbFreqStandMeasure/res/images/icon_home_selected.png
Binary files differ
diff --git a/RbFreqStandMeasure/HomeCtrlForm.Designer.cs b/RbFreqStandMeasure/HomeCtrlForm.Designer.cs
index fb515f8..73e477a 100644
--- a/RbFreqStandMeasure/HomeCtrlForm.Designer.cs
+++ b/RbFreqStandMeasure/HomeCtrlForm.Designer.cs
@@ -29,589 +29,271 @@
///
private void InitializeComponent()
{
- System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle1 = new System.Windows.Forms.DataGridViewCellStyle();
- System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle2 = new System.Windows.Forms.DataGridViewCellStyle();
- this.panelToBeTested = new System.Windows.Forms.Panel();
- this.dataGridViewX1 = new DevComponents.DotNetBar.Controls.DataGridViewX();
- this.Column13 = new System.Windows.Forms.DataGridViewTextBoxColumn();
- this.Column14 = new System.Windows.Forms.DataGridViewTextBoxColumn();
- this.Column15 = new System.Windows.Forms.DataGridViewTextBoxColumn();
- this.Column16 = new System.Windows.Forms.DataGridViewTextBoxColumn();
- this.Column17 = new System.Windows.Forms.DataGridViewTextBoxColumn();
- this.panelEx1 = new DevComponents.DotNetBar.PanelEx();
- this.labelX6 = new DevComponents.DotNetBar.LabelX();
- this.labelX5 = new DevComponents.DotNetBar.LabelX();
- this.labelX4 = new DevComponents.DotNetBar.LabelX();
- this.labelX3 = new DevComponents.DotNetBar.LabelX();
- this.labelX2 = new DevComponents.DotNetBar.LabelX();
- this.labelX1 = new DevComponents.DotNetBar.LabelX();
- this.panelEx2 = new DevComponents.DotNetBar.PanelEx();
- this.labelX7 = new DevComponents.DotNetBar.LabelX();
- this.labelX8 = new DevComponents.DotNetBar.LabelX();
- this.labelX10 = new DevComponents.DotNetBar.LabelX();
- this.labelX9 = new DevComponents.DotNetBar.LabelX();
- this.panelEx3 = new DevComponents.DotNetBar.PanelEx();
- this.labelX11 = new DevComponents.DotNetBar.LabelX();
- this.labelX13 = new DevComponents.DotNetBar.LabelX();
- this.labelX12 = new DevComponents.DotNetBar.LabelX();
- this.panelEx4 = new DevComponents.DotNetBar.PanelEx();
- this.dataGridViewX2 = new DevComponents.DotNetBar.Controls.DataGridViewX();
- this.Column18 = new System.Windows.Forms.DataGridViewTextBoxColumn();
- this.Column19 = new System.Windows.Forms.DataGridViewTextBoxColumn();
- this.Column20 = new System.Windows.Forms.DataGridViewTextBoxColumn();
- this.Column21 = new System.Windows.Forms.DataGridViewTextBoxColumn();
- this.Column22 = new System.Windows.Forms.DataGridViewTextBoxColumn();
- this.Column23 = new System.Windows.Forms.DataGridViewTextBoxColumn();
- this.Column24 = new System.Windows.Forms.DataGridViewTextBoxColumn();
- this.Column25 = new System.Windows.Forms.DataGridViewTextBoxColumn();
- this.Column26 = new System.Windows.Forms.DataGridViewTextBoxColumn();
- this.Column27 = new System.Windows.Forms.DataGridViewTextBoxColumn();
- this.Column28 = new System.Windows.Forms.DataGridViewTextBoxColumn();
- this.Column29 = new System.Windows.Forms.DataGridViewTextBoxColumn();
- this.buttonX1 = new DevComponents.DotNetBar.ButtonX();
- this.buttonX2 = new DevComponents.DotNetBar.ButtonX();
+ this.panel3 = new System.Windows.Forms.Panel();
+ this.panel2 = new System.Windows.Forms.Panel();
+ this.panel1 = new System.Windows.Forms.Panel();
+ this.panel4 = new System.Windows.Forms.Panel();
+ this.panel5 = new System.Windows.Forms.Panel();
this.label1 = new System.Windows.Forms.Label();
this.label2 = new System.Windows.Forms.Label();
- this.panelToBeTested.SuspendLayout();
- ((System.ComponentModel.ISupportInitialize)(this.dataGridViewX1)).BeginInit();
- this.panelEx1.SuspendLayout();
- this.panelEx2.SuspendLayout();
- this.panelEx3.SuspendLayout();
- this.panelEx4.SuspendLayout();
- ((System.ComponentModel.ISupportInitialize)(this.dataGridViewX2)).BeginInit();
+ this.label3 = new System.Windows.Forms.Label();
+ this.label4 = new System.Windows.Forms.Label();
+ this.label5 = new System.Windows.Forms.Label();
+ this.label6 = new System.Windows.Forms.Label();
+ this.label7 = new System.Windows.Forms.Label();
+ this.label8 = new System.Windows.Forms.Label();
+ this.label9 = new System.Windows.Forms.Label();
+ this.label10 = new System.Windows.Forms.Label();
+ this.label11 = new System.Windows.Forms.Label();
+ this.label12 = new System.Windows.Forms.Label();
+ this.label13 = new System.Windows.Forms.Label();
+ this.panel3.SuspendLayout();
+ this.panel2.SuspendLayout();
+ this.panel1.SuspendLayout();
this.SuspendLayout();
//
- // panelToBeTested
+ // panel3
//
- this.panelToBeTested.Controls.Add(this.dataGridViewX1);
- this.panelToBeTested.Controls.Add(this.buttonX2);
- this.panelToBeTested.Controls.Add(this.buttonX1);
- this.panelToBeTested.Location = new System.Drawing.Point(250, 0);
- this.panelToBeTested.Name = "panelToBeTested";
- this.panelToBeTested.Size = new System.Drawing.Size(750, 216);
- this.panelToBeTested.TabIndex = 4;
+ this.panel3.BackgroundImage = global::Casic.Birmm.RbFreqStandMeasure.Properties.Resources.bg_status_location;
+ this.panel3.Controls.Add(this.label8);
+ this.panel3.Controls.Add(this.label13);
+ this.panel3.Controls.Add(this.label12);
+ this.panel3.Controls.Add(this.label11);
+ this.panel3.Controls.Add(this.label9);
+ this.panel3.Controls.Add(this.label10);
+ this.panel3.Location = new System.Drawing.Point(6, 360);
+ this.panel3.Name = "panel3";
+ this.panel3.Size = new System.Drawing.Size(224, 293);
+ this.panel3.TabIndex = 2;
//
- // dataGridViewX1
+ // panel2
//
- this.dataGridViewX1.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.AutoSize;
- this.dataGridViewX1.Columns.AddRange(new System.Windows.Forms.DataGridViewColumn[] {
- this.Column13,
- this.Column14,
- this.Column15,
- this.Column16,
- this.Column17});
- dataGridViewCellStyle1.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleLeft;
- dataGridViewCellStyle1.BackColor = System.Drawing.SystemColors.Window;
- dataGridViewCellStyle1.Font = new System.Drawing.Font("宋体", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
- dataGridViewCellStyle1.ForeColor = System.Drawing.SystemColors.ControlText;
- dataGridViewCellStyle1.SelectionBackColor = System.Drawing.SystemColors.Highlight;
- dataGridViewCellStyle1.SelectionForeColor = System.Drawing.SystemColors.ControlText;
- dataGridViewCellStyle1.WrapMode = System.Windows.Forms.DataGridViewTriState.False;
- this.dataGridViewX1.DefaultCellStyle = dataGridViewCellStyle1;
- this.dataGridViewX1.GridColor = System.Drawing.Color.FromArgb(((int)(((byte)(208)))), ((int)(((byte)(215)))), ((int)(((byte)(229)))));
- this.dataGridViewX1.Location = new System.Drawing.Point(0, 1);
- this.dataGridViewX1.Name = "dataGridViewX1";
- this.dataGridViewX1.RowTemplate.Height = 23;
- this.dataGridViewX1.Size = new System.Drawing.Size(750, 179);
- this.dataGridViewX1.TabIndex = 14;
+ this.panel2.BackgroundImage = global::Casic.Birmm.RbFreqStandMeasure.Properties.Resources.bg_status_time;
+ this.panel2.Controls.Add(this.label4);
+ this.panel2.Controls.Add(this.label7);
+ this.panel2.Controls.Add(this.label6);
+ this.panel2.Controls.Add(this.label5);
+ this.panel2.Location = new System.Drawing.Point(6, 160);
+ this.panel2.Name = "panel2";
+ this.panel2.Size = new System.Drawing.Size(224, 200);
+ this.panel2.TabIndex = 1;
//
- // Column13
+ // panel1
//
- this.Column13.HeaderText = "仪器名称";
- this.Column13.Name = "Column13";
+ this.panel1.BackgroundImage = global::Casic.Birmm.RbFreqStandMeasure.Properties.Resources.bg_status_base;
+ this.panel1.Controls.Add(this.label3);
+ this.panel1.Controls.Add(this.label2);
+ this.panel1.Controls.Add(this.label1);
+ this.panel1.Location = new System.Drawing.Point(6, 0);
+ this.panel1.Margin = new System.Windows.Forms.Padding(0);
+ this.panel1.Name = "panel1";
+ this.panel1.Size = new System.Drawing.Size(224, 160);
+ this.panel1.TabIndex = 0;
//
- // Column14
+ // panel4
//
- this.Column14.HeaderText = "仪器类型";
- this.Column14.Name = "Column14";
+ this.panel4.BackgroundImage = global::Casic.Birmm.RbFreqStandMeasure.Properties.Resources.bg_dev_tested;
+ this.panel4.Location = new System.Drawing.Point(230, 0);
+ this.panel4.Margin = new System.Windows.Forms.Padding(0);
+ this.panel4.Name = "panel4";
+ this.panel4.Size = new System.Drawing.Size(788, 226);
+ this.panel4.TabIndex = 3;
//
- // Column15
+ // panel5
//
- this.Column15.HeaderText = "仪器编号";
- this.Column15.Name = "Column15";
- //
- // Column16
- //
- this.Column16.HeaderText = "客户名称";
- this.Column16.Name = "Column16";
- //
- // Column17
- //
- this.Column17.HeaderText = "开始时间";
- this.Column17.Name = "Column17";
- //
- // panelEx1
- //
- this.panelEx1.CanvasColor = System.Drawing.SystemColors.Control;
- this.panelEx1.ColorSchemeStyle = DevComponents.DotNetBar.eDotNetBarStyle.StyleManagerControlled;
- this.panelEx1.Controls.Add(this.labelX6);
- this.panelEx1.Controls.Add(this.labelX5);
- this.panelEx1.Controls.Add(this.labelX4);
- this.panelEx1.Controls.Add(this.labelX3);
- this.panelEx1.Controls.Add(this.labelX2);
- this.panelEx1.Controls.Add(this.labelX1);
- this.panelEx1.DisabledBackColor = System.Drawing.Color.Empty;
- this.panelEx1.Location = new System.Drawing.Point(25, 376);
- this.panelEx1.Name = "panelEx1";
- this.panelEx1.Size = new System.Drawing.Size(200, 200);
- this.panelEx1.Style.Alignment = System.Drawing.StringAlignment.Center;
- this.panelEx1.Style.BackColor1.ColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelBackground;
- this.panelEx1.Style.BackColor2.ColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelBackground2;
- this.panelEx1.Style.Border = DevComponents.DotNetBar.eBorderType.SingleLine;
- this.panelEx1.Style.BorderColor.ColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelBorder;
- this.panelEx1.Style.ForeColor.ColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelText;
- this.panelEx1.Style.GradientAngle = 90;
- this.panelEx1.TabIndex = 10;
- //
- // labelX6
- //
- //
- //
- //
- this.labelX6.BackgroundStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square;
- this.labelX6.Location = new System.Drawing.Point(3, 153);
- this.labelX6.Name = "labelX6";
- this.labelX6.Size = new System.Drawing.Size(75, 23);
- this.labelX6.Style = DevComponents.DotNetBar.eDotNetBarStyle.Office2013;
- this.labelX6.TabIndex = 0;
- this.labelX6.Text = "Z";
- this.labelX6.TextAlignment = System.Drawing.StringAlignment.Center;
- //
- // labelX5
- //
- //
- //
- //
- this.labelX5.BackgroundStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square;
- this.labelX5.Location = new System.Drawing.Point(3, 124);
- this.labelX5.Name = "labelX5";
- this.labelX5.Size = new System.Drawing.Size(75, 23);
- this.labelX5.Style = DevComponents.DotNetBar.eDotNetBarStyle.Office2013;
- this.labelX5.TabIndex = 0;
- this.labelX5.Text = "Y";
- this.labelX5.TextAlignment = System.Drawing.StringAlignment.Center;
- //
- // labelX4
- //
- //
- //
- //
- this.labelX4.BackgroundStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square;
- this.labelX4.Location = new System.Drawing.Point(3, 95);
- this.labelX4.Name = "labelX4";
- this.labelX4.Size = new System.Drawing.Size(75, 23);
- this.labelX4.Style = DevComponents.DotNetBar.eDotNetBarStyle.Office2013;
- this.labelX4.TabIndex = 0;
- this.labelX4.Text = "X";
- this.labelX4.TextAlignment = System.Drawing.StringAlignment.Center;
- //
- // labelX3
- //
- //
- //
- //
- this.labelX3.BackgroundStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square;
- this.labelX3.Location = new System.Drawing.Point(3, 66);
- this.labelX3.Name = "labelX3";
- this.labelX3.Size = new System.Drawing.Size(75, 23);
- this.labelX3.Style = DevComponents.DotNetBar.eDotNetBarStyle.Office2013;
- this.labelX3.TabIndex = 0;
- this.labelX3.Text = "纬度";
- this.labelX3.TextAlignment = System.Drawing.StringAlignment.Center;
- //
- // labelX2
- //
- //
- //
- //
- this.labelX2.BackgroundStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square;
- this.labelX2.Location = new System.Drawing.Point(3, 37);
- this.labelX2.Name = "labelX2";
- this.labelX2.Size = new System.Drawing.Size(75, 23);
- this.labelX2.Style = DevComponents.DotNetBar.eDotNetBarStyle.Office2013;
- this.labelX2.TabIndex = 0;
- this.labelX2.Text = "经度";
- this.labelX2.TextAlignment = System.Drawing.StringAlignment.Center;
- //
- // labelX1
- //
- //
- //
- //
- this.labelX1.BackgroundStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square;
- this.labelX1.Location = new System.Drawing.Point(3, 3);
- this.labelX1.Name = "labelX1";
- this.labelX1.Size = new System.Drawing.Size(194, 23);
- this.labelX1.Style = DevComponents.DotNetBar.eDotNetBarStyle.Office2013;
- this.labelX1.TabIndex = 0;
- this.labelX1.Text = "位置信息";
- this.labelX1.TextAlignment = System.Drawing.StringAlignment.Center;
- //
- // panelEx2
- //
- this.panelEx2.CanvasColor = System.Drawing.SystemColors.Control;
- this.panelEx2.ColorSchemeStyle = DevComponents.DotNetBar.eDotNetBarStyle.StyleManagerControlled;
- this.panelEx2.Controls.Add(this.labelX7);
- this.panelEx2.Controls.Add(this.labelX8);
- this.panelEx2.Controls.Add(this.labelX10);
- this.panelEx2.Controls.Add(this.labelX9);
- this.panelEx2.DisabledBackColor = System.Drawing.Color.Empty;
- this.panelEx2.Location = new System.Drawing.Point(25, 190);
- this.panelEx2.Name = "panelEx2";
- this.panelEx2.Size = new System.Drawing.Size(200, 150);
- this.panelEx2.Style.Alignment = System.Drawing.StringAlignment.Center;
- this.panelEx2.Style.BackColor1.ColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelBackground;
- this.panelEx2.Style.BackColor2.ColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelBackground2;
- this.panelEx2.Style.Border = DevComponents.DotNetBar.eBorderType.SingleLine;
- this.panelEx2.Style.BorderColor.ColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelBorder;
- this.panelEx2.Style.ForeColor.ColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelText;
- this.panelEx2.Style.GradientAngle = 90;
- this.panelEx2.TabIndex = 10;
- //
- // labelX7
- //
- //
- //
- //
- this.labelX7.BackgroundStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square;
- this.labelX7.Location = new System.Drawing.Point(3, 3);
- this.labelX7.Name = "labelX7";
- this.labelX7.Size = new System.Drawing.Size(194, 23);
- this.labelX7.Style = DevComponents.DotNetBar.eDotNetBarStyle.Office2013;
- this.labelX7.TabIndex = 0;
- this.labelX7.Text = "时间信息";
- this.labelX7.TextAlignment = System.Drawing.StringAlignment.Center;
- //
- // labelX8
- //
- //
- //
- //
- this.labelX8.BackgroundStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square;
- this.labelX8.Location = new System.Drawing.Point(3, 41);
- this.labelX8.Name = "labelX8";
- this.labelX8.Size = new System.Drawing.Size(75, 23);
- this.labelX8.Style = DevComponents.DotNetBar.eDotNetBarStyle.Office2013;
- this.labelX8.TabIndex = 0;
- this.labelX8.Text = "日期";
- this.labelX8.TextAlignment = System.Drawing.StringAlignment.Center;
- //
- // labelX10
- //
- //
- //
- //
- this.labelX10.BackgroundStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square;
- this.labelX10.Location = new System.Drawing.Point(3, 99);
- this.labelX10.Name = "labelX10";
- this.labelX10.Size = new System.Drawing.Size(75, 23);
- this.labelX10.Style = DevComponents.DotNetBar.eDotNetBarStyle.Office2013;
- this.labelX10.TabIndex = 0;
- this.labelX10.Text = "MJD";
- this.labelX10.TextAlignment = System.Drawing.StringAlignment.Center;
- //
- // labelX9
- //
- //
- //
- //
- this.labelX9.BackgroundStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square;
- this.labelX9.Location = new System.Drawing.Point(3, 70);
- this.labelX9.Name = "labelX9";
- this.labelX9.Size = new System.Drawing.Size(75, 23);
- this.labelX9.Style = DevComponents.DotNetBar.eDotNetBarStyle.Office2013;
- this.labelX9.TabIndex = 0;
- this.labelX9.Text = "时间";
- this.labelX9.TextAlignment = System.Drawing.StringAlignment.Center;
- //
- // panelEx3
- //
- this.panelEx3.CanvasColor = System.Drawing.SystemColors.Control;
- this.panelEx3.ColorSchemeStyle = DevComponents.DotNetBar.eDotNetBarStyle.StyleManagerControlled;
- this.panelEx3.Controls.Add(this.labelX11);
- this.panelEx3.Controls.Add(this.labelX13);
- this.panelEx3.Controls.Add(this.labelX12);
- this.panelEx3.DisabledBackColor = System.Drawing.Color.Empty;
- this.panelEx3.Location = new System.Drawing.Point(25, 50);
- this.panelEx3.Name = "panelEx3";
- this.panelEx3.Size = new System.Drawing.Size(200, 100);
- this.panelEx3.Style.Alignment = System.Drawing.StringAlignment.Center;
- this.panelEx3.Style.BackColor1.ColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelBackground;
- this.panelEx3.Style.BackColor2.ColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelBackground2;
- this.panelEx3.Style.Border = DevComponents.DotNetBar.eBorderType.SingleLine;
- this.panelEx3.Style.BorderColor.ColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelBorder;
- this.panelEx3.Style.ForeColor.ColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelText;
- this.panelEx3.Style.GradientAngle = 90;
- this.panelEx3.TabIndex = 10;
- //
- // labelX11
- //
- //
- //
- //
- this.labelX11.BackgroundStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square;
- this.labelX11.Location = new System.Drawing.Point(3, 3);
- this.labelX11.Name = "labelX11";
- this.labelX11.Size = new System.Drawing.Size(194, 23);
- this.labelX11.Style = DevComponents.DotNetBar.eDotNetBarStyle.Office2013;
- this.labelX11.TabIndex = 0;
- this.labelX11.Text = "基本信息";
- this.labelX11.TextAlignment = System.Drawing.StringAlignment.Center;
- //
- // labelX13
- //
- //
- //
- //
- this.labelX13.BackgroundStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square;
- this.labelX13.Location = new System.Drawing.Point(3, 32);
- this.labelX13.Name = "labelX13";
- this.labelX13.Size = new System.Drawing.Size(75, 23);
- this.labelX13.Style = DevComponents.DotNetBar.eDotNetBarStyle.Office2013;
- this.labelX13.TabIndex = 0;
- this.labelX13.Text = "原子钟";
- this.labelX13.TextAlignment = System.Drawing.StringAlignment.Center;
- //
- // labelX12
- //
- //
- //
- //
- this.labelX12.BackgroundStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square;
- this.labelX12.Location = new System.Drawing.Point(3, 61);
- this.labelX12.Name = "labelX12";
- this.labelX12.Size = new System.Drawing.Size(75, 23);
- this.labelX12.Style = DevComponents.DotNetBar.eDotNetBarStyle.Office2013;
- this.labelX12.TabIndex = 0;
- this.labelX12.Text = "接收机";
- this.labelX12.TextAlignment = System.Drawing.StringAlignment.Center;
- //
- // panelEx4
- //
- this.panelEx4.CanvasColor = System.Drawing.SystemColors.Control;
- this.panelEx4.ColorSchemeStyle = DevComponents.DotNetBar.eDotNetBarStyle.StyleManagerControlled;
- this.panelEx4.Controls.Add(this.panelEx2);
- this.panelEx4.Controls.Add(this.panelEx1);
- this.panelEx4.Controls.Add(this.panelEx3);
- this.panelEx4.DisabledBackColor = System.Drawing.Color.Empty;
- this.panelEx4.Location = new System.Drawing.Point(0, 0);
- this.panelEx4.Name = "panelEx4";
- this.panelEx4.Size = new System.Drawing.Size(250, 640);
- this.panelEx4.Style.Alignment = System.Drawing.StringAlignment.Center;
- this.panelEx4.Style.BackColor1.ColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelBackground;
- this.panelEx4.Style.BackColor2.ColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelBackground2;
- this.panelEx4.Style.Border = DevComponents.DotNetBar.eBorderType.SingleLine;
- this.panelEx4.Style.BorderColor.ColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelBorder;
- this.panelEx4.Style.ForeColor.ColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelText;
- this.panelEx4.Style.GradientAngle = 90;
- this.panelEx4.TabIndex = 10;
- //
- // dataGridViewX2
- //
- this.dataGridViewX2.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.AutoSize;
- this.dataGridViewX2.Columns.AddRange(new System.Windows.Forms.DataGridViewColumn[] {
- this.Column18,
- this.Column19,
- this.Column20,
- this.Column21,
- this.Column22,
- this.Column23,
- this.Column24,
- this.Column25,
- this.Column26,
- this.Column27,
- this.Column28,
- this.Column29});
- dataGridViewCellStyle2.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleLeft;
- dataGridViewCellStyle2.BackColor = System.Drawing.SystemColors.Window;
- dataGridViewCellStyle2.Font = new System.Drawing.Font("宋体", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
- dataGridViewCellStyle2.ForeColor = System.Drawing.SystemColors.ControlText;
- dataGridViewCellStyle2.SelectionBackColor = System.Drawing.SystemColors.Highlight;
- dataGridViewCellStyle2.SelectionForeColor = System.Drawing.SystemColors.ControlText;
- dataGridViewCellStyle2.WrapMode = System.Windows.Forms.DataGridViewTriState.False;
- this.dataGridViewX2.DefaultCellStyle = dataGridViewCellStyle2;
- this.dataGridViewX2.GridColor = System.Drawing.Color.FromArgb(((int)(((byte)(208)))), ((int)(((byte)(215)))), ((int)(((byte)(229)))));
- this.dataGridViewX2.Location = new System.Drawing.Point(250, 216);
- this.dataGridViewX2.Name = "dataGridViewX2";
- this.dataGridViewX2.Size = new System.Drawing.Size(747, 424);
- this.dataGridViewX2.TabIndex = 15;
- //
- // Column18
- //
- this.Column18.HeaderText = "通道号";
- this.Column18.Name = "Column18";
- //
- // Column19
- //
- this.Column19.HeaderText = "当前状态";
- this.Column19.Name = "Column19";
- //
- // Column20
- //
- this.Column20.HeaderText = "仪器名称";
- this.Column20.Name = "Column20";
- //
- // Column21
- //
- this.Column21.HeaderText = "仪器编号";
- this.Column21.Name = "Column21";
- //
- // Column22
- //
- this.Column22.HeaderText = "客户名称";
- this.Column22.Name = "Column22";
- //
- // Column23
- //
- this.Column23.HeaderText = "开始时间";
- this.Column23.Name = "Column23";
- //
- // Column24
- //
- this.Column24.HeaderText = "结束时间";
- this.Column24.Name = "Column24";
- //
- // Column25
- //
- this.Column25.HeaderText = "频率稳定度";
- this.Column25.Name = "Column25";
- //
- // Column26
- //
- this.Column26.HeaderText = "频率准确度";
- this.Column26.Name = "Column26";
- //
- // Column27
- //
- this.Column27.HeaderText = "开机特性";
- this.Column27.Name = "Column27";
- //
- // Column28
- //
- this.Column28.HeaderText = "日老化率";
- this.Column28.Name = "Column28";
- //
- // Column29
- //
- this.Column29.HeaderText = "频率计数器范围及灵敏度";
- this.Column29.Name = "Column29";
- //
- // buttonX1
- //
- this.buttonX1.AccessibleRole = System.Windows.Forms.AccessibleRole.PushButton;
- this.buttonX1.BackColor = System.Drawing.Color.Transparent;
- this.buttonX1.ColorTable = DevComponents.DotNetBar.eButtonColor.OrangeWithBackground;
- this.buttonX1.Location = new System.Drawing.Point(663, 183);
- this.buttonX1.Name = "buttonX1";
- this.buttonX1.Size = new System.Drawing.Size(30, 23);
- this.buttonX1.Style = DevComponents.DotNetBar.eDotNetBarStyle.StyleManagerControlled;
- this.buttonX1.Symbol = "";
- this.buttonX1.SymbolColor = System.Drawing.Color.FromArgb(((int)(((byte)(64)))), ((int)(((byte)(64)))), ((int)(((byte)(64)))));
- this.buttonX1.SymbolSize = 8F;
- this.buttonX1.TabIndex = 19;
- //
- // buttonX2
- //
- this.buttonX2.AccessibleRole = System.Windows.Forms.AccessibleRole.PushButton;
- this.buttonX2.BackColor = System.Drawing.Color.Transparent;
- this.buttonX2.ColorTable = DevComponents.DotNetBar.eButtonColor.OrangeWithBackground;
- this.buttonX2.Location = new System.Drawing.Point(589, 184);
- this.buttonX2.Name = "buttonX2";
- this.buttonX2.Size = new System.Drawing.Size(30, 23);
- this.buttonX2.Style = DevComponents.DotNetBar.eDotNetBarStyle.StyleManagerControlled;
- this.buttonX2.Symbol = "";
- this.buttonX2.SymbolColor = System.Drawing.Color.FromArgb(((int)(((byte)(64)))), ((int)(((byte)(64)))), ((int)(((byte)(64)))));
- this.buttonX2.SymbolSize = 8F;
- this.buttonX2.TabIndex = 19;
+ this.panel5.BackgroundImage = global::Casic.Birmm.RbFreqStandMeasure.Properties.Resources.bg_dev_channel;
+ this.panel5.Location = new System.Drawing.Point(230, 226);
+ this.panel5.Name = "panel5";
+ this.panel5.Size = new System.Drawing.Size(788, 424);
+ this.panel5.TabIndex = 4;
//
// label1
//
this.label1.BackColor = System.Drawing.Color.Transparent;
- this.label1.Font = new System.Drawing.Font("Times New Roman", 9.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
- this.label1.Location = new System.Drawing.Point(880, 186);
- this.label1.Margin = new System.Windows.Forms.Padding(0);
+ this.label1.Font = new System.Drawing.Font("微软雅黑", 14F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Pixel, ((byte)(134)));
+ this.label1.Location = new System.Drawing.Point(0, 20);
this.label1.Name = "label1";
- this.label1.Size = new System.Drawing.Size(20, 20);
- this.label1.TabIndex = 20;
- this.label1.Text = "1";
+ this.label1.Size = new System.Drawing.Size(224, 25);
+ this.label1.TabIndex = 0;
+ this.label1.Text = "基本信息";
this.label1.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
//
// label2
//
this.label2.BackColor = System.Drawing.Color.Transparent;
- this.label2.Font = new System.Drawing.Font("Times New Roman", 9.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
- this.label2.Location = new System.Drawing.Point(636, 187);
- this.label2.Margin = new System.Windows.Forms.Padding(0);
+ this.label2.Font = new System.Drawing.Font("微软雅黑", 14F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Pixel, ((byte)(134)));
+ this.label2.Location = new System.Drawing.Point(0, 60);
this.label2.Name = "label2";
- this.label2.Size = new System.Drawing.Size(200, 20);
- this.label2.TabIndex = 20;
- this.label2.Text = "共150条,每页5条,共100页";
- this.label2.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
+ this.label2.Size = new System.Drawing.Size(75, 25);
+ this.label2.TabIndex = 1;
+ this.label2.Text = "原子钟";
+ this.label2.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
+ //
+ // label3
+ //
+ this.label3.BackColor = System.Drawing.Color.Transparent;
+ this.label3.Font = new System.Drawing.Font("微软雅黑", 14F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Pixel, ((byte)(134)));
+ this.label3.Location = new System.Drawing.Point(0, 100);
+ this.label3.Name = "label3";
+ this.label3.Size = new System.Drawing.Size(75, 25);
+ this.label3.TabIndex = 1;
+ this.label3.Text = "接收机";
+ this.label3.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
+ //
+ // label4
+ //
+ this.label4.BackColor = System.Drawing.Color.Transparent;
+ this.label4.Font = new System.Drawing.Font("微软雅黑", 14F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Pixel, ((byte)(134)));
+ this.label4.Location = new System.Drawing.Point(0, 20);
+ this.label4.Name = "label4";
+ this.label4.Size = new System.Drawing.Size(224, 25);
+ this.label4.TabIndex = 0;
+ this.label4.Text = "时间信息";
+ this.label4.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
+ //
+ // label5
+ //
+ this.label5.BackColor = System.Drawing.Color.Transparent;
+ this.label5.Font = new System.Drawing.Font("微软雅黑", 14F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Pixel, ((byte)(134)));
+ this.label5.Location = new System.Drawing.Point(0, 60);
+ this.label5.Name = "label5";
+ this.label5.Size = new System.Drawing.Size(75, 25);
+ this.label5.TabIndex = 1;
+ this.label5.Text = "日期";
+ this.label5.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
+ //
+ // label6
+ //
+ this.label6.BackColor = System.Drawing.Color.Transparent;
+ this.label6.Font = new System.Drawing.Font("微软雅黑", 14F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Pixel, ((byte)(134)));
+ this.label6.Location = new System.Drawing.Point(0, 100);
+ this.label6.Name = "label6";
+ this.label6.Size = new System.Drawing.Size(75, 25);
+ this.label6.TabIndex = 1;
+ this.label6.Text = "时间";
+ this.label6.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
+ //
+ // label7
+ //
+ this.label7.BackColor = System.Drawing.Color.Transparent;
+ this.label7.Font = new System.Drawing.Font("微软雅黑", 14F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Pixel, ((byte)(134)));
+ this.label7.Location = new System.Drawing.Point(0, 140);
+ this.label7.Margin = new System.Windows.Forms.Padding(0);
+ this.label7.Name = "label7";
+ this.label7.Size = new System.Drawing.Size(75, 25);
+ this.label7.TabIndex = 1;
+ this.label7.Text = "MJD";
+ this.label7.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
+ //
+ // label8
+ //
+ this.label8.BackColor = System.Drawing.Color.Transparent;
+ this.label8.Font = new System.Drawing.Font("微软雅黑", 14F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Pixel, ((byte)(134)));
+ this.label8.Location = new System.Drawing.Point(0, 20);
+ this.label8.Name = "label8";
+ this.label8.Size = new System.Drawing.Size(224, 25);
+ this.label8.TabIndex = 0;
+ this.label8.Text = "位置信息";
+ this.label8.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
+ //
+ // label9
+ //
+ this.label9.BackColor = System.Drawing.Color.Transparent;
+ this.label9.Font = new System.Drawing.Font("微软雅黑", 14F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Pixel, ((byte)(134)));
+ this.label9.Location = new System.Drawing.Point(0, 60);
+ this.label9.Name = "label9";
+ this.label9.Size = new System.Drawing.Size(75, 25);
+ this.label9.TabIndex = 1;
+ this.label9.Text = "经度";
+ this.label9.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
+ //
+ // label10
+ //
+ this.label10.BackColor = System.Drawing.Color.Transparent;
+ this.label10.Font = new System.Drawing.Font("微软雅黑", 14F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Pixel, ((byte)(134)));
+ this.label10.Location = new System.Drawing.Point(0, 100);
+ this.label10.Margin = new System.Windows.Forms.Padding(0);
+ this.label10.Name = "label10";
+ this.label10.Size = new System.Drawing.Size(75, 25);
+ this.label10.TabIndex = 1;
+ this.label10.Text = "纬度";
+ this.label10.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
+ //
+ // label11
+ //
+ this.label11.BackColor = System.Drawing.Color.Transparent;
+ this.label11.Font = new System.Drawing.Font("微软雅黑", 14F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Pixel, ((byte)(134)));
+ this.label11.Location = new System.Drawing.Point(0, 140);
+ this.label11.Margin = new System.Windows.Forms.Padding(0);
+ this.label11.Name = "label11";
+ this.label11.Size = new System.Drawing.Size(75, 25);
+ this.label11.TabIndex = 1;
+ this.label11.Text = "X";
+ this.label11.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
+ //
+ // label12
+ //
+ this.label12.BackColor = System.Drawing.Color.Transparent;
+ this.label12.Font = new System.Drawing.Font("微软雅黑", 14F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Pixel, ((byte)(134)));
+ this.label12.Location = new System.Drawing.Point(0, 180);
+ this.label12.Margin = new System.Windows.Forms.Padding(0);
+ this.label12.Name = "label12";
+ this.label12.Size = new System.Drawing.Size(75, 25);
+ this.label12.TabIndex = 1;
+ this.label12.Text = "Y";
+ this.label12.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
+ //
+ // label13
+ //
+ this.label13.BackColor = System.Drawing.Color.Transparent;
+ this.label13.Font = new System.Drawing.Font("微软雅黑", 14F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Pixel, ((byte)(134)));
+ this.label13.Location = new System.Drawing.Point(0, 220);
+ this.label13.Margin = new System.Windows.Forms.Padding(0);
+ this.label13.Name = "label13";
+ this.label13.Size = new System.Drawing.Size(75, 25);
+ this.label13.TabIndex = 1;
+ this.label13.Text = "Z";
+ this.label13.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
//
// HomeCtrlForm
//
this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 12F);
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
- this.Controls.Add(this.label1);
- this.Controls.Add(this.label2);
- this.Controls.Add(this.dataGridViewX2);
- this.Controls.Add(this.panelEx4);
- this.Controls.Add(this.panelToBeTested);
+ this.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(232)))), ((int)(((byte)(234)))), ((int)(((byte)(238)))));
+ this.Controls.Add(this.panel5);
+ this.Controls.Add(this.panel4);
+ this.Controls.Add(this.panel3);
+ this.Controls.Add(this.panel2);
+ this.Controls.Add(this.panel1);
this.Margin = new System.Windows.Forms.Padding(0);
this.Name = "HomeCtrlForm";
- this.Size = new System.Drawing.Size(1000, 640);
- this.panelToBeTested.ResumeLayout(false);
- ((System.ComponentModel.ISupportInitialize)(this.dataGridViewX1)).EndInit();
- this.panelEx1.ResumeLayout(false);
- this.panelEx2.ResumeLayout(false);
- this.panelEx3.ResumeLayout(false);
- this.panelEx4.ResumeLayout(false);
- ((System.ComponentModel.ISupportInitialize)(this.dataGridViewX2)).EndInit();
+ this.Size = new System.Drawing.Size(1024, 654);
+ this.panel3.ResumeLayout(false);
+ this.panel2.ResumeLayout(false);
+ this.panel1.ResumeLayout(false);
this.ResumeLayout(false);
}
#endregion
- private System.Windows.Forms.Panel panelToBeTested;
- private DevComponents.DotNetBar.PanelEx panelEx1;
- private DevComponents.DotNetBar.LabelX labelX6;
- private DevComponents.DotNetBar.LabelX labelX5;
- private DevComponents.DotNetBar.LabelX labelX4;
- private DevComponents.DotNetBar.LabelX labelX3;
- private DevComponents.DotNetBar.LabelX labelX2;
- private DevComponents.DotNetBar.LabelX labelX1;
- private DevComponents.DotNetBar.PanelEx panelEx2;
- private DevComponents.DotNetBar.LabelX labelX7;
- private DevComponents.DotNetBar.LabelX labelX8;
- private DevComponents.DotNetBar.LabelX labelX10;
- private DevComponents.DotNetBar.LabelX labelX9;
- private DevComponents.DotNetBar.PanelEx panelEx3;
- private DevComponents.DotNetBar.LabelX labelX11;
- private DevComponents.DotNetBar.LabelX labelX13;
- private DevComponents.DotNetBar.LabelX labelX12;
- private DevComponents.DotNetBar.PanelEx panelEx4;
- private DevComponents.DotNetBar.Controls.DataGridViewX dataGridViewX1;
- private System.Windows.Forms.DataGridViewTextBoxColumn Column13;
- private System.Windows.Forms.DataGridViewTextBoxColumn Column14;
- private System.Windows.Forms.DataGridViewTextBoxColumn Column15;
- private System.Windows.Forms.DataGridViewTextBoxColumn Column16;
- private System.Windows.Forms.DataGridViewTextBoxColumn Column17;
- private DevComponents.DotNetBar.Controls.DataGridViewX dataGridViewX2;
- private System.Windows.Forms.DataGridViewTextBoxColumn Column18;
- private System.Windows.Forms.DataGridViewTextBoxColumn Column19;
- private System.Windows.Forms.DataGridViewTextBoxColumn Column20;
- private System.Windows.Forms.DataGridViewTextBoxColumn Column21;
- private System.Windows.Forms.DataGridViewTextBoxColumn Column22;
- private System.Windows.Forms.DataGridViewTextBoxColumn Column23;
- private System.Windows.Forms.DataGridViewTextBoxColumn Column24;
- private System.Windows.Forms.DataGridViewTextBoxColumn Column25;
- private System.Windows.Forms.DataGridViewTextBoxColumn Column26;
- private System.Windows.Forms.DataGridViewTextBoxColumn Column27;
- private System.Windows.Forms.DataGridViewTextBoxColumn Column28;
- private System.Windows.Forms.DataGridViewTextBoxColumn Column29;
- private DevComponents.DotNetBar.ButtonX buttonX1;
- private DevComponents.DotNetBar.ButtonX buttonX2;
+
+ private System.Windows.Forms.Panel panel1;
+ private System.Windows.Forms.Panel panel2;
+ private System.Windows.Forms.Panel panel3;
+ private System.Windows.Forms.Panel panel4;
+ private System.Windows.Forms.Panel panel5;
private System.Windows.Forms.Label label1;
private System.Windows.Forms.Label label2;
+ private System.Windows.Forms.Label label3;
+ private System.Windows.Forms.Label label4;
+ private System.Windows.Forms.Label label5;
+ private System.Windows.Forms.Label label6;
+ private System.Windows.Forms.Label label7;
+ private System.Windows.Forms.Label label8;
+ private System.Windows.Forms.Label label11;
+ private System.Windows.Forms.Label label9;
+ private System.Windows.Forms.Label label10;
+ private System.Windows.Forms.Label label12;
+ private System.Windows.Forms.Label label13;
}
}
diff --git a/RbFreqStandMeasure/HomeCtrlForm.resx b/RbFreqStandMeasure/HomeCtrlForm.resx
index 6d97f4f..1af7de1 100644
--- a/RbFreqStandMeasure/HomeCtrlForm.resx
+++ b/RbFreqStandMeasure/HomeCtrlForm.resx
@@ -117,55 +117,4 @@
System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
-
- True
-
-
- True
-
-
- True
-
-
- True
-
-
- True
-
-
- True
-
-
- True
-
-
- True
-
-
- True
-
-
- True
-
-
- True
-
-
- True
-
-
- True
-
-
- True
-
-
- True
-
-
- True
-
-
- True
-
\ No newline at end of file
diff --git a/RbFreqStandMeasure/Program.cs b/RbFreqStandMeasure/Program.cs
index 93a83e5..6150917 100644
--- a/RbFreqStandMeasure/Program.cs
+++ b/RbFreqStandMeasure/Program.cs
@@ -1,6 +1,4 @@
using System;
-using System.Collections.Generic;
-using System.Linq;
using System.Windows.Forms;
namespace Casic.Birmm.RbFreqStandMeasure
diff --git a/RbFreqStandMeasure/Properties/Resources.Designer.cs b/RbFreqStandMeasure/Properties/Resources.Designer.cs
index 253d7d7..d819a23 100644
--- a/RbFreqStandMeasure/Properties/Resources.Designer.cs
+++ b/RbFreqStandMeasure/Properties/Resources.Designer.cs
@@ -73,6 +73,56 @@
///
/// 查找 System.Drawing.Bitmap 类型的本地化资源。
///
+ internal static System.Drawing.Bitmap bg_dev_channel {
+ get {
+ object obj = ResourceManager.GetObject("bg_dev_channel", resourceCulture);
+ return ((System.Drawing.Bitmap)(obj));
+ }
+ }
+
+ ///
+ /// 查找 System.Drawing.Bitmap 类型的本地化资源。
+ ///
+ internal static System.Drawing.Bitmap bg_dev_tested {
+ get {
+ object obj = ResourceManager.GetObject("bg_dev_tested", resourceCulture);
+ return ((System.Drawing.Bitmap)(obj));
+ }
+ }
+
+ ///
+ /// 查找 System.Drawing.Bitmap 类型的本地化资源。
+ ///
+ internal static System.Drawing.Bitmap bg_status_base {
+ get {
+ object obj = ResourceManager.GetObject("bg_status_base", resourceCulture);
+ return ((System.Drawing.Bitmap)(obj));
+ }
+ }
+
+ ///
+ /// 查找 System.Drawing.Bitmap 类型的本地化资源。
+ ///
+ internal static System.Drawing.Bitmap bg_status_location {
+ get {
+ object obj = ResourceManager.GetObject("bg_status_location", resourceCulture);
+ return ((System.Drawing.Bitmap)(obj));
+ }
+ }
+
+ ///
+ /// 查找 System.Drawing.Bitmap 类型的本地化资源。
+ ///
+ internal static System.Drawing.Bitmap bg_status_time {
+ get {
+ object obj = ResourceManager.GetObject("bg_status_time", resourceCulture);
+ return ((System.Drawing.Bitmap)(obj));
+ }
+ }
+
+ ///
+ /// 查找 System.Drawing.Bitmap 类型的本地化资源。
+ ///
internal static System.Drawing.Bitmap bg_white_shadow {
get {
object obj = ResourceManager.GetObject("bg_white_shadow", resourceCulture);
@@ -83,6 +133,66 @@
///
/// 查找 System.Drawing.Bitmap 类型的本地化资源。
///
+ internal static System.Drawing.Bitmap icon_counter {
+ get {
+ object obj = ResourceManager.GetObject("icon_counter", resourceCulture);
+ return ((System.Drawing.Bitmap)(obj));
+ }
+ }
+
+ ///
+ /// 查找 System.Drawing.Bitmap 类型的本地化资源。
+ ///
+ internal static System.Drawing.Bitmap icon_counter_selected {
+ get {
+ object obj = ResourceManager.GetObject("icon_counter_selected", resourceCulture);
+ return ((System.Drawing.Bitmap)(obj));
+ }
+ }
+
+ ///
+ /// 查找 System.Drawing.Bitmap 类型的本地化资源。
+ ///
+ internal static System.Drawing.Bitmap icon_data {
+ get {
+ object obj = ResourceManager.GetObject("icon_data", resourceCulture);
+ return ((System.Drawing.Bitmap)(obj));
+ }
+ }
+
+ ///
+ /// 查找 System.Drawing.Bitmap 类型的本地化资源。
+ ///
+ internal static System.Drawing.Bitmap icon_data_selected {
+ get {
+ object obj = ResourceManager.GetObject("icon_data_selected", resourceCulture);
+ return ((System.Drawing.Bitmap)(obj));
+ }
+ }
+
+ ///
+ /// 查找 System.Drawing.Bitmap 类型的本地化资源。
+ ///
+ internal static System.Drawing.Bitmap icon_dev {
+ get {
+ object obj = ResourceManager.GetObject("icon_dev", resourceCulture);
+ return ((System.Drawing.Bitmap)(obj));
+ }
+ }
+
+ ///
+ /// 查找 System.Drawing.Bitmap 类型的本地化资源。
+ ///
+ internal static System.Drawing.Bitmap icon_dev_selected {
+ get {
+ object obj = ResourceManager.GetObject("icon_dev_selected", resourceCulture);
+ return ((System.Drawing.Bitmap)(obj));
+ }
+ }
+
+ ///
+ /// 查找 System.Drawing.Bitmap 类型的本地化资源。
+ ///
internal static System.Drawing.Bitmap icon_exit {
get {
object obj = ResourceManager.GetObject("icon_exit", resourceCulture);
@@ -113,6 +223,56 @@
///
/// 查找 System.Drawing.Bitmap 类型的本地化资源。
///
+ internal static System.Drawing.Bitmap icon_measure {
+ get {
+ object obj = ResourceManager.GetObject("icon_measure", resourceCulture);
+ return ((System.Drawing.Bitmap)(obj));
+ }
+ }
+
+ ///
+ /// 查找 System.Drawing.Bitmap 类型的本地化资源。
+ ///
+ internal static System.Drawing.Bitmap icon_measure_selected {
+ get {
+ object obj = ResourceManager.GetObject("icon_measure_selected", resourceCulture);
+ return ((System.Drawing.Bitmap)(obj));
+ }
+ }
+
+ ///
+ /// 查找 System.Drawing.Bitmap 类型的本地化资源。
+ ///
+ internal static System.Drawing.Bitmap icon_min {
+ get {
+ object obj = ResourceManager.GetObject("icon_min", resourceCulture);
+ return ((System.Drawing.Bitmap)(obj));
+ }
+ }
+
+ ///
+ /// 查找 System.Drawing.Bitmap 类型的本地化资源。
+ ///
+ internal static System.Drawing.Bitmap icon_setting {
+ get {
+ object obj = ResourceManager.GetObject("icon_setting", resourceCulture);
+ return ((System.Drawing.Bitmap)(obj));
+ }
+ }
+
+ ///
+ /// 查找 System.Drawing.Bitmap 类型的本地化资源。
+ ///
+ internal static System.Drawing.Bitmap icon_setting_selected {
+ get {
+ object obj = ResourceManager.GetObject("icon_setting_selected", resourceCulture);
+ return ((System.Drawing.Bitmap)(obj));
+ }
+ }
+
+ ///
+ /// 查找 System.Drawing.Bitmap 类型的本地化资源。
+ ///
internal static System.Drawing.Bitmap icon_status {
get {
object obj = ResourceManager.GetObject("icon_status", resourceCulture);
diff --git a/RbFreqStandMeasure/Properties/Resources.resx b/RbFreqStandMeasure/Properties/Resources.resx
index e781bb7..cfdb255 100644
--- a/RbFreqStandMeasure/Properties/Resources.resx
+++ b/RbFreqStandMeasure/Properties/Resources.resx
@@ -118,25 +118,73 @@
System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
-
- ..\res\images\icon_exit.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
+
+ ..\res\images\icon_counter_selected.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
-
- ..\res\images\bg_white_shadow.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
+
+ ..\res\images\icon_dev_selected.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
+
+
+ ..\res\images\icon_status_selected.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
+
+
+ ..\res\images\icon_data_selected.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
..\res\images\icon_home_selected.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
-
- ..\res\images\bg_banner.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
-
-
- ..\res\images\icon_home.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
+
+ ..\res\images\icon_exit.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
..\res\images\icon_status.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
-
- ..\res\images\icon_status_selected.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
+
+ ..\res\images\icon_data.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
+
+
+ ..\res\images\icon_setting.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
+
+
+ ..\res\images\icon_measure_selected.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
+
+
+ ..\res\images\bg_banner.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
+
+
+ ..\res\images\icon_setting_selected.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
+
+
+ ..\res\images\icon_dev.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
+
+
+ ..\res\images\icon_counter.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
+
+
+ ..\res\images\icon_measure.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
+
+
+ ..\res\images\icon_home.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
+
+
+ ..\res\images\bg_white_shadow.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
+
+
+ ..\res\images\icon_min.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
+
+
+ ..\res\images\bg_status_base.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
+
+
+ ..\res\images\bg_status_location.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
+
+
+ ..\res\images\bg_status_time.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
+
+
+ ..\res\images\bg_dev_channel.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
+
+
+ ..\res\images\bg_dev_tested.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
\ No newline at end of file
diff --git a/RbFreqStandMeasure/RbFreqStandMeasure.csproj b/RbFreqStandMeasure/RbFreqStandMeasure.csproj
index f5e7da9..7c12768 100644
--- a/RbFreqStandMeasure/RbFreqStandMeasure.csproj
+++ b/RbFreqStandMeasure/RbFreqStandMeasure.csproj
@@ -232,6 +232,54 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/RbFreqStandMeasure/RbFreqStdMeas.Designer.cs b/RbFreqStandMeasure/RbFreqStdMeas.Designer.cs
index 57778cf..1bd008c 100644
--- a/RbFreqStandMeasure/RbFreqStdMeas.Designer.cs
+++ b/RbFreqStandMeasure/RbFreqStdMeas.Designer.cs
@@ -30,148 +30,77 @@
private void InitializeComponent()
{
this.panMenu = new System.Windows.Forms.Panel();
+ this.penBanner = new System.Windows.Forms.Panel();
+ this.btnMinSys = new System.Windows.Forms.Button();
+ this.btnExitSys = new System.Windows.Forms.Button();
+ this.labTitle = new System.Windows.Forms.Label();
+ this.panDev = new Casic.Birmm.RbFreqStandMeasure.RoundPanel();
+ this.labDevText = new System.Windows.Forms.Label();
+ this.labDevSelected = new System.Windows.Forms.Label();
+ this.picIconDev = new System.Windows.Forms.PictureBox();
+ this.panSetting = new Casic.Birmm.RbFreqStandMeasure.RoundPanel();
+ this.labSettingSelected = new System.Windows.Forms.Label();
+ this.labSettingText = new System.Windows.Forms.Label();
+ this.picIconSetting = new System.Windows.Forms.PictureBox();
this.panStatus = new Casic.Birmm.RbFreqStandMeasure.RoundPanel();
this.labStatusText = new System.Windows.Forms.Label();
this.picIconStatus = new System.Windows.Forms.PictureBox();
+ this.labStatusSelected = new System.Windows.Forms.Label();
+ this.panData = new Casic.Birmm.RbFreqStandMeasure.RoundPanel();
+ this.labDataSelected = new System.Windows.Forms.Label();
+ this.labDataText = new System.Windows.Forms.Label();
+ this.picIconData = new System.Windows.Forms.PictureBox();
this.panHome = new Casic.Birmm.RbFreqStandMeasure.RoundPanel();
this.labHomeText = new System.Windows.Forms.Label();
this.picIconHome = new System.Windows.Forms.PictureBox();
this.labHomeSelected = new System.Windows.Forms.Label();
- this.labStatusSelected = new System.Windows.Forms.Label();
- this.penBanner = new System.Windows.Forms.Panel();
- this.btnExitSys = new System.Windows.Forms.Button();
- this.labTitle = new System.Windows.Forms.Label();
+ this.panMeasure = new Casic.Birmm.RbFreqStandMeasure.RoundPanel();
+ this.labMeasureText = new System.Windows.Forms.Label();
+ this.labMeasureSelected = new System.Windows.Forms.Label();
+ this.picIconMeasure = new System.Windows.Forms.PictureBox();
+ this.panCounter = new Casic.Birmm.RbFreqStandMeasure.RoundPanel();
+ this.labCounterSelected = new System.Windows.Forms.Label();
+ this.labCounterText = new System.Windows.Forms.Label();
+ this.picIconCounter = new System.Windows.Forms.PictureBox();
+ this.panelMain = new System.Windows.Forms.Panel();
this.panMenu.SuspendLayout();
+ this.penBanner.SuspendLayout();
+ this.panDev.SuspendLayout();
+ ((System.ComponentModel.ISupportInitialize)(this.picIconDev)).BeginInit();
+ this.panSetting.SuspendLayout();
+ ((System.ComponentModel.ISupportInitialize)(this.picIconSetting)).BeginInit();
this.panStatus.SuspendLayout();
((System.ComponentModel.ISupportInitialize)(this.picIconStatus)).BeginInit();
+ this.panData.SuspendLayout();
+ ((System.ComponentModel.ISupportInitialize)(this.picIconData)).BeginInit();
this.panHome.SuspendLayout();
((System.ComponentModel.ISupportInitialize)(this.picIconHome)).BeginInit();
- this.penBanner.SuspendLayout();
+ this.panMeasure.SuspendLayout();
+ ((System.ComponentModel.ISupportInitialize)(this.picIconMeasure)).BeginInit();
+ this.panCounter.SuspendLayout();
+ ((System.ComponentModel.ISupportInitialize)(this.picIconCounter)).BeginInit();
this.SuspendLayout();
//
// panMenu
//
this.panMenu.BackColor = System.Drawing.Color.White;
+ this.panMenu.Controls.Add(this.panDev);
+ this.panMenu.Controls.Add(this.panSetting);
this.panMenu.Controls.Add(this.panStatus);
+ this.panMenu.Controls.Add(this.panData);
this.panMenu.Controls.Add(this.panHome);
- this.panMenu.Controls.Add(this.labStatusSelected);
+ this.panMenu.Controls.Add(this.panMeasure);
+ this.panMenu.Controls.Add(this.panCounter);
this.panMenu.Location = new System.Drawing.Point(0, 64);
this.panMenu.Name = "panMenu";
this.panMenu.Size = new System.Drawing.Size(1024, 50);
this.panMenu.TabIndex = 1;
//
- // panStatus
- //
- this.panStatus.Back = System.Drawing.Color.Empty;
- this.panStatus.BackColor = System.Drawing.Color.Transparent;
- this.panStatus.Controls.Add(this.labStatusText);
- this.panStatus.Controls.Add(this.picIconStatus);
- this.panStatus.Location = new System.Drawing.Point(160, 0);
- this.panStatus.MatrixRound = 8;
- this.panStatus.Name = "panStatus";
- this.panStatus.Size = new System.Drawing.Size(130, 47);
- this.panStatus.TabIndex = 1;
- this.panStatus.Click += new System.EventHandler(this.panStatus_Click);
- this.panStatus.MouseLeave += new System.EventHandler(this.panStatus_MouseLeave);
- this.panStatus.MouseHover += new System.EventHandler(this.panStatus_MouseHover);
- //
- // labStatusText
- //
- this.labStatusText.BackColor = System.Drawing.Color.Transparent;
- this.labStatusText.Cursor = System.Windows.Forms.Cursors.Hand;
- this.labStatusText.Font = new System.Drawing.Font("微软雅黑", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
- this.labStatusText.ForeColor = System.Drawing.SystemColors.ControlText;
- this.labStatusText.Location = new System.Drawing.Point(35, 0);
- this.labStatusText.Margin = new System.Windows.Forms.Padding(0);
- this.labStatusText.Name = "labStatusText";
- this.labStatusText.Size = new System.Drawing.Size(85, 47);
- this.labStatusText.TabIndex = 2;
- this.labStatusText.Text = "基准状态";
- this.labStatusText.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
- this.labStatusText.Click += new System.EventHandler(this.panStatus_Click);
- this.labStatusText.MouseLeave += new System.EventHandler(this.panStatus_MouseLeave);
- this.labStatusText.MouseHover += new System.EventHandler(this.panStatus_MouseHover);
- //
- // picIconStatus
- //
- this.picIconStatus.BackgroundImage = global::Casic.Birmm.RbFreqStandMeasure.Properties.Resources.icon_status;
- this.picIconStatus.BackgroundImageLayout = System.Windows.Forms.ImageLayout.Zoom;
- this.picIconStatus.Location = new System.Drawing.Point(10, 11);
- this.picIconStatus.Name = "picIconStatus";
- this.picIconStatus.Size = new System.Drawing.Size(25, 25);
- this.picIconStatus.TabIndex = 1;
- this.picIconStatus.TabStop = false;
- this.picIconStatus.Click += new System.EventHandler(this.panStatus_Click);
- this.picIconStatus.MouseLeave += new System.EventHandler(this.panStatus_MouseLeave);
- this.picIconStatus.MouseHover += new System.EventHandler(this.panStatus_MouseHover);
- //
- // panHome
- //
- this.panHome.Back = System.Drawing.Color.Empty;
- this.panHome.Controls.Add(this.labHomeText);
- this.panHome.Controls.Add(this.picIconHome);
- this.panHome.Controls.Add(this.labHomeSelected);
- this.panHome.Cursor = System.Windows.Forms.Cursors.Hand;
- this.panHome.Location = new System.Drawing.Point(30, 0);
- this.panHome.MatrixRound = 8;
- this.panHome.Name = "panHome";
- this.panHome.Size = new System.Drawing.Size(100, 50);
- this.panHome.TabIndex = 0;
- this.panHome.Click += new System.EventHandler(this.panHome_Click);
- this.panHome.MouseLeave += new System.EventHandler(this.panHome_MouseLeave);
- this.panHome.MouseHover += new System.EventHandler(this.panHome_MouseHover);
- //
- // labHomeText
- //
- this.labHomeText.BackColor = System.Drawing.Color.Transparent;
- this.labHomeText.Font = new System.Drawing.Font("微软雅黑", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
- this.labHomeText.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(18)))), ((int)(((byte)(150)))), ((int)(((byte)(219)))));
- this.labHomeText.Location = new System.Drawing.Point(35, 0);
- this.labHomeText.Margin = new System.Windows.Forms.Padding(0);
- this.labHomeText.Name = "labHomeText";
- this.labHomeText.Size = new System.Drawing.Size(55, 47);
- this.labHomeText.TabIndex = 2;
- this.labHomeText.Text = "首页";
- this.labHomeText.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
- this.labHomeText.Click += new System.EventHandler(this.panHome_Click);
- this.labHomeText.MouseLeave += new System.EventHandler(this.panHome_MouseLeave);
- this.labHomeText.MouseHover += new System.EventHandler(this.panHome_MouseHover);
- //
- // picIconHome
- //
- this.picIconHome.BackColor = System.Drawing.Color.Transparent;
- this.picIconHome.BackgroundImage = global::Casic.Birmm.RbFreqStandMeasure.Properties.Resources.icon_home_selected;
- this.picIconHome.BackgroundImageLayout = System.Windows.Forms.ImageLayout.Zoom;
- this.picIconHome.Location = new System.Drawing.Point(10, 11);
- this.picIconHome.Name = "picIconHome";
- this.picIconHome.Size = new System.Drawing.Size(25, 25);
- this.picIconHome.TabIndex = 1;
- this.picIconHome.TabStop = false;
- this.picIconHome.Click += new System.EventHandler(this.panHome_Click);
- this.picIconHome.MouseLeave += new System.EventHandler(this.panHome_MouseLeave);
- this.picIconHome.MouseHover += new System.EventHandler(this.panHome_MouseHover);
- //
- // labHomeSelected
- //
- this.labHomeSelected.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(18)))), ((int)(((byte)(150)))), ((int)(((byte)(219)))));
- this.labHomeSelected.Location = new System.Drawing.Point(0, 47);
- this.labHomeSelected.Name = "labHomeSelected";
- this.labHomeSelected.Size = new System.Drawing.Size(100, 3);
- this.labHomeSelected.TabIndex = 0;
- //
- // labStatusSelected
- //
- this.labStatusSelected.BackColor = System.Drawing.Color.Transparent;
- this.labStatusSelected.Location = new System.Drawing.Point(160, 47);
- this.labStatusSelected.Margin = new System.Windows.Forms.Padding(0);
- this.labStatusSelected.Name = "labStatusSelected";
- this.labStatusSelected.Size = new System.Drawing.Size(130, 3);
- this.labStatusSelected.TabIndex = 0;
- //
// penBanner
//
this.penBanner.BackgroundImage = global::Casic.Birmm.RbFreqStandMeasure.Properties.Resources.bg_banner;
this.penBanner.BackgroundImageLayout = System.Windows.Forms.ImageLayout.Stretch;
+ this.penBanner.Controls.Add(this.btnMinSys);
this.penBanner.Controls.Add(this.btnExitSys);
this.penBanner.Controls.Add(this.labTitle);
this.penBanner.Location = new System.Drawing.Point(0, 0);
@@ -180,6 +109,23 @@
this.penBanner.TabIndex = 0;
this.penBanner.MouseDown += new System.Windows.Forms.MouseEventHandler(this.RbFreqStdMeas_MouseDown);
//
+ // btnMinSys
+ //
+ this.btnMinSys.BackColor = System.Drawing.Color.Transparent;
+ this.btnMinSys.BackgroundImage = global::Casic.Birmm.RbFreqStandMeasure.Properties.Resources.icon_min;
+ this.btnMinSys.BackgroundImageLayout = System.Windows.Forms.ImageLayout.Stretch;
+ this.btnMinSys.FlatAppearance.BorderSize = 0;
+ this.btnMinSys.FlatStyle = System.Windows.Forms.FlatStyle.Flat;
+ this.btnMinSys.ForeColor = System.Drawing.SystemColors.ControlDarkDark;
+ this.btnMinSys.Location = new System.Drawing.Point(944, 22);
+ this.btnMinSys.Margin = new System.Windows.Forms.Padding(0);
+ this.btnMinSys.Name = "btnMinSys";
+ this.btnMinSys.Size = new System.Drawing.Size(20, 20);
+ this.btnMinSys.TabIndex = 1;
+ this.btnMinSys.UseVisualStyleBackColor = false;
+ this.btnMinSys.Click += new System.EventHandler(this.btnMinSys_Click);
+ this.btnMinSys.MouseHover += new System.EventHandler(this.btnMinSys_MouseHover);
+ //
// btnExitSys
//
this.btnExitSys.BackColor = System.Drawing.Color.Transparent;
@@ -200,7 +146,7 @@
// labTitle
//
this.labTitle.BackColor = System.Drawing.Color.Transparent;
- this.labTitle.Font = new System.Drawing.Font("微软雅黑", 15.75F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
+ this.labTitle.Font = new System.Drawing.Font("微软雅黑", 20F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Pixel, ((byte)(134)));
this.labTitle.ForeColor = System.Drawing.Color.White;
this.labTitle.Location = new System.Drawing.Point(30, 16);
this.labTitle.Name = "labTitle";
@@ -209,11 +155,404 @@
this.labTitle.Text = "铷原子频标比对测量软件";
this.labTitle.TextAlign = System.Drawing.ContentAlignment.MiddleLeft;
//
+ // panDev
+ //
+ this.panDev.Back = System.Drawing.Color.Empty;
+ this.panDev.Controls.Add(this.labDevText);
+ this.panDev.Controls.Add(this.labDevSelected);
+ this.panDev.Controls.Add(this.picIconDev);
+ this.panDev.Location = new System.Drawing.Point(214, 0);
+ this.panDev.MatrixRound = 8;
+ this.panDev.Name = "panDev";
+ this.panDev.Size = new System.Drawing.Size(141, 50);
+ this.panDev.TabIndex = 2;
+ this.panDev.Click += new System.EventHandler(this.panDev_Click);
+ this.panDev.MouseLeave += new System.EventHandler(this.panDev_MouseLeave);
+ this.panDev.MouseHover += new System.EventHandler(this.panDev_MouseHover);
+ //
+ // labDevText
+ //
+ this.labDevText.BackColor = System.Drawing.Color.Transparent;
+ this.labDevText.Cursor = System.Windows.Forms.Cursors.Hand;
+ this.labDevText.Font = new System.Drawing.Font("微软雅黑", 16F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Pixel, ((byte)(134)));
+ this.labDevText.ForeColor = System.Drawing.SystemColors.ControlText;
+ this.labDevText.Location = new System.Drawing.Point(30, 14);
+ this.labDevText.Margin = new System.Windows.Forms.Padding(0);
+ this.labDevText.Name = "labDevText";
+ this.labDevText.Size = new System.Drawing.Size(106, 20);
+ this.labDevText.TabIndex = 2;
+ this.labDevText.Text = "送检仪器管理";
+ this.labDevText.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
+ this.labDevText.Click += new System.EventHandler(this.panDev_Click);
+ this.labDevText.MouseLeave += new System.EventHandler(this.panDev_MouseLeave);
+ this.labDevText.MouseHover += new System.EventHandler(this.panDev_MouseHover);
+ //
+ // labDevSelected
+ //
+ this.labDevSelected.BackColor = System.Drawing.Color.Transparent;
+ this.labDevSelected.Location = new System.Drawing.Point(8, 48);
+ this.labDevSelected.Margin = new System.Windows.Forms.Padding(0);
+ this.labDevSelected.Name = "labDevSelected";
+ this.labDevSelected.Size = new System.Drawing.Size(121, 2);
+ this.labDevSelected.TabIndex = 3;
+ //
+ // picIconDev
+ //
+ this.picIconDev.BackColor = System.Drawing.Color.Transparent;
+ this.picIconDev.BackgroundImage = global::Casic.Birmm.RbFreqStandMeasure.Properties.Resources.icon_dev;
+ this.picIconDev.BackgroundImageLayout = System.Windows.Forms.ImageLayout.Zoom;
+ this.picIconDev.Location = new System.Drawing.Point(10, 14);
+ this.picIconDev.Name = "picIconDev";
+ this.picIconDev.Size = new System.Drawing.Size(20, 20);
+ this.picIconDev.TabIndex = 1;
+ this.picIconDev.TabStop = false;
+ this.picIconDev.Click += new System.EventHandler(this.panDev_Click);
+ this.picIconDev.MouseLeave += new System.EventHandler(this.panDev_MouseLeave);
+ this.picIconDev.MouseHover += new System.EventHandler(this.panDev_MouseHover);
+ //
+ // panSetting
+ //
+ this.panSetting.Back = System.Drawing.Color.Empty;
+ this.panSetting.Controls.Add(this.labSettingSelected);
+ this.panSetting.Controls.Add(this.labSettingText);
+ this.panSetting.Controls.Add(this.picIconSetting);
+ this.panSetting.Location = new System.Drawing.Point(879, 0);
+ this.panSetting.MatrixRound = 8;
+ this.panSetting.Name = "panSetting";
+ this.panSetting.Size = new System.Drawing.Size(109, 50);
+ this.panSetting.TabIndex = 2;
+ this.panSetting.Click += new System.EventHandler(this.panSetting_Click);
+ this.panSetting.MouseLeave += new System.EventHandler(this.panSetting_MouseLeave);
+ this.panSetting.MouseHover += new System.EventHandler(this.panSetting_MouseHover);
+ //
+ // labSettingSelected
+ //
+ this.labSettingSelected.BackColor = System.Drawing.Color.Transparent;
+ this.labSettingSelected.Location = new System.Drawing.Point(10, 48);
+ this.labSettingSelected.Margin = new System.Windows.Forms.Padding(0);
+ this.labSettingSelected.Name = "labSettingSelected";
+ this.labSettingSelected.Size = new System.Drawing.Size(89, 2);
+ this.labSettingSelected.TabIndex = 4;
+ //
+ // labSettingText
+ //
+ this.labSettingText.BackColor = System.Drawing.Color.Transparent;
+ this.labSettingText.Cursor = System.Windows.Forms.Cursors.Hand;
+ this.labSettingText.Font = new System.Drawing.Font("微软雅黑", 16F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Pixel, ((byte)(134)));
+ this.labSettingText.ForeColor = System.Drawing.SystemColors.ControlText;
+ this.labSettingText.Location = new System.Drawing.Point(30, 14);
+ this.labSettingText.Margin = new System.Windows.Forms.Padding(0);
+ this.labSettingText.Name = "labSettingText";
+ this.labSettingText.Size = new System.Drawing.Size(74, 20);
+ this.labSettingText.TabIndex = 2;
+ this.labSettingText.Text = "系统设置";
+ this.labSettingText.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
+ this.labSettingText.Click += new System.EventHandler(this.panSetting_Click);
+ this.labSettingText.MouseLeave += new System.EventHandler(this.panSetting_MouseLeave);
+ this.labSettingText.MouseHover += new System.EventHandler(this.panSetting_MouseHover);
+ //
+ // picIconSetting
+ //
+ this.picIconSetting.BackColor = System.Drawing.Color.Transparent;
+ this.picIconSetting.BackgroundImage = global::Casic.Birmm.RbFreqStandMeasure.Properties.Resources.icon_setting;
+ this.picIconSetting.BackgroundImageLayout = System.Windows.Forms.ImageLayout.Zoom;
+ this.picIconSetting.Location = new System.Drawing.Point(10, 14);
+ this.picIconSetting.Name = "picIconSetting";
+ this.picIconSetting.Size = new System.Drawing.Size(20, 20);
+ this.picIconSetting.TabIndex = 1;
+ this.picIconSetting.TabStop = false;
+ this.picIconSetting.Click += new System.EventHandler(this.panSetting_Click);
+ this.picIconSetting.MouseLeave += new System.EventHandler(this.panSetting_MouseLeave);
+ this.picIconSetting.MouseHover += new System.EventHandler(this.panSetting_MouseHover);
+ //
+ // panStatus
+ //
+ this.panStatus.Back = System.Drawing.Color.Empty;
+ this.panStatus.BackColor = System.Drawing.Color.Transparent;
+ this.panStatus.Controls.Add(this.labStatusText);
+ this.panStatus.Controls.Add(this.picIconStatus);
+ this.panStatus.Controls.Add(this.labStatusSelected);
+ this.panStatus.Location = new System.Drawing.Point(101, 0);
+ this.panStatus.MatrixRound = 8;
+ this.panStatus.Name = "panStatus";
+ this.panStatus.Size = new System.Drawing.Size(109, 50);
+ this.panStatus.TabIndex = 1;
+ this.panStatus.Click += new System.EventHandler(this.panStatus_Click);
+ this.panStatus.MouseLeave += new System.EventHandler(this.panStatus_MouseLeave);
+ this.panStatus.MouseHover += new System.EventHandler(this.panStatus_MouseHover);
+ //
+ // labStatusText
+ //
+ this.labStatusText.BackColor = System.Drawing.Color.Transparent;
+ this.labStatusText.Cursor = System.Windows.Forms.Cursors.Hand;
+ this.labStatusText.Font = new System.Drawing.Font("微软雅黑", 16F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Pixel, ((byte)(134)));
+ this.labStatusText.ForeColor = System.Drawing.SystemColors.ControlText;
+ this.labStatusText.Location = new System.Drawing.Point(30, 14);
+ this.labStatusText.Margin = new System.Windows.Forms.Padding(0);
+ this.labStatusText.Name = "labStatusText";
+ this.labStatusText.Size = new System.Drawing.Size(74, 20);
+ this.labStatusText.TabIndex = 2;
+ this.labStatusText.Text = "基准状态";
+ this.labStatusText.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
+ this.labStatusText.Click += new System.EventHandler(this.panStatus_Click);
+ this.labStatusText.MouseLeave += new System.EventHandler(this.panStatus_MouseLeave);
+ this.labStatusText.MouseHover += new System.EventHandler(this.panStatus_MouseHover);
+ //
+ // picIconStatus
+ //
+ this.picIconStatus.BackgroundImage = global::Casic.Birmm.RbFreqStandMeasure.Properties.Resources.icon_status;
+ this.picIconStatus.BackgroundImageLayout = System.Windows.Forms.ImageLayout.Zoom;
+ this.picIconStatus.Location = new System.Drawing.Point(10, 14);
+ this.picIconStatus.Name = "picIconStatus";
+ this.picIconStatus.Size = new System.Drawing.Size(20, 20);
+ this.picIconStatus.TabIndex = 1;
+ this.picIconStatus.TabStop = false;
+ this.picIconStatus.Click += new System.EventHandler(this.panStatus_Click);
+ this.picIconStatus.MouseLeave += new System.EventHandler(this.panStatus_MouseLeave);
+ this.picIconStatus.MouseHover += new System.EventHandler(this.panStatus_MouseHover);
+ //
+ // labStatusSelected
+ //
+ this.labStatusSelected.BackColor = System.Drawing.Color.Transparent;
+ this.labStatusSelected.Location = new System.Drawing.Point(10, 48);
+ this.labStatusSelected.Margin = new System.Windows.Forms.Padding(0);
+ this.labStatusSelected.Name = "labStatusSelected";
+ this.labStatusSelected.Size = new System.Drawing.Size(89, 2);
+ this.labStatusSelected.TabIndex = 0;
+ //
+ // panData
+ //
+ this.panData.Back = System.Drawing.Color.Empty;
+ this.panData.Controls.Add(this.labDataSelected);
+ this.panData.Controls.Add(this.labDataText);
+ this.panData.Controls.Add(this.picIconData);
+ this.panData.Location = new System.Drawing.Point(765, 0);
+ this.panData.MatrixRound = 8;
+ this.panData.Name = "panData";
+ this.panData.Size = new System.Drawing.Size(109, 50);
+ this.panData.TabIndex = 2;
+ this.panData.Click += new System.EventHandler(this.panData_Click);
+ this.panData.MouseLeave += new System.EventHandler(this.panData_MouseLeave);
+ this.panData.MouseHover += new System.EventHandler(this.panData_MouseHover);
+ //
+ // labDataSelected
+ //
+ this.labDataSelected.BackColor = System.Drawing.Color.Transparent;
+ this.labDataSelected.Location = new System.Drawing.Point(10, 48);
+ this.labDataSelected.Margin = new System.Windows.Forms.Padding(0);
+ this.labDataSelected.Name = "labDataSelected";
+ this.labDataSelected.Size = new System.Drawing.Size(89, 2);
+ this.labDataSelected.TabIndex = 3;
+ //
+ // labDataText
+ //
+ this.labDataText.BackColor = System.Drawing.Color.Transparent;
+ this.labDataText.Cursor = System.Windows.Forms.Cursors.Hand;
+ this.labDataText.Font = new System.Drawing.Font("微软雅黑", 16F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Pixel, ((byte)(134)));
+ this.labDataText.ForeColor = System.Drawing.SystemColors.ControlText;
+ this.labDataText.Location = new System.Drawing.Point(30, 14);
+ this.labDataText.Margin = new System.Windows.Forms.Padding(0);
+ this.labDataText.Name = "labDataText";
+ this.labDataText.Size = new System.Drawing.Size(74, 20);
+ this.labDataText.TabIndex = 2;
+ this.labDataText.Text = "数据管理";
+ this.labDataText.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
+ this.labDataText.Click += new System.EventHandler(this.panData_Click);
+ this.labDataText.MouseLeave += new System.EventHandler(this.panData_MouseLeave);
+ this.labDataText.MouseHover += new System.EventHandler(this.panData_MouseHover);
+ //
+ // picIconData
+ //
+ this.picIconData.BackColor = System.Drawing.Color.Transparent;
+ this.picIconData.BackgroundImage = global::Casic.Birmm.RbFreqStandMeasure.Properties.Resources.icon_data;
+ this.picIconData.BackgroundImageLayout = System.Windows.Forms.ImageLayout.Zoom;
+ this.picIconData.Location = new System.Drawing.Point(10, 14);
+ this.picIconData.Name = "picIconData";
+ this.picIconData.Size = new System.Drawing.Size(20, 20);
+ this.picIconData.TabIndex = 1;
+ this.picIconData.TabStop = false;
+ this.picIconData.Click += new System.EventHandler(this.panData_Click);
+ this.picIconData.MouseLeave += new System.EventHandler(this.panData_MouseLeave);
+ this.picIconData.MouseHover += new System.EventHandler(this.panData_MouseHover);
+ //
+ // panHome
+ //
+ this.panHome.Back = System.Drawing.Color.Empty;
+ this.panHome.Controls.Add(this.labHomeText);
+ this.panHome.Controls.Add(this.picIconHome);
+ this.panHome.Controls.Add(this.labHomeSelected);
+ this.panHome.Cursor = System.Windows.Forms.Cursors.Hand;
+ this.panHome.Location = new System.Drawing.Point(20, 0);
+ this.panHome.MatrixRound = 8;
+ this.panHome.Name = "panHome";
+ this.panHome.Size = new System.Drawing.Size(75, 50);
+ this.panHome.TabIndex = 0;
+ this.panHome.Click += new System.EventHandler(this.panHome_Click);
+ this.panHome.MouseLeave += new System.EventHandler(this.panHome_MouseLeave);
+ this.panHome.MouseHover += new System.EventHandler(this.panHome_MouseHover);
+ //
+ // labHomeText
+ //
+ this.labHomeText.BackColor = System.Drawing.Color.Transparent;
+ this.labHomeText.Font = new System.Drawing.Font("微软雅黑", 16F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Pixel, ((byte)(134)));
+ this.labHomeText.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(18)))), ((int)(((byte)(150)))), ((int)(((byte)(219)))));
+ this.labHomeText.Location = new System.Drawing.Point(30, 14);
+ this.labHomeText.Margin = new System.Windows.Forms.Padding(0);
+ this.labHomeText.Name = "labHomeText";
+ this.labHomeText.Size = new System.Drawing.Size(42, 20);
+ this.labHomeText.TabIndex = 2;
+ this.labHomeText.Text = "首页";
+ this.labHomeText.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
+ this.labHomeText.Click += new System.EventHandler(this.panHome_Click);
+ this.labHomeText.MouseLeave += new System.EventHandler(this.panHome_MouseLeave);
+ this.labHomeText.MouseHover += new System.EventHandler(this.panHome_MouseHover);
+ //
+ // picIconHome
+ //
+ this.picIconHome.BackColor = System.Drawing.Color.Transparent;
+ this.picIconHome.BackgroundImage = global::Casic.Birmm.RbFreqStandMeasure.Properties.Resources.icon_home_selected;
+ this.picIconHome.BackgroundImageLayout = System.Windows.Forms.ImageLayout.Zoom;
+ this.picIconHome.Location = new System.Drawing.Point(10, 14);
+ this.picIconHome.Margin = new System.Windows.Forms.Padding(0);
+ this.picIconHome.Name = "picIconHome";
+ this.picIconHome.Size = new System.Drawing.Size(20, 20);
+ this.picIconHome.TabIndex = 1;
+ this.picIconHome.TabStop = false;
+ this.picIconHome.Click += new System.EventHandler(this.panHome_Click);
+ this.picIconHome.MouseLeave += new System.EventHandler(this.panHome_MouseLeave);
+ this.picIconHome.MouseHover += new System.EventHandler(this.panHome_MouseHover);
+ //
+ // labHomeSelected
+ //
+ this.labHomeSelected.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(18)))), ((int)(((byte)(150)))), ((int)(((byte)(219)))));
+ this.labHomeSelected.Location = new System.Drawing.Point(10, 48);
+ this.labHomeSelected.Name = "labHomeSelected";
+ this.labHomeSelected.Size = new System.Drawing.Size(55, 2);
+ this.labHomeSelected.TabIndex = 0;
+ //
+ // panMeasure
+ //
+ this.panMeasure.Back = System.Drawing.Color.Empty;
+ this.panMeasure.Controls.Add(this.labMeasureText);
+ this.panMeasure.Controls.Add(this.labMeasureSelected);
+ this.panMeasure.Controls.Add(this.picIconMeasure);
+ this.panMeasure.Location = new System.Drawing.Point(619, 0);
+ this.panMeasure.MatrixRound = 8;
+ this.panMeasure.Name = "panMeasure";
+ this.panMeasure.Size = new System.Drawing.Size(141, 50);
+ this.panMeasure.TabIndex = 2;
+ this.panMeasure.Click += new System.EventHandler(this.panMeasure_Click);
+ this.panMeasure.MouseLeave += new System.EventHandler(this.panMeasure_MouseLeave);
+ this.panMeasure.MouseHover += new System.EventHandler(this.panMeasure_MouseHover);
+ //
+ // labMeasureText
+ //
+ this.labMeasureText.BackColor = System.Drawing.Color.Transparent;
+ this.labMeasureText.Cursor = System.Windows.Forms.Cursors.Hand;
+ this.labMeasureText.Font = new System.Drawing.Font("微软雅黑", 16F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Pixel, ((byte)(134)));
+ this.labMeasureText.ForeColor = System.Drawing.SystemColors.ControlText;
+ this.labMeasureText.Location = new System.Drawing.Point(30, 14);
+ this.labMeasureText.Margin = new System.Windows.Forms.Padding(0);
+ this.labMeasureText.Name = "labMeasureText";
+ this.labMeasureText.Size = new System.Drawing.Size(106, 20);
+ this.labMeasureText.TabIndex = 2;
+ this.labMeasureText.Text = "计量信息管理";
+ this.labMeasureText.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
+ this.labMeasureText.Click += new System.EventHandler(this.panMeasure_Click);
+ this.labMeasureText.MouseLeave += new System.EventHandler(this.panMeasure_MouseLeave);
+ this.labMeasureText.MouseHover += new System.EventHandler(this.panMeasure_MouseHover);
+ //
+ // labMeasureSelected
+ //
+ this.labMeasureSelected.BackColor = System.Drawing.Color.Transparent;
+ this.labMeasureSelected.Location = new System.Drawing.Point(10, 48);
+ this.labMeasureSelected.Margin = new System.Windows.Forms.Padding(0);
+ this.labMeasureSelected.Name = "labMeasureSelected";
+ this.labMeasureSelected.Size = new System.Drawing.Size(121, 2);
+ this.labMeasureSelected.TabIndex = 3;
+ //
+ // picIconMeasure
+ //
+ this.picIconMeasure.BackColor = System.Drawing.Color.Transparent;
+ this.picIconMeasure.BackgroundImage = global::Casic.Birmm.RbFreqStandMeasure.Properties.Resources.icon_measure;
+ this.picIconMeasure.BackgroundImageLayout = System.Windows.Forms.ImageLayout.Zoom;
+ this.picIconMeasure.Location = new System.Drawing.Point(10, 14);
+ this.picIconMeasure.Name = "picIconMeasure";
+ this.picIconMeasure.Size = new System.Drawing.Size(20, 20);
+ this.picIconMeasure.TabIndex = 1;
+ this.picIconMeasure.TabStop = false;
+ this.picIconMeasure.Click += new System.EventHandler(this.panMeasure_Click);
+ this.picIconMeasure.MouseLeave += new System.EventHandler(this.panMeasure_MouseLeave);
+ this.picIconMeasure.MouseHover += new System.EventHandler(this.panMeasure_MouseHover);
+ //
+ // panCounter
+ //
+ this.panCounter.Back = System.Drawing.Color.Empty;
+ this.panCounter.Controls.Add(this.labCounterSelected);
+ this.panCounter.Controls.Add(this.labCounterText);
+ this.panCounter.Controls.Add(this.picIconCounter);
+ this.panCounter.Location = new System.Drawing.Point(360, 0);
+ this.panCounter.MatrixRound = 8;
+ this.panCounter.Name = "panCounter";
+ this.panCounter.Size = new System.Drawing.Size(254, 50);
+ this.panCounter.TabIndex = 2;
+ this.panCounter.Click += new System.EventHandler(this.panCounter_Click);
+ this.panCounter.MouseLeave += new System.EventHandler(this.panCounter_MouseLeave);
+ this.panCounter.MouseHover += new System.EventHandler(this.panCounter_MouseHover);
+ //
+ // labCounterSelected
+ //
+ this.labCounterSelected.BackColor = System.Drawing.Color.Transparent;
+ this.labCounterSelected.Location = new System.Drawing.Point(10, 48);
+ this.labCounterSelected.Margin = new System.Windows.Forms.Padding(0);
+ this.labCounterSelected.Name = "labCounterSelected";
+ this.labCounterSelected.Size = new System.Drawing.Size(233, 2);
+ this.labCounterSelected.TabIndex = 4;
+ //
+ // labCounterText
+ //
+ this.labCounterText.BackColor = System.Drawing.Color.Transparent;
+ this.labCounterText.Cursor = System.Windows.Forms.Cursors.Hand;
+ this.labCounterText.Font = new System.Drawing.Font("微软雅黑", 16F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Pixel, ((byte)(134)));
+ this.labCounterText.ForeColor = System.Drawing.SystemColors.ControlText;
+ this.labCounterText.Location = new System.Drawing.Point(30, 14);
+ this.labCounterText.Margin = new System.Windows.Forms.Padding(0);
+ this.labCounterText.Name = "labCounterText";
+ this.labCounterText.Size = new System.Drawing.Size(218, 20);
+ this.labCounterText.TabIndex = 2;
+ this.labCounterText.Text = "频率计数器范围及灵敏度测量";
+ this.labCounterText.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
+ this.labCounterText.Click += new System.EventHandler(this.panCounter_Click);
+ this.labCounterText.MouseLeave += new System.EventHandler(this.panCounter_MouseLeave);
+ this.labCounterText.MouseHover += new System.EventHandler(this.panCounter_MouseHover);
+ //
+ // picIconCounter
+ //
+ this.picIconCounter.BackColor = System.Drawing.Color.Transparent;
+ this.picIconCounter.BackgroundImage = global::Casic.Birmm.RbFreqStandMeasure.Properties.Resources.icon_counter;
+ this.picIconCounter.BackgroundImageLayout = System.Windows.Forms.ImageLayout.Zoom;
+ this.picIconCounter.Location = new System.Drawing.Point(10, 14);
+ this.picIconCounter.Name = "picIconCounter";
+ this.picIconCounter.Size = new System.Drawing.Size(20, 20);
+ this.picIconCounter.TabIndex = 1;
+ this.picIconCounter.TabStop = false;
+ this.picIconCounter.Click += new System.EventHandler(this.panCounter_Click);
+ this.picIconCounter.MouseLeave += new System.EventHandler(this.panCounter_MouseLeave);
+ this.picIconCounter.MouseHover += new System.EventHandler(this.panCounter_MouseHover);
+ //
+ // panelMain
+ //
+ this.panelMain.Location = new System.Drawing.Point(0, 114);
+ this.panelMain.Name = "panelMain";
+ this.panelMain.Size = new System.Drawing.Size(1024, 654);
+ this.panelMain.TabIndex = 2;
+ //
// RbFreqStdMeas
//
this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 12F);
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
this.ClientSize = new System.Drawing.Size(1024, 768);
+ this.Controls.Add(this.panelMain);
this.Controls.Add(this.panMenu);
this.Controls.Add(this.penBanner);
this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.None;
@@ -221,11 +560,21 @@
this.Text = "RbFreqStdMeas";
this.Load += new System.EventHandler(this.RbFreqStdMeas_Load);
this.panMenu.ResumeLayout(false);
+ this.penBanner.ResumeLayout(false);
+ this.panDev.ResumeLayout(false);
+ ((System.ComponentModel.ISupportInitialize)(this.picIconDev)).EndInit();
+ this.panSetting.ResumeLayout(false);
+ ((System.ComponentModel.ISupportInitialize)(this.picIconSetting)).EndInit();
this.panStatus.ResumeLayout(false);
((System.ComponentModel.ISupportInitialize)(this.picIconStatus)).EndInit();
+ this.panData.ResumeLayout(false);
+ ((System.ComponentModel.ISupportInitialize)(this.picIconData)).EndInit();
this.panHome.ResumeLayout(false);
((System.ComponentModel.ISupportInitialize)(this.picIconHome)).EndInit();
- this.penBanner.ResumeLayout(false);
+ this.panMeasure.ResumeLayout(false);
+ ((System.ComponentModel.ISupportInitialize)(this.picIconMeasure)).EndInit();
+ this.panCounter.ResumeLayout(false);
+ ((System.ComponentModel.ISupportInitialize)(this.picIconCounter)).EndInit();
this.ResumeLayout(false);
}
@@ -244,5 +593,27 @@
private RoundPanel panStatus;
private RoundPanel panHome;
private System.Windows.Forms.Label labStatusSelected;
+ private RoundPanel panDev;
+ private System.Windows.Forms.PictureBox picIconDev;
+ private System.Windows.Forms.Label labDevText;
+ private System.Windows.Forms.Label labMeasureSelected;
+ private RoundPanel panCounter;
+ private System.Windows.Forms.Label labCounterText;
+ private System.Windows.Forms.PictureBox picIconCounter;
+ private RoundPanel panMeasure;
+ private System.Windows.Forms.Label labMeasureText;
+ private System.Windows.Forms.PictureBox picIconMeasure;
+ private RoundPanel panData;
+ private System.Windows.Forms.Label labDataText;
+ private System.Windows.Forms.PictureBox picIconData;
+ private RoundPanel panSetting;
+ private System.Windows.Forms.Label labSettingText;
+ private System.Windows.Forms.PictureBox picIconSetting;
+ private System.Windows.Forms.Label labCounterSelected;
+ private System.Windows.Forms.Label labDevSelected;
+ private System.Windows.Forms.Label labDataSelected;
+ private System.Windows.Forms.Label labSettingSelected;
+ private System.Windows.Forms.Button btnMinSys;
+ private System.Windows.Forms.Panel panelMain;
}
}
\ No newline at end of file
diff --git a/RbFreqStandMeasure/RbFreqStdMeas.cs b/RbFreqStandMeasure/RbFreqStdMeas.cs
index 3858ddb..af980d7 100644
--- a/RbFreqStandMeasure/RbFreqStdMeas.cs
+++ b/RbFreqStandMeasure/RbFreqStdMeas.cs
@@ -1,13 +1,9 @@
-using Casic.Birmm.RbFreqStandMeasure.Properties;
+using Casic.Birmm.RbFreqStandMeasure.info;
+using Casic.Birmm.RbFreqStandMeasure.Properties;
+using Casic.Birmm.RbFreqStandMeasure.setting;
using System;
-using System.Collections.Generic;
-using System.ComponentModel;
-using System.Data;
using System.Drawing;
-using System.Linq;
-using System.Resources;
using System.Runtime.InteropServices;
-using System.Text;
using System.Windows.Forms;
namespace Casic.Birmm.RbFreqStandMeasure
@@ -15,7 +11,7 @@
public partial class RbFreqStdMeas : Form
{
- #region 无边框拖动效果
+ #region 无边框拖动效果/最小化窗口/关闭窗口
[DllImport("user32.dll")]//拖动无窗体的控件
public static extern bool ReleaseCapture();
[DllImport("user32.dll")]
@@ -30,9 +26,29 @@
ReleaseCapture();
SendMessage(this.Handle, WM_SYSCOMMAND, SC_MOVE + HTCAPTION, 0);
}
+ private void btnExitSys_Click(object sender, EventArgs e)
+ {
+ Application.Exit();
+ }
+ private void btnMinSys_Click(object sender, EventArgs e)
+ {
+ this.WindowState = FormWindowState.Minimized;
+ }
+ private void btnExitSys_MouseHover(object sender, EventArgs e)
+ {
+ ToolTip p = new ToolTip();
+ p.ShowAlways = true;
+ p.SetToolTip(this.btnExitSys, "退出");
+ }
+ private void btnMinSys_MouseHover(object sender, EventArgs e)
+ {
+ ToolTip p = new ToolTip();
+ p.ShowAlways = true;
+ p.SetToolTip(this.btnMinSys, "最小化");
+ }
#endregion
- private bool[] menuSelected = { true, false };
+ private bool[] menuSelected = { true, false, false, false, false, false, false };
// 按钮图标
private PictureBox[] menuPics;
// 按钮图标的资源名称(选中的资源名称在后面加上 _selected)
@@ -57,7 +73,7 @@
// 将当前按钮的效果设置为默认未选中
this.menuPics[index].BackgroundImage = (Bitmap)Resources.ResourceManager.GetObject(this.menuIconResources[index], null);
- this.menuLabels[index].ForeColor = ColorTranslator.FromHtml("#2C2C2C");
+ this.menuLabels[index].ForeColor = ColorTranslator.FromHtml("#333333");
this.menuUnderlines[index].BackColor = Color.Transparent;
}
@@ -79,13 +95,15 @@
LeaveHome();
// 重新设置所有按钮的状态
- this.menuSelected = new bool[] { true, false };
+ this.menuSelected = new bool[] { true, false, false, false, false, false, false };
// 将新选中的按钮设置为选中
this.picIconHome.BackgroundImage = (Bitmap)Resources.ResourceManager.GetObject("icon_home_selected", null);
- this.labHomeText.ForeColor = ColorTranslator.FromHtml("#1296db");
- this.labHomeSelected.BackColor = ColorTranslator.FromHtml("#1296db");
+ this.labHomeText.ForeColor = ColorTranslator.FromHtml("#3f84d7");
+ this.labHomeSelected.BackColor = ColorTranslator.FromHtml("#3f84d7");
+ // 切换至首页
+ switchMainPanel(0);
}
#endregion
@@ -107,12 +125,163 @@
LeaveStatus();
// 重新设置所有按钮的状态
- this.menuSelected = new bool[] { false, true };
+ this.menuSelected = new bool[] { false, true, false, false, false, false, false };
// 将新选中的按钮设置为选中
this.picIconStatus.BackgroundImage = (Bitmap) Resources.ResourceManager.GetObject("icon_status_selected", null);
- this.labStatusText.ForeColor = ColorTranslator.FromHtml("#1296db");
- this.labStatusSelected.BackColor = ColorTranslator.FromHtml("#1296db");
+ this.labStatusText.ForeColor = ColorTranslator.FromHtml("#3f84d7");
+ this.labStatusSelected.BackColor = ColorTranslator.FromHtml("#3f84d7");
+
+ // 切换到基准状态页面
+ switchMainPanel(1);
+ }
+ #endregion
+
+ #region 送检仪器按钮点击、移入/移出效果
+ private void HoverDev()
+ {
+ panDev.Back = ColorTranslator.FromHtml("#56a3f2");
+ }
+ private void LeaveDev()
+ {
+ panDev.Back = Color.Transparent;
+ }
+ private void SelectDev()
+ {
+ // 移除所有按钮的选中样式
+ this.ClearAllMenuSelected();
+
+ // 鼠标移入效果去掉
+ LeaveDev();
+
+ // 重新设置所有按钮的状态
+ this.menuSelected = new bool[] { false, false, true, false, false ,false ,false };
+
+ // 将新选中的按钮设置为选中
+ this.picIconDev.BackgroundImage = (Bitmap)Resources.ResourceManager.GetObject("icon_dev_selected", null);
+ this.labDevText.ForeColor = ColorTranslator.FromHtml("#3f84d7");
+ this.labDevSelected.BackColor = ColorTranslator.FromHtml("#3f84d7");
+
+ // 切换至待检仪器管理
+ switchMainPanel(2);
+ }
+ #endregion
+
+ #region 频率计数器测量点击、移入/移出效果
+ private void HoverCounter()
+ {
+ panCounter.Back = ColorTranslator.FromHtml("#56a3f2");
+ }
+ private void LeaveCounter()
+ {
+ panCounter.Back = Color.Transparent;
+ }
+ private void SelectCounter()
+ {
+ // 移除所有按钮的选中样式
+ this.ClearAllMenuSelected();
+
+ // 鼠标移入效果去掉
+ LeaveCounter();
+
+ // 重新设置所有按钮的状态
+ this.menuSelected = new bool[] { false, false, false, true, false, false, false };
+
+ // 将新选中的按钮设置为选中
+ this.picIconCounter.BackgroundImage = (Bitmap)Resources.ResourceManager.GetObject("icon_counter_selected", null);
+ this.labCounterText.ForeColor = ColorTranslator.FromHtml("#3f84d7");
+ this.labCounterSelected.BackColor = ColorTranslator.FromHtml("#3f84d7");
+ }
+ #endregion
+
+ #region 计量管理点击、移入/移出效果
+ private void HoverMeasure()
+ {
+ panMeasure.Back = ColorTranslator.FromHtml("#56a3f2");
+ }
+ private void LeaveMeasure()
+ {
+ panMeasure.Back = Color.Transparent;
+ }
+ private void SelectMeasure()
+ {
+ // 移除所有按钮的选中样式
+ this.ClearAllMenuSelected();
+
+ // 鼠标移入效果去掉
+ LeaveMeasure();
+
+ // 重新设置所有按钮的状态
+ this.menuSelected = new bool[] { false, false, false, false, true, false, false };
+
+ // 将新选中的按钮设置为选中
+ this.picIconMeasure.BackgroundImage = (Bitmap)Resources.ResourceManager.GetObject("icon_measure_selected", null);
+ this.labMeasureText.ForeColor = ColorTranslator.FromHtml("#3f84d7");
+ this.labMeasureSelected.BackColor = ColorTranslator.FromHtml("#3f84d7");
+
+ // 切换至计量信息管理
+ switchMainPanel(4);
+ }
+ #endregion
+
+ #region 数据管理点击、移入/移出效果
+ private void HoverData()
+ {
+ panData.Back = ColorTranslator.FromHtml("#56a3f2");
+ }
+ private void LeaveData()
+ {
+ panData.Back = Color.Transparent;
+ }
+ private void SelectData()
+ {
+ // 移除所有按钮的选中样式
+ this.ClearAllMenuSelected();
+
+ // 鼠标移入效果去掉
+ LeaveData();
+
+ // 重新设置所有按钮的状态
+ this.menuSelected = new bool[] { false, false, false, false, false, true, false };
+
+ // 将新选中的按钮设置为选中
+ this.picIconData.BackgroundImage = (Bitmap)Resources.ResourceManager.GetObject("icon_data_selected", null);
+ this.labDataText.ForeColor = ColorTranslator.FromHtml("#3f84d7");
+ this.labDataSelected.BackColor = ColorTranslator.FromHtml("#3f84d7");
+
+ // 弹出对话框进行数据备份与还原操作
+ DataBackupDlg dataDlg = new DataBackupDlg();
+ dataDlg.ShowDialog();
+ }
+ #endregion
+
+ #region 系统管理点击、移入/移出效果
+ private void HoverSetting()
+ {
+ panSetting.Back = ColorTranslator.FromHtml("#56a3f2");
+ }
+ private void LeaveSetting()
+ {
+ panSetting.Back = Color.Transparent;
+ }
+ private void SelectSetting()
+ {
+ // 移除所有按钮的选中样式
+ this.ClearAllMenuSelected();
+
+ // 鼠标移入效果去掉
+ LeaveSetting();
+
+ // 重新设置所有按钮的状态
+ this.menuSelected = new bool[] { false, false, false, false, false, false, true };
+
+ // 将新选中的按钮设置为选中
+ this.picIconSetting.BackgroundImage = (Bitmap)Resources.ResourceManager.GetObject("icon_setting_selected", null);
+ this.labSettingText.ForeColor = ColorTranslator.FromHtml("#3f84d7");
+ this.labSettingSelected.BackColor = ColorTranslator.FromHtml("#3f84d7");
+
+ // 切换到设置的界面
+ switchMainPanel(6);
}
#endregion
@@ -123,22 +292,13 @@
private void RbFreqStdMeas_Load(object sender, EventArgs e)
{
- this.menuPics = new PictureBox[] { this.picIconHome, this.picIconStatus };
- this.menuLabels = new Label[] { this.labHomeText, this.labStatusText };
- this.menuUnderlines = new Label[] { this.labHomeSelected, this.labStatusSelected };
- this.menuIconResources = new string[] { "icon_home", "icon_status" };
- }
+ this.menuPics = new PictureBox[] { this.picIconHome, this.picIconStatus, this.picIconDev, this.picIconCounter, this.picIconMeasure, this.picIconData, this.picIconSetting };
+ this.menuLabels = new Label[] { this.labHomeText, this.labStatusText, this.labDevText, this.labCounterText, this.labMeasureText, this.labDataText, this.labSettingText };
+ this.menuUnderlines = new Label[] { this.labHomeSelected, this.labStatusSelected, this.labDevSelected, this.labCounterSelected, this.labMeasureSelected, this.labDataSelected, this.labSettingSelected };
+ this.menuIconResources = new string[] { "icon_home", "icon_status", "icon_dev", "icon_counter", "icon_measure", "icon_data", "icon_setting" };
- private void btnExitSys_Click(object sender, EventArgs e)
- {
- Application.Exit();
- }
-
- private void btnExitSys_MouseHover(object sender, EventArgs e)
- {
- ToolTip p = new ToolTip();
- p.ShowAlways = true;
- p.SetToolTip(this.btnExitSys, "退出");
+ // 加载首页的内容
+ switchMainPanel(0);
}
private void panHome_Click(object sender, EventArgs e)
@@ -191,5 +351,169 @@
LeaveStatus();
}
}
+
+ private void panDev_Click(object sender, EventArgs e)
+ {
+ if (this.menuSelected[2] == false)
+ {
+ SelectDev();
+ }
+ }
+
+ private void panDev_MouseHover(object sender, EventArgs e)
+ {
+ if (this.menuSelected[2] == false)
+ {
+ HoverDev();
+ }
+ }
+
+ private void panDev_MouseLeave(object sender, EventArgs e)
+ {
+ if (this.menuSelected[2] == false)
+ {
+ LeaveDev();
+ }
+ }
+
+ private void panCounter_Click(object sender, EventArgs e)
+ {
+ if (this.menuSelected[3] == false)
+ {
+ SelectCounter();
+ }
+ }
+
+ private void panCounter_MouseHover(object sender, EventArgs e)
+ {
+ if (this.menuSelected[3] == false)
+ {
+ HoverCounter();
+ }
+ }
+
+ private void panCounter_MouseLeave(object sender, EventArgs e)
+ {
+ if (this.menuSelected[3] == false)
+ {
+ LeaveCounter();
+ }
+ }
+
+ private void panMeasure_Click(object sender, EventArgs e)
+ {
+ if (this.menuSelected[4] == false)
+ {
+ SelectMeasure();
+ }
+ }
+
+ private void panMeasure_MouseHover(object sender, EventArgs e)
+ {
+ if (this.menuSelected[4] == false)
+ {
+ HoverMeasure();
+ }
+ }
+
+ private void panMeasure_MouseLeave(object sender, EventArgs e)
+ {
+ if (this.menuSelected[4] == false)
+ {
+ LeaveMeasure();
+ }
+ }
+
+ private void panData_Click(object sender, EventArgs e)
+ {
+ if (this.menuSelected[5] == false)
+ {
+ SelectData();
+ }
+ }
+
+ private void panData_MouseHover(object sender, EventArgs e)
+ {
+ if (this.menuSelected[5] == false)
+ {
+ HoverData();
+ }
+ }
+
+ private void panData_MouseLeave(object sender, EventArgs e)
+ {
+ if (this.menuSelected[5] == false)
+ {
+ LeaveData();
+ }
+ }
+
+ private void panSetting_Click(object sender, EventArgs e)
+ {
+ if (this.menuSelected[6] == false)
+ {
+ SelectSetting();
+ }
+ }
+
+ private void panSetting_MouseHover(object sender, EventArgs e)
+ {
+ if (this.menuSelected[6] == false)
+ {
+ HoverSetting();
+ }
+ }
+
+ private void panSetting_MouseLeave(object sender, EventArgs e)
+ {
+ if (this.menuSelected[6] == false)
+ {
+ LeaveSetting();
+ }
+ }
+
+ private void switchMainPanel(int index)
+ {
+ this.panelMain.Controls.Clear();
+
+ switch (index)
+ {
+ case 0: // 首页
+ HomeCtrlForm home = new HomeCtrlForm();
+ home.Show();
+ this.panelMain.Controls.Add(home);
+ break;
+
+ case 1: // 基准状态
+ StatusCtrlForm statusForm = new StatusCtrlForm();
+ statusForm.Show();
+ this.panelMain.Controls.Add(statusForm);
+ break;
+
+ case 2: // 待检设备
+ InfoCtrlForm infoForm = new InfoCtrlForm();
+ infoForm.Show();
+ this.panelMain.Controls.Add(infoForm);
+ break;
+
+ case 3: // 频率计数器范围
+ break;
+
+ case 4: // 计量信息
+ DevTestedCtrlForm tested = new DevTestedCtrlForm();
+ tested.Show();
+ this.panelMain.Controls.Add(tested);
+ break;
+
+ case 6: // 设置
+ SettingCtrlForm settingForm = new SettingCtrlForm();
+ settingForm.Show();
+ this.panelMain.Controls.Add(settingForm);
+ break;
+
+ default:
+ break;
+ }
+ }
}
}
\ No newline at end of file
diff --git a/RbFreqStandMeasure/StatusCtrlForm.Designer.cs b/RbFreqStandMeasure/StatusCtrlForm.Designer.cs
index bf5071a..b4151fd 100644
--- a/RbFreqStandMeasure/StatusCtrlForm.Designer.cs
+++ b/RbFreqStandMeasure/StatusCtrlForm.Designer.cs
@@ -31,21 +31,34 @@
{
this.panelSite = new System.Windows.Forms.Panel();
this.label5 = new System.Windows.Forms.Label();
- this.panelStatus = new System.Windows.Forms.Panel();
+ this.panel3 = new System.Windows.Forms.Panel();
+ this.label8 = new System.Windows.Forms.Label();
+ this.label13 = new System.Windows.Forms.Label();
+ this.label12 = new System.Windows.Forms.Label();
+ this.label11 = new System.Windows.Forms.Label();
+ this.label9 = new System.Windows.Forms.Label();
+ this.label10 = new System.Windows.Forms.Label();
+ this.panel2 = new System.Windows.Forms.Panel();
this.label4 = new System.Windows.Forms.Label();
+ this.label7 = new System.Windows.Forms.Label();
+ this.label6 = new System.Windows.Forms.Label();
+ this.label1 = new System.Windows.Forms.Label();
+ this.panel1 = new System.Windows.Forms.Panel();
this.label3 = new System.Windows.Forms.Label();
this.label2 = new System.Windows.Forms.Label();
- this.label1 = new System.Windows.Forms.Label();
+ this.label14 = new System.Windows.Forms.Label();
this.panelSite.SuspendLayout();
- this.panelStatus.SuspendLayout();
+ this.panel3.SuspendLayout();
+ this.panel2.SuspendLayout();
+ this.panel1.SuspendLayout();
this.SuspendLayout();
//
// panelSite
//
this.panelSite.Controls.Add(this.label5);
- this.panelSite.Location = new System.Drawing.Point(200, 0);
+ this.panelSite.Location = new System.Drawing.Point(232, 0);
this.panelSite.Name = "panelSite";
- this.panelSite.Size = new System.Drawing.Size(800, 640);
+ this.panelSite.Size = new System.Drawing.Size(773, 640);
this.panelSite.TabIndex = 3;
//
// label5
@@ -57,67 +70,208 @@
this.label5.TabIndex = 0;
this.label5.Text = "卫星位置图";
//
- // panelStatus
+ // panel3
//
- this.panelStatus.BackColor = System.Drawing.SystemColors.Window;
- this.panelStatus.Controls.Add(this.label4);
- this.panelStatus.Controls.Add(this.label3);
- this.panelStatus.Controls.Add(this.label2);
- this.panelStatus.Controls.Add(this.label1);
- this.panelStatus.Location = new System.Drawing.Point(0, 0);
- this.panelStatus.Name = "panelStatus";
- this.panelStatus.Size = new System.Drawing.Size(200, 640);
- this.panelStatus.TabIndex = 2;
+ this.panel3.BackgroundImage = global::Casic.Birmm.RbFreqStandMeasure.Properties.Resources.bg_status_location;
+ this.panel3.Controls.Add(this.label8);
+ this.panel3.Controls.Add(this.label13);
+ this.panel3.Controls.Add(this.label12);
+ this.panel3.Controls.Add(this.label11);
+ this.panel3.Controls.Add(this.label9);
+ this.panel3.Controls.Add(this.label10);
+ this.panel3.Location = new System.Drawing.Point(6, 360);
+ this.panel3.Name = "panel3";
+ this.panel3.Size = new System.Drawing.Size(224, 293);
+ this.panel3.TabIndex = 6;
+ //
+ // label8
+ //
+ this.label8.BackColor = System.Drawing.Color.Transparent;
+ this.label8.Font = new System.Drawing.Font("微软雅黑", 14F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Pixel, ((byte)(134)));
+ this.label8.Location = new System.Drawing.Point(0, 20);
+ this.label8.Name = "label8";
+ this.label8.Size = new System.Drawing.Size(224, 25);
+ this.label8.TabIndex = 0;
+ this.label8.Text = "位置信息";
+ this.label8.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
+ //
+ // label13
+ //
+ this.label13.BackColor = System.Drawing.Color.Transparent;
+ this.label13.Font = new System.Drawing.Font("微软雅黑", 14F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Pixel, ((byte)(134)));
+ this.label13.Location = new System.Drawing.Point(0, 220);
+ this.label13.Margin = new System.Windows.Forms.Padding(0);
+ this.label13.Name = "label13";
+ this.label13.Size = new System.Drawing.Size(75, 25);
+ this.label13.TabIndex = 1;
+ this.label13.Text = "Z";
+ this.label13.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
+ //
+ // label12
+ //
+ this.label12.BackColor = System.Drawing.Color.Transparent;
+ this.label12.Font = new System.Drawing.Font("微软雅黑", 14F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Pixel, ((byte)(134)));
+ this.label12.Location = new System.Drawing.Point(0, 180);
+ this.label12.Margin = new System.Windows.Forms.Padding(0);
+ this.label12.Name = "label12";
+ this.label12.Size = new System.Drawing.Size(75, 25);
+ this.label12.TabIndex = 1;
+ this.label12.Text = "Y";
+ this.label12.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
+ //
+ // label11
+ //
+ this.label11.BackColor = System.Drawing.Color.Transparent;
+ this.label11.Font = new System.Drawing.Font("微软雅黑", 14F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Pixel, ((byte)(134)));
+ this.label11.Location = new System.Drawing.Point(0, 140);
+ this.label11.Margin = new System.Windows.Forms.Padding(0);
+ this.label11.Name = "label11";
+ this.label11.Size = new System.Drawing.Size(75, 25);
+ this.label11.TabIndex = 1;
+ this.label11.Text = "X";
+ this.label11.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
+ //
+ // label9
+ //
+ this.label9.BackColor = System.Drawing.Color.Transparent;
+ this.label9.Font = new System.Drawing.Font("微软雅黑", 14F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Pixel, ((byte)(134)));
+ this.label9.Location = new System.Drawing.Point(0, 60);
+ this.label9.Name = "label9";
+ this.label9.Size = new System.Drawing.Size(75, 25);
+ this.label9.TabIndex = 1;
+ this.label9.Text = "经度";
+ this.label9.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
+ //
+ // label10
+ //
+ this.label10.BackColor = System.Drawing.Color.Transparent;
+ this.label10.Font = new System.Drawing.Font("微软雅黑", 14F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Pixel, ((byte)(134)));
+ this.label10.Location = new System.Drawing.Point(0, 100);
+ this.label10.Margin = new System.Windows.Forms.Padding(0);
+ this.label10.Name = "label10";
+ this.label10.Size = new System.Drawing.Size(75, 25);
+ this.label10.TabIndex = 1;
+ this.label10.Text = "纬度";
+ this.label10.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
+ //
+ // panel2
+ //
+ this.panel2.BackgroundImage = global::Casic.Birmm.RbFreqStandMeasure.Properties.Resources.bg_status_time;
+ this.panel2.Controls.Add(this.label4);
+ this.panel2.Controls.Add(this.label7);
+ this.panel2.Controls.Add(this.label6);
+ this.panel2.Controls.Add(this.label1);
+ this.panel2.Location = new System.Drawing.Point(6, 160);
+ this.panel2.Name = "panel2";
+ this.panel2.Size = new System.Drawing.Size(224, 200);
+ this.panel2.TabIndex = 5;
//
// label4
//
- this.label4.AutoSize = true;
- this.label4.Location = new System.Drawing.Point(59, 185);
+ this.label4.BackColor = System.Drawing.Color.Transparent;
+ this.label4.Font = new System.Drawing.Font("微软雅黑", 14F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Pixel, ((byte)(134)));
+ this.label4.Location = new System.Drawing.Point(0, 20);
this.label4.Name = "label4";
- this.label4.Size = new System.Drawing.Size(53, 12);
+ this.label4.Size = new System.Drawing.Size(224, 25);
this.label4.TabIndex = 0;
- this.label4.Text = "事件信息";
+ this.label4.Text = "时间信息";
+ this.label4.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
//
- // label3
+ // label7
//
- this.label3.AutoSize = true;
- this.label3.Location = new System.Drawing.Point(59, 139);
- this.label3.Name = "label3";
- this.label3.Size = new System.Drawing.Size(53, 12);
- this.label3.TabIndex = 0;
- this.label3.Text = "位置信息";
+ this.label7.BackColor = System.Drawing.Color.Transparent;
+ this.label7.Font = new System.Drawing.Font("微软雅黑", 14F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Pixel, ((byte)(134)));
+ this.label7.Location = new System.Drawing.Point(0, 140);
+ this.label7.Margin = new System.Windows.Forms.Padding(0);
+ this.label7.Name = "label7";
+ this.label7.Size = new System.Drawing.Size(75, 25);
+ this.label7.TabIndex = 1;
+ this.label7.Text = "MJD";
+ this.label7.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
//
- // label2
+ // label6
//
- this.label2.AutoSize = true;
- this.label2.Location = new System.Drawing.Point(59, 98);
- this.label2.Name = "label2";
- this.label2.Size = new System.Drawing.Size(53, 12);
- this.label2.TabIndex = 0;
- this.label2.Text = "锁定状态";
+ this.label6.BackColor = System.Drawing.Color.Transparent;
+ this.label6.Font = new System.Drawing.Font("微软雅黑", 14F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Pixel, ((byte)(134)));
+ this.label6.Location = new System.Drawing.Point(0, 100);
+ this.label6.Name = "label6";
+ this.label6.Size = new System.Drawing.Size(75, 25);
+ this.label6.TabIndex = 1;
+ this.label6.Text = "时间";
+ this.label6.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
//
// label1
//
- this.label1.AutoSize = true;
- this.label1.Location = new System.Drawing.Point(33, 53);
+ this.label1.BackColor = System.Drawing.Color.Transparent;
+ this.label1.Font = new System.Drawing.Font("微软雅黑", 14F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Pixel, ((byte)(134)));
+ this.label1.Location = new System.Drawing.Point(0, 60);
this.label1.Name = "label1";
- this.label1.Size = new System.Drawing.Size(29, 12);
- this.label1.TabIndex = 0;
- this.label1.Text = "状态";
+ this.label1.Size = new System.Drawing.Size(75, 25);
+ this.label1.TabIndex = 1;
+ this.label1.Text = "日期";
+ this.label1.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
+ //
+ // panel1
+ //
+ this.panel1.BackgroundImage = global::Casic.Birmm.RbFreqStandMeasure.Properties.Resources.bg_status_base;
+ this.panel1.Controls.Add(this.label3);
+ this.panel1.Controls.Add(this.label2);
+ this.panel1.Controls.Add(this.label14);
+ this.panel1.Location = new System.Drawing.Point(6, 0);
+ this.panel1.Margin = new System.Windows.Forms.Padding(0);
+ this.panel1.Name = "panel1";
+ this.panel1.Size = new System.Drawing.Size(224, 160);
+ this.panel1.TabIndex = 4;
+ //
+ // label3
+ //
+ this.label3.BackColor = System.Drawing.Color.Transparent;
+ this.label3.Font = new System.Drawing.Font("微软雅黑", 14F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Pixel, ((byte)(134)));
+ this.label3.Location = new System.Drawing.Point(0, 100);
+ this.label3.Name = "label3";
+ this.label3.Size = new System.Drawing.Size(75, 25);
+ this.label3.TabIndex = 1;
+ this.label3.Text = "接收机";
+ this.label3.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
+ //
+ // label2
+ //
+ this.label2.BackColor = System.Drawing.Color.Transparent;
+ this.label2.Font = new System.Drawing.Font("微软雅黑", 14F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Pixel, ((byte)(134)));
+ this.label2.Location = new System.Drawing.Point(0, 60);
+ this.label2.Name = "label2";
+ this.label2.Size = new System.Drawing.Size(75, 25);
+ this.label2.TabIndex = 1;
+ this.label2.Text = "原子钟";
+ this.label2.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
+ //
+ // label14
+ //
+ this.label14.BackColor = System.Drawing.Color.Transparent;
+ this.label14.Font = new System.Drawing.Font("微软雅黑", 14F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Pixel, ((byte)(134)));
+ this.label14.Location = new System.Drawing.Point(0, 20);
+ this.label14.Name = "label14";
+ this.label14.Size = new System.Drawing.Size(224, 25);
+ this.label14.TabIndex = 0;
+ this.label14.Text = "基本信息";
+ this.label14.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
//
// StatusCtrlForm
//
this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 12F);
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
+ this.Controls.Add(this.panel3);
+ this.Controls.Add(this.panel2);
+ this.Controls.Add(this.panel1);
this.Controls.Add(this.panelSite);
- this.Controls.Add(this.panelStatus);
this.Margin = new System.Windows.Forms.Padding(10);
this.Name = "StatusCtrlForm";
- this.Size = new System.Drawing.Size(1000, 640);
+ this.Size = new System.Drawing.Size(1024, 654);
this.panelSite.ResumeLayout(false);
this.panelSite.PerformLayout();
- this.panelStatus.ResumeLayout(false);
- this.panelStatus.PerformLayout();
+ this.panel3.ResumeLayout(false);
+ this.panel2.ResumeLayout(false);
+ this.panel1.ResumeLayout(false);
this.ResumeLayout(false);
}
@@ -126,10 +280,21 @@
private System.Windows.Forms.Panel panelSite;
private System.Windows.Forms.Label label5;
- private System.Windows.Forms.Panel panelStatus;
+ private System.Windows.Forms.Panel panel3;
+ private System.Windows.Forms.Label label8;
+ private System.Windows.Forms.Label label13;
+ private System.Windows.Forms.Label label12;
+ private System.Windows.Forms.Label label11;
+ private System.Windows.Forms.Label label9;
+ private System.Windows.Forms.Label label10;
+ private System.Windows.Forms.Panel panel2;
private System.Windows.Forms.Label label4;
+ private System.Windows.Forms.Label label7;
+ private System.Windows.Forms.Label label6;
+ private System.Windows.Forms.Label label1;
+ private System.Windows.Forms.Panel panel1;
private System.Windows.Forms.Label label3;
private System.Windows.Forms.Label label2;
- private System.Windows.Forms.Label label1;
+ private System.Windows.Forms.Label label14;
}
}
diff --git a/RbFreqStandMeasure/res/images/bg_banner.png b/RbFreqStandMeasure/res/images/bg_banner.png
index d795b7d..3119070 100644
--- a/RbFreqStandMeasure/res/images/bg_banner.png
+++ b/RbFreqStandMeasure/res/images/bg_banner.png
Binary files differ
diff --git a/RbFreqStandMeasure/res/images/bg_dev_channel.png b/RbFreqStandMeasure/res/images/bg_dev_channel.png
new file mode 100644
index 0000000..7bac7ce
--- /dev/null
+++ b/RbFreqStandMeasure/res/images/bg_dev_channel.png
Binary files differ
diff --git a/RbFreqStandMeasure/res/images/bg_dev_tested.png b/RbFreqStandMeasure/res/images/bg_dev_tested.png
new file mode 100644
index 0000000..0b43ead
--- /dev/null
+++ b/RbFreqStandMeasure/res/images/bg_dev_tested.png
Binary files differ
diff --git a/RbFreqStandMeasure/res/images/bg_status_base.png b/RbFreqStandMeasure/res/images/bg_status_base.png
new file mode 100644
index 0000000..ef11397
--- /dev/null
+++ b/RbFreqStandMeasure/res/images/bg_status_base.png
Binary files differ
diff --git a/RbFreqStandMeasure/res/images/bg_status_location.png b/RbFreqStandMeasure/res/images/bg_status_location.png
new file mode 100644
index 0000000..64d28d5
--- /dev/null
+++ b/RbFreqStandMeasure/res/images/bg_status_location.png
Binary files differ
diff --git a/RbFreqStandMeasure/res/images/bg_status_time.png b/RbFreqStandMeasure/res/images/bg_status_time.png
new file mode 100644
index 0000000..eec981a
--- /dev/null
+++ b/RbFreqStandMeasure/res/images/bg_status_time.png
Binary files differ
diff --git a/RbFreqStandMeasure/res/images/icon_counter.png b/RbFreqStandMeasure/res/images/icon_counter.png
new file mode 100644
index 0000000..060c3d7
--- /dev/null
+++ b/RbFreqStandMeasure/res/images/icon_counter.png
Binary files differ
diff --git a/RbFreqStandMeasure/res/images/icon_counter_selected.png b/RbFreqStandMeasure/res/images/icon_counter_selected.png
new file mode 100644
index 0000000..45c7720
--- /dev/null
+++ b/RbFreqStandMeasure/res/images/icon_counter_selected.png
Binary files differ
diff --git a/RbFreqStandMeasure/res/images/icon_data.png b/RbFreqStandMeasure/res/images/icon_data.png
new file mode 100644
index 0000000..bf03575
--- /dev/null
+++ b/RbFreqStandMeasure/res/images/icon_data.png
Binary files differ
diff --git a/RbFreqStandMeasure/res/images/icon_data_selected.png b/RbFreqStandMeasure/res/images/icon_data_selected.png
new file mode 100644
index 0000000..a8aa441
--- /dev/null
+++ b/RbFreqStandMeasure/res/images/icon_data_selected.png
Binary files differ
diff --git a/RbFreqStandMeasure/res/images/icon_dev.png b/RbFreqStandMeasure/res/images/icon_dev.png
new file mode 100644
index 0000000..09bf380
--- /dev/null
+++ b/RbFreqStandMeasure/res/images/icon_dev.png
Binary files differ
diff --git a/RbFreqStandMeasure/res/images/icon_dev_selected.png b/RbFreqStandMeasure/res/images/icon_dev_selected.png
new file mode 100644
index 0000000..63a8b7c
--- /dev/null
+++ b/RbFreqStandMeasure/res/images/icon_dev_selected.png
Binary files differ
diff --git a/RbFreqStandMeasure/res/images/icon_exit.png b/RbFreqStandMeasure/res/images/icon_exit.png
index 997b9e9..a03e429 100644
--- a/RbFreqStandMeasure/res/images/icon_exit.png
+++ b/RbFreqStandMeasure/res/images/icon_exit.png
Binary files differ
diff --git a/RbFreqStandMeasure/res/images/icon_home.png b/RbFreqStandMeasure/res/images/icon_home.png
index f200f25..6409b89 100644
--- a/RbFreqStandMeasure/res/images/icon_home.png
+++ b/RbFreqStandMeasure/res/images/icon_home.png
Binary files differ
diff --git a/RbFreqStandMeasure/res/images/icon_home_selected.png b/RbFreqStandMeasure/res/images/icon_home_selected.png
index 7a4feb4..cfbf470 100644
--- a/RbFreqStandMeasure/res/images/icon_home_selected.png
+++ b/RbFreqStandMeasure/res/images/icon_home_selected.png
Binary files differ
diff --git a/RbFreqStandMeasure/res/images/icon_measure.png b/RbFreqStandMeasure/res/images/icon_measure.png
new file mode 100644
index 0000000..d9bd039
--- /dev/null
+++ b/RbFreqStandMeasure/res/images/icon_measure.png
Binary files differ
diff --git a/RbFreqStandMeasure/HomeCtrlForm.Designer.cs b/RbFreqStandMeasure/HomeCtrlForm.Designer.cs
index fb515f8..73e477a 100644
--- a/RbFreqStandMeasure/HomeCtrlForm.Designer.cs
+++ b/RbFreqStandMeasure/HomeCtrlForm.Designer.cs
@@ -29,589 +29,271 @@
///
private void InitializeComponent()
{
- System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle1 = new System.Windows.Forms.DataGridViewCellStyle();
- System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle2 = new System.Windows.Forms.DataGridViewCellStyle();
- this.panelToBeTested = new System.Windows.Forms.Panel();
- this.dataGridViewX1 = new DevComponents.DotNetBar.Controls.DataGridViewX();
- this.Column13 = new System.Windows.Forms.DataGridViewTextBoxColumn();
- this.Column14 = new System.Windows.Forms.DataGridViewTextBoxColumn();
- this.Column15 = new System.Windows.Forms.DataGridViewTextBoxColumn();
- this.Column16 = new System.Windows.Forms.DataGridViewTextBoxColumn();
- this.Column17 = new System.Windows.Forms.DataGridViewTextBoxColumn();
- this.panelEx1 = new DevComponents.DotNetBar.PanelEx();
- this.labelX6 = new DevComponents.DotNetBar.LabelX();
- this.labelX5 = new DevComponents.DotNetBar.LabelX();
- this.labelX4 = new DevComponents.DotNetBar.LabelX();
- this.labelX3 = new DevComponents.DotNetBar.LabelX();
- this.labelX2 = new DevComponents.DotNetBar.LabelX();
- this.labelX1 = new DevComponents.DotNetBar.LabelX();
- this.panelEx2 = new DevComponents.DotNetBar.PanelEx();
- this.labelX7 = new DevComponents.DotNetBar.LabelX();
- this.labelX8 = new DevComponents.DotNetBar.LabelX();
- this.labelX10 = new DevComponents.DotNetBar.LabelX();
- this.labelX9 = new DevComponents.DotNetBar.LabelX();
- this.panelEx3 = new DevComponents.DotNetBar.PanelEx();
- this.labelX11 = new DevComponents.DotNetBar.LabelX();
- this.labelX13 = new DevComponents.DotNetBar.LabelX();
- this.labelX12 = new DevComponents.DotNetBar.LabelX();
- this.panelEx4 = new DevComponents.DotNetBar.PanelEx();
- this.dataGridViewX2 = new DevComponents.DotNetBar.Controls.DataGridViewX();
- this.Column18 = new System.Windows.Forms.DataGridViewTextBoxColumn();
- this.Column19 = new System.Windows.Forms.DataGridViewTextBoxColumn();
- this.Column20 = new System.Windows.Forms.DataGridViewTextBoxColumn();
- this.Column21 = new System.Windows.Forms.DataGridViewTextBoxColumn();
- this.Column22 = new System.Windows.Forms.DataGridViewTextBoxColumn();
- this.Column23 = new System.Windows.Forms.DataGridViewTextBoxColumn();
- this.Column24 = new System.Windows.Forms.DataGridViewTextBoxColumn();
- this.Column25 = new System.Windows.Forms.DataGridViewTextBoxColumn();
- this.Column26 = new System.Windows.Forms.DataGridViewTextBoxColumn();
- this.Column27 = new System.Windows.Forms.DataGridViewTextBoxColumn();
- this.Column28 = new System.Windows.Forms.DataGridViewTextBoxColumn();
- this.Column29 = new System.Windows.Forms.DataGridViewTextBoxColumn();
- this.buttonX1 = new DevComponents.DotNetBar.ButtonX();
- this.buttonX2 = new DevComponents.DotNetBar.ButtonX();
+ this.panel3 = new System.Windows.Forms.Panel();
+ this.panel2 = new System.Windows.Forms.Panel();
+ this.panel1 = new System.Windows.Forms.Panel();
+ this.panel4 = new System.Windows.Forms.Panel();
+ this.panel5 = new System.Windows.Forms.Panel();
this.label1 = new System.Windows.Forms.Label();
this.label2 = new System.Windows.Forms.Label();
- this.panelToBeTested.SuspendLayout();
- ((System.ComponentModel.ISupportInitialize)(this.dataGridViewX1)).BeginInit();
- this.panelEx1.SuspendLayout();
- this.panelEx2.SuspendLayout();
- this.panelEx3.SuspendLayout();
- this.panelEx4.SuspendLayout();
- ((System.ComponentModel.ISupportInitialize)(this.dataGridViewX2)).BeginInit();
+ this.label3 = new System.Windows.Forms.Label();
+ this.label4 = new System.Windows.Forms.Label();
+ this.label5 = new System.Windows.Forms.Label();
+ this.label6 = new System.Windows.Forms.Label();
+ this.label7 = new System.Windows.Forms.Label();
+ this.label8 = new System.Windows.Forms.Label();
+ this.label9 = new System.Windows.Forms.Label();
+ this.label10 = new System.Windows.Forms.Label();
+ this.label11 = new System.Windows.Forms.Label();
+ this.label12 = new System.Windows.Forms.Label();
+ this.label13 = new System.Windows.Forms.Label();
+ this.panel3.SuspendLayout();
+ this.panel2.SuspendLayout();
+ this.panel1.SuspendLayout();
this.SuspendLayout();
//
- // panelToBeTested
+ // panel3
//
- this.panelToBeTested.Controls.Add(this.dataGridViewX1);
- this.panelToBeTested.Controls.Add(this.buttonX2);
- this.panelToBeTested.Controls.Add(this.buttonX1);
- this.panelToBeTested.Location = new System.Drawing.Point(250, 0);
- this.panelToBeTested.Name = "panelToBeTested";
- this.panelToBeTested.Size = new System.Drawing.Size(750, 216);
- this.panelToBeTested.TabIndex = 4;
+ this.panel3.BackgroundImage = global::Casic.Birmm.RbFreqStandMeasure.Properties.Resources.bg_status_location;
+ this.panel3.Controls.Add(this.label8);
+ this.panel3.Controls.Add(this.label13);
+ this.panel3.Controls.Add(this.label12);
+ this.panel3.Controls.Add(this.label11);
+ this.panel3.Controls.Add(this.label9);
+ this.panel3.Controls.Add(this.label10);
+ this.panel3.Location = new System.Drawing.Point(6, 360);
+ this.panel3.Name = "panel3";
+ this.panel3.Size = new System.Drawing.Size(224, 293);
+ this.panel3.TabIndex = 2;
//
- // dataGridViewX1
+ // panel2
//
- this.dataGridViewX1.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.AutoSize;
- this.dataGridViewX1.Columns.AddRange(new System.Windows.Forms.DataGridViewColumn[] {
- this.Column13,
- this.Column14,
- this.Column15,
- this.Column16,
- this.Column17});
- dataGridViewCellStyle1.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleLeft;
- dataGridViewCellStyle1.BackColor = System.Drawing.SystemColors.Window;
- dataGridViewCellStyle1.Font = new System.Drawing.Font("宋体", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
- dataGridViewCellStyle1.ForeColor = System.Drawing.SystemColors.ControlText;
- dataGridViewCellStyle1.SelectionBackColor = System.Drawing.SystemColors.Highlight;
- dataGridViewCellStyle1.SelectionForeColor = System.Drawing.SystemColors.ControlText;
- dataGridViewCellStyle1.WrapMode = System.Windows.Forms.DataGridViewTriState.False;
- this.dataGridViewX1.DefaultCellStyle = dataGridViewCellStyle1;
- this.dataGridViewX1.GridColor = System.Drawing.Color.FromArgb(((int)(((byte)(208)))), ((int)(((byte)(215)))), ((int)(((byte)(229)))));
- this.dataGridViewX1.Location = new System.Drawing.Point(0, 1);
- this.dataGridViewX1.Name = "dataGridViewX1";
- this.dataGridViewX1.RowTemplate.Height = 23;
- this.dataGridViewX1.Size = new System.Drawing.Size(750, 179);
- this.dataGridViewX1.TabIndex = 14;
+ this.panel2.BackgroundImage = global::Casic.Birmm.RbFreqStandMeasure.Properties.Resources.bg_status_time;
+ this.panel2.Controls.Add(this.label4);
+ this.panel2.Controls.Add(this.label7);
+ this.panel2.Controls.Add(this.label6);
+ this.panel2.Controls.Add(this.label5);
+ this.panel2.Location = new System.Drawing.Point(6, 160);
+ this.panel2.Name = "panel2";
+ this.panel2.Size = new System.Drawing.Size(224, 200);
+ this.panel2.TabIndex = 1;
//
- // Column13
+ // panel1
//
- this.Column13.HeaderText = "仪器名称";
- this.Column13.Name = "Column13";
+ this.panel1.BackgroundImage = global::Casic.Birmm.RbFreqStandMeasure.Properties.Resources.bg_status_base;
+ this.panel1.Controls.Add(this.label3);
+ this.panel1.Controls.Add(this.label2);
+ this.panel1.Controls.Add(this.label1);
+ this.panel1.Location = new System.Drawing.Point(6, 0);
+ this.panel1.Margin = new System.Windows.Forms.Padding(0);
+ this.panel1.Name = "panel1";
+ this.panel1.Size = new System.Drawing.Size(224, 160);
+ this.panel1.TabIndex = 0;
//
- // Column14
+ // panel4
//
- this.Column14.HeaderText = "仪器类型";
- this.Column14.Name = "Column14";
+ this.panel4.BackgroundImage = global::Casic.Birmm.RbFreqStandMeasure.Properties.Resources.bg_dev_tested;
+ this.panel4.Location = new System.Drawing.Point(230, 0);
+ this.panel4.Margin = new System.Windows.Forms.Padding(0);
+ this.panel4.Name = "panel4";
+ this.panel4.Size = new System.Drawing.Size(788, 226);
+ this.panel4.TabIndex = 3;
//
- // Column15
+ // panel5
//
- this.Column15.HeaderText = "仪器编号";
- this.Column15.Name = "Column15";
- //
- // Column16
- //
- this.Column16.HeaderText = "客户名称";
- this.Column16.Name = "Column16";
- //
- // Column17
- //
- this.Column17.HeaderText = "开始时间";
- this.Column17.Name = "Column17";
- //
- // panelEx1
- //
- this.panelEx1.CanvasColor = System.Drawing.SystemColors.Control;
- this.panelEx1.ColorSchemeStyle = DevComponents.DotNetBar.eDotNetBarStyle.StyleManagerControlled;
- this.panelEx1.Controls.Add(this.labelX6);
- this.panelEx1.Controls.Add(this.labelX5);
- this.panelEx1.Controls.Add(this.labelX4);
- this.panelEx1.Controls.Add(this.labelX3);
- this.panelEx1.Controls.Add(this.labelX2);
- this.panelEx1.Controls.Add(this.labelX1);
- this.panelEx1.DisabledBackColor = System.Drawing.Color.Empty;
- this.panelEx1.Location = new System.Drawing.Point(25, 376);
- this.panelEx1.Name = "panelEx1";
- this.panelEx1.Size = new System.Drawing.Size(200, 200);
- this.panelEx1.Style.Alignment = System.Drawing.StringAlignment.Center;
- this.panelEx1.Style.BackColor1.ColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelBackground;
- this.panelEx1.Style.BackColor2.ColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelBackground2;
- this.panelEx1.Style.Border = DevComponents.DotNetBar.eBorderType.SingleLine;
- this.panelEx1.Style.BorderColor.ColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelBorder;
- this.panelEx1.Style.ForeColor.ColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelText;
- this.panelEx1.Style.GradientAngle = 90;
- this.panelEx1.TabIndex = 10;
- //
- // labelX6
- //
- //
- //
- //
- this.labelX6.BackgroundStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square;
- this.labelX6.Location = new System.Drawing.Point(3, 153);
- this.labelX6.Name = "labelX6";
- this.labelX6.Size = new System.Drawing.Size(75, 23);
- this.labelX6.Style = DevComponents.DotNetBar.eDotNetBarStyle.Office2013;
- this.labelX6.TabIndex = 0;
- this.labelX6.Text = "Z";
- this.labelX6.TextAlignment = System.Drawing.StringAlignment.Center;
- //
- // labelX5
- //
- //
- //
- //
- this.labelX5.BackgroundStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square;
- this.labelX5.Location = new System.Drawing.Point(3, 124);
- this.labelX5.Name = "labelX5";
- this.labelX5.Size = new System.Drawing.Size(75, 23);
- this.labelX5.Style = DevComponents.DotNetBar.eDotNetBarStyle.Office2013;
- this.labelX5.TabIndex = 0;
- this.labelX5.Text = "Y";
- this.labelX5.TextAlignment = System.Drawing.StringAlignment.Center;
- //
- // labelX4
- //
- //
- //
- //
- this.labelX4.BackgroundStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square;
- this.labelX4.Location = new System.Drawing.Point(3, 95);
- this.labelX4.Name = "labelX4";
- this.labelX4.Size = new System.Drawing.Size(75, 23);
- this.labelX4.Style = DevComponents.DotNetBar.eDotNetBarStyle.Office2013;
- this.labelX4.TabIndex = 0;
- this.labelX4.Text = "X";
- this.labelX4.TextAlignment = System.Drawing.StringAlignment.Center;
- //
- // labelX3
- //
- //
- //
- //
- this.labelX3.BackgroundStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square;
- this.labelX3.Location = new System.Drawing.Point(3, 66);
- this.labelX3.Name = "labelX3";
- this.labelX3.Size = new System.Drawing.Size(75, 23);
- this.labelX3.Style = DevComponents.DotNetBar.eDotNetBarStyle.Office2013;
- this.labelX3.TabIndex = 0;
- this.labelX3.Text = "纬度";
- this.labelX3.TextAlignment = System.Drawing.StringAlignment.Center;
- //
- // labelX2
- //
- //
- //
- //
- this.labelX2.BackgroundStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square;
- this.labelX2.Location = new System.Drawing.Point(3, 37);
- this.labelX2.Name = "labelX2";
- this.labelX2.Size = new System.Drawing.Size(75, 23);
- this.labelX2.Style = DevComponents.DotNetBar.eDotNetBarStyle.Office2013;
- this.labelX2.TabIndex = 0;
- this.labelX2.Text = "经度";
- this.labelX2.TextAlignment = System.Drawing.StringAlignment.Center;
- //
- // labelX1
- //
- //
- //
- //
- this.labelX1.BackgroundStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square;
- this.labelX1.Location = new System.Drawing.Point(3, 3);
- this.labelX1.Name = "labelX1";
- this.labelX1.Size = new System.Drawing.Size(194, 23);
- this.labelX1.Style = DevComponents.DotNetBar.eDotNetBarStyle.Office2013;
- this.labelX1.TabIndex = 0;
- this.labelX1.Text = "位置信息";
- this.labelX1.TextAlignment = System.Drawing.StringAlignment.Center;
- //
- // panelEx2
- //
- this.panelEx2.CanvasColor = System.Drawing.SystemColors.Control;
- this.panelEx2.ColorSchemeStyle = DevComponents.DotNetBar.eDotNetBarStyle.StyleManagerControlled;
- this.panelEx2.Controls.Add(this.labelX7);
- this.panelEx2.Controls.Add(this.labelX8);
- this.panelEx2.Controls.Add(this.labelX10);
- this.panelEx2.Controls.Add(this.labelX9);
- this.panelEx2.DisabledBackColor = System.Drawing.Color.Empty;
- this.panelEx2.Location = new System.Drawing.Point(25, 190);
- this.panelEx2.Name = "panelEx2";
- this.panelEx2.Size = new System.Drawing.Size(200, 150);
- this.panelEx2.Style.Alignment = System.Drawing.StringAlignment.Center;
- this.panelEx2.Style.BackColor1.ColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelBackground;
- this.panelEx2.Style.BackColor2.ColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelBackground2;
- this.panelEx2.Style.Border = DevComponents.DotNetBar.eBorderType.SingleLine;
- this.panelEx2.Style.BorderColor.ColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelBorder;
- this.panelEx2.Style.ForeColor.ColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelText;
- this.panelEx2.Style.GradientAngle = 90;
- this.panelEx2.TabIndex = 10;
- //
- // labelX7
- //
- //
- //
- //
- this.labelX7.BackgroundStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square;
- this.labelX7.Location = new System.Drawing.Point(3, 3);
- this.labelX7.Name = "labelX7";
- this.labelX7.Size = new System.Drawing.Size(194, 23);
- this.labelX7.Style = DevComponents.DotNetBar.eDotNetBarStyle.Office2013;
- this.labelX7.TabIndex = 0;
- this.labelX7.Text = "时间信息";
- this.labelX7.TextAlignment = System.Drawing.StringAlignment.Center;
- //
- // labelX8
- //
- //
- //
- //
- this.labelX8.BackgroundStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square;
- this.labelX8.Location = new System.Drawing.Point(3, 41);
- this.labelX8.Name = "labelX8";
- this.labelX8.Size = new System.Drawing.Size(75, 23);
- this.labelX8.Style = DevComponents.DotNetBar.eDotNetBarStyle.Office2013;
- this.labelX8.TabIndex = 0;
- this.labelX8.Text = "日期";
- this.labelX8.TextAlignment = System.Drawing.StringAlignment.Center;
- //
- // labelX10
- //
- //
- //
- //
- this.labelX10.BackgroundStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square;
- this.labelX10.Location = new System.Drawing.Point(3, 99);
- this.labelX10.Name = "labelX10";
- this.labelX10.Size = new System.Drawing.Size(75, 23);
- this.labelX10.Style = DevComponents.DotNetBar.eDotNetBarStyle.Office2013;
- this.labelX10.TabIndex = 0;
- this.labelX10.Text = "MJD";
- this.labelX10.TextAlignment = System.Drawing.StringAlignment.Center;
- //
- // labelX9
- //
- //
- //
- //
- this.labelX9.BackgroundStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square;
- this.labelX9.Location = new System.Drawing.Point(3, 70);
- this.labelX9.Name = "labelX9";
- this.labelX9.Size = new System.Drawing.Size(75, 23);
- this.labelX9.Style = DevComponents.DotNetBar.eDotNetBarStyle.Office2013;
- this.labelX9.TabIndex = 0;
- this.labelX9.Text = "时间";
- this.labelX9.TextAlignment = System.Drawing.StringAlignment.Center;
- //
- // panelEx3
- //
- this.panelEx3.CanvasColor = System.Drawing.SystemColors.Control;
- this.panelEx3.ColorSchemeStyle = DevComponents.DotNetBar.eDotNetBarStyle.StyleManagerControlled;
- this.panelEx3.Controls.Add(this.labelX11);
- this.panelEx3.Controls.Add(this.labelX13);
- this.panelEx3.Controls.Add(this.labelX12);
- this.panelEx3.DisabledBackColor = System.Drawing.Color.Empty;
- this.panelEx3.Location = new System.Drawing.Point(25, 50);
- this.panelEx3.Name = "panelEx3";
- this.panelEx3.Size = new System.Drawing.Size(200, 100);
- this.panelEx3.Style.Alignment = System.Drawing.StringAlignment.Center;
- this.panelEx3.Style.BackColor1.ColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelBackground;
- this.panelEx3.Style.BackColor2.ColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelBackground2;
- this.panelEx3.Style.Border = DevComponents.DotNetBar.eBorderType.SingleLine;
- this.panelEx3.Style.BorderColor.ColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelBorder;
- this.panelEx3.Style.ForeColor.ColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelText;
- this.panelEx3.Style.GradientAngle = 90;
- this.panelEx3.TabIndex = 10;
- //
- // labelX11
- //
- //
- //
- //
- this.labelX11.BackgroundStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square;
- this.labelX11.Location = new System.Drawing.Point(3, 3);
- this.labelX11.Name = "labelX11";
- this.labelX11.Size = new System.Drawing.Size(194, 23);
- this.labelX11.Style = DevComponents.DotNetBar.eDotNetBarStyle.Office2013;
- this.labelX11.TabIndex = 0;
- this.labelX11.Text = "基本信息";
- this.labelX11.TextAlignment = System.Drawing.StringAlignment.Center;
- //
- // labelX13
- //
- //
- //
- //
- this.labelX13.BackgroundStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square;
- this.labelX13.Location = new System.Drawing.Point(3, 32);
- this.labelX13.Name = "labelX13";
- this.labelX13.Size = new System.Drawing.Size(75, 23);
- this.labelX13.Style = DevComponents.DotNetBar.eDotNetBarStyle.Office2013;
- this.labelX13.TabIndex = 0;
- this.labelX13.Text = "原子钟";
- this.labelX13.TextAlignment = System.Drawing.StringAlignment.Center;
- //
- // labelX12
- //
- //
- //
- //
- this.labelX12.BackgroundStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square;
- this.labelX12.Location = new System.Drawing.Point(3, 61);
- this.labelX12.Name = "labelX12";
- this.labelX12.Size = new System.Drawing.Size(75, 23);
- this.labelX12.Style = DevComponents.DotNetBar.eDotNetBarStyle.Office2013;
- this.labelX12.TabIndex = 0;
- this.labelX12.Text = "接收机";
- this.labelX12.TextAlignment = System.Drawing.StringAlignment.Center;
- //
- // panelEx4
- //
- this.panelEx4.CanvasColor = System.Drawing.SystemColors.Control;
- this.panelEx4.ColorSchemeStyle = DevComponents.DotNetBar.eDotNetBarStyle.StyleManagerControlled;
- this.panelEx4.Controls.Add(this.panelEx2);
- this.panelEx4.Controls.Add(this.panelEx1);
- this.panelEx4.Controls.Add(this.panelEx3);
- this.panelEx4.DisabledBackColor = System.Drawing.Color.Empty;
- this.panelEx4.Location = new System.Drawing.Point(0, 0);
- this.panelEx4.Name = "panelEx4";
- this.panelEx4.Size = new System.Drawing.Size(250, 640);
- this.panelEx4.Style.Alignment = System.Drawing.StringAlignment.Center;
- this.panelEx4.Style.BackColor1.ColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelBackground;
- this.panelEx4.Style.BackColor2.ColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelBackground2;
- this.panelEx4.Style.Border = DevComponents.DotNetBar.eBorderType.SingleLine;
- this.panelEx4.Style.BorderColor.ColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelBorder;
- this.panelEx4.Style.ForeColor.ColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelText;
- this.panelEx4.Style.GradientAngle = 90;
- this.panelEx4.TabIndex = 10;
- //
- // dataGridViewX2
- //
- this.dataGridViewX2.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.AutoSize;
- this.dataGridViewX2.Columns.AddRange(new System.Windows.Forms.DataGridViewColumn[] {
- this.Column18,
- this.Column19,
- this.Column20,
- this.Column21,
- this.Column22,
- this.Column23,
- this.Column24,
- this.Column25,
- this.Column26,
- this.Column27,
- this.Column28,
- this.Column29});
- dataGridViewCellStyle2.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleLeft;
- dataGridViewCellStyle2.BackColor = System.Drawing.SystemColors.Window;
- dataGridViewCellStyle2.Font = new System.Drawing.Font("宋体", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
- dataGridViewCellStyle2.ForeColor = System.Drawing.SystemColors.ControlText;
- dataGridViewCellStyle2.SelectionBackColor = System.Drawing.SystemColors.Highlight;
- dataGridViewCellStyle2.SelectionForeColor = System.Drawing.SystemColors.ControlText;
- dataGridViewCellStyle2.WrapMode = System.Windows.Forms.DataGridViewTriState.False;
- this.dataGridViewX2.DefaultCellStyle = dataGridViewCellStyle2;
- this.dataGridViewX2.GridColor = System.Drawing.Color.FromArgb(((int)(((byte)(208)))), ((int)(((byte)(215)))), ((int)(((byte)(229)))));
- this.dataGridViewX2.Location = new System.Drawing.Point(250, 216);
- this.dataGridViewX2.Name = "dataGridViewX2";
- this.dataGridViewX2.Size = new System.Drawing.Size(747, 424);
- this.dataGridViewX2.TabIndex = 15;
- //
- // Column18
- //
- this.Column18.HeaderText = "通道号";
- this.Column18.Name = "Column18";
- //
- // Column19
- //
- this.Column19.HeaderText = "当前状态";
- this.Column19.Name = "Column19";
- //
- // Column20
- //
- this.Column20.HeaderText = "仪器名称";
- this.Column20.Name = "Column20";
- //
- // Column21
- //
- this.Column21.HeaderText = "仪器编号";
- this.Column21.Name = "Column21";
- //
- // Column22
- //
- this.Column22.HeaderText = "客户名称";
- this.Column22.Name = "Column22";
- //
- // Column23
- //
- this.Column23.HeaderText = "开始时间";
- this.Column23.Name = "Column23";
- //
- // Column24
- //
- this.Column24.HeaderText = "结束时间";
- this.Column24.Name = "Column24";
- //
- // Column25
- //
- this.Column25.HeaderText = "频率稳定度";
- this.Column25.Name = "Column25";
- //
- // Column26
- //
- this.Column26.HeaderText = "频率准确度";
- this.Column26.Name = "Column26";
- //
- // Column27
- //
- this.Column27.HeaderText = "开机特性";
- this.Column27.Name = "Column27";
- //
- // Column28
- //
- this.Column28.HeaderText = "日老化率";
- this.Column28.Name = "Column28";
- //
- // Column29
- //
- this.Column29.HeaderText = "频率计数器范围及灵敏度";
- this.Column29.Name = "Column29";
- //
- // buttonX1
- //
- this.buttonX1.AccessibleRole = System.Windows.Forms.AccessibleRole.PushButton;
- this.buttonX1.BackColor = System.Drawing.Color.Transparent;
- this.buttonX1.ColorTable = DevComponents.DotNetBar.eButtonColor.OrangeWithBackground;
- this.buttonX1.Location = new System.Drawing.Point(663, 183);
- this.buttonX1.Name = "buttonX1";
- this.buttonX1.Size = new System.Drawing.Size(30, 23);
- this.buttonX1.Style = DevComponents.DotNetBar.eDotNetBarStyle.StyleManagerControlled;
- this.buttonX1.Symbol = "";
- this.buttonX1.SymbolColor = System.Drawing.Color.FromArgb(((int)(((byte)(64)))), ((int)(((byte)(64)))), ((int)(((byte)(64)))));
- this.buttonX1.SymbolSize = 8F;
- this.buttonX1.TabIndex = 19;
- //
- // buttonX2
- //
- this.buttonX2.AccessibleRole = System.Windows.Forms.AccessibleRole.PushButton;
- this.buttonX2.BackColor = System.Drawing.Color.Transparent;
- this.buttonX2.ColorTable = DevComponents.DotNetBar.eButtonColor.OrangeWithBackground;
- this.buttonX2.Location = new System.Drawing.Point(589, 184);
- this.buttonX2.Name = "buttonX2";
- this.buttonX2.Size = new System.Drawing.Size(30, 23);
- this.buttonX2.Style = DevComponents.DotNetBar.eDotNetBarStyle.StyleManagerControlled;
- this.buttonX2.Symbol = "";
- this.buttonX2.SymbolColor = System.Drawing.Color.FromArgb(((int)(((byte)(64)))), ((int)(((byte)(64)))), ((int)(((byte)(64)))));
- this.buttonX2.SymbolSize = 8F;
- this.buttonX2.TabIndex = 19;
+ this.panel5.BackgroundImage = global::Casic.Birmm.RbFreqStandMeasure.Properties.Resources.bg_dev_channel;
+ this.panel5.Location = new System.Drawing.Point(230, 226);
+ this.panel5.Name = "panel5";
+ this.panel5.Size = new System.Drawing.Size(788, 424);
+ this.panel5.TabIndex = 4;
//
// label1
//
this.label1.BackColor = System.Drawing.Color.Transparent;
- this.label1.Font = new System.Drawing.Font("Times New Roman", 9.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
- this.label1.Location = new System.Drawing.Point(880, 186);
- this.label1.Margin = new System.Windows.Forms.Padding(0);
+ this.label1.Font = new System.Drawing.Font("微软雅黑", 14F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Pixel, ((byte)(134)));
+ this.label1.Location = new System.Drawing.Point(0, 20);
this.label1.Name = "label1";
- this.label1.Size = new System.Drawing.Size(20, 20);
- this.label1.TabIndex = 20;
- this.label1.Text = "1";
+ this.label1.Size = new System.Drawing.Size(224, 25);
+ this.label1.TabIndex = 0;
+ this.label1.Text = "基本信息";
this.label1.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
//
// label2
//
this.label2.BackColor = System.Drawing.Color.Transparent;
- this.label2.Font = new System.Drawing.Font("Times New Roman", 9.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
- this.label2.Location = new System.Drawing.Point(636, 187);
- this.label2.Margin = new System.Windows.Forms.Padding(0);
+ this.label2.Font = new System.Drawing.Font("微软雅黑", 14F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Pixel, ((byte)(134)));
+ this.label2.Location = new System.Drawing.Point(0, 60);
this.label2.Name = "label2";
- this.label2.Size = new System.Drawing.Size(200, 20);
- this.label2.TabIndex = 20;
- this.label2.Text = "共150条,每页5条,共100页";
- this.label2.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
+ this.label2.Size = new System.Drawing.Size(75, 25);
+ this.label2.TabIndex = 1;
+ this.label2.Text = "原子钟";
+ this.label2.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
+ //
+ // label3
+ //
+ this.label3.BackColor = System.Drawing.Color.Transparent;
+ this.label3.Font = new System.Drawing.Font("微软雅黑", 14F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Pixel, ((byte)(134)));
+ this.label3.Location = new System.Drawing.Point(0, 100);
+ this.label3.Name = "label3";
+ this.label3.Size = new System.Drawing.Size(75, 25);
+ this.label3.TabIndex = 1;
+ this.label3.Text = "接收机";
+ this.label3.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
+ //
+ // label4
+ //
+ this.label4.BackColor = System.Drawing.Color.Transparent;
+ this.label4.Font = new System.Drawing.Font("微软雅黑", 14F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Pixel, ((byte)(134)));
+ this.label4.Location = new System.Drawing.Point(0, 20);
+ this.label4.Name = "label4";
+ this.label4.Size = new System.Drawing.Size(224, 25);
+ this.label4.TabIndex = 0;
+ this.label4.Text = "时间信息";
+ this.label4.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
+ //
+ // label5
+ //
+ this.label5.BackColor = System.Drawing.Color.Transparent;
+ this.label5.Font = new System.Drawing.Font("微软雅黑", 14F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Pixel, ((byte)(134)));
+ this.label5.Location = new System.Drawing.Point(0, 60);
+ this.label5.Name = "label5";
+ this.label5.Size = new System.Drawing.Size(75, 25);
+ this.label5.TabIndex = 1;
+ this.label5.Text = "日期";
+ this.label5.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
+ //
+ // label6
+ //
+ this.label6.BackColor = System.Drawing.Color.Transparent;
+ this.label6.Font = new System.Drawing.Font("微软雅黑", 14F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Pixel, ((byte)(134)));
+ this.label6.Location = new System.Drawing.Point(0, 100);
+ this.label6.Name = "label6";
+ this.label6.Size = new System.Drawing.Size(75, 25);
+ this.label6.TabIndex = 1;
+ this.label6.Text = "时间";
+ this.label6.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
+ //
+ // label7
+ //
+ this.label7.BackColor = System.Drawing.Color.Transparent;
+ this.label7.Font = new System.Drawing.Font("微软雅黑", 14F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Pixel, ((byte)(134)));
+ this.label7.Location = new System.Drawing.Point(0, 140);
+ this.label7.Margin = new System.Windows.Forms.Padding(0);
+ this.label7.Name = "label7";
+ this.label7.Size = new System.Drawing.Size(75, 25);
+ this.label7.TabIndex = 1;
+ this.label7.Text = "MJD";
+ this.label7.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
+ //
+ // label8
+ //
+ this.label8.BackColor = System.Drawing.Color.Transparent;
+ this.label8.Font = new System.Drawing.Font("微软雅黑", 14F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Pixel, ((byte)(134)));
+ this.label8.Location = new System.Drawing.Point(0, 20);
+ this.label8.Name = "label8";
+ this.label8.Size = new System.Drawing.Size(224, 25);
+ this.label8.TabIndex = 0;
+ this.label8.Text = "位置信息";
+ this.label8.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
+ //
+ // label9
+ //
+ this.label9.BackColor = System.Drawing.Color.Transparent;
+ this.label9.Font = new System.Drawing.Font("微软雅黑", 14F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Pixel, ((byte)(134)));
+ this.label9.Location = new System.Drawing.Point(0, 60);
+ this.label9.Name = "label9";
+ this.label9.Size = new System.Drawing.Size(75, 25);
+ this.label9.TabIndex = 1;
+ this.label9.Text = "经度";
+ this.label9.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
+ //
+ // label10
+ //
+ this.label10.BackColor = System.Drawing.Color.Transparent;
+ this.label10.Font = new System.Drawing.Font("微软雅黑", 14F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Pixel, ((byte)(134)));
+ this.label10.Location = new System.Drawing.Point(0, 100);
+ this.label10.Margin = new System.Windows.Forms.Padding(0);
+ this.label10.Name = "label10";
+ this.label10.Size = new System.Drawing.Size(75, 25);
+ this.label10.TabIndex = 1;
+ this.label10.Text = "纬度";
+ this.label10.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
+ //
+ // label11
+ //
+ this.label11.BackColor = System.Drawing.Color.Transparent;
+ this.label11.Font = new System.Drawing.Font("微软雅黑", 14F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Pixel, ((byte)(134)));
+ this.label11.Location = new System.Drawing.Point(0, 140);
+ this.label11.Margin = new System.Windows.Forms.Padding(0);
+ this.label11.Name = "label11";
+ this.label11.Size = new System.Drawing.Size(75, 25);
+ this.label11.TabIndex = 1;
+ this.label11.Text = "X";
+ this.label11.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
+ //
+ // label12
+ //
+ this.label12.BackColor = System.Drawing.Color.Transparent;
+ this.label12.Font = new System.Drawing.Font("微软雅黑", 14F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Pixel, ((byte)(134)));
+ this.label12.Location = new System.Drawing.Point(0, 180);
+ this.label12.Margin = new System.Windows.Forms.Padding(0);
+ this.label12.Name = "label12";
+ this.label12.Size = new System.Drawing.Size(75, 25);
+ this.label12.TabIndex = 1;
+ this.label12.Text = "Y";
+ this.label12.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
+ //
+ // label13
+ //
+ this.label13.BackColor = System.Drawing.Color.Transparent;
+ this.label13.Font = new System.Drawing.Font("微软雅黑", 14F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Pixel, ((byte)(134)));
+ this.label13.Location = new System.Drawing.Point(0, 220);
+ this.label13.Margin = new System.Windows.Forms.Padding(0);
+ this.label13.Name = "label13";
+ this.label13.Size = new System.Drawing.Size(75, 25);
+ this.label13.TabIndex = 1;
+ this.label13.Text = "Z";
+ this.label13.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
//
// HomeCtrlForm
//
this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 12F);
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
- this.Controls.Add(this.label1);
- this.Controls.Add(this.label2);
- this.Controls.Add(this.dataGridViewX2);
- this.Controls.Add(this.panelEx4);
- this.Controls.Add(this.panelToBeTested);
+ this.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(232)))), ((int)(((byte)(234)))), ((int)(((byte)(238)))));
+ this.Controls.Add(this.panel5);
+ this.Controls.Add(this.panel4);
+ this.Controls.Add(this.panel3);
+ this.Controls.Add(this.panel2);
+ this.Controls.Add(this.panel1);
this.Margin = new System.Windows.Forms.Padding(0);
this.Name = "HomeCtrlForm";
- this.Size = new System.Drawing.Size(1000, 640);
- this.panelToBeTested.ResumeLayout(false);
- ((System.ComponentModel.ISupportInitialize)(this.dataGridViewX1)).EndInit();
- this.panelEx1.ResumeLayout(false);
- this.panelEx2.ResumeLayout(false);
- this.panelEx3.ResumeLayout(false);
- this.panelEx4.ResumeLayout(false);
- ((System.ComponentModel.ISupportInitialize)(this.dataGridViewX2)).EndInit();
+ this.Size = new System.Drawing.Size(1024, 654);
+ this.panel3.ResumeLayout(false);
+ this.panel2.ResumeLayout(false);
+ this.panel1.ResumeLayout(false);
this.ResumeLayout(false);
}
#endregion
- private System.Windows.Forms.Panel panelToBeTested;
- private DevComponents.DotNetBar.PanelEx panelEx1;
- private DevComponents.DotNetBar.LabelX labelX6;
- private DevComponents.DotNetBar.LabelX labelX5;
- private DevComponents.DotNetBar.LabelX labelX4;
- private DevComponents.DotNetBar.LabelX labelX3;
- private DevComponents.DotNetBar.LabelX labelX2;
- private DevComponents.DotNetBar.LabelX labelX1;
- private DevComponents.DotNetBar.PanelEx panelEx2;
- private DevComponents.DotNetBar.LabelX labelX7;
- private DevComponents.DotNetBar.LabelX labelX8;
- private DevComponents.DotNetBar.LabelX labelX10;
- private DevComponents.DotNetBar.LabelX labelX9;
- private DevComponents.DotNetBar.PanelEx panelEx3;
- private DevComponents.DotNetBar.LabelX labelX11;
- private DevComponents.DotNetBar.LabelX labelX13;
- private DevComponents.DotNetBar.LabelX labelX12;
- private DevComponents.DotNetBar.PanelEx panelEx4;
- private DevComponents.DotNetBar.Controls.DataGridViewX dataGridViewX1;
- private System.Windows.Forms.DataGridViewTextBoxColumn Column13;
- private System.Windows.Forms.DataGridViewTextBoxColumn Column14;
- private System.Windows.Forms.DataGridViewTextBoxColumn Column15;
- private System.Windows.Forms.DataGridViewTextBoxColumn Column16;
- private System.Windows.Forms.DataGridViewTextBoxColumn Column17;
- private DevComponents.DotNetBar.Controls.DataGridViewX dataGridViewX2;
- private System.Windows.Forms.DataGridViewTextBoxColumn Column18;
- private System.Windows.Forms.DataGridViewTextBoxColumn Column19;
- private System.Windows.Forms.DataGridViewTextBoxColumn Column20;
- private System.Windows.Forms.DataGridViewTextBoxColumn Column21;
- private System.Windows.Forms.DataGridViewTextBoxColumn Column22;
- private System.Windows.Forms.DataGridViewTextBoxColumn Column23;
- private System.Windows.Forms.DataGridViewTextBoxColumn Column24;
- private System.Windows.Forms.DataGridViewTextBoxColumn Column25;
- private System.Windows.Forms.DataGridViewTextBoxColumn Column26;
- private System.Windows.Forms.DataGridViewTextBoxColumn Column27;
- private System.Windows.Forms.DataGridViewTextBoxColumn Column28;
- private System.Windows.Forms.DataGridViewTextBoxColumn Column29;
- private DevComponents.DotNetBar.ButtonX buttonX1;
- private DevComponents.DotNetBar.ButtonX buttonX2;
+
+ private System.Windows.Forms.Panel panel1;
+ private System.Windows.Forms.Panel panel2;
+ private System.Windows.Forms.Panel panel3;
+ private System.Windows.Forms.Panel panel4;
+ private System.Windows.Forms.Panel panel5;
private System.Windows.Forms.Label label1;
private System.Windows.Forms.Label label2;
+ private System.Windows.Forms.Label label3;
+ private System.Windows.Forms.Label label4;
+ private System.Windows.Forms.Label label5;
+ private System.Windows.Forms.Label label6;
+ private System.Windows.Forms.Label label7;
+ private System.Windows.Forms.Label label8;
+ private System.Windows.Forms.Label label11;
+ private System.Windows.Forms.Label label9;
+ private System.Windows.Forms.Label label10;
+ private System.Windows.Forms.Label label12;
+ private System.Windows.Forms.Label label13;
}
}
diff --git a/RbFreqStandMeasure/HomeCtrlForm.resx b/RbFreqStandMeasure/HomeCtrlForm.resx
index 6d97f4f..1af7de1 100644
--- a/RbFreqStandMeasure/HomeCtrlForm.resx
+++ b/RbFreqStandMeasure/HomeCtrlForm.resx
@@ -117,55 +117,4 @@
System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
-
- True
-
-
- True
-
-
- True
-
-
- True
-
-
- True
-
-
- True
-
-
- True
-
-
- True
-
-
- True
-
-
- True
-
-
- True
-
-
- True
-
-
- True
-
-
- True
-
-
- True
-
-
- True
-
-
- True
-
\ No newline at end of file
diff --git a/RbFreqStandMeasure/Program.cs b/RbFreqStandMeasure/Program.cs
index 93a83e5..6150917 100644
--- a/RbFreqStandMeasure/Program.cs
+++ b/RbFreqStandMeasure/Program.cs
@@ -1,6 +1,4 @@
using System;
-using System.Collections.Generic;
-using System.Linq;
using System.Windows.Forms;
namespace Casic.Birmm.RbFreqStandMeasure
diff --git a/RbFreqStandMeasure/Properties/Resources.Designer.cs b/RbFreqStandMeasure/Properties/Resources.Designer.cs
index 253d7d7..d819a23 100644
--- a/RbFreqStandMeasure/Properties/Resources.Designer.cs
+++ b/RbFreqStandMeasure/Properties/Resources.Designer.cs
@@ -73,6 +73,56 @@
///
/// 查找 System.Drawing.Bitmap 类型的本地化资源。
///
+ internal static System.Drawing.Bitmap bg_dev_channel {
+ get {
+ object obj = ResourceManager.GetObject("bg_dev_channel", resourceCulture);
+ return ((System.Drawing.Bitmap)(obj));
+ }
+ }
+
+ ///
+ /// 查找 System.Drawing.Bitmap 类型的本地化资源。
+ ///
+ internal static System.Drawing.Bitmap bg_dev_tested {
+ get {
+ object obj = ResourceManager.GetObject("bg_dev_tested", resourceCulture);
+ return ((System.Drawing.Bitmap)(obj));
+ }
+ }
+
+ ///
+ /// 查找 System.Drawing.Bitmap 类型的本地化资源。
+ ///
+ internal static System.Drawing.Bitmap bg_status_base {
+ get {
+ object obj = ResourceManager.GetObject("bg_status_base", resourceCulture);
+ return ((System.Drawing.Bitmap)(obj));
+ }
+ }
+
+ ///
+ /// 查找 System.Drawing.Bitmap 类型的本地化资源。
+ ///
+ internal static System.Drawing.Bitmap bg_status_location {
+ get {
+ object obj = ResourceManager.GetObject("bg_status_location", resourceCulture);
+ return ((System.Drawing.Bitmap)(obj));
+ }
+ }
+
+ ///
+ /// 查找 System.Drawing.Bitmap 类型的本地化资源。
+ ///
+ internal static System.Drawing.Bitmap bg_status_time {
+ get {
+ object obj = ResourceManager.GetObject("bg_status_time", resourceCulture);
+ return ((System.Drawing.Bitmap)(obj));
+ }
+ }
+
+ ///
+ /// 查找 System.Drawing.Bitmap 类型的本地化资源。
+ ///
internal static System.Drawing.Bitmap bg_white_shadow {
get {
object obj = ResourceManager.GetObject("bg_white_shadow", resourceCulture);
@@ -83,6 +133,66 @@
///
/// 查找 System.Drawing.Bitmap 类型的本地化资源。
///
+ internal static System.Drawing.Bitmap icon_counter {
+ get {
+ object obj = ResourceManager.GetObject("icon_counter", resourceCulture);
+ return ((System.Drawing.Bitmap)(obj));
+ }
+ }
+
+ ///
+ /// 查找 System.Drawing.Bitmap 类型的本地化资源。
+ ///
+ internal static System.Drawing.Bitmap icon_counter_selected {
+ get {
+ object obj = ResourceManager.GetObject("icon_counter_selected", resourceCulture);
+ return ((System.Drawing.Bitmap)(obj));
+ }
+ }
+
+ ///
+ /// 查找 System.Drawing.Bitmap 类型的本地化资源。
+ ///
+ internal static System.Drawing.Bitmap icon_data {
+ get {
+ object obj = ResourceManager.GetObject("icon_data", resourceCulture);
+ return ((System.Drawing.Bitmap)(obj));
+ }
+ }
+
+ ///
+ /// 查找 System.Drawing.Bitmap 类型的本地化资源。
+ ///
+ internal static System.Drawing.Bitmap icon_data_selected {
+ get {
+ object obj = ResourceManager.GetObject("icon_data_selected", resourceCulture);
+ return ((System.Drawing.Bitmap)(obj));
+ }
+ }
+
+ ///
+ /// 查找 System.Drawing.Bitmap 类型的本地化资源。
+ ///
+ internal static System.Drawing.Bitmap icon_dev {
+ get {
+ object obj = ResourceManager.GetObject("icon_dev", resourceCulture);
+ return ((System.Drawing.Bitmap)(obj));
+ }
+ }
+
+ ///
+ /// 查找 System.Drawing.Bitmap 类型的本地化资源。
+ ///
+ internal static System.Drawing.Bitmap icon_dev_selected {
+ get {
+ object obj = ResourceManager.GetObject("icon_dev_selected", resourceCulture);
+ return ((System.Drawing.Bitmap)(obj));
+ }
+ }
+
+ ///
+ /// 查找 System.Drawing.Bitmap 类型的本地化资源。
+ ///
internal static System.Drawing.Bitmap icon_exit {
get {
object obj = ResourceManager.GetObject("icon_exit", resourceCulture);
@@ -113,6 +223,56 @@
///
/// 查找 System.Drawing.Bitmap 类型的本地化资源。
///
+ internal static System.Drawing.Bitmap icon_measure {
+ get {
+ object obj = ResourceManager.GetObject("icon_measure", resourceCulture);
+ return ((System.Drawing.Bitmap)(obj));
+ }
+ }
+
+ ///
+ /// 查找 System.Drawing.Bitmap 类型的本地化资源。
+ ///
+ internal static System.Drawing.Bitmap icon_measure_selected {
+ get {
+ object obj = ResourceManager.GetObject("icon_measure_selected", resourceCulture);
+ return ((System.Drawing.Bitmap)(obj));
+ }
+ }
+
+ ///
+ /// 查找 System.Drawing.Bitmap 类型的本地化资源。
+ ///
+ internal static System.Drawing.Bitmap icon_min {
+ get {
+ object obj = ResourceManager.GetObject("icon_min", resourceCulture);
+ return ((System.Drawing.Bitmap)(obj));
+ }
+ }
+
+ ///
+ /// 查找 System.Drawing.Bitmap 类型的本地化资源。
+ ///
+ internal static System.Drawing.Bitmap icon_setting {
+ get {
+ object obj = ResourceManager.GetObject("icon_setting", resourceCulture);
+ return ((System.Drawing.Bitmap)(obj));
+ }
+ }
+
+ ///
+ /// 查找 System.Drawing.Bitmap 类型的本地化资源。
+ ///
+ internal static System.Drawing.Bitmap icon_setting_selected {
+ get {
+ object obj = ResourceManager.GetObject("icon_setting_selected", resourceCulture);
+ return ((System.Drawing.Bitmap)(obj));
+ }
+ }
+
+ ///
+ /// 查找 System.Drawing.Bitmap 类型的本地化资源。
+ ///
internal static System.Drawing.Bitmap icon_status {
get {
object obj = ResourceManager.GetObject("icon_status", resourceCulture);
diff --git a/RbFreqStandMeasure/Properties/Resources.resx b/RbFreqStandMeasure/Properties/Resources.resx
index e781bb7..cfdb255 100644
--- a/RbFreqStandMeasure/Properties/Resources.resx
+++ b/RbFreqStandMeasure/Properties/Resources.resx
@@ -118,25 +118,73 @@
System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
-
- ..\res\images\icon_exit.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
+
+ ..\res\images\icon_counter_selected.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
-
- ..\res\images\bg_white_shadow.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
+
+ ..\res\images\icon_dev_selected.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
+
+
+ ..\res\images\icon_status_selected.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
+
+
+ ..\res\images\icon_data_selected.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
..\res\images\icon_home_selected.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
-
- ..\res\images\bg_banner.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
-
-
- ..\res\images\icon_home.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
+
+ ..\res\images\icon_exit.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
..\res\images\icon_status.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
-
- ..\res\images\icon_status_selected.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
+
+ ..\res\images\icon_data.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
+
+
+ ..\res\images\icon_setting.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
+
+
+ ..\res\images\icon_measure_selected.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
+
+
+ ..\res\images\bg_banner.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
+
+
+ ..\res\images\icon_setting_selected.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
+
+
+ ..\res\images\icon_dev.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
+
+
+ ..\res\images\icon_counter.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
+
+
+ ..\res\images\icon_measure.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
+
+
+ ..\res\images\icon_home.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
+
+
+ ..\res\images\bg_white_shadow.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
+
+
+ ..\res\images\icon_min.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
+
+
+ ..\res\images\bg_status_base.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
+
+
+ ..\res\images\bg_status_location.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
+
+
+ ..\res\images\bg_status_time.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
+
+
+ ..\res\images\bg_dev_channel.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
+
+
+ ..\res\images\bg_dev_tested.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
\ No newline at end of file
diff --git a/RbFreqStandMeasure/RbFreqStandMeasure.csproj b/RbFreqStandMeasure/RbFreqStandMeasure.csproj
index f5e7da9..7c12768 100644
--- a/RbFreqStandMeasure/RbFreqStandMeasure.csproj
+++ b/RbFreqStandMeasure/RbFreqStandMeasure.csproj
@@ -232,6 +232,54 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/RbFreqStandMeasure/RbFreqStdMeas.Designer.cs b/RbFreqStandMeasure/RbFreqStdMeas.Designer.cs
index 57778cf..1bd008c 100644
--- a/RbFreqStandMeasure/RbFreqStdMeas.Designer.cs
+++ b/RbFreqStandMeasure/RbFreqStdMeas.Designer.cs
@@ -30,148 +30,77 @@
private void InitializeComponent()
{
this.panMenu = new System.Windows.Forms.Panel();
+ this.penBanner = new System.Windows.Forms.Panel();
+ this.btnMinSys = new System.Windows.Forms.Button();
+ this.btnExitSys = new System.Windows.Forms.Button();
+ this.labTitle = new System.Windows.Forms.Label();
+ this.panDev = new Casic.Birmm.RbFreqStandMeasure.RoundPanel();
+ this.labDevText = new System.Windows.Forms.Label();
+ this.labDevSelected = new System.Windows.Forms.Label();
+ this.picIconDev = new System.Windows.Forms.PictureBox();
+ this.panSetting = new Casic.Birmm.RbFreqStandMeasure.RoundPanel();
+ this.labSettingSelected = new System.Windows.Forms.Label();
+ this.labSettingText = new System.Windows.Forms.Label();
+ this.picIconSetting = new System.Windows.Forms.PictureBox();
this.panStatus = new Casic.Birmm.RbFreqStandMeasure.RoundPanel();
this.labStatusText = new System.Windows.Forms.Label();
this.picIconStatus = new System.Windows.Forms.PictureBox();
+ this.labStatusSelected = new System.Windows.Forms.Label();
+ this.panData = new Casic.Birmm.RbFreqStandMeasure.RoundPanel();
+ this.labDataSelected = new System.Windows.Forms.Label();
+ this.labDataText = new System.Windows.Forms.Label();
+ this.picIconData = new System.Windows.Forms.PictureBox();
this.panHome = new Casic.Birmm.RbFreqStandMeasure.RoundPanel();
this.labHomeText = new System.Windows.Forms.Label();
this.picIconHome = new System.Windows.Forms.PictureBox();
this.labHomeSelected = new System.Windows.Forms.Label();
- this.labStatusSelected = new System.Windows.Forms.Label();
- this.penBanner = new System.Windows.Forms.Panel();
- this.btnExitSys = new System.Windows.Forms.Button();
- this.labTitle = new System.Windows.Forms.Label();
+ this.panMeasure = new Casic.Birmm.RbFreqStandMeasure.RoundPanel();
+ this.labMeasureText = new System.Windows.Forms.Label();
+ this.labMeasureSelected = new System.Windows.Forms.Label();
+ this.picIconMeasure = new System.Windows.Forms.PictureBox();
+ this.panCounter = new Casic.Birmm.RbFreqStandMeasure.RoundPanel();
+ this.labCounterSelected = new System.Windows.Forms.Label();
+ this.labCounterText = new System.Windows.Forms.Label();
+ this.picIconCounter = new System.Windows.Forms.PictureBox();
+ this.panelMain = new System.Windows.Forms.Panel();
this.panMenu.SuspendLayout();
+ this.penBanner.SuspendLayout();
+ this.panDev.SuspendLayout();
+ ((System.ComponentModel.ISupportInitialize)(this.picIconDev)).BeginInit();
+ this.panSetting.SuspendLayout();
+ ((System.ComponentModel.ISupportInitialize)(this.picIconSetting)).BeginInit();
this.panStatus.SuspendLayout();
((System.ComponentModel.ISupportInitialize)(this.picIconStatus)).BeginInit();
+ this.panData.SuspendLayout();
+ ((System.ComponentModel.ISupportInitialize)(this.picIconData)).BeginInit();
this.panHome.SuspendLayout();
((System.ComponentModel.ISupportInitialize)(this.picIconHome)).BeginInit();
- this.penBanner.SuspendLayout();
+ this.panMeasure.SuspendLayout();
+ ((System.ComponentModel.ISupportInitialize)(this.picIconMeasure)).BeginInit();
+ this.panCounter.SuspendLayout();
+ ((System.ComponentModel.ISupportInitialize)(this.picIconCounter)).BeginInit();
this.SuspendLayout();
//
// panMenu
//
this.panMenu.BackColor = System.Drawing.Color.White;
+ this.panMenu.Controls.Add(this.panDev);
+ this.panMenu.Controls.Add(this.panSetting);
this.panMenu.Controls.Add(this.panStatus);
+ this.panMenu.Controls.Add(this.panData);
this.panMenu.Controls.Add(this.panHome);
- this.panMenu.Controls.Add(this.labStatusSelected);
+ this.panMenu.Controls.Add(this.panMeasure);
+ this.panMenu.Controls.Add(this.panCounter);
this.panMenu.Location = new System.Drawing.Point(0, 64);
this.panMenu.Name = "panMenu";
this.panMenu.Size = new System.Drawing.Size(1024, 50);
this.panMenu.TabIndex = 1;
//
- // panStatus
- //
- this.panStatus.Back = System.Drawing.Color.Empty;
- this.panStatus.BackColor = System.Drawing.Color.Transparent;
- this.panStatus.Controls.Add(this.labStatusText);
- this.panStatus.Controls.Add(this.picIconStatus);
- this.panStatus.Location = new System.Drawing.Point(160, 0);
- this.panStatus.MatrixRound = 8;
- this.panStatus.Name = "panStatus";
- this.panStatus.Size = new System.Drawing.Size(130, 47);
- this.panStatus.TabIndex = 1;
- this.panStatus.Click += new System.EventHandler(this.panStatus_Click);
- this.panStatus.MouseLeave += new System.EventHandler(this.panStatus_MouseLeave);
- this.panStatus.MouseHover += new System.EventHandler(this.panStatus_MouseHover);
- //
- // labStatusText
- //
- this.labStatusText.BackColor = System.Drawing.Color.Transparent;
- this.labStatusText.Cursor = System.Windows.Forms.Cursors.Hand;
- this.labStatusText.Font = new System.Drawing.Font("微软雅黑", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
- this.labStatusText.ForeColor = System.Drawing.SystemColors.ControlText;
- this.labStatusText.Location = new System.Drawing.Point(35, 0);
- this.labStatusText.Margin = new System.Windows.Forms.Padding(0);
- this.labStatusText.Name = "labStatusText";
- this.labStatusText.Size = new System.Drawing.Size(85, 47);
- this.labStatusText.TabIndex = 2;
- this.labStatusText.Text = "基准状态";
- this.labStatusText.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
- this.labStatusText.Click += new System.EventHandler(this.panStatus_Click);
- this.labStatusText.MouseLeave += new System.EventHandler(this.panStatus_MouseLeave);
- this.labStatusText.MouseHover += new System.EventHandler(this.panStatus_MouseHover);
- //
- // picIconStatus
- //
- this.picIconStatus.BackgroundImage = global::Casic.Birmm.RbFreqStandMeasure.Properties.Resources.icon_status;
- this.picIconStatus.BackgroundImageLayout = System.Windows.Forms.ImageLayout.Zoom;
- this.picIconStatus.Location = new System.Drawing.Point(10, 11);
- this.picIconStatus.Name = "picIconStatus";
- this.picIconStatus.Size = new System.Drawing.Size(25, 25);
- this.picIconStatus.TabIndex = 1;
- this.picIconStatus.TabStop = false;
- this.picIconStatus.Click += new System.EventHandler(this.panStatus_Click);
- this.picIconStatus.MouseLeave += new System.EventHandler(this.panStatus_MouseLeave);
- this.picIconStatus.MouseHover += new System.EventHandler(this.panStatus_MouseHover);
- //
- // panHome
- //
- this.panHome.Back = System.Drawing.Color.Empty;
- this.panHome.Controls.Add(this.labHomeText);
- this.panHome.Controls.Add(this.picIconHome);
- this.panHome.Controls.Add(this.labHomeSelected);
- this.panHome.Cursor = System.Windows.Forms.Cursors.Hand;
- this.panHome.Location = new System.Drawing.Point(30, 0);
- this.panHome.MatrixRound = 8;
- this.panHome.Name = "panHome";
- this.panHome.Size = new System.Drawing.Size(100, 50);
- this.panHome.TabIndex = 0;
- this.panHome.Click += new System.EventHandler(this.panHome_Click);
- this.panHome.MouseLeave += new System.EventHandler(this.panHome_MouseLeave);
- this.panHome.MouseHover += new System.EventHandler(this.panHome_MouseHover);
- //
- // labHomeText
- //
- this.labHomeText.BackColor = System.Drawing.Color.Transparent;
- this.labHomeText.Font = new System.Drawing.Font("微软雅黑", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
- this.labHomeText.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(18)))), ((int)(((byte)(150)))), ((int)(((byte)(219)))));
- this.labHomeText.Location = new System.Drawing.Point(35, 0);
- this.labHomeText.Margin = new System.Windows.Forms.Padding(0);
- this.labHomeText.Name = "labHomeText";
- this.labHomeText.Size = new System.Drawing.Size(55, 47);
- this.labHomeText.TabIndex = 2;
- this.labHomeText.Text = "首页";
- this.labHomeText.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
- this.labHomeText.Click += new System.EventHandler(this.panHome_Click);
- this.labHomeText.MouseLeave += new System.EventHandler(this.panHome_MouseLeave);
- this.labHomeText.MouseHover += new System.EventHandler(this.panHome_MouseHover);
- //
- // picIconHome
- //
- this.picIconHome.BackColor = System.Drawing.Color.Transparent;
- this.picIconHome.BackgroundImage = global::Casic.Birmm.RbFreqStandMeasure.Properties.Resources.icon_home_selected;
- this.picIconHome.BackgroundImageLayout = System.Windows.Forms.ImageLayout.Zoom;
- this.picIconHome.Location = new System.Drawing.Point(10, 11);
- this.picIconHome.Name = "picIconHome";
- this.picIconHome.Size = new System.Drawing.Size(25, 25);
- this.picIconHome.TabIndex = 1;
- this.picIconHome.TabStop = false;
- this.picIconHome.Click += new System.EventHandler(this.panHome_Click);
- this.picIconHome.MouseLeave += new System.EventHandler(this.panHome_MouseLeave);
- this.picIconHome.MouseHover += new System.EventHandler(this.panHome_MouseHover);
- //
- // labHomeSelected
- //
- this.labHomeSelected.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(18)))), ((int)(((byte)(150)))), ((int)(((byte)(219)))));
- this.labHomeSelected.Location = new System.Drawing.Point(0, 47);
- this.labHomeSelected.Name = "labHomeSelected";
- this.labHomeSelected.Size = new System.Drawing.Size(100, 3);
- this.labHomeSelected.TabIndex = 0;
- //
- // labStatusSelected
- //
- this.labStatusSelected.BackColor = System.Drawing.Color.Transparent;
- this.labStatusSelected.Location = new System.Drawing.Point(160, 47);
- this.labStatusSelected.Margin = new System.Windows.Forms.Padding(0);
- this.labStatusSelected.Name = "labStatusSelected";
- this.labStatusSelected.Size = new System.Drawing.Size(130, 3);
- this.labStatusSelected.TabIndex = 0;
- //
// penBanner
//
this.penBanner.BackgroundImage = global::Casic.Birmm.RbFreqStandMeasure.Properties.Resources.bg_banner;
this.penBanner.BackgroundImageLayout = System.Windows.Forms.ImageLayout.Stretch;
+ this.penBanner.Controls.Add(this.btnMinSys);
this.penBanner.Controls.Add(this.btnExitSys);
this.penBanner.Controls.Add(this.labTitle);
this.penBanner.Location = new System.Drawing.Point(0, 0);
@@ -180,6 +109,23 @@
this.penBanner.TabIndex = 0;
this.penBanner.MouseDown += new System.Windows.Forms.MouseEventHandler(this.RbFreqStdMeas_MouseDown);
//
+ // btnMinSys
+ //
+ this.btnMinSys.BackColor = System.Drawing.Color.Transparent;
+ this.btnMinSys.BackgroundImage = global::Casic.Birmm.RbFreqStandMeasure.Properties.Resources.icon_min;
+ this.btnMinSys.BackgroundImageLayout = System.Windows.Forms.ImageLayout.Stretch;
+ this.btnMinSys.FlatAppearance.BorderSize = 0;
+ this.btnMinSys.FlatStyle = System.Windows.Forms.FlatStyle.Flat;
+ this.btnMinSys.ForeColor = System.Drawing.SystemColors.ControlDarkDark;
+ this.btnMinSys.Location = new System.Drawing.Point(944, 22);
+ this.btnMinSys.Margin = new System.Windows.Forms.Padding(0);
+ this.btnMinSys.Name = "btnMinSys";
+ this.btnMinSys.Size = new System.Drawing.Size(20, 20);
+ this.btnMinSys.TabIndex = 1;
+ this.btnMinSys.UseVisualStyleBackColor = false;
+ this.btnMinSys.Click += new System.EventHandler(this.btnMinSys_Click);
+ this.btnMinSys.MouseHover += new System.EventHandler(this.btnMinSys_MouseHover);
+ //
// btnExitSys
//
this.btnExitSys.BackColor = System.Drawing.Color.Transparent;
@@ -200,7 +146,7 @@
// labTitle
//
this.labTitle.BackColor = System.Drawing.Color.Transparent;
- this.labTitle.Font = new System.Drawing.Font("微软雅黑", 15.75F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
+ this.labTitle.Font = new System.Drawing.Font("微软雅黑", 20F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Pixel, ((byte)(134)));
this.labTitle.ForeColor = System.Drawing.Color.White;
this.labTitle.Location = new System.Drawing.Point(30, 16);
this.labTitle.Name = "labTitle";
@@ -209,11 +155,404 @@
this.labTitle.Text = "铷原子频标比对测量软件";
this.labTitle.TextAlign = System.Drawing.ContentAlignment.MiddleLeft;
//
+ // panDev
+ //
+ this.panDev.Back = System.Drawing.Color.Empty;
+ this.panDev.Controls.Add(this.labDevText);
+ this.panDev.Controls.Add(this.labDevSelected);
+ this.panDev.Controls.Add(this.picIconDev);
+ this.panDev.Location = new System.Drawing.Point(214, 0);
+ this.panDev.MatrixRound = 8;
+ this.panDev.Name = "panDev";
+ this.panDev.Size = new System.Drawing.Size(141, 50);
+ this.panDev.TabIndex = 2;
+ this.panDev.Click += new System.EventHandler(this.panDev_Click);
+ this.panDev.MouseLeave += new System.EventHandler(this.panDev_MouseLeave);
+ this.panDev.MouseHover += new System.EventHandler(this.panDev_MouseHover);
+ //
+ // labDevText
+ //
+ this.labDevText.BackColor = System.Drawing.Color.Transparent;
+ this.labDevText.Cursor = System.Windows.Forms.Cursors.Hand;
+ this.labDevText.Font = new System.Drawing.Font("微软雅黑", 16F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Pixel, ((byte)(134)));
+ this.labDevText.ForeColor = System.Drawing.SystemColors.ControlText;
+ this.labDevText.Location = new System.Drawing.Point(30, 14);
+ this.labDevText.Margin = new System.Windows.Forms.Padding(0);
+ this.labDevText.Name = "labDevText";
+ this.labDevText.Size = new System.Drawing.Size(106, 20);
+ this.labDevText.TabIndex = 2;
+ this.labDevText.Text = "送检仪器管理";
+ this.labDevText.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
+ this.labDevText.Click += new System.EventHandler(this.panDev_Click);
+ this.labDevText.MouseLeave += new System.EventHandler(this.panDev_MouseLeave);
+ this.labDevText.MouseHover += new System.EventHandler(this.panDev_MouseHover);
+ //
+ // labDevSelected
+ //
+ this.labDevSelected.BackColor = System.Drawing.Color.Transparent;
+ this.labDevSelected.Location = new System.Drawing.Point(8, 48);
+ this.labDevSelected.Margin = new System.Windows.Forms.Padding(0);
+ this.labDevSelected.Name = "labDevSelected";
+ this.labDevSelected.Size = new System.Drawing.Size(121, 2);
+ this.labDevSelected.TabIndex = 3;
+ //
+ // picIconDev
+ //
+ this.picIconDev.BackColor = System.Drawing.Color.Transparent;
+ this.picIconDev.BackgroundImage = global::Casic.Birmm.RbFreqStandMeasure.Properties.Resources.icon_dev;
+ this.picIconDev.BackgroundImageLayout = System.Windows.Forms.ImageLayout.Zoom;
+ this.picIconDev.Location = new System.Drawing.Point(10, 14);
+ this.picIconDev.Name = "picIconDev";
+ this.picIconDev.Size = new System.Drawing.Size(20, 20);
+ this.picIconDev.TabIndex = 1;
+ this.picIconDev.TabStop = false;
+ this.picIconDev.Click += new System.EventHandler(this.panDev_Click);
+ this.picIconDev.MouseLeave += new System.EventHandler(this.panDev_MouseLeave);
+ this.picIconDev.MouseHover += new System.EventHandler(this.panDev_MouseHover);
+ //
+ // panSetting
+ //
+ this.panSetting.Back = System.Drawing.Color.Empty;
+ this.panSetting.Controls.Add(this.labSettingSelected);
+ this.panSetting.Controls.Add(this.labSettingText);
+ this.panSetting.Controls.Add(this.picIconSetting);
+ this.panSetting.Location = new System.Drawing.Point(879, 0);
+ this.panSetting.MatrixRound = 8;
+ this.panSetting.Name = "panSetting";
+ this.panSetting.Size = new System.Drawing.Size(109, 50);
+ this.panSetting.TabIndex = 2;
+ this.panSetting.Click += new System.EventHandler(this.panSetting_Click);
+ this.panSetting.MouseLeave += new System.EventHandler(this.panSetting_MouseLeave);
+ this.panSetting.MouseHover += new System.EventHandler(this.panSetting_MouseHover);
+ //
+ // labSettingSelected
+ //
+ this.labSettingSelected.BackColor = System.Drawing.Color.Transparent;
+ this.labSettingSelected.Location = new System.Drawing.Point(10, 48);
+ this.labSettingSelected.Margin = new System.Windows.Forms.Padding(0);
+ this.labSettingSelected.Name = "labSettingSelected";
+ this.labSettingSelected.Size = new System.Drawing.Size(89, 2);
+ this.labSettingSelected.TabIndex = 4;
+ //
+ // labSettingText
+ //
+ this.labSettingText.BackColor = System.Drawing.Color.Transparent;
+ this.labSettingText.Cursor = System.Windows.Forms.Cursors.Hand;
+ this.labSettingText.Font = new System.Drawing.Font("微软雅黑", 16F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Pixel, ((byte)(134)));
+ this.labSettingText.ForeColor = System.Drawing.SystemColors.ControlText;
+ this.labSettingText.Location = new System.Drawing.Point(30, 14);
+ this.labSettingText.Margin = new System.Windows.Forms.Padding(0);
+ this.labSettingText.Name = "labSettingText";
+ this.labSettingText.Size = new System.Drawing.Size(74, 20);
+ this.labSettingText.TabIndex = 2;
+ this.labSettingText.Text = "系统设置";
+ this.labSettingText.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
+ this.labSettingText.Click += new System.EventHandler(this.panSetting_Click);
+ this.labSettingText.MouseLeave += new System.EventHandler(this.panSetting_MouseLeave);
+ this.labSettingText.MouseHover += new System.EventHandler(this.panSetting_MouseHover);
+ //
+ // picIconSetting
+ //
+ this.picIconSetting.BackColor = System.Drawing.Color.Transparent;
+ this.picIconSetting.BackgroundImage = global::Casic.Birmm.RbFreqStandMeasure.Properties.Resources.icon_setting;
+ this.picIconSetting.BackgroundImageLayout = System.Windows.Forms.ImageLayout.Zoom;
+ this.picIconSetting.Location = new System.Drawing.Point(10, 14);
+ this.picIconSetting.Name = "picIconSetting";
+ this.picIconSetting.Size = new System.Drawing.Size(20, 20);
+ this.picIconSetting.TabIndex = 1;
+ this.picIconSetting.TabStop = false;
+ this.picIconSetting.Click += new System.EventHandler(this.panSetting_Click);
+ this.picIconSetting.MouseLeave += new System.EventHandler(this.panSetting_MouseLeave);
+ this.picIconSetting.MouseHover += new System.EventHandler(this.panSetting_MouseHover);
+ //
+ // panStatus
+ //
+ this.panStatus.Back = System.Drawing.Color.Empty;
+ this.panStatus.BackColor = System.Drawing.Color.Transparent;
+ this.panStatus.Controls.Add(this.labStatusText);
+ this.panStatus.Controls.Add(this.picIconStatus);
+ this.panStatus.Controls.Add(this.labStatusSelected);
+ this.panStatus.Location = new System.Drawing.Point(101, 0);
+ this.panStatus.MatrixRound = 8;
+ this.panStatus.Name = "panStatus";
+ this.panStatus.Size = new System.Drawing.Size(109, 50);
+ this.panStatus.TabIndex = 1;
+ this.panStatus.Click += new System.EventHandler(this.panStatus_Click);
+ this.panStatus.MouseLeave += new System.EventHandler(this.panStatus_MouseLeave);
+ this.panStatus.MouseHover += new System.EventHandler(this.panStatus_MouseHover);
+ //
+ // labStatusText
+ //
+ this.labStatusText.BackColor = System.Drawing.Color.Transparent;
+ this.labStatusText.Cursor = System.Windows.Forms.Cursors.Hand;
+ this.labStatusText.Font = new System.Drawing.Font("微软雅黑", 16F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Pixel, ((byte)(134)));
+ this.labStatusText.ForeColor = System.Drawing.SystemColors.ControlText;
+ this.labStatusText.Location = new System.Drawing.Point(30, 14);
+ this.labStatusText.Margin = new System.Windows.Forms.Padding(0);
+ this.labStatusText.Name = "labStatusText";
+ this.labStatusText.Size = new System.Drawing.Size(74, 20);
+ this.labStatusText.TabIndex = 2;
+ this.labStatusText.Text = "基准状态";
+ this.labStatusText.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
+ this.labStatusText.Click += new System.EventHandler(this.panStatus_Click);
+ this.labStatusText.MouseLeave += new System.EventHandler(this.panStatus_MouseLeave);
+ this.labStatusText.MouseHover += new System.EventHandler(this.panStatus_MouseHover);
+ //
+ // picIconStatus
+ //
+ this.picIconStatus.BackgroundImage = global::Casic.Birmm.RbFreqStandMeasure.Properties.Resources.icon_status;
+ this.picIconStatus.BackgroundImageLayout = System.Windows.Forms.ImageLayout.Zoom;
+ this.picIconStatus.Location = new System.Drawing.Point(10, 14);
+ this.picIconStatus.Name = "picIconStatus";
+ this.picIconStatus.Size = new System.Drawing.Size(20, 20);
+ this.picIconStatus.TabIndex = 1;
+ this.picIconStatus.TabStop = false;
+ this.picIconStatus.Click += new System.EventHandler(this.panStatus_Click);
+ this.picIconStatus.MouseLeave += new System.EventHandler(this.panStatus_MouseLeave);
+ this.picIconStatus.MouseHover += new System.EventHandler(this.panStatus_MouseHover);
+ //
+ // labStatusSelected
+ //
+ this.labStatusSelected.BackColor = System.Drawing.Color.Transparent;
+ this.labStatusSelected.Location = new System.Drawing.Point(10, 48);
+ this.labStatusSelected.Margin = new System.Windows.Forms.Padding(0);
+ this.labStatusSelected.Name = "labStatusSelected";
+ this.labStatusSelected.Size = new System.Drawing.Size(89, 2);
+ this.labStatusSelected.TabIndex = 0;
+ //
+ // panData
+ //
+ this.panData.Back = System.Drawing.Color.Empty;
+ this.panData.Controls.Add(this.labDataSelected);
+ this.panData.Controls.Add(this.labDataText);
+ this.panData.Controls.Add(this.picIconData);
+ this.panData.Location = new System.Drawing.Point(765, 0);
+ this.panData.MatrixRound = 8;
+ this.panData.Name = "panData";
+ this.panData.Size = new System.Drawing.Size(109, 50);
+ this.panData.TabIndex = 2;
+ this.panData.Click += new System.EventHandler(this.panData_Click);
+ this.panData.MouseLeave += new System.EventHandler(this.panData_MouseLeave);
+ this.panData.MouseHover += new System.EventHandler(this.panData_MouseHover);
+ //
+ // labDataSelected
+ //
+ this.labDataSelected.BackColor = System.Drawing.Color.Transparent;
+ this.labDataSelected.Location = new System.Drawing.Point(10, 48);
+ this.labDataSelected.Margin = new System.Windows.Forms.Padding(0);
+ this.labDataSelected.Name = "labDataSelected";
+ this.labDataSelected.Size = new System.Drawing.Size(89, 2);
+ this.labDataSelected.TabIndex = 3;
+ //
+ // labDataText
+ //
+ this.labDataText.BackColor = System.Drawing.Color.Transparent;
+ this.labDataText.Cursor = System.Windows.Forms.Cursors.Hand;
+ this.labDataText.Font = new System.Drawing.Font("微软雅黑", 16F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Pixel, ((byte)(134)));
+ this.labDataText.ForeColor = System.Drawing.SystemColors.ControlText;
+ this.labDataText.Location = new System.Drawing.Point(30, 14);
+ this.labDataText.Margin = new System.Windows.Forms.Padding(0);
+ this.labDataText.Name = "labDataText";
+ this.labDataText.Size = new System.Drawing.Size(74, 20);
+ this.labDataText.TabIndex = 2;
+ this.labDataText.Text = "数据管理";
+ this.labDataText.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
+ this.labDataText.Click += new System.EventHandler(this.panData_Click);
+ this.labDataText.MouseLeave += new System.EventHandler(this.panData_MouseLeave);
+ this.labDataText.MouseHover += new System.EventHandler(this.panData_MouseHover);
+ //
+ // picIconData
+ //
+ this.picIconData.BackColor = System.Drawing.Color.Transparent;
+ this.picIconData.BackgroundImage = global::Casic.Birmm.RbFreqStandMeasure.Properties.Resources.icon_data;
+ this.picIconData.BackgroundImageLayout = System.Windows.Forms.ImageLayout.Zoom;
+ this.picIconData.Location = new System.Drawing.Point(10, 14);
+ this.picIconData.Name = "picIconData";
+ this.picIconData.Size = new System.Drawing.Size(20, 20);
+ this.picIconData.TabIndex = 1;
+ this.picIconData.TabStop = false;
+ this.picIconData.Click += new System.EventHandler(this.panData_Click);
+ this.picIconData.MouseLeave += new System.EventHandler(this.panData_MouseLeave);
+ this.picIconData.MouseHover += new System.EventHandler(this.panData_MouseHover);
+ //
+ // panHome
+ //
+ this.panHome.Back = System.Drawing.Color.Empty;
+ this.panHome.Controls.Add(this.labHomeText);
+ this.panHome.Controls.Add(this.picIconHome);
+ this.panHome.Controls.Add(this.labHomeSelected);
+ this.panHome.Cursor = System.Windows.Forms.Cursors.Hand;
+ this.panHome.Location = new System.Drawing.Point(20, 0);
+ this.panHome.MatrixRound = 8;
+ this.panHome.Name = "panHome";
+ this.panHome.Size = new System.Drawing.Size(75, 50);
+ this.panHome.TabIndex = 0;
+ this.panHome.Click += new System.EventHandler(this.panHome_Click);
+ this.panHome.MouseLeave += new System.EventHandler(this.panHome_MouseLeave);
+ this.panHome.MouseHover += new System.EventHandler(this.panHome_MouseHover);
+ //
+ // labHomeText
+ //
+ this.labHomeText.BackColor = System.Drawing.Color.Transparent;
+ this.labHomeText.Font = new System.Drawing.Font("微软雅黑", 16F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Pixel, ((byte)(134)));
+ this.labHomeText.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(18)))), ((int)(((byte)(150)))), ((int)(((byte)(219)))));
+ this.labHomeText.Location = new System.Drawing.Point(30, 14);
+ this.labHomeText.Margin = new System.Windows.Forms.Padding(0);
+ this.labHomeText.Name = "labHomeText";
+ this.labHomeText.Size = new System.Drawing.Size(42, 20);
+ this.labHomeText.TabIndex = 2;
+ this.labHomeText.Text = "首页";
+ this.labHomeText.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
+ this.labHomeText.Click += new System.EventHandler(this.panHome_Click);
+ this.labHomeText.MouseLeave += new System.EventHandler(this.panHome_MouseLeave);
+ this.labHomeText.MouseHover += new System.EventHandler(this.panHome_MouseHover);
+ //
+ // picIconHome
+ //
+ this.picIconHome.BackColor = System.Drawing.Color.Transparent;
+ this.picIconHome.BackgroundImage = global::Casic.Birmm.RbFreqStandMeasure.Properties.Resources.icon_home_selected;
+ this.picIconHome.BackgroundImageLayout = System.Windows.Forms.ImageLayout.Zoom;
+ this.picIconHome.Location = new System.Drawing.Point(10, 14);
+ this.picIconHome.Margin = new System.Windows.Forms.Padding(0);
+ this.picIconHome.Name = "picIconHome";
+ this.picIconHome.Size = new System.Drawing.Size(20, 20);
+ this.picIconHome.TabIndex = 1;
+ this.picIconHome.TabStop = false;
+ this.picIconHome.Click += new System.EventHandler(this.panHome_Click);
+ this.picIconHome.MouseLeave += new System.EventHandler(this.panHome_MouseLeave);
+ this.picIconHome.MouseHover += new System.EventHandler(this.panHome_MouseHover);
+ //
+ // labHomeSelected
+ //
+ this.labHomeSelected.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(18)))), ((int)(((byte)(150)))), ((int)(((byte)(219)))));
+ this.labHomeSelected.Location = new System.Drawing.Point(10, 48);
+ this.labHomeSelected.Name = "labHomeSelected";
+ this.labHomeSelected.Size = new System.Drawing.Size(55, 2);
+ this.labHomeSelected.TabIndex = 0;
+ //
+ // panMeasure
+ //
+ this.panMeasure.Back = System.Drawing.Color.Empty;
+ this.panMeasure.Controls.Add(this.labMeasureText);
+ this.panMeasure.Controls.Add(this.labMeasureSelected);
+ this.panMeasure.Controls.Add(this.picIconMeasure);
+ this.panMeasure.Location = new System.Drawing.Point(619, 0);
+ this.panMeasure.MatrixRound = 8;
+ this.panMeasure.Name = "panMeasure";
+ this.panMeasure.Size = new System.Drawing.Size(141, 50);
+ this.panMeasure.TabIndex = 2;
+ this.panMeasure.Click += new System.EventHandler(this.panMeasure_Click);
+ this.panMeasure.MouseLeave += new System.EventHandler(this.panMeasure_MouseLeave);
+ this.panMeasure.MouseHover += new System.EventHandler(this.panMeasure_MouseHover);
+ //
+ // labMeasureText
+ //
+ this.labMeasureText.BackColor = System.Drawing.Color.Transparent;
+ this.labMeasureText.Cursor = System.Windows.Forms.Cursors.Hand;
+ this.labMeasureText.Font = new System.Drawing.Font("微软雅黑", 16F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Pixel, ((byte)(134)));
+ this.labMeasureText.ForeColor = System.Drawing.SystemColors.ControlText;
+ this.labMeasureText.Location = new System.Drawing.Point(30, 14);
+ this.labMeasureText.Margin = new System.Windows.Forms.Padding(0);
+ this.labMeasureText.Name = "labMeasureText";
+ this.labMeasureText.Size = new System.Drawing.Size(106, 20);
+ this.labMeasureText.TabIndex = 2;
+ this.labMeasureText.Text = "计量信息管理";
+ this.labMeasureText.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
+ this.labMeasureText.Click += new System.EventHandler(this.panMeasure_Click);
+ this.labMeasureText.MouseLeave += new System.EventHandler(this.panMeasure_MouseLeave);
+ this.labMeasureText.MouseHover += new System.EventHandler(this.panMeasure_MouseHover);
+ //
+ // labMeasureSelected
+ //
+ this.labMeasureSelected.BackColor = System.Drawing.Color.Transparent;
+ this.labMeasureSelected.Location = new System.Drawing.Point(10, 48);
+ this.labMeasureSelected.Margin = new System.Windows.Forms.Padding(0);
+ this.labMeasureSelected.Name = "labMeasureSelected";
+ this.labMeasureSelected.Size = new System.Drawing.Size(121, 2);
+ this.labMeasureSelected.TabIndex = 3;
+ //
+ // picIconMeasure
+ //
+ this.picIconMeasure.BackColor = System.Drawing.Color.Transparent;
+ this.picIconMeasure.BackgroundImage = global::Casic.Birmm.RbFreqStandMeasure.Properties.Resources.icon_measure;
+ this.picIconMeasure.BackgroundImageLayout = System.Windows.Forms.ImageLayout.Zoom;
+ this.picIconMeasure.Location = new System.Drawing.Point(10, 14);
+ this.picIconMeasure.Name = "picIconMeasure";
+ this.picIconMeasure.Size = new System.Drawing.Size(20, 20);
+ this.picIconMeasure.TabIndex = 1;
+ this.picIconMeasure.TabStop = false;
+ this.picIconMeasure.Click += new System.EventHandler(this.panMeasure_Click);
+ this.picIconMeasure.MouseLeave += new System.EventHandler(this.panMeasure_MouseLeave);
+ this.picIconMeasure.MouseHover += new System.EventHandler(this.panMeasure_MouseHover);
+ //
+ // panCounter
+ //
+ this.panCounter.Back = System.Drawing.Color.Empty;
+ this.panCounter.Controls.Add(this.labCounterSelected);
+ this.panCounter.Controls.Add(this.labCounterText);
+ this.panCounter.Controls.Add(this.picIconCounter);
+ this.panCounter.Location = new System.Drawing.Point(360, 0);
+ this.panCounter.MatrixRound = 8;
+ this.panCounter.Name = "panCounter";
+ this.panCounter.Size = new System.Drawing.Size(254, 50);
+ this.panCounter.TabIndex = 2;
+ this.panCounter.Click += new System.EventHandler(this.panCounter_Click);
+ this.panCounter.MouseLeave += new System.EventHandler(this.panCounter_MouseLeave);
+ this.panCounter.MouseHover += new System.EventHandler(this.panCounter_MouseHover);
+ //
+ // labCounterSelected
+ //
+ this.labCounterSelected.BackColor = System.Drawing.Color.Transparent;
+ this.labCounterSelected.Location = new System.Drawing.Point(10, 48);
+ this.labCounterSelected.Margin = new System.Windows.Forms.Padding(0);
+ this.labCounterSelected.Name = "labCounterSelected";
+ this.labCounterSelected.Size = new System.Drawing.Size(233, 2);
+ this.labCounterSelected.TabIndex = 4;
+ //
+ // labCounterText
+ //
+ this.labCounterText.BackColor = System.Drawing.Color.Transparent;
+ this.labCounterText.Cursor = System.Windows.Forms.Cursors.Hand;
+ this.labCounterText.Font = new System.Drawing.Font("微软雅黑", 16F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Pixel, ((byte)(134)));
+ this.labCounterText.ForeColor = System.Drawing.SystemColors.ControlText;
+ this.labCounterText.Location = new System.Drawing.Point(30, 14);
+ this.labCounterText.Margin = new System.Windows.Forms.Padding(0);
+ this.labCounterText.Name = "labCounterText";
+ this.labCounterText.Size = new System.Drawing.Size(218, 20);
+ this.labCounterText.TabIndex = 2;
+ this.labCounterText.Text = "频率计数器范围及灵敏度测量";
+ this.labCounterText.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
+ this.labCounterText.Click += new System.EventHandler(this.panCounter_Click);
+ this.labCounterText.MouseLeave += new System.EventHandler(this.panCounter_MouseLeave);
+ this.labCounterText.MouseHover += new System.EventHandler(this.panCounter_MouseHover);
+ //
+ // picIconCounter
+ //
+ this.picIconCounter.BackColor = System.Drawing.Color.Transparent;
+ this.picIconCounter.BackgroundImage = global::Casic.Birmm.RbFreqStandMeasure.Properties.Resources.icon_counter;
+ this.picIconCounter.BackgroundImageLayout = System.Windows.Forms.ImageLayout.Zoom;
+ this.picIconCounter.Location = new System.Drawing.Point(10, 14);
+ this.picIconCounter.Name = "picIconCounter";
+ this.picIconCounter.Size = new System.Drawing.Size(20, 20);
+ this.picIconCounter.TabIndex = 1;
+ this.picIconCounter.TabStop = false;
+ this.picIconCounter.Click += new System.EventHandler(this.panCounter_Click);
+ this.picIconCounter.MouseLeave += new System.EventHandler(this.panCounter_MouseLeave);
+ this.picIconCounter.MouseHover += new System.EventHandler(this.panCounter_MouseHover);
+ //
+ // panelMain
+ //
+ this.panelMain.Location = new System.Drawing.Point(0, 114);
+ this.panelMain.Name = "panelMain";
+ this.panelMain.Size = new System.Drawing.Size(1024, 654);
+ this.panelMain.TabIndex = 2;
+ //
// RbFreqStdMeas
//
this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 12F);
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
this.ClientSize = new System.Drawing.Size(1024, 768);
+ this.Controls.Add(this.panelMain);
this.Controls.Add(this.panMenu);
this.Controls.Add(this.penBanner);
this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.None;
@@ -221,11 +560,21 @@
this.Text = "RbFreqStdMeas";
this.Load += new System.EventHandler(this.RbFreqStdMeas_Load);
this.panMenu.ResumeLayout(false);
+ this.penBanner.ResumeLayout(false);
+ this.panDev.ResumeLayout(false);
+ ((System.ComponentModel.ISupportInitialize)(this.picIconDev)).EndInit();
+ this.panSetting.ResumeLayout(false);
+ ((System.ComponentModel.ISupportInitialize)(this.picIconSetting)).EndInit();
this.panStatus.ResumeLayout(false);
((System.ComponentModel.ISupportInitialize)(this.picIconStatus)).EndInit();
+ this.panData.ResumeLayout(false);
+ ((System.ComponentModel.ISupportInitialize)(this.picIconData)).EndInit();
this.panHome.ResumeLayout(false);
((System.ComponentModel.ISupportInitialize)(this.picIconHome)).EndInit();
- this.penBanner.ResumeLayout(false);
+ this.panMeasure.ResumeLayout(false);
+ ((System.ComponentModel.ISupportInitialize)(this.picIconMeasure)).EndInit();
+ this.panCounter.ResumeLayout(false);
+ ((System.ComponentModel.ISupportInitialize)(this.picIconCounter)).EndInit();
this.ResumeLayout(false);
}
@@ -244,5 +593,27 @@
private RoundPanel panStatus;
private RoundPanel panHome;
private System.Windows.Forms.Label labStatusSelected;
+ private RoundPanel panDev;
+ private System.Windows.Forms.PictureBox picIconDev;
+ private System.Windows.Forms.Label labDevText;
+ private System.Windows.Forms.Label labMeasureSelected;
+ private RoundPanel panCounter;
+ private System.Windows.Forms.Label labCounterText;
+ private System.Windows.Forms.PictureBox picIconCounter;
+ private RoundPanel panMeasure;
+ private System.Windows.Forms.Label labMeasureText;
+ private System.Windows.Forms.PictureBox picIconMeasure;
+ private RoundPanel panData;
+ private System.Windows.Forms.Label labDataText;
+ private System.Windows.Forms.PictureBox picIconData;
+ private RoundPanel panSetting;
+ private System.Windows.Forms.Label labSettingText;
+ private System.Windows.Forms.PictureBox picIconSetting;
+ private System.Windows.Forms.Label labCounterSelected;
+ private System.Windows.Forms.Label labDevSelected;
+ private System.Windows.Forms.Label labDataSelected;
+ private System.Windows.Forms.Label labSettingSelected;
+ private System.Windows.Forms.Button btnMinSys;
+ private System.Windows.Forms.Panel panelMain;
}
}
\ No newline at end of file
diff --git a/RbFreqStandMeasure/RbFreqStdMeas.cs b/RbFreqStandMeasure/RbFreqStdMeas.cs
index 3858ddb..af980d7 100644
--- a/RbFreqStandMeasure/RbFreqStdMeas.cs
+++ b/RbFreqStandMeasure/RbFreqStdMeas.cs
@@ -1,13 +1,9 @@
-using Casic.Birmm.RbFreqStandMeasure.Properties;
+using Casic.Birmm.RbFreqStandMeasure.info;
+using Casic.Birmm.RbFreqStandMeasure.Properties;
+using Casic.Birmm.RbFreqStandMeasure.setting;
using System;
-using System.Collections.Generic;
-using System.ComponentModel;
-using System.Data;
using System.Drawing;
-using System.Linq;
-using System.Resources;
using System.Runtime.InteropServices;
-using System.Text;
using System.Windows.Forms;
namespace Casic.Birmm.RbFreqStandMeasure
@@ -15,7 +11,7 @@
public partial class RbFreqStdMeas : Form
{
- #region 无边框拖动效果
+ #region 无边框拖动效果/最小化窗口/关闭窗口
[DllImport("user32.dll")]//拖动无窗体的控件
public static extern bool ReleaseCapture();
[DllImport("user32.dll")]
@@ -30,9 +26,29 @@
ReleaseCapture();
SendMessage(this.Handle, WM_SYSCOMMAND, SC_MOVE + HTCAPTION, 0);
}
+ private void btnExitSys_Click(object sender, EventArgs e)
+ {
+ Application.Exit();
+ }
+ private void btnMinSys_Click(object sender, EventArgs e)
+ {
+ this.WindowState = FormWindowState.Minimized;
+ }
+ private void btnExitSys_MouseHover(object sender, EventArgs e)
+ {
+ ToolTip p = new ToolTip();
+ p.ShowAlways = true;
+ p.SetToolTip(this.btnExitSys, "退出");
+ }
+ private void btnMinSys_MouseHover(object sender, EventArgs e)
+ {
+ ToolTip p = new ToolTip();
+ p.ShowAlways = true;
+ p.SetToolTip(this.btnMinSys, "最小化");
+ }
#endregion
- private bool[] menuSelected = { true, false };
+ private bool[] menuSelected = { true, false, false, false, false, false, false };
// 按钮图标
private PictureBox[] menuPics;
// 按钮图标的资源名称(选中的资源名称在后面加上 _selected)
@@ -57,7 +73,7 @@
// 将当前按钮的效果设置为默认未选中
this.menuPics[index].BackgroundImage = (Bitmap)Resources.ResourceManager.GetObject(this.menuIconResources[index], null);
- this.menuLabels[index].ForeColor = ColorTranslator.FromHtml("#2C2C2C");
+ this.menuLabels[index].ForeColor = ColorTranslator.FromHtml("#333333");
this.menuUnderlines[index].BackColor = Color.Transparent;
}
@@ -79,13 +95,15 @@
LeaveHome();
// 重新设置所有按钮的状态
- this.menuSelected = new bool[] { true, false };
+ this.menuSelected = new bool[] { true, false, false, false, false, false, false };
// 将新选中的按钮设置为选中
this.picIconHome.BackgroundImage = (Bitmap)Resources.ResourceManager.GetObject("icon_home_selected", null);
- this.labHomeText.ForeColor = ColorTranslator.FromHtml("#1296db");
- this.labHomeSelected.BackColor = ColorTranslator.FromHtml("#1296db");
+ this.labHomeText.ForeColor = ColorTranslator.FromHtml("#3f84d7");
+ this.labHomeSelected.BackColor = ColorTranslator.FromHtml("#3f84d7");
+ // 切换至首页
+ switchMainPanel(0);
}
#endregion
@@ -107,12 +125,163 @@
LeaveStatus();
// 重新设置所有按钮的状态
- this.menuSelected = new bool[] { false, true };
+ this.menuSelected = new bool[] { false, true, false, false, false, false, false };
// 将新选中的按钮设置为选中
this.picIconStatus.BackgroundImage = (Bitmap) Resources.ResourceManager.GetObject("icon_status_selected", null);
- this.labStatusText.ForeColor = ColorTranslator.FromHtml("#1296db");
- this.labStatusSelected.BackColor = ColorTranslator.FromHtml("#1296db");
+ this.labStatusText.ForeColor = ColorTranslator.FromHtml("#3f84d7");
+ this.labStatusSelected.BackColor = ColorTranslator.FromHtml("#3f84d7");
+
+ // 切换到基准状态页面
+ switchMainPanel(1);
+ }
+ #endregion
+
+ #region 送检仪器按钮点击、移入/移出效果
+ private void HoverDev()
+ {
+ panDev.Back = ColorTranslator.FromHtml("#56a3f2");
+ }
+ private void LeaveDev()
+ {
+ panDev.Back = Color.Transparent;
+ }
+ private void SelectDev()
+ {
+ // 移除所有按钮的选中样式
+ this.ClearAllMenuSelected();
+
+ // 鼠标移入效果去掉
+ LeaveDev();
+
+ // 重新设置所有按钮的状态
+ this.menuSelected = new bool[] { false, false, true, false, false ,false ,false };
+
+ // 将新选中的按钮设置为选中
+ this.picIconDev.BackgroundImage = (Bitmap)Resources.ResourceManager.GetObject("icon_dev_selected", null);
+ this.labDevText.ForeColor = ColorTranslator.FromHtml("#3f84d7");
+ this.labDevSelected.BackColor = ColorTranslator.FromHtml("#3f84d7");
+
+ // 切换至待检仪器管理
+ switchMainPanel(2);
+ }
+ #endregion
+
+ #region 频率计数器测量点击、移入/移出效果
+ private void HoverCounter()
+ {
+ panCounter.Back = ColorTranslator.FromHtml("#56a3f2");
+ }
+ private void LeaveCounter()
+ {
+ panCounter.Back = Color.Transparent;
+ }
+ private void SelectCounter()
+ {
+ // 移除所有按钮的选中样式
+ this.ClearAllMenuSelected();
+
+ // 鼠标移入效果去掉
+ LeaveCounter();
+
+ // 重新设置所有按钮的状态
+ this.menuSelected = new bool[] { false, false, false, true, false, false, false };
+
+ // 将新选中的按钮设置为选中
+ this.picIconCounter.BackgroundImage = (Bitmap)Resources.ResourceManager.GetObject("icon_counter_selected", null);
+ this.labCounterText.ForeColor = ColorTranslator.FromHtml("#3f84d7");
+ this.labCounterSelected.BackColor = ColorTranslator.FromHtml("#3f84d7");
+ }
+ #endregion
+
+ #region 计量管理点击、移入/移出效果
+ private void HoverMeasure()
+ {
+ panMeasure.Back = ColorTranslator.FromHtml("#56a3f2");
+ }
+ private void LeaveMeasure()
+ {
+ panMeasure.Back = Color.Transparent;
+ }
+ private void SelectMeasure()
+ {
+ // 移除所有按钮的选中样式
+ this.ClearAllMenuSelected();
+
+ // 鼠标移入效果去掉
+ LeaveMeasure();
+
+ // 重新设置所有按钮的状态
+ this.menuSelected = new bool[] { false, false, false, false, true, false, false };
+
+ // 将新选中的按钮设置为选中
+ this.picIconMeasure.BackgroundImage = (Bitmap)Resources.ResourceManager.GetObject("icon_measure_selected", null);
+ this.labMeasureText.ForeColor = ColorTranslator.FromHtml("#3f84d7");
+ this.labMeasureSelected.BackColor = ColorTranslator.FromHtml("#3f84d7");
+
+ // 切换至计量信息管理
+ switchMainPanel(4);
+ }
+ #endregion
+
+ #region 数据管理点击、移入/移出效果
+ private void HoverData()
+ {
+ panData.Back = ColorTranslator.FromHtml("#56a3f2");
+ }
+ private void LeaveData()
+ {
+ panData.Back = Color.Transparent;
+ }
+ private void SelectData()
+ {
+ // 移除所有按钮的选中样式
+ this.ClearAllMenuSelected();
+
+ // 鼠标移入效果去掉
+ LeaveData();
+
+ // 重新设置所有按钮的状态
+ this.menuSelected = new bool[] { false, false, false, false, false, true, false };
+
+ // 将新选中的按钮设置为选中
+ this.picIconData.BackgroundImage = (Bitmap)Resources.ResourceManager.GetObject("icon_data_selected", null);
+ this.labDataText.ForeColor = ColorTranslator.FromHtml("#3f84d7");
+ this.labDataSelected.BackColor = ColorTranslator.FromHtml("#3f84d7");
+
+ // 弹出对话框进行数据备份与还原操作
+ DataBackupDlg dataDlg = new DataBackupDlg();
+ dataDlg.ShowDialog();
+ }
+ #endregion
+
+ #region 系统管理点击、移入/移出效果
+ private void HoverSetting()
+ {
+ panSetting.Back = ColorTranslator.FromHtml("#56a3f2");
+ }
+ private void LeaveSetting()
+ {
+ panSetting.Back = Color.Transparent;
+ }
+ private void SelectSetting()
+ {
+ // 移除所有按钮的选中样式
+ this.ClearAllMenuSelected();
+
+ // 鼠标移入效果去掉
+ LeaveSetting();
+
+ // 重新设置所有按钮的状态
+ this.menuSelected = new bool[] { false, false, false, false, false, false, true };
+
+ // 将新选中的按钮设置为选中
+ this.picIconSetting.BackgroundImage = (Bitmap)Resources.ResourceManager.GetObject("icon_setting_selected", null);
+ this.labSettingText.ForeColor = ColorTranslator.FromHtml("#3f84d7");
+ this.labSettingSelected.BackColor = ColorTranslator.FromHtml("#3f84d7");
+
+ // 切换到设置的界面
+ switchMainPanel(6);
}
#endregion
@@ -123,22 +292,13 @@
private void RbFreqStdMeas_Load(object sender, EventArgs e)
{
- this.menuPics = new PictureBox[] { this.picIconHome, this.picIconStatus };
- this.menuLabels = new Label[] { this.labHomeText, this.labStatusText };
- this.menuUnderlines = new Label[] { this.labHomeSelected, this.labStatusSelected };
- this.menuIconResources = new string[] { "icon_home", "icon_status" };
- }
+ this.menuPics = new PictureBox[] { this.picIconHome, this.picIconStatus, this.picIconDev, this.picIconCounter, this.picIconMeasure, this.picIconData, this.picIconSetting };
+ this.menuLabels = new Label[] { this.labHomeText, this.labStatusText, this.labDevText, this.labCounterText, this.labMeasureText, this.labDataText, this.labSettingText };
+ this.menuUnderlines = new Label[] { this.labHomeSelected, this.labStatusSelected, this.labDevSelected, this.labCounterSelected, this.labMeasureSelected, this.labDataSelected, this.labSettingSelected };
+ this.menuIconResources = new string[] { "icon_home", "icon_status", "icon_dev", "icon_counter", "icon_measure", "icon_data", "icon_setting" };
- private void btnExitSys_Click(object sender, EventArgs e)
- {
- Application.Exit();
- }
-
- private void btnExitSys_MouseHover(object sender, EventArgs e)
- {
- ToolTip p = new ToolTip();
- p.ShowAlways = true;
- p.SetToolTip(this.btnExitSys, "退出");
+ // 加载首页的内容
+ switchMainPanel(0);
}
private void panHome_Click(object sender, EventArgs e)
@@ -191,5 +351,169 @@
LeaveStatus();
}
}
+
+ private void panDev_Click(object sender, EventArgs e)
+ {
+ if (this.menuSelected[2] == false)
+ {
+ SelectDev();
+ }
+ }
+
+ private void panDev_MouseHover(object sender, EventArgs e)
+ {
+ if (this.menuSelected[2] == false)
+ {
+ HoverDev();
+ }
+ }
+
+ private void panDev_MouseLeave(object sender, EventArgs e)
+ {
+ if (this.menuSelected[2] == false)
+ {
+ LeaveDev();
+ }
+ }
+
+ private void panCounter_Click(object sender, EventArgs e)
+ {
+ if (this.menuSelected[3] == false)
+ {
+ SelectCounter();
+ }
+ }
+
+ private void panCounter_MouseHover(object sender, EventArgs e)
+ {
+ if (this.menuSelected[3] == false)
+ {
+ HoverCounter();
+ }
+ }
+
+ private void panCounter_MouseLeave(object sender, EventArgs e)
+ {
+ if (this.menuSelected[3] == false)
+ {
+ LeaveCounter();
+ }
+ }
+
+ private void panMeasure_Click(object sender, EventArgs e)
+ {
+ if (this.menuSelected[4] == false)
+ {
+ SelectMeasure();
+ }
+ }
+
+ private void panMeasure_MouseHover(object sender, EventArgs e)
+ {
+ if (this.menuSelected[4] == false)
+ {
+ HoverMeasure();
+ }
+ }
+
+ private void panMeasure_MouseLeave(object sender, EventArgs e)
+ {
+ if (this.menuSelected[4] == false)
+ {
+ LeaveMeasure();
+ }
+ }
+
+ private void panData_Click(object sender, EventArgs e)
+ {
+ if (this.menuSelected[5] == false)
+ {
+ SelectData();
+ }
+ }
+
+ private void panData_MouseHover(object sender, EventArgs e)
+ {
+ if (this.menuSelected[5] == false)
+ {
+ HoverData();
+ }
+ }
+
+ private void panData_MouseLeave(object sender, EventArgs e)
+ {
+ if (this.menuSelected[5] == false)
+ {
+ LeaveData();
+ }
+ }
+
+ private void panSetting_Click(object sender, EventArgs e)
+ {
+ if (this.menuSelected[6] == false)
+ {
+ SelectSetting();
+ }
+ }
+
+ private void panSetting_MouseHover(object sender, EventArgs e)
+ {
+ if (this.menuSelected[6] == false)
+ {
+ HoverSetting();
+ }
+ }
+
+ private void panSetting_MouseLeave(object sender, EventArgs e)
+ {
+ if (this.menuSelected[6] == false)
+ {
+ LeaveSetting();
+ }
+ }
+
+ private void switchMainPanel(int index)
+ {
+ this.panelMain.Controls.Clear();
+
+ switch (index)
+ {
+ case 0: // 首页
+ HomeCtrlForm home = new HomeCtrlForm();
+ home.Show();
+ this.panelMain.Controls.Add(home);
+ break;
+
+ case 1: // 基准状态
+ StatusCtrlForm statusForm = new StatusCtrlForm();
+ statusForm.Show();
+ this.panelMain.Controls.Add(statusForm);
+ break;
+
+ case 2: // 待检设备
+ InfoCtrlForm infoForm = new InfoCtrlForm();
+ infoForm.Show();
+ this.panelMain.Controls.Add(infoForm);
+ break;
+
+ case 3: // 频率计数器范围
+ break;
+
+ case 4: // 计量信息
+ DevTestedCtrlForm tested = new DevTestedCtrlForm();
+ tested.Show();
+ this.panelMain.Controls.Add(tested);
+ break;
+
+ case 6: // 设置
+ SettingCtrlForm settingForm = new SettingCtrlForm();
+ settingForm.Show();
+ this.panelMain.Controls.Add(settingForm);
+ break;
+
+ default:
+ break;
+ }
+ }
}
}
\ No newline at end of file
diff --git a/RbFreqStandMeasure/StatusCtrlForm.Designer.cs b/RbFreqStandMeasure/StatusCtrlForm.Designer.cs
index bf5071a..b4151fd 100644
--- a/RbFreqStandMeasure/StatusCtrlForm.Designer.cs
+++ b/RbFreqStandMeasure/StatusCtrlForm.Designer.cs
@@ -31,21 +31,34 @@
{
this.panelSite = new System.Windows.Forms.Panel();
this.label5 = new System.Windows.Forms.Label();
- this.panelStatus = new System.Windows.Forms.Panel();
+ this.panel3 = new System.Windows.Forms.Panel();
+ this.label8 = new System.Windows.Forms.Label();
+ this.label13 = new System.Windows.Forms.Label();
+ this.label12 = new System.Windows.Forms.Label();
+ this.label11 = new System.Windows.Forms.Label();
+ this.label9 = new System.Windows.Forms.Label();
+ this.label10 = new System.Windows.Forms.Label();
+ this.panel2 = new System.Windows.Forms.Panel();
this.label4 = new System.Windows.Forms.Label();
+ this.label7 = new System.Windows.Forms.Label();
+ this.label6 = new System.Windows.Forms.Label();
+ this.label1 = new System.Windows.Forms.Label();
+ this.panel1 = new System.Windows.Forms.Panel();
this.label3 = new System.Windows.Forms.Label();
this.label2 = new System.Windows.Forms.Label();
- this.label1 = new System.Windows.Forms.Label();
+ this.label14 = new System.Windows.Forms.Label();
this.panelSite.SuspendLayout();
- this.panelStatus.SuspendLayout();
+ this.panel3.SuspendLayout();
+ this.panel2.SuspendLayout();
+ this.panel1.SuspendLayout();
this.SuspendLayout();
//
// panelSite
//
this.panelSite.Controls.Add(this.label5);
- this.panelSite.Location = new System.Drawing.Point(200, 0);
+ this.panelSite.Location = new System.Drawing.Point(232, 0);
this.panelSite.Name = "panelSite";
- this.panelSite.Size = new System.Drawing.Size(800, 640);
+ this.panelSite.Size = new System.Drawing.Size(773, 640);
this.panelSite.TabIndex = 3;
//
// label5
@@ -57,67 +70,208 @@
this.label5.TabIndex = 0;
this.label5.Text = "卫星位置图";
//
- // panelStatus
+ // panel3
//
- this.panelStatus.BackColor = System.Drawing.SystemColors.Window;
- this.panelStatus.Controls.Add(this.label4);
- this.panelStatus.Controls.Add(this.label3);
- this.panelStatus.Controls.Add(this.label2);
- this.panelStatus.Controls.Add(this.label1);
- this.panelStatus.Location = new System.Drawing.Point(0, 0);
- this.panelStatus.Name = "panelStatus";
- this.panelStatus.Size = new System.Drawing.Size(200, 640);
- this.panelStatus.TabIndex = 2;
+ this.panel3.BackgroundImage = global::Casic.Birmm.RbFreqStandMeasure.Properties.Resources.bg_status_location;
+ this.panel3.Controls.Add(this.label8);
+ this.panel3.Controls.Add(this.label13);
+ this.panel3.Controls.Add(this.label12);
+ this.panel3.Controls.Add(this.label11);
+ this.panel3.Controls.Add(this.label9);
+ this.panel3.Controls.Add(this.label10);
+ this.panel3.Location = new System.Drawing.Point(6, 360);
+ this.panel3.Name = "panel3";
+ this.panel3.Size = new System.Drawing.Size(224, 293);
+ this.panel3.TabIndex = 6;
+ //
+ // label8
+ //
+ this.label8.BackColor = System.Drawing.Color.Transparent;
+ this.label8.Font = new System.Drawing.Font("微软雅黑", 14F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Pixel, ((byte)(134)));
+ this.label8.Location = new System.Drawing.Point(0, 20);
+ this.label8.Name = "label8";
+ this.label8.Size = new System.Drawing.Size(224, 25);
+ this.label8.TabIndex = 0;
+ this.label8.Text = "位置信息";
+ this.label8.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
+ //
+ // label13
+ //
+ this.label13.BackColor = System.Drawing.Color.Transparent;
+ this.label13.Font = new System.Drawing.Font("微软雅黑", 14F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Pixel, ((byte)(134)));
+ this.label13.Location = new System.Drawing.Point(0, 220);
+ this.label13.Margin = new System.Windows.Forms.Padding(0);
+ this.label13.Name = "label13";
+ this.label13.Size = new System.Drawing.Size(75, 25);
+ this.label13.TabIndex = 1;
+ this.label13.Text = "Z";
+ this.label13.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
+ //
+ // label12
+ //
+ this.label12.BackColor = System.Drawing.Color.Transparent;
+ this.label12.Font = new System.Drawing.Font("微软雅黑", 14F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Pixel, ((byte)(134)));
+ this.label12.Location = new System.Drawing.Point(0, 180);
+ this.label12.Margin = new System.Windows.Forms.Padding(0);
+ this.label12.Name = "label12";
+ this.label12.Size = new System.Drawing.Size(75, 25);
+ this.label12.TabIndex = 1;
+ this.label12.Text = "Y";
+ this.label12.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
+ //
+ // label11
+ //
+ this.label11.BackColor = System.Drawing.Color.Transparent;
+ this.label11.Font = new System.Drawing.Font("微软雅黑", 14F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Pixel, ((byte)(134)));
+ this.label11.Location = new System.Drawing.Point(0, 140);
+ this.label11.Margin = new System.Windows.Forms.Padding(0);
+ this.label11.Name = "label11";
+ this.label11.Size = new System.Drawing.Size(75, 25);
+ this.label11.TabIndex = 1;
+ this.label11.Text = "X";
+ this.label11.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
+ //
+ // label9
+ //
+ this.label9.BackColor = System.Drawing.Color.Transparent;
+ this.label9.Font = new System.Drawing.Font("微软雅黑", 14F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Pixel, ((byte)(134)));
+ this.label9.Location = new System.Drawing.Point(0, 60);
+ this.label9.Name = "label9";
+ this.label9.Size = new System.Drawing.Size(75, 25);
+ this.label9.TabIndex = 1;
+ this.label9.Text = "经度";
+ this.label9.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
+ //
+ // label10
+ //
+ this.label10.BackColor = System.Drawing.Color.Transparent;
+ this.label10.Font = new System.Drawing.Font("微软雅黑", 14F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Pixel, ((byte)(134)));
+ this.label10.Location = new System.Drawing.Point(0, 100);
+ this.label10.Margin = new System.Windows.Forms.Padding(0);
+ this.label10.Name = "label10";
+ this.label10.Size = new System.Drawing.Size(75, 25);
+ this.label10.TabIndex = 1;
+ this.label10.Text = "纬度";
+ this.label10.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
+ //
+ // panel2
+ //
+ this.panel2.BackgroundImage = global::Casic.Birmm.RbFreqStandMeasure.Properties.Resources.bg_status_time;
+ this.panel2.Controls.Add(this.label4);
+ this.panel2.Controls.Add(this.label7);
+ this.panel2.Controls.Add(this.label6);
+ this.panel2.Controls.Add(this.label1);
+ this.panel2.Location = new System.Drawing.Point(6, 160);
+ this.panel2.Name = "panel2";
+ this.panel2.Size = new System.Drawing.Size(224, 200);
+ this.panel2.TabIndex = 5;
//
// label4
//
- this.label4.AutoSize = true;
- this.label4.Location = new System.Drawing.Point(59, 185);
+ this.label4.BackColor = System.Drawing.Color.Transparent;
+ this.label4.Font = new System.Drawing.Font("微软雅黑", 14F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Pixel, ((byte)(134)));
+ this.label4.Location = new System.Drawing.Point(0, 20);
this.label4.Name = "label4";
- this.label4.Size = new System.Drawing.Size(53, 12);
+ this.label4.Size = new System.Drawing.Size(224, 25);
this.label4.TabIndex = 0;
- this.label4.Text = "事件信息";
+ this.label4.Text = "时间信息";
+ this.label4.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
//
- // label3
+ // label7
//
- this.label3.AutoSize = true;
- this.label3.Location = new System.Drawing.Point(59, 139);
- this.label3.Name = "label3";
- this.label3.Size = new System.Drawing.Size(53, 12);
- this.label3.TabIndex = 0;
- this.label3.Text = "位置信息";
+ this.label7.BackColor = System.Drawing.Color.Transparent;
+ this.label7.Font = new System.Drawing.Font("微软雅黑", 14F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Pixel, ((byte)(134)));
+ this.label7.Location = new System.Drawing.Point(0, 140);
+ this.label7.Margin = new System.Windows.Forms.Padding(0);
+ this.label7.Name = "label7";
+ this.label7.Size = new System.Drawing.Size(75, 25);
+ this.label7.TabIndex = 1;
+ this.label7.Text = "MJD";
+ this.label7.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
//
- // label2
+ // label6
//
- this.label2.AutoSize = true;
- this.label2.Location = new System.Drawing.Point(59, 98);
- this.label2.Name = "label2";
- this.label2.Size = new System.Drawing.Size(53, 12);
- this.label2.TabIndex = 0;
- this.label2.Text = "锁定状态";
+ this.label6.BackColor = System.Drawing.Color.Transparent;
+ this.label6.Font = new System.Drawing.Font("微软雅黑", 14F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Pixel, ((byte)(134)));
+ this.label6.Location = new System.Drawing.Point(0, 100);
+ this.label6.Name = "label6";
+ this.label6.Size = new System.Drawing.Size(75, 25);
+ this.label6.TabIndex = 1;
+ this.label6.Text = "时间";
+ this.label6.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
//
// label1
//
- this.label1.AutoSize = true;
- this.label1.Location = new System.Drawing.Point(33, 53);
+ this.label1.BackColor = System.Drawing.Color.Transparent;
+ this.label1.Font = new System.Drawing.Font("微软雅黑", 14F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Pixel, ((byte)(134)));
+ this.label1.Location = new System.Drawing.Point(0, 60);
this.label1.Name = "label1";
- this.label1.Size = new System.Drawing.Size(29, 12);
- this.label1.TabIndex = 0;
- this.label1.Text = "状态";
+ this.label1.Size = new System.Drawing.Size(75, 25);
+ this.label1.TabIndex = 1;
+ this.label1.Text = "日期";
+ this.label1.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
+ //
+ // panel1
+ //
+ this.panel1.BackgroundImage = global::Casic.Birmm.RbFreqStandMeasure.Properties.Resources.bg_status_base;
+ this.panel1.Controls.Add(this.label3);
+ this.panel1.Controls.Add(this.label2);
+ this.panel1.Controls.Add(this.label14);
+ this.panel1.Location = new System.Drawing.Point(6, 0);
+ this.panel1.Margin = new System.Windows.Forms.Padding(0);
+ this.panel1.Name = "panel1";
+ this.panel1.Size = new System.Drawing.Size(224, 160);
+ this.panel1.TabIndex = 4;
+ //
+ // label3
+ //
+ this.label3.BackColor = System.Drawing.Color.Transparent;
+ this.label3.Font = new System.Drawing.Font("微软雅黑", 14F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Pixel, ((byte)(134)));
+ this.label3.Location = new System.Drawing.Point(0, 100);
+ this.label3.Name = "label3";
+ this.label3.Size = new System.Drawing.Size(75, 25);
+ this.label3.TabIndex = 1;
+ this.label3.Text = "接收机";
+ this.label3.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
+ //
+ // label2
+ //
+ this.label2.BackColor = System.Drawing.Color.Transparent;
+ this.label2.Font = new System.Drawing.Font("微软雅黑", 14F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Pixel, ((byte)(134)));
+ this.label2.Location = new System.Drawing.Point(0, 60);
+ this.label2.Name = "label2";
+ this.label2.Size = new System.Drawing.Size(75, 25);
+ this.label2.TabIndex = 1;
+ this.label2.Text = "原子钟";
+ this.label2.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
+ //
+ // label14
+ //
+ this.label14.BackColor = System.Drawing.Color.Transparent;
+ this.label14.Font = new System.Drawing.Font("微软雅黑", 14F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Pixel, ((byte)(134)));
+ this.label14.Location = new System.Drawing.Point(0, 20);
+ this.label14.Name = "label14";
+ this.label14.Size = new System.Drawing.Size(224, 25);
+ this.label14.TabIndex = 0;
+ this.label14.Text = "基本信息";
+ this.label14.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
//
// StatusCtrlForm
//
this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 12F);
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
+ this.Controls.Add(this.panel3);
+ this.Controls.Add(this.panel2);
+ this.Controls.Add(this.panel1);
this.Controls.Add(this.panelSite);
- this.Controls.Add(this.panelStatus);
this.Margin = new System.Windows.Forms.Padding(10);
this.Name = "StatusCtrlForm";
- this.Size = new System.Drawing.Size(1000, 640);
+ this.Size = new System.Drawing.Size(1024, 654);
this.panelSite.ResumeLayout(false);
this.panelSite.PerformLayout();
- this.panelStatus.ResumeLayout(false);
- this.panelStatus.PerformLayout();
+ this.panel3.ResumeLayout(false);
+ this.panel2.ResumeLayout(false);
+ this.panel1.ResumeLayout(false);
this.ResumeLayout(false);
}
@@ -126,10 +280,21 @@
private System.Windows.Forms.Panel panelSite;
private System.Windows.Forms.Label label5;
- private System.Windows.Forms.Panel panelStatus;
+ private System.Windows.Forms.Panel panel3;
+ private System.Windows.Forms.Label label8;
+ private System.Windows.Forms.Label label13;
+ private System.Windows.Forms.Label label12;
+ private System.Windows.Forms.Label label11;
+ private System.Windows.Forms.Label label9;
+ private System.Windows.Forms.Label label10;
+ private System.Windows.Forms.Panel panel2;
private System.Windows.Forms.Label label4;
+ private System.Windows.Forms.Label label7;
+ private System.Windows.Forms.Label label6;
+ private System.Windows.Forms.Label label1;
+ private System.Windows.Forms.Panel panel1;
private System.Windows.Forms.Label label3;
private System.Windows.Forms.Label label2;
- private System.Windows.Forms.Label label1;
+ private System.Windows.Forms.Label label14;
}
}
diff --git a/RbFreqStandMeasure/res/images/bg_banner.png b/RbFreqStandMeasure/res/images/bg_banner.png
index d795b7d..3119070 100644
--- a/RbFreqStandMeasure/res/images/bg_banner.png
+++ b/RbFreqStandMeasure/res/images/bg_banner.png
Binary files differ
diff --git a/RbFreqStandMeasure/res/images/bg_dev_channel.png b/RbFreqStandMeasure/res/images/bg_dev_channel.png
new file mode 100644
index 0000000..7bac7ce
--- /dev/null
+++ b/RbFreqStandMeasure/res/images/bg_dev_channel.png
Binary files differ
diff --git a/RbFreqStandMeasure/res/images/bg_dev_tested.png b/RbFreqStandMeasure/res/images/bg_dev_tested.png
new file mode 100644
index 0000000..0b43ead
--- /dev/null
+++ b/RbFreqStandMeasure/res/images/bg_dev_tested.png
Binary files differ
diff --git a/RbFreqStandMeasure/res/images/bg_status_base.png b/RbFreqStandMeasure/res/images/bg_status_base.png
new file mode 100644
index 0000000..ef11397
--- /dev/null
+++ b/RbFreqStandMeasure/res/images/bg_status_base.png
Binary files differ
diff --git a/RbFreqStandMeasure/res/images/bg_status_location.png b/RbFreqStandMeasure/res/images/bg_status_location.png
new file mode 100644
index 0000000..64d28d5
--- /dev/null
+++ b/RbFreqStandMeasure/res/images/bg_status_location.png
Binary files differ
diff --git a/RbFreqStandMeasure/res/images/bg_status_time.png b/RbFreqStandMeasure/res/images/bg_status_time.png
new file mode 100644
index 0000000..eec981a
--- /dev/null
+++ b/RbFreqStandMeasure/res/images/bg_status_time.png
Binary files differ
diff --git a/RbFreqStandMeasure/res/images/icon_counter.png b/RbFreqStandMeasure/res/images/icon_counter.png
new file mode 100644
index 0000000..060c3d7
--- /dev/null
+++ b/RbFreqStandMeasure/res/images/icon_counter.png
Binary files differ
diff --git a/RbFreqStandMeasure/res/images/icon_counter_selected.png b/RbFreqStandMeasure/res/images/icon_counter_selected.png
new file mode 100644
index 0000000..45c7720
--- /dev/null
+++ b/RbFreqStandMeasure/res/images/icon_counter_selected.png
Binary files differ
diff --git a/RbFreqStandMeasure/res/images/icon_data.png b/RbFreqStandMeasure/res/images/icon_data.png
new file mode 100644
index 0000000..bf03575
--- /dev/null
+++ b/RbFreqStandMeasure/res/images/icon_data.png
Binary files differ
diff --git a/RbFreqStandMeasure/res/images/icon_data_selected.png b/RbFreqStandMeasure/res/images/icon_data_selected.png
new file mode 100644
index 0000000..a8aa441
--- /dev/null
+++ b/RbFreqStandMeasure/res/images/icon_data_selected.png
Binary files differ
diff --git a/RbFreqStandMeasure/res/images/icon_dev.png b/RbFreqStandMeasure/res/images/icon_dev.png
new file mode 100644
index 0000000..09bf380
--- /dev/null
+++ b/RbFreqStandMeasure/res/images/icon_dev.png
Binary files differ
diff --git a/RbFreqStandMeasure/res/images/icon_dev_selected.png b/RbFreqStandMeasure/res/images/icon_dev_selected.png
new file mode 100644
index 0000000..63a8b7c
--- /dev/null
+++ b/RbFreqStandMeasure/res/images/icon_dev_selected.png
Binary files differ
diff --git a/RbFreqStandMeasure/res/images/icon_exit.png b/RbFreqStandMeasure/res/images/icon_exit.png
index 997b9e9..a03e429 100644
--- a/RbFreqStandMeasure/res/images/icon_exit.png
+++ b/RbFreqStandMeasure/res/images/icon_exit.png
Binary files differ
diff --git a/RbFreqStandMeasure/res/images/icon_home.png b/RbFreqStandMeasure/res/images/icon_home.png
index f200f25..6409b89 100644
--- a/RbFreqStandMeasure/res/images/icon_home.png
+++ b/RbFreqStandMeasure/res/images/icon_home.png
Binary files differ
diff --git a/RbFreqStandMeasure/res/images/icon_home_selected.png b/RbFreqStandMeasure/res/images/icon_home_selected.png
index 7a4feb4..cfbf470 100644
--- a/RbFreqStandMeasure/res/images/icon_home_selected.png
+++ b/RbFreqStandMeasure/res/images/icon_home_selected.png
Binary files differ
diff --git a/RbFreqStandMeasure/res/images/icon_measure.png b/RbFreqStandMeasure/res/images/icon_measure.png
new file mode 100644
index 0000000..d9bd039
--- /dev/null
+++ b/RbFreqStandMeasure/res/images/icon_measure.png
Binary files differ
diff --git a/RbFreqStandMeasure/res/images/icon_measure_selected.png b/RbFreqStandMeasure/res/images/icon_measure_selected.png
new file mode 100644
index 0000000..e4186d0
--- /dev/null
+++ b/RbFreqStandMeasure/res/images/icon_measure_selected.png
Binary files differ
diff --git a/RbFreqStandMeasure/HomeCtrlForm.Designer.cs b/RbFreqStandMeasure/HomeCtrlForm.Designer.cs
index fb515f8..73e477a 100644
--- a/RbFreqStandMeasure/HomeCtrlForm.Designer.cs
+++ b/RbFreqStandMeasure/HomeCtrlForm.Designer.cs
@@ -29,589 +29,271 @@
///
private void InitializeComponent()
{
- System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle1 = new System.Windows.Forms.DataGridViewCellStyle();
- System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle2 = new System.Windows.Forms.DataGridViewCellStyle();
- this.panelToBeTested = new System.Windows.Forms.Panel();
- this.dataGridViewX1 = new DevComponents.DotNetBar.Controls.DataGridViewX();
- this.Column13 = new System.Windows.Forms.DataGridViewTextBoxColumn();
- this.Column14 = new System.Windows.Forms.DataGridViewTextBoxColumn();
- this.Column15 = new System.Windows.Forms.DataGridViewTextBoxColumn();
- this.Column16 = new System.Windows.Forms.DataGridViewTextBoxColumn();
- this.Column17 = new System.Windows.Forms.DataGridViewTextBoxColumn();
- this.panelEx1 = new DevComponents.DotNetBar.PanelEx();
- this.labelX6 = new DevComponents.DotNetBar.LabelX();
- this.labelX5 = new DevComponents.DotNetBar.LabelX();
- this.labelX4 = new DevComponents.DotNetBar.LabelX();
- this.labelX3 = new DevComponents.DotNetBar.LabelX();
- this.labelX2 = new DevComponents.DotNetBar.LabelX();
- this.labelX1 = new DevComponents.DotNetBar.LabelX();
- this.panelEx2 = new DevComponents.DotNetBar.PanelEx();
- this.labelX7 = new DevComponents.DotNetBar.LabelX();
- this.labelX8 = new DevComponents.DotNetBar.LabelX();
- this.labelX10 = new DevComponents.DotNetBar.LabelX();
- this.labelX9 = new DevComponents.DotNetBar.LabelX();
- this.panelEx3 = new DevComponents.DotNetBar.PanelEx();
- this.labelX11 = new DevComponents.DotNetBar.LabelX();
- this.labelX13 = new DevComponents.DotNetBar.LabelX();
- this.labelX12 = new DevComponents.DotNetBar.LabelX();
- this.panelEx4 = new DevComponents.DotNetBar.PanelEx();
- this.dataGridViewX2 = new DevComponents.DotNetBar.Controls.DataGridViewX();
- this.Column18 = new System.Windows.Forms.DataGridViewTextBoxColumn();
- this.Column19 = new System.Windows.Forms.DataGridViewTextBoxColumn();
- this.Column20 = new System.Windows.Forms.DataGridViewTextBoxColumn();
- this.Column21 = new System.Windows.Forms.DataGridViewTextBoxColumn();
- this.Column22 = new System.Windows.Forms.DataGridViewTextBoxColumn();
- this.Column23 = new System.Windows.Forms.DataGridViewTextBoxColumn();
- this.Column24 = new System.Windows.Forms.DataGridViewTextBoxColumn();
- this.Column25 = new System.Windows.Forms.DataGridViewTextBoxColumn();
- this.Column26 = new System.Windows.Forms.DataGridViewTextBoxColumn();
- this.Column27 = new System.Windows.Forms.DataGridViewTextBoxColumn();
- this.Column28 = new System.Windows.Forms.DataGridViewTextBoxColumn();
- this.Column29 = new System.Windows.Forms.DataGridViewTextBoxColumn();
- this.buttonX1 = new DevComponents.DotNetBar.ButtonX();
- this.buttonX2 = new DevComponents.DotNetBar.ButtonX();
+ this.panel3 = new System.Windows.Forms.Panel();
+ this.panel2 = new System.Windows.Forms.Panel();
+ this.panel1 = new System.Windows.Forms.Panel();
+ this.panel4 = new System.Windows.Forms.Panel();
+ this.panel5 = new System.Windows.Forms.Panel();
this.label1 = new System.Windows.Forms.Label();
this.label2 = new System.Windows.Forms.Label();
- this.panelToBeTested.SuspendLayout();
- ((System.ComponentModel.ISupportInitialize)(this.dataGridViewX1)).BeginInit();
- this.panelEx1.SuspendLayout();
- this.panelEx2.SuspendLayout();
- this.panelEx3.SuspendLayout();
- this.panelEx4.SuspendLayout();
- ((System.ComponentModel.ISupportInitialize)(this.dataGridViewX2)).BeginInit();
+ this.label3 = new System.Windows.Forms.Label();
+ this.label4 = new System.Windows.Forms.Label();
+ this.label5 = new System.Windows.Forms.Label();
+ this.label6 = new System.Windows.Forms.Label();
+ this.label7 = new System.Windows.Forms.Label();
+ this.label8 = new System.Windows.Forms.Label();
+ this.label9 = new System.Windows.Forms.Label();
+ this.label10 = new System.Windows.Forms.Label();
+ this.label11 = new System.Windows.Forms.Label();
+ this.label12 = new System.Windows.Forms.Label();
+ this.label13 = new System.Windows.Forms.Label();
+ this.panel3.SuspendLayout();
+ this.panel2.SuspendLayout();
+ this.panel1.SuspendLayout();
this.SuspendLayout();
//
- // panelToBeTested
+ // panel3
//
- this.panelToBeTested.Controls.Add(this.dataGridViewX1);
- this.panelToBeTested.Controls.Add(this.buttonX2);
- this.panelToBeTested.Controls.Add(this.buttonX1);
- this.panelToBeTested.Location = new System.Drawing.Point(250, 0);
- this.panelToBeTested.Name = "panelToBeTested";
- this.panelToBeTested.Size = new System.Drawing.Size(750, 216);
- this.panelToBeTested.TabIndex = 4;
+ this.panel3.BackgroundImage = global::Casic.Birmm.RbFreqStandMeasure.Properties.Resources.bg_status_location;
+ this.panel3.Controls.Add(this.label8);
+ this.panel3.Controls.Add(this.label13);
+ this.panel3.Controls.Add(this.label12);
+ this.panel3.Controls.Add(this.label11);
+ this.panel3.Controls.Add(this.label9);
+ this.panel3.Controls.Add(this.label10);
+ this.panel3.Location = new System.Drawing.Point(6, 360);
+ this.panel3.Name = "panel3";
+ this.panel3.Size = new System.Drawing.Size(224, 293);
+ this.panel3.TabIndex = 2;
//
- // dataGridViewX1
+ // panel2
//
- this.dataGridViewX1.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.AutoSize;
- this.dataGridViewX1.Columns.AddRange(new System.Windows.Forms.DataGridViewColumn[] {
- this.Column13,
- this.Column14,
- this.Column15,
- this.Column16,
- this.Column17});
- dataGridViewCellStyle1.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleLeft;
- dataGridViewCellStyle1.BackColor = System.Drawing.SystemColors.Window;
- dataGridViewCellStyle1.Font = new System.Drawing.Font("宋体", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
- dataGridViewCellStyle1.ForeColor = System.Drawing.SystemColors.ControlText;
- dataGridViewCellStyle1.SelectionBackColor = System.Drawing.SystemColors.Highlight;
- dataGridViewCellStyle1.SelectionForeColor = System.Drawing.SystemColors.ControlText;
- dataGridViewCellStyle1.WrapMode = System.Windows.Forms.DataGridViewTriState.False;
- this.dataGridViewX1.DefaultCellStyle = dataGridViewCellStyle1;
- this.dataGridViewX1.GridColor = System.Drawing.Color.FromArgb(((int)(((byte)(208)))), ((int)(((byte)(215)))), ((int)(((byte)(229)))));
- this.dataGridViewX1.Location = new System.Drawing.Point(0, 1);
- this.dataGridViewX1.Name = "dataGridViewX1";
- this.dataGridViewX1.RowTemplate.Height = 23;
- this.dataGridViewX1.Size = new System.Drawing.Size(750, 179);
- this.dataGridViewX1.TabIndex = 14;
+ this.panel2.BackgroundImage = global::Casic.Birmm.RbFreqStandMeasure.Properties.Resources.bg_status_time;
+ this.panel2.Controls.Add(this.label4);
+ this.panel2.Controls.Add(this.label7);
+ this.panel2.Controls.Add(this.label6);
+ this.panel2.Controls.Add(this.label5);
+ this.panel2.Location = new System.Drawing.Point(6, 160);
+ this.panel2.Name = "panel2";
+ this.panel2.Size = new System.Drawing.Size(224, 200);
+ this.panel2.TabIndex = 1;
//
- // Column13
+ // panel1
//
- this.Column13.HeaderText = "仪器名称";
- this.Column13.Name = "Column13";
+ this.panel1.BackgroundImage = global::Casic.Birmm.RbFreqStandMeasure.Properties.Resources.bg_status_base;
+ this.panel1.Controls.Add(this.label3);
+ this.panel1.Controls.Add(this.label2);
+ this.panel1.Controls.Add(this.label1);
+ this.panel1.Location = new System.Drawing.Point(6, 0);
+ this.panel1.Margin = new System.Windows.Forms.Padding(0);
+ this.panel1.Name = "panel1";
+ this.panel1.Size = new System.Drawing.Size(224, 160);
+ this.panel1.TabIndex = 0;
//
- // Column14
+ // panel4
//
- this.Column14.HeaderText = "仪器类型";
- this.Column14.Name = "Column14";
+ this.panel4.BackgroundImage = global::Casic.Birmm.RbFreqStandMeasure.Properties.Resources.bg_dev_tested;
+ this.panel4.Location = new System.Drawing.Point(230, 0);
+ this.panel4.Margin = new System.Windows.Forms.Padding(0);
+ this.panel4.Name = "panel4";
+ this.panel4.Size = new System.Drawing.Size(788, 226);
+ this.panel4.TabIndex = 3;
//
- // Column15
+ // panel5
//
- this.Column15.HeaderText = "仪器编号";
- this.Column15.Name = "Column15";
- //
- // Column16
- //
- this.Column16.HeaderText = "客户名称";
- this.Column16.Name = "Column16";
- //
- // Column17
- //
- this.Column17.HeaderText = "开始时间";
- this.Column17.Name = "Column17";
- //
- // panelEx1
- //
- this.panelEx1.CanvasColor = System.Drawing.SystemColors.Control;
- this.panelEx1.ColorSchemeStyle = DevComponents.DotNetBar.eDotNetBarStyle.StyleManagerControlled;
- this.panelEx1.Controls.Add(this.labelX6);
- this.panelEx1.Controls.Add(this.labelX5);
- this.panelEx1.Controls.Add(this.labelX4);
- this.panelEx1.Controls.Add(this.labelX3);
- this.panelEx1.Controls.Add(this.labelX2);
- this.panelEx1.Controls.Add(this.labelX1);
- this.panelEx1.DisabledBackColor = System.Drawing.Color.Empty;
- this.panelEx1.Location = new System.Drawing.Point(25, 376);
- this.panelEx1.Name = "panelEx1";
- this.panelEx1.Size = new System.Drawing.Size(200, 200);
- this.panelEx1.Style.Alignment = System.Drawing.StringAlignment.Center;
- this.panelEx1.Style.BackColor1.ColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelBackground;
- this.panelEx1.Style.BackColor2.ColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelBackground2;
- this.panelEx1.Style.Border = DevComponents.DotNetBar.eBorderType.SingleLine;
- this.panelEx1.Style.BorderColor.ColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelBorder;
- this.panelEx1.Style.ForeColor.ColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelText;
- this.panelEx1.Style.GradientAngle = 90;
- this.panelEx1.TabIndex = 10;
- //
- // labelX6
- //
- //
- //
- //
- this.labelX6.BackgroundStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square;
- this.labelX6.Location = new System.Drawing.Point(3, 153);
- this.labelX6.Name = "labelX6";
- this.labelX6.Size = new System.Drawing.Size(75, 23);
- this.labelX6.Style = DevComponents.DotNetBar.eDotNetBarStyle.Office2013;
- this.labelX6.TabIndex = 0;
- this.labelX6.Text = "Z";
- this.labelX6.TextAlignment = System.Drawing.StringAlignment.Center;
- //
- // labelX5
- //
- //
- //
- //
- this.labelX5.BackgroundStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square;
- this.labelX5.Location = new System.Drawing.Point(3, 124);
- this.labelX5.Name = "labelX5";
- this.labelX5.Size = new System.Drawing.Size(75, 23);
- this.labelX5.Style = DevComponents.DotNetBar.eDotNetBarStyle.Office2013;
- this.labelX5.TabIndex = 0;
- this.labelX5.Text = "Y";
- this.labelX5.TextAlignment = System.Drawing.StringAlignment.Center;
- //
- // labelX4
- //
- //
- //
- //
- this.labelX4.BackgroundStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square;
- this.labelX4.Location = new System.Drawing.Point(3, 95);
- this.labelX4.Name = "labelX4";
- this.labelX4.Size = new System.Drawing.Size(75, 23);
- this.labelX4.Style = DevComponents.DotNetBar.eDotNetBarStyle.Office2013;
- this.labelX4.TabIndex = 0;
- this.labelX4.Text = "X";
- this.labelX4.TextAlignment = System.Drawing.StringAlignment.Center;
- //
- // labelX3
- //
- //
- //
- //
- this.labelX3.BackgroundStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square;
- this.labelX3.Location = new System.Drawing.Point(3, 66);
- this.labelX3.Name = "labelX3";
- this.labelX3.Size = new System.Drawing.Size(75, 23);
- this.labelX3.Style = DevComponents.DotNetBar.eDotNetBarStyle.Office2013;
- this.labelX3.TabIndex = 0;
- this.labelX3.Text = "纬度";
- this.labelX3.TextAlignment = System.Drawing.StringAlignment.Center;
- //
- // labelX2
- //
- //
- //
- //
- this.labelX2.BackgroundStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square;
- this.labelX2.Location = new System.Drawing.Point(3, 37);
- this.labelX2.Name = "labelX2";
- this.labelX2.Size = new System.Drawing.Size(75, 23);
- this.labelX2.Style = DevComponents.DotNetBar.eDotNetBarStyle.Office2013;
- this.labelX2.TabIndex = 0;
- this.labelX2.Text = "经度";
- this.labelX2.TextAlignment = System.Drawing.StringAlignment.Center;
- //
- // labelX1
- //
- //
- //
- //
- this.labelX1.BackgroundStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square;
- this.labelX1.Location = new System.Drawing.Point(3, 3);
- this.labelX1.Name = "labelX1";
- this.labelX1.Size = new System.Drawing.Size(194, 23);
- this.labelX1.Style = DevComponents.DotNetBar.eDotNetBarStyle.Office2013;
- this.labelX1.TabIndex = 0;
- this.labelX1.Text = "位置信息";
- this.labelX1.TextAlignment = System.Drawing.StringAlignment.Center;
- //
- // panelEx2
- //
- this.panelEx2.CanvasColor = System.Drawing.SystemColors.Control;
- this.panelEx2.ColorSchemeStyle = DevComponents.DotNetBar.eDotNetBarStyle.StyleManagerControlled;
- this.panelEx2.Controls.Add(this.labelX7);
- this.panelEx2.Controls.Add(this.labelX8);
- this.panelEx2.Controls.Add(this.labelX10);
- this.panelEx2.Controls.Add(this.labelX9);
- this.panelEx2.DisabledBackColor = System.Drawing.Color.Empty;
- this.panelEx2.Location = new System.Drawing.Point(25, 190);
- this.panelEx2.Name = "panelEx2";
- this.panelEx2.Size = new System.Drawing.Size(200, 150);
- this.panelEx2.Style.Alignment = System.Drawing.StringAlignment.Center;
- this.panelEx2.Style.BackColor1.ColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelBackground;
- this.panelEx2.Style.BackColor2.ColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelBackground2;
- this.panelEx2.Style.Border = DevComponents.DotNetBar.eBorderType.SingleLine;
- this.panelEx2.Style.BorderColor.ColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelBorder;
- this.panelEx2.Style.ForeColor.ColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelText;
- this.panelEx2.Style.GradientAngle = 90;
- this.panelEx2.TabIndex = 10;
- //
- // labelX7
- //
- //
- //
- //
- this.labelX7.BackgroundStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square;
- this.labelX7.Location = new System.Drawing.Point(3, 3);
- this.labelX7.Name = "labelX7";
- this.labelX7.Size = new System.Drawing.Size(194, 23);
- this.labelX7.Style = DevComponents.DotNetBar.eDotNetBarStyle.Office2013;
- this.labelX7.TabIndex = 0;
- this.labelX7.Text = "时间信息";
- this.labelX7.TextAlignment = System.Drawing.StringAlignment.Center;
- //
- // labelX8
- //
- //
- //
- //
- this.labelX8.BackgroundStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square;
- this.labelX8.Location = new System.Drawing.Point(3, 41);
- this.labelX8.Name = "labelX8";
- this.labelX8.Size = new System.Drawing.Size(75, 23);
- this.labelX8.Style = DevComponents.DotNetBar.eDotNetBarStyle.Office2013;
- this.labelX8.TabIndex = 0;
- this.labelX8.Text = "日期";
- this.labelX8.TextAlignment = System.Drawing.StringAlignment.Center;
- //
- // labelX10
- //
- //
- //
- //
- this.labelX10.BackgroundStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square;
- this.labelX10.Location = new System.Drawing.Point(3, 99);
- this.labelX10.Name = "labelX10";
- this.labelX10.Size = new System.Drawing.Size(75, 23);
- this.labelX10.Style = DevComponents.DotNetBar.eDotNetBarStyle.Office2013;
- this.labelX10.TabIndex = 0;
- this.labelX10.Text = "MJD";
- this.labelX10.TextAlignment = System.Drawing.StringAlignment.Center;
- //
- // labelX9
- //
- //
- //
- //
- this.labelX9.BackgroundStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square;
- this.labelX9.Location = new System.Drawing.Point(3, 70);
- this.labelX9.Name = "labelX9";
- this.labelX9.Size = new System.Drawing.Size(75, 23);
- this.labelX9.Style = DevComponents.DotNetBar.eDotNetBarStyle.Office2013;
- this.labelX9.TabIndex = 0;
- this.labelX9.Text = "时间";
- this.labelX9.TextAlignment = System.Drawing.StringAlignment.Center;
- //
- // panelEx3
- //
- this.panelEx3.CanvasColor = System.Drawing.SystemColors.Control;
- this.panelEx3.ColorSchemeStyle = DevComponents.DotNetBar.eDotNetBarStyle.StyleManagerControlled;
- this.panelEx3.Controls.Add(this.labelX11);
- this.panelEx3.Controls.Add(this.labelX13);
- this.panelEx3.Controls.Add(this.labelX12);
- this.panelEx3.DisabledBackColor = System.Drawing.Color.Empty;
- this.panelEx3.Location = new System.Drawing.Point(25, 50);
- this.panelEx3.Name = "panelEx3";
- this.panelEx3.Size = new System.Drawing.Size(200, 100);
- this.panelEx3.Style.Alignment = System.Drawing.StringAlignment.Center;
- this.panelEx3.Style.BackColor1.ColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelBackground;
- this.panelEx3.Style.BackColor2.ColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelBackground2;
- this.panelEx3.Style.Border = DevComponents.DotNetBar.eBorderType.SingleLine;
- this.panelEx3.Style.BorderColor.ColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelBorder;
- this.panelEx3.Style.ForeColor.ColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelText;
- this.panelEx3.Style.GradientAngle = 90;
- this.panelEx3.TabIndex = 10;
- //
- // labelX11
- //
- //
- //
- //
- this.labelX11.BackgroundStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square;
- this.labelX11.Location = new System.Drawing.Point(3, 3);
- this.labelX11.Name = "labelX11";
- this.labelX11.Size = new System.Drawing.Size(194, 23);
- this.labelX11.Style = DevComponents.DotNetBar.eDotNetBarStyle.Office2013;
- this.labelX11.TabIndex = 0;
- this.labelX11.Text = "基本信息";
- this.labelX11.TextAlignment = System.Drawing.StringAlignment.Center;
- //
- // labelX13
- //
- //
- //
- //
- this.labelX13.BackgroundStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square;
- this.labelX13.Location = new System.Drawing.Point(3, 32);
- this.labelX13.Name = "labelX13";
- this.labelX13.Size = new System.Drawing.Size(75, 23);
- this.labelX13.Style = DevComponents.DotNetBar.eDotNetBarStyle.Office2013;
- this.labelX13.TabIndex = 0;
- this.labelX13.Text = "原子钟";
- this.labelX13.TextAlignment = System.Drawing.StringAlignment.Center;
- //
- // labelX12
- //
- //
- //
- //
- this.labelX12.BackgroundStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square;
- this.labelX12.Location = new System.Drawing.Point(3, 61);
- this.labelX12.Name = "labelX12";
- this.labelX12.Size = new System.Drawing.Size(75, 23);
- this.labelX12.Style = DevComponents.DotNetBar.eDotNetBarStyle.Office2013;
- this.labelX12.TabIndex = 0;
- this.labelX12.Text = "接收机";
- this.labelX12.TextAlignment = System.Drawing.StringAlignment.Center;
- //
- // panelEx4
- //
- this.panelEx4.CanvasColor = System.Drawing.SystemColors.Control;
- this.panelEx4.ColorSchemeStyle = DevComponents.DotNetBar.eDotNetBarStyle.StyleManagerControlled;
- this.panelEx4.Controls.Add(this.panelEx2);
- this.panelEx4.Controls.Add(this.panelEx1);
- this.panelEx4.Controls.Add(this.panelEx3);
- this.panelEx4.DisabledBackColor = System.Drawing.Color.Empty;
- this.panelEx4.Location = new System.Drawing.Point(0, 0);
- this.panelEx4.Name = "panelEx4";
- this.panelEx4.Size = new System.Drawing.Size(250, 640);
- this.panelEx4.Style.Alignment = System.Drawing.StringAlignment.Center;
- this.panelEx4.Style.BackColor1.ColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelBackground;
- this.panelEx4.Style.BackColor2.ColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelBackground2;
- this.panelEx4.Style.Border = DevComponents.DotNetBar.eBorderType.SingleLine;
- this.panelEx4.Style.BorderColor.ColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelBorder;
- this.panelEx4.Style.ForeColor.ColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelText;
- this.panelEx4.Style.GradientAngle = 90;
- this.panelEx4.TabIndex = 10;
- //
- // dataGridViewX2
- //
- this.dataGridViewX2.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.AutoSize;
- this.dataGridViewX2.Columns.AddRange(new System.Windows.Forms.DataGridViewColumn[] {
- this.Column18,
- this.Column19,
- this.Column20,
- this.Column21,
- this.Column22,
- this.Column23,
- this.Column24,
- this.Column25,
- this.Column26,
- this.Column27,
- this.Column28,
- this.Column29});
- dataGridViewCellStyle2.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleLeft;
- dataGridViewCellStyle2.BackColor = System.Drawing.SystemColors.Window;
- dataGridViewCellStyle2.Font = new System.Drawing.Font("宋体", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
- dataGridViewCellStyle2.ForeColor = System.Drawing.SystemColors.ControlText;
- dataGridViewCellStyle2.SelectionBackColor = System.Drawing.SystemColors.Highlight;
- dataGridViewCellStyle2.SelectionForeColor = System.Drawing.SystemColors.ControlText;
- dataGridViewCellStyle2.WrapMode = System.Windows.Forms.DataGridViewTriState.False;
- this.dataGridViewX2.DefaultCellStyle = dataGridViewCellStyle2;
- this.dataGridViewX2.GridColor = System.Drawing.Color.FromArgb(((int)(((byte)(208)))), ((int)(((byte)(215)))), ((int)(((byte)(229)))));
- this.dataGridViewX2.Location = new System.Drawing.Point(250, 216);
- this.dataGridViewX2.Name = "dataGridViewX2";
- this.dataGridViewX2.Size = new System.Drawing.Size(747, 424);
- this.dataGridViewX2.TabIndex = 15;
- //
- // Column18
- //
- this.Column18.HeaderText = "通道号";
- this.Column18.Name = "Column18";
- //
- // Column19
- //
- this.Column19.HeaderText = "当前状态";
- this.Column19.Name = "Column19";
- //
- // Column20
- //
- this.Column20.HeaderText = "仪器名称";
- this.Column20.Name = "Column20";
- //
- // Column21
- //
- this.Column21.HeaderText = "仪器编号";
- this.Column21.Name = "Column21";
- //
- // Column22
- //
- this.Column22.HeaderText = "客户名称";
- this.Column22.Name = "Column22";
- //
- // Column23
- //
- this.Column23.HeaderText = "开始时间";
- this.Column23.Name = "Column23";
- //
- // Column24
- //
- this.Column24.HeaderText = "结束时间";
- this.Column24.Name = "Column24";
- //
- // Column25
- //
- this.Column25.HeaderText = "频率稳定度";
- this.Column25.Name = "Column25";
- //
- // Column26
- //
- this.Column26.HeaderText = "频率准确度";
- this.Column26.Name = "Column26";
- //
- // Column27
- //
- this.Column27.HeaderText = "开机特性";
- this.Column27.Name = "Column27";
- //
- // Column28
- //
- this.Column28.HeaderText = "日老化率";
- this.Column28.Name = "Column28";
- //
- // Column29
- //
- this.Column29.HeaderText = "频率计数器范围及灵敏度";
- this.Column29.Name = "Column29";
- //
- // buttonX1
- //
- this.buttonX1.AccessibleRole = System.Windows.Forms.AccessibleRole.PushButton;
- this.buttonX1.BackColor = System.Drawing.Color.Transparent;
- this.buttonX1.ColorTable = DevComponents.DotNetBar.eButtonColor.OrangeWithBackground;
- this.buttonX1.Location = new System.Drawing.Point(663, 183);
- this.buttonX1.Name = "buttonX1";
- this.buttonX1.Size = new System.Drawing.Size(30, 23);
- this.buttonX1.Style = DevComponents.DotNetBar.eDotNetBarStyle.StyleManagerControlled;
- this.buttonX1.Symbol = "";
- this.buttonX1.SymbolColor = System.Drawing.Color.FromArgb(((int)(((byte)(64)))), ((int)(((byte)(64)))), ((int)(((byte)(64)))));
- this.buttonX1.SymbolSize = 8F;
- this.buttonX1.TabIndex = 19;
- //
- // buttonX2
- //
- this.buttonX2.AccessibleRole = System.Windows.Forms.AccessibleRole.PushButton;
- this.buttonX2.BackColor = System.Drawing.Color.Transparent;
- this.buttonX2.ColorTable = DevComponents.DotNetBar.eButtonColor.OrangeWithBackground;
- this.buttonX2.Location = new System.Drawing.Point(589, 184);
- this.buttonX2.Name = "buttonX2";
- this.buttonX2.Size = new System.Drawing.Size(30, 23);
- this.buttonX2.Style = DevComponents.DotNetBar.eDotNetBarStyle.StyleManagerControlled;
- this.buttonX2.Symbol = "";
- this.buttonX2.SymbolColor = System.Drawing.Color.FromArgb(((int)(((byte)(64)))), ((int)(((byte)(64)))), ((int)(((byte)(64)))));
- this.buttonX2.SymbolSize = 8F;
- this.buttonX2.TabIndex = 19;
+ this.panel5.BackgroundImage = global::Casic.Birmm.RbFreqStandMeasure.Properties.Resources.bg_dev_channel;
+ this.panel5.Location = new System.Drawing.Point(230, 226);
+ this.panel5.Name = "panel5";
+ this.panel5.Size = new System.Drawing.Size(788, 424);
+ this.panel5.TabIndex = 4;
//
// label1
//
this.label1.BackColor = System.Drawing.Color.Transparent;
- this.label1.Font = new System.Drawing.Font("Times New Roman", 9.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
- this.label1.Location = new System.Drawing.Point(880, 186);
- this.label1.Margin = new System.Windows.Forms.Padding(0);
+ this.label1.Font = new System.Drawing.Font("微软雅黑", 14F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Pixel, ((byte)(134)));
+ this.label1.Location = new System.Drawing.Point(0, 20);
this.label1.Name = "label1";
- this.label1.Size = new System.Drawing.Size(20, 20);
- this.label1.TabIndex = 20;
- this.label1.Text = "1";
+ this.label1.Size = new System.Drawing.Size(224, 25);
+ this.label1.TabIndex = 0;
+ this.label1.Text = "基本信息";
this.label1.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
//
// label2
//
this.label2.BackColor = System.Drawing.Color.Transparent;
- this.label2.Font = new System.Drawing.Font("Times New Roman", 9.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
- this.label2.Location = new System.Drawing.Point(636, 187);
- this.label2.Margin = new System.Windows.Forms.Padding(0);
+ this.label2.Font = new System.Drawing.Font("微软雅黑", 14F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Pixel, ((byte)(134)));
+ this.label2.Location = new System.Drawing.Point(0, 60);
this.label2.Name = "label2";
- this.label2.Size = new System.Drawing.Size(200, 20);
- this.label2.TabIndex = 20;
- this.label2.Text = "共150条,每页5条,共100页";
- this.label2.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
+ this.label2.Size = new System.Drawing.Size(75, 25);
+ this.label2.TabIndex = 1;
+ this.label2.Text = "原子钟";
+ this.label2.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
+ //
+ // label3
+ //
+ this.label3.BackColor = System.Drawing.Color.Transparent;
+ this.label3.Font = new System.Drawing.Font("微软雅黑", 14F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Pixel, ((byte)(134)));
+ this.label3.Location = new System.Drawing.Point(0, 100);
+ this.label3.Name = "label3";
+ this.label3.Size = new System.Drawing.Size(75, 25);
+ this.label3.TabIndex = 1;
+ this.label3.Text = "接收机";
+ this.label3.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
+ //
+ // label4
+ //
+ this.label4.BackColor = System.Drawing.Color.Transparent;
+ this.label4.Font = new System.Drawing.Font("微软雅黑", 14F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Pixel, ((byte)(134)));
+ this.label4.Location = new System.Drawing.Point(0, 20);
+ this.label4.Name = "label4";
+ this.label4.Size = new System.Drawing.Size(224, 25);
+ this.label4.TabIndex = 0;
+ this.label4.Text = "时间信息";
+ this.label4.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
+ //
+ // label5
+ //
+ this.label5.BackColor = System.Drawing.Color.Transparent;
+ this.label5.Font = new System.Drawing.Font("微软雅黑", 14F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Pixel, ((byte)(134)));
+ this.label5.Location = new System.Drawing.Point(0, 60);
+ this.label5.Name = "label5";
+ this.label5.Size = new System.Drawing.Size(75, 25);
+ this.label5.TabIndex = 1;
+ this.label5.Text = "日期";
+ this.label5.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
+ //
+ // label6
+ //
+ this.label6.BackColor = System.Drawing.Color.Transparent;
+ this.label6.Font = new System.Drawing.Font("微软雅黑", 14F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Pixel, ((byte)(134)));
+ this.label6.Location = new System.Drawing.Point(0, 100);
+ this.label6.Name = "label6";
+ this.label6.Size = new System.Drawing.Size(75, 25);
+ this.label6.TabIndex = 1;
+ this.label6.Text = "时间";
+ this.label6.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
+ //
+ // label7
+ //
+ this.label7.BackColor = System.Drawing.Color.Transparent;
+ this.label7.Font = new System.Drawing.Font("微软雅黑", 14F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Pixel, ((byte)(134)));
+ this.label7.Location = new System.Drawing.Point(0, 140);
+ this.label7.Margin = new System.Windows.Forms.Padding(0);
+ this.label7.Name = "label7";
+ this.label7.Size = new System.Drawing.Size(75, 25);
+ this.label7.TabIndex = 1;
+ this.label7.Text = "MJD";
+ this.label7.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
+ //
+ // label8
+ //
+ this.label8.BackColor = System.Drawing.Color.Transparent;
+ this.label8.Font = new System.Drawing.Font("微软雅黑", 14F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Pixel, ((byte)(134)));
+ this.label8.Location = new System.Drawing.Point(0, 20);
+ this.label8.Name = "label8";
+ this.label8.Size = new System.Drawing.Size(224, 25);
+ this.label8.TabIndex = 0;
+ this.label8.Text = "位置信息";
+ this.label8.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
+ //
+ // label9
+ //
+ this.label9.BackColor = System.Drawing.Color.Transparent;
+ this.label9.Font = new System.Drawing.Font("微软雅黑", 14F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Pixel, ((byte)(134)));
+ this.label9.Location = new System.Drawing.Point(0, 60);
+ this.label9.Name = "label9";
+ this.label9.Size = new System.Drawing.Size(75, 25);
+ this.label9.TabIndex = 1;
+ this.label9.Text = "经度";
+ this.label9.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
+ //
+ // label10
+ //
+ this.label10.BackColor = System.Drawing.Color.Transparent;
+ this.label10.Font = new System.Drawing.Font("微软雅黑", 14F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Pixel, ((byte)(134)));
+ this.label10.Location = new System.Drawing.Point(0, 100);
+ this.label10.Margin = new System.Windows.Forms.Padding(0);
+ this.label10.Name = "label10";
+ this.label10.Size = new System.Drawing.Size(75, 25);
+ this.label10.TabIndex = 1;
+ this.label10.Text = "纬度";
+ this.label10.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
+ //
+ // label11
+ //
+ this.label11.BackColor = System.Drawing.Color.Transparent;
+ this.label11.Font = new System.Drawing.Font("微软雅黑", 14F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Pixel, ((byte)(134)));
+ this.label11.Location = new System.Drawing.Point(0, 140);
+ this.label11.Margin = new System.Windows.Forms.Padding(0);
+ this.label11.Name = "label11";
+ this.label11.Size = new System.Drawing.Size(75, 25);
+ this.label11.TabIndex = 1;
+ this.label11.Text = "X";
+ this.label11.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
+ //
+ // label12
+ //
+ this.label12.BackColor = System.Drawing.Color.Transparent;
+ this.label12.Font = new System.Drawing.Font("微软雅黑", 14F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Pixel, ((byte)(134)));
+ this.label12.Location = new System.Drawing.Point(0, 180);
+ this.label12.Margin = new System.Windows.Forms.Padding(0);
+ this.label12.Name = "label12";
+ this.label12.Size = new System.Drawing.Size(75, 25);
+ this.label12.TabIndex = 1;
+ this.label12.Text = "Y";
+ this.label12.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
+ //
+ // label13
+ //
+ this.label13.BackColor = System.Drawing.Color.Transparent;
+ this.label13.Font = new System.Drawing.Font("微软雅黑", 14F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Pixel, ((byte)(134)));
+ this.label13.Location = new System.Drawing.Point(0, 220);
+ this.label13.Margin = new System.Windows.Forms.Padding(0);
+ this.label13.Name = "label13";
+ this.label13.Size = new System.Drawing.Size(75, 25);
+ this.label13.TabIndex = 1;
+ this.label13.Text = "Z";
+ this.label13.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
//
// HomeCtrlForm
//
this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 12F);
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
- this.Controls.Add(this.label1);
- this.Controls.Add(this.label2);
- this.Controls.Add(this.dataGridViewX2);
- this.Controls.Add(this.panelEx4);
- this.Controls.Add(this.panelToBeTested);
+ this.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(232)))), ((int)(((byte)(234)))), ((int)(((byte)(238)))));
+ this.Controls.Add(this.panel5);
+ this.Controls.Add(this.panel4);
+ this.Controls.Add(this.panel3);
+ this.Controls.Add(this.panel2);
+ this.Controls.Add(this.panel1);
this.Margin = new System.Windows.Forms.Padding(0);
this.Name = "HomeCtrlForm";
- this.Size = new System.Drawing.Size(1000, 640);
- this.panelToBeTested.ResumeLayout(false);
- ((System.ComponentModel.ISupportInitialize)(this.dataGridViewX1)).EndInit();
- this.panelEx1.ResumeLayout(false);
- this.panelEx2.ResumeLayout(false);
- this.panelEx3.ResumeLayout(false);
- this.panelEx4.ResumeLayout(false);
- ((System.ComponentModel.ISupportInitialize)(this.dataGridViewX2)).EndInit();
+ this.Size = new System.Drawing.Size(1024, 654);
+ this.panel3.ResumeLayout(false);
+ this.panel2.ResumeLayout(false);
+ this.panel1.ResumeLayout(false);
this.ResumeLayout(false);
}
#endregion
- private System.Windows.Forms.Panel panelToBeTested;
- private DevComponents.DotNetBar.PanelEx panelEx1;
- private DevComponents.DotNetBar.LabelX labelX6;
- private DevComponents.DotNetBar.LabelX labelX5;
- private DevComponents.DotNetBar.LabelX labelX4;
- private DevComponents.DotNetBar.LabelX labelX3;
- private DevComponents.DotNetBar.LabelX labelX2;
- private DevComponents.DotNetBar.LabelX labelX1;
- private DevComponents.DotNetBar.PanelEx panelEx2;
- private DevComponents.DotNetBar.LabelX labelX7;
- private DevComponents.DotNetBar.LabelX labelX8;
- private DevComponents.DotNetBar.LabelX labelX10;
- private DevComponents.DotNetBar.LabelX labelX9;
- private DevComponents.DotNetBar.PanelEx panelEx3;
- private DevComponents.DotNetBar.LabelX labelX11;
- private DevComponents.DotNetBar.LabelX labelX13;
- private DevComponents.DotNetBar.LabelX labelX12;
- private DevComponents.DotNetBar.PanelEx panelEx4;
- private DevComponents.DotNetBar.Controls.DataGridViewX dataGridViewX1;
- private System.Windows.Forms.DataGridViewTextBoxColumn Column13;
- private System.Windows.Forms.DataGridViewTextBoxColumn Column14;
- private System.Windows.Forms.DataGridViewTextBoxColumn Column15;
- private System.Windows.Forms.DataGridViewTextBoxColumn Column16;
- private System.Windows.Forms.DataGridViewTextBoxColumn Column17;
- private DevComponents.DotNetBar.Controls.DataGridViewX dataGridViewX2;
- private System.Windows.Forms.DataGridViewTextBoxColumn Column18;
- private System.Windows.Forms.DataGridViewTextBoxColumn Column19;
- private System.Windows.Forms.DataGridViewTextBoxColumn Column20;
- private System.Windows.Forms.DataGridViewTextBoxColumn Column21;
- private System.Windows.Forms.DataGridViewTextBoxColumn Column22;
- private System.Windows.Forms.DataGridViewTextBoxColumn Column23;
- private System.Windows.Forms.DataGridViewTextBoxColumn Column24;
- private System.Windows.Forms.DataGridViewTextBoxColumn Column25;
- private System.Windows.Forms.DataGridViewTextBoxColumn Column26;
- private System.Windows.Forms.DataGridViewTextBoxColumn Column27;
- private System.Windows.Forms.DataGridViewTextBoxColumn Column28;
- private System.Windows.Forms.DataGridViewTextBoxColumn Column29;
- private DevComponents.DotNetBar.ButtonX buttonX1;
- private DevComponents.DotNetBar.ButtonX buttonX2;
+
+ private System.Windows.Forms.Panel panel1;
+ private System.Windows.Forms.Panel panel2;
+ private System.Windows.Forms.Panel panel3;
+ private System.Windows.Forms.Panel panel4;
+ private System.Windows.Forms.Panel panel5;
private System.Windows.Forms.Label label1;
private System.Windows.Forms.Label label2;
+ private System.Windows.Forms.Label label3;
+ private System.Windows.Forms.Label label4;
+ private System.Windows.Forms.Label label5;
+ private System.Windows.Forms.Label label6;
+ private System.Windows.Forms.Label label7;
+ private System.Windows.Forms.Label label8;
+ private System.Windows.Forms.Label label11;
+ private System.Windows.Forms.Label label9;
+ private System.Windows.Forms.Label label10;
+ private System.Windows.Forms.Label label12;
+ private System.Windows.Forms.Label label13;
}
}
diff --git a/RbFreqStandMeasure/HomeCtrlForm.resx b/RbFreqStandMeasure/HomeCtrlForm.resx
index 6d97f4f..1af7de1 100644
--- a/RbFreqStandMeasure/HomeCtrlForm.resx
+++ b/RbFreqStandMeasure/HomeCtrlForm.resx
@@ -117,55 +117,4 @@
System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
-
- True
-
-
- True
-
-
- True
-
-
- True
-
-
- True
-
-
- True
-
-
- True
-
-
- True
-
-
- True
-
-
- True
-
-
- True
-
-
- True
-
-
- True
-
-
- True
-
-
- True
-
-
- True
-
-
- True
-
\ No newline at end of file
diff --git a/RbFreqStandMeasure/Program.cs b/RbFreqStandMeasure/Program.cs
index 93a83e5..6150917 100644
--- a/RbFreqStandMeasure/Program.cs
+++ b/RbFreqStandMeasure/Program.cs
@@ -1,6 +1,4 @@
using System;
-using System.Collections.Generic;
-using System.Linq;
using System.Windows.Forms;
namespace Casic.Birmm.RbFreqStandMeasure
diff --git a/RbFreqStandMeasure/Properties/Resources.Designer.cs b/RbFreqStandMeasure/Properties/Resources.Designer.cs
index 253d7d7..d819a23 100644
--- a/RbFreqStandMeasure/Properties/Resources.Designer.cs
+++ b/RbFreqStandMeasure/Properties/Resources.Designer.cs
@@ -73,6 +73,56 @@
///
/// 查找 System.Drawing.Bitmap 类型的本地化资源。
///
+ internal static System.Drawing.Bitmap bg_dev_channel {
+ get {
+ object obj = ResourceManager.GetObject("bg_dev_channel", resourceCulture);
+ return ((System.Drawing.Bitmap)(obj));
+ }
+ }
+
+ ///
+ /// 查找 System.Drawing.Bitmap 类型的本地化资源。
+ ///
+ internal static System.Drawing.Bitmap bg_dev_tested {
+ get {
+ object obj = ResourceManager.GetObject("bg_dev_tested", resourceCulture);
+ return ((System.Drawing.Bitmap)(obj));
+ }
+ }
+
+ ///
+ /// 查找 System.Drawing.Bitmap 类型的本地化资源。
+ ///
+ internal static System.Drawing.Bitmap bg_status_base {
+ get {
+ object obj = ResourceManager.GetObject("bg_status_base", resourceCulture);
+ return ((System.Drawing.Bitmap)(obj));
+ }
+ }
+
+ ///
+ /// 查找 System.Drawing.Bitmap 类型的本地化资源。
+ ///
+ internal static System.Drawing.Bitmap bg_status_location {
+ get {
+ object obj = ResourceManager.GetObject("bg_status_location", resourceCulture);
+ return ((System.Drawing.Bitmap)(obj));
+ }
+ }
+
+ ///
+ /// 查找 System.Drawing.Bitmap 类型的本地化资源。
+ ///
+ internal static System.Drawing.Bitmap bg_status_time {
+ get {
+ object obj = ResourceManager.GetObject("bg_status_time", resourceCulture);
+ return ((System.Drawing.Bitmap)(obj));
+ }
+ }
+
+ ///
+ /// 查找 System.Drawing.Bitmap 类型的本地化资源。
+ ///
internal static System.Drawing.Bitmap bg_white_shadow {
get {
object obj = ResourceManager.GetObject("bg_white_shadow", resourceCulture);
@@ -83,6 +133,66 @@
///
/// 查找 System.Drawing.Bitmap 类型的本地化资源。
///
+ internal static System.Drawing.Bitmap icon_counter {
+ get {
+ object obj = ResourceManager.GetObject("icon_counter", resourceCulture);
+ return ((System.Drawing.Bitmap)(obj));
+ }
+ }
+
+ ///
+ /// 查找 System.Drawing.Bitmap 类型的本地化资源。
+ ///
+ internal static System.Drawing.Bitmap icon_counter_selected {
+ get {
+ object obj = ResourceManager.GetObject("icon_counter_selected", resourceCulture);
+ return ((System.Drawing.Bitmap)(obj));
+ }
+ }
+
+ ///
+ /// 查找 System.Drawing.Bitmap 类型的本地化资源。
+ ///
+ internal static System.Drawing.Bitmap icon_data {
+ get {
+ object obj = ResourceManager.GetObject("icon_data", resourceCulture);
+ return ((System.Drawing.Bitmap)(obj));
+ }
+ }
+
+ ///
+ /// 查找 System.Drawing.Bitmap 类型的本地化资源。
+ ///
+ internal static System.Drawing.Bitmap icon_data_selected {
+ get {
+ object obj = ResourceManager.GetObject("icon_data_selected", resourceCulture);
+ return ((System.Drawing.Bitmap)(obj));
+ }
+ }
+
+ ///
+ /// 查找 System.Drawing.Bitmap 类型的本地化资源。
+ ///
+ internal static System.Drawing.Bitmap icon_dev {
+ get {
+ object obj = ResourceManager.GetObject("icon_dev", resourceCulture);
+ return ((System.Drawing.Bitmap)(obj));
+ }
+ }
+
+ ///
+ /// 查找 System.Drawing.Bitmap 类型的本地化资源。
+ ///
+ internal static System.Drawing.Bitmap icon_dev_selected {
+ get {
+ object obj = ResourceManager.GetObject("icon_dev_selected", resourceCulture);
+ return ((System.Drawing.Bitmap)(obj));
+ }
+ }
+
+ ///
+ /// 查找 System.Drawing.Bitmap 类型的本地化资源。
+ ///
internal static System.Drawing.Bitmap icon_exit {
get {
object obj = ResourceManager.GetObject("icon_exit", resourceCulture);
@@ -113,6 +223,56 @@
///
/// 查找 System.Drawing.Bitmap 类型的本地化资源。
///
+ internal static System.Drawing.Bitmap icon_measure {
+ get {
+ object obj = ResourceManager.GetObject("icon_measure", resourceCulture);
+ return ((System.Drawing.Bitmap)(obj));
+ }
+ }
+
+ ///
+ /// 查找 System.Drawing.Bitmap 类型的本地化资源。
+ ///
+ internal static System.Drawing.Bitmap icon_measure_selected {
+ get {
+ object obj = ResourceManager.GetObject("icon_measure_selected", resourceCulture);
+ return ((System.Drawing.Bitmap)(obj));
+ }
+ }
+
+ ///
+ /// 查找 System.Drawing.Bitmap 类型的本地化资源。
+ ///
+ internal static System.Drawing.Bitmap icon_min {
+ get {
+ object obj = ResourceManager.GetObject("icon_min", resourceCulture);
+ return ((System.Drawing.Bitmap)(obj));
+ }
+ }
+
+ ///
+ /// 查找 System.Drawing.Bitmap 类型的本地化资源。
+ ///
+ internal static System.Drawing.Bitmap icon_setting {
+ get {
+ object obj = ResourceManager.GetObject("icon_setting", resourceCulture);
+ return ((System.Drawing.Bitmap)(obj));
+ }
+ }
+
+ ///
+ /// 查找 System.Drawing.Bitmap 类型的本地化资源。
+ ///
+ internal static System.Drawing.Bitmap icon_setting_selected {
+ get {
+ object obj = ResourceManager.GetObject("icon_setting_selected", resourceCulture);
+ return ((System.Drawing.Bitmap)(obj));
+ }
+ }
+
+ ///
+ /// 查找 System.Drawing.Bitmap 类型的本地化资源。
+ ///
internal static System.Drawing.Bitmap icon_status {
get {
object obj = ResourceManager.GetObject("icon_status", resourceCulture);
diff --git a/RbFreqStandMeasure/Properties/Resources.resx b/RbFreqStandMeasure/Properties/Resources.resx
index e781bb7..cfdb255 100644
--- a/RbFreqStandMeasure/Properties/Resources.resx
+++ b/RbFreqStandMeasure/Properties/Resources.resx
@@ -118,25 +118,73 @@
System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
-
- ..\res\images\icon_exit.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
+
+ ..\res\images\icon_counter_selected.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
-
- ..\res\images\bg_white_shadow.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
+
+ ..\res\images\icon_dev_selected.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
+
+
+ ..\res\images\icon_status_selected.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
+
+
+ ..\res\images\icon_data_selected.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
..\res\images\icon_home_selected.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
-
- ..\res\images\bg_banner.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
-
-
- ..\res\images\icon_home.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
+
+ ..\res\images\icon_exit.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
..\res\images\icon_status.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
-
- ..\res\images\icon_status_selected.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
+
+ ..\res\images\icon_data.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
+
+
+ ..\res\images\icon_setting.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
+
+
+ ..\res\images\icon_measure_selected.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
+
+
+ ..\res\images\bg_banner.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
+
+
+ ..\res\images\icon_setting_selected.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
+
+
+ ..\res\images\icon_dev.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
+
+
+ ..\res\images\icon_counter.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
+
+
+ ..\res\images\icon_measure.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
+
+
+ ..\res\images\icon_home.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
+
+
+ ..\res\images\bg_white_shadow.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
+
+
+ ..\res\images\icon_min.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
+
+
+ ..\res\images\bg_status_base.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
+
+
+ ..\res\images\bg_status_location.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
+
+
+ ..\res\images\bg_status_time.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
+
+
+ ..\res\images\bg_dev_channel.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
+
+
+ ..\res\images\bg_dev_tested.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
\ No newline at end of file
diff --git a/RbFreqStandMeasure/RbFreqStandMeasure.csproj b/RbFreqStandMeasure/RbFreqStandMeasure.csproj
index f5e7da9..7c12768 100644
--- a/RbFreqStandMeasure/RbFreqStandMeasure.csproj
+++ b/RbFreqStandMeasure/RbFreqStandMeasure.csproj
@@ -232,6 +232,54 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/RbFreqStandMeasure/RbFreqStdMeas.Designer.cs b/RbFreqStandMeasure/RbFreqStdMeas.Designer.cs
index 57778cf..1bd008c 100644
--- a/RbFreqStandMeasure/RbFreqStdMeas.Designer.cs
+++ b/RbFreqStandMeasure/RbFreqStdMeas.Designer.cs
@@ -30,148 +30,77 @@
private void InitializeComponent()
{
this.panMenu = new System.Windows.Forms.Panel();
+ this.penBanner = new System.Windows.Forms.Panel();
+ this.btnMinSys = new System.Windows.Forms.Button();
+ this.btnExitSys = new System.Windows.Forms.Button();
+ this.labTitle = new System.Windows.Forms.Label();
+ this.panDev = new Casic.Birmm.RbFreqStandMeasure.RoundPanel();
+ this.labDevText = new System.Windows.Forms.Label();
+ this.labDevSelected = new System.Windows.Forms.Label();
+ this.picIconDev = new System.Windows.Forms.PictureBox();
+ this.panSetting = new Casic.Birmm.RbFreqStandMeasure.RoundPanel();
+ this.labSettingSelected = new System.Windows.Forms.Label();
+ this.labSettingText = new System.Windows.Forms.Label();
+ this.picIconSetting = new System.Windows.Forms.PictureBox();
this.panStatus = new Casic.Birmm.RbFreqStandMeasure.RoundPanel();
this.labStatusText = new System.Windows.Forms.Label();
this.picIconStatus = new System.Windows.Forms.PictureBox();
+ this.labStatusSelected = new System.Windows.Forms.Label();
+ this.panData = new Casic.Birmm.RbFreqStandMeasure.RoundPanel();
+ this.labDataSelected = new System.Windows.Forms.Label();
+ this.labDataText = new System.Windows.Forms.Label();
+ this.picIconData = new System.Windows.Forms.PictureBox();
this.panHome = new Casic.Birmm.RbFreqStandMeasure.RoundPanel();
this.labHomeText = new System.Windows.Forms.Label();
this.picIconHome = new System.Windows.Forms.PictureBox();
this.labHomeSelected = new System.Windows.Forms.Label();
- this.labStatusSelected = new System.Windows.Forms.Label();
- this.penBanner = new System.Windows.Forms.Panel();
- this.btnExitSys = new System.Windows.Forms.Button();
- this.labTitle = new System.Windows.Forms.Label();
+ this.panMeasure = new Casic.Birmm.RbFreqStandMeasure.RoundPanel();
+ this.labMeasureText = new System.Windows.Forms.Label();
+ this.labMeasureSelected = new System.Windows.Forms.Label();
+ this.picIconMeasure = new System.Windows.Forms.PictureBox();
+ this.panCounter = new Casic.Birmm.RbFreqStandMeasure.RoundPanel();
+ this.labCounterSelected = new System.Windows.Forms.Label();
+ this.labCounterText = new System.Windows.Forms.Label();
+ this.picIconCounter = new System.Windows.Forms.PictureBox();
+ this.panelMain = new System.Windows.Forms.Panel();
this.panMenu.SuspendLayout();
+ this.penBanner.SuspendLayout();
+ this.panDev.SuspendLayout();
+ ((System.ComponentModel.ISupportInitialize)(this.picIconDev)).BeginInit();
+ this.panSetting.SuspendLayout();
+ ((System.ComponentModel.ISupportInitialize)(this.picIconSetting)).BeginInit();
this.panStatus.SuspendLayout();
((System.ComponentModel.ISupportInitialize)(this.picIconStatus)).BeginInit();
+ this.panData.SuspendLayout();
+ ((System.ComponentModel.ISupportInitialize)(this.picIconData)).BeginInit();
this.panHome.SuspendLayout();
((System.ComponentModel.ISupportInitialize)(this.picIconHome)).BeginInit();
- this.penBanner.SuspendLayout();
+ this.panMeasure.SuspendLayout();
+ ((System.ComponentModel.ISupportInitialize)(this.picIconMeasure)).BeginInit();
+ this.panCounter.SuspendLayout();
+ ((System.ComponentModel.ISupportInitialize)(this.picIconCounter)).BeginInit();
this.SuspendLayout();
//
// panMenu
//
this.panMenu.BackColor = System.Drawing.Color.White;
+ this.panMenu.Controls.Add(this.panDev);
+ this.panMenu.Controls.Add(this.panSetting);
this.panMenu.Controls.Add(this.panStatus);
+ this.panMenu.Controls.Add(this.panData);
this.panMenu.Controls.Add(this.panHome);
- this.panMenu.Controls.Add(this.labStatusSelected);
+ this.panMenu.Controls.Add(this.panMeasure);
+ this.panMenu.Controls.Add(this.panCounter);
this.panMenu.Location = new System.Drawing.Point(0, 64);
this.panMenu.Name = "panMenu";
this.panMenu.Size = new System.Drawing.Size(1024, 50);
this.panMenu.TabIndex = 1;
//
- // panStatus
- //
- this.panStatus.Back = System.Drawing.Color.Empty;
- this.panStatus.BackColor = System.Drawing.Color.Transparent;
- this.panStatus.Controls.Add(this.labStatusText);
- this.panStatus.Controls.Add(this.picIconStatus);
- this.panStatus.Location = new System.Drawing.Point(160, 0);
- this.panStatus.MatrixRound = 8;
- this.panStatus.Name = "panStatus";
- this.panStatus.Size = new System.Drawing.Size(130, 47);
- this.panStatus.TabIndex = 1;
- this.panStatus.Click += new System.EventHandler(this.panStatus_Click);
- this.panStatus.MouseLeave += new System.EventHandler(this.panStatus_MouseLeave);
- this.panStatus.MouseHover += new System.EventHandler(this.panStatus_MouseHover);
- //
- // labStatusText
- //
- this.labStatusText.BackColor = System.Drawing.Color.Transparent;
- this.labStatusText.Cursor = System.Windows.Forms.Cursors.Hand;
- this.labStatusText.Font = new System.Drawing.Font("微软雅黑", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
- this.labStatusText.ForeColor = System.Drawing.SystemColors.ControlText;
- this.labStatusText.Location = new System.Drawing.Point(35, 0);
- this.labStatusText.Margin = new System.Windows.Forms.Padding(0);
- this.labStatusText.Name = "labStatusText";
- this.labStatusText.Size = new System.Drawing.Size(85, 47);
- this.labStatusText.TabIndex = 2;
- this.labStatusText.Text = "基准状态";
- this.labStatusText.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
- this.labStatusText.Click += new System.EventHandler(this.panStatus_Click);
- this.labStatusText.MouseLeave += new System.EventHandler(this.panStatus_MouseLeave);
- this.labStatusText.MouseHover += new System.EventHandler(this.panStatus_MouseHover);
- //
- // picIconStatus
- //
- this.picIconStatus.BackgroundImage = global::Casic.Birmm.RbFreqStandMeasure.Properties.Resources.icon_status;
- this.picIconStatus.BackgroundImageLayout = System.Windows.Forms.ImageLayout.Zoom;
- this.picIconStatus.Location = new System.Drawing.Point(10, 11);
- this.picIconStatus.Name = "picIconStatus";
- this.picIconStatus.Size = new System.Drawing.Size(25, 25);
- this.picIconStatus.TabIndex = 1;
- this.picIconStatus.TabStop = false;
- this.picIconStatus.Click += new System.EventHandler(this.panStatus_Click);
- this.picIconStatus.MouseLeave += new System.EventHandler(this.panStatus_MouseLeave);
- this.picIconStatus.MouseHover += new System.EventHandler(this.panStatus_MouseHover);
- //
- // panHome
- //
- this.panHome.Back = System.Drawing.Color.Empty;
- this.panHome.Controls.Add(this.labHomeText);
- this.panHome.Controls.Add(this.picIconHome);
- this.panHome.Controls.Add(this.labHomeSelected);
- this.panHome.Cursor = System.Windows.Forms.Cursors.Hand;
- this.panHome.Location = new System.Drawing.Point(30, 0);
- this.panHome.MatrixRound = 8;
- this.panHome.Name = "panHome";
- this.panHome.Size = new System.Drawing.Size(100, 50);
- this.panHome.TabIndex = 0;
- this.panHome.Click += new System.EventHandler(this.panHome_Click);
- this.panHome.MouseLeave += new System.EventHandler(this.panHome_MouseLeave);
- this.panHome.MouseHover += new System.EventHandler(this.panHome_MouseHover);
- //
- // labHomeText
- //
- this.labHomeText.BackColor = System.Drawing.Color.Transparent;
- this.labHomeText.Font = new System.Drawing.Font("微软雅黑", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
- this.labHomeText.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(18)))), ((int)(((byte)(150)))), ((int)(((byte)(219)))));
- this.labHomeText.Location = new System.Drawing.Point(35, 0);
- this.labHomeText.Margin = new System.Windows.Forms.Padding(0);
- this.labHomeText.Name = "labHomeText";
- this.labHomeText.Size = new System.Drawing.Size(55, 47);
- this.labHomeText.TabIndex = 2;
- this.labHomeText.Text = "首页";
- this.labHomeText.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
- this.labHomeText.Click += new System.EventHandler(this.panHome_Click);
- this.labHomeText.MouseLeave += new System.EventHandler(this.panHome_MouseLeave);
- this.labHomeText.MouseHover += new System.EventHandler(this.panHome_MouseHover);
- //
- // picIconHome
- //
- this.picIconHome.BackColor = System.Drawing.Color.Transparent;
- this.picIconHome.BackgroundImage = global::Casic.Birmm.RbFreqStandMeasure.Properties.Resources.icon_home_selected;
- this.picIconHome.BackgroundImageLayout = System.Windows.Forms.ImageLayout.Zoom;
- this.picIconHome.Location = new System.Drawing.Point(10, 11);
- this.picIconHome.Name = "picIconHome";
- this.picIconHome.Size = new System.Drawing.Size(25, 25);
- this.picIconHome.TabIndex = 1;
- this.picIconHome.TabStop = false;
- this.picIconHome.Click += new System.EventHandler(this.panHome_Click);
- this.picIconHome.MouseLeave += new System.EventHandler(this.panHome_MouseLeave);
- this.picIconHome.MouseHover += new System.EventHandler(this.panHome_MouseHover);
- //
- // labHomeSelected
- //
- this.labHomeSelected.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(18)))), ((int)(((byte)(150)))), ((int)(((byte)(219)))));
- this.labHomeSelected.Location = new System.Drawing.Point(0, 47);
- this.labHomeSelected.Name = "labHomeSelected";
- this.labHomeSelected.Size = new System.Drawing.Size(100, 3);
- this.labHomeSelected.TabIndex = 0;
- //
- // labStatusSelected
- //
- this.labStatusSelected.BackColor = System.Drawing.Color.Transparent;
- this.labStatusSelected.Location = new System.Drawing.Point(160, 47);
- this.labStatusSelected.Margin = new System.Windows.Forms.Padding(0);
- this.labStatusSelected.Name = "labStatusSelected";
- this.labStatusSelected.Size = new System.Drawing.Size(130, 3);
- this.labStatusSelected.TabIndex = 0;
- //
// penBanner
//
this.penBanner.BackgroundImage = global::Casic.Birmm.RbFreqStandMeasure.Properties.Resources.bg_banner;
this.penBanner.BackgroundImageLayout = System.Windows.Forms.ImageLayout.Stretch;
+ this.penBanner.Controls.Add(this.btnMinSys);
this.penBanner.Controls.Add(this.btnExitSys);
this.penBanner.Controls.Add(this.labTitle);
this.penBanner.Location = new System.Drawing.Point(0, 0);
@@ -180,6 +109,23 @@
this.penBanner.TabIndex = 0;
this.penBanner.MouseDown += new System.Windows.Forms.MouseEventHandler(this.RbFreqStdMeas_MouseDown);
//
+ // btnMinSys
+ //
+ this.btnMinSys.BackColor = System.Drawing.Color.Transparent;
+ this.btnMinSys.BackgroundImage = global::Casic.Birmm.RbFreqStandMeasure.Properties.Resources.icon_min;
+ this.btnMinSys.BackgroundImageLayout = System.Windows.Forms.ImageLayout.Stretch;
+ this.btnMinSys.FlatAppearance.BorderSize = 0;
+ this.btnMinSys.FlatStyle = System.Windows.Forms.FlatStyle.Flat;
+ this.btnMinSys.ForeColor = System.Drawing.SystemColors.ControlDarkDark;
+ this.btnMinSys.Location = new System.Drawing.Point(944, 22);
+ this.btnMinSys.Margin = new System.Windows.Forms.Padding(0);
+ this.btnMinSys.Name = "btnMinSys";
+ this.btnMinSys.Size = new System.Drawing.Size(20, 20);
+ this.btnMinSys.TabIndex = 1;
+ this.btnMinSys.UseVisualStyleBackColor = false;
+ this.btnMinSys.Click += new System.EventHandler(this.btnMinSys_Click);
+ this.btnMinSys.MouseHover += new System.EventHandler(this.btnMinSys_MouseHover);
+ //
// btnExitSys
//
this.btnExitSys.BackColor = System.Drawing.Color.Transparent;
@@ -200,7 +146,7 @@
// labTitle
//
this.labTitle.BackColor = System.Drawing.Color.Transparent;
- this.labTitle.Font = new System.Drawing.Font("微软雅黑", 15.75F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
+ this.labTitle.Font = new System.Drawing.Font("微软雅黑", 20F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Pixel, ((byte)(134)));
this.labTitle.ForeColor = System.Drawing.Color.White;
this.labTitle.Location = new System.Drawing.Point(30, 16);
this.labTitle.Name = "labTitle";
@@ -209,11 +155,404 @@
this.labTitle.Text = "铷原子频标比对测量软件";
this.labTitle.TextAlign = System.Drawing.ContentAlignment.MiddleLeft;
//
+ // panDev
+ //
+ this.panDev.Back = System.Drawing.Color.Empty;
+ this.panDev.Controls.Add(this.labDevText);
+ this.panDev.Controls.Add(this.labDevSelected);
+ this.panDev.Controls.Add(this.picIconDev);
+ this.panDev.Location = new System.Drawing.Point(214, 0);
+ this.panDev.MatrixRound = 8;
+ this.panDev.Name = "panDev";
+ this.panDev.Size = new System.Drawing.Size(141, 50);
+ this.panDev.TabIndex = 2;
+ this.panDev.Click += new System.EventHandler(this.panDev_Click);
+ this.panDev.MouseLeave += new System.EventHandler(this.panDev_MouseLeave);
+ this.panDev.MouseHover += new System.EventHandler(this.panDev_MouseHover);
+ //
+ // labDevText
+ //
+ this.labDevText.BackColor = System.Drawing.Color.Transparent;
+ this.labDevText.Cursor = System.Windows.Forms.Cursors.Hand;
+ this.labDevText.Font = new System.Drawing.Font("微软雅黑", 16F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Pixel, ((byte)(134)));
+ this.labDevText.ForeColor = System.Drawing.SystemColors.ControlText;
+ this.labDevText.Location = new System.Drawing.Point(30, 14);
+ this.labDevText.Margin = new System.Windows.Forms.Padding(0);
+ this.labDevText.Name = "labDevText";
+ this.labDevText.Size = new System.Drawing.Size(106, 20);
+ this.labDevText.TabIndex = 2;
+ this.labDevText.Text = "送检仪器管理";
+ this.labDevText.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
+ this.labDevText.Click += new System.EventHandler(this.panDev_Click);
+ this.labDevText.MouseLeave += new System.EventHandler(this.panDev_MouseLeave);
+ this.labDevText.MouseHover += new System.EventHandler(this.panDev_MouseHover);
+ //
+ // labDevSelected
+ //
+ this.labDevSelected.BackColor = System.Drawing.Color.Transparent;
+ this.labDevSelected.Location = new System.Drawing.Point(8, 48);
+ this.labDevSelected.Margin = new System.Windows.Forms.Padding(0);
+ this.labDevSelected.Name = "labDevSelected";
+ this.labDevSelected.Size = new System.Drawing.Size(121, 2);
+ this.labDevSelected.TabIndex = 3;
+ //
+ // picIconDev
+ //
+ this.picIconDev.BackColor = System.Drawing.Color.Transparent;
+ this.picIconDev.BackgroundImage = global::Casic.Birmm.RbFreqStandMeasure.Properties.Resources.icon_dev;
+ this.picIconDev.BackgroundImageLayout = System.Windows.Forms.ImageLayout.Zoom;
+ this.picIconDev.Location = new System.Drawing.Point(10, 14);
+ this.picIconDev.Name = "picIconDev";
+ this.picIconDev.Size = new System.Drawing.Size(20, 20);
+ this.picIconDev.TabIndex = 1;
+ this.picIconDev.TabStop = false;
+ this.picIconDev.Click += new System.EventHandler(this.panDev_Click);
+ this.picIconDev.MouseLeave += new System.EventHandler(this.panDev_MouseLeave);
+ this.picIconDev.MouseHover += new System.EventHandler(this.panDev_MouseHover);
+ //
+ // panSetting
+ //
+ this.panSetting.Back = System.Drawing.Color.Empty;
+ this.panSetting.Controls.Add(this.labSettingSelected);
+ this.panSetting.Controls.Add(this.labSettingText);
+ this.panSetting.Controls.Add(this.picIconSetting);
+ this.panSetting.Location = new System.Drawing.Point(879, 0);
+ this.panSetting.MatrixRound = 8;
+ this.panSetting.Name = "panSetting";
+ this.panSetting.Size = new System.Drawing.Size(109, 50);
+ this.panSetting.TabIndex = 2;
+ this.panSetting.Click += new System.EventHandler(this.panSetting_Click);
+ this.panSetting.MouseLeave += new System.EventHandler(this.panSetting_MouseLeave);
+ this.panSetting.MouseHover += new System.EventHandler(this.panSetting_MouseHover);
+ //
+ // labSettingSelected
+ //
+ this.labSettingSelected.BackColor = System.Drawing.Color.Transparent;
+ this.labSettingSelected.Location = new System.Drawing.Point(10, 48);
+ this.labSettingSelected.Margin = new System.Windows.Forms.Padding(0);
+ this.labSettingSelected.Name = "labSettingSelected";
+ this.labSettingSelected.Size = new System.Drawing.Size(89, 2);
+ this.labSettingSelected.TabIndex = 4;
+ //
+ // labSettingText
+ //
+ this.labSettingText.BackColor = System.Drawing.Color.Transparent;
+ this.labSettingText.Cursor = System.Windows.Forms.Cursors.Hand;
+ this.labSettingText.Font = new System.Drawing.Font("微软雅黑", 16F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Pixel, ((byte)(134)));
+ this.labSettingText.ForeColor = System.Drawing.SystemColors.ControlText;
+ this.labSettingText.Location = new System.Drawing.Point(30, 14);
+ this.labSettingText.Margin = new System.Windows.Forms.Padding(0);
+ this.labSettingText.Name = "labSettingText";
+ this.labSettingText.Size = new System.Drawing.Size(74, 20);
+ this.labSettingText.TabIndex = 2;
+ this.labSettingText.Text = "系统设置";
+ this.labSettingText.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
+ this.labSettingText.Click += new System.EventHandler(this.panSetting_Click);
+ this.labSettingText.MouseLeave += new System.EventHandler(this.panSetting_MouseLeave);
+ this.labSettingText.MouseHover += new System.EventHandler(this.panSetting_MouseHover);
+ //
+ // picIconSetting
+ //
+ this.picIconSetting.BackColor = System.Drawing.Color.Transparent;
+ this.picIconSetting.BackgroundImage = global::Casic.Birmm.RbFreqStandMeasure.Properties.Resources.icon_setting;
+ this.picIconSetting.BackgroundImageLayout = System.Windows.Forms.ImageLayout.Zoom;
+ this.picIconSetting.Location = new System.Drawing.Point(10, 14);
+ this.picIconSetting.Name = "picIconSetting";
+ this.picIconSetting.Size = new System.Drawing.Size(20, 20);
+ this.picIconSetting.TabIndex = 1;
+ this.picIconSetting.TabStop = false;
+ this.picIconSetting.Click += new System.EventHandler(this.panSetting_Click);
+ this.picIconSetting.MouseLeave += new System.EventHandler(this.panSetting_MouseLeave);
+ this.picIconSetting.MouseHover += new System.EventHandler(this.panSetting_MouseHover);
+ //
+ // panStatus
+ //
+ this.panStatus.Back = System.Drawing.Color.Empty;
+ this.panStatus.BackColor = System.Drawing.Color.Transparent;
+ this.panStatus.Controls.Add(this.labStatusText);
+ this.panStatus.Controls.Add(this.picIconStatus);
+ this.panStatus.Controls.Add(this.labStatusSelected);
+ this.panStatus.Location = new System.Drawing.Point(101, 0);
+ this.panStatus.MatrixRound = 8;
+ this.panStatus.Name = "panStatus";
+ this.panStatus.Size = new System.Drawing.Size(109, 50);
+ this.panStatus.TabIndex = 1;
+ this.panStatus.Click += new System.EventHandler(this.panStatus_Click);
+ this.panStatus.MouseLeave += new System.EventHandler(this.panStatus_MouseLeave);
+ this.panStatus.MouseHover += new System.EventHandler(this.panStatus_MouseHover);
+ //
+ // labStatusText
+ //
+ this.labStatusText.BackColor = System.Drawing.Color.Transparent;
+ this.labStatusText.Cursor = System.Windows.Forms.Cursors.Hand;
+ this.labStatusText.Font = new System.Drawing.Font("微软雅黑", 16F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Pixel, ((byte)(134)));
+ this.labStatusText.ForeColor = System.Drawing.SystemColors.ControlText;
+ this.labStatusText.Location = new System.Drawing.Point(30, 14);
+ this.labStatusText.Margin = new System.Windows.Forms.Padding(0);
+ this.labStatusText.Name = "labStatusText";
+ this.labStatusText.Size = new System.Drawing.Size(74, 20);
+ this.labStatusText.TabIndex = 2;
+ this.labStatusText.Text = "基准状态";
+ this.labStatusText.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
+ this.labStatusText.Click += new System.EventHandler(this.panStatus_Click);
+ this.labStatusText.MouseLeave += new System.EventHandler(this.panStatus_MouseLeave);
+ this.labStatusText.MouseHover += new System.EventHandler(this.panStatus_MouseHover);
+ //
+ // picIconStatus
+ //
+ this.picIconStatus.BackgroundImage = global::Casic.Birmm.RbFreqStandMeasure.Properties.Resources.icon_status;
+ this.picIconStatus.BackgroundImageLayout = System.Windows.Forms.ImageLayout.Zoom;
+ this.picIconStatus.Location = new System.Drawing.Point(10, 14);
+ this.picIconStatus.Name = "picIconStatus";
+ this.picIconStatus.Size = new System.Drawing.Size(20, 20);
+ this.picIconStatus.TabIndex = 1;
+ this.picIconStatus.TabStop = false;
+ this.picIconStatus.Click += new System.EventHandler(this.panStatus_Click);
+ this.picIconStatus.MouseLeave += new System.EventHandler(this.panStatus_MouseLeave);
+ this.picIconStatus.MouseHover += new System.EventHandler(this.panStatus_MouseHover);
+ //
+ // labStatusSelected
+ //
+ this.labStatusSelected.BackColor = System.Drawing.Color.Transparent;
+ this.labStatusSelected.Location = new System.Drawing.Point(10, 48);
+ this.labStatusSelected.Margin = new System.Windows.Forms.Padding(0);
+ this.labStatusSelected.Name = "labStatusSelected";
+ this.labStatusSelected.Size = new System.Drawing.Size(89, 2);
+ this.labStatusSelected.TabIndex = 0;
+ //
+ // panData
+ //
+ this.panData.Back = System.Drawing.Color.Empty;
+ this.panData.Controls.Add(this.labDataSelected);
+ this.panData.Controls.Add(this.labDataText);
+ this.panData.Controls.Add(this.picIconData);
+ this.panData.Location = new System.Drawing.Point(765, 0);
+ this.panData.MatrixRound = 8;
+ this.panData.Name = "panData";
+ this.panData.Size = new System.Drawing.Size(109, 50);
+ this.panData.TabIndex = 2;
+ this.panData.Click += new System.EventHandler(this.panData_Click);
+ this.panData.MouseLeave += new System.EventHandler(this.panData_MouseLeave);
+ this.panData.MouseHover += new System.EventHandler(this.panData_MouseHover);
+ //
+ // labDataSelected
+ //
+ this.labDataSelected.BackColor = System.Drawing.Color.Transparent;
+ this.labDataSelected.Location = new System.Drawing.Point(10, 48);
+ this.labDataSelected.Margin = new System.Windows.Forms.Padding(0);
+ this.labDataSelected.Name = "labDataSelected";
+ this.labDataSelected.Size = new System.Drawing.Size(89, 2);
+ this.labDataSelected.TabIndex = 3;
+ //
+ // labDataText
+ //
+ this.labDataText.BackColor = System.Drawing.Color.Transparent;
+ this.labDataText.Cursor = System.Windows.Forms.Cursors.Hand;
+ this.labDataText.Font = new System.Drawing.Font("微软雅黑", 16F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Pixel, ((byte)(134)));
+ this.labDataText.ForeColor = System.Drawing.SystemColors.ControlText;
+ this.labDataText.Location = new System.Drawing.Point(30, 14);
+ this.labDataText.Margin = new System.Windows.Forms.Padding(0);
+ this.labDataText.Name = "labDataText";
+ this.labDataText.Size = new System.Drawing.Size(74, 20);
+ this.labDataText.TabIndex = 2;
+ this.labDataText.Text = "数据管理";
+ this.labDataText.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
+ this.labDataText.Click += new System.EventHandler(this.panData_Click);
+ this.labDataText.MouseLeave += new System.EventHandler(this.panData_MouseLeave);
+ this.labDataText.MouseHover += new System.EventHandler(this.panData_MouseHover);
+ //
+ // picIconData
+ //
+ this.picIconData.BackColor = System.Drawing.Color.Transparent;
+ this.picIconData.BackgroundImage = global::Casic.Birmm.RbFreqStandMeasure.Properties.Resources.icon_data;
+ this.picIconData.BackgroundImageLayout = System.Windows.Forms.ImageLayout.Zoom;
+ this.picIconData.Location = new System.Drawing.Point(10, 14);
+ this.picIconData.Name = "picIconData";
+ this.picIconData.Size = new System.Drawing.Size(20, 20);
+ this.picIconData.TabIndex = 1;
+ this.picIconData.TabStop = false;
+ this.picIconData.Click += new System.EventHandler(this.panData_Click);
+ this.picIconData.MouseLeave += new System.EventHandler(this.panData_MouseLeave);
+ this.picIconData.MouseHover += new System.EventHandler(this.panData_MouseHover);
+ //
+ // panHome
+ //
+ this.panHome.Back = System.Drawing.Color.Empty;
+ this.panHome.Controls.Add(this.labHomeText);
+ this.panHome.Controls.Add(this.picIconHome);
+ this.panHome.Controls.Add(this.labHomeSelected);
+ this.panHome.Cursor = System.Windows.Forms.Cursors.Hand;
+ this.panHome.Location = new System.Drawing.Point(20, 0);
+ this.panHome.MatrixRound = 8;
+ this.panHome.Name = "panHome";
+ this.panHome.Size = new System.Drawing.Size(75, 50);
+ this.panHome.TabIndex = 0;
+ this.panHome.Click += new System.EventHandler(this.panHome_Click);
+ this.panHome.MouseLeave += new System.EventHandler(this.panHome_MouseLeave);
+ this.panHome.MouseHover += new System.EventHandler(this.panHome_MouseHover);
+ //
+ // labHomeText
+ //
+ this.labHomeText.BackColor = System.Drawing.Color.Transparent;
+ this.labHomeText.Font = new System.Drawing.Font("微软雅黑", 16F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Pixel, ((byte)(134)));
+ this.labHomeText.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(18)))), ((int)(((byte)(150)))), ((int)(((byte)(219)))));
+ this.labHomeText.Location = new System.Drawing.Point(30, 14);
+ this.labHomeText.Margin = new System.Windows.Forms.Padding(0);
+ this.labHomeText.Name = "labHomeText";
+ this.labHomeText.Size = new System.Drawing.Size(42, 20);
+ this.labHomeText.TabIndex = 2;
+ this.labHomeText.Text = "首页";
+ this.labHomeText.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
+ this.labHomeText.Click += new System.EventHandler(this.panHome_Click);
+ this.labHomeText.MouseLeave += new System.EventHandler(this.panHome_MouseLeave);
+ this.labHomeText.MouseHover += new System.EventHandler(this.panHome_MouseHover);
+ //
+ // picIconHome
+ //
+ this.picIconHome.BackColor = System.Drawing.Color.Transparent;
+ this.picIconHome.BackgroundImage = global::Casic.Birmm.RbFreqStandMeasure.Properties.Resources.icon_home_selected;
+ this.picIconHome.BackgroundImageLayout = System.Windows.Forms.ImageLayout.Zoom;
+ this.picIconHome.Location = new System.Drawing.Point(10, 14);
+ this.picIconHome.Margin = new System.Windows.Forms.Padding(0);
+ this.picIconHome.Name = "picIconHome";
+ this.picIconHome.Size = new System.Drawing.Size(20, 20);
+ this.picIconHome.TabIndex = 1;
+ this.picIconHome.TabStop = false;
+ this.picIconHome.Click += new System.EventHandler(this.panHome_Click);
+ this.picIconHome.MouseLeave += new System.EventHandler(this.panHome_MouseLeave);
+ this.picIconHome.MouseHover += new System.EventHandler(this.panHome_MouseHover);
+ //
+ // labHomeSelected
+ //
+ this.labHomeSelected.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(18)))), ((int)(((byte)(150)))), ((int)(((byte)(219)))));
+ this.labHomeSelected.Location = new System.Drawing.Point(10, 48);
+ this.labHomeSelected.Name = "labHomeSelected";
+ this.labHomeSelected.Size = new System.Drawing.Size(55, 2);
+ this.labHomeSelected.TabIndex = 0;
+ //
+ // panMeasure
+ //
+ this.panMeasure.Back = System.Drawing.Color.Empty;
+ this.panMeasure.Controls.Add(this.labMeasureText);
+ this.panMeasure.Controls.Add(this.labMeasureSelected);
+ this.panMeasure.Controls.Add(this.picIconMeasure);
+ this.panMeasure.Location = new System.Drawing.Point(619, 0);
+ this.panMeasure.MatrixRound = 8;
+ this.panMeasure.Name = "panMeasure";
+ this.panMeasure.Size = new System.Drawing.Size(141, 50);
+ this.panMeasure.TabIndex = 2;
+ this.panMeasure.Click += new System.EventHandler(this.panMeasure_Click);
+ this.panMeasure.MouseLeave += new System.EventHandler(this.panMeasure_MouseLeave);
+ this.panMeasure.MouseHover += new System.EventHandler(this.panMeasure_MouseHover);
+ //
+ // labMeasureText
+ //
+ this.labMeasureText.BackColor = System.Drawing.Color.Transparent;
+ this.labMeasureText.Cursor = System.Windows.Forms.Cursors.Hand;
+ this.labMeasureText.Font = new System.Drawing.Font("微软雅黑", 16F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Pixel, ((byte)(134)));
+ this.labMeasureText.ForeColor = System.Drawing.SystemColors.ControlText;
+ this.labMeasureText.Location = new System.Drawing.Point(30, 14);
+ this.labMeasureText.Margin = new System.Windows.Forms.Padding(0);
+ this.labMeasureText.Name = "labMeasureText";
+ this.labMeasureText.Size = new System.Drawing.Size(106, 20);
+ this.labMeasureText.TabIndex = 2;
+ this.labMeasureText.Text = "计量信息管理";
+ this.labMeasureText.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
+ this.labMeasureText.Click += new System.EventHandler(this.panMeasure_Click);
+ this.labMeasureText.MouseLeave += new System.EventHandler(this.panMeasure_MouseLeave);
+ this.labMeasureText.MouseHover += new System.EventHandler(this.panMeasure_MouseHover);
+ //
+ // labMeasureSelected
+ //
+ this.labMeasureSelected.BackColor = System.Drawing.Color.Transparent;
+ this.labMeasureSelected.Location = new System.Drawing.Point(10, 48);
+ this.labMeasureSelected.Margin = new System.Windows.Forms.Padding(0);
+ this.labMeasureSelected.Name = "labMeasureSelected";
+ this.labMeasureSelected.Size = new System.Drawing.Size(121, 2);
+ this.labMeasureSelected.TabIndex = 3;
+ //
+ // picIconMeasure
+ //
+ this.picIconMeasure.BackColor = System.Drawing.Color.Transparent;
+ this.picIconMeasure.BackgroundImage = global::Casic.Birmm.RbFreqStandMeasure.Properties.Resources.icon_measure;
+ this.picIconMeasure.BackgroundImageLayout = System.Windows.Forms.ImageLayout.Zoom;
+ this.picIconMeasure.Location = new System.Drawing.Point(10, 14);
+ this.picIconMeasure.Name = "picIconMeasure";
+ this.picIconMeasure.Size = new System.Drawing.Size(20, 20);
+ this.picIconMeasure.TabIndex = 1;
+ this.picIconMeasure.TabStop = false;
+ this.picIconMeasure.Click += new System.EventHandler(this.panMeasure_Click);
+ this.picIconMeasure.MouseLeave += new System.EventHandler(this.panMeasure_MouseLeave);
+ this.picIconMeasure.MouseHover += new System.EventHandler(this.panMeasure_MouseHover);
+ //
+ // panCounter
+ //
+ this.panCounter.Back = System.Drawing.Color.Empty;
+ this.panCounter.Controls.Add(this.labCounterSelected);
+ this.panCounter.Controls.Add(this.labCounterText);
+ this.panCounter.Controls.Add(this.picIconCounter);
+ this.panCounter.Location = new System.Drawing.Point(360, 0);
+ this.panCounter.MatrixRound = 8;
+ this.panCounter.Name = "panCounter";
+ this.panCounter.Size = new System.Drawing.Size(254, 50);
+ this.panCounter.TabIndex = 2;
+ this.panCounter.Click += new System.EventHandler(this.panCounter_Click);
+ this.panCounter.MouseLeave += new System.EventHandler(this.panCounter_MouseLeave);
+ this.panCounter.MouseHover += new System.EventHandler(this.panCounter_MouseHover);
+ //
+ // labCounterSelected
+ //
+ this.labCounterSelected.BackColor = System.Drawing.Color.Transparent;
+ this.labCounterSelected.Location = new System.Drawing.Point(10, 48);
+ this.labCounterSelected.Margin = new System.Windows.Forms.Padding(0);
+ this.labCounterSelected.Name = "labCounterSelected";
+ this.labCounterSelected.Size = new System.Drawing.Size(233, 2);
+ this.labCounterSelected.TabIndex = 4;
+ //
+ // labCounterText
+ //
+ this.labCounterText.BackColor = System.Drawing.Color.Transparent;
+ this.labCounterText.Cursor = System.Windows.Forms.Cursors.Hand;
+ this.labCounterText.Font = new System.Drawing.Font("微软雅黑", 16F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Pixel, ((byte)(134)));
+ this.labCounterText.ForeColor = System.Drawing.SystemColors.ControlText;
+ this.labCounterText.Location = new System.Drawing.Point(30, 14);
+ this.labCounterText.Margin = new System.Windows.Forms.Padding(0);
+ this.labCounterText.Name = "labCounterText";
+ this.labCounterText.Size = new System.Drawing.Size(218, 20);
+ this.labCounterText.TabIndex = 2;
+ this.labCounterText.Text = "频率计数器范围及灵敏度测量";
+ this.labCounterText.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
+ this.labCounterText.Click += new System.EventHandler(this.panCounter_Click);
+ this.labCounterText.MouseLeave += new System.EventHandler(this.panCounter_MouseLeave);
+ this.labCounterText.MouseHover += new System.EventHandler(this.panCounter_MouseHover);
+ //
+ // picIconCounter
+ //
+ this.picIconCounter.BackColor = System.Drawing.Color.Transparent;
+ this.picIconCounter.BackgroundImage = global::Casic.Birmm.RbFreqStandMeasure.Properties.Resources.icon_counter;
+ this.picIconCounter.BackgroundImageLayout = System.Windows.Forms.ImageLayout.Zoom;
+ this.picIconCounter.Location = new System.Drawing.Point(10, 14);
+ this.picIconCounter.Name = "picIconCounter";
+ this.picIconCounter.Size = new System.Drawing.Size(20, 20);
+ this.picIconCounter.TabIndex = 1;
+ this.picIconCounter.TabStop = false;
+ this.picIconCounter.Click += new System.EventHandler(this.panCounter_Click);
+ this.picIconCounter.MouseLeave += new System.EventHandler(this.panCounter_MouseLeave);
+ this.picIconCounter.MouseHover += new System.EventHandler(this.panCounter_MouseHover);
+ //
+ // panelMain
+ //
+ this.panelMain.Location = new System.Drawing.Point(0, 114);
+ this.panelMain.Name = "panelMain";
+ this.panelMain.Size = new System.Drawing.Size(1024, 654);
+ this.panelMain.TabIndex = 2;
+ //
// RbFreqStdMeas
//
this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 12F);
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
this.ClientSize = new System.Drawing.Size(1024, 768);
+ this.Controls.Add(this.panelMain);
this.Controls.Add(this.panMenu);
this.Controls.Add(this.penBanner);
this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.None;
@@ -221,11 +560,21 @@
this.Text = "RbFreqStdMeas";
this.Load += new System.EventHandler(this.RbFreqStdMeas_Load);
this.panMenu.ResumeLayout(false);
+ this.penBanner.ResumeLayout(false);
+ this.panDev.ResumeLayout(false);
+ ((System.ComponentModel.ISupportInitialize)(this.picIconDev)).EndInit();
+ this.panSetting.ResumeLayout(false);
+ ((System.ComponentModel.ISupportInitialize)(this.picIconSetting)).EndInit();
this.panStatus.ResumeLayout(false);
((System.ComponentModel.ISupportInitialize)(this.picIconStatus)).EndInit();
+ this.panData.ResumeLayout(false);
+ ((System.ComponentModel.ISupportInitialize)(this.picIconData)).EndInit();
this.panHome.ResumeLayout(false);
((System.ComponentModel.ISupportInitialize)(this.picIconHome)).EndInit();
- this.penBanner.ResumeLayout(false);
+ this.panMeasure.ResumeLayout(false);
+ ((System.ComponentModel.ISupportInitialize)(this.picIconMeasure)).EndInit();
+ this.panCounter.ResumeLayout(false);
+ ((System.ComponentModel.ISupportInitialize)(this.picIconCounter)).EndInit();
this.ResumeLayout(false);
}
@@ -244,5 +593,27 @@
private RoundPanel panStatus;
private RoundPanel panHome;
private System.Windows.Forms.Label labStatusSelected;
+ private RoundPanel panDev;
+ private System.Windows.Forms.PictureBox picIconDev;
+ private System.Windows.Forms.Label labDevText;
+ private System.Windows.Forms.Label labMeasureSelected;
+ private RoundPanel panCounter;
+ private System.Windows.Forms.Label labCounterText;
+ private System.Windows.Forms.PictureBox picIconCounter;
+ private RoundPanel panMeasure;
+ private System.Windows.Forms.Label labMeasureText;
+ private System.Windows.Forms.PictureBox picIconMeasure;
+ private RoundPanel panData;
+ private System.Windows.Forms.Label labDataText;
+ private System.Windows.Forms.PictureBox picIconData;
+ private RoundPanel panSetting;
+ private System.Windows.Forms.Label labSettingText;
+ private System.Windows.Forms.PictureBox picIconSetting;
+ private System.Windows.Forms.Label labCounterSelected;
+ private System.Windows.Forms.Label labDevSelected;
+ private System.Windows.Forms.Label labDataSelected;
+ private System.Windows.Forms.Label labSettingSelected;
+ private System.Windows.Forms.Button btnMinSys;
+ private System.Windows.Forms.Panel panelMain;
}
}
\ No newline at end of file
diff --git a/RbFreqStandMeasure/RbFreqStdMeas.cs b/RbFreqStandMeasure/RbFreqStdMeas.cs
index 3858ddb..af980d7 100644
--- a/RbFreqStandMeasure/RbFreqStdMeas.cs
+++ b/RbFreqStandMeasure/RbFreqStdMeas.cs
@@ -1,13 +1,9 @@
-using Casic.Birmm.RbFreqStandMeasure.Properties;
+using Casic.Birmm.RbFreqStandMeasure.info;
+using Casic.Birmm.RbFreqStandMeasure.Properties;
+using Casic.Birmm.RbFreqStandMeasure.setting;
using System;
-using System.Collections.Generic;
-using System.ComponentModel;
-using System.Data;
using System.Drawing;
-using System.Linq;
-using System.Resources;
using System.Runtime.InteropServices;
-using System.Text;
using System.Windows.Forms;
namespace Casic.Birmm.RbFreqStandMeasure
@@ -15,7 +11,7 @@
public partial class RbFreqStdMeas : Form
{
- #region 无边框拖动效果
+ #region 无边框拖动效果/最小化窗口/关闭窗口
[DllImport("user32.dll")]//拖动无窗体的控件
public static extern bool ReleaseCapture();
[DllImport("user32.dll")]
@@ -30,9 +26,29 @@
ReleaseCapture();
SendMessage(this.Handle, WM_SYSCOMMAND, SC_MOVE + HTCAPTION, 0);
}
+ private void btnExitSys_Click(object sender, EventArgs e)
+ {
+ Application.Exit();
+ }
+ private void btnMinSys_Click(object sender, EventArgs e)
+ {
+ this.WindowState = FormWindowState.Minimized;
+ }
+ private void btnExitSys_MouseHover(object sender, EventArgs e)
+ {
+ ToolTip p = new ToolTip();
+ p.ShowAlways = true;
+ p.SetToolTip(this.btnExitSys, "退出");
+ }
+ private void btnMinSys_MouseHover(object sender, EventArgs e)
+ {
+ ToolTip p = new ToolTip();
+ p.ShowAlways = true;
+ p.SetToolTip(this.btnMinSys, "最小化");
+ }
#endregion
- private bool[] menuSelected = { true, false };
+ private bool[] menuSelected = { true, false, false, false, false, false, false };
// 按钮图标
private PictureBox[] menuPics;
// 按钮图标的资源名称(选中的资源名称在后面加上 _selected)
@@ -57,7 +73,7 @@
// 将当前按钮的效果设置为默认未选中
this.menuPics[index].BackgroundImage = (Bitmap)Resources.ResourceManager.GetObject(this.menuIconResources[index], null);
- this.menuLabels[index].ForeColor = ColorTranslator.FromHtml("#2C2C2C");
+ this.menuLabels[index].ForeColor = ColorTranslator.FromHtml("#333333");
this.menuUnderlines[index].BackColor = Color.Transparent;
}
@@ -79,13 +95,15 @@
LeaveHome();
// 重新设置所有按钮的状态
- this.menuSelected = new bool[] { true, false };
+ this.menuSelected = new bool[] { true, false, false, false, false, false, false };
// 将新选中的按钮设置为选中
this.picIconHome.BackgroundImage = (Bitmap)Resources.ResourceManager.GetObject("icon_home_selected", null);
- this.labHomeText.ForeColor = ColorTranslator.FromHtml("#1296db");
- this.labHomeSelected.BackColor = ColorTranslator.FromHtml("#1296db");
+ this.labHomeText.ForeColor = ColorTranslator.FromHtml("#3f84d7");
+ this.labHomeSelected.BackColor = ColorTranslator.FromHtml("#3f84d7");
+ // 切换至首页
+ switchMainPanel(0);
}
#endregion
@@ -107,12 +125,163 @@
LeaveStatus();
// 重新设置所有按钮的状态
- this.menuSelected = new bool[] { false, true };
+ this.menuSelected = new bool[] { false, true, false, false, false, false, false };
// 将新选中的按钮设置为选中
this.picIconStatus.BackgroundImage = (Bitmap) Resources.ResourceManager.GetObject("icon_status_selected", null);
- this.labStatusText.ForeColor = ColorTranslator.FromHtml("#1296db");
- this.labStatusSelected.BackColor = ColorTranslator.FromHtml("#1296db");
+ this.labStatusText.ForeColor = ColorTranslator.FromHtml("#3f84d7");
+ this.labStatusSelected.BackColor = ColorTranslator.FromHtml("#3f84d7");
+
+ // 切换到基准状态页面
+ switchMainPanel(1);
+ }
+ #endregion
+
+ #region 送检仪器按钮点击、移入/移出效果
+ private void HoverDev()
+ {
+ panDev.Back = ColorTranslator.FromHtml("#56a3f2");
+ }
+ private void LeaveDev()
+ {
+ panDev.Back = Color.Transparent;
+ }
+ private void SelectDev()
+ {
+ // 移除所有按钮的选中样式
+ this.ClearAllMenuSelected();
+
+ // 鼠标移入效果去掉
+ LeaveDev();
+
+ // 重新设置所有按钮的状态
+ this.menuSelected = new bool[] { false, false, true, false, false ,false ,false };
+
+ // 将新选中的按钮设置为选中
+ this.picIconDev.BackgroundImage = (Bitmap)Resources.ResourceManager.GetObject("icon_dev_selected", null);
+ this.labDevText.ForeColor = ColorTranslator.FromHtml("#3f84d7");
+ this.labDevSelected.BackColor = ColorTranslator.FromHtml("#3f84d7");
+
+ // 切换至待检仪器管理
+ switchMainPanel(2);
+ }
+ #endregion
+
+ #region 频率计数器测量点击、移入/移出效果
+ private void HoverCounter()
+ {
+ panCounter.Back = ColorTranslator.FromHtml("#56a3f2");
+ }
+ private void LeaveCounter()
+ {
+ panCounter.Back = Color.Transparent;
+ }
+ private void SelectCounter()
+ {
+ // 移除所有按钮的选中样式
+ this.ClearAllMenuSelected();
+
+ // 鼠标移入效果去掉
+ LeaveCounter();
+
+ // 重新设置所有按钮的状态
+ this.menuSelected = new bool[] { false, false, false, true, false, false, false };
+
+ // 将新选中的按钮设置为选中
+ this.picIconCounter.BackgroundImage = (Bitmap)Resources.ResourceManager.GetObject("icon_counter_selected", null);
+ this.labCounterText.ForeColor = ColorTranslator.FromHtml("#3f84d7");
+ this.labCounterSelected.BackColor = ColorTranslator.FromHtml("#3f84d7");
+ }
+ #endregion
+
+ #region 计量管理点击、移入/移出效果
+ private void HoverMeasure()
+ {
+ panMeasure.Back = ColorTranslator.FromHtml("#56a3f2");
+ }
+ private void LeaveMeasure()
+ {
+ panMeasure.Back = Color.Transparent;
+ }
+ private void SelectMeasure()
+ {
+ // 移除所有按钮的选中样式
+ this.ClearAllMenuSelected();
+
+ // 鼠标移入效果去掉
+ LeaveMeasure();
+
+ // 重新设置所有按钮的状态
+ this.menuSelected = new bool[] { false, false, false, false, true, false, false };
+
+ // 将新选中的按钮设置为选中
+ this.picIconMeasure.BackgroundImage = (Bitmap)Resources.ResourceManager.GetObject("icon_measure_selected", null);
+ this.labMeasureText.ForeColor = ColorTranslator.FromHtml("#3f84d7");
+ this.labMeasureSelected.BackColor = ColorTranslator.FromHtml("#3f84d7");
+
+ // 切换至计量信息管理
+ switchMainPanel(4);
+ }
+ #endregion
+
+ #region 数据管理点击、移入/移出效果
+ private void HoverData()
+ {
+ panData.Back = ColorTranslator.FromHtml("#56a3f2");
+ }
+ private void LeaveData()
+ {
+ panData.Back = Color.Transparent;
+ }
+ private void SelectData()
+ {
+ // 移除所有按钮的选中样式
+ this.ClearAllMenuSelected();
+
+ // 鼠标移入效果去掉
+ LeaveData();
+
+ // 重新设置所有按钮的状态
+ this.menuSelected = new bool[] { false, false, false, false, false, true, false };
+
+ // 将新选中的按钮设置为选中
+ this.picIconData.BackgroundImage = (Bitmap)Resources.ResourceManager.GetObject("icon_data_selected", null);
+ this.labDataText.ForeColor = ColorTranslator.FromHtml("#3f84d7");
+ this.labDataSelected.BackColor = ColorTranslator.FromHtml("#3f84d7");
+
+ // 弹出对话框进行数据备份与还原操作
+ DataBackupDlg dataDlg = new DataBackupDlg();
+ dataDlg.ShowDialog();
+ }
+ #endregion
+
+ #region 系统管理点击、移入/移出效果
+ private void HoverSetting()
+ {
+ panSetting.Back = ColorTranslator.FromHtml("#56a3f2");
+ }
+ private void LeaveSetting()
+ {
+ panSetting.Back = Color.Transparent;
+ }
+ private void SelectSetting()
+ {
+ // 移除所有按钮的选中样式
+ this.ClearAllMenuSelected();
+
+ // 鼠标移入效果去掉
+ LeaveSetting();
+
+ // 重新设置所有按钮的状态
+ this.menuSelected = new bool[] { false, false, false, false, false, false, true };
+
+ // 将新选中的按钮设置为选中
+ this.picIconSetting.BackgroundImage = (Bitmap)Resources.ResourceManager.GetObject("icon_setting_selected", null);
+ this.labSettingText.ForeColor = ColorTranslator.FromHtml("#3f84d7");
+ this.labSettingSelected.BackColor = ColorTranslator.FromHtml("#3f84d7");
+
+ // 切换到设置的界面
+ switchMainPanel(6);
}
#endregion
@@ -123,22 +292,13 @@
private void RbFreqStdMeas_Load(object sender, EventArgs e)
{
- this.menuPics = new PictureBox[] { this.picIconHome, this.picIconStatus };
- this.menuLabels = new Label[] { this.labHomeText, this.labStatusText };
- this.menuUnderlines = new Label[] { this.labHomeSelected, this.labStatusSelected };
- this.menuIconResources = new string[] { "icon_home", "icon_status" };
- }
+ this.menuPics = new PictureBox[] { this.picIconHome, this.picIconStatus, this.picIconDev, this.picIconCounter, this.picIconMeasure, this.picIconData, this.picIconSetting };
+ this.menuLabels = new Label[] { this.labHomeText, this.labStatusText, this.labDevText, this.labCounterText, this.labMeasureText, this.labDataText, this.labSettingText };
+ this.menuUnderlines = new Label[] { this.labHomeSelected, this.labStatusSelected, this.labDevSelected, this.labCounterSelected, this.labMeasureSelected, this.labDataSelected, this.labSettingSelected };
+ this.menuIconResources = new string[] { "icon_home", "icon_status", "icon_dev", "icon_counter", "icon_measure", "icon_data", "icon_setting" };
- private void btnExitSys_Click(object sender, EventArgs e)
- {
- Application.Exit();
- }
-
- private void btnExitSys_MouseHover(object sender, EventArgs e)
- {
- ToolTip p = new ToolTip();
- p.ShowAlways = true;
- p.SetToolTip(this.btnExitSys, "退出");
+ // 加载首页的内容
+ switchMainPanel(0);
}
private void panHome_Click(object sender, EventArgs e)
@@ -191,5 +351,169 @@
LeaveStatus();
}
}
+
+ private void panDev_Click(object sender, EventArgs e)
+ {
+ if (this.menuSelected[2] == false)
+ {
+ SelectDev();
+ }
+ }
+
+ private void panDev_MouseHover(object sender, EventArgs e)
+ {
+ if (this.menuSelected[2] == false)
+ {
+ HoverDev();
+ }
+ }
+
+ private void panDev_MouseLeave(object sender, EventArgs e)
+ {
+ if (this.menuSelected[2] == false)
+ {
+ LeaveDev();
+ }
+ }
+
+ private void panCounter_Click(object sender, EventArgs e)
+ {
+ if (this.menuSelected[3] == false)
+ {
+ SelectCounter();
+ }
+ }
+
+ private void panCounter_MouseHover(object sender, EventArgs e)
+ {
+ if (this.menuSelected[3] == false)
+ {
+ HoverCounter();
+ }
+ }
+
+ private void panCounter_MouseLeave(object sender, EventArgs e)
+ {
+ if (this.menuSelected[3] == false)
+ {
+ LeaveCounter();
+ }
+ }
+
+ private void panMeasure_Click(object sender, EventArgs e)
+ {
+ if (this.menuSelected[4] == false)
+ {
+ SelectMeasure();
+ }
+ }
+
+ private void panMeasure_MouseHover(object sender, EventArgs e)
+ {
+ if (this.menuSelected[4] == false)
+ {
+ HoverMeasure();
+ }
+ }
+
+ private void panMeasure_MouseLeave(object sender, EventArgs e)
+ {
+ if (this.menuSelected[4] == false)
+ {
+ LeaveMeasure();
+ }
+ }
+
+ private void panData_Click(object sender, EventArgs e)
+ {
+ if (this.menuSelected[5] == false)
+ {
+ SelectData();
+ }
+ }
+
+ private void panData_MouseHover(object sender, EventArgs e)
+ {
+ if (this.menuSelected[5] == false)
+ {
+ HoverData();
+ }
+ }
+
+ private void panData_MouseLeave(object sender, EventArgs e)
+ {
+ if (this.menuSelected[5] == false)
+ {
+ LeaveData();
+ }
+ }
+
+ private void panSetting_Click(object sender, EventArgs e)
+ {
+ if (this.menuSelected[6] == false)
+ {
+ SelectSetting();
+ }
+ }
+
+ private void panSetting_MouseHover(object sender, EventArgs e)
+ {
+ if (this.menuSelected[6] == false)
+ {
+ HoverSetting();
+ }
+ }
+
+ private void panSetting_MouseLeave(object sender, EventArgs e)
+ {
+ if (this.menuSelected[6] == false)
+ {
+ LeaveSetting();
+ }
+ }
+
+ private void switchMainPanel(int index)
+ {
+ this.panelMain.Controls.Clear();
+
+ switch (index)
+ {
+ case 0: // 首页
+ HomeCtrlForm home = new HomeCtrlForm();
+ home.Show();
+ this.panelMain.Controls.Add(home);
+ break;
+
+ case 1: // 基准状态
+ StatusCtrlForm statusForm = new StatusCtrlForm();
+ statusForm.Show();
+ this.panelMain.Controls.Add(statusForm);
+ break;
+
+ case 2: // 待检设备
+ InfoCtrlForm infoForm = new InfoCtrlForm();
+ infoForm.Show();
+ this.panelMain.Controls.Add(infoForm);
+ break;
+
+ case 3: // 频率计数器范围
+ break;
+
+ case 4: // 计量信息
+ DevTestedCtrlForm tested = new DevTestedCtrlForm();
+ tested.Show();
+ this.panelMain.Controls.Add(tested);
+ break;
+
+ case 6: // 设置
+ SettingCtrlForm settingForm = new SettingCtrlForm();
+ settingForm.Show();
+ this.panelMain.Controls.Add(settingForm);
+ break;
+
+ default:
+ break;
+ }
+ }
}
}
\ No newline at end of file
diff --git a/RbFreqStandMeasure/StatusCtrlForm.Designer.cs b/RbFreqStandMeasure/StatusCtrlForm.Designer.cs
index bf5071a..b4151fd 100644
--- a/RbFreqStandMeasure/StatusCtrlForm.Designer.cs
+++ b/RbFreqStandMeasure/StatusCtrlForm.Designer.cs
@@ -31,21 +31,34 @@
{
this.panelSite = new System.Windows.Forms.Panel();
this.label5 = new System.Windows.Forms.Label();
- this.panelStatus = new System.Windows.Forms.Panel();
+ this.panel3 = new System.Windows.Forms.Panel();
+ this.label8 = new System.Windows.Forms.Label();
+ this.label13 = new System.Windows.Forms.Label();
+ this.label12 = new System.Windows.Forms.Label();
+ this.label11 = new System.Windows.Forms.Label();
+ this.label9 = new System.Windows.Forms.Label();
+ this.label10 = new System.Windows.Forms.Label();
+ this.panel2 = new System.Windows.Forms.Panel();
this.label4 = new System.Windows.Forms.Label();
+ this.label7 = new System.Windows.Forms.Label();
+ this.label6 = new System.Windows.Forms.Label();
+ this.label1 = new System.Windows.Forms.Label();
+ this.panel1 = new System.Windows.Forms.Panel();
this.label3 = new System.Windows.Forms.Label();
this.label2 = new System.Windows.Forms.Label();
- this.label1 = new System.Windows.Forms.Label();
+ this.label14 = new System.Windows.Forms.Label();
this.panelSite.SuspendLayout();
- this.panelStatus.SuspendLayout();
+ this.panel3.SuspendLayout();
+ this.panel2.SuspendLayout();
+ this.panel1.SuspendLayout();
this.SuspendLayout();
//
// panelSite
//
this.panelSite.Controls.Add(this.label5);
- this.panelSite.Location = new System.Drawing.Point(200, 0);
+ this.panelSite.Location = new System.Drawing.Point(232, 0);
this.panelSite.Name = "panelSite";
- this.panelSite.Size = new System.Drawing.Size(800, 640);
+ this.panelSite.Size = new System.Drawing.Size(773, 640);
this.panelSite.TabIndex = 3;
//
// label5
@@ -57,67 +70,208 @@
this.label5.TabIndex = 0;
this.label5.Text = "卫星位置图";
//
- // panelStatus
+ // panel3
//
- this.panelStatus.BackColor = System.Drawing.SystemColors.Window;
- this.panelStatus.Controls.Add(this.label4);
- this.panelStatus.Controls.Add(this.label3);
- this.panelStatus.Controls.Add(this.label2);
- this.panelStatus.Controls.Add(this.label1);
- this.panelStatus.Location = new System.Drawing.Point(0, 0);
- this.panelStatus.Name = "panelStatus";
- this.panelStatus.Size = new System.Drawing.Size(200, 640);
- this.panelStatus.TabIndex = 2;
+ this.panel3.BackgroundImage = global::Casic.Birmm.RbFreqStandMeasure.Properties.Resources.bg_status_location;
+ this.panel3.Controls.Add(this.label8);
+ this.panel3.Controls.Add(this.label13);
+ this.panel3.Controls.Add(this.label12);
+ this.panel3.Controls.Add(this.label11);
+ this.panel3.Controls.Add(this.label9);
+ this.panel3.Controls.Add(this.label10);
+ this.panel3.Location = new System.Drawing.Point(6, 360);
+ this.panel3.Name = "panel3";
+ this.panel3.Size = new System.Drawing.Size(224, 293);
+ this.panel3.TabIndex = 6;
+ //
+ // label8
+ //
+ this.label8.BackColor = System.Drawing.Color.Transparent;
+ this.label8.Font = new System.Drawing.Font("微软雅黑", 14F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Pixel, ((byte)(134)));
+ this.label8.Location = new System.Drawing.Point(0, 20);
+ this.label8.Name = "label8";
+ this.label8.Size = new System.Drawing.Size(224, 25);
+ this.label8.TabIndex = 0;
+ this.label8.Text = "位置信息";
+ this.label8.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
+ //
+ // label13
+ //
+ this.label13.BackColor = System.Drawing.Color.Transparent;
+ this.label13.Font = new System.Drawing.Font("微软雅黑", 14F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Pixel, ((byte)(134)));
+ this.label13.Location = new System.Drawing.Point(0, 220);
+ this.label13.Margin = new System.Windows.Forms.Padding(0);
+ this.label13.Name = "label13";
+ this.label13.Size = new System.Drawing.Size(75, 25);
+ this.label13.TabIndex = 1;
+ this.label13.Text = "Z";
+ this.label13.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
+ //
+ // label12
+ //
+ this.label12.BackColor = System.Drawing.Color.Transparent;
+ this.label12.Font = new System.Drawing.Font("微软雅黑", 14F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Pixel, ((byte)(134)));
+ this.label12.Location = new System.Drawing.Point(0, 180);
+ this.label12.Margin = new System.Windows.Forms.Padding(0);
+ this.label12.Name = "label12";
+ this.label12.Size = new System.Drawing.Size(75, 25);
+ this.label12.TabIndex = 1;
+ this.label12.Text = "Y";
+ this.label12.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
+ //
+ // label11
+ //
+ this.label11.BackColor = System.Drawing.Color.Transparent;
+ this.label11.Font = new System.Drawing.Font("微软雅黑", 14F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Pixel, ((byte)(134)));
+ this.label11.Location = new System.Drawing.Point(0, 140);
+ this.label11.Margin = new System.Windows.Forms.Padding(0);
+ this.label11.Name = "label11";
+ this.label11.Size = new System.Drawing.Size(75, 25);
+ this.label11.TabIndex = 1;
+ this.label11.Text = "X";
+ this.label11.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
+ //
+ // label9
+ //
+ this.label9.BackColor = System.Drawing.Color.Transparent;
+ this.label9.Font = new System.Drawing.Font("微软雅黑", 14F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Pixel, ((byte)(134)));
+ this.label9.Location = new System.Drawing.Point(0, 60);
+ this.label9.Name = "label9";
+ this.label9.Size = new System.Drawing.Size(75, 25);
+ this.label9.TabIndex = 1;
+ this.label9.Text = "经度";
+ this.label9.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
+ //
+ // label10
+ //
+ this.label10.BackColor = System.Drawing.Color.Transparent;
+ this.label10.Font = new System.Drawing.Font("微软雅黑", 14F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Pixel, ((byte)(134)));
+ this.label10.Location = new System.Drawing.Point(0, 100);
+ this.label10.Margin = new System.Windows.Forms.Padding(0);
+ this.label10.Name = "label10";
+ this.label10.Size = new System.Drawing.Size(75, 25);
+ this.label10.TabIndex = 1;
+ this.label10.Text = "纬度";
+ this.label10.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
+ //
+ // panel2
+ //
+ this.panel2.BackgroundImage = global::Casic.Birmm.RbFreqStandMeasure.Properties.Resources.bg_status_time;
+ this.panel2.Controls.Add(this.label4);
+ this.panel2.Controls.Add(this.label7);
+ this.panel2.Controls.Add(this.label6);
+ this.panel2.Controls.Add(this.label1);
+ this.panel2.Location = new System.Drawing.Point(6, 160);
+ this.panel2.Name = "panel2";
+ this.panel2.Size = new System.Drawing.Size(224, 200);
+ this.panel2.TabIndex = 5;
//
// label4
//
- this.label4.AutoSize = true;
- this.label4.Location = new System.Drawing.Point(59, 185);
+ this.label4.BackColor = System.Drawing.Color.Transparent;
+ this.label4.Font = new System.Drawing.Font("微软雅黑", 14F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Pixel, ((byte)(134)));
+ this.label4.Location = new System.Drawing.Point(0, 20);
this.label4.Name = "label4";
- this.label4.Size = new System.Drawing.Size(53, 12);
+ this.label4.Size = new System.Drawing.Size(224, 25);
this.label4.TabIndex = 0;
- this.label4.Text = "事件信息";
+ this.label4.Text = "时间信息";
+ this.label4.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
//
- // label3
+ // label7
//
- this.label3.AutoSize = true;
- this.label3.Location = new System.Drawing.Point(59, 139);
- this.label3.Name = "label3";
- this.label3.Size = new System.Drawing.Size(53, 12);
- this.label3.TabIndex = 0;
- this.label3.Text = "位置信息";
+ this.label7.BackColor = System.Drawing.Color.Transparent;
+ this.label7.Font = new System.Drawing.Font("微软雅黑", 14F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Pixel, ((byte)(134)));
+ this.label7.Location = new System.Drawing.Point(0, 140);
+ this.label7.Margin = new System.Windows.Forms.Padding(0);
+ this.label7.Name = "label7";
+ this.label7.Size = new System.Drawing.Size(75, 25);
+ this.label7.TabIndex = 1;
+ this.label7.Text = "MJD";
+ this.label7.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
//
- // label2
+ // label6
//
- this.label2.AutoSize = true;
- this.label2.Location = new System.Drawing.Point(59, 98);
- this.label2.Name = "label2";
- this.label2.Size = new System.Drawing.Size(53, 12);
- this.label2.TabIndex = 0;
- this.label2.Text = "锁定状态";
+ this.label6.BackColor = System.Drawing.Color.Transparent;
+ this.label6.Font = new System.Drawing.Font("微软雅黑", 14F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Pixel, ((byte)(134)));
+ this.label6.Location = new System.Drawing.Point(0, 100);
+ this.label6.Name = "label6";
+ this.label6.Size = new System.Drawing.Size(75, 25);
+ this.label6.TabIndex = 1;
+ this.label6.Text = "时间";
+ this.label6.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
//
// label1
//
- this.label1.AutoSize = true;
- this.label1.Location = new System.Drawing.Point(33, 53);
+ this.label1.BackColor = System.Drawing.Color.Transparent;
+ this.label1.Font = new System.Drawing.Font("微软雅黑", 14F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Pixel, ((byte)(134)));
+ this.label1.Location = new System.Drawing.Point(0, 60);
this.label1.Name = "label1";
- this.label1.Size = new System.Drawing.Size(29, 12);
- this.label1.TabIndex = 0;
- this.label1.Text = "状态";
+ this.label1.Size = new System.Drawing.Size(75, 25);
+ this.label1.TabIndex = 1;
+ this.label1.Text = "日期";
+ this.label1.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
+ //
+ // panel1
+ //
+ this.panel1.BackgroundImage = global::Casic.Birmm.RbFreqStandMeasure.Properties.Resources.bg_status_base;
+ this.panel1.Controls.Add(this.label3);
+ this.panel1.Controls.Add(this.label2);
+ this.panel1.Controls.Add(this.label14);
+ this.panel1.Location = new System.Drawing.Point(6, 0);
+ this.panel1.Margin = new System.Windows.Forms.Padding(0);
+ this.panel1.Name = "panel1";
+ this.panel1.Size = new System.Drawing.Size(224, 160);
+ this.panel1.TabIndex = 4;
+ //
+ // label3
+ //
+ this.label3.BackColor = System.Drawing.Color.Transparent;
+ this.label3.Font = new System.Drawing.Font("微软雅黑", 14F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Pixel, ((byte)(134)));
+ this.label3.Location = new System.Drawing.Point(0, 100);
+ this.label3.Name = "label3";
+ this.label3.Size = new System.Drawing.Size(75, 25);
+ this.label3.TabIndex = 1;
+ this.label3.Text = "接收机";
+ this.label3.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
+ //
+ // label2
+ //
+ this.label2.BackColor = System.Drawing.Color.Transparent;
+ this.label2.Font = new System.Drawing.Font("微软雅黑", 14F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Pixel, ((byte)(134)));
+ this.label2.Location = new System.Drawing.Point(0, 60);
+ this.label2.Name = "label2";
+ this.label2.Size = new System.Drawing.Size(75, 25);
+ this.label2.TabIndex = 1;
+ this.label2.Text = "原子钟";
+ this.label2.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
+ //
+ // label14
+ //
+ this.label14.BackColor = System.Drawing.Color.Transparent;
+ this.label14.Font = new System.Drawing.Font("微软雅黑", 14F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Pixel, ((byte)(134)));
+ this.label14.Location = new System.Drawing.Point(0, 20);
+ this.label14.Name = "label14";
+ this.label14.Size = new System.Drawing.Size(224, 25);
+ this.label14.TabIndex = 0;
+ this.label14.Text = "基本信息";
+ this.label14.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
//
// StatusCtrlForm
//
this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 12F);
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
+ this.Controls.Add(this.panel3);
+ this.Controls.Add(this.panel2);
+ this.Controls.Add(this.panel1);
this.Controls.Add(this.panelSite);
- this.Controls.Add(this.panelStatus);
this.Margin = new System.Windows.Forms.Padding(10);
this.Name = "StatusCtrlForm";
- this.Size = new System.Drawing.Size(1000, 640);
+ this.Size = new System.Drawing.Size(1024, 654);
this.panelSite.ResumeLayout(false);
this.panelSite.PerformLayout();
- this.panelStatus.ResumeLayout(false);
- this.panelStatus.PerformLayout();
+ this.panel3.ResumeLayout(false);
+ this.panel2.ResumeLayout(false);
+ this.panel1.ResumeLayout(false);
this.ResumeLayout(false);
}
@@ -126,10 +280,21 @@
private System.Windows.Forms.Panel panelSite;
private System.Windows.Forms.Label label5;
- private System.Windows.Forms.Panel panelStatus;
+ private System.Windows.Forms.Panel panel3;
+ private System.Windows.Forms.Label label8;
+ private System.Windows.Forms.Label label13;
+ private System.Windows.Forms.Label label12;
+ private System.Windows.Forms.Label label11;
+ private System.Windows.Forms.Label label9;
+ private System.Windows.Forms.Label label10;
+ private System.Windows.Forms.Panel panel2;
private System.Windows.Forms.Label label4;
+ private System.Windows.Forms.Label label7;
+ private System.Windows.Forms.Label label6;
+ private System.Windows.Forms.Label label1;
+ private System.Windows.Forms.Panel panel1;
private System.Windows.Forms.Label label3;
private System.Windows.Forms.Label label2;
- private System.Windows.Forms.Label label1;
+ private System.Windows.Forms.Label label14;
}
}
diff --git a/RbFreqStandMeasure/res/images/bg_banner.png b/RbFreqStandMeasure/res/images/bg_banner.png
index d795b7d..3119070 100644
--- a/RbFreqStandMeasure/res/images/bg_banner.png
+++ b/RbFreqStandMeasure/res/images/bg_banner.png
Binary files differ
diff --git a/RbFreqStandMeasure/res/images/bg_dev_channel.png b/RbFreqStandMeasure/res/images/bg_dev_channel.png
new file mode 100644
index 0000000..7bac7ce
--- /dev/null
+++ b/RbFreqStandMeasure/res/images/bg_dev_channel.png
Binary files differ
diff --git a/RbFreqStandMeasure/res/images/bg_dev_tested.png b/RbFreqStandMeasure/res/images/bg_dev_tested.png
new file mode 100644
index 0000000..0b43ead
--- /dev/null
+++ b/RbFreqStandMeasure/res/images/bg_dev_tested.png
Binary files differ
diff --git a/RbFreqStandMeasure/res/images/bg_status_base.png b/RbFreqStandMeasure/res/images/bg_status_base.png
new file mode 100644
index 0000000..ef11397
--- /dev/null
+++ b/RbFreqStandMeasure/res/images/bg_status_base.png
Binary files differ
diff --git a/RbFreqStandMeasure/res/images/bg_status_location.png b/RbFreqStandMeasure/res/images/bg_status_location.png
new file mode 100644
index 0000000..64d28d5
--- /dev/null
+++ b/RbFreqStandMeasure/res/images/bg_status_location.png
Binary files differ
diff --git a/RbFreqStandMeasure/res/images/bg_status_time.png b/RbFreqStandMeasure/res/images/bg_status_time.png
new file mode 100644
index 0000000..eec981a
--- /dev/null
+++ b/RbFreqStandMeasure/res/images/bg_status_time.png
Binary files differ
diff --git a/RbFreqStandMeasure/res/images/icon_counter.png b/RbFreqStandMeasure/res/images/icon_counter.png
new file mode 100644
index 0000000..060c3d7
--- /dev/null
+++ b/RbFreqStandMeasure/res/images/icon_counter.png
Binary files differ
diff --git a/RbFreqStandMeasure/res/images/icon_counter_selected.png b/RbFreqStandMeasure/res/images/icon_counter_selected.png
new file mode 100644
index 0000000..45c7720
--- /dev/null
+++ b/RbFreqStandMeasure/res/images/icon_counter_selected.png
Binary files differ
diff --git a/RbFreqStandMeasure/res/images/icon_data.png b/RbFreqStandMeasure/res/images/icon_data.png
new file mode 100644
index 0000000..bf03575
--- /dev/null
+++ b/RbFreqStandMeasure/res/images/icon_data.png
Binary files differ
diff --git a/RbFreqStandMeasure/res/images/icon_data_selected.png b/RbFreqStandMeasure/res/images/icon_data_selected.png
new file mode 100644
index 0000000..a8aa441
--- /dev/null
+++ b/RbFreqStandMeasure/res/images/icon_data_selected.png
Binary files differ
diff --git a/RbFreqStandMeasure/res/images/icon_dev.png b/RbFreqStandMeasure/res/images/icon_dev.png
new file mode 100644
index 0000000..09bf380
--- /dev/null
+++ b/RbFreqStandMeasure/res/images/icon_dev.png
Binary files differ
diff --git a/RbFreqStandMeasure/res/images/icon_dev_selected.png b/RbFreqStandMeasure/res/images/icon_dev_selected.png
new file mode 100644
index 0000000..63a8b7c
--- /dev/null
+++ b/RbFreqStandMeasure/res/images/icon_dev_selected.png
Binary files differ
diff --git a/RbFreqStandMeasure/res/images/icon_exit.png b/RbFreqStandMeasure/res/images/icon_exit.png
index 997b9e9..a03e429 100644
--- a/RbFreqStandMeasure/res/images/icon_exit.png
+++ b/RbFreqStandMeasure/res/images/icon_exit.png
Binary files differ
diff --git a/RbFreqStandMeasure/res/images/icon_home.png b/RbFreqStandMeasure/res/images/icon_home.png
index f200f25..6409b89 100644
--- a/RbFreqStandMeasure/res/images/icon_home.png
+++ b/RbFreqStandMeasure/res/images/icon_home.png
Binary files differ
diff --git a/RbFreqStandMeasure/res/images/icon_home_selected.png b/RbFreqStandMeasure/res/images/icon_home_selected.png
index 7a4feb4..cfbf470 100644
--- a/RbFreqStandMeasure/res/images/icon_home_selected.png
+++ b/RbFreqStandMeasure/res/images/icon_home_selected.png
Binary files differ
diff --git a/RbFreqStandMeasure/res/images/icon_measure.png b/RbFreqStandMeasure/res/images/icon_measure.png
new file mode 100644
index 0000000..d9bd039
--- /dev/null
+++ b/RbFreqStandMeasure/res/images/icon_measure.png
Binary files differ
diff --git a/RbFreqStandMeasure/res/images/icon_measure_selected.png b/RbFreqStandMeasure/res/images/icon_measure_selected.png
new file mode 100644
index 0000000..e4186d0
--- /dev/null
+++ b/RbFreqStandMeasure/res/images/icon_measure_selected.png
Binary files differ
diff --git a/RbFreqStandMeasure/res/images/icon_min.png b/RbFreqStandMeasure/res/images/icon_min.png
new file mode 100644
index 0000000..af53b4d
--- /dev/null
+++ b/RbFreqStandMeasure/res/images/icon_min.png
Binary files differ
diff --git a/RbFreqStandMeasure/HomeCtrlForm.Designer.cs b/RbFreqStandMeasure/HomeCtrlForm.Designer.cs
index fb515f8..73e477a 100644
--- a/RbFreqStandMeasure/HomeCtrlForm.Designer.cs
+++ b/RbFreqStandMeasure/HomeCtrlForm.Designer.cs
@@ -29,589 +29,271 @@
///
private void InitializeComponent()
{
- System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle1 = new System.Windows.Forms.DataGridViewCellStyle();
- System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle2 = new System.Windows.Forms.DataGridViewCellStyle();
- this.panelToBeTested = new System.Windows.Forms.Panel();
- this.dataGridViewX1 = new DevComponents.DotNetBar.Controls.DataGridViewX();
- this.Column13 = new System.Windows.Forms.DataGridViewTextBoxColumn();
- this.Column14 = new System.Windows.Forms.DataGridViewTextBoxColumn();
- this.Column15 = new System.Windows.Forms.DataGridViewTextBoxColumn();
- this.Column16 = new System.Windows.Forms.DataGridViewTextBoxColumn();
- this.Column17 = new System.Windows.Forms.DataGridViewTextBoxColumn();
- this.panelEx1 = new DevComponents.DotNetBar.PanelEx();
- this.labelX6 = new DevComponents.DotNetBar.LabelX();
- this.labelX5 = new DevComponents.DotNetBar.LabelX();
- this.labelX4 = new DevComponents.DotNetBar.LabelX();
- this.labelX3 = new DevComponents.DotNetBar.LabelX();
- this.labelX2 = new DevComponents.DotNetBar.LabelX();
- this.labelX1 = new DevComponents.DotNetBar.LabelX();
- this.panelEx2 = new DevComponents.DotNetBar.PanelEx();
- this.labelX7 = new DevComponents.DotNetBar.LabelX();
- this.labelX8 = new DevComponents.DotNetBar.LabelX();
- this.labelX10 = new DevComponents.DotNetBar.LabelX();
- this.labelX9 = new DevComponents.DotNetBar.LabelX();
- this.panelEx3 = new DevComponents.DotNetBar.PanelEx();
- this.labelX11 = new DevComponents.DotNetBar.LabelX();
- this.labelX13 = new DevComponents.DotNetBar.LabelX();
- this.labelX12 = new DevComponents.DotNetBar.LabelX();
- this.panelEx4 = new DevComponents.DotNetBar.PanelEx();
- this.dataGridViewX2 = new DevComponents.DotNetBar.Controls.DataGridViewX();
- this.Column18 = new System.Windows.Forms.DataGridViewTextBoxColumn();
- this.Column19 = new System.Windows.Forms.DataGridViewTextBoxColumn();
- this.Column20 = new System.Windows.Forms.DataGridViewTextBoxColumn();
- this.Column21 = new System.Windows.Forms.DataGridViewTextBoxColumn();
- this.Column22 = new System.Windows.Forms.DataGridViewTextBoxColumn();
- this.Column23 = new System.Windows.Forms.DataGridViewTextBoxColumn();
- this.Column24 = new System.Windows.Forms.DataGridViewTextBoxColumn();
- this.Column25 = new System.Windows.Forms.DataGridViewTextBoxColumn();
- this.Column26 = new System.Windows.Forms.DataGridViewTextBoxColumn();
- this.Column27 = new System.Windows.Forms.DataGridViewTextBoxColumn();
- this.Column28 = new System.Windows.Forms.DataGridViewTextBoxColumn();
- this.Column29 = new System.Windows.Forms.DataGridViewTextBoxColumn();
- this.buttonX1 = new DevComponents.DotNetBar.ButtonX();
- this.buttonX2 = new DevComponents.DotNetBar.ButtonX();
+ this.panel3 = new System.Windows.Forms.Panel();
+ this.panel2 = new System.Windows.Forms.Panel();
+ this.panel1 = new System.Windows.Forms.Panel();
+ this.panel4 = new System.Windows.Forms.Panel();
+ this.panel5 = new System.Windows.Forms.Panel();
this.label1 = new System.Windows.Forms.Label();
this.label2 = new System.Windows.Forms.Label();
- this.panelToBeTested.SuspendLayout();
- ((System.ComponentModel.ISupportInitialize)(this.dataGridViewX1)).BeginInit();
- this.panelEx1.SuspendLayout();
- this.panelEx2.SuspendLayout();
- this.panelEx3.SuspendLayout();
- this.panelEx4.SuspendLayout();
- ((System.ComponentModel.ISupportInitialize)(this.dataGridViewX2)).BeginInit();
+ this.label3 = new System.Windows.Forms.Label();
+ this.label4 = new System.Windows.Forms.Label();
+ this.label5 = new System.Windows.Forms.Label();
+ this.label6 = new System.Windows.Forms.Label();
+ this.label7 = new System.Windows.Forms.Label();
+ this.label8 = new System.Windows.Forms.Label();
+ this.label9 = new System.Windows.Forms.Label();
+ this.label10 = new System.Windows.Forms.Label();
+ this.label11 = new System.Windows.Forms.Label();
+ this.label12 = new System.Windows.Forms.Label();
+ this.label13 = new System.Windows.Forms.Label();
+ this.panel3.SuspendLayout();
+ this.panel2.SuspendLayout();
+ this.panel1.SuspendLayout();
this.SuspendLayout();
//
- // panelToBeTested
+ // panel3
//
- this.panelToBeTested.Controls.Add(this.dataGridViewX1);
- this.panelToBeTested.Controls.Add(this.buttonX2);
- this.panelToBeTested.Controls.Add(this.buttonX1);
- this.panelToBeTested.Location = new System.Drawing.Point(250, 0);
- this.panelToBeTested.Name = "panelToBeTested";
- this.panelToBeTested.Size = new System.Drawing.Size(750, 216);
- this.panelToBeTested.TabIndex = 4;
+ this.panel3.BackgroundImage = global::Casic.Birmm.RbFreqStandMeasure.Properties.Resources.bg_status_location;
+ this.panel3.Controls.Add(this.label8);
+ this.panel3.Controls.Add(this.label13);
+ this.panel3.Controls.Add(this.label12);
+ this.panel3.Controls.Add(this.label11);
+ this.panel3.Controls.Add(this.label9);
+ this.panel3.Controls.Add(this.label10);
+ this.panel3.Location = new System.Drawing.Point(6, 360);
+ this.panel3.Name = "panel3";
+ this.panel3.Size = new System.Drawing.Size(224, 293);
+ this.panel3.TabIndex = 2;
//
- // dataGridViewX1
+ // panel2
//
- this.dataGridViewX1.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.AutoSize;
- this.dataGridViewX1.Columns.AddRange(new System.Windows.Forms.DataGridViewColumn[] {
- this.Column13,
- this.Column14,
- this.Column15,
- this.Column16,
- this.Column17});
- dataGridViewCellStyle1.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleLeft;
- dataGridViewCellStyle1.BackColor = System.Drawing.SystemColors.Window;
- dataGridViewCellStyle1.Font = new System.Drawing.Font("宋体", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
- dataGridViewCellStyle1.ForeColor = System.Drawing.SystemColors.ControlText;
- dataGridViewCellStyle1.SelectionBackColor = System.Drawing.SystemColors.Highlight;
- dataGridViewCellStyle1.SelectionForeColor = System.Drawing.SystemColors.ControlText;
- dataGridViewCellStyle1.WrapMode = System.Windows.Forms.DataGridViewTriState.False;
- this.dataGridViewX1.DefaultCellStyle = dataGridViewCellStyle1;
- this.dataGridViewX1.GridColor = System.Drawing.Color.FromArgb(((int)(((byte)(208)))), ((int)(((byte)(215)))), ((int)(((byte)(229)))));
- this.dataGridViewX1.Location = new System.Drawing.Point(0, 1);
- this.dataGridViewX1.Name = "dataGridViewX1";
- this.dataGridViewX1.RowTemplate.Height = 23;
- this.dataGridViewX1.Size = new System.Drawing.Size(750, 179);
- this.dataGridViewX1.TabIndex = 14;
+ this.panel2.BackgroundImage = global::Casic.Birmm.RbFreqStandMeasure.Properties.Resources.bg_status_time;
+ this.panel2.Controls.Add(this.label4);
+ this.panel2.Controls.Add(this.label7);
+ this.panel2.Controls.Add(this.label6);
+ this.panel2.Controls.Add(this.label5);
+ this.panel2.Location = new System.Drawing.Point(6, 160);
+ this.panel2.Name = "panel2";
+ this.panel2.Size = new System.Drawing.Size(224, 200);
+ this.panel2.TabIndex = 1;
//
- // Column13
+ // panel1
//
- this.Column13.HeaderText = "仪器名称";
- this.Column13.Name = "Column13";
+ this.panel1.BackgroundImage = global::Casic.Birmm.RbFreqStandMeasure.Properties.Resources.bg_status_base;
+ this.panel1.Controls.Add(this.label3);
+ this.panel1.Controls.Add(this.label2);
+ this.panel1.Controls.Add(this.label1);
+ this.panel1.Location = new System.Drawing.Point(6, 0);
+ this.panel1.Margin = new System.Windows.Forms.Padding(0);
+ this.panel1.Name = "panel1";
+ this.panel1.Size = new System.Drawing.Size(224, 160);
+ this.panel1.TabIndex = 0;
//
- // Column14
+ // panel4
//
- this.Column14.HeaderText = "仪器类型";
- this.Column14.Name = "Column14";
+ this.panel4.BackgroundImage = global::Casic.Birmm.RbFreqStandMeasure.Properties.Resources.bg_dev_tested;
+ this.panel4.Location = new System.Drawing.Point(230, 0);
+ this.panel4.Margin = new System.Windows.Forms.Padding(0);
+ this.panel4.Name = "panel4";
+ this.panel4.Size = new System.Drawing.Size(788, 226);
+ this.panel4.TabIndex = 3;
//
- // Column15
+ // panel5
//
- this.Column15.HeaderText = "仪器编号";
- this.Column15.Name = "Column15";
- //
- // Column16
- //
- this.Column16.HeaderText = "客户名称";
- this.Column16.Name = "Column16";
- //
- // Column17
- //
- this.Column17.HeaderText = "开始时间";
- this.Column17.Name = "Column17";
- //
- // panelEx1
- //
- this.panelEx1.CanvasColor = System.Drawing.SystemColors.Control;
- this.panelEx1.ColorSchemeStyle = DevComponents.DotNetBar.eDotNetBarStyle.StyleManagerControlled;
- this.panelEx1.Controls.Add(this.labelX6);
- this.panelEx1.Controls.Add(this.labelX5);
- this.panelEx1.Controls.Add(this.labelX4);
- this.panelEx1.Controls.Add(this.labelX3);
- this.panelEx1.Controls.Add(this.labelX2);
- this.panelEx1.Controls.Add(this.labelX1);
- this.panelEx1.DisabledBackColor = System.Drawing.Color.Empty;
- this.panelEx1.Location = new System.Drawing.Point(25, 376);
- this.panelEx1.Name = "panelEx1";
- this.panelEx1.Size = new System.Drawing.Size(200, 200);
- this.panelEx1.Style.Alignment = System.Drawing.StringAlignment.Center;
- this.panelEx1.Style.BackColor1.ColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelBackground;
- this.panelEx1.Style.BackColor2.ColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelBackground2;
- this.panelEx1.Style.Border = DevComponents.DotNetBar.eBorderType.SingleLine;
- this.panelEx1.Style.BorderColor.ColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelBorder;
- this.panelEx1.Style.ForeColor.ColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelText;
- this.panelEx1.Style.GradientAngle = 90;
- this.panelEx1.TabIndex = 10;
- //
- // labelX6
- //
- //
- //
- //
- this.labelX6.BackgroundStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square;
- this.labelX6.Location = new System.Drawing.Point(3, 153);
- this.labelX6.Name = "labelX6";
- this.labelX6.Size = new System.Drawing.Size(75, 23);
- this.labelX6.Style = DevComponents.DotNetBar.eDotNetBarStyle.Office2013;
- this.labelX6.TabIndex = 0;
- this.labelX6.Text = "Z";
- this.labelX6.TextAlignment = System.Drawing.StringAlignment.Center;
- //
- // labelX5
- //
- //
- //
- //
- this.labelX5.BackgroundStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square;
- this.labelX5.Location = new System.Drawing.Point(3, 124);
- this.labelX5.Name = "labelX5";
- this.labelX5.Size = new System.Drawing.Size(75, 23);
- this.labelX5.Style = DevComponents.DotNetBar.eDotNetBarStyle.Office2013;
- this.labelX5.TabIndex = 0;
- this.labelX5.Text = "Y";
- this.labelX5.TextAlignment = System.Drawing.StringAlignment.Center;
- //
- // labelX4
- //
- //
- //
- //
- this.labelX4.BackgroundStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square;
- this.labelX4.Location = new System.Drawing.Point(3, 95);
- this.labelX4.Name = "labelX4";
- this.labelX4.Size = new System.Drawing.Size(75, 23);
- this.labelX4.Style = DevComponents.DotNetBar.eDotNetBarStyle.Office2013;
- this.labelX4.TabIndex = 0;
- this.labelX4.Text = "X";
- this.labelX4.TextAlignment = System.Drawing.StringAlignment.Center;
- //
- // labelX3
- //
- //
- //
- //
- this.labelX3.BackgroundStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square;
- this.labelX3.Location = new System.Drawing.Point(3, 66);
- this.labelX3.Name = "labelX3";
- this.labelX3.Size = new System.Drawing.Size(75, 23);
- this.labelX3.Style = DevComponents.DotNetBar.eDotNetBarStyle.Office2013;
- this.labelX3.TabIndex = 0;
- this.labelX3.Text = "纬度";
- this.labelX3.TextAlignment = System.Drawing.StringAlignment.Center;
- //
- // labelX2
- //
- //
- //
- //
- this.labelX2.BackgroundStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square;
- this.labelX2.Location = new System.Drawing.Point(3, 37);
- this.labelX2.Name = "labelX2";
- this.labelX2.Size = new System.Drawing.Size(75, 23);
- this.labelX2.Style = DevComponents.DotNetBar.eDotNetBarStyle.Office2013;
- this.labelX2.TabIndex = 0;
- this.labelX2.Text = "经度";
- this.labelX2.TextAlignment = System.Drawing.StringAlignment.Center;
- //
- // labelX1
- //
- //
- //
- //
- this.labelX1.BackgroundStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square;
- this.labelX1.Location = new System.Drawing.Point(3, 3);
- this.labelX1.Name = "labelX1";
- this.labelX1.Size = new System.Drawing.Size(194, 23);
- this.labelX1.Style = DevComponents.DotNetBar.eDotNetBarStyle.Office2013;
- this.labelX1.TabIndex = 0;
- this.labelX1.Text = "位置信息";
- this.labelX1.TextAlignment = System.Drawing.StringAlignment.Center;
- //
- // panelEx2
- //
- this.panelEx2.CanvasColor = System.Drawing.SystemColors.Control;
- this.panelEx2.ColorSchemeStyle = DevComponents.DotNetBar.eDotNetBarStyle.StyleManagerControlled;
- this.panelEx2.Controls.Add(this.labelX7);
- this.panelEx2.Controls.Add(this.labelX8);
- this.panelEx2.Controls.Add(this.labelX10);
- this.panelEx2.Controls.Add(this.labelX9);
- this.panelEx2.DisabledBackColor = System.Drawing.Color.Empty;
- this.panelEx2.Location = new System.Drawing.Point(25, 190);
- this.panelEx2.Name = "panelEx2";
- this.panelEx2.Size = new System.Drawing.Size(200, 150);
- this.panelEx2.Style.Alignment = System.Drawing.StringAlignment.Center;
- this.panelEx2.Style.BackColor1.ColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelBackground;
- this.panelEx2.Style.BackColor2.ColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelBackground2;
- this.panelEx2.Style.Border = DevComponents.DotNetBar.eBorderType.SingleLine;
- this.panelEx2.Style.BorderColor.ColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelBorder;
- this.panelEx2.Style.ForeColor.ColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelText;
- this.panelEx2.Style.GradientAngle = 90;
- this.panelEx2.TabIndex = 10;
- //
- // labelX7
- //
- //
- //
- //
- this.labelX7.BackgroundStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square;
- this.labelX7.Location = new System.Drawing.Point(3, 3);
- this.labelX7.Name = "labelX7";
- this.labelX7.Size = new System.Drawing.Size(194, 23);
- this.labelX7.Style = DevComponents.DotNetBar.eDotNetBarStyle.Office2013;
- this.labelX7.TabIndex = 0;
- this.labelX7.Text = "时间信息";
- this.labelX7.TextAlignment = System.Drawing.StringAlignment.Center;
- //
- // labelX8
- //
- //
- //
- //
- this.labelX8.BackgroundStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square;
- this.labelX8.Location = new System.Drawing.Point(3, 41);
- this.labelX8.Name = "labelX8";
- this.labelX8.Size = new System.Drawing.Size(75, 23);
- this.labelX8.Style = DevComponents.DotNetBar.eDotNetBarStyle.Office2013;
- this.labelX8.TabIndex = 0;
- this.labelX8.Text = "日期";
- this.labelX8.TextAlignment = System.Drawing.StringAlignment.Center;
- //
- // labelX10
- //
- //
- //
- //
- this.labelX10.BackgroundStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square;
- this.labelX10.Location = new System.Drawing.Point(3, 99);
- this.labelX10.Name = "labelX10";
- this.labelX10.Size = new System.Drawing.Size(75, 23);
- this.labelX10.Style = DevComponents.DotNetBar.eDotNetBarStyle.Office2013;
- this.labelX10.TabIndex = 0;
- this.labelX10.Text = "MJD";
- this.labelX10.TextAlignment = System.Drawing.StringAlignment.Center;
- //
- // labelX9
- //
- //
- //
- //
- this.labelX9.BackgroundStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square;
- this.labelX9.Location = new System.Drawing.Point(3, 70);
- this.labelX9.Name = "labelX9";
- this.labelX9.Size = new System.Drawing.Size(75, 23);
- this.labelX9.Style = DevComponents.DotNetBar.eDotNetBarStyle.Office2013;
- this.labelX9.TabIndex = 0;
- this.labelX9.Text = "时间";
- this.labelX9.TextAlignment = System.Drawing.StringAlignment.Center;
- //
- // panelEx3
- //
- this.panelEx3.CanvasColor = System.Drawing.SystemColors.Control;
- this.panelEx3.ColorSchemeStyle = DevComponents.DotNetBar.eDotNetBarStyle.StyleManagerControlled;
- this.panelEx3.Controls.Add(this.labelX11);
- this.panelEx3.Controls.Add(this.labelX13);
- this.panelEx3.Controls.Add(this.labelX12);
- this.panelEx3.DisabledBackColor = System.Drawing.Color.Empty;
- this.panelEx3.Location = new System.Drawing.Point(25, 50);
- this.panelEx3.Name = "panelEx3";
- this.panelEx3.Size = new System.Drawing.Size(200, 100);
- this.panelEx3.Style.Alignment = System.Drawing.StringAlignment.Center;
- this.panelEx3.Style.BackColor1.ColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelBackground;
- this.panelEx3.Style.BackColor2.ColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelBackground2;
- this.panelEx3.Style.Border = DevComponents.DotNetBar.eBorderType.SingleLine;
- this.panelEx3.Style.BorderColor.ColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelBorder;
- this.panelEx3.Style.ForeColor.ColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelText;
- this.panelEx3.Style.GradientAngle = 90;
- this.panelEx3.TabIndex = 10;
- //
- // labelX11
- //
- //
- //
- //
- this.labelX11.BackgroundStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square;
- this.labelX11.Location = new System.Drawing.Point(3, 3);
- this.labelX11.Name = "labelX11";
- this.labelX11.Size = new System.Drawing.Size(194, 23);
- this.labelX11.Style = DevComponents.DotNetBar.eDotNetBarStyle.Office2013;
- this.labelX11.TabIndex = 0;
- this.labelX11.Text = "基本信息";
- this.labelX11.TextAlignment = System.Drawing.StringAlignment.Center;
- //
- // labelX13
- //
- //
- //
- //
- this.labelX13.BackgroundStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square;
- this.labelX13.Location = new System.Drawing.Point(3, 32);
- this.labelX13.Name = "labelX13";
- this.labelX13.Size = new System.Drawing.Size(75, 23);
- this.labelX13.Style = DevComponents.DotNetBar.eDotNetBarStyle.Office2013;
- this.labelX13.TabIndex = 0;
- this.labelX13.Text = "原子钟";
- this.labelX13.TextAlignment = System.Drawing.StringAlignment.Center;
- //
- // labelX12
- //
- //
- //
- //
- this.labelX12.BackgroundStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square;
- this.labelX12.Location = new System.Drawing.Point(3, 61);
- this.labelX12.Name = "labelX12";
- this.labelX12.Size = new System.Drawing.Size(75, 23);
- this.labelX12.Style = DevComponents.DotNetBar.eDotNetBarStyle.Office2013;
- this.labelX12.TabIndex = 0;
- this.labelX12.Text = "接收机";
- this.labelX12.TextAlignment = System.Drawing.StringAlignment.Center;
- //
- // panelEx4
- //
- this.panelEx4.CanvasColor = System.Drawing.SystemColors.Control;
- this.panelEx4.ColorSchemeStyle = DevComponents.DotNetBar.eDotNetBarStyle.StyleManagerControlled;
- this.panelEx4.Controls.Add(this.panelEx2);
- this.panelEx4.Controls.Add(this.panelEx1);
- this.panelEx4.Controls.Add(this.panelEx3);
- this.panelEx4.DisabledBackColor = System.Drawing.Color.Empty;
- this.panelEx4.Location = new System.Drawing.Point(0, 0);
- this.panelEx4.Name = "panelEx4";
- this.panelEx4.Size = new System.Drawing.Size(250, 640);
- this.panelEx4.Style.Alignment = System.Drawing.StringAlignment.Center;
- this.panelEx4.Style.BackColor1.ColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelBackground;
- this.panelEx4.Style.BackColor2.ColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelBackground2;
- this.panelEx4.Style.Border = DevComponents.DotNetBar.eBorderType.SingleLine;
- this.panelEx4.Style.BorderColor.ColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelBorder;
- this.panelEx4.Style.ForeColor.ColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelText;
- this.panelEx4.Style.GradientAngle = 90;
- this.panelEx4.TabIndex = 10;
- //
- // dataGridViewX2
- //
- this.dataGridViewX2.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.AutoSize;
- this.dataGridViewX2.Columns.AddRange(new System.Windows.Forms.DataGridViewColumn[] {
- this.Column18,
- this.Column19,
- this.Column20,
- this.Column21,
- this.Column22,
- this.Column23,
- this.Column24,
- this.Column25,
- this.Column26,
- this.Column27,
- this.Column28,
- this.Column29});
- dataGridViewCellStyle2.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleLeft;
- dataGridViewCellStyle2.BackColor = System.Drawing.SystemColors.Window;
- dataGridViewCellStyle2.Font = new System.Drawing.Font("宋体", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
- dataGridViewCellStyle2.ForeColor = System.Drawing.SystemColors.ControlText;
- dataGridViewCellStyle2.SelectionBackColor = System.Drawing.SystemColors.Highlight;
- dataGridViewCellStyle2.SelectionForeColor = System.Drawing.SystemColors.ControlText;
- dataGridViewCellStyle2.WrapMode = System.Windows.Forms.DataGridViewTriState.False;
- this.dataGridViewX2.DefaultCellStyle = dataGridViewCellStyle2;
- this.dataGridViewX2.GridColor = System.Drawing.Color.FromArgb(((int)(((byte)(208)))), ((int)(((byte)(215)))), ((int)(((byte)(229)))));
- this.dataGridViewX2.Location = new System.Drawing.Point(250, 216);
- this.dataGridViewX2.Name = "dataGridViewX2";
- this.dataGridViewX2.Size = new System.Drawing.Size(747, 424);
- this.dataGridViewX2.TabIndex = 15;
- //
- // Column18
- //
- this.Column18.HeaderText = "通道号";
- this.Column18.Name = "Column18";
- //
- // Column19
- //
- this.Column19.HeaderText = "当前状态";
- this.Column19.Name = "Column19";
- //
- // Column20
- //
- this.Column20.HeaderText = "仪器名称";
- this.Column20.Name = "Column20";
- //
- // Column21
- //
- this.Column21.HeaderText = "仪器编号";
- this.Column21.Name = "Column21";
- //
- // Column22
- //
- this.Column22.HeaderText = "客户名称";
- this.Column22.Name = "Column22";
- //
- // Column23
- //
- this.Column23.HeaderText = "开始时间";
- this.Column23.Name = "Column23";
- //
- // Column24
- //
- this.Column24.HeaderText = "结束时间";
- this.Column24.Name = "Column24";
- //
- // Column25
- //
- this.Column25.HeaderText = "频率稳定度";
- this.Column25.Name = "Column25";
- //
- // Column26
- //
- this.Column26.HeaderText = "频率准确度";
- this.Column26.Name = "Column26";
- //
- // Column27
- //
- this.Column27.HeaderText = "开机特性";
- this.Column27.Name = "Column27";
- //
- // Column28
- //
- this.Column28.HeaderText = "日老化率";
- this.Column28.Name = "Column28";
- //
- // Column29
- //
- this.Column29.HeaderText = "频率计数器范围及灵敏度";
- this.Column29.Name = "Column29";
- //
- // buttonX1
- //
- this.buttonX1.AccessibleRole = System.Windows.Forms.AccessibleRole.PushButton;
- this.buttonX1.BackColor = System.Drawing.Color.Transparent;
- this.buttonX1.ColorTable = DevComponents.DotNetBar.eButtonColor.OrangeWithBackground;
- this.buttonX1.Location = new System.Drawing.Point(663, 183);
- this.buttonX1.Name = "buttonX1";
- this.buttonX1.Size = new System.Drawing.Size(30, 23);
- this.buttonX1.Style = DevComponents.DotNetBar.eDotNetBarStyle.StyleManagerControlled;
- this.buttonX1.Symbol = "";
- this.buttonX1.SymbolColor = System.Drawing.Color.FromArgb(((int)(((byte)(64)))), ((int)(((byte)(64)))), ((int)(((byte)(64)))));
- this.buttonX1.SymbolSize = 8F;
- this.buttonX1.TabIndex = 19;
- //
- // buttonX2
- //
- this.buttonX2.AccessibleRole = System.Windows.Forms.AccessibleRole.PushButton;
- this.buttonX2.BackColor = System.Drawing.Color.Transparent;
- this.buttonX2.ColorTable = DevComponents.DotNetBar.eButtonColor.OrangeWithBackground;
- this.buttonX2.Location = new System.Drawing.Point(589, 184);
- this.buttonX2.Name = "buttonX2";
- this.buttonX2.Size = new System.Drawing.Size(30, 23);
- this.buttonX2.Style = DevComponents.DotNetBar.eDotNetBarStyle.StyleManagerControlled;
- this.buttonX2.Symbol = "";
- this.buttonX2.SymbolColor = System.Drawing.Color.FromArgb(((int)(((byte)(64)))), ((int)(((byte)(64)))), ((int)(((byte)(64)))));
- this.buttonX2.SymbolSize = 8F;
- this.buttonX2.TabIndex = 19;
+ this.panel5.BackgroundImage = global::Casic.Birmm.RbFreqStandMeasure.Properties.Resources.bg_dev_channel;
+ this.panel5.Location = new System.Drawing.Point(230, 226);
+ this.panel5.Name = "panel5";
+ this.panel5.Size = new System.Drawing.Size(788, 424);
+ this.panel5.TabIndex = 4;
//
// label1
//
this.label1.BackColor = System.Drawing.Color.Transparent;
- this.label1.Font = new System.Drawing.Font("Times New Roman", 9.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
- this.label1.Location = new System.Drawing.Point(880, 186);
- this.label1.Margin = new System.Windows.Forms.Padding(0);
+ this.label1.Font = new System.Drawing.Font("微软雅黑", 14F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Pixel, ((byte)(134)));
+ this.label1.Location = new System.Drawing.Point(0, 20);
this.label1.Name = "label1";
- this.label1.Size = new System.Drawing.Size(20, 20);
- this.label1.TabIndex = 20;
- this.label1.Text = "1";
+ this.label1.Size = new System.Drawing.Size(224, 25);
+ this.label1.TabIndex = 0;
+ this.label1.Text = "基本信息";
this.label1.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
//
// label2
//
this.label2.BackColor = System.Drawing.Color.Transparent;
- this.label2.Font = new System.Drawing.Font("Times New Roman", 9.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
- this.label2.Location = new System.Drawing.Point(636, 187);
- this.label2.Margin = new System.Windows.Forms.Padding(0);
+ this.label2.Font = new System.Drawing.Font("微软雅黑", 14F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Pixel, ((byte)(134)));
+ this.label2.Location = new System.Drawing.Point(0, 60);
this.label2.Name = "label2";
- this.label2.Size = new System.Drawing.Size(200, 20);
- this.label2.TabIndex = 20;
- this.label2.Text = "共150条,每页5条,共100页";
- this.label2.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
+ this.label2.Size = new System.Drawing.Size(75, 25);
+ this.label2.TabIndex = 1;
+ this.label2.Text = "原子钟";
+ this.label2.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
+ //
+ // label3
+ //
+ this.label3.BackColor = System.Drawing.Color.Transparent;
+ this.label3.Font = new System.Drawing.Font("微软雅黑", 14F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Pixel, ((byte)(134)));
+ this.label3.Location = new System.Drawing.Point(0, 100);
+ this.label3.Name = "label3";
+ this.label3.Size = new System.Drawing.Size(75, 25);
+ this.label3.TabIndex = 1;
+ this.label3.Text = "接收机";
+ this.label3.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
+ //
+ // label4
+ //
+ this.label4.BackColor = System.Drawing.Color.Transparent;
+ this.label4.Font = new System.Drawing.Font("微软雅黑", 14F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Pixel, ((byte)(134)));
+ this.label4.Location = new System.Drawing.Point(0, 20);
+ this.label4.Name = "label4";
+ this.label4.Size = new System.Drawing.Size(224, 25);
+ this.label4.TabIndex = 0;
+ this.label4.Text = "时间信息";
+ this.label4.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
+ //
+ // label5
+ //
+ this.label5.BackColor = System.Drawing.Color.Transparent;
+ this.label5.Font = new System.Drawing.Font("微软雅黑", 14F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Pixel, ((byte)(134)));
+ this.label5.Location = new System.Drawing.Point(0, 60);
+ this.label5.Name = "label5";
+ this.label5.Size = new System.Drawing.Size(75, 25);
+ this.label5.TabIndex = 1;
+ this.label5.Text = "日期";
+ this.label5.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
+ //
+ // label6
+ //
+ this.label6.BackColor = System.Drawing.Color.Transparent;
+ this.label6.Font = new System.Drawing.Font("微软雅黑", 14F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Pixel, ((byte)(134)));
+ this.label6.Location = new System.Drawing.Point(0, 100);
+ this.label6.Name = "label6";
+ this.label6.Size = new System.Drawing.Size(75, 25);
+ this.label6.TabIndex = 1;
+ this.label6.Text = "时间";
+ this.label6.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
+ //
+ // label7
+ //
+ this.label7.BackColor = System.Drawing.Color.Transparent;
+ this.label7.Font = new System.Drawing.Font("微软雅黑", 14F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Pixel, ((byte)(134)));
+ this.label7.Location = new System.Drawing.Point(0, 140);
+ this.label7.Margin = new System.Windows.Forms.Padding(0);
+ this.label7.Name = "label7";
+ this.label7.Size = new System.Drawing.Size(75, 25);
+ this.label7.TabIndex = 1;
+ this.label7.Text = "MJD";
+ this.label7.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
+ //
+ // label8
+ //
+ this.label8.BackColor = System.Drawing.Color.Transparent;
+ this.label8.Font = new System.Drawing.Font("微软雅黑", 14F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Pixel, ((byte)(134)));
+ this.label8.Location = new System.Drawing.Point(0, 20);
+ this.label8.Name = "label8";
+ this.label8.Size = new System.Drawing.Size(224, 25);
+ this.label8.TabIndex = 0;
+ this.label8.Text = "位置信息";
+ this.label8.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
+ //
+ // label9
+ //
+ this.label9.BackColor = System.Drawing.Color.Transparent;
+ this.label9.Font = new System.Drawing.Font("微软雅黑", 14F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Pixel, ((byte)(134)));
+ this.label9.Location = new System.Drawing.Point(0, 60);
+ this.label9.Name = "label9";
+ this.label9.Size = new System.Drawing.Size(75, 25);
+ this.label9.TabIndex = 1;
+ this.label9.Text = "经度";
+ this.label9.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
+ //
+ // label10
+ //
+ this.label10.BackColor = System.Drawing.Color.Transparent;
+ this.label10.Font = new System.Drawing.Font("微软雅黑", 14F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Pixel, ((byte)(134)));
+ this.label10.Location = new System.Drawing.Point(0, 100);
+ this.label10.Margin = new System.Windows.Forms.Padding(0);
+ this.label10.Name = "label10";
+ this.label10.Size = new System.Drawing.Size(75, 25);
+ this.label10.TabIndex = 1;
+ this.label10.Text = "纬度";
+ this.label10.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
+ //
+ // label11
+ //
+ this.label11.BackColor = System.Drawing.Color.Transparent;
+ this.label11.Font = new System.Drawing.Font("微软雅黑", 14F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Pixel, ((byte)(134)));
+ this.label11.Location = new System.Drawing.Point(0, 140);
+ this.label11.Margin = new System.Windows.Forms.Padding(0);
+ this.label11.Name = "label11";
+ this.label11.Size = new System.Drawing.Size(75, 25);
+ this.label11.TabIndex = 1;
+ this.label11.Text = "X";
+ this.label11.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
+ //
+ // label12
+ //
+ this.label12.BackColor = System.Drawing.Color.Transparent;
+ this.label12.Font = new System.Drawing.Font("微软雅黑", 14F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Pixel, ((byte)(134)));
+ this.label12.Location = new System.Drawing.Point(0, 180);
+ this.label12.Margin = new System.Windows.Forms.Padding(0);
+ this.label12.Name = "label12";
+ this.label12.Size = new System.Drawing.Size(75, 25);
+ this.label12.TabIndex = 1;
+ this.label12.Text = "Y";
+ this.label12.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
+ //
+ // label13
+ //
+ this.label13.BackColor = System.Drawing.Color.Transparent;
+ this.label13.Font = new System.Drawing.Font("微软雅黑", 14F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Pixel, ((byte)(134)));
+ this.label13.Location = new System.Drawing.Point(0, 220);
+ this.label13.Margin = new System.Windows.Forms.Padding(0);
+ this.label13.Name = "label13";
+ this.label13.Size = new System.Drawing.Size(75, 25);
+ this.label13.TabIndex = 1;
+ this.label13.Text = "Z";
+ this.label13.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
//
// HomeCtrlForm
//
this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 12F);
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
- this.Controls.Add(this.label1);
- this.Controls.Add(this.label2);
- this.Controls.Add(this.dataGridViewX2);
- this.Controls.Add(this.panelEx4);
- this.Controls.Add(this.panelToBeTested);
+ this.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(232)))), ((int)(((byte)(234)))), ((int)(((byte)(238)))));
+ this.Controls.Add(this.panel5);
+ this.Controls.Add(this.panel4);
+ this.Controls.Add(this.panel3);
+ this.Controls.Add(this.panel2);
+ this.Controls.Add(this.panel1);
this.Margin = new System.Windows.Forms.Padding(0);
this.Name = "HomeCtrlForm";
- this.Size = new System.Drawing.Size(1000, 640);
- this.panelToBeTested.ResumeLayout(false);
- ((System.ComponentModel.ISupportInitialize)(this.dataGridViewX1)).EndInit();
- this.panelEx1.ResumeLayout(false);
- this.panelEx2.ResumeLayout(false);
- this.panelEx3.ResumeLayout(false);
- this.panelEx4.ResumeLayout(false);
- ((System.ComponentModel.ISupportInitialize)(this.dataGridViewX2)).EndInit();
+ this.Size = new System.Drawing.Size(1024, 654);
+ this.panel3.ResumeLayout(false);
+ this.panel2.ResumeLayout(false);
+ this.panel1.ResumeLayout(false);
this.ResumeLayout(false);
}
#endregion
- private System.Windows.Forms.Panel panelToBeTested;
- private DevComponents.DotNetBar.PanelEx panelEx1;
- private DevComponents.DotNetBar.LabelX labelX6;
- private DevComponents.DotNetBar.LabelX labelX5;
- private DevComponents.DotNetBar.LabelX labelX4;
- private DevComponents.DotNetBar.LabelX labelX3;
- private DevComponents.DotNetBar.LabelX labelX2;
- private DevComponents.DotNetBar.LabelX labelX1;
- private DevComponents.DotNetBar.PanelEx panelEx2;
- private DevComponents.DotNetBar.LabelX labelX7;
- private DevComponents.DotNetBar.LabelX labelX8;
- private DevComponents.DotNetBar.LabelX labelX10;
- private DevComponents.DotNetBar.LabelX labelX9;
- private DevComponents.DotNetBar.PanelEx panelEx3;
- private DevComponents.DotNetBar.LabelX labelX11;
- private DevComponents.DotNetBar.LabelX labelX13;
- private DevComponents.DotNetBar.LabelX labelX12;
- private DevComponents.DotNetBar.PanelEx panelEx4;
- private DevComponents.DotNetBar.Controls.DataGridViewX dataGridViewX1;
- private System.Windows.Forms.DataGridViewTextBoxColumn Column13;
- private System.Windows.Forms.DataGridViewTextBoxColumn Column14;
- private System.Windows.Forms.DataGridViewTextBoxColumn Column15;
- private System.Windows.Forms.DataGridViewTextBoxColumn Column16;
- private System.Windows.Forms.DataGridViewTextBoxColumn Column17;
- private DevComponents.DotNetBar.Controls.DataGridViewX dataGridViewX2;
- private System.Windows.Forms.DataGridViewTextBoxColumn Column18;
- private System.Windows.Forms.DataGridViewTextBoxColumn Column19;
- private System.Windows.Forms.DataGridViewTextBoxColumn Column20;
- private System.Windows.Forms.DataGridViewTextBoxColumn Column21;
- private System.Windows.Forms.DataGridViewTextBoxColumn Column22;
- private System.Windows.Forms.DataGridViewTextBoxColumn Column23;
- private System.Windows.Forms.DataGridViewTextBoxColumn Column24;
- private System.Windows.Forms.DataGridViewTextBoxColumn Column25;
- private System.Windows.Forms.DataGridViewTextBoxColumn Column26;
- private System.Windows.Forms.DataGridViewTextBoxColumn Column27;
- private System.Windows.Forms.DataGridViewTextBoxColumn Column28;
- private System.Windows.Forms.DataGridViewTextBoxColumn Column29;
- private DevComponents.DotNetBar.ButtonX buttonX1;
- private DevComponents.DotNetBar.ButtonX buttonX2;
+
+ private System.Windows.Forms.Panel panel1;
+ private System.Windows.Forms.Panel panel2;
+ private System.Windows.Forms.Panel panel3;
+ private System.Windows.Forms.Panel panel4;
+ private System.Windows.Forms.Panel panel5;
private System.Windows.Forms.Label label1;
private System.Windows.Forms.Label label2;
+ private System.Windows.Forms.Label label3;
+ private System.Windows.Forms.Label label4;
+ private System.Windows.Forms.Label label5;
+ private System.Windows.Forms.Label label6;
+ private System.Windows.Forms.Label label7;
+ private System.Windows.Forms.Label label8;
+ private System.Windows.Forms.Label label11;
+ private System.Windows.Forms.Label label9;
+ private System.Windows.Forms.Label label10;
+ private System.Windows.Forms.Label label12;
+ private System.Windows.Forms.Label label13;
}
}
diff --git a/RbFreqStandMeasure/HomeCtrlForm.resx b/RbFreqStandMeasure/HomeCtrlForm.resx
index 6d97f4f..1af7de1 100644
--- a/RbFreqStandMeasure/HomeCtrlForm.resx
+++ b/RbFreqStandMeasure/HomeCtrlForm.resx
@@ -117,55 +117,4 @@
System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
-
- True
-
-
- True
-
-
- True
-
-
- True
-
-
- True
-
-
- True
-
-
- True
-
-
- True
-
-
- True
-
-
- True
-
-
- True
-
-
- True
-
-
- True
-
-
- True
-
-
- True
-
-
- True
-
-
- True
-
\ No newline at end of file
diff --git a/RbFreqStandMeasure/Program.cs b/RbFreqStandMeasure/Program.cs
index 93a83e5..6150917 100644
--- a/RbFreqStandMeasure/Program.cs
+++ b/RbFreqStandMeasure/Program.cs
@@ -1,6 +1,4 @@
using System;
-using System.Collections.Generic;
-using System.Linq;
using System.Windows.Forms;
namespace Casic.Birmm.RbFreqStandMeasure
diff --git a/RbFreqStandMeasure/Properties/Resources.Designer.cs b/RbFreqStandMeasure/Properties/Resources.Designer.cs
index 253d7d7..d819a23 100644
--- a/RbFreqStandMeasure/Properties/Resources.Designer.cs
+++ b/RbFreqStandMeasure/Properties/Resources.Designer.cs
@@ -73,6 +73,56 @@
///
/// 查找 System.Drawing.Bitmap 类型的本地化资源。
///
+ internal static System.Drawing.Bitmap bg_dev_channel {
+ get {
+ object obj = ResourceManager.GetObject("bg_dev_channel", resourceCulture);
+ return ((System.Drawing.Bitmap)(obj));
+ }
+ }
+
+ ///
+ /// 查找 System.Drawing.Bitmap 类型的本地化资源。
+ ///
+ internal static System.Drawing.Bitmap bg_dev_tested {
+ get {
+ object obj = ResourceManager.GetObject("bg_dev_tested", resourceCulture);
+ return ((System.Drawing.Bitmap)(obj));
+ }
+ }
+
+ ///
+ /// 查找 System.Drawing.Bitmap 类型的本地化资源。
+ ///
+ internal static System.Drawing.Bitmap bg_status_base {
+ get {
+ object obj = ResourceManager.GetObject("bg_status_base", resourceCulture);
+ return ((System.Drawing.Bitmap)(obj));
+ }
+ }
+
+ ///
+ /// 查找 System.Drawing.Bitmap 类型的本地化资源。
+ ///
+ internal static System.Drawing.Bitmap bg_status_location {
+ get {
+ object obj = ResourceManager.GetObject("bg_status_location", resourceCulture);
+ return ((System.Drawing.Bitmap)(obj));
+ }
+ }
+
+ ///
+ /// 查找 System.Drawing.Bitmap 类型的本地化资源。
+ ///
+ internal static System.Drawing.Bitmap bg_status_time {
+ get {
+ object obj = ResourceManager.GetObject("bg_status_time", resourceCulture);
+ return ((System.Drawing.Bitmap)(obj));
+ }
+ }
+
+ ///
+ /// 查找 System.Drawing.Bitmap 类型的本地化资源。
+ ///
internal static System.Drawing.Bitmap bg_white_shadow {
get {
object obj = ResourceManager.GetObject("bg_white_shadow", resourceCulture);
@@ -83,6 +133,66 @@
///
/// 查找 System.Drawing.Bitmap 类型的本地化资源。
///
+ internal static System.Drawing.Bitmap icon_counter {
+ get {
+ object obj = ResourceManager.GetObject("icon_counter", resourceCulture);
+ return ((System.Drawing.Bitmap)(obj));
+ }
+ }
+
+ ///
+ /// 查找 System.Drawing.Bitmap 类型的本地化资源。
+ ///
+ internal static System.Drawing.Bitmap icon_counter_selected {
+ get {
+ object obj = ResourceManager.GetObject("icon_counter_selected", resourceCulture);
+ return ((System.Drawing.Bitmap)(obj));
+ }
+ }
+
+ ///
+ /// 查找 System.Drawing.Bitmap 类型的本地化资源。
+ ///
+ internal static System.Drawing.Bitmap icon_data {
+ get {
+ object obj = ResourceManager.GetObject("icon_data", resourceCulture);
+ return ((System.Drawing.Bitmap)(obj));
+ }
+ }
+
+ ///
+ /// 查找 System.Drawing.Bitmap 类型的本地化资源。
+ ///
+ internal static System.Drawing.Bitmap icon_data_selected {
+ get {
+ object obj = ResourceManager.GetObject("icon_data_selected", resourceCulture);
+ return ((System.Drawing.Bitmap)(obj));
+ }
+ }
+
+ ///
+ /// 查找 System.Drawing.Bitmap 类型的本地化资源。
+ ///
+ internal static System.Drawing.Bitmap icon_dev {
+ get {
+ object obj = ResourceManager.GetObject("icon_dev", resourceCulture);
+ return ((System.Drawing.Bitmap)(obj));
+ }
+ }
+
+ ///
+ /// 查找 System.Drawing.Bitmap 类型的本地化资源。
+ ///
+ internal static System.Drawing.Bitmap icon_dev_selected {
+ get {
+ object obj = ResourceManager.GetObject("icon_dev_selected", resourceCulture);
+ return ((System.Drawing.Bitmap)(obj));
+ }
+ }
+
+ ///
+ /// 查找 System.Drawing.Bitmap 类型的本地化资源。
+ ///
internal static System.Drawing.Bitmap icon_exit {
get {
object obj = ResourceManager.GetObject("icon_exit", resourceCulture);
@@ -113,6 +223,56 @@
///
/// 查找 System.Drawing.Bitmap 类型的本地化资源。
///
+ internal static System.Drawing.Bitmap icon_measure {
+ get {
+ object obj = ResourceManager.GetObject("icon_measure", resourceCulture);
+ return ((System.Drawing.Bitmap)(obj));
+ }
+ }
+
+ ///
+ /// 查找 System.Drawing.Bitmap 类型的本地化资源。
+ ///
+ internal static System.Drawing.Bitmap icon_measure_selected {
+ get {
+ object obj = ResourceManager.GetObject("icon_measure_selected", resourceCulture);
+ return ((System.Drawing.Bitmap)(obj));
+ }
+ }
+
+ ///
+ /// 查找 System.Drawing.Bitmap 类型的本地化资源。
+ ///
+ internal static System.Drawing.Bitmap icon_min {
+ get {
+ object obj = ResourceManager.GetObject("icon_min", resourceCulture);
+ return ((System.Drawing.Bitmap)(obj));
+ }
+ }
+
+ ///
+ /// 查找 System.Drawing.Bitmap 类型的本地化资源。
+ ///
+ internal static System.Drawing.Bitmap icon_setting {
+ get {
+ object obj = ResourceManager.GetObject("icon_setting", resourceCulture);
+ return ((System.Drawing.Bitmap)(obj));
+ }
+ }
+
+ ///
+ /// 查找 System.Drawing.Bitmap 类型的本地化资源。
+ ///
+ internal static System.Drawing.Bitmap icon_setting_selected {
+ get {
+ object obj = ResourceManager.GetObject("icon_setting_selected", resourceCulture);
+ return ((System.Drawing.Bitmap)(obj));
+ }
+ }
+
+ ///
+ /// 查找 System.Drawing.Bitmap 类型的本地化资源。
+ ///
internal static System.Drawing.Bitmap icon_status {
get {
object obj = ResourceManager.GetObject("icon_status", resourceCulture);
diff --git a/RbFreqStandMeasure/Properties/Resources.resx b/RbFreqStandMeasure/Properties/Resources.resx
index e781bb7..cfdb255 100644
--- a/RbFreqStandMeasure/Properties/Resources.resx
+++ b/RbFreqStandMeasure/Properties/Resources.resx
@@ -118,25 +118,73 @@
System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
-
- ..\res\images\icon_exit.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
+
+ ..\res\images\icon_counter_selected.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
-
- ..\res\images\bg_white_shadow.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
+
+ ..\res\images\icon_dev_selected.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
+
+
+ ..\res\images\icon_status_selected.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
+
+
+ ..\res\images\icon_data_selected.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
..\res\images\icon_home_selected.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
-
- ..\res\images\bg_banner.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
-
-
- ..\res\images\icon_home.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
+
+ ..\res\images\icon_exit.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
..\res\images\icon_status.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
-
- ..\res\images\icon_status_selected.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
+
+ ..\res\images\icon_data.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
+
+
+ ..\res\images\icon_setting.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
+
+
+ ..\res\images\icon_measure_selected.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
+
+
+ ..\res\images\bg_banner.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
+
+
+ ..\res\images\icon_setting_selected.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
+
+
+ ..\res\images\icon_dev.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
+
+
+ ..\res\images\icon_counter.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
+
+
+ ..\res\images\icon_measure.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
+
+
+ ..\res\images\icon_home.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
+
+
+ ..\res\images\bg_white_shadow.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
+
+
+ ..\res\images\icon_min.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
+
+
+ ..\res\images\bg_status_base.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
+
+
+ ..\res\images\bg_status_location.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
+
+
+ ..\res\images\bg_status_time.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
+
+
+ ..\res\images\bg_dev_channel.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
+
+
+ ..\res\images\bg_dev_tested.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
\ No newline at end of file
diff --git a/RbFreqStandMeasure/RbFreqStandMeasure.csproj b/RbFreqStandMeasure/RbFreqStandMeasure.csproj
index f5e7da9..7c12768 100644
--- a/RbFreqStandMeasure/RbFreqStandMeasure.csproj
+++ b/RbFreqStandMeasure/RbFreqStandMeasure.csproj
@@ -232,6 +232,54 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/RbFreqStandMeasure/RbFreqStdMeas.Designer.cs b/RbFreqStandMeasure/RbFreqStdMeas.Designer.cs
index 57778cf..1bd008c 100644
--- a/RbFreqStandMeasure/RbFreqStdMeas.Designer.cs
+++ b/RbFreqStandMeasure/RbFreqStdMeas.Designer.cs
@@ -30,148 +30,77 @@
private void InitializeComponent()
{
this.panMenu = new System.Windows.Forms.Panel();
+ this.penBanner = new System.Windows.Forms.Panel();
+ this.btnMinSys = new System.Windows.Forms.Button();
+ this.btnExitSys = new System.Windows.Forms.Button();
+ this.labTitle = new System.Windows.Forms.Label();
+ this.panDev = new Casic.Birmm.RbFreqStandMeasure.RoundPanel();
+ this.labDevText = new System.Windows.Forms.Label();
+ this.labDevSelected = new System.Windows.Forms.Label();
+ this.picIconDev = new System.Windows.Forms.PictureBox();
+ this.panSetting = new Casic.Birmm.RbFreqStandMeasure.RoundPanel();
+ this.labSettingSelected = new System.Windows.Forms.Label();
+ this.labSettingText = new System.Windows.Forms.Label();
+ this.picIconSetting = new System.Windows.Forms.PictureBox();
this.panStatus = new Casic.Birmm.RbFreqStandMeasure.RoundPanel();
this.labStatusText = new System.Windows.Forms.Label();
this.picIconStatus = new System.Windows.Forms.PictureBox();
+ this.labStatusSelected = new System.Windows.Forms.Label();
+ this.panData = new Casic.Birmm.RbFreqStandMeasure.RoundPanel();
+ this.labDataSelected = new System.Windows.Forms.Label();
+ this.labDataText = new System.Windows.Forms.Label();
+ this.picIconData = new System.Windows.Forms.PictureBox();
this.panHome = new Casic.Birmm.RbFreqStandMeasure.RoundPanel();
this.labHomeText = new System.Windows.Forms.Label();
this.picIconHome = new System.Windows.Forms.PictureBox();
this.labHomeSelected = new System.Windows.Forms.Label();
- this.labStatusSelected = new System.Windows.Forms.Label();
- this.penBanner = new System.Windows.Forms.Panel();
- this.btnExitSys = new System.Windows.Forms.Button();
- this.labTitle = new System.Windows.Forms.Label();
+ this.panMeasure = new Casic.Birmm.RbFreqStandMeasure.RoundPanel();
+ this.labMeasureText = new System.Windows.Forms.Label();
+ this.labMeasureSelected = new System.Windows.Forms.Label();
+ this.picIconMeasure = new System.Windows.Forms.PictureBox();
+ this.panCounter = new Casic.Birmm.RbFreqStandMeasure.RoundPanel();
+ this.labCounterSelected = new System.Windows.Forms.Label();
+ this.labCounterText = new System.Windows.Forms.Label();
+ this.picIconCounter = new System.Windows.Forms.PictureBox();
+ this.panelMain = new System.Windows.Forms.Panel();
this.panMenu.SuspendLayout();
+ this.penBanner.SuspendLayout();
+ this.panDev.SuspendLayout();
+ ((System.ComponentModel.ISupportInitialize)(this.picIconDev)).BeginInit();
+ this.panSetting.SuspendLayout();
+ ((System.ComponentModel.ISupportInitialize)(this.picIconSetting)).BeginInit();
this.panStatus.SuspendLayout();
((System.ComponentModel.ISupportInitialize)(this.picIconStatus)).BeginInit();
+ this.panData.SuspendLayout();
+ ((System.ComponentModel.ISupportInitialize)(this.picIconData)).BeginInit();
this.panHome.SuspendLayout();
((System.ComponentModel.ISupportInitialize)(this.picIconHome)).BeginInit();
- this.penBanner.SuspendLayout();
+ this.panMeasure.SuspendLayout();
+ ((System.ComponentModel.ISupportInitialize)(this.picIconMeasure)).BeginInit();
+ this.panCounter.SuspendLayout();
+ ((System.ComponentModel.ISupportInitialize)(this.picIconCounter)).BeginInit();
this.SuspendLayout();
//
// panMenu
//
this.panMenu.BackColor = System.Drawing.Color.White;
+ this.panMenu.Controls.Add(this.panDev);
+ this.panMenu.Controls.Add(this.panSetting);
this.panMenu.Controls.Add(this.panStatus);
+ this.panMenu.Controls.Add(this.panData);
this.panMenu.Controls.Add(this.panHome);
- this.panMenu.Controls.Add(this.labStatusSelected);
+ this.panMenu.Controls.Add(this.panMeasure);
+ this.panMenu.Controls.Add(this.panCounter);
this.panMenu.Location = new System.Drawing.Point(0, 64);
this.panMenu.Name = "panMenu";
this.panMenu.Size = new System.Drawing.Size(1024, 50);
this.panMenu.TabIndex = 1;
//
- // panStatus
- //
- this.panStatus.Back = System.Drawing.Color.Empty;
- this.panStatus.BackColor = System.Drawing.Color.Transparent;
- this.panStatus.Controls.Add(this.labStatusText);
- this.panStatus.Controls.Add(this.picIconStatus);
- this.panStatus.Location = new System.Drawing.Point(160, 0);
- this.panStatus.MatrixRound = 8;
- this.panStatus.Name = "panStatus";
- this.panStatus.Size = new System.Drawing.Size(130, 47);
- this.panStatus.TabIndex = 1;
- this.panStatus.Click += new System.EventHandler(this.panStatus_Click);
- this.panStatus.MouseLeave += new System.EventHandler(this.panStatus_MouseLeave);
- this.panStatus.MouseHover += new System.EventHandler(this.panStatus_MouseHover);
- //
- // labStatusText
- //
- this.labStatusText.BackColor = System.Drawing.Color.Transparent;
- this.labStatusText.Cursor = System.Windows.Forms.Cursors.Hand;
- this.labStatusText.Font = new System.Drawing.Font("微软雅黑", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
- this.labStatusText.ForeColor = System.Drawing.SystemColors.ControlText;
- this.labStatusText.Location = new System.Drawing.Point(35, 0);
- this.labStatusText.Margin = new System.Windows.Forms.Padding(0);
- this.labStatusText.Name = "labStatusText";
- this.labStatusText.Size = new System.Drawing.Size(85, 47);
- this.labStatusText.TabIndex = 2;
- this.labStatusText.Text = "基准状态";
- this.labStatusText.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
- this.labStatusText.Click += new System.EventHandler(this.panStatus_Click);
- this.labStatusText.MouseLeave += new System.EventHandler(this.panStatus_MouseLeave);
- this.labStatusText.MouseHover += new System.EventHandler(this.panStatus_MouseHover);
- //
- // picIconStatus
- //
- this.picIconStatus.BackgroundImage = global::Casic.Birmm.RbFreqStandMeasure.Properties.Resources.icon_status;
- this.picIconStatus.BackgroundImageLayout = System.Windows.Forms.ImageLayout.Zoom;
- this.picIconStatus.Location = new System.Drawing.Point(10, 11);
- this.picIconStatus.Name = "picIconStatus";
- this.picIconStatus.Size = new System.Drawing.Size(25, 25);
- this.picIconStatus.TabIndex = 1;
- this.picIconStatus.TabStop = false;
- this.picIconStatus.Click += new System.EventHandler(this.panStatus_Click);
- this.picIconStatus.MouseLeave += new System.EventHandler(this.panStatus_MouseLeave);
- this.picIconStatus.MouseHover += new System.EventHandler(this.panStatus_MouseHover);
- //
- // panHome
- //
- this.panHome.Back = System.Drawing.Color.Empty;
- this.panHome.Controls.Add(this.labHomeText);
- this.panHome.Controls.Add(this.picIconHome);
- this.panHome.Controls.Add(this.labHomeSelected);
- this.panHome.Cursor = System.Windows.Forms.Cursors.Hand;
- this.panHome.Location = new System.Drawing.Point(30, 0);
- this.panHome.MatrixRound = 8;
- this.panHome.Name = "panHome";
- this.panHome.Size = new System.Drawing.Size(100, 50);
- this.panHome.TabIndex = 0;
- this.panHome.Click += new System.EventHandler(this.panHome_Click);
- this.panHome.MouseLeave += new System.EventHandler(this.panHome_MouseLeave);
- this.panHome.MouseHover += new System.EventHandler(this.panHome_MouseHover);
- //
- // labHomeText
- //
- this.labHomeText.BackColor = System.Drawing.Color.Transparent;
- this.labHomeText.Font = new System.Drawing.Font("微软雅黑", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
- this.labHomeText.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(18)))), ((int)(((byte)(150)))), ((int)(((byte)(219)))));
- this.labHomeText.Location = new System.Drawing.Point(35, 0);
- this.labHomeText.Margin = new System.Windows.Forms.Padding(0);
- this.labHomeText.Name = "labHomeText";
- this.labHomeText.Size = new System.Drawing.Size(55, 47);
- this.labHomeText.TabIndex = 2;
- this.labHomeText.Text = "首页";
- this.labHomeText.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
- this.labHomeText.Click += new System.EventHandler(this.panHome_Click);
- this.labHomeText.MouseLeave += new System.EventHandler(this.panHome_MouseLeave);
- this.labHomeText.MouseHover += new System.EventHandler(this.panHome_MouseHover);
- //
- // picIconHome
- //
- this.picIconHome.BackColor = System.Drawing.Color.Transparent;
- this.picIconHome.BackgroundImage = global::Casic.Birmm.RbFreqStandMeasure.Properties.Resources.icon_home_selected;
- this.picIconHome.BackgroundImageLayout = System.Windows.Forms.ImageLayout.Zoom;
- this.picIconHome.Location = new System.Drawing.Point(10, 11);
- this.picIconHome.Name = "picIconHome";
- this.picIconHome.Size = new System.Drawing.Size(25, 25);
- this.picIconHome.TabIndex = 1;
- this.picIconHome.TabStop = false;
- this.picIconHome.Click += new System.EventHandler(this.panHome_Click);
- this.picIconHome.MouseLeave += new System.EventHandler(this.panHome_MouseLeave);
- this.picIconHome.MouseHover += new System.EventHandler(this.panHome_MouseHover);
- //
- // labHomeSelected
- //
- this.labHomeSelected.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(18)))), ((int)(((byte)(150)))), ((int)(((byte)(219)))));
- this.labHomeSelected.Location = new System.Drawing.Point(0, 47);
- this.labHomeSelected.Name = "labHomeSelected";
- this.labHomeSelected.Size = new System.Drawing.Size(100, 3);
- this.labHomeSelected.TabIndex = 0;
- //
- // labStatusSelected
- //
- this.labStatusSelected.BackColor = System.Drawing.Color.Transparent;
- this.labStatusSelected.Location = new System.Drawing.Point(160, 47);
- this.labStatusSelected.Margin = new System.Windows.Forms.Padding(0);
- this.labStatusSelected.Name = "labStatusSelected";
- this.labStatusSelected.Size = new System.Drawing.Size(130, 3);
- this.labStatusSelected.TabIndex = 0;
- //
// penBanner
//
this.penBanner.BackgroundImage = global::Casic.Birmm.RbFreqStandMeasure.Properties.Resources.bg_banner;
this.penBanner.BackgroundImageLayout = System.Windows.Forms.ImageLayout.Stretch;
+ this.penBanner.Controls.Add(this.btnMinSys);
this.penBanner.Controls.Add(this.btnExitSys);
this.penBanner.Controls.Add(this.labTitle);
this.penBanner.Location = new System.Drawing.Point(0, 0);
@@ -180,6 +109,23 @@
this.penBanner.TabIndex = 0;
this.penBanner.MouseDown += new System.Windows.Forms.MouseEventHandler(this.RbFreqStdMeas_MouseDown);
//
+ // btnMinSys
+ //
+ this.btnMinSys.BackColor = System.Drawing.Color.Transparent;
+ this.btnMinSys.BackgroundImage = global::Casic.Birmm.RbFreqStandMeasure.Properties.Resources.icon_min;
+ this.btnMinSys.BackgroundImageLayout = System.Windows.Forms.ImageLayout.Stretch;
+ this.btnMinSys.FlatAppearance.BorderSize = 0;
+ this.btnMinSys.FlatStyle = System.Windows.Forms.FlatStyle.Flat;
+ this.btnMinSys.ForeColor = System.Drawing.SystemColors.ControlDarkDark;
+ this.btnMinSys.Location = new System.Drawing.Point(944, 22);
+ this.btnMinSys.Margin = new System.Windows.Forms.Padding(0);
+ this.btnMinSys.Name = "btnMinSys";
+ this.btnMinSys.Size = new System.Drawing.Size(20, 20);
+ this.btnMinSys.TabIndex = 1;
+ this.btnMinSys.UseVisualStyleBackColor = false;
+ this.btnMinSys.Click += new System.EventHandler(this.btnMinSys_Click);
+ this.btnMinSys.MouseHover += new System.EventHandler(this.btnMinSys_MouseHover);
+ //
// btnExitSys
//
this.btnExitSys.BackColor = System.Drawing.Color.Transparent;
@@ -200,7 +146,7 @@
// labTitle
//
this.labTitle.BackColor = System.Drawing.Color.Transparent;
- this.labTitle.Font = new System.Drawing.Font("微软雅黑", 15.75F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
+ this.labTitle.Font = new System.Drawing.Font("微软雅黑", 20F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Pixel, ((byte)(134)));
this.labTitle.ForeColor = System.Drawing.Color.White;
this.labTitle.Location = new System.Drawing.Point(30, 16);
this.labTitle.Name = "labTitle";
@@ -209,11 +155,404 @@
this.labTitle.Text = "铷原子频标比对测量软件";
this.labTitle.TextAlign = System.Drawing.ContentAlignment.MiddleLeft;
//
+ // panDev
+ //
+ this.panDev.Back = System.Drawing.Color.Empty;
+ this.panDev.Controls.Add(this.labDevText);
+ this.panDev.Controls.Add(this.labDevSelected);
+ this.panDev.Controls.Add(this.picIconDev);
+ this.panDev.Location = new System.Drawing.Point(214, 0);
+ this.panDev.MatrixRound = 8;
+ this.panDev.Name = "panDev";
+ this.panDev.Size = new System.Drawing.Size(141, 50);
+ this.panDev.TabIndex = 2;
+ this.panDev.Click += new System.EventHandler(this.panDev_Click);
+ this.panDev.MouseLeave += new System.EventHandler(this.panDev_MouseLeave);
+ this.panDev.MouseHover += new System.EventHandler(this.panDev_MouseHover);
+ //
+ // labDevText
+ //
+ this.labDevText.BackColor = System.Drawing.Color.Transparent;
+ this.labDevText.Cursor = System.Windows.Forms.Cursors.Hand;
+ this.labDevText.Font = new System.Drawing.Font("微软雅黑", 16F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Pixel, ((byte)(134)));
+ this.labDevText.ForeColor = System.Drawing.SystemColors.ControlText;
+ this.labDevText.Location = new System.Drawing.Point(30, 14);
+ this.labDevText.Margin = new System.Windows.Forms.Padding(0);
+ this.labDevText.Name = "labDevText";
+ this.labDevText.Size = new System.Drawing.Size(106, 20);
+ this.labDevText.TabIndex = 2;
+ this.labDevText.Text = "送检仪器管理";
+ this.labDevText.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
+ this.labDevText.Click += new System.EventHandler(this.panDev_Click);
+ this.labDevText.MouseLeave += new System.EventHandler(this.panDev_MouseLeave);
+ this.labDevText.MouseHover += new System.EventHandler(this.panDev_MouseHover);
+ //
+ // labDevSelected
+ //
+ this.labDevSelected.BackColor = System.Drawing.Color.Transparent;
+ this.labDevSelected.Location = new System.Drawing.Point(8, 48);
+ this.labDevSelected.Margin = new System.Windows.Forms.Padding(0);
+ this.labDevSelected.Name = "labDevSelected";
+ this.labDevSelected.Size = new System.Drawing.Size(121, 2);
+ this.labDevSelected.TabIndex = 3;
+ //
+ // picIconDev
+ //
+ this.picIconDev.BackColor = System.Drawing.Color.Transparent;
+ this.picIconDev.BackgroundImage = global::Casic.Birmm.RbFreqStandMeasure.Properties.Resources.icon_dev;
+ this.picIconDev.BackgroundImageLayout = System.Windows.Forms.ImageLayout.Zoom;
+ this.picIconDev.Location = new System.Drawing.Point(10, 14);
+ this.picIconDev.Name = "picIconDev";
+ this.picIconDev.Size = new System.Drawing.Size(20, 20);
+ this.picIconDev.TabIndex = 1;
+ this.picIconDev.TabStop = false;
+ this.picIconDev.Click += new System.EventHandler(this.panDev_Click);
+ this.picIconDev.MouseLeave += new System.EventHandler(this.panDev_MouseLeave);
+ this.picIconDev.MouseHover += new System.EventHandler(this.panDev_MouseHover);
+ //
+ // panSetting
+ //
+ this.panSetting.Back = System.Drawing.Color.Empty;
+ this.panSetting.Controls.Add(this.labSettingSelected);
+ this.panSetting.Controls.Add(this.labSettingText);
+ this.panSetting.Controls.Add(this.picIconSetting);
+ this.panSetting.Location = new System.Drawing.Point(879, 0);
+ this.panSetting.MatrixRound = 8;
+ this.panSetting.Name = "panSetting";
+ this.panSetting.Size = new System.Drawing.Size(109, 50);
+ this.panSetting.TabIndex = 2;
+ this.panSetting.Click += new System.EventHandler(this.panSetting_Click);
+ this.panSetting.MouseLeave += new System.EventHandler(this.panSetting_MouseLeave);
+ this.panSetting.MouseHover += new System.EventHandler(this.panSetting_MouseHover);
+ //
+ // labSettingSelected
+ //
+ this.labSettingSelected.BackColor = System.Drawing.Color.Transparent;
+ this.labSettingSelected.Location = new System.Drawing.Point(10, 48);
+ this.labSettingSelected.Margin = new System.Windows.Forms.Padding(0);
+ this.labSettingSelected.Name = "labSettingSelected";
+ this.labSettingSelected.Size = new System.Drawing.Size(89, 2);
+ this.labSettingSelected.TabIndex = 4;
+ //
+ // labSettingText
+ //
+ this.labSettingText.BackColor = System.Drawing.Color.Transparent;
+ this.labSettingText.Cursor = System.Windows.Forms.Cursors.Hand;
+ this.labSettingText.Font = new System.Drawing.Font("微软雅黑", 16F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Pixel, ((byte)(134)));
+ this.labSettingText.ForeColor = System.Drawing.SystemColors.ControlText;
+ this.labSettingText.Location = new System.Drawing.Point(30, 14);
+ this.labSettingText.Margin = new System.Windows.Forms.Padding(0);
+ this.labSettingText.Name = "labSettingText";
+ this.labSettingText.Size = new System.Drawing.Size(74, 20);
+ this.labSettingText.TabIndex = 2;
+ this.labSettingText.Text = "系统设置";
+ this.labSettingText.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
+ this.labSettingText.Click += new System.EventHandler(this.panSetting_Click);
+ this.labSettingText.MouseLeave += new System.EventHandler(this.panSetting_MouseLeave);
+ this.labSettingText.MouseHover += new System.EventHandler(this.panSetting_MouseHover);
+ //
+ // picIconSetting
+ //
+ this.picIconSetting.BackColor = System.Drawing.Color.Transparent;
+ this.picIconSetting.BackgroundImage = global::Casic.Birmm.RbFreqStandMeasure.Properties.Resources.icon_setting;
+ this.picIconSetting.BackgroundImageLayout = System.Windows.Forms.ImageLayout.Zoom;
+ this.picIconSetting.Location = new System.Drawing.Point(10, 14);
+ this.picIconSetting.Name = "picIconSetting";
+ this.picIconSetting.Size = new System.Drawing.Size(20, 20);
+ this.picIconSetting.TabIndex = 1;
+ this.picIconSetting.TabStop = false;
+ this.picIconSetting.Click += new System.EventHandler(this.panSetting_Click);
+ this.picIconSetting.MouseLeave += new System.EventHandler(this.panSetting_MouseLeave);
+ this.picIconSetting.MouseHover += new System.EventHandler(this.panSetting_MouseHover);
+ //
+ // panStatus
+ //
+ this.panStatus.Back = System.Drawing.Color.Empty;
+ this.panStatus.BackColor = System.Drawing.Color.Transparent;
+ this.panStatus.Controls.Add(this.labStatusText);
+ this.panStatus.Controls.Add(this.picIconStatus);
+ this.panStatus.Controls.Add(this.labStatusSelected);
+ this.panStatus.Location = new System.Drawing.Point(101, 0);
+ this.panStatus.MatrixRound = 8;
+ this.panStatus.Name = "panStatus";
+ this.panStatus.Size = new System.Drawing.Size(109, 50);
+ this.panStatus.TabIndex = 1;
+ this.panStatus.Click += new System.EventHandler(this.panStatus_Click);
+ this.panStatus.MouseLeave += new System.EventHandler(this.panStatus_MouseLeave);
+ this.panStatus.MouseHover += new System.EventHandler(this.panStatus_MouseHover);
+ //
+ // labStatusText
+ //
+ this.labStatusText.BackColor = System.Drawing.Color.Transparent;
+ this.labStatusText.Cursor = System.Windows.Forms.Cursors.Hand;
+ this.labStatusText.Font = new System.Drawing.Font("微软雅黑", 16F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Pixel, ((byte)(134)));
+ this.labStatusText.ForeColor = System.Drawing.SystemColors.ControlText;
+ this.labStatusText.Location = new System.Drawing.Point(30, 14);
+ this.labStatusText.Margin = new System.Windows.Forms.Padding(0);
+ this.labStatusText.Name = "labStatusText";
+ this.labStatusText.Size = new System.Drawing.Size(74, 20);
+ this.labStatusText.TabIndex = 2;
+ this.labStatusText.Text = "基准状态";
+ this.labStatusText.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
+ this.labStatusText.Click += new System.EventHandler(this.panStatus_Click);
+ this.labStatusText.MouseLeave += new System.EventHandler(this.panStatus_MouseLeave);
+ this.labStatusText.MouseHover += new System.EventHandler(this.panStatus_MouseHover);
+ //
+ // picIconStatus
+ //
+ this.picIconStatus.BackgroundImage = global::Casic.Birmm.RbFreqStandMeasure.Properties.Resources.icon_status;
+ this.picIconStatus.BackgroundImageLayout = System.Windows.Forms.ImageLayout.Zoom;
+ this.picIconStatus.Location = new System.Drawing.Point(10, 14);
+ this.picIconStatus.Name = "picIconStatus";
+ this.picIconStatus.Size = new System.Drawing.Size(20, 20);
+ this.picIconStatus.TabIndex = 1;
+ this.picIconStatus.TabStop = false;
+ this.picIconStatus.Click += new System.EventHandler(this.panStatus_Click);
+ this.picIconStatus.MouseLeave += new System.EventHandler(this.panStatus_MouseLeave);
+ this.picIconStatus.MouseHover += new System.EventHandler(this.panStatus_MouseHover);
+ //
+ // labStatusSelected
+ //
+ this.labStatusSelected.BackColor = System.Drawing.Color.Transparent;
+ this.labStatusSelected.Location = new System.Drawing.Point(10, 48);
+ this.labStatusSelected.Margin = new System.Windows.Forms.Padding(0);
+ this.labStatusSelected.Name = "labStatusSelected";
+ this.labStatusSelected.Size = new System.Drawing.Size(89, 2);
+ this.labStatusSelected.TabIndex = 0;
+ //
+ // panData
+ //
+ this.panData.Back = System.Drawing.Color.Empty;
+ this.panData.Controls.Add(this.labDataSelected);
+ this.panData.Controls.Add(this.labDataText);
+ this.panData.Controls.Add(this.picIconData);
+ this.panData.Location = new System.Drawing.Point(765, 0);
+ this.panData.MatrixRound = 8;
+ this.panData.Name = "panData";
+ this.panData.Size = new System.Drawing.Size(109, 50);
+ this.panData.TabIndex = 2;
+ this.panData.Click += new System.EventHandler(this.panData_Click);
+ this.panData.MouseLeave += new System.EventHandler(this.panData_MouseLeave);
+ this.panData.MouseHover += new System.EventHandler(this.panData_MouseHover);
+ //
+ // labDataSelected
+ //
+ this.labDataSelected.BackColor = System.Drawing.Color.Transparent;
+ this.labDataSelected.Location = new System.Drawing.Point(10, 48);
+ this.labDataSelected.Margin = new System.Windows.Forms.Padding(0);
+ this.labDataSelected.Name = "labDataSelected";
+ this.labDataSelected.Size = new System.Drawing.Size(89, 2);
+ this.labDataSelected.TabIndex = 3;
+ //
+ // labDataText
+ //
+ this.labDataText.BackColor = System.Drawing.Color.Transparent;
+ this.labDataText.Cursor = System.Windows.Forms.Cursors.Hand;
+ this.labDataText.Font = new System.Drawing.Font("微软雅黑", 16F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Pixel, ((byte)(134)));
+ this.labDataText.ForeColor = System.Drawing.SystemColors.ControlText;
+ this.labDataText.Location = new System.Drawing.Point(30, 14);
+ this.labDataText.Margin = new System.Windows.Forms.Padding(0);
+ this.labDataText.Name = "labDataText";
+ this.labDataText.Size = new System.Drawing.Size(74, 20);
+ this.labDataText.TabIndex = 2;
+ this.labDataText.Text = "数据管理";
+ this.labDataText.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
+ this.labDataText.Click += new System.EventHandler(this.panData_Click);
+ this.labDataText.MouseLeave += new System.EventHandler(this.panData_MouseLeave);
+ this.labDataText.MouseHover += new System.EventHandler(this.panData_MouseHover);
+ //
+ // picIconData
+ //
+ this.picIconData.BackColor = System.Drawing.Color.Transparent;
+ this.picIconData.BackgroundImage = global::Casic.Birmm.RbFreqStandMeasure.Properties.Resources.icon_data;
+ this.picIconData.BackgroundImageLayout = System.Windows.Forms.ImageLayout.Zoom;
+ this.picIconData.Location = new System.Drawing.Point(10, 14);
+ this.picIconData.Name = "picIconData";
+ this.picIconData.Size = new System.Drawing.Size(20, 20);
+ this.picIconData.TabIndex = 1;
+ this.picIconData.TabStop = false;
+ this.picIconData.Click += new System.EventHandler(this.panData_Click);
+ this.picIconData.MouseLeave += new System.EventHandler(this.panData_MouseLeave);
+ this.picIconData.MouseHover += new System.EventHandler(this.panData_MouseHover);
+ //
+ // panHome
+ //
+ this.panHome.Back = System.Drawing.Color.Empty;
+ this.panHome.Controls.Add(this.labHomeText);
+ this.panHome.Controls.Add(this.picIconHome);
+ this.panHome.Controls.Add(this.labHomeSelected);
+ this.panHome.Cursor = System.Windows.Forms.Cursors.Hand;
+ this.panHome.Location = new System.Drawing.Point(20, 0);
+ this.panHome.MatrixRound = 8;
+ this.panHome.Name = "panHome";
+ this.panHome.Size = new System.Drawing.Size(75, 50);
+ this.panHome.TabIndex = 0;
+ this.panHome.Click += new System.EventHandler(this.panHome_Click);
+ this.panHome.MouseLeave += new System.EventHandler(this.panHome_MouseLeave);
+ this.panHome.MouseHover += new System.EventHandler(this.panHome_MouseHover);
+ //
+ // labHomeText
+ //
+ this.labHomeText.BackColor = System.Drawing.Color.Transparent;
+ this.labHomeText.Font = new System.Drawing.Font("微软雅黑", 16F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Pixel, ((byte)(134)));
+ this.labHomeText.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(18)))), ((int)(((byte)(150)))), ((int)(((byte)(219)))));
+ this.labHomeText.Location = new System.Drawing.Point(30, 14);
+ this.labHomeText.Margin = new System.Windows.Forms.Padding(0);
+ this.labHomeText.Name = "labHomeText";
+ this.labHomeText.Size = new System.Drawing.Size(42, 20);
+ this.labHomeText.TabIndex = 2;
+ this.labHomeText.Text = "首页";
+ this.labHomeText.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
+ this.labHomeText.Click += new System.EventHandler(this.panHome_Click);
+ this.labHomeText.MouseLeave += new System.EventHandler(this.panHome_MouseLeave);
+ this.labHomeText.MouseHover += new System.EventHandler(this.panHome_MouseHover);
+ //
+ // picIconHome
+ //
+ this.picIconHome.BackColor = System.Drawing.Color.Transparent;
+ this.picIconHome.BackgroundImage = global::Casic.Birmm.RbFreqStandMeasure.Properties.Resources.icon_home_selected;
+ this.picIconHome.BackgroundImageLayout = System.Windows.Forms.ImageLayout.Zoom;
+ this.picIconHome.Location = new System.Drawing.Point(10, 14);
+ this.picIconHome.Margin = new System.Windows.Forms.Padding(0);
+ this.picIconHome.Name = "picIconHome";
+ this.picIconHome.Size = new System.Drawing.Size(20, 20);
+ this.picIconHome.TabIndex = 1;
+ this.picIconHome.TabStop = false;
+ this.picIconHome.Click += new System.EventHandler(this.panHome_Click);
+ this.picIconHome.MouseLeave += new System.EventHandler(this.panHome_MouseLeave);
+ this.picIconHome.MouseHover += new System.EventHandler(this.panHome_MouseHover);
+ //
+ // labHomeSelected
+ //
+ this.labHomeSelected.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(18)))), ((int)(((byte)(150)))), ((int)(((byte)(219)))));
+ this.labHomeSelected.Location = new System.Drawing.Point(10, 48);
+ this.labHomeSelected.Name = "labHomeSelected";
+ this.labHomeSelected.Size = new System.Drawing.Size(55, 2);
+ this.labHomeSelected.TabIndex = 0;
+ //
+ // panMeasure
+ //
+ this.panMeasure.Back = System.Drawing.Color.Empty;
+ this.panMeasure.Controls.Add(this.labMeasureText);
+ this.panMeasure.Controls.Add(this.labMeasureSelected);
+ this.panMeasure.Controls.Add(this.picIconMeasure);
+ this.panMeasure.Location = new System.Drawing.Point(619, 0);
+ this.panMeasure.MatrixRound = 8;
+ this.panMeasure.Name = "panMeasure";
+ this.panMeasure.Size = new System.Drawing.Size(141, 50);
+ this.panMeasure.TabIndex = 2;
+ this.panMeasure.Click += new System.EventHandler(this.panMeasure_Click);
+ this.panMeasure.MouseLeave += new System.EventHandler(this.panMeasure_MouseLeave);
+ this.panMeasure.MouseHover += new System.EventHandler(this.panMeasure_MouseHover);
+ //
+ // labMeasureText
+ //
+ this.labMeasureText.BackColor = System.Drawing.Color.Transparent;
+ this.labMeasureText.Cursor = System.Windows.Forms.Cursors.Hand;
+ this.labMeasureText.Font = new System.Drawing.Font("微软雅黑", 16F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Pixel, ((byte)(134)));
+ this.labMeasureText.ForeColor = System.Drawing.SystemColors.ControlText;
+ this.labMeasureText.Location = new System.Drawing.Point(30, 14);
+ this.labMeasureText.Margin = new System.Windows.Forms.Padding(0);
+ this.labMeasureText.Name = "labMeasureText";
+ this.labMeasureText.Size = new System.Drawing.Size(106, 20);
+ this.labMeasureText.TabIndex = 2;
+ this.labMeasureText.Text = "计量信息管理";
+ this.labMeasureText.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
+ this.labMeasureText.Click += new System.EventHandler(this.panMeasure_Click);
+ this.labMeasureText.MouseLeave += new System.EventHandler(this.panMeasure_MouseLeave);
+ this.labMeasureText.MouseHover += new System.EventHandler(this.panMeasure_MouseHover);
+ //
+ // labMeasureSelected
+ //
+ this.labMeasureSelected.BackColor = System.Drawing.Color.Transparent;
+ this.labMeasureSelected.Location = new System.Drawing.Point(10, 48);
+ this.labMeasureSelected.Margin = new System.Windows.Forms.Padding(0);
+ this.labMeasureSelected.Name = "labMeasureSelected";
+ this.labMeasureSelected.Size = new System.Drawing.Size(121, 2);
+ this.labMeasureSelected.TabIndex = 3;
+ //
+ // picIconMeasure
+ //
+ this.picIconMeasure.BackColor = System.Drawing.Color.Transparent;
+ this.picIconMeasure.BackgroundImage = global::Casic.Birmm.RbFreqStandMeasure.Properties.Resources.icon_measure;
+ this.picIconMeasure.BackgroundImageLayout = System.Windows.Forms.ImageLayout.Zoom;
+ this.picIconMeasure.Location = new System.Drawing.Point(10, 14);
+ this.picIconMeasure.Name = "picIconMeasure";
+ this.picIconMeasure.Size = new System.Drawing.Size(20, 20);
+ this.picIconMeasure.TabIndex = 1;
+ this.picIconMeasure.TabStop = false;
+ this.picIconMeasure.Click += new System.EventHandler(this.panMeasure_Click);
+ this.picIconMeasure.MouseLeave += new System.EventHandler(this.panMeasure_MouseLeave);
+ this.picIconMeasure.MouseHover += new System.EventHandler(this.panMeasure_MouseHover);
+ //
+ // panCounter
+ //
+ this.panCounter.Back = System.Drawing.Color.Empty;
+ this.panCounter.Controls.Add(this.labCounterSelected);
+ this.panCounter.Controls.Add(this.labCounterText);
+ this.panCounter.Controls.Add(this.picIconCounter);
+ this.panCounter.Location = new System.Drawing.Point(360, 0);
+ this.panCounter.MatrixRound = 8;
+ this.panCounter.Name = "panCounter";
+ this.panCounter.Size = new System.Drawing.Size(254, 50);
+ this.panCounter.TabIndex = 2;
+ this.panCounter.Click += new System.EventHandler(this.panCounter_Click);
+ this.panCounter.MouseLeave += new System.EventHandler(this.panCounter_MouseLeave);
+ this.panCounter.MouseHover += new System.EventHandler(this.panCounter_MouseHover);
+ //
+ // labCounterSelected
+ //
+ this.labCounterSelected.BackColor = System.Drawing.Color.Transparent;
+ this.labCounterSelected.Location = new System.Drawing.Point(10, 48);
+ this.labCounterSelected.Margin = new System.Windows.Forms.Padding(0);
+ this.labCounterSelected.Name = "labCounterSelected";
+ this.labCounterSelected.Size = new System.Drawing.Size(233, 2);
+ this.labCounterSelected.TabIndex = 4;
+ //
+ // labCounterText
+ //
+ this.labCounterText.BackColor = System.Drawing.Color.Transparent;
+ this.labCounterText.Cursor = System.Windows.Forms.Cursors.Hand;
+ this.labCounterText.Font = new System.Drawing.Font("微软雅黑", 16F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Pixel, ((byte)(134)));
+ this.labCounterText.ForeColor = System.Drawing.SystemColors.ControlText;
+ this.labCounterText.Location = new System.Drawing.Point(30, 14);
+ this.labCounterText.Margin = new System.Windows.Forms.Padding(0);
+ this.labCounterText.Name = "labCounterText";
+ this.labCounterText.Size = new System.Drawing.Size(218, 20);
+ this.labCounterText.TabIndex = 2;
+ this.labCounterText.Text = "频率计数器范围及灵敏度测量";
+ this.labCounterText.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
+ this.labCounterText.Click += new System.EventHandler(this.panCounter_Click);
+ this.labCounterText.MouseLeave += new System.EventHandler(this.panCounter_MouseLeave);
+ this.labCounterText.MouseHover += new System.EventHandler(this.panCounter_MouseHover);
+ //
+ // picIconCounter
+ //
+ this.picIconCounter.BackColor = System.Drawing.Color.Transparent;
+ this.picIconCounter.BackgroundImage = global::Casic.Birmm.RbFreqStandMeasure.Properties.Resources.icon_counter;
+ this.picIconCounter.BackgroundImageLayout = System.Windows.Forms.ImageLayout.Zoom;
+ this.picIconCounter.Location = new System.Drawing.Point(10, 14);
+ this.picIconCounter.Name = "picIconCounter";
+ this.picIconCounter.Size = new System.Drawing.Size(20, 20);
+ this.picIconCounter.TabIndex = 1;
+ this.picIconCounter.TabStop = false;
+ this.picIconCounter.Click += new System.EventHandler(this.panCounter_Click);
+ this.picIconCounter.MouseLeave += new System.EventHandler(this.panCounter_MouseLeave);
+ this.picIconCounter.MouseHover += new System.EventHandler(this.panCounter_MouseHover);
+ //
+ // panelMain
+ //
+ this.panelMain.Location = new System.Drawing.Point(0, 114);
+ this.panelMain.Name = "panelMain";
+ this.panelMain.Size = new System.Drawing.Size(1024, 654);
+ this.panelMain.TabIndex = 2;
+ //
// RbFreqStdMeas
//
this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 12F);
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
this.ClientSize = new System.Drawing.Size(1024, 768);
+ this.Controls.Add(this.panelMain);
this.Controls.Add(this.panMenu);
this.Controls.Add(this.penBanner);
this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.None;
@@ -221,11 +560,21 @@
this.Text = "RbFreqStdMeas";
this.Load += new System.EventHandler(this.RbFreqStdMeas_Load);
this.panMenu.ResumeLayout(false);
+ this.penBanner.ResumeLayout(false);
+ this.panDev.ResumeLayout(false);
+ ((System.ComponentModel.ISupportInitialize)(this.picIconDev)).EndInit();
+ this.panSetting.ResumeLayout(false);
+ ((System.ComponentModel.ISupportInitialize)(this.picIconSetting)).EndInit();
this.panStatus.ResumeLayout(false);
((System.ComponentModel.ISupportInitialize)(this.picIconStatus)).EndInit();
+ this.panData.ResumeLayout(false);
+ ((System.ComponentModel.ISupportInitialize)(this.picIconData)).EndInit();
this.panHome.ResumeLayout(false);
((System.ComponentModel.ISupportInitialize)(this.picIconHome)).EndInit();
- this.penBanner.ResumeLayout(false);
+ this.panMeasure.ResumeLayout(false);
+ ((System.ComponentModel.ISupportInitialize)(this.picIconMeasure)).EndInit();
+ this.panCounter.ResumeLayout(false);
+ ((System.ComponentModel.ISupportInitialize)(this.picIconCounter)).EndInit();
this.ResumeLayout(false);
}
@@ -244,5 +593,27 @@
private RoundPanel panStatus;
private RoundPanel panHome;
private System.Windows.Forms.Label labStatusSelected;
+ private RoundPanel panDev;
+ private System.Windows.Forms.PictureBox picIconDev;
+ private System.Windows.Forms.Label labDevText;
+ private System.Windows.Forms.Label labMeasureSelected;
+ private RoundPanel panCounter;
+ private System.Windows.Forms.Label labCounterText;
+ private System.Windows.Forms.PictureBox picIconCounter;
+ private RoundPanel panMeasure;
+ private System.Windows.Forms.Label labMeasureText;
+ private System.Windows.Forms.PictureBox picIconMeasure;
+ private RoundPanel panData;
+ private System.Windows.Forms.Label labDataText;
+ private System.Windows.Forms.PictureBox picIconData;
+ private RoundPanel panSetting;
+ private System.Windows.Forms.Label labSettingText;
+ private System.Windows.Forms.PictureBox picIconSetting;
+ private System.Windows.Forms.Label labCounterSelected;
+ private System.Windows.Forms.Label labDevSelected;
+ private System.Windows.Forms.Label labDataSelected;
+ private System.Windows.Forms.Label labSettingSelected;
+ private System.Windows.Forms.Button btnMinSys;
+ private System.Windows.Forms.Panel panelMain;
}
}
\ No newline at end of file
diff --git a/RbFreqStandMeasure/RbFreqStdMeas.cs b/RbFreqStandMeasure/RbFreqStdMeas.cs
index 3858ddb..af980d7 100644
--- a/RbFreqStandMeasure/RbFreqStdMeas.cs
+++ b/RbFreqStandMeasure/RbFreqStdMeas.cs
@@ -1,13 +1,9 @@
-using Casic.Birmm.RbFreqStandMeasure.Properties;
+using Casic.Birmm.RbFreqStandMeasure.info;
+using Casic.Birmm.RbFreqStandMeasure.Properties;
+using Casic.Birmm.RbFreqStandMeasure.setting;
using System;
-using System.Collections.Generic;
-using System.ComponentModel;
-using System.Data;
using System.Drawing;
-using System.Linq;
-using System.Resources;
using System.Runtime.InteropServices;
-using System.Text;
using System.Windows.Forms;
namespace Casic.Birmm.RbFreqStandMeasure
@@ -15,7 +11,7 @@
public partial class RbFreqStdMeas : Form
{
- #region 无边框拖动效果
+ #region 无边框拖动效果/最小化窗口/关闭窗口
[DllImport("user32.dll")]//拖动无窗体的控件
public static extern bool ReleaseCapture();
[DllImport("user32.dll")]
@@ -30,9 +26,29 @@
ReleaseCapture();
SendMessage(this.Handle, WM_SYSCOMMAND, SC_MOVE + HTCAPTION, 0);
}
+ private void btnExitSys_Click(object sender, EventArgs e)
+ {
+ Application.Exit();
+ }
+ private void btnMinSys_Click(object sender, EventArgs e)
+ {
+ this.WindowState = FormWindowState.Minimized;
+ }
+ private void btnExitSys_MouseHover(object sender, EventArgs e)
+ {
+ ToolTip p = new ToolTip();
+ p.ShowAlways = true;
+ p.SetToolTip(this.btnExitSys, "退出");
+ }
+ private void btnMinSys_MouseHover(object sender, EventArgs e)
+ {
+ ToolTip p = new ToolTip();
+ p.ShowAlways = true;
+ p.SetToolTip(this.btnMinSys, "最小化");
+ }
#endregion
- private bool[] menuSelected = { true, false };
+ private bool[] menuSelected = { true, false, false, false, false, false, false };
// 按钮图标
private PictureBox[] menuPics;
// 按钮图标的资源名称(选中的资源名称在后面加上 _selected)
@@ -57,7 +73,7 @@
// 将当前按钮的效果设置为默认未选中
this.menuPics[index].BackgroundImage = (Bitmap)Resources.ResourceManager.GetObject(this.menuIconResources[index], null);
- this.menuLabels[index].ForeColor = ColorTranslator.FromHtml("#2C2C2C");
+ this.menuLabels[index].ForeColor = ColorTranslator.FromHtml("#333333");
this.menuUnderlines[index].BackColor = Color.Transparent;
}
@@ -79,13 +95,15 @@
LeaveHome();
// 重新设置所有按钮的状态
- this.menuSelected = new bool[] { true, false };
+ this.menuSelected = new bool[] { true, false, false, false, false, false, false };
// 将新选中的按钮设置为选中
this.picIconHome.BackgroundImage = (Bitmap)Resources.ResourceManager.GetObject("icon_home_selected", null);
- this.labHomeText.ForeColor = ColorTranslator.FromHtml("#1296db");
- this.labHomeSelected.BackColor = ColorTranslator.FromHtml("#1296db");
+ this.labHomeText.ForeColor = ColorTranslator.FromHtml("#3f84d7");
+ this.labHomeSelected.BackColor = ColorTranslator.FromHtml("#3f84d7");
+ // 切换至首页
+ switchMainPanel(0);
}
#endregion
@@ -107,12 +125,163 @@
LeaveStatus();
// 重新设置所有按钮的状态
- this.menuSelected = new bool[] { false, true };
+ this.menuSelected = new bool[] { false, true, false, false, false, false, false };
// 将新选中的按钮设置为选中
this.picIconStatus.BackgroundImage = (Bitmap) Resources.ResourceManager.GetObject("icon_status_selected", null);
- this.labStatusText.ForeColor = ColorTranslator.FromHtml("#1296db");
- this.labStatusSelected.BackColor = ColorTranslator.FromHtml("#1296db");
+ this.labStatusText.ForeColor = ColorTranslator.FromHtml("#3f84d7");
+ this.labStatusSelected.BackColor = ColorTranslator.FromHtml("#3f84d7");
+
+ // 切换到基准状态页面
+ switchMainPanel(1);
+ }
+ #endregion
+
+ #region 送检仪器按钮点击、移入/移出效果
+ private void HoverDev()
+ {
+ panDev.Back = ColorTranslator.FromHtml("#56a3f2");
+ }
+ private void LeaveDev()
+ {
+ panDev.Back = Color.Transparent;
+ }
+ private void SelectDev()
+ {
+ // 移除所有按钮的选中样式
+ this.ClearAllMenuSelected();
+
+ // 鼠标移入效果去掉
+ LeaveDev();
+
+ // 重新设置所有按钮的状态
+ this.menuSelected = new bool[] { false, false, true, false, false ,false ,false };
+
+ // 将新选中的按钮设置为选中
+ this.picIconDev.BackgroundImage = (Bitmap)Resources.ResourceManager.GetObject("icon_dev_selected", null);
+ this.labDevText.ForeColor = ColorTranslator.FromHtml("#3f84d7");
+ this.labDevSelected.BackColor = ColorTranslator.FromHtml("#3f84d7");
+
+ // 切换至待检仪器管理
+ switchMainPanel(2);
+ }
+ #endregion
+
+ #region 频率计数器测量点击、移入/移出效果
+ private void HoverCounter()
+ {
+ panCounter.Back = ColorTranslator.FromHtml("#56a3f2");
+ }
+ private void LeaveCounter()
+ {
+ panCounter.Back = Color.Transparent;
+ }
+ private void SelectCounter()
+ {
+ // 移除所有按钮的选中样式
+ this.ClearAllMenuSelected();
+
+ // 鼠标移入效果去掉
+ LeaveCounter();
+
+ // 重新设置所有按钮的状态
+ this.menuSelected = new bool[] { false, false, false, true, false, false, false };
+
+ // 将新选中的按钮设置为选中
+ this.picIconCounter.BackgroundImage = (Bitmap)Resources.ResourceManager.GetObject("icon_counter_selected", null);
+ this.labCounterText.ForeColor = ColorTranslator.FromHtml("#3f84d7");
+ this.labCounterSelected.BackColor = ColorTranslator.FromHtml("#3f84d7");
+ }
+ #endregion
+
+ #region 计量管理点击、移入/移出效果
+ private void HoverMeasure()
+ {
+ panMeasure.Back = ColorTranslator.FromHtml("#56a3f2");
+ }
+ private void LeaveMeasure()
+ {
+ panMeasure.Back = Color.Transparent;
+ }
+ private void SelectMeasure()
+ {
+ // 移除所有按钮的选中样式
+ this.ClearAllMenuSelected();
+
+ // 鼠标移入效果去掉
+ LeaveMeasure();
+
+ // 重新设置所有按钮的状态
+ this.menuSelected = new bool[] { false, false, false, false, true, false, false };
+
+ // 将新选中的按钮设置为选中
+ this.picIconMeasure.BackgroundImage = (Bitmap)Resources.ResourceManager.GetObject("icon_measure_selected", null);
+ this.labMeasureText.ForeColor = ColorTranslator.FromHtml("#3f84d7");
+ this.labMeasureSelected.BackColor = ColorTranslator.FromHtml("#3f84d7");
+
+ // 切换至计量信息管理
+ switchMainPanel(4);
+ }
+ #endregion
+
+ #region 数据管理点击、移入/移出效果
+ private void HoverData()
+ {
+ panData.Back = ColorTranslator.FromHtml("#56a3f2");
+ }
+ private void LeaveData()
+ {
+ panData.Back = Color.Transparent;
+ }
+ private void SelectData()
+ {
+ // 移除所有按钮的选中样式
+ this.ClearAllMenuSelected();
+
+ // 鼠标移入效果去掉
+ LeaveData();
+
+ // 重新设置所有按钮的状态
+ this.menuSelected = new bool[] { false, false, false, false, false, true, false };
+
+ // 将新选中的按钮设置为选中
+ this.picIconData.BackgroundImage = (Bitmap)Resources.ResourceManager.GetObject("icon_data_selected", null);
+ this.labDataText.ForeColor = ColorTranslator.FromHtml("#3f84d7");
+ this.labDataSelected.BackColor = ColorTranslator.FromHtml("#3f84d7");
+
+ // 弹出对话框进行数据备份与还原操作
+ DataBackupDlg dataDlg = new DataBackupDlg();
+ dataDlg.ShowDialog();
+ }
+ #endregion
+
+ #region 系统管理点击、移入/移出效果
+ private void HoverSetting()
+ {
+ panSetting.Back = ColorTranslator.FromHtml("#56a3f2");
+ }
+ private void LeaveSetting()
+ {
+ panSetting.Back = Color.Transparent;
+ }
+ private void SelectSetting()
+ {
+ // 移除所有按钮的选中样式
+ this.ClearAllMenuSelected();
+
+ // 鼠标移入效果去掉
+ LeaveSetting();
+
+ // 重新设置所有按钮的状态
+ this.menuSelected = new bool[] { false, false, false, false, false, false, true };
+
+ // 将新选中的按钮设置为选中
+ this.picIconSetting.BackgroundImage = (Bitmap)Resources.ResourceManager.GetObject("icon_setting_selected", null);
+ this.labSettingText.ForeColor = ColorTranslator.FromHtml("#3f84d7");
+ this.labSettingSelected.BackColor = ColorTranslator.FromHtml("#3f84d7");
+
+ // 切换到设置的界面
+ switchMainPanel(6);
}
#endregion
@@ -123,22 +292,13 @@
private void RbFreqStdMeas_Load(object sender, EventArgs e)
{
- this.menuPics = new PictureBox[] { this.picIconHome, this.picIconStatus };
- this.menuLabels = new Label[] { this.labHomeText, this.labStatusText };
- this.menuUnderlines = new Label[] { this.labHomeSelected, this.labStatusSelected };
- this.menuIconResources = new string[] { "icon_home", "icon_status" };
- }
+ this.menuPics = new PictureBox[] { this.picIconHome, this.picIconStatus, this.picIconDev, this.picIconCounter, this.picIconMeasure, this.picIconData, this.picIconSetting };
+ this.menuLabels = new Label[] { this.labHomeText, this.labStatusText, this.labDevText, this.labCounterText, this.labMeasureText, this.labDataText, this.labSettingText };
+ this.menuUnderlines = new Label[] { this.labHomeSelected, this.labStatusSelected, this.labDevSelected, this.labCounterSelected, this.labMeasureSelected, this.labDataSelected, this.labSettingSelected };
+ this.menuIconResources = new string[] { "icon_home", "icon_status", "icon_dev", "icon_counter", "icon_measure", "icon_data", "icon_setting" };
- private void btnExitSys_Click(object sender, EventArgs e)
- {
- Application.Exit();
- }
-
- private void btnExitSys_MouseHover(object sender, EventArgs e)
- {
- ToolTip p = new ToolTip();
- p.ShowAlways = true;
- p.SetToolTip(this.btnExitSys, "退出");
+ // 加载首页的内容
+ switchMainPanel(0);
}
private void panHome_Click(object sender, EventArgs e)
@@ -191,5 +351,169 @@
LeaveStatus();
}
}
+
+ private void panDev_Click(object sender, EventArgs e)
+ {
+ if (this.menuSelected[2] == false)
+ {
+ SelectDev();
+ }
+ }
+
+ private void panDev_MouseHover(object sender, EventArgs e)
+ {
+ if (this.menuSelected[2] == false)
+ {
+ HoverDev();
+ }
+ }
+
+ private void panDev_MouseLeave(object sender, EventArgs e)
+ {
+ if (this.menuSelected[2] == false)
+ {
+ LeaveDev();
+ }
+ }
+
+ private void panCounter_Click(object sender, EventArgs e)
+ {
+ if (this.menuSelected[3] == false)
+ {
+ SelectCounter();
+ }
+ }
+
+ private void panCounter_MouseHover(object sender, EventArgs e)
+ {
+ if (this.menuSelected[3] == false)
+ {
+ HoverCounter();
+ }
+ }
+
+ private void panCounter_MouseLeave(object sender, EventArgs e)
+ {
+ if (this.menuSelected[3] == false)
+ {
+ LeaveCounter();
+ }
+ }
+
+ private void panMeasure_Click(object sender, EventArgs e)
+ {
+ if (this.menuSelected[4] == false)
+ {
+ SelectMeasure();
+ }
+ }
+
+ private void panMeasure_MouseHover(object sender, EventArgs e)
+ {
+ if (this.menuSelected[4] == false)
+ {
+ HoverMeasure();
+ }
+ }
+
+ private void panMeasure_MouseLeave(object sender, EventArgs e)
+ {
+ if (this.menuSelected[4] == false)
+ {
+ LeaveMeasure();
+ }
+ }
+
+ private void panData_Click(object sender, EventArgs e)
+ {
+ if (this.menuSelected[5] == false)
+ {
+ SelectData();
+ }
+ }
+
+ private void panData_MouseHover(object sender, EventArgs e)
+ {
+ if (this.menuSelected[5] == false)
+ {
+ HoverData();
+ }
+ }
+
+ private void panData_MouseLeave(object sender, EventArgs e)
+ {
+ if (this.menuSelected[5] == false)
+ {
+ LeaveData();
+ }
+ }
+
+ private void panSetting_Click(object sender, EventArgs e)
+ {
+ if (this.menuSelected[6] == false)
+ {
+ SelectSetting();
+ }
+ }
+
+ private void panSetting_MouseHover(object sender, EventArgs e)
+ {
+ if (this.menuSelected[6] == false)
+ {
+ HoverSetting();
+ }
+ }
+
+ private void panSetting_MouseLeave(object sender, EventArgs e)
+ {
+ if (this.menuSelected[6] == false)
+ {
+ LeaveSetting();
+ }
+ }
+
+ private void switchMainPanel(int index)
+ {
+ this.panelMain.Controls.Clear();
+
+ switch (index)
+ {
+ case 0: // 首页
+ HomeCtrlForm home = new HomeCtrlForm();
+ home.Show();
+ this.panelMain.Controls.Add(home);
+ break;
+
+ case 1: // 基准状态
+ StatusCtrlForm statusForm = new StatusCtrlForm();
+ statusForm.Show();
+ this.panelMain.Controls.Add(statusForm);
+ break;
+
+ case 2: // 待检设备
+ InfoCtrlForm infoForm = new InfoCtrlForm();
+ infoForm.Show();
+ this.panelMain.Controls.Add(infoForm);
+ break;
+
+ case 3: // 频率计数器范围
+ break;
+
+ case 4: // 计量信息
+ DevTestedCtrlForm tested = new DevTestedCtrlForm();
+ tested.Show();
+ this.panelMain.Controls.Add(tested);
+ break;
+
+ case 6: // 设置
+ SettingCtrlForm settingForm = new SettingCtrlForm();
+ settingForm.Show();
+ this.panelMain.Controls.Add(settingForm);
+ break;
+
+ default:
+ break;
+ }
+ }
}
}
\ No newline at end of file
diff --git a/RbFreqStandMeasure/StatusCtrlForm.Designer.cs b/RbFreqStandMeasure/StatusCtrlForm.Designer.cs
index bf5071a..b4151fd 100644
--- a/RbFreqStandMeasure/StatusCtrlForm.Designer.cs
+++ b/RbFreqStandMeasure/StatusCtrlForm.Designer.cs
@@ -31,21 +31,34 @@
{
this.panelSite = new System.Windows.Forms.Panel();
this.label5 = new System.Windows.Forms.Label();
- this.panelStatus = new System.Windows.Forms.Panel();
+ this.panel3 = new System.Windows.Forms.Panel();
+ this.label8 = new System.Windows.Forms.Label();
+ this.label13 = new System.Windows.Forms.Label();
+ this.label12 = new System.Windows.Forms.Label();
+ this.label11 = new System.Windows.Forms.Label();
+ this.label9 = new System.Windows.Forms.Label();
+ this.label10 = new System.Windows.Forms.Label();
+ this.panel2 = new System.Windows.Forms.Panel();
this.label4 = new System.Windows.Forms.Label();
+ this.label7 = new System.Windows.Forms.Label();
+ this.label6 = new System.Windows.Forms.Label();
+ this.label1 = new System.Windows.Forms.Label();
+ this.panel1 = new System.Windows.Forms.Panel();
this.label3 = new System.Windows.Forms.Label();
this.label2 = new System.Windows.Forms.Label();
- this.label1 = new System.Windows.Forms.Label();
+ this.label14 = new System.Windows.Forms.Label();
this.panelSite.SuspendLayout();
- this.panelStatus.SuspendLayout();
+ this.panel3.SuspendLayout();
+ this.panel2.SuspendLayout();
+ this.panel1.SuspendLayout();
this.SuspendLayout();
//
// panelSite
//
this.panelSite.Controls.Add(this.label5);
- this.panelSite.Location = new System.Drawing.Point(200, 0);
+ this.panelSite.Location = new System.Drawing.Point(232, 0);
this.panelSite.Name = "panelSite";
- this.panelSite.Size = new System.Drawing.Size(800, 640);
+ this.panelSite.Size = new System.Drawing.Size(773, 640);
this.panelSite.TabIndex = 3;
//
// label5
@@ -57,67 +70,208 @@
this.label5.TabIndex = 0;
this.label5.Text = "卫星位置图";
//
- // panelStatus
+ // panel3
//
- this.panelStatus.BackColor = System.Drawing.SystemColors.Window;
- this.panelStatus.Controls.Add(this.label4);
- this.panelStatus.Controls.Add(this.label3);
- this.panelStatus.Controls.Add(this.label2);
- this.panelStatus.Controls.Add(this.label1);
- this.panelStatus.Location = new System.Drawing.Point(0, 0);
- this.panelStatus.Name = "panelStatus";
- this.panelStatus.Size = new System.Drawing.Size(200, 640);
- this.panelStatus.TabIndex = 2;
+ this.panel3.BackgroundImage = global::Casic.Birmm.RbFreqStandMeasure.Properties.Resources.bg_status_location;
+ this.panel3.Controls.Add(this.label8);
+ this.panel3.Controls.Add(this.label13);
+ this.panel3.Controls.Add(this.label12);
+ this.panel3.Controls.Add(this.label11);
+ this.panel3.Controls.Add(this.label9);
+ this.panel3.Controls.Add(this.label10);
+ this.panel3.Location = new System.Drawing.Point(6, 360);
+ this.panel3.Name = "panel3";
+ this.panel3.Size = new System.Drawing.Size(224, 293);
+ this.panel3.TabIndex = 6;
+ //
+ // label8
+ //
+ this.label8.BackColor = System.Drawing.Color.Transparent;
+ this.label8.Font = new System.Drawing.Font("微软雅黑", 14F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Pixel, ((byte)(134)));
+ this.label8.Location = new System.Drawing.Point(0, 20);
+ this.label8.Name = "label8";
+ this.label8.Size = new System.Drawing.Size(224, 25);
+ this.label8.TabIndex = 0;
+ this.label8.Text = "位置信息";
+ this.label8.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
+ //
+ // label13
+ //
+ this.label13.BackColor = System.Drawing.Color.Transparent;
+ this.label13.Font = new System.Drawing.Font("微软雅黑", 14F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Pixel, ((byte)(134)));
+ this.label13.Location = new System.Drawing.Point(0, 220);
+ this.label13.Margin = new System.Windows.Forms.Padding(0);
+ this.label13.Name = "label13";
+ this.label13.Size = new System.Drawing.Size(75, 25);
+ this.label13.TabIndex = 1;
+ this.label13.Text = "Z";
+ this.label13.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
+ //
+ // label12
+ //
+ this.label12.BackColor = System.Drawing.Color.Transparent;
+ this.label12.Font = new System.Drawing.Font("微软雅黑", 14F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Pixel, ((byte)(134)));
+ this.label12.Location = new System.Drawing.Point(0, 180);
+ this.label12.Margin = new System.Windows.Forms.Padding(0);
+ this.label12.Name = "label12";
+ this.label12.Size = new System.Drawing.Size(75, 25);
+ this.label12.TabIndex = 1;
+ this.label12.Text = "Y";
+ this.label12.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
+ //
+ // label11
+ //
+ this.label11.BackColor = System.Drawing.Color.Transparent;
+ this.label11.Font = new System.Drawing.Font("微软雅黑", 14F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Pixel, ((byte)(134)));
+ this.label11.Location = new System.Drawing.Point(0, 140);
+ this.label11.Margin = new System.Windows.Forms.Padding(0);
+ this.label11.Name = "label11";
+ this.label11.Size = new System.Drawing.Size(75, 25);
+ this.label11.TabIndex = 1;
+ this.label11.Text = "X";
+ this.label11.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
+ //
+ // label9
+ //
+ this.label9.BackColor = System.Drawing.Color.Transparent;
+ this.label9.Font = new System.Drawing.Font("微软雅黑", 14F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Pixel, ((byte)(134)));
+ this.label9.Location = new System.Drawing.Point(0, 60);
+ this.label9.Name = "label9";
+ this.label9.Size = new System.Drawing.Size(75, 25);
+ this.label9.TabIndex = 1;
+ this.label9.Text = "经度";
+ this.label9.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
+ //
+ // label10
+ //
+ this.label10.BackColor = System.Drawing.Color.Transparent;
+ this.label10.Font = new System.Drawing.Font("微软雅黑", 14F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Pixel, ((byte)(134)));
+ this.label10.Location = new System.Drawing.Point(0, 100);
+ this.label10.Margin = new System.Windows.Forms.Padding(0);
+ this.label10.Name = "label10";
+ this.label10.Size = new System.Drawing.Size(75, 25);
+ this.label10.TabIndex = 1;
+ this.label10.Text = "纬度";
+ this.label10.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
+ //
+ // panel2
+ //
+ this.panel2.BackgroundImage = global::Casic.Birmm.RbFreqStandMeasure.Properties.Resources.bg_status_time;
+ this.panel2.Controls.Add(this.label4);
+ this.panel2.Controls.Add(this.label7);
+ this.panel2.Controls.Add(this.label6);
+ this.panel2.Controls.Add(this.label1);
+ this.panel2.Location = new System.Drawing.Point(6, 160);
+ this.panel2.Name = "panel2";
+ this.panel2.Size = new System.Drawing.Size(224, 200);
+ this.panel2.TabIndex = 5;
//
// label4
//
- this.label4.AutoSize = true;
- this.label4.Location = new System.Drawing.Point(59, 185);
+ this.label4.BackColor = System.Drawing.Color.Transparent;
+ this.label4.Font = new System.Drawing.Font("微软雅黑", 14F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Pixel, ((byte)(134)));
+ this.label4.Location = new System.Drawing.Point(0, 20);
this.label4.Name = "label4";
- this.label4.Size = new System.Drawing.Size(53, 12);
+ this.label4.Size = new System.Drawing.Size(224, 25);
this.label4.TabIndex = 0;
- this.label4.Text = "事件信息";
+ this.label4.Text = "时间信息";
+ this.label4.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
//
- // label3
+ // label7
//
- this.label3.AutoSize = true;
- this.label3.Location = new System.Drawing.Point(59, 139);
- this.label3.Name = "label3";
- this.label3.Size = new System.Drawing.Size(53, 12);
- this.label3.TabIndex = 0;
- this.label3.Text = "位置信息";
+ this.label7.BackColor = System.Drawing.Color.Transparent;
+ this.label7.Font = new System.Drawing.Font("微软雅黑", 14F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Pixel, ((byte)(134)));
+ this.label7.Location = new System.Drawing.Point(0, 140);
+ this.label7.Margin = new System.Windows.Forms.Padding(0);
+ this.label7.Name = "label7";
+ this.label7.Size = new System.Drawing.Size(75, 25);
+ this.label7.TabIndex = 1;
+ this.label7.Text = "MJD";
+ this.label7.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
//
- // label2
+ // label6
//
- this.label2.AutoSize = true;
- this.label2.Location = new System.Drawing.Point(59, 98);
- this.label2.Name = "label2";
- this.label2.Size = new System.Drawing.Size(53, 12);
- this.label2.TabIndex = 0;
- this.label2.Text = "锁定状态";
+ this.label6.BackColor = System.Drawing.Color.Transparent;
+ this.label6.Font = new System.Drawing.Font("微软雅黑", 14F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Pixel, ((byte)(134)));
+ this.label6.Location = new System.Drawing.Point(0, 100);
+ this.label6.Name = "label6";
+ this.label6.Size = new System.Drawing.Size(75, 25);
+ this.label6.TabIndex = 1;
+ this.label6.Text = "时间";
+ this.label6.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
//
// label1
//
- this.label1.AutoSize = true;
- this.label1.Location = new System.Drawing.Point(33, 53);
+ this.label1.BackColor = System.Drawing.Color.Transparent;
+ this.label1.Font = new System.Drawing.Font("微软雅黑", 14F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Pixel, ((byte)(134)));
+ this.label1.Location = new System.Drawing.Point(0, 60);
this.label1.Name = "label1";
- this.label1.Size = new System.Drawing.Size(29, 12);
- this.label1.TabIndex = 0;
- this.label1.Text = "状态";
+ this.label1.Size = new System.Drawing.Size(75, 25);
+ this.label1.TabIndex = 1;
+ this.label1.Text = "日期";
+ this.label1.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
+ //
+ // panel1
+ //
+ this.panel1.BackgroundImage = global::Casic.Birmm.RbFreqStandMeasure.Properties.Resources.bg_status_base;
+ this.panel1.Controls.Add(this.label3);
+ this.panel1.Controls.Add(this.label2);
+ this.panel1.Controls.Add(this.label14);
+ this.panel1.Location = new System.Drawing.Point(6, 0);
+ this.panel1.Margin = new System.Windows.Forms.Padding(0);
+ this.panel1.Name = "panel1";
+ this.panel1.Size = new System.Drawing.Size(224, 160);
+ this.panel1.TabIndex = 4;
+ //
+ // label3
+ //
+ this.label3.BackColor = System.Drawing.Color.Transparent;
+ this.label3.Font = new System.Drawing.Font("微软雅黑", 14F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Pixel, ((byte)(134)));
+ this.label3.Location = new System.Drawing.Point(0, 100);
+ this.label3.Name = "label3";
+ this.label3.Size = new System.Drawing.Size(75, 25);
+ this.label3.TabIndex = 1;
+ this.label3.Text = "接收机";
+ this.label3.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
+ //
+ // label2
+ //
+ this.label2.BackColor = System.Drawing.Color.Transparent;
+ this.label2.Font = new System.Drawing.Font("微软雅黑", 14F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Pixel, ((byte)(134)));
+ this.label2.Location = new System.Drawing.Point(0, 60);
+ this.label2.Name = "label2";
+ this.label2.Size = new System.Drawing.Size(75, 25);
+ this.label2.TabIndex = 1;
+ this.label2.Text = "原子钟";
+ this.label2.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
+ //
+ // label14
+ //
+ this.label14.BackColor = System.Drawing.Color.Transparent;
+ this.label14.Font = new System.Drawing.Font("微软雅黑", 14F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Pixel, ((byte)(134)));
+ this.label14.Location = new System.Drawing.Point(0, 20);
+ this.label14.Name = "label14";
+ this.label14.Size = new System.Drawing.Size(224, 25);
+ this.label14.TabIndex = 0;
+ this.label14.Text = "基本信息";
+ this.label14.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
//
// StatusCtrlForm
//
this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 12F);
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
+ this.Controls.Add(this.panel3);
+ this.Controls.Add(this.panel2);
+ this.Controls.Add(this.panel1);
this.Controls.Add(this.panelSite);
- this.Controls.Add(this.panelStatus);
this.Margin = new System.Windows.Forms.Padding(10);
this.Name = "StatusCtrlForm";
- this.Size = new System.Drawing.Size(1000, 640);
+ this.Size = new System.Drawing.Size(1024, 654);
this.panelSite.ResumeLayout(false);
this.panelSite.PerformLayout();
- this.panelStatus.ResumeLayout(false);
- this.panelStatus.PerformLayout();
+ this.panel3.ResumeLayout(false);
+ this.panel2.ResumeLayout(false);
+ this.panel1.ResumeLayout(false);
this.ResumeLayout(false);
}
@@ -126,10 +280,21 @@
private System.Windows.Forms.Panel panelSite;
private System.Windows.Forms.Label label5;
- private System.Windows.Forms.Panel panelStatus;
+ private System.Windows.Forms.Panel panel3;
+ private System.Windows.Forms.Label label8;
+ private System.Windows.Forms.Label label13;
+ private System.Windows.Forms.Label label12;
+ private System.Windows.Forms.Label label11;
+ private System.Windows.Forms.Label label9;
+ private System.Windows.Forms.Label label10;
+ private System.Windows.Forms.Panel panel2;
private System.Windows.Forms.Label label4;
+ private System.Windows.Forms.Label label7;
+ private System.Windows.Forms.Label label6;
+ private System.Windows.Forms.Label label1;
+ private System.Windows.Forms.Panel panel1;
private System.Windows.Forms.Label label3;
private System.Windows.Forms.Label label2;
- private System.Windows.Forms.Label label1;
+ private System.Windows.Forms.Label label14;
}
}
diff --git a/RbFreqStandMeasure/res/images/bg_banner.png b/RbFreqStandMeasure/res/images/bg_banner.png
index d795b7d..3119070 100644
--- a/RbFreqStandMeasure/res/images/bg_banner.png
+++ b/RbFreqStandMeasure/res/images/bg_banner.png
Binary files differ
diff --git a/RbFreqStandMeasure/res/images/bg_dev_channel.png b/RbFreqStandMeasure/res/images/bg_dev_channel.png
new file mode 100644
index 0000000..7bac7ce
--- /dev/null
+++ b/RbFreqStandMeasure/res/images/bg_dev_channel.png
Binary files differ
diff --git a/RbFreqStandMeasure/res/images/bg_dev_tested.png b/RbFreqStandMeasure/res/images/bg_dev_tested.png
new file mode 100644
index 0000000..0b43ead
--- /dev/null
+++ b/RbFreqStandMeasure/res/images/bg_dev_tested.png
Binary files differ
diff --git a/RbFreqStandMeasure/res/images/bg_status_base.png b/RbFreqStandMeasure/res/images/bg_status_base.png
new file mode 100644
index 0000000..ef11397
--- /dev/null
+++ b/RbFreqStandMeasure/res/images/bg_status_base.png
Binary files differ
diff --git a/RbFreqStandMeasure/res/images/bg_status_location.png b/RbFreqStandMeasure/res/images/bg_status_location.png
new file mode 100644
index 0000000..64d28d5
--- /dev/null
+++ b/RbFreqStandMeasure/res/images/bg_status_location.png
Binary files differ
diff --git a/RbFreqStandMeasure/res/images/bg_status_time.png b/RbFreqStandMeasure/res/images/bg_status_time.png
new file mode 100644
index 0000000..eec981a
--- /dev/null
+++ b/RbFreqStandMeasure/res/images/bg_status_time.png
Binary files differ
diff --git a/RbFreqStandMeasure/res/images/icon_counter.png b/RbFreqStandMeasure/res/images/icon_counter.png
new file mode 100644
index 0000000..060c3d7
--- /dev/null
+++ b/RbFreqStandMeasure/res/images/icon_counter.png
Binary files differ
diff --git a/RbFreqStandMeasure/res/images/icon_counter_selected.png b/RbFreqStandMeasure/res/images/icon_counter_selected.png
new file mode 100644
index 0000000..45c7720
--- /dev/null
+++ b/RbFreqStandMeasure/res/images/icon_counter_selected.png
Binary files differ
diff --git a/RbFreqStandMeasure/res/images/icon_data.png b/RbFreqStandMeasure/res/images/icon_data.png
new file mode 100644
index 0000000..bf03575
--- /dev/null
+++ b/RbFreqStandMeasure/res/images/icon_data.png
Binary files differ
diff --git a/RbFreqStandMeasure/res/images/icon_data_selected.png b/RbFreqStandMeasure/res/images/icon_data_selected.png
new file mode 100644
index 0000000..a8aa441
--- /dev/null
+++ b/RbFreqStandMeasure/res/images/icon_data_selected.png
Binary files differ
diff --git a/RbFreqStandMeasure/res/images/icon_dev.png b/RbFreqStandMeasure/res/images/icon_dev.png
new file mode 100644
index 0000000..09bf380
--- /dev/null
+++ b/RbFreqStandMeasure/res/images/icon_dev.png
Binary files differ
diff --git a/RbFreqStandMeasure/res/images/icon_dev_selected.png b/RbFreqStandMeasure/res/images/icon_dev_selected.png
new file mode 100644
index 0000000..63a8b7c
--- /dev/null
+++ b/RbFreqStandMeasure/res/images/icon_dev_selected.png
Binary files differ
diff --git a/RbFreqStandMeasure/res/images/icon_exit.png b/RbFreqStandMeasure/res/images/icon_exit.png
index 997b9e9..a03e429 100644
--- a/RbFreqStandMeasure/res/images/icon_exit.png
+++ b/RbFreqStandMeasure/res/images/icon_exit.png
Binary files differ
diff --git a/RbFreqStandMeasure/res/images/icon_home.png b/RbFreqStandMeasure/res/images/icon_home.png
index f200f25..6409b89 100644
--- a/RbFreqStandMeasure/res/images/icon_home.png
+++ b/RbFreqStandMeasure/res/images/icon_home.png
Binary files differ
diff --git a/RbFreqStandMeasure/res/images/icon_home_selected.png b/RbFreqStandMeasure/res/images/icon_home_selected.png
index 7a4feb4..cfbf470 100644
--- a/RbFreqStandMeasure/res/images/icon_home_selected.png
+++ b/RbFreqStandMeasure/res/images/icon_home_selected.png
Binary files differ
diff --git a/RbFreqStandMeasure/res/images/icon_measure.png b/RbFreqStandMeasure/res/images/icon_measure.png
new file mode 100644
index 0000000..d9bd039
--- /dev/null
+++ b/RbFreqStandMeasure/res/images/icon_measure.png
Binary files differ
diff --git a/RbFreqStandMeasure/res/images/icon_measure_selected.png b/RbFreqStandMeasure/res/images/icon_measure_selected.png
new file mode 100644
index 0000000..e4186d0
--- /dev/null
+++ b/RbFreqStandMeasure/res/images/icon_measure_selected.png
Binary files differ
diff --git a/RbFreqStandMeasure/res/images/icon_min.png b/RbFreqStandMeasure/res/images/icon_min.png
new file mode 100644
index 0000000..af53b4d
--- /dev/null
+++ b/RbFreqStandMeasure/res/images/icon_min.png
Binary files differ
diff --git a/RbFreqStandMeasure/res/images/icon_setting.png b/RbFreqStandMeasure/res/images/icon_setting.png
new file mode 100644
index 0000000..f0779f7
--- /dev/null
+++ b/RbFreqStandMeasure/res/images/icon_setting.png
Binary files differ
diff --git a/RbFreqStandMeasure/HomeCtrlForm.Designer.cs b/RbFreqStandMeasure/HomeCtrlForm.Designer.cs
index fb515f8..73e477a 100644
--- a/RbFreqStandMeasure/HomeCtrlForm.Designer.cs
+++ b/RbFreqStandMeasure/HomeCtrlForm.Designer.cs
@@ -29,589 +29,271 @@
///
private void InitializeComponent()
{
- System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle1 = new System.Windows.Forms.DataGridViewCellStyle();
- System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle2 = new System.Windows.Forms.DataGridViewCellStyle();
- this.panelToBeTested = new System.Windows.Forms.Panel();
- this.dataGridViewX1 = new DevComponents.DotNetBar.Controls.DataGridViewX();
- this.Column13 = new System.Windows.Forms.DataGridViewTextBoxColumn();
- this.Column14 = new System.Windows.Forms.DataGridViewTextBoxColumn();
- this.Column15 = new System.Windows.Forms.DataGridViewTextBoxColumn();
- this.Column16 = new System.Windows.Forms.DataGridViewTextBoxColumn();
- this.Column17 = new System.Windows.Forms.DataGridViewTextBoxColumn();
- this.panelEx1 = new DevComponents.DotNetBar.PanelEx();
- this.labelX6 = new DevComponents.DotNetBar.LabelX();
- this.labelX5 = new DevComponents.DotNetBar.LabelX();
- this.labelX4 = new DevComponents.DotNetBar.LabelX();
- this.labelX3 = new DevComponents.DotNetBar.LabelX();
- this.labelX2 = new DevComponents.DotNetBar.LabelX();
- this.labelX1 = new DevComponents.DotNetBar.LabelX();
- this.panelEx2 = new DevComponents.DotNetBar.PanelEx();
- this.labelX7 = new DevComponents.DotNetBar.LabelX();
- this.labelX8 = new DevComponents.DotNetBar.LabelX();
- this.labelX10 = new DevComponents.DotNetBar.LabelX();
- this.labelX9 = new DevComponents.DotNetBar.LabelX();
- this.panelEx3 = new DevComponents.DotNetBar.PanelEx();
- this.labelX11 = new DevComponents.DotNetBar.LabelX();
- this.labelX13 = new DevComponents.DotNetBar.LabelX();
- this.labelX12 = new DevComponents.DotNetBar.LabelX();
- this.panelEx4 = new DevComponents.DotNetBar.PanelEx();
- this.dataGridViewX2 = new DevComponents.DotNetBar.Controls.DataGridViewX();
- this.Column18 = new System.Windows.Forms.DataGridViewTextBoxColumn();
- this.Column19 = new System.Windows.Forms.DataGridViewTextBoxColumn();
- this.Column20 = new System.Windows.Forms.DataGridViewTextBoxColumn();
- this.Column21 = new System.Windows.Forms.DataGridViewTextBoxColumn();
- this.Column22 = new System.Windows.Forms.DataGridViewTextBoxColumn();
- this.Column23 = new System.Windows.Forms.DataGridViewTextBoxColumn();
- this.Column24 = new System.Windows.Forms.DataGridViewTextBoxColumn();
- this.Column25 = new System.Windows.Forms.DataGridViewTextBoxColumn();
- this.Column26 = new System.Windows.Forms.DataGridViewTextBoxColumn();
- this.Column27 = new System.Windows.Forms.DataGridViewTextBoxColumn();
- this.Column28 = new System.Windows.Forms.DataGridViewTextBoxColumn();
- this.Column29 = new System.Windows.Forms.DataGridViewTextBoxColumn();
- this.buttonX1 = new DevComponents.DotNetBar.ButtonX();
- this.buttonX2 = new DevComponents.DotNetBar.ButtonX();
+ this.panel3 = new System.Windows.Forms.Panel();
+ this.panel2 = new System.Windows.Forms.Panel();
+ this.panel1 = new System.Windows.Forms.Panel();
+ this.panel4 = new System.Windows.Forms.Panel();
+ this.panel5 = new System.Windows.Forms.Panel();
this.label1 = new System.Windows.Forms.Label();
this.label2 = new System.Windows.Forms.Label();
- this.panelToBeTested.SuspendLayout();
- ((System.ComponentModel.ISupportInitialize)(this.dataGridViewX1)).BeginInit();
- this.panelEx1.SuspendLayout();
- this.panelEx2.SuspendLayout();
- this.panelEx3.SuspendLayout();
- this.panelEx4.SuspendLayout();
- ((System.ComponentModel.ISupportInitialize)(this.dataGridViewX2)).BeginInit();
+ this.label3 = new System.Windows.Forms.Label();
+ this.label4 = new System.Windows.Forms.Label();
+ this.label5 = new System.Windows.Forms.Label();
+ this.label6 = new System.Windows.Forms.Label();
+ this.label7 = new System.Windows.Forms.Label();
+ this.label8 = new System.Windows.Forms.Label();
+ this.label9 = new System.Windows.Forms.Label();
+ this.label10 = new System.Windows.Forms.Label();
+ this.label11 = new System.Windows.Forms.Label();
+ this.label12 = new System.Windows.Forms.Label();
+ this.label13 = new System.Windows.Forms.Label();
+ this.panel3.SuspendLayout();
+ this.panel2.SuspendLayout();
+ this.panel1.SuspendLayout();
this.SuspendLayout();
//
- // panelToBeTested
+ // panel3
//
- this.panelToBeTested.Controls.Add(this.dataGridViewX1);
- this.panelToBeTested.Controls.Add(this.buttonX2);
- this.panelToBeTested.Controls.Add(this.buttonX1);
- this.panelToBeTested.Location = new System.Drawing.Point(250, 0);
- this.panelToBeTested.Name = "panelToBeTested";
- this.panelToBeTested.Size = new System.Drawing.Size(750, 216);
- this.panelToBeTested.TabIndex = 4;
+ this.panel3.BackgroundImage = global::Casic.Birmm.RbFreqStandMeasure.Properties.Resources.bg_status_location;
+ this.panel3.Controls.Add(this.label8);
+ this.panel3.Controls.Add(this.label13);
+ this.panel3.Controls.Add(this.label12);
+ this.panel3.Controls.Add(this.label11);
+ this.panel3.Controls.Add(this.label9);
+ this.panel3.Controls.Add(this.label10);
+ this.panel3.Location = new System.Drawing.Point(6, 360);
+ this.panel3.Name = "panel3";
+ this.panel3.Size = new System.Drawing.Size(224, 293);
+ this.panel3.TabIndex = 2;
//
- // dataGridViewX1
+ // panel2
//
- this.dataGridViewX1.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.AutoSize;
- this.dataGridViewX1.Columns.AddRange(new System.Windows.Forms.DataGridViewColumn[] {
- this.Column13,
- this.Column14,
- this.Column15,
- this.Column16,
- this.Column17});
- dataGridViewCellStyle1.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleLeft;
- dataGridViewCellStyle1.BackColor = System.Drawing.SystemColors.Window;
- dataGridViewCellStyle1.Font = new System.Drawing.Font("宋体", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
- dataGridViewCellStyle1.ForeColor = System.Drawing.SystemColors.ControlText;
- dataGridViewCellStyle1.SelectionBackColor = System.Drawing.SystemColors.Highlight;
- dataGridViewCellStyle1.SelectionForeColor = System.Drawing.SystemColors.ControlText;
- dataGridViewCellStyle1.WrapMode = System.Windows.Forms.DataGridViewTriState.False;
- this.dataGridViewX1.DefaultCellStyle = dataGridViewCellStyle1;
- this.dataGridViewX1.GridColor = System.Drawing.Color.FromArgb(((int)(((byte)(208)))), ((int)(((byte)(215)))), ((int)(((byte)(229)))));
- this.dataGridViewX1.Location = new System.Drawing.Point(0, 1);
- this.dataGridViewX1.Name = "dataGridViewX1";
- this.dataGridViewX1.RowTemplate.Height = 23;
- this.dataGridViewX1.Size = new System.Drawing.Size(750, 179);
- this.dataGridViewX1.TabIndex = 14;
+ this.panel2.BackgroundImage = global::Casic.Birmm.RbFreqStandMeasure.Properties.Resources.bg_status_time;
+ this.panel2.Controls.Add(this.label4);
+ this.panel2.Controls.Add(this.label7);
+ this.panel2.Controls.Add(this.label6);
+ this.panel2.Controls.Add(this.label5);
+ this.panel2.Location = new System.Drawing.Point(6, 160);
+ this.panel2.Name = "panel2";
+ this.panel2.Size = new System.Drawing.Size(224, 200);
+ this.panel2.TabIndex = 1;
//
- // Column13
+ // panel1
//
- this.Column13.HeaderText = "仪器名称";
- this.Column13.Name = "Column13";
+ this.panel1.BackgroundImage = global::Casic.Birmm.RbFreqStandMeasure.Properties.Resources.bg_status_base;
+ this.panel1.Controls.Add(this.label3);
+ this.panel1.Controls.Add(this.label2);
+ this.panel1.Controls.Add(this.label1);
+ this.panel1.Location = new System.Drawing.Point(6, 0);
+ this.panel1.Margin = new System.Windows.Forms.Padding(0);
+ this.panel1.Name = "panel1";
+ this.panel1.Size = new System.Drawing.Size(224, 160);
+ this.panel1.TabIndex = 0;
//
- // Column14
+ // panel4
//
- this.Column14.HeaderText = "仪器类型";
- this.Column14.Name = "Column14";
+ this.panel4.BackgroundImage = global::Casic.Birmm.RbFreqStandMeasure.Properties.Resources.bg_dev_tested;
+ this.panel4.Location = new System.Drawing.Point(230, 0);
+ this.panel4.Margin = new System.Windows.Forms.Padding(0);
+ this.panel4.Name = "panel4";
+ this.panel4.Size = new System.Drawing.Size(788, 226);
+ this.panel4.TabIndex = 3;
//
- // Column15
+ // panel5
//
- this.Column15.HeaderText = "仪器编号";
- this.Column15.Name = "Column15";
- //
- // Column16
- //
- this.Column16.HeaderText = "客户名称";
- this.Column16.Name = "Column16";
- //
- // Column17
- //
- this.Column17.HeaderText = "开始时间";
- this.Column17.Name = "Column17";
- //
- // panelEx1
- //
- this.panelEx1.CanvasColor = System.Drawing.SystemColors.Control;
- this.panelEx1.ColorSchemeStyle = DevComponents.DotNetBar.eDotNetBarStyle.StyleManagerControlled;
- this.panelEx1.Controls.Add(this.labelX6);
- this.panelEx1.Controls.Add(this.labelX5);
- this.panelEx1.Controls.Add(this.labelX4);
- this.panelEx1.Controls.Add(this.labelX3);
- this.panelEx1.Controls.Add(this.labelX2);
- this.panelEx1.Controls.Add(this.labelX1);
- this.panelEx1.DisabledBackColor = System.Drawing.Color.Empty;
- this.panelEx1.Location = new System.Drawing.Point(25, 376);
- this.panelEx1.Name = "panelEx1";
- this.panelEx1.Size = new System.Drawing.Size(200, 200);
- this.panelEx1.Style.Alignment = System.Drawing.StringAlignment.Center;
- this.panelEx1.Style.BackColor1.ColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelBackground;
- this.panelEx1.Style.BackColor2.ColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelBackground2;
- this.panelEx1.Style.Border = DevComponents.DotNetBar.eBorderType.SingleLine;
- this.panelEx1.Style.BorderColor.ColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelBorder;
- this.panelEx1.Style.ForeColor.ColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelText;
- this.panelEx1.Style.GradientAngle = 90;
- this.panelEx1.TabIndex = 10;
- //
- // labelX6
- //
- //
- //
- //
- this.labelX6.BackgroundStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square;
- this.labelX6.Location = new System.Drawing.Point(3, 153);
- this.labelX6.Name = "labelX6";
- this.labelX6.Size = new System.Drawing.Size(75, 23);
- this.labelX6.Style = DevComponents.DotNetBar.eDotNetBarStyle.Office2013;
- this.labelX6.TabIndex = 0;
- this.labelX6.Text = "Z";
- this.labelX6.TextAlignment = System.Drawing.StringAlignment.Center;
- //
- // labelX5
- //
- //
- //
- //
- this.labelX5.BackgroundStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square;
- this.labelX5.Location = new System.Drawing.Point(3, 124);
- this.labelX5.Name = "labelX5";
- this.labelX5.Size = new System.Drawing.Size(75, 23);
- this.labelX5.Style = DevComponents.DotNetBar.eDotNetBarStyle.Office2013;
- this.labelX5.TabIndex = 0;
- this.labelX5.Text = "Y";
- this.labelX5.TextAlignment = System.Drawing.StringAlignment.Center;
- //
- // labelX4
- //
- //
- //
- //
- this.labelX4.BackgroundStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square;
- this.labelX4.Location = new System.Drawing.Point(3, 95);
- this.labelX4.Name = "labelX4";
- this.labelX4.Size = new System.Drawing.Size(75, 23);
- this.labelX4.Style = DevComponents.DotNetBar.eDotNetBarStyle.Office2013;
- this.labelX4.TabIndex = 0;
- this.labelX4.Text = "X";
- this.labelX4.TextAlignment = System.Drawing.StringAlignment.Center;
- //
- // labelX3
- //
- //
- //
- //
- this.labelX3.BackgroundStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square;
- this.labelX3.Location = new System.Drawing.Point(3, 66);
- this.labelX3.Name = "labelX3";
- this.labelX3.Size = new System.Drawing.Size(75, 23);
- this.labelX3.Style = DevComponents.DotNetBar.eDotNetBarStyle.Office2013;
- this.labelX3.TabIndex = 0;
- this.labelX3.Text = "纬度";
- this.labelX3.TextAlignment = System.Drawing.StringAlignment.Center;
- //
- // labelX2
- //
- //
- //
- //
- this.labelX2.BackgroundStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square;
- this.labelX2.Location = new System.Drawing.Point(3, 37);
- this.labelX2.Name = "labelX2";
- this.labelX2.Size = new System.Drawing.Size(75, 23);
- this.labelX2.Style = DevComponents.DotNetBar.eDotNetBarStyle.Office2013;
- this.labelX2.TabIndex = 0;
- this.labelX2.Text = "经度";
- this.labelX2.TextAlignment = System.Drawing.StringAlignment.Center;
- //
- // labelX1
- //
- //
- //
- //
- this.labelX1.BackgroundStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square;
- this.labelX1.Location = new System.Drawing.Point(3, 3);
- this.labelX1.Name = "labelX1";
- this.labelX1.Size = new System.Drawing.Size(194, 23);
- this.labelX1.Style = DevComponents.DotNetBar.eDotNetBarStyle.Office2013;
- this.labelX1.TabIndex = 0;
- this.labelX1.Text = "位置信息";
- this.labelX1.TextAlignment = System.Drawing.StringAlignment.Center;
- //
- // panelEx2
- //
- this.panelEx2.CanvasColor = System.Drawing.SystemColors.Control;
- this.panelEx2.ColorSchemeStyle = DevComponents.DotNetBar.eDotNetBarStyle.StyleManagerControlled;
- this.panelEx2.Controls.Add(this.labelX7);
- this.panelEx2.Controls.Add(this.labelX8);
- this.panelEx2.Controls.Add(this.labelX10);
- this.panelEx2.Controls.Add(this.labelX9);
- this.panelEx2.DisabledBackColor = System.Drawing.Color.Empty;
- this.panelEx2.Location = new System.Drawing.Point(25, 190);
- this.panelEx2.Name = "panelEx2";
- this.panelEx2.Size = new System.Drawing.Size(200, 150);
- this.panelEx2.Style.Alignment = System.Drawing.StringAlignment.Center;
- this.panelEx2.Style.BackColor1.ColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelBackground;
- this.panelEx2.Style.BackColor2.ColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelBackground2;
- this.panelEx2.Style.Border = DevComponents.DotNetBar.eBorderType.SingleLine;
- this.panelEx2.Style.BorderColor.ColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelBorder;
- this.panelEx2.Style.ForeColor.ColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelText;
- this.panelEx2.Style.GradientAngle = 90;
- this.panelEx2.TabIndex = 10;
- //
- // labelX7
- //
- //
- //
- //
- this.labelX7.BackgroundStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square;
- this.labelX7.Location = new System.Drawing.Point(3, 3);
- this.labelX7.Name = "labelX7";
- this.labelX7.Size = new System.Drawing.Size(194, 23);
- this.labelX7.Style = DevComponents.DotNetBar.eDotNetBarStyle.Office2013;
- this.labelX7.TabIndex = 0;
- this.labelX7.Text = "时间信息";
- this.labelX7.TextAlignment = System.Drawing.StringAlignment.Center;
- //
- // labelX8
- //
- //
- //
- //
- this.labelX8.BackgroundStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square;
- this.labelX8.Location = new System.Drawing.Point(3, 41);
- this.labelX8.Name = "labelX8";
- this.labelX8.Size = new System.Drawing.Size(75, 23);
- this.labelX8.Style = DevComponents.DotNetBar.eDotNetBarStyle.Office2013;
- this.labelX8.TabIndex = 0;
- this.labelX8.Text = "日期";
- this.labelX8.TextAlignment = System.Drawing.StringAlignment.Center;
- //
- // labelX10
- //
- //
- //
- //
- this.labelX10.BackgroundStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square;
- this.labelX10.Location = new System.Drawing.Point(3, 99);
- this.labelX10.Name = "labelX10";
- this.labelX10.Size = new System.Drawing.Size(75, 23);
- this.labelX10.Style = DevComponents.DotNetBar.eDotNetBarStyle.Office2013;
- this.labelX10.TabIndex = 0;
- this.labelX10.Text = "MJD";
- this.labelX10.TextAlignment = System.Drawing.StringAlignment.Center;
- //
- // labelX9
- //
- //
- //
- //
- this.labelX9.BackgroundStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square;
- this.labelX9.Location = new System.Drawing.Point(3, 70);
- this.labelX9.Name = "labelX9";
- this.labelX9.Size = new System.Drawing.Size(75, 23);
- this.labelX9.Style = DevComponents.DotNetBar.eDotNetBarStyle.Office2013;
- this.labelX9.TabIndex = 0;
- this.labelX9.Text = "时间";
- this.labelX9.TextAlignment = System.Drawing.StringAlignment.Center;
- //
- // panelEx3
- //
- this.panelEx3.CanvasColor = System.Drawing.SystemColors.Control;
- this.panelEx3.ColorSchemeStyle = DevComponents.DotNetBar.eDotNetBarStyle.StyleManagerControlled;
- this.panelEx3.Controls.Add(this.labelX11);
- this.panelEx3.Controls.Add(this.labelX13);
- this.panelEx3.Controls.Add(this.labelX12);
- this.panelEx3.DisabledBackColor = System.Drawing.Color.Empty;
- this.panelEx3.Location = new System.Drawing.Point(25, 50);
- this.panelEx3.Name = "panelEx3";
- this.panelEx3.Size = new System.Drawing.Size(200, 100);
- this.panelEx3.Style.Alignment = System.Drawing.StringAlignment.Center;
- this.panelEx3.Style.BackColor1.ColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelBackground;
- this.panelEx3.Style.BackColor2.ColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelBackground2;
- this.panelEx3.Style.Border = DevComponents.DotNetBar.eBorderType.SingleLine;
- this.panelEx3.Style.BorderColor.ColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelBorder;
- this.panelEx3.Style.ForeColor.ColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelText;
- this.panelEx3.Style.GradientAngle = 90;
- this.panelEx3.TabIndex = 10;
- //
- // labelX11
- //
- //
- //
- //
- this.labelX11.BackgroundStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square;
- this.labelX11.Location = new System.Drawing.Point(3, 3);
- this.labelX11.Name = "labelX11";
- this.labelX11.Size = new System.Drawing.Size(194, 23);
- this.labelX11.Style = DevComponents.DotNetBar.eDotNetBarStyle.Office2013;
- this.labelX11.TabIndex = 0;
- this.labelX11.Text = "基本信息";
- this.labelX11.TextAlignment = System.Drawing.StringAlignment.Center;
- //
- // labelX13
- //
- //
- //
- //
- this.labelX13.BackgroundStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square;
- this.labelX13.Location = new System.Drawing.Point(3, 32);
- this.labelX13.Name = "labelX13";
- this.labelX13.Size = new System.Drawing.Size(75, 23);
- this.labelX13.Style = DevComponents.DotNetBar.eDotNetBarStyle.Office2013;
- this.labelX13.TabIndex = 0;
- this.labelX13.Text = "原子钟";
- this.labelX13.TextAlignment = System.Drawing.StringAlignment.Center;
- //
- // labelX12
- //
- //
- //
- //
- this.labelX12.BackgroundStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square;
- this.labelX12.Location = new System.Drawing.Point(3, 61);
- this.labelX12.Name = "labelX12";
- this.labelX12.Size = new System.Drawing.Size(75, 23);
- this.labelX12.Style = DevComponents.DotNetBar.eDotNetBarStyle.Office2013;
- this.labelX12.TabIndex = 0;
- this.labelX12.Text = "接收机";
- this.labelX12.TextAlignment = System.Drawing.StringAlignment.Center;
- //
- // panelEx4
- //
- this.panelEx4.CanvasColor = System.Drawing.SystemColors.Control;
- this.panelEx4.ColorSchemeStyle = DevComponents.DotNetBar.eDotNetBarStyle.StyleManagerControlled;
- this.panelEx4.Controls.Add(this.panelEx2);
- this.panelEx4.Controls.Add(this.panelEx1);
- this.panelEx4.Controls.Add(this.panelEx3);
- this.panelEx4.DisabledBackColor = System.Drawing.Color.Empty;
- this.panelEx4.Location = new System.Drawing.Point(0, 0);
- this.panelEx4.Name = "panelEx4";
- this.panelEx4.Size = new System.Drawing.Size(250, 640);
- this.panelEx4.Style.Alignment = System.Drawing.StringAlignment.Center;
- this.panelEx4.Style.BackColor1.ColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelBackground;
- this.panelEx4.Style.BackColor2.ColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelBackground2;
- this.panelEx4.Style.Border = DevComponents.DotNetBar.eBorderType.SingleLine;
- this.panelEx4.Style.BorderColor.ColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelBorder;
- this.panelEx4.Style.ForeColor.ColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelText;
- this.panelEx4.Style.GradientAngle = 90;
- this.panelEx4.TabIndex = 10;
- //
- // dataGridViewX2
- //
- this.dataGridViewX2.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.AutoSize;
- this.dataGridViewX2.Columns.AddRange(new System.Windows.Forms.DataGridViewColumn[] {
- this.Column18,
- this.Column19,
- this.Column20,
- this.Column21,
- this.Column22,
- this.Column23,
- this.Column24,
- this.Column25,
- this.Column26,
- this.Column27,
- this.Column28,
- this.Column29});
- dataGridViewCellStyle2.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleLeft;
- dataGridViewCellStyle2.BackColor = System.Drawing.SystemColors.Window;
- dataGridViewCellStyle2.Font = new System.Drawing.Font("宋体", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
- dataGridViewCellStyle2.ForeColor = System.Drawing.SystemColors.ControlText;
- dataGridViewCellStyle2.SelectionBackColor = System.Drawing.SystemColors.Highlight;
- dataGridViewCellStyle2.SelectionForeColor = System.Drawing.SystemColors.ControlText;
- dataGridViewCellStyle2.WrapMode = System.Windows.Forms.DataGridViewTriState.False;
- this.dataGridViewX2.DefaultCellStyle = dataGridViewCellStyle2;
- this.dataGridViewX2.GridColor = System.Drawing.Color.FromArgb(((int)(((byte)(208)))), ((int)(((byte)(215)))), ((int)(((byte)(229)))));
- this.dataGridViewX2.Location = new System.Drawing.Point(250, 216);
- this.dataGridViewX2.Name = "dataGridViewX2";
- this.dataGridViewX2.Size = new System.Drawing.Size(747, 424);
- this.dataGridViewX2.TabIndex = 15;
- //
- // Column18
- //
- this.Column18.HeaderText = "通道号";
- this.Column18.Name = "Column18";
- //
- // Column19
- //
- this.Column19.HeaderText = "当前状态";
- this.Column19.Name = "Column19";
- //
- // Column20
- //
- this.Column20.HeaderText = "仪器名称";
- this.Column20.Name = "Column20";
- //
- // Column21
- //
- this.Column21.HeaderText = "仪器编号";
- this.Column21.Name = "Column21";
- //
- // Column22
- //
- this.Column22.HeaderText = "客户名称";
- this.Column22.Name = "Column22";
- //
- // Column23
- //
- this.Column23.HeaderText = "开始时间";
- this.Column23.Name = "Column23";
- //
- // Column24
- //
- this.Column24.HeaderText = "结束时间";
- this.Column24.Name = "Column24";
- //
- // Column25
- //
- this.Column25.HeaderText = "频率稳定度";
- this.Column25.Name = "Column25";
- //
- // Column26
- //
- this.Column26.HeaderText = "频率准确度";
- this.Column26.Name = "Column26";
- //
- // Column27
- //
- this.Column27.HeaderText = "开机特性";
- this.Column27.Name = "Column27";
- //
- // Column28
- //
- this.Column28.HeaderText = "日老化率";
- this.Column28.Name = "Column28";
- //
- // Column29
- //
- this.Column29.HeaderText = "频率计数器范围及灵敏度";
- this.Column29.Name = "Column29";
- //
- // buttonX1
- //
- this.buttonX1.AccessibleRole = System.Windows.Forms.AccessibleRole.PushButton;
- this.buttonX1.BackColor = System.Drawing.Color.Transparent;
- this.buttonX1.ColorTable = DevComponents.DotNetBar.eButtonColor.OrangeWithBackground;
- this.buttonX1.Location = new System.Drawing.Point(663, 183);
- this.buttonX1.Name = "buttonX1";
- this.buttonX1.Size = new System.Drawing.Size(30, 23);
- this.buttonX1.Style = DevComponents.DotNetBar.eDotNetBarStyle.StyleManagerControlled;
- this.buttonX1.Symbol = "";
- this.buttonX1.SymbolColor = System.Drawing.Color.FromArgb(((int)(((byte)(64)))), ((int)(((byte)(64)))), ((int)(((byte)(64)))));
- this.buttonX1.SymbolSize = 8F;
- this.buttonX1.TabIndex = 19;
- //
- // buttonX2
- //
- this.buttonX2.AccessibleRole = System.Windows.Forms.AccessibleRole.PushButton;
- this.buttonX2.BackColor = System.Drawing.Color.Transparent;
- this.buttonX2.ColorTable = DevComponents.DotNetBar.eButtonColor.OrangeWithBackground;
- this.buttonX2.Location = new System.Drawing.Point(589, 184);
- this.buttonX2.Name = "buttonX2";
- this.buttonX2.Size = new System.Drawing.Size(30, 23);
- this.buttonX2.Style = DevComponents.DotNetBar.eDotNetBarStyle.StyleManagerControlled;
- this.buttonX2.Symbol = "";
- this.buttonX2.SymbolColor = System.Drawing.Color.FromArgb(((int)(((byte)(64)))), ((int)(((byte)(64)))), ((int)(((byte)(64)))));
- this.buttonX2.SymbolSize = 8F;
- this.buttonX2.TabIndex = 19;
+ this.panel5.BackgroundImage = global::Casic.Birmm.RbFreqStandMeasure.Properties.Resources.bg_dev_channel;
+ this.panel5.Location = new System.Drawing.Point(230, 226);
+ this.panel5.Name = "panel5";
+ this.panel5.Size = new System.Drawing.Size(788, 424);
+ this.panel5.TabIndex = 4;
//
// label1
//
this.label1.BackColor = System.Drawing.Color.Transparent;
- this.label1.Font = new System.Drawing.Font("Times New Roman", 9.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
- this.label1.Location = new System.Drawing.Point(880, 186);
- this.label1.Margin = new System.Windows.Forms.Padding(0);
+ this.label1.Font = new System.Drawing.Font("微软雅黑", 14F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Pixel, ((byte)(134)));
+ this.label1.Location = new System.Drawing.Point(0, 20);
this.label1.Name = "label1";
- this.label1.Size = new System.Drawing.Size(20, 20);
- this.label1.TabIndex = 20;
- this.label1.Text = "1";
+ this.label1.Size = new System.Drawing.Size(224, 25);
+ this.label1.TabIndex = 0;
+ this.label1.Text = "基本信息";
this.label1.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
//
// label2
//
this.label2.BackColor = System.Drawing.Color.Transparent;
- this.label2.Font = new System.Drawing.Font("Times New Roman", 9.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
- this.label2.Location = new System.Drawing.Point(636, 187);
- this.label2.Margin = new System.Windows.Forms.Padding(0);
+ this.label2.Font = new System.Drawing.Font("微软雅黑", 14F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Pixel, ((byte)(134)));
+ this.label2.Location = new System.Drawing.Point(0, 60);
this.label2.Name = "label2";
- this.label2.Size = new System.Drawing.Size(200, 20);
- this.label2.TabIndex = 20;
- this.label2.Text = "共150条,每页5条,共100页";
- this.label2.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
+ this.label2.Size = new System.Drawing.Size(75, 25);
+ this.label2.TabIndex = 1;
+ this.label2.Text = "原子钟";
+ this.label2.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
+ //
+ // label3
+ //
+ this.label3.BackColor = System.Drawing.Color.Transparent;
+ this.label3.Font = new System.Drawing.Font("微软雅黑", 14F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Pixel, ((byte)(134)));
+ this.label3.Location = new System.Drawing.Point(0, 100);
+ this.label3.Name = "label3";
+ this.label3.Size = new System.Drawing.Size(75, 25);
+ this.label3.TabIndex = 1;
+ this.label3.Text = "接收机";
+ this.label3.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
+ //
+ // label4
+ //
+ this.label4.BackColor = System.Drawing.Color.Transparent;
+ this.label4.Font = new System.Drawing.Font("微软雅黑", 14F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Pixel, ((byte)(134)));
+ this.label4.Location = new System.Drawing.Point(0, 20);
+ this.label4.Name = "label4";
+ this.label4.Size = new System.Drawing.Size(224, 25);
+ this.label4.TabIndex = 0;
+ this.label4.Text = "时间信息";
+ this.label4.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
+ //
+ // label5
+ //
+ this.label5.BackColor = System.Drawing.Color.Transparent;
+ this.label5.Font = new System.Drawing.Font("微软雅黑", 14F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Pixel, ((byte)(134)));
+ this.label5.Location = new System.Drawing.Point(0, 60);
+ this.label5.Name = "label5";
+ this.label5.Size = new System.Drawing.Size(75, 25);
+ this.label5.TabIndex = 1;
+ this.label5.Text = "日期";
+ this.label5.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
+ //
+ // label6
+ //
+ this.label6.BackColor = System.Drawing.Color.Transparent;
+ this.label6.Font = new System.Drawing.Font("微软雅黑", 14F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Pixel, ((byte)(134)));
+ this.label6.Location = new System.Drawing.Point(0, 100);
+ this.label6.Name = "label6";
+ this.label6.Size = new System.Drawing.Size(75, 25);
+ this.label6.TabIndex = 1;
+ this.label6.Text = "时间";
+ this.label6.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
+ //
+ // label7
+ //
+ this.label7.BackColor = System.Drawing.Color.Transparent;
+ this.label7.Font = new System.Drawing.Font("微软雅黑", 14F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Pixel, ((byte)(134)));
+ this.label7.Location = new System.Drawing.Point(0, 140);
+ this.label7.Margin = new System.Windows.Forms.Padding(0);
+ this.label7.Name = "label7";
+ this.label7.Size = new System.Drawing.Size(75, 25);
+ this.label7.TabIndex = 1;
+ this.label7.Text = "MJD";
+ this.label7.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
+ //
+ // label8
+ //
+ this.label8.BackColor = System.Drawing.Color.Transparent;
+ this.label8.Font = new System.Drawing.Font("微软雅黑", 14F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Pixel, ((byte)(134)));
+ this.label8.Location = new System.Drawing.Point(0, 20);
+ this.label8.Name = "label8";
+ this.label8.Size = new System.Drawing.Size(224, 25);
+ this.label8.TabIndex = 0;
+ this.label8.Text = "位置信息";
+ this.label8.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
+ //
+ // label9
+ //
+ this.label9.BackColor = System.Drawing.Color.Transparent;
+ this.label9.Font = new System.Drawing.Font("微软雅黑", 14F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Pixel, ((byte)(134)));
+ this.label9.Location = new System.Drawing.Point(0, 60);
+ this.label9.Name = "label9";
+ this.label9.Size = new System.Drawing.Size(75, 25);
+ this.label9.TabIndex = 1;
+ this.label9.Text = "经度";
+ this.label9.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
+ //
+ // label10
+ //
+ this.label10.BackColor = System.Drawing.Color.Transparent;
+ this.label10.Font = new System.Drawing.Font("微软雅黑", 14F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Pixel, ((byte)(134)));
+ this.label10.Location = new System.Drawing.Point(0, 100);
+ this.label10.Margin = new System.Windows.Forms.Padding(0);
+ this.label10.Name = "label10";
+ this.label10.Size = new System.Drawing.Size(75, 25);
+ this.label10.TabIndex = 1;
+ this.label10.Text = "纬度";
+ this.label10.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
+ //
+ // label11
+ //
+ this.label11.BackColor = System.Drawing.Color.Transparent;
+ this.label11.Font = new System.Drawing.Font("微软雅黑", 14F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Pixel, ((byte)(134)));
+ this.label11.Location = new System.Drawing.Point(0, 140);
+ this.label11.Margin = new System.Windows.Forms.Padding(0);
+ this.label11.Name = "label11";
+ this.label11.Size = new System.Drawing.Size(75, 25);
+ this.label11.TabIndex = 1;
+ this.label11.Text = "X";
+ this.label11.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
+ //
+ // label12
+ //
+ this.label12.BackColor = System.Drawing.Color.Transparent;
+ this.label12.Font = new System.Drawing.Font("微软雅黑", 14F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Pixel, ((byte)(134)));
+ this.label12.Location = new System.Drawing.Point(0, 180);
+ this.label12.Margin = new System.Windows.Forms.Padding(0);
+ this.label12.Name = "label12";
+ this.label12.Size = new System.Drawing.Size(75, 25);
+ this.label12.TabIndex = 1;
+ this.label12.Text = "Y";
+ this.label12.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
+ //
+ // label13
+ //
+ this.label13.BackColor = System.Drawing.Color.Transparent;
+ this.label13.Font = new System.Drawing.Font("微软雅黑", 14F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Pixel, ((byte)(134)));
+ this.label13.Location = new System.Drawing.Point(0, 220);
+ this.label13.Margin = new System.Windows.Forms.Padding(0);
+ this.label13.Name = "label13";
+ this.label13.Size = new System.Drawing.Size(75, 25);
+ this.label13.TabIndex = 1;
+ this.label13.Text = "Z";
+ this.label13.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
//
// HomeCtrlForm
//
this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 12F);
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
- this.Controls.Add(this.label1);
- this.Controls.Add(this.label2);
- this.Controls.Add(this.dataGridViewX2);
- this.Controls.Add(this.panelEx4);
- this.Controls.Add(this.panelToBeTested);
+ this.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(232)))), ((int)(((byte)(234)))), ((int)(((byte)(238)))));
+ this.Controls.Add(this.panel5);
+ this.Controls.Add(this.panel4);
+ this.Controls.Add(this.panel3);
+ this.Controls.Add(this.panel2);
+ this.Controls.Add(this.panel1);
this.Margin = new System.Windows.Forms.Padding(0);
this.Name = "HomeCtrlForm";
- this.Size = new System.Drawing.Size(1000, 640);
- this.panelToBeTested.ResumeLayout(false);
- ((System.ComponentModel.ISupportInitialize)(this.dataGridViewX1)).EndInit();
- this.panelEx1.ResumeLayout(false);
- this.panelEx2.ResumeLayout(false);
- this.panelEx3.ResumeLayout(false);
- this.panelEx4.ResumeLayout(false);
- ((System.ComponentModel.ISupportInitialize)(this.dataGridViewX2)).EndInit();
+ this.Size = new System.Drawing.Size(1024, 654);
+ this.panel3.ResumeLayout(false);
+ this.panel2.ResumeLayout(false);
+ this.panel1.ResumeLayout(false);
this.ResumeLayout(false);
}
#endregion
- private System.Windows.Forms.Panel panelToBeTested;
- private DevComponents.DotNetBar.PanelEx panelEx1;
- private DevComponents.DotNetBar.LabelX labelX6;
- private DevComponents.DotNetBar.LabelX labelX5;
- private DevComponents.DotNetBar.LabelX labelX4;
- private DevComponents.DotNetBar.LabelX labelX3;
- private DevComponents.DotNetBar.LabelX labelX2;
- private DevComponents.DotNetBar.LabelX labelX1;
- private DevComponents.DotNetBar.PanelEx panelEx2;
- private DevComponents.DotNetBar.LabelX labelX7;
- private DevComponents.DotNetBar.LabelX labelX8;
- private DevComponents.DotNetBar.LabelX labelX10;
- private DevComponents.DotNetBar.LabelX labelX9;
- private DevComponents.DotNetBar.PanelEx panelEx3;
- private DevComponents.DotNetBar.LabelX labelX11;
- private DevComponents.DotNetBar.LabelX labelX13;
- private DevComponents.DotNetBar.LabelX labelX12;
- private DevComponents.DotNetBar.PanelEx panelEx4;
- private DevComponents.DotNetBar.Controls.DataGridViewX dataGridViewX1;
- private System.Windows.Forms.DataGridViewTextBoxColumn Column13;
- private System.Windows.Forms.DataGridViewTextBoxColumn Column14;
- private System.Windows.Forms.DataGridViewTextBoxColumn Column15;
- private System.Windows.Forms.DataGridViewTextBoxColumn Column16;
- private System.Windows.Forms.DataGridViewTextBoxColumn Column17;
- private DevComponents.DotNetBar.Controls.DataGridViewX dataGridViewX2;
- private System.Windows.Forms.DataGridViewTextBoxColumn Column18;
- private System.Windows.Forms.DataGridViewTextBoxColumn Column19;
- private System.Windows.Forms.DataGridViewTextBoxColumn Column20;
- private System.Windows.Forms.DataGridViewTextBoxColumn Column21;
- private System.Windows.Forms.DataGridViewTextBoxColumn Column22;
- private System.Windows.Forms.DataGridViewTextBoxColumn Column23;
- private System.Windows.Forms.DataGridViewTextBoxColumn Column24;
- private System.Windows.Forms.DataGridViewTextBoxColumn Column25;
- private System.Windows.Forms.DataGridViewTextBoxColumn Column26;
- private System.Windows.Forms.DataGridViewTextBoxColumn Column27;
- private System.Windows.Forms.DataGridViewTextBoxColumn Column28;
- private System.Windows.Forms.DataGridViewTextBoxColumn Column29;
- private DevComponents.DotNetBar.ButtonX buttonX1;
- private DevComponents.DotNetBar.ButtonX buttonX2;
+
+ private System.Windows.Forms.Panel panel1;
+ private System.Windows.Forms.Panel panel2;
+ private System.Windows.Forms.Panel panel3;
+ private System.Windows.Forms.Panel panel4;
+ private System.Windows.Forms.Panel panel5;
private System.Windows.Forms.Label label1;
private System.Windows.Forms.Label label2;
+ private System.Windows.Forms.Label label3;
+ private System.Windows.Forms.Label label4;
+ private System.Windows.Forms.Label label5;
+ private System.Windows.Forms.Label label6;
+ private System.Windows.Forms.Label label7;
+ private System.Windows.Forms.Label label8;
+ private System.Windows.Forms.Label label11;
+ private System.Windows.Forms.Label label9;
+ private System.Windows.Forms.Label label10;
+ private System.Windows.Forms.Label label12;
+ private System.Windows.Forms.Label label13;
}
}
diff --git a/RbFreqStandMeasure/HomeCtrlForm.resx b/RbFreqStandMeasure/HomeCtrlForm.resx
index 6d97f4f..1af7de1 100644
--- a/RbFreqStandMeasure/HomeCtrlForm.resx
+++ b/RbFreqStandMeasure/HomeCtrlForm.resx
@@ -117,55 +117,4 @@
System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
-
- True
-
-
- True
-
-
- True
-
-
- True
-
-
- True
-
-
- True
-
-
- True
-
-
- True
-
-
- True
-
-
- True
-
-
- True
-
-
- True
-
-
- True
-
-
- True
-
-
- True
-
-
- True
-
-
- True
-
\ No newline at end of file
diff --git a/RbFreqStandMeasure/Program.cs b/RbFreqStandMeasure/Program.cs
index 93a83e5..6150917 100644
--- a/RbFreqStandMeasure/Program.cs
+++ b/RbFreqStandMeasure/Program.cs
@@ -1,6 +1,4 @@
using System;
-using System.Collections.Generic;
-using System.Linq;
using System.Windows.Forms;
namespace Casic.Birmm.RbFreqStandMeasure
diff --git a/RbFreqStandMeasure/Properties/Resources.Designer.cs b/RbFreqStandMeasure/Properties/Resources.Designer.cs
index 253d7d7..d819a23 100644
--- a/RbFreqStandMeasure/Properties/Resources.Designer.cs
+++ b/RbFreqStandMeasure/Properties/Resources.Designer.cs
@@ -73,6 +73,56 @@
///
/// 查找 System.Drawing.Bitmap 类型的本地化资源。
///
+ internal static System.Drawing.Bitmap bg_dev_channel {
+ get {
+ object obj = ResourceManager.GetObject("bg_dev_channel", resourceCulture);
+ return ((System.Drawing.Bitmap)(obj));
+ }
+ }
+
+ ///
+ /// 查找 System.Drawing.Bitmap 类型的本地化资源。
+ ///
+ internal static System.Drawing.Bitmap bg_dev_tested {
+ get {
+ object obj = ResourceManager.GetObject("bg_dev_tested", resourceCulture);
+ return ((System.Drawing.Bitmap)(obj));
+ }
+ }
+
+ ///
+ /// 查找 System.Drawing.Bitmap 类型的本地化资源。
+ ///
+ internal static System.Drawing.Bitmap bg_status_base {
+ get {
+ object obj = ResourceManager.GetObject("bg_status_base", resourceCulture);
+ return ((System.Drawing.Bitmap)(obj));
+ }
+ }
+
+ ///
+ /// 查找 System.Drawing.Bitmap 类型的本地化资源。
+ ///
+ internal static System.Drawing.Bitmap bg_status_location {
+ get {
+ object obj = ResourceManager.GetObject("bg_status_location", resourceCulture);
+ return ((System.Drawing.Bitmap)(obj));
+ }
+ }
+
+ ///
+ /// 查找 System.Drawing.Bitmap 类型的本地化资源。
+ ///
+ internal static System.Drawing.Bitmap bg_status_time {
+ get {
+ object obj = ResourceManager.GetObject("bg_status_time", resourceCulture);
+ return ((System.Drawing.Bitmap)(obj));
+ }
+ }
+
+ ///
+ /// 查找 System.Drawing.Bitmap 类型的本地化资源。
+ ///
internal static System.Drawing.Bitmap bg_white_shadow {
get {
object obj = ResourceManager.GetObject("bg_white_shadow", resourceCulture);
@@ -83,6 +133,66 @@
///
/// 查找 System.Drawing.Bitmap 类型的本地化资源。
///
+ internal static System.Drawing.Bitmap icon_counter {
+ get {
+ object obj = ResourceManager.GetObject("icon_counter", resourceCulture);
+ return ((System.Drawing.Bitmap)(obj));
+ }
+ }
+
+ ///
+ /// 查找 System.Drawing.Bitmap 类型的本地化资源。
+ ///
+ internal static System.Drawing.Bitmap icon_counter_selected {
+ get {
+ object obj = ResourceManager.GetObject("icon_counter_selected", resourceCulture);
+ return ((System.Drawing.Bitmap)(obj));
+ }
+ }
+
+ ///
+ /// 查找 System.Drawing.Bitmap 类型的本地化资源。
+ ///
+ internal static System.Drawing.Bitmap icon_data {
+ get {
+ object obj = ResourceManager.GetObject("icon_data", resourceCulture);
+ return ((System.Drawing.Bitmap)(obj));
+ }
+ }
+
+ ///
+ /// 查找 System.Drawing.Bitmap 类型的本地化资源。
+ ///
+ internal static System.Drawing.Bitmap icon_data_selected {
+ get {
+ object obj = ResourceManager.GetObject("icon_data_selected", resourceCulture);
+ return ((System.Drawing.Bitmap)(obj));
+ }
+ }
+
+ ///
+ /// 查找 System.Drawing.Bitmap 类型的本地化资源。
+ ///
+ internal static System.Drawing.Bitmap icon_dev {
+ get {
+ object obj = ResourceManager.GetObject("icon_dev", resourceCulture);
+ return ((System.Drawing.Bitmap)(obj));
+ }
+ }
+
+ ///
+ /// 查找 System.Drawing.Bitmap 类型的本地化资源。
+ ///
+ internal static System.Drawing.Bitmap icon_dev_selected {
+ get {
+ object obj = ResourceManager.GetObject("icon_dev_selected", resourceCulture);
+ return ((System.Drawing.Bitmap)(obj));
+ }
+ }
+
+ ///
+ /// 查找 System.Drawing.Bitmap 类型的本地化资源。
+ ///
internal static System.Drawing.Bitmap icon_exit {
get {
object obj = ResourceManager.GetObject("icon_exit", resourceCulture);
@@ -113,6 +223,56 @@
///
/// 查找 System.Drawing.Bitmap 类型的本地化资源。
///
+ internal static System.Drawing.Bitmap icon_measure {
+ get {
+ object obj = ResourceManager.GetObject("icon_measure", resourceCulture);
+ return ((System.Drawing.Bitmap)(obj));
+ }
+ }
+
+ ///
+ /// 查找 System.Drawing.Bitmap 类型的本地化资源。
+ ///
+ internal static System.Drawing.Bitmap icon_measure_selected {
+ get {
+ object obj = ResourceManager.GetObject("icon_measure_selected", resourceCulture);
+ return ((System.Drawing.Bitmap)(obj));
+ }
+ }
+
+ ///
+ /// 查找 System.Drawing.Bitmap 类型的本地化资源。
+ ///
+ internal static System.Drawing.Bitmap icon_min {
+ get {
+ object obj = ResourceManager.GetObject("icon_min", resourceCulture);
+ return ((System.Drawing.Bitmap)(obj));
+ }
+ }
+
+ ///
+ /// 查找 System.Drawing.Bitmap 类型的本地化资源。
+ ///
+ internal static System.Drawing.Bitmap icon_setting {
+ get {
+ object obj = ResourceManager.GetObject("icon_setting", resourceCulture);
+ return ((System.Drawing.Bitmap)(obj));
+ }
+ }
+
+ ///
+ /// 查找 System.Drawing.Bitmap 类型的本地化资源。
+ ///
+ internal static System.Drawing.Bitmap icon_setting_selected {
+ get {
+ object obj = ResourceManager.GetObject("icon_setting_selected", resourceCulture);
+ return ((System.Drawing.Bitmap)(obj));
+ }
+ }
+
+ ///
+ /// 查找 System.Drawing.Bitmap 类型的本地化资源。
+ ///
internal static System.Drawing.Bitmap icon_status {
get {
object obj = ResourceManager.GetObject("icon_status", resourceCulture);
diff --git a/RbFreqStandMeasure/Properties/Resources.resx b/RbFreqStandMeasure/Properties/Resources.resx
index e781bb7..cfdb255 100644
--- a/RbFreqStandMeasure/Properties/Resources.resx
+++ b/RbFreqStandMeasure/Properties/Resources.resx
@@ -118,25 +118,73 @@
System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
-
- ..\res\images\icon_exit.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
+
+ ..\res\images\icon_counter_selected.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
-
- ..\res\images\bg_white_shadow.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
+
+ ..\res\images\icon_dev_selected.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
+
+
+ ..\res\images\icon_status_selected.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
+
+
+ ..\res\images\icon_data_selected.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
..\res\images\icon_home_selected.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
-
- ..\res\images\bg_banner.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
-
-
- ..\res\images\icon_home.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
+
+ ..\res\images\icon_exit.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
..\res\images\icon_status.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
-
- ..\res\images\icon_status_selected.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
+
+ ..\res\images\icon_data.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
+
+
+ ..\res\images\icon_setting.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
+
+
+ ..\res\images\icon_measure_selected.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
+
+
+ ..\res\images\bg_banner.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
+
+
+ ..\res\images\icon_setting_selected.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
+
+
+ ..\res\images\icon_dev.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
+
+
+ ..\res\images\icon_counter.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
+
+
+ ..\res\images\icon_measure.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
+
+
+ ..\res\images\icon_home.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
+
+
+ ..\res\images\bg_white_shadow.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
+
+
+ ..\res\images\icon_min.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
+
+
+ ..\res\images\bg_status_base.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
+
+
+ ..\res\images\bg_status_location.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
+
+
+ ..\res\images\bg_status_time.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
+
+
+ ..\res\images\bg_dev_channel.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
+
+
+ ..\res\images\bg_dev_tested.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
\ No newline at end of file
diff --git a/RbFreqStandMeasure/RbFreqStandMeasure.csproj b/RbFreqStandMeasure/RbFreqStandMeasure.csproj
index f5e7da9..7c12768 100644
--- a/RbFreqStandMeasure/RbFreqStandMeasure.csproj
+++ b/RbFreqStandMeasure/RbFreqStandMeasure.csproj
@@ -232,6 +232,54 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/RbFreqStandMeasure/RbFreqStdMeas.Designer.cs b/RbFreqStandMeasure/RbFreqStdMeas.Designer.cs
index 57778cf..1bd008c 100644
--- a/RbFreqStandMeasure/RbFreqStdMeas.Designer.cs
+++ b/RbFreqStandMeasure/RbFreqStdMeas.Designer.cs
@@ -30,148 +30,77 @@
private void InitializeComponent()
{
this.panMenu = new System.Windows.Forms.Panel();
+ this.penBanner = new System.Windows.Forms.Panel();
+ this.btnMinSys = new System.Windows.Forms.Button();
+ this.btnExitSys = new System.Windows.Forms.Button();
+ this.labTitle = new System.Windows.Forms.Label();
+ this.panDev = new Casic.Birmm.RbFreqStandMeasure.RoundPanel();
+ this.labDevText = new System.Windows.Forms.Label();
+ this.labDevSelected = new System.Windows.Forms.Label();
+ this.picIconDev = new System.Windows.Forms.PictureBox();
+ this.panSetting = new Casic.Birmm.RbFreqStandMeasure.RoundPanel();
+ this.labSettingSelected = new System.Windows.Forms.Label();
+ this.labSettingText = new System.Windows.Forms.Label();
+ this.picIconSetting = new System.Windows.Forms.PictureBox();
this.panStatus = new Casic.Birmm.RbFreqStandMeasure.RoundPanel();
this.labStatusText = new System.Windows.Forms.Label();
this.picIconStatus = new System.Windows.Forms.PictureBox();
+ this.labStatusSelected = new System.Windows.Forms.Label();
+ this.panData = new Casic.Birmm.RbFreqStandMeasure.RoundPanel();
+ this.labDataSelected = new System.Windows.Forms.Label();
+ this.labDataText = new System.Windows.Forms.Label();
+ this.picIconData = new System.Windows.Forms.PictureBox();
this.panHome = new Casic.Birmm.RbFreqStandMeasure.RoundPanel();
this.labHomeText = new System.Windows.Forms.Label();
this.picIconHome = new System.Windows.Forms.PictureBox();
this.labHomeSelected = new System.Windows.Forms.Label();
- this.labStatusSelected = new System.Windows.Forms.Label();
- this.penBanner = new System.Windows.Forms.Panel();
- this.btnExitSys = new System.Windows.Forms.Button();
- this.labTitle = new System.Windows.Forms.Label();
+ this.panMeasure = new Casic.Birmm.RbFreqStandMeasure.RoundPanel();
+ this.labMeasureText = new System.Windows.Forms.Label();
+ this.labMeasureSelected = new System.Windows.Forms.Label();
+ this.picIconMeasure = new System.Windows.Forms.PictureBox();
+ this.panCounter = new Casic.Birmm.RbFreqStandMeasure.RoundPanel();
+ this.labCounterSelected = new System.Windows.Forms.Label();
+ this.labCounterText = new System.Windows.Forms.Label();
+ this.picIconCounter = new System.Windows.Forms.PictureBox();
+ this.panelMain = new System.Windows.Forms.Panel();
this.panMenu.SuspendLayout();
+ this.penBanner.SuspendLayout();
+ this.panDev.SuspendLayout();
+ ((System.ComponentModel.ISupportInitialize)(this.picIconDev)).BeginInit();
+ this.panSetting.SuspendLayout();
+ ((System.ComponentModel.ISupportInitialize)(this.picIconSetting)).BeginInit();
this.panStatus.SuspendLayout();
((System.ComponentModel.ISupportInitialize)(this.picIconStatus)).BeginInit();
+ this.panData.SuspendLayout();
+ ((System.ComponentModel.ISupportInitialize)(this.picIconData)).BeginInit();
this.panHome.SuspendLayout();
((System.ComponentModel.ISupportInitialize)(this.picIconHome)).BeginInit();
- this.penBanner.SuspendLayout();
+ this.panMeasure.SuspendLayout();
+ ((System.ComponentModel.ISupportInitialize)(this.picIconMeasure)).BeginInit();
+ this.panCounter.SuspendLayout();
+ ((System.ComponentModel.ISupportInitialize)(this.picIconCounter)).BeginInit();
this.SuspendLayout();
//
// panMenu
//
this.panMenu.BackColor = System.Drawing.Color.White;
+ this.panMenu.Controls.Add(this.panDev);
+ this.panMenu.Controls.Add(this.panSetting);
this.panMenu.Controls.Add(this.panStatus);
+ this.panMenu.Controls.Add(this.panData);
this.panMenu.Controls.Add(this.panHome);
- this.panMenu.Controls.Add(this.labStatusSelected);
+ this.panMenu.Controls.Add(this.panMeasure);
+ this.panMenu.Controls.Add(this.panCounter);
this.panMenu.Location = new System.Drawing.Point(0, 64);
this.panMenu.Name = "panMenu";
this.panMenu.Size = new System.Drawing.Size(1024, 50);
this.panMenu.TabIndex = 1;
//
- // panStatus
- //
- this.panStatus.Back = System.Drawing.Color.Empty;
- this.panStatus.BackColor = System.Drawing.Color.Transparent;
- this.panStatus.Controls.Add(this.labStatusText);
- this.panStatus.Controls.Add(this.picIconStatus);
- this.panStatus.Location = new System.Drawing.Point(160, 0);
- this.panStatus.MatrixRound = 8;
- this.panStatus.Name = "panStatus";
- this.panStatus.Size = new System.Drawing.Size(130, 47);
- this.panStatus.TabIndex = 1;
- this.panStatus.Click += new System.EventHandler(this.panStatus_Click);
- this.panStatus.MouseLeave += new System.EventHandler(this.panStatus_MouseLeave);
- this.panStatus.MouseHover += new System.EventHandler(this.panStatus_MouseHover);
- //
- // labStatusText
- //
- this.labStatusText.BackColor = System.Drawing.Color.Transparent;
- this.labStatusText.Cursor = System.Windows.Forms.Cursors.Hand;
- this.labStatusText.Font = new System.Drawing.Font("微软雅黑", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
- this.labStatusText.ForeColor = System.Drawing.SystemColors.ControlText;
- this.labStatusText.Location = new System.Drawing.Point(35, 0);
- this.labStatusText.Margin = new System.Windows.Forms.Padding(0);
- this.labStatusText.Name = "labStatusText";
- this.labStatusText.Size = new System.Drawing.Size(85, 47);
- this.labStatusText.TabIndex = 2;
- this.labStatusText.Text = "基准状态";
- this.labStatusText.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
- this.labStatusText.Click += new System.EventHandler(this.panStatus_Click);
- this.labStatusText.MouseLeave += new System.EventHandler(this.panStatus_MouseLeave);
- this.labStatusText.MouseHover += new System.EventHandler(this.panStatus_MouseHover);
- //
- // picIconStatus
- //
- this.picIconStatus.BackgroundImage = global::Casic.Birmm.RbFreqStandMeasure.Properties.Resources.icon_status;
- this.picIconStatus.BackgroundImageLayout = System.Windows.Forms.ImageLayout.Zoom;
- this.picIconStatus.Location = new System.Drawing.Point(10, 11);
- this.picIconStatus.Name = "picIconStatus";
- this.picIconStatus.Size = new System.Drawing.Size(25, 25);
- this.picIconStatus.TabIndex = 1;
- this.picIconStatus.TabStop = false;
- this.picIconStatus.Click += new System.EventHandler(this.panStatus_Click);
- this.picIconStatus.MouseLeave += new System.EventHandler(this.panStatus_MouseLeave);
- this.picIconStatus.MouseHover += new System.EventHandler(this.panStatus_MouseHover);
- //
- // panHome
- //
- this.panHome.Back = System.Drawing.Color.Empty;
- this.panHome.Controls.Add(this.labHomeText);
- this.panHome.Controls.Add(this.picIconHome);
- this.panHome.Controls.Add(this.labHomeSelected);
- this.panHome.Cursor = System.Windows.Forms.Cursors.Hand;
- this.panHome.Location = new System.Drawing.Point(30, 0);
- this.panHome.MatrixRound = 8;
- this.panHome.Name = "panHome";
- this.panHome.Size = new System.Drawing.Size(100, 50);
- this.panHome.TabIndex = 0;
- this.panHome.Click += new System.EventHandler(this.panHome_Click);
- this.panHome.MouseLeave += new System.EventHandler(this.panHome_MouseLeave);
- this.panHome.MouseHover += new System.EventHandler(this.panHome_MouseHover);
- //
- // labHomeText
- //
- this.labHomeText.BackColor = System.Drawing.Color.Transparent;
- this.labHomeText.Font = new System.Drawing.Font("微软雅黑", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
- this.labHomeText.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(18)))), ((int)(((byte)(150)))), ((int)(((byte)(219)))));
- this.labHomeText.Location = new System.Drawing.Point(35, 0);
- this.labHomeText.Margin = new System.Windows.Forms.Padding(0);
- this.labHomeText.Name = "labHomeText";
- this.labHomeText.Size = new System.Drawing.Size(55, 47);
- this.labHomeText.TabIndex = 2;
- this.labHomeText.Text = "首页";
- this.labHomeText.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
- this.labHomeText.Click += new System.EventHandler(this.panHome_Click);
- this.labHomeText.MouseLeave += new System.EventHandler(this.panHome_MouseLeave);
- this.labHomeText.MouseHover += new System.EventHandler(this.panHome_MouseHover);
- //
- // picIconHome
- //
- this.picIconHome.BackColor = System.Drawing.Color.Transparent;
- this.picIconHome.BackgroundImage = global::Casic.Birmm.RbFreqStandMeasure.Properties.Resources.icon_home_selected;
- this.picIconHome.BackgroundImageLayout = System.Windows.Forms.ImageLayout.Zoom;
- this.picIconHome.Location = new System.Drawing.Point(10, 11);
- this.picIconHome.Name = "picIconHome";
- this.picIconHome.Size = new System.Drawing.Size(25, 25);
- this.picIconHome.TabIndex = 1;
- this.picIconHome.TabStop = false;
- this.picIconHome.Click += new System.EventHandler(this.panHome_Click);
- this.picIconHome.MouseLeave += new System.EventHandler(this.panHome_MouseLeave);
- this.picIconHome.MouseHover += new System.EventHandler(this.panHome_MouseHover);
- //
- // labHomeSelected
- //
- this.labHomeSelected.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(18)))), ((int)(((byte)(150)))), ((int)(((byte)(219)))));
- this.labHomeSelected.Location = new System.Drawing.Point(0, 47);
- this.labHomeSelected.Name = "labHomeSelected";
- this.labHomeSelected.Size = new System.Drawing.Size(100, 3);
- this.labHomeSelected.TabIndex = 0;
- //
- // labStatusSelected
- //
- this.labStatusSelected.BackColor = System.Drawing.Color.Transparent;
- this.labStatusSelected.Location = new System.Drawing.Point(160, 47);
- this.labStatusSelected.Margin = new System.Windows.Forms.Padding(0);
- this.labStatusSelected.Name = "labStatusSelected";
- this.labStatusSelected.Size = new System.Drawing.Size(130, 3);
- this.labStatusSelected.TabIndex = 0;
- //
// penBanner
//
this.penBanner.BackgroundImage = global::Casic.Birmm.RbFreqStandMeasure.Properties.Resources.bg_banner;
this.penBanner.BackgroundImageLayout = System.Windows.Forms.ImageLayout.Stretch;
+ this.penBanner.Controls.Add(this.btnMinSys);
this.penBanner.Controls.Add(this.btnExitSys);
this.penBanner.Controls.Add(this.labTitle);
this.penBanner.Location = new System.Drawing.Point(0, 0);
@@ -180,6 +109,23 @@
this.penBanner.TabIndex = 0;
this.penBanner.MouseDown += new System.Windows.Forms.MouseEventHandler(this.RbFreqStdMeas_MouseDown);
//
+ // btnMinSys
+ //
+ this.btnMinSys.BackColor = System.Drawing.Color.Transparent;
+ this.btnMinSys.BackgroundImage = global::Casic.Birmm.RbFreqStandMeasure.Properties.Resources.icon_min;
+ this.btnMinSys.BackgroundImageLayout = System.Windows.Forms.ImageLayout.Stretch;
+ this.btnMinSys.FlatAppearance.BorderSize = 0;
+ this.btnMinSys.FlatStyle = System.Windows.Forms.FlatStyle.Flat;
+ this.btnMinSys.ForeColor = System.Drawing.SystemColors.ControlDarkDark;
+ this.btnMinSys.Location = new System.Drawing.Point(944, 22);
+ this.btnMinSys.Margin = new System.Windows.Forms.Padding(0);
+ this.btnMinSys.Name = "btnMinSys";
+ this.btnMinSys.Size = new System.Drawing.Size(20, 20);
+ this.btnMinSys.TabIndex = 1;
+ this.btnMinSys.UseVisualStyleBackColor = false;
+ this.btnMinSys.Click += new System.EventHandler(this.btnMinSys_Click);
+ this.btnMinSys.MouseHover += new System.EventHandler(this.btnMinSys_MouseHover);
+ //
// btnExitSys
//
this.btnExitSys.BackColor = System.Drawing.Color.Transparent;
@@ -200,7 +146,7 @@
// labTitle
//
this.labTitle.BackColor = System.Drawing.Color.Transparent;
- this.labTitle.Font = new System.Drawing.Font("微软雅黑", 15.75F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
+ this.labTitle.Font = new System.Drawing.Font("微软雅黑", 20F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Pixel, ((byte)(134)));
this.labTitle.ForeColor = System.Drawing.Color.White;
this.labTitle.Location = new System.Drawing.Point(30, 16);
this.labTitle.Name = "labTitle";
@@ -209,11 +155,404 @@
this.labTitle.Text = "铷原子频标比对测量软件";
this.labTitle.TextAlign = System.Drawing.ContentAlignment.MiddleLeft;
//
+ // panDev
+ //
+ this.panDev.Back = System.Drawing.Color.Empty;
+ this.panDev.Controls.Add(this.labDevText);
+ this.panDev.Controls.Add(this.labDevSelected);
+ this.panDev.Controls.Add(this.picIconDev);
+ this.panDev.Location = new System.Drawing.Point(214, 0);
+ this.panDev.MatrixRound = 8;
+ this.panDev.Name = "panDev";
+ this.panDev.Size = new System.Drawing.Size(141, 50);
+ this.panDev.TabIndex = 2;
+ this.panDev.Click += new System.EventHandler(this.panDev_Click);
+ this.panDev.MouseLeave += new System.EventHandler(this.panDev_MouseLeave);
+ this.panDev.MouseHover += new System.EventHandler(this.panDev_MouseHover);
+ //
+ // labDevText
+ //
+ this.labDevText.BackColor = System.Drawing.Color.Transparent;
+ this.labDevText.Cursor = System.Windows.Forms.Cursors.Hand;
+ this.labDevText.Font = new System.Drawing.Font("微软雅黑", 16F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Pixel, ((byte)(134)));
+ this.labDevText.ForeColor = System.Drawing.SystemColors.ControlText;
+ this.labDevText.Location = new System.Drawing.Point(30, 14);
+ this.labDevText.Margin = new System.Windows.Forms.Padding(0);
+ this.labDevText.Name = "labDevText";
+ this.labDevText.Size = new System.Drawing.Size(106, 20);
+ this.labDevText.TabIndex = 2;
+ this.labDevText.Text = "送检仪器管理";
+ this.labDevText.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
+ this.labDevText.Click += new System.EventHandler(this.panDev_Click);
+ this.labDevText.MouseLeave += new System.EventHandler(this.panDev_MouseLeave);
+ this.labDevText.MouseHover += new System.EventHandler(this.panDev_MouseHover);
+ //
+ // labDevSelected
+ //
+ this.labDevSelected.BackColor = System.Drawing.Color.Transparent;
+ this.labDevSelected.Location = new System.Drawing.Point(8, 48);
+ this.labDevSelected.Margin = new System.Windows.Forms.Padding(0);
+ this.labDevSelected.Name = "labDevSelected";
+ this.labDevSelected.Size = new System.Drawing.Size(121, 2);
+ this.labDevSelected.TabIndex = 3;
+ //
+ // picIconDev
+ //
+ this.picIconDev.BackColor = System.Drawing.Color.Transparent;
+ this.picIconDev.BackgroundImage = global::Casic.Birmm.RbFreqStandMeasure.Properties.Resources.icon_dev;
+ this.picIconDev.BackgroundImageLayout = System.Windows.Forms.ImageLayout.Zoom;
+ this.picIconDev.Location = new System.Drawing.Point(10, 14);
+ this.picIconDev.Name = "picIconDev";
+ this.picIconDev.Size = new System.Drawing.Size(20, 20);
+ this.picIconDev.TabIndex = 1;
+ this.picIconDev.TabStop = false;
+ this.picIconDev.Click += new System.EventHandler(this.panDev_Click);
+ this.picIconDev.MouseLeave += new System.EventHandler(this.panDev_MouseLeave);
+ this.picIconDev.MouseHover += new System.EventHandler(this.panDev_MouseHover);
+ //
+ // panSetting
+ //
+ this.panSetting.Back = System.Drawing.Color.Empty;
+ this.panSetting.Controls.Add(this.labSettingSelected);
+ this.panSetting.Controls.Add(this.labSettingText);
+ this.panSetting.Controls.Add(this.picIconSetting);
+ this.panSetting.Location = new System.Drawing.Point(879, 0);
+ this.panSetting.MatrixRound = 8;
+ this.panSetting.Name = "panSetting";
+ this.panSetting.Size = new System.Drawing.Size(109, 50);
+ this.panSetting.TabIndex = 2;
+ this.panSetting.Click += new System.EventHandler(this.panSetting_Click);
+ this.panSetting.MouseLeave += new System.EventHandler(this.panSetting_MouseLeave);
+ this.panSetting.MouseHover += new System.EventHandler(this.panSetting_MouseHover);
+ //
+ // labSettingSelected
+ //
+ this.labSettingSelected.BackColor = System.Drawing.Color.Transparent;
+ this.labSettingSelected.Location = new System.Drawing.Point(10, 48);
+ this.labSettingSelected.Margin = new System.Windows.Forms.Padding(0);
+ this.labSettingSelected.Name = "labSettingSelected";
+ this.labSettingSelected.Size = new System.Drawing.Size(89, 2);
+ this.labSettingSelected.TabIndex = 4;
+ //
+ // labSettingText
+ //
+ this.labSettingText.BackColor = System.Drawing.Color.Transparent;
+ this.labSettingText.Cursor = System.Windows.Forms.Cursors.Hand;
+ this.labSettingText.Font = new System.Drawing.Font("微软雅黑", 16F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Pixel, ((byte)(134)));
+ this.labSettingText.ForeColor = System.Drawing.SystemColors.ControlText;
+ this.labSettingText.Location = new System.Drawing.Point(30, 14);
+ this.labSettingText.Margin = new System.Windows.Forms.Padding(0);
+ this.labSettingText.Name = "labSettingText";
+ this.labSettingText.Size = new System.Drawing.Size(74, 20);
+ this.labSettingText.TabIndex = 2;
+ this.labSettingText.Text = "系统设置";
+ this.labSettingText.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
+ this.labSettingText.Click += new System.EventHandler(this.panSetting_Click);
+ this.labSettingText.MouseLeave += new System.EventHandler(this.panSetting_MouseLeave);
+ this.labSettingText.MouseHover += new System.EventHandler(this.panSetting_MouseHover);
+ //
+ // picIconSetting
+ //
+ this.picIconSetting.BackColor = System.Drawing.Color.Transparent;
+ this.picIconSetting.BackgroundImage = global::Casic.Birmm.RbFreqStandMeasure.Properties.Resources.icon_setting;
+ this.picIconSetting.BackgroundImageLayout = System.Windows.Forms.ImageLayout.Zoom;
+ this.picIconSetting.Location = new System.Drawing.Point(10, 14);
+ this.picIconSetting.Name = "picIconSetting";
+ this.picIconSetting.Size = new System.Drawing.Size(20, 20);
+ this.picIconSetting.TabIndex = 1;
+ this.picIconSetting.TabStop = false;
+ this.picIconSetting.Click += new System.EventHandler(this.panSetting_Click);
+ this.picIconSetting.MouseLeave += new System.EventHandler(this.panSetting_MouseLeave);
+ this.picIconSetting.MouseHover += new System.EventHandler(this.panSetting_MouseHover);
+ //
+ // panStatus
+ //
+ this.panStatus.Back = System.Drawing.Color.Empty;
+ this.panStatus.BackColor = System.Drawing.Color.Transparent;
+ this.panStatus.Controls.Add(this.labStatusText);
+ this.panStatus.Controls.Add(this.picIconStatus);
+ this.panStatus.Controls.Add(this.labStatusSelected);
+ this.panStatus.Location = new System.Drawing.Point(101, 0);
+ this.panStatus.MatrixRound = 8;
+ this.panStatus.Name = "panStatus";
+ this.panStatus.Size = new System.Drawing.Size(109, 50);
+ this.panStatus.TabIndex = 1;
+ this.panStatus.Click += new System.EventHandler(this.panStatus_Click);
+ this.panStatus.MouseLeave += new System.EventHandler(this.panStatus_MouseLeave);
+ this.panStatus.MouseHover += new System.EventHandler(this.panStatus_MouseHover);
+ //
+ // labStatusText
+ //
+ this.labStatusText.BackColor = System.Drawing.Color.Transparent;
+ this.labStatusText.Cursor = System.Windows.Forms.Cursors.Hand;
+ this.labStatusText.Font = new System.Drawing.Font("微软雅黑", 16F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Pixel, ((byte)(134)));
+ this.labStatusText.ForeColor = System.Drawing.SystemColors.ControlText;
+ this.labStatusText.Location = new System.Drawing.Point(30, 14);
+ this.labStatusText.Margin = new System.Windows.Forms.Padding(0);
+ this.labStatusText.Name = "labStatusText";
+ this.labStatusText.Size = new System.Drawing.Size(74, 20);
+ this.labStatusText.TabIndex = 2;
+ this.labStatusText.Text = "基准状态";
+ this.labStatusText.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
+ this.labStatusText.Click += new System.EventHandler(this.panStatus_Click);
+ this.labStatusText.MouseLeave += new System.EventHandler(this.panStatus_MouseLeave);
+ this.labStatusText.MouseHover += new System.EventHandler(this.panStatus_MouseHover);
+ //
+ // picIconStatus
+ //
+ this.picIconStatus.BackgroundImage = global::Casic.Birmm.RbFreqStandMeasure.Properties.Resources.icon_status;
+ this.picIconStatus.BackgroundImageLayout = System.Windows.Forms.ImageLayout.Zoom;
+ this.picIconStatus.Location = new System.Drawing.Point(10, 14);
+ this.picIconStatus.Name = "picIconStatus";
+ this.picIconStatus.Size = new System.Drawing.Size(20, 20);
+ this.picIconStatus.TabIndex = 1;
+ this.picIconStatus.TabStop = false;
+ this.picIconStatus.Click += new System.EventHandler(this.panStatus_Click);
+ this.picIconStatus.MouseLeave += new System.EventHandler(this.panStatus_MouseLeave);
+ this.picIconStatus.MouseHover += new System.EventHandler(this.panStatus_MouseHover);
+ //
+ // labStatusSelected
+ //
+ this.labStatusSelected.BackColor = System.Drawing.Color.Transparent;
+ this.labStatusSelected.Location = new System.Drawing.Point(10, 48);
+ this.labStatusSelected.Margin = new System.Windows.Forms.Padding(0);
+ this.labStatusSelected.Name = "labStatusSelected";
+ this.labStatusSelected.Size = new System.Drawing.Size(89, 2);
+ this.labStatusSelected.TabIndex = 0;
+ //
+ // panData
+ //
+ this.panData.Back = System.Drawing.Color.Empty;
+ this.panData.Controls.Add(this.labDataSelected);
+ this.panData.Controls.Add(this.labDataText);
+ this.panData.Controls.Add(this.picIconData);
+ this.panData.Location = new System.Drawing.Point(765, 0);
+ this.panData.MatrixRound = 8;
+ this.panData.Name = "panData";
+ this.panData.Size = new System.Drawing.Size(109, 50);
+ this.panData.TabIndex = 2;
+ this.panData.Click += new System.EventHandler(this.panData_Click);
+ this.panData.MouseLeave += new System.EventHandler(this.panData_MouseLeave);
+ this.panData.MouseHover += new System.EventHandler(this.panData_MouseHover);
+ //
+ // labDataSelected
+ //
+ this.labDataSelected.BackColor = System.Drawing.Color.Transparent;
+ this.labDataSelected.Location = new System.Drawing.Point(10, 48);
+ this.labDataSelected.Margin = new System.Windows.Forms.Padding(0);
+ this.labDataSelected.Name = "labDataSelected";
+ this.labDataSelected.Size = new System.Drawing.Size(89, 2);
+ this.labDataSelected.TabIndex = 3;
+ //
+ // labDataText
+ //
+ this.labDataText.BackColor = System.Drawing.Color.Transparent;
+ this.labDataText.Cursor = System.Windows.Forms.Cursors.Hand;
+ this.labDataText.Font = new System.Drawing.Font("微软雅黑", 16F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Pixel, ((byte)(134)));
+ this.labDataText.ForeColor = System.Drawing.SystemColors.ControlText;
+ this.labDataText.Location = new System.Drawing.Point(30, 14);
+ this.labDataText.Margin = new System.Windows.Forms.Padding(0);
+ this.labDataText.Name = "labDataText";
+ this.labDataText.Size = new System.Drawing.Size(74, 20);
+ this.labDataText.TabIndex = 2;
+ this.labDataText.Text = "数据管理";
+ this.labDataText.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
+ this.labDataText.Click += new System.EventHandler(this.panData_Click);
+ this.labDataText.MouseLeave += new System.EventHandler(this.panData_MouseLeave);
+ this.labDataText.MouseHover += new System.EventHandler(this.panData_MouseHover);
+ //
+ // picIconData
+ //
+ this.picIconData.BackColor = System.Drawing.Color.Transparent;
+ this.picIconData.BackgroundImage = global::Casic.Birmm.RbFreqStandMeasure.Properties.Resources.icon_data;
+ this.picIconData.BackgroundImageLayout = System.Windows.Forms.ImageLayout.Zoom;
+ this.picIconData.Location = new System.Drawing.Point(10, 14);
+ this.picIconData.Name = "picIconData";
+ this.picIconData.Size = new System.Drawing.Size(20, 20);
+ this.picIconData.TabIndex = 1;
+ this.picIconData.TabStop = false;
+ this.picIconData.Click += new System.EventHandler(this.panData_Click);
+ this.picIconData.MouseLeave += new System.EventHandler(this.panData_MouseLeave);
+ this.picIconData.MouseHover += new System.EventHandler(this.panData_MouseHover);
+ //
+ // panHome
+ //
+ this.panHome.Back = System.Drawing.Color.Empty;
+ this.panHome.Controls.Add(this.labHomeText);
+ this.panHome.Controls.Add(this.picIconHome);
+ this.panHome.Controls.Add(this.labHomeSelected);
+ this.panHome.Cursor = System.Windows.Forms.Cursors.Hand;
+ this.panHome.Location = new System.Drawing.Point(20, 0);
+ this.panHome.MatrixRound = 8;
+ this.panHome.Name = "panHome";
+ this.panHome.Size = new System.Drawing.Size(75, 50);
+ this.panHome.TabIndex = 0;
+ this.panHome.Click += new System.EventHandler(this.panHome_Click);
+ this.panHome.MouseLeave += new System.EventHandler(this.panHome_MouseLeave);
+ this.panHome.MouseHover += new System.EventHandler(this.panHome_MouseHover);
+ //
+ // labHomeText
+ //
+ this.labHomeText.BackColor = System.Drawing.Color.Transparent;
+ this.labHomeText.Font = new System.Drawing.Font("微软雅黑", 16F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Pixel, ((byte)(134)));
+ this.labHomeText.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(18)))), ((int)(((byte)(150)))), ((int)(((byte)(219)))));
+ this.labHomeText.Location = new System.Drawing.Point(30, 14);
+ this.labHomeText.Margin = new System.Windows.Forms.Padding(0);
+ this.labHomeText.Name = "labHomeText";
+ this.labHomeText.Size = new System.Drawing.Size(42, 20);
+ this.labHomeText.TabIndex = 2;
+ this.labHomeText.Text = "首页";
+ this.labHomeText.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
+ this.labHomeText.Click += new System.EventHandler(this.panHome_Click);
+ this.labHomeText.MouseLeave += new System.EventHandler(this.panHome_MouseLeave);
+ this.labHomeText.MouseHover += new System.EventHandler(this.panHome_MouseHover);
+ //
+ // picIconHome
+ //
+ this.picIconHome.BackColor = System.Drawing.Color.Transparent;
+ this.picIconHome.BackgroundImage = global::Casic.Birmm.RbFreqStandMeasure.Properties.Resources.icon_home_selected;
+ this.picIconHome.BackgroundImageLayout = System.Windows.Forms.ImageLayout.Zoom;
+ this.picIconHome.Location = new System.Drawing.Point(10, 14);
+ this.picIconHome.Margin = new System.Windows.Forms.Padding(0);
+ this.picIconHome.Name = "picIconHome";
+ this.picIconHome.Size = new System.Drawing.Size(20, 20);
+ this.picIconHome.TabIndex = 1;
+ this.picIconHome.TabStop = false;
+ this.picIconHome.Click += new System.EventHandler(this.panHome_Click);
+ this.picIconHome.MouseLeave += new System.EventHandler(this.panHome_MouseLeave);
+ this.picIconHome.MouseHover += new System.EventHandler(this.panHome_MouseHover);
+ //
+ // labHomeSelected
+ //
+ this.labHomeSelected.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(18)))), ((int)(((byte)(150)))), ((int)(((byte)(219)))));
+ this.labHomeSelected.Location = new System.Drawing.Point(10, 48);
+ this.labHomeSelected.Name = "labHomeSelected";
+ this.labHomeSelected.Size = new System.Drawing.Size(55, 2);
+ this.labHomeSelected.TabIndex = 0;
+ //
+ // panMeasure
+ //
+ this.panMeasure.Back = System.Drawing.Color.Empty;
+ this.panMeasure.Controls.Add(this.labMeasureText);
+ this.panMeasure.Controls.Add(this.labMeasureSelected);
+ this.panMeasure.Controls.Add(this.picIconMeasure);
+ this.panMeasure.Location = new System.Drawing.Point(619, 0);
+ this.panMeasure.MatrixRound = 8;
+ this.panMeasure.Name = "panMeasure";
+ this.panMeasure.Size = new System.Drawing.Size(141, 50);
+ this.panMeasure.TabIndex = 2;
+ this.panMeasure.Click += new System.EventHandler(this.panMeasure_Click);
+ this.panMeasure.MouseLeave += new System.EventHandler(this.panMeasure_MouseLeave);
+ this.panMeasure.MouseHover += new System.EventHandler(this.panMeasure_MouseHover);
+ //
+ // labMeasureText
+ //
+ this.labMeasureText.BackColor = System.Drawing.Color.Transparent;
+ this.labMeasureText.Cursor = System.Windows.Forms.Cursors.Hand;
+ this.labMeasureText.Font = new System.Drawing.Font("微软雅黑", 16F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Pixel, ((byte)(134)));
+ this.labMeasureText.ForeColor = System.Drawing.SystemColors.ControlText;
+ this.labMeasureText.Location = new System.Drawing.Point(30, 14);
+ this.labMeasureText.Margin = new System.Windows.Forms.Padding(0);
+ this.labMeasureText.Name = "labMeasureText";
+ this.labMeasureText.Size = new System.Drawing.Size(106, 20);
+ this.labMeasureText.TabIndex = 2;
+ this.labMeasureText.Text = "计量信息管理";
+ this.labMeasureText.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
+ this.labMeasureText.Click += new System.EventHandler(this.panMeasure_Click);
+ this.labMeasureText.MouseLeave += new System.EventHandler(this.panMeasure_MouseLeave);
+ this.labMeasureText.MouseHover += new System.EventHandler(this.panMeasure_MouseHover);
+ //
+ // labMeasureSelected
+ //
+ this.labMeasureSelected.BackColor = System.Drawing.Color.Transparent;
+ this.labMeasureSelected.Location = new System.Drawing.Point(10, 48);
+ this.labMeasureSelected.Margin = new System.Windows.Forms.Padding(0);
+ this.labMeasureSelected.Name = "labMeasureSelected";
+ this.labMeasureSelected.Size = new System.Drawing.Size(121, 2);
+ this.labMeasureSelected.TabIndex = 3;
+ //
+ // picIconMeasure
+ //
+ this.picIconMeasure.BackColor = System.Drawing.Color.Transparent;
+ this.picIconMeasure.BackgroundImage = global::Casic.Birmm.RbFreqStandMeasure.Properties.Resources.icon_measure;
+ this.picIconMeasure.BackgroundImageLayout = System.Windows.Forms.ImageLayout.Zoom;
+ this.picIconMeasure.Location = new System.Drawing.Point(10, 14);
+ this.picIconMeasure.Name = "picIconMeasure";
+ this.picIconMeasure.Size = new System.Drawing.Size(20, 20);
+ this.picIconMeasure.TabIndex = 1;
+ this.picIconMeasure.TabStop = false;
+ this.picIconMeasure.Click += new System.EventHandler(this.panMeasure_Click);
+ this.picIconMeasure.MouseLeave += new System.EventHandler(this.panMeasure_MouseLeave);
+ this.picIconMeasure.MouseHover += new System.EventHandler(this.panMeasure_MouseHover);
+ //
+ // panCounter
+ //
+ this.panCounter.Back = System.Drawing.Color.Empty;
+ this.panCounter.Controls.Add(this.labCounterSelected);
+ this.panCounter.Controls.Add(this.labCounterText);
+ this.panCounter.Controls.Add(this.picIconCounter);
+ this.panCounter.Location = new System.Drawing.Point(360, 0);
+ this.panCounter.MatrixRound = 8;
+ this.panCounter.Name = "panCounter";
+ this.panCounter.Size = new System.Drawing.Size(254, 50);
+ this.panCounter.TabIndex = 2;
+ this.panCounter.Click += new System.EventHandler(this.panCounter_Click);
+ this.panCounter.MouseLeave += new System.EventHandler(this.panCounter_MouseLeave);
+ this.panCounter.MouseHover += new System.EventHandler(this.panCounter_MouseHover);
+ //
+ // labCounterSelected
+ //
+ this.labCounterSelected.BackColor = System.Drawing.Color.Transparent;
+ this.labCounterSelected.Location = new System.Drawing.Point(10, 48);
+ this.labCounterSelected.Margin = new System.Windows.Forms.Padding(0);
+ this.labCounterSelected.Name = "labCounterSelected";
+ this.labCounterSelected.Size = new System.Drawing.Size(233, 2);
+ this.labCounterSelected.TabIndex = 4;
+ //
+ // labCounterText
+ //
+ this.labCounterText.BackColor = System.Drawing.Color.Transparent;
+ this.labCounterText.Cursor = System.Windows.Forms.Cursors.Hand;
+ this.labCounterText.Font = new System.Drawing.Font("微软雅黑", 16F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Pixel, ((byte)(134)));
+ this.labCounterText.ForeColor = System.Drawing.SystemColors.ControlText;
+ this.labCounterText.Location = new System.Drawing.Point(30, 14);
+ this.labCounterText.Margin = new System.Windows.Forms.Padding(0);
+ this.labCounterText.Name = "labCounterText";
+ this.labCounterText.Size = new System.Drawing.Size(218, 20);
+ this.labCounterText.TabIndex = 2;
+ this.labCounterText.Text = "频率计数器范围及灵敏度测量";
+ this.labCounterText.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
+ this.labCounterText.Click += new System.EventHandler(this.panCounter_Click);
+ this.labCounterText.MouseLeave += new System.EventHandler(this.panCounter_MouseLeave);
+ this.labCounterText.MouseHover += new System.EventHandler(this.panCounter_MouseHover);
+ //
+ // picIconCounter
+ //
+ this.picIconCounter.BackColor = System.Drawing.Color.Transparent;
+ this.picIconCounter.BackgroundImage = global::Casic.Birmm.RbFreqStandMeasure.Properties.Resources.icon_counter;
+ this.picIconCounter.BackgroundImageLayout = System.Windows.Forms.ImageLayout.Zoom;
+ this.picIconCounter.Location = new System.Drawing.Point(10, 14);
+ this.picIconCounter.Name = "picIconCounter";
+ this.picIconCounter.Size = new System.Drawing.Size(20, 20);
+ this.picIconCounter.TabIndex = 1;
+ this.picIconCounter.TabStop = false;
+ this.picIconCounter.Click += new System.EventHandler(this.panCounter_Click);
+ this.picIconCounter.MouseLeave += new System.EventHandler(this.panCounter_MouseLeave);
+ this.picIconCounter.MouseHover += new System.EventHandler(this.panCounter_MouseHover);
+ //
+ // panelMain
+ //
+ this.panelMain.Location = new System.Drawing.Point(0, 114);
+ this.panelMain.Name = "panelMain";
+ this.panelMain.Size = new System.Drawing.Size(1024, 654);
+ this.panelMain.TabIndex = 2;
+ //
// RbFreqStdMeas
//
this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 12F);
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
this.ClientSize = new System.Drawing.Size(1024, 768);
+ this.Controls.Add(this.panelMain);
this.Controls.Add(this.panMenu);
this.Controls.Add(this.penBanner);
this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.None;
@@ -221,11 +560,21 @@
this.Text = "RbFreqStdMeas";
this.Load += new System.EventHandler(this.RbFreqStdMeas_Load);
this.panMenu.ResumeLayout(false);
+ this.penBanner.ResumeLayout(false);
+ this.panDev.ResumeLayout(false);
+ ((System.ComponentModel.ISupportInitialize)(this.picIconDev)).EndInit();
+ this.panSetting.ResumeLayout(false);
+ ((System.ComponentModel.ISupportInitialize)(this.picIconSetting)).EndInit();
this.panStatus.ResumeLayout(false);
((System.ComponentModel.ISupportInitialize)(this.picIconStatus)).EndInit();
+ this.panData.ResumeLayout(false);
+ ((System.ComponentModel.ISupportInitialize)(this.picIconData)).EndInit();
this.panHome.ResumeLayout(false);
((System.ComponentModel.ISupportInitialize)(this.picIconHome)).EndInit();
- this.penBanner.ResumeLayout(false);
+ this.panMeasure.ResumeLayout(false);
+ ((System.ComponentModel.ISupportInitialize)(this.picIconMeasure)).EndInit();
+ this.panCounter.ResumeLayout(false);
+ ((System.ComponentModel.ISupportInitialize)(this.picIconCounter)).EndInit();
this.ResumeLayout(false);
}
@@ -244,5 +593,27 @@
private RoundPanel panStatus;
private RoundPanel panHome;
private System.Windows.Forms.Label labStatusSelected;
+ private RoundPanel panDev;
+ private System.Windows.Forms.PictureBox picIconDev;
+ private System.Windows.Forms.Label labDevText;
+ private System.Windows.Forms.Label labMeasureSelected;
+ private RoundPanel panCounter;
+ private System.Windows.Forms.Label labCounterText;
+ private System.Windows.Forms.PictureBox picIconCounter;
+ private RoundPanel panMeasure;
+ private System.Windows.Forms.Label labMeasureText;
+ private System.Windows.Forms.PictureBox picIconMeasure;
+ private RoundPanel panData;
+ private System.Windows.Forms.Label labDataText;
+ private System.Windows.Forms.PictureBox picIconData;
+ private RoundPanel panSetting;
+ private System.Windows.Forms.Label labSettingText;
+ private System.Windows.Forms.PictureBox picIconSetting;
+ private System.Windows.Forms.Label labCounterSelected;
+ private System.Windows.Forms.Label labDevSelected;
+ private System.Windows.Forms.Label labDataSelected;
+ private System.Windows.Forms.Label labSettingSelected;
+ private System.Windows.Forms.Button btnMinSys;
+ private System.Windows.Forms.Panel panelMain;
}
}
\ No newline at end of file
diff --git a/RbFreqStandMeasure/RbFreqStdMeas.cs b/RbFreqStandMeasure/RbFreqStdMeas.cs
index 3858ddb..af980d7 100644
--- a/RbFreqStandMeasure/RbFreqStdMeas.cs
+++ b/RbFreqStandMeasure/RbFreqStdMeas.cs
@@ -1,13 +1,9 @@
-using Casic.Birmm.RbFreqStandMeasure.Properties;
+using Casic.Birmm.RbFreqStandMeasure.info;
+using Casic.Birmm.RbFreqStandMeasure.Properties;
+using Casic.Birmm.RbFreqStandMeasure.setting;
using System;
-using System.Collections.Generic;
-using System.ComponentModel;
-using System.Data;
using System.Drawing;
-using System.Linq;
-using System.Resources;
using System.Runtime.InteropServices;
-using System.Text;
using System.Windows.Forms;
namespace Casic.Birmm.RbFreqStandMeasure
@@ -15,7 +11,7 @@
public partial class RbFreqStdMeas : Form
{
- #region 无边框拖动效果
+ #region 无边框拖动效果/最小化窗口/关闭窗口
[DllImport("user32.dll")]//拖动无窗体的控件
public static extern bool ReleaseCapture();
[DllImport("user32.dll")]
@@ -30,9 +26,29 @@
ReleaseCapture();
SendMessage(this.Handle, WM_SYSCOMMAND, SC_MOVE + HTCAPTION, 0);
}
+ private void btnExitSys_Click(object sender, EventArgs e)
+ {
+ Application.Exit();
+ }
+ private void btnMinSys_Click(object sender, EventArgs e)
+ {
+ this.WindowState = FormWindowState.Minimized;
+ }
+ private void btnExitSys_MouseHover(object sender, EventArgs e)
+ {
+ ToolTip p = new ToolTip();
+ p.ShowAlways = true;
+ p.SetToolTip(this.btnExitSys, "退出");
+ }
+ private void btnMinSys_MouseHover(object sender, EventArgs e)
+ {
+ ToolTip p = new ToolTip();
+ p.ShowAlways = true;
+ p.SetToolTip(this.btnMinSys, "最小化");
+ }
#endregion
- private bool[] menuSelected = { true, false };
+ private bool[] menuSelected = { true, false, false, false, false, false, false };
// 按钮图标
private PictureBox[] menuPics;
// 按钮图标的资源名称(选中的资源名称在后面加上 _selected)
@@ -57,7 +73,7 @@
// 将当前按钮的效果设置为默认未选中
this.menuPics[index].BackgroundImage = (Bitmap)Resources.ResourceManager.GetObject(this.menuIconResources[index], null);
- this.menuLabels[index].ForeColor = ColorTranslator.FromHtml("#2C2C2C");
+ this.menuLabels[index].ForeColor = ColorTranslator.FromHtml("#333333");
this.menuUnderlines[index].BackColor = Color.Transparent;
}
@@ -79,13 +95,15 @@
LeaveHome();
// 重新设置所有按钮的状态
- this.menuSelected = new bool[] { true, false };
+ this.menuSelected = new bool[] { true, false, false, false, false, false, false };
// 将新选中的按钮设置为选中
this.picIconHome.BackgroundImage = (Bitmap)Resources.ResourceManager.GetObject("icon_home_selected", null);
- this.labHomeText.ForeColor = ColorTranslator.FromHtml("#1296db");
- this.labHomeSelected.BackColor = ColorTranslator.FromHtml("#1296db");
+ this.labHomeText.ForeColor = ColorTranslator.FromHtml("#3f84d7");
+ this.labHomeSelected.BackColor = ColorTranslator.FromHtml("#3f84d7");
+ // 切换至首页
+ switchMainPanel(0);
}
#endregion
@@ -107,12 +125,163 @@
LeaveStatus();
// 重新设置所有按钮的状态
- this.menuSelected = new bool[] { false, true };
+ this.menuSelected = new bool[] { false, true, false, false, false, false, false };
// 将新选中的按钮设置为选中
this.picIconStatus.BackgroundImage = (Bitmap) Resources.ResourceManager.GetObject("icon_status_selected", null);
- this.labStatusText.ForeColor = ColorTranslator.FromHtml("#1296db");
- this.labStatusSelected.BackColor = ColorTranslator.FromHtml("#1296db");
+ this.labStatusText.ForeColor = ColorTranslator.FromHtml("#3f84d7");
+ this.labStatusSelected.BackColor = ColorTranslator.FromHtml("#3f84d7");
+
+ // 切换到基准状态页面
+ switchMainPanel(1);
+ }
+ #endregion
+
+ #region 送检仪器按钮点击、移入/移出效果
+ private void HoverDev()
+ {
+ panDev.Back = ColorTranslator.FromHtml("#56a3f2");
+ }
+ private void LeaveDev()
+ {
+ panDev.Back = Color.Transparent;
+ }
+ private void SelectDev()
+ {
+ // 移除所有按钮的选中样式
+ this.ClearAllMenuSelected();
+
+ // 鼠标移入效果去掉
+ LeaveDev();
+
+ // 重新设置所有按钮的状态
+ this.menuSelected = new bool[] { false, false, true, false, false ,false ,false };
+
+ // 将新选中的按钮设置为选中
+ this.picIconDev.BackgroundImage = (Bitmap)Resources.ResourceManager.GetObject("icon_dev_selected", null);
+ this.labDevText.ForeColor = ColorTranslator.FromHtml("#3f84d7");
+ this.labDevSelected.BackColor = ColorTranslator.FromHtml("#3f84d7");
+
+ // 切换至待检仪器管理
+ switchMainPanel(2);
+ }
+ #endregion
+
+ #region 频率计数器测量点击、移入/移出效果
+ private void HoverCounter()
+ {
+ panCounter.Back = ColorTranslator.FromHtml("#56a3f2");
+ }
+ private void LeaveCounter()
+ {
+ panCounter.Back = Color.Transparent;
+ }
+ private void SelectCounter()
+ {
+ // 移除所有按钮的选中样式
+ this.ClearAllMenuSelected();
+
+ // 鼠标移入效果去掉
+ LeaveCounter();
+
+ // 重新设置所有按钮的状态
+ this.menuSelected = new bool[] { false, false, false, true, false, false, false };
+
+ // 将新选中的按钮设置为选中
+ this.picIconCounter.BackgroundImage = (Bitmap)Resources.ResourceManager.GetObject("icon_counter_selected", null);
+ this.labCounterText.ForeColor = ColorTranslator.FromHtml("#3f84d7");
+ this.labCounterSelected.BackColor = ColorTranslator.FromHtml("#3f84d7");
+ }
+ #endregion
+
+ #region 计量管理点击、移入/移出效果
+ private void HoverMeasure()
+ {
+ panMeasure.Back = ColorTranslator.FromHtml("#56a3f2");
+ }
+ private void LeaveMeasure()
+ {
+ panMeasure.Back = Color.Transparent;
+ }
+ private void SelectMeasure()
+ {
+ // 移除所有按钮的选中样式
+ this.ClearAllMenuSelected();
+
+ // 鼠标移入效果去掉
+ LeaveMeasure();
+
+ // 重新设置所有按钮的状态
+ this.menuSelected = new bool[] { false, false, false, false, true, false, false };
+
+ // 将新选中的按钮设置为选中
+ this.picIconMeasure.BackgroundImage = (Bitmap)Resources.ResourceManager.GetObject("icon_measure_selected", null);
+ this.labMeasureText.ForeColor = ColorTranslator.FromHtml("#3f84d7");
+ this.labMeasureSelected.BackColor = ColorTranslator.FromHtml("#3f84d7");
+
+ // 切换至计量信息管理
+ switchMainPanel(4);
+ }
+ #endregion
+
+ #region 数据管理点击、移入/移出效果
+ private void HoverData()
+ {
+ panData.Back = ColorTranslator.FromHtml("#56a3f2");
+ }
+ private void LeaveData()
+ {
+ panData.Back = Color.Transparent;
+ }
+ private void SelectData()
+ {
+ // 移除所有按钮的选中样式
+ this.ClearAllMenuSelected();
+
+ // 鼠标移入效果去掉
+ LeaveData();
+
+ // 重新设置所有按钮的状态
+ this.menuSelected = new bool[] { false, false, false, false, false, true, false };
+
+ // 将新选中的按钮设置为选中
+ this.picIconData.BackgroundImage = (Bitmap)Resources.ResourceManager.GetObject("icon_data_selected", null);
+ this.labDataText.ForeColor = ColorTranslator.FromHtml("#3f84d7");
+ this.labDataSelected.BackColor = ColorTranslator.FromHtml("#3f84d7");
+
+ // 弹出对话框进行数据备份与还原操作
+ DataBackupDlg dataDlg = new DataBackupDlg();
+ dataDlg.ShowDialog();
+ }
+ #endregion
+
+ #region 系统管理点击、移入/移出效果
+ private void HoverSetting()
+ {
+ panSetting.Back = ColorTranslator.FromHtml("#56a3f2");
+ }
+ private void LeaveSetting()
+ {
+ panSetting.Back = Color.Transparent;
+ }
+ private void SelectSetting()
+ {
+ // 移除所有按钮的选中样式
+ this.ClearAllMenuSelected();
+
+ // 鼠标移入效果去掉
+ LeaveSetting();
+
+ // 重新设置所有按钮的状态
+ this.menuSelected = new bool[] { false, false, false, false, false, false, true };
+
+ // 将新选中的按钮设置为选中
+ this.picIconSetting.BackgroundImage = (Bitmap)Resources.ResourceManager.GetObject("icon_setting_selected", null);
+ this.labSettingText.ForeColor = ColorTranslator.FromHtml("#3f84d7");
+ this.labSettingSelected.BackColor = ColorTranslator.FromHtml("#3f84d7");
+
+ // 切换到设置的界面
+ switchMainPanel(6);
}
#endregion
@@ -123,22 +292,13 @@
private void RbFreqStdMeas_Load(object sender, EventArgs e)
{
- this.menuPics = new PictureBox[] { this.picIconHome, this.picIconStatus };
- this.menuLabels = new Label[] { this.labHomeText, this.labStatusText };
- this.menuUnderlines = new Label[] { this.labHomeSelected, this.labStatusSelected };
- this.menuIconResources = new string[] { "icon_home", "icon_status" };
- }
+ this.menuPics = new PictureBox[] { this.picIconHome, this.picIconStatus, this.picIconDev, this.picIconCounter, this.picIconMeasure, this.picIconData, this.picIconSetting };
+ this.menuLabels = new Label[] { this.labHomeText, this.labStatusText, this.labDevText, this.labCounterText, this.labMeasureText, this.labDataText, this.labSettingText };
+ this.menuUnderlines = new Label[] { this.labHomeSelected, this.labStatusSelected, this.labDevSelected, this.labCounterSelected, this.labMeasureSelected, this.labDataSelected, this.labSettingSelected };
+ this.menuIconResources = new string[] { "icon_home", "icon_status", "icon_dev", "icon_counter", "icon_measure", "icon_data", "icon_setting" };
- private void btnExitSys_Click(object sender, EventArgs e)
- {
- Application.Exit();
- }
-
- private void btnExitSys_MouseHover(object sender, EventArgs e)
- {
- ToolTip p = new ToolTip();
- p.ShowAlways = true;
- p.SetToolTip(this.btnExitSys, "退出");
+ // 加载首页的内容
+ switchMainPanel(0);
}
private void panHome_Click(object sender, EventArgs e)
@@ -191,5 +351,169 @@
LeaveStatus();
}
}
+
+ private void panDev_Click(object sender, EventArgs e)
+ {
+ if (this.menuSelected[2] == false)
+ {
+ SelectDev();
+ }
+ }
+
+ private void panDev_MouseHover(object sender, EventArgs e)
+ {
+ if (this.menuSelected[2] == false)
+ {
+ HoverDev();
+ }
+ }
+
+ private void panDev_MouseLeave(object sender, EventArgs e)
+ {
+ if (this.menuSelected[2] == false)
+ {
+ LeaveDev();
+ }
+ }
+
+ private void panCounter_Click(object sender, EventArgs e)
+ {
+ if (this.menuSelected[3] == false)
+ {
+ SelectCounter();
+ }
+ }
+
+ private void panCounter_MouseHover(object sender, EventArgs e)
+ {
+ if (this.menuSelected[3] == false)
+ {
+ HoverCounter();
+ }
+ }
+
+ private void panCounter_MouseLeave(object sender, EventArgs e)
+ {
+ if (this.menuSelected[3] == false)
+ {
+ LeaveCounter();
+ }
+ }
+
+ private void panMeasure_Click(object sender, EventArgs e)
+ {
+ if (this.menuSelected[4] == false)
+ {
+ SelectMeasure();
+ }
+ }
+
+ private void panMeasure_MouseHover(object sender, EventArgs e)
+ {
+ if (this.menuSelected[4] == false)
+ {
+ HoverMeasure();
+ }
+ }
+
+ private void panMeasure_MouseLeave(object sender, EventArgs e)
+ {
+ if (this.menuSelected[4] == false)
+ {
+ LeaveMeasure();
+ }
+ }
+
+ private void panData_Click(object sender, EventArgs e)
+ {
+ if (this.menuSelected[5] == false)
+ {
+ SelectData();
+ }
+ }
+
+ private void panData_MouseHover(object sender, EventArgs e)
+ {
+ if (this.menuSelected[5] == false)
+ {
+ HoverData();
+ }
+ }
+
+ private void panData_MouseLeave(object sender, EventArgs e)
+ {
+ if (this.menuSelected[5] == false)
+ {
+ LeaveData();
+ }
+ }
+
+ private void panSetting_Click(object sender, EventArgs e)
+ {
+ if (this.menuSelected[6] == false)
+ {
+ SelectSetting();
+ }
+ }
+
+ private void panSetting_MouseHover(object sender, EventArgs e)
+ {
+ if (this.menuSelected[6] == false)
+ {
+ HoverSetting();
+ }
+ }
+
+ private void panSetting_MouseLeave(object sender, EventArgs e)
+ {
+ if (this.menuSelected[6] == false)
+ {
+ LeaveSetting();
+ }
+ }
+
+ private void switchMainPanel(int index)
+ {
+ this.panelMain.Controls.Clear();
+
+ switch (index)
+ {
+ case 0: // 首页
+ HomeCtrlForm home = new HomeCtrlForm();
+ home.Show();
+ this.panelMain.Controls.Add(home);
+ break;
+
+ case 1: // 基准状态
+ StatusCtrlForm statusForm = new StatusCtrlForm();
+ statusForm.Show();
+ this.panelMain.Controls.Add(statusForm);
+ break;
+
+ case 2: // 待检设备
+ InfoCtrlForm infoForm = new InfoCtrlForm();
+ infoForm.Show();
+ this.panelMain.Controls.Add(infoForm);
+ break;
+
+ case 3: // 频率计数器范围
+ break;
+
+ case 4: // 计量信息
+ DevTestedCtrlForm tested = new DevTestedCtrlForm();
+ tested.Show();
+ this.panelMain.Controls.Add(tested);
+ break;
+
+ case 6: // 设置
+ SettingCtrlForm settingForm = new SettingCtrlForm();
+ settingForm.Show();
+ this.panelMain.Controls.Add(settingForm);
+ break;
+
+ default:
+ break;
+ }
+ }
}
}
\ No newline at end of file
diff --git a/RbFreqStandMeasure/StatusCtrlForm.Designer.cs b/RbFreqStandMeasure/StatusCtrlForm.Designer.cs
index bf5071a..b4151fd 100644
--- a/RbFreqStandMeasure/StatusCtrlForm.Designer.cs
+++ b/RbFreqStandMeasure/StatusCtrlForm.Designer.cs
@@ -31,21 +31,34 @@
{
this.panelSite = new System.Windows.Forms.Panel();
this.label5 = new System.Windows.Forms.Label();
- this.panelStatus = new System.Windows.Forms.Panel();
+ this.panel3 = new System.Windows.Forms.Panel();
+ this.label8 = new System.Windows.Forms.Label();
+ this.label13 = new System.Windows.Forms.Label();
+ this.label12 = new System.Windows.Forms.Label();
+ this.label11 = new System.Windows.Forms.Label();
+ this.label9 = new System.Windows.Forms.Label();
+ this.label10 = new System.Windows.Forms.Label();
+ this.panel2 = new System.Windows.Forms.Panel();
this.label4 = new System.Windows.Forms.Label();
+ this.label7 = new System.Windows.Forms.Label();
+ this.label6 = new System.Windows.Forms.Label();
+ this.label1 = new System.Windows.Forms.Label();
+ this.panel1 = new System.Windows.Forms.Panel();
this.label3 = new System.Windows.Forms.Label();
this.label2 = new System.Windows.Forms.Label();
- this.label1 = new System.Windows.Forms.Label();
+ this.label14 = new System.Windows.Forms.Label();
this.panelSite.SuspendLayout();
- this.panelStatus.SuspendLayout();
+ this.panel3.SuspendLayout();
+ this.panel2.SuspendLayout();
+ this.panel1.SuspendLayout();
this.SuspendLayout();
//
// panelSite
//
this.panelSite.Controls.Add(this.label5);
- this.panelSite.Location = new System.Drawing.Point(200, 0);
+ this.panelSite.Location = new System.Drawing.Point(232, 0);
this.panelSite.Name = "panelSite";
- this.panelSite.Size = new System.Drawing.Size(800, 640);
+ this.panelSite.Size = new System.Drawing.Size(773, 640);
this.panelSite.TabIndex = 3;
//
// label5
@@ -57,67 +70,208 @@
this.label5.TabIndex = 0;
this.label5.Text = "卫星位置图";
//
- // panelStatus
+ // panel3
//
- this.panelStatus.BackColor = System.Drawing.SystemColors.Window;
- this.panelStatus.Controls.Add(this.label4);
- this.panelStatus.Controls.Add(this.label3);
- this.panelStatus.Controls.Add(this.label2);
- this.panelStatus.Controls.Add(this.label1);
- this.panelStatus.Location = new System.Drawing.Point(0, 0);
- this.panelStatus.Name = "panelStatus";
- this.panelStatus.Size = new System.Drawing.Size(200, 640);
- this.panelStatus.TabIndex = 2;
+ this.panel3.BackgroundImage = global::Casic.Birmm.RbFreqStandMeasure.Properties.Resources.bg_status_location;
+ this.panel3.Controls.Add(this.label8);
+ this.panel3.Controls.Add(this.label13);
+ this.panel3.Controls.Add(this.label12);
+ this.panel3.Controls.Add(this.label11);
+ this.panel3.Controls.Add(this.label9);
+ this.panel3.Controls.Add(this.label10);
+ this.panel3.Location = new System.Drawing.Point(6, 360);
+ this.panel3.Name = "panel3";
+ this.panel3.Size = new System.Drawing.Size(224, 293);
+ this.panel3.TabIndex = 6;
+ //
+ // label8
+ //
+ this.label8.BackColor = System.Drawing.Color.Transparent;
+ this.label8.Font = new System.Drawing.Font("微软雅黑", 14F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Pixel, ((byte)(134)));
+ this.label8.Location = new System.Drawing.Point(0, 20);
+ this.label8.Name = "label8";
+ this.label8.Size = new System.Drawing.Size(224, 25);
+ this.label8.TabIndex = 0;
+ this.label8.Text = "位置信息";
+ this.label8.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
+ //
+ // label13
+ //
+ this.label13.BackColor = System.Drawing.Color.Transparent;
+ this.label13.Font = new System.Drawing.Font("微软雅黑", 14F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Pixel, ((byte)(134)));
+ this.label13.Location = new System.Drawing.Point(0, 220);
+ this.label13.Margin = new System.Windows.Forms.Padding(0);
+ this.label13.Name = "label13";
+ this.label13.Size = new System.Drawing.Size(75, 25);
+ this.label13.TabIndex = 1;
+ this.label13.Text = "Z";
+ this.label13.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
+ //
+ // label12
+ //
+ this.label12.BackColor = System.Drawing.Color.Transparent;
+ this.label12.Font = new System.Drawing.Font("微软雅黑", 14F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Pixel, ((byte)(134)));
+ this.label12.Location = new System.Drawing.Point(0, 180);
+ this.label12.Margin = new System.Windows.Forms.Padding(0);
+ this.label12.Name = "label12";
+ this.label12.Size = new System.Drawing.Size(75, 25);
+ this.label12.TabIndex = 1;
+ this.label12.Text = "Y";
+ this.label12.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
+ //
+ // label11
+ //
+ this.label11.BackColor = System.Drawing.Color.Transparent;
+ this.label11.Font = new System.Drawing.Font("微软雅黑", 14F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Pixel, ((byte)(134)));
+ this.label11.Location = new System.Drawing.Point(0, 140);
+ this.label11.Margin = new System.Windows.Forms.Padding(0);
+ this.label11.Name = "label11";
+ this.label11.Size = new System.Drawing.Size(75, 25);
+ this.label11.TabIndex = 1;
+ this.label11.Text = "X";
+ this.label11.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
+ //
+ // label9
+ //
+ this.label9.BackColor = System.Drawing.Color.Transparent;
+ this.label9.Font = new System.Drawing.Font("微软雅黑", 14F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Pixel, ((byte)(134)));
+ this.label9.Location = new System.Drawing.Point(0, 60);
+ this.label9.Name = "label9";
+ this.label9.Size = new System.Drawing.Size(75, 25);
+ this.label9.TabIndex = 1;
+ this.label9.Text = "经度";
+ this.label9.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
+ //
+ // label10
+ //
+ this.label10.BackColor = System.Drawing.Color.Transparent;
+ this.label10.Font = new System.Drawing.Font("微软雅黑", 14F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Pixel, ((byte)(134)));
+ this.label10.Location = new System.Drawing.Point(0, 100);
+ this.label10.Margin = new System.Windows.Forms.Padding(0);
+ this.label10.Name = "label10";
+ this.label10.Size = new System.Drawing.Size(75, 25);
+ this.label10.TabIndex = 1;
+ this.label10.Text = "纬度";
+ this.label10.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
+ //
+ // panel2
+ //
+ this.panel2.BackgroundImage = global::Casic.Birmm.RbFreqStandMeasure.Properties.Resources.bg_status_time;
+ this.panel2.Controls.Add(this.label4);
+ this.panel2.Controls.Add(this.label7);
+ this.panel2.Controls.Add(this.label6);
+ this.panel2.Controls.Add(this.label1);
+ this.panel2.Location = new System.Drawing.Point(6, 160);
+ this.panel2.Name = "panel2";
+ this.panel2.Size = new System.Drawing.Size(224, 200);
+ this.panel2.TabIndex = 5;
//
// label4
//
- this.label4.AutoSize = true;
- this.label4.Location = new System.Drawing.Point(59, 185);
+ this.label4.BackColor = System.Drawing.Color.Transparent;
+ this.label4.Font = new System.Drawing.Font("微软雅黑", 14F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Pixel, ((byte)(134)));
+ this.label4.Location = new System.Drawing.Point(0, 20);
this.label4.Name = "label4";
- this.label4.Size = new System.Drawing.Size(53, 12);
+ this.label4.Size = new System.Drawing.Size(224, 25);
this.label4.TabIndex = 0;
- this.label4.Text = "事件信息";
+ this.label4.Text = "时间信息";
+ this.label4.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
//
- // label3
+ // label7
//
- this.label3.AutoSize = true;
- this.label3.Location = new System.Drawing.Point(59, 139);
- this.label3.Name = "label3";
- this.label3.Size = new System.Drawing.Size(53, 12);
- this.label3.TabIndex = 0;
- this.label3.Text = "位置信息";
+ this.label7.BackColor = System.Drawing.Color.Transparent;
+ this.label7.Font = new System.Drawing.Font("微软雅黑", 14F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Pixel, ((byte)(134)));
+ this.label7.Location = new System.Drawing.Point(0, 140);
+ this.label7.Margin = new System.Windows.Forms.Padding(0);
+ this.label7.Name = "label7";
+ this.label7.Size = new System.Drawing.Size(75, 25);
+ this.label7.TabIndex = 1;
+ this.label7.Text = "MJD";
+ this.label7.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
//
- // label2
+ // label6
//
- this.label2.AutoSize = true;
- this.label2.Location = new System.Drawing.Point(59, 98);
- this.label2.Name = "label2";
- this.label2.Size = new System.Drawing.Size(53, 12);
- this.label2.TabIndex = 0;
- this.label2.Text = "锁定状态";
+ this.label6.BackColor = System.Drawing.Color.Transparent;
+ this.label6.Font = new System.Drawing.Font("微软雅黑", 14F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Pixel, ((byte)(134)));
+ this.label6.Location = new System.Drawing.Point(0, 100);
+ this.label6.Name = "label6";
+ this.label6.Size = new System.Drawing.Size(75, 25);
+ this.label6.TabIndex = 1;
+ this.label6.Text = "时间";
+ this.label6.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
//
// label1
//
- this.label1.AutoSize = true;
- this.label1.Location = new System.Drawing.Point(33, 53);
+ this.label1.BackColor = System.Drawing.Color.Transparent;
+ this.label1.Font = new System.Drawing.Font("微软雅黑", 14F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Pixel, ((byte)(134)));
+ this.label1.Location = new System.Drawing.Point(0, 60);
this.label1.Name = "label1";
- this.label1.Size = new System.Drawing.Size(29, 12);
- this.label1.TabIndex = 0;
- this.label1.Text = "状态";
+ this.label1.Size = new System.Drawing.Size(75, 25);
+ this.label1.TabIndex = 1;
+ this.label1.Text = "日期";
+ this.label1.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
+ //
+ // panel1
+ //
+ this.panel1.BackgroundImage = global::Casic.Birmm.RbFreqStandMeasure.Properties.Resources.bg_status_base;
+ this.panel1.Controls.Add(this.label3);
+ this.panel1.Controls.Add(this.label2);
+ this.panel1.Controls.Add(this.label14);
+ this.panel1.Location = new System.Drawing.Point(6, 0);
+ this.panel1.Margin = new System.Windows.Forms.Padding(0);
+ this.panel1.Name = "panel1";
+ this.panel1.Size = new System.Drawing.Size(224, 160);
+ this.panel1.TabIndex = 4;
+ //
+ // label3
+ //
+ this.label3.BackColor = System.Drawing.Color.Transparent;
+ this.label3.Font = new System.Drawing.Font("微软雅黑", 14F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Pixel, ((byte)(134)));
+ this.label3.Location = new System.Drawing.Point(0, 100);
+ this.label3.Name = "label3";
+ this.label3.Size = new System.Drawing.Size(75, 25);
+ this.label3.TabIndex = 1;
+ this.label3.Text = "接收机";
+ this.label3.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
+ //
+ // label2
+ //
+ this.label2.BackColor = System.Drawing.Color.Transparent;
+ this.label2.Font = new System.Drawing.Font("微软雅黑", 14F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Pixel, ((byte)(134)));
+ this.label2.Location = new System.Drawing.Point(0, 60);
+ this.label2.Name = "label2";
+ this.label2.Size = new System.Drawing.Size(75, 25);
+ this.label2.TabIndex = 1;
+ this.label2.Text = "原子钟";
+ this.label2.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
+ //
+ // label14
+ //
+ this.label14.BackColor = System.Drawing.Color.Transparent;
+ this.label14.Font = new System.Drawing.Font("微软雅黑", 14F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Pixel, ((byte)(134)));
+ this.label14.Location = new System.Drawing.Point(0, 20);
+ this.label14.Name = "label14";
+ this.label14.Size = new System.Drawing.Size(224, 25);
+ this.label14.TabIndex = 0;
+ this.label14.Text = "基本信息";
+ this.label14.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
//
// StatusCtrlForm
//
this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 12F);
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
+ this.Controls.Add(this.panel3);
+ this.Controls.Add(this.panel2);
+ this.Controls.Add(this.panel1);
this.Controls.Add(this.panelSite);
- this.Controls.Add(this.panelStatus);
this.Margin = new System.Windows.Forms.Padding(10);
this.Name = "StatusCtrlForm";
- this.Size = new System.Drawing.Size(1000, 640);
+ this.Size = new System.Drawing.Size(1024, 654);
this.panelSite.ResumeLayout(false);
this.panelSite.PerformLayout();
- this.panelStatus.ResumeLayout(false);
- this.panelStatus.PerformLayout();
+ this.panel3.ResumeLayout(false);
+ this.panel2.ResumeLayout(false);
+ this.panel1.ResumeLayout(false);
this.ResumeLayout(false);
}
@@ -126,10 +280,21 @@
private System.Windows.Forms.Panel panelSite;
private System.Windows.Forms.Label label5;
- private System.Windows.Forms.Panel panelStatus;
+ private System.Windows.Forms.Panel panel3;
+ private System.Windows.Forms.Label label8;
+ private System.Windows.Forms.Label label13;
+ private System.Windows.Forms.Label label12;
+ private System.Windows.Forms.Label label11;
+ private System.Windows.Forms.Label label9;
+ private System.Windows.Forms.Label label10;
+ private System.Windows.Forms.Panel panel2;
private System.Windows.Forms.Label label4;
+ private System.Windows.Forms.Label label7;
+ private System.Windows.Forms.Label label6;
+ private System.Windows.Forms.Label label1;
+ private System.Windows.Forms.Panel panel1;
private System.Windows.Forms.Label label3;
private System.Windows.Forms.Label label2;
- private System.Windows.Forms.Label label1;
+ private System.Windows.Forms.Label label14;
}
}
diff --git a/RbFreqStandMeasure/res/images/bg_banner.png b/RbFreqStandMeasure/res/images/bg_banner.png
index d795b7d..3119070 100644
--- a/RbFreqStandMeasure/res/images/bg_banner.png
+++ b/RbFreqStandMeasure/res/images/bg_banner.png
Binary files differ
diff --git a/RbFreqStandMeasure/res/images/bg_dev_channel.png b/RbFreqStandMeasure/res/images/bg_dev_channel.png
new file mode 100644
index 0000000..7bac7ce
--- /dev/null
+++ b/RbFreqStandMeasure/res/images/bg_dev_channel.png
Binary files differ
diff --git a/RbFreqStandMeasure/res/images/bg_dev_tested.png b/RbFreqStandMeasure/res/images/bg_dev_tested.png
new file mode 100644
index 0000000..0b43ead
--- /dev/null
+++ b/RbFreqStandMeasure/res/images/bg_dev_tested.png
Binary files differ
diff --git a/RbFreqStandMeasure/res/images/bg_status_base.png b/RbFreqStandMeasure/res/images/bg_status_base.png
new file mode 100644
index 0000000..ef11397
--- /dev/null
+++ b/RbFreqStandMeasure/res/images/bg_status_base.png
Binary files differ
diff --git a/RbFreqStandMeasure/res/images/bg_status_location.png b/RbFreqStandMeasure/res/images/bg_status_location.png
new file mode 100644
index 0000000..64d28d5
--- /dev/null
+++ b/RbFreqStandMeasure/res/images/bg_status_location.png
Binary files differ
diff --git a/RbFreqStandMeasure/res/images/bg_status_time.png b/RbFreqStandMeasure/res/images/bg_status_time.png
new file mode 100644
index 0000000..eec981a
--- /dev/null
+++ b/RbFreqStandMeasure/res/images/bg_status_time.png
Binary files differ
diff --git a/RbFreqStandMeasure/res/images/icon_counter.png b/RbFreqStandMeasure/res/images/icon_counter.png
new file mode 100644
index 0000000..060c3d7
--- /dev/null
+++ b/RbFreqStandMeasure/res/images/icon_counter.png
Binary files differ
diff --git a/RbFreqStandMeasure/res/images/icon_counter_selected.png b/RbFreqStandMeasure/res/images/icon_counter_selected.png
new file mode 100644
index 0000000..45c7720
--- /dev/null
+++ b/RbFreqStandMeasure/res/images/icon_counter_selected.png
Binary files differ
diff --git a/RbFreqStandMeasure/res/images/icon_data.png b/RbFreqStandMeasure/res/images/icon_data.png
new file mode 100644
index 0000000..bf03575
--- /dev/null
+++ b/RbFreqStandMeasure/res/images/icon_data.png
Binary files differ
diff --git a/RbFreqStandMeasure/res/images/icon_data_selected.png b/RbFreqStandMeasure/res/images/icon_data_selected.png
new file mode 100644
index 0000000..a8aa441
--- /dev/null
+++ b/RbFreqStandMeasure/res/images/icon_data_selected.png
Binary files differ
diff --git a/RbFreqStandMeasure/res/images/icon_dev.png b/RbFreqStandMeasure/res/images/icon_dev.png
new file mode 100644
index 0000000..09bf380
--- /dev/null
+++ b/RbFreqStandMeasure/res/images/icon_dev.png
Binary files differ
diff --git a/RbFreqStandMeasure/res/images/icon_dev_selected.png b/RbFreqStandMeasure/res/images/icon_dev_selected.png
new file mode 100644
index 0000000..63a8b7c
--- /dev/null
+++ b/RbFreqStandMeasure/res/images/icon_dev_selected.png
Binary files differ
diff --git a/RbFreqStandMeasure/res/images/icon_exit.png b/RbFreqStandMeasure/res/images/icon_exit.png
index 997b9e9..a03e429 100644
--- a/RbFreqStandMeasure/res/images/icon_exit.png
+++ b/RbFreqStandMeasure/res/images/icon_exit.png
Binary files differ
diff --git a/RbFreqStandMeasure/res/images/icon_home.png b/RbFreqStandMeasure/res/images/icon_home.png
index f200f25..6409b89 100644
--- a/RbFreqStandMeasure/res/images/icon_home.png
+++ b/RbFreqStandMeasure/res/images/icon_home.png
Binary files differ
diff --git a/RbFreqStandMeasure/res/images/icon_home_selected.png b/RbFreqStandMeasure/res/images/icon_home_selected.png
index 7a4feb4..cfbf470 100644
--- a/RbFreqStandMeasure/res/images/icon_home_selected.png
+++ b/RbFreqStandMeasure/res/images/icon_home_selected.png
Binary files differ
diff --git a/RbFreqStandMeasure/res/images/icon_measure.png b/RbFreqStandMeasure/res/images/icon_measure.png
new file mode 100644
index 0000000..d9bd039
--- /dev/null
+++ b/RbFreqStandMeasure/res/images/icon_measure.png
Binary files differ
diff --git a/RbFreqStandMeasure/res/images/icon_measure_selected.png b/RbFreqStandMeasure/res/images/icon_measure_selected.png
new file mode 100644
index 0000000..e4186d0
--- /dev/null
+++ b/RbFreqStandMeasure/res/images/icon_measure_selected.png
Binary files differ
diff --git a/RbFreqStandMeasure/res/images/icon_min.png b/RbFreqStandMeasure/res/images/icon_min.png
new file mode 100644
index 0000000..af53b4d
--- /dev/null
+++ b/RbFreqStandMeasure/res/images/icon_min.png
Binary files differ
diff --git a/RbFreqStandMeasure/res/images/icon_setting.png b/RbFreqStandMeasure/res/images/icon_setting.png
new file mode 100644
index 0000000..f0779f7
--- /dev/null
+++ b/RbFreqStandMeasure/res/images/icon_setting.png
Binary files differ
diff --git a/RbFreqStandMeasure/res/images/icon_setting_selected.png b/RbFreqStandMeasure/res/images/icon_setting_selected.png
new file mode 100644
index 0000000..81f0e93
--- /dev/null
+++ b/RbFreqStandMeasure/res/images/icon_setting_selected.png
Binary files differ
diff --git a/RbFreqStandMeasure/HomeCtrlForm.Designer.cs b/RbFreqStandMeasure/HomeCtrlForm.Designer.cs
index fb515f8..73e477a 100644
--- a/RbFreqStandMeasure/HomeCtrlForm.Designer.cs
+++ b/RbFreqStandMeasure/HomeCtrlForm.Designer.cs
@@ -29,589 +29,271 @@
///
private void InitializeComponent()
{
- System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle1 = new System.Windows.Forms.DataGridViewCellStyle();
- System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle2 = new System.Windows.Forms.DataGridViewCellStyle();
- this.panelToBeTested = new System.Windows.Forms.Panel();
- this.dataGridViewX1 = new DevComponents.DotNetBar.Controls.DataGridViewX();
- this.Column13 = new System.Windows.Forms.DataGridViewTextBoxColumn();
- this.Column14 = new System.Windows.Forms.DataGridViewTextBoxColumn();
- this.Column15 = new System.Windows.Forms.DataGridViewTextBoxColumn();
- this.Column16 = new System.Windows.Forms.DataGridViewTextBoxColumn();
- this.Column17 = new System.Windows.Forms.DataGridViewTextBoxColumn();
- this.panelEx1 = new DevComponents.DotNetBar.PanelEx();
- this.labelX6 = new DevComponents.DotNetBar.LabelX();
- this.labelX5 = new DevComponents.DotNetBar.LabelX();
- this.labelX4 = new DevComponents.DotNetBar.LabelX();
- this.labelX3 = new DevComponents.DotNetBar.LabelX();
- this.labelX2 = new DevComponents.DotNetBar.LabelX();
- this.labelX1 = new DevComponents.DotNetBar.LabelX();
- this.panelEx2 = new DevComponents.DotNetBar.PanelEx();
- this.labelX7 = new DevComponents.DotNetBar.LabelX();
- this.labelX8 = new DevComponents.DotNetBar.LabelX();
- this.labelX10 = new DevComponents.DotNetBar.LabelX();
- this.labelX9 = new DevComponents.DotNetBar.LabelX();
- this.panelEx3 = new DevComponents.DotNetBar.PanelEx();
- this.labelX11 = new DevComponents.DotNetBar.LabelX();
- this.labelX13 = new DevComponents.DotNetBar.LabelX();
- this.labelX12 = new DevComponents.DotNetBar.LabelX();
- this.panelEx4 = new DevComponents.DotNetBar.PanelEx();
- this.dataGridViewX2 = new DevComponents.DotNetBar.Controls.DataGridViewX();
- this.Column18 = new System.Windows.Forms.DataGridViewTextBoxColumn();
- this.Column19 = new System.Windows.Forms.DataGridViewTextBoxColumn();
- this.Column20 = new System.Windows.Forms.DataGridViewTextBoxColumn();
- this.Column21 = new System.Windows.Forms.DataGridViewTextBoxColumn();
- this.Column22 = new System.Windows.Forms.DataGridViewTextBoxColumn();
- this.Column23 = new System.Windows.Forms.DataGridViewTextBoxColumn();
- this.Column24 = new System.Windows.Forms.DataGridViewTextBoxColumn();
- this.Column25 = new System.Windows.Forms.DataGridViewTextBoxColumn();
- this.Column26 = new System.Windows.Forms.DataGridViewTextBoxColumn();
- this.Column27 = new System.Windows.Forms.DataGridViewTextBoxColumn();
- this.Column28 = new System.Windows.Forms.DataGridViewTextBoxColumn();
- this.Column29 = new System.Windows.Forms.DataGridViewTextBoxColumn();
- this.buttonX1 = new DevComponents.DotNetBar.ButtonX();
- this.buttonX2 = new DevComponents.DotNetBar.ButtonX();
+ this.panel3 = new System.Windows.Forms.Panel();
+ this.panel2 = new System.Windows.Forms.Panel();
+ this.panel1 = new System.Windows.Forms.Panel();
+ this.panel4 = new System.Windows.Forms.Panel();
+ this.panel5 = new System.Windows.Forms.Panel();
this.label1 = new System.Windows.Forms.Label();
this.label2 = new System.Windows.Forms.Label();
- this.panelToBeTested.SuspendLayout();
- ((System.ComponentModel.ISupportInitialize)(this.dataGridViewX1)).BeginInit();
- this.panelEx1.SuspendLayout();
- this.panelEx2.SuspendLayout();
- this.panelEx3.SuspendLayout();
- this.panelEx4.SuspendLayout();
- ((System.ComponentModel.ISupportInitialize)(this.dataGridViewX2)).BeginInit();
+ this.label3 = new System.Windows.Forms.Label();
+ this.label4 = new System.Windows.Forms.Label();
+ this.label5 = new System.Windows.Forms.Label();
+ this.label6 = new System.Windows.Forms.Label();
+ this.label7 = new System.Windows.Forms.Label();
+ this.label8 = new System.Windows.Forms.Label();
+ this.label9 = new System.Windows.Forms.Label();
+ this.label10 = new System.Windows.Forms.Label();
+ this.label11 = new System.Windows.Forms.Label();
+ this.label12 = new System.Windows.Forms.Label();
+ this.label13 = new System.Windows.Forms.Label();
+ this.panel3.SuspendLayout();
+ this.panel2.SuspendLayout();
+ this.panel1.SuspendLayout();
this.SuspendLayout();
//
- // panelToBeTested
+ // panel3
//
- this.panelToBeTested.Controls.Add(this.dataGridViewX1);
- this.panelToBeTested.Controls.Add(this.buttonX2);
- this.panelToBeTested.Controls.Add(this.buttonX1);
- this.panelToBeTested.Location = new System.Drawing.Point(250, 0);
- this.panelToBeTested.Name = "panelToBeTested";
- this.panelToBeTested.Size = new System.Drawing.Size(750, 216);
- this.panelToBeTested.TabIndex = 4;
+ this.panel3.BackgroundImage = global::Casic.Birmm.RbFreqStandMeasure.Properties.Resources.bg_status_location;
+ this.panel3.Controls.Add(this.label8);
+ this.panel3.Controls.Add(this.label13);
+ this.panel3.Controls.Add(this.label12);
+ this.panel3.Controls.Add(this.label11);
+ this.panel3.Controls.Add(this.label9);
+ this.panel3.Controls.Add(this.label10);
+ this.panel3.Location = new System.Drawing.Point(6, 360);
+ this.panel3.Name = "panel3";
+ this.panel3.Size = new System.Drawing.Size(224, 293);
+ this.panel3.TabIndex = 2;
//
- // dataGridViewX1
+ // panel2
//
- this.dataGridViewX1.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.AutoSize;
- this.dataGridViewX1.Columns.AddRange(new System.Windows.Forms.DataGridViewColumn[] {
- this.Column13,
- this.Column14,
- this.Column15,
- this.Column16,
- this.Column17});
- dataGridViewCellStyle1.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleLeft;
- dataGridViewCellStyle1.BackColor = System.Drawing.SystemColors.Window;
- dataGridViewCellStyle1.Font = new System.Drawing.Font("宋体", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
- dataGridViewCellStyle1.ForeColor = System.Drawing.SystemColors.ControlText;
- dataGridViewCellStyle1.SelectionBackColor = System.Drawing.SystemColors.Highlight;
- dataGridViewCellStyle1.SelectionForeColor = System.Drawing.SystemColors.ControlText;
- dataGridViewCellStyle1.WrapMode = System.Windows.Forms.DataGridViewTriState.False;
- this.dataGridViewX1.DefaultCellStyle = dataGridViewCellStyle1;
- this.dataGridViewX1.GridColor = System.Drawing.Color.FromArgb(((int)(((byte)(208)))), ((int)(((byte)(215)))), ((int)(((byte)(229)))));
- this.dataGridViewX1.Location = new System.Drawing.Point(0, 1);
- this.dataGridViewX1.Name = "dataGridViewX1";
- this.dataGridViewX1.RowTemplate.Height = 23;
- this.dataGridViewX1.Size = new System.Drawing.Size(750, 179);
- this.dataGridViewX1.TabIndex = 14;
+ this.panel2.BackgroundImage = global::Casic.Birmm.RbFreqStandMeasure.Properties.Resources.bg_status_time;
+ this.panel2.Controls.Add(this.label4);
+ this.panel2.Controls.Add(this.label7);
+ this.panel2.Controls.Add(this.label6);
+ this.panel2.Controls.Add(this.label5);
+ this.panel2.Location = new System.Drawing.Point(6, 160);
+ this.panel2.Name = "panel2";
+ this.panel2.Size = new System.Drawing.Size(224, 200);
+ this.panel2.TabIndex = 1;
//
- // Column13
+ // panel1
//
- this.Column13.HeaderText = "仪器名称";
- this.Column13.Name = "Column13";
+ this.panel1.BackgroundImage = global::Casic.Birmm.RbFreqStandMeasure.Properties.Resources.bg_status_base;
+ this.panel1.Controls.Add(this.label3);
+ this.panel1.Controls.Add(this.label2);
+ this.panel1.Controls.Add(this.label1);
+ this.panel1.Location = new System.Drawing.Point(6, 0);
+ this.panel1.Margin = new System.Windows.Forms.Padding(0);
+ this.panel1.Name = "panel1";
+ this.panel1.Size = new System.Drawing.Size(224, 160);
+ this.panel1.TabIndex = 0;
//
- // Column14
+ // panel4
//
- this.Column14.HeaderText = "仪器类型";
- this.Column14.Name = "Column14";
+ this.panel4.BackgroundImage = global::Casic.Birmm.RbFreqStandMeasure.Properties.Resources.bg_dev_tested;
+ this.panel4.Location = new System.Drawing.Point(230, 0);
+ this.panel4.Margin = new System.Windows.Forms.Padding(0);
+ this.panel4.Name = "panel4";
+ this.panel4.Size = new System.Drawing.Size(788, 226);
+ this.panel4.TabIndex = 3;
//
- // Column15
+ // panel5
//
- this.Column15.HeaderText = "仪器编号";
- this.Column15.Name = "Column15";
- //
- // Column16
- //
- this.Column16.HeaderText = "客户名称";
- this.Column16.Name = "Column16";
- //
- // Column17
- //
- this.Column17.HeaderText = "开始时间";
- this.Column17.Name = "Column17";
- //
- // panelEx1
- //
- this.panelEx1.CanvasColor = System.Drawing.SystemColors.Control;
- this.panelEx1.ColorSchemeStyle = DevComponents.DotNetBar.eDotNetBarStyle.StyleManagerControlled;
- this.panelEx1.Controls.Add(this.labelX6);
- this.panelEx1.Controls.Add(this.labelX5);
- this.panelEx1.Controls.Add(this.labelX4);
- this.panelEx1.Controls.Add(this.labelX3);
- this.panelEx1.Controls.Add(this.labelX2);
- this.panelEx1.Controls.Add(this.labelX1);
- this.panelEx1.DisabledBackColor = System.Drawing.Color.Empty;
- this.panelEx1.Location = new System.Drawing.Point(25, 376);
- this.panelEx1.Name = "panelEx1";
- this.panelEx1.Size = new System.Drawing.Size(200, 200);
- this.panelEx1.Style.Alignment = System.Drawing.StringAlignment.Center;
- this.panelEx1.Style.BackColor1.ColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelBackground;
- this.panelEx1.Style.BackColor2.ColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelBackground2;
- this.panelEx1.Style.Border = DevComponents.DotNetBar.eBorderType.SingleLine;
- this.panelEx1.Style.BorderColor.ColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelBorder;
- this.panelEx1.Style.ForeColor.ColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelText;
- this.panelEx1.Style.GradientAngle = 90;
- this.panelEx1.TabIndex = 10;
- //
- // labelX6
- //
- //
- //
- //
- this.labelX6.BackgroundStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square;
- this.labelX6.Location = new System.Drawing.Point(3, 153);
- this.labelX6.Name = "labelX6";
- this.labelX6.Size = new System.Drawing.Size(75, 23);
- this.labelX6.Style = DevComponents.DotNetBar.eDotNetBarStyle.Office2013;
- this.labelX6.TabIndex = 0;
- this.labelX6.Text = "Z";
- this.labelX6.TextAlignment = System.Drawing.StringAlignment.Center;
- //
- // labelX5
- //
- //
- //
- //
- this.labelX5.BackgroundStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square;
- this.labelX5.Location = new System.Drawing.Point(3, 124);
- this.labelX5.Name = "labelX5";
- this.labelX5.Size = new System.Drawing.Size(75, 23);
- this.labelX5.Style = DevComponents.DotNetBar.eDotNetBarStyle.Office2013;
- this.labelX5.TabIndex = 0;
- this.labelX5.Text = "Y";
- this.labelX5.TextAlignment = System.Drawing.StringAlignment.Center;
- //
- // labelX4
- //
- //
- //
- //
- this.labelX4.BackgroundStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square;
- this.labelX4.Location = new System.Drawing.Point(3, 95);
- this.labelX4.Name = "labelX4";
- this.labelX4.Size = new System.Drawing.Size(75, 23);
- this.labelX4.Style = DevComponents.DotNetBar.eDotNetBarStyle.Office2013;
- this.labelX4.TabIndex = 0;
- this.labelX4.Text = "X";
- this.labelX4.TextAlignment = System.Drawing.StringAlignment.Center;
- //
- // labelX3
- //
- //
- //
- //
- this.labelX3.BackgroundStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square;
- this.labelX3.Location = new System.Drawing.Point(3, 66);
- this.labelX3.Name = "labelX3";
- this.labelX3.Size = new System.Drawing.Size(75, 23);
- this.labelX3.Style = DevComponents.DotNetBar.eDotNetBarStyle.Office2013;
- this.labelX3.TabIndex = 0;
- this.labelX3.Text = "纬度";
- this.labelX3.TextAlignment = System.Drawing.StringAlignment.Center;
- //
- // labelX2
- //
- //
- //
- //
- this.labelX2.BackgroundStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square;
- this.labelX2.Location = new System.Drawing.Point(3, 37);
- this.labelX2.Name = "labelX2";
- this.labelX2.Size = new System.Drawing.Size(75, 23);
- this.labelX2.Style = DevComponents.DotNetBar.eDotNetBarStyle.Office2013;
- this.labelX2.TabIndex = 0;
- this.labelX2.Text = "经度";
- this.labelX2.TextAlignment = System.Drawing.StringAlignment.Center;
- //
- // labelX1
- //
- //
- //
- //
- this.labelX1.BackgroundStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square;
- this.labelX1.Location = new System.Drawing.Point(3, 3);
- this.labelX1.Name = "labelX1";
- this.labelX1.Size = new System.Drawing.Size(194, 23);
- this.labelX1.Style = DevComponents.DotNetBar.eDotNetBarStyle.Office2013;
- this.labelX1.TabIndex = 0;
- this.labelX1.Text = "位置信息";
- this.labelX1.TextAlignment = System.Drawing.StringAlignment.Center;
- //
- // panelEx2
- //
- this.panelEx2.CanvasColor = System.Drawing.SystemColors.Control;
- this.panelEx2.ColorSchemeStyle = DevComponents.DotNetBar.eDotNetBarStyle.StyleManagerControlled;
- this.panelEx2.Controls.Add(this.labelX7);
- this.panelEx2.Controls.Add(this.labelX8);
- this.panelEx2.Controls.Add(this.labelX10);
- this.panelEx2.Controls.Add(this.labelX9);
- this.panelEx2.DisabledBackColor = System.Drawing.Color.Empty;
- this.panelEx2.Location = new System.Drawing.Point(25, 190);
- this.panelEx2.Name = "panelEx2";
- this.panelEx2.Size = new System.Drawing.Size(200, 150);
- this.panelEx2.Style.Alignment = System.Drawing.StringAlignment.Center;
- this.panelEx2.Style.BackColor1.ColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelBackground;
- this.panelEx2.Style.BackColor2.ColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelBackground2;
- this.panelEx2.Style.Border = DevComponents.DotNetBar.eBorderType.SingleLine;
- this.panelEx2.Style.BorderColor.ColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelBorder;
- this.panelEx2.Style.ForeColor.ColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelText;
- this.panelEx2.Style.GradientAngle = 90;
- this.panelEx2.TabIndex = 10;
- //
- // labelX7
- //
- //
- //
- //
- this.labelX7.BackgroundStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square;
- this.labelX7.Location = new System.Drawing.Point(3, 3);
- this.labelX7.Name = "labelX7";
- this.labelX7.Size = new System.Drawing.Size(194, 23);
- this.labelX7.Style = DevComponents.DotNetBar.eDotNetBarStyle.Office2013;
- this.labelX7.TabIndex = 0;
- this.labelX7.Text = "时间信息";
- this.labelX7.TextAlignment = System.Drawing.StringAlignment.Center;
- //
- // labelX8
- //
- //
- //
- //
- this.labelX8.BackgroundStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square;
- this.labelX8.Location = new System.Drawing.Point(3, 41);
- this.labelX8.Name = "labelX8";
- this.labelX8.Size = new System.Drawing.Size(75, 23);
- this.labelX8.Style = DevComponents.DotNetBar.eDotNetBarStyle.Office2013;
- this.labelX8.TabIndex = 0;
- this.labelX8.Text = "日期";
- this.labelX8.TextAlignment = System.Drawing.StringAlignment.Center;
- //
- // labelX10
- //
- //
- //
- //
- this.labelX10.BackgroundStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square;
- this.labelX10.Location = new System.Drawing.Point(3, 99);
- this.labelX10.Name = "labelX10";
- this.labelX10.Size = new System.Drawing.Size(75, 23);
- this.labelX10.Style = DevComponents.DotNetBar.eDotNetBarStyle.Office2013;
- this.labelX10.TabIndex = 0;
- this.labelX10.Text = "MJD";
- this.labelX10.TextAlignment = System.Drawing.StringAlignment.Center;
- //
- // labelX9
- //
- //
- //
- //
- this.labelX9.BackgroundStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square;
- this.labelX9.Location = new System.Drawing.Point(3, 70);
- this.labelX9.Name = "labelX9";
- this.labelX9.Size = new System.Drawing.Size(75, 23);
- this.labelX9.Style = DevComponents.DotNetBar.eDotNetBarStyle.Office2013;
- this.labelX9.TabIndex = 0;
- this.labelX9.Text = "时间";
- this.labelX9.TextAlignment = System.Drawing.StringAlignment.Center;
- //
- // panelEx3
- //
- this.panelEx3.CanvasColor = System.Drawing.SystemColors.Control;
- this.panelEx3.ColorSchemeStyle = DevComponents.DotNetBar.eDotNetBarStyle.StyleManagerControlled;
- this.panelEx3.Controls.Add(this.labelX11);
- this.panelEx3.Controls.Add(this.labelX13);
- this.panelEx3.Controls.Add(this.labelX12);
- this.panelEx3.DisabledBackColor = System.Drawing.Color.Empty;
- this.panelEx3.Location = new System.Drawing.Point(25, 50);
- this.panelEx3.Name = "panelEx3";
- this.panelEx3.Size = new System.Drawing.Size(200, 100);
- this.panelEx3.Style.Alignment = System.Drawing.StringAlignment.Center;
- this.panelEx3.Style.BackColor1.ColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelBackground;
- this.panelEx3.Style.BackColor2.ColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelBackground2;
- this.panelEx3.Style.Border = DevComponents.DotNetBar.eBorderType.SingleLine;
- this.panelEx3.Style.BorderColor.ColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelBorder;
- this.panelEx3.Style.ForeColor.ColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelText;
- this.panelEx3.Style.GradientAngle = 90;
- this.panelEx3.TabIndex = 10;
- //
- // labelX11
- //
- //
- //
- //
- this.labelX11.BackgroundStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square;
- this.labelX11.Location = new System.Drawing.Point(3, 3);
- this.labelX11.Name = "labelX11";
- this.labelX11.Size = new System.Drawing.Size(194, 23);
- this.labelX11.Style = DevComponents.DotNetBar.eDotNetBarStyle.Office2013;
- this.labelX11.TabIndex = 0;
- this.labelX11.Text = "基本信息";
- this.labelX11.TextAlignment = System.Drawing.StringAlignment.Center;
- //
- // labelX13
- //
- //
- //
- //
- this.labelX13.BackgroundStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square;
- this.labelX13.Location = new System.Drawing.Point(3, 32);
- this.labelX13.Name = "labelX13";
- this.labelX13.Size = new System.Drawing.Size(75, 23);
- this.labelX13.Style = DevComponents.DotNetBar.eDotNetBarStyle.Office2013;
- this.labelX13.TabIndex = 0;
- this.labelX13.Text = "原子钟";
- this.labelX13.TextAlignment = System.Drawing.StringAlignment.Center;
- //
- // labelX12
- //
- //
- //
- //
- this.labelX12.BackgroundStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square;
- this.labelX12.Location = new System.Drawing.Point(3, 61);
- this.labelX12.Name = "labelX12";
- this.labelX12.Size = new System.Drawing.Size(75, 23);
- this.labelX12.Style = DevComponents.DotNetBar.eDotNetBarStyle.Office2013;
- this.labelX12.TabIndex = 0;
- this.labelX12.Text = "接收机";
- this.labelX12.TextAlignment = System.Drawing.StringAlignment.Center;
- //
- // panelEx4
- //
- this.panelEx4.CanvasColor = System.Drawing.SystemColors.Control;
- this.panelEx4.ColorSchemeStyle = DevComponents.DotNetBar.eDotNetBarStyle.StyleManagerControlled;
- this.panelEx4.Controls.Add(this.panelEx2);
- this.panelEx4.Controls.Add(this.panelEx1);
- this.panelEx4.Controls.Add(this.panelEx3);
- this.panelEx4.DisabledBackColor = System.Drawing.Color.Empty;
- this.panelEx4.Location = new System.Drawing.Point(0, 0);
- this.panelEx4.Name = "panelEx4";
- this.panelEx4.Size = new System.Drawing.Size(250, 640);
- this.panelEx4.Style.Alignment = System.Drawing.StringAlignment.Center;
- this.panelEx4.Style.BackColor1.ColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelBackground;
- this.panelEx4.Style.BackColor2.ColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelBackground2;
- this.panelEx4.Style.Border = DevComponents.DotNetBar.eBorderType.SingleLine;
- this.panelEx4.Style.BorderColor.ColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelBorder;
- this.panelEx4.Style.ForeColor.ColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelText;
- this.panelEx4.Style.GradientAngle = 90;
- this.panelEx4.TabIndex = 10;
- //
- // dataGridViewX2
- //
- this.dataGridViewX2.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.AutoSize;
- this.dataGridViewX2.Columns.AddRange(new System.Windows.Forms.DataGridViewColumn[] {
- this.Column18,
- this.Column19,
- this.Column20,
- this.Column21,
- this.Column22,
- this.Column23,
- this.Column24,
- this.Column25,
- this.Column26,
- this.Column27,
- this.Column28,
- this.Column29});
- dataGridViewCellStyle2.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleLeft;
- dataGridViewCellStyle2.BackColor = System.Drawing.SystemColors.Window;
- dataGridViewCellStyle2.Font = new System.Drawing.Font("宋体", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
- dataGridViewCellStyle2.ForeColor = System.Drawing.SystemColors.ControlText;
- dataGridViewCellStyle2.SelectionBackColor = System.Drawing.SystemColors.Highlight;
- dataGridViewCellStyle2.SelectionForeColor = System.Drawing.SystemColors.ControlText;
- dataGridViewCellStyle2.WrapMode = System.Windows.Forms.DataGridViewTriState.False;
- this.dataGridViewX2.DefaultCellStyle = dataGridViewCellStyle2;
- this.dataGridViewX2.GridColor = System.Drawing.Color.FromArgb(((int)(((byte)(208)))), ((int)(((byte)(215)))), ((int)(((byte)(229)))));
- this.dataGridViewX2.Location = new System.Drawing.Point(250, 216);
- this.dataGridViewX2.Name = "dataGridViewX2";
- this.dataGridViewX2.Size = new System.Drawing.Size(747, 424);
- this.dataGridViewX2.TabIndex = 15;
- //
- // Column18
- //
- this.Column18.HeaderText = "通道号";
- this.Column18.Name = "Column18";
- //
- // Column19
- //
- this.Column19.HeaderText = "当前状态";
- this.Column19.Name = "Column19";
- //
- // Column20
- //
- this.Column20.HeaderText = "仪器名称";
- this.Column20.Name = "Column20";
- //
- // Column21
- //
- this.Column21.HeaderText = "仪器编号";
- this.Column21.Name = "Column21";
- //
- // Column22
- //
- this.Column22.HeaderText = "客户名称";
- this.Column22.Name = "Column22";
- //
- // Column23
- //
- this.Column23.HeaderText = "开始时间";
- this.Column23.Name = "Column23";
- //
- // Column24
- //
- this.Column24.HeaderText = "结束时间";
- this.Column24.Name = "Column24";
- //
- // Column25
- //
- this.Column25.HeaderText = "频率稳定度";
- this.Column25.Name = "Column25";
- //
- // Column26
- //
- this.Column26.HeaderText = "频率准确度";
- this.Column26.Name = "Column26";
- //
- // Column27
- //
- this.Column27.HeaderText = "开机特性";
- this.Column27.Name = "Column27";
- //
- // Column28
- //
- this.Column28.HeaderText = "日老化率";
- this.Column28.Name = "Column28";
- //
- // Column29
- //
- this.Column29.HeaderText = "频率计数器范围及灵敏度";
- this.Column29.Name = "Column29";
- //
- // buttonX1
- //
- this.buttonX1.AccessibleRole = System.Windows.Forms.AccessibleRole.PushButton;
- this.buttonX1.BackColor = System.Drawing.Color.Transparent;
- this.buttonX1.ColorTable = DevComponents.DotNetBar.eButtonColor.OrangeWithBackground;
- this.buttonX1.Location = new System.Drawing.Point(663, 183);
- this.buttonX1.Name = "buttonX1";
- this.buttonX1.Size = new System.Drawing.Size(30, 23);
- this.buttonX1.Style = DevComponents.DotNetBar.eDotNetBarStyle.StyleManagerControlled;
- this.buttonX1.Symbol = "";
- this.buttonX1.SymbolColor = System.Drawing.Color.FromArgb(((int)(((byte)(64)))), ((int)(((byte)(64)))), ((int)(((byte)(64)))));
- this.buttonX1.SymbolSize = 8F;
- this.buttonX1.TabIndex = 19;
- //
- // buttonX2
- //
- this.buttonX2.AccessibleRole = System.Windows.Forms.AccessibleRole.PushButton;
- this.buttonX2.BackColor = System.Drawing.Color.Transparent;
- this.buttonX2.ColorTable = DevComponents.DotNetBar.eButtonColor.OrangeWithBackground;
- this.buttonX2.Location = new System.Drawing.Point(589, 184);
- this.buttonX2.Name = "buttonX2";
- this.buttonX2.Size = new System.Drawing.Size(30, 23);
- this.buttonX2.Style = DevComponents.DotNetBar.eDotNetBarStyle.StyleManagerControlled;
- this.buttonX2.Symbol = "";
- this.buttonX2.SymbolColor = System.Drawing.Color.FromArgb(((int)(((byte)(64)))), ((int)(((byte)(64)))), ((int)(((byte)(64)))));
- this.buttonX2.SymbolSize = 8F;
- this.buttonX2.TabIndex = 19;
+ this.panel5.BackgroundImage = global::Casic.Birmm.RbFreqStandMeasure.Properties.Resources.bg_dev_channel;
+ this.panel5.Location = new System.Drawing.Point(230, 226);
+ this.panel5.Name = "panel5";
+ this.panel5.Size = new System.Drawing.Size(788, 424);
+ this.panel5.TabIndex = 4;
//
// label1
//
this.label1.BackColor = System.Drawing.Color.Transparent;
- this.label1.Font = new System.Drawing.Font("Times New Roman", 9.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
- this.label1.Location = new System.Drawing.Point(880, 186);
- this.label1.Margin = new System.Windows.Forms.Padding(0);
+ this.label1.Font = new System.Drawing.Font("微软雅黑", 14F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Pixel, ((byte)(134)));
+ this.label1.Location = new System.Drawing.Point(0, 20);
this.label1.Name = "label1";
- this.label1.Size = new System.Drawing.Size(20, 20);
- this.label1.TabIndex = 20;
- this.label1.Text = "1";
+ this.label1.Size = new System.Drawing.Size(224, 25);
+ this.label1.TabIndex = 0;
+ this.label1.Text = "基本信息";
this.label1.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
//
// label2
//
this.label2.BackColor = System.Drawing.Color.Transparent;
- this.label2.Font = new System.Drawing.Font("Times New Roman", 9.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
- this.label2.Location = new System.Drawing.Point(636, 187);
- this.label2.Margin = new System.Windows.Forms.Padding(0);
+ this.label2.Font = new System.Drawing.Font("微软雅黑", 14F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Pixel, ((byte)(134)));
+ this.label2.Location = new System.Drawing.Point(0, 60);
this.label2.Name = "label2";
- this.label2.Size = new System.Drawing.Size(200, 20);
- this.label2.TabIndex = 20;
- this.label2.Text = "共150条,每页5条,共100页";
- this.label2.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
+ this.label2.Size = new System.Drawing.Size(75, 25);
+ this.label2.TabIndex = 1;
+ this.label2.Text = "原子钟";
+ this.label2.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
+ //
+ // label3
+ //
+ this.label3.BackColor = System.Drawing.Color.Transparent;
+ this.label3.Font = new System.Drawing.Font("微软雅黑", 14F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Pixel, ((byte)(134)));
+ this.label3.Location = new System.Drawing.Point(0, 100);
+ this.label3.Name = "label3";
+ this.label3.Size = new System.Drawing.Size(75, 25);
+ this.label3.TabIndex = 1;
+ this.label3.Text = "接收机";
+ this.label3.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
+ //
+ // label4
+ //
+ this.label4.BackColor = System.Drawing.Color.Transparent;
+ this.label4.Font = new System.Drawing.Font("微软雅黑", 14F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Pixel, ((byte)(134)));
+ this.label4.Location = new System.Drawing.Point(0, 20);
+ this.label4.Name = "label4";
+ this.label4.Size = new System.Drawing.Size(224, 25);
+ this.label4.TabIndex = 0;
+ this.label4.Text = "时间信息";
+ this.label4.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
+ //
+ // label5
+ //
+ this.label5.BackColor = System.Drawing.Color.Transparent;
+ this.label5.Font = new System.Drawing.Font("微软雅黑", 14F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Pixel, ((byte)(134)));
+ this.label5.Location = new System.Drawing.Point(0, 60);
+ this.label5.Name = "label5";
+ this.label5.Size = new System.Drawing.Size(75, 25);
+ this.label5.TabIndex = 1;
+ this.label5.Text = "日期";
+ this.label5.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
+ //
+ // label6
+ //
+ this.label6.BackColor = System.Drawing.Color.Transparent;
+ this.label6.Font = new System.Drawing.Font("微软雅黑", 14F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Pixel, ((byte)(134)));
+ this.label6.Location = new System.Drawing.Point(0, 100);
+ this.label6.Name = "label6";
+ this.label6.Size = new System.Drawing.Size(75, 25);
+ this.label6.TabIndex = 1;
+ this.label6.Text = "时间";
+ this.label6.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
+ //
+ // label7
+ //
+ this.label7.BackColor = System.Drawing.Color.Transparent;
+ this.label7.Font = new System.Drawing.Font("微软雅黑", 14F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Pixel, ((byte)(134)));
+ this.label7.Location = new System.Drawing.Point(0, 140);
+ this.label7.Margin = new System.Windows.Forms.Padding(0);
+ this.label7.Name = "label7";
+ this.label7.Size = new System.Drawing.Size(75, 25);
+ this.label7.TabIndex = 1;
+ this.label7.Text = "MJD";
+ this.label7.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
+ //
+ // label8
+ //
+ this.label8.BackColor = System.Drawing.Color.Transparent;
+ this.label8.Font = new System.Drawing.Font("微软雅黑", 14F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Pixel, ((byte)(134)));
+ this.label8.Location = new System.Drawing.Point(0, 20);
+ this.label8.Name = "label8";
+ this.label8.Size = new System.Drawing.Size(224, 25);
+ this.label8.TabIndex = 0;
+ this.label8.Text = "位置信息";
+ this.label8.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
+ //
+ // label9
+ //
+ this.label9.BackColor = System.Drawing.Color.Transparent;
+ this.label9.Font = new System.Drawing.Font("微软雅黑", 14F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Pixel, ((byte)(134)));
+ this.label9.Location = new System.Drawing.Point(0, 60);
+ this.label9.Name = "label9";
+ this.label9.Size = new System.Drawing.Size(75, 25);
+ this.label9.TabIndex = 1;
+ this.label9.Text = "经度";
+ this.label9.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
+ //
+ // label10
+ //
+ this.label10.BackColor = System.Drawing.Color.Transparent;
+ this.label10.Font = new System.Drawing.Font("微软雅黑", 14F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Pixel, ((byte)(134)));
+ this.label10.Location = new System.Drawing.Point(0, 100);
+ this.label10.Margin = new System.Windows.Forms.Padding(0);
+ this.label10.Name = "label10";
+ this.label10.Size = new System.Drawing.Size(75, 25);
+ this.label10.TabIndex = 1;
+ this.label10.Text = "纬度";
+ this.label10.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
+ //
+ // label11
+ //
+ this.label11.BackColor = System.Drawing.Color.Transparent;
+ this.label11.Font = new System.Drawing.Font("微软雅黑", 14F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Pixel, ((byte)(134)));
+ this.label11.Location = new System.Drawing.Point(0, 140);
+ this.label11.Margin = new System.Windows.Forms.Padding(0);
+ this.label11.Name = "label11";
+ this.label11.Size = new System.Drawing.Size(75, 25);
+ this.label11.TabIndex = 1;
+ this.label11.Text = "X";
+ this.label11.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
+ //
+ // label12
+ //
+ this.label12.BackColor = System.Drawing.Color.Transparent;
+ this.label12.Font = new System.Drawing.Font("微软雅黑", 14F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Pixel, ((byte)(134)));
+ this.label12.Location = new System.Drawing.Point(0, 180);
+ this.label12.Margin = new System.Windows.Forms.Padding(0);
+ this.label12.Name = "label12";
+ this.label12.Size = new System.Drawing.Size(75, 25);
+ this.label12.TabIndex = 1;
+ this.label12.Text = "Y";
+ this.label12.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
+ //
+ // label13
+ //
+ this.label13.BackColor = System.Drawing.Color.Transparent;
+ this.label13.Font = new System.Drawing.Font("微软雅黑", 14F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Pixel, ((byte)(134)));
+ this.label13.Location = new System.Drawing.Point(0, 220);
+ this.label13.Margin = new System.Windows.Forms.Padding(0);
+ this.label13.Name = "label13";
+ this.label13.Size = new System.Drawing.Size(75, 25);
+ this.label13.TabIndex = 1;
+ this.label13.Text = "Z";
+ this.label13.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
//
// HomeCtrlForm
//
this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 12F);
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
- this.Controls.Add(this.label1);
- this.Controls.Add(this.label2);
- this.Controls.Add(this.dataGridViewX2);
- this.Controls.Add(this.panelEx4);
- this.Controls.Add(this.panelToBeTested);
+ this.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(232)))), ((int)(((byte)(234)))), ((int)(((byte)(238)))));
+ this.Controls.Add(this.panel5);
+ this.Controls.Add(this.panel4);
+ this.Controls.Add(this.panel3);
+ this.Controls.Add(this.panel2);
+ this.Controls.Add(this.panel1);
this.Margin = new System.Windows.Forms.Padding(0);
this.Name = "HomeCtrlForm";
- this.Size = new System.Drawing.Size(1000, 640);
- this.panelToBeTested.ResumeLayout(false);
- ((System.ComponentModel.ISupportInitialize)(this.dataGridViewX1)).EndInit();
- this.panelEx1.ResumeLayout(false);
- this.panelEx2.ResumeLayout(false);
- this.panelEx3.ResumeLayout(false);
- this.panelEx4.ResumeLayout(false);
- ((System.ComponentModel.ISupportInitialize)(this.dataGridViewX2)).EndInit();
+ this.Size = new System.Drawing.Size(1024, 654);
+ this.panel3.ResumeLayout(false);
+ this.panel2.ResumeLayout(false);
+ this.panel1.ResumeLayout(false);
this.ResumeLayout(false);
}
#endregion
- private System.Windows.Forms.Panel panelToBeTested;
- private DevComponents.DotNetBar.PanelEx panelEx1;
- private DevComponents.DotNetBar.LabelX labelX6;
- private DevComponents.DotNetBar.LabelX labelX5;
- private DevComponents.DotNetBar.LabelX labelX4;
- private DevComponents.DotNetBar.LabelX labelX3;
- private DevComponents.DotNetBar.LabelX labelX2;
- private DevComponents.DotNetBar.LabelX labelX1;
- private DevComponents.DotNetBar.PanelEx panelEx2;
- private DevComponents.DotNetBar.LabelX labelX7;
- private DevComponents.DotNetBar.LabelX labelX8;
- private DevComponents.DotNetBar.LabelX labelX10;
- private DevComponents.DotNetBar.LabelX labelX9;
- private DevComponents.DotNetBar.PanelEx panelEx3;
- private DevComponents.DotNetBar.LabelX labelX11;
- private DevComponents.DotNetBar.LabelX labelX13;
- private DevComponents.DotNetBar.LabelX labelX12;
- private DevComponents.DotNetBar.PanelEx panelEx4;
- private DevComponents.DotNetBar.Controls.DataGridViewX dataGridViewX1;
- private System.Windows.Forms.DataGridViewTextBoxColumn Column13;
- private System.Windows.Forms.DataGridViewTextBoxColumn Column14;
- private System.Windows.Forms.DataGridViewTextBoxColumn Column15;
- private System.Windows.Forms.DataGridViewTextBoxColumn Column16;
- private System.Windows.Forms.DataGridViewTextBoxColumn Column17;
- private DevComponents.DotNetBar.Controls.DataGridViewX dataGridViewX2;
- private System.Windows.Forms.DataGridViewTextBoxColumn Column18;
- private System.Windows.Forms.DataGridViewTextBoxColumn Column19;
- private System.Windows.Forms.DataGridViewTextBoxColumn Column20;
- private System.Windows.Forms.DataGridViewTextBoxColumn Column21;
- private System.Windows.Forms.DataGridViewTextBoxColumn Column22;
- private System.Windows.Forms.DataGridViewTextBoxColumn Column23;
- private System.Windows.Forms.DataGridViewTextBoxColumn Column24;
- private System.Windows.Forms.DataGridViewTextBoxColumn Column25;
- private System.Windows.Forms.DataGridViewTextBoxColumn Column26;
- private System.Windows.Forms.DataGridViewTextBoxColumn Column27;
- private System.Windows.Forms.DataGridViewTextBoxColumn Column28;
- private System.Windows.Forms.DataGridViewTextBoxColumn Column29;
- private DevComponents.DotNetBar.ButtonX buttonX1;
- private DevComponents.DotNetBar.ButtonX buttonX2;
+
+ private System.Windows.Forms.Panel panel1;
+ private System.Windows.Forms.Panel panel2;
+ private System.Windows.Forms.Panel panel3;
+ private System.Windows.Forms.Panel panel4;
+ private System.Windows.Forms.Panel panel5;
private System.Windows.Forms.Label label1;
private System.Windows.Forms.Label label2;
+ private System.Windows.Forms.Label label3;
+ private System.Windows.Forms.Label label4;
+ private System.Windows.Forms.Label label5;
+ private System.Windows.Forms.Label label6;
+ private System.Windows.Forms.Label label7;
+ private System.Windows.Forms.Label label8;
+ private System.Windows.Forms.Label label11;
+ private System.Windows.Forms.Label label9;
+ private System.Windows.Forms.Label label10;
+ private System.Windows.Forms.Label label12;
+ private System.Windows.Forms.Label label13;
}
}
diff --git a/RbFreqStandMeasure/HomeCtrlForm.resx b/RbFreqStandMeasure/HomeCtrlForm.resx
index 6d97f4f..1af7de1 100644
--- a/RbFreqStandMeasure/HomeCtrlForm.resx
+++ b/RbFreqStandMeasure/HomeCtrlForm.resx
@@ -117,55 +117,4 @@
System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
-
- True
-
-
- True
-
-
- True
-
-
- True
-
-
- True
-
-
- True
-
-
- True
-
-
- True
-
-
- True
-
-
- True
-
-
- True
-
-
- True
-
-
- True
-
-
- True
-
-
- True
-
-
- True
-
-
- True
-
\ No newline at end of file
diff --git a/RbFreqStandMeasure/Program.cs b/RbFreqStandMeasure/Program.cs
index 93a83e5..6150917 100644
--- a/RbFreqStandMeasure/Program.cs
+++ b/RbFreqStandMeasure/Program.cs
@@ -1,6 +1,4 @@
using System;
-using System.Collections.Generic;
-using System.Linq;
using System.Windows.Forms;
namespace Casic.Birmm.RbFreqStandMeasure
diff --git a/RbFreqStandMeasure/Properties/Resources.Designer.cs b/RbFreqStandMeasure/Properties/Resources.Designer.cs
index 253d7d7..d819a23 100644
--- a/RbFreqStandMeasure/Properties/Resources.Designer.cs
+++ b/RbFreqStandMeasure/Properties/Resources.Designer.cs
@@ -73,6 +73,56 @@
///
/// 查找 System.Drawing.Bitmap 类型的本地化资源。
///
+ internal static System.Drawing.Bitmap bg_dev_channel {
+ get {
+ object obj = ResourceManager.GetObject("bg_dev_channel", resourceCulture);
+ return ((System.Drawing.Bitmap)(obj));
+ }
+ }
+
+ ///
+ /// 查找 System.Drawing.Bitmap 类型的本地化资源。
+ ///
+ internal static System.Drawing.Bitmap bg_dev_tested {
+ get {
+ object obj = ResourceManager.GetObject("bg_dev_tested", resourceCulture);
+ return ((System.Drawing.Bitmap)(obj));
+ }
+ }
+
+ ///
+ /// 查找 System.Drawing.Bitmap 类型的本地化资源。
+ ///
+ internal static System.Drawing.Bitmap bg_status_base {
+ get {
+ object obj = ResourceManager.GetObject("bg_status_base", resourceCulture);
+ return ((System.Drawing.Bitmap)(obj));
+ }
+ }
+
+ ///
+ /// 查找 System.Drawing.Bitmap 类型的本地化资源。
+ ///
+ internal static System.Drawing.Bitmap bg_status_location {
+ get {
+ object obj = ResourceManager.GetObject("bg_status_location", resourceCulture);
+ return ((System.Drawing.Bitmap)(obj));
+ }
+ }
+
+ ///
+ /// 查找 System.Drawing.Bitmap 类型的本地化资源。
+ ///
+ internal static System.Drawing.Bitmap bg_status_time {
+ get {
+ object obj = ResourceManager.GetObject("bg_status_time", resourceCulture);
+ return ((System.Drawing.Bitmap)(obj));
+ }
+ }
+
+ ///
+ /// 查找 System.Drawing.Bitmap 类型的本地化资源。
+ ///
internal static System.Drawing.Bitmap bg_white_shadow {
get {
object obj = ResourceManager.GetObject("bg_white_shadow", resourceCulture);
@@ -83,6 +133,66 @@
///
/// 查找 System.Drawing.Bitmap 类型的本地化资源。
///
+ internal static System.Drawing.Bitmap icon_counter {
+ get {
+ object obj = ResourceManager.GetObject("icon_counter", resourceCulture);
+ return ((System.Drawing.Bitmap)(obj));
+ }
+ }
+
+ ///
+ /// 查找 System.Drawing.Bitmap 类型的本地化资源。
+ ///
+ internal static System.Drawing.Bitmap icon_counter_selected {
+ get {
+ object obj = ResourceManager.GetObject("icon_counter_selected", resourceCulture);
+ return ((System.Drawing.Bitmap)(obj));
+ }
+ }
+
+ ///
+ /// 查找 System.Drawing.Bitmap 类型的本地化资源。
+ ///
+ internal static System.Drawing.Bitmap icon_data {
+ get {
+ object obj = ResourceManager.GetObject("icon_data", resourceCulture);
+ return ((System.Drawing.Bitmap)(obj));
+ }
+ }
+
+ ///
+ /// 查找 System.Drawing.Bitmap 类型的本地化资源。
+ ///
+ internal static System.Drawing.Bitmap icon_data_selected {
+ get {
+ object obj = ResourceManager.GetObject("icon_data_selected", resourceCulture);
+ return ((System.Drawing.Bitmap)(obj));
+ }
+ }
+
+ ///
+ /// 查找 System.Drawing.Bitmap 类型的本地化资源。
+ ///
+ internal static System.Drawing.Bitmap icon_dev {
+ get {
+ object obj = ResourceManager.GetObject("icon_dev", resourceCulture);
+ return ((System.Drawing.Bitmap)(obj));
+ }
+ }
+
+ ///
+ /// 查找 System.Drawing.Bitmap 类型的本地化资源。
+ ///
+ internal static System.Drawing.Bitmap icon_dev_selected {
+ get {
+ object obj = ResourceManager.GetObject("icon_dev_selected", resourceCulture);
+ return ((System.Drawing.Bitmap)(obj));
+ }
+ }
+
+ ///
+ /// 查找 System.Drawing.Bitmap 类型的本地化资源。
+ ///
internal static System.Drawing.Bitmap icon_exit {
get {
object obj = ResourceManager.GetObject("icon_exit", resourceCulture);
@@ -113,6 +223,56 @@
///
/// 查找 System.Drawing.Bitmap 类型的本地化资源。
///
+ internal static System.Drawing.Bitmap icon_measure {
+ get {
+ object obj = ResourceManager.GetObject("icon_measure", resourceCulture);
+ return ((System.Drawing.Bitmap)(obj));
+ }
+ }
+
+ ///
+ /// 查找 System.Drawing.Bitmap 类型的本地化资源。
+ ///
+ internal static System.Drawing.Bitmap icon_measure_selected {
+ get {
+ object obj = ResourceManager.GetObject("icon_measure_selected", resourceCulture);
+ return ((System.Drawing.Bitmap)(obj));
+ }
+ }
+
+ ///
+ /// 查找 System.Drawing.Bitmap 类型的本地化资源。
+ ///
+ internal static System.Drawing.Bitmap icon_min {
+ get {
+ object obj = ResourceManager.GetObject("icon_min", resourceCulture);
+ return ((System.Drawing.Bitmap)(obj));
+ }
+ }
+
+ ///
+ /// 查找 System.Drawing.Bitmap 类型的本地化资源。
+ ///
+ internal static System.Drawing.Bitmap icon_setting {
+ get {
+ object obj = ResourceManager.GetObject("icon_setting", resourceCulture);
+ return ((System.Drawing.Bitmap)(obj));
+ }
+ }
+
+ ///
+ /// 查找 System.Drawing.Bitmap 类型的本地化资源。
+ ///
+ internal static System.Drawing.Bitmap icon_setting_selected {
+ get {
+ object obj = ResourceManager.GetObject("icon_setting_selected", resourceCulture);
+ return ((System.Drawing.Bitmap)(obj));
+ }
+ }
+
+ ///
+ /// 查找 System.Drawing.Bitmap 类型的本地化资源。
+ ///
internal static System.Drawing.Bitmap icon_status {
get {
object obj = ResourceManager.GetObject("icon_status", resourceCulture);
diff --git a/RbFreqStandMeasure/Properties/Resources.resx b/RbFreqStandMeasure/Properties/Resources.resx
index e781bb7..cfdb255 100644
--- a/RbFreqStandMeasure/Properties/Resources.resx
+++ b/RbFreqStandMeasure/Properties/Resources.resx
@@ -118,25 +118,73 @@
System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
-
- ..\res\images\icon_exit.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
+
+ ..\res\images\icon_counter_selected.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
-
- ..\res\images\bg_white_shadow.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
+
+ ..\res\images\icon_dev_selected.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
+
+
+ ..\res\images\icon_status_selected.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
+
+
+ ..\res\images\icon_data_selected.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
..\res\images\icon_home_selected.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
-
- ..\res\images\bg_banner.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
-
-
- ..\res\images\icon_home.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
+
+ ..\res\images\icon_exit.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
..\res\images\icon_status.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
-
- ..\res\images\icon_status_selected.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
+
+ ..\res\images\icon_data.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
+
+
+ ..\res\images\icon_setting.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
+
+
+ ..\res\images\icon_measure_selected.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
+
+
+ ..\res\images\bg_banner.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
+
+
+ ..\res\images\icon_setting_selected.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
+
+
+ ..\res\images\icon_dev.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
+
+
+ ..\res\images\icon_counter.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
+
+
+ ..\res\images\icon_measure.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
+
+
+ ..\res\images\icon_home.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
+
+
+ ..\res\images\bg_white_shadow.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
+
+
+ ..\res\images\icon_min.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
+
+
+ ..\res\images\bg_status_base.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
+
+
+ ..\res\images\bg_status_location.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
+
+
+ ..\res\images\bg_status_time.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
+
+
+ ..\res\images\bg_dev_channel.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
+
+
+ ..\res\images\bg_dev_tested.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
\ No newline at end of file
diff --git a/RbFreqStandMeasure/RbFreqStandMeasure.csproj b/RbFreqStandMeasure/RbFreqStandMeasure.csproj
index f5e7da9..7c12768 100644
--- a/RbFreqStandMeasure/RbFreqStandMeasure.csproj
+++ b/RbFreqStandMeasure/RbFreqStandMeasure.csproj
@@ -232,6 +232,54 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/RbFreqStandMeasure/RbFreqStdMeas.Designer.cs b/RbFreqStandMeasure/RbFreqStdMeas.Designer.cs
index 57778cf..1bd008c 100644
--- a/RbFreqStandMeasure/RbFreqStdMeas.Designer.cs
+++ b/RbFreqStandMeasure/RbFreqStdMeas.Designer.cs
@@ -30,148 +30,77 @@
private void InitializeComponent()
{
this.panMenu = new System.Windows.Forms.Panel();
+ this.penBanner = new System.Windows.Forms.Panel();
+ this.btnMinSys = new System.Windows.Forms.Button();
+ this.btnExitSys = new System.Windows.Forms.Button();
+ this.labTitle = new System.Windows.Forms.Label();
+ this.panDev = new Casic.Birmm.RbFreqStandMeasure.RoundPanel();
+ this.labDevText = new System.Windows.Forms.Label();
+ this.labDevSelected = new System.Windows.Forms.Label();
+ this.picIconDev = new System.Windows.Forms.PictureBox();
+ this.panSetting = new Casic.Birmm.RbFreqStandMeasure.RoundPanel();
+ this.labSettingSelected = new System.Windows.Forms.Label();
+ this.labSettingText = new System.Windows.Forms.Label();
+ this.picIconSetting = new System.Windows.Forms.PictureBox();
this.panStatus = new Casic.Birmm.RbFreqStandMeasure.RoundPanel();
this.labStatusText = new System.Windows.Forms.Label();
this.picIconStatus = new System.Windows.Forms.PictureBox();
+ this.labStatusSelected = new System.Windows.Forms.Label();
+ this.panData = new Casic.Birmm.RbFreqStandMeasure.RoundPanel();
+ this.labDataSelected = new System.Windows.Forms.Label();
+ this.labDataText = new System.Windows.Forms.Label();
+ this.picIconData = new System.Windows.Forms.PictureBox();
this.panHome = new Casic.Birmm.RbFreqStandMeasure.RoundPanel();
this.labHomeText = new System.Windows.Forms.Label();
this.picIconHome = new System.Windows.Forms.PictureBox();
this.labHomeSelected = new System.Windows.Forms.Label();
- this.labStatusSelected = new System.Windows.Forms.Label();
- this.penBanner = new System.Windows.Forms.Panel();
- this.btnExitSys = new System.Windows.Forms.Button();
- this.labTitle = new System.Windows.Forms.Label();
+ this.panMeasure = new Casic.Birmm.RbFreqStandMeasure.RoundPanel();
+ this.labMeasureText = new System.Windows.Forms.Label();
+ this.labMeasureSelected = new System.Windows.Forms.Label();
+ this.picIconMeasure = new System.Windows.Forms.PictureBox();
+ this.panCounter = new Casic.Birmm.RbFreqStandMeasure.RoundPanel();
+ this.labCounterSelected = new System.Windows.Forms.Label();
+ this.labCounterText = new System.Windows.Forms.Label();
+ this.picIconCounter = new System.Windows.Forms.PictureBox();
+ this.panelMain = new System.Windows.Forms.Panel();
this.panMenu.SuspendLayout();
+ this.penBanner.SuspendLayout();
+ this.panDev.SuspendLayout();
+ ((System.ComponentModel.ISupportInitialize)(this.picIconDev)).BeginInit();
+ this.panSetting.SuspendLayout();
+ ((System.ComponentModel.ISupportInitialize)(this.picIconSetting)).BeginInit();
this.panStatus.SuspendLayout();
((System.ComponentModel.ISupportInitialize)(this.picIconStatus)).BeginInit();
+ this.panData.SuspendLayout();
+ ((System.ComponentModel.ISupportInitialize)(this.picIconData)).BeginInit();
this.panHome.SuspendLayout();
((System.ComponentModel.ISupportInitialize)(this.picIconHome)).BeginInit();
- this.penBanner.SuspendLayout();
+ this.panMeasure.SuspendLayout();
+ ((System.ComponentModel.ISupportInitialize)(this.picIconMeasure)).BeginInit();
+ this.panCounter.SuspendLayout();
+ ((System.ComponentModel.ISupportInitialize)(this.picIconCounter)).BeginInit();
this.SuspendLayout();
//
// panMenu
//
this.panMenu.BackColor = System.Drawing.Color.White;
+ this.panMenu.Controls.Add(this.panDev);
+ this.panMenu.Controls.Add(this.panSetting);
this.panMenu.Controls.Add(this.panStatus);
+ this.panMenu.Controls.Add(this.panData);
this.panMenu.Controls.Add(this.panHome);
- this.panMenu.Controls.Add(this.labStatusSelected);
+ this.panMenu.Controls.Add(this.panMeasure);
+ this.panMenu.Controls.Add(this.panCounter);
this.panMenu.Location = new System.Drawing.Point(0, 64);
this.panMenu.Name = "panMenu";
this.panMenu.Size = new System.Drawing.Size(1024, 50);
this.panMenu.TabIndex = 1;
//
- // panStatus
- //
- this.panStatus.Back = System.Drawing.Color.Empty;
- this.panStatus.BackColor = System.Drawing.Color.Transparent;
- this.panStatus.Controls.Add(this.labStatusText);
- this.panStatus.Controls.Add(this.picIconStatus);
- this.panStatus.Location = new System.Drawing.Point(160, 0);
- this.panStatus.MatrixRound = 8;
- this.panStatus.Name = "panStatus";
- this.panStatus.Size = new System.Drawing.Size(130, 47);
- this.panStatus.TabIndex = 1;
- this.panStatus.Click += new System.EventHandler(this.panStatus_Click);
- this.panStatus.MouseLeave += new System.EventHandler(this.panStatus_MouseLeave);
- this.panStatus.MouseHover += new System.EventHandler(this.panStatus_MouseHover);
- //
- // labStatusText
- //
- this.labStatusText.BackColor = System.Drawing.Color.Transparent;
- this.labStatusText.Cursor = System.Windows.Forms.Cursors.Hand;
- this.labStatusText.Font = new System.Drawing.Font("微软雅黑", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
- this.labStatusText.ForeColor = System.Drawing.SystemColors.ControlText;
- this.labStatusText.Location = new System.Drawing.Point(35, 0);
- this.labStatusText.Margin = new System.Windows.Forms.Padding(0);
- this.labStatusText.Name = "labStatusText";
- this.labStatusText.Size = new System.Drawing.Size(85, 47);
- this.labStatusText.TabIndex = 2;
- this.labStatusText.Text = "基准状态";
- this.labStatusText.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
- this.labStatusText.Click += new System.EventHandler(this.panStatus_Click);
- this.labStatusText.MouseLeave += new System.EventHandler(this.panStatus_MouseLeave);
- this.labStatusText.MouseHover += new System.EventHandler(this.panStatus_MouseHover);
- //
- // picIconStatus
- //
- this.picIconStatus.BackgroundImage = global::Casic.Birmm.RbFreqStandMeasure.Properties.Resources.icon_status;
- this.picIconStatus.BackgroundImageLayout = System.Windows.Forms.ImageLayout.Zoom;
- this.picIconStatus.Location = new System.Drawing.Point(10, 11);
- this.picIconStatus.Name = "picIconStatus";
- this.picIconStatus.Size = new System.Drawing.Size(25, 25);
- this.picIconStatus.TabIndex = 1;
- this.picIconStatus.TabStop = false;
- this.picIconStatus.Click += new System.EventHandler(this.panStatus_Click);
- this.picIconStatus.MouseLeave += new System.EventHandler(this.panStatus_MouseLeave);
- this.picIconStatus.MouseHover += new System.EventHandler(this.panStatus_MouseHover);
- //
- // panHome
- //
- this.panHome.Back = System.Drawing.Color.Empty;
- this.panHome.Controls.Add(this.labHomeText);
- this.panHome.Controls.Add(this.picIconHome);
- this.panHome.Controls.Add(this.labHomeSelected);
- this.panHome.Cursor = System.Windows.Forms.Cursors.Hand;
- this.panHome.Location = new System.Drawing.Point(30, 0);
- this.panHome.MatrixRound = 8;
- this.panHome.Name = "panHome";
- this.panHome.Size = new System.Drawing.Size(100, 50);
- this.panHome.TabIndex = 0;
- this.panHome.Click += new System.EventHandler(this.panHome_Click);
- this.panHome.MouseLeave += new System.EventHandler(this.panHome_MouseLeave);
- this.panHome.MouseHover += new System.EventHandler(this.panHome_MouseHover);
- //
- // labHomeText
- //
- this.labHomeText.BackColor = System.Drawing.Color.Transparent;
- this.labHomeText.Font = new System.Drawing.Font("微软雅黑", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
- this.labHomeText.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(18)))), ((int)(((byte)(150)))), ((int)(((byte)(219)))));
- this.labHomeText.Location = new System.Drawing.Point(35, 0);
- this.labHomeText.Margin = new System.Windows.Forms.Padding(0);
- this.labHomeText.Name = "labHomeText";
- this.labHomeText.Size = new System.Drawing.Size(55, 47);
- this.labHomeText.TabIndex = 2;
- this.labHomeText.Text = "首页";
- this.labHomeText.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
- this.labHomeText.Click += new System.EventHandler(this.panHome_Click);
- this.labHomeText.MouseLeave += new System.EventHandler(this.panHome_MouseLeave);
- this.labHomeText.MouseHover += new System.EventHandler(this.panHome_MouseHover);
- //
- // picIconHome
- //
- this.picIconHome.BackColor = System.Drawing.Color.Transparent;
- this.picIconHome.BackgroundImage = global::Casic.Birmm.RbFreqStandMeasure.Properties.Resources.icon_home_selected;
- this.picIconHome.BackgroundImageLayout = System.Windows.Forms.ImageLayout.Zoom;
- this.picIconHome.Location = new System.Drawing.Point(10, 11);
- this.picIconHome.Name = "picIconHome";
- this.picIconHome.Size = new System.Drawing.Size(25, 25);
- this.picIconHome.TabIndex = 1;
- this.picIconHome.TabStop = false;
- this.picIconHome.Click += new System.EventHandler(this.panHome_Click);
- this.picIconHome.MouseLeave += new System.EventHandler(this.panHome_MouseLeave);
- this.picIconHome.MouseHover += new System.EventHandler(this.panHome_MouseHover);
- //
- // labHomeSelected
- //
- this.labHomeSelected.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(18)))), ((int)(((byte)(150)))), ((int)(((byte)(219)))));
- this.labHomeSelected.Location = new System.Drawing.Point(0, 47);
- this.labHomeSelected.Name = "labHomeSelected";
- this.labHomeSelected.Size = new System.Drawing.Size(100, 3);
- this.labHomeSelected.TabIndex = 0;
- //
- // labStatusSelected
- //
- this.labStatusSelected.BackColor = System.Drawing.Color.Transparent;
- this.labStatusSelected.Location = new System.Drawing.Point(160, 47);
- this.labStatusSelected.Margin = new System.Windows.Forms.Padding(0);
- this.labStatusSelected.Name = "labStatusSelected";
- this.labStatusSelected.Size = new System.Drawing.Size(130, 3);
- this.labStatusSelected.TabIndex = 0;
- //
// penBanner
//
this.penBanner.BackgroundImage = global::Casic.Birmm.RbFreqStandMeasure.Properties.Resources.bg_banner;
this.penBanner.BackgroundImageLayout = System.Windows.Forms.ImageLayout.Stretch;
+ this.penBanner.Controls.Add(this.btnMinSys);
this.penBanner.Controls.Add(this.btnExitSys);
this.penBanner.Controls.Add(this.labTitle);
this.penBanner.Location = new System.Drawing.Point(0, 0);
@@ -180,6 +109,23 @@
this.penBanner.TabIndex = 0;
this.penBanner.MouseDown += new System.Windows.Forms.MouseEventHandler(this.RbFreqStdMeas_MouseDown);
//
+ // btnMinSys
+ //
+ this.btnMinSys.BackColor = System.Drawing.Color.Transparent;
+ this.btnMinSys.BackgroundImage = global::Casic.Birmm.RbFreqStandMeasure.Properties.Resources.icon_min;
+ this.btnMinSys.BackgroundImageLayout = System.Windows.Forms.ImageLayout.Stretch;
+ this.btnMinSys.FlatAppearance.BorderSize = 0;
+ this.btnMinSys.FlatStyle = System.Windows.Forms.FlatStyle.Flat;
+ this.btnMinSys.ForeColor = System.Drawing.SystemColors.ControlDarkDark;
+ this.btnMinSys.Location = new System.Drawing.Point(944, 22);
+ this.btnMinSys.Margin = new System.Windows.Forms.Padding(0);
+ this.btnMinSys.Name = "btnMinSys";
+ this.btnMinSys.Size = new System.Drawing.Size(20, 20);
+ this.btnMinSys.TabIndex = 1;
+ this.btnMinSys.UseVisualStyleBackColor = false;
+ this.btnMinSys.Click += new System.EventHandler(this.btnMinSys_Click);
+ this.btnMinSys.MouseHover += new System.EventHandler(this.btnMinSys_MouseHover);
+ //
// btnExitSys
//
this.btnExitSys.BackColor = System.Drawing.Color.Transparent;
@@ -200,7 +146,7 @@
// labTitle
//
this.labTitle.BackColor = System.Drawing.Color.Transparent;
- this.labTitle.Font = new System.Drawing.Font("微软雅黑", 15.75F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
+ this.labTitle.Font = new System.Drawing.Font("微软雅黑", 20F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Pixel, ((byte)(134)));
this.labTitle.ForeColor = System.Drawing.Color.White;
this.labTitle.Location = new System.Drawing.Point(30, 16);
this.labTitle.Name = "labTitle";
@@ -209,11 +155,404 @@
this.labTitle.Text = "铷原子频标比对测量软件";
this.labTitle.TextAlign = System.Drawing.ContentAlignment.MiddleLeft;
//
+ // panDev
+ //
+ this.panDev.Back = System.Drawing.Color.Empty;
+ this.panDev.Controls.Add(this.labDevText);
+ this.panDev.Controls.Add(this.labDevSelected);
+ this.panDev.Controls.Add(this.picIconDev);
+ this.panDev.Location = new System.Drawing.Point(214, 0);
+ this.panDev.MatrixRound = 8;
+ this.panDev.Name = "panDev";
+ this.panDev.Size = new System.Drawing.Size(141, 50);
+ this.panDev.TabIndex = 2;
+ this.panDev.Click += new System.EventHandler(this.panDev_Click);
+ this.panDev.MouseLeave += new System.EventHandler(this.panDev_MouseLeave);
+ this.panDev.MouseHover += new System.EventHandler(this.panDev_MouseHover);
+ //
+ // labDevText
+ //
+ this.labDevText.BackColor = System.Drawing.Color.Transparent;
+ this.labDevText.Cursor = System.Windows.Forms.Cursors.Hand;
+ this.labDevText.Font = new System.Drawing.Font("微软雅黑", 16F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Pixel, ((byte)(134)));
+ this.labDevText.ForeColor = System.Drawing.SystemColors.ControlText;
+ this.labDevText.Location = new System.Drawing.Point(30, 14);
+ this.labDevText.Margin = new System.Windows.Forms.Padding(0);
+ this.labDevText.Name = "labDevText";
+ this.labDevText.Size = new System.Drawing.Size(106, 20);
+ this.labDevText.TabIndex = 2;
+ this.labDevText.Text = "送检仪器管理";
+ this.labDevText.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
+ this.labDevText.Click += new System.EventHandler(this.panDev_Click);
+ this.labDevText.MouseLeave += new System.EventHandler(this.panDev_MouseLeave);
+ this.labDevText.MouseHover += new System.EventHandler(this.panDev_MouseHover);
+ //
+ // labDevSelected
+ //
+ this.labDevSelected.BackColor = System.Drawing.Color.Transparent;
+ this.labDevSelected.Location = new System.Drawing.Point(8, 48);
+ this.labDevSelected.Margin = new System.Windows.Forms.Padding(0);
+ this.labDevSelected.Name = "labDevSelected";
+ this.labDevSelected.Size = new System.Drawing.Size(121, 2);
+ this.labDevSelected.TabIndex = 3;
+ //
+ // picIconDev
+ //
+ this.picIconDev.BackColor = System.Drawing.Color.Transparent;
+ this.picIconDev.BackgroundImage = global::Casic.Birmm.RbFreqStandMeasure.Properties.Resources.icon_dev;
+ this.picIconDev.BackgroundImageLayout = System.Windows.Forms.ImageLayout.Zoom;
+ this.picIconDev.Location = new System.Drawing.Point(10, 14);
+ this.picIconDev.Name = "picIconDev";
+ this.picIconDev.Size = new System.Drawing.Size(20, 20);
+ this.picIconDev.TabIndex = 1;
+ this.picIconDev.TabStop = false;
+ this.picIconDev.Click += new System.EventHandler(this.panDev_Click);
+ this.picIconDev.MouseLeave += new System.EventHandler(this.panDev_MouseLeave);
+ this.picIconDev.MouseHover += new System.EventHandler(this.panDev_MouseHover);
+ //
+ // panSetting
+ //
+ this.panSetting.Back = System.Drawing.Color.Empty;
+ this.panSetting.Controls.Add(this.labSettingSelected);
+ this.panSetting.Controls.Add(this.labSettingText);
+ this.panSetting.Controls.Add(this.picIconSetting);
+ this.panSetting.Location = new System.Drawing.Point(879, 0);
+ this.panSetting.MatrixRound = 8;
+ this.panSetting.Name = "panSetting";
+ this.panSetting.Size = new System.Drawing.Size(109, 50);
+ this.panSetting.TabIndex = 2;
+ this.panSetting.Click += new System.EventHandler(this.panSetting_Click);
+ this.panSetting.MouseLeave += new System.EventHandler(this.panSetting_MouseLeave);
+ this.panSetting.MouseHover += new System.EventHandler(this.panSetting_MouseHover);
+ //
+ // labSettingSelected
+ //
+ this.labSettingSelected.BackColor = System.Drawing.Color.Transparent;
+ this.labSettingSelected.Location = new System.Drawing.Point(10, 48);
+ this.labSettingSelected.Margin = new System.Windows.Forms.Padding(0);
+ this.labSettingSelected.Name = "labSettingSelected";
+ this.labSettingSelected.Size = new System.Drawing.Size(89, 2);
+ this.labSettingSelected.TabIndex = 4;
+ //
+ // labSettingText
+ //
+ this.labSettingText.BackColor = System.Drawing.Color.Transparent;
+ this.labSettingText.Cursor = System.Windows.Forms.Cursors.Hand;
+ this.labSettingText.Font = new System.Drawing.Font("微软雅黑", 16F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Pixel, ((byte)(134)));
+ this.labSettingText.ForeColor = System.Drawing.SystemColors.ControlText;
+ this.labSettingText.Location = new System.Drawing.Point(30, 14);
+ this.labSettingText.Margin = new System.Windows.Forms.Padding(0);
+ this.labSettingText.Name = "labSettingText";
+ this.labSettingText.Size = new System.Drawing.Size(74, 20);
+ this.labSettingText.TabIndex = 2;
+ this.labSettingText.Text = "系统设置";
+ this.labSettingText.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
+ this.labSettingText.Click += new System.EventHandler(this.panSetting_Click);
+ this.labSettingText.MouseLeave += new System.EventHandler(this.panSetting_MouseLeave);
+ this.labSettingText.MouseHover += new System.EventHandler(this.panSetting_MouseHover);
+ //
+ // picIconSetting
+ //
+ this.picIconSetting.BackColor = System.Drawing.Color.Transparent;
+ this.picIconSetting.BackgroundImage = global::Casic.Birmm.RbFreqStandMeasure.Properties.Resources.icon_setting;
+ this.picIconSetting.BackgroundImageLayout = System.Windows.Forms.ImageLayout.Zoom;
+ this.picIconSetting.Location = new System.Drawing.Point(10, 14);
+ this.picIconSetting.Name = "picIconSetting";
+ this.picIconSetting.Size = new System.Drawing.Size(20, 20);
+ this.picIconSetting.TabIndex = 1;
+ this.picIconSetting.TabStop = false;
+ this.picIconSetting.Click += new System.EventHandler(this.panSetting_Click);
+ this.picIconSetting.MouseLeave += new System.EventHandler(this.panSetting_MouseLeave);
+ this.picIconSetting.MouseHover += new System.EventHandler(this.panSetting_MouseHover);
+ //
+ // panStatus
+ //
+ this.panStatus.Back = System.Drawing.Color.Empty;
+ this.panStatus.BackColor = System.Drawing.Color.Transparent;
+ this.panStatus.Controls.Add(this.labStatusText);
+ this.panStatus.Controls.Add(this.picIconStatus);
+ this.panStatus.Controls.Add(this.labStatusSelected);
+ this.panStatus.Location = new System.Drawing.Point(101, 0);
+ this.panStatus.MatrixRound = 8;
+ this.panStatus.Name = "panStatus";
+ this.panStatus.Size = new System.Drawing.Size(109, 50);
+ this.panStatus.TabIndex = 1;
+ this.panStatus.Click += new System.EventHandler(this.panStatus_Click);
+ this.panStatus.MouseLeave += new System.EventHandler(this.panStatus_MouseLeave);
+ this.panStatus.MouseHover += new System.EventHandler(this.panStatus_MouseHover);
+ //
+ // labStatusText
+ //
+ this.labStatusText.BackColor = System.Drawing.Color.Transparent;
+ this.labStatusText.Cursor = System.Windows.Forms.Cursors.Hand;
+ this.labStatusText.Font = new System.Drawing.Font("微软雅黑", 16F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Pixel, ((byte)(134)));
+ this.labStatusText.ForeColor = System.Drawing.SystemColors.ControlText;
+ this.labStatusText.Location = new System.Drawing.Point(30, 14);
+ this.labStatusText.Margin = new System.Windows.Forms.Padding(0);
+ this.labStatusText.Name = "labStatusText";
+ this.labStatusText.Size = new System.Drawing.Size(74, 20);
+ this.labStatusText.TabIndex = 2;
+ this.labStatusText.Text = "基准状态";
+ this.labStatusText.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
+ this.labStatusText.Click += new System.EventHandler(this.panStatus_Click);
+ this.labStatusText.MouseLeave += new System.EventHandler(this.panStatus_MouseLeave);
+ this.labStatusText.MouseHover += new System.EventHandler(this.panStatus_MouseHover);
+ //
+ // picIconStatus
+ //
+ this.picIconStatus.BackgroundImage = global::Casic.Birmm.RbFreqStandMeasure.Properties.Resources.icon_status;
+ this.picIconStatus.BackgroundImageLayout = System.Windows.Forms.ImageLayout.Zoom;
+ this.picIconStatus.Location = new System.Drawing.Point(10, 14);
+ this.picIconStatus.Name = "picIconStatus";
+ this.picIconStatus.Size = new System.Drawing.Size(20, 20);
+ this.picIconStatus.TabIndex = 1;
+ this.picIconStatus.TabStop = false;
+ this.picIconStatus.Click += new System.EventHandler(this.panStatus_Click);
+ this.picIconStatus.MouseLeave += new System.EventHandler(this.panStatus_MouseLeave);
+ this.picIconStatus.MouseHover += new System.EventHandler(this.panStatus_MouseHover);
+ //
+ // labStatusSelected
+ //
+ this.labStatusSelected.BackColor = System.Drawing.Color.Transparent;
+ this.labStatusSelected.Location = new System.Drawing.Point(10, 48);
+ this.labStatusSelected.Margin = new System.Windows.Forms.Padding(0);
+ this.labStatusSelected.Name = "labStatusSelected";
+ this.labStatusSelected.Size = new System.Drawing.Size(89, 2);
+ this.labStatusSelected.TabIndex = 0;
+ //
+ // panData
+ //
+ this.panData.Back = System.Drawing.Color.Empty;
+ this.panData.Controls.Add(this.labDataSelected);
+ this.panData.Controls.Add(this.labDataText);
+ this.panData.Controls.Add(this.picIconData);
+ this.panData.Location = new System.Drawing.Point(765, 0);
+ this.panData.MatrixRound = 8;
+ this.panData.Name = "panData";
+ this.panData.Size = new System.Drawing.Size(109, 50);
+ this.panData.TabIndex = 2;
+ this.panData.Click += new System.EventHandler(this.panData_Click);
+ this.panData.MouseLeave += new System.EventHandler(this.panData_MouseLeave);
+ this.panData.MouseHover += new System.EventHandler(this.panData_MouseHover);
+ //
+ // labDataSelected
+ //
+ this.labDataSelected.BackColor = System.Drawing.Color.Transparent;
+ this.labDataSelected.Location = new System.Drawing.Point(10, 48);
+ this.labDataSelected.Margin = new System.Windows.Forms.Padding(0);
+ this.labDataSelected.Name = "labDataSelected";
+ this.labDataSelected.Size = new System.Drawing.Size(89, 2);
+ this.labDataSelected.TabIndex = 3;
+ //
+ // labDataText
+ //
+ this.labDataText.BackColor = System.Drawing.Color.Transparent;
+ this.labDataText.Cursor = System.Windows.Forms.Cursors.Hand;
+ this.labDataText.Font = new System.Drawing.Font("微软雅黑", 16F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Pixel, ((byte)(134)));
+ this.labDataText.ForeColor = System.Drawing.SystemColors.ControlText;
+ this.labDataText.Location = new System.Drawing.Point(30, 14);
+ this.labDataText.Margin = new System.Windows.Forms.Padding(0);
+ this.labDataText.Name = "labDataText";
+ this.labDataText.Size = new System.Drawing.Size(74, 20);
+ this.labDataText.TabIndex = 2;
+ this.labDataText.Text = "数据管理";
+ this.labDataText.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
+ this.labDataText.Click += new System.EventHandler(this.panData_Click);
+ this.labDataText.MouseLeave += new System.EventHandler(this.panData_MouseLeave);
+ this.labDataText.MouseHover += new System.EventHandler(this.panData_MouseHover);
+ //
+ // picIconData
+ //
+ this.picIconData.BackColor = System.Drawing.Color.Transparent;
+ this.picIconData.BackgroundImage = global::Casic.Birmm.RbFreqStandMeasure.Properties.Resources.icon_data;
+ this.picIconData.BackgroundImageLayout = System.Windows.Forms.ImageLayout.Zoom;
+ this.picIconData.Location = new System.Drawing.Point(10, 14);
+ this.picIconData.Name = "picIconData";
+ this.picIconData.Size = new System.Drawing.Size(20, 20);
+ this.picIconData.TabIndex = 1;
+ this.picIconData.TabStop = false;
+ this.picIconData.Click += new System.EventHandler(this.panData_Click);
+ this.picIconData.MouseLeave += new System.EventHandler(this.panData_MouseLeave);
+ this.picIconData.MouseHover += new System.EventHandler(this.panData_MouseHover);
+ //
+ // panHome
+ //
+ this.panHome.Back = System.Drawing.Color.Empty;
+ this.panHome.Controls.Add(this.labHomeText);
+ this.panHome.Controls.Add(this.picIconHome);
+ this.panHome.Controls.Add(this.labHomeSelected);
+ this.panHome.Cursor = System.Windows.Forms.Cursors.Hand;
+ this.panHome.Location = new System.Drawing.Point(20, 0);
+ this.panHome.MatrixRound = 8;
+ this.panHome.Name = "panHome";
+ this.panHome.Size = new System.Drawing.Size(75, 50);
+ this.panHome.TabIndex = 0;
+ this.panHome.Click += new System.EventHandler(this.panHome_Click);
+ this.panHome.MouseLeave += new System.EventHandler(this.panHome_MouseLeave);
+ this.panHome.MouseHover += new System.EventHandler(this.panHome_MouseHover);
+ //
+ // labHomeText
+ //
+ this.labHomeText.BackColor = System.Drawing.Color.Transparent;
+ this.labHomeText.Font = new System.Drawing.Font("微软雅黑", 16F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Pixel, ((byte)(134)));
+ this.labHomeText.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(18)))), ((int)(((byte)(150)))), ((int)(((byte)(219)))));
+ this.labHomeText.Location = new System.Drawing.Point(30, 14);
+ this.labHomeText.Margin = new System.Windows.Forms.Padding(0);
+ this.labHomeText.Name = "labHomeText";
+ this.labHomeText.Size = new System.Drawing.Size(42, 20);
+ this.labHomeText.TabIndex = 2;
+ this.labHomeText.Text = "首页";
+ this.labHomeText.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
+ this.labHomeText.Click += new System.EventHandler(this.panHome_Click);
+ this.labHomeText.MouseLeave += new System.EventHandler(this.panHome_MouseLeave);
+ this.labHomeText.MouseHover += new System.EventHandler(this.panHome_MouseHover);
+ //
+ // picIconHome
+ //
+ this.picIconHome.BackColor = System.Drawing.Color.Transparent;
+ this.picIconHome.BackgroundImage = global::Casic.Birmm.RbFreqStandMeasure.Properties.Resources.icon_home_selected;
+ this.picIconHome.BackgroundImageLayout = System.Windows.Forms.ImageLayout.Zoom;
+ this.picIconHome.Location = new System.Drawing.Point(10, 14);
+ this.picIconHome.Margin = new System.Windows.Forms.Padding(0);
+ this.picIconHome.Name = "picIconHome";
+ this.picIconHome.Size = new System.Drawing.Size(20, 20);
+ this.picIconHome.TabIndex = 1;
+ this.picIconHome.TabStop = false;
+ this.picIconHome.Click += new System.EventHandler(this.panHome_Click);
+ this.picIconHome.MouseLeave += new System.EventHandler(this.panHome_MouseLeave);
+ this.picIconHome.MouseHover += new System.EventHandler(this.panHome_MouseHover);
+ //
+ // labHomeSelected
+ //
+ this.labHomeSelected.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(18)))), ((int)(((byte)(150)))), ((int)(((byte)(219)))));
+ this.labHomeSelected.Location = new System.Drawing.Point(10, 48);
+ this.labHomeSelected.Name = "labHomeSelected";
+ this.labHomeSelected.Size = new System.Drawing.Size(55, 2);
+ this.labHomeSelected.TabIndex = 0;
+ //
+ // panMeasure
+ //
+ this.panMeasure.Back = System.Drawing.Color.Empty;
+ this.panMeasure.Controls.Add(this.labMeasureText);
+ this.panMeasure.Controls.Add(this.labMeasureSelected);
+ this.panMeasure.Controls.Add(this.picIconMeasure);
+ this.panMeasure.Location = new System.Drawing.Point(619, 0);
+ this.panMeasure.MatrixRound = 8;
+ this.panMeasure.Name = "panMeasure";
+ this.panMeasure.Size = new System.Drawing.Size(141, 50);
+ this.panMeasure.TabIndex = 2;
+ this.panMeasure.Click += new System.EventHandler(this.panMeasure_Click);
+ this.panMeasure.MouseLeave += new System.EventHandler(this.panMeasure_MouseLeave);
+ this.panMeasure.MouseHover += new System.EventHandler(this.panMeasure_MouseHover);
+ //
+ // labMeasureText
+ //
+ this.labMeasureText.BackColor = System.Drawing.Color.Transparent;
+ this.labMeasureText.Cursor = System.Windows.Forms.Cursors.Hand;
+ this.labMeasureText.Font = new System.Drawing.Font("微软雅黑", 16F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Pixel, ((byte)(134)));
+ this.labMeasureText.ForeColor = System.Drawing.SystemColors.ControlText;
+ this.labMeasureText.Location = new System.Drawing.Point(30, 14);
+ this.labMeasureText.Margin = new System.Windows.Forms.Padding(0);
+ this.labMeasureText.Name = "labMeasureText";
+ this.labMeasureText.Size = new System.Drawing.Size(106, 20);
+ this.labMeasureText.TabIndex = 2;
+ this.labMeasureText.Text = "计量信息管理";
+ this.labMeasureText.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
+ this.labMeasureText.Click += new System.EventHandler(this.panMeasure_Click);
+ this.labMeasureText.MouseLeave += new System.EventHandler(this.panMeasure_MouseLeave);
+ this.labMeasureText.MouseHover += new System.EventHandler(this.panMeasure_MouseHover);
+ //
+ // labMeasureSelected
+ //
+ this.labMeasureSelected.BackColor = System.Drawing.Color.Transparent;
+ this.labMeasureSelected.Location = new System.Drawing.Point(10, 48);
+ this.labMeasureSelected.Margin = new System.Windows.Forms.Padding(0);
+ this.labMeasureSelected.Name = "labMeasureSelected";
+ this.labMeasureSelected.Size = new System.Drawing.Size(121, 2);
+ this.labMeasureSelected.TabIndex = 3;
+ //
+ // picIconMeasure
+ //
+ this.picIconMeasure.BackColor = System.Drawing.Color.Transparent;
+ this.picIconMeasure.BackgroundImage = global::Casic.Birmm.RbFreqStandMeasure.Properties.Resources.icon_measure;
+ this.picIconMeasure.BackgroundImageLayout = System.Windows.Forms.ImageLayout.Zoom;
+ this.picIconMeasure.Location = new System.Drawing.Point(10, 14);
+ this.picIconMeasure.Name = "picIconMeasure";
+ this.picIconMeasure.Size = new System.Drawing.Size(20, 20);
+ this.picIconMeasure.TabIndex = 1;
+ this.picIconMeasure.TabStop = false;
+ this.picIconMeasure.Click += new System.EventHandler(this.panMeasure_Click);
+ this.picIconMeasure.MouseLeave += new System.EventHandler(this.panMeasure_MouseLeave);
+ this.picIconMeasure.MouseHover += new System.EventHandler(this.panMeasure_MouseHover);
+ //
+ // panCounter
+ //
+ this.panCounter.Back = System.Drawing.Color.Empty;
+ this.panCounter.Controls.Add(this.labCounterSelected);
+ this.panCounter.Controls.Add(this.labCounterText);
+ this.panCounter.Controls.Add(this.picIconCounter);
+ this.panCounter.Location = new System.Drawing.Point(360, 0);
+ this.panCounter.MatrixRound = 8;
+ this.panCounter.Name = "panCounter";
+ this.panCounter.Size = new System.Drawing.Size(254, 50);
+ this.panCounter.TabIndex = 2;
+ this.panCounter.Click += new System.EventHandler(this.panCounter_Click);
+ this.panCounter.MouseLeave += new System.EventHandler(this.panCounter_MouseLeave);
+ this.panCounter.MouseHover += new System.EventHandler(this.panCounter_MouseHover);
+ //
+ // labCounterSelected
+ //
+ this.labCounterSelected.BackColor = System.Drawing.Color.Transparent;
+ this.labCounterSelected.Location = new System.Drawing.Point(10, 48);
+ this.labCounterSelected.Margin = new System.Windows.Forms.Padding(0);
+ this.labCounterSelected.Name = "labCounterSelected";
+ this.labCounterSelected.Size = new System.Drawing.Size(233, 2);
+ this.labCounterSelected.TabIndex = 4;
+ //
+ // labCounterText
+ //
+ this.labCounterText.BackColor = System.Drawing.Color.Transparent;
+ this.labCounterText.Cursor = System.Windows.Forms.Cursors.Hand;
+ this.labCounterText.Font = new System.Drawing.Font("微软雅黑", 16F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Pixel, ((byte)(134)));
+ this.labCounterText.ForeColor = System.Drawing.SystemColors.ControlText;
+ this.labCounterText.Location = new System.Drawing.Point(30, 14);
+ this.labCounterText.Margin = new System.Windows.Forms.Padding(0);
+ this.labCounterText.Name = "labCounterText";
+ this.labCounterText.Size = new System.Drawing.Size(218, 20);
+ this.labCounterText.TabIndex = 2;
+ this.labCounterText.Text = "频率计数器范围及灵敏度测量";
+ this.labCounterText.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
+ this.labCounterText.Click += new System.EventHandler(this.panCounter_Click);
+ this.labCounterText.MouseLeave += new System.EventHandler(this.panCounter_MouseLeave);
+ this.labCounterText.MouseHover += new System.EventHandler(this.panCounter_MouseHover);
+ //
+ // picIconCounter
+ //
+ this.picIconCounter.BackColor = System.Drawing.Color.Transparent;
+ this.picIconCounter.BackgroundImage = global::Casic.Birmm.RbFreqStandMeasure.Properties.Resources.icon_counter;
+ this.picIconCounter.BackgroundImageLayout = System.Windows.Forms.ImageLayout.Zoom;
+ this.picIconCounter.Location = new System.Drawing.Point(10, 14);
+ this.picIconCounter.Name = "picIconCounter";
+ this.picIconCounter.Size = new System.Drawing.Size(20, 20);
+ this.picIconCounter.TabIndex = 1;
+ this.picIconCounter.TabStop = false;
+ this.picIconCounter.Click += new System.EventHandler(this.panCounter_Click);
+ this.picIconCounter.MouseLeave += new System.EventHandler(this.panCounter_MouseLeave);
+ this.picIconCounter.MouseHover += new System.EventHandler(this.panCounter_MouseHover);
+ //
+ // panelMain
+ //
+ this.panelMain.Location = new System.Drawing.Point(0, 114);
+ this.panelMain.Name = "panelMain";
+ this.panelMain.Size = new System.Drawing.Size(1024, 654);
+ this.panelMain.TabIndex = 2;
+ //
// RbFreqStdMeas
//
this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 12F);
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
this.ClientSize = new System.Drawing.Size(1024, 768);
+ this.Controls.Add(this.panelMain);
this.Controls.Add(this.panMenu);
this.Controls.Add(this.penBanner);
this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.None;
@@ -221,11 +560,21 @@
this.Text = "RbFreqStdMeas";
this.Load += new System.EventHandler(this.RbFreqStdMeas_Load);
this.panMenu.ResumeLayout(false);
+ this.penBanner.ResumeLayout(false);
+ this.panDev.ResumeLayout(false);
+ ((System.ComponentModel.ISupportInitialize)(this.picIconDev)).EndInit();
+ this.panSetting.ResumeLayout(false);
+ ((System.ComponentModel.ISupportInitialize)(this.picIconSetting)).EndInit();
this.panStatus.ResumeLayout(false);
((System.ComponentModel.ISupportInitialize)(this.picIconStatus)).EndInit();
+ this.panData.ResumeLayout(false);
+ ((System.ComponentModel.ISupportInitialize)(this.picIconData)).EndInit();
this.panHome.ResumeLayout(false);
((System.ComponentModel.ISupportInitialize)(this.picIconHome)).EndInit();
- this.penBanner.ResumeLayout(false);
+ this.panMeasure.ResumeLayout(false);
+ ((System.ComponentModel.ISupportInitialize)(this.picIconMeasure)).EndInit();
+ this.panCounter.ResumeLayout(false);
+ ((System.ComponentModel.ISupportInitialize)(this.picIconCounter)).EndInit();
this.ResumeLayout(false);
}
@@ -244,5 +593,27 @@
private RoundPanel panStatus;
private RoundPanel panHome;
private System.Windows.Forms.Label labStatusSelected;
+ private RoundPanel panDev;
+ private System.Windows.Forms.PictureBox picIconDev;
+ private System.Windows.Forms.Label labDevText;
+ private System.Windows.Forms.Label labMeasureSelected;
+ private RoundPanel panCounter;
+ private System.Windows.Forms.Label labCounterText;
+ private System.Windows.Forms.PictureBox picIconCounter;
+ private RoundPanel panMeasure;
+ private System.Windows.Forms.Label labMeasureText;
+ private System.Windows.Forms.PictureBox picIconMeasure;
+ private RoundPanel panData;
+ private System.Windows.Forms.Label labDataText;
+ private System.Windows.Forms.PictureBox picIconData;
+ private RoundPanel panSetting;
+ private System.Windows.Forms.Label labSettingText;
+ private System.Windows.Forms.PictureBox picIconSetting;
+ private System.Windows.Forms.Label labCounterSelected;
+ private System.Windows.Forms.Label labDevSelected;
+ private System.Windows.Forms.Label labDataSelected;
+ private System.Windows.Forms.Label labSettingSelected;
+ private System.Windows.Forms.Button btnMinSys;
+ private System.Windows.Forms.Panel panelMain;
}
}
\ No newline at end of file
diff --git a/RbFreqStandMeasure/RbFreqStdMeas.cs b/RbFreqStandMeasure/RbFreqStdMeas.cs
index 3858ddb..af980d7 100644
--- a/RbFreqStandMeasure/RbFreqStdMeas.cs
+++ b/RbFreqStandMeasure/RbFreqStdMeas.cs
@@ -1,13 +1,9 @@
-using Casic.Birmm.RbFreqStandMeasure.Properties;
+using Casic.Birmm.RbFreqStandMeasure.info;
+using Casic.Birmm.RbFreqStandMeasure.Properties;
+using Casic.Birmm.RbFreqStandMeasure.setting;
using System;
-using System.Collections.Generic;
-using System.ComponentModel;
-using System.Data;
using System.Drawing;
-using System.Linq;
-using System.Resources;
using System.Runtime.InteropServices;
-using System.Text;
using System.Windows.Forms;
namespace Casic.Birmm.RbFreqStandMeasure
@@ -15,7 +11,7 @@
public partial class RbFreqStdMeas : Form
{
- #region 无边框拖动效果
+ #region 无边框拖动效果/最小化窗口/关闭窗口
[DllImport("user32.dll")]//拖动无窗体的控件
public static extern bool ReleaseCapture();
[DllImport("user32.dll")]
@@ -30,9 +26,29 @@
ReleaseCapture();
SendMessage(this.Handle, WM_SYSCOMMAND, SC_MOVE + HTCAPTION, 0);
}
+ private void btnExitSys_Click(object sender, EventArgs e)
+ {
+ Application.Exit();
+ }
+ private void btnMinSys_Click(object sender, EventArgs e)
+ {
+ this.WindowState = FormWindowState.Minimized;
+ }
+ private void btnExitSys_MouseHover(object sender, EventArgs e)
+ {
+ ToolTip p = new ToolTip();
+ p.ShowAlways = true;
+ p.SetToolTip(this.btnExitSys, "退出");
+ }
+ private void btnMinSys_MouseHover(object sender, EventArgs e)
+ {
+ ToolTip p = new ToolTip();
+ p.ShowAlways = true;
+ p.SetToolTip(this.btnMinSys, "最小化");
+ }
#endregion
- private bool[] menuSelected = { true, false };
+ private bool[] menuSelected = { true, false, false, false, false, false, false };
// 按钮图标
private PictureBox[] menuPics;
// 按钮图标的资源名称(选中的资源名称在后面加上 _selected)
@@ -57,7 +73,7 @@
// 将当前按钮的效果设置为默认未选中
this.menuPics[index].BackgroundImage = (Bitmap)Resources.ResourceManager.GetObject(this.menuIconResources[index], null);
- this.menuLabels[index].ForeColor = ColorTranslator.FromHtml("#2C2C2C");
+ this.menuLabels[index].ForeColor = ColorTranslator.FromHtml("#333333");
this.menuUnderlines[index].BackColor = Color.Transparent;
}
@@ -79,13 +95,15 @@
LeaveHome();
// 重新设置所有按钮的状态
- this.menuSelected = new bool[] { true, false };
+ this.menuSelected = new bool[] { true, false, false, false, false, false, false };
// 将新选中的按钮设置为选中
this.picIconHome.BackgroundImage = (Bitmap)Resources.ResourceManager.GetObject("icon_home_selected", null);
- this.labHomeText.ForeColor = ColorTranslator.FromHtml("#1296db");
- this.labHomeSelected.BackColor = ColorTranslator.FromHtml("#1296db");
+ this.labHomeText.ForeColor = ColorTranslator.FromHtml("#3f84d7");
+ this.labHomeSelected.BackColor = ColorTranslator.FromHtml("#3f84d7");
+ // 切换至首页
+ switchMainPanel(0);
}
#endregion
@@ -107,12 +125,163 @@
LeaveStatus();
// 重新设置所有按钮的状态
- this.menuSelected = new bool[] { false, true };
+ this.menuSelected = new bool[] { false, true, false, false, false, false, false };
// 将新选中的按钮设置为选中
this.picIconStatus.BackgroundImage = (Bitmap) Resources.ResourceManager.GetObject("icon_status_selected", null);
- this.labStatusText.ForeColor = ColorTranslator.FromHtml("#1296db");
- this.labStatusSelected.BackColor = ColorTranslator.FromHtml("#1296db");
+ this.labStatusText.ForeColor = ColorTranslator.FromHtml("#3f84d7");
+ this.labStatusSelected.BackColor = ColorTranslator.FromHtml("#3f84d7");
+
+ // 切换到基准状态页面
+ switchMainPanel(1);
+ }
+ #endregion
+
+ #region 送检仪器按钮点击、移入/移出效果
+ private void HoverDev()
+ {
+ panDev.Back = ColorTranslator.FromHtml("#56a3f2");
+ }
+ private void LeaveDev()
+ {
+ panDev.Back = Color.Transparent;
+ }
+ private void SelectDev()
+ {
+ // 移除所有按钮的选中样式
+ this.ClearAllMenuSelected();
+
+ // 鼠标移入效果去掉
+ LeaveDev();
+
+ // 重新设置所有按钮的状态
+ this.menuSelected = new bool[] { false, false, true, false, false ,false ,false };
+
+ // 将新选中的按钮设置为选中
+ this.picIconDev.BackgroundImage = (Bitmap)Resources.ResourceManager.GetObject("icon_dev_selected", null);
+ this.labDevText.ForeColor = ColorTranslator.FromHtml("#3f84d7");
+ this.labDevSelected.BackColor = ColorTranslator.FromHtml("#3f84d7");
+
+ // 切换至待检仪器管理
+ switchMainPanel(2);
+ }
+ #endregion
+
+ #region 频率计数器测量点击、移入/移出效果
+ private void HoverCounter()
+ {
+ panCounter.Back = ColorTranslator.FromHtml("#56a3f2");
+ }
+ private void LeaveCounter()
+ {
+ panCounter.Back = Color.Transparent;
+ }
+ private void SelectCounter()
+ {
+ // 移除所有按钮的选中样式
+ this.ClearAllMenuSelected();
+
+ // 鼠标移入效果去掉
+ LeaveCounter();
+
+ // 重新设置所有按钮的状态
+ this.menuSelected = new bool[] { false, false, false, true, false, false, false };
+
+ // 将新选中的按钮设置为选中
+ this.picIconCounter.BackgroundImage = (Bitmap)Resources.ResourceManager.GetObject("icon_counter_selected", null);
+ this.labCounterText.ForeColor = ColorTranslator.FromHtml("#3f84d7");
+ this.labCounterSelected.BackColor = ColorTranslator.FromHtml("#3f84d7");
+ }
+ #endregion
+
+ #region 计量管理点击、移入/移出效果
+ private void HoverMeasure()
+ {
+ panMeasure.Back = ColorTranslator.FromHtml("#56a3f2");
+ }
+ private void LeaveMeasure()
+ {
+ panMeasure.Back = Color.Transparent;
+ }
+ private void SelectMeasure()
+ {
+ // 移除所有按钮的选中样式
+ this.ClearAllMenuSelected();
+
+ // 鼠标移入效果去掉
+ LeaveMeasure();
+
+ // 重新设置所有按钮的状态
+ this.menuSelected = new bool[] { false, false, false, false, true, false, false };
+
+ // 将新选中的按钮设置为选中
+ this.picIconMeasure.BackgroundImage = (Bitmap)Resources.ResourceManager.GetObject("icon_measure_selected", null);
+ this.labMeasureText.ForeColor = ColorTranslator.FromHtml("#3f84d7");
+ this.labMeasureSelected.BackColor = ColorTranslator.FromHtml("#3f84d7");
+
+ // 切换至计量信息管理
+ switchMainPanel(4);
+ }
+ #endregion
+
+ #region 数据管理点击、移入/移出效果
+ private void HoverData()
+ {
+ panData.Back = ColorTranslator.FromHtml("#56a3f2");
+ }
+ private void LeaveData()
+ {
+ panData.Back = Color.Transparent;
+ }
+ private void SelectData()
+ {
+ // 移除所有按钮的选中样式
+ this.ClearAllMenuSelected();
+
+ // 鼠标移入效果去掉
+ LeaveData();
+
+ // 重新设置所有按钮的状态
+ this.menuSelected = new bool[] { false, false, false, false, false, true, false };
+
+ // 将新选中的按钮设置为选中
+ this.picIconData.BackgroundImage = (Bitmap)Resources.ResourceManager.GetObject("icon_data_selected", null);
+ this.labDataText.ForeColor = ColorTranslator.FromHtml("#3f84d7");
+ this.labDataSelected.BackColor = ColorTranslator.FromHtml("#3f84d7");
+
+ // 弹出对话框进行数据备份与还原操作
+ DataBackupDlg dataDlg = new DataBackupDlg();
+ dataDlg.ShowDialog();
+ }
+ #endregion
+
+ #region 系统管理点击、移入/移出效果
+ private void HoverSetting()
+ {
+ panSetting.Back = ColorTranslator.FromHtml("#56a3f2");
+ }
+ private void LeaveSetting()
+ {
+ panSetting.Back = Color.Transparent;
+ }
+ private void SelectSetting()
+ {
+ // 移除所有按钮的选中样式
+ this.ClearAllMenuSelected();
+
+ // 鼠标移入效果去掉
+ LeaveSetting();
+
+ // 重新设置所有按钮的状态
+ this.menuSelected = new bool[] { false, false, false, false, false, false, true };
+
+ // 将新选中的按钮设置为选中
+ this.picIconSetting.BackgroundImage = (Bitmap)Resources.ResourceManager.GetObject("icon_setting_selected", null);
+ this.labSettingText.ForeColor = ColorTranslator.FromHtml("#3f84d7");
+ this.labSettingSelected.BackColor = ColorTranslator.FromHtml("#3f84d7");
+
+ // 切换到设置的界面
+ switchMainPanel(6);
}
#endregion
@@ -123,22 +292,13 @@
private void RbFreqStdMeas_Load(object sender, EventArgs e)
{
- this.menuPics = new PictureBox[] { this.picIconHome, this.picIconStatus };
- this.menuLabels = new Label[] { this.labHomeText, this.labStatusText };
- this.menuUnderlines = new Label[] { this.labHomeSelected, this.labStatusSelected };
- this.menuIconResources = new string[] { "icon_home", "icon_status" };
- }
+ this.menuPics = new PictureBox[] { this.picIconHome, this.picIconStatus, this.picIconDev, this.picIconCounter, this.picIconMeasure, this.picIconData, this.picIconSetting };
+ this.menuLabels = new Label[] { this.labHomeText, this.labStatusText, this.labDevText, this.labCounterText, this.labMeasureText, this.labDataText, this.labSettingText };
+ this.menuUnderlines = new Label[] { this.labHomeSelected, this.labStatusSelected, this.labDevSelected, this.labCounterSelected, this.labMeasureSelected, this.labDataSelected, this.labSettingSelected };
+ this.menuIconResources = new string[] { "icon_home", "icon_status", "icon_dev", "icon_counter", "icon_measure", "icon_data", "icon_setting" };
- private void btnExitSys_Click(object sender, EventArgs e)
- {
- Application.Exit();
- }
-
- private void btnExitSys_MouseHover(object sender, EventArgs e)
- {
- ToolTip p = new ToolTip();
- p.ShowAlways = true;
- p.SetToolTip(this.btnExitSys, "退出");
+ // 加载首页的内容
+ switchMainPanel(0);
}
private void panHome_Click(object sender, EventArgs e)
@@ -191,5 +351,169 @@
LeaveStatus();
}
}
+
+ private void panDev_Click(object sender, EventArgs e)
+ {
+ if (this.menuSelected[2] == false)
+ {
+ SelectDev();
+ }
+ }
+
+ private void panDev_MouseHover(object sender, EventArgs e)
+ {
+ if (this.menuSelected[2] == false)
+ {
+ HoverDev();
+ }
+ }
+
+ private void panDev_MouseLeave(object sender, EventArgs e)
+ {
+ if (this.menuSelected[2] == false)
+ {
+ LeaveDev();
+ }
+ }
+
+ private void panCounter_Click(object sender, EventArgs e)
+ {
+ if (this.menuSelected[3] == false)
+ {
+ SelectCounter();
+ }
+ }
+
+ private void panCounter_MouseHover(object sender, EventArgs e)
+ {
+ if (this.menuSelected[3] == false)
+ {
+ HoverCounter();
+ }
+ }
+
+ private void panCounter_MouseLeave(object sender, EventArgs e)
+ {
+ if (this.menuSelected[3] == false)
+ {
+ LeaveCounter();
+ }
+ }
+
+ private void panMeasure_Click(object sender, EventArgs e)
+ {
+ if (this.menuSelected[4] == false)
+ {
+ SelectMeasure();
+ }
+ }
+
+ private void panMeasure_MouseHover(object sender, EventArgs e)
+ {
+ if (this.menuSelected[4] == false)
+ {
+ HoverMeasure();
+ }
+ }
+
+ private void panMeasure_MouseLeave(object sender, EventArgs e)
+ {
+ if (this.menuSelected[4] == false)
+ {
+ LeaveMeasure();
+ }
+ }
+
+ private void panData_Click(object sender, EventArgs e)
+ {
+ if (this.menuSelected[5] == false)
+ {
+ SelectData();
+ }
+ }
+
+ private void panData_MouseHover(object sender, EventArgs e)
+ {
+ if (this.menuSelected[5] == false)
+ {
+ HoverData();
+ }
+ }
+
+ private void panData_MouseLeave(object sender, EventArgs e)
+ {
+ if (this.menuSelected[5] == false)
+ {
+ LeaveData();
+ }
+ }
+
+ private void panSetting_Click(object sender, EventArgs e)
+ {
+ if (this.menuSelected[6] == false)
+ {
+ SelectSetting();
+ }
+ }
+
+ private void panSetting_MouseHover(object sender, EventArgs e)
+ {
+ if (this.menuSelected[6] == false)
+ {
+ HoverSetting();
+ }
+ }
+
+ private void panSetting_MouseLeave(object sender, EventArgs e)
+ {
+ if (this.menuSelected[6] == false)
+ {
+ LeaveSetting();
+ }
+ }
+
+ private void switchMainPanel(int index)
+ {
+ this.panelMain.Controls.Clear();
+
+ switch (index)
+ {
+ case 0: // 首页
+ HomeCtrlForm home = new HomeCtrlForm();
+ home.Show();
+ this.panelMain.Controls.Add(home);
+ break;
+
+ case 1: // 基准状态
+ StatusCtrlForm statusForm = new StatusCtrlForm();
+ statusForm.Show();
+ this.panelMain.Controls.Add(statusForm);
+ break;
+
+ case 2: // 待检设备
+ InfoCtrlForm infoForm = new InfoCtrlForm();
+ infoForm.Show();
+ this.panelMain.Controls.Add(infoForm);
+ break;
+
+ case 3: // 频率计数器范围
+ break;
+
+ case 4: // 计量信息
+ DevTestedCtrlForm tested = new DevTestedCtrlForm();
+ tested.Show();
+ this.panelMain.Controls.Add(tested);
+ break;
+
+ case 6: // 设置
+ SettingCtrlForm settingForm = new SettingCtrlForm();
+ settingForm.Show();
+ this.panelMain.Controls.Add(settingForm);
+ break;
+
+ default:
+ break;
+ }
+ }
}
}
\ No newline at end of file
diff --git a/RbFreqStandMeasure/StatusCtrlForm.Designer.cs b/RbFreqStandMeasure/StatusCtrlForm.Designer.cs
index bf5071a..b4151fd 100644
--- a/RbFreqStandMeasure/StatusCtrlForm.Designer.cs
+++ b/RbFreqStandMeasure/StatusCtrlForm.Designer.cs
@@ -31,21 +31,34 @@
{
this.panelSite = new System.Windows.Forms.Panel();
this.label5 = new System.Windows.Forms.Label();
- this.panelStatus = new System.Windows.Forms.Panel();
+ this.panel3 = new System.Windows.Forms.Panel();
+ this.label8 = new System.Windows.Forms.Label();
+ this.label13 = new System.Windows.Forms.Label();
+ this.label12 = new System.Windows.Forms.Label();
+ this.label11 = new System.Windows.Forms.Label();
+ this.label9 = new System.Windows.Forms.Label();
+ this.label10 = new System.Windows.Forms.Label();
+ this.panel2 = new System.Windows.Forms.Panel();
this.label4 = new System.Windows.Forms.Label();
+ this.label7 = new System.Windows.Forms.Label();
+ this.label6 = new System.Windows.Forms.Label();
+ this.label1 = new System.Windows.Forms.Label();
+ this.panel1 = new System.Windows.Forms.Panel();
this.label3 = new System.Windows.Forms.Label();
this.label2 = new System.Windows.Forms.Label();
- this.label1 = new System.Windows.Forms.Label();
+ this.label14 = new System.Windows.Forms.Label();
this.panelSite.SuspendLayout();
- this.panelStatus.SuspendLayout();
+ this.panel3.SuspendLayout();
+ this.panel2.SuspendLayout();
+ this.panel1.SuspendLayout();
this.SuspendLayout();
//
// panelSite
//
this.panelSite.Controls.Add(this.label5);
- this.panelSite.Location = new System.Drawing.Point(200, 0);
+ this.panelSite.Location = new System.Drawing.Point(232, 0);
this.panelSite.Name = "panelSite";
- this.panelSite.Size = new System.Drawing.Size(800, 640);
+ this.panelSite.Size = new System.Drawing.Size(773, 640);
this.panelSite.TabIndex = 3;
//
// label5
@@ -57,67 +70,208 @@
this.label5.TabIndex = 0;
this.label5.Text = "卫星位置图";
//
- // panelStatus
+ // panel3
//
- this.panelStatus.BackColor = System.Drawing.SystemColors.Window;
- this.panelStatus.Controls.Add(this.label4);
- this.panelStatus.Controls.Add(this.label3);
- this.panelStatus.Controls.Add(this.label2);
- this.panelStatus.Controls.Add(this.label1);
- this.panelStatus.Location = new System.Drawing.Point(0, 0);
- this.panelStatus.Name = "panelStatus";
- this.panelStatus.Size = new System.Drawing.Size(200, 640);
- this.panelStatus.TabIndex = 2;
+ this.panel3.BackgroundImage = global::Casic.Birmm.RbFreqStandMeasure.Properties.Resources.bg_status_location;
+ this.panel3.Controls.Add(this.label8);
+ this.panel3.Controls.Add(this.label13);
+ this.panel3.Controls.Add(this.label12);
+ this.panel3.Controls.Add(this.label11);
+ this.panel3.Controls.Add(this.label9);
+ this.panel3.Controls.Add(this.label10);
+ this.panel3.Location = new System.Drawing.Point(6, 360);
+ this.panel3.Name = "panel3";
+ this.panel3.Size = new System.Drawing.Size(224, 293);
+ this.panel3.TabIndex = 6;
+ //
+ // label8
+ //
+ this.label8.BackColor = System.Drawing.Color.Transparent;
+ this.label8.Font = new System.Drawing.Font("微软雅黑", 14F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Pixel, ((byte)(134)));
+ this.label8.Location = new System.Drawing.Point(0, 20);
+ this.label8.Name = "label8";
+ this.label8.Size = new System.Drawing.Size(224, 25);
+ this.label8.TabIndex = 0;
+ this.label8.Text = "位置信息";
+ this.label8.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
+ //
+ // label13
+ //
+ this.label13.BackColor = System.Drawing.Color.Transparent;
+ this.label13.Font = new System.Drawing.Font("微软雅黑", 14F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Pixel, ((byte)(134)));
+ this.label13.Location = new System.Drawing.Point(0, 220);
+ this.label13.Margin = new System.Windows.Forms.Padding(0);
+ this.label13.Name = "label13";
+ this.label13.Size = new System.Drawing.Size(75, 25);
+ this.label13.TabIndex = 1;
+ this.label13.Text = "Z";
+ this.label13.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
+ //
+ // label12
+ //
+ this.label12.BackColor = System.Drawing.Color.Transparent;
+ this.label12.Font = new System.Drawing.Font("微软雅黑", 14F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Pixel, ((byte)(134)));
+ this.label12.Location = new System.Drawing.Point(0, 180);
+ this.label12.Margin = new System.Windows.Forms.Padding(0);
+ this.label12.Name = "label12";
+ this.label12.Size = new System.Drawing.Size(75, 25);
+ this.label12.TabIndex = 1;
+ this.label12.Text = "Y";
+ this.label12.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
+ //
+ // label11
+ //
+ this.label11.BackColor = System.Drawing.Color.Transparent;
+ this.label11.Font = new System.Drawing.Font("微软雅黑", 14F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Pixel, ((byte)(134)));
+ this.label11.Location = new System.Drawing.Point(0, 140);
+ this.label11.Margin = new System.Windows.Forms.Padding(0);
+ this.label11.Name = "label11";
+ this.label11.Size = new System.Drawing.Size(75, 25);
+ this.label11.TabIndex = 1;
+ this.label11.Text = "X";
+ this.label11.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
+ //
+ // label9
+ //
+ this.label9.BackColor = System.Drawing.Color.Transparent;
+ this.label9.Font = new System.Drawing.Font("微软雅黑", 14F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Pixel, ((byte)(134)));
+ this.label9.Location = new System.Drawing.Point(0, 60);
+ this.label9.Name = "label9";
+ this.label9.Size = new System.Drawing.Size(75, 25);
+ this.label9.TabIndex = 1;
+ this.label9.Text = "经度";
+ this.label9.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
+ //
+ // label10
+ //
+ this.label10.BackColor = System.Drawing.Color.Transparent;
+ this.label10.Font = new System.Drawing.Font("微软雅黑", 14F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Pixel, ((byte)(134)));
+ this.label10.Location = new System.Drawing.Point(0, 100);
+ this.label10.Margin = new System.Windows.Forms.Padding(0);
+ this.label10.Name = "label10";
+ this.label10.Size = new System.Drawing.Size(75, 25);
+ this.label10.TabIndex = 1;
+ this.label10.Text = "纬度";
+ this.label10.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
+ //
+ // panel2
+ //
+ this.panel2.BackgroundImage = global::Casic.Birmm.RbFreqStandMeasure.Properties.Resources.bg_status_time;
+ this.panel2.Controls.Add(this.label4);
+ this.panel2.Controls.Add(this.label7);
+ this.panel2.Controls.Add(this.label6);
+ this.panel2.Controls.Add(this.label1);
+ this.panel2.Location = new System.Drawing.Point(6, 160);
+ this.panel2.Name = "panel2";
+ this.panel2.Size = new System.Drawing.Size(224, 200);
+ this.panel2.TabIndex = 5;
//
// label4
//
- this.label4.AutoSize = true;
- this.label4.Location = new System.Drawing.Point(59, 185);
+ this.label4.BackColor = System.Drawing.Color.Transparent;
+ this.label4.Font = new System.Drawing.Font("微软雅黑", 14F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Pixel, ((byte)(134)));
+ this.label4.Location = new System.Drawing.Point(0, 20);
this.label4.Name = "label4";
- this.label4.Size = new System.Drawing.Size(53, 12);
+ this.label4.Size = new System.Drawing.Size(224, 25);
this.label4.TabIndex = 0;
- this.label4.Text = "事件信息";
+ this.label4.Text = "时间信息";
+ this.label4.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
//
- // label3
+ // label7
//
- this.label3.AutoSize = true;
- this.label3.Location = new System.Drawing.Point(59, 139);
- this.label3.Name = "label3";
- this.label3.Size = new System.Drawing.Size(53, 12);
- this.label3.TabIndex = 0;
- this.label3.Text = "位置信息";
+ this.label7.BackColor = System.Drawing.Color.Transparent;
+ this.label7.Font = new System.Drawing.Font("微软雅黑", 14F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Pixel, ((byte)(134)));
+ this.label7.Location = new System.Drawing.Point(0, 140);
+ this.label7.Margin = new System.Windows.Forms.Padding(0);
+ this.label7.Name = "label7";
+ this.label7.Size = new System.Drawing.Size(75, 25);
+ this.label7.TabIndex = 1;
+ this.label7.Text = "MJD";
+ this.label7.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
//
- // label2
+ // label6
//
- this.label2.AutoSize = true;
- this.label2.Location = new System.Drawing.Point(59, 98);
- this.label2.Name = "label2";
- this.label2.Size = new System.Drawing.Size(53, 12);
- this.label2.TabIndex = 0;
- this.label2.Text = "锁定状态";
+ this.label6.BackColor = System.Drawing.Color.Transparent;
+ this.label6.Font = new System.Drawing.Font("微软雅黑", 14F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Pixel, ((byte)(134)));
+ this.label6.Location = new System.Drawing.Point(0, 100);
+ this.label6.Name = "label6";
+ this.label6.Size = new System.Drawing.Size(75, 25);
+ this.label6.TabIndex = 1;
+ this.label6.Text = "时间";
+ this.label6.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
//
// label1
//
- this.label1.AutoSize = true;
- this.label1.Location = new System.Drawing.Point(33, 53);
+ this.label1.BackColor = System.Drawing.Color.Transparent;
+ this.label1.Font = new System.Drawing.Font("微软雅黑", 14F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Pixel, ((byte)(134)));
+ this.label1.Location = new System.Drawing.Point(0, 60);
this.label1.Name = "label1";
- this.label1.Size = new System.Drawing.Size(29, 12);
- this.label1.TabIndex = 0;
- this.label1.Text = "状态";
+ this.label1.Size = new System.Drawing.Size(75, 25);
+ this.label1.TabIndex = 1;
+ this.label1.Text = "日期";
+ this.label1.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
+ //
+ // panel1
+ //
+ this.panel1.BackgroundImage = global::Casic.Birmm.RbFreqStandMeasure.Properties.Resources.bg_status_base;
+ this.panel1.Controls.Add(this.label3);
+ this.panel1.Controls.Add(this.label2);
+ this.panel1.Controls.Add(this.label14);
+ this.panel1.Location = new System.Drawing.Point(6, 0);
+ this.panel1.Margin = new System.Windows.Forms.Padding(0);
+ this.panel1.Name = "panel1";
+ this.panel1.Size = new System.Drawing.Size(224, 160);
+ this.panel1.TabIndex = 4;
+ //
+ // label3
+ //
+ this.label3.BackColor = System.Drawing.Color.Transparent;
+ this.label3.Font = new System.Drawing.Font("微软雅黑", 14F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Pixel, ((byte)(134)));
+ this.label3.Location = new System.Drawing.Point(0, 100);
+ this.label3.Name = "label3";
+ this.label3.Size = new System.Drawing.Size(75, 25);
+ this.label3.TabIndex = 1;
+ this.label3.Text = "接收机";
+ this.label3.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
+ //
+ // label2
+ //
+ this.label2.BackColor = System.Drawing.Color.Transparent;
+ this.label2.Font = new System.Drawing.Font("微软雅黑", 14F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Pixel, ((byte)(134)));
+ this.label2.Location = new System.Drawing.Point(0, 60);
+ this.label2.Name = "label2";
+ this.label2.Size = new System.Drawing.Size(75, 25);
+ this.label2.TabIndex = 1;
+ this.label2.Text = "原子钟";
+ this.label2.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
+ //
+ // label14
+ //
+ this.label14.BackColor = System.Drawing.Color.Transparent;
+ this.label14.Font = new System.Drawing.Font("微软雅黑", 14F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Pixel, ((byte)(134)));
+ this.label14.Location = new System.Drawing.Point(0, 20);
+ this.label14.Name = "label14";
+ this.label14.Size = new System.Drawing.Size(224, 25);
+ this.label14.TabIndex = 0;
+ this.label14.Text = "基本信息";
+ this.label14.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
//
// StatusCtrlForm
//
this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 12F);
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
+ this.Controls.Add(this.panel3);
+ this.Controls.Add(this.panel2);
+ this.Controls.Add(this.panel1);
this.Controls.Add(this.panelSite);
- this.Controls.Add(this.panelStatus);
this.Margin = new System.Windows.Forms.Padding(10);
this.Name = "StatusCtrlForm";
- this.Size = new System.Drawing.Size(1000, 640);
+ this.Size = new System.Drawing.Size(1024, 654);
this.panelSite.ResumeLayout(false);
this.panelSite.PerformLayout();
- this.panelStatus.ResumeLayout(false);
- this.panelStatus.PerformLayout();
+ this.panel3.ResumeLayout(false);
+ this.panel2.ResumeLayout(false);
+ this.panel1.ResumeLayout(false);
this.ResumeLayout(false);
}
@@ -126,10 +280,21 @@
private System.Windows.Forms.Panel panelSite;
private System.Windows.Forms.Label label5;
- private System.Windows.Forms.Panel panelStatus;
+ private System.Windows.Forms.Panel panel3;
+ private System.Windows.Forms.Label label8;
+ private System.Windows.Forms.Label label13;
+ private System.Windows.Forms.Label label12;
+ private System.Windows.Forms.Label label11;
+ private System.Windows.Forms.Label label9;
+ private System.Windows.Forms.Label label10;
+ private System.Windows.Forms.Panel panel2;
private System.Windows.Forms.Label label4;
+ private System.Windows.Forms.Label label7;
+ private System.Windows.Forms.Label label6;
+ private System.Windows.Forms.Label label1;
+ private System.Windows.Forms.Panel panel1;
private System.Windows.Forms.Label label3;
private System.Windows.Forms.Label label2;
- private System.Windows.Forms.Label label1;
+ private System.Windows.Forms.Label label14;
}
}
diff --git a/RbFreqStandMeasure/res/images/bg_banner.png b/RbFreqStandMeasure/res/images/bg_banner.png
index d795b7d..3119070 100644
--- a/RbFreqStandMeasure/res/images/bg_banner.png
+++ b/RbFreqStandMeasure/res/images/bg_banner.png
Binary files differ
diff --git a/RbFreqStandMeasure/res/images/bg_dev_channel.png b/RbFreqStandMeasure/res/images/bg_dev_channel.png
new file mode 100644
index 0000000..7bac7ce
--- /dev/null
+++ b/RbFreqStandMeasure/res/images/bg_dev_channel.png
Binary files differ
diff --git a/RbFreqStandMeasure/res/images/bg_dev_tested.png b/RbFreqStandMeasure/res/images/bg_dev_tested.png
new file mode 100644
index 0000000..0b43ead
--- /dev/null
+++ b/RbFreqStandMeasure/res/images/bg_dev_tested.png
Binary files differ
diff --git a/RbFreqStandMeasure/res/images/bg_status_base.png b/RbFreqStandMeasure/res/images/bg_status_base.png
new file mode 100644
index 0000000..ef11397
--- /dev/null
+++ b/RbFreqStandMeasure/res/images/bg_status_base.png
Binary files differ
diff --git a/RbFreqStandMeasure/res/images/bg_status_location.png b/RbFreqStandMeasure/res/images/bg_status_location.png
new file mode 100644
index 0000000..64d28d5
--- /dev/null
+++ b/RbFreqStandMeasure/res/images/bg_status_location.png
Binary files differ
diff --git a/RbFreqStandMeasure/res/images/bg_status_time.png b/RbFreqStandMeasure/res/images/bg_status_time.png
new file mode 100644
index 0000000..eec981a
--- /dev/null
+++ b/RbFreqStandMeasure/res/images/bg_status_time.png
Binary files differ
diff --git a/RbFreqStandMeasure/res/images/icon_counter.png b/RbFreqStandMeasure/res/images/icon_counter.png
new file mode 100644
index 0000000..060c3d7
--- /dev/null
+++ b/RbFreqStandMeasure/res/images/icon_counter.png
Binary files differ
diff --git a/RbFreqStandMeasure/res/images/icon_counter_selected.png b/RbFreqStandMeasure/res/images/icon_counter_selected.png
new file mode 100644
index 0000000..45c7720
--- /dev/null
+++ b/RbFreqStandMeasure/res/images/icon_counter_selected.png
Binary files differ
diff --git a/RbFreqStandMeasure/res/images/icon_data.png b/RbFreqStandMeasure/res/images/icon_data.png
new file mode 100644
index 0000000..bf03575
--- /dev/null
+++ b/RbFreqStandMeasure/res/images/icon_data.png
Binary files differ
diff --git a/RbFreqStandMeasure/res/images/icon_data_selected.png b/RbFreqStandMeasure/res/images/icon_data_selected.png
new file mode 100644
index 0000000..a8aa441
--- /dev/null
+++ b/RbFreqStandMeasure/res/images/icon_data_selected.png
Binary files differ
diff --git a/RbFreqStandMeasure/res/images/icon_dev.png b/RbFreqStandMeasure/res/images/icon_dev.png
new file mode 100644
index 0000000..09bf380
--- /dev/null
+++ b/RbFreqStandMeasure/res/images/icon_dev.png
Binary files differ
diff --git a/RbFreqStandMeasure/res/images/icon_dev_selected.png b/RbFreqStandMeasure/res/images/icon_dev_selected.png
new file mode 100644
index 0000000..63a8b7c
--- /dev/null
+++ b/RbFreqStandMeasure/res/images/icon_dev_selected.png
Binary files differ
diff --git a/RbFreqStandMeasure/res/images/icon_exit.png b/RbFreqStandMeasure/res/images/icon_exit.png
index 997b9e9..a03e429 100644
--- a/RbFreqStandMeasure/res/images/icon_exit.png
+++ b/RbFreqStandMeasure/res/images/icon_exit.png
Binary files differ
diff --git a/RbFreqStandMeasure/res/images/icon_home.png b/RbFreqStandMeasure/res/images/icon_home.png
index f200f25..6409b89 100644
--- a/RbFreqStandMeasure/res/images/icon_home.png
+++ b/RbFreqStandMeasure/res/images/icon_home.png
Binary files differ
diff --git a/RbFreqStandMeasure/res/images/icon_home_selected.png b/RbFreqStandMeasure/res/images/icon_home_selected.png
index 7a4feb4..cfbf470 100644
--- a/RbFreqStandMeasure/res/images/icon_home_selected.png
+++ b/RbFreqStandMeasure/res/images/icon_home_selected.png
Binary files differ
diff --git a/RbFreqStandMeasure/res/images/icon_measure.png b/RbFreqStandMeasure/res/images/icon_measure.png
new file mode 100644
index 0000000..d9bd039
--- /dev/null
+++ b/RbFreqStandMeasure/res/images/icon_measure.png
Binary files differ
diff --git a/RbFreqStandMeasure/res/images/icon_measure_selected.png b/RbFreqStandMeasure/res/images/icon_measure_selected.png
new file mode 100644
index 0000000..e4186d0
--- /dev/null
+++ b/RbFreqStandMeasure/res/images/icon_measure_selected.png
Binary files differ
diff --git a/RbFreqStandMeasure/res/images/icon_min.png b/RbFreqStandMeasure/res/images/icon_min.png
new file mode 100644
index 0000000..af53b4d
--- /dev/null
+++ b/RbFreqStandMeasure/res/images/icon_min.png
Binary files differ
diff --git a/RbFreqStandMeasure/res/images/icon_setting.png b/RbFreqStandMeasure/res/images/icon_setting.png
new file mode 100644
index 0000000..f0779f7
--- /dev/null
+++ b/RbFreqStandMeasure/res/images/icon_setting.png
Binary files differ
diff --git a/RbFreqStandMeasure/res/images/icon_setting_selected.png b/RbFreqStandMeasure/res/images/icon_setting_selected.png
new file mode 100644
index 0000000..81f0e93
--- /dev/null
+++ b/RbFreqStandMeasure/res/images/icon_setting_selected.png
Binary files differ
diff --git a/RbFreqStandMeasure/res/images/icon_status.png b/RbFreqStandMeasure/res/images/icon_status.png
index 67bda58..8cfd8a9 100644
--- a/RbFreqStandMeasure/res/images/icon_status.png
+++ b/RbFreqStandMeasure/res/images/icon_status.png
Binary files differ
diff --git a/RbFreqStandMeasure/HomeCtrlForm.Designer.cs b/RbFreqStandMeasure/HomeCtrlForm.Designer.cs
index fb515f8..73e477a 100644
--- a/RbFreqStandMeasure/HomeCtrlForm.Designer.cs
+++ b/RbFreqStandMeasure/HomeCtrlForm.Designer.cs
@@ -29,589 +29,271 @@
///
private void InitializeComponent()
{
- System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle1 = new System.Windows.Forms.DataGridViewCellStyle();
- System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle2 = new System.Windows.Forms.DataGridViewCellStyle();
- this.panelToBeTested = new System.Windows.Forms.Panel();
- this.dataGridViewX1 = new DevComponents.DotNetBar.Controls.DataGridViewX();
- this.Column13 = new System.Windows.Forms.DataGridViewTextBoxColumn();
- this.Column14 = new System.Windows.Forms.DataGridViewTextBoxColumn();
- this.Column15 = new System.Windows.Forms.DataGridViewTextBoxColumn();
- this.Column16 = new System.Windows.Forms.DataGridViewTextBoxColumn();
- this.Column17 = new System.Windows.Forms.DataGridViewTextBoxColumn();
- this.panelEx1 = new DevComponents.DotNetBar.PanelEx();
- this.labelX6 = new DevComponents.DotNetBar.LabelX();
- this.labelX5 = new DevComponents.DotNetBar.LabelX();
- this.labelX4 = new DevComponents.DotNetBar.LabelX();
- this.labelX3 = new DevComponents.DotNetBar.LabelX();
- this.labelX2 = new DevComponents.DotNetBar.LabelX();
- this.labelX1 = new DevComponents.DotNetBar.LabelX();
- this.panelEx2 = new DevComponents.DotNetBar.PanelEx();
- this.labelX7 = new DevComponents.DotNetBar.LabelX();
- this.labelX8 = new DevComponents.DotNetBar.LabelX();
- this.labelX10 = new DevComponents.DotNetBar.LabelX();
- this.labelX9 = new DevComponents.DotNetBar.LabelX();
- this.panelEx3 = new DevComponents.DotNetBar.PanelEx();
- this.labelX11 = new DevComponents.DotNetBar.LabelX();
- this.labelX13 = new DevComponents.DotNetBar.LabelX();
- this.labelX12 = new DevComponents.DotNetBar.LabelX();
- this.panelEx4 = new DevComponents.DotNetBar.PanelEx();
- this.dataGridViewX2 = new DevComponents.DotNetBar.Controls.DataGridViewX();
- this.Column18 = new System.Windows.Forms.DataGridViewTextBoxColumn();
- this.Column19 = new System.Windows.Forms.DataGridViewTextBoxColumn();
- this.Column20 = new System.Windows.Forms.DataGridViewTextBoxColumn();
- this.Column21 = new System.Windows.Forms.DataGridViewTextBoxColumn();
- this.Column22 = new System.Windows.Forms.DataGridViewTextBoxColumn();
- this.Column23 = new System.Windows.Forms.DataGridViewTextBoxColumn();
- this.Column24 = new System.Windows.Forms.DataGridViewTextBoxColumn();
- this.Column25 = new System.Windows.Forms.DataGridViewTextBoxColumn();
- this.Column26 = new System.Windows.Forms.DataGridViewTextBoxColumn();
- this.Column27 = new System.Windows.Forms.DataGridViewTextBoxColumn();
- this.Column28 = new System.Windows.Forms.DataGridViewTextBoxColumn();
- this.Column29 = new System.Windows.Forms.DataGridViewTextBoxColumn();
- this.buttonX1 = new DevComponents.DotNetBar.ButtonX();
- this.buttonX2 = new DevComponents.DotNetBar.ButtonX();
+ this.panel3 = new System.Windows.Forms.Panel();
+ this.panel2 = new System.Windows.Forms.Panel();
+ this.panel1 = new System.Windows.Forms.Panel();
+ this.panel4 = new System.Windows.Forms.Panel();
+ this.panel5 = new System.Windows.Forms.Panel();
this.label1 = new System.Windows.Forms.Label();
this.label2 = new System.Windows.Forms.Label();
- this.panelToBeTested.SuspendLayout();
- ((System.ComponentModel.ISupportInitialize)(this.dataGridViewX1)).BeginInit();
- this.panelEx1.SuspendLayout();
- this.panelEx2.SuspendLayout();
- this.panelEx3.SuspendLayout();
- this.panelEx4.SuspendLayout();
- ((System.ComponentModel.ISupportInitialize)(this.dataGridViewX2)).BeginInit();
+ this.label3 = new System.Windows.Forms.Label();
+ this.label4 = new System.Windows.Forms.Label();
+ this.label5 = new System.Windows.Forms.Label();
+ this.label6 = new System.Windows.Forms.Label();
+ this.label7 = new System.Windows.Forms.Label();
+ this.label8 = new System.Windows.Forms.Label();
+ this.label9 = new System.Windows.Forms.Label();
+ this.label10 = new System.Windows.Forms.Label();
+ this.label11 = new System.Windows.Forms.Label();
+ this.label12 = new System.Windows.Forms.Label();
+ this.label13 = new System.Windows.Forms.Label();
+ this.panel3.SuspendLayout();
+ this.panel2.SuspendLayout();
+ this.panel1.SuspendLayout();
this.SuspendLayout();
//
- // panelToBeTested
+ // panel3
//
- this.panelToBeTested.Controls.Add(this.dataGridViewX1);
- this.panelToBeTested.Controls.Add(this.buttonX2);
- this.panelToBeTested.Controls.Add(this.buttonX1);
- this.panelToBeTested.Location = new System.Drawing.Point(250, 0);
- this.panelToBeTested.Name = "panelToBeTested";
- this.panelToBeTested.Size = new System.Drawing.Size(750, 216);
- this.panelToBeTested.TabIndex = 4;
+ this.panel3.BackgroundImage = global::Casic.Birmm.RbFreqStandMeasure.Properties.Resources.bg_status_location;
+ this.panel3.Controls.Add(this.label8);
+ this.panel3.Controls.Add(this.label13);
+ this.panel3.Controls.Add(this.label12);
+ this.panel3.Controls.Add(this.label11);
+ this.panel3.Controls.Add(this.label9);
+ this.panel3.Controls.Add(this.label10);
+ this.panel3.Location = new System.Drawing.Point(6, 360);
+ this.panel3.Name = "panel3";
+ this.panel3.Size = new System.Drawing.Size(224, 293);
+ this.panel3.TabIndex = 2;
//
- // dataGridViewX1
+ // panel2
//
- this.dataGridViewX1.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.AutoSize;
- this.dataGridViewX1.Columns.AddRange(new System.Windows.Forms.DataGridViewColumn[] {
- this.Column13,
- this.Column14,
- this.Column15,
- this.Column16,
- this.Column17});
- dataGridViewCellStyle1.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleLeft;
- dataGridViewCellStyle1.BackColor = System.Drawing.SystemColors.Window;
- dataGridViewCellStyle1.Font = new System.Drawing.Font("宋体", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
- dataGridViewCellStyle1.ForeColor = System.Drawing.SystemColors.ControlText;
- dataGridViewCellStyle1.SelectionBackColor = System.Drawing.SystemColors.Highlight;
- dataGridViewCellStyle1.SelectionForeColor = System.Drawing.SystemColors.ControlText;
- dataGridViewCellStyle1.WrapMode = System.Windows.Forms.DataGridViewTriState.False;
- this.dataGridViewX1.DefaultCellStyle = dataGridViewCellStyle1;
- this.dataGridViewX1.GridColor = System.Drawing.Color.FromArgb(((int)(((byte)(208)))), ((int)(((byte)(215)))), ((int)(((byte)(229)))));
- this.dataGridViewX1.Location = new System.Drawing.Point(0, 1);
- this.dataGridViewX1.Name = "dataGridViewX1";
- this.dataGridViewX1.RowTemplate.Height = 23;
- this.dataGridViewX1.Size = new System.Drawing.Size(750, 179);
- this.dataGridViewX1.TabIndex = 14;
+ this.panel2.BackgroundImage = global::Casic.Birmm.RbFreqStandMeasure.Properties.Resources.bg_status_time;
+ this.panel2.Controls.Add(this.label4);
+ this.panel2.Controls.Add(this.label7);
+ this.panel2.Controls.Add(this.label6);
+ this.panel2.Controls.Add(this.label5);
+ this.panel2.Location = new System.Drawing.Point(6, 160);
+ this.panel2.Name = "panel2";
+ this.panel2.Size = new System.Drawing.Size(224, 200);
+ this.panel2.TabIndex = 1;
//
- // Column13
+ // panel1
//
- this.Column13.HeaderText = "仪器名称";
- this.Column13.Name = "Column13";
+ this.panel1.BackgroundImage = global::Casic.Birmm.RbFreqStandMeasure.Properties.Resources.bg_status_base;
+ this.panel1.Controls.Add(this.label3);
+ this.panel1.Controls.Add(this.label2);
+ this.panel1.Controls.Add(this.label1);
+ this.panel1.Location = new System.Drawing.Point(6, 0);
+ this.panel1.Margin = new System.Windows.Forms.Padding(0);
+ this.panel1.Name = "panel1";
+ this.panel1.Size = new System.Drawing.Size(224, 160);
+ this.panel1.TabIndex = 0;
//
- // Column14
+ // panel4
//
- this.Column14.HeaderText = "仪器类型";
- this.Column14.Name = "Column14";
+ this.panel4.BackgroundImage = global::Casic.Birmm.RbFreqStandMeasure.Properties.Resources.bg_dev_tested;
+ this.panel4.Location = new System.Drawing.Point(230, 0);
+ this.panel4.Margin = new System.Windows.Forms.Padding(0);
+ this.panel4.Name = "panel4";
+ this.panel4.Size = new System.Drawing.Size(788, 226);
+ this.panel4.TabIndex = 3;
//
- // Column15
+ // panel5
//
- this.Column15.HeaderText = "仪器编号";
- this.Column15.Name = "Column15";
- //
- // Column16
- //
- this.Column16.HeaderText = "客户名称";
- this.Column16.Name = "Column16";
- //
- // Column17
- //
- this.Column17.HeaderText = "开始时间";
- this.Column17.Name = "Column17";
- //
- // panelEx1
- //
- this.panelEx1.CanvasColor = System.Drawing.SystemColors.Control;
- this.panelEx1.ColorSchemeStyle = DevComponents.DotNetBar.eDotNetBarStyle.StyleManagerControlled;
- this.panelEx1.Controls.Add(this.labelX6);
- this.panelEx1.Controls.Add(this.labelX5);
- this.panelEx1.Controls.Add(this.labelX4);
- this.panelEx1.Controls.Add(this.labelX3);
- this.panelEx1.Controls.Add(this.labelX2);
- this.panelEx1.Controls.Add(this.labelX1);
- this.panelEx1.DisabledBackColor = System.Drawing.Color.Empty;
- this.panelEx1.Location = new System.Drawing.Point(25, 376);
- this.panelEx1.Name = "panelEx1";
- this.panelEx1.Size = new System.Drawing.Size(200, 200);
- this.panelEx1.Style.Alignment = System.Drawing.StringAlignment.Center;
- this.panelEx1.Style.BackColor1.ColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelBackground;
- this.panelEx1.Style.BackColor2.ColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelBackground2;
- this.panelEx1.Style.Border = DevComponents.DotNetBar.eBorderType.SingleLine;
- this.panelEx1.Style.BorderColor.ColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelBorder;
- this.panelEx1.Style.ForeColor.ColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelText;
- this.panelEx1.Style.GradientAngle = 90;
- this.panelEx1.TabIndex = 10;
- //
- // labelX6
- //
- //
- //
- //
- this.labelX6.BackgroundStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square;
- this.labelX6.Location = new System.Drawing.Point(3, 153);
- this.labelX6.Name = "labelX6";
- this.labelX6.Size = new System.Drawing.Size(75, 23);
- this.labelX6.Style = DevComponents.DotNetBar.eDotNetBarStyle.Office2013;
- this.labelX6.TabIndex = 0;
- this.labelX6.Text = "Z";
- this.labelX6.TextAlignment = System.Drawing.StringAlignment.Center;
- //
- // labelX5
- //
- //
- //
- //
- this.labelX5.BackgroundStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square;
- this.labelX5.Location = new System.Drawing.Point(3, 124);
- this.labelX5.Name = "labelX5";
- this.labelX5.Size = new System.Drawing.Size(75, 23);
- this.labelX5.Style = DevComponents.DotNetBar.eDotNetBarStyle.Office2013;
- this.labelX5.TabIndex = 0;
- this.labelX5.Text = "Y";
- this.labelX5.TextAlignment = System.Drawing.StringAlignment.Center;
- //
- // labelX4
- //
- //
- //
- //
- this.labelX4.BackgroundStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square;
- this.labelX4.Location = new System.Drawing.Point(3, 95);
- this.labelX4.Name = "labelX4";
- this.labelX4.Size = new System.Drawing.Size(75, 23);
- this.labelX4.Style = DevComponents.DotNetBar.eDotNetBarStyle.Office2013;
- this.labelX4.TabIndex = 0;
- this.labelX4.Text = "X";
- this.labelX4.TextAlignment = System.Drawing.StringAlignment.Center;
- //
- // labelX3
- //
- //
- //
- //
- this.labelX3.BackgroundStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square;
- this.labelX3.Location = new System.Drawing.Point(3, 66);
- this.labelX3.Name = "labelX3";
- this.labelX3.Size = new System.Drawing.Size(75, 23);
- this.labelX3.Style = DevComponents.DotNetBar.eDotNetBarStyle.Office2013;
- this.labelX3.TabIndex = 0;
- this.labelX3.Text = "纬度";
- this.labelX3.TextAlignment = System.Drawing.StringAlignment.Center;
- //
- // labelX2
- //
- //
- //
- //
- this.labelX2.BackgroundStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square;
- this.labelX2.Location = new System.Drawing.Point(3, 37);
- this.labelX2.Name = "labelX2";
- this.labelX2.Size = new System.Drawing.Size(75, 23);
- this.labelX2.Style = DevComponents.DotNetBar.eDotNetBarStyle.Office2013;
- this.labelX2.TabIndex = 0;
- this.labelX2.Text = "经度";
- this.labelX2.TextAlignment = System.Drawing.StringAlignment.Center;
- //
- // labelX1
- //
- //
- //
- //
- this.labelX1.BackgroundStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square;
- this.labelX1.Location = new System.Drawing.Point(3, 3);
- this.labelX1.Name = "labelX1";
- this.labelX1.Size = new System.Drawing.Size(194, 23);
- this.labelX1.Style = DevComponents.DotNetBar.eDotNetBarStyle.Office2013;
- this.labelX1.TabIndex = 0;
- this.labelX1.Text = "位置信息";
- this.labelX1.TextAlignment = System.Drawing.StringAlignment.Center;
- //
- // panelEx2
- //
- this.panelEx2.CanvasColor = System.Drawing.SystemColors.Control;
- this.panelEx2.ColorSchemeStyle = DevComponents.DotNetBar.eDotNetBarStyle.StyleManagerControlled;
- this.panelEx2.Controls.Add(this.labelX7);
- this.panelEx2.Controls.Add(this.labelX8);
- this.panelEx2.Controls.Add(this.labelX10);
- this.panelEx2.Controls.Add(this.labelX9);
- this.panelEx2.DisabledBackColor = System.Drawing.Color.Empty;
- this.panelEx2.Location = new System.Drawing.Point(25, 190);
- this.panelEx2.Name = "panelEx2";
- this.panelEx2.Size = new System.Drawing.Size(200, 150);
- this.panelEx2.Style.Alignment = System.Drawing.StringAlignment.Center;
- this.panelEx2.Style.BackColor1.ColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelBackground;
- this.panelEx2.Style.BackColor2.ColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelBackground2;
- this.panelEx2.Style.Border = DevComponents.DotNetBar.eBorderType.SingleLine;
- this.panelEx2.Style.BorderColor.ColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelBorder;
- this.panelEx2.Style.ForeColor.ColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelText;
- this.panelEx2.Style.GradientAngle = 90;
- this.panelEx2.TabIndex = 10;
- //
- // labelX7
- //
- //
- //
- //
- this.labelX7.BackgroundStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square;
- this.labelX7.Location = new System.Drawing.Point(3, 3);
- this.labelX7.Name = "labelX7";
- this.labelX7.Size = new System.Drawing.Size(194, 23);
- this.labelX7.Style = DevComponents.DotNetBar.eDotNetBarStyle.Office2013;
- this.labelX7.TabIndex = 0;
- this.labelX7.Text = "时间信息";
- this.labelX7.TextAlignment = System.Drawing.StringAlignment.Center;
- //
- // labelX8
- //
- //
- //
- //
- this.labelX8.BackgroundStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square;
- this.labelX8.Location = new System.Drawing.Point(3, 41);
- this.labelX8.Name = "labelX8";
- this.labelX8.Size = new System.Drawing.Size(75, 23);
- this.labelX8.Style = DevComponents.DotNetBar.eDotNetBarStyle.Office2013;
- this.labelX8.TabIndex = 0;
- this.labelX8.Text = "日期";
- this.labelX8.TextAlignment = System.Drawing.StringAlignment.Center;
- //
- // labelX10
- //
- //
- //
- //
- this.labelX10.BackgroundStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square;
- this.labelX10.Location = new System.Drawing.Point(3, 99);
- this.labelX10.Name = "labelX10";
- this.labelX10.Size = new System.Drawing.Size(75, 23);
- this.labelX10.Style = DevComponents.DotNetBar.eDotNetBarStyle.Office2013;
- this.labelX10.TabIndex = 0;
- this.labelX10.Text = "MJD";
- this.labelX10.TextAlignment = System.Drawing.StringAlignment.Center;
- //
- // labelX9
- //
- //
- //
- //
- this.labelX9.BackgroundStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square;
- this.labelX9.Location = new System.Drawing.Point(3, 70);
- this.labelX9.Name = "labelX9";
- this.labelX9.Size = new System.Drawing.Size(75, 23);
- this.labelX9.Style = DevComponents.DotNetBar.eDotNetBarStyle.Office2013;
- this.labelX9.TabIndex = 0;
- this.labelX9.Text = "时间";
- this.labelX9.TextAlignment = System.Drawing.StringAlignment.Center;
- //
- // panelEx3
- //
- this.panelEx3.CanvasColor = System.Drawing.SystemColors.Control;
- this.panelEx3.ColorSchemeStyle = DevComponents.DotNetBar.eDotNetBarStyle.StyleManagerControlled;
- this.panelEx3.Controls.Add(this.labelX11);
- this.panelEx3.Controls.Add(this.labelX13);
- this.panelEx3.Controls.Add(this.labelX12);
- this.panelEx3.DisabledBackColor = System.Drawing.Color.Empty;
- this.panelEx3.Location = new System.Drawing.Point(25, 50);
- this.panelEx3.Name = "panelEx3";
- this.panelEx3.Size = new System.Drawing.Size(200, 100);
- this.panelEx3.Style.Alignment = System.Drawing.StringAlignment.Center;
- this.panelEx3.Style.BackColor1.ColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelBackground;
- this.panelEx3.Style.BackColor2.ColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelBackground2;
- this.panelEx3.Style.Border = DevComponents.DotNetBar.eBorderType.SingleLine;
- this.panelEx3.Style.BorderColor.ColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelBorder;
- this.panelEx3.Style.ForeColor.ColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelText;
- this.panelEx3.Style.GradientAngle = 90;
- this.panelEx3.TabIndex = 10;
- //
- // labelX11
- //
- //
- //
- //
- this.labelX11.BackgroundStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square;
- this.labelX11.Location = new System.Drawing.Point(3, 3);
- this.labelX11.Name = "labelX11";
- this.labelX11.Size = new System.Drawing.Size(194, 23);
- this.labelX11.Style = DevComponents.DotNetBar.eDotNetBarStyle.Office2013;
- this.labelX11.TabIndex = 0;
- this.labelX11.Text = "基本信息";
- this.labelX11.TextAlignment = System.Drawing.StringAlignment.Center;
- //
- // labelX13
- //
- //
- //
- //
- this.labelX13.BackgroundStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square;
- this.labelX13.Location = new System.Drawing.Point(3, 32);
- this.labelX13.Name = "labelX13";
- this.labelX13.Size = new System.Drawing.Size(75, 23);
- this.labelX13.Style = DevComponents.DotNetBar.eDotNetBarStyle.Office2013;
- this.labelX13.TabIndex = 0;
- this.labelX13.Text = "原子钟";
- this.labelX13.TextAlignment = System.Drawing.StringAlignment.Center;
- //
- // labelX12
- //
- //
- //
- //
- this.labelX12.BackgroundStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square;
- this.labelX12.Location = new System.Drawing.Point(3, 61);
- this.labelX12.Name = "labelX12";
- this.labelX12.Size = new System.Drawing.Size(75, 23);
- this.labelX12.Style = DevComponents.DotNetBar.eDotNetBarStyle.Office2013;
- this.labelX12.TabIndex = 0;
- this.labelX12.Text = "接收机";
- this.labelX12.TextAlignment = System.Drawing.StringAlignment.Center;
- //
- // panelEx4
- //
- this.panelEx4.CanvasColor = System.Drawing.SystemColors.Control;
- this.panelEx4.ColorSchemeStyle = DevComponents.DotNetBar.eDotNetBarStyle.StyleManagerControlled;
- this.panelEx4.Controls.Add(this.panelEx2);
- this.panelEx4.Controls.Add(this.panelEx1);
- this.panelEx4.Controls.Add(this.panelEx3);
- this.panelEx4.DisabledBackColor = System.Drawing.Color.Empty;
- this.panelEx4.Location = new System.Drawing.Point(0, 0);
- this.panelEx4.Name = "panelEx4";
- this.panelEx4.Size = new System.Drawing.Size(250, 640);
- this.panelEx4.Style.Alignment = System.Drawing.StringAlignment.Center;
- this.panelEx4.Style.BackColor1.ColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelBackground;
- this.panelEx4.Style.BackColor2.ColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelBackground2;
- this.panelEx4.Style.Border = DevComponents.DotNetBar.eBorderType.SingleLine;
- this.panelEx4.Style.BorderColor.ColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelBorder;
- this.panelEx4.Style.ForeColor.ColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelText;
- this.panelEx4.Style.GradientAngle = 90;
- this.panelEx4.TabIndex = 10;
- //
- // dataGridViewX2
- //
- this.dataGridViewX2.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.AutoSize;
- this.dataGridViewX2.Columns.AddRange(new System.Windows.Forms.DataGridViewColumn[] {
- this.Column18,
- this.Column19,
- this.Column20,
- this.Column21,
- this.Column22,
- this.Column23,
- this.Column24,
- this.Column25,
- this.Column26,
- this.Column27,
- this.Column28,
- this.Column29});
- dataGridViewCellStyle2.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleLeft;
- dataGridViewCellStyle2.BackColor = System.Drawing.SystemColors.Window;
- dataGridViewCellStyle2.Font = new System.Drawing.Font("宋体", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
- dataGridViewCellStyle2.ForeColor = System.Drawing.SystemColors.ControlText;
- dataGridViewCellStyle2.SelectionBackColor = System.Drawing.SystemColors.Highlight;
- dataGridViewCellStyle2.SelectionForeColor = System.Drawing.SystemColors.ControlText;
- dataGridViewCellStyle2.WrapMode = System.Windows.Forms.DataGridViewTriState.False;
- this.dataGridViewX2.DefaultCellStyle = dataGridViewCellStyle2;
- this.dataGridViewX2.GridColor = System.Drawing.Color.FromArgb(((int)(((byte)(208)))), ((int)(((byte)(215)))), ((int)(((byte)(229)))));
- this.dataGridViewX2.Location = new System.Drawing.Point(250, 216);
- this.dataGridViewX2.Name = "dataGridViewX2";
- this.dataGridViewX2.Size = new System.Drawing.Size(747, 424);
- this.dataGridViewX2.TabIndex = 15;
- //
- // Column18
- //
- this.Column18.HeaderText = "通道号";
- this.Column18.Name = "Column18";
- //
- // Column19
- //
- this.Column19.HeaderText = "当前状态";
- this.Column19.Name = "Column19";
- //
- // Column20
- //
- this.Column20.HeaderText = "仪器名称";
- this.Column20.Name = "Column20";
- //
- // Column21
- //
- this.Column21.HeaderText = "仪器编号";
- this.Column21.Name = "Column21";
- //
- // Column22
- //
- this.Column22.HeaderText = "客户名称";
- this.Column22.Name = "Column22";
- //
- // Column23
- //
- this.Column23.HeaderText = "开始时间";
- this.Column23.Name = "Column23";
- //
- // Column24
- //
- this.Column24.HeaderText = "结束时间";
- this.Column24.Name = "Column24";
- //
- // Column25
- //
- this.Column25.HeaderText = "频率稳定度";
- this.Column25.Name = "Column25";
- //
- // Column26
- //
- this.Column26.HeaderText = "频率准确度";
- this.Column26.Name = "Column26";
- //
- // Column27
- //
- this.Column27.HeaderText = "开机特性";
- this.Column27.Name = "Column27";
- //
- // Column28
- //
- this.Column28.HeaderText = "日老化率";
- this.Column28.Name = "Column28";
- //
- // Column29
- //
- this.Column29.HeaderText = "频率计数器范围及灵敏度";
- this.Column29.Name = "Column29";
- //
- // buttonX1
- //
- this.buttonX1.AccessibleRole = System.Windows.Forms.AccessibleRole.PushButton;
- this.buttonX1.BackColor = System.Drawing.Color.Transparent;
- this.buttonX1.ColorTable = DevComponents.DotNetBar.eButtonColor.OrangeWithBackground;
- this.buttonX1.Location = new System.Drawing.Point(663, 183);
- this.buttonX1.Name = "buttonX1";
- this.buttonX1.Size = new System.Drawing.Size(30, 23);
- this.buttonX1.Style = DevComponents.DotNetBar.eDotNetBarStyle.StyleManagerControlled;
- this.buttonX1.Symbol = "";
- this.buttonX1.SymbolColor = System.Drawing.Color.FromArgb(((int)(((byte)(64)))), ((int)(((byte)(64)))), ((int)(((byte)(64)))));
- this.buttonX1.SymbolSize = 8F;
- this.buttonX1.TabIndex = 19;
- //
- // buttonX2
- //
- this.buttonX2.AccessibleRole = System.Windows.Forms.AccessibleRole.PushButton;
- this.buttonX2.BackColor = System.Drawing.Color.Transparent;
- this.buttonX2.ColorTable = DevComponents.DotNetBar.eButtonColor.OrangeWithBackground;
- this.buttonX2.Location = new System.Drawing.Point(589, 184);
- this.buttonX2.Name = "buttonX2";
- this.buttonX2.Size = new System.Drawing.Size(30, 23);
- this.buttonX2.Style = DevComponents.DotNetBar.eDotNetBarStyle.StyleManagerControlled;
- this.buttonX2.Symbol = "";
- this.buttonX2.SymbolColor = System.Drawing.Color.FromArgb(((int)(((byte)(64)))), ((int)(((byte)(64)))), ((int)(((byte)(64)))));
- this.buttonX2.SymbolSize = 8F;
- this.buttonX2.TabIndex = 19;
+ this.panel5.BackgroundImage = global::Casic.Birmm.RbFreqStandMeasure.Properties.Resources.bg_dev_channel;
+ this.panel5.Location = new System.Drawing.Point(230, 226);
+ this.panel5.Name = "panel5";
+ this.panel5.Size = new System.Drawing.Size(788, 424);
+ this.panel5.TabIndex = 4;
//
// label1
//
this.label1.BackColor = System.Drawing.Color.Transparent;
- this.label1.Font = new System.Drawing.Font("Times New Roman", 9.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
- this.label1.Location = new System.Drawing.Point(880, 186);
- this.label1.Margin = new System.Windows.Forms.Padding(0);
+ this.label1.Font = new System.Drawing.Font("微软雅黑", 14F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Pixel, ((byte)(134)));
+ this.label1.Location = new System.Drawing.Point(0, 20);
this.label1.Name = "label1";
- this.label1.Size = new System.Drawing.Size(20, 20);
- this.label1.TabIndex = 20;
- this.label1.Text = "1";
+ this.label1.Size = new System.Drawing.Size(224, 25);
+ this.label1.TabIndex = 0;
+ this.label1.Text = "基本信息";
this.label1.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
//
// label2
//
this.label2.BackColor = System.Drawing.Color.Transparent;
- this.label2.Font = new System.Drawing.Font("Times New Roman", 9.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
- this.label2.Location = new System.Drawing.Point(636, 187);
- this.label2.Margin = new System.Windows.Forms.Padding(0);
+ this.label2.Font = new System.Drawing.Font("微软雅黑", 14F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Pixel, ((byte)(134)));
+ this.label2.Location = new System.Drawing.Point(0, 60);
this.label2.Name = "label2";
- this.label2.Size = new System.Drawing.Size(200, 20);
- this.label2.TabIndex = 20;
- this.label2.Text = "共150条,每页5条,共100页";
- this.label2.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
+ this.label2.Size = new System.Drawing.Size(75, 25);
+ this.label2.TabIndex = 1;
+ this.label2.Text = "原子钟";
+ this.label2.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
+ //
+ // label3
+ //
+ this.label3.BackColor = System.Drawing.Color.Transparent;
+ this.label3.Font = new System.Drawing.Font("微软雅黑", 14F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Pixel, ((byte)(134)));
+ this.label3.Location = new System.Drawing.Point(0, 100);
+ this.label3.Name = "label3";
+ this.label3.Size = new System.Drawing.Size(75, 25);
+ this.label3.TabIndex = 1;
+ this.label3.Text = "接收机";
+ this.label3.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
+ //
+ // label4
+ //
+ this.label4.BackColor = System.Drawing.Color.Transparent;
+ this.label4.Font = new System.Drawing.Font("微软雅黑", 14F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Pixel, ((byte)(134)));
+ this.label4.Location = new System.Drawing.Point(0, 20);
+ this.label4.Name = "label4";
+ this.label4.Size = new System.Drawing.Size(224, 25);
+ this.label4.TabIndex = 0;
+ this.label4.Text = "时间信息";
+ this.label4.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
+ //
+ // label5
+ //
+ this.label5.BackColor = System.Drawing.Color.Transparent;
+ this.label5.Font = new System.Drawing.Font("微软雅黑", 14F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Pixel, ((byte)(134)));
+ this.label5.Location = new System.Drawing.Point(0, 60);
+ this.label5.Name = "label5";
+ this.label5.Size = new System.Drawing.Size(75, 25);
+ this.label5.TabIndex = 1;
+ this.label5.Text = "日期";
+ this.label5.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
+ //
+ // label6
+ //
+ this.label6.BackColor = System.Drawing.Color.Transparent;
+ this.label6.Font = new System.Drawing.Font("微软雅黑", 14F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Pixel, ((byte)(134)));
+ this.label6.Location = new System.Drawing.Point(0, 100);
+ this.label6.Name = "label6";
+ this.label6.Size = new System.Drawing.Size(75, 25);
+ this.label6.TabIndex = 1;
+ this.label6.Text = "时间";
+ this.label6.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
+ //
+ // label7
+ //
+ this.label7.BackColor = System.Drawing.Color.Transparent;
+ this.label7.Font = new System.Drawing.Font("微软雅黑", 14F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Pixel, ((byte)(134)));
+ this.label7.Location = new System.Drawing.Point(0, 140);
+ this.label7.Margin = new System.Windows.Forms.Padding(0);
+ this.label7.Name = "label7";
+ this.label7.Size = new System.Drawing.Size(75, 25);
+ this.label7.TabIndex = 1;
+ this.label7.Text = "MJD";
+ this.label7.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
+ //
+ // label8
+ //
+ this.label8.BackColor = System.Drawing.Color.Transparent;
+ this.label8.Font = new System.Drawing.Font("微软雅黑", 14F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Pixel, ((byte)(134)));
+ this.label8.Location = new System.Drawing.Point(0, 20);
+ this.label8.Name = "label8";
+ this.label8.Size = new System.Drawing.Size(224, 25);
+ this.label8.TabIndex = 0;
+ this.label8.Text = "位置信息";
+ this.label8.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
+ //
+ // label9
+ //
+ this.label9.BackColor = System.Drawing.Color.Transparent;
+ this.label9.Font = new System.Drawing.Font("微软雅黑", 14F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Pixel, ((byte)(134)));
+ this.label9.Location = new System.Drawing.Point(0, 60);
+ this.label9.Name = "label9";
+ this.label9.Size = new System.Drawing.Size(75, 25);
+ this.label9.TabIndex = 1;
+ this.label9.Text = "经度";
+ this.label9.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
+ //
+ // label10
+ //
+ this.label10.BackColor = System.Drawing.Color.Transparent;
+ this.label10.Font = new System.Drawing.Font("微软雅黑", 14F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Pixel, ((byte)(134)));
+ this.label10.Location = new System.Drawing.Point(0, 100);
+ this.label10.Margin = new System.Windows.Forms.Padding(0);
+ this.label10.Name = "label10";
+ this.label10.Size = new System.Drawing.Size(75, 25);
+ this.label10.TabIndex = 1;
+ this.label10.Text = "纬度";
+ this.label10.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
+ //
+ // label11
+ //
+ this.label11.BackColor = System.Drawing.Color.Transparent;
+ this.label11.Font = new System.Drawing.Font("微软雅黑", 14F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Pixel, ((byte)(134)));
+ this.label11.Location = new System.Drawing.Point(0, 140);
+ this.label11.Margin = new System.Windows.Forms.Padding(0);
+ this.label11.Name = "label11";
+ this.label11.Size = new System.Drawing.Size(75, 25);
+ this.label11.TabIndex = 1;
+ this.label11.Text = "X";
+ this.label11.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
+ //
+ // label12
+ //
+ this.label12.BackColor = System.Drawing.Color.Transparent;
+ this.label12.Font = new System.Drawing.Font("微软雅黑", 14F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Pixel, ((byte)(134)));
+ this.label12.Location = new System.Drawing.Point(0, 180);
+ this.label12.Margin = new System.Windows.Forms.Padding(0);
+ this.label12.Name = "label12";
+ this.label12.Size = new System.Drawing.Size(75, 25);
+ this.label12.TabIndex = 1;
+ this.label12.Text = "Y";
+ this.label12.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
+ //
+ // label13
+ //
+ this.label13.BackColor = System.Drawing.Color.Transparent;
+ this.label13.Font = new System.Drawing.Font("微软雅黑", 14F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Pixel, ((byte)(134)));
+ this.label13.Location = new System.Drawing.Point(0, 220);
+ this.label13.Margin = new System.Windows.Forms.Padding(0);
+ this.label13.Name = "label13";
+ this.label13.Size = new System.Drawing.Size(75, 25);
+ this.label13.TabIndex = 1;
+ this.label13.Text = "Z";
+ this.label13.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
//
// HomeCtrlForm
//
this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 12F);
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
- this.Controls.Add(this.label1);
- this.Controls.Add(this.label2);
- this.Controls.Add(this.dataGridViewX2);
- this.Controls.Add(this.panelEx4);
- this.Controls.Add(this.panelToBeTested);
+ this.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(232)))), ((int)(((byte)(234)))), ((int)(((byte)(238)))));
+ this.Controls.Add(this.panel5);
+ this.Controls.Add(this.panel4);
+ this.Controls.Add(this.panel3);
+ this.Controls.Add(this.panel2);
+ this.Controls.Add(this.panel1);
this.Margin = new System.Windows.Forms.Padding(0);
this.Name = "HomeCtrlForm";
- this.Size = new System.Drawing.Size(1000, 640);
- this.panelToBeTested.ResumeLayout(false);
- ((System.ComponentModel.ISupportInitialize)(this.dataGridViewX1)).EndInit();
- this.panelEx1.ResumeLayout(false);
- this.panelEx2.ResumeLayout(false);
- this.panelEx3.ResumeLayout(false);
- this.panelEx4.ResumeLayout(false);
- ((System.ComponentModel.ISupportInitialize)(this.dataGridViewX2)).EndInit();
+ this.Size = new System.Drawing.Size(1024, 654);
+ this.panel3.ResumeLayout(false);
+ this.panel2.ResumeLayout(false);
+ this.panel1.ResumeLayout(false);
this.ResumeLayout(false);
}
#endregion
- private System.Windows.Forms.Panel panelToBeTested;
- private DevComponents.DotNetBar.PanelEx panelEx1;
- private DevComponents.DotNetBar.LabelX labelX6;
- private DevComponents.DotNetBar.LabelX labelX5;
- private DevComponents.DotNetBar.LabelX labelX4;
- private DevComponents.DotNetBar.LabelX labelX3;
- private DevComponents.DotNetBar.LabelX labelX2;
- private DevComponents.DotNetBar.LabelX labelX1;
- private DevComponents.DotNetBar.PanelEx panelEx2;
- private DevComponents.DotNetBar.LabelX labelX7;
- private DevComponents.DotNetBar.LabelX labelX8;
- private DevComponents.DotNetBar.LabelX labelX10;
- private DevComponents.DotNetBar.LabelX labelX9;
- private DevComponents.DotNetBar.PanelEx panelEx3;
- private DevComponents.DotNetBar.LabelX labelX11;
- private DevComponents.DotNetBar.LabelX labelX13;
- private DevComponents.DotNetBar.LabelX labelX12;
- private DevComponents.DotNetBar.PanelEx panelEx4;
- private DevComponents.DotNetBar.Controls.DataGridViewX dataGridViewX1;
- private System.Windows.Forms.DataGridViewTextBoxColumn Column13;
- private System.Windows.Forms.DataGridViewTextBoxColumn Column14;
- private System.Windows.Forms.DataGridViewTextBoxColumn Column15;
- private System.Windows.Forms.DataGridViewTextBoxColumn Column16;
- private System.Windows.Forms.DataGridViewTextBoxColumn Column17;
- private DevComponents.DotNetBar.Controls.DataGridViewX dataGridViewX2;
- private System.Windows.Forms.DataGridViewTextBoxColumn Column18;
- private System.Windows.Forms.DataGridViewTextBoxColumn Column19;
- private System.Windows.Forms.DataGridViewTextBoxColumn Column20;
- private System.Windows.Forms.DataGridViewTextBoxColumn Column21;
- private System.Windows.Forms.DataGridViewTextBoxColumn Column22;
- private System.Windows.Forms.DataGridViewTextBoxColumn Column23;
- private System.Windows.Forms.DataGridViewTextBoxColumn Column24;
- private System.Windows.Forms.DataGridViewTextBoxColumn Column25;
- private System.Windows.Forms.DataGridViewTextBoxColumn Column26;
- private System.Windows.Forms.DataGridViewTextBoxColumn Column27;
- private System.Windows.Forms.DataGridViewTextBoxColumn Column28;
- private System.Windows.Forms.DataGridViewTextBoxColumn Column29;
- private DevComponents.DotNetBar.ButtonX buttonX1;
- private DevComponents.DotNetBar.ButtonX buttonX2;
+
+ private System.Windows.Forms.Panel panel1;
+ private System.Windows.Forms.Panel panel2;
+ private System.Windows.Forms.Panel panel3;
+ private System.Windows.Forms.Panel panel4;
+ private System.Windows.Forms.Panel panel5;
private System.Windows.Forms.Label label1;
private System.Windows.Forms.Label label2;
+ private System.Windows.Forms.Label label3;
+ private System.Windows.Forms.Label label4;
+ private System.Windows.Forms.Label label5;
+ private System.Windows.Forms.Label label6;
+ private System.Windows.Forms.Label label7;
+ private System.Windows.Forms.Label label8;
+ private System.Windows.Forms.Label label11;
+ private System.Windows.Forms.Label label9;
+ private System.Windows.Forms.Label label10;
+ private System.Windows.Forms.Label label12;
+ private System.Windows.Forms.Label label13;
}
}
diff --git a/RbFreqStandMeasure/HomeCtrlForm.resx b/RbFreqStandMeasure/HomeCtrlForm.resx
index 6d97f4f..1af7de1 100644
--- a/RbFreqStandMeasure/HomeCtrlForm.resx
+++ b/RbFreqStandMeasure/HomeCtrlForm.resx
@@ -117,55 +117,4 @@
System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
-
- True
-
-
- True
-
-
- True
-
-
- True
-
-
- True
-
-
- True
-
-
- True
-
-
- True
-
-
- True
-
-
- True
-
-
- True
-
-
- True
-
-
- True
-
-
- True
-
-
- True
-
-
- True
-
-
- True
-
\ No newline at end of file
diff --git a/RbFreqStandMeasure/Program.cs b/RbFreqStandMeasure/Program.cs
index 93a83e5..6150917 100644
--- a/RbFreqStandMeasure/Program.cs
+++ b/RbFreqStandMeasure/Program.cs
@@ -1,6 +1,4 @@
using System;
-using System.Collections.Generic;
-using System.Linq;
using System.Windows.Forms;
namespace Casic.Birmm.RbFreqStandMeasure
diff --git a/RbFreqStandMeasure/Properties/Resources.Designer.cs b/RbFreqStandMeasure/Properties/Resources.Designer.cs
index 253d7d7..d819a23 100644
--- a/RbFreqStandMeasure/Properties/Resources.Designer.cs
+++ b/RbFreqStandMeasure/Properties/Resources.Designer.cs
@@ -73,6 +73,56 @@
///
/// 查找 System.Drawing.Bitmap 类型的本地化资源。
///
+ internal static System.Drawing.Bitmap bg_dev_channel {
+ get {
+ object obj = ResourceManager.GetObject("bg_dev_channel", resourceCulture);
+ return ((System.Drawing.Bitmap)(obj));
+ }
+ }
+
+ ///
+ /// 查找 System.Drawing.Bitmap 类型的本地化资源。
+ ///
+ internal static System.Drawing.Bitmap bg_dev_tested {
+ get {
+ object obj = ResourceManager.GetObject("bg_dev_tested", resourceCulture);
+ return ((System.Drawing.Bitmap)(obj));
+ }
+ }
+
+ ///
+ /// 查找 System.Drawing.Bitmap 类型的本地化资源。
+ ///
+ internal static System.Drawing.Bitmap bg_status_base {
+ get {
+ object obj = ResourceManager.GetObject("bg_status_base", resourceCulture);
+ return ((System.Drawing.Bitmap)(obj));
+ }
+ }
+
+ ///
+ /// 查找 System.Drawing.Bitmap 类型的本地化资源。
+ ///
+ internal static System.Drawing.Bitmap bg_status_location {
+ get {
+ object obj = ResourceManager.GetObject("bg_status_location", resourceCulture);
+ return ((System.Drawing.Bitmap)(obj));
+ }
+ }
+
+ ///
+ /// 查找 System.Drawing.Bitmap 类型的本地化资源。
+ ///
+ internal static System.Drawing.Bitmap bg_status_time {
+ get {
+ object obj = ResourceManager.GetObject("bg_status_time", resourceCulture);
+ return ((System.Drawing.Bitmap)(obj));
+ }
+ }
+
+ ///
+ /// 查找 System.Drawing.Bitmap 类型的本地化资源。
+ ///
internal static System.Drawing.Bitmap bg_white_shadow {
get {
object obj = ResourceManager.GetObject("bg_white_shadow", resourceCulture);
@@ -83,6 +133,66 @@
///
/// 查找 System.Drawing.Bitmap 类型的本地化资源。
///
+ internal static System.Drawing.Bitmap icon_counter {
+ get {
+ object obj = ResourceManager.GetObject("icon_counter", resourceCulture);
+ return ((System.Drawing.Bitmap)(obj));
+ }
+ }
+
+ ///
+ /// 查找 System.Drawing.Bitmap 类型的本地化资源。
+ ///
+ internal static System.Drawing.Bitmap icon_counter_selected {
+ get {
+ object obj = ResourceManager.GetObject("icon_counter_selected", resourceCulture);
+ return ((System.Drawing.Bitmap)(obj));
+ }
+ }
+
+ ///
+ /// 查找 System.Drawing.Bitmap 类型的本地化资源。
+ ///
+ internal static System.Drawing.Bitmap icon_data {
+ get {
+ object obj = ResourceManager.GetObject("icon_data", resourceCulture);
+ return ((System.Drawing.Bitmap)(obj));
+ }
+ }
+
+ ///
+ /// 查找 System.Drawing.Bitmap 类型的本地化资源。
+ ///
+ internal static System.Drawing.Bitmap icon_data_selected {
+ get {
+ object obj = ResourceManager.GetObject("icon_data_selected", resourceCulture);
+ return ((System.Drawing.Bitmap)(obj));
+ }
+ }
+
+ ///
+ /// 查找 System.Drawing.Bitmap 类型的本地化资源。
+ ///
+ internal static System.Drawing.Bitmap icon_dev {
+ get {
+ object obj = ResourceManager.GetObject("icon_dev", resourceCulture);
+ return ((System.Drawing.Bitmap)(obj));
+ }
+ }
+
+ ///
+ /// 查找 System.Drawing.Bitmap 类型的本地化资源。
+ ///
+ internal static System.Drawing.Bitmap icon_dev_selected {
+ get {
+ object obj = ResourceManager.GetObject("icon_dev_selected", resourceCulture);
+ return ((System.Drawing.Bitmap)(obj));
+ }
+ }
+
+ ///
+ /// 查找 System.Drawing.Bitmap 类型的本地化资源。
+ ///
internal static System.Drawing.Bitmap icon_exit {
get {
object obj = ResourceManager.GetObject("icon_exit", resourceCulture);
@@ -113,6 +223,56 @@
///
/// 查找 System.Drawing.Bitmap 类型的本地化资源。
///
+ internal static System.Drawing.Bitmap icon_measure {
+ get {
+ object obj = ResourceManager.GetObject("icon_measure", resourceCulture);
+ return ((System.Drawing.Bitmap)(obj));
+ }
+ }
+
+ ///
+ /// 查找 System.Drawing.Bitmap 类型的本地化资源。
+ ///
+ internal static System.Drawing.Bitmap icon_measure_selected {
+ get {
+ object obj = ResourceManager.GetObject("icon_measure_selected", resourceCulture);
+ return ((System.Drawing.Bitmap)(obj));
+ }
+ }
+
+ ///
+ /// 查找 System.Drawing.Bitmap 类型的本地化资源。
+ ///
+ internal static System.Drawing.Bitmap icon_min {
+ get {
+ object obj = ResourceManager.GetObject("icon_min", resourceCulture);
+ return ((System.Drawing.Bitmap)(obj));
+ }
+ }
+
+ ///
+ /// 查找 System.Drawing.Bitmap 类型的本地化资源。
+ ///
+ internal static System.Drawing.Bitmap icon_setting {
+ get {
+ object obj = ResourceManager.GetObject("icon_setting", resourceCulture);
+ return ((System.Drawing.Bitmap)(obj));
+ }
+ }
+
+ ///
+ /// 查找 System.Drawing.Bitmap 类型的本地化资源。
+ ///
+ internal static System.Drawing.Bitmap icon_setting_selected {
+ get {
+ object obj = ResourceManager.GetObject("icon_setting_selected", resourceCulture);
+ return ((System.Drawing.Bitmap)(obj));
+ }
+ }
+
+ ///
+ /// 查找 System.Drawing.Bitmap 类型的本地化资源。
+ ///
internal static System.Drawing.Bitmap icon_status {
get {
object obj = ResourceManager.GetObject("icon_status", resourceCulture);
diff --git a/RbFreqStandMeasure/Properties/Resources.resx b/RbFreqStandMeasure/Properties/Resources.resx
index e781bb7..cfdb255 100644
--- a/RbFreqStandMeasure/Properties/Resources.resx
+++ b/RbFreqStandMeasure/Properties/Resources.resx
@@ -118,25 +118,73 @@
System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
-
- ..\res\images\icon_exit.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
+
+ ..\res\images\icon_counter_selected.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
-
- ..\res\images\bg_white_shadow.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
+
+ ..\res\images\icon_dev_selected.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
+
+
+ ..\res\images\icon_status_selected.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
+
+
+ ..\res\images\icon_data_selected.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
..\res\images\icon_home_selected.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
-
- ..\res\images\bg_banner.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
-
-
- ..\res\images\icon_home.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
+
+ ..\res\images\icon_exit.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
..\res\images\icon_status.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
-
- ..\res\images\icon_status_selected.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
+
+ ..\res\images\icon_data.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
+
+
+ ..\res\images\icon_setting.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
+
+
+ ..\res\images\icon_measure_selected.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
+
+
+ ..\res\images\bg_banner.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
+
+
+ ..\res\images\icon_setting_selected.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
+
+
+ ..\res\images\icon_dev.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
+
+
+ ..\res\images\icon_counter.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
+
+
+ ..\res\images\icon_measure.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
+
+
+ ..\res\images\icon_home.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
+
+
+ ..\res\images\bg_white_shadow.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
+
+
+ ..\res\images\icon_min.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
+
+
+ ..\res\images\bg_status_base.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
+
+
+ ..\res\images\bg_status_location.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
+
+
+ ..\res\images\bg_status_time.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
+
+
+ ..\res\images\bg_dev_channel.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
+
+
+ ..\res\images\bg_dev_tested.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
\ No newline at end of file
diff --git a/RbFreqStandMeasure/RbFreqStandMeasure.csproj b/RbFreqStandMeasure/RbFreqStandMeasure.csproj
index f5e7da9..7c12768 100644
--- a/RbFreqStandMeasure/RbFreqStandMeasure.csproj
+++ b/RbFreqStandMeasure/RbFreqStandMeasure.csproj
@@ -232,6 +232,54 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/RbFreqStandMeasure/RbFreqStdMeas.Designer.cs b/RbFreqStandMeasure/RbFreqStdMeas.Designer.cs
index 57778cf..1bd008c 100644
--- a/RbFreqStandMeasure/RbFreqStdMeas.Designer.cs
+++ b/RbFreqStandMeasure/RbFreqStdMeas.Designer.cs
@@ -30,148 +30,77 @@
private void InitializeComponent()
{
this.panMenu = new System.Windows.Forms.Panel();
+ this.penBanner = new System.Windows.Forms.Panel();
+ this.btnMinSys = new System.Windows.Forms.Button();
+ this.btnExitSys = new System.Windows.Forms.Button();
+ this.labTitle = new System.Windows.Forms.Label();
+ this.panDev = new Casic.Birmm.RbFreqStandMeasure.RoundPanel();
+ this.labDevText = new System.Windows.Forms.Label();
+ this.labDevSelected = new System.Windows.Forms.Label();
+ this.picIconDev = new System.Windows.Forms.PictureBox();
+ this.panSetting = new Casic.Birmm.RbFreqStandMeasure.RoundPanel();
+ this.labSettingSelected = new System.Windows.Forms.Label();
+ this.labSettingText = new System.Windows.Forms.Label();
+ this.picIconSetting = new System.Windows.Forms.PictureBox();
this.panStatus = new Casic.Birmm.RbFreqStandMeasure.RoundPanel();
this.labStatusText = new System.Windows.Forms.Label();
this.picIconStatus = new System.Windows.Forms.PictureBox();
+ this.labStatusSelected = new System.Windows.Forms.Label();
+ this.panData = new Casic.Birmm.RbFreqStandMeasure.RoundPanel();
+ this.labDataSelected = new System.Windows.Forms.Label();
+ this.labDataText = new System.Windows.Forms.Label();
+ this.picIconData = new System.Windows.Forms.PictureBox();
this.panHome = new Casic.Birmm.RbFreqStandMeasure.RoundPanel();
this.labHomeText = new System.Windows.Forms.Label();
this.picIconHome = new System.Windows.Forms.PictureBox();
this.labHomeSelected = new System.Windows.Forms.Label();
- this.labStatusSelected = new System.Windows.Forms.Label();
- this.penBanner = new System.Windows.Forms.Panel();
- this.btnExitSys = new System.Windows.Forms.Button();
- this.labTitle = new System.Windows.Forms.Label();
+ this.panMeasure = new Casic.Birmm.RbFreqStandMeasure.RoundPanel();
+ this.labMeasureText = new System.Windows.Forms.Label();
+ this.labMeasureSelected = new System.Windows.Forms.Label();
+ this.picIconMeasure = new System.Windows.Forms.PictureBox();
+ this.panCounter = new Casic.Birmm.RbFreqStandMeasure.RoundPanel();
+ this.labCounterSelected = new System.Windows.Forms.Label();
+ this.labCounterText = new System.Windows.Forms.Label();
+ this.picIconCounter = new System.Windows.Forms.PictureBox();
+ this.panelMain = new System.Windows.Forms.Panel();
this.panMenu.SuspendLayout();
+ this.penBanner.SuspendLayout();
+ this.panDev.SuspendLayout();
+ ((System.ComponentModel.ISupportInitialize)(this.picIconDev)).BeginInit();
+ this.panSetting.SuspendLayout();
+ ((System.ComponentModel.ISupportInitialize)(this.picIconSetting)).BeginInit();
this.panStatus.SuspendLayout();
((System.ComponentModel.ISupportInitialize)(this.picIconStatus)).BeginInit();
+ this.panData.SuspendLayout();
+ ((System.ComponentModel.ISupportInitialize)(this.picIconData)).BeginInit();
this.panHome.SuspendLayout();
((System.ComponentModel.ISupportInitialize)(this.picIconHome)).BeginInit();
- this.penBanner.SuspendLayout();
+ this.panMeasure.SuspendLayout();
+ ((System.ComponentModel.ISupportInitialize)(this.picIconMeasure)).BeginInit();
+ this.panCounter.SuspendLayout();
+ ((System.ComponentModel.ISupportInitialize)(this.picIconCounter)).BeginInit();
this.SuspendLayout();
//
// panMenu
//
this.panMenu.BackColor = System.Drawing.Color.White;
+ this.panMenu.Controls.Add(this.panDev);
+ this.panMenu.Controls.Add(this.panSetting);
this.panMenu.Controls.Add(this.panStatus);
+ this.panMenu.Controls.Add(this.panData);
this.panMenu.Controls.Add(this.panHome);
- this.panMenu.Controls.Add(this.labStatusSelected);
+ this.panMenu.Controls.Add(this.panMeasure);
+ this.panMenu.Controls.Add(this.panCounter);
this.panMenu.Location = new System.Drawing.Point(0, 64);
this.panMenu.Name = "panMenu";
this.panMenu.Size = new System.Drawing.Size(1024, 50);
this.panMenu.TabIndex = 1;
//
- // panStatus
- //
- this.panStatus.Back = System.Drawing.Color.Empty;
- this.panStatus.BackColor = System.Drawing.Color.Transparent;
- this.panStatus.Controls.Add(this.labStatusText);
- this.panStatus.Controls.Add(this.picIconStatus);
- this.panStatus.Location = new System.Drawing.Point(160, 0);
- this.panStatus.MatrixRound = 8;
- this.panStatus.Name = "panStatus";
- this.panStatus.Size = new System.Drawing.Size(130, 47);
- this.panStatus.TabIndex = 1;
- this.panStatus.Click += new System.EventHandler(this.panStatus_Click);
- this.panStatus.MouseLeave += new System.EventHandler(this.panStatus_MouseLeave);
- this.panStatus.MouseHover += new System.EventHandler(this.panStatus_MouseHover);
- //
- // labStatusText
- //
- this.labStatusText.BackColor = System.Drawing.Color.Transparent;
- this.labStatusText.Cursor = System.Windows.Forms.Cursors.Hand;
- this.labStatusText.Font = new System.Drawing.Font("微软雅黑", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
- this.labStatusText.ForeColor = System.Drawing.SystemColors.ControlText;
- this.labStatusText.Location = new System.Drawing.Point(35, 0);
- this.labStatusText.Margin = new System.Windows.Forms.Padding(0);
- this.labStatusText.Name = "labStatusText";
- this.labStatusText.Size = new System.Drawing.Size(85, 47);
- this.labStatusText.TabIndex = 2;
- this.labStatusText.Text = "基准状态";
- this.labStatusText.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
- this.labStatusText.Click += new System.EventHandler(this.panStatus_Click);
- this.labStatusText.MouseLeave += new System.EventHandler(this.panStatus_MouseLeave);
- this.labStatusText.MouseHover += new System.EventHandler(this.panStatus_MouseHover);
- //
- // picIconStatus
- //
- this.picIconStatus.BackgroundImage = global::Casic.Birmm.RbFreqStandMeasure.Properties.Resources.icon_status;
- this.picIconStatus.BackgroundImageLayout = System.Windows.Forms.ImageLayout.Zoom;
- this.picIconStatus.Location = new System.Drawing.Point(10, 11);
- this.picIconStatus.Name = "picIconStatus";
- this.picIconStatus.Size = new System.Drawing.Size(25, 25);
- this.picIconStatus.TabIndex = 1;
- this.picIconStatus.TabStop = false;
- this.picIconStatus.Click += new System.EventHandler(this.panStatus_Click);
- this.picIconStatus.MouseLeave += new System.EventHandler(this.panStatus_MouseLeave);
- this.picIconStatus.MouseHover += new System.EventHandler(this.panStatus_MouseHover);
- //
- // panHome
- //
- this.panHome.Back = System.Drawing.Color.Empty;
- this.panHome.Controls.Add(this.labHomeText);
- this.panHome.Controls.Add(this.picIconHome);
- this.panHome.Controls.Add(this.labHomeSelected);
- this.panHome.Cursor = System.Windows.Forms.Cursors.Hand;
- this.panHome.Location = new System.Drawing.Point(30, 0);
- this.panHome.MatrixRound = 8;
- this.panHome.Name = "panHome";
- this.panHome.Size = new System.Drawing.Size(100, 50);
- this.panHome.TabIndex = 0;
- this.panHome.Click += new System.EventHandler(this.panHome_Click);
- this.panHome.MouseLeave += new System.EventHandler(this.panHome_MouseLeave);
- this.panHome.MouseHover += new System.EventHandler(this.panHome_MouseHover);
- //
- // labHomeText
- //
- this.labHomeText.BackColor = System.Drawing.Color.Transparent;
- this.labHomeText.Font = new System.Drawing.Font("微软雅黑", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
- this.labHomeText.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(18)))), ((int)(((byte)(150)))), ((int)(((byte)(219)))));
- this.labHomeText.Location = new System.Drawing.Point(35, 0);
- this.labHomeText.Margin = new System.Windows.Forms.Padding(0);
- this.labHomeText.Name = "labHomeText";
- this.labHomeText.Size = new System.Drawing.Size(55, 47);
- this.labHomeText.TabIndex = 2;
- this.labHomeText.Text = "首页";
- this.labHomeText.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
- this.labHomeText.Click += new System.EventHandler(this.panHome_Click);
- this.labHomeText.MouseLeave += new System.EventHandler(this.panHome_MouseLeave);
- this.labHomeText.MouseHover += new System.EventHandler(this.panHome_MouseHover);
- //
- // picIconHome
- //
- this.picIconHome.BackColor = System.Drawing.Color.Transparent;
- this.picIconHome.BackgroundImage = global::Casic.Birmm.RbFreqStandMeasure.Properties.Resources.icon_home_selected;
- this.picIconHome.BackgroundImageLayout = System.Windows.Forms.ImageLayout.Zoom;
- this.picIconHome.Location = new System.Drawing.Point(10, 11);
- this.picIconHome.Name = "picIconHome";
- this.picIconHome.Size = new System.Drawing.Size(25, 25);
- this.picIconHome.TabIndex = 1;
- this.picIconHome.TabStop = false;
- this.picIconHome.Click += new System.EventHandler(this.panHome_Click);
- this.picIconHome.MouseLeave += new System.EventHandler(this.panHome_MouseLeave);
- this.picIconHome.MouseHover += new System.EventHandler(this.panHome_MouseHover);
- //
- // labHomeSelected
- //
- this.labHomeSelected.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(18)))), ((int)(((byte)(150)))), ((int)(((byte)(219)))));
- this.labHomeSelected.Location = new System.Drawing.Point(0, 47);
- this.labHomeSelected.Name = "labHomeSelected";
- this.labHomeSelected.Size = new System.Drawing.Size(100, 3);
- this.labHomeSelected.TabIndex = 0;
- //
- // labStatusSelected
- //
- this.labStatusSelected.BackColor = System.Drawing.Color.Transparent;
- this.labStatusSelected.Location = new System.Drawing.Point(160, 47);
- this.labStatusSelected.Margin = new System.Windows.Forms.Padding(0);
- this.labStatusSelected.Name = "labStatusSelected";
- this.labStatusSelected.Size = new System.Drawing.Size(130, 3);
- this.labStatusSelected.TabIndex = 0;
- //
// penBanner
//
this.penBanner.BackgroundImage = global::Casic.Birmm.RbFreqStandMeasure.Properties.Resources.bg_banner;
this.penBanner.BackgroundImageLayout = System.Windows.Forms.ImageLayout.Stretch;
+ this.penBanner.Controls.Add(this.btnMinSys);
this.penBanner.Controls.Add(this.btnExitSys);
this.penBanner.Controls.Add(this.labTitle);
this.penBanner.Location = new System.Drawing.Point(0, 0);
@@ -180,6 +109,23 @@
this.penBanner.TabIndex = 0;
this.penBanner.MouseDown += new System.Windows.Forms.MouseEventHandler(this.RbFreqStdMeas_MouseDown);
//
+ // btnMinSys
+ //
+ this.btnMinSys.BackColor = System.Drawing.Color.Transparent;
+ this.btnMinSys.BackgroundImage = global::Casic.Birmm.RbFreqStandMeasure.Properties.Resources.icon_min;
+ this.btnMinSys.BackgroundImageLayout = System.Windows.Forms.ImageLayout.Stretch;
+ this.btnMinSys.FlatAppearance.BorderSize = 0;
+ this.btnMinSys.FlatStyle = System.Windows.Forms.FlatStyle.Flat;
+ this.btnMinSys.ForeColor = System.Drawing.SystemColors.ControlDarkDark;
+ this.btnMinSys.Location = new System.Drawing.Point(944, 22);
+ this.btnMinSys.Margin = new System.Windows.Forms.Padding(0);
+ this.btnMinSys.Name = "btnMinSys";
+ this.btnMinSys.Size = new System.Drawing.Size(20, 20);
+ this.btnMinSys.TabIndex = 1;
+ this.btnMinSys.UseVisualStyleBackColor = false;
+ this.btnMinSys.Click += new System.EventHandler(this.btnMinSys_Click);
+ this.btnMinSys.MouseHover += new System.EventHandler(this.btnMinSys_MouseHover);
+ //
// btnExitSys
//
this.btnExitSys.BackColor = System.Drawing.Color.Transparent;
@@ -200,7 +146,7 @@
// labTitle
//
this.labTitle.BackColor = System.Drawing.Color.Transparent;
- this.labTitle.Font = new System.Drawing.Font("微软雅黑", 15.75F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
+ this.labTitle.Font = new System.Drawing.Font("微软雅黑", 20F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Pixel, ((byte)(134)));
this.labTitle.ForeColor = System.Drawing.Color.White;
this.labTitle.Location = new System.Drawing.Point(30, 16);
this.labTitle.Name = "labTitle";
@@ -209,11 +155,404 @@
this.labTitle.Text = "铷原子频标比对测量软件";
this.labTitle.TextAlign = System.Drawing.ContentAlignment.MiddleLeft;
//
+ // panDev
+ //
+ this.panDev.Back = System.Drawing.Color.Empty;
+ this.panDev.Controls.Add(this.labDevText);
+ this.panDev.Controls.Add(this.labDevSelected);
+ this.panDev.Controls.Add(this.picIconDev);
+ this.panDev.Location = new System.Drawing.Point(214, 0);
+ this.panDev.MatrixRound = 8;
+ this.panDev.Name = "panDev";
+ this.panDev.Size = new System.Drawing.Size(141, 50);
+ this.panDev.TabIndex = 2;
+ this.panDev.Click += new System.EventHandler(this.panDev_Click);
+ this.panDev.MouseLeave += new System.EventHandler(this.panDev_MouseLeave);
+ this.panDev.MouseHover += new System.EventHandler(this.panDev_MouseHover);
+ //
+ // labDevText
+ //
+ this.labDevText.BackColor = System.Drawing.Color.Transparent;
+ this.labDevText.Cursor = System.Windows.Forms.Cursors.Hand;
+ this.labDevText.Font = new System.Drawing.Font("微软雅黑", 16F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Pixel, ((byte)(134)));
+ this.labDevText.ForeColor = System.Drawing.SystemColors.ControlText;
+ this.labDevText.Location = new System.Drawing.Point(30, 14);
+ this.labDevText.Margin = new System.Windows.Forms.Padding(0);
+ this.labDevText.Name = "labDevText";
+ this.labDevText.Size = new System.Drawing.Size(106, 20);
+ this.labDevText.TabIndex = 2;
+ this.labDevText.Text = "送检仪器管理";
+ this.labDevText.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
+ this.labDevText.Click += new System.EventHandler(this.panDev_Click);
+ this.labDevText.MouseLeave += new System.EventHandler(this.panDev_MouseLeave);
+ this.labDevText.MouseHover += new System.EventHandler(this.panDev_MouseHover);
+ //
+ // labDevSelected
+ //
+ this.labDevSelected.BackColor = System.Drawing.Color.Transparent;
+ this.labDevSelected.Location = new System.Drawing.Point(8, 48);
+ this.labDevSelected.Margin = new System.Windows.Forms.Padding(0);
+ this.labDevSelected.Name = "labDevSelected";
+ this.labDevSelected.Size = new System.Drawing.Size(121, 2);
+ this.labDevSelected.TabIndex = 3;
+ //
+ // picIconDev
+ //
+ this.picIconDev.BackColor = System.Drawing.Color.Transparent;
+ this.picIconDev.BackgroundImage = global::Casic.Birmm.RbFreqStandMeasure.Properties.Resources.icon_dev;
+ this.picIconDev.BackgroundImageLayout = System.Windows.Forms.ImageLayout.Zoom;
+ this.picIconDev.Location = new System.Drawing.Point(10, 14);
+ this.picIconDev.Name = "picIconDev";
+ this.picIconDev.Size = new System.Drawing.Size(20, 20);
+ this.picIconDev.TabIndex = 1;
+ this.picIconDev.TabStop = false;
+ this.picIconDev.Click += new System.EventHandler(this.panDev_Click);
+ this.picIconDev.MouseLeave += new System.EventHandler(this.panDev_MouseLeave);
+ this.picIconDev.MouseHover += new System.EventHandler(this.panDev_MouseHover);
+ //
+ // panSetting
+ //
+ this.panSetting.Back = System.Drawing.Color.Empty;
+ this.panSetting.Controls.Add(this.labSettingSelected);
+ this.panSetting.Controls.Add(this.labSettingText);
+ this.panSetting.Controls.Add(this.picIconSetting);
+ this.panSetting.Location = new System.Drawing.Point(879, 0);
+ this.panSetting.MatrixRound = 8;
+ this.panSetting.Name = "panSetting";
+ this.panSetting.Size = new System.Drawing.Size(109, 50);
+ this.panSetting.TabIndex = 2;
+ this.panSetting.Click += new System.EventHandler(this.panSetting_Click);
+ this.panSetting.MouseLeave += new System.EventHandler(this.panSetting_MouseLeave);
+ this.panSetting.MouseHover += new System.EventHandler(this.panSetting_MouseHover);
+ //
+ // labSettingSelected
+ //
+ this.labSettingSelected.BackColor = System.Drawing.Color.Transparent;
+ this.labSettingSelected.Location = new System.Drawing.Point(10, 48);
+ this.labSettingSelected.Margin = new System.Windows.Forms.Padding(0);
+ this.labSettingSelected.Name = "labSettingSelected";
+ this.labSettingSelected.Size = new System.Drawing.Size(89, 2);
+ this.labSettingSelected.TabIndex = 4;
+ //
+ // labSettingText
+ //
+ this.labSettingText.BackColor = System.Drawing.Color.Transparent;
+ this.labSettingText.Cursor = System.Windows.Forms.Cursors.Hand;
+ this.labSettingText.Font = new System.Drawing.Font("微软雅黑", 16F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Pixel, ((byte)(134)));
+ this.labSettingText.ForeColor = System.Drawing.SystemColors.ControlText;
+ this.labSettingText.Location = new System.Drawing.Point(30, 14);
+ this.labSettingText.Margin = new System.Windows.Forms.Padding(0);
+ this.labSettingText.Name = "labSettingText";
+ this.labSettingText.Size = new System.Drawing.Size(74, 20);
+ this.labSettingText.TabIndex = 2;
+ this.labSettingText.Text = "系统设置";
+ this.labSettingText.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
+ this.labSettingText.Click += new System.EventHandler(this.panSetting_Click);
+ this.labSettingText.MouseLeave += new System.EventHandler(this.panSetting_MouseLeave);
+ this.labSettingText.MouseHover += new System.EventHandler(this.panSetting_MouseHover);
+ //
+ // picIconSetting
+ //
+ this.picIconSetting.BackColor = System.Drawing.Color.Transparent;
+ this.picIconSetting.BackgroundImage = global::Casic.Birmm.RbFreqStandMeasure.Properties.Resources.icon_setting;
+ this.picIconSetting.BackgroundImageLayout = System.Windows.Forms.ImageLayout.Zoom;
+ this.picIconSetting.Location = new System.Drawing.Point(10, 14);
+ this.picIconSetting.Name = "picIconSetting";
+ this.picIconSetting.Size = new System.Drawing.Size(20, 20);
+ this.picIconSetting.TabIndex = 1;
+ this.picIconSetting.TabStop = false;
+ this.picIconSetting.Click += new System.EventHandler(this.panSetting_Click);
+ this.picIconSetting.MouseLeave += new System.EventHandler(this.panSetting_MouseLeave);
+ this.picIconSetting.MouseHover += new System.EventHandler(this.panSetting_MouseHover);
+ //
+ // panStatus
+ //
+ this.panStatus.Back = System.Drawing.Color.Empty;
+ this.panStatus.BackColor = System.Drawing.Color.Transparent;
+ this.panStatus.Controls.Add(this.labStatusText);
+ this.panStatus.Controls.Add(this.picIconStatus);
+ this.panStatus.Controls.Add(this.labStatusSelected);
+ this.panStatus.Location = new System.Drawing.Point(101, 0);
+ this.panStatus.MatrixRound = 8;
+ this.panStatus.Name = "panStatus";
+ this.panStatus.Size = new System.Drawing.Size(109, 50);
+ this.panStatus.TabIndex = 1;
+ this.panStatus.Click += new System.EventHandler(this.panStatus_Click);
+ this.panStatus.MouseLeave += new System.EventHandler(this.panStatus_MouseLeave);
+ this.panStatus.MouseHover += new System.EventHandler(this.panStatus_MouseHover);
+ //
+ // labStatusText
+ //
+ this.labStatusText.BackColor = System.Drawing.Color.Transparent;
+ this.labStatusText.Cursor = System.Windows.Forms.Cursors.Hand;
+ this.labStatusText.Font = new System.Drawing.Font("微软雅黑", 16F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Pixel, ((byte)(134)));
+ this.labStatusText.ForeColor = System.Drawing.SystemColors.ControlText;
+ this.labStatusText.Location = new System.Drawing.Point(30, 14);
+ this.labStatusText.Margin = new System.Windows.Forms.Padding(0);
+ this.labStatusText.Name = "labStatusText";
+ this.labStatusText.Size = new System.Drawing.Size(74, 20);
+ this.labStatusText.TabIndex = 2;
+ this.labStatusText.Text = "基准状态";
+ this.labStatusText.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
+ this.labStatusText.Click += new System.EventHandler(this.panStatus_Click);
+ this.labStatusText.MouseLeave += new System.EventHandler(this.panStatus_MouseLeave);
+ this.labStatusText.MouseHover += new System.EventHandler(this.panStatus_MouseHover);
+ //
+ // picIconStatus
+ //
+ this.picIconStatus.BackgroundImage = global::Casic.Birmm.RbFreqStandMeasure.Properties.Resources.icon_status;
+ this.picIconStatus.BackgroundImageLayout = System.Windows.Forms.ImageLayout.Zoom;
+ this.picIconStatus.Location = new System.Drawing.Point(10, 14);
+ this.picIconStatus.Name = "picIconStatus";
+ this.picIconStatus.Size = new System.Drawing.Size(20, 20);
+ this.picIconStatus.TabIndex = 1;
+ this.picIconStatus.TabStop = false;
+ this.picIconStatus.Click += new System.EventHandler(this.panStatus_Click);
+ this.picIconStatus.MouseLeave += new System.EventHandler(this.panStatus_MouseLeave);
+ this.picIconStatus.MouseHover += new System.EventHandler(this.panStatus_MouseHover);
+ //
+ // labStatusSelected
+ //
+ this.labStatusSelected.BackColor = System.Drawing.Color.Transparent;
+ this.labStatusSelected.Location = new System.Drawing.Point(10, 48);
+ this.labStatusSelected.Margin = new System.Windows.Forms.Padding(0);
+ this.labStatusSelected.Name = "labStatusSelected";
+ this.labStatusSelected.Size = new System.Drawing.Size(89, 2);
+ this.labStatusSelected.TabIndex = 0;
+ //
+ // panData
+ //
+ this.panData.Back = System.Drawing.Color.Empty;
+ this.panData.Controls.Add(this.labDataSelected);
+ this.panData.Controls.Add(this.labDataText);
+ this.panData.Controls.Add(this.picIconData);
+ this.panData.Location = new System.Drawing.Point(765, 0);
+ this.panData.MatrixRound = 8;
+ this.panData.Name = "panData";
+ this.panData.Size = new System.Drawing.Size(109, 50);
+ this.panData.TabIndex = 2;
+ this.panData.Click += new System.EventHandler(this.panData_Click);
+ this.panData.MouseLeave += new System.EventHandler(this.panData_MouseLeave);
+ this.panData.MouseHover += new System.EventHandler(this.panData_MouseHover);
+ //
+ // labDataSelected
+ //
+ this.labDataSelected.BackColor = System.Drawing.Color.Transparent;
+ this.labDataSelected.Location = new System.Drawing.Point(10, 48);
+ this.labDataSelected.Margin = new System.Windows.Forms.Padding(0);
+ this.labDataSelected.Name = "labDataSelected";
+ this.labDataSelected.Size = new System.Drawing.Size(89, 2);
+ this.labDataSelected.TabIndex = 3;
+ //
+ // labDataText
+ //
+ this.labDataText.BackColor = System.Drawing.Color.Transparent;
+ this.labDataText.Cursor = System.Windows.Forms.Cursors.Hand;
+ this.labDataText.Font = new System.Drawing.Font("微软雅黑", 16F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Pixel, ((byte)(134)));
+ this.labDataText.ForeColor = System.Drawing.SystemColors.ControlText;
+ this.labDataText.Location = new System.Drawing.Point(30, 14);
+ this.labDataText.Margin = new System.Windows.Forms.Padding(0);
+ this.labDataText.Name = "labDataText";
+ this.labDataText.Size = new System.Drawing.Size(74, 20);
+ this.labDataText.TabIndex = 2;
+ this.labDataText.Text = "数据管理";
+ this.labDataText.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
+ this.labDataText.Click += new System.EventHandler(this.panData_Click);
+ this.labDataText.MouseLeave += new System.EventHandler(this.panData_MouseLeave);
+ this.labDataText.MouseHover += new System.EventHandler(this.panData_MouseHover);
+ //
+ // picIconData
+ //
+ this.picIconData.BackColor = System.Drawing.Color.Transparent;
+ this.picIconData.BackgroundImage = global::Casic.Birmm.RbFreqStandMeasure.Properties.Resources.icon_data;
+ this.picIconData.BackgroundImageLayout = System.Windows.Forms.ImageLayout.Zoom;
+ this.picIconData.Location = new System.Drawing.Point(10, 14);
+ this.picIconData.Name = "picIconData";
+ this.picIconData.Size = new System.Drawing.Size(20, 20);
+ this.picIconData.TabIndex = 1;
+ this.picIconData.TabStop = false;
+ this.picIconData.Click += new System.EventHandler(this.panData_Click);
+ this.picIconData.MouseLeave += new System.EventHandler(this.panData_MouseLeave);
+ this.picIconData.MouseHover += new System.EventHandler(this.panData_MouseHover);
+ //
+ // panHome
+ //
+ this.panHome.Back = System.Drawing.Color.Empty;
+ this.panHome.Controls.Add(this.labHomeText);
+ this.panHome.Controls.Add(this.picIconHome);
+ this.panHome.Controls.Add(this.labHomeSelected);
+ this.panHome.Cursor = System.Windows.Forms.Cursors.Hand;
+ this.panHome.Location = new System.Drawing.Point(20, 0);
+ this.panHome.MatrixRound = 8;
+ this.panHome.Name = "panHome";
+ this.panHome.Size = new System.Drawing.Size(75, 50);
+ this.panHome.TabIndex = 0;
+ this.panHome.Click += new System.EventHandler(this.panHome_Click);
+ this.panHome.MouseLeave += new System.EventHandler(this.panHome_MouseLeave);
+ this.panHome.MouseHover += new System.EventHandler(this.panHome_MouseHover);
+ //
+ // labHomeText
+ //
+ this.labHomeText.BackColor = System.Drawing.Color.Transparent;
+ this.labHomeText.Font = new System.Drawing.Font("微软雅黑", 16F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Pixel, ((byte)(134)));
+ this.labHomeText.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(18)))), ((int)(((byte)(150)))), ((int)(((byte)(219)))));
+ this.labHomeText.Location = new System.Drawing.Point(30, 14);
+ this.labHomeText.Margin = new System.Windows.Forms.Padding(0);
+ this.labHomeText.Name = "labHomeText";
+ this.labHomeText.Size = new System.Drawing.Size(42, 20);
+ this.labHomeText.TabIndex = 2;
+ this.labHomeText.Text = "首页";
+ this.labHomeText.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
+ this.labHomeText.Click += new System.EventHandler(this.panHome_Click);
+ this.labHomeText.MouseLeave += new System.EventHandler(this.panHome_MouseLeave);
+ this.labHomeText.MouseHover += new System.EventHandler(this.panHome_MouseHover);
+ //
+ // picIconHome
+ //
+ this.picIconHome.BackColor = System.Drawing.Color.Transparent;
+ this.picIconHome.BackgroundImage = global::Casic.Birmm.RbFreqStandMeasure.Properties.Resources.icon_home_selected;
+ this.picIconHome.BackgroundImageLayout = System.Windows.Forms.ImageLayout.Zoom;
+ this.picIconHome.Location = new System.Drawing.Point(10, 14);
+ this.picIconHome.Margin = new System.Windows.Forms.Padding(0);
+ this.picIconHome.Name = "picIconHome";
+ this.picIconHome.Size = new System.Drawing.Size(20, 20);
+ this.picIconHome.TabIndex = 1;
+ this.picIconHome.TabStop = false;
+ this.picIconHome.Click += new System.EventHandler(this.panHome_Click);
+ this.picIconHome.MouseLeave += new System.EventHandler(this.panHome_MouseLeave);
+ this.picIconHome.MouseHover += new System.EventHandler(this.panHome_MouseHover);
+ //
+ // labHomeSelected
+ //
+ this.labHomeSelected.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(18)))), ((int)(((byte)(150)))), ((int)(((byte)(219)))));
+ this.labHomeSelected.Location = new System.Drawing.Point(10, 48);
+ this.labHomeSelected.Name = "labHomeSelected";
+ this.labHomeSelected.Size = new System.Drawing.Size(55, 2);
+ this.labHomeSelected.TabIndex = 0;
+ //
+ // panMeasure
+ //
+ this.panMeasure.Back = System.Drawing.Color.Empty;
+ this.panMeasure.Controls.Add(this.labMeasureText);
+ this.panMeasure.Controls.Add(this.labMeasureSelected);
+ this.panMeasure.Controls.Add(this.picIconMeasure);
+ this.panMeasure.Location = new System.Drawing.Point(619, 0);
+ this.panMeasure.MatrixRound = 8;
+ this.panMeasure.Name = "panMeasure";
+ this.panMeasure.Size = new System.Drawing.Size(141, 50);
+ this.panMeasure.TabIndex = 2;
+ this.panMeasure.Click += new System.EventHandler(this.panMeasure_Click);
+ this.panMeasure.MouseLeave += new System.EventHandler(this.panMeasure_MouseLeave);
+ this.panMeasure.MouseHover += new System.EventHandler(this.panMeasure_MouseHover);
+ //
+ // labMeasureText
+ //
+ this.labMeasureText.BackColor = System.Drawing.Color.Transparent;
+ this.labMeasureText.Cursor = System.Windows.Forms.Cursors.Hand;
+ this.labMeasureText.Font = new System.Drawing.Font("微软雅黑", 16F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Pixel, ((byte)(134)));
+ this.labMeasureText.ForeColor = System.Drawing.SystemColors.ControlText;
+ this.labMeasureText.Location = new System.Drawing.Point(30, 14);
+ this.labMeasureText.Margin = new System.Windows.Forms.Padding(0);
+ this.labMeasureText.Name = "labMeasureText";
+ this.labMeasureText.Size = new System.Drawing.Size(106, 20);
+ this.labMeasureText.TabIndex = 2;
+ this.labMeasureText.Text = "计量信息管理";
+ this.labMeasureText.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
+ this.labMeasureText.Click += new System.EventHandler(this.panMeasure_Click);
+ this.labMeasureText.MouseLeave += new System.EventHandler(this.panMeasure_MouseLeave);
+ this.labMeasureText.MouseHover += new System.EventHandler(this.panMeasure_MouseHover);
+ //
+ // labMeasureSelected
+ //
+ this.labMeasureSelected.BackColor = System.Drawing.Color.Transparent;
+ this.labMeasureSelected.Location = new System.Drawing.Point(10, 48);
+ this.labMeasureSelected.Margin = new System.Windows.Forms.Padding(0);
+ this.labMeasureSelected.Name = "labMeasureSelected";
+ this.labMeasureSelected.Size = new System.Drawing.Size(121, 2);
+ this.labMeasureSelected.TabIndex = 3;
+ //
+ // picIconMeasure
+ //
+ this.picIconMeasure.BackColor = System.Drawing.Color.Transparent;
+ this.picIconMeasure.BackgroundImage = global::Casic.Birmm.RbFreqStandMeasure.Properties.Resources.icon_measure;
+ this.picIconMeasure.BackgroundImageLayout = System.Windows.Forms.ImageLayout.Zoom;
+ this.picIconMeasure.Location = new System.Drawing.Point(10, 14);
+ this.picIconMeasure.Name = "picIconMeasure";
+ this.picIconMeasure.Size = new System.Drawing.Size(20, 20);
+ this.picIconMeasure.TabIndex = 1;
+ this.picIconMeasure.TabStop = false;
+ this.picIconMeasure.Click += new System.EventHandler(this.panMeasure_Click);
+ this.picIconMeasure.MouseLeave += new System.EventHandler(this.panMeasure_MouseLeave);
+ this.picIconMeasure.MouseHover += new System.EventHandler(this.panMeasure_MouseHover);
+ //
+ // panCounter
+ //
+ this.panCounter.Back = System.Drawing.Color.Empty;
+ this.panCounter.Controls.Add(this.labCounterSelected);
+ this.panCounter.Controls.Add(this.labCounterText);
+ this.panCounter.Controls.Add(this.picIconCounter);
+ this.panCounter.Location = new System.Drawing.Point(360, 0);
+ this.panCounter.MatrixRound = 8;
+ this.panCounter.Name = "panCounter";
+ this.panCounter.Size = new System.Drawing.Size(254, 50);
+ this.panCounter.TabIndex = 2;
+ this.panCounter.Click += new System.EventHandler(this.panCounter_Click);
+ this.panCounter.MouseLeave += new System.EventHandler(this.panCounter_MouseLeave);
+ this.panCounter.MouseHover += new System.EventHandler(this.panCounter_MouseHover);
+ //
+ // labCounterSelected
+ //
+ this.labCounterSelected.BackColor = System.Drawing.Color.Transparent;
+ this.labCounterSelected.Location = new System.Drawing.Point(10, 48);
+ this.labCounterSelected.Margin = new System.Windows.Forms.Padding(0);
+ this.labCounterSelected.Name = "labCounterSelected";
+ this.labCounterSelected.Size = new System.Drawing.Size(233, 2);
+ this.labCounterSelected.TabIndex = 4;
+ //
+ // labCounterText
+ //
+ this.labCounterText.BackColor = System.Drawing.Color.Transparent;
+ this.labCounterText.Cursor = System.Windows.Forms.Cursors.Hand;
+ this.labCounterText.Font = new System.Drawing.Font("微软雅黑", 16F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Pixel, ((byte)(134)));
+ this.labCounterText.ForeColor = System.Drawing.SystemColors.ControlText;
+ this.labCounterText.Location = new System.Drawing.Point(30, 14);
+ this.labCounterText.Margin = new System.Windows.Forms.Padding(0);
+ this.labCounterText.Name = "labCounterText";
+ this.labCounterText.Size = new System.Drawing.Size(218, 20);
+ this.labCounterText.TabIndex = 2;
+ this.labCounterText.Text = "频率计数器范围及灵敏度测量";
+ this.labCounterText.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
+ this.labCounterText.Click += new System.EventHandler(this.panCounter_Click);
+ this.labCounterText.MouseLeave += new System.EventHandler(this.panCounter_MouseLeave);
+ this.labCounterText.MouseHover += new System.EventHandler(this.panCounter_MouseHover);
+ //
+ // picIconCounter
+ //
+ this.picIconCounter.BackColor = System.Drawing.Color.Transparent;
+ this.picIconCounter.BackgroundImage = global::Casic.Birmm.RbFreqStandMeasure.Properties.Resources.icon_counter;
+ this.picIconCounter.BackgroundImageLayout = System.Windows.Forms.ImageLayout.Zoom;
+ this.picIconCounter.Location = new System.Drawing.Point(10, 14);
+ this.picIconCounter.Name = "picIconCounter";
+ this.picIconCounter.Size = new System.Drawing.Size(20, 20);
+ this.picIconCounter.TabIndex = 1;
+ this.picIconCounter.TabStop = false;
+ this.picIconCounter.Click += new System.EventHandler(this.panCounter_Click);
+ this.picIconCounter.MouseLeave += new System.EventHandler(this.panCounter_MouseLeave);
+ this.picIconCounter.MouseHover += new System.EventHandler(this.panCounter_MouseHover);
+ //
+ // panelMain
+ //
+ this.panelMain.Location = new System.Drawing.Point(0, 114);
+ this.panelMain.Name = "panelMain";
+ this.panelMain.Size = new System.Drawing.Size(1024, 654);
+ this.panelMain.TabIndex = 2;
+ //
// RbFreqStdMeas
//
this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 12F);
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
this.ClientSize = new System.Drawing.Size(1024, 768);
+ this.Controls.Add(this.panelMain);
this.Controls.Add(this.panMenu);
this.Controls.Add(this.penBanner);
this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.None;
@@ -221,11 +560,21 @@
this.Text = "RbFreqStdMeas";
this.Load += new System.EventHandler(this.RbFreqStdMeas_Load);
this.panMenu.ResumeLayout(false);
+ this.penBanner.ResumeLayout(false);
+ this.panDev.ResumeLayout(false);
+ ((System.ComponentModel.ISupportInitialize)(this.picIconDev)).EndInit();
+ this.panSetting.ResumeLayout(false);
+ ((System.ComponentModel.ISupportInitialize)(this.picIconSetting)).EndInit();
this.panStatus.ResumeLayout(false);
((System.ComponentModel.ISupportInitialize)(this.picIconStatus)).EndInit();
+ this.panData.ResumeLayout(false);
+ ((System.ComponentModel.ISupportInitialize)(this.picIconData)).EndInit();
this.panHome.ResumeLayout(false);
((System.ComponentModel.ISupportInitialize)(this.picIconHome)).EndInit();
- this.penBanner.ResumeLayout(false);
+ this.panMeasure.ResumeLayout(false);
+ ((System.ComponentModel.ISupportInitialize)(this.picIconMeasure)).EndInit();
+ this.panCounter.ResumeLayout(false);
+ ((System.ComponentModel.ISupportInitialize)(this.picIconCounter)).EndInit();
this.ResumeLayout(false);
}
@@ -244,5 +593,27 @@
private RoundPanel panStatus;
private RoundPanel panHome;
private System.Windows.Forms.Label labStatusSelected;
+ private RoundPanel panDev;
+ private System.Windows.Forms.PictureBox picIconDev;
+ private System.Windows.Forms.Label labDevText;
+ private System.Windows.Forms.Label labMeasureSelected;
+ private RoundPanel panCounter;
+ private System.Windows.Forms.Label labCounterText;
+ private System.Windows.Forms.PictureBox picIconCounter;
+ private RoundPanel panMeasure;
+ private System.Windows.Forms.Label labMeasureText;
+ private System.Windows.Forms.PictureBox picIconMeasure;
+ private RoundPanel panData;
+ private System.Windows.Forms.Label labDataText;
+ private System.Windows.Forms.PictureBox picIconData;
+ private RoundPanel panSetting;
+ private System.Windows.Forms.Label labSettingText;
+ private System.Windows.Forms.PictureBox picIconSetting;
+ private System.Windows.Forms.Label labCounterSelected;
+ private System.Windows.Forms.Label labDevSelected;
+ private System.Windows.Forms.Label labDataSelected;
+ private System.Windows.Forms.Label labSettingSelected;
+ private System.Windows.Forms.Button btnMinSys;
+ private System.Windows.Forms.Panel panelMain;
}
}
\ No newline at end of file
diff --git a/RbFreqStandMeasure/RbFreqStdMeas.cs b/RbFreqStandMeasure/RbFreqStdMeas.cs
index 3858ddb..af980d7 100644
--- a/RbFreqStandMeasure/RbFreqStdMeas.cs
+++ b/RbFreqStandMeasure/RbFreqStdMeas.cs
@@ -1,13 +1,9 @@
-using Casic.Birmm.RbFreqStandMeasure.Properties;
+using Casic.Birmm.RbFreqStandMeasure.info;
+using Casic.Birmm.RbFreqStandMeasure.Properties;
+using Casic.Birmm.RbFreqStandMeasure.setting;
using System;
-using System.Collections.Generic;
-using System.ComponentModel;
-using System.Data;
using System.Drawing;
-using System.Linq;
-using System.Resources;
using System.Runtime.InteropServices;
-using System.Text;
using System.Windows.Forms;
namespace Casic.Birmm.RbFreqStandMeasure
@@ -15,7 +11,7 @@
public partial class RbFreqStdMeas : Form
{
- #region 无边框拖动效果
+ #region 无边框拖动效果/最小化窗口/关闭窗口
[DllImport("user32.dll")]//拖动无窗体的控件
public static extern bool ReleaseCapture();
[DllImport("user32.dll")]
@@ -30,9 +26,29 @@
ReleaseCapture();
SendMessage(this.Handle, WM_SYSCOMMAND, SC_MOVE + HTCAPTION, 0);
}
+ private void btnExitSys_Click(object sender, EventArgs e)
+ {
+ Application.Exit();
+ }
+ private void btnMinSys_Click(object sender, EventArgs e)
+ {
+ this.WindowState = FormWindowState.Minimized;
+ }
+ private void btnExitSys_MouseHover(object sender, EventArgs e)
+ {
+ ToolTip p = new ToolTip();
+ p.ShowAlways = true;
+ p.SetToolTip(this.btnExitSys, "退出");
+ }
+ private void btnMinSys_MouseHover(object sender, EventArgs e)
+ {
+ ToolTip p = new ToolTip();
+ p.ShowAlways = true;
+ p.SetToolTip(this.btnMinSys, "最小化");
+ }
#endregion
- private bool[] menuSelected = { true, false };
+ private bool[] menuSelected = { true, false, false, false, false, false, false };
// 按钮图标
private PictureBox[] menuPics;
// 按钮图标的资源名称(选中的资源名称在后面加上 _selected)
@@ -57,7 +73,7 @@
// 将当前按钮的效果设置为默认未选中
this.menuPics[index].BackgroundImage = (Bitmap)Resources.ResourceManager.GetObject(this.menuIconResources[index], null);
- this.menuLabels[index].ForeColor = ColorTranslator.FromHtml("#2C2C2C");
+ this.menuLabels[index].ForeColor = ColorTranslator.FromHtml("#333333");
this.menuUnderlines[index].BackColor = Color.Transparent;
}
@@ -79,13 +95,15 @@
LeaveHome();
// 重新设置所有按钮的状态
- this.menuSelected = new bool[] { true, false };
+ this.menuSelected = new bool[] { true, false, false, false, false, false, false };
// 将新选中的按钮设置为选中
this.picIconHome.BackgroundImage = (Bitmap)Resources.ResourceManager.GetObject("icon_home_selected", null);
- this.labHomeText.ForeColor = ColorTranslator.FromHtml("#1296db");
- this.labHomeSelected.BackColor = ColorTranslator.FromHtml("#1296db");
+ this.labHomeText.ForeColor = ColorTranslator.FromHtml("#3f84d7");
+ this.labHomeSelected.BackColor = ColorTranslator.FromHtml("#3f84d7");
+ // 切换至首页
+ switchMainPanel(0);
}
#endregion
@@ -107,12 +125,163 @@
LeaveStatus();
// 重新设置所有按钮的状态
- this.menuSelected = new bool[] { false, true };
+ this.menuSelected = new bool[] { false, true, false, false, false, false, false };
// 将新选中的按钮设置为选中
this.picIconStatus.BackgroundImage = (Bitmap) Resources.ResourceManager.GetObject("icon_status_selected", null);
- this.labStatusText.ForeColor = ColorTranslator.FromHtml("#1296db");
- this.labStatusSelected.BackColor = ColorTranslator.FromHtml("#1296db");
+ this.labStatusText.ForeColor = ColorTranslator.FromHtml("#3f84d7");
+ this.labStatusSelected.BackColor = ColorTranslator.FromHtml("#3f84d7");
+
+ // 切换到基准状态页面
+ switchMainPanel(1);
+ }
+ #endregion
+
+ #region 送检仪器按钮点击、移入/移出效果
+ private void HoverDev()
+ {
+ panDev.Back = ColorTranslator.FromHtml("#56a3f2");
+ }
+ private void LeaveDev()
+ {
+ panDev.Back = Color.Transparent;
+ }
+ private void SelectDev()
+ {
+ // 移除所有按钮的选中样式
+ this.ClearAllMenuSelected();
+
+ // 鼠标移入效果去掉
+ LeaveDev();
+
+ // 重新设置所有按钮的状态
+ this.menuSelected = new bool[] { false, false, true, false, false ,false ,false };
+
+ // 将新选中的按钮设置为选中
+ this.picIconDev.BackgroundImage = (Bitmap)Resources.ResourceManager.GetObject("icon_dev_selected", null);
+ this.labDevText.ForeColor = ColorTranslator.FromHtml("#3f84d7");
+ this.labDevSelected.BackColor = ColorTranslator.FromHtml("#3f84d7");
+
+ // 切换至待检仪器管理
+ switchMainPanel(2);
+ }
+ #endregion
+
+ #region 频率计数器测量点击、移入/移出效果
+ private void HoverCounter()
+ {
+ panCounter.Back = ColorTranslator.FromHtml("#56a3f2");
+ }
+ private void LeaveCounter()
+ {
+ panCounter.Back = Color.Transparent;
+ }
+ private void SelectCounter()
+ {
+ // 移除所有按钮的选中样式
+ this.ClearAllMenuSelected();
+
+ // 鼠标移入效果去掉
+ LeaveCounter();
+
+ // 重新设置所有按钮的状态
+ this.menuSelected = new bool[] { false, false, false, true, false, false, false };
+
+ // 将新选中的按钮设置为选中
+ this.picIconCounter.BackgroundImage = (Bitmap)Resources.ResourceManager.GetObject("icon_counter_selected", null);
+ this.labCounterText.ForeColor = ColorTranslator.FromHtml("#3f84d7");
+ this.labCounterSelected.BackColor = ColorTranslator.FromHtml("#3f84d7");
+ }
+ #endregion
+
+ #region 计量管理点击、移入/移出效果
+ private void HoverMeasure()
+ {
+ panMeasure.Back = ColorTranslator.FromHtml("#56a3f2");
+ }
+ private void LeaveMeasure()
+ {
+ panMeasure.Back = Color.Transparent;
+ }
+ private void SelectMeasure()
+ {
+ // 移除所有按钮的选中样式
+ this.ClearAllMenuSelected();
+
+ // 鼠标移入效果去掉
+ LeaveMeasure();
+
+ // 重新设置所有按钮的状态
+ this.menuSelected = new bool[] { false, false, false, false, true, false, false };
+
+ // 将新选中的按钮设置为选中
+ this.picIconMeasure.BackgroundImage = (Bitmap)Resources.ResourceManager.GetObject("icon_measure_selected", null);
+ this.labMeasureText.ForeColor = ColorTranslator.FromHtml("#3f84d7");
+ this.labMeasureSelected.BackColor = ColorTranslator.FromHtml("#3f84d7");
+
+ // 切换至计量信息管理
+ switchMainPanel(4);
+ }
+ #endregion
+
+ #region 数据管理点击、移入/移出效果
+ private void HoverData()
+ {
+ panData.Back = ColorTranslator.FromHtml("#56a3f2");
+ }
+ private void LeaveData()
+ {
+ panData.Back = Color.Transparent;
+ }
+ private void SelectData()
+ {
+ // 移除所有按钮的选中样式
+ this.ClearAllMenuSelected();
+
+ // 鼠标移入效果去掉
+ LeaveData();
+
+ // 重新设置所有按钮的状态
+ this.menuSelected = new bool[] { false, false, false, false, false, true, false };
+
+ // 将新选中的按钮设置为选中
+ this.picIconData.BackgroundImage = (Bitmap)Resources.ResourceManager.GetObject("icon_data_selected", null);
+ this.labDataText.ForeColor = ColorTranslator.FromHtml("#3f84d7");
+ this.labDataSelected.BackColor = ColorTranslator.FromHtml("#3f84d7");
+
+ // 弹出对话框进行数据备份与还原操作
+ DataBackupDlg dataDlg = new DataBackupDlg();
+ dataDlg.ShowDialog();
+ }
+ #endregion
+
+ #region 系统管理点击、移入/移出效果
+ private void HoverSetting()
+ {
+ panSetting.Back = ColorTranslator.FromHtml("#56a3f2");
+ }
+ private void LeaveSetting()
+ {
+ panSetting.Back = Color.Transparent;
+ }
+ private void SelectSetting()
+ {
+ // 移除所有按钮的选中样式
+ this.ClearAllMenuSelected();
+
+ // 鼠标移入效果去掉
+ LeaveSetting();
+
+ // 重新设置所有按钮的状态
+ this.menuSelected = new bool[] { false, false, false, false, false, false, true };
+
+ // 将新选中的按钮设置为选中
+ this.picIconSetting.BackgroundImage = (Bitmap)Resources.ResourceManager.GetObject("icon_setting_selected", null);
+ this.labSettingText.ForeColor = ColorTranslator.FromHtml("#3f84d7");
+ this.labSettingSelected.BackColor = ColorTranslator.FromHtml("#3f84d7");
+
+ // 切换到设置的界面
+ switchMainPanel(6);
}
#endregion
@@ -123,22 +292,13 @@
private void RbFreqStdMeas_Load(object sender, EventArgs e)
{
- this.menuPics = new PictureBox[] { this.picIconHome, this.picIconStatus };
- this.menuLabels = new Label[] { this.labHomeText, this.labStatusText };
- this.menuUnderlines = new Label[] { this.labHomeSelected, this.labStatusSelected };
- this.menuIconResources = new string[] { "icon_home", "icon_status" };
- }
+ this.menuPics = new PictureBox[] { this.picIconHome, this.picIconStatus, this.picIconDev, this.picIconCounter, this.picIconMeasure, this.picIconData, this.picIconSetting };
+ this.menuLabels = new Label[] { this.labHomeText, this.labStatusText, this.labDevText, this.labCounterText, this.labMeasureText, this.labDataText, this.labSettingText };
+ this.menuUnderlines = new Label[] { this.labHomeSelected, this.labStatusSelected, this.labDevSelected, this.labCounterSelected, this.labMeasureSelected, this.labDataSelected, this.labSettingSelected };
+ this.menuIconResources = new string[] { "icon_home", "icon_status", "icon_dev", "icon_counter", "icon_measure", "icon_data", "icon_setting" };
- private void btnExitSys_Click(object sender, EventArgs e)
- {
- Application.Exit();
- }
-
- private void btnExitSys_MouseHover(object sender, EventArgs e)
- {
- ToolTip p = new ToolTip();
- p.ShowAlways = true;
- p.SetToolTip(this.btnExitSys, "退出");
+ // 加载首页的内容
+ switchMainPanel(0);
}
private void panHome_Click(object sender, EventArgs e)
@@ -191,5 +351,169 @@
LeaveStatus();
}
}
+
+ private void panDev_Click(object sender, EventArgs e)
+ {
+ if (this.menuSelected[2] == false)
+ {
+ SelectDev();
+ }
+ }
+
+ private void panDev_MouseHover(object sender, EventArgs e)
+ {
+ if (this.menuSelected[2] == false)
+ {
+ HoverDev();
+ }
+ }
+
+ private void panDev_MouseLeave(object sender, EventArgs e)
+ {
+ if (this.menuSelected[2] == false)
+ {
+ LeaveDev();
+ }
+ }
+
+ private void panCounter_Click(object sender, EventArgs e)
+ {
+ if (this.menuSelected[3] == false)
+ {
+ SelectCounter();
+ }
+ }
+
+ private void panCounter_MouseHover(object sender, EventArgs e)
+ {
+ if (this.menuSelected[3] == false)
+ {
+ HoverCounter();
+ }
+ }
+
+ private void panCounter_MouseLeave(object sender, EventArgs e)
+ {
+ if (this.menuSelected[3] == false)
+ {
+ LeaveCounter();
+ }
+ }
+
+ private void panMeasure_Click(object sender, EventArgs e)
+ {
+ if (this.menuSelected[4] == false)
+ {
+ SelectMeasure();
+ }
+ }
+
+ private void panMeasure_MouseHover(object sender, EventArgs e)
+ {
+ if (this.menuSelected[4] == false)
+ {
+ HoverMeasure();
+ }
+ }
+
+ private void panMeasure_MouseLeave(object sender, EventArgs e)
+ {
+ if (this.menuSelected[4] == false)
+ {
+ LeaveMeasure();
+ }
+ }
+
+ private void panData_Click(object sender, EventArgs e)
+ {
+ if (this.menuSelected[5] == false)
+ {
+ SelectData();
+ }
+ }
+
+ private void panData_MouseHover(object sender, EventArgs e)
+ {
+ if (this.menuSelected[5] == false)
+ {
+ HoverData();
+ }
+ }
+
+ private void panData_MouseLeave(object sender, EventArgs e)
+ {
+ if (this.menuSelected[5] == false)
+ {
+ LeaveData();
+ }
+ }
+
+ private void panSetting_Click(object sender, EventArgs e)
+ {
+ if (this.menuSelected[6] == false)
+ {
+ SelectSetting();
+ }
+ }
+
+ private void panSetting_MouseHover(object sender, EventArgs e)
+ {
+ if (this.menuSelected[6] == false)
+ {
+ HoverSetting();
+ }
+ }
+
+ private void panSetting_MouseLeave(object sender, EventArgs e)
+ {
+ if (this.menuSelected[6] == false)
+ {
+ LeaveSetting();
+ }
+ }
+
+ private void switchMainPanel(int index)
+ {
+ this.panelMain.Controls.Clear();
+
+ switch (index)
+ {
+ case 0: // 首页
+ HomeCtrlForm home = new HomeCtrlForm();
+ home.Show();
+ this.panelMain.Controls.Add(home);
+ break;
+
+ case 1: // 基准状态
+ StatusCtrlForm statusForm = new StatusCtrlForm();
+ statusForm.Show();
+ this.panelMain.Controls.Add(statusForm);
+ break;
+
+ case 2: // 待检设备
+ InfoCtrlForm infoForm = new InfoCtrlForm();
+ infoForm.Show();
+ this.panelMain.Controls.Add(infoForm);
+ break;
+
+ case 3: // 频率计数器范围
+ break;
+
+ case 4: // 计量信息
+ DevTestedCtrlForm tested = new DevTestedCtrlForm();
+ tested.Show();
+ this.panelMain.Controls.Add(tested);
+ break;
+
+ case 6: // 设置
+ SettingCtrlForm settingForm = new SettingCtrlForm();
+ settingForm.Show();
+ this.panelMain.Controls.Add(settingForm);
+ break;
+
+ default:
+ break;
+ }
+ }
}
}
\ No newline at end of file
diff --git a/RbFreqStandMeasure/StatusCtrlForm.Designer.cs b/RbFreqStandMeasure/StatusCtrlForm.Designer.cs
index bf5071a..b4151fd 100644
--- a/RbFreqStandMeasure/StatusCtrlForm.Designer.cs
+++ b/RbFreqStandMeasure/StatusCtrlForm.Designer.cs
@@ -31,21 +31,34 @@
{
this.panelSite = new System.Windows.Forms.Panel();
this.label5 = new System.Windows.Forms.Label();
- this.panelStatus = new System.Windows.Forms.Panel();
+ this.panel3 = new System.Windows.Forms.Panel();
+ this.label8 = new System.Windows.Forms.Label();
+ this.label13 = new System.Windows.Forms.Label();
+ this.label12 = new System.Windows.Forms.Label();
+ this.label11 = new System.Windows.Forms.Label();
+ this.label9 = new System.Windows.Forms.Label();
+ this.label10 = new System.Windows.Forms.Label();
+ this.panel2 = new System.Windows.Forms.Panel();
this.label4 = new System.Windows.Forms.Label();
+ this.label7 = new System.Windows.Forms.Label();
+ this.label6 = new System.Windows.Forms.Label();
+ this.label1 = new System.Windows.Forms.Label();
+ this.panel1 = new System.Windows.Forms.Panel();
this.label3 = new System.Windows.Forms.Label();
this.label2 = new System.Windows.Forms.Label();
- this.label1 = new System.Windows.Forms.Label();
+ this.label14 = new System.Windows.Forms.Label();
this.panelSite.SuspendLayout();
- this.panelStatus.SuspendLayout();
+ this.panel3.SuspendLayout();
+ this.panel2.SuspendLayout();
+ this.panel1.SuspendLayout();
this.SuspendLayout();
//
// panelSite
//
this.panelSite.Controls.Add(this.label5);
- this.panelSite.Location = new System.Drawing.Point(200, 0);
+ this.panelSite.Location = new System.Drawing.Point(232, 0);
this.panelSite.Name = "panelSite";
- this.panelSite.Size = new System.Drawing.Size(800, 640);
+ this.panelSite.Size = new System.Drawing.Size(773, 640);
this.panelSite.TabIndex = 3;
//
// label5
@@ -57,67 +70,208 @@
this.label5.TabIndex = 0;
this.label5.Text = "卫星位置图";
//
- // panelStatus
+ // panel3
//
- this.panelStatus.BackColor = System.Drawing.SystemColors.Window;
- this.panelStatus.Controls.Add(this.label4);
- this.panelStatus.Controls.Add(this.label3);
- this.panelStatus.Controls.Add(this.label2);
- this.panelStatus.Controls.Add(this.label1);
- this.panelStatus.Location = new System.Drawing.Point(0, 0);
- this.panelStatus.Name = "panelStatus";
- this.panelStatus.Size = new System.Drawing.Size(200, 640);
- this.panelStatus.TabIndex = 2;
+ this.panel3.BackgroundImage = global::Casic.Birmm.RbFreqStandMeasure.Properties.Resources.bg_status_location;
+ this.panel3.Controls.Add(this.label8);
+ this.panel3.Controls.Add(this.label13);
+ this.panel3.Controls.Add(this.label12);
+ this.panel3.Controls.Add(this.label11);
+ this.panel3.Controls.Add(this.label9);
+ this.panel3.Controls.Add(this.label10);
+ this.panel3.Location = new System.Drawing.Point(6, 360);
+ this.panel3.Name = "panel3";
+ this.panel3.Size = new System.Drawing.Size(224, 293);
+ this.panel3.TabIndex = 6;
+ //
+ // label8
+ //
+ this.label8.BackColor = System.Drawing.Color.Transparent;
+ this.label8.Font = new System.Drawing.Font("微软雅黑", 14F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Pixel, ((byte)(134)));
+ this.label8.Location = new System.Drawing.Point(0, 20);
+ this.label8.Name = "label8";
+ this.label8.Size = new System.Drawing.Size(224, 25);
+ this.label8.TabIndex = 0;
+ this.label8.Text = "位置信息";
+ this.label8.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
+ //
+ // label13
+ //
+ this.label13.BackColor = System.Drawing.Color.Transparent;
+ this.label13.Font = new System.Drawing.Font("微软雅黑", 14F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Pixel, ((byte)(134)));
+ this.label13.Location = new System.Drawing.Point(0, 220);
+ this.label13.Margin = new System.Windows.Forms.Padding(0);
+ this.label13.Name = "label13";
+ this.label13.Size = new System.Drawing.Size(75, 25);
+ this.label13.TabIndex = 1;
+ this.label13.Text = "Z";
+ this.label13.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
+ //
+ // label12
+ //
+ this.label12.BackColor = System.Drawing.Color.Transparent;
+ this.label12.Font = new System.Drawing.Font("微软雅黑", 14F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Pixel, ((byte)(134)));
+ this.label12.Location = new System.Drawing.Point(0, 180);
+ this.label12.Margin = new System.Windows.Forms.Padding(0);
+ this.label12.Name = "label12";
+ this.label12.Size = new System.Drawing.Size(75, 25);
+ this.label12.TabIndex = 1;
+ this.label12.Text = "Y";
+ this.label12.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
+ //
+ // label11
+ //
+ this.label11.BackColor = System.Drawing.Color.Transparent;
+ this.label11.Font = new System.Drawing.Font("微软雅黑", 14F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Pixel, ((byte)(134)));
+ this.label11.Location = new System.Drawing.Point(0, 140);
+ this.label11.Margin = new System.Windows.Forms.Padding(0);
+ this.label11.Name = "label11";
+ this.label11.Size = new System.Drawing.Size(75, 25);
+ this.label11.TabIndex = 1;
+ this.label11.Text = "X";
+ this.label11.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
+ //
+ // label9
+ //
+ this.label9.BackColor = System.Drawing.Color.Transparent;
+ this.label9.Font = new System.Drawing.Font("微软雅黑", 14F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Pixel, ((byte)(134)));
+ this.label9.Location = new System.Drawing.Point(0, 60);
+ this.label9.Name = "label9";
+ this.label9.Size = new System.Drawing.Size(75, 25);
+ this.label9.TabIndex = 1;
+ this.label9.Text = "经度";
+ this.label9.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
+ //
+ // label10
+ //
+ this.label10.BackColor = System.Drawing.Color.Transparent;
+ this.label10.Font = new System.Drawing.Font("微软雅黑", 14F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Pixel, ((byte)(134)));
+ this.label10.Location = new System.Drawing.Point(0, 100);
+ this.label10.Margin = new System.Windows.Forms.Padding(0);
+ this.label10.Name = "label10";
+ this.label10.Size = new System.Drawing.Size(75, 25);
+ this.label10.TabIndex = 1;
+ this.label10.Text = "纬度";
+ this.label10.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
+ //
+ // panel2
+ //
+ this.panel2.BackgroundImage = global::Casic.Birmm.RbFreqStandMeasure.Properties.Resources.bg_status_time;
+ this.panel2.Controls.Add(this.label4);
+ this.panel2.Controls.Add(this.label7);
+ this.panel2.Controls.Add(this.label6);
+ this.panel2.Controls.Add(this.label1);
+ this.panel2.Location = new System.Drawing.Point(6, 160);
+ this.panel2.Name = "panel2";
+ this.panel2.Size = new System.Drawing.Size(224, 200);
+ this.panel2.TabIndex = 5;
//
// label4
//
- this.label4.AutoSize = true;
- this.label4.Location = new System.Drawing.Point(59, 185);
+ this.label4.BackColor = System.Drawing.Color.Transparent;
+ this.label4.Font = new System.Drawing.Font("微软雅黑", 14F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Pixel, ((byte)(134)));
+ this.label4.Location = new System.Drawing.Point(0, 20);
this.label4.Name = "label4";
- this.label4.Size = new System.Drawing.Size(53, 12);
+ this.label4.Size = new System.Drawing.Size(224, 25);
this.label4.TabIndex = 0;
- this.label4.Text = "事件信息";
+ this.label4.Text = "时间信息";
+ this.label4.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
//
- // label3
+ // label7
//
- this.label3.AutoSize = true;
- this.label3.Location = new System.Drawing.Point(59, 139);
- this.label3.Name = "label3";
- this.label3.Size = new System.Drawing.Size(53, 12);
- this.label3.TabIndex = 0;
- this.label3.Text = "位置信息";
+ this.label7.BackColor = System.Drawing.Color.Transparent;
+ this.label7.Font = new System.Drawing.Font("微软雅黑", 14F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Pixel, ((byte)(134)));
+ this.label7.Location = new System.Drawing.Point(0, 140);
+ this.label7.Margin = new System.Windows.Forms.Padding(0);
+ this.label7.Name = "label7";
+ this.label7.Size = new System.Drawing.Size(75, 25);
+ this.label7.TabIndex = 1;
+ this.label7.Text = "MJD";
+ this.label7.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
//
- // label2
+ // label6
//
- this.label2.AutoSize = true;
- this.label2.Location = new System.Drawing.Point(59, 98);
- this.label2.Name = "label2";
- this.label2.Size = new System.Drawing.Size(53, 12);
- this.label2.TabIndex = 0;
- this.label2.Text = "锁定状态";
+ this.label6.BackColor = System.Drawing.Color.Transparent;
+ this.label6.Font = new System.Drawing.Font("微软雅黑", 14F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Pixel, ((byte)(134)));
+ this.label6.Location = new System.Drawing.Point(0, 100);
+ this.label6.Name = "label6";
+ this.label6.Size = new System.Drawing.Size(75, 25);
+ this.label6.TabIndex = 1;
+ this.label6.Text = "时间";
+ this.label6.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
//
// label1
//
- this.label1.AutoSize = true;
- this.label1.Location = new System.Drawing.Point(33, 53);
+ this.label1.BackColor = System.Drawing.Color.Transparent;
+ this.label1.Font = new System.Drawing.Font("微软雅黑", 14F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Pixel, ((byte)(134)));
+ this.label1.Location = new System.Drawing.Point(0, 60);
this.label1.Name = "label1";
- this.label1.Size = new System.Drawing.Size(29, 12);
- this.label1.TabIndex = 0;
- this.label1.Text = "状态";
+ this.label1.Size = new System.Drawing.Size(75, 25);
+ this.label1.TabIndex = 1;
+ this.label1.Text = "日期";
+ this.label1.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
+ //
+ // panel1
+ //
+ this.panel1.BackgroundImage = global::Casic.Birmm.RbFreqStandMeasure.Properties.Resources.bg_status_base;
+ this.panel1.Controls.Add(this.label3);
+ this.panel1.Controls.Add(this.label2);
+ this.panel1.Controls.Add(this.label14);
+ this.panel1.Location = new System.Drawing.Point(6, 0);
+ this.panel1.Margin = new System.Windows.Forms.Padding(0);
+ this.panel1.Name = "panel1";
+ this.panel1.Size = new System.Drawing.Size(224, 160);
+ this.panel1.TabIndex = 4;
+ //
+ // label3
+ //
+ this.label3.BackColor = System.Drawing.Color.Transparent;
+ this.label3.Font = new System.Drawing.Font("微软雅黑", 14F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Pixel, ((byte)(134)));
+ this.label3.Location = new System.Drawing.Point(0, 100);
+ this.label3.Name = "label3";
+ this.label3.Size = new System.Drawing.Size(75, 25);
+ this.label3.TabIndex = 1;
+ this.label3.Text = "接收机";
+ this.label3.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
+ //
+ // label2
+ //
+ this.label2.BackColor = System.Drawing.Color.Transparent;
+ this.label2.Font = new System.Drawing.Font("微软雅黑", 14F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Pixel, ((byte)(134)));
+ this.label2.Location = new System.Drawing.Point(0, 60);
+ this.label2.Name = "label2";
+ this.label2.Size = new System.Drawing.Size(75, 25);
+ this.label2.TabIndex = 1;
+ this.label2.Text = "原子钟";
+ this.label2.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
+ //
+ // label14
+ //
+ this.label14.BackColor = System.Drawing.Color.Transparent;
+ this.label14.Font = new System.Drawing.Font("微软雅黑", 14F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Pixel, ((byte)(134)));
+ this.label14.Location = new System.Drawing.Point(0, 20);
+ this.label14.Name = "label14";
+ this.label14.Size = new System.Drawing.Size(224, 25);
+ this.label14.TabIndex = 0;
+ this.label14.Text = "基本信息";
+ this.label14.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
//
// StatusCtrlForm
//
this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 12F);
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
+ this.Controls.Add(this.panel3);
+ this.Controls.Add(this.panel2);
+ this.Controls.Add(this.panel1);
this.Controls.Add(this.panelSite);
- this.Controls.Add(this.panelStatus);
this.Margin = new System.Windows.Forms.Padding(10);
this.Name = "StatusCtrlForm";
- this.Size = new System.Drawing.Size(1000, 640);
+ this.Size = new System.Drawing.Size(1024, 654);
this.panelSite.ResumeLayout(false);
this.panelSite.PerformLayout();
- this.panelStatus.ResumeLayout(false);
- this.panelStatus.PerformLayout();
+ this.panel3.ResumeLayout(false);
+ this.panel2.ResumeLayout(false);
+ this.panel1.ResumeLayout(false);
this.ResumeLayout(false);
}
@@ -126,10 +280,21 @@
private System.Windows.Forms.Panel panelSite;
private System.Windows.Forms.Label label5;
- private System.Windows.Forms.Panel panelStatus;
+ private System.Windows.Forms.Panel panel3;
+ private System.Windows.Forms.Label label8;
+ private System.Windows.Forms.Label label13;
+ private System.Windows.Forms.Label label12;
+ private System.Windows.Forms.Label label11;
+ private System.Windows.Forms.Label label9;
+ private System.Windows.Forms.Label label10;
+ private System.Windows.Forms.Panel panel2;
private System.Windows.Forms.Label label4;
+ private System.Windows.Forms.Label label7;
+ private System.Windows.Forms.Label label6;
+ private System.Windows.Forms.Label label1;
+ private System.Windows.Forms.Panel panel1;
private System.Windows.Forms.Label label3;
private System.Windows.Forms.Label label2;
- private System.Windows.Forms.Label label1;
+ private System.Windows.Forms.Label label14;
}
}
diff --git a/RbFreqStandMeasure/res/images/bg_banner.png b/RbFreqStandMeasure/res/images/bg_banner.png
index d795b7d..3119070 100644
--- a/RbFreqStandMeasure/res/images/bg_banner.png
+++ b/RbFreqStandMeasure/res/images/bg_banner.png
Binary files differ
diff --git a/RbFreqStandMeasure/res/images/bg_dev_channel.png b/RbFreqStandMeasure/res/images/bg_dev_channel.png
new file mode 100644
index 0000000..7bac7ce
--- /dev/null
+++ b/RbFreqStandMeasure/res/images/bg_dev_channel.png
Binary files differ
diff --git a/RbFreqStandMeasure/res/images/bg_dev_tested.png b/RbFreqStandMeasure/res/images/bg_dev_tested.png
new file mode 100644
index 0000000..0b43ead
--- /dev/null
+++ b/RbFreqStandMeasure/res/images/bg_dev_tested.png
Binary files differ
diff --git a/RbFreqStandMeasure/res/images/bg_status_base.png b/RbFreqStandMeasure/res/images/bg_status_base.png
new file mode 100644
index 0000000..ef11397
--- /dev/null
+++ b/RbFreqStandMeasure/res/images/bg_status_base.png
Binary files differ
diff --git a/RbFreqStandMeasure/res/images/bg_status_location.png b/RbFreqStandMeasure/res/images/bg_status_location.png
new file mode 100644
index 0000000..64d28d5
--- /dev/null
+++ b/RbFreqStandMeasure/res/images/bg_status_location.png
Binary files differ
diff --git a/RbFreqStandMeasure/res/images/bg_status_time.png b/RbFreqStandMeasure/res/images/bg_status_time.png
new file mode 100644
index 0000000..eec981a
--- /dev/null
+++ b/RbFreqStandMeasure/res/images/bg_status_time.png
Binary files differ
diff --git a/RbFreqStandMeasure/res/images/icon_counter.png b/RbFreqStandMeasure/res/images/icon_counter.png
new file mode 100644
index 0000000..060c3d7
--- /dev/null
+++ b/RbFreqStandMeasure/res/images/icon_counter.png
Binary files differ
diff --git a/RbFreqStandMeasure/res/images/icon_counter_selected.png b/RbFreqStandMeasure/res/images/icon_counter_selected.png
new file mode 100644
index 0000000..45c7720
--- /dev/null
+++ b/RbFreqStandMeasure/res/images/icon_counter_selected.png
Binary files differ
diff --git a/RbFreqStandMeasure/res/images/icon_data.png b/RbFreqStandMeasure/res/images/icon_data.png
new file mode 100644
index 0000000..bf03575
--- /dev/null
+++ b/RbFreqStandMeasure/res/images/icon_data.png
Binary files differ
diff --git a/RbFreqStandMeasure/res/images/icon_data_selected.png b/RbFreqStandMeasure/res/images/icon_data_selected.png
new file mode 100644
index 0000000..a8aa441
--- /dev/null
+++ b/RbFreqStandMeasure/res/images/icon_data_selected.png
Binary files differ
diff --git a/RbFreqStandMeasure/res/images/icon_dev.png b/RbFreqStandMeasure/res/images/icon_dev.png
new file mode 100644
index 0000000..09bf380
--- /dev/null
+++ b/RbFreqStandMeasure/res/images/icon_dev.png
Binary files differ
diff --git a/RbFreqStandMeasure/res/images/icon_dev_selected.png b/RbFreqStandMeasure/res/images/icon_dev_selected.png
new file mode 100644
index 0000000..63a8b7c
--- /dev/null
+++ b/RbFreqStandMeasure/res/images/icon_dev_selected.png
Binary files differ
diff --git a/RbFreqStandMeasure/res/images/icon_exit.png b/RbFreqStandMeasure/res/images/icon_exit.png
index 997b9e9..a03e429 100644
--- a/RbFreqStandMeasure/res/images/icon_exit.png
+++ b/RbFreqStandMeasure/res/images/icon_exit.png
Binary files differ
diff --git a/RbFreqStandMeasure/res/images/icon_home.png b/RbFreqStandMeasure/res/images/icon_home.png
index f200f25..6409b89 100644
--- a/RbFreqStandMeasure/res/images/icon_home.png
+++ b/RbFreqStandMeasure/res/images/icon_home.png
Binary files differ
diff --git a/RbFreqStandMeasure/res/images/icon_home_selected.png b/RbFreqStandMeasure/res/images/icon_home_selected.png
index 7a4feb4..cfbf470 100644
--- a/RbFreqStandMeasure/res/images/icon_home_selected.png
+++ b/RbFreqStandMeasure/res/images/icon_home_selected.png
Binary files differ
diff --git a/RbFreqStandMeasure/res/images/icon_measure.png b/RbFreqStandMeasure/res/images/icon_measure.png
new file mode 100644
index 0000000..d9bd039
--- /dev/null
+++ b/RbFreqStandMeasure/res/images/icon_measure.png
Binary files differ
diff --git a/RbFreqStandMeasure/res/images/icon_measure_selected.png b/RbFreqStandMeasure/res/images/icon_measure_selected.png
new file mode 100644
index 0000000..e4186d0
--- /dev/null
+++ b/RbFreqStandMeasure/res/images/icon_measure_selected.png
Binary files differ
diff --git a/RbFreqStandMeasure/res/images/icon_min.png b/RbFreqStandMeasure/res/images/icon_min.png
new file mode 100644
index 0000000..af53b4d
--- /dev/null
+++ b/RbFreqStandMeasure/res/images/icon_min.png
Binary files differ
diff --git a/RbFreqStandMeasure/res/images/icon_setting.png b/RbFreqStandMeasure/res/images/icon_setting.png
new file mode 100644
index 0000000..f0779f7
--- /dev/null
+++ b/RbFreqStandMeasure/res/images/icon_setting.png
Binary files differ
diff --git a/RbFreqStandMeasure/res/images/icon_setting_selected.png b/RbFreqStandMeasure/res/images/icon_setting_selected.png
new file mode 100644
index 0000000..81f0e93
--- /dev/null
+++ b/RbFreqStandMeasure/res/images/icon_setting_selected.png
Binary files differ
diff --git a/RbFreqStandMeasure/res/images/icon_status.png b/RbFreqStandMeasure/res/images/icon_status.png
index 67bda58..8cfd8a9 100644
--- a/RbFreqStandMeasure/res/images/icon_status.png
+++ b/RbFreqStandMeasure/res/images/icon_status.png
Binary files differ
diff --git a/RbFreqStandMeasure/res/images/icon_status_selected.png b/RbFreqStandMeasure/res/images/icon_status_selected.png
index 12d7a1e..4ecd9d3 100644
--- a/RbFreqStandMeasure/res/images/icon_status_selected.png
+++ b/RbFreqStandMeasure/res/images/icon_status_selected.png
Binary files differ
diff --git a/RbFreqStandMeasure/HomeCtrlForm.Designer.cs b/RbFreqStandMeasure/HomeCtrlForm.Designer.cs
index fb515f8..73e477a 100644
--- a/RbFreqStandMeasure/HomeCtrlForm.Designer.cs
+++ b/RbFreqStandMeasure/HomeCtrlForm.Designer.cs
@@ -29,589 +29,271 @@
///
private void InitializeComponent()
{
- System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle1 = new System.Windows.Forms.DataGridViewCellStyle();
- System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle2 = new System.Windows.Forms.DataGridViewCellStyle();
- this.panelToBeTested = new System.Windows.Forms.Panel();
- this.dataGridViewX1 = new DevComponents.DotNetBar.Controls.DataGridViewX();
- this.Column13 = new System.Windows.Forms.DataGridViewTextBoxColumn();
- this.Column14 = new System.Windows.Forms.DataGridViewTextBoxColumn();
- this.Column15 = new System.Windows.Forms.DataGridViewTextBoxColumn();
- this.Column16 = new System.Windows.Forms.DataGridViewTextBoxColumn();
- this.Column17 = new System.Windows.Forms.DataGridViewTextBoxColumn();
- this.panelEx1 = new DevComponents.DotNetBar.PanelEx();
- this.labelX6 = new DevComponents.DotNetBar.LabelX();
- this.labelX5 = new DevComponents.DotNetBar.LabelX();
- this.labelX4 = new DevComponents.DotNetBar.LabelX();
- this.labelX3 = new DevComponents.DotNetBar.LabelX();
- this.labelX2 = new DevComponents.DotNetBar.LabelX();
- this.labelX1 = new DevComponents.DotNetBar.LabelX();
- this.panelEx2 = new DevComponents.DotNetBar.PanelEx();
- this.labelX7 = new DevComponents.DotNetBar.LabelX();
- this.labelX8 = new DevComponents.DotNetBar.LabelX();
- this.labelX10 = new DevComponents.DotNetBar.LabelX();
- this.labelX9 = new DevComponents.DotNetBar.LabelX();
- this.panelEx3 = new DevComponents.DotNetBar.PanelEx();
- this.labelX11 = new DevComponents.DotNetBar.LabelX();
- this.labelX13 = new DevComponents.DotNetBar.LabelX();
- this.labelX12 = new DevComponents.DotNetBar.LabelX();
- this.panelEx4 = new DevComponents.DotNetBar.PanelEx();
- this.dataGridViewX2 = new DevComponents.DotNetBar.Controls.DataGridViewX();
- this.Column18 = new System.Windows.Forms.DataGridViewTextBoxColumn();
- this.Column19 = new System.Windows.Forms.DataGridViewTextBoxColumn();
- this.Column20 = new System.Windows.Forms.DataGridViewTextBoxColumn();
- this.Column21 = new System.Windows.Forms.DataGridViewTextBoxColumn();
- this.Column22 = new System.Windows.Forms.DataGridViewTextBoxColumn();
- this.Column23 = new System.Windows.Forms.DataGridViewTextBoxColumn();
- this.Column24 = new System.Windows.Forms.DataGridViewTextBoxColumn();
- this.Column25 = new System.Windows.Forms.DataGridViewTextBoxColumn();
- this.Column26 = new System.Windows.Forms.DataGridViewTextBoxColumn();
- this.Column27 = new System.Windows.Forms.DataGridViewTextBoxColumn();
- this.Column28 = new System.Windows.Forms.DataGridViewTextBoxColumn();
- this.Column29 = new System.Windows.Forms.DataGridViewTextBoxColumn();
- this.buttonX1 = new DevComponents.DotNetBar.ButtonX();
- this.buttonX2 = new DevComponents.DotNetBar.ButtonX();
+ this.panel3 = new System.Windows.Forms.Panel();
+ this.panel2 = new System.Windows.Forms.Panel();
+ this.panel1 = new System.Windows.Forms.Panel();
+ this.panel4 = new System.Windows.Forms.Panel();
+ this.panel5 = new System.Windows.Forms.Panel();
this.label1 = new System.Windows.Forms.Label();
this.label2 = new System.Windows.Forms.Label();
- this.panelToBeTested.SuspendLayout();
- ((System.ComponentModel.ISupportInitialize)(this.dataGridViewX1)).BeginInit();
- this.panelEx1.SuspendLayout();
- this.panelEx2.SuspendLayout();
- this.panelEx3.SuspendLayout();
- this.panelEx4.SuspendLayout();
- ((System.ComponentModel.ISupportInitialize)(this.dataGridViewX2)).BeginInit();
+ this.label3 = new System.Windows.Forms.Label();
+ this.label4 = new System.Windows.Forms.Label();
+ this.label5 = new System.Windows.Forms.Label();
+ this.label6 = new System.Windows.Forms.Label();
+ this.label7 = new System.Windows.Forms.Label();
+ this.label8 = new System.Windows.Forms.Label();
+ this.label9 = new System.Windows.Forms.Label();
+ this.label10 = new System.Windows.Forms.Label();
+ this.label11 = new System.Windows.Forms.Label();
+ this.label12 = new System.Windows.Forms.Label();
+ this.label13 = new System.Windows.Forms.Label();
+ this.panel3.SuspendLayout();
+ this.panel2.SuspendLayout();
+ this.panel1.SuspendLayout();
this.SuspendLayout();
//
- // panelToBeTested
+ // panel3
//
- this.panelToBeTested.Controls.Add(this.dataGridViewX1);
- this.panelToBeTested.Controls.Add(this.buttonX2);
- this.panelToBeTested.Controls.Add(this.buttonX1);
- this.panelToBeTested.Location = new System.Drawing.Point(250, 0);
- this.panelToBeTested.Name = "panelToBeTested";
- this.panelToBeTested.Size = new System.Drawing.Size(750, 216);
- this.panelToBeTested.TabIndex = 4;
+ this.panel3.BackgroundImage = global::Casic.Birmm.RbFreqStandMeasure.Properties.Resources.bg_status_location;
+ this.panel3.Controls.Add(this.label8);
+ this.panel3.Controls.Add(this.label13);
+ this.panel3.Controls.Add(this.label12);
+ this.panel3.Controls.Add(this.label11);
+ this.panel3.Controls.Add(this.label9);
+ this.panel3.Controls.Add(this.label10);
+ this.panel3.Location = new System.Drawing.Point(6, 360);
+ this.panel3.Name = "panel3";
+ this.panel3.Size = new System.Drawing.Size(224, 293);
+ this.panel3.TabIndex = 2;
//
- // dataGridViewX1
+ // panel2
//
- this.dataGridViewX1.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.AutoSize;
- this.dataGridViewX1.Columns.AddRange(new System.Windows.Forms.DataGridViewColumn[] {
- this.Column13,
- this.Column14,
- this.Column15,
- this.Column16,
- this.Column17});
- dataGridViewCellStyle1.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleLeft;
- dataGridViewCellStyle1.BackColor = System.Drawing.SystemColors.Window;
- dataGridViewCellStyle1.Font = new System.Drawing.Font("宋体", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
- dataGridViewCellStyle1.ForeColor = System.Drawing.SystemColors.ControlText;
- dataGridViewCellStyle1.SelectionBackColor = System.Drawing.SystemColors.Highlight;
- dataGridViewCellStyle1.SelectionForeColor = System.Drawing.SystemColors.ControlText;
- dataGridViewCellStyle1.WrapMode = System.Windows.Forms.DataGridViewTriState.False;
- this.dataGridViewX1.DefaultCellStyle = dataGridViewCellStyle1;
- this.dataGridViewX1.GridColor = System.Drawing.Color.FromArgb(((int)(((byte)(208)))), ((int)(((byte)(215)))), ((int)(((byte)(229)))));
- this.dataGridViewX1.Location = new System.Drawing.Point(0, 1);
- this.dataGridViewX1.Name = "dataGridViewX1";
- this.dataGridViewX1.RowTemplate.Height = 23;
- this.dataGridViewX1.Size = new System.Drawing.Size(750, 179);
- this.dataGridViewX1.TabIndex = 14;
+ this.panel2.BackgroundImage = global::Casic.Birmm.RbFreqStandMeasure.Properties.Resources.bg_status_time;
+ this.panel2.Controls.Add(this.label4);
+ this.panel2.Controls.Add(this.label7);
+ this.panel2.Controls.Add(this.label6);
+ this.panel2.Controls.Add(this.label5);
+ this.panel2.Location = new System.Drawing.Point(6, 160);
+ this.panel2.Name = "panel2";
+ this.panel2.Size = new System.Drawing.Size(224, 200);
+ this.panel2.TabIndex = 1;
//
- // Column13
+ // panel1
//
- this.Column13.HeaderText = "仪器名称";
- this.Column13.Name = "Column13";
+ this.panel1.BackgroundImage = global::Casic.Birmm.RbFreqStandMeasure.Properties.Resources.bg_status_base;
+ this.panel1.Controls.Add(this.label3);
+ this.panel1.Controls.Add(this.label2);
+ this.panel1.Controls.Add(this.label1);
+ this.panel1.Location = new System.Drawing.Point(6, 0);
+ this.panel1.Margin = new System.Windows.Forms.Padding(0);
+ this.panel1.Name = "panel1";
+ this.panel1.Size = new System.Drawing.Size(224, 160);
+ this.panel1.TabIndex = 0;
//
- // Column14
+ // panel4
//
- this.Column14.HeaderText = "仪器类型";
- this.Column14.Name = "Column14";
+ this.panel4.BackgroundImage = global::Casic.Birmm.RbFreqStandMeasure.Properties.Resources.bg_dev_tested;
+ this.panel4.Location = new System.Drawing.Point(230, 0);
+ this.panel4.Margin = new System.Windows.Forms.Padding(0);
+ this.panel4.Name = "panel4";
+ this.panel4.Size = new System.Drawing.Size(788, 226);
+ this.panel4.TabIndex = 3;
//
- // Column15
+ // panel5
//
- this.Column15.HeaderText = "仪器编号";
- this.Column15.Name = "Column15";
- //
- // Column16
- //
- this.Column16.HeaderText = "客户名称";
- this.Column16.Name = "Column16";
- //
- // Column17
- //
- this.Column17.HeaderText = "开始时间";
- this.Column17.Name = "Column17";
- //
- // panelEx1
- //
- this.panelEx1.CanvasColor = System.Drawing.SystemColors.Control;
- this.panelEx1.ColorSchemeStyle = DevComponents.DotNetBar.eDotNetBarStyle.StyleManagerControlled;
- this.panelEx1.Controls.Add(this.labelX6);
- this.panelEx1.Controls.Add(this.labelX5);
- this.panelEx1.Controls.Add(this.labelX4);
- this.panelEx1.Controls.Add(this.labelX3);
- this.panelEx1.Controls.Add(this.labelX2);
- this.panelEx1.Controls.Add(this.labelX1);
- this.panelEx1.DisabledBackColor = System.Drawing.Color.Empty;
- this.panelEx1.Location = new System.Drawing.Point(25, 376);
- this.panelEx1.Name = "panelEx1";
- this.panelEx1.Size = new System.Drawing.Size(200, 200);
- this.panelEx1.Style.Alignment = System.Drawing.StringAlignment.Center;
- this.panelEx1.Style.BackColor1.ColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelBackground;
- this.panelEx1.Style.BackColor2.ColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelBackground2;
- this.panelEx1.Style.Border = DevComponents.DotNetBar.eBorderType.SingleLine;
- this.panelEx1.Style.BorderColor.ColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelBorder;
- this.panelEx1.Style.ForeColor.ColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelText;
- this.panelEx1.Style.GradientAngle = 90;
- this.panelEx1.TabIndex = 10;
- //
- // labelX6
- //
- //
- //
- //
- this.labelX6.BackgroundStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square;
- this.labelX6.Location = new System.Drawing.Point(3, 153);
- this.labelX6.Name = "labelX6";
- this.labelX6.Size = new System.Drawing.Size(75, 23);
- this.labelX6.Style = DevComponents.DotNetBar.eDotNetBarStyle.Office2013;
- this.labelX6.TabIndex = 0;
- this.labelX6.Text = "Z";
- this.labelX6.TextAlignment = System.Drawing.StringAlignment.Center;
- //
- // labelX5
- //
- //
- //
- //
- this.labelX5.BackgroundStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square;
- this.labelX5.Location = new System.Drawing.Point(3, 124);
- this.labelX5.Name = "labelX5";
- this.labelX5.Size = new System.Drawing.Size(75, 23);
- this.labelX5.Style = DevComponents.DotNetBar.eDotNetBarStyle.Office2013;
- this.labelX5.TabIndex = 0;
- this.labelX5.Text = "Y";
- this.labelX5.TextAlignment = System.Drawing.StringAlignment.Center;
- //
- // labelX4
- //
- //
- //
- //
- this.labelX4.BackgroundStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square;
- this.labelX4.Location = new System.Drawing.Point(3, 95);
- this.labelX4.Name = "labelX4";
- this.labelX4.Size = new System.Drawing.Size(75, 23);
- this.labelX4.Style = DevComponents.DotNetBar.eDotNetBarStyle.Office2013;
- this.labelX4.TabIndex = 0;
- this.labelX4.Text = "X";
- this.labelX4.TextAlignment = System.Drawing.StringAlignment.Center;
- //
- // labelX3
- //
- //
- //
- //
- this.labelX3.BackgroundStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square;
- this.labelX3.Location = new System.Drawing.Point(3, 66);
- this.labelX3.Name = "labelX3";
- this.labelX3.Size = new System.Drawing.Size(75, 23);
- this.labelX3.Style = DevComponents.DotNetBar.eDotNetBarStyle.Office2013;
- this.labelX3.TabIndex = 0;
- this.labelX3.Text = "纬度";
- this.labelX3.TextAlignment = System.Drawing.StringAlignment.Center;
- //
- // labelX2
- //
- //
- //
- //
- this.labelX2.BackgroundStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square;
- this.labelX2.Location = new System.Drawing.Point(3, 37);
- this.labelX2.Name = "labelX2";
- this.labelX2.Size = new System.Drawing.Size(75, 23);
- this.labelX2.Style = DevComponents.DotNetBar.eDotNetBarStyle.Office2013;
- this.labelX2.TabIndex = 0;
- this.labelX2.Text = "经度";
- this.labelX2.TextAlignment = System.Drawing.StringAlignment.Center;
- //
- // labelX1
- //
- //
- //
- //
- this.labelX1.BackgroundStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square;
- this.labelX1.Location = new System.Drawing.Point(3, 3);
- this.labelX1.Name = "labelX1";
- this.labelX1.Size = new System.Drawing.Size(194, 23);
- this.labelX1.Style = DevComponents.DotNetBar.eDotNetBarStyle.Office2013;
- this.labelX1.TabIndex = 0;
- this.labelX1.Text = "位置信息";
- this.labelX1.TextAlignment = System.Drawing.StringAlignment.Center;
- //
- // panelEx2
- //
- this.panelEx2.CanvasColor = System.Drawing.SystemColors.Control;
- this.panelEx2.ColorSchemeStyle = DevComponents.DotNetBar.eDotNetBarStyle.StyleManagerControlled;
- this.panelEx2.Controls.Add(this.labelX7);
- this.panelEx2.Controls.Add(this.labelX8);
- this.panelEx2.Controls.Add(this.labelX10);
- this.panelEx2.Controls.Add(this.labelX9);
- this.panelEx2.DisabledBackColor = System.Drawing.Color.Empty;
- this.panelEx2.Location = new System.Drawing.Point(25, 190);
- this.panelEx2.Name = "panelEx2";
- this.panelEx2.Size = new System.Drawing.Size(200, 150);
- this.panelEx2.Style.Alignment = System.Drawing.StringAlignment.Center;
- this.panelEx2.Style.BackColor1.ColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelBackground;
- this.panelEx2.Style.BackColor2.ColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelBackground2;
- this.panelEx2.Style.Border = DevComponents.DotNetBar.eBorderType.SingleLine;
- this.panelEx2.Style.BorderColor.ColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelBorder;
- this.panelEx2.Style.ForeColor.ColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelText;
- this.panelEx2.Style.GradientAngle = 90;
- this.panelEx2.TabIndex = 10;
- //
- // labelX7
- //
- //
- //
- //
- this.labelX7.BackgroundStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square;
- this.labelX7.Location = new System.Drawing.Point(3, 3);
- this.labelX7.Name = "labelX7";
- this.labelX7.Size = new System.Drawing.Size(194, 23);
- this.labelX7.Style = DevComponents.DotNetBar.eDotNetBarStyle.Office2013;
- this.labelX7.TabIndex = 0;
- this.labelX7.Text = "时间信息";
- this.labelX7.TextAlignment = System.Drawing.StringAlignment.Center;
- //
- // labelX8
- //
- //
- //
- //
- this.labelX8.BackgroundStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square;
- this.labelX8.Location = new System.Drawing.Point(3, 41);
- this.labelX8.Name = "labelX8";
- this.labelX8.Size = new System.Drawing.Size(75, 23);
- this.labelX8.Style = DevComponents.DotNetBar.eDotNetBarStyle.Office2013;
- this.labelX8.TabIndex = 0;
- this.labelX8.Text = "日期";
- this.labelX8.TextAlignment = System.Drawing.StringAlignment.Center;
- //
- // labelX10
- //
- //
- //
- //
- this.labelX10.BackgroundStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square;
- this.labelX10.Location = new System.Drawing.Point(3, 99);
- this.labelX10.Name = "labelX10";
- this.labelX10.Size = new System.Drawing.Size(75, 23);
- this.labelX10.Style = DevComponents.DotNetBar.eDotNetBarStyle.Office2013;
- this.labelX10.TabIndex = 0;
- this.labelX10.Text = "MJD";
- this.labelX10.TextAlignment = System.Drawing.StringAlignment.Center;
- //
- // labelX9
- //
- //
- //
- //
- this.labelX9.BackgroundStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square;
- this.labelX9.Location = new System.Drawing.Point(3, 70);
- this.labelX9.Name = "labelX9";
- this.labelX9.Size = new System.Drawing.Size(75, 23);
- this.labelX9.Style = DevComponents.DotNetBar.eDotNetBarStyle.Office2013;
- this.labelX9.TabIndex = 0;
- this.labelX9.Text = "时间";
- this.labelX9.TextAlignment = System.Drawing.StringAlignment.Center;
- //
- // panelEx3
- //
- this.panelEx3.CanvasColor = System.Drawing.SystemColors.Control;
- this.panelEx3.ColorSchemeStyle = DevComponents.DotNetBar.eDotNetBarStyle.StyleManagerControlled;
- this.panelEx3.Controls.Add(this.labelX11);
- this.panelEx3.Controls.Add(this.labelX13);
- this.panelEx3.Controls.Add(this.labelX12);
- this.panelEx3.DisabledBackColor = System.Drawing.Color.Empty;
- this.panelEx3.Location = new System.Drawing.Point(25, 50);
- this.panelEx3.Name = "panelEx3";
- this.panelEx3.Size = new System.Drawing.Size(200, 100);
- this.panelEx3.Style.Alignment = System.Drawing.StringAlignment.Center;
- this.panelEx3.Style.BackColor1.ColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelBackground;
- this.panelEx3.Style.BackColor2.ColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelBackground2;
- this.panelEx3.Style.Border = DevComponents.DotNetBar.eBorderType.SingleLine;
- this.panelEx3.Style.BorderColor.ColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelBorder;
- this.panelEx3.Style.ForeColor.ColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelText;
- this.panelEx3.Style.GradientAngle = 90;
- this.panelEx3.TabIndex = 10;
- //
- // labelX11
- //
- //
- //
- //
- this.labelX11.BackgroundStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square;
- this.labelX11.Location = new System.Drawing.Point(3, 3);
- this.labelX11.Name = "labelX11";
- this.labelX11.Size = new System.Drawing.Size(194, 23);
- this.labelX11.Style = DevComponents.DotNetBar.eDotNetBarStyle.Office2013;
- this.labelX11.TabIndex = 0;
- this.labelX11.Text = "基本信息";
- this.labelX11.TextAlignment = System.Drawing.StringAlignment.Center;
- //
- // labelX13
- //
- //
- //
- //
- this.labelX13.BackgroundStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square;
- this.labelX13.Location = new System.Drawing.Point(3, 32);
- this.labelX13.Name = "labelX13";
- this.labelX13.Size = new System.Drawing.Size(75, 23);
- this.labelX13.Style = DevComponents.DotNetBar.eDotNetBarStyle.Office2013;
- this.labelX13.TabIndex = 0;
- this.labelX13.Text = "原子钟";
- this.labelX13.TextAlignment = System.Drawing.StringAlignment.Center;
- //
- // labelX12
- //
- //
- //
- //
- this.labelX12.BackgroundStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square;
- this.labelX12.Location = new System.Drawing.Point(3, 61);
- this.labelX12.Name = "labelX12";
- this.labelX12.Size = new System.Drawing.Size(75, 23);
- this.labelX12.Style = DevComponents.DotNetBar.eDotNetBarStyle.Office2013;
- this.labelX12.TabIndex = 0;
- this.labelX12.Text = "接收机";
- this.labelX12.TextAlignment = System.Drawing.StringAlignment.Center;
- //
- // panelEx4
- //
- this.panelEx4.CanvasColor = System.Drawing.SystemColors.Control;
- this.panelEx4.ColorSchemeStyle = DevComponents.DotNetBar.eDotNetBarStyle.StyleManagerControlled;
- this.panelEx4.Controls.Add(this.panelEx2);
- this.panelEx4.Controls.Add(this.panelEx1);
- this.panelEx4.Controls.Add(this.panelEx3);
- this.panelEx4.DisabledBackColor = System.Drawing.Color.Empty;
- this.panelEx4.Location = new System.Drawing.Point(0, 0);
- this.panelEx4.Name = "panelEx4";
- this.panelEx4.Size = new System.Drawing.Size(250, 640);
- this.panelEx4.Style.Alignment = System.Drawing.StringAlignment.Center;
- this.panelEx4.Style.BackColor1.ColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelBackground;
- this.panelEx4.Style.BackColor2.ColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelBackground2;
- this.panelEx4.Style.Border = DevComponents.DotNetBar.eBorderType.SingleLine;
- this.panelEx4.Style.BorderColor.ColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelBorder;
- this.panelEx4.Style.ForeColor.ColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelText;
- this.panelEx4.Style.GradientAngle = 90;
- this.panelEx4.TabIndex = 10;
- //
- // dataGridViewX2
- //
- this.dataGridViewX2.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.AutoSize;
- this.dataGridViewX2.Columns.AddRange(new System.Windows.Forms.DataGridViewColumn[] {
- this.Column18,
- this.Column19,
- this.Column20,
- this.Column21,
- this.Column22,
- this.Column23,
- this.Column24,
- this.Column25,
- this.Column26,
- this.Column27,
- this.Column28,
- this.Column29});
- dataGridViewCellStyle2.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleLeft;
- dataGridViewCellStyle2.BackColor = System.Drawing.SystemColors.Window;
- dataGridViewCellStyle2.Font = new System.Drawing.Font("宋体", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
- dataGridViewCellStyle2.ForeColor = System.Drawing.SystemColors.ControlText;
- dataGridViewCellStyle2.SelectionBackColor = System.Drawing.SystemColors.Highlight;
- dataGridViewCellStyle2.SelectionForeColor = System.Drawing.SystemColors.ControlText;
- dataGridViewCellStyle2.WrapMode = System.Windows.Forms.DataGridViewTriState.False;
- this.dataGridViewX2.DefaultCellStyle = dataGridViewCellStyle2;
- this.dataGridViewX2.GridColor = System.Drawing.Color.FromArgb(((int)(((byte)(208)))), ((int)(((byte)(215)))), ((int)(((byte)(229)))));
- this.dataGridViewX2.Location = new System.Drawing.Point(250, 216);
- this.dataGridViewX2.Name = "dataGridViewX2";
- this.dataGridViewX2.Size = new System.Drawing.Size(747, 424);
- this.dataGridViewX2.TabIndex = 15;
- //
- // Column18
- //
- this.Column18.HeaderText = "通道号";
- this.Column18.Name = "Column18";
- //
- // Column19
- //
- this.Column19.HeaderText = "当前状态";
- this.Column19.Name = "Column19";
- //
- // Column20
- //
- this.Column20.HeaderText = "仪器名称";
- this.Column20.Name = "Column20";
- //
- // Column21
- //
- this.Column21.HeaderText = "仪器编号";
- this.Column21.Name = "Column21";
- //
- // Column22
- //
- this.Column22.HeaderText = "客户名称";
- this.Column22.Name = "Column22";
- //
- // Column23
- //
- this.Column23.HeaderText = "开始时间";
- this.Column23.Name = "Column23";
- //
- // Column24
- //
- this.Column24.HeaderText = "结束时间";
- this.Column24.Name = "Column24";
- //
- // Column25
- //
- this.Column25.HeaderText = "频率稳定度";
- this.Column25.Name = "Column25";
- //
- // Column26
- //
- this.Column26.HeaderText = "频率准确度";
- this.Column26.Name = "Column26";
- //
- // Column27
- //
- this.Column27.HeaderText = "开机特性";
- this.Column27.Name = "Column27";
- //
- // Column28
- //
- this.Column28.HeaderText = "日老化率";
- this.Column28.Name = "Column28";
- //
- // Column29
- //
- this.Column29.HeaderText = "频率计数器范围及灵敏度";
- this.Column29.Name = "Column29";
- //
- // buttonX1
- //
- this.buttonX1.AccessibleRole = System.Windows.Forms.AccessibleRole.PushButton;
- this.buttonX1.BackColor = System.Drawing.Color.Transparent;
- this.buttonX1.ColorTable = DevComponents.DotNetBar.eButtonColor.OrangeWithBackground;
- this.buttonX1.Location = new System.Drawing.Point(663, 183);
- this.buttonX1.Name = "buttonX1";
- this.buttonX1.Size = new System.Drawing.Size(30, 23);
- this.buttonX1.Style = DevComponents.DotNetBar.eDotNetBarStyle.StyleManagerControlled;
- this.buttonX1.Symbol = "";
- this.buttonX1.SymbolColor = System.Drawing.Color.FromArgb(((int)(((byte)(64)))), ((int)(((byte)(64)))), ((int)(((byte)(64)))));
- this.buttonX1.SymbolSize = 8F;
- this.buttonX1.TabIndex = 19;
- //
- // buttonX2
- //
- this.buttonX2.AccessibleRole = System.Windows.Forms.AccessibleRole.PushButton;
- this.buttonX2.BackColor = System.Drawing.Color.Transparent;
- this.buttonX2.ColorTable = DevComponents.DotNetBar.eButtonColor.OrangeWithBackground;
- this.buttonX2.Location = new System.Drawing.Point(589, 184);
- this.buttonX2.Name = "buttonX2";
- this.buttonX2.Size = new System.Drawing.Size(30, 23);
- this.buttonX2.Style = DevComponents.DotNetBar.eDotNetBarStyle.StyleManagerControlled;
- this.buttonX2.Symbol = "";
- this.buttonX2.SymbolColor = System.Drawing.Color.FromArgb(((int)(((byte)(64)))), ((int)(((byte)(64)))), ((int)(((byte)(64)))));
- this.buttonX2.SymbolSize = 8F;
- this.buttonX2.TabIndex = 19;
+ this.panel5.BackgroundImage = global::Casic.Birmm.RbFreqStandMeasure.Properties.Resources.bg_dev_channel;
+ this.panel5.Location = new System.Drawing.Point(230, 226);
+ this.panel5.Name = "panel5";
+ this.panel5.Size = new System.Drawing.Size(788, 424);
+ this.panel5.TabIndex = 4;
//
// label1
//
this.label1.BackColor = System.Drawing.Color.Transparent;
- this.label1.Font = new System.Drawing.Font("Times New Roman", 9.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
- this.label1.Location = new System.Drawing.Point(880, 186);
- this.label1.Margin = new System.Windows.Forms.Padding(0);
+ this.label1.Font = new System.Drawing.Font("微软雅黑", 14F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Pixel, ((byte)(134)));
+ this.label1.Location = new System.Drawing.Point(0, 20);
this.label1.Name = "label1";
- this.label1.Size = new System.Drawing.Size(20, 20);
- this.label1.TabIndex = 20;
- this.label1.Text = "1";
+ this.label1.Size = new System.Drawing.Size(224, 25);
+ this.label1.TabIndex = 0;
+ this.label1.Text = "基本信息";
this.label1.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
//
// label2
//
this.label2.BackColor = System.Drawing.Color.Transparent;
- this.label2.Font = new System.Drawing.Font("Times New Roman", 9.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
- this.label2.Location = new System.Drawing.Point(636, 187);
- this.label2.Margin = new System.Windows.Forms.Padding(0);
+ this.label2.Font = new System.Drawing.Font("微软雅黑", 14F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Pixel, ((byte)(134)));
+ this.label2.Location = new System.Drawing.Point(0, 60);
this.label2.Name = "label2";
- this.label2.Size = new System.Drawing.Size(200, 20);
- this.label2.TabIndex = 20;
- this.label2.Text = "共150条,每页5条,共100页";
- this.label2.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
+ this.label2.Size = new System.Drawing.Size(75, 25);
+ this.label2.TabIndex = 1;
+ this.label2.Text = "原子钟";
+ this.label2.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
+ //
+ // label3
+ //
+ this.label3.BackColor = System.Drawing.Color.Transparent;
+ this.label3.Font = new System.Drawing.Font("微软雅黑", 14F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Pixel, ((byte)(134)));
+ this.label3.Location = new System.Drawing.Point(0, 100);
+ this.label3.Name = "label3";
+ this.label3.Size = new System.Drawing.Size(75, 25);
+ this.label3.TabIndex = 1;
+ this.label3.Text = "接收机";
+ this.label3.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
+ //
+ // label4
+ //
+ this.label4.BackColor = System.Drawing.Color.Transparent;
+ this.label4.Font = new System.Drawing.Font("微软雅黑", 14F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Pixel, ((byte)(134)));
+ this.label4.Location = new System.Drawing.Point(0, 20);
+ this.label4.Name = "label4";
+ this.label4.Size = new System.Drawing.Size(224, 25);
+ this.label4.TabIndex = 0;
+ this.label4.Text = "时间信息";
+ this.label4.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
+ //
+ // label5
+ //
+ this.label5.BackColor = System.Drawing.Color.Transparent;
+ this.label5.Font = new System.Drawing.Font("微软雅黑", 14F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Pixel, ((byte)(134)));
+ this.label5.Location = new System.Drawing.Point(0, 60);
+ this.label5.Name = "label5";
+ this.label5.Size = new System.Drawing.Size(75, 25);
+ this.label5.TabIndex = 1;
+ this.label5.Text = "日期";
+ this.label5.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
+ //
+ // label6
+ //
+ this.label6.BackColor = System.Drawing.Color.Transparent;
+ this.label6.Font = new System.Drawing.Font("微软雅黑", 14F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Pixel, ((byte)(134)));
+ this.label6.Location = new System.Drawing.Point(0, 100);
+ this.label6.Name = "label6";
+ this.label6.Size = new System.Drawing.Size(75, 25);
+ this.label6.TabIndex = 1;
+ this.label6.Text = "时间";
+ this.label6.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
+ //
+ // label7
+ //
+ this.label7.BackColor = System.Drawing.Color.Transparent;
+ this.label7.Font = new System.Drawing.Font("微软雅黑", 14F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Pixel, ((byte)(134)));
+ this.label7.Location = new System.Drawing.Point(0, 140);
+ this.label7.Margin = new System.Windows.Forms.Padding(0);
+ this.label7.Name = "label7";
+ this.label7.Size = new System.Drawing.Size(75, 25);
+ this.label7.TabIndex = 1;
+ this.label7.Text = "MJD";
+ this.label7.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
+ //
+ // label8
+ //
+ this.label8.BackColor = System.Drawing.Color.Transparent;
+ this.label8.Font = new System.Drawing.Font("微软雅黑", 14F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Pixel, ((byte)(134)));
+ this.label8.Location = new System.Drawing.Point(0, 20);
+ this.label8.Name = "label8";
+ this.label8.Size = new System.Drawing.Size(224, 25);
+ this.label8.TabIndex = 0;
+ this.label8.Text = "位置信息";
+ this.label8.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
+ //
+ // label9
+ //
+ this.label9.BackColor = System.Drawing.Color.Transparent;
+ this.label9.Font = new System.Drawing.Font("微软雅黑", 14F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Pixel, ((byte)(134)));
+ this.label9.Location = new System.Drawing.Point(0, 60);
+ this.label9.Name = "label9";
+ this.label9.Size = new System.Drawing.Size(75, 25);
+ this.label9.TabIndex = 1;
+ this.label9.Text = "经度";
+ this.label9.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
+ //
+ // label10
+ //
+ this.label10.BackColor = System.Drawing.Color.Transparent;
+ this.label10.Font = new System.Drawing.Font("微软雅黑", 14F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Pixel, ((byte)(134)));
+ this.label10.Location = new System.Drawing.Point(0, 100);
+ this.label10.Margin = new System.Windows.Forms.Padding(0);
+ this.label10.Name = "label10";
+ this.label10.Size = new System.Drawing.Size(75, 25);
+ this.label10.TabIndex = 1;
+ this.label10.Text = "纬度";
+ this.label10.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
+ //
+ // label11
+ //
+ this.label11.BackColor = System.Drawing.Color.Transparent;
+ this.label11.Font = new System.Drawing.Font("微软雅黑", 14F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Pixel, ((byte)(134)));
+ this.label11.Location = new System.Drawing.Point(0, 140);
+ this.label11.Margin = new System.Windows.Forms.Padding(0);
+ this.label11.Name = "label11";
+ this.label11.Size = new System.Drawing.Size(75, 25);
+ this.label11.TabIndex = 1;
+ this.label11.Text = "X";
+ this.label11.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
+ //
+ // label12
+ //
+ this.label12.BackColor = System.Drawing.Color.Transparent;
+ this.label12.Font = new System.Drawing.Font("微软雅黑", 14F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Pixel, ((byte)(134)));
+ this.label12.Location = new System.Drawing.Point(0, 180);
+ this.label12.Margin = new System.Windows.Forms.Padding(0);
+ this.label12.Name = "label12";
+ this.label12.Size = new System.Drawing.Size(75, 25);
+ this.label12.TabIndex = 1;
+ this.label12.Text = "Y";
+ this.label12.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
+ //
+ // label13
+ //
+ this.label13.BackColor = System.Drawing.Color.Transparent;
+ this.label13.Font = new System.Drawing.Font("微软雅黑", 14F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Pixel, ((byte)(134)));
+ this.label13.Location = new System.Drawing.Point(0, 220);
+ this.label13.Margin = new System.Windows.Forms.Padding(0);
+ this.label13.Name = "label13";
+ this.label13.Size = new System.Drawing.Size(75, 25);
+ this.label13.TabIndex = 1;
+ this.label13.Text = "Z";
+ this.label13.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
//
// HomeCtrlForm
//
this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 12F);
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
- this.Controls.Add(this.label1);
- this.Controls.Add(this.label2);
- this.Controls.Add(this.dataGridViewX2);
- this.Controls.Add(this.panelEx4);
- this.Controls.Add(this.panelToBeTested);
+ this.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(232)))), ((int)(((byte)(234)))), ((int)(((byte)(238)))));
+ this.Controls.Add(this.panel5);
+ this.Controls.Add(this.panel4);
+ this.Controls.Add(this.panel3);
+ this.Controls.Add(this.panel2);
+ this.Controls.Add(this.panel1);
this.Margin = new System.Windows.Forms.Padding(0);
this.Name = "HomeCtrlForm";
- this.Size = new System.Drawing.Size(1000, 640);
- this.panelToBeTested.ResumeLayout(false);
- ((System.ComponentModel.ISupportInitialize)(this.dataGridViewX1)).EndInit();
- this.panelEx1.ResumeLayout(false);
- this.panelEx2.ResumeLayout(false);
- this.panelEx3.ResumeLayout(false);
- this.panelEx4.ResumeLayout(false);
- ((System.ComponentModel.ISupportInitialize)(this.dataGridViewX2)).EndInit();
+ this.Size = new System.Drawing.Size(1024, 654);
+ this.panel3.ResumeLayout(false);
+ this.panel2.ResumeLayout(false);
+ this.panel1.ResumeLayout(false);
this.ResumeLayout(false);
}
#endregion
- private System.Windows.Forms.Panel panelToBeTested;
- private DevComponents.DotNetBar.PanelEx panelEx1;
- private DevComponents.DotNetBar.LabelX labelX6;
- private DevComponents.DotNetBar.LabelX labelX5;
- private DevComponents.DotNetBar.LabelX labelX4;
- private DevComponents.DotNetBar.LabelX labelX3;
- private DevComponents.DotNetBar.LabelX labelX2;
- private DevComponents.DotNetBar.LabelX labelX1;
- private DevComponents.DotNetBar.PanelEx panelEx2;
- private DevComponents.DotNetBar.LabelX labelX7;
- private DevComponents.DotNetBar.LabelX labelX8;
- private DevComponents.DotNetBar.LabelX labelX10;
- private DevComponents.DotNetBar.LabelX labelX9;
- private DevComponents.DotNetBar.PanelEx panelEx3;
- private DevComponents.DotNetBar.LabelX labelX11;
- private DevComponents.DotNetBar.LabelX labelX13;
- private DevComponents.DotNetBar.LabelX labelX12;
- private DevComponents.DotNetBar.PanelEx panelEx4;
- private DevComponents.DotNetBar.Controls.DataGridViewX dataGridViewX1;
- private System.Windows.Forms.DataGridViewTextBoxColumn Column13;
- private System.Windows.Forms.DataGridViewTextBoxColumn Column14;
- private System.Windows.Forms.DataGridViewTextBoxColumn Column15;
- private System.Windows.Forms.DataGridViewTextBoxColumn Column16;
- private System.Windows.Forms.DataGridViewTextBoxColumn Column17;
- private DevComponents.DotNetBar.Controls.DataGridViewX dataGridViewX2;
- private System.Windows.Forms.DataGridViewTextBoxColumn Column18;
- private System.Windows.Forms.DataGridViewTextBoxColumn Column19;
- private System.Windows.Forms.DataGridViewTextBoxColumn Column20;
- private System.Windows.Forms.DataGridViewTextBoxColumn Column21;
- private System.Windows.Forms.DataGridViewTextBoxColumn Column22;
- private System.Windows.Forms.DataGridViewTextBoxColumn Column23;
- private System.Windows.Forms.DataGridViewTextBoxColumn Column24;
- private System.Windows.Forms.DataGridViewTextBoxColumn Column25;
- private System.Windows.Forms.DataGridViewTextBoxColumn Column26;
- private System.Windows.Forms.DataGridViewTextBoxColumn Column27;
- private System.Windows.Forms.DataGridViewTextBoxColumn Column28;
- private System.Windows.Forms.DataGridViewTextBoxColumn Column29;
- private DevComponents.DotNetBar.ButtonX buttonX1;
- private DevComponents.DotNetBar.ButtonX buttonX2;
+
+ private System.Windows.Forms.Panel panel1;
+ private System.Windows.Forms.Panel panel2;
+ private System.Windows.Forms.Panel panel3;
+ private System.Windows.Forms.Panel panel4;
+ private System.Windows.Forms.Panel panel5;
private System.Windows.Forms.Label label1;
private System.Windows.Forms.Label label2;
+ private System.Windows.Forms.Label label3;
+ private System.Windows.Forms.Label label4;
+ private System.Windows.Forms.Label label5;
+ private System.Windows.Forms.Label label6;
+ private System.Windows.Forms.Label label7;
+ private System.Windows.Forms.Label label8;
+ private System.Windows.Forms.Label label11;
+ private System.Windows.Forms.Label label9;
+ private System.Windows.Forms.Label label10;
+ private System.Windows.Forms.Label label12;
+ private System.Windows.Forms.Label label13;
}
}
diff --git a/RbFreqStandMeasure/HomeCtrlForm.resx b/RbFreqStandMeasure/HomeCtrlForm.resx
index 6d97f4f..1af7de1 100644
--- a/RbFreqStandMeasure/HomeCtrlForm.resx
+++ b/RbFreqStandMeasure/HomeCtrlForm.resx
@@ -117,55 +117,4 @@
System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
-
- True
-
-
- True
-
-
- True
-
-
- True
-
-
- True
-
-
- True
-
-
- True
-
-
- True
-
-
- True
-
-
- True
-
-
- True
-
-
- True
-
-
- True
-
-
- True
-
-
- True
-
-
- True
-
-
- True
-
\ No newline at end of file
diff --git a/RbFreqStandMeasure/Program.cs b/RbFreqStandMeasure/Program.cs
index 93a83e5..6150917 100644
--- a/RbFreqStandMeasure/Program.cs
+++ b/RbFreqStandMeasure/Program.cs
@@ -1,6 +1,4 @@
using System;
-using System.Collections.Generic;
-using System.Linq;
using System.Windows.Forms;
namespace Casic.Birmm.RbFreqStandMeasure
diff --git a/RbFreqStandMeasure/Properties/Resources.Designer.cs b/RbFreqStandMeasure/Properties/Resources.Designer.cs
index 253d7d7..d819a23 100644
--- a/RbFreqStandMeasure/Properties/Resources.Designer.cs
+++ b/RbFreqStandMeasure/Properties/Resources.Designer.cs
@@ -73,6 +73,56 @@
///
/// 查找 System.Drawing.Bitmap 类型的本地化资源。
///
+ internal static System.Drawing.Bitmap bg_dev_channel {
+ get {
+ object obj = ResourceManager.GetObject("bg_dev_channel", resourceCulture);
+ return ((System.Drawing.Bitmap)(obj));
+ }
+ }
+
+ ///
+ /// 查找 System.Drawing.Bitmap 类型的本地化资源。
+ ///
+ internal static System.Drawing.Bitmap bg_dev_tested {
+ get {
+ object obj = ResourceManager.GetObject("bg_dev_tested", resourceCulture);
+ return ((System.Drawing.Bitmap)(obj));
+ }
+ }
+
+ ///
+ /// 查找 System.Drawing.Bitmap 类型的本地化资源。
+ ///
+ internal static System.Drawing.Bitmap bg_status_base {
+ get {
+ object obj = ResourceManager.GetObject("bg_status_base", resourceCulture);
+ return ((System.Drawing.Bitmap)(obj));
+ }
+ }
+
+ ///
+ /// 查找 System.Drawing.Bitmap 类型的本地化资源。
+ ///
+ internal static System.Drawing.Bitmap bg_status_location {
+ get {
+ object obj = ResourceManager.GetObject("bg_status_location", resourceCulture);
+ return ((System.Drawing.Bitmap)(obj));
+ }
+ }
+
+ ///
+ /// 查找 System.Drawing.Bitmap 类型的本地化资源。
+ ///
+ internal static System.Drawing.Bitmap bg_status_time {
+ get {
+ object obj = ResourceManager.GetObject("bg_status_time", resourceCulture);
+ return ((System.Drawing.Bitmap)(obj));
+ }
+ }
+
+ ///
+ /// 查找 System.Drawing.Bitmap 类型的本地化资源。
+ ///
internal static System.Drawing.Bitmap bg_white_shadow {
get {
object obj = ResourceManager.GetObject("bg_white_shadow", resourceCulture);
@@ -83,6 +133,66 @@
///
/// 查找 System.Drawing.Bitmap 类型的本地化资源。
///
+ internal static System.Drawing.Bitmap icon_counter {
+ get {
+ object obj = ResourceManager.GetObject("icon_counter", resourceCulture);
+ return ((System.Drawing.Bitmap)(obj));
+ }
+ }
+
+ ///
+ /// 查找 System.Drawing.Bitmap 类型的本地化资源。
+ ///
+ internal static System.Drawing.Bitmap icon_counter_selected {
+ get {
+ object obj = ResourceManager.GetObject("icon_counter_selected", resourceCulture);
+ return ((System.Drawing.Bitmap)(obj));
+ }
+ }
+
+ ///
+ /// 查找 System.Drawing.Bitmap 类型的本地化资源。
+ ///
+ internal static System.Drawing.Bitmap icon_data {
+ get {
+ object obj = ResourceManager.GetObject("icon_data", resourceCulture);
+ return ((System.Drawing.Bitmap)(obj));
+ }
+ }
+
+ ///
+ /// 查找 System.Drawing.Bitmap 类型的本地化资源。
+ ///
+ internal static System.Drawing.Bitmap icon_data_selected {
+ get {
+ object obj = ResourceManager.GetObject("icon_data_selected", resourceCulture);
+ return ((System.Drawing.Bitmap)(obj));
+ }
+ }
+
+ ///
+ /// 查找 System.Drawing.Bitmap 类型的本地化资源。
+ ///
+ internal static System.Drawing.Bitmap icon_dev {
+ get {
+ object obj = ResourceManager.GetObject("icon_dev", resourceCulture);
+ return ((System.Drawing.Bitmap)(obj));
+ }
+ }
+
+ ///
+ /// 查找 System.Drawing.Bitmap 类型的本地化资源。
+ ///
+ internal static System.Drawing.Bitmap icon_dev_selected {
+ get {
+ object obj = ResourceManager.GetObject("icon_dev_selected", resourceCulture);
+ return ((System.Drawing.Bitmap)(obj));
+ }
+ }
+
+ ///
+ /// 查找 System.Drawing.Bitmap 类型的本地化资源。
+ ///
internal static System.Drawing.Bitmap icon_exit {
get {
object obj = ResourceManager.GetObject("icon_exit", resourceCulture);
@@ -113,6 +223,56 @@
///
/// 查找 System.Drawing.Bitmap 类型的本地化资源。
///
+ internal static System.Drawing.Bitmap icon_measure {
+ get {
+ object obj = ResourceManager.GetObject("icon_measure", resourceCulture);
+ return ((System.Drawing.Bitmap)(obj));
+ }
+ }
+
+ ///
+ /// 查找 System.Drawing.Bitmap 类型的本地化资源。
+ ///
+ internal static System.Drawing.Bitmap icon_measure_selected {
+ get {
+ object obj = ResourceManager.GetObject("icon_measure_selected", resourceCulture);
+ return ((System.Drawing.Bitmap)(obj));
+ }
+ }
+
+ ///
+ /// 查找 System.Drawing.Bitmap 类型的本地化资源。
+ ///
+ internal static System.Drawing.Bitmap icon_min {
+ get {
+ object obj = ResourceManager.GetObject("icon_min", resourceCulture);
+ return ((System.Drawing.Bitmap)(obj));
+ }
+ }
+
+ ///
+ /// 查找 System.Drawing.Bitmap 类型的本地化资源。
+ ///
+ internal static System.Drawing.Bitmap icon_setting {
+ get {
+ object obj = ResourceManager.GetObject("icon_setting", resourceCulture);
+ return ((System.Drawing.Bitmap)(obj));
+ }
+ }
+
+ ///
+ /// 查找 System.Drawing.Bitmap 类型的本地化资源。
+ ///
+ internal static System.Drawing.Bitmap icon_setting_selected {
+ get {
+ object obj = ResourceManager.GetObject("icon_setting_selected", resourceCulture);
+ return ((System.Drawing.Bitmap)(obj));
+ }
+ }
+
+ ///
+ /// 查找 System.Drawing.Bitmap 类型的本地化资源。
+ ///
internal static System.Drawing.Bitmap icon_status {
get {
object obj = ResourceManager.GetObject("icon_status", resourceCulture);
diff --git a/RbFreqStandMeasure/Properties/Resources.resx b/RbFreqStandMeasure/Properties/Resources.resx
index e781bb7..cfdb255 100644
--- a/RbFreqStandMeasure/Properties/Resources.resx
+++ b/RbFreqStandMeasure/Properties/Resources.resx
@@ -118,25 +118,73 @@
System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
-
- ..\res\images\icon_exit.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
+
+ ..\res\images\icon_counter_selected.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
-
- ..\res\images\bg_white_shadow.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
+
+ ..\res\images\icon_dev_selected.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
+
+
+ ..\res\images\icon_status_selected.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
+
+
+ ..\res\images\icon_data_selected.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
..\res\images\icon_home_selected.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
-
- ..\res\images\bg_banner.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
-
-
- ..\res\images\icon_home.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
+
+ ..\res\images\icon_exit.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
..\res\images\icon_status.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
-
- ..\res\images\icon_status_selected.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
+
+ ..\res\images\icon_data.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
+
+
+ ..\res\images\icon_setting.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
+
+
+ ..\res\images\icon_measure_selected.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
+
+
+ ..\res\images\bg_banner.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
+
+
+ ..\res\images\icon_setting_selected.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
+
+
+ ..\res\images\icon_dev.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
+
+
+ ..\res\images\icon_counter.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
+
+
+ ..\res\images\icon_measure.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
+
+
+ ..\res\images\icon_home.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
+
+
+ ..\res\images\bg_white_shadow.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
+
+
+ ..\res\images\icon_min.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
+
+
+ ..\res\images\bg_status_base.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
+
+
+ ..\res\images\bg_status_location.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
+
+
+ ..\res\images\bg_status_time.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
+
+
+ ..\res\images\bg_dev_channel.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
+
+
+ ..\res\images\bg_dev_tested.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
\ No newline at end of file
diff --git a/RbFreqStandMeasure/RbFreqStandMeasure.csproj b/RbFreqStandMeasure/RbFreqStandMeasure.csproj
index f5e7da9..7c12768 100644
--- a/RbFreqStandMeasure/RbFreqStandMeasure.csproj
+++ b/RbFreqStandMeasure/RbFreqStandMeasure.csproj
@@ -232,6 +232,54 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/RbFreqStandMeasure/RbFreqStdMeas.Designer.cs b/RbFreqStandMeasure/RbFreqStdMeas.Designer.cs
index 57778cf..1bd008c 100644
--- a/RbFreqStandMeasure/RbFreqStdMeas.Designer.cs
+++ b/RbFreqStandMeasure/RbFreqStdMeas.Designer.cs
@@ -30,148 +30,77 @@
private void InitializeComponent()
{
this.panMenu = new System.Windows.Forms.Panel();
+ this.penBanner = new System.Windows.Forms.Panel();
+ this.btnMinSys = new System.Windows.Forms.Button();
+ this.btnExitSys = new System.Windows.Forms.Button();
+ this.labTitle = new System.Windows.Forms.Label();
+ this.panDev = new Casic.Birmm.RbFreqStandMeasure.RoundPanel();
+ this.labDevText = new System.Windows.Forms.Label();
+ this.labDevSelected = new System.Windows.Forms.Label();
+ this.picIconDev = new System.Windows.Forms.PictureBox();
+ this.panSetting = new Casic.Birmm.RbFreqStandMeasure.RoundPanel();
+ this.labSettingSelected = new System.Windows.Forms.Label();
+ this.labSettingText = new System.Windows.Forms.Label();
+ this.picIconSetting = new System.Windows.Forms.PictureBox();
this.panStatus = new Casic.Birmm.RbFreqStandMeasure.RoundPanel();
this.labStatusText = new System.Windows.Forms.Label();
this.picIconStatus = new System.Windows.Forms.PictureBox();
+ this.labStatusSelected = new System.Windows.Forms.Label();
+ this.panData = new Casic.Birmm.RbFreqStandMeasure.RoundPanel();
+ this.labDataSelected = new System.Windows.Forms.Label();
+ this.labDataText = new System.Windows.Forms.Label();
+ this.picIconData = new System.Windows.Forms.PictureBox();
this.panHome = new Casic.Birmm.RbFreqStandMeasure.RoundPanel();
this.labHomeText = new System.Windows.Forms.Label();
this.picIconHome = new System.Windows.Forms.PictureBox();
this.labHomeSelected = new System.Windows.Forms.Label();
- this.labStatusSelected = new System.Windows.Forms.Label();
- this.penBanner = new System.Windows.Forms.Panel();
- this.btnExitSys = new System.Windows.Forms.Button();
- this.labTitle = new System.Windows.Forms.Label();
+ this.panMeasure = new Casic.Birmm.RbFreqStandMeasure.RoundPanel();
+ this.labMeasureText = new System.Windows.Forms.Label();
+ this.labMeasureSelected = new System.Windows.Forms.Label();
+ this.picIconMeasure = new System.Windows.Forms.PictureBox();
+ this.panCounter = new Casic.Birmm.RbFreqStandMeasure.RoundPanel();
+ this.labCounterSelected = new System.Windows.Forms.Label();
+ this.labCounterText = new System.Windows.Forms.Label();
+ this.picIconCounter = new System.Windows.Forms.PictureBox();
+ this.panelMain = new System.Windows.Forms.Panel();
this.panMenu.SuspendLayout();
+ this.penBanner.SuspendLayout();
+ this.panDev.SuspendLayout();
+ ((System.ComponentModel.ISupportInitialize)(this.picIconDev)).BeginInit();
+ this.panSetting.SuspendLayout();
+ ((System.ComponentModel.ISupportInitialize)(this.picIconSetting)).BeginInit();
this.panStatus.SuspendLayout();
((System.ComponentModel.ISupportInitialize)(this.picIconStatus)).BeginInit();
+ this.panData.SuspendLayout();
+ ((System.ComponentModel.ISupportInitialize)(this.picIconData)).BeginInit();
this.panHome.SuspendLayout();
((System.ComponentModel.ISupportInitialize)(this.picIconHome)).BeginInit();
- this.penBanner.SuspendLayout();
+ this.panMeasure.SuspendLayout();
+ ((System.ComponentModel.ISupportInitialize)(this.picIconMeasure)).BeginInit();
+ this.panCounter.SuspendLayout();
+ ((System.ComponentModel.ISupportInitialize)(this.picIconCounter)).BeginInit();
this.SuspendLayout();
//
// panMenu
//
this.panMenu.BackColor = System.Drawing.Color.White;
+ this.panMenu.Controls.Add(this.panDev);
+ this.panMenu.Controls.Add(this.panSetting);
this.panMenu.Controls.Add(this.panStatus);
+ this.panMenu.Controls.Add(this.panData);
this.panMenu.Controls.Add(this.panHome);
- this.panMenu.Controls.Add(this.labStatusSelected);
+ this.panMenu.Controls.Add(this.panMeasure);
+ this.panMenu.Controls.Add(this.panCounter);
this.panMenu.Location = new System.Drawing.Point(0, 64);
this.panMenu.Name = "panMenu";
this.panMenu.Size = new System.Drawing.Size(1024, 50);
this.panMenu.TabIndex = 1;
//
- // panStatus
- //
- this.panStatus.Back = System.Drawing.Color.Empty;
- this.panStatus.BackColor = System.Drawing.Color.Transparent;
- this.panStatus.Controls.Add(this.labStatusText);
- this.panStatus.Controls.Add(this.picIconStatus);
- this.panStatus.Location = new System.Drawing.Point(160, 0);
- this.panStatus.MatrixRound = 8;
- this.panStatus.Name = "panStatus";
- this.panStatus.Size = new System.Drawing.Size(130, 47);
- this.panStatus.TabIndex = 1;
- this.panStatus.Click += new System.EventHandler(this.panStatus_Click);
- this.panStatus.MouseLeave += new System.EventHandler(this.panStatus_MouseLeave);
- this.panStatus.MouseHover += new System.EventHandler(this.panStatus_MouseHover);
- //
- // labStatusText
- //
- this.labStatusText.BackColor = System.Drawing.Color.Transparent;
- this.labStatusText.Cursor = System.Windows.Forms.Cursors.Hand;
- this.labStatusText.Font = new System.Drawing.Font("微软雅黑", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
- this.labStatusText.ForeColor = System.Drawing.SystemColors.ControlText;
- this.labStatusText.Location = new System.Drawing.Point(35, 0);
- this.labStatusText.Margin = new System.Windows.Forms.Padding(0);
- this.labStatusText.Name = "labStatusText";
- this.labStatusText.Size = new System.Drawing.Size(85, 47);
- this.labStatusText.TabIndex = 2;
- this.labStatusText.Text = "基准状态";
- this.labStatusText.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
- this.labStatusText.Click += new System.EventHandler(this.panStatus_Click);
- this.labStatusText.MouseLeave += new System.EventHandler(this.panStatus_MouseLeave);
- this.labStatusText.MouseHover += new System.EventHandler(this.panStatus_MouseHover);
- //
- // picIconStatus
- //
- this.picIconStatus.BackgroundImage = global::Casic.Birmm.RbFreqStandMeasure.Properties.Resources.icon_status;
- this.picIconStatus.BackgroundImageLayout = System.Windows.Forms.ImageLayout.Zoom;
- this.picIconStatus.Location = new System.Drawing.Point(10, 11);
- this.picIconStatus.Name = "picIconStatus";
- this.picIconStatus.Size = new System.Drawing.Size(25, 25);
- this.picIconStatus.TabIndex = 1;
- this.picIconStatus.TabStop = false;
- this.picIconStatus.Click += new System.EventHandler(this.panStatus_Click);
- this.picIconStatus.MouseLeave += new System.EventHandler(this.panStatus_MouseLeave);
- this.picIconStatus.MouseHover += new System.EventHandler(this.panStatus_MouseHover);
- //
- // panHome
- //
- this.panHome.Back = System.Drawing.Color.Empty;
- this.panHome.Controls.Add(this.labHomeText);
- this.panHome.Controls.Add(this.picIconHome);
- this.panHome.Controls.Add(this.labHomeSelected);
- this.panHome.Cursor = System.Windows.Forms.Cursors.Hand;
- this.panHome.Location = new System.Drawing.Point(30, 0);
- this.panHome.MatrixRound = 8;
- this.panHome.Name = "panHome";
- this.panHome.Size = new System.Drawing.Size(100, 50);
- this.panHome.TabIndex = 0;
- this.panHome.Click += new System.EventHandler(this.panHome_Click);
- this.panHome.MouseLeave += new System.EventHandler(this.panHome_MouseLeave);
- this.panHome.MouseHover += new System.EventHandler(this.panHome_MouseHover);
- //
- // labHomeText
- //
- this.labHomeText.BackColor = System.Drawing.Color.Transparent;
- this.labHomeText.Font = new System.Drawing.Font("微软雅黑", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
- this.labHomeText.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(18)))), ((int)(((byte)(150)))), ((int)(((byte)(219)))));
- this.labHomeText.Location = new System.Drawing.Point(35, 0);
- this.labHomeText.Margin = new System.Windows.Forms.Padding(0);
- this.labHomeText.Name = "labHomeText";
- this.labHomeText.Size = new System.Drawing.Size(55, 47);
- this.labHomeText.TabIndex = 2;
- this.labHomeText.Text = "首页";
- this.labHomeText.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
- this.labHomeText.Click += new System.EventHandler(this.panHome_Click);
- this.labHomeText.MouseLeave += new System.EventHandler(this.panHome_MouseLeave);
- this.labHomeText.MouseHover += new System.EventHandler(this.panHome_MouseHover);
- //
- // picIconHome
- //
- this.picIconHome.BackColor = System.Drawing.Color.Transparent;
- this.picIconHome.BackgroundImage = global::Casic.Birmm.RbFreqStandMeasure.Properties.Resources.icon_home_selected;
- this.picIconHome.BackgroundImageLayout = System.Windows.Forms.ImageLayout.Zoom;
- this.picIconHome.Location = new System.Drawing.Point(10, 11);
- this.picIconHome.Name = "picIconHome";
- this.picIconHome.Size = new System.Drawing.Size(25, 25);
- this.picIconHome.TabIndex = 1;
- this.picIconHome.TabStop = false;
- this.picIconHome.Click += new System.EventHandler(this.panHome_Click);
- this.picIconHome.MouseLeave += new System.EventHandler(this.panHome_MouseLeave);
- this.picIconHome.MouseHover += new System.EventHandler(this.panHome_MouseHover);
- //
- // labHomeSelected
- //
- this.labHomeSelected.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(18)))), ((int)(((byte)(150)))), ((int)(((byte)(219)))));
- this.labHomeSelected.Location = new System.Drawing.Point(0, 47);
- this.labHomeSelected.Name = "labHomeSelected";
- this.labHomeSelected.Size = new System.Drawing.Size(100, 3);
- this.labHomeSelected.TabIndex = 0;
- //
- // labStatusSelected
- //
- this.labStatusSelected.BackColor = System.Drawing.Color.Transparent;
- this.labStatusSelected.Location = new System.Drawing.Point(160, 47);
- this.labStatusSelected.Margin = new System.Windows.Forms.Padding(0);
- this.labStatusSelected.Name = "labStatusSelected";
- this.labStatusSelected.Size = new System.Drawing.Size(130, 3);
- this.labStatusSelected.TabIndex = 0;
- //
// penBanner
//
this.penBanner.BackgroundImage = global::Casic.Birmm.RbFreqStandMeasure.Properties.Resources.bg_banner;
this.penBanner.BackgroundImageLayout = System.Windows.Forms.ImageLayout.Stretch;
+ this.penBanner.Controls.Add(this.btnMinSys);
this.penBanner.Controls.Add(this.btnExitSys);
this.penBanner.Controls.Add(this.labTitle);
this.penBanner.Location = new System.Drawing.Point(0, 0);
@@ -180,6 +109,23 @@
this.penBanner.TabIndex = 0;
this.penBanner.MouseDown += new System.Windows.Forms.MouseEventHandler(this.RbFreqStdMeas_MouseDown);
//
+ // btnMinSys
+ //
+ this.btnMinSys.BackColor = System.Drawing.Color.Transparent;
+ this.btnMinSys.BackgroundImage = global::Casic.Birmm.RbFreqStandMeasure.Properties.Resources.icon_min;
+ this.btnMinSys.BackgroundImageLayout = System.Windows.Forms.ImageLayout.Stretch;
+ this.btnMinSys.FlatAppearance.BorderSize = 0;
+ this.btnMinSys.FlatStyle = System.Windows.Forms.FlatStyle.Flat;
+ this.btnMinSys.ForeColor = System.Drawing.SystemColors.ControlDarkDark;
+ this.btnMinSys.Location = new System.Drawing.Point(944, 22);
+ this.btnMinSys.Margin = new System.Windows.Forms.Padding(0);
+ this.btnMinSys.Name = "btnMinSys";
+ this.btnMinSys.Size = new System.Drawing.Size(20, 20);
+ this.btnMinSys.TabIndex = 1;
+ this.btnMinSys.UseVisualStyleBackColor = false;
+ this.btnMinSys.Click += new System.EventHandler(this.btnMinSys_Click);
+ this.btnMinSys.MouseHover += new System.EventHandler(this.btnMinSys_MouseHover);
+ //
// btnExitSys
//
this.btnExitSys.BackColor = System.Drawing.Color.Transparent;
@@ -200,7 +146,7 @@
// labTitle
//
this.labTitle.BackColor = System.Drawing.Color.Transparent;
- this.labTitle.Font = new System.Drawing.Font("微软雅黑", 15.75F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
+ this.labTitle.Font = new System.Drawing.Font("微软雅黑", 20F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Pixel, ((byte)(134)));
this.labTitle.ForeColor = System.Drawing.Color.White;
this.labTitle.Location = new System.Drawing.Point(30, 16);
this.labTitle.Name = "labTitle";
@@ -209,11 +155,404 @@
this.labTitle.Text = "铷原子频标比对测量软件";
this.labTitle.TextAlign = System.Drawing.ContentAlignment.MiddleLeft;
//
+ // panDev
+ //
+ this.panDev.Back = System.Drawing.Color.Empty;
+ this.panDev.Controls.Add(this.labDevText);
+ this.panDev.Controls.Add(this.labDevSelected);
+ this.panDev.Controls.Add(this.picIconDev);
+ this.panDev.Location = new System.Drawing.Point(214, 0);
+ this.panDev.MatrixRound = 8;
+ this.panDev.Name = "panDev";
+ this.panDev.Size = new System.Drawing.Size(141, 50);
+ this.panDev.TabIndex = 2;
+ this.panDev.Click += new System.EventHandler(this.panDev_Click);
+ this.panDev.MouseLeave += new System.EventHandler(this.panDev_MouseLeave);
+ this.panDev.MouseHover += new System.EventHandler(this.panDev_MouseHover);
+ //
+ // labDevText
+ //
+ this.labDevText.BackColor = System.Drawing.Color.Transparent;
+ this.labDevText.Cursor = System.Windows.Forms.Cursors.Hand;
+ this.labDevText.Font = new System.Drawing.Font("微软雅黑", 16F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Pixel, ((byte)(134)));
+ this.labDevText.ForeColor = System.Drawing.SystemColors.ControlText;
+ this.labDevText.Location = new System.Drawing.Point(30, 14);
+ this.labDevText.Margin = new System.Windows.Forms.Padding(0);
+ this.labDevText.Name = "labDevText";
+ this.labDevText.Size = new System.Drawing.Size(106, 20);
+ this.labDevText.TabIndex = 2;
+ this.labDevText.Text = "送检仪器管理";
+ this.labDevText.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
+ this.labDevText.Click += new System.EventHandler(this.panDev_Click);
+ this.labDevText.MouseLeave += new System.EventHandler(this.panDev_MouseLeave);
+ this.labDevText.MouseHover += new System.EventHandler(this.panDev_MouseHover);
+ //
+ // labDevSelected
+ //
+ this.labDevSelected.BackColor = System.Drawing.Color.Transparent;
+ this.labDevSelected.Location = new System.Drawing.Point(8, 48);
+ this.labDevSelected.Margin = new System.Windows.Forms.Padding(0);
+ this.labDevSelected.Name = "labDevSelected";
+ this.labDevSelected.Size = new System.Drawing.Size(121, 2);
+ this.labDevSelected.TabIndex = 3;
+ //
+ // picIconDev
+ //
+ this.picIconDev.BackColor = System.Drawing.Color.Transparent;
+ this.picIconDev.BackgroundImage = global::Casic.Birmm.RbFreqStandMeasure.Properties.Resources.icon_dev;
+ this.picIconDev.BackgroundImageLayout = System.Windows.Forms.ImageLayout.Zoom;
+ this.picIconDev.Location = new System.Drawing.Point(10, 14);
+ this.picIconDev.Name = "picIconDev";
+ this.picIconDev.Size = new System.Drawing.Size(20, 20);
+ this.picIconDev.TabIndex = 1;
+ this.picIconDev.TabStop = false;
+ this.picIconDev.Click += new System.EventHandler(this.panDev_Click);
+ this.picIconDev.MouseLeave += new System.EventHandler(this.panDev_MouseLeave);
+ this.picIconDev.MouseHover += new System.EventHandler(this.panDev_MouseHover);
+ //
+ // panSetting
+ //
+ this.panSetting.Back = System.Drawing.Color.Empty;
+ this.panSetting.Controls.Add(this.labSettingSelected);
+ this.panSetting.Controls.Add(this.labSettingText);
+ this.panSetting.Controls.Add(this.picIconSetting);
+ this.panSetting.Location = new System.Drawing.Point(879, 0);
+ this.panSetting.MatrixRound = 8;
+ this.panSetting.Name = "panSetting";
+ this.panSetting.Size = new System.Drawing.Size(109, 50);
+ this.panSetting.TabIndex = 2;
+ this.panSetting.Click += new System.EventHandler(this.panSetting_Click);
+ this.panSetting.MouseLeave += new System.EventHandler(this.panSetting_MouseLeave);
+ this.panSetting.MouseHover += new System.EventHandler(this.panSetting_MouseHover);
+ //
+ // labSettingSelected
+ //
+ this.labSettingSelected.BackColor = System.Drawing.Color.Transparent;
+ this.labSettingSelected.Location = new System.Drawing.Point(10, 48);
+ this.labSettingSelected.Margin = new System.Windows.Forms.Padding(0);
+ this.labSettingSelected.Name = "labSettingSelected";
+ this.labSettingSelected.Size = new System.Drawing.Size(89, 2);
+ this.labSettingSelected.TabIndex = 4;
+ //
+ // labSettingText
+ //
+ this.labSettingText.BackColor = System.Drawing.Color.Transparent;
+ this.labSettingText.Cursor = System.Windows.Forms.Cursors.Hand;
+ this.labSettingText.Font = new System.Drawing.Font("微软雅黑", 16F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Pixel, ((byte)(134)));
+ this.labSettingText.ForeColor = System.Drawing.SystemColors.ControlText;
+ this.labSettingText.Location = new System.Drawing.Point(30, 14);
+ this.labSettingText.Margin = new System.Windows.Forms.Padding(0);
+ this.labSettingText.Name = "labSettingText";
+ this.labSettingText.Size = new System.Drawing.Size(74, 20);
+ this.labSettingText.TabIndex = 2;
+ this.labSettingText.Text = "系统设置";
+ this.labSettingText.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
+ this.labSettingText.Click += new System.EventHandler(this.panSetting_Click);
+ this.labSettingText.MouseLeave += new System.EventHandler(this.panSetting_MouseLeave);
+ this.labSettingText.MouseHover += new System.EventHandler(this.panSetting_MouseHover);
+ //
+ // picIconSetting
+ //
+ this.picIconSetting.BackColor = System.Drawing.Color.Transparent;
+ this.picIconSetting.BackgroundImage = global::Casic.Birmm.RbFreqStandMeasure.Properties.Resources.icon_setting;
+ this.picIconSetting.BackgroundImageLayout = System.Windows.Forms.ImageLayout.Zoom;
+ this.picIconSetting.Location = new System.Drawing.Point(10, 14);
+ this.picIconSetting.Name = "picIconSetting";
+ this.picIconSetting.Size = new System.Drawing.Size(20, 20);
+ this.picIconSetting.TabIndex = 1;
+ this.picIconSetting.TabStop = false;
+ this.picIconSetting.Click += new System.EventHandler(this.panSetting_Click);
+ this.picIconSetting.MouseLeave += new System.EventHandler(this.panSetting_MouseLeave);
+ this.picIconSetting.MouseHover += new System.EventHandler(this.panSetting_MouseHover);
+ //
+ // panStatus
+ //
+ this.panStatus.Back = System.Drawing.Color.Empty;
+ this.panStatus.BackColor = System.Drawing.Color.Transparent;
+ this.panStatus.Controls.Add(this.labStatusText);
+ this.panStatus.Controls.Add(this.picIconStatus);
+ this.panStatus.Controls.Add(this.labStatusSelected);
+ this.panStatus.Location = new System.Drawing.Point(101, 0);
+ this.panStatus.MatrixRound = 8;
+ this.panStatus.Name = "panStatus";
+ this.panStatus.Size = new System.Drawing.Size(109, 50);
+ this.panStatus.TabIndex = 1;
+ this.panStatus.Click += new System.EventHandler(this.panStatus_Click);
+ this.panStatus.MouseLeave += new System.EventHandler(this.panStatus_MouseLeave);
+ this.panStatus.MouseHover += new System.EventHandler(this.panStatus_MouseHover);
+ //
+ // labStatusText
+ //
+ this.labStatusText.BackColor = System.Drawing.Color.Transparent;
+ this.labStatusText.Cursor = System.Windows.Forms.Cursors.Hand;
+ this.labStatusText.Font = new System.Drawing.Font("微软雅黑", 16F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Pixel, ((byte)(134)));
+ this.labStatusText.ForeColor = System.Drawing.SystemColors.ControlText;
+ this.labStatusText.Location = new System.Drawing.Point(30, 14);
+ this.labStatusText.Margin = new System.Windows.Forms.Padding(0);
+ this.labStatusText.Name = "labStatusText";
+ this.labStatusText.Size = new System.Drawing.Size(74, 20);
+ this.labStatusText.TabIndex = 2;
+ this.labStatusText.Text = "基准状态";
+ this.labStatusText.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
+ this.labStatusText.Click += new System.EventHandler(this.panStatus_Click);
+ this.labStatusText.MouseLeave += new System.EventHandler(this.panStatus_MouseLeave);
+ this.labStatusText.MouseHover += new System.EventHandler(this.panStatus_MouseHover);
+ //
+ // picIconStatus
+ //
+ this.picIconStatus.BackgroundImage = global::Casic.Birmm.RbFreqStandMeasure.Properties.Resources.icon_status;
+ this.picIconStatus.BackgroundImageLayout = System.Windows.Forms.ImageLayout.Zoom;
+ this.picIconStatus.Location = new System.Drawing.Point(10, 14);
+ this.picIconStatus.Name = "picIconStatus";
+ this.picIconStatus.Size = new System.Drawing.Size(20, 20);
+ this.picIconStatus.TabIndex = 1;
+ this.picIconStatus.TabStop = false;
+ this.picIconStatus.Click += new System.EventHandler(this.panStatus_Click);
+ this.picIconStatus.MouseLeave += new System.EventHandler(this.panStatus_MouseLeave);
+ this.picIconStatus.MouseHover += new System.EventHandler(this.panStatus_MouseHover);
+ //
+ // labStatusSelected
+ //
+ this.labStatusSelected.BackColor = System.Drawing.Color.Transparent;
+ this.labStatusSelected.Location = new System.Drawing.Point(10, 48);
+ this.labStatusSelected.Margin = new System.Windows.Forms.Padding(0);
+ this.labStatusSelected.Name = "labStatusSelected";
+ this.labStatusSelected.Size = new System.Drawing.Size(89, 2);
+ this.labStatusSelected.TabIndex = 0;
+ //
+ // panData
+ //
+ this.panData.Back = System.Drawing.Color.Empty;
+ this.panData.Controls.Add(this.labDataSelected);
+ this.panData.Controls.Add(this.labDataText);
+ this.panData.Controls.Add(this.picIconData);
+ this.panData.Location = new System.Drawing.Point(765, 0);
+ this.panData.MatrixRound = 8;
+ this.panData.Name = "panData";
+ this.panData.Size = new System.Drawing.Size(109, 50);
+ this.panData.TabIndex = 2;
+ this.panData.Click += new System.EventHandler(this.panData_Click);
+ this.panData.MouseLeave += new System.EventHandler(this.panData_MouseLeave);
+ this.panData.MouseHover += new System.EventHandler(this.panData_MouseHover);
+ //
+ // labDataSelected
+ //
+ this.labDataSelected.BackColor = System.Drawing.Color.Transparent;
+ this.labDataSelected.Location = new System.Drawing.Point(10, 48);
+ this.labDataSelected.Margin = new System.Windows.Forms.Padding(0);
+ this.labDataSelected.Name = "labDataSelected";
+ this.labDataSelected.Size = new System.Drawing.Size(89, 2);
+ this.labDataSelected.TabIndex = 3;
+ //
+ // labDataText
+ //
+ this.labDataText.BackColor = System.Drawing.Color.Transparent;
+ this.labDataText.Cursor = System.Windows.Forms.Cursors.Hand;
+ this.labDataText.Font = new System.Drawing.Font("微软雅黑", 16F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Pixel, ((byte)(134)));
+ this.labDataText.ForeColor = System.Drawing.SystemColors.ControlText;
+ this.labDataText.Location = new System.Drawing.Point(30, 14);
+ this.labDataText.Margin = new System.Windows.Forms.Padding(0);
+ this.labDataText.Name = "labDataText";
+ this.labDataText.Size = new System.Drawing.Size(74, 20);
+ this.labDataText.TabIndex = 2;
+ this.labDataText.Text = "数据管理";
+ this.labDataText.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
+ this.labDataText.Click += new System.EventHandler(this.panData_Click);
+ this.labDataText.MouseLeave += new System.EventHandler(this.panData_MouseLeave);
+ this.labDataText.MouseHover += new System.EventHandler(this.panData_MouseHover);
+ //
+ // picIconData
+ //
+ this.picIconData.BackColor = System.Drawing.Color.Transparent;
+ this.picIconData.BackgroundImage = global::Casic.Birmm.RbFreqStandMeasure.Properties.Resources.icon_data;
+ this.picIconData.BackgroundImageLayout = System.Windows.Forms.ImageLayout.Zoom;
+ this.picIconData.Location = new System.Drawing.Point(10, 14);
+ this.picIconData.Name = "picIconData";
+ this.picIconData.Size = new System.Drawing.Size(20, 20);
+ this.picIconData.TabIndex = 1;
+ this.picIconData.TabStop = false;
+ this.picIconData.Click += new System.EventHandler(this.panData_Click);
+ this.picIconData.MouseLeave += new System.EventHandler(this.panData_MouseLeave);
+ this.picIconData.MouseHover += new System.EventHandler(this.panData_MouseHover);
+ //
+ // panHome
+ //
+ this.panHome.Back = System.Drawing.Color.Empty;
+ this.panHome.Controls.Add(this.labHomeText);
+ this.panHome.Controls.Add(this.picIconHome);
+ this.panHome.Controls.Add(this.labHomeSelected);
+ this.panHome.Cursor = System.Windows.Forms.Cursors.Hand;
+ this.panHome.Location = new System.Drawing.Point(20, 0);
+ this.panHome.MatrixRound = 8;
+ this.panHome.Name = "panHome";
+ this.panHome.Size = new System.Drawing.Size(75, 50);
+ this.panHome.TabIndex = 0;
+ this.panHome.Click += new System.EventHandler(this.panHome_Click);
+ this.panHome.MouseLeave += new System.EventHandler(this.panHome_MouseLeave);
+ this.panHome.MouseHover += new System.EventHandler(this.panHome_MouseHover);
+ //
+ // labHomeText
+ //
+ this.labHomeText.BackColor = System.Drawing.Color.Transparent;
+ this.labHomeText.Font = new System.Drawing.Font("微软雅黑", 16F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Pixel, ((byte)(134)));
+ this.labHomeText.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(18)))), ((int)(((byte)(150)))), ((int)(((byte)(219)))));
+ this.labHomeText.Location = new System.Drawing.Point(30, 14);
+ this.labHomeText.Margin = new System.Windows.Forms.Padding(0);
+ this.labHomeText.Name = "labHomeText";
+ this.labHomeText.Size = new System.Drawing.Size(42, 20);
+ this.labHomeText.TabIndex = 2;
+ this.labHomeText.Text = "首页";
+ this.labHomeText.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
+ this.labHomeText.Click += new System.EventHandler(this.panHome_Click);
+ this.labHomeText.MouseLeave += new System.EventHandler(this.panHome_MouseLeave);
+ this.labHomeText.MouseHover += new System.EventHandler(this.panHome_MouseHover);
+ //
+ // picIconHome
+ //
+ this.picIconHome.BackColor = System.Drawing.Color.Transparent;
+ this.picIconHome.BackgroundImage = global::Casic.Birmm.RbFreqStandMeasure.Properties.Resources.icon_home_selected;
+ this.picIconHome.BackgroundImageLayout = System.Windows.Forms.ImageLayout.Zoom;
+ this.picIconHome.Location = new System.Drawing.Point(10, 14);
+ this.picIconHome.Margin = new System.Windows.Forms.Padding(0);
+ this.picIconHome.Name = "picIconHome";
+ this.picIconHome.Size = new System.Drawing.Size(20, 20);
+ this.picIconHome.TabIndex = 1;
+ this.picIconHome.TabStop = false;
+ this.picIconHome.Click += new System.EventHandler(this.panHome_Click);
+ this.picIconHome.MouseLeave += new System.EventHandler(this.panHome_MouseLeave);
+ this.picIconHome.MouseHover += new System.EventHandler(this.panHome_MouseHover);
+ //
+ // labHomeSelected
+ //
+ this.labHomeSelected.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(18)))), ((int)(((byte)(150)))), ((int)(((byte)(219)))));
+ this.labHomeSelected.Location = new System.Drawing.Point(10, 48);
+ this.labHomeSelected.Name = "labHomeSelected";
+ this.labHomeSelected.Size = new System.Drawing.Size(55, 2);
+ this.labHomeSelected.TabIndex = 0;
+ //
+ // panMeasure
+ //
+ this.panMeasure.Back = System.Drawing.Color.Empty;
+ this.panMeasure.Controls.Add(this.labMeasureText);
+ this.panMeasure.Controls.Add(this.labMeasureSelected);
+ this.panMeasure.Controls.Add(this.picIconMeasure);
+ this.panMeasure.Location = new System.Drawing.Point(619, 0);
+ this.panMeasure.MatrixRound = 8;
+ this.panMeasure.Name = "panMeasure";
+ this.panMeasure.Size = new System.Drawing.Size(141, 50);
+ this.panMeasure.TabIndex = 2;
+ this.panMeasure.Click += new System.EventHandler(this.panMeasure_Click);
+ this.panMeasure.MouseLeave += new System.EventHandler(this.panMeasure_MouseLeave);
+ this.panMeasure.MouseHover += new System.EventHandler(this.panMeasure_MouseHover);
+ //
+ // labMeasureText
+ //
+ this.labMeasureText.BackColor = System.Drawing.Color.Transparent;
+ this.labMeasureText.Cursor = System.Windows.Forms.Cursors.Hand;
+ this.labMeasureText.Font = new System.Drawing.Font("微软雅黑", 16F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Pixel, ((byte)(134)));
+ this.labMeasureText.ForeColor = System.Drawing.SystemColors.ControlText;
+ this.labMeasureText.Location = new System.Drawing.Point(30, 14);
+ this.labMeasureText.Margin = new System.Windows.Forms.Padding(0);
+ this.labMeasureText.Name = "labMeasureText";
+ this.labMeasureText.Size = new System.Drawing.Size(106, 20);
+ this.labMeasureText.TabIndex = 2;
+ this.labMeasureText.Text = "计量信息管理";
+ this.labMeasureText.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
+ this.labMeasureText.Click += new System.EventHandler(this.panMeasure_Click);
+ this.labMeasureText.MouseLeave += new System.EventHandler(this.panMeasure_MouseLeave);
+ this.labMeasureText.MouseHover += new System.EventHandler(this.panMeasure_MouseHover);
+ //
+ // labMeasureSelected
+ //
+ this.labMeasureSelected.BackColor = System.Drawing.Color.Transparent;
+ this.labMeasureSelected.Location = new System.Drawing.Point(10, 48);
+ this.labMeasureSelected.Margin = new System.Windows.Forms.Padding(0);
+ this.labMeasureSelected.Name = "labMeasureSelected";
+ this.labMeasureSelected.Size = new System.Drawing.Size(121, 2);
+ this.labMeasureSelected.TabIndex = 3;
+ //
+ // picIconMeasure
+ //
+ this.picIconMeasure.BackColor = System.Drawing.Color.Transparent;
+ this.picIconMeasure.BackgroundImage = global::Casic.Birmm.RbFreqStandMeasure.Properties.Resources.icon_measure;
+ this.picIconMeasure.BackgroundImageLayout = System.Windows.Forms.ImageLayout.Zoom;
+ this.picIconMeasure.Location = new System.Drawing.Point(10, 14);
+ this.picIconMeasure.Name = "picIconMeasure";
+ this.picIconMeasure.Size = new System.Drawing.Size(20, 20);
+ this.picIconMeasure.TabIndex = 1;
+ this.picIconMeasure.TabStop = false;
+ this.picIconMeasure.Click += new System.EventHandler(this.panMeasure_Click);
+ this.picIconMeasure.MouseLeave += new System.EventHandler(this.panMeasure_MouseLeave);
+ this.picIconMeasure.MouseHover += new System.EventHandler(this.panMeasure_MouseHover);
+ //
+ // panCounter
+ //
+ this.panCounter.Back = System.Drawing.Color.Empty;
+ this.panCounter.Controls.Add(this.labCounterSelected);
+ this.panCounter.Controls.Add(this.labCounterText);
+ this.panCounter.Controls.Add(this.picIconCounter);
+ this.panCounter.Location = new System.Drawing.Point(360, 0);
+ this.panCounter.MatrixRound = 8;
+ this.panCounter.Name = "panCounter";
+ this.panCounter.Size = new System.Drawing.Size(254, 50);
+ this.panCounter.TabIndex = 2;
+ this.panCounter.Click += new System.EventHandler(this.panCounter_Click);
+ this.panCounter.MouseLeave += new System.EventHandler(this.panCounter_MouseLeave);
+ this.panCounter.MouseHover += new System.EventHandler(this.panCounter_MouseHover);
+ //
+ // labCounterSelected
+ //
+ this.labCounterSelected.BackColor = System.Drawing.Color.Transparent;
+ this.labCounterSelected.Location = new System.Drawing.Point(10, 48);
+ this.labCounterSelected.Margin = new System.Windows.Forms.Padding(0);
+ this.labCounterSelected.Name = "labCounterSelected";
+ this.labCounterSelected.Size = new System.Drawing.Size(233, 2);
+ this.labCounterSelected.TabIndex = 4;
+ //
+ // labCounterText
+ //
+ this.labCounterText.BackColor = System.Drawing.Color.Transparent;
+ this.labCounterText.Cursor = System.Windows.Forms.Cursors.Hand;
+ this.labCounterText.Font = new System.Drawing.Font("微软雅黑", 16F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Pixel, ((byte)(134)));
+ this.labCounterText.ForeColor = System.Drawing.SystemColors.ControlText;
+ this.labCounterText.Location = new System.Drawing.Point(30, 14);
+ this.labCounterText.Margin = new System.Windows.Forms.Padding(0);
+ this.labCounterText.Name = "labCounterText";
+ this.labCounterText.Size = new System.Drawing.Size(218, 20);
+ this.labCounterText.TabIndex = 2;
+ this.labCounterText.Text = "频率计数器范围及灵敏度测量";
+ this.labCounterText.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
+ this.labCounterText.Click += new System.EventHandler(this.panCounter_Click);
+ this.labCounterText.MouseLeave += new System.EventHandler(this.panCounter_MouseLeave);
+ this.labCounterText.MouseHover += new System.EventHandler(this.panCounter_MouseHover);
+ //
+ // picIconCounter
+ //
+ this.picIconCounter.BackColor = System.Drawing.Color.Transparent;
+ this.picIconCounter.BackgroundImage = global::Casic.Birmm.RbFreqStandMeasure.Properties.Resources.icon_counter;
+ this.picIconCounter.BackgroundImageLayout = System.Windows.Forms.ImageLayout.Zoom;
+ this.picIconCounter.Location = new System.Drawing.Point(10, 14);
+ this.picIconCounter.Name = "picIconCounter";
+ this.picIconCounter.Size = new System.Drawing.Size(20, 20);
+ this.picIconCounter.TabIndex = 1;
+ this.picIconCounter.TabStop = false;
+ this.picIconCounter.Click += new System.EventHandler(this.panCounter_Click);
+ this.picIconCounter.MouseLeave += new System.EventHandler(this.panCounter_MouseLeave);
+ this.picIconCounter.MouseHover += new System.EventHandler(this.panCounter_MouseHover);
+ //
+ // panelMain
+ //
+ this.panelMain.Location = new System.Drawing.Point(0, 114);
+ this.panelMain.Name = "panelMain";
+ this.panelMain.Size = new System.Drawing.Size(1024, 654);
+ this.panelMain.TabIndex = 2;
+ //
// RbFreqStdMeas
//
this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 12F);
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
this.ClientSize = new System.Drawing.Size(1024, 768);
+ this.Controls.Add(this.panelMain);
this.Controls.Add(this.panMenu);
this.Controls.Add(this.penBanner);
this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.None;
@@ -221,11 +560,21 @@
this.Text = "RbFreqStdMeas";
this.Load += new System.EventHandler(this.RbFreqStdMeas_Load);
this.panMenu.ResumeLayout(false);
+ this.penBanner.ResumeLayout(false);
+ this.panDev.ResumeLayout(false);
+ ((System.ComponentModel.ISupportInitialize)(this.picIconDev)).EndInit();
+ this.panSetting.ResumeLayout(false);
+ ((System.ComponentModel.ISupportInitialize)(this.picIconSetting)).EndInit();
this.panStatus.ResumeLayout(false);
((System.ComponentModel.ISupportInitialize)(this.picIconStatus)).EndInit();
+ this.panData.ResumeLayout(false);
+ ((System.ComponentModel.ISupportInitialize)(this.picIconData)).EndInit();
this.panHome.ResumeLayout(false);
((System.ComponentModel.ISupportInitialize)(this.picIconHome)).EndInit();
- this.penBanner.ResumeLayout(false);
+ this.panMeasure.ResumeLayout(false);
+ ((System.ComponentModel.ISupportInitialize)(this.picIconMeasure)).EndInit();
+ this.panCounter.ResumeLayout(false);
+ ((System.ComponentModel.ISupportInitialize)(this.picIconCounter)).EndInit();
this.ResumeLayout(false);
}
@@ -244,5 +593,27 @@
private RoundPanel panStatus;
private RoundPanel panHome;
private System.Windows.Forms.Label labStatusSelected;
+ private RoundPanel panDev;
+ private System.Windows.Forms.PictureBox picIconDev;
+ private System.Windows.Forms.Label labDevText;
+ private System.Windows.Forms.Label labMeasureSelected;
+ private RoundPanel panCounter;
+ private System.Windows.Forms.Label labCounterText;
+ private System.Windows.Forms.PictureBox picIconCounter;
+ private RoundPanel panMeasure;
+ private System.Windows.Forms.Label labMeasureText;
+ private System.Windows.Forms.PictureBox picIconMeasure;
+ private RoundPanel panData;
+ private System.Windows.Forms.Label labDataText;
+ private System.Windows.Forms.PictureBox picIconData;
+ private RoundPanel panSetting;
+ private System.Windows.Forms.Label labSettingText;
+ private System.Windows.Forms.PictureBox picIconSetting;
+ private System.Windows.Forms.Label labCounterSelected;
+ private System.Windows.Forms.Label labDevSelected;
+ private System.Windows.Forms.Label labDataSelected;
+ private System.Windows.Forms.Label labSettingSelected;
+ private System.Windows.Forms.Button btnMinSys;
+ private System.Windows.Forms.Panel panelMain;
}
}
\ No newline at end of file
diff --git a/RbFreqStandMeasure/RbFreqStdMeas.cs b/RbFreqStandMeasure/RbFreqStdMeas.cs
index 3858ddb..af980d7 100644
--- a/RbFreqStandMeasure/RbFreqStdMeas.cs
+++ b/RbFreqStandMeasure/RbFreqStdMeas.cs
@@ -1,13 +1,9 @@
-using Casic.Birmm.RbFreqStandMeasure.Properties;
+using Casic.Birmm.RbFreqStandMeasure.info;
+using Casic.Birmm.RbFreqStandMeasure.Properties;
+using Casic.Birmm.RbFreqStandMeasure.setting;
using System;
-using System.Collections.Generic;
-using System.ComponentModel;
-using System.Data;
using System.Drawing;
-using System.Linq;
-using System.Resources;
using System.Runtime.InteropServices;
-using System.Text;
using System.Windows.Forms;
namespace Casic.Birmm.RbFreqStandMeasure
@@ -15,7 +11,7 @@
public partial class RbFreqStdMeas : Form
{
- #region 无边框拖动效果
+ #region 无边框拖动效果/最小化窗口/关闭窗口
[DllImport("user32.dll")]//拖动无窗体的控件
public static extern bool ReleaseCapture();
[DllImport("user32.dll")]
@@ -30,9 +26,29 @@
ReleaseCapture();
SendMessage(this.Handle, WM_SYSCOMMAND, SC_MOVE + HTCAPTION, 0);
}
+ private void btnExitSys_Click(object sender, EventArgs e)
+ {
+ Application.Exit();
+ }
+ private void btnMinSys_Click(object sender, EventArgs e)
+ {
+ this.WindowState = FormWindowState.Minimized;
+ }
+ private void btnExitSys_MouseHover(object sender, EventArgs e)
+ {
+ ToolTip p = new ToolTip();
+ p.ShowAlways = true;
+ p.SetToolTip(this.btnExitSys, "退出");
+ }
+ private void btnMinSys_MouseHover(object sender, EventArgs e)
+ {
+ ToolTip p = new ToolTip();
+ p.ShowAlways = true;
+ p.SetToolTip(this.btnMinSys, "最小化");
+ }
#endregion
- private bool[] menuSelected = { true, false };
+ private bool[] menuSelected = { true, false, false, false, false, false, false };
// 按钮图标
private PictureBox[] menuPics;
// 按钮图标的资源名称(选中的资源名称在后面加上 _selected)
@@ -57,7 +73,7 @@
// 将当前按钮的效果设置为默认未选中
this.menuPics[index].BackgroundImage = (Bitmap)Resources.ResourceManager.GetObject(this.menuIconResources[index], null);
- this.menuLabels[index].ForeColor = ColorTranslator.FromHtml("#2C2C2C");
+ this.menuLabels[index].ForeColor = ColorTranslator.FromHtml("#333333");
this.menuUnderlines[index].BackColor = Color.Transparent;
}
@@ -79,13 +95,15 @@
LeaveHome();
// 重新设置所有按钮的状态
- this.menuSelected = new bool[] { true, false };
+ this.menuSelected = new bool[] { true, false, false, false, false, false, false };
// 将新选中的按钮设置为选中
this.picIconHome.BackgroundImage = (Bitmap)Resources.ResourceManager.GetObject("icon_home_selected", null);
- this.labHomeText.ForeColor = ColorTranslator.FromHtml("#1296db");
- this.labHomeSelected.BackColor = ColorTranslator.FromHtml("#1296db");
+ this.labHomeText.ForeColor = ColorTranslator.FromHtml("#3f84d7");
+ this.labHomeSelected.BackColor = ColorTranslator.FromHtml("#3f84d7");
+ // 切换至首页
+ switchMainPanel(0);
}
#endregion
@@ -107,12 +125,163 @@
LeaveStatus();
// 重新设置所有按钮的状态
- this.menuSelected = new bool[] { false, true };
+ this.menuSelected = new bool[] { false, true, false, false, false, false, false };
// 将新选中的按钮设置为选中
this.picIconStatus.BackgroundImage = (Bitmap) Resources.ResourceManager.GetObject("icon_status_selected", null);
- this.labStatusText.ForeColor = ColorTranslator.FromHtml("#1296db");
- this.labStatusSelected.BackColor = ColorTranslator.FromHtml("#1296db");
+ this.labStatusText.ForeColor = ColorTranslator.FromHtml("#3f84d7");
+ this.labStatusSelected.BackColor = ColorTranslator.FromHtml("#3f84d7");
+
+ // 切换到基准状态页面
+ switchMainPanel(1);
+ }
+ #endregion
+
+ #region 送检仪器按钮点击、移入/移出效果
+ private void HoverDev()
+ {
+ panDev.Back = ColorTranslator.FromHtml("#56a3f2");
+ }
+ private void LeaveDev()
+ {
+ panDev.Back = Color.Transparent;
+ }
+ private void SelectDev()
+ {
+ // 移除所有按钮的选中样式
+ this.ClearAllMenuSelected();
+
+ // 鼠标移入效果去掉
+ LeaveDev();
+
+ // 重新设置所有按钮的状态
+ this.menuSelected = new bool[] { false, false, true, false, false ,false ,false };
+
+ // 将新选中的按钮设置为选中
+ this.picIconDev.BackgroundImage = (Bitmap)Resources.ResourceManager.GetObject("icon_dev_selected", null);
+ this.labDevText.ForeColor = ColorTranslator.FromHtml("#3f84d7");
+ this.labDevSelected.BackColor = ColorTranslator.FromHtml("#3f84d7");
+
+ // 切换至待检仪器管理
+ switchMainPanel(2);
+ }
+ #endregion
+
+ #region 频率计数器测量点击、移入/移出效果
+ private void HoverCounter()
+ {
+ panCounter.Back = ColorTranslator.FromHtml("#56a3f2");
+ }
+ private void LeaveCounter()
+ {
+ panCounter.Back = Color.Transparent;
+ }
+ private void SelectCounter()
+ {
+ // 移除所有按钮的选中样式
+ this.ClearAllMenuSelected();
+
+ // 鼠标移入效果去掉
+ LeaveCounter();
+
+ // 重新设置所有按钮的状态
+ this.menuSelected = new bool[] { false, false, false, true, false, false, false };
+
+ // 将新选中的按钮设置为选中
+ this.picIconCounter.BackgroundImage = (Bitmap)Resources.ResourceManager.GetObject("icon_counter_selected", null);
+ this.labCounterText.ForeColor = ColorTranslator.FromHtml("#3f84d7");
+ this.labCounterSelected.BackColor = ColorTranslator.FromHtml("#3f84d7");
+ }
+ #endregion
+
+ #region 计量管理点击、移入/移出效果
+ private void HoverMeasure()
+ {
+ panMeasure.Back = ColorTranslator.FromHtml("#56a3f2");
+ }
+ private void LeaveMeasure()
+ {
+ panMeasure.Back = Color.Transparent;
+ }
+ private void SelectMeasure()
+ {
+ // 移除所有按钮的选中样式
+ this.ClearAllMenuSelected();
+
+ // 鼠标移入效果去掉
+ LeaveMeasure();
+
+ // 重新设置所有按钮的状态
+ this.menuSelected = new bool[] { false, false, false, false, true, false, false };
+
+ // 将新选中的按钮设置为选中
+ this.picIconMeasure.BackgroundImage = (Bitmap)Resources.ResourceManager.GetObject("icon_measure_selected", null);
+ this.labMeasureText.ForeColor = ColorTranslator.FromHtml("#3f84d7");
+ this.labMeasureSelected.BackColor = ColorTranslator.FromHtml("#3f84d7");
+
+ // 切换至计量信息管理
+ switchMainPanel(4);
+ }
+ #endregion
+
+ #region 数据管理点击、移入/移出效果
+ private void HoverData()
+ {
+ panData.Back = ColorTranslator.FromHtml("#56a3f2");
+ }
+ private void LeaveData()
+ {
+ panData.Back = Color.Transparent;
+ }
+ private void SelectData()
+ {
+ // 移除所有按钮的选中样式
+ this.ClearAllMenuSelected();
+
+ // 鼠标移入效果去掉
+ LeaveData();
+
+ // 重新设置所有按钮的状态
+ this.menuSelected = new bool[] { false, false, false, false, false, true, false };
+
+ // 将新选中的按钮设置为选中
+ this.picIconData.BackgroundImage = (Bitmap)Resources.ResourceManager.GetObject("icon_data_selected", null);
+ this.labDataText.ForeColor = ColorTranslator.FromHtml("#3f84d7");
+ this.labDataSelected.BackColor = ColorTranslator.FromHtml("#3f84d7");
+
+ // 弹出对话框进行数据备份与还原操作
+ DataBackupDlg dataDlg = new DataBackupDlg();
+ dataDlg.ShowDialog();
+ }
+ #endregion
+
+ #region 系统管理点击、移入/移出效果
+ private void HoverSetting()
+ {
+ panSetting.Back = ColorTranslator.FromHtml("#56a3f2");
+ }
+ private void LeaveSetting()
+ {
+ panSetting.Back = Color.Transparent;
+ }
+ private void SelectSetting()
+ {
+ // 移除所有按钮的选中样式
+ this.ClearAllMenuSelected();
+
+ // 鼠标移入效果去掉
+ LeaveSetting();
+
+ // 重新设置所有按钮的状态
+ this.menuSelected = new bool[] { false, false, false, false, false, false, true };
+
+ // 将新选中的按钮设置为选中
+ this.picIconSetting.BackgroundImage = (Bitmap)Resources.ResourceManager.GetObject("icon_setting_selected", null);
+ this.labSettingText.ForeColor = ColorTranslator.FromHtml("#3f84d7");
+ this.labSettingSelected.BackColor = ColorTranslator.FromHtml("#3f84d7");
+
+ // 切换到设置的界面
+ switchMainPanel(6);
}
#endregion
@@ -123,22 +292,13 @@
private void RbFreqStdMeas_Load(object sender, EventArgs e)
{
- this.menuPics = new PictureBox[] { this.picIconHome, this.picIconStatus };
- this.menuLabels = new Label[] { this.labHomeText, this.labStatusText };
- this.menuUnderlines = new Label[] { this.labHomeSelected, this.labStatusSelected };
- this.menuIconResources = new string[] { "icon_home", "icon_status" };
- }
+ this.menuPics = new PictureBox[] { this.picIconHome, this.picIconStatus, this.picIconDev, this.picIconCounter, this.picIconMeasure, this.picIconData, this.picIconSetting };
+ this.menuLabels = new Label[] { this.labHomeText, this.labStatusText, this.labDevText, this.labCounterText, this.labMeasureText, this.labDataText, this.labSettingText };
+ this.menuUnderlines = new Label[] { this.labHomeSelected, this.labStatusSelected, this.labDevSelected, this.labCounterSelected, this.labMeasureSelected, this.labDataSelected, this.labSettingSelected };
+ this.menuIconResources = new string[] { "icon_home", "icon_status", "icon_dev", "icon_counter", "icon_measure", "icon_data", "icon_setting" };
- private void btnExitSys_Click(object sender, EventArgs e)
- {
- Application.Exit();
- }
-
- private void btnExitSys_MouseHover(object sender, EventArgs e)
- {
- ToolTip p = new ToolTip();
- p.ShowAlways = true;
- p.SetToolTip(this.btnExitSys, "退出");
+ // 加载首页的内容
+ switchMainPanel(0);
}
private void panHome_Click(object sender, EventArgs e)
@@ -191,5 +351,169 @@
LeaveStatus();
}
}
+
+ private void panDev_Click(object sender, EventArgs e)
+ {
+ if (this.menuSelected[2] == false)
+ {
+ SelectDev();
+ }
+ }
+
+ private void panDev_MouseHover(object sender, EventArgs e)
+ {
+ if (this.menuSelected[2] == false)
+ {
+ HoverDev();
+ }
+ }
+
+ private void panDev_MouseLeave(object sender, EventArgs e)
+ {
+ if (this.menuSelected[2] == false)
+ {
+ LeaveDev();
+ }
+ }
+
+ private void panCounter_Click(object sender, EventArgs e)
+ {
+ if (this.menuSelected[3] == false)
+ {
+ SelectCounter();
+ }
+ }
+
+ private void panCounter_MouseHover(object sender, EventArgs e)
+ {
+ if (this.menuSelected[3] == false)
+ {
+ HoverCounter();
+ }
+ }
+
+ private void panCounter_MouseLeave(object sender, EventArgs e)
+ {
+ if (this.menuSelected[3] == false)
+ {
+ LeaveCounter();
+ }
+ }
+
+ private void panMeasure_Click(object sender, EventArgs e)
+ {
+ if (this.menuSelected[4] == false)
+ {
+ SelectMeasure();
+ }
+ }
+
+ private void panMeasure_MouseHover(object sender, EventArgs e)
+ {
+ if (this.menuSelected[4] == false)
+ {
+ HoverMeasure();
+ }
+ }
+
+ private void panMeasure_MouseLeave(object sender, EventArgs e)
+ {
+ if (this.menuSelected[4] == false)
+ {
+ LeaveMeasure();
+ }
+ }
+
+ private void panData_Click(object sender, EventArgs e)
+ {
+ if (this.menuSelected[5] == false)
+ {
+ SelectData();
+ }
+ }
+
+ private void panData_MouseHover(object sender, EventArgs e)
+ {
+ if (this.menuSelected[5] == false)
+ {
+ HoverData();
+ }
+ }
+
+ private void panData_MouseLeave(object sender, EventArgs e)
+ {
+ if (this.menuSelected[5] == false)
+ {
+ LeaveData();
+ }
+ }
+
+ private void panSetting_Click(object sender, EventArgs e)
+ {
+ if (this.menuSelected[6] == false)
+ {
+ SelectSetting();
+ }
+ }
+
+ private void panSetting_MouseHover(object sender, EventArgs e)
+ {
+ if (this.menuSelected[6] == false)
+ {
+ HoverSetting();
+ }
+ }
+
+ private void panSetting_MouseLeave(object sender, EventArgs e)
+ {
+ if (this.menuSelected[6] == false)
+ {
+ LeaveSetting();
+ }
+ }
+
+ private void switchMainPanel(int index)
+ {
+ this.panelMain.Controls.Clear();
+
+ switch (index)
+ {
+ case 0: // 首页
+ HomeCtrlForm home = new HomeCtrlForm();
+ home.Show();
+ this.panelMain.Controls.Add(home);
+ break;
+
+ case 1: // 基准状态
+ StatusCtrlForm statusForm = new StatusCtrlForm();
+ statusForm.Show();
+ this.panelMain.Controls.Add(statusForm);
+ break;
+
+ case 2: // 待检设备
+ InfoCtrlForm infoForm = new InfoCtrlForm();
+ infoForm.Show();
+ this.panelMain.Controls.Add(infoForm);
+ break;
+
+ case 3: // 频率计数器范围
+ break;
+
+ case 4: // 计量信息
+ DevTestedCtrlForm tested = new DevTestedCtrlForm();
+ tested.Show();
+ this.panelMain.Controls.Add(tested);
+ break;
+
+ case 6: // 设置
+ SettingCtrlForm settingForm = new SettingCtrlForm();
+ settingForm.Show();
+ this.panelMain.Controls.Add(settingForm);
+ break;
+
+ default:
+ break;
+ }
+ }
}
}
\ No newline at end of file
diff --git a/RbFreqStandMeasure/StatusCtrlForm.Designer.cs b/RbFreqStandMeasure/StatusCtrlForm.Designer.cs
index bf5071a..b4151fd 100644
--- a/RbFreqStandMeasure/StatusCtrlForm.Designer.cs
+++ b/RbFreqStandMeasure/StatusCtrlForm.Designer.cs
@@ -31,21 +31,34 @@
{
this.panelSite = new System.Windows.Forms.Panel();
this.label5 = new System.Windows.Forms.Label();
- this.panelStatus = new System.Windows.Forms.Panel();
+ this.panel3 = new System.Windows.Forms.Panel();
+ this.label8 = new System.Windows.Forms.Label();
+ this.label13 = new System.Windows.Forms.Label();
+ this.label12 = new System.Windows.Forms.Label();
+ this.label11 = new System.Windows.Forms.Label();
+ this.label9 = new System.Windows.Forms.Label();
+ this.label10 = new System.Windows.Forms.Label();
+ this.panel2 = new System.Windows.Forms.Panel();
this.label4 = new System.Windows.Forms.Label();
+ this.label7 = new System.Windows.Forms.Label();
+ this.label6 = new System.Windows.Forms.Label();
+ this.label1 = new System.Windows.Forms.Label();
+ this.panel1 = new System.Windows.Forms.Panel();
this.label3 = new System.Windows.Forms.Label();
this.label2 = new System.Windows.Forms.Label();
- this.label1 = new System.Windows.Forms.Label();
+ this.label14 = new System.Windows.Forms.Label();
this.panelSite.SuspendLayout();
- this.panelStatus.SuspendLayout();
+ this.panel3.SuspendLayout();
+ this.panel2.SuspendLayout();
+ this.panel1.SuspendLayout();
this.SuspendLayout();
//
// panelSite
//
this.panelSite.Controls.Add(this.label5);
- this.panelSite.Location = new System.Drawing.Point(200, 0);
+ this.panelSite.Location = new System.Drawing.Point(232, 0);
this.panelSite.Name = "panelSite";
- this.panelSite.Size = new System.Drawing.Size(800, 640);
+ this.panelSite.Size = new System.Drawing.Size(773, 640);
this.panelSite.TabIndex = 3;
//
// label5
@@ -57,67 +70,208 @@
this.label5.TabIndex = 0;
this.label5.Text = "卫星位置图";
//
- // panelStatus
+ // panel3
//
- this.panelStatus.BackColor = System.Drawing.SystemColors.Window;
- this.panelStatus.Controls.Add(this.label4);
- this.panelStatus.Controls.Add(this.label3);
- this.panelStatus.Controls.Add(this.label2);
- this.panelStatus.Controls.Add(this.label1);
- this.panelStatus.Location = new System.Drawing.Point(0, 0);
- this.panelStatus.Name = "panelStatus";
- this.panelStatus.Size = new System.Drawing.Size(200, 640);
- this.panelStatus.TabIndex = 2;
+ this.panel3.BackgroundImage = global::Casic.Birmm.RbFreqStandMeasure.Properties.Resources.bg_status_location;
+ this.panel3.Controls.Add(this.label8);
+ this.panel3.Controls.Add(this.label13);
+ this.panel3.Controls.Add(this.label12);
+ this.panel3.Controls.Add(this.label11);
+ this.panel3.Controls.Add(this.label9);
+ this.panel3.Controls.Add(this.label10);
+ this.panel3.Location = new System.Drawing.Point(6, 360);
+ this.panel3.Name = "panel3";
+ this.panel3.Size = new System.Drawing.Size(224, 293);
+ this.panel3.TabIndex = 6;
+ //
+ // label8
+ //
+ this.label8.BackColor = System.Drawing.Color.Transparent;
+ this.label8.Font = new System.Drawing.Font("微软雅黑", 14F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Pixel, ((byte)(134)));
+ this.label8.Location = new System.Drawing.Point(0, 20);
+ this.label8.Name = "label8";
+ this.label8.Size = new System.Drawing.Size(224, 25);
+ this.label8.TabIndex = 0;
+ this.label8.Text = "位置信息";
+ this.label8.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
+ //
+ // label13
+ //
+ this.label13.BackColor = System.Drawing.Color.Transparent;
+ this.label13.Font = new System.Drawing.Font("微软雅黑", 14F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Pixel, ((byte)(134)));
+ this.label13.Location = new System.Drawing.Point(0, 220);
+ this.label13.Margin = new System.Windows.Forms.Padding(0);
+ this.label13.Name = "label13";
+ this.label13.Size = new System.Drawing.Size(75, 25);
+ this.label13.TabIndex = 1;
+ this.label13.Text = "Z";
+ this.label13.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
+ //
+ // label12
+ //
+ this.label12.BackColor = System.Drawing.Color.Transparent;
+ this.label12.Font = new System.Drawing.Font("微软雅黑", 14F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Pixel, ((byte)(134)));
+ this.label12.Location = new System.Drawing.Point(0, 180);
+ this.label12.Margin = new System.Windows.Forms.Padding(0);
+ this.label12.Name = "label12";
+ this.label12.Size = new System.Drawing.Size(75, 25);
+ this.label12.TabIndex = 1;
+ this.label12.Text = "Y";
+ this.label12.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
+ //
+ // label11
+ //
+ this.label11.BackColor = System.Drawing.Color.Transparent;
+ this.label11.Font = new System.Drawing.Font("微软雅黑", 14F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Pixel, ((byte)(134)));
+ this.label11.Location = new System.Drawing.Point(0, 140);
+ this.label11.Margin = new System.Windows.Forms.Padding(0);
+ this.label11.Name = "label11";
+ this.label11.Size = new System.Drawing.Size(75, 25);
+ this.label11.TabIndex = 1;
+ this.label11.Text = "X";
+ this.label11.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
+ //
+ // label9
+ //
+ this.label9.BackColor = System.Drawing.Color.Transparent;
+ this.label9.Font = new System.Drawing.Font("微软雅黑", 14F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Pixel, ((byte)(134)));
+ this.label9.Location = new System.Drawing.Point(0, 60);
+ this.label9.Name = "label9";
+ this.label9.Size = new System.Drawing.Size(75, 25);
+ this.label9.TabIndex = 1;
+ this.label9.Text = "经度";
+ this.label9.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
+ //
+ // label10
+ //
+ this.label10.BackColor = System.Drawing.Color.Transparent;
+ this.label10.Font = new System.Drawing.Font("微软雅黑", 14F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Pixel, ((byte)(134)));
+ this.label10.Location = new System.Drawing.Point(0, 100);
+ this.label10.Margin = new System.Windows.Forms.Padding(0);
+ this.label10.Name = "label10";
+ this.label10.Size = new System.Drawing.Size(75, 25);
+ this.label10.TabIndex = 1;
+ this.label10.Text = "纬度";
+ this.label10.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
+ //
+ // panel2
+ //
+ this.panel2.BackgroundImage = global::Casic.Birmm.RbFreqStandMeasure.Properties.Resources.bg_status_time;
+ this.panel2.Controls.Add(this.label4);
+ this.panel2.Controls.Add(this.label7);
+ this.panel2.Controls.Add(this.label6);
+ this.panel2.Controls.Add(this.label1);
+ this.panel2.Location = new System.Drawing.Point(6, 160);
+ this.panel2.Name = "panel2";
+ this.panel2.Size = new System.Drawing.Size(224, 200);
+ this.panel2.TabIndex = 5;
//
// label4
//
- this.label4.AutoSize = true;
- this.label4.Location = new System.Drawing.Point(59, 185);
+ this.label4.BackColor = System.Drawing.Color.Transparent;
+ this.label4.Font = new System.Drawing.Font("微软雅黑", 14F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Pixel, ((byte)(134)));
+ this.label4.Location = new System.Drawing.Point(0, 20);
this.label4.Name = "label4";
- this.label4.Size = new System.Drawing.Size(53, 12);
+ this.label4.Size = new System.Drawing.Size(224, 25);
this.label4.TabIndex = 0;
- this.label4.Text = "事件信息";
+ this.label4.Text = "时间信息";
+ this.label4.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
//
- // label3
+ // label7
//
- this.label3.AutoSize = true;
- this.label3.Location = new System.Drawing.Point(59, 139);
- this.label3.Name = "label3";
- this.label3.Size = new System.Drawing.Size(53, 12);
- this.label3.TabIndex = 0;
- this.label3.Text = "位置信息";
+ this.label7.BackColor = System.Drawing.Color.Transparent;
+ this.label7.Font = new System.Drawing.Font("微软雅黑", 14F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Pixel, ((byte)(134)));
+ this.label7.Location = new System.Drawing.Point(0, 140);
+ this.label7.Margin = new System.Windows.Forms.Padding(0);
+ this.label7.Name = "label7";
+ this.label7.Size = new System.Drawing.Size(75, 25);
+ this.label7.TabIndex = 1;
+ this.label7.Text = "MJD";
+ this.label7.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
//
- // label2
+ // label6
//
- this.label2.AutoSize = true;
- this.label2.Location = new System.Drawing.Point(59, 98);
- this.label2.Name = "label2";
- this.label2.Size = new System.Drawing.Size(53, 12);
- this.label2.TabIndex = 0;
- this.label2.Text = "锁定状态";
+ this.label6.BackColor = System.Drawing.Color.Transparent;
+ this.label6.Font = new System.Drawing.Font("微软雅黑", 14F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Pixel, ((byte)(134)));
+ this.label6.Location = new System.Drawing.Point(0, 100);
+ this.label6.Name = "label6";
+ this.label6.Size = new System.Drawing.Size(75, 25);
+ this.label6.TabIndex = 1;
+ this.label6.Text = "时间";
+ this.label6.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
//
// label1
//
- this.label1.AutoSize = true;
- this.label1.Location = new System.Drawing.Point(33, 53);
+ this.label1.BackColor = System.Drawing.Color.Transparent;
+ this.label1.Font = new System.Drawing.Font("微软雅黑", 14F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Pixel, ((byte)(134)));
+ this.label1.Location = new System.Drawing.Point(0, 60);
this.label1.Name = "label1";
- this.label1.Size = new System.Drawing.Size(29, 12);
- this.label1.TabIndex = 0;
- this.label1.Text = "状态";
+ this.label1.Size = new System.Drawing.Size(75, 25);
+ this.label1.TabIndex = 1;
+ this.label1.Text = "日期";
+ this.label1.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
+ //
+ // panel1
+ //
+ this.panel1.BackgroundImage = global::Casic.Birmm.RbFreqStandMeasure.Properties.Resources.bg_status_base;
+ this.panel1.Controls.Add(this.label3);
+ this.panel1.Controls.Add(this.label2);
+ this.panel1.Controls.Add(this.label14);
+ this.panel1.Location = new System.Drawing.Point(6, 0);
+ this.panel1.Margin = new System.Windows.Forms.Padding(0);
+ this.panel1.Name = "panel1";
+ this.panel1.Size = new System.Drawing.Size(224, 160);
+ this.panel1.TabIndex = 4;
+ //
+ // label3
+ //
+ this.label3.BackColor = System.Drawing.Color.Transparent;
+ this.label3.Font = new System.Drawing.Font("微软雅黑", 14F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Pixel, ((byte)(134)));
+ this.label3.Location = new System.Drawing.Point(0, 100);
+ this.label3.Name = "label3";
+ this.label3.Size = new System.Drawing.Size(75, 25);
+ this.label3.TabIndex = 1;
+ this.label3.Text = "接收机";
+ this.label3.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
+ //
+ // label2
+ //
+ this.label2.BackColor = System.Drawing.Color.Transparent;
+ this.label2.Font = new System.Drawing.Font("微软雅黑", 14F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Pixel, ((byte)(134)));
+ this.label2.Location = new System.Drawing.Point(0, 60);
+ this.label2.Name = "label2";
+ this.label2.Size = new System.Drawing.Size(75, 25);
+ this.label2.TabIndex = 1;
+ this.label2.Text = "原子钟";
+ this.label2.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
+ //
+ // label14
+ //
+ this.label14.BackColor = System.Drawing.Color.Transparent;
+ this.label14.Font = new System.Drawing.Font("微软雅黑", 14F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Pixel, ((byte)(134)));
+ this.label14.Location = new System.Drawing.Point(0, 20);
+ this.label14.Name = "label14";
+ this.label14.Size = new System.Drawing.Size(224, 25);
+ this.label14.TabIndex = 0;
+ this.label14.Text = "基本信息";
+ this.label14.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
//
// StatusCtrlForm
//
this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 12F);
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
+ this.Controls.Add(this.panel3);
+ this.Controls.Add(this.panel2);
+ this.Controls.Add(this.panel1);
this.Controls.Add(this.panelSite);
- this.Controls.Add(this.panelStatus);
this.Margin = new System.Windows.Forms.Padding(10);
this.Name = "StatusCtrlForm";
- this.Size = new System.Drawing.Size(1000, 640);
+ this.Size = new System.Drawing.Size(1024, 654);
this.panelSite.ResumeLayout(false);
this.panelSite.PerformLayout();
- this.panelStatus.ResumeLayout(false);
- this.panelStatus.PerformLayout();
+ this.panel3.ResumeLayout(false);
+ this.panel2.ResumeLayout(false);
+ this.panel1.ResumeLayout(false);
this.ResumeLayout(false);
}
@@ -126,10 +280,21 @@
private System.Windows.Forms.Panel panelSite;
private System.Windows.Forms.Label label5;
- private System.Windows.Forms.Panel panelStatus;
+ private System.Windows.Forms.Panel panel3;
+ private System.Windows.Forms.Label label8;
+ private System.Windows.Forms.Label label13;
+ private System.Windows.Forms.Label label12;
+ private System.Windows.Forms.Label label11;
+ private System.Windows.Forms.Label label9;
+ private System.Windows.Forms.Label label10;
+ private System.Windows.Forms.Panel panel2;
private System.Windows.Forms.Label label4;
+ private System.Windows.Forms.Label label7;
+ private System.Windows.Forms.Label label6;
+ private System.Windows.Forms.Label label1;
+ private System.Windows.Forms.Panel panel1;
private System.Windows.Forms.Label label3;
private System.Windows.Forms.Label label2;
- private System.Windows.Forms.Label label1;
+ private System.Windows.Forms.Label label14;
}
}
diff --git a/RbFreqStandMeasure/res/images/bg_banner.png b/RbFreqStandMeasure/res/images/bg_banner.png
index d795b7d..3119070 100644
--- a/RbFreqStandMeasure/res/images/bg_banner.png
+++ b/RbFreqStandMeasure/res/images/bg_banner.png
Binary files differ
diff --git a/RbFreqStandMeasure/res/images/bg_dev_channel.png b/RbFreqStandMeasure/res/images/bg_dev_channel.png
new file mode 100644
index 0000000..7bac7ce
--- /dev/null
+++ b/RbFreqStandMeasure/res/images/bg_dev_channel.png
Binary files differ
diff --git a/RbFreqStandMeasure/res/images/bg_dev_tested.png b/RbFreqStandMeasure/res/images/bg_dev_tested.png
new file mode 100644
index 0000000..0b43ead
--- /dev/null
+++ b/RbFreqStandMeasure/res/images/bg_dev_tested.png
Binary files differ
diff --git a/RbFreqStandMeasure/res/images/bg_status_base.png b/RbFreqStandMeasure/res/images/bg_status_base.png
new file mode 100644
index 0000000..ef11397
--- /dev/null
+++ b/RbFreqStandMeasure/res/images/bg_status_base.png
Binary files differ
diff --git a/RbFreqStandMeasure/res/images/bg_status_location.png b/RbFreqStandMeasure/res/images/bg_status_location.png
new file mode 100644
index 0000000..64d28d5
--- /dev/null
+++ b/RbFreqStandMeasure/res/images/bg_status_location.png
Binary files differ
diff --git a/RbFreqStandMeasure/res/images/bg_status_time.png b/RbFreqStandMeasure/res/images/bg_status_time.png
new file mode 100644
index 0000000..eec981a
--- /dev/null
+++ b/RbFreqStandMeasure/res/images/bg_status_time.png
Binary files differ
diff --git a/RbFreqStandMeasure/res/images/icon_counter.png b/RbFreqStandMeasure/res/images/icon_counter.png
new file mode 100644
index 0000000..060c3d7
--- /dev/null
+++ b/RbFreqStandMeasure/res/images/icon_counter.png
Binary files differ
diff --git a/RbFreqStandMeasure/res/images/icon_counter_selected.png b/RbFreqStandMeasure/res/images/icon_counter_selected.png
new file mode 100644
index 0000000..45c7720
--- /dev/null
+++ b/RbFreqStandMeasure/res/images/icon_counter_selected.png
Binary files differ
diff --git a/RbFreqStandMeasure/res/images/icon_data.png b/RbFreqStandMeasure/res/images/icon_data.png
new file mode 100644
index 0000000..bf03575
--- /dev/null
+++ b/RbFreqStandMeasure/res/images/icon_data.png
Binary files differ
diff --git a/RbFreqStandMeasure/res/images/icon_data_selected.png b/RbFreqStandMeasure/res/images/icon_data_selected.png
new file mode 100644
index 0000000..a8aa441
--- /dev/null
+++ b/RbFreqStandMeasure/res/images/icon_data_selected.png
Binary files differ
diff --git a/RbFreqStandMeasure/res/images/icon_dev.png b/RbFreqStandMeasure/res/images/icon_dev.png
new file mode 100644
index 0000000..09bf380
--- /dev/null
+++ b/RbFreqStandMeasure/res/images/icon_dev.png
Binary files differ
diff --git a/RbFreqStandMeasure/res/images/icon_dev_selected.png b/RbFreqStandMeasure/res/images/icon_dev_selected.png
new file mode 100644
index 0000000..63a8b7c
--- /dev/null
+++ b/RbFreqStandMeasure/res/images/icon_dev_selected.png
Binary files differ
diff --git a/RbFreqStandMeasure/res/images/icon_exit.png b/RbFreqStandMeasure/res/images/icon_exit.png
index 997b9e9..a03e429 100644
--- a/RbFreqStandMeasure/res/images/icon_exit.png
+++ b/RbFreqStandMeasure/res/images/icon_exit.png
Binary files differ
diff --git a/RbFreqStandMeasure/res/images/icon_home.png b/RbFreqStandMeasure/res/images/icon_home.png
index f200f25..6409b89 100644
--- a/RbFreqStandMeasure/res/images/icon_home.png
+++ b/RbFreqStandMeasure/res/images/icon_home.png
Binary files differ
diff --git a/RbFreqStandMeasure/res/images/icon_home_selected.png b/RbFreqStandMeasure/res/images/icon_home_selected.png
index 7a4feb4..cfbf470 100644
--- a/RbFreqStandMeasure/res/images/icon_home_selected.png
+++ b/RbFreqStandMeasure/res/images/icon_home_selected.png
Binary files differ
diff --git a/RbFreqStandMeasure/res/images/icon_measure.png b/RbFreqStandMeasure/res/images/icon_measure.png
new file mode 100644
index 0000000..d9bd039
--- /dev/null
+++ b/RbFreqStandMeasure/res/images/icon_measure.png
Binary files differ
diff --git a/RbFreqStandMeasure/res/images/icon_measure_selected.png b/RbFreqStandMeasure/res/images/icon_measure_selected.png
new file mode 100644
index 0000000..e4186d0
--- /dev/null
+++ b/RbFreqStandMeasure/res/images/icon_measure_selected.png
Binary files differ
diff --git a/RbFreqStandMeasure/res/images/icon_min.png b/RbFreqStandMeasure/res/images/icon_min.png
new file mode 100644
index 0000000..af53b4d
--- /dev/null
+++ b/RbFreqStandMeasure/res/images/icon_min.png
Binary files differ
diff --git a/RbFreqStandMeasure/res/images/icon_setting.png b/RbFreqStandMeasure/res/images/icon_setting.png
new file mode 100644
index 0000000..f0779f7
--- /dev/null
+++ b/RbFreqStandMeasure/res/images/icon_setting.png
Binary files differ
diff --git a/RbFreqStandMeasure/res/images/icon_setting_selected.png b/RbFreqStandMeasure/res/images/icon_setting_selected.png
new file mode 100644
index 0000000..81f0e93
--- /dev/null
+++ b/RbFreqStandMeasure/res/images/icon_setting_selected.png
Binary files differ
diff --git a/RbFreqStandMeasure/res/images/icon_status.png b/RbFreqStandMeasure/res/images/icon_status.png
index 67bda58..8cfd8a9 100644
--- a/RbFreqStandMeasure/res/images/icon_status.png
+++ b/RbFreqStandMeasure/res/images/icon_status.png
Binary files differ
diff --git a/RbFreqStandMeasure/res/images/icon_status_selected.png b/RbFreqStandMeasure/res/images/icon_status_selected.png
index 12d7a1e..4ecd9d3 100644
--- a/RbFreqStandMeasure/res/images/icon_status_selected.png
+++ b/RbFreqStandMeasure/res/images/icon_status_selected.png
Binary files differ
diff --git a/RbFreqStandMeasure/setting/SettingCtrlForm.Designer.cs b/RbFreqStandMeasure/setting/SettingCtrlForm.Designer.cs
index f551181..829635c 100644
--- a/RbFreqStandMeasure/setting/SettingCtrlForm.Designer.cs
+++ b/RbFreqStandMeasure/setting/SettingCtrlForm.Designer.cs
@@ -101,7 +101,7 @@
// label1
//
this.label1.BackColor = System.Drawing.Color.Transparent;
- this.label1.Font = new System.Drawing.Font("微软雅黑", 9.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
+ this.label1.Font = new System.Drawing.Font("微软雅黑", 16F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Pixel, ((byte)(134)));
this.label1.Location = new System.Drawing.Point(250, 131);
this.label1.Name = "label1";
this.label1.Size = new System.Drawing.Size(100, 25);
@@ -112,10 +112,10 @@
// label2
//
this.label2.BackColor = System.Drawing.Color.Transparent;
- this.label2.Font = new System.Drawing.Font("微软雅黑", 9.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
- this.label2.Location = new System.Drawing.Point(250, 180);
+ this.label2.Font = new System.Drawing.Font("微软雅黑", 16F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Pixel, ((byte)(134)));
+ this.label2.Location = new System.Drawing.Point(224, 180);
this.label2.Name = "label2";
- this.label2.Size = new System.Drawing.Size(100, 25);
+ this.label2.Size = new System.Drawing.Size(126, 25);
this.label2.TabIndex = 4;
this.label2.Text = "频率发生器IP";
this.label2.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
@@ -123,10 +123,10 @@
// label3
//
this.label3.BackColor = System.Drawing.Color.Transparent;
- this.label3.Font = new System.Drawing.Font("微软雅黑", 9.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
- this.label3.Location = new System.Drawing.Point(250, 229);
+ this.label3.Font = new System.Drawing.Font("微软雅黑", 16F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Pixel, ((byte)(134)));
+ this.label3.Location = new System.Drawing.Point(228, 229);
this.label3.Name = "label3";
- this.label3.Size = new System.Drawing.Size(100, 25);
+ this.label3.Size = new System.Drawing.Size(122, 25);
this.label3.TabIndex = 4;
this.label3.Text = "频率信号源IP";
this.label3.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
@@ -179,7 +179,7 @@
this.DoubleBuffered = true;
this.Margin = new System.Windows.Forms.Padding(0);
this.Name = "SettingCtrlForm";
- this.Size = new System.Drawing.Size(1000, 640);
+ this.Size = new System.Drawing.Size(1024, 654);
this.ResumeLayout(false);
}