Пример #1
0
 private void GenerateCustomParam()
 {
     List<GeoPolygonRegion> list = new List<GeoPolygonRegion>();
     List<string> list2 = new List<string>();
     this.m_CustomParam.NameOfSimulation = this.tbName.Text.Trim();
     this.m_CustomParam.Comments = this.tbComments.Text.Trim();
     this.m_CustomParam.NumOfSnapShot = (int) this.ntbNumofSim.Value;
     this.m_CustomParam.IsExecuteLater = this.chbExecuteLater.Checked;
     this.m_CustomParam.ScalingFactor = (int) this.ntbScalingFactor.Value;
     this.m_CustomParam.IsHARQ = this.chkHARQ.Checked;
     this.m_CustomParam.IsIRC = this.chkIRC.Checked;
     this.m_CustomParam.IsTTIBundling = this.chkTTIBundling.Checked;
     //this.m_CustomParam.IsVMIMO = this.chkVMIMO.Checked;
     this.m_CustomParam.IOTConThreshold = (float) this.IOTConThreshold.Value;
     this.m_CustomParam.DLLoadConThreshold = ((float) this.DlLoadConThreshold.Value) / 100f;
     this.m_CustomParam.DLThroughputConThreshold = ((float) this.DlThroughputConThreshold.Value) / 100f;
     this.m_CustomParam.ULLoadConThreshold = ((float) this.UlLoadConThreshold.Value) / 100f;
     this.m_CustomParam.ULThroughputConThreshold = ((float) this.UlThroughputConThreshold.Value) / 100f;
     foreach (string str in this.clbMap.CheckedItems)
     {
         list2.Add(str);
     }
     foreach (string str2 in this.clbArea.CheckedItems)
     {
         GeoPolygonRegion item = this.FindPolygon(str2);
         list.Add(item);
     }
     this.m_CustomParam.NumOfTTI = (int) this.numofIterations.Value;
     this.m_CustomParam.PolygonList = list;
     this.m_CustomParam.MapList = list2;
     this.m_cellCorr = (float) this.cellCorr.Value;
     this.m_siteCorr = (float) this.siteCorr.Value;
     this.m_userCorr = (1f - this.m_cellCorr) - this.m_siteCorr;
     this.m_CustomParam.CellCorr = this.m_cellCorr;
     this.m_CustomParam.SiteCorr = this.m_siteCorr;
     this.m_CustomParam.UserCorr = this.m_userCorr;
     this.m_CustomParam.BLER = (float) (this.BLER.Value / 100M);
     this.m_CustomParam.IsFixure = this.cbxFixure.Checked;
 }
Пример #2
0
 private void InitializeComponent()
 {
     this.groupBox2 = new GroupBox();
     this.clbMap = new CheckedListBox();
     this.label3 = new Label();
     this.groupBox3 = new GroupBox();
     this.clbArea = new CheckedListBox();
     this.label4 = new Label();
     this.tcSimulation = new TabControl();
     this.general = new TabPage();
     this.groupBox1 = new GroupBox();
     this.label1 = new Label();
     this.ntbNumofSim = new NumericTextBox();
     this.chbExecuteLater = new CheckBox();
     this.tbComments = new TextBox();
     this.lbcomments = new Label();
     this.tbName = new TextBox();
     this.lbname = new Label();
     this.traffic = new TabPage();
     this.ntbScalingFactor = new NumericTextBox();
     this.label2 = new Label();
     this.advanced = new TabPage();
     this.label14 = new Label();
     this.UlLoadConThreshold = new NumericUpDownBase();
     this.label13 = new Label();
     this.DlThroughputConThreshold = new NumericUpDownBase();
     this.label9 = new Label();
     this.UlThroughputConThreshold = new NumericUpDownBase();
     this.label8 = new Label();
     this.DlLoadConThreshold = new NumericUpDownBase();
     this.label7 = new Label();
     this.IOTConThreshold = new NumericUpDownBase();
     //this.chkVMIMO = new CheckBox();
     this.chkHARQ = new CheckBox();
     this.chkIRC = new CheckBox();
     this.chkTTIBundling = new CheckBox();
     this.cbxFixure = new CheckBox();
     this.BLER = new NumericUpDownBase();
     this.label5 = new Label();
     this.cellCorr = new NumericUpDownBase();
     this.siteCorr = new NumericUpDownBase();
     this.label11 = new Label();
     this.label10 = new Label();
     this.numofIterations = new NumericUpDownBase();
     this.label6 = new Label();
     this.btnOk = new Button();
     this.btnCancel = new Button();
     this.btnApply = new Button();
     this.groupBox2.SuspendLayout();
     this.groupBox3.SuspendLayout();
     this.tcSimulation.SuspendLayout();
     this.general.SuspendLayout();
     this.groupBox1.SuspendLayout();
     this.traffic.SuspendLayout();
     this.advanced.SuspendLayout();
     this.UlLoadConThreshold.BeginInit();
     this.DlThroughputConThreshold.BeginInit();
     this.UlThroughputConThreshold.BeginInit();
     this.DlLoadConThreshold.BeginInit();
     this.IOTConThreshold.BeginInit();
     this.BLER.BeginInit();
     this.cellCorr.BeginInit();
     this.siteCorr.BeginInit();
     this.numofIterations.BeginInit();
     base.SuspendLayout();
     this.groupBox2.Anchor = AnchorStyles.Right | AnchorStyles.Left | AnchorStyles.Bottom | AnchorStyles.Top;
     this.groupBox2.Controls.Add(this.clbMap);
     this.groupBox2.Controls.Add(this.label3);
     this.groupBox2.Location = new Point(12, 0x27);
     this.groupBox2.Margin = new Padding(3, 5, 3, 5);
     this.groupBox2.Name = "groupBox2";
     this.groupBox2.Padding = new Padding(3, 5, 3, 5);
     this.groupBox2.Size = new Size(0x138, 0x9e);
     this.groupBox2.TabIndex = 2;
     this.groupBox2.TabStop = false;
     this.groupBox2.Text = SimulationResource.SIMULATION_TRAFFIC_MAPS;
     this.clbMap.Anchor = AnchorStyles.Right | AnchorStyles.Bottom;
     this.clbMap.CheckOnClick = true;
     this.clbMap.FormattingEnabled = true;
     this.clbMap.Location = new Point(9, 0x27);
     this.clbMap.Margin = new Padding(3, 5, 3, 5);
     this.clbMap.Name = "clbMap";
     this.clbMap.Size = new Size(0x129, 0x74);
     this.clbMap.TabIndex = 1;
     this.clbMap.SelectedValueChanged += new EventHandler(this.clbMap_SelectedValueChanged);
     this.label3.AutoSize = true;
     this.label3.Location = new Point(6, 0x13);
     this.label3.Name = "label3";
     this.label3.Size = new Size(110, 15);
     this.label3.TabIndex = 0;
     this.label3.Text = SimulationResource.SIMULATION_SELECT_TRAFFIC_MAPS;
     this.groupBox3.Anchor = AnchorStyles.Right | AnchorStyles.Left | AnchorStyles.Bottom | AnchorStyles.Top;
     this.groupBox3.Controls.Add(this.clbArea);
     this.groupBox3.Controls.Add(this.label4);
     this.groupBox3.Location = new Point(9, 0xcf);
     this.groupBox3.Margin = new Padding(3, 5, 3, 5);
     this.groupBox3.Name = "groupBox3";
     this.groupBox3.Padding = new Padding(3, 5, 3, 5);
     this.groupBox3.Size = new Size(0x138, 0xa1);
     this.groupBox3.TabIndex = 3;
     this.groupBox3.TabStop = false;
     this.groupBox3.Text = SimulationResource.SIMULATION_CALCULATE_REGION;
     this.clbArea.Anchor = AnchorStyles.Right | AnchorStyles.Bottom;
     this.clbArea.CheckOnClick = true;
     this.clbArea.FormattingEnabled = true;
     this.clbArea.Location = new Point(6, 0x27);
     this.clbArea.Margin = new Padding(3, 5, 3, 5);
     this.clbArea.Name = "clbArea";
     this.clbArea.Size = new Size(300, 0x74);
     this.clbArea.TabIndex = 2;
     this.clbArea.SelectedValueChanged += new EventHandler(this.clbArea_SelectedValueChanged);
     this.label4.AutoSize = true;
     this.label4.Location = new Point(6, 0x13);
     this.label4.Name = "label4";
     this.label4.Size = new Size(0x7c, 15);
     this.label4.TabIndex = 1;
     this.label4.Text = SimulationResource.SIMULATION_SELECT_CAL_AREA;
     this.tcSimulation.Anchor = AnchorStyles.Right | AnchorStyles.Left | AnchorStyles.Bottom | AnchorStyles.Top;
     this.tcSimulation.Controls.Add(this.general);
     this.tcSimulation.Controls.Add(this.traffic);
     this.tcSimulation.Controls.Add(this.advanced);
     this.tcSimulation.Location = new Point(13, 12);
     this.tcSimulation.Margin = new Padding(3, 5, 3, 5);
     this.tcSimulation.Name = "tcSimulation";
     this.tcSimulation.SelectedIndex = 0;
     this.tcSimulation.Size = new Size(0x14f, 0x191);
     this.tcSimulation.TabIndex = 2;
     this.general.Controls.Add(this.groupBox1);
     this.general.Controls.Add(this.tbComments);
     this.general.Controls.Add(this.lbcomments);
     this.general.Controls.Add(this.tbName);
     this.general.Controls.Add(this.lbname);
     this.general.Location = new Point(4, 0x18);
     this.general.Margin = new Padding(3, 5, 3, 5);
     this.general.Name = "general";
     this.general.Padding = new Padding(3, 5, 3, 5);
     this.general.Size = new Size(0x147, 0x175);
     this.general.TabIndex = 0;
     this.general.Text = GeneralResource.GENERAL_GENERAL;
     this.general.UseVisualStyleBackColor = true;
     this.groupBox1.Controls.Add(this.label1);
     this.groupBox1.Controls.Add(this.ntbNumofSim);
     this.groupBox1.Controls.Add(this.chbExecuteLater);
     this.groupBox1.Location = new Point(6, 0x48);
     this.groupBox1.Margin = new Padding(3, 5, 3, 5);
     this.groupBox1.Name = "groupBox1";
     this.groupBox1.Padding = new Padding(3, 5, 3, 5);
     this.groupBox1.Size = new Size(0x13b, 0x6f);
     this.groupBox1.TabIndex = 4;
     this.groupBox1.TabStop = false;
     this.groupBox1.Text = SimulationResource.SIMULATION_EXECUTION;
     this.label1.AutoSize = true;
     this.label1.Location = new Point(6, 0x1d);
     this.label1.Name = "label1";
     this.label1.Size = new Size(0x84, 15);
     this.label1.TabIndex = 3;
     this.label1.Text = SimulationResource.SIMULATION_NUMBER_OF_SNAOSHOTS;
     this.ntbNumofSim.Anchor = AnchorStyles.Right | AnchorStyles.Bottom;
     this.ntbNumofSim.AutoSize = true;
     this.ntbNumofSim.BackColor = SystemColors.ButtonHighlight;
     this.ntbNumofSim.BorderStyle = BorderStyle.Fixed3D;
     this.ntbNumofSim.CharExtensition = "";
     this.ntbNumofSim.FloatPlaces = 0;
     this.ntbNumofSim.Font = new Font("Arial", 9f, FontStyle.Regular, GraphicsUnit.Point, 0);
     int[] bits = new int[4];
     bits[0] = 1;
     this.ntbNumofSim.Increment = new decimal(bits);
     this.ntbNumofSim.Location = new Point(0x90, 0x19);
     this.ntbNumofSim.Margin = new Padding(3, 6, 3, 0);
     bits = new int[4];
     bits[0] = 0x8000;
     this.ntbNumofSim.Maximum = new decimal(bits);
     bits = new int[4];
     this.ntbNumofSim.Minimum = new decimal(bits);
     this.ntbNumofSim.Name = "ntbNumofSim";
     this.ntbNumofSim.ReadOnly = false;
     this.ntbNumofSim.Size = new Size(0xa5, 0x17);
     this.ntbNumofSim.TabIndex = 2;
     bits = new int[4];
     bits[0] = 1;
     this.ntbNumofSim.Value = new decimal(bits);
     this.ntbNumofSim.ValueChanged += new EventHandler(this.ntbNumofSim_ValueChanged);
     this.chbExecuteLater.AutoSize = true;
     this.chbExecuteLater.Enabled = false;
     this.chbExecuteLater.Location = new Point(9, 80);
     this.chbExecuteLater.Margin = new Padding(3, 5, 3, 5);
     this.chbExecuteLater.Name = "chbExecuteLater";
     this.chbExecuteLater.Size = new Size(0x6a, 0x13);
     this.chbExecuteLater.TabIndex = 1;
     this.chbExecuteLater.Text = SimulationResource.SIMULATION_EXECUTE_NOW;
     this.chbExecuteLater.UseVisualStyleBackColor = true;
     this.chbExecuteLater.CheckStateChanged += new EventHandler(this.chbExecuteLater_CheckStateChanged);
     this.tbComments.Anchor = AnchorStyles.Right | AnchorStyles.Bottom;
     this.tbComments.Location = new Point(0x51, 0x26);
     this.tbComments.Margin = new Padding(3, 5, 3, 5);
     this.tbComments.Name = "tbComments";
     this.tbComments.Size = new Size(240, 0x15);
     this.tbComments.TabIndex = 3;
     this.tbComments.TextChanged += new EventHandler(this.tbComments_TextChanged);
     this.lbcomments.AutoSize = true;
     this.lbcomments.Location = new Point(6, 0x2c);
     this.lbcomments.Name = "lbcomments";
     this.lbcomments.Size = new Size(0x48, 15);
     this.lbcomments.TabIndex = 2;
     this.lbcomments.Text = SimulationResource.SIMULATION_COMMENTS;
     this.tbName.Anchor = AnchorStyles.Right | AnchorStyles.Bottom;
     this.tbName.Location = new Point(0x51, 7);
     this.tbName.Margin = new Padding(3, 5, 3, 5);
     this.tbName.Name = "tbName";
     this.tbName.Size = new Size(240, 0x15);
     this.tbName.TabIndex = 1;
     this.tbName.TextChanged += new EventHandler(this.tbName_TextChanged);
     this.lbname.AutoSize = true;
     this.lbname.Location = new Point(6, 13);
     this.lbname.Name = "lbname";
     this.lbname.Size = new Size(0x2c, 15);
     this.lbname.TabIndex = 0;
     this.lbname.Text = SimulationResource.SIMULATION_NAME;
     this.traffic.Controls.Add(this.groupBox3);
     this.traffic.Controls.Add(this.groupBox2);
     this.traffic.Controls.Add(this.ntbScalingFactor);
     this.traffic.Controls.Add(this.label2);
     this.traffic.Location = new Point(4, 0x18);
     this.traffic.Margin = new Padding(3, 5, 3, 5);
     this.traffic.Name = "traffic";
     this.traffic.Padding = new Padding(3, 5, 3, 5);
     this.traffic.Size = new Size(0x147, 0x175);
     this.traffic.TabIndex = 1;
     this.traffic.Text = SimulationResource.SIMULATION_SOURCE_TRAFFIC;
     this.traffic.UseVisualStyleBackColor = true;
     this.ntbScalingFactor.Anchor = AnchorStyles.Right | AnchorStyles.Bottom;
     this.ntbScalingFactor.AutoSize = true;
     this.ntbScalingFactor.BackColor = SystemColors.ButtonHighlight;
     this.ntbScalingFactor.BorderStyle = BorderStyle.Fixed3D;
     this.ntbScalingFactor.CharExtensition = "";
     this.ntbScalingFactor.FloatPlaces = 0;
     this.ntbScalingFactor.Font = new Font("Arial", 9f, FontStyle.Regular, GraphicsUnit.Point, 0);
     bits = new int[4];
     bits[0] = 1;
     this.ntbScalingFactor.Increment = new decimal(bits);
     this.ntbScalingFactor.Location = new Point(0x8b, 11);
     this.ntbScalingFactor.Margin = new Padding(3, 6, 3, 0);
     bits = new int[4];
     bits[0] = 0x8000;
     this.ntbScalingFactor.Maximum = new decimal(bits);
     bits = new int[4];
     this.ntbScalingFactor.Minimum = new decimal(bits);
     this.ntbScalingFactor.Name = "ntbScalingFactor";
     this.ntbScalingFactor.ReadOnly = false;
     this.ntbScalingFactor.Size = new Size(0xb6, 0x17);
     this.ntbScalingFactor.TabIndex = 1;
     bits = new int[4];
     bits[0] = 1;
     this.ntbScalingFactor.Value = new decimal(bits);
     this.ntbScalingFactor.ValueChanged += new EventHandler(this.ntbScalingFactor_ValueChanged);
     this.label2.AutoSize = true;
     this.label2.Location = new Point(6, 14);
     this.label2.Name = "label2";
     this.label2.Size = new Size(0x7f, 15);
     this.label2.TabIndex = 0;
     this.label2.Text = SimulationResource.SIMULATION_GLOBAL_SCALING_FACTOR;
     this.advanced.Controls.Add(this.label14);
     this.advanced.Controls.Add(this.UlLoadConThreshold);
     this.advanced.Controls.Add(this.label13);
     this.advanced.Controls.Add(this.DlThroughputConThreshold);
     this.advanced.Controls.Add(this.label9);
     this.advanced.Controls.Add(this.UlThroughputConThreshold);
     this.advanced.Controls.Add(this.label8);
     this.advanced.Controls.Add(this.DlLoadConThreshold);
     this.advanced.Controls.Add(this.label7);
     this.advanced.Controls.Add(this.IOTConThreshold);
     //this.advanced.Controls.Add(this.chkVMIMO);
     this.advanced.Controls.Add(this.chkHARQ);
     this.advanced.Controls.Add(this.chkIRC);
     this.advanced.Controls.Add(this.chkTTIBundling);
     this.advanced.Controls.Add(this.cbxFixure);
     this.advanced.Controls.Add(this.BLER);
     this.advanced.Controls.Add(this.label5);
     this.advanced.Controls.Add(this.cellCorr);
     this.advanced.Controls.Add(this.siteCorr);
     this.advanced.Controls.Add(this.label11);
     this.advanced.Controls.Add(this.label10);
     this.advanced.Controls.Add(this.numofIterations);
     this.advanced.Controls.Add(this.label6);
     this.advanced.Location = new Point(4, 0x18);
     this.advanced.Margin = new Padding(3, 5, 3, 5);
     this.advanced.Name = "advanced";
     this.advanced.Padding = new Padding(3, 5, 3, 5);
     this.advanced.Size = new Size(0x147, 0x175);
     this.advanced.TabIndex = 2;
     this.advanced.Text = SimulationResource.SIMULATION_ADVANCED;
     this.advanced.UseVisualStyleBackColor = true;
     this.label14.AutoSize = true;
     this.label14.Location = new Point(8, 0x62);
     this.label14.Name = "label14";
     this.label14.Size = new Size(0xd3, 15);
     this.label14.TabIndex = 0x3f;
     this.label14.Text = SimulationResource.SIMULATION_LOAD_CONVERAGENCE_THRESHOLD_UL;
     this.UlLoadConThreshold.DecimalPlaces = 1;
     this.UlLoadConThreshold.Location = new Point(0x102, 0x60);
     bits = new int[4];
     bits[0] = 1;
     this.UlLoadConThreshold.Minimum = new decimal(bits);
     this.UlLoadConThreshold.Name = "UlLoadConThreshold";
     this.UlLoadConThreshold.Size = new Size(0x3f, 0x15);
     this.UlLoadConThreshold.TabIndex = 0x38;
     bits = new int[4];
     bits[0] = 1;
     this.UlLoadConThreshold.Value = new decimal(bits);
     this.UlLoadConThreshold.ValueChanged += new EventHandler(this.ValueChanged);
     this.label13.AutoSize = true;
     this.label13.Location = new Point(6, 0x9b);
     this.label13.Name = "label13";
     this.label13.Size = new Size(0xf6, 15);
     this.label13.TabIndex = 0x3d;
     this.label13.Text = SimulationResource.SIMULATION_THROUGHPUT_CONVERGENCE_THRESHOLD_UL;
     this.DlThroughputConThreshold.DecimalPlaces = 1;
     this.DlThroughputConThreshold.Location = new Point(0x102, 0x99);
     bits = new int[4];
     bits[0] = 1;
     this.DlThroughputConThreshold.Minimum = new decimal(bits);
     this.DlThroughputConThreshold.Name = "DlThroughputConThreshold";
     this.DlThroughputConThreshold.Size = new Size(0x3f, 0x15);
     this.DlThroughputConThreshold.TabIndex = 60;
     bits = new int[4];
     bits[0] = 5;
     this.DlThroughputConThreshold.Value = new decimal(bits);
     this.DlThroughputConThreshold.ValueChanged += new EventHandler(this.ValueChanged);
     this.label9.AutoSize = true;
     this.label9.Location = new Point(6, 0xb7);
     this.label9.Name = "label9";
     this.label9.Size = new Size(0xf6, 15);
     this.label9.TabIndex = 0x3b;
     this.label9.Text = SimulationResource.SIMULATION_THROUGHPUT_CONVERGENCE_THRESHOLD_DL;
     this.UlThroughputConThreshold.DecimalPlaces = 1;
     this.UlThroughputConThreshold.Location = new Point(0x102, 0xb5);
     bits = new int[4];
     bits[0] = 1;
     this.UlThroughputConThreshold.Minimum = new decimal(bits);
     this.UlThroughputConThreshold.Name = "UlThroughputConThreshold";
     this.UlThroughputConThreshold.Size = new Size(0x3f, 0x15);
     this.UlThroughputConThreshold.TabIndex = 0x3e;
     bits = new int[4];
     bits[0] = 5;
     this.UlThroughputConThreshold.Value = new decimal(bits);
     this.UlThroughputConThreshold.ValueChanged += new EventHandler(this.ValueChanged);
     this.label8.AutoSize = true;
     this.label8.Location = new Point(8, 0x7f);
     this.label8.Name = "label8";
     this.label8.Size = new Size(0xd3, 15);
     this.label8.TabIndex = 0x39;
     this.label8.Text = SimulationResource.SIMULATION_LOAD_CONVERAGENCE_THRESHOLD_DL;
     this.DlLoadConThreshold.DecimalPlaces = 1;
     this.DlLoadConThreshold.Location = new Point(0x102, 0x7d);
     bits = new int[4];
     bits[0] = 1;
     this.DlLoadConThreshold.Minimum = new decimal(bits);
     this.DlLoadConThreshold.Name = "DlLoadConThreshold";
     this.DlLoadConThreshold.Size = new Size(0x3f, 0x15);
     this.DlLoadConThreshold.TabIndex = 0x3a;
     bits = new int[4];
     bits[0] = 1;
     this.DlLoadConThreshold.Value = new decimal(bits);
     this.DlLoadConThreshold.ValueChanged += new EventHandler(this.ValueChanged);
     this.label7.AutoSize = true;
     this.label7.Location = new Point(8, 70);
     this.label7.Name = "label7";
     this.label7.Size = new Size(0xb7, 15);
     this.label7.TabIndex = 0x37;
     this.label7.Text = SimulationResource.SIMULATION_IOT_CONVERGENCE_THRESHOLD_UL;
     this.IOTConThreshold.DecimalPlaces = 1;
     this.IOTConThreshold.Location = new Point(0x102, 0x44);
     bits = new int[4];
     bits[0] = -2147483648;
     this.IOTConThreshold.Maximum = new decimal(bits);
     bits = new int[4];
     bits[0] = 1;
     bits[3] = 0x20000;
     this.IOTConThreshold.Minimum = new decimal(bits);
     this.IOTConThreshold.Name = "IOTConThreshold";
     this.IOTConThreshold.Size = new Size(0x3f, 0x15);
     this.IOTConThreshold.TabIndex = 0x36;
     bits = new int[4];
     bits[0] = 2;
     bits[3] = 0x10000;
     this.IOTConThreshold.Value = new decimal(bits);
     this.IOTConThreshold.ValueChanged += new EventHandler(this.ValueChanged);
     //this.chkVMIMO.AutoSize = true;
     //this.chkVMIMO.Location = new Point(0x92, 0xd3);
     //this.chkVMIMO.Name = "chkVMIMO";
     //this.chkVMIMO.Size = new Size(0x3f, 0x13);
     //this.chkVMIMO.TabIndex = 0x24;
     //this.chkVMIMO.Text = SimulationResource.SIMULATION_VMIMO;
     //this.chkVMIMO.UseVisualStyleBackColor = true;
     //this.chkVMIMO.CheckedChanged += new EventHandler(this.ValueChanged);
     this.chkHARQ.AutoSize = true;
     this.chkHARQ.Location = new Point(9, 0xec);
     this.chkHARQ.Name = "chkHARQ";
     this.chkHARQ.Size = new Size(60, 0x13);
     this.chkHARQ.TabIndex = 0x23;
     this.chkHARQ.Text = SimulationResource.SIMULATION_HARQ;
     this.chkHARQ.UseVisualStyleBackColor = true;
     this.chkHARQ.CheckedChanged += new EventHandler(this.ValueChanged);
     this.chkIRC.AutoSize = true;
     this.chkIRC.Location = new Point(0x90, 0xd3);
     this.chkIRC.Name = "chkIRC";
     this.chkIRC.Size = new Size(0x2f, 0x13);
     this.chkIRC.TabIndex = 0x22;
     this.chkIRC.Text = SimulationResource.SIMULATION_IRC;
     this.chkIRC.UseVisualStyleBackColor = true;
     this.chkIRC.CheckedChanged += new EventHandler(this.ValueChanged);
     this.chkTTIBundling.AutoSize = true;
     this.chkTTIBundling.Location = new Point(9, 0xd3);
     this.chkTTIBundling.Name = "chkTTIBundling";
     this.chkTTIBundling.Size = new Size(0x5f, 0x13);
     this.chkTTIBundling.TabIndex = 0x21;
     this.chkTTIBundling.Text = SimulationResource.SIMULATION_TTI_BOUNDING;
     this.chkTTIBundling.UseVisualStyleBackColor = true;
     this.chkTTIBundling.CheckedChanged += new EventHandler(this.ValueChanged);
     this.cbxFixure.AutoSize = true;
     this.cbxFixure.Location = new Point(0x92, 0xec);
     this.cbxFixure.Name = "cbxFixure";
     this.cbxFixure.Size = new Size(0x77, 0x13);
     this.cbxFixure.TabIndex = 0x20;
     this.cbxFixure.Text = SimulationResource.SIMULATION_FIX_USER_POSITION;
     this.cbxFixure.UseVisualStyleBackColor = true;
     this.cbxFixure.CheckStateChanged += new EventHandler(this.cbxFixure_CheckStateChanged);
     this.BLER.DecimalPlaces = 1;
     this.BLER.Location = new Point(110, 0x12a);
     this.BLER.Name = "BLER";
     this.BLER.Size = new Size(0xd1, 0x15);
     this.BLER.TabIndex = 0x1f;
     bits = new int[4];
     bits[0] = 10;
     this.BLER.Value = new decimal(bits);
     this.BLER.Visible = false;
     this.BLER.ValueChanged += new EventHandler(this.BLER_ValueChanged);
     this.label5.AutoSize = true;
     this.label5.Location = new Point(6, 300);
     this.label5.Name = "label5";
     this.label5.Size = new Size(0x3d, 15);
     this.label5.TabIndex = 30;
     this.label5.Text = SimulationResource.SIMULATION_BLER;
     this.label5.Visible = false;
     this.cellCorr.Anchor = AnchorStyles.Right | AnchorStyles.Bottom;
     this.cellCorr.DecimalPlaces = 1;
     bits = new int[4];
     bits[0] = 1;
     bits[3] = 0x10000;
     this.cellCorr.Increment = new decimal(bits);
     this.cellCorr.Location = new Point(110, 0x10b);
     this.cellCorr.Margin = new Padding(3, 4, 3, 4);
     bits = new int[4];
     bits[0] = 1;
     this.cellCorr.Maximum = new decimal(bits);
     this.cellCorr.Name = "cellCorr";
     this.cellCorr.Size = new Size(0xd1, 0x15);
     this.cellCorr.TabIndex = 0x18;
     bits = new int[4];
     bits[0] = 5;
     bits[3] = 0x10000;
     this.cellCorr.Value = new decimal(bits);
     this.cellCorr.Visible = false;
     this.siteCorr.Anchor = AnchorStyles.Right | AnchorStyles.Bottom;
     this.siteCorr.DecimalPlaces = 1;
     bits = new int[4];
     bits[0] = 1;
     bits[3] = 0x10000;
     this.siteCorr.Increment = new decimal(bits);
     this.siteCorr.Location = new Point(0x6f, 40);
     this.siteCorr.Margin = new Padding(3, 4, 3, 4);
     bits = new int[4];
     bits[0] = 1;
     this.siteCorr.Maximum = new decimal(bits);
     this.siteCorr.Name = "siteCorr";
     this.siteCorr.Size = new Size(0xd1, 0x15);
     this.siteCorr.TabIndex = 0x17;
     bits = new int[4];
     bits[0] = 5;
     bits[3] = 0x10000;
     this.siteCorr.Value = new decimal(bits);
     this.siteCorr.ValueChanged += new EventHandler(this.siteCorr_ValueChanged);
     this.label11.AutoSize = true;
     this.label11.Location = new Point(6, 0x10d);
     this.label11.Name = "label11";
     this.label11.Size = new Size(0x38, 15);
     this.label11.TabIndex = 0x15;
     this.label11.Text = SimulationResource.SIMULATION_CELL_CORR;
     this.label11.Visible = false;
     this.label10.AutoSize = true;
     this.label10.Location = new Point(6, 0x2a);
     this.label10.Name = "label10";
     this.label10.Size = new Size(0x37, 15);
     this.label10.TabIndex = 20;
     this.label10.Text = SimulationResource.SIMULATION_SITECORR;
     this.numofIterations.Anchor = AnchorStyles.Right | AnchorStyles.Bottom;
     this.numofIterations.Location = new Point(110, 10);
     this.numofIterations.Margin = new Padding(3, 5, 3, 5);
     bits = new int[4];
     bits[0] = 0x2710;
     this.numofIterations.Maximum = new decimal(bits);
     this.numofIterations.Name = "numofIterations";
     this.numofIterations.Size = new Size(210, 0x15);
     this.numofIterations.TabIndex = 0x10;
     bits = new int[4];
     bits[0] = 1;
     this.numofIterations.Value = new decimal(bits);
     this.numofIterations.ValueChanged += new EventHandler(this.numofIterations_ValueChanged);
     this.label6.AutoSize = true;
     this.label6.Location = new Point(6, 12);
     this.label6.Name = "label6";
     this.label6.Size = new Size(0x5b, 15);
     this.label6.TabIndex = 14;
     this.label6.Text = SimulationResource.SIMULATION_NUMBER_OF_TTI;
     this.btnOk.Anchor = AnchorStyles.Right | AnchorStyles.Bottom;
     this.btnOk.Location = new Point(0x8d, 0x1a3);
     this.btnOk.Margin = new Padding(3, 5, 3, 5);
     this.btnOk.Name = "btnOk";
     this.btnOk.Size = new Size(0x41, 0x17);
     this.btnOk.TabIndex = 5;
     this.btnOk.Text = GeneralResource.BUTTON_OK;
     this.btnOk.UseVisualStyleBackColor = true;
     this.btnOk.Click += new EventHandler(this.btnOk_Click);
     this.btnCancel.Anchor = AnchorStyles.Right | AnchorStyles.Bottom;
     this.btnCancel.Location = new Point(0xd4, 0x1a3);
     this.btnCancel.Margin = new Padding(3, 5, 3, 5);
     this.btnCancel.Name = "btnCancel";
     this.btnCancel.Size = new Size(0x41, 0x17);
     this.btnCancel.TabIndex = 4;
     this.btnCancel.Text = GeneralResource.BUTTON_CANCEL;
     this.btnCancel.UseVisualStyleBackColor = true;
     this.btnCancel.Click += new EventHandler(this.btnCancel_Click);
     this.btnApply.Anchor = AnchorStyles.Right | AnchorStyles.Bottom;
     this.btnApply.Enabled = false;
     this.btnApply.Location = new Point(0x11b, 0x1a3);
     this.btnApply.Margin = new Padding(3, 5, 3, 5);
     this.btnApply.Name = "btnApply";
     this.btnApply.Size = new Size(0x41, 0x17);
     this.btnApply.TabIndex = 3;
     this.btnApply.Text = GeneralResource.BUTTON_APPLY;
     this.btnApply.UseVisualStyleBackColor = true;
     this.btnApply.Click += new EventHandler(this.btnApply_Click);
     base.AutoScaleDimensions = new SizeF(7f, 15f);
     base.AutoScaleMode = AutoScaleMode.Font;
     base.ClientSize = new Size(0x164, 0x1c1);
     base.Controls.Add(this.tcSimulation);
     base.Controls.Add(this.btnOk);
     base.Controls.Add(this.btnCancel);
     base.Controls.Add(this.btnApply);
     this.Font = new Font("Arial", 9f, FontStyle.Regular, GraphicsUnit.Point, 0);
     base.FormBorderStyle = FormBorderStyle.FixedDialog;
     base.HelpButton = true;
     base.KeyPreview = true;
     base.Margin = new Padding(3, 4, 3, 4);
     base.MaximizeBox = false;
     base.MinimizeBox = false;
     base.Name = "SimulationProperty";
     base.ShowIcon = false;
     base.ShowInTaskbar = false;
     base.StartPosition = FormStartPosition.CenterScreen;
     this.Text = SimulationResource.SIMULATION_PROPERTIES;
     base.HelpButtonClicked += new CancelEventHandler(this.SimulationProperty_HelpButtonClicked);
     base.KeyDown += new KeyEventHandler(this.SimulationProperty_KeyDown);
     this.groupBox2.ResumeLayout(false);
     this.groupBox2.PerformLayout();
     this.groupBox3.ResumeLayout(false);
     this.groupBox3.PerformLayout();
     this.tcSimulation.ResumeLayout(false);
     this.general.ResumeLayout(false);
     this.general.PerformLayout();
     this.groupBox1.ResumeLayout(false);
     this.groupBox1.PerformLayout();
     this.traffic.ResumeLayout(false);
     this.traffic.PerformLayout();
     this.advanced.ResumeLayout(false);
     this.advanced.PerformLayout();
     this.UlLoadConThreshold.EndInit();
     this.DlThroughputConThreshold.EndInit();
     this.UlThroughputConThreshold.EndInit();
     this.DlLoadConThreshold.EndInit();
     this.IOTConThreshold.EndInit();
     this.BLER.EndInit();
     this.cellCorr.EndInit();
     this.siteCorr.EndInit();
     this.numofIterations.EndInit();
     base.ResumeLayout(false);
 }
Пример #3
0
 private void InitializeComponent()
 {
     this.components = new Container();
     DataGridViewCellStyle style = new DataGridViewCellStyle();
     DataGridViewCellStyle style2 = new DataGridViewCellStyle();
     DataGridViewCellStyle style3 = new DataGridViewCellStyle();
     ComponentResourceManager manager = new ComponentResourceManager(typeof(AntForm));
     DataGridViewCellStyle style4 = new DataGridViewCellStyle();
     DataGridViewCellStyle style5 = new DataGridViewCellStyle();
     DataGridViewCellStyle style6 = new DataGridViewCellStyle();
     this.tc_Ant = new TabControl();
     this.GeneralPage = new TabPage();
     this.lbc_pattern = new Label();
     this.tb_Pattern = new TextBox();
     this.tb_Manu = new TextBox();
     this.tb_Name = new TextBox();
     this.lb_dBi = new Label();
     this.tb_Gain = new NumericUpDownBase();
     this.lb_Pattern = new Label();
     this.tb_Comments = new TextBox();
     this.lb_Comments = new Label();
     this.lb_Gain = new Label();
     this.lb_Manufacturer = new Label();
     this.lb_Name = new Label();
     this.HGaintabPage = new TabPage();
     this.splitContainer1 = new SplitContainer();
     this.panel_HGain = new Panel();
     this.lblCopolar = new Label();
     this.dgv_HGain = new DataGridViewBase();
     this.gridviewColumn_HeriAngle = new DataGridViewTextBoxColumn();
     this.gridviewColumn_HeriAtt = new DataGridViewTextBoxColumn();
     this.VGaintabPage = new TabPage();
     this.splitContainer2 = new SplitContainer();
     this.panel_VGain = new Panel();
     this.label11 = new Label();
     this.dgv_VGain = new DataGridViewBase();
     this.gridviewColumn_VertAngle = new DataGridViewTextBoxColumn();
     this.gridviewColumn_VertAtt = new DataGridViewTextBoxColumn();
     this.OthertabPage = new TabPage();
     this.tb_FMin = new NumericTextBox();
     this.tb_FMax = new NumericTextBox();
     this.tb_BeamWidth = new NumericTextBox();
     this.label3 = new Label();
     this.label2 = new Label();
     this.label1 = new Label();
     this.lblFMin = new Label();
     this.lblFMax = new Label();
     this.lblBeamWidth = new Label();
     this.btn_OK = new Button();
     this.btn_Cancel = new Button();
     this.btn_App = new Button();
     this.label10 = new Label();
     this.errorProvider_NotNullName = new ErrorProvider(this.components);
     this.tc_Ant.SuspendLayout();
     this.GeneralPage.SuspendLayout();
     this.tb_Gain.BeginInit();
     this.HGaintabPage.SuspendLayout();
     this.splitContainer1.Panel1.SuspendLayout();
     this.splitContainer1.Panel2.SuspendLayout();
     this.splitContainer1.SuspendLayout();
     ((ISupportInitialize) this.dgv_HGain).BeginInit();
     this.VGaintabPage.SuspendLayout();
     this.splitContainer2.Panel1.SuspendLayout();
     this.splitContainer2.Panel2.SuspendLayout();
     this.splitContainer2.SuspendLayout();
     ((ISupportInitialize) this.dgv_VGain).BeginInit();
     this.OthertabPage.SuspendLayout();
     ((ISupportInitialize) this.errorProvider_NotNullName).BeginInit();
     base.SuspendLayout();
     this.tc_Ant.Controls.Add(this.GeneralPage);
     this.tc_Ant.Controls.Add(this.HGaintabPage);
     this.tc_Ant.Controls.Add(this.VGaintabPage);
     this.tc_Ant.Controls.Add(this.OthertabPage);
     this.tc_Ant.Font = new Font("Arial", 9f, FontStyle.Regular, GraphicsUnit.Point, 0);
     this.tc_Ant.Location = new Point(9, 9);
     this.tc_Ant.Margin = new Padding(0);
     this.tc_Ant.Name = "tc_Ant";
     this.tc_Ant.Padding = new Point(0, 0);
     this.tc_Ant.SelectedIndex = 0;
     this.tc_Ant.Size = new Size(580, 380);
     this.tc_Ant.TabIndex = 0;
     this.GeneralPage.BackColor = Color.Transparent;
     this.GeneralPage.Controls.Add(this.lbc_pattern);
     this.GeneralPage.Controls.Add(this.tb_Pattern);
     this.GeneralPage.Controls.Add(this.tb_Manu);
     this.GeneralPage.Controls.Add(this.tb_Name);
     this.GeneralPage.Controls.Add(this.lb_dBi);
     this.GeneralPage.Controls.Add(this.tb_Gain);
     this.GeneralPage.Controls.Add(this.lb_Pattern);
     this.GeneralPage.Controls.Add(this.tb_Comments);
     this.GeneralPage.Controls.Add(this.lb_Comments);
     this.GeneralPage.Controls.Add(this.lb_Gain);
     this.GeneralPage.Controls.Add(this.lb_Manufacturer);
     this.GeneralPage.Controls.Add(this.lb_Name);
     this.GeneralPage.Font = new Font("Arial", 9f, FontStyle.Regular, GraphicsUnit.Point, 0);
     this.GeneralPage.Location = new Point(4, 0x18);
     this.GeneralPage.Margin = new Padding(0);
     this.GeneralPage.Name = "GeneralPage";
     this.GeneralPage.Size = new Size(0x23c, 0x160);
     this.GeneralPage.TabIndex = 0;
     this.GeneralPage.Text = GeneralResource.GENERAL_GENERAL;
     this.lbc_pattern.AutoSize = true;
     this.lbc_pattern.BackColor = Color.Transparent;
     this.lbc_pattern.Location = new Point(0x22d, 0x40);
     this.lbc_pattern.Name = "lbc_pattern";
     this.lbc_pattern.Size = new Size(12, 15);
     this.lbc_pattern.TabIndex = 0x1a;
     this.lbc_pattern.Text = "\x00b0";
     this.tb_Pattern.BackColor = SystemColors.ActiveCaptionText;
     this.tb_Pattern.Location = new Point(0x1df, 0x3d);
     this.tb_Pattern.MaxLength = 6;
     this.tb_Pattern.Name = "tb_Pattern";
     this.tb_Pattern.Size = new Size(0x48, 0x15);
     this.tb_Pattern.TabIndex = 0x19;
     this.tb_Pattern.Text = "0";
     this.tb_Pattern.TextAlign = HorizontalAlignment.Right;
     this.tb_Pattern.TextChanged += new EventHandler(this.ValueChanged);
     this.tb_Manu.Location = new Point(0x61, 0x21);
     this.tb_Manu.Margin = new Padding(3, 4, 3, 4);
     this.tb_Manu.Name = "tb_Manu";
     this.tb_Manu.Size = new Size(0x1d8, 0x15);
     this.tb_Manu.TabIndex = 0x17;
     this.tb_Manu.TextChanged += new EventHandler(this.ValueChanged);
     this.tb_Manu.KeyUp += new KeyEventHandler(this.ControlContent_KeyUp);
     this.errorProvider_NotNullName.SetIconPadding(this.tb_Name, 1);
     this.tb_Name.Location = new Point(0x61, 4);
     this.tb_Name.Margin = new Padding(3, 4, 3, 4);
     this.tb_Name.MaxLength = 0x80;
     this.tb_Name.Name = "tb_Name";
     this.tb_Name.Size = new Size(0x1d8, 0x15);
     this.tb_Name.TabIndex = 0x16;
     this.tb_Name.TextChanged += new EventHandler(this.ValueChanged);
     this.tb_Name.KeyUp += new KeyEventHandler(this.tb_Name_KeyUp);
     this.lb_dBi.AutoSize = true;
     this.lb_dBi.Location = new Point(280, 0x42);
     this.lb_dBi.Name = "lb_dBi";
     this.lb_dBi.Size = new Size(0x19, 15);
     this.lb_dBi.TabIndex = 20;
     this.lb_dBi.Text = Huawei.UNet.Common.GlobalResource.AntennaResource.ANTENNA_DBI;
     this.tb_Gain.DecimalPlaces = 2;
     this.tb_Gain.Location = new Point(0x61, 0x40);
     this.tb_Gain.Margin = new Padding(3, 4, 3, 4);
     this.tb_Gain.Maximum = new decimal(new int[] { -559939585, 0x35c9adc5, 0x36, 0 });
     this.tb_Gain.Name = "tb_Gain";
     this.tb_Gain.Size = new Size(0xb1, 0x15);
     this.tb_Gain.TabIndex = 0x13;
     this.tb_Gain.TextAlign = HorizontalAlignment.Right;
     this.tb_Gain.ValueChanged += new EventHandler(this.ValueChanged);
     this.tb_Gain.KeyUp += new KeyEventHandler(this.ControlContent_KeyUp);
     this.lb_Pattern.AutoSize = true;
     this.lb_Pattern.BackColor = Color.Transparent;
     this.lb_Pattern.Location = new Point(350, 0x3d);
     this.lb_Pattern.Name = "lb_Pattern";
     this.lb_Pattern.Size = new Size(0x7b, 30);
     this.lb_Pattern.TabIndex = 0x12;
     this.lb_Pattern.Text = Huawei.UNet.Common.GlobalResource.AntennaResource.ANTENNA_ELECTRICAL_TILT;
     this.tb_Comments.Location = new Point(3, 0x80);
     this.tb_Comments.Margin = new Padding(3, 4, 3, 4);
     this.tb_Comments.Multiline = true;
     this.tb_Comments.Name = "tb_Comments";
     this.tb_Comments.ScrollBars = ScrollBars.Vertical;
     this.tb_Comments.Size = new Size(0x236, 0x8e);
     this.tb_Comments.TabIndex = 0x11;
     this.tb_Comments.TextChanged += new EventHandler(this.ValueChanged);
     this.tb_Comments.KeyUp += new KeyEventHandler(this.ControlContent_KeyUp);
     this.lb_Comments.AutoSize = true;
     this.lb_Comments.BackColor = Color.Transparent;
     this.lb_Comments.Location = new Point(3, 0x6d);
     this.lb_Comments.Name = "lb_Comments";
     this.lb_Comments.Size = new Size(0x45, 15);
     this.lb_Comments.TabIndex = 0x10;
     this.lb_Comments.Text = Huawei.UNet.Common.GlobalResource.AntennaResource.ANTENNA_COMMENTS;
     this.lb_Gain.AutoSize = true;
     this.lb_Gain.BackColor = Color.Transparent;
     this.lb_Gain.Location = new Point(3, 0x45);
     this.lb_Gain.Name = "lb_Gain";
     this.lb_Gain.Size = new Size(0x24, 15);
     this.lb_Gain.TabIndex = 15;
     this.lb_Gain.Text = Huawei.UNet.Common.GlobalResource.AntennaResource.ANTENNA_GAIN;
     this.lb_Manufacturer.AutoSize = true;
     this.lb_Manufacturer.BackColor = Color.Transparent;
     this.lb_Manufacturer.Location = new Point(3, 0x24);
     this.lb_Manufacturer.Name = "lb_Manufacturer";
     this.lb_Manufacturer.Size = new Size(0x51, 15);
     this.lb_Manufacturer.TabIndex = 14;
     this.lb_Manufacturer.Text = Huawei.UNet.Common.GlobalResource.AntennaResource.ANTENNA_MANUFACTURER;
     this.lb_Name.AutoSize = true;
     this.lb_Name.BackColor = Color.Transparent;
     this.lb_Name.Location = new Point(3, 11);
     this.lb_Name.Name = "lb_Name";
     this.lb_Name.Size = new Size(0x2c, 15);
     this.lb_Name.TabIndex = 13;
     this.lb_Name.Text = Huawei.UNet.Common.GlobalResource.AntennaResource.ANTENNA_NAME;
     this.HGaintabPage.BackColor = SystemColors.ButtonFace;
     this.HGaintabPage.Controls.Add(this.splitContainer1);
     this.HGaintabPage.Location = new Point(4, 0x18);
     this.HGaintabPage.Margin = new Padding(0);
     this.HGaintabPage.Name = "HGaintabPage";
     this.HGaintabPage.Size = new Size(0x23c, 0x160);
     this.HGaintabPage.TabIndex = 1;
     this.HGaintabPage.Text = Huawei.UNet.Common.GlobalResource.AntennaResource.ANTENNA_HORIZONTAL_PATTERN;
     this.HGaintabPage.UseVisualStyleBackColor = true;
     this.splitContainer1.Dock = DockStyle.Fill;
     this.splitContainer1.IsSplitterFixed = true;
     this.splitContainer1.Location = new Point(0, 0);
     this.splitContainer1.Margin = new Padding(0);
     this.splitContainer1.Name = "splitContainer1";
     this.splitContainer1.Panel1.BackColor = Color.White;
     this.splitContainer1.Panel1.Controls.Add(this.panel_HGain);
     this.splitContainer1.Panel2.BackColor = SystemColors.ButtonFace;
     this.splitContainer1.Panel2.Controls.Add(this.lblCopolar);
     this.splitContainer1.Panel2.Controls.Add(this.dgv_HGain);
     this.splitContainer1.Size = new Size(0x23c, 0x160);
     this.splitContainer1.SplitterDistance = 0x18e;
     this.splitContainer1.TabIndex = 0;
     this.panel_HGain.Dock = DockStyle.Fill;
     this.panel_HGain.Location = new Point(0, 0);
     this.panel_HGain.Margin = new Padding(3, 4, 3, 4);
     this.panel_HGain.Name = "panel_HGain";
     this.panel_HGain.Size = new Size(0x18e, 0x160);
     this.panel_HGain.TabIndex = 0;
     this.lblCopolar.AutoSize = true;
     this.lblCopolar.BackColor = SystemColors.ButtonFace;
     this.lblCopolar.Dock = DockStyle.Top;
     this.lblCopolar.Location = new Point(0, 0);
     this.lblCopolar.Name = "lblCopolar";
     this.lblCopolar.Size = new Size(0x69, 15);
     this.lblCopolar.TabIndex = 0;
     this.lblCopolar.Text = Huawei.UNet.Common.GlobalResource.AntennaResource.ANTENNA_CO_POLAR_SECTION;
     this.dgv_HGain.AfterDeleteHanlder = null;
     this.dgv_HGain.AllowUserToOrderColumns = true;
     style.BackColor = SystemColors.MenuBar;
     this.dgv_HGain.AutoSizeColumnsMode = DataGridViewAutoSizeColumnsMode.ColumnHeader;
     this.dgv_HGain.BeforeDeleteHanlder = null;
     this.dgv_HGain.BorderStyle = BorderStyle.None;
     this.dgv_HGain.ClearHandle = null;
     style2.Alignment = DataGridViewContentAlignment.MiddleLeft;
     style2.BackColor = SystemColors.Info;
     style2.Font = new Font("Arial", 9f, FontStyle.Bold, GraphicsUnit.Point, 0);
     style2.ForeColor = Color.Black;
     style2.SelectionBackColor = SystemColors.Highlight;
     style2.SelectionForeColor = SystemColors.HighlightText;
     style2.WrapMode = DataGridViewTriState.True;
     this.dgv_HGain.ColumnHeadersDefaultCellStyle = style2;
     this.dgv_HGain.ColumnHeadersHeightSizeMode = DataGridViewColumnHeadersHeightSizeMode.AutoSize;
     this.dgv_HGain.Columns.AddRange(new DataGridViewColumn[] { this.gridviewColumn_HeriAngle, this.gridviewColumn_HeriAtt });
     this.dgv_HGain.CtrlDHanlder = null;
     style3.Alignment = DataGridViewContentAlignment.MiddleLeft;
     style3.BackColor = SystemColors.Window;
     style3.Font = new Font("Arial", 9f, FontStyle.Regular, GraphicsUnit.Point, 0);
     style3.ForeColor = Color.Black;
     style3.SelectionBackColor = SystemColors.Highlight;
     style3.SelectionForeColor = SystemColors.HighlightText;
     style3.WrapMode = DataGridViewTriState.False;
     this.dgv_HGain.DefaultCellStyle = style3;
     this.dgv_HGain.DeleteHanlder = null;
     this.dgv_HGain.Dock = DockStyle.Bottom;
     this.dgv_HGain.EnableCtrlA = true;
     this.dgv_HGain.EnableCtrlD = false;
     this.dgv_HGain.EnableDeleteRow = false;
     this.dgv_HGain.EnableRowAndColSelect = true;
     this.dgv_HGain.EnableSort = false;
     this.dgv_HGain.Location = new Point(0, 0x25);
     this.dgv_HGain.Margin = new Padding(3, 4, 3, 4);
     this.dgv_HGain.Name = "dgv_HGain";
     this.dgv_HGain.RowHeadersVisible = false;
     this.dgv_HGain.RowTemplate.Height = 0x17;
     this.dgv_HGain.ScrollBars = ScrollBars.Vertical;
     this.dgv_HGain.Size = new Size(170, 0x13b);
     this.dgv_HGain.TabIndex = 4;
     this.dgv_HGain.UncheckedColHeaderText = (List<string>) manager.GetObject("dgv_HGain.UncheckedColHeaderText");
     this.dgv_HGain.CellValueChanged += new DataGridViewCellEventHandler(this.GainCellValueChanged);
     this.dgv_HGain.CurrentCellDirtyStateChanged += new EventHandler(this.ValueChanged);
     this.dgv_HGain.KeyDown += new KeyEventHandler(this.dgv_HGain_KeyDown);
     this.gridviewColumn_HeriAngle.HeaderText = Huawei.UNet.Common.GlobalResource.AntennaResource.ANTENNA_ANGLENAME;
     this.gridviewColumn_HeriAngle.Name = "gridviewColumn_HeriAngle";
     this.gridviewColumn_HeriAngle.ReadOnly = true;
     this.gridviewColumn_HeriAngle.SortMode = DataGridViewColumnSortMode.NotSortable;
     this.gridviewColumn_HeriAngle.Width = 0x3a;
     this.gridviewColumn_HeriAtt.HeaderText = Huawei.UNet.Common.GlobalResource.AntennaResource.ANTENNA_ATT_DBI;
     this.gridviewColumn_HeriAtt.Name = "gridviewColumn_HeriAtt";
     this.gridviewColumn_HeriAtt.SortMode = DataGridViewColumnSortMode.NotSortable;
     this.gridviewColumn_HeriAtt.Width = 0x68;
     this.VGaintabPage.BackColor = SystemColors.ButtonFace;
     this.VGaintabPage.Controls.Add(this.splitContainer2);
     this.VGaintabPage.Location = new Point(4, 0x18);
     this.VGaintabPage.Margin = new Padding(0);
     this.VGaintabPage.Name = "VGaintabPage";
     this.VGaintabPage.Size = new Size(0x23c, 0x160);
     this.VGaintabPage.TabIndex = 2;
     this.VGaintabPage.Text = Huawei.UNet.Common.GlobalResource.AntennaResource.ANTENNA_VERTICAL_PATTERN;
     this.VGaintabPage.UseVisualStyleBackColor = true;
     this.splitContainer2.Dock = DockStyle.Fill;
     this.splitContainer2.IsSplitterFixed = true;
     this.splitContainer2.Location = new Point(0, 0);
     this.splitContainer2.Margin = new Padding(0);
     this.splitContainer2.Name = "splitContainer2";
     this.splitContainer2.Panel1.BackColor = Color.White;
     this.splitContainer2.Panel1.Controls.Add(this.panel_VGain);
     this.splitContainer2.Panel2.BackColor = SystemColors.ButtonFace;
     this.splitContainer2.Panel2.Controls.Add(this.label11);
     this.splitContainer2.Panel2.Controls.Add(this.dgv_VGain);
     this.splitContainer2.Size = new Size(0x23c, 0x160);
     this.splitContainer2.SplitterDistance = 0x18e;
     this.splitContainer2.TabIndex = 1;
     this.panel_VGain.Dock = DockStyle.Fill;
     this.panel_VGain.Location = new Point(0, 0);
     this.panel_VGain.Margin = new Padding(3, 4, 3, 4);
     this.panel_VGain.Name = "panel_VGain";
     this.panel_VGain.Size = new Size(0x18e, 0x160);
     this.panel_VGain.TabIndex = 1;
     this.label11.AutoSize = true;
     this.label11.BackColor = SystemColors.ButtonFace;
     this.label11.Dock = DockStyle.Top;
     this.label11.Location = new Point(0, 0);
     this.label11.Name = "label11";
     this.label11.Size = new Size(0x69, 15);
     this.label11.TabIndex = 0;
     this.label11.Text = Huawei.UNet.Common.GlobalResource.AntennaResource.ANTENNA_CO_POLAR_SECTION;
     this.dgv_VGain.AfterDeleteHanlder = null;
     this.dgv_VGain.AllowUserToOrderColumns = true;
     style4.BackColor = SystemColors.MenuBar;
     this.dgv_VGain.AutoSizeColumnsMode = DataGridViewAutoSizeColumnsMode.ColumnHeader;
     this.dgv_VGain.BeforeDeleteHanlder = null;
     this.dgv_VGain.BorderStyle = BorderStyle.None;
     this.dgv_VGain.ClearHandle = null;
     style5.Alignment = DataGridViewContentAlignment.MiddleLeft;
     style5.BackColor = SystemColors.Info;
     style5.Font = new Font("Arial", 9f, FontStyle.Bold, GraphicsUnit.Point, 0);
     style5.ForeColor = Color.Black;
     style5.SelectionBackColor = SystemColors.Highlight;
     style5.SelectionForeColor = SystemColors.HighlightText;
     style5.WrapMode = DataGridViewTriState.True;
     this.dgv_VGain.ColumnHeadersDefaultCellStyle = style5;
     this.dgv_VGain.ColumnHeadersHeightSizeMode = DataGridViewColumnHeadersHeightSizeMode.AutoSize;
     this.dgv_VGain.Columns.AddRange(new DataGridViewColumn[] { this.gridviewColumn_VertAngle, this.gridviewColumn_VertAtt });
     this.dgv_VGain.CtrlDHanlder = null;
     style6.Alignment = DataGridViewContentAlignment.MiddleLeft;
     style6.BackColor = SystemColors.Window;
     style6.Font = new Font("Arial", 9f, FontStyle.Regular, GraphicsUnit.Point, 0);
     style6.ForeColor = Color.Black;
     style6.SelectionBackColor = SystemColors.Highlight;
     style6.SelectionForeColor = SystemColors.HighlightText;
     style6.WrapMode = DataGridViewTriState.False;
     this.dgv_VGain.DefaultCellStyle = style6;
     this.dgv_VGain.DeleteHanlder = null;
     this.dgv_VGain.Dock = DockStyle.Bottom;
     this.dgv_VGain.EnableCtrlA = true;
     this.dgv_VGain.EnableCtrlD = false;
     this.dgv_VGain.EnableDeleteRow = false;
     this.dgv_VGain.EnableRowAndColSelect = true;
     this.dgv_VGain.EnableSort = false;
     this.dgv_VGain.Location = new Point(0, 0x25);
     this.dgv_VGain.Margin = new Padding(3, 4, 3, 4);
     this.dgv_VGain.Name = "dgv_VGain";
     this.dgv_VGain.RowHeadersVisible = false;
     this.dgv_VGain.RowTemplate.Height = 0x17;
     this.dgv_VGain.ScrollBars = ScrollBars.Vertical;
     this.dgv_VGain.Size = new Size(170, 0x13b);
     this.dgv_VGain.TabIndex = 4;
     this.dgv_VGain.UncheckedColHeaderText = (List<string>) manager.GetObject("dgv_VGain.UncheckedColHeaderText");
     this.dgv_VGain.CellValueChanged += new DataGridViewCellEventHandler(this.GainCellValueChanged);
     this.dgv_VGain.CurrentCellDirtyStateChanged += new EventHandler(this.ValueChanged);
     this.dgv_VGain.KeyDown += new KeyEventHandler(this.dgv_VGain_KeyDown);
     this.gridviewColumn_VertAngle.HeaderText = Huawei.UNet.Common.GlobalResource.AntennaResource.ANTENNA_ANGLENAME;
     this.gridviewColumn_VertAngle.Name = "gridviewColumn_VertAngle";
     this.gridviewColumn_VertAngle.ReadOnly = true;
     this.gridviewColumn_VertAngle.SortMode = DataGridViewColumnSortMode.NotSortable;
     this.gridviewColumn_VertAngle.Width = 0x3a;
     this.gridviewColumn_VertAtt.HeaderText = Huawei.UNet.Common.GlobalResource.AntennaResource.ANTENNA_ATT_DBI;
     this.gridviewColumn_VertAtt.Name = "gridviewColumn_VertAtt";
     this.gridviewColumn_VertAtt.SortMode = DataGridViewColumnSortMode.NotSortable;
     this.gridviewColumn_VertAtt.Width = 0x68;
     this.OthertabPage.BackColor = Color.Transparent;
     this.OthertabPage.Controls.Add(this.tb_FMin);
     this.OthertabPage.Controls.Add(this.tb_FMax);
     this.OthertabPage.Controls.Add(this.tb_BeamWidth);
     this.OthertabPage.Controls.Add(this.label3);
     this.OthertabPage.Controls.Add(this.label2);
     this.OthertabPage.Controls.Add(this.label1);
     this.OthertabPage.Controls.Add(this.lblFMin);
     this.OthertabPage.Controls.Add(this.lblFMax);
     this.OthertabPage.Controls.Add(this.lblBeamWidth);
     this.OthertabPage.Location = new Point(4, 0x18);
     this.OthertabPage.Margin = new Padding(0);
     this.OthertabPage.Name = "OthertabPage";
     this.OthertabPage.Size = new Size(0x23c, 0x160);
     this.OthertabPage.TabIndex = 3;
     this.OthertabPage.Text = Huawei.UNet.Common.GlobalResource.AntennaResource.ANTENNA_OTHER_PROPERTIES;
     this.tb_FMin.AutoSize = true;
     this.tb_FMin.BackColor = SystemColors.ButtonHighlight;
     this.tb_FMin.BorderStyle = BorderStyle.Fixed3D;
     this.tb_FMin.CharExtensition = "";
     this.tb_FMin.FloatPlaces = 2;
     this.tb_FMin.Font = new Font("Arial", 9f, FontStyle.Regular, GraphicsUnit.Point, 0);
     this.tb_FMin.ForeColor = SystemColors.ControlText;
     int[] bits = new int[4];
     bits[0] = 10;
     this.tb_FMin.Increment = new decimal(bits);
     this.tb_FMin.Location = new Point(0x61, 0x4c);
     this.tb_FMin.Margin = new Padding(3, 4, 3, 0);
     bits = new int[4];
     bits[0] = 0x7fff;
     this.tb_FMin.Maximum = new decimal(bits);
     bits = new int[4];
     bits[0] = 0x8000;
     bits[3] = -2147483648;
     this.tb_FMin.Minimum = new decimal(bits);
     this.tb_FMin.Name = "tb_FMin";
     this.tb_FMin.ReadOnly = false;
     this.tb_FMin.Size = new Size(0x1b6, 0x17);
     this.tb_FMin.TabIndex = 0x1c;
     bits = new int[4];
     this.tb_FMin.Value = new decimal(bits);
     this.tb_FMin.ValueChanged += new EventHandler(this.ValueChanged);
     this.tb_FMax.AutoSize = true;
     this.tb_FMax.BackColor = SystemColors.ButtonHighlight;
     this.tb_FMax.BorderStyle = BorderStyle.Fixed3D;
     this.tb_FMax.CharExtensition = "";
     this.tb_FMax.FloatPlaces = 2;
     this.tb_FMax.Font = new Font("Arial", 9f, FontStyle.Regular, GraphicsUnit.Point, 0);
     this.tb_FMax.ForeColor = SystemColors.ControlText;
     bits = new int[4];
     bits[0] = 10;
     this.tb_FMax.Increment = new decimal(bits);
     this.tb_FMax.Location = new Point(0x61, 0x2a);
     this.tb_FMax.Margin = new Padding(3, 4, 3, 0);
     bits = new int[4];
     bits[0] = 0x7fff;
     this.tb_FMax.Maximum = new decimal(bits);
     bits = new int[4];
     bits[0] = 0x8000;
     bits[3] = -2147483648;
     this.tb_FMax.Minimum = new decimal(bits);
     this.tb_FMax.Name = "tb_FMax";
     this.tb_FMax.ReadOnly = false;
     this.tb_FMax.Size = new Size(0x1b6, 0x17);
     this.tb_FMax.TabIndex = 0x1b;
     bits = new int[4];
     this.tb_FMax.Value = new decimal(bits);
     this.tb_FMax.ValueChanged += new EventHandler(this.ValueChanged);
     this.tb_BeamWidth.AccessibleRole = AccessibleRole.ScrollBar;
     this.tb_BeamWidth.AutoSize = true;
     this.tb_BeamWidth.BackColor = SystemColors.ButtonHighlight;
     this.tb_BeamWidth.BorderStyle = BorderStyle.Fixed3D;
     this.tb_BeamWidth.CharExtensition = "";
     this.tb_BeamWidth.FloatPlaces = 2;
     this.tb_BeamWidth.Font = new Font("Arial", 9f, FontStyle.Regular, GraphicsUnit.Point, 0);
     this.tb_BeamWidth.ForeColor = SystemColors.ControlText;
     bits = new int[4];
     bits[0] = 10;
     this.tb_BeamWidth.Increment = new decimal(bits);
     this.tb_BeamWidth.Location = new Point(0x61, 14);
     this.tb_BeamWidth.Margin = new Padding(3, 4, 3, 0);
     bits = new int[4];
     bits[0] = 0xffff;
     this.tb_BeamWidth.Maximum = new decimal(bits);
     bits = new int[4];
     this.tb_BeamWidth.Minimum = new decimal(bits);
     this.tb_BeamWidth.Name = "tb_BeamWidth";
     this.tb_BeamWidth.ReadOnly = false;
     this.tb_BeamWidth.Size = new Size(0x1b6, 0x17);
     this.tb_BeamWidth.TabIndex = 0x1a;
     bits = new int[4];
     this.tb_BeamWidth.Value = new decimal(bits);
     this.tb_BeamWidth.ValueChanged += new EventHandler(this.ValueChanged);
     this.label3.AutoSize = true;
     this.label3.BackColor = Color.Transparent;
     this.label3.Location = new Point(0x219, 0x53);
     this.label3.Name = "label3";
     this.label3.Size = new Size(30, 15);
     this.label3.TabIndex = 0x18;
     this.label3.Text = Huawei.UNet.Common.GlobalResource.AntennaResource.ANTENNA_MHZ;
     this.label2.AutoSize = true;
     this.label2.BackColor = Color.Transparent;
     this.label2.Location = new Point(0x21a, 0x31);
     this.label2.Name = "label2";
     this.label2.Size = new Size(30, 15);
     this.label2.TabIndex = 0x17;
     this.label2.Text = Huawei.UNet.Common.GlobalResource.AntennaResource.ANTENNA_MHZ;
     this.label1.AutoSize = true;
     this.label1.BackColor = Color.Transparent;
     this.label1.Location = new Point(0x21a, 14);
     this.label1.Name = "label1";
     this.label1.Size = new Size(12, 15);
     this.label1.TabIndex = 0x16;
     this.label1.Text = "\x00b0";
     this.lblFMin.AutoSize = true;
     this.lblFMin.BackColor = Color.Transparent;
     this.lblFMin.Location = new Point(3, 0x54);
     this.lblFMin.Name = "lblFMin";
     this.lblFMin.Size = new Size(0x56, 15);
     this.lblFMin.TabIndex = 2;
     this.lblFMin.Text = Huawei.UNet.Common.GlobalResource.AntennaResource.ANTENNA_FMIN;
     this.lblFMax.AutoSize = true;
     this.lblFMax.BackColor = Color.Transparent;
     this.lblFMax.Location = new Point(3, 50);
     this.lblFMax.Name = "lblFMax";
     this.lblFMax.Size = new Size(0x58, 15);
     this.lblFMax.TabIndex = 1;
     this.lblFMax.Text = Huawei.UNet.Common.GlobalResource.AntennaResource.ANTENNA_FMAX;
     this.lblBeamWidth.AutoSize = true;
     this.lblBeamWidth.BackColor = Color.Transparent;
     this.lblBeamWidth.Location = new Point(3, 14);
     this.lblBeamWidth.Name = "lblBeamWidth";
     this.lblBeamWidth.Size = new Size(0x48, 15);
     this.lblBeamWidth.TabIndex = 0;
     this.lblBeamWidth.Text = Huawei.UNet.Common.GlobalResource.AntennaResource.ANTENNA_BEAMWIDTH;
     this.btn_OK.Location = new Point(0x15d, 0x189);
     this.btn_OK.Margin = new Padding(3, 4, 3, 4);
     this.btn_OK.Name = "btn_OK";
     this.btn_OK.Size = new Size(0x4b, 0x17);
     this.btn_OK.TabIndex = 1;
     this.btn_OK.Text = GeneralResource.BUTTON_OK;
     this.btn_OK.UseVisualStyleBackColor = true;
     this.btn_OK.Click += new EventHandler(this.btn_OK_Click);
     this.btn_Cancel.CausesValidation = false;
     this.btn_Cancel.DialogResult = DialogResult.Cancel;
     this.btn_Cancel.Location = new Point(430, 0x189);
     this.btn_Cancel.Margin = new Padding(3, 4, 3, 4);
     this.btn_Cancel.Name = "btn_Cancel";
     this.btn_Cancel.Size = new Size(0x4b, 0x17);
     this.btn_Cancel.TabIndex = 2;
     this.btn_Cancel.Text = GeneralResource.BUTTON_CANCEL;
     this.btn_Cancel.UseVisualStyleBackColor = true;
     this.btn_Cancel.Click += new EventHandler(this.btn_Cancel_Click);
     this.btn_App.Enabled = false;
     this.btn_App.Location = new Point(0x1ff, 0x189);
     this.btn_App.Margin = new Padding(3, 4, 3, 4);
     this.btn_App.Name = "btn_App";
     this.btn_App.Size = new Size(0x4b, 0x17);
     this.btn_App.TabIndex = 3;
     this.btn_App.Text = GeneralResource.BUTTON_APPLY;
     this.btn_App.UseVisualStyleBackColor = true;
     this.btn_App.Click += new EventHandler(this.btn_App_Click);
     this.label10.AutoSize = true;
     this.label10.BackColor = SystemColors.ButtonFace;
     this.label10.Dock = DockStyle.Top;
     this.label10.Location = new Point(0, 0);
     this.label10.Name = "label10";
     this.label10.Size = new Size(0x41, 12);
     this.label10.TabIndex = 0;
     this.label10.Text = Huawei.UNet.Common.GlobalResource.AntennaResource.ANTENNA_CO_POLAR;
     this.errorProvider_NotNullName.ContainerControl = this;
     base.AutoScaleDimensions = new SizeF(7f, 15f);
     base.AutoScaleMode = AutoScaleMode.Font;
     base.ClientSize = new Size(0x256, 0x1ad);
     base.Controls.Add(this.btn_App);
     base.Controls.Add(this.btn_Cancel);
     base.Controls.Add(this.btn_OK);
     base.Controls.Add(this.tc_Ant);
     this.Font = new Font("Arial", 9f, FontStyle.Regular, GraphicsUnit.Point, 0);
     base.FormBorderStyle = FormBorderStyle.FixedSingle;
     base.Margin = new Padding(3, 4, 3, 4);
     base.MaximizeBox = false;
     base.MinimizeBox = false;
     base.Name = "AntForm";
     base.ShowIcon = false;
     base.ShowInTaskbar = false;
     base.StartPosition = FormStartPosition.CenterScreen;
     this.Text = Huawei.UNet.Common.GlobalResource.AntennaResource.ANTENNA_FORM_PROPERTIES;
     this.tc_Ant.ResumeLayout(false);
     this.GeneralPage.ResumeLayout(false);
     this.GeneralPage.PerformLayout();
     this.tb_Gain.EndInit();
     this.HGaintabPage.ResumeLayout(false);
     this.splitContainer1.Panel1.ResumeLayout(false);
     this.splitContainer1.Panel2.ResumeLayout(false);
     this.splitContainer1.Panel2.PerformLayout();
     this.splitContainer1.ResumeLayout(false);
     ((ISupportInitialize) this.dgv_HGain).EndInit();
     this.VGaintabPage.ResumeLayout(false);
     this.splitContainer2.Panel1.ResumeLayout(false);
     this.splitContainer2.Panel2.ResumeLayout(false);
     this.splitContainer2.Panel2.PerformLayout();
     this.splitContainer2.ResumeLayout(false);
     ((ISupportInitialize) this.dgv_VGain).EndInit();
     this.OthertabPage.ResumeLayout(false);
     this.OthertabPage.PerformLayout();
     ((ISupportInitialize) this.errorProvider_NotNullName).EndInit();
     base.ResumeLayout(false);
     base.KeyPreview = true;
     base.HelpButton = true;
     base.KeyDown += new KeyEventHandler(this.SelectTypeFrm_KeyDown);
     base.HelpButtonClicked += new CancelEventHandler(this.SelectTypeFrm_HelpButtonClicked);
 }
Пример #4
0
 private void InitializeComponent()
 {
     this.gbxProperty = new GroupBox();
     this.lblTop = new Label();
     this.nmcTop = new NumericUpDownBase();
     this.nmcLeft = new NumericUpDownBase();
     this.lblLeft = new Label();
     this.cmbxWidth = new ComboBox();
     this.lblWidth = new Label();
     this.cmbxHeight = new ComboBox();
     this.lblHeight = new Label();
     this.gbxPixture = new GroupBox();
     this.pbxPicture = new PictureBox();
     this.btnOk = new Button();
     this.btnCancel = new Button();
     this.btnFile = new Button();
     this.ofdPicture = new OpenFileDialog();
     this.tbxWidth = new TextBox();
     this.tbxHeight = new TextBox();
     this.gbxProperty.SuspendLayout();
     this.nmcTop.BeginInit();
     this.nmcLeft.BeginInit();
     this.gbxPixture.SuspendLayout();
     ((ISupportInitialize) this.pbxPicture).BeginInit();
     base.SuspendLayout();
     this.gbxProperty.Controls.Add(this.tbxHeight);
     this.gbxProperty.Controls.Add(this.tbxWidth);
     this.gbxProperty.Controls.Add(this.lblTop);
     this.gbxProperty.Controls.Add(this.nmcTop);
     this.gbxProperty.Controls.Add(this.nmcLeft);
     this.gbxProperty.Controls.Add(this.lblLeft);
     this.gbxProperty.Controls.Add(this.cmbxWidth);
     this.gbxProperty.Controls.Add(this.lblWidth);
     this.gbxProperty.Controls.Add(this.cmbxHeight);
     this.gbxProperty.Controls.Add(this.lblHeight);
     this.gbxProperty.Controls.Add(this.gbxPixture);
     this.gbxProperty.Location = new System.Drawing.Point(12, 12);
     this.gbxProperty.Name = "gbxProperty";
     this.gbxProperty.Size = new Size(0x133, 0xc7);
     this.gbxProperty.TabIndex = 1;
     this.gbxProperty.TabStop = false;
     this.gbxProperty.Text = FrameworkResource.PROJECT_PROPERTY;
     this.lblTop.AutoSize = true;
     this.lblTop.Location = new System.Drawing.Point(0x15, 0x37);
     this.lblTop.Name = "lblTop";
     this.lblTop.Size = new Size(0x1d, 12);
     this.lblTop.TabIndex = 20;
     this.lblTop.Text = FrameworkResource.PROJECT_TOP;
     this.nmcTop.BackColor = SystemColors.Window;
     this.nmcTop.Location = new System.Drawing.Point(0x3e, 50);
     this.nmcTop.Margin = new Padding(3, 4, 3, 4);
     this.nmcTop.Name = "nmcTop";
     this.nmcTop.Size = new Size(0x54, 0x15);
     this.nmcTop.TabIndex = 0x17;
     this.nmcTop.TextAlign = HorizontalAlignment.Right;
     this.nmcLeft.BackColor = SystemColors.Window;
     this.nmcLeft.Location = new System.Drawing.Point(0x3e, 0x19);
     this.nmcLeft.Margin = new Padding(3, 4, 3, 4);
     this.nmcLeft.Name = "nmcLeft";
     this.nmcLeft.Size = new Size(0x54, 0x15);
     this.nmcLeft.TabIndex = 0x16;
     this.nmcLeft.TextAlign = HorizontalAlignment.Right;
     this.lblLeft.AutoSize = true;
     this.lblLeft.Location = new System.Drawing.Point(0x15, 0x1d);
     this.lblLeft.Name = "lblLeft";
     this.lblLeft.Size = new Size(0x23, 12);
     this.lblLeft.TabIndex = 0x15;
     this.lblLeft.Text = FrameworkResource.PROJECT_LEFT;
     this.cmbxWidth.DropDownStyle = ComboBoxStyle.DropDownList;
     this.cmbxWidth.FormattingEnabled = true;
     this.cmbxWidth.Location = new System.Drawing.Point(0xd5, 0x19);
     this.cmbxWidth.Name = "cmbxWidth";
     this.cmbxWidth.Size = new Size(0x55, 20);
     this.cmbxWidth.TabIndex = 3;
     this.cmbxWidth.SelectedIndexChanged += new EventHandler(this.picSize_IndexChange);
     this.lblWidth.AutoSize = true;
     this.lblWidth.Location = new System.Drawing.Point(0xa3, 0x1d);
     this.lblWidth.Name = "lblWidth";
     this.lblWidth.Size = new Size(0x29, 12);
     this.lblWidth.TabIndex = 2;
     this.lblWidth.Text = FrameworkResource.PROJECT_WIDTH;
     this.cmbxHeight.DropDownStyle = ComboBoxStyle.DropDownList;
     this.cmbxHeight.FormattingEnabled = true;
     this.cmbxHeight.Location = new System.Drawing.Point(0xd5, 0x33);
     this.cmbxHeight.Name = "cmbxHeight";
     this.cmbxHeight.Size = new Size(0x55, 20);
     this.cmbxHeight.TabIndex = 5;
     this.cmbxHeight.SelectedIndexChanged += new EventHandler(this.picSize_IndexChange);
     this.lblHeight.AutoSize = true;
     this.lblHeight.Location = new System.Drawing.Point(160, 0x37);
     this.lblHeight.Name = "lblHeight";
     this.lblHeight.Size = new Size(0x2f, 12);
     this.lblHeight.TabIndex = 4;
     this.lblHeight.Text = FrameworkResource.PROJECT_HEIGHT;
     this.gbxPixture.Controls.Add(this.pbxPicture);
     this.gbxPixture.Location = new System.Drawing.Point(0x17, 0x4e);
     this.gbxPixture.Name = "gbxPixture";
     this.gbxPixture.Size = new Size(250, 0x6f);
     this.gbxPixture.TabIndex = 0x18;
     this.gbxPixture.TabStop = false;
     this.gbxPixture.Text = FrameworkResource.PROJECT_PICTURE;
     this.pbxPicture.Location = new System.Drawing.Point(12, 15);
     this.pbxPicture.Name = "pbxPicture";
     this.pbxPicture.Size = new Size(230, 90);
     this.pbxPicture.SizeMode = PictureBoxSizeMode.StretchImage;
     this.pbxPicture.TabIndex = 0;
     this.pbxPicture.TabStop = false;
     this.btnOk.Location = new System.Drawing.Point(40, 0xd9);
     this.btnOk.Name = "btnOk";
     this.btnOk.Size = new Size(0x4b, 0x17);
     this.btnOk.TabIndex = 6;
     this.btnOk.Text = GeneralResource.BUTTON_OK;
     this.btnOk.UseVisualStyleBackColor = true;
     this.btnOk.Click += new EventHandler(this.btnOk_Click);
     this.btnCancel.Location = new System.Drawing.Point(0x79, 0xd9);
     this.btnCancel.Name = "btnCancel";
     this.btnCancel.Size = new Size(0x4b, 0x17);
     this.btnCancel.TabIndex = 7;
     this.btnCancel.Text = GeneralResource.BUTTON_CANCEL;
     this.btnCancel.UseVisualStyleBackColor = true;
     this.btnCancel.Click += new EventHandler(this.btnCancel_Click);
     this.btnFile.Location = new System.Drawing.Point(0xca, 0xd9);
     this.btnFile.Name = "btnFile";
     this.btnFile.Size = new Size(0x4b, 0x17);
     this.btnFile.TabIndex = 8;
     this.btnFile.Text = FrameworkResource.PROJECT_FILE_OMIIT;
     this.btnFile.UseVisualStyleBackColor = true;
     this.btnFile.Click += new EventHandler(this.btnFile_Click);
     this.ofdPicture.FileName = "openFileDialog1";
     this.tbxWidth.Location = new System.Drawing.Point(0xd5, 0x18);
     this.tbxWidth.Name = "tbxWidth";
     this.tbxWidth.Size = new Size(0x55, 0x15);
     this.tbxWidth.TabIndex = 1;
     this.tbxHeight.Location = new System.Drawing.Point(0xd5, 50);
     this.tbxHeight.Name = "tbxHeight";
     this.tbxHeight.Size = new Size(0x55, 0x15);
     this.tbxHeight.TabIndex = 2;
     base.AutoScaleDimensions = new SizeF(6f, 12f);
     base.AutoScaleMode = AutoScaleMode.Font;
     base.ClientSize = new Size(0x148, 0xfb);
     base.Controls.Add(this.btnFile);
     base.Controls.Add(this.btnCancel);
     base.Controls.Add(this.btnOk);
     base.Controls.Add(this.gbxProperty);
     base.Name = "PicturePropertyForm";
     base.ShowIcon = false;
     base.ShowInTaskbar = false;
     base.StartPosition = FormStartPosition.CenterScreen;
     this.Text = FrameworkResource.PROJECT_PICTURE_PROPERTY_FORM;
     base.Load += new EventHandler(this.PicturePropertyForm_Load);
     this.gbxProperty.ResumeLayout(false);
     this.gbxProperty.PerformLayout();
     this.nmcTop.EndInit();
     this.nmcLeft.EndInit();
     this.gbxPixture.ResumeLayout(false);
     ((ISupportInitialize) this.pbxPicture).EndInit();
     base.ResumeLayout(false);
 }
Пример #5
0
 private void InitializeComponent()
 {
     this.components = new Container();
     DataGridViewCellStyle style = new DataGridViewCellStyle();
     this.pfdImport = new OpenFileDialog();
     this.sfdImport = new SaveFileDialog();
     this.lblConfig = new Label();
     this.tbxConfig = new TextBox();
     this.btnSave = new Button();
     this.btnLoad = new Button();
     this.lblFirst = new Label();
     this.nmcFirst = new NumericUpDownBase();
     this.lblSeparator = new Label();
     this.cmbSeparator = new ComboBox();
     this.lblPreview = new Label();
     this.btnImport = new Button();
     this.btnCancel = new Button();
     this.dgvPreview = new CommonDataGridView();
     this.lblOpenReLosses = new Label();
     this.lblOpenReGain = new Label();
     this.lblFrequency = new Label();
     this.lblTransmitterName = new Label();
     this.groupBox1 = new GroupBox();
     base.cbCellName = new ComboBox();
     this.ntxtFrequency = new NumericTextBox();
     this.lblOReceiverHeight = new Label();
     this.gbOReceiver = new GroupBox();
     this.imageList1 = new ImageList(this.components);
     this.ntxtReceiverGain = new NumericTextBox();
     this.ntxtReceiverLosses = new NumericTextBox();
     this.ntxtReceiverHeight = new NumericTextBox();
     base.isAutoMatchCellByPCICheckBox = new CheckBox();
     this.nmcFirst.BeginInit();
     ((ISupportInitialize)this.dgvPreview).BeginInit();
     this.groupBox1.SuspendLayout();
     this.gbOReceiver.SuspendLayout();
     base.SuspendLayout();
     this.lblConfig.AutoSize = true;
     this.lblConfig.Location = new System.Drawing.Point(12, 15);
     this.lblConfig.Name = "lblConfig";
     this.lblConfig.Size = new Size(0x6b, 15);
     this.lblConfig.TabIndex = 0;
     this.lblConfig.Text = PropagationResource.PROP_CONFIGURATION_FILE;
     this.tbxConfig.Enabled = false;
     this.tbxConfig.Location = new System.Drawing.Point(0x7d, 12);
     this.tbxConfig.Margin = new Padding(3, 4, 3, 4);
     this.tbxConfig.Name = "tbxConfig";
     this.tbxConfig.Size = new Size(230, 0x15);
     this.tbxConfig.TabIndex = 1;
     this.btnSave.Location = new System.Drawing.Point(0x187, 12);
     this.btnSave.Margin = new Padding(3, 4, 3, 4);
     this.btnSave.Name = "btnSave";
     this.btnSave.Size = new Size(0x4b, 0x17);
     this.btnSave.TabIndex = 2;
     this.btnSave.Text = PropagationResource.PROP_SAVE;
     this.btnSave.UseVisualStyleBackColor = true;
     this.btnSave.Click += new EventHandler(this.btnSave_Click);
     this.btnLoad.Location = new System.Drawing.Point(0x1e2, 12);
     this.btnLoad.Margin = new Padding(3, 4, 3, 4);
     this.btnLoad.Name = "btnLoad";
     this.btnLoad.Size = new Size(0x4b, 0x17);
     this.btnLoad.TabIndex = 3;
     this.btnLoad.Text = PropagationResource.PROP_LOAD;
     this.btnLoad.UseVisualStyleBackColor = true;
     this.btnLoad.Click += new EventHandler(this.btnLoad_Click);
     this.lblFirst.AutoSize = true;
     this.lblFirst.Location = new System.Drawing.Point(12, 0x31);
     this.lblFirst.Name = "lblFirst";
     this.lblFirst.Size = new Size(0x54, 15);
     this.lblFirst.TabIndex = 4;
     this.lblFirst.Text = PropagationResource.PROP_1ST_DATA_ROW;
     this.nmcFirst.Location = new System.Drawing.Point(0x66, 0x2f);
     this.nmcFirst.Margin = new Padding(3, 4, 3, 4);
     int[] bits = new int[4];
     bits[0] = 1;
     this.nmcFirst.Minimum = new decimal(bits);
     this.nmcFirst.Name = "nmcFirst";
     this.nmcFirst.Size = new Size(0x38, 0x15);
     this.nmcFirst.TabIndex = 5;
     this.nmcFirst.TextAlign = HorizontalAlignment.Right;
     //bits = new int[4];
     bits[0] = 1;
     this.nmcFirst.Value = new decimal(bits);
     this.lblSeparator.AutoSize = true;
     this.lblSeparator.Location = new System.Drawing.Point(0xb1, 0x31);
     this.lblSeparator.Name = "lblSeparator";
     this.lblSeparator.Size = new Size(0x5e, 15);
     this.lblSeparator.TabIndex = 6;
     this.lblSeparator.Text = PropagationResource.PROP_FIELD_SEPARATOR;
     this.cmbSeparator.DropDownStyle = ComboBoxStyle.DropDownList;
     this.cmbSeparator.FormattingEnabled = true;
     this.cmbSeparator.Location = new System.Drawing.Point(0x115, 0x2d);
     this.cmbSeparator.Margin = new Padding(3, 4, 3, 4);
     this.cmbSeparator.Name = "cmbSeparator";
     this.cmbSeparator.Size = new Size(80, 0x17);
     this.cmbSeparator.TabIndex = 7;
     this.lblPreview.AutoSize = true;
     this.lblPreview.Location = new System.Drawing.Point(0x11f, 0x60);
     this.lblPreview.Name = "lblPreview";
     this.lblPreview.Size = new Size(0x57, 15);
     this.lblPreview.TabIndex = 9;
     this.lblPreview.Text = PropagationResource.PROP_FIELD_MAPPING;
     this.btnImport.Anchor = AnchorStyles.Right | AnchorStyles.Bottom;
     this.btnImport.Location = new System.Drawing.Point(0x1e2, 0x16b);
     this.btnImport.Margin = new Padding(3, 4, 3, 4);
     this.btnImport.Name = "btnImport";
     this.btnImport.Size = new Size(0x4b, 0x17);
     this.btnImport.TabIndex = 10;
     this.btnImport.Text = PropagationResource.PROP_IMPORT;
     this.btnImport.UseVisualStyleBackColor = true;
     this.btnImport.Click += new EventHandler(this.btnImport_Click);
     this.btnCancel.Anchor = AnchorStyles.Right | AnchorStyles.Bottom;
     this.btnCancel.Location = new System.Drawing.Point(0x251, 0x16b);
     this.btnCancel.Margin = new Padding(3, 4, 3, 4);
     this.btnCancel.Name = "btnCancel";
     this.btnCancel.Size = new Size(0x4b, 0x17);
     this.btnCancel.TabIndex = 11;
     this.btnCancel.Text = GeneralResource.BUTTON_CANCEL;
     this.btnCancel.UseVisualStyleBackColor = true;
     this.btnCancel.Click += new EventHandler(this.btnCancel_Click);
     this.dgvPreview.AllowUserToAddRows = false;
     this.dgvPreview.AllowUserToDeleteRows = false;
     style.BackColor = SystemColors.MenuBar;
     this.dgvPreview.Anchor = AnchorStyles.Right | AnchorStyles.Left | AnchorStyles.Bottom | AnchorStyles.Top;
     this.dgvPreview.ColumnHeadersHeightSizeMode = DataGridViewColumnHeadersHeightSizeMode.AutoSize;
     this.dgvPreview.Location = new System.Drawing.Point(290, 0x73);
     this.dgvPreview.Margin = new Padding(3, 4, 3, 4);
     this.dgvPreview.Name = "dgvPreview";
     this.dgvPreview.RowHeadersWidth = 100;
     this.dgvPreview.RowTemplate.Height = 0x17;
     this.dgvPreview.Size = new Size(0x17a, 230);
     this.dgvPreview.TabIndex = 12;
     this.dgvPreview.DataError += new DataGridViewDataErrorEventHandler(this.dgvPreview_DataError);
     this.lblOpenReLosses.AutoSize = true;
     this.lblOpenReLosses.Location = new System.Drawing.Point(10, 0x58);
     this.lblOpenReLosses.Name = "lblOpenReLosses";
     this.lblOpenReLosses.Size = new Size(0x34, 15);
     this.lblOpenReLosses.TabIndex = 4;
     this.lblOpenReLosses.Text = PropagationResource.PROP_LOSSES;
     this.lblOpenReGain.AutoSize = true;
     this.lblOpenReGain.Location = new System.Drawing.Point(10, 0x35);
     this.lblOpenReGain.Name = "lblOpenReGain";
     this.lblOpenReGain.Size = new Size(0x24, 15);
     this.lblOpenReGain.TabIndex = 2;
     this.lblOpenReGain.Text = PropagationResource.PROP_GAIN;
     this.lblFrequency.AutoSize = true;
     this.lblFrequency.Location = new System.Drawing.Point(9, 0x4e);
     this.lblFrequency.Name = "lblFrequency";
     this.lblFrequency.Size = new Size(0x43, 15);
     this.lblFrequency.TabIndex = 2;
     this.lblFrequency.Text = PropagationResource.PROP_FREQUENCY;
     this.lblTransmitterName.AutoSize = true;
     this.lblTransmitterName.Location = new System.Drawing.Point(8, 0x1d);
     this.lblTransmitterName.Name = "lblTransmitterName";
     this.lblTransmitterName.Size = new Size(0x2c, 15);
     this.lblTransmitterName.TabIndex = 0;
     this.lblTransmitterName.Text = PropagationResource.PROP_NAME;
     //this.groupBox1.Controls.Add(base.cbCellName);
     this.groupBox1.Controls.Add(this.ntxtFrequency);
     this.groupBox1.Controls.Add(this.lblFrequency);
     this.groupBox1.Controls.Add(this.lblTransmitterName);
     this.groupBox1.Location = new System.Drawing.Point(15, 0x60);
     this.groupBox1.Margin = new Padding(3, 4, 3, 4);
     this.groupBox1.Name = "groupBox1";
     this.groupBox1.Padding = new Padding(3, 4, 3, 4);
     this.groupBox1.Size = new Size(0xe9, 0x6b);
     this.groupBox1.TabIndex = 14;
     this.groupBox1.TabStop = false;
     this.groupBox1.Text = PropagationResource.PROP_REFERENCE_TRANSMITTER;
     base.cbCellName.DropDownStyle = ComboBoxStyle.DropDownList;
     base.cbCellName.FormattingEnabled = true;
     base.cbCellName.Location = new System.Drawing.Point(0x57, 0x1d);
     base.cbCellName.Margin = new Padding(3, 4, 3, 4);
     base.cbCellName.Name = "cbCellName";
     base.cbCellName.Size = new Size(0x8a, 0x17);
     base.cbCellName.TabIndex = 4;
     base.cbCellName.SelectedIndexChanged += new EventHandler(this.cbCellName_SelectedIndexChanged);
     this.ntxtFrequency.AutoSize = true;
     this.ntxtFrequency.BackColor = SystemColors.ButtonHighlight;
     this.ntxtFrequency.BorderStyle = BorderStyle.Fixed3D;
     this.ntxtFrequency.CharExtensition = GeneralResource.UNIT_MHZ;
     this.ntxtFrequency.FloatPlaces = 0;
     this.ntxtFrequency.Font = new Font("Arial", 9f, FontStyle.Regular, GraphicsUnit.Point, 0);
     //bits = new int[4];
     bits[0] = 1;
     this.ntxtFrequency.Increment = new decimal(bits);
     this.ntxtFrequency.Location = new System.Drawing.Point(0x57, 70);
     this.ntxtFrequency.Margin = new Padding(3, 4, 3, 0);
     //bits = new int[4];
     bits[0] = 0x8000;
     this.ntxtFrequency.Maximum = new decimal(bits);
     //bits = new int[4];
     bits[0] = 0x7fff;
     bits[3] = -2147483648;
     this.ntxtFrequency.Minimum = new decimal(bits);
     this.ntxtFrequency.Name = "ntxtFrequency";
     this.ntxtFrequency.ReadOnly = false;
     this.ntxtFrequency.Size = new Size(0x8a, 0x17);
     this.ntxtFrequency.TabIndex = 3;
     //bits = new int[4];
     bits[0] = 0x6a4;
     bits[3] = 0;
     this.ntxtFrequency.Value = new decimal(bits);
     this.ntxtFrequency.Validating += new CancelEventHandler(this.ntxtFrequencyValidating);
     this.lblOReceiverHeight.AutoSize = true;
     this.lblOReceiverHeight.Location = new System.Drawing.Point(8, 20);
     this.lblOReceiverHeight.Name = "lblOReceiverHeight";
     this.lblOReceiverHeight.Size = new Size(0x2e, 15);
     this.lblOReceiverHeight.TabIndex = 0;
     this.lblOReceiverHeight.Text = PropagationResource.PROP_HEIGHT;
     this.gbOReceiver.Controls.Add(this.ntxtReceiverHeight);
     this.gbOReceiver.Controls.Add(this.ntxtReceiverLosses);
     this.gbOReceiver.Controls.Add(this.ntxtReceiverGain);
     this.gbOReceiver.Controls.Add(this.lblOpenReLosses);
     this.gbOReceiver.Controls.Add(this.lblOpenReGain);
     this.gbOReceiver.Controls.Add(this.lblOReceiverHeight);
     this.gbOReceiver.Location = new System.Drawing.Point(15, 0xdd);
     this.gbOReceiver.Margin = new Padding(3, 4, 3, 4);
     this.gbOReceiver.Name = "gbOReceiver";
     this.gbOReceiver.Padding = new Padding(3, 4, 3, 4);
     this.gbOReceiver.Size = new Size(0xe9, 0x7c);
     this.gbOReceiver.TabIndex = 15;
     this.gbOReceiver.TabStop = false;
     this.gbOReceiver.Text = PropagationResource.PROP_RECEIVER;
     this.imageList1.ColorDepth = ColorDepth.Depth8Bit;
     this.imageList1.ImageSize = new Size(0x10, 0x10);
     this.imageList1.TransparentColor = Color.Transparent;
     this.ntxtReceiverGain.AutoSize = true;
     this.ntxtReceiverGain.BackColor = SystemColors.ButtonHighlight;
     this.ntxtReceiverGain.BorderStyle = BorderStyle.Fixed3D;
     this.ntxtReceiverGain.CharExtensition = GeneralResource.UNIT_DB;
     this.ntxtReceiverGain.FloatPlaces = 0;
     this.ntxtReceiverGain.Font = new Font("Arial", 9f, FontStyle.Regular, GraphicsUnit.Point, 0);
     //bits = new int[4];
     bits[0] = 1;
     this.ntxtReceiverGain.Increment = new decimal(bits);
     this.ntxtReceiverGain.Location = new System.Drawing.Point(0x59, 0x35);
     this.ntxtReceiverGain.Margin = new Padding(3, 4, 3, 0);
     //bits = new int[4];
     bits[0] = 0x8000;
     this.ntxtReceiverGain.Maximum = new decimal(bits);
     //bits = new int[4];
     bits[0] = 0x7fff;
     bits[3] = -2147483648;
     this.ntxtReceiverGain.Minimum = new decimal(bits);
     this.ntxtReceiverGain.Name = "ntxtReceiverGain";
     this.ntxtReceiverGain.ReadOnly = false;
     this.ntxtReceiverGain.Size = new Size(0x8a, 0x17);
     this.ntxtReceiverGain.TabIndex = 5;
     //bits = new int[4];
     bits[0] = 0;
     bits[3] = 0;
     this.ntxtReceiverGain.Value = new decimal(bits);
     this.ntxtReceiverGain.Validating += new CancelEventHandler(this.ntxtReceiverGainValidating);
     this.ntxtReceiverLosses.AutoSize = true;
     this.ntxtReceiverLosses.BackColor = SystemColors.ButtonHighlight;
     this.ntxtReceiverLosses.BorderStyle = BorderStyle.Fixed3D;
     this.ntxtReceiverLosses.CharExtensition = GeneralResource.UNIT_DB;
     this.ntxtReceiverLosses.FloatPlaces = 0;
     this.ntxtReceiverLosses.Font = new Font("Arial", 9f, FontStyle.Regular, GraphicsUnit.Point, 0);
     //bits = new int[4];
     bits[0] = 1;
     this.ntxtReceiverLosses.Increment = new decimal(bits);
     this.ntxtReceiverLosses.Location = new System.Drawing.Point(0x57, 0x58);
     this.ntxtReceiverLosses.Margin = new Padding(3, 4, 3, 0);
     //bits = new int[4];
     bits[0] = 0x8000;
     this.ntxtReceiverLosses.Maximum = new decimal(bits);
     //bits = new int[4];
     bits[0] = 0x7fff;
     bits[3] = -2147483648;
     this.ntxtReceiverLosses.Minimum = new decimal(bits);
     this.ntxtReceiverLosses.Name = "ntxtReceiverLosses";
     this.ntxtReceiverLosses.ReadOnly = false;
     this.ntxtReceiverLosses.Size = new Size(0x8a, 0x17);
     this.ntxtReceiverLosses.TabIndex = 6;
     //bits = new int[4];
     bits[0] = 0;
     bits[3] = 0;
     this.ntxtReceiverLosses.Value = new decimal(bits);
     this.ntxtReceiverLosses.Validating += new CancelEventHandler(this.ntxtReceiverLossesValidating);
     this.ntxtReceiverHeight.AutoSize = true;
     this.ntxtReceiverHeight.BackColor = SystemColors.ButtonHighlight;
     this.ntxtReceiverHeight.BorderStyle = BorderStyle.Fixed3D;
     this.ntxtReceiverHeight.CharExtensition = GeneralResource.UNIT_METER;
     this.ntxtReceiverHeight.FloatPlaces = 0;
     this.ntxtReceiverHeight.Font = new Font("Arial", 9f, FontStyle.Regular, GraphicsUnit.Point, 0);
     //bits = new int[4];
     bits[0] = 1;
     bits[3] = 0;
     this.ntxtReceiverHeight.Increment = new decimal(bits);
     this.ntxtReceiverHeight.Location = new System.Drawing.Point(0x57, 20);
     this.ntxtReceiverHeight.Margin = new Padding(3, 4, 3, 0);
     //bits = new int[4];
     bits[0] = 0x8000;
     this.ntxtReceiverHeight.Maximum = new decimal(bits);
     //bits = new int[4];
     bits[0] = 0x7fff;
     bits[3] = -2147483648;
     this.ntxtReceiverHeight.Minimum = new decimal(bits);
     this.ntxtReceiverHeight.Name = "ntxtReceiverHeight";
     this.ntxtReceiverHeight.ReadOnly = false;
     this.ntxtReceiverHeight.Size = new Size(0x8a, 0x17);
     this.ntxtReceiverHeight.TabIndex = 7;
     //bits = new int[4];
     bits[0] = 15;
     bits[3] = 0x10000;
     this.ntxtReceiverHeight.Value = new decimal(bits);
     this.ntxtReceiverHeight.Validating += new CancelEventHandler(this.ntxtReceiverHeightValidating);
     base.isAutoMatchCellByPCICheckBox.AutoSize = true;
     base.isAutoMatchCellByPCICheckBox.Location = new System.Drawing.Point(0x187, 0x31);
     base.isAutoMatchCellByPCICheckBox.Name = "isAutoMatchCellByPCICheckBox";
     base.isAutoMatchCellByPCICheckBox.Size = new Size(0xa6, 0x13);
     base.isAutoMatchCellByPCICheckBox.TabIndex = 0x10;
     base.isAutoMatchCellByPCICheckBox.Text = PropagationResource.PROP_AUTOMATCHCELLBYPCI;
     base.isAutoMatchCellByPCICheckBox.Checked = false;
     base.isAutoMatchCellByPCICheckBox.UseVisualStyleBackColor = true;
     base.isAutoMatchCellByPCICheckBox.CheckedChanged += new EventHandler(this.checkBox1_CheckedChanged);
     base.AutoScaleDimensions = new SizeF(7f, 15f);
     //base.AutoScaleMode = AutoScaleMode.Font;
     base.ClientSize = new Size(0x2b4, 0x18f);
     base.Controls.Add(base.isAutoMatchCellByPCICheckBox);
     base.Controls.Add(this.groupBox1);
     base.Controls.Add(this.gbOReceiver);
     base.Controls.Add(this.dgvPreview);
     base.Controls.Add(this.btnCancel);
     base.Controls.Add(this.lblPreview);
     base.Controls.Add(this.btnImport);
     base.Controls.Add(this.cmbSeparator);
     base.Controls.Add(this.lblSeparator);
     base.Controls.Add(this.nmcFirst);
     base.Controls.Add(this.lblFirst);
     base.Controls.Add(this.btnLoad);
     base.Controls.Add(this.btnSave);
     base.Controls.Add(this.tbxConfig);
     base.Controls.Add(this.lblConfig);
     this.Font = new Font("Arial", 9f, FontStyle.Regular, GraphicsUnit.Point, 0);
     base.Margin = new Padding(3, 4, 3, 4);
     base.MaximizeBox = false;
     base.MinimizeBox = false;
     base.Name = "DTFileImport";
     base.ShowInTaskbar = false;
     //base.SizeGripStyle = SizeGripStyle.Show;
     base.StartPosition = FormStartPosition.CenterScreen;
     this.Text = PropagationResource.PROP_DATAIMPORT;
     base.ShowIcon = false;
     this.MinimumSize = new Size(0x2b4, 0x18f);
     base.Load += new EventHandler(this.DataImport_Load);
     this.nmcFirst.EndInit();
     ((ISupportInitialize)this.dgvPreview).EndInit();
     this.groupBox1.ResumeLayout(false);
     this.groupBox1.PerformLayout();
     this.gbOReceiver.ResumeLayout(false);
     this.gbOReceiver.PerformLayout();
     base.ResumeLayout(false);
     base.PerformLayout();
     base.KeyPreview = true;
     base.KeyDown += new KeyEventHandler(this.DTFileImportForm_KeyDown);
 }
Пример #6
0
        private void InitializeComponent()
        {
            this.pnlBottom = new Panel();
            this.btnApply = new Button();
            this.btnCancel = new Button();
            this.btnOK = new Button();
            this.TDProperties = new TabPage();
            this.TDPropertiesgroupBox = new GroupBox();
            this.DLCECountlbl = new Label();
            this.DLCECountnumeric = new NumericUpDownBase();
            this.ULCECountlbl = new Label();
            this.ULCECountnumeric = new NumericUpDownBase();
            this.tbpGeneral = new TabPage();
            this.btnBTS = new Button();
            this.cmbBTS = new ComboBox();
            this.labBts = new Label();
            this.lblComment = new Label();
            this.lblName = new Label();
            this.tbxName = new TextBox();
            this.tbxComment = new TextBox();
            this.gbxAltitude = new GroupBox();
            this.tbxDTM = new TextBox();
            this.nmcReal = new NumericUpDownBase();
            this.lblDTM = new Label();
            this.lblReal = new Label();
            this.gbxPosition = new GroupBox();
            this.tbxY = new TextBox();
            this.tbxX = new TextBox();
            this.lblY = new Label();
            this.lblX = new Label();
            this.SiteTablControl = new TabControl();
            this.UMTSProperties = new TabPage();
            this.groupBox1 = new GroupBox();
            this.SHOGainRatetxt = new TextBox();
            this.SHOGainRateLbl = new Label();
            this.SHODLCEPreservNumeric = new NumericUpDownBase();
            this.SHOULCEPreservNumeric = new NumericUpDownBase();
            this.SHODLCEPreservNumlbl = new Label();
            this.SHOULCEPreservNumLabel = new Label();
            this.UMTSDLCECountlbl = new Label();
            this.UMTSDLCECountnumeric = new NumericUpDownBase();
            this.UMTSULCECountlbl = new Label();
            this.UMTSULCECountnumeric = new NumericUpDownBase();
            this.tbpOther = new TabPage();
            this.pnlOther = new Panel();
            this.textBox1 = new TextBox();
            this.textBox2 = new TextBox();
            this.label1 = new Label();
            this.label2 = new Label();
            this.pnlBottom.SuspendLayout();
            this.TDProperties.SuspendLayout();
            this.TDPropertiesgroupBox.SuspendLayout();
            this.DLCECountnumeric.BeginInit();
            this.ULCECountnumeric.BeginInit();
            this.tbpGeneral.SuspendLayout();
            this.gbxAltitude.SuspendLayout();
            this.nmcReal.BeginInit();
            this.gbxPosition.SuspendLayout();
            this.SiteTablControl.SuspendLayout();
            this.UMTSProperties.SuspendLayout();
            this.groupBox1.SuspendLayout();
            this.SHODLCEPreservNumeric.BeginInit();
            this.SHOULCEPreservNumeric.BeginInit();
            this.UMTSDLCECountnumeric.BeginInit();
            this.UMTSULCECountnumeric.BeginInit();
            this.tbpOther.SuspendLayout();
            base.SuspendLayout();
            this.pnlBottom.Controls.Add(this.btnApply);
            this.pnlBottom.Controls.Add(this.btnCancel);
            this.pnlBottom.Controls.Add(this.btnOK);
            this.pnlBottom.Dock = DockStyle.Bottom;
            this.pnlBottom.Location = new System.Drawing.Point(0, 0x169);
            this.pnlBottom.Margin = new Padding(3, 4, 3, 4);
            this.pnlBottom.Name = "pnlBottom";
            this.pnlBottom.Size = new Size(0x1b6, 50);
            this.pnlBottom.TabIndex = 0;
            this.btnApply.Enabled = false;
            this.btnApply.Location = new System.Drawing.Point(0x158, 14);
            this.btnApply.Margin = new Padding(3, 4, 3, 4);
            this.btnApply.Name = "btnApply";
            this.btnApply.Size = new Size(0x4b, 0x17);
            this.btnApply.TabIndex = 2;
            this.btnApply.Text = NEResource.NE_APPLY;
            this.btnApply.UseVisualStyleBackColor = true;
            this.btnApply.Click += new EventHandler(this.btnApply_Click);
            this.btnCancel.Location = new System.Drawing.Point(0x103, 14);
            this.btnCancel.Margin = new Padding(3, 4, 3, 4);
            this.btnCancel.Name = "btnCancel";
            this.btnCancel.Size = new Size(0x4b, 0x17);
            this.btnCancel.TabIndex = 1;
            this.btnCancel.Text = NEResource.NE_CANCEL;
            this.btnCancel.UseVisualStyleBackColor = true;
            this.btnCancel.Click += new EventHandler(this.btnCancel_Click);
            this.btnOK.Location = new System.Drawing.Point(0xb2, 14);
            this.btnOK.Margin = new Padding(3, 4, 3, 4);
            this.btnOK.Name = "btnOK";
            this.btnOK.Size = new Size(0x4b, 0x17);
            this.btnOK.TabIndex = 0;
            this.btnOK.Text = GeneralResource.BUTTON_OK;
            this.btnOK.UseVisualStyleBackColor = true;
            this.btnOK.Click += new EventHandler(this.btnOK_Click);
            this.TDProperties.Controls.Add(this.TDPropertiesgroupBox);
            this.TDProperties.Location = new System.Drawing.Point(4, 0x18);
            this.TDProperties.Name = "TDProperties";
            this.TDProperties.Padding = new Padding(3);
            this.TDProperties.Size = new Size(0x18f, 0x145);
            this.TDProperties.TabIndex = 2;
            this.TDProperties.Text = NEResource.NE_TDPROPERTIES;
            this.TDProperties.UseVisualStyleBackColor = true;
            this.TDPropertiesgroupBox.Controls.Add(this.DLCECountlbl);
            this.TDPropertiesgroupBox.Controls.Add(this.DLCECountnumeric);
            this.TDPropertiesgroupBox.Controls.Add(this.ULCECountlbl);
            this.TDPropertiesgroupBox.Controls.Add(this.ULCECountnumeric);
            this.TDPropertiesgroupBox.Location = new System.Drawing.Point(11, 6);
            this.TDPropertiesgroupBox.Name = "TDPropertiesgroupBox";
            this.TDPropertiesgroupBox.Size = new Size(0x180, 0x10f);
            this.TDPropertiesgroupBox.TabIndex = 7;
            this.TDPropertiesgroupBox.TabStop = false;
            this.TDPropertiesgroupBox.Text = NEResource.NE_TDPROPERTIES;
            this.DLCECountlbl.AutoSize = true;
            this.DLCECountlbl.Location = new System.Drawing.Point(11, 0x3e);
            this.DLCECountlbl.Name = "DLCECountlbl";
            this.DLCECountlbl.Size = new Size(0x63, 15);
            this.DLCECountlbl.TabIndex = 5;
            this.DLCECountlbl.Text = NEResource.NE_DL_CETOTALNUM;
            this.DLCECountnumeric.BackColor = SystemColors.Window;
            this.DLCECountnumeric.Location = new System.Drawing.Point(0x75, 0x38);
            this.DLCECountnumeric.Margin = new Padding(3, 4, 3, 4);
            int[] bits = new int[4];
            bits[0] = 0x200;
            this.DLCECountnumeric.Maximum = new decimal(bits);
            this.DLCECountnumeric.Name = "DLCECountnumeric";
            this.DLCECountnumeric.Size = new Size(0xfe, 0x15);
            this.DLCECountnumeric.TabIndex = 6;
            this.DLCECountnumeric.TextAlign = HorizontalAlignment.Right;
            int[] bits1 = new int[4];
            bits1[0] = 0x100;
            this.DLCECountnumeric.Value = new decimal(bits);
            this.DLCECountnumeric.ValueChanged += new EventHandler(this.ActiveApplyButton);
            this.DLCECountnumeric.KeyDown += new KeyEventHandler(this.numeric_KeyDown);
//            this.ULCECountlbl.AccessibleRole = AccessibleRole.None;
            this.ULCECountlbl.AutoSize = true;
            this.ULCECountlbl.Location = new System.Drawing.Point(11, 0x1a);
            this.ULCECountlbl.Name = "ULCECountlbl";
            this.ULCECountlbl.Size = new Size(0x7a, 15);
            this.ULCECountlbl.TabIndex = 0;
            this.ULCECountlbl.Text = NEResource.NE_UL_CETOTALNUM;
            this.ULCECountnumeric.BackColor = SystemColors.Window;
            this.ULCECountnumeric.Location = new System.Drawing.Point(0x75, 0x15);
            this.ULCECountnumeric.Margin = new Padding(3, 4, 3, 4);
            int[] bits2 = new int[4];
            bits2[0] = 0x200;
            this.ULCECountnumeric.Maximum = new decimal(bits);
            this.ULCECountnumeric.Name = "ULCECountnumeric";
            this.ULCECountnumeric.Size = new Size(0xfe, 0x15);
            this.ULCECountnumeric.TabIndex = 4;
            this.ULCECountnumeric.TextAlign = HorizontalAlignment.Right;
            int[] bits3 = new int[4];
            bits3[0] = 0x100;
            this.ULCECountnumeric.Value = new decimal(bits);
            this.ULCECountnumeric.ValueChanged += new EventHandler(this.ActiveApplyButton);
            this.ULCECountnumeric.KeyDown += new KeyEventHandler(this.numeric_KeyDown);
            this.tbpGeneral.Controls.Add(this.btnBTS);
            this.tbpGeneral.Controls.Add(this.cmbBTS);
            this.tbpGeneral.Controls.Add(this.labBts);
            this.tbpGeneral.Controls.Add(this.lblComment);
            this.tbpGeneral.Controls.Add(this.lblName);
            this.tbpGeneral.Controls.Add(this.tbxName);
            this.tbpGeneral.Controls.Add(this.tbxComment);
            this.tbpGeneral.Controls.Add(this.gbxAltitude);
            this.tbpGeneral.Controls.Add(this.gbxPosition);
            this.tbpGeneral.Location = new System.Drawing.Point(4, 0x18);
            this.tbpGeneral.Margin = new Padding(3, 4, 3, 4);
            this.tbpGeneral.Name = "tbpGeneral";
            this.tbpGeneral.Padding = new Padding(3, 4, 3, 4);
            this.tbpGeneral.Size = new Size(0x18f, 0x145);
            this.tbpGeneral.TabIndex = 0;
            this.tbpGeneral.Text = GeneralResource.GENERAL_GENERAL;
            this.tbpGeneral.UseVisualStyleBackColor = true;
            this.btnBTS.Location = new System.Drawing.Point(0x167, 0x2a);
            this.btnBTS.Margin = new Padding(3, 4, 3, 4);
            this.btnBTS.Name = "btnBTS";
            this.btnBTS.Size = new Size(0x1c, 0x17);
            this.btnBTS.TabIndex = 8;
            this.btnBTS.Text = "...";
            this.btnBTS.UseVisualStyleBackColor = true;
            this.btnBTS.Click += new EventHandler(this.btnBTS_Click);
            this.cmbBTS.DropDownStyle = ComboBoxStyle.DropDownList;
            this.cmbBTS.FormattingEnabled = true;
            this.cmbBTS.Location = new System.Drawing.Point(0x4f, 0x29);
            this.cmbBTS.Name = "cmbBTS";
            this.cmbBTS.Size = new Size(0x111, 0x17);
            this.cmbBTS.TabIndex = 7;
            this.labBts.AutoSize = true;
            this.labBts.Location = new System.Drawing.Point(6, 0x2c);
            this.labBts.Name = "labBts";
            this.labBts.Size = new Size(0x43, 15);
            this.labBts.TabIndex = 6;
            this.labBts.Text = NEResource.NE_EQUIPMENT;
            this.lblComment.AutoSize = true;
            this.lblComment.Location = new System.Drawing.Point(6, 0xac);
            this.lblComment.Name = "lblComment";
            this.lblComment.Size = new Size(0x48, 15);
            this.lblComment.TabIndex = 5;
            this.lblComment.Text = NEResource.NE_COMMENTS_PLUS;
            this.lblName.AutoSize = true;
            this.lblName.Location = new System.Drawing.Point(6, 9);
            this.lblName.Name = "lblName";
            this.lblName.Size = new Size(0x29, 15);
            this.lblName.TabIndex = 4;
            this.lblName.Text = NEResource.NE_NAME;
            this.tbxName.Location = new System.Drawing.Point(0x4f, 6);
            this.tbxName.Margin = new Padding(3, 4, 3, 4);
            this.tbxName.Name = "tbxName";
            this.tbxName.Size = new Size(0x134, 0x15);
            this.tbxName.TabIndex = 3;
            this.tbxName.TextChanged += new EventHandler(this.ActiveApplyButton);
            this.tbxComment.Location = new System.Drawing.Point(6, 0xbf);
            this.tbxComment.Margin = new Padding(3, 4, 3, 4);
            this.tbxComment.MaxLength = 300;
            this.tbxComment.Multiline = true;
            this.tbxComment.Name = "tbxComment";
            this.tbxComment.ScrollBars = ScrollBars.Vertical;
            this.tbxComment.Size = new Size(0x183, 0x71);
            this.tbxComment.TabIndex = 2;
            this.tbxComment.TextChanged += new EventHandler(this.ActiveApplyButton);
            this.gbxAltitude.Controls.Add(this.tbxDTM);
            this.gbxAltitude.Controls.Add(this.nmcReal);
            this.gbxAltitude.Controls.Add(this.lblDTM);
            this.gbxAltitude.Controls.Add(this.lblReal);
            this.gbxAltitude.Location = new System.Drawing.Point(0xd5, 0x49);
            this.gbxAltitude.Margin = new Padding(3, 4, 3, 4);
            this.gbxAltitude.Name = "gbxAltitude";
            this.gbxAltitude.Padding = new Padding(3, 4, 3, 4);
            this.gbxAltitude.Size = new Size(180, 0x5f);
            this.gbxAltitude.TabIndex = 1;
            this.gbxAltitude.TabStop = false;
            this.gbxAltitude.Text = NEResource.NE_ALTITUDE_M;
            this.tbxDTM.Enabled = false;
            this.tbxDTM.Location = new System.Drawing.Point(0x30, 0x40);
            this.tbxDTM.Margin = new Padding(3, 4, 3, 4);
            this.tbxDTM.Name = "tbxDTM";
            this.tbxDTM.Size = new Size(0x7e, 0x15);
            this.tbxDTM.TabIndex = 3;
            this.tbxDTM.TextAlign = HorizontalAlignment.Right;
            this.nmcReal.BackColor = SystemColors.Window;
            this.nmcReal.Location = new System.Drawing.Point(0x30, 20);
            this.nmcReal.Margin = new Padding(3, 4, 3, 4);
            this.nmcReal.Name = "nmcReal";
            this.nmcReal.Size = new Size(0x7e, 0x15);
            this.nmcReal.TabIndex = 2;
            this.nmcReal.TextAlign = HorizontalAlignment.Right;
            this.nmcReal.ValueChanged += new EventHandler(this.ActiveApplyButton);
            this.nmcReal.KeyDown += new KeyEventHandler(this.numeric_KeyDown);
            this.lblDTM.AutoSize = true;
            this.lblDTM.Location = new System.Drawing.Point(6, 0x40);
            this.lblDTM.Name = "lblDTM";
            this.lblDTM.Size = new Size(0x23, 15);
            this.lblDTM.TabIndex = 1;
            this.lblDTM.Text = NEResource.NE_DTM;
            this.lblReal.AutoSize = true;
            this.lblReal.Location = new System.Drawing.Point(6, 0x17);
            this.lblReal.Name = "lblReal";
            this.lblReal.Size = new Size(0x24, 15);
            this.lblReal.TabIndex = 0;
            this.lblReal.Text = NEResource.NE_REAL;
            this.gbxPosition.Controls.Add(this.tbxY);
            this.gbxPosition.Controls.Add(this.tbxX);
            this.gbxPosition.Controls.Add(this.lblY);
            this.gbxPosition.Controls.Add(this.lblX);
            this.gbxPosition.Location = new System.Drawing.Point(6, 0x49);
            this.gbxPosition.Margin = new Padding(3, 4, 3, 4);
            this.gbxPosition.Name = "gbxPosition";
            this.gbxPosition.Padding = new Padding(3, 4, 3, 4);
            this.gbxPosition.Size = new Size(0xc9, 0x5f);
            this.gbxPosition.TabIndex = 0;
            this.gbxPosition.TabStop = false;
            this.gbxPosition.Text = NEResource.NE_POSITION_M;
            this.tbxY.Location = new System.Drawing.Point(0x58, 0x40);
            this.tbxY.Margin = new Padding(3, 4, 3, 4);
            this.tbxY.Name = "tbxY";
            this.tbxY.Size = new Size(0x6b, 0x15);
            this.tbxY.TabIndex = 3;
            this.tbxY.TextAlign = HorizontalAlignment.Right;
            this.tbxY.TextChanged += new EventHandler(this.ActiveApplyButton);
            this.tbxX.Location = new System.Drawing.Point(0x58, 20);
            this.tbxX.Margin = new Padding(3, 4, 3, 4);
            this.tbxX.Name = "tbxX";
            this.tbxX.Size = new Size(0x6b, 0x15);
            this.tbxX.TabIndex = 2;
            this.tbxX.TextAlign = HorizontalAlignment.Right;
            this.tbxX.TextChanged += new EventHandler(this.ActiveApplyButton);
            this.lblY.AutoSize = true;
            this.lblY.Location = new System.Drawing.Point(11, 0x40);
            this.lblY.Name = "lblY";
            this.lblY.Size = new Size(0x11, 15);
            this.lblY.TabIndex = 1;
            this.lblY.Text = NEResource.NE_Y_PLUS;
            this.lblX.AutoSize = true;
            this.lblX.Location = new System.Drawing.Point(11, 0x17);
            this.lblX.Name = "lblX";
            this.lblX.Size = new Size(0x11, 15);
            this.lblX.TabIndex = 0;
            this.lblX.Text = NEResource.NE_X_PLUS;
            this.SiteTablControl.Controls.Add(this.tbpGeneral);
            this.SiteTablControl.Controls.Add(this.TDProperties);
            this.SiteTablControl.Controls.Add(this.UMTSProperties);
            this.SiteTablControl.Controls.Add(this.tbpOther);
            this.SiteTablControl.Location = new System.Drawing.Point(12, 14);
            this.SiteTablControl.Margin = new Padding(0x12);
            this.SiteTablControl.Name = "SiteTablControl";
            this.SiteTablControl.SelectedIndex = 0;
            this.SiteTablControl.Size = new Size(0x197, 0x161);
            this.SiteTablControl.TabIndex = 1;
            this.UMTSProperties.Controls.Add(this.groupBox1);
            this.UMTSProperties.Location = new System.Drawing.Point(4, 0x18);
            this.UMTSProperties.Name = "UMTSProperties";
            this.UMTSProperties.Padding = new Padding(3);
            this.UMTSProperties.Size = new Size(0x18f, 0x145);
            this.UMTSProperties.TabIndex = 4;
            this.UMTSProperties.Text = NEResource.NE_UMTSPROPERTIES;
            this.UMTSProperties.UseVisualStyleBackColor = true;
            this.groupBox1.Controls.Add(this.SHOGainRatetxt);
            this.groupBox1.Controls.Add(this.SHOGainRateLbl);
            this.groupBox1.Controls.Add(this.SHODLCEPreservNumeric);
            this.groupBox1.Controls.Add(this.SHOULCEPreservNumeric);
            this.groupBox1.Controls.Add(this.SHODLCEPreservNumlbl);
            this.groupBox1.Controls.Add(this.SHOULCEPreservNumLabel);
            this.groupBox1.Controls.Add(this.UMTSDLCECountlbl);
            this.groupBox1.Controls.Add(this.UMTSDLCECountnumeric);
            this.groupBox1.Controls.Add(this.UMTSULCECountlbl);
            this.groupBox1.Controls.Add(this.UMTSULCECountnumeric);
            this.groupBox1.Location = new System.Drawing.Point(9, 7);
            this.groupBox1.Name = "groupBox1";
            this.groupBox1.Size = new Size(0x180, 270);
            this.groupBox1.TabIndex = 0;
            this.groupBox1.TabStop = false;
            this.groupBox1.Text = NEResource.NE_UMTSPROPERTIES;
            this.SHOGainRatetxt.Location = new System.Drawing.Point(0x98, 0x97);
            this.SHOGainRatetxt.Margin = new Padding(3, 4, 3, 4);
            this.SHOGainRatetxt.Name = "SHOGainRatetxt";
            this.SHOGainRatetxt.Size = new Size(220, 0x15);
            this.SHOGainRatetxt.TabIndex = 0x10;
            this.SHOGainRatetxt.TextAlign = HorizontalAlignment.Right;
            this.SHOGainRatetxt.TextChanged += new EventHandler(this.ActiveApplyButton);
            this.SHOGainRateLbl.AutoSize = true;
            this.SHOGainRateLbl.Location = new System.Drawing.Point(6, 0x9a);
            this.SHOGainRateLbl.Name = "SHOGainRateLbl";
            this.SHOGainRateLbl.Size = new Size(0x41, 15);
            this.SHOGainRateLbl.TabIndex = 15;
            this.SHOGainRateLbl.Text = NEResource.NE_SHOGAINRATE;
            this.SHODLCEPreservNumeric.BackColor = SystemColors.Window;
            this.SHODLCEPreservNumeric.Location = new System.Drawing.Point(0x98, 0x76);
            this.SHODLCEPreservNumeric.Margin = new Padding(3, 4, 3, 4);
            int[] bits4 = new int[4];
            bits4[0] = 0x200;
            this.SHODLCEPreservNumeric.Maximum = new decimal(bits);
            this.SHODLCEPreservNumeric.Name = "SHODLCEPreservNumeric";
            this.SHODLCEPreservNumeric.Size = new Size(220, 0x15);
            this.SHODLCEPreservNumeric.TabIndex = 14;
            this.SHODLCEPreservNumeric.TextAlign = HorizontalAlignment.Right;
            this.SHODLCEPreservNumeric.ValueChanged += new EventHandler(this.ActiveApplyButton);
            this.SHODLCEPreservNumeric.KeyDown += new KeyEventHandler(this.numeric_KeyDown);
            this.SHOULCEPreservNumeric.BackColor = SystemColors.Window;
            this.SHOULCEPreservNumeric.Location = new System.Drawing.Point(0x98, 0x55);
            this.SHOULCEPreservNumeric.Margin = new Padding(3, 4, 3, 4);
            int[] bits5 = new int[4];
            bits5[0] = 0x200;
            this.SHOULCEPreservNumeric.Maximum = new decimal(bits);
            this.SHOULCEPreservNumeric.Name = "SHOULCEPreservNumeric";
            this.SHOULCEPreservNumeric.Size = new Size(0xdd, 0x15);
            this.SHOULCEPreservNumeric.TabIndex = 13;
            this.SHOULCEPreservNumeric.TextAlign = HorizontalAlignment.Right;
            this.SHOULCEPreservNumeric.ValueChanged += new EventHandler(this.ActiveApplyButton);
            this.SHOULCEPreservNumeric.KeyDown += new KeyEventHandler(this.numeric_KeyDown);
            this.SHODLCEPreservNumlbl.AutoSize = true;
            this.SHODLCEPreservNumlbl.Location = new System.Drawing.Point(6, 0x79);
            this.SHODLCEPreservNumlbl.Name = "SHODLCEPreservNumlbl";
            this.SHODLCEPreservNumlbl.Size = new Size(0x97, 15);
            this.SHODLCEPreservNumlbl.TabIndex = 12;
            this.SHODLCEPreservNumlbl.Text = NEResource.NE_SHODLCEPRESERVNUM;
            this.SHOULCEPreservNumLabel.AutoSize = true;
            this.SHOULCEPreservNumLabel.Location = new System.Drawing.Point(6, 0x58);
            this.SHOULCEPreservNumLabel.Name = "SHOULCEPreservNumLabel";
            this.SHOULCEPreservNumLabel.Size = new Size(0x97, 15);
            this.SHOULCEPreservNumLabel.TabIndex = 11;
            this.SHOULCEPreservNumLabel.Text = NEResource.NE_SHOULCEPRESERVNUM;
            this.UMTSDLCECountlbl.AutoSize = true;
            this.UMTSDLCECountlbl.Location = new System.Drawing.Point(12, 0x37);
            this.UMTSDLCECountlbl.Name = "UMTSDLCECountlbl";
            this.UMTSDLCECountlbl.Size = new Size(0x63, 15);
            this.UMTSDLCECountlbl.TabIndex = 9;
            this.UMTSDLCECountlbl.Text = NEResource.NE_DL_CETOTALNUM;
            this.UMTSDLCECountnumeric.BackColor = SystemColors.Window;
            this.UMTSDLCECountnumeric.Location = new System.Drawing.Point(0x98, 0x34);
            this.UMTSDLCECountnumeric.Margin = new Padding(3, 4, 3, 4);
            int[] bits6 = new int[4];
            bits6[0] = 0x200;
            this.UMTSDLCECountnumeric.Maximum = new decimal(bits);
            this.UMTSDLCECountnumeric.Name = "UMTSDLCECountnumeric";
            this.UMTSDLCECountnumeric.Size = new Size(220, 0x15);
            this.UMTSDLCECountnumeric.TabIndex = 10;
            this.UMTSDLCECountnumeric.TextAlign = HorizontalAlignment.Right;
            int[] bits7 = new int[4];
            bits7[0] = 0x100;
            this.UMTSDLCECountnumeric.Value = new decimal(bits);
            this.UMTSDLCECountnumeric.ValueChanged += new EventHandler(this.ActiveApplyButton);
            this.UMTSDLCECountnumeric.KeyDown += new KeyEventHandler(this.numeric_KeyDown);
            this.UMTSULCECountlbl.AutoSize = true;
            this.UMTSULCECountlbl.Location = new System.Drawing.Point(12, 0x16);
            this.UMTSULCECountlbl.Name = "UMTSULCECountlbl";
            this.UMTSULCECountlbl.Size = new Size(0x7a, 15);
            this.UMTSULCECountlbl.TabIndex = 7;
            this.UMTSULCECountlbl.Text = NEResource.NE_UL_CETOTALNUM;
            this.UMTSULCECountnumeric.BackColor = SystemColors.Window;
            this.UMTSULCECountnumeric.Location = new System.Drawing.Point(0x98, 0x13);
            this.UMTSULCECountnumeric.Margin = new Padding(3, 4, 3, 4);
            int[] bits8 = new int[4];
            bits8[0] = 0x200;
            this.UMTSULCECountnumeric.Maximum = new decimal(bits);
            this.UMTSULCECountnumeric.Name = "UMTSULCECountnumeric";
            this.UMTSULCECountnumeric.Size = new Size(220, 0x15);
            this.UMTSULCECountnumeric.TabIndex = 8;
            this.UMTSULCECountnumeric.TextAlign = HorizontalAlignment.Right;
            int[] bits9 = new int[4];
            bits9[0] = 0x100;
            this.UMTSULCECountnumeric.Value = new decimal(bits);
            this.UMTSULCECountnumeric.ValueChanged += new EventHandler(this.ActiveApplyButton);
            this.UMTSULCECountnumeric.KeyDown += new KeyEventHandler(this.numeric_KeyDown);
            this.tbpOther.Controls.Add(this.pnlOther);
            this.tbpOther.Location = new System.Drawing.Point(4, 0x18);
            this.tbpOther.Name = "tbpOther";
            this.tbpOther.Padding = new Padding(3);
            this.tbpOther.Size = new Size(0x18f, 0x145);
            this.tbpOther.TabIndex = 3;
            this.tbpOther.Text = NEResource.NE_OTHER_PROPERTIES;
            this.tbpOther.UseVisualStyleBackColor = true;
            this.pnlOther.AutoScroll = true;
            this.pnlOther.BorderStyle = BorderStyle.FixedSingle;
            this.pnlOther.Dock = DockStyle.Fill;
            this.pnlOther.Location = new System.Drawing.Point(3, 3);
            this.pnlOther.Margin = new Padding(0);
            this.pnlOther.Name = "pnlOther";
            this.pnlOther.Size = new Size(0x189, 0x13f);
            this.pnlOther.TabIndex = 4;
            this.textBox1.Location = new System.Drawing.Point(50, 0x40);
            this.textBox1.Margin = new Padding(3, 4, 3, 4);
            this.textBox1.Name = "textBox1";
            this.textBox1.Size = new Size(130, 0x15);
            this.textBox1.TabIndex = 3;
            this.textBox1.TextAlign = HorizontalAlignment.Right;
            this.textBox2.Location = new System.Drawing.Point(50, 20);
            this.textBox2.Margin = new Padding(3, 4, 3, 4);
            this.textBox2.Name = "textBox2";
            this.textBox2.Size = new Size(130, 0x15);
            this.textBox2.TabIndex = 2;
            this.textBox2.TextAlign = HorizontalAlignment.Right;
            this.label1.AutoSize = true;
            this.label1.Location = new System.Drawing.Point(11, 0x40);
            this.label1.Name = "label1";
            this.label1.Size = new Size(0x11, 12);
            this.label1.TabIndex = 1;
            this.label1.Text = NEResource.NE_Y_PLUS;
            this.label2.AutoSize = true;
            this.label2.Location = new System.Drawing.Point(11, 0x17);
            this.label2.Name = "label2";
            this.label2.Size = new Size(0x11, 12);
            this.label2.TabIndex = 0;
            this.label2.Text = NEResource.NE_X_PLUS;
            base.AutoScaleDimensions = new SizeF(7f, 15f);
//            base.AutoScaleMode = AutoScaleMode.Font;
            base.ClientSize = new Size(0x1b6, 0x19b);
            base.Controls.Add(this.SiteTablControl);
            base.Controls.Add(this.pnlBottom);
            this.Font = new Font("Arial", 9f, FontStyle.Regular, GraphicsUnit.Point, 0);
//            base.FormBorderStyle = FormBorderStyle.FixedDialog;
            base.HelpButton = true;
            base.KeyPreview = true;
            base.Margin = new Padding(3, 4, 3, 4);
            base.MaximizeBox = false;
            base.MinimizeBox = false;
            base.Name = "SitePropertyForm";
            base.ShowInTaskbar = false;
            base.StartPosition = FormStartPosition.CenterScreen;
            this.Text = NEResource.NE_SITE_PROPERTIES;
            base.Load += new EventHandler(this.SitePropertyForm_Load);
            base.HelpButtonClicked += new CancelEventHandler(this.SelectTypeFrm_HelpButtonClicked);
            base.KeyDown += new KeyEventHandler(this.SelectTypeFrm_KeyDown);
            this.pnlBottom.ResumeLayout(false);
            this.TDProperties.ResumeLayout(false);
            this.TDPropertiesgroupBox.ResumeLayout(false);
            this.TDPropertiesgroupBox.PerformLayout();
            this.DLCECountnumeric.EndInit();
            this.ULCECountnumeric.EndInit();
            this.tbpGeneral.ResumeLayout(false);
            this.tbpGeneral.PerformLayout();
            this.gbxAltitude.ResumeLayout(false);
            this.gbxAltitude.PerformLayout();
            this.nmcReal.EndInit();
            this.gbxPosition.ResumeLayout(false);
            this.gbxPosition.PerformLayout();
            this.SiteTablControl.ResumeLayout(false);
            this.UMTSProperties.ResumeLayout(false);
            this.groupBox1.ResumeLayout(false);
            this.groupBox1.PerformLayout();
            this.SHODLCEPreservNumeric.EndInit();
            this.SHOULCEPreservNumeric.EndInit();
            this.UMTSDLCECountnumeric.EndInit();
            this.UMTSULCECountnumeric.EndInit();
            this.tbpOther.ResumeLayout(false);
            base.ResumeLayout(false);
        }
Пример #7
0
 private void InitializeComponent()
 {
     ComponentResourceManager manager = new ComponentResourceManager(typeof(PropertyForm));
     this.lblTop = new Label();
     this.lblLeft = new Label();
     this.lblWidth = new Label();
     this.lblHeight = new Label();
     this.lblComments = new Label();
     this.tbxContents = new TextBox();
     this.gbxProperty = new GroupBox();
     this.nmcHeight = new NumericUpDownBase();
     this.nmcTop = new NumericUpDownBase();
     this.nmcWidth = new NumericUpDownBase();
     this.nmcLeft = new NumericUpDownBase();
     this.btnFont = new Button();
     this.btnTime = new Button();
     this.btnDate = new Button();
     this.btnOk = new Button();
     this.btnCancel = new Button();
     this.fontDialog = new FontDialog();
     this.gbxProperty.SuspendLayout();
     this.nmcHeight.BeginInit();
     this.nmcTop.BeginInit();
     this.nmcWidth.BeginInit();
     this.nmcLeft.BeginInit();
     base.SuspendLayout();
     this.lblTop.AutoSize = true;
     this.lblTop.Location = new System.Drawing.Point(6, 0x2f);
     this.lblTop.Name = "lblTop";
     this.lblTop.Size = new Size(0x1d, 12);
     this.lblTop.TabIndex = 0;
     this.lblTop.Text = FrameworkResource.PROJECT_TOP;
     this.lblLeft.AutoSize = true;
     this.lblLeft.Location = new System.Drawing.Point(6, 20);
     this.lblLeft.Name = "lblLeft";
     this.lblLeft.Size = new Size(0x23, 12);
     this.lblLeft.TabIndex = 0;
     this.lblLeft.Text = FrameworkResource.PROJECT_LEFT;
     this.lblWidth.AutoSize = true;
     this.lblWidth.Location = new System.Drawing.Point(0x99, 20);
     this.lblWidth.Name = "lblWidth";
     this.lblWidth.Size = new Size(0x29, 12);
     this.lblWidth.TabIndex = 0;
     this.lblWidth.Text = FrameworkResource.PROJECT_WIDTH;
     this.lblHeight.AutoSize = true;
     this.lblHeight.Location = new System.Drawing.Point(0x95, 0x30);
     this.lblHeight.Name = "lblHeight";
     this.lblHeight.Size = new Size(0x2f, 12);
     this.lblHeight.TabIndex = 0;
     this.lblHeight.Text = FrameworkResource.PROJECT_HEIGHT;
     this.lblComments.AutoSize = true;
     this.lblComments.Location = new System.Drawing.Point(12, 0x53);
     this.lblComments.Name = "lblComments";
     this.lblComments.Size = new Size(0x3b, 12);
     this.lblComments.TabIndex = 0;
     this.lblComments.Text = FrameworkResource.PROJECT_CONTENTS;
     this.tbxContents.Font = new Font("宋体", 12f, FontStyle.Regular, GraphicsUnit.Point, 0x86);
     this.tbxContents.Location = new System.Drawing.Point(14, 0x6c);
     this.tbxContents.Multiline = true;
     this.tbxContents.Name = "tbxContents";
     this.tbxContents.Size = new Size(270, 0x34);
     this.tbxContents.TabIndex = 3;
     this.gbxProperty.Controls.Add(this.nmcHeight);
     this.gbxProperty.Controls.Add(this.nmcTop);
     this.gbxProperty.Controls.Add(this.lblHeight);
     this.gbxProperty.Controls.Add(this.nmcWidth);
     this.gbxProperty.Controls.Add(this.lblWidth);
     this.gbxProperty.Controls.Add(this.nmcLeft);
     this.gbxProperty.Controls.Add(this.lblTop);
     this.gbxProperty.Controls.Add(this.lblLeft);
     this.gbxProperty.Controls.Add(this.btnFont);
     this.gbxProperty.Controls.Add(this.btnTime);
     this.gbxProperty.Controls.Add(this.btnDate);
     this.gbxProperty.Controls.Add(this.tbxContents);
     this.gbxProperty.Controls.Add(this.lblComments);
     this.gbxProperty.Location = new System.Drawing.Point(12, 12);
     this.gbxProperty.Name = "gbxProperty";
     this.gbxProperty.Size = new Size(0x12e, 0xab);
     this.gbxProperty.TabIndex = 4;
     this.gbxProperty.TabStop = false;
     this.gbxProperty.Text = FrameworkResource.PROJECT_PROPERTY;
     this.nmcHeight.BackColor = SystemColors.Window;
     this.nmcHeight.Location = new System.Drawing.Point(200, 0x2c);
     this.nmcHeight.Margin = new Padding(3, 4, 3, 4);
     this.nmcHeight.Name = "nmcHeight";
     this.nmcHeight.Size = new Size(0x54, 0x15);
     this.nmcHeight.TabIndex = 20;
     this.nmcHeight.TextAlign = HorizontalAlignment.Right;
     this.nmcTop.BackColor = SystemColors.Window;
     this.nmcTop.Location = new System.Drawing.Point(0x2f, 0x2c);
     this.nmcTop.Margin = new Padding(3, 4, 3, 4);
     this.nmcTop.Name = "nmcTop";
     this.nmcTop.Size = new Size(0x54, 0x15);
     this.nmcTop.TabIndex = 0x13;
     this.nmcTop.TextAlign = HorizontalAlignment.Right;
     this.nmcWidth.BackColor = SystemColors.Window;
     this.nmcWidth.Location = new System.Drawing.Point(200, 0x12);
     this.nmcWidth.Margin = new Padding(3, 4, 3, 4);
     this.nmcWidth.Name = "nmcWidth";
     this.nmcWidth.Size = new Size(0x54, 0x15);
     this.nmcWidth.TabIndex = 0x13;
     this.nmcWidth.TextAlign = HorizontalAlignment.Right;
     this.nmcLeft.BackColor = SystemColors.Window;
     this.nmcLeft.Location = new System.Drawing.Point(0x2f, 0x10);
     this.nmcLeft.Margin = new Padding(3, 4, 3, 4);
     this.nmcLeft.Name = "nmcLeft";
     this.nmcLeft.Size = new Size(0x54, 0x15);
     this.nmcLeft.TabIndex = 0x12;
     this.nmcLeft.TextAlign = HorizontalAlignment.Right;
     this.btnFont.Image = Resource.font;
     this.btnFont.Location = new System.Drawing.Point(0xfd, 0x4e);
     this.btnFont.Name = "btnFont";
     this.btnFont.Size = new Size(0x1f, 0x17);
     this.btnFont.TabIndex = 0x11;
     this.btnFont.UseVisualStyleBackColor = true;
     this.btnFont.Click += new EventHandler(this.btnFont_Click);
     this.btnTime.Image = (Image) manager.GetObject("btnTime.Image");
     this.btnTime.Location = new System.Drawing.Point(0xd8, 0x4e);
     this.btnTime.Name = "btnTime";
     this.btnTime.Size = new Size(0x1f, 0x17);
     this.btnTime.TabIndex = 0x10;
     this.btnTime.UseVisualStyleBackColor = true;
     this.btnTime.Click += new EventHandler(this.btnTime_Click);
     this.btnDate.Image = Resource.calendar;
     this.btnDate.Location = new System.Drawing.Point(0xb3, 0x4d);
     this.btnDate.Name = "btnDate";
     this.btnDate.Size = new Size(0x1f, 0x18);
     this.btnDate.TabIndex = 15;
     this.btnDate.UseVisualStyleBackColor = true;
     this.btnDate.Click += new EventHandler(this.btnDate_Click);
     this.btnOk.Location = new System.Drawing.Point(0x93, 0xbd);
     this.btnOk.Name = "btnOk";
     this.btnOk.Size = new Size(0x4b, 0x17);
     this.btnOk.TabIndex = 5;
     this.btnOk.Text = GeneralResource.BUTTON_OK;
     this.btnOk.UseVisualStyleBackColor = true;
     this.btnOk.Click += new EventHandler(this.btnOk_Click);
     this.btnCancel.Location = new System.Drawing.Point(0xef, 0xbd);
     this.btnCancel.Name = "btnCancel";
     this.btnCancel.Size = new Size(0x4b, 0x17);
     this.btnCancel.TabIndex = 6;
     this.btnCancel.Text = GeneralResource.BUTTON_CANCEL;
     this.btnCancel.UseVisualStyleBackColor = true;
     this.btnCancel.Click += new EventHandler(this.btnCancel_Click);
     base.AutoScaleDimensions = new SizeF(6f, 12f);
     base.AutoScaleMode = AutoScaleMode.Font;
     base.ClientSize = new Size(0x146, 0xe0);
     base.Controls.Add(this.btnCancel);
     base.Controls.Add(this.btnOk);
     base.Controls.Add(this.gbxProperty);
     base.FormBorderStyle = FormBorderStyle.FixedSingle;
     base.MaximizeBox = false;
     base.MinimizeBox = false;
     base.Name = "PropertyForm";
     base.ShowIcon = false;
     base.ShowInTaskbar = false;
     base.StartPosition = FormStartPosition.CenterScreen;
     this.Text = FrameworkResource.PROJECT_PROPERTY;
     base.Load += new EventHandler(this.ControlProperty_Load);
     this.gbxProperty.ResumeLayout(false);
     this.gbxProperty.PerformLayout();
     this.nmcHeight.EndInit();
     this.nmcTop.EndInit();
     this.nmcWidth.EndInit();
     this.nmcLeft.EndInit();
     base.ResumeLayout(false);
 }