Example #1
0
 private List<UMTSCell> GetUpdateData(DataGridViewBase tableDgvBase, string columnName)
 {
     List<UMTSCell> list = new List<UMTSCell>();
     for (int i = 0; i < (tableDgvBase.Rows.Count - 1); i++)
     {
         DataGridViewRow row = tableDgvBase.Rows[i];
         string cellName = string.Empty;
         object obj2 = row.Cells[columnName].Value;
         if (obj2 != null)
         {
             cellName = obj2.ToString();
         }
         UMTSCell cellByName = this.m_UMTSColl.GetCellByName(cellName);
         if (cellByName != null)
         {
             list.Add(cellByName);
         }
     }
     return list;
 }
Example #2
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(CellMapPropertiesFrm));
     DataGridViewCellStyle style4 = new DataGridViewCellStyle();
     DataGridViewCellStyle style5 = new DataGridViewCellStyle();
     DataGridViewCellStyle style6 = new DataGridViewCellStyle();
     DataGridViewCellStyle style7 = new DataGridViewCellStyle();
     DataGridViewCellStyle style8 = new DataGridViewCellStyle();
     DataGridViewCellStyle style9 = new DataGridViewCellStyle();
     DataGridViewCellStyle style10 = new DataGridViewCellStyle();
     DataGridViewCellStyle style11 = new DataGridViewCellStyle();
     DataGridViewCellStyle style12 = new DataGridViewCellStyle();
     DataGridViewCellStyle style13 = new DataGridViewCellStyle();
     DataGridViewCellStyle style14 = new DataGridViewCellStyle();
     DataGridViewCellStyle style15 = new DataGridViewCellStyle();
     this.txtBoxMapName = new TextBox();
     this.groupBox1 = new GroupBox();
     this.btnApply = new Button();
     this.btnCancel = new Button();
     this.btnOk = new Button();
     this.tabCellTrafficMap = new TabControl();
     this.tabGeneral = new TabPage();
     this.groupBox3 = new GroupBox();
     this.m_TxtBoxMapName = new TextBox();
     this.tabCell = new TabPage();
     this.m_GridCellService = new DataGridViewBase();
     this.cellCol = new DataGridViewTextBoxColumn();
     this.cmBoxSelectGroup = new ComboBox();
     this.lblCellTabComment1 = new Label();
     this.lblCellTabComment2 = new Label();
     this.tabTraffic = new TabPage();
     this.groupBox2 = new GroupBox();
     this.gridMobility = new CommonDataGridView();
     this.MobilityCol = new DataGridViewTextBoxColumn();
     this.MobilityPercentCol = new DataGridViewTextBoxColumn();
     this.gridTerminal = new CommonDataGridView();
     this.TerminalCol = new DataGridViewTextBoxColumn();
     this.TerminalPercentCol = new DataGridViewTextBoxColumn();
     this.gridClutter = new CommonDataGridView();
     this.ClutterIdCol = new DataGridViewTextBoxColumn();
     this.ClutterClassCol = new DataGridViewTextBoxColumn();
     this.WeightCol = new DataGridViewTextBoxColumn();
     this.IndoorCol = new DataGridViewTextBoxColumn();
     this.lblClutter = new Label();
     this.lblMobilities = new Label();
     this.lblTerminals = new Label();
     this.m_CellContextMenuStrip = new ContextMenuStrip(this.components);
     this.m_ExportToolStripMenuItem = new ToolStripMenuItemBase();
     this.m_ImportToolStripMenuItem = new ToolStripMenuItemBase();
     this.groupBox1.SuspendLayout();
     this.tabCellTrafficMap.SuspendLayout();
     this.tabGeneral.SuspendLayout();
     this.groupBox3.SuspendLayout();
     this.tabCell.SuspendLayout();
     ((ISupportInitialize) this.m_GridCellService).BeginInit();
     this.tabTraffic.SuspendLayout();
     this.groupBox2.SuspendLayout();
     ((ISupportInitialize) this.gridMobility).BeginInit();
     ((ISupportInitialize) this.gridTerminal).BeginInit();
     ((ISupportInitialize) this.gridClutter).BeginInit();
     this.m_CellContextMenuStrip.SuspendLayout();
     base.SuspendLayout();
     this.txtBoxMapName.Location = new System.Drawing.Point(6, 0x16);
     this.txtBoxMapName.Margin = new Padding(3, 4, 3, 4);
     this.txtBoxMapName.Name = "txtBoxMapName";
     this.txtBoxMapName.Size = new Size(0x1a1, 0x15);
     this.txtBoxMapName.TabIndex = 0;
     this.groupBox1.Anchor = AnchorStyles.Right | AnchorStyles.Left | AnchorStyles.Bottom | AnchorStyles.Top;
     this.groupBox1.Controls.Add(this.txtBoxMapName);
     this.groupBox1.Font = new Font("Arial", 9f, FontStyle.Regular, GraphicsUnit.Point, 0);
     this.groupBox1.Location = new System.Drawing.Point(11, 13);
     this.groupBox1.Name = "groupBox1";
     this.groupBox1.Padding = new Padding(3, 4, 3, 4);
     this.groupBox1.Size = new Size(0x215, 0);
     this.groupBox1.TabIndex = 0;
     this.groupBox1.TabStop = false;
     this.groupBox1.Text = TrafficMapResource.TRAFFICMAP_CELL_TRAFFIC_MAP_NAME;
     this.btnApply.Enabled = false;
     this.btnApply.Location = new System.Drawing.Point(0x1f0, 0x194);
     this.btnApply.Name = "btnApply";
     this.btnApply.Size = new Size(0x4b, 0x17);
     this.btnApply.TabIndex = 2;
     this.btnApply.Text = GeneralResource.BUTTON_APPLY;
     this.btnApply.UseVisualStyleBackColor = true;
     this.btnApply.Click += new EventHandler(this.btnApply_Click);
     this.btnCancel.Location = new System.Drawing.Point(0x19f, 0x194);
     this.btnCancel.Name = "btnCancel";
     this.btnCancel.Size = new Size(0x4b, 0x17);
     this.btnCancel.TabIndex = 3;
     this.btnCancel.Text = GeneralResource.BUTTON_CANCEL;
     this.btnCancel.UseVisualStyleBackColor = true;
     this.btnCancel.Click += new EventHandler(this.btnCancel_Click);
     this.btnOk.Location = new System.Drawing.Point(0x14e, 0x194);
     this.btnOk.Name = "btnOk";
     this.btnOk.Size = new Size(0x4b, 0x17);
     this.btnOk.TabIndex = 4;
     this.btnOk.Text = GeneralResource.BUTTON_OK;
     this.btnOk.UseVisualStyleBackColor = true;
     this.btnOk.Click += new EventHandler(this.btnOk_Click);
     this.tabCellTrafficMap.Anchor = AnchorStyles.Right | AnchorStyles.Left | AnchorStyles.Bottom | AnchorStyles.Top;
     this.tabCellTrafficMap.Controls.Add(this.tabGeneral);
     this.tabCellTrafficMap.Controls.Add(this.tabCell);
     this.tabCellTrafficMap.Controls.Add(this.tabTraffic);
     this.tabCellTrafficMap.Location = new System.Drawing.Point(12, 12);
     this.tabCellTrafficMap.Name = "tabCellTrafficMap";
     this.tabCellTrafficMap.SelectedIndex = 0;
     this.tabCellTrafficMap.Size = new Size(0x233, 0x181);
     this.tabCellTrafficMap.TabIndex = 5;
     this.tabGeneral.Controls.Add(this.groupBox3);
     this.tabGeneral.Controls.Add(this.groupBox1);
     this.tabGeneral.Location = new System.Drawing.Point(4, 0x18);
     this.tabGeneral.Name = "tabGeneral";
     this.tabGeneral.Padding = new Padding(3);
     this.tabGeneral.Size = new Size(0x22b, 0x165);
     this.tabGeneral.TabIndex = 0;
     this.tabGeneral.Text = TrafficMapResource.TRAFFICMAP_GENERAL;
     this.tabGeneral.UseVisualStyleBackColor = true;
     this.groupBox3.Anchor = AnchorStyles.Right | AnchorStyles.Left | AnchorStyles.Top;
     this.groupBox3.Controls.Add(this.m_TxtBoxMapName);
     this.groupBox3.Font = new Font("Arial", 9f, FontStyle.Regular, GraphicsUnit.Point, 0);
     this.groupBox3.Location = new System.Drawing.Point(11, 13);
     this.groupBox3.Name = "groupBox3";
     this.groupBox3.Padding = new Padding(3, 4, 3, 4);
     this.groupBox3.Size = new Size(0x1fd, 0x33);
     this.groupBox3.TabIndex = 1;
     this.groupBox3.TabStop = false;
     this.groupBox3.Text = TrafficMapResource.TRAFFICMAP_CELL_COVERAGE_TRAFFIC_MAP_NAME;
     this.m_TxtBoxMapName.Anchor = AnchorStyles.Right | AnchorStyles.Left | AnchorStyles.Bottom | AnchorStyles.Top;
     this.m_TxtBoxMapName.Location = new System.Drawing.Point(0x12, 0x15);
     this.m_TxtBoxMapName.Name = "m_TxtBoxMapName";
     this.m_TxtBoxMapName.Size = new Size(0x1b2, 0x15);
     this.m_TxtBoxMapName.TabIndex = 0;
     this.m_TxtBoxMapName.TextChanged += new EventHandler(this.m_TxtBoxMapName_TextChanged);
     this.tabCell.Controls.Add(this.m_GridCellService);
     this.tabCell.Controls.Add(this.cmBoxSelectGroup);
     this.tabCell.Controls.Add(this.lblCellTabComment1);
     this.tabCell.Controls.Add(this.lblCellTabComment2);
     this.tabCell.Location = new System.Drawing.Point(4, 0x18);
     this.tabCell.Name = "tabCell";
     this.tabCell.Padding = new Padding(3);
     this.tabCell.Size = new Size(0x23c, 0x16b);
     this.tabCell.TabIndex = 1;
     this.tabCell.Text = TrafficMapResource.TRAFFICMAP_CELL;
     this.tabCell.UseVisualStyleBackColor = true;
     this.m_GridCellService.AfterDeleteHanlder = null;
     this.m_GridCellService.AllowUserToDeleteRows = false;
     this.m_GridCellService.AllowUserToOrderColumns = true;
     this.m_GridCellService.Anchor = AnchorStyles.Right | AnchorStyles.Left | AnchorStyles.Bottom | AnchorStyles.Top;
     this.m_GridCellService.AutoSizeColumnsMode = DataGridViewAutoSizeColumnsMode.Fill;
     this.m_GridCellService.AutoSizeRowsMode = DataGridViewAutoSizeRowsMode.AllCells;
     this.m_GridCellService.BackgroundColor = SystemColors.Window;
     this.m_GridCellService.BeforeDeleteHanlder = null;
     this.m_GridCellService.ClearHandle = null;
     style2.Alignment = DataGridViewContentAlignment.MiddleCenter;
     style2.BackColor = SystemColors.Control;
     style2.Font = new Font("Arial", 9f, FontStyle.Regular, GraphicsUnit.Point, 0);
     style2.ForeColor = SystemColors.WindowText;
     style2.SelectionBackColor = SystemColors.Highlight;
     style2.SelectionForeColor = SystemColors.HighlightText;
     style2.WrapMode = DataGridViewTriState.True;
     this.m_GridCellService.ColumnHeadersDefaultCellStyle = style2;
     this.m_GridCellService.ColumnHeadersHeightSizeMode = DataGridViewColumnHeadersHeightSizeMode.AutoSize;
     this.m_GridCellService.Columns.AddRange(new DataGridViewColumn[] { this.cellCol });
     this.m_GridCellService.CtrlDHanlder = null;
     style3.Alignment = DataGridViewContentAlignment.MiddleRight;
     style3.BackColor = SystemColors.Window;
     style3.Font = new Font("Arial", 9f, FontStyle.Regular, GraphicsUnit.Point, 0);
     style3.ForeColor = SystemColors.ControlText;
     style3.SelectionBackColor = SystemColors.Highlight;
     style3.SelectionForeColor = SystemColors.HighlightText;
     style3.WrapMode = DataGridViewTriState.False;
     this.m_GridCellService.DefaultCellStyle = style3;
     this.m_GridCellService.DeleteHanlder = null;
     this.m_GridCellService.EnableCtrlA = true;
     this.m_GridCellService.EnableCtrlD = false;
     this.m_GridCellService.Enabled = false;
     this.m_GridCellService.EnableDeleteRow = false;
     this.m_GridCellService.EnableRowAndColSelect = true;
     this.m_GridCellService.EnableSort = false;
     this.m_GridCellService.Location = new System.Drawing.Point(6, 0x4e);
     this.m_GridCellService.Name = "m_GridCellService";
     this.m_GridCellService.RowTemplate.Height = 0x17;
     this.m_GridCellService.Size = new Size(560, 0x117);
     this.m_GridCellService.TabIndex = 5;
     this.m_GridCellService.UncheckedColHeaderText = (List<string>) manager.GetObject("m_GridCellService.UncheckedColHeaderText");
     this.m_GridCellService.CtrlDPress += new Ctrl_D_EventHanlder(this.GridCellService_KeyDown_Ctrl_D);
     this.m_GridCellService.CellEndEdit += new DataGridViewCellEventHandler(this.m_GridCellService_CellEndEdit);
     this.m_GridCellService.KeyDown += new KeyEventHandler(this.m_GridCellService_KeyDown);
     this.cellCol.AutoSizeMode = DataGridViewAutoSizeColumnMode.AllCells;
     style4.Alignment = DataGridViewContentAlignment.MiddleCenter;
     style4.BackColor = SystemColors.Control;
     style4.Font = new Font("Arial", 9f, FontStyle.Regular, GraphicsUnit.Point, 0);
     style4.SelectionBackColor = SystemColors.Control;
     style4.SelectionForeColor = Color.Black;
     this.cellCol.DefaultCellStyle = style4;
     this.cellCol.HeaderText = TrafficMapResource.TRAFFICMAP_TX_ID;
     this.cellCol.Name = "cellCol";
     this.cellCol.ReadOnly = true;
     this.cellCol.Resizable = DataGridViewTriState.True;
     this.cellCol.SortMode = DataGridViewColumnSortMode.NotSortable;
     this.cellCol.Width = 0x2e;
     this.cmBoxSelectGroup.DropDownStyle = ComboBoxStyle.DropDownList;
     this.cmBoxSelectGroup.FormattingEnabled = true;
     this.cmBoxSelectGroup.Location = new System.Drawing.Point(6, 0x19);
     this.cmBoxSelectGroup.Name = "cmBoxSelectGroup";
     this.cmBoxSelectGroup.Size = new Size(0xbd, 0x17);
     this.cmBoxSelectGroup.TabIndex = 4;
     this.cmBoxSelectGroup.SelectedIndexChanged += new EventHandler(this.cmBoxSelectGroup_SelectedIndexChanged);
     this.lblCellTabComment1.AutoSize = true;
     this.lblCellTabComment1.Location = new System.Drawing.Point(6, 7);
     this.lblCellTabComment1.Name = "lblCellTabComment1";
     this.lblCellTabComment1.Size = new Size(0x88, 15);
     this.lblCellTabComment1.TabIndex = 3;
     this.lblCellTabComment1.Text = TrafficMapResource.TRAFFICMAP_SELECT_PREDICTION_GROUP;
     this.lblCellTabComment2.AutoSize = true;
     this.lblCellTabComment2.Location = new System.Drawing.Point(6, 60);
     this.lblCellTabComment2.Name = "lblCellTabComment2";
     this.lblCellTabComment2.Size = new Size(0xc3, 15);
     this.lblCellTabComment2.TabIndex = 2;
     this.lblCellTabComment2.Text = TrafficMapResource.TRAFFICMAP_SET_USERS_PER_SERVICE_ON_EACH_CELL;
     this.tabTraffic.Controls.Add(this.groupBox2);
     this.tabTraffic.Location = new System.Drawing.Point(4, 0x18);
     this.tabTraffic.Name = "tabTraffic";
     this.tabTraffic.Padding = new Padding(3);
     this.tabTraffic.Size = new Size(0x23c, 0x16b);
     this.tabTraffic.TabIndex = 2;
     this.tabTraffic.Text = TrafficMapResource.TRAFFICMAP_TRAFFIC;
     this.tabTraffic.UseVisualStyleBackColor = true;
     this.groupBox2.Anchor = AnchorStyles.Right | AnchorStyles.Left | AnchorStyles.Bottom | AnchorStyles.Top;
     this.groupBox2.Controls.Add(this.gridMobility);
     this.groupBox2.Controls.Add(this.gridTerminal);
     this.groupBox2.Controls.Add(this.gridClutter);
     this.groupBox2.Controls.Add(this.lblClutter);
     this.groupBox2.Controls.Add(this.lblMobilities);
     this.groupBox2.Controls.Add(this.lblTerminals);
     this.groupBox2.Font = new Font("Arial", 9f, FontStyle.Regular, GraphicsUnit.Point, 0);
     this.groupBox2.Location = new System.Drawing.Point(6, 7);
     this.groupBox2.Margin = new Padding(3, 4, 3, 4);
     this.groupBox2.Name = "groupBox2";
     this.groupBox2.Padding = new Padding(3, 4, 3, 4);
     this.groupBox2.Size = new Size(560, 0x15d);
     this.groupBox2.TabIndex = 3;
     this.groupBox2.TabStop = false;
     this.groupBox2.Text = TrafficMapResource.TRAFFICMAP_DISTRIBUTION;
     this.gridMobility.AllowUserToAddRows = false;
     this.gridMobility.AllowUserToDeleteRows = false;
     this.gridMobility.AllowUserToOrderColumns = true;
     this.gridMobility.AllowUserToResizeRows = false;
     this.gridMobility.AutoSizeColumnsMode = DataGridViewAutoSizeColumnsMode.Fill;
     this.gridMobility.BackgroundColor = SystemColors.Window;
     style5.Alignment = DataGridViewContentAlignment.MiddleCenter;
     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.gridMobility.ColumnHeadersDefaultCellStyle = style5;
     this.gridMobility.ColumnHeadersHeightSizeMode = DataGridViewColumnHeadersHeightSizeMode.AutoSize;
     this.gridMobility.Columns.AddRange(new DataGridViewColumn[] { this.MobilityCol, this.MobilityPercentCol });
     this.gridMobility.Location = new System.Drawing.Point(0x121, 0x29);
     this.gridMobility.Name = "gridMobility";
     this.gridMobility.Columns[0].SortMode = DataGridViewColumnSortMode.NotSortable;
     this.gridMobility.Columns[1].SortMode = DataGridViewColumnSortMode.NotSortable;
     this.gridMobility.RowHeadersVisible = false;
     this.gridMobility.RowTemplate.Height = 0x17;
     this.gridMobility.Size = new Size(0x102, 0x72);
     this.gridMobility.TabIndex = 7;
     this.gridMobility.CellEndEdit += new DataGridViewCellEventHandler(this.gridMobility_CellEndEdit);
     style6.Alignment = DataGridViewContentAlignment.MiddleRight;
     style6.BackColor = SystemColors.Control;
     style6.SelectionBackColor = SystemColors.Control;
     style6.SelectionForeColor = SystemColors.ControlText;
     this.MobilityCol.DefaultCellStyle = style6;
     this.MobilityCol.FillWeight = 149.2386f;
     this.MobilityCol.HeaderText = TrafficMapResource.TRAFFICMAP_MOBILITY;
     this.MobilityCol.Name = "MobilityCol";
     this.MobilityCol.ReadOnly = true;
     style7.Alignment = DataGridViewContentAlignment.MiddleRight;
     style7.Font = new Font("Arial", 9f, FontStyle.Regular, GraphicsUnit.Point, 0);
     this.MobilityPercentCol.DefaultCellStyle = style7;
     this.MobilityPercentCol.FillWeight = 50.76142f;
     this.MobilityPercentCol.HeaderText = "%";
     this.MobilityPercentCol.Name = "MobilityPercentCol";
     this.gridTerminal.AllowUserToAddRows = false;
     this.gridTerminal.AllowUserToDeleteRows = false;
     this.gridTerminal.AllowUserToOrderColumns = true;
     this.gridTerminal.AllowUserToResizeRows = false;
     this.gridTerminal.AutoSizeColumnsMode = DataGridViewAutoSizeColumnsMode.Fill;
     this.gridTerminal.BackgroundColor = SystemColors.Window;
     style8.Alignment = DataGridViewContentAlignment.MiddleCenter;
     style8.BackColor = SystemColors.Info;
     style8.Font = new Font("Arial", 9f, FontStyle.Bold, GraphicsUnit.Point, 0);
     style8.ForeColor = Color.Black;
     style8.SelectionBackColor = SystemColors.Highlight;
     style8.SelectionForeColor = SystemColors.HighlightText;
     style8.WrapMode = DataGridViewTriState.True;
     this.gridTerminal.ColumnHeadersDefaultCellStyle = style8;
     this.gridTerminal.ColumnHeadersHeightSizeMode = DataGridViewColumnHeadersHeightSizeMode.AutoSize;
     this.gridTerminal.Columns.AddRange(new DataGridViewColumn[] { this.TerminalCol, this.TerminalPercentCol });
     this.gridTerminal.Location = new System.Drawing.Point(13, 0x29);
     this.gridTerminal.Name = "gridTerminal";
     this.gridTerminal.RowHeadersVisible = false;
     this.gridTerminal.Columns[0].SortMode = DataGridViewColumnSortMode.NotSortable;
     this.gridTerminal.Columns[1].SortMode = DataGridViewColumnSortMode.NotSortable;
     this.gridTerminal.RowTemplate.Height = 0x17;
     this.gridTerminal.Size = new Size(0x102, 0x72);
     this.gridTerminal.TabIndex = 6;
     this.gridTerminal.CellEndEdit += new DataGridViewCellEventHandler(this.gridTerminal_CellEndEdit);
     style9.Alignment = DataGridViewContentAlignment.MiddleRight;
     style9.BackColor = SystemColors.Control;
     style9.SelectionBackColor = SystemColors.Control;
     style9.SelectionForeColor = SystemColors.ControlText;
     this.TerminalCol.DefaultCellStyle = style9;
     this.TerminalCol.FillWeight = 149.2386f;
     this.TerminalCol.HeaderText = TrafficMapResource.TRAFFICMAP_TERMINAL;
     this.TerminalCol.Name = "TerminalCol";
     this.TerminalCol.ReadOnly = true;
     style10.Alignment = DataGridViewContentAlignment.MiddleRight;
     style10.Font = new Font("Arial", 9f, FontStyle.Regular, GraphicsUnit.Point, 0);
     this.TerminalPercentCol.DefaultCellStyle = style10;
     this.TerminalPercentCol.FillWeight = 50.76142f;
     this.TerminalPercentCol.HeaderText = "%";
     this.TerminalPercentCol.Name = "TerminalPercentCol";
     this.gridClutter.AllowUserToAddRows = false;
     this.gridClutter.AllowUserToDeleteRows = false;
     this.gridClutter.AllowUserToOrderColumns = true;
     this.gridClutter.AllowUserToResizeRows = false;
     this.gridClutter.AutoSizeColumnsMode = DataGridViewAutoSizeColumnsMode.Fill;
     this.gridClutter.BackgroundColor = SystemColors.Window;
     style11.Alignment = DataGridViewContentAlignment.MiddleCenter;
     style11.BackColor = SystemColors.Info;
     style11.Font = new Font("Arial", 9f, FontStyle.Bold, GraphicsUnit.Point, 0);
     style11.ForeColor = Color.Black;
     style11.SelectionBackColor = SystemColors.Highlight;
     style11.SelectionForeColor = SystemColors.HighlightText;
     style11.WrapMode = DataGridViewTriState.True;
     this.gridClutter.ColumnHeadersDefaultCellStyle = style11;
     this.gridClutter.ColumnHeadersHeightSizeMode = DataGridViewColumnHeadersHeightSizeMode.AutoSize;
     this.gridClutter.Columns.AddRange(new DataGridViewColumn[] { this.ClutterIdCol, this.ClutterClassCol, this.WeightCol, this.IndoorCol });
     this.gridClutter.Location = new System.Drawing.Point(13, 0xb5);
     this.gridClutter.Margin = new Padding(3, 4, 3, 4);
     this.gridClutter.Name = "gridClutter";
     this.gridClutter.Columns[0].SortMode = DataGridViewColumnSortMode.NotSortable;
     this.gridClutter.Columns[1].SortMode = DataGridViewColumnSortMode.NotSortable;
     this.gridClutter.Columns[2].SortMode = DataGridViewColumnSortMode.NotSortable;
     this.gridClutter.Columns[3].SortMode = DataGridViewColumnSortMode.NotSortable;
     this.gridClutter.RowHeadersVisible = false;
     this.gridClutter.RowTemplate.Height = 0x17;
     this.gridClutter.Size = new Size(0x216, 160);
     this.gridClutter.TabIndex = 5;
     this.gridClutter.CellEndEdit += new DataGridViewCellEventHandler(this.gridClutter_CellEndEdit);
     style12.Alignment = DataGridViewContentAlignment.MiddleRight;
     style12.BackColor = SystemColors.Control;
     style12.SelectionBackColor = SystemColors.Control;
     style12.SelectionForeColor = SystemColors.ControlText;
     this.ClutterIdCol.DefaultCellStyle = style12;
     this.ClutterIdCol.HeaderText = TrafficMapResource.TRAFFICMAP_ID;
     this.ClutterIdCol.Name = "ClutterIdCol";
     this.ClutterIdCol.ReadOnly = true;
     style13.Alignment = DataGridViewContentAlignment.MiddleRight;
     style13.BackColor = SystemColors.Control;
     style13.SelectionBackColor = SystemColors.Control;
     style13.SelectionForeColor = SystemColors.ControlText;
     this.ClutterClassCol.DefaultCellStyle = style13;
     this.ClutterClassCol.FillWeight = 174f;
     this.ClutterClassCol.HeaderText = TrafficMapResource.TRAFFICMAP_CLUTTER_CLASS;
     this.ClutterClassCol.Name = "ClutterClassCol";
     this.ClutterClassCol.ReadOnly = true;
     style14.Alignment = DataGridViewContentAlignment.MiddleRight;
     style14.Font = new Font("Arial", 9f, FontStyle.Regular, GraphicsUnit.Point, 0);
     this.WeightCol.DefaultCellStyle = style14;
     this.WeightCol.FillWeight = 80f;
     this.WeightCol.HeaderText = TrafficMapResource.TRAFFICMAP_WEIGHT;
     this.WeightCol.Name = "WeightCol";
     style15.Alignment = DataGridViewContentAlignment.MiddleRight;
     style15.Font = new Font("Arial", 9f, FontStyle.Regular, GraphicsUnit.Point, 0);
     this.IndoorCol.DefaultCellStyle = style15;
     this.IndoorCol.FillWeight = 80f;
     this.IndoorCol.HeaderText = TrafficMapResource.TRAFFICMAP_PERINDOOR;
     this.IndoorCol.Name = "IndoorCol";
     this.lblClutter.AutoSize = true;
     this.lblClutter.Location = new System.Drawing.Point(10, 0xa2);
     this.lblClutter.Name = "lblClutter";
     this.lblClutter.Size = new Size(0x35, 15);
     this.lblClutter.TabIndex = 4;
     this.lblClutter.Text = TrafficMapResource.TRAFFICMAP_CLUTTERS;
     this.lblMobilities.AutoSize = true;
     this.lblMobilities.Location = new System.Drawing.Point(0x11e, 0x17);
     this.lblMobilities.Name = "lblMobilities";
     this.lblMobilities.Size = new Size(0x3e, 15);
     this.lblMobilities.TabIndex = 1;
     this.lblMobilities.Text = TrafficMapResource.TRAFFICMAP_MOBILITIES;
     this.lblTerminals.AutoSize = true;
     this.lblTerminals.Location = new System.Drawing.Point(10, 0x17);
     this.lblTerminals.Name = "lblTerminals";
     this.lblTerminals.Size = new Size(0x42, 15);
     this.lblTerminals.TabIndex = 0;
     this.lblTerminals.Text = TrafficMapResource.TRAFFICMAP_TERMINALS;
     this.m_CellContextMenuStrip.Font = new Font("Arial", 9f, FontStyle.Regular, GraphicsUnit.Point, 0);
     this.m_CellContextMenuStrip.Items.AddRange(new ToolStripItem[] { this.m_ExportToolStripMenuItem, this.m_ImportToolStripMenuItem });
     this.m_CellContextMenuStrip.Name = "m_CellContextMenuStrip";
     this.m_CellContextMenuStrip.Size = new Size(110, 0x30);
     this.m_ExportToolStripMenuItem.Name = "m_ExportToolStripMenuItem";
     this.m_ExportToolStripMenuItem.Size = new Size(0x6d, 0x16);
     this.m_ExportToolStripMenuItem.Text = TrafficMapResource.TRAFFICMAP_EXPORT;
     this.m_ExportToolStripMenuItem.Click += new EventHandler(this.m_ExportToolStripMenuItem_Click);
     this.m_ImportToolStripMenuItem.Name = "m_ImportToolStripMenuItem";
     this.m_ImportToolStripMenuItem.Size = new Size(0x6d, 0x16);
     this.m_ImportToolStripMenuItem.Text = TrafficMapResource.TRAFFICMAP_IMPORT;
     this.m_ImportToolStripMenuItem.Click += new EventHandler(this.m_ImportToolStripMenuItem_Click);
     base.AutoScaleDimensions = new SizeF(7f, 15f);
     base.AutoScaleMode = AutoScaleMode.Font;
     base.ClientSize = new Size(0x24b, 0x1b7);
     base.Controls.Add(this.btnCancel);
     base.Controls.Add(this.btnApply);
     base.Controls.Add(this.tabCellTrafficMap);
     base.Controls.Add(this.btnOk);
     this.Font = new Font("Arial", 9f, FontStyle.Regular, GraphicsUnit.Point, 0);
     base.Margin = new Padding(3, 4, 3, 4);
     base.Name = "CellMapPropertiesFrm";
     base.ShowIcon = false;
     base.ShowInTaskbar = false;
     base.MinimizeBox = false;
     base.MaximizeBox = false;
     base.FormBorderStyle = FormBorderStyle.FixedDialog;
     base.StartPosition = FormStartPosition.CenterScreen;
     base.KeyPreview = true;
     base.HelpButton = true;
     base.KeyDown += new KeyEventHandler(this.CellMapFrm_KeyDown);
     base.HelpButtonClicked += new CancelEventHandler(this.CellMapFrm_HelpButtonClicked);
     this.Text = TrafficMapResource.TRAFFICMAP_CELLTRAFFICMAPPROPERTIESFRM;
     this.groupBox1.ResumeLayout(false);
     this.groupBox1.PerformLayout();
     this.tabCellTrafficMap.ResumeLayout(false);
     this.tabGeneral.ResumeLayout(false);
     this.groupBox3.ResumeLayout(false);
     this.groupBox3.PerformLayout();
     this.tabCell.ResumeLayout(false);
     this.tabCell.PerformLayout();
     ((ISupportInitialize) this.m_GridCellService).EndInit();
     this.tabTraffic.ResumeLayout(false);
     this.groupBox2.ResumeLayout(false);
     this.groupBox2.PerformLayout();
     ((ISupportInitialize) this.gridMobility).EndInit();
     ((ISupportInitialize) this.gridTerminal).EndInit();
     ((ISupportInitialize) this.gridClutter).EndInit();
     this.m_CellContextMenuStrip.ResumeLayout(false);
     base.ResumeLayout(false);
 }
Example #3
0
 private void InitializeComponent()
 {
     this.components = new Container();
     DataGridViewCellStyle style = new DataGridViewCellStyle();
     DataGridViewCellStyle style2 = new DataGridViewCellStyle();
     DataGridViewCellStyle style3 = new DataGridViewCellStyle();
     this.dgvExpoertData = new DataGridViewBase(false, null, true, new EventHandler(this.tsmItemExport_Click), false, null, true);
     base.Controls.Add(this.dgvExpoertData);
     ComponentResourceManager manager = new ComponentResourceManager(typeof(PredictionReportForm));
     this.GroupNameOrLegend = new DataGridViewTextBoxColumn();
     this.CoverArea = new DataGridViewTextBoxColumn();
     this.Percentage = new DataGridViewTextBoxColumn();
     this.Cumulate_Per = new DataGridViewTextBoxColumn();
     this.cmsContexMenu = new ContextMenuStrip(this.components);
     this.tsmItemExport = new ToolStripMenuItemBase();
     this.tsmItemImport = new ToolStripMenuItemBase();
     this.tableFieldsToolStripMenuItem = new ToolStripMenuItemBase();
     ((ISupportInitialize) this.dgvExpoertData).BeginInit();
     this.cmsContexMenu.SuspendLayout();
     base.SuspendLayout();
     this.dgvExpoertData.AfterDeleteHanlder = null;
     this.dgvExpoertData.AllowUserToOrderColumns = true;
     style.BackColor = Color.White;
     this.dgvExpoertData.Anchor = AnchorStyles.Right | AnchorStyles.Left | AnchorStyles.Bottom | AnchorStyles.Top;
     this.dgvExpoertData.BeforeDeleteHanlder = null;
     this.dgvExpoertData.ClearHandle = null;
     style2.Alignment = DataGridViewContentAlignment.MiddleCenter;
     style2.BackColor = SystemColors.Control;
     style2.Font = new Font("Arial", 9f, FontStyle.Bold, GraphicsUnit.Point, 0);
     style2.ForeColor = SystemColors.WindowText;
     style2.SelectionBackColor = SystemColors.Highlight;
     style2.SelectionForeColor = SystemColors.HighlightText;
     style2.WrapMode = DataGridViewTriState.True;
     this.dgvExpoertData.ColumnHeadersDefaultCellStyle = style2;
     this.dgvExpoertData.ColumnHeadersHeight = 0x26;
     this.dgvExpoertData.ColumnHeadersHeightSizeMode = DataGridViewColumnHeadersHeightSizeMode.DisableResizing;
     this.dgvExpoertData.Columns.AddRange(new DataGridViewColumn[] { this.GroupNameOrLegend, this.CoverArea, this.Percentage, this.Cumulate_Per });
     this.dgvExpoertData.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.dgvExpoertData.DefaultCellStyle = style3;
     this.dgvExpoertData.DeleteHanlder = null;
     this.dgvExpoertData.EnableCtrlA = true;
     this.dgvExpoertData.EnableCtrlD = false;
     this.dgvExpoertData.EnableDeleteRow = false;
     this.dgvExpoertData.EnableRowAndColSelect = true;
     this.dgvExpoertData.EnableSort = false;
     this.dgvExpoertData.Location = new System.Drawing.Point(12, 13);
     this.dgvExpoertData.Margin = new Padding(3, 4, 3, 4);
     this.dgvExpoertData.Name = "dgvExpoertData";
     this.dgvExpoertData.RowTemplate.Height = 0x17;
     this.dgvExpoertData.Size = new Size(0x243, 0x196);
     this.dgvExpoertData.TabIndex = 0;
     this.GroupNameOrLegend.HeaderText = LTEPredictionResource.PREDICTION_NAME_COLUMN;
     this.GroupNameOrLegend.Name = "GroupNameOrLegend";
     this.GroupNameOrLegend.ReadOnly = true;
     this.GroupNameOrLegend.SortMode = DataGridViewColumnSortMode.NotSortable;
     this.GroupNameOrLegend.Width = 150;
     this.CoverArea.HeaderText = LTEPredictionResource.PREDICTION__AREAKM2;
     this.CoverArea.Name = "CoverArea";
     this.CoverArea.ReadOnly = true;
     this.CoverArea.SortMode = DataGridViewColumnSortMode.NotSortable;
     this.CoverArea.Width = 150;
     this.Percentage.HeaderText = LTEPredictionResource.PREDICTION__PERCENTAGE;
     this.Percentage.Name = "Percentage";
     this.Percentage.ReadOnly = true;
     this.Percentage.SortMode = DataGridViewColumnSortMode.NotSortable;
     this.Percentage.Width = 150;
     this.Cumulate_Per.HeaderText = LTEPredictionResource.PREDICTION__CUMULATE_PER;
     this.Cumulate_Per.Name = "Cumulate_Per";
     this.Cumulate_Per.ReadOnly = true;
     this.Cumulate_Per.SortMode = DataGridViewColumnSortMode.NotSortable;
     this.Cumulate_Per.Width = 150;
     this.cmsContexMenu.Font = new Font("Arial", 9f, FontStyle.Regular, GraphicsUnit.Point, 0);
     this.cmsContexMenu.Items.AddRange(new ToolStripItem[] { this.tsmItemExport, this.tsmItemImport, this.tableFieldsToolStripMenuItem });
     this.cmsContexMenu.Name = "cmsContexMenu";
     this.cmsContexMenu.Size = new Size(0x8f, 70);
     this.tsmItemExport.Name = "tsmItemExport";
     this.tsmItemExport.Size = new Size(0x8e, 0x16);
     this.tsmItemExport.Text = NEResource.NE_EXPORT;
     this.tsmItemExport.Click += new EventHandler(this.tsmItemExport_Click);
     this.tsmItemImport.Name = "tsmItemImport";
     this.tsmItemImport.Size = new Size(0x98, 0x16);
     this.tsmItemImport.Text = NEResource.NE_IMPORT;
     this.tableFieldsToolStripMenuItem.Name = "tableFieldsToolStripMenuItem";
     this.tableFieldsToolStripMenuItem.Size = new Size(0x8e, 0x16);
     this.tableFieldsToolStripMenuItem.Text = NEResource.NE_TABLE_FIELDS;
     base.AutoScaleDimensions = new SizeF(7f, 15f);
     base.AutoScaleMode = AutoScaleMode.Font;
     base.AutoSizeMode = AutoSizeMode.GrowAndShrink;
     base.ClientSize = new Size(0x25b, 0x1b0);
     this.Font = new Font("Arial", 9f, FontStyle.Regular, GraphicsUnit.Point, 0);
     base.Margin = new Padding(3, 4, 3, 4);
     base.MinimizeBox = false;
     this.MinimumSize = new Size(0x263, 0x1cb);
     base.Name = "PredictionExportDataForm";
     base.ShowIcon = false;
     base.ShowInTaskbar = false;
     base.SizeGripStyle = SizeGripStyle.Show;
     base.StartPosition = FormStartPosition.CenterParent;
     this.Text = LTEPredictionResource.PREDICTION__PREDICTION_EXPORT_DATA;
     base.Load += new EventHandler(this.PredictionExportDataForm_Load);
     ((ISupportInitialize) this.dgvExpoertData).EndInit();
     this.cmsContexMenu.ResumeLayout(false);
     base.ResumeLayout(false);
 }
Example #4
0
 private void InitializeComponent()
 {
     DataGridViewCellStyle style = new DataGridViewCellStyle();
     DataGridViewCellStyle style2 = new DataGridViewCellStyle();
     DataGridViewCellStyle style3 = new DataGridViewCellStyle();
     ComponentResourceManager manager = new ComponentResourceManager(typeof(EnvironmentForm));
     DataGridViewCellStyle style4 = new DataGridViewCellStyle();
     DataGridViewCellStyle style5 = new DataGridViewCellStyle();
     DataGridViewCellStyle style6 = new DataGridViewCellStyle();
     this.environmentTab = new TabControl();
     this.tabPage1 = new TabPage();
     this.gridEnvrionmentModel = new DataGridViewBase();
     this.user = new DataGridViewComboBoxColumn();
     this.mobility = new DataGridViewComboBoxColumn();
     this.density = new DataGridViewTextBoxColumn();
     this.txtName = new TextBox();
     this.label2 = new Label();
     this.label1 = new Label();
     this.tabPage2 = new TabPage();
     this.ClutterDataGridView = new DataGridViewBase();
     this.ClutterName = new DataGridViewTextBoxColumn();
     this.ClutterWeight = new DataGridViewTextBoxColumn();
     this.ClutterIndoor = new DataGridViewTextBoxColumn();
     this.btnOk = new Button();
     this.btnApply = new Button();
     this.btnCancel = new Button();
     this.environmentTab.SuspendLayout();
     this.tabPage1.SuspendLayout();
     ((ISupportInitialize)this.gridEnvrionmentModel).BeginInit();
     this.tabPage2.SuspendLayout();
     ((ISupportInitialize)this.ClutterDataGridView).BeginInit();
     base.SuspendLayout();
     this.environmentTab.Anchor = AnchorStyles.Right | AnchorStyles.Left | AnchorStyles.Bottom | AnchorStyles.Top;
     this.environmentTab.Controls.Add(this.tabPage1);
     this.environmentTab.Controls.Add(this.tabPage2);
     this.environmentTab.Location = new Point(12, 13);
     this.environmentTab.Margin = new Padding(3, 4, 3, 4);
     this.environmentTab.Name = "environmentTab";
     this.environmentTab.SelectedIndex = 0;
     this.environmentTab.Size = new Size(0x231, 0x11f);
     this.environmentTab.TabIndex = 0;
     this.environmentTab.Selecting += new TabControlCancelEventHandler(this.environmentTab_Selecting);
     this.tabPage1.Controls.Add(this.gridEnvrionmentModel);
     this.tabPage1.Controls.Add(this.txtName);
     this.tabPage1.Controls.Add(this.label2);
     this.tabPage1.Controls.Add(this.label1);
     this.tabPage1.Location = new Point(4, 0x18);
     this.tabPage1.Margin = new Padding(3, 4, 3, 4);
     this.tabPage1.Name = "tabPage1";
     this.tabPage1.Padding = new Padding(3, 4, 3, 4);
     this.tabPage1.Size = new Size(0x229, 0x103);
     this.tabPage1.TabIndex = 0;
     this.tabPage1.Text = GeneralResource.GENERAL_GENERAL;
     this.tabPage1.UseVisualStyleBackColor = true;
     this.gridEnvrionmentModel.AfterDeleteHanlder = null;
     this.gridEnvrionmentModel.AllowUserToOrderColumns = true;
     style.BackColor = Color.FromArgb(0xe0, 0xff, 0xff);
     this.gridEnvrionmentModel.AlternatingRowsDefaultCellStyle = style;
     this.gridEnvrionmentModel.Anchor = AnchorStyles.Right | AnchorStyles.Left | AnchorStyles.Bottom | AnchorStyles.Top;
     this.gridEnvrionmentModel.BeforeDeleteHanlder = null;
     this.gridEnvrionmentModel.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.gridEnvrionmentModel.ColumnHeadersDefaultCellStyle = style2;
     this.gridEnvrionmentModel.ColumnHeadersHeightSizeMode = DataGridViewColumnHeadersHeightSizeMode.AutoSize;
     this.gridEnvrionmentModel.Columns.AddRange(new DataGridViewColumn[] { this.user, this.mobility, this.density });
     this.gridEnvrionmentModel.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.gridEnvrionmentModel.DefaultCellStyle = style3;
     this.gridEnvrionmentModel.DeleteFlag = false;
     this.gridEnvrionmentModel.DeleteHanlder = null;
     this.gridEnvrionmentModel.EnableCtrlA = true;
     this.gridEnvrionmentModel.EnableCtrlD = true;
     this.gridEnvrionmentModel.EnableDeleteRow = false;
     this.gridEnvrionmentModel.EnableRowAndColSelect = true;
     this.gridEnvrionmentModel.EnableSort = false;
     this.gridEnvrionmentModel.Location = new Point(9, 0x54);
     this.gridEnvrionmentModel.Margin = new Padding(3, 4, 3, 4);
     this.gridEnvrionmentModel.Name = "gridEnvrionmentModel";
     this.gridEnvrionmentModel.PasteHandle = null;
     this.gridEnvrionmentModel.RowTemplate.Height = 0x17;
     this.gridEnvrionmentModel.ShowCellToolTips = false;
     this.gridEnvrionmentModel.Size = new Size(0x21d, 0xa1);
     this.gridEnvrionmentModel.TabIndex = 2;
     this.gridEnvrionmentModel.UncheckedColHeaderText = (List<string>) manager.GetObject("gridEnvrionmentModel.UncheckedColHeaderText");
     this.gridEnvrionmentModel.UserDefineHandle = null;
     this.gridEnvrionmentModel.UserDeletingRow += new DataGridViewRowCancelEventHandler(this.gridEnvrionmentModel_UserDeletingRow);
     this.gridEnvrionmentModel.RowValidating += new DataGridViewCellCancelEventHandler(this.gridEnvrionmentModel_RowValidating);
     this.gridEnvrionmentModel.CellClick += new DataGridViewCellEventHandler(this.gridEnvrionmentModel_CellClick);
     this.gridEnvrionmentModel.CurrentCellDirtyStateChanged += new EventHandler(this.valueChanged);
     this.user.DisplayStyle = DataGridViewComboBoxDisplayStyle.Nothing;
     this.user.HeaderText = TrafficModelResource.TRAFFICMODEL_USER;
     this.user.Name = "user";
     this.user.Resizable = DataGridViewTriState.True;
     this.mobility.DisplayStyle = DataGridViewComboBoxDisplayStyle.Nothing;
     this.mobility.HeaderText = TrafficMapResource.TRAFFICMAP_MOBILITY;
     this.mobility.Name = "mobility";
     this.mobility.Resizable = DataGridViewTriState.True;
     this.density.HeaderText = TrafficModelResource.TRAFFICMODEL_DENSITYSUBSCRIBERS_KM2;
     this.density.Name = "density";
     this.density.SortMode = DataGridViewColumnSortMode.NotSortable;
     this.density.Width = 200;
     this.txtName.Location = new Point(0x4d, 0x12);
     this.txtName.Margin = new Padding(3, 4, 3, 4);
     this.txtName.Name = "txtName";
     this.txtName.Size = new Size(0x10f, 0x15);
     this.txtName.TabIndex = 1;
     this.txtName.TextChanged += new EventHandler(this.valueChanged);
     this.label2.AutoSize = true;
     this.label2.Location = new Point(7, 0x41);
     this.label2.Name = "label2";
     this.label2.Size = new Size(0x52, 15);
     this.label2.TabIndex = 0;
     this.label2.Text = TrafficModelResource.TRAFFICMODEL_USER_PROFILES;
     this.label1.AutoSize = true;
     this.label1.Location = new Point(7, 0x15);
     this.label1.Name = "label1";
     this.label1.Size = new Size(0x2c, 15);
     this.label1.TabIndex = 0;
     this.label1.Text = NEResource.NE_NAME;
     this.tabPage2.Controls.Add(this.ClutterDataGridView);
     this.tabPage2.Location = new Point(4, 0x18);
     this.tabPage2.Margin = new Padding(3, 4, 3, 4);
     this.tabPage2.Name = "tabPage2";
     this.tabPage2.Padding = new Padding(3, 4, 3, 4);
     this.tabPage2.Size = new Size(0x229, 0x103);
     this.tabPage2.TabIndex = 1;
     this.tabPage2.Text = TrafficModelResource.TRAFFICMODEL_CLUTTER_WEIGHTING;
     this.tabPage2.UseVisualStyleBackColor = true;
     this.ClutterDataGridView.AfterDeleteHanlder = null;
     this.ClutterDataGridView.AllowUserToAddRows = false;
     this.ClutterDataGridView.AllowUserToDeleteRows = false;
     this.ClutterDataGridView.AllowUserToOrderColumns = true;
     style4.BackColor = Color.FromArgb(0xe0, 0xff, 0xff);
     this.ClutterDataGridView.AlternatingRowsDefaultCellStyle = style4;
     this.ClutterDataGridView.BeforeDeleteHanlder = null;
     this.ClutterDataGridView.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.ClutterDataGridView.ColumnHeadersDefaultCellStyle = style5;
     this.ClutterDataGridView.ColumnHeadersHeightSizeMode = DataGridViewColumnHeadersHeightSizeMode.AutoSize;
     this.ClutterDataGridView.Columns.AddRange(new DataGridViewColumn[] { this.ClutterName, this.ClutterWeight, this.ClutterIndoor });
     this.ClutterDataGridView.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.ClutterDataGridView.DefaultCellStyle = style6;
     this.ClutterDataGridView.DeleteFlag = false;
     this.ClutterDataGridView.DeleteHanlder = null;
     this.ClutterDataGridView.Dock = DockStyle.Fill;
     this.ClutterDataGridView.EnableCtrlA = true;
     this.ClutterDataGridView.EnableCtrlD = false;
     this.ClutterDataGridView.EnableDeleteRow = false;
     this.ClutterDataGridView.EnableRowAndColSelect = true;
     this.ClutterDataGridView.EnableSort = false;
     this.ClutterDataGridView.Location = new Point(3, 4);
     this.ClutterDataGridView.Margin = new Padding(3, 4, 3, 4);
     this.ClutterDataGridView.Name = "ClutterDataGridView";
     this.ClutterDataGridView.PasteHandle = null;
     this.ClutterDataGridView.RowTemplate.Height = 0x17;
     this.ClutterDataGridView.ShowCellToolTips = false;
     this.ClutterDataGridView.Size = new Size(0x223, 0xfb);
     this.ClutterDataGridView.TabIndex = 0;
     this.ClutterDataGridView.UncheckedColHeaderText = (List<string>) manager.GetObject("ClutterDataGridView.UncheckedColHeaderText");
     this.ClutterDataGridView.UserDefineHandle = null;
     this.ClutterDataGridView.RowValidating += new DataGridViewCellCancelEventHandler(this.ClutterDataGridView_RowValidating);
     this.ClutterDataGridView.CurrentCellDirtyStateChanged += new EventHandler(this.valueChanged);
     this.ClutterName.HeaderText = TrafficModelResource.TRAFFICMODEL_CLUTTER_CLASS;
     this.ClutterName.Name = "ClutterName";
     this.ClutterName.ReadOnly = true;
     this.ClutterName.SortMode = DataGridViewColumnSortMode.NotSortable;
     this.ClutterWeight.HeaderText = TrafficModelResource.TRAFFICMODEL_WEIGHT;
     this.ClutterWeight.Name = "ClutterWeight";
     this.ClutterWeight.SortMode = DataGridViewColumnSortMode.NotSortable;
     this.ClutterIndoor.HeaderText = TrafficModelResource.TRAFFICMODEL_PERCENT_INDOOR;
     this.ClutterIndoor.Name = "ClutterIndoor";
     this.ClutterIndoor.SortMode = DataGridViewColumnSortMode.NotSortable;
     this.btnOk.Anchor = AnchorStyles.Right | AnchorStyles.Bottom;
     this.btnOk.Location = new Point(0x16a, 0x134);
     this.btnOk.Margin = new Padding(3, 4, 3, 4);
     this.btnOk.Name = "btnOk";
     this.btnOk.Size = new Size(0x41, 0x17);
     this.btnOk.TabIndex = 1;
     this.btnOk.Text = GeneralResource.BUTTON_OK;
     this.btnOk.UseVisualStyleBackColor = true;
     this.btnOk.Click += new EventHandler(this.btnOk_Click);
     this.btnApply.Anchor = AnchorStyles.Right | AnchorStyles.Bottom;
     this.btnApply.Location = new Point(0x1f8, 0x134);
     this.btnApply.Margin = new Padding(3, 4, 3, 4);
     this.btnApply.Name = "btnApply";
     this.btnApply.Size = new Size(0x41, 0x17);
     this.btnApply.TabIndex = 1;
     this.btnApply.Text = GeneralResource.BUTTON_APPLY;
     this.btnApply.UseVisualStyleBackColor = true;
     this.btnApply.Click += new EventHandler(this.btnApply_Click);
     this.btnCancel.Anchor = AnchorStyles.Right | AnchorStyles.Bottom;
     this.btnCancel.Location = new Point(0x1b1, 0x134);
     this.btnCancel.Margin = new Padding(3, 4, 3, 4);
     this.btnCancel.Name = "btnCancel";
     this.btnCancel.Size = new Size(0x41, 0x17);
     this.btnCancel.TabIndex = 1;
     this.btnCancel.Text = GeneralResource.BUTTON_CANCEL;
     this.btnCancel.UseVisualStyleBackColor = true;
     this.btnCancel.Click += new EventHandler(this.btnCancel_Click);
     base.AutoScaleDimensions = new SizeF(7f, 15f);
     base.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
     this.AutoValidate = System.Windows.Forms.AutoValidate.Disable;
     base.ClientSize = new Size(0x249, 0x158);
     base.Controls.Add(this.btnApply);
     base.Controls.Add(this.btnCancel);
     base.Controls.Add(this.btnOk);
     base.Controls.Add(this.environmentTab);
     this.Font = new Font("Arial", 9f, FontStyle.Regular, GraphicsUnit.Point, 0);
     base.KeyPreview = true;
     base.Margin = new Padding(3, 4, 3, 4);
     base.MinimizeBox = false;
     this.MinimumSize = new Size(0x249, 0x158);
     base.Name = "EnvironmentForm";
     base.ShowIcon = false;
     base.ShowInTaskbar = false;
     base.StartPosition = FormStartPosition.CenterScreen;
     this.Text = " ";
     base.KeyDown += new KeyEventHandler(this.EnvironmentForm_KeyDown);
     this.environmentTab.ResumeLayout(false);
     this.tabPage1.ResumeLayout(false);
     this.tabPage1.PerformLayout();
     ((ISupportInitialize)this.gridEnvrionmentModel).EndInit();
     this.tabPage2.ResumeLayout(false);
     ((ISupportInitialize)this.ClutterDataGridView).EndInit();
     base.ResumeLayout(false);
 }
Example #5
0
 private void CheckFloat(int rowIndex, string colunm, float minValue, float maxValue, DataGridViewBase dataGrid)
 {
     string info = string.Empty;
     object inputobj = dataGrid.Rows[rowIndex].Cells[colunm].Value;
     if (!DataValidate.IsFloat(ref info, colunm, inputobj, minValue, maxValue))
     {
         throw new Exception(info);
     }
 }
Example #6
0
        private void InitializeComponent()
        {
            base.SuspendLayout();
           
            this.btnApply = new Button();
            this.btnApply.Location = new System.Drawing.Point(0x2e7, 0x236);
            this.btnApply.Name = "btnApply";
            this.btnApply.Size = new Size(60, 0x17);
            this.btnApply.TabIndex = 9;
            this.btnApply.Text = GeneralResource.BUTTON_APPLY;
            this.btnApply.UseVisualStyleBackColor = true;
            this.btnApply.Visible = false;
            this.btnApply.Click += new EventHandler(this.btnApply_Click);

            this.panel1 = new Panel();
            this.panel1.Anchor = AnchorStyles.Right | AnchorStyles.Left | AnchorStyles.Bottom | AnchorStyles.Top;
            this.panel1.BackColor = Color.White;
            this.panel1.Location = new System.Drawing.Point(0x12f, 13);
            this.panel1.Name = "panel1";
            this.panel1.Size = new Size(500, 0x221);
            this.panel1.TabIndex = 8;

            this.btnCancel = new Button();
            this.btnCancel.Anchor = AnchorStyles.Right | AnchorStyles.Bottom;
            this.btnCancel.CausesValidation = false;
            this.btnCancel.DialogResult = System.Windows.Forms.DialogResult.Cancel;
            this.btnCancel.Location = new System.Drawing.Point(0x2a0, 0x236);
            this.btnCancel.Margin = new Padding(3, 4, 3, 4);
            this.btnCancel.Name = "btnCancel";
            this.btnCancel.Size = new Size(0x41, 0x17);
            this.btnCancel.TabIndex = 7;
            this.btnCancel.Text = GeneralResource.BUTTON_CANCEL;
            this.btnCancel.UseVisualStyleBackColor = true;
            this.btnCancel.Click += new EventHandler(this.btnCancel_Click);

            this.btnOK = new Button();
            this.btnOK.Anchor = AnchorStyles.Right | AnchorStyles.Bottom;
            this.btnOK.Location = new System.Drawing.Point(0x259, 0x236);
            this.btnOK.Margin = new Padding(3, 4, 3, 4);
            this.btnOK.Name = "btnOK";
            this.btnOK.Size = new Size(0x41, 0x17);
            this.btnOK.TabIndex = 6;
            this.btnOK.Text = GeneralResource.BUTTON_OK;
            this.btnOK.UseVisualStyleBackColor = true;
            this.btnOK.Click += new EventHandler(this.btnOK_Click);
            this.btnOK.Resize += new EventHandler(this.DemodulationForm_Resize);

            DataGridViewCellStyle style = new DataGridViewCellStyle();
            DataGridViewCellStyle style2 = new DataGridViewCellStyle();
            DataGridViewCellStyle style3 = new DataGridViewCellStyle();
            ComponentResourceManager manager = new ComponentResourceManager(typeof(DemodulationForm));
            this.dataGridView1 = new DataGridViewBase(true, new EventHandler(this.tsmItemImport_Click), true, new EventHandler(this.tsmItemExport_Click), true, null, false);
            ((ISupportInitialize)this.dataGridView1).BeginInit();
            this.dataGridView1.AfterDeleteHanlder = null;
            this.dataGridView1.AllowUserToOrderColumns = true;
            style.BackColor = SystemColors.MenuBar;
            this.dataGridView1.Anchor = AnchorStyles.Left | AnchorStyles.Bottom | AnchorStyles.Top;
            this.dataGridView1.BeforeDeleteHanlder = null;
            this.dataGridView1.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.dataGridView1.ColumnHeadersDefaultCellStyle = style2;
            this.dataGridView1.ColumnHeadersHeightSizeMode = DataGridViewColumnHeadersHeightSizeMode.AutoSize;
            this.dataGridView1.Columns.AddRange(new DataGridViewColumn[] { this.mcsIndex, this.sinr });
            this.dataGridView1.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.dataGridView1.DefaultCellStyle = style3;
            this.dataGridView1.DeleteHanlder = null;
            this.dataGridView1.EnableCtrlA = true;
            this.dataGridView1.EnableCtrlD = false;
            this.dataGridView1.EnableDeleteRow = false;
            this.dataGridView1.EnableRowAndColSelect = true;
            this.dataGridView1.EnableSort = false;
            this.dataGridView1.Location = new System.Drawing.Point(12, 13);
            this.dataGridView1.Margin = new Padding(3, 4, 3, 4);
            this.dataGridView1.Name = "dataGridView1";
            this.dataGridView1.RowTemplate.Height = 0x17;
            this.dataGridView1.Size = new Size(0x112, 0x221);
            this.dataGridView1.TabIndex = 5;
            this.dataGridView1.UncheckedColHeaderText = (List<string>)manager.GetObject("dataGridView1.UncheckedColHeaderText");
            this.dataGridView1.CellValueChanged += new DataGridViewCellEventHandler(this.dataGridView1_CellValueChanged);
            this.dataGridView1.CellBeginEdit += new DataGridViewCellCancelEventHandler(this.dataGridView1_CellBeginEdit);
            this.dataGridView1.RowValidating += new DataGridViewCellCancelEventHandler(this.dataGridView1_RowValidating);
            this.dataGridView1.UserDeletedRow += new DataGridViewRowEventHandler(this.dataGridView1_UserDeletedRow_1);
            this.dataGridView1.KeyDown += new KeyEventHandler(this.dataGridView1_KeyDown);
            this.dataGridView1.CellClick += new DataGridViewCellEventHandler(this.dataGridView1_CellClick);

            this.mcsIndex = new DataGridViewComboBoxColumn();
            this.mcsIndex.DisplayStyle = DataGridViewComboBoxDisplayStyle.Nothing;
            this.mcsIndex.HeaderText = TrafficModelResource.TRAFFICMODEL_MCSINDEX;
            this.mcsIndex.Name = "mcsIndex";
            this.mcsIndex.Resizable = DataGridViewTriState.True;

            this.sinr = new DataGridViewTextBoxColumn();
            this.sinr.HeaderText = TrafficModelResource.TRAFFICMODEL_SINR;
            this.sinr.Name = "sinr";
            this.sinr.SortMode = DataGridViewColumnSortMode.NotSortable;

            ((ISupportInitialize)this.dataGridView1).EndInit();

            base.AutoScaleDimensions = new SizeF(7f, 15f);
            base.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
            base.ClientSize = new Size(0x32f, 0x259);
            base.Controls.Add(this.btnApply);
            base.Controls.Add(this.panel1);
            base.Controls.Add(this.btnCancel);
            base.Controls.Add(this.btnOK);
            base.Controls.Add(this.dataGridView1);
            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 = "DemodulationForm";
            base.ShowIcon = false;
            base.ShowInTaskbar = false;
            base.StartPosition = FormStartPosition.CenterScreen;
            this.Text = TrafficModelResource.TRAFFICMODEL_DEMODULATIONFORM;
            base.Resize += new EventHandler(this.DemodulationForm_Resize);
            base.ResumeLayout(false);
        }
Example #7
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);
 }
Example #8
0
 private void InitializeComponent()
 {
     DataGridViewCellStyle style = new DataGridViewCellStyle();
     DataGridViewCellStyle style2 = new DataGridViewCellStyle();
     DataGridViewCellStyle style3 = new DataGridViewCellStyle();
     ComponentResourceManager manager = new ComponentResourceManager(typeof(UserProfileCompareResult));
     this.tabControl1 = new TabControl();
     this.General = new TabPage();
     this.dataGridView1 = new DataGridViewBase();
     this.UserItem = new DataGridViewTextBoxColumn();
     this.Priority = new DataGridViewTextBoxColumn();
     this.Service = new DataGridViewComboBoxColumn();
     this.Terminal = new DataGridViewComboBoxColumn();
     this.Calls = new DataGridViewTextBoxColumn();
     this.Duration = new DataGridViewTextBoxColumn();
     this.ULVolume = new DataGridViewTextBoxColumn();
     this.DLVolume = new DataGridViewTextBoxColumn();
     this.Cancel = new Button();
     this.Ok = new Button();
     this.tabControl1.SuspendLayout();
     this.General.SuspendLayout();
     ((ISupportInitialize)this.dataGridView1).BeginInit();
     base.SuspendLayout();
     this.tabControl1.Anchor = AnchorStyles.Right | AnchorStyles.Left | AnchorStyles.Bottom | AnchorStyles.Top;
     this.tabControl1.Controls.Add(this.General);
     this.tabControl1.Location = new System.Drawing.Point(12, 14);
     this.tabControl1.Margin = new Padding(3, 5, 3, 5);
     this.tabControl1.Name = "tabControl1";
     this.tabControl1.SelectedIndex = 0;
     this.tabControl1.Size = new Size(0x33b, 0x18a);
     this.tabControl1.TabIndex = 1;
     this.General.Controls.Add(this.dataGridView1);
     this.General.Location = new System.Drawing.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(0x333, 0x16e);
     this.General.TabIndex = 0;
     this.General.Text = GeneralResource.GENERAL_GENERAL;
     this.General.UseVisualStyleBackColor = true;
     this.dataGridView1.AfterDeleteHanlder = null;
     this.dataGridView1.AllowUserToAddRows = false;
     this.dataGridView1.AllowUserToOrderColumns = true;
     style.BackColor = SystemColors.MenuBar;
     this.dataGridView1.Anchor = AnchorStyles.Right | AnchorStyles.Left | AnchorStyles.Bottom | AnchorStyles.Top;
     this.dataGridView1.BeforeDeleteHanlder = null;
     this.dataGridView1.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.dataGridView1.ColumnHeadersDefaultCellStyle = style2;
     this.dataGridView1.ColumnHeadersHeightSizeMode = DataGridViewColumnHeadersHeightSizeMode.AutoSize;
     this.dataGridView1.Columns.AddRange(new DataGridViewColumn[] { this.UserItem, this.Priority, this.Service, this.Terminal, this.Calls, this.Duration, this.ULVolume, this.DLVolume });
     this.dataGridView1.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.dataGridView1.DefaultCellStyle = style3;
     this.dataGridView1.DeleteHanlder = null;
     this.dataGridView1.EnableCtrlA = true;
     this.dataGridView1.EnableCtrlD = false;
     this.dataGridView1.EnableDeleteRow = true;
     this.dataGridView1.EnableRowAndColSelect = true;
     this.dataGridView1.EnableSort = true;
     this.dataGridView1.Location = new System.Drawing.Point(9, 15);
     this.dataGridView1.Margin = new Padding(3, 4, 3, 4);
     this.dataGridView1.Name = "dataGridView1";
     this.dataGridView1.RowTemplate.Height = 0x17;
     this.dataGridView1.Size = new Size(0x324, 0x156);
     this.dataGridView1.TabIndex = 0;
     this.dataGridView1.UncheckedColHeaderText = (List<string>) manager.GetObject("dataGridView1.UncheckedColHeaderText");
     this.dataGridView1.RowValidating += new DataGridViewCellCancelEventHandler(this.dataGridView1_RowValidating);
     this.dataGridView1.ColumnHeaderMouseClick += new DataGridViewCellMouseEventHandler(this.dataGridView1_ColumnHeaderMouseClick);
     this.dataGridView1.CellEnter += new DataGridViewCellEventHandler(this.dataGridView1_CellEnter);
     this.UserItem.HeaderText = TrafficModelResource.TRAFFICMODEL_USERPROFILE_NAME;
     this.UserItem.Name = "UserItem";
     this.UserItem.ReadOnly = true;
     this.UserItem.SortMode = DataGridViewColumnSortMode.NotSortable;
     this.UserItem.Width = 120;
     this.Priority.HeaderText = TrafficModelResource.TRAFFICMODEL_PRIORITY_WITHOUTCOLON;
     this.Priority.Name = "Priority";
     this.Priority.SortMode = DataGridViewColumnSortMode.NotSortable;
     this.Priority.ReadOnly = true;
     this.Service.DisplayStyle = DataGridViewComboBoxDisplayStyle.Nothing;
     this.Service.HeaderText = TrafficModelResource.TRAFFICMODEL_SERVICE;
     this.Service.Name = "Service";
     this.Service.Resizable = DataGridViewTriState.True;
     this.Service.Width = 120;
     this.Terminal.DisplayStyle = DataGridViewComboBoxDisplayStyle.Nothing;
     this.Terminal.HeaderText = TrafficModelResource.TRAFFICMODEL_TERMINAL;
     this.Terminal.Name = "Terminal";
     this.Terminal.Resizable = DataGridViewTriState.True;
     this.Calls.HeaderText = TrafficModelResource.TRAFFICMODEL_CALLS_HOUR;
     this.Calls.Name = "Calls";
     this.Calls.SortMode = DataGridViewColumnSortMode.NotSortable;
     this.Duration.HeaderText = TrafficModelResource.TRAFFICMODEL_DURATIONS;
     this.Duration.Name = "Duration";
     this.Duration.SortMode = DataGridViewColumnSortMode.NotSortable;
     this.ULVolume.HeaderText = TrafficModelResource.TRAFFICMODEL_UL_VOLUMEKBYTE;
     this.ULVolume.Name = "ULVolume";
     this.ULVolume.SortMode = DataGridViewColumnSortMode.NotSortable;
     this.DLVolume.HeaderText = TrafficModelResource.TRAFFICMODEL_DL_VOLUMEKBYTE;
     this.DLVolume.Name = "DLVolume";
     this.DLVolume.SortMode = DataGridViewColumnSortMode.NotSortable;
     this.Cancel.Anchor = AnchorStyles.Right | AnchorStyles.Bottom;
     this.Cancel.Location = new System.Drawing.Point(760, 0x1a0);
     this.Cancel.Name = "Cancel";
     this.Cancel.Size = new Size(0x4b, 0x17);
     this.Cancel.TabIndex = 4;
     this.Cancel.Text = GeneralResource.BUTTON_CANCEL;
     this.Cancel.UseVisualStyleBackColor = true;
     this.Cancel.Click += new EventHandler(this.Cancel_Click);
     this.Ok.Anchor = AnchorStyles.Right | AnchorStyles.Bottom;
     this.Ok.Location = new System.Drawing.Point(0x2a7, 0x1a0);
     this.Ok.Name = "Ok";
     this.Ok.Size = new Size(0x4b, 0x17);
     this.Ok.TabIndex = 3;
     this.Ok.Text = GeneralResource.BUTTON_OK;
     this.Ok.UseVisualStyleBackColor = true;
     this.Ok.Click += new EventHandler(this.Ok_Click);
     base.AutoScaleDimensions = new SizeF(7f, 15f);
     base.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
     base.ClientSize = new Size(0x353, 0x1c5);
     base.Controls.Add(this.Cancel);
     base.Controls.Add(this.Ok);
     base.Controls.Add(this.tabControl1);
     this.Font = new Font("Arial", 9f, FontStyle.Regular, GraphicsUnit.Point, 0);
     base.Margin = new Padding(3, 4, 3, 4);
     this.MinimumSize = new Size(0x35b, 0x1d3);
     base.Name = "UserProfileCompareResult";
     base.ShowIcon = false;
     base.ShowInTaskbar = false;
     base.MinimizeBox = false;
     base.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen;
     this.Text = TrafficModelResource.TRAFFICMODEL_USERPROFILECOMPARERESULT;
     this.tabControl1.ResumeLayout(false);
     this.General.ResumeLayout(false);
     ((ISupportInitialize)this.dataGridView1).EndInit();
     base.ResumeLayout(false);
 }
Example #9
0
 private void ResponseDataGridViewDataError(DataGridViewBase view, DataGridViewDataErrorEventArgs e)
 {
     view.Rows[e.RowIndex].Cells[e.ColumnIndex].ErrorText = "Don't try a invalid value";
     DataGridViewCellStyle style = new DataGridViewCellStyle();
     style.BackColor = Color.LightSkyBlue;
     style.ForeColor = Color.Black;
     view.Rows[e.RowIndex].Cells[e.ColumnIndex].Style = style;
     view.Rows[e.RowIndex].Cells[e.ColumnIndex].Value = 0;
     view.Rows[e.RowIndex].Cells[e.ColumnIndex].Tag = "ERROR";
     e.Cancel = false;
 }
Example #10
0
 private void ResponseDataGridViewCellEndEdit(DataGridViewBase view, DataGridViewCellEventArgs e)
 {
     if (view.Rows[e.RowIndex].Cells[e.ColumnIndex].Tag == null)
     {
         view.Rows[e.RowIndex].Cells[e.ColumnIndex].ErrorText = null;
         view.Rows[e.RowIndex].Cells[e.ColumnIndex].Style = new DataGridViewCellStyle();
     }
     else if (view.Rows[e.RowIndex].Cells[e.ColumnIndex].Tag.ToString().Equals("ERROR"))
     {
         view.Rows[e.RowIndex].Cells[e.ColumnIndex].Tag = null;
     }
 }
Example #11
0
 private void InitializeComponent()
 {
     this.components = new Container();
     DataGridViewCellStyle style = new DataGridViewCellStyle();
     DataGridViewCellStyle style2 = new DataGridViewCellStyle();
     ComponentResourceManager manager = new ComponentResourceManager(typeof(ClutterParamsForm));
     DataGridViewCellStyle style3 = new DataGridViewCellStyle();
     DataGridViewCellStyle style4 = new DataGridViewCellStyle();
     this.btn_Apply = new Button();
     this.btn_Cancel = new Button();
     this.btn_OK = new Button();
     this.iClutterParamsBindingSource = new BindingSource(this.components);
     this.tabControl1 = new TabControl();
     this.tabPageActualValue = new TabPage();
     this.tabPageDefaultValue = new TabPage();
     this.bindingSourceDefaultClutterParams = new BindingSource(this.components);
     this.dgvActualClutterParams = new DataGridViewBase();
     this.dgvDefaultClutterParams = new DataGridViewBase();
     this.Code = new DataGridViewTextBoxColumn();
     this.ClutterName = new DataGridViewTextBoxColumn();
     this.CluHeight = new DataGridViewTextBoxColumn();
     this.SpatialMu = new DataGridViewTextBoxColumn();
     this.PenetrationLoss = new DataGridViewTextBoxColumn();
     this.ShadowStd = new DataGridViewTextBoxColumn();
     this.ShadowCor = new DataGridViewTextBoxColumn();
     this.C_I_NStandDev = new DataGridViewTextBoxColumn();
     this.dataGridViewTextBoxColumn1 = new DataGridViewTextBoxColumn();
     this.dataGridViewTextBoxColumn2 = new DataGridViewTextBoxColumn();
     this.dataGridViewTextBoxColumn3 = new DataGridViewTextBoxColumn();
     this.dataGridViewTextBoxColumn4 = new DataGridViewTextBoxColumn();
     this.dataGridViewTextBoxColumn5 = new DataGridViewTextBoxColumn();
     this.DataGridViewTextBoxColumn7 = new DataGridViewTextBoxColumn();
     this.DataGridViewTextBoxColumn8 = new DataGridViewTextBoxColumn();
     this.C_I_NStandDev2 = new DataGridViewTextBoxColumn();
     ((ISupportInitialize) this.iClutterParamsBindingSource).BeginInit();
     this.tabControl1.SuspendLayout();
     this.tabPageActualValue.SuspendLayout();
     this.tabPageDefaultValue.SuspendLayout();
     ((ISupportInitialize) this.bindingSourceDefaultClutterParams).BeginInit();
     ((ISupportInitialize) this.dgvActualClutterParams).BeginInit();
     ((ISupportInitialize) this.dgvDefaultClutterParams).BeginInit();
     base.SuspendLayout();
     this.btn_Apply.Anchor = AnchorStyles.Right | AnchorStyles.Bottom;
     this.btn_Apply.Enabled = false;
     this.btn_Apply.Location = new System.Drawing.Point(0x207, 0x16e);
     this.btn_Apply.Name = "btn_Apply";
     this.btn_Apply.Size = new Size(0x4b, 0x17);
     this.btn_Apply.TabIndex = 6;
     this.btn_Apply.Text = GISCtrlGResourceEx.GIS_APPLY;
     this.btn_Apply.UseVisualStyleBackColor = true;
     this.btn_Apply.Click += new EventHandler(this.btn_Apply_Click);
     this.btn_Cancel.Anchor = AnchorStyles.Right | AnchorStyles.Bottom;
     this.btn_Cancel.DialogResult = DialogResult.Cancel;
     this.btn_Cancel.Location = new System.Drawing.Point(0x1b6, 0x16e);
     this.btn_Cancel.Name = "btn_Cancel";
     this.btn_Cancel.Size = new Size(0x4b, 0x17);
     this.btn_Cancel.TabIndex = 5;
     this.btn_Cancel.Text = GISCtrlGResourceEx.GIS_CANCEL;
     this.btn_Cancel.UseVisualStyleBackColor = true;
     this.btn_Cancel.Click += new EventHandler(this.btn_Cancel_Click);
     this.btn_OK.Anchor = AnchorStyles.Right | AnchorStyles.Bottom;
     this.btn_OK.Location = new System.Drawing.Point(0x165, 0x16e);
     this.btn_OK.Name = "btn_OK";
     this.btn_OK.Size = new Size(0x4b, 0x17);
     this.btn_OK.TabIndex = 4;
     this.btn_OK.Text = GISCtrlGResourceEx.GIS_OK;
     this.btn_OK.UseVisualStyleBackColor = true;
     this.btn_OK.Click += new EventHandler(this.btn_OK_Click);
     this.iClutterParamsBindingSource.AllowNew = false;
     this.tabControl1.Anchor = AnchorStyles.Right | AnchorStyles.Left | AnchorStyles.Bottom | AnchorStyles.Top;
     this.tabControl1.Controls.Add(this.tabPageActualValue);
     this.tabControl1.Controls.Add(this.tabPageDefaultValue);
     this.tabControl1.Location = new System.Drawing.Point(-1, 1);
     this.tabControl1.Name = "tabControl1";
     this.tabControl1.SelectedIndex = 0;
     this.tabControl1.Size = new Size(0x253, 0x167);
     this.tabControl1.TabIndex = 7;
     this.tabPageActualValue.Controls.Add(this.dgvActualClutterParams);
     this.tabPageActualValue.Location = new System.Drawing.Point(4, 0x15);
     this.tabPageActualValue.Name = "tabPageActualValue";
     this.tabPageActualValue.Padding = new Padding(3);
     this.tabPageActualValue.Size = new Size(0x24b, 0x14e);
     this.tabPageActualValue.TabIndex = 0;
     this.tabPageActualValue.Text = GISCtrlGResourceEx.GIS_ACTUALVALUE;
     this.tabPageActualValue.UseVisualStyleBackColor = true;
     this.tabPageDefaultValue.Controls.Add(this.dgvDefaultClutterParams);
     this.tabPageDefaultValue.Location = new System.Drawing.Point(4, 0x15);
     this.tabPageDefaultValue.Name = "tabPageDefaultValue";
     this.tabPageDefaultValue.Padding = new Padding(3);
     this.tabPageDefaultValue.Size = new Size(0x24b, 0x14e);
     this.tabPageDefaultValue.TabIndex = 1;
     this.tabPageDefaultValue.Text = GISCtrlGResourceEx.GIS_DEFAULTVALUE;
     this.tabPageDefaultValue.UseVisualStyleBackColor = true;
     this.bindingSourceDefaultClutterParams.AllowNew = false;
     this.dgvActualClutterParams.AllowUserToAddRows = false;
     this.dgvActualClutterParams.AllowUserToDeleteRows = false;
     this.dgvActualClutterParams.AllowUserToResizeRows = false;
     style.Alignment = DataGridViewContentAlignment.MiddleLeft;
     this.dgvActualClutterParams.Anchor = AnchorStyles.Right | AnchorStyles.Left | AnchorStyles.Bottom | AnchorStyles.Top;
     this.dgvActualClutterParams.AutoSizeColumnsMode = DataGridViewAutoSizeColumnsMode.DisplayedCells;
     this.dgvActualClutterParams.AutoSizeRowsMode = DataGridViewAutoSizeRowsMode.DisplayedCells;
     this.dgvActualClutterParams.BackgroundColor = SystemColors.ScrollBar;
     this.dgvActualClutterParams.ClearHandle = null;
     this.dgvActualClutterParams.ColumnHeadersHeightSizeMode = DataGridViewColumnHeadersHeightSizeMode.AutoSize;
     this.dgvActualClutterParams.Columns.AddRange(new DataGridViewColumn[] { this.Code, this.ClutterName, this.CluHeight, this.SpatialMu, this.PenetrationLoss, this.ShadowStd, this.ShadowCor, this.C_I_NStandDev });
     this.dgvActualClutterParams.CtrlDHanlder = null;
     this.dgvActualClutterParams.DeleteHanlder = null;
     this.dgvActualClutterParams.EnableCtrlA = true;
     this.dgvActualClutterParams.EnableCtrlD = false;
     this.dgvActualClutterParams.EnableDeleteRow = false;
     this.dgvActualClutterParams.EnableRowAndColSelect = true;
     this.dgvActualClutterParams.EnableSort = false;
     this.dgvActualClutterParams.Location = new System.Drawing.Point(0, -1);
     this.dgvActualClutterParams.Name = "dgvActualClutterParams";
     this.dgvActualClutterParams.RowHeadersWidth = 20;
     style2.NullValue = "[Null]";
     style2.WrapMode = DataGridViewTriState.True;
     this.dgvActualClutterParams.RowsDefaultCellStyle = style2;
     this.dgvActualClutterParams.RowTemplate.Height = 0x17;
     this.dgvActualClutterParams.Size = new Size(0x24f, 0x153);
     this.dgvActualClutterParams.TabIndex = 0;
     this.dgvActualClutterParams.UncheckedColHeaderText = (List<string>) manager.GetObject("dgvActualClutterParams.UncheckedColHeaderText");
     this.dgvActualClutterParams.CellValueChanged += new DataGridViewCellEventHandler(this.dataGridView_CellValueChanged);
     this.dgvActualClutterParams.CellEndEdit += new DataGridViewCellEventHandler(this.ActualClutterParams_CellEndEdit);
     this.dgvActualClutterParams.DataError += new DataGridViewDataErrorEventHandler(this.ActualClutterParams_DataError);
     this.dgvActualClutterParams.KeyDown += new KeyEventHandler(this.ActualClutterParams_KeyDown);
     this.dgvDefaultClutterParams.AllowUserToAddRows = false;
     this.dgvDefaultClutterParams.AllowUserToDeleteRows = false;
     this.dgvDefaultClutterParams.AllowUserToResizeRows = false;
     this.dgvDefaultClutterParams.Anchor = AnchorStyles.Right | AnchorStyles.Left | AnchorStyles.Bottom | AnchorStyles.Top;
     this.dgvDefaultClutterParams.AutoSizeColumnsMode = DataGridViewAutoSizeColumnsMode.DisplayedCells;
     this.dgvDefaultClutterParams.AutoSizeRowsMode = DataGridViewAutoSizeRowsMode.DisplayedCells;
     this.dgvDefaultClutterParams.BackgroundColor = SystemColors.ScrollBar;
     this.dgvDefaultClutterParams.ClearHandle = null;
     this.dgvDefaultClutterParams.ColumnHeadersHeightSizeMode = DataGridViewColumnHeadersHeightSizeMode.AutoSize;
     this.dgvDefaultClutterParams.Columns.AddRange(new DataGridViewColumn[] { this.dataGridViewTextBoxColumn1, this.dataGridViewTextBoxColumn2, this.dataGridViewTextBoxColumn3, this.dataGridViewTextBoxColumn4, this.dataGridViewTextBoxColumn5, this.DataGridViewTextBoxColumn7, this.DataGridViewTextBoxColumn8, this.C_I_NStandDev2 });
     this.dgvDefaultClutterParams.CtrlDHanlder = null;
     this.dgvDefaultClutterParams.DeleteHanlder = null;
     this.dgvDefaultClutterParams.EnableCtrlA = true;
     this.dgvDefaultClutterParams.EnableCtrlD = false;
     this.dgvDefaultClutterParams.EnableDeleteRow = false;
     this.dgvDefaultClutterParams.EnableRowAndColSelect = true;
     this.dgvDefaultClutterParams.EnableSort = false;
     this.dgvDefaultClutterParams.Location = new System.Drawing.Point(0, -1);
     this.dgvDefaultClutterParams.Name = "dgvDefaultClutterParams";
     this.dgvDefaultClutterParams.RowHeadersWidth = 20;
     style4.NullValue = "[Null]";
     style4.WrapMode = DataGridViewTriState.True;
     this.dgvDefaultClutterParams.RowsDefaultCellStyle = style4;
     this.dgvDefaultClutterParams.RowTemplate.Height = 0x17;
     this.dgvDefaultClutterParams.Size = new Size(0x24f, 0x153);
     this.dgvDefaultClutterParams.TabIndex = 1;
     this.dgvDefaultClutterParams.UncheckedColHeaderText = (List<string>) manager.GetObject("dgvDefaultClutterParams.UncheckedColHeaderText");
     this.dgvDefaultClutterParams.CellValueChanged += new DataGridViewCellEventHandler(this.dataGridView_CellValueChanged);
     this.dgvDefaultClutterParams.CellEndEdit += new DataGridViewCellEventHandler(this.dataGridViewDefaultClutterParams_CellEndEdit);
     this.dgvDefaultClutterParams.DataError += new DataGridViewDataErrorEventHandler(this.dataGridViewDefaultClutterParams_DataError);
     this.Code.AutoSizeMode = DataGridViewAutoSizeColumnMode.ColumnHeader;
     this.Code.DataPropertyName = "Code";
     this.Code.Frozen = true;
     this.Code.HeaderText = GISCtrlGResourceEx.GIS_CODE;
     this.Code.Name = "Code";
     this.Code.ReadOnly = true;
     this.Code.SortMode = DataGridViewColumnSortMode.NotSortable;
     this.Code.Width = 0x23;
     this.ClutterName.DataPropertyName = GISCtrlGResourceEx.GIS_COLORBASE_CLUTTER_NAME;
     this.ClutterName.HeaderText = GISCtrlGResourceEx.GIS_NAME;
     this.ClutterName.Name = "ClutterName";
     this.ClutterName.ReadOnly = true;
     this.ClutterName.SortMode = DataGridViewColumnSortMode.NotSortable;
     this.ClutterName.Width = 0x23;
     this.CluHeight.AutoSizeMode = DataGridViewAutoSizeColumnMode.None;
     this.CluHeight.DataPropertyName = GISCtrlGResourceEx.GIS_HEIGHT;
     this.CluHeight.HeaderText = GISCtrlGResourceEx.GIS_CLUTTER_HEIGHT;
     this.CluHeight.MaxInputLength = 20;
     this.CluHeight.Name = "CluHeight";
     this.CluHeight.SortMode = DataGridViewColumnSortMode.NotSortable;
     this.CluHeight.Width = 0x5f;
     this.SpatialMu.AutoSizeMode = DataGridViewAutoSizeColumnMode.None;
     this.SpatialMu.DataPropertyName = GISCtrlGResourceEx.GIS_COLORBASE_SPATIAL_MULTIPLEX;
     this.SpatialMu.HeaderText = GISCtrlGResourceEx.GIS_SPATIALMULTIPLEXFACTOR;
     this.SpatialMu.MaxInputLength = 20;
     this.SpatialMu.Name = "SpatialMu";
     this.SpatialMu.SortMode = DataGridViewColumnSortMode.NotSortable;
     this.SpatialMu.Width = 140;
     this.PenetrationLoss.AutoSizeMode = DataGridViewAutoSizeColumnMode.None;
     this.PenetrationLoss.DataPropertyName = GISCtrlGResourceEx.GIS_PENETRATIONLOSS;
     this.PenetrationLoss.HeaderText = GISCtrlGResourceEx.GIS_PENETRATIONLOSS;
     this.PenetrationLoss.MaxInputLength = 20;
     this.PenetrationLoss.Name = "PenetrationLoss";
     this.PenetrationLoss.SortMode = DataGridViewColumnSortMode.NotSortable;
     this.ShadowStd.AutoSizeMode = DataGridViewAutoSizeColumnMode.None;
     this.ShadowStd.DataPropertyName = GISCtrlGResourceEx.GIS_SHADOW_STD;
     this.ShadowStd.HeaderText = GISCtrlGResourceEx.GIS_SHADOW_STD;
     this.ShadowStd.MaxInputLength = 20;
     this.ShadowStd.Name = "ShadowStd";
     this.ShadowStd.SortMode = DataGridViewColumnSortMode.NotSortable;
     this.ShadowStd.Width = 80;
     this.ShadowCor.AutoSizeMode = DataGridViewAutoSizeColumnMode.None;
     this.ShadowCor.DataPropertyName = GISCtrlGResourceEx.GIS_SHADOW_COR;
     this.ShadowCor.HeaderText = GISCtrlGResourceEx.GIS_SHADOW_COR;
     this.ShadowCor.MaxInputLength = 20;
     this.ShadowCor.Name = "ShadowCor";
     this.ShadowCor.SortMode = DataGridViewColumnSortMode.NotSortable;
     this.ShadowCor.Width = 80;
     this.C_I_NStandDev.AutoSizeMode = DataGridViewAutoSizeColumnMode.None;
     this.C_I_NStandDev.DataPropertyName = GISCtrlGResourceEx.GIS_C_I_NStandDev;
     this.C_I_NStandDev.HeaderText = GISCtrlGResourceEx.GIS_C_I_NStandDev;
     this.C_I_NStandDev.MaxInputLength = 20;
     this.C_I_NStandDev.Name = "C_I_NStandDev";
     this.C_I_NStandDev.SortMode = DataGridViewColumnSortMode.NotSortable;
     this.C_I_NStandDev.Width = 80;
     this.dataGridViewTextBoxColumn1.DataPropertyName = GISCtrlGResourceEx.GIS_CODE;
     this.dataGridViewTextBoxColumn1.Frozen = true;
     this.dataGridViewTextBoxColumn1.HeaderText = GISCtrlGResourceEx.GIS_CODE;
     this.dataGridViewTextBoxColumn1.Name = "dataGridViewTextBoxColumn1";
     this.dataGridViewTextBoxColumn1.ReadOnly = true;
     this.dataGridViewTextBoxColumn1.SortMode = DataGridViewColumnSortMode.NotSortable;
     this.dataGridViewTextBoxColumn1.Width = 0x23;
     this.dataGridViewTextBoxColumn2.DataPropertyName = GISCtrlGResourceEx.GIS_COLORBASE_CLUTTER_NAME;
     this.dataGridViewTextBoxColumn2.Frozen = true;
     this.dataGridViewTextBoxColumn2.HeaderText = GISCtrlGResourceEx.GIS_NAME;
     this.dataGridViewTextBoxColumn2.Name = "dataGridViewTextBoxColumn2";
     this.dataGridViewTextBoxColumn2.ReadOnly = true;
     this.dataGridViewTextBoxColumn2.SortMode = DataGridViewColumnSortMode.NotSortable;
     this.dataGridViewTextBoxColumn2.Width = 0x23;
     this.dataGridViewTextBoxColumn3.AutoSizeMode = DataGridViewAutoSizeColumnMode.None;
     this.dataGridViewTextBoxColumn3.DataPropertyName = GISCtrlGResourceEx.GIS_HEIGHT;
     this.dataGridViewTextBoxColumn3.HeaderText = GISCtrlGResourceEx.GIS_CLUTTER_HEIGHT;
     this.dataGridViewTextBoxColumn3.MaxInputLength = 20;
     this.dataGridViewTextBoxColumn3.Name = "dataGridViewTextBoxColumn3";
     this.dataGridViewTextBoxColumn3.SortMode = DataGridViewColumnSortMode.NotSortable;
     this.dataGridViewTextBoxColumn3.Width = 0x5f;
     this.dataGridViewTextBoxColumn4.AutoSizeMode = DataGridViewAutoSizeColumnMode.None;
     this.dataGridViewTextBoxColumn4.DataPropertyName = GISCtrlGResourceEx.GIS_COLORBASE_SPATIAL_MULTIPLEX;
     this.dataGridViewTextBoxColumn4.HeaderText = GISCtrlGResourceEx.GIS_SPATIALMULTIPLEXFACTOR;
     this.dataGridViewTextBoxColumn4.MaxInputLength = 20;
     this.dataGridViewTextBoxColumn4.Name = "dataGridViewTextBoxColumn4";
     this.dataGridViewTextBoxColumn4.SortMode = DataGridViewColumnSortMode.NotSortable;
     this.dataGridViewTextBoxColumn4.Width = 140;
     this.dataGridViewTextBoxColumn5.AutoSizeMode = DataGridViewAutoSizeColumnMode.None;
     this.dataGridViewTextBoxColumn5.DataPropertyName = GISCtrlGResourceEx.GIS_PENETRATIONLOSS;
     this.dataGridViewTextBoxColumn5.HeaderText = GISCtrlGResourceEx.GIS_PENETRATIONLOSS;
     this.dataGridViewTextBoxColumn5.MaxInputLength = 20;
     this.dataGridViewTextBoxColumn5.Name = "dataGridViewTextBoxColumn5";
     this.dataGridViewTextBoxColumn5.SortMode = DataGridViewColumnSortMode.NotSortable;
     this.DataGridViewTextBoxColumn7.AutoSizeMode = DataGridViewAutoSizeColumnMode.None;
     this.DataGridViewTextBoxColumn7.DataPropertyName = GISCtrlGResourceEx.GIS_SHADOW_STD;
     this.DataGridViewTextBoxColumn7.HeaderText = GISCtrlGResourceEx.GIS_SHADOW_STD;
     this.DataGridViewTextBoxColumn7.MaxInputLength = 20;
     this.DataGridViewTextBoxColumn7.Name = "DataGridViewTextBoxColumn7";
     this.DataGridViewTextBoxColumn7.SortMode = DataGridViewColumnSortMode.NotSortable;
     this.DataGridViewTextBoxColumn7.Width = 80;
     this.DataGridViewTextBoxColumn8.AutoSizeMode = DataGridViewAutoSizeColumnMode.None;
     this.DataGridViewTextBoxColumn8.DataPropertyName = GISCtrlGResourceEx.GIS_SHADOW_COR;
     this.DataGridViewTextBoxColumn8.HeaderText = GISCtrlGResourceEx.GIS_SHADOW_COR;
     this.DataGridViewTextBoxColumn8.MaxInputLength = 20;
     this.DataGridViewTextBoxColumn8.Name = "DataGridViewTextBoxColumn8";
     this.DataGridViewTextBoxColumn8.SortMode = DataGridViewColumnSortMode.NotSortable;
     this.DataGridViewTextBoxColumn8.Width = 80;
     this.C_I_NStandDev2.AutoSizeMode = DataGridViewAutoSizeColumnMode.None;
     this.C_I_NStandDev2.DataPropertyName = GISCtrlGResourceEx.GIS_C_I_NStandDev;
     this.C_I_NStandDev2.HeaderText = GISCtrlGResourceEx.GIS_C_I_NStandDev;
     this.C_I_NStandDev2.MaxInputLength = 20;
     this.C_I_NStandDev2.Name = "C_I_NStandDev";
     this.C_I_NStandDev2.SortMode = DataGridViewColumnSortMode.NotSortable;
     this.C_I_NStandDev2.Width = 80;
     base.AutoScaleDimensions = new SizeF(6f, 12f);
     base.AutoScaleMode = AutoScaleMode.Font;
     base.ClientSize = new Size(0x25a, 0x198);
     base.Controls.Add(this.tabControl1);
     base.Controls.Add(this.btn_Apply);
     base.Controls.Add(this.btn_Cancel);
     base.Controls.Add(this.btn_OK);
     base.MaximizeBox = false;
     base.MinimizeBox = false;
     this.MinimumSize = new Size(610, 0x1b3);
     base.Name = "ClutterParamsForm";
     base.ShowIcon = false;
     base.ShowInTaskbar = false;
     base.SizeGripStyle = SizeGripStyle.Show;
     base.StartPosition = FormStartPosition.CenterScreen;
     this.Text = GISCtrlGResourceEx.GIS_CLUTTER_PARAMETERS_DISPLAY;
     base.Load += new EventHandler(this.ClutterParamsForm_Load);
     ((ISupportInitialize) this.iClutterParamsBindingSource).EndInit();
     this.tabControl1.ResumeLayout(false);
     this.tabPageActualValue.ResumeLayout(false);
     this.tabPageDefaultValue.ResumeLayout(false);
     ((ISupportInitialize) this.bindingSourceDefaultClutterParams).EndInit();
     ((ISupportInitialize) this.dgvActualClutterParams).EndInit();
     ((ISupportInitialize) this.dgvDefaultClutterParams).EndInit();
     base.ResumeLayout(false);
     base.KeyPreview = true;
     base.HelpButton = true;
     base.KeyDown += new KeyEventHandler(this.ClutterParamsForm_KeyDown);
     base.HelpButtonClicked += new CancelEventHandler(this.ClutterParamsForm_HelpButtonClicked);
 }
Example #12
0
        private void InitializeComponent()
        {
            DataGridViewCellStyle style = new DataGridViewCellStyle();
            DataGridViewCellStyle style2 = new DataGridViewCellStyle();
            DataGridViewCellStyle style3 = new DataGridViewCellStyle();
            //ComponentResourceManager manager = new ComponentResourceManager(typeof(UMTSCellNeighborForm));
            DataGridViewCellStyle style4 = new DataGridViewCellStyle();
            DataGridViewCellStyle style5 = new DataGridViewCellStyle();
            DataGridViewCellStyle style6 = new DataGridViewCellStyle();
            DataGridViewCellStyle style7 = new DataGridViewCellStyle();
            DataGridViewCellStyle style8 = new DataGridViewCellStyle();
            DataGridViewCellStyle style9 = new DataGridViewCellStyle();
            this.dgvIntra = new DataGridViewBase();
            this.btnOK = new Button();
            this.btnCancel = new Button();
            this.tabControl1 = new TabControl();
            this.Intra = new TabPage();
            this.Inter = new TabPage();
            this.dgvInter = new DataGridViewBase();
            this.InterTechnology = new TabPage();
            this.dgvInterTechnology = new DataGridViewBase();
            this.colcmbxInterTechnology = new DataGridViewComboBoxColumn();
            this.colcmbxIntraNeighborCell = new DataGridViewComboBoxColumn();
            this.colcmbxInterNeighborCell = new DataGridViewComboBoxColumn();
            ((ISupportInitialize) this.dgvIntra).BeginInit();
            this.tabControl1.SuspendLayout();
            this.Intra.SuspendLayout();
            this.Inter.SuspendLayout();
            ((ISupportInitialize) this.dgvInter).BeginInit();
            this.InterTechnology.SuspendLayout();
            ((ISupportInitialize) this.dgvInterTechnology).BeginInit();
            base.SuspendLayout();
            this.dgvIntra.AfterDeleteHanlder = null;
            this.dgvIntra.AllowUserToOrderColumns = true;
            style.BackColor = Color.FromArgb(0xe0, 0xff, 0xff);
            this.dgvIntra.AlternatingRowsDefaultCellStyle = style;
            this.dgvIntra.BeforeDeleteHanlder = null;
            this.dgvIntra.ClearHandle = null;
            style2.Alignment = DataGridViewContentAlignment.MiddleLeft;
            style2.BackColor = SystemColors.Info;
            style2.Font = new Font("Arial", 9f, FontStyle.Regular, GraphicsUnit.Point, 0);
            style2.ForeColor = Color.Black;
            style2.SelectionBackColor = SystemColors.Highlight;
            style2.SelectionForeColor = SystemColors.HighlightText;
            style2.WrapMode = DataGridViewTriState.True;
            this.dgvIntra.ColumnHeadersDefaultCellStyle = style2;
            this.dgvIntra.ColumnHeadersHeightSizeMode = DataGridViewColumnHeadersHeightSizeMode.AutoSize;
            this.dgvIntra.Columns.AddRange(new DataGridViewColumn[] { this.colcmbxIntraNeighborCell });
            this.dgvIntra.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.dgvIntra.DefaultCellStyle = style3;
            this.dgvIntra.DeleteFlag = false;
            this.dgvIntra.DeleteHanlder = null;
            this.dgvIntra.Dock = DockStyle.Fill;
            this.dgvIntra.EnableCtrlA = true;
            this.dgvIntra.EnableCtrlD = false;
            this.dgvIntra.EnableDeleteRow = false;
            this.dgvIntra.EnableRowAndColSelect = true;
            this.dgvIntra.EnableSort = false;
            this.dgvIntra.Location = new Point(3, 3);
            this.dgvIntra.Name = "dgvNeighborsListSame";
            this.dgvIntra.PasteHandle = null;
            this.dgvIntra.RowTemplate.Height = 0x17;
            this.dgvIntra.ShowCellToolTips = false;
            this.dgvIntra.Size = new Size(0x206, 0x12e);
            this.dgvIntra.TabIndex = 0;
//            this.dgvIntra.UncheckedColHeaderText = (List<string>) manager.GetObject("dgvNeighborsListSame.UncheckedColHeaderText");
            this.dgvIntra.UserDefineHandle = null;
            this.btnOK.Anchor = AnchorStyles.Right | AnchorStyles.Bottom;
            this.btnOK.Location = new Point(0x183, 0x162);
            this.btnOK.Name = "btnOK";
            this.btnOK.Size = new Size(0x4b, 0x17);
            this.btnOK.TabIndex = 2;
            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(0x1d4, 0x162);
            this.btnCancel.Name = "btnCancel";
            this.btnCancel.Size = new Size(0x4b, 0x17);
            this.btnCancel.TabIndex = 3;
            this.btnCancel.Text = GeneralResource.BUTTON_CANCEL;
            this.btnCancel.UseVisualStyleBackColor = true;
            this.btnCancel.Click += new EventHandler(this.btnCancel_Click);
            this.tabControl1.Anchor = AnchorStyles.Right | AnchorStyles.Left | AnchorStyles.Bottom | AnchorStyles.Top;
            this.tabControl1.Controls.Add(this.Intra);
            this.tabControl1.Controls.Add(this.Inter);
            this.tabControl1.Controls.Add(this.InterTechnology);
            this.tabControl1.Location = new Point(10, 13);
            this.tabControl1.Name = "tabControl1";
            this.tabControl1.SelectedIndex = 0;
            this.tabControl1.Size = new Size(0x214, 0x150);
            this.tabControl1.TabIndex = 4;
            this.Intra.Controls.Add(this.dgvIntra);
            this.Intra.Location = new Point(4, 0x18);
            this.Intra.Name = "Intra";
            this.Intra.Padding = new Padding(3);
            this.Intra.Size = new Size(0x20c, 0x134);
            this.Intra.TabIndex = 0;
            this.Intra.Text = NEResource.NE_INNERFREQUENCY_NEIGHBOR;
            this.Intra.UseVisualStyleBackColor = true;
            this.Inter.Controls.Add(this.dgvInter);
            this.Inter.Location = new Point(4, 0x18);
            this.Inter.Name = "Inter";
            this.Inter.Padding = new Padding(3);
            this.Inter.Size = new Size(0x20c, 0x134);
            this.Inter.TabIndex = 1;
            this.Inter.Text = NEResource.NE_INTERFREQUENCY_NEIGHBOR;
            this.Inter.UseVisualStyleBackColor = true;
            this.dgvInter.AfterDeleteHanlder = null;
            this.dgvInter.AllowUserToOrderColumns = true;
            style4.BackColor = Color.FromArgb(0xe0, 0xff, 0xff);
            this.dgvInter.AlternatingRowsDefaultCellStyle = style4;
            this.dgvInter.BeforeDeleteHanlder = null;
            this.dgvInter.ClearHandle = null;
            style5.Alignment = DataGridViewContentAlignment.MiddleLeft;
            style5.BackColor = SystemColors.Info;
            style5.Font = new Font("Arial", 9f, FontStyle.Regular, GraphicsUnit.Point, 0);
            style5.ForeColor = Color.Black;
            style5.SelectionBackColor = SystemColors.Highlight;
            style5.SelectionForeColor = SystemColors.HighlightText;
            style5.WrapMode = DataGridViewTriState.True;
            this.dgvInter.ColumnHeadersDefaultCellStyle = style5;
            this.dgvInter.ColumnHeadersHeightSizeMode = DataGridViewColumnHeadersHeightSizeMode.AutoSize;
            this.dgvInter.Columns.AddRange(new DataGridViewColumn[] { this.colcmbxInterNeighborCell });
            this.dgvInter.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.dgvInter.DefaultCellStyle = style6;
            this.dgvInter.DeleteFlag = false;
            this.dgvInter.DeleteHanlder = null;
            this.dgvInter.Dock = DockStyle.Fill;
            this.dgvInter.EnableCtrlA = true;
            this.dgvInter.EnableCtrlD = false;
            this.dgvInter.EnableDeleteRow = false;
            this.dgvInter.EnableRowAndColSelect = true;
            this.dgvInter.EnableSort = false;
            this.dgvInter.Location = new Point(3, 3);
            this.dgvInter.Name = "dgvNeighborsListDiff";
            this.dgvInter.PasteHandle = null;
            this.dgvInter.RowTemplate.Height = 0x17;
            this.dgvInter.ShowCellToolTips = false;
            this.dgvInter.Size = new Size(0x206, 0x12e);
            this.dgvInter.TabIndex = 0;
            //this.dgvInter.UncheckedColHeaderText = (List<string>) manager.GetObject("dgvNeighborsListDiff.UncheckedColHeaderText");
            this.dgvInter.UserDefineHandle = null;
            this.InterTechnology.Controls.Add(this.dgvInterTechnology);
            this.InterTechnology.Location = new Point(4, 0x18);
            this.InterTechnology.Name = "InterTechnology";
            this.InterTechnology.Size = new Size(0x20c, 0x134);
            this.InterTechnology.TabIndex = 2;
            this.InterTechnology.Text = NEResource.NE_INTER_TECHNOLOGY;
            this.InterTechnology.UseVisualStyleBackColor = true;
            this.dgvInterTechnology.AfterDeleteHanlder = null;
            this.dgvInterTechnology.AllowUserToOrderColumns = true;
            style7.BackColor = Color.FromArgb(0xe0, 0xff, 0xff);
            this.dgvInterTechnology.AlternatingRowsDefaultCellStyle = style7;
            this.dgvInterTechnology.BeforeDeleteHanlder = null;
            this.dgvInterTechnology.ClearHandle = null;
            style8.Alignment = DataGridViewContentAlignment.MiddleLeft;
            style8.BackColor = SystemColors.Info;
            style8.Font = new Font("Arial", 9f, FontStyle.Regular, GraphicsUnit.Point, 0);
            style8.ForeColor = Color.Black;
            style8.SelectionBackColor = SystemColors.Highlight;
            style8.SelectionForeColor = SystemColors.HighlightText;
            style8.WrapMode = DataGridViewTriState.True;
            this.dgvInterTechnology.ColumnHeadersDefaultCellStyle = style8;
            this.dgvInterTechnology.ColumnHeadersHeightSizeMode = DataGridViewColumnHeadersHeightSizeMode.AutoSize;
            this.dgvInterTechnology.Columns.AddRange(new DataGridViewColumn[] { this.colcmbxInterTechnology });
            this.dgvInterTechnology.CtrlDHanlder = null;
            style9.Alignment = DataGridViewContentAlignment.MiddleLeft;
            style9.BackColor = SystemColors.Window;
            style9.Font = new Font("Arial", 9f, FontStyle.Regular, GraphicsUnit.Point, 0);
            style9.ForeColor = Color.Black;
            style9.SelectionBackColor = SystemColors.Highlight;
            style9.SelectionForeColor = SystemColors.HighlightText;
            style9.WrapMode = DataGridViewTriState.False;
            this.dgvInterTechnology.DefaultCellStyle = style9;
            this.dgvInterTechnology.DeleteFlag = false;
            this.dgvInterTechnology.DeleteHanlder = null;
            this.dgvInterTechnology.Dock = DockStyle.Fill;
            this.dgvInterTechnology.EnableCtrlA = true;
            this.dgvInterTechnology.EnableCtrlD = false;
            this.dgvInterTechnology.EnableDeleteRow = false;
            this.dgvInterTechnology.EnableRowAndColSelect = true;
            this.dgvInterTechnology.EnableSort = false;
            this.dgvInterTechnology.Location = new Point(0, 0);
            this.dgvInterTechnology.Name = "dataGridViewBase1";
            this.dgvInterTechnology.PasteHandle = null;
            this.dgvInterTechnology.RowTemplate.Height = 0x17;
            this.dgvInterTechnology.ShowCellToolTips = false;
            this.dgvInterTechnology.Size = new Size(0x20c, 0x134);
            this.dgvInterTechnology.TabIndex = 1;
            //this.dgvInterTechnology.UncheckedColHeaderText = (List<string>) manager.GetObject("dataGridViewBase1.UncheckedColHeaderText");
            this.dgvInterTechnology.UserDefineHandle = null;
            this.colcmbxInterTechnology.HeaderText = CommonResource.NEIGHBOR_CELL;
            this.colcmbxInterTechnology.Name = "colcmbxInterTechnology";
            this.colcmbxInterTechnology.Width = 150;
            this.colcmbxIntraNeighborCell.HeaderText = CommonResource.NEIGHBOR_CELL;
            this.colcmbxIntraNeighborCell.Name = "colcmbxIntraNeighborCell";
            this.colcmbxIntraNeighborCell.Width = 150;
            this.colcmbxInterNeighborCell.HeaderText = CommonResource.NEIGHBOR_CELL;
            this.colcmbxInterNeighborCell.Name = "colcmbxInterNeighborCell";
            this.colcmbxInterNeighborCell.Resizable = DataGridViewTriState.True;
            this.colcmbxInterNeighborCell.Width = 150;
            base.AutoScaleDimensions = new SizeF(7f, 15f);
//            base.AutoScaleMode = AutoScaleMode.Font;
            base.ClientSize = new Size(0x22b, 0x185);
            base.Controls.Add(this.tabControl1);
            base.Controls.Add(this.btnCancel);
            base.Controls.Add(this.btnOK);
            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;
            this.MinimumSize = new Size(560, 0x16e);
            base.Name = "UMTSCellNeighborForm";
            base.ShowIcon = false;
            base.ShowInTaskbar = false;
//            base.SizeGripStyle = SizeGripStyle.Show;
            base.StartPosition = FormStartPosition.CenterScreen;
            this.Text = NEResource.NE_UMTS_NEIGHBORS;
            base.Load += new EventHandler(this.UMTSCellNeighborsForm_Load);
            ((ISupportInitialize) this.dgvIntra).EndInit();
            this.tabControl1.ResumeLayout(false);
            this.Intra.ResumeLayout(false);
            this.Inter.ResumeLayout(false);
            ((ISupportInitialize) this.dgvInter).EndInit();
            this.InterTechnology.ResumeLayout(false);
            ((ISupportInitialize) this.dgvInterTechnology).EndInit();
            base.ResumeLayout(false);
        }
Example #13
0
 private void InitializeComponent()
 {
     DataGridViewCellStyle style = new DataGridViewCellStyle();
     DataGridViewCellStyle style2 = new DataGridViewCellStyle();
     DataGridViewCellStyle style3 = new DataGridViewCellStyle();
     ComponentResourceManager manager = new ComponentResourceManager(typeof(PolygonPropertyForm));
     this.btnApply = new Button();
     this.btnCancel = new Button();
     this.btnOK = new Button();
     this.PolygonPointsDGV = new DataGridViewBase();
     this.PolygonOrder = new DataGridViewTextBoxColumn();
     this.PointOrder = new DataGridViewTextBoxColumn();
     this.X = new DataGridViewTextBoxColumn();
     this.Y = new DataGridViewTextBoxColumn();
     this.Longitude = new DataGridViewTextBoxColumn();
     this.Latitude = new DataGridViewTextBoxColumn();
     this.RegionProperty = new TabControl();
     this.tPRegionProperty = new TabPage();
     this.label4 = new Label();
     this.chbIsShownPolygonName = new CheckBox();
     this.pcbLineColor = new PopupColorButton();
     this.txtPolygonLinesScale = new TextBox();
     this.txtPolygonRemark = new TextBox();
     this.label7 = new Label();
     this.txtPolygonArea = new TextBox();
     this.label1 = new Label();
     this.comboBoxLinesType = new ComboBox();
     this.label3 = new Label();
     this.txtPolygonName = new TextBox();
     this.label23 = new Label();
     this.label6 = new Label();
     this.label22 = new Label();
     this.label21 = new Label();
     this.PolygonList = new TabPage();
     this.label2 = new Label();
     this.rdbLat = new RadioButton();
     this.rdbGeoXYPoint = new RadioButton();
     ((ISupportInitialize) this.PolygonPointsDGV).BeginInit();
     this.RegionProperty.SuspendLayout();
     this.tPRegionProperty.SuspendLayout();
     this.PolygonList.SuspendLayout();
     base.SuspendLayout();
     this.btnApply.Anchor = AnchorStyles.Right | AnchorStyles.Bottom;
     this.btnApply.Location = new Point(0x20f, 0x14d);
     this.btnApply.Margin = new Padding(3, 4, 3, 4);
     this.btnApply.Name = "btnApply";
     this.btnApply.Size = new Size(0x57, 0x1d);
     this.btnApply.TabIndex = 60;
     this.btnApply.Text = GeneralResource.BUTTON_APPLY;
     this.btnApply.UseVisualStyleBackColor = true;
     this.btnApply.Click += new EventHandler(this.btnApply_Click);
     this.btnCancel.Anchor = AnchorStyles.Right | AnchorStyles.Bottom;
     this.btnCancel.Location = new Point(0x1af, 0x14d);
     this.btnCancel.Margin = new Padding(3, 4, 3, 4);
     this.btnCancel.Name = "btnCancel";
     this.btnCancel.Size = new Size(0x57, 0x1d);
     this.btnCancel.TabIndex = 0x3b;
     this.btnCancel.Text = GeneralResource.BUTTON_CANCEL;
     this.btnCancel.UseVisualStyleBackColor = true;
     this.btnCancel.Click += new EventHandler(this.btnCancel_Click);
     this.btnOK.Anchor = AnchorStyles.Right | AnchorStyles.Bottom;
     this.btnOK.Location = new Point(0x152, 0x14d);
     this.btnOK.Margin = new Padding(3, 4, 3, 4);
     this.btnOK.Name = "btnOK";
     this.btnOK.Size = new Size(0x57, 0x1d);
     this.btnOK.TabIndex = 0x3a;
     this.btnOK.Text = GeneralResource.BUTTON_OK;
     this.btnOK.UseVisualStyleBackColor = true;
     this.btnOK.Click += new EventHandler(this.btnOK_Click);
     this.PolygonPointsDGV.AfterDeleteHanlder = null;
     this.PolygonPointsDGV.AllowUserToOrderColumns = true;
     this.PolygonPointsDGV.Anchor = AnchorStyles.Right | AnchorStyles.Left | AnchorStyles.Bottom | AnchorStyles.Top;
     this.PolygonPointsDGV.AutoSizeColumnsMode = DataGridViewAutoSizeColumnsMode.Fill;
     this.PolygonPointsDGV.BackgroundColor = Color.White;
     this.PolygonPointsDGV.BeforeDeleteHanlder = null;
     this.PolygonPointsDGV.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.PolygonPointsDGV.ColumnHeadersDefaultCellStyle = style2;
     this.PolygonPointsDGV.ColumnHeadersHeightSizeMode = DataGridViewColumnHeadersHeightSizeMode.AutoSize;
     this.PolygonPointsDGV.Columns.AddRange(new DataGridViewColumn[] { this.PolygonOrder, this.PointOrder, this.X, this.Y, this.Longitude, this.Latitude });
     this.PolygonPointsDGV.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.PolygonPointsDGV.DefaultCellStyle = style3;
     this.PolygonPointsDGV.DeleteHanlder = null;
     this.PolygonPointsDGV.EnableCtrlA = true;
     this.PolygonPointsDGV.EnableCtrlD = false;
     this.PolygonPointsDGV.EnableDeleteRow = false;
     this.PolygonPointsDGV.EnableRowAndColSelect = true;
     this.PolygonPointsDGV.EnableSort = false;
     this.PolygonPointsDGV.Location = new Point(3, 40);
     this.PolygonPointsDGV.Margin = new Padding(3, 4, 3, 4);
     this.PolygonPointsDGV.Name = "PolygonPointsDGV";
     this.PolygonPointsDGV.RowTemplate.Height = 0x17;
     this.PolygonPointsDGV.Size = new Size(0x24a, 0xd1);
     this.PolygonPointsDGV.TabIndex = 0x2d;
     this.PolygonPointsDGV.UncheckedColHeaderText = (List<string>) manager.GetObject("PolygonPointsDGV.UncheckedColHeaderText");
     this.PolygonPointsDGV.UserDeletingRow += new DataGridViewRowCancelEventHandler(this.PolygonPointsDGV_UserDeletingRow);
     this.PolygonPointsDGV.CellBeginEdit += new DataGridViewCellCancelEventHandler(this.PolygonPointsDGV_CellBeginEdit);
     this.PolygonPointsDGV.CellEndEdit += new DataGridViewCellEventHandler(this.PolygonPointsDGV_CellEndEdit);
     this.PolygonPointsDGV.DefaultValuesNeeded += new DataGridViewRowEventHandler(this.PolygonPointsDGV_DefaultValuesNeeded);
     this.PolygonPointsDGV.DataError += new DataGridViewDataErrorEventHandler(this.PolygonPointsDGV_DataError);
     this.PolygonOrder.FillWeight = 20f;
     this.PolygonOrder.HeaderText = GISCtrlGResourceEx.GIS_POLYGONORDER;
     this.PolygonOrder.Name = "PolygonOrder";
     this.PolygonOrder.ReadOnly = true;
     this.PolygonOrder.SortMode = DataGridViewColumnSortMode.NotSortable;
     this.PointOrder.FillWeight = 20f;
     this.PointOrder.HeaderText = GISCtrlGResourceEx.GIS_POINTORDER;
     this.PointOrder.Name = "PointOrder";
     this.PointOrder.ReadOnly = true;
     this.PointOrder.SortMode = DataGridViewColumnSortMode.NotSortable;
     this.X.FillWeight = 40f;
     this.X.HeaderText = "X";
     this.X.Name = "X";
     this.X.SortMode = DataGridViewColumnSortMode.NotSortable;
     this.Y.FillWeight = 40f;
     this.Y.HeaderText = "Y";
     this.Y.Name = "Y";
     this.Y.SortMode = DataGridViewColumnSortMode.NotSortable;
     this.Longitude.FillWeight = 40f;
     this.Longitude.HeaderText = NEResource.NE_LONGITUDE;
     this.Longitude.Name = "Longitude";
     this.Longitude.SortMode = DataGridViewColumnSortMode.NotSortable;
     this.Longitude.Visible = false;
     this.Latitude.FillWeight = 40f;
     this.Latitude.HeaderText = NEResource.NE_LATITUDE;
     this.Latitude.Name = "Latitude";
     this.Latitude.SortMode = DataGridViewColumnSortMode.NotSortable;
     this.Latitude.Visible = false;
     this.RegionProperty.Anchor = AnchorStyles.Right | AnchorStyles.Left | AnchorStyles.Bottom | AnchorStyles.Top;
     this.RegionProperty.Controls.Add(this.tPRegionProperty);
     this.RegionProperty.Controls.Add(this.PolygonList);
     this.RegionProperty.Location = new Point(12, 13);
     this.RegionProperty.Margin = new Padding(3, 4, 3, 4);
     this.RegionProperty.Name = "RegionProperty";
     this.RegionProperty.SelectedIndex = 0;
     this.RegionProperty.Size = new Size(0x25a, 0x123);
     this.RegionProperty.TabIndex = 0x3d;
     this.RegionProperty.KeyDown += new KeyEventHandler(this.RegionProperty_KeyDown);
     this.tPRegionProperty.Controls.Add(this.label4);
     this.tPRegionProperty.Controls.Add(this.chbIsShownPolygonName);
     this.tPRegionProperty.Controls.Add(this.pcbLineColor);
     this.tPRegionProperty.Controls.Add(this.txtPolygonLinesScale);
     this.tPRegionProperty.Controls.Add(this.txtPolygonRemark);
     this.tPRegionProperty.Controls.Add(this.label7);
     this.tPRegionProperty.Controls.Add(this.txtPolygonArea);
     this.tPRegionProperty.Controls.Add(this.label1);
     this.tPRegionProperty.Controls.Add(this.comboBoxLinesType);
     this.tPRegionProperty.Controls.Add(this.label3);
     this.tPRegionProperty.Controls.Add(this.txtPolygonName);
     this.tPRegionProperty.Controls.Add(this.label23);
     this.tPRegionProperty.Controls.Add(this.label6);
     this.tPRegionProperty.Controls.Add(this.label22);
     this.tPRegionProperty.Controls.Add(this.label21);
     this.tPRegionProperty.Location = new Point(4, 0x18);
     this.tPRegionProperty.Margin = new Padding(3, 4, 3, 4);
     this.tPRegionProperty.Name = "tPRegionProperty";
     this.tPRegionProperty.Padding = new Padding(3, 4, 3, 4);
     this.tPRegionProperty.Size = new Size(0x252, 0x107);
     this.tPRegionProperty.TabIndex = 0;
     this.tPRegionProperty.Text = GISCtrlGResourceEx.GIS_REGIONPROPERTY;
     this.tPRegionProperty.UseVisualStyleBackColor = true;
     this.label4.AutoSize = true;
     this.label4.Location = new Point(0x22e, 0x4f);
     this.label4.Name = "label4";
     this.label4.Size = new Size(0x21, 15);
     this.label4.TabIndex = 0x4e;
     this.label4.Text = GISCtrlGResourceEx.GIS_PIXEL;
     this.chbIsShownPolygonName.AutoSize = true;
     this.chbIsShownPolygonName.Location = new Point(0x14d, 0x1b);
     this.chbIsShownPolygonName.Name = "chbIsShownPolygonName";
     this.chbIsShownPolygonName.Size = new Size(0x8d, 0x13);
     this.chbIsShownPolygonName.TabIndex = 0x4d;
     this.chbIsShownPolygonName.Text = GISCtrlGResourceEx.GIS_SHOW_POLYGON_NAME;
     this.chbIsShownPolygonName.UseVisualStyleBackColor = true;
     this.chbIsShownPolygonName.CheckedChanged += new EventHandler(this.chbIsShownPolygonName_CheckedChanged);
     this.pcbLineColor.Font = new Font("Arial", 9f);
     this.pcbLineColor.Location = new Point(0x1a3, 0x74);
     this.pcbLineColor.Margin = new Padding(3, 5, 3, 5);
     this.pcbLineColor.Name = "pcbLineColor";
     this.pcbLineColor.SelectedColor = SystemColors.Window;
     this.pcbLineColor.Size = new Size(140, 0x1a);
     this.pcbLineColor.TabIndex = 0x4c;
     this.pcbLineColor.SelectedColorChanged += new EventHandler(this.pcbLineColor_SelectedColorChanged);
     this.txtPolygonLinesScale.Location = new Point(0x1a3, 0x49);
     this.txtPolygonLinesScale.Margin = new Padding(3, 4, 3, 4);
     this.txtPolygonLinesScale.MaxLength = 5;
     this.txtPolygonLinesScale.Name = "txtPolygonLinesScale";
     this.txtPolygonLinesScale.Size = new Size(0x8a, 0x15);
     this.txtPolygonLinesScale.TabIndex = 0x4b;
     this.txtPolygonLinesScale.TextChanged += new EventHandler(this.ChangeControlText);
     this.txtPolygonLinesScale.KeyPress += new KeyPressEventHandler(this.txtPolygonLinesScale_KeyPress);
     this.txtPolygonRemark.Location = new Point(0x87, 160);
     this.txtPolygonRemark.Margin = new Padding(3, 4, 3, 4);
     this.txtPolygonRemark.Multiline = true;
     this.txtPolygonRemark.Name = "txtPolygonRemark";
     this.txtPolygonRemark.ScrollBars = ScrollBars.Vertical;
     this.txtPolygonRemark.Size = new Size(0x1a7, 0x48);
     this.txtPolygonRemark.TabIndex = 0x4a;
     this.txtPolygonRemark.TextChanged += new EventHandler(this.ChangeControlText);
     this.label7.AutoSize = true;
     this.label7.Location = new Point(0x35, 0xa3);
     this.label7.Name = "label7";
     this.label7.Size = new Size(0x48, 15);
     this.label7.TabIndex = 0x49;
     this.label7.Text = GISCtrlGResourceEx.GIS_COMMENTS;
     this.txtPolygonArea.Font = new Font("Arial", 9f, FontStyle.Regular, GraphicsUnit.Point, 0x86);
     this.txtPolygonArea.Location = new Point(0x88, 0x49);
     this.txtPolygonArea.Margin = new Padding(3, 4, 3, 4);
     this.txtPolygonArea.Name = "txtPolygonArea";
     this.txtPolygonArea.ReadOnly = true;
     this.txtPolygonArea.Size = new Size(0x8b, 0x15);
     this.txtPolygonArea.TabIndex = 60;
     this.label1.AutoSize = true;
     this.label1.Font = new Font("Arial", 9f, FontStyle.Regular, GraphicsUnit.Point, 0);
     this.label1.Location = new Point(0x52, 0x4c);
     this.label1.Name = "label1";
     this.label1.Size = new Size(0x23, 15);
     this.label1.TabIndex = 0x3a;
     this.label1.Text = GISCtrlGResourceEx.GIS_AREA;
     this.comboBoxLinesType.DropDownStyle = ComboBoxStyle.DropDownList;
     this.comboBoxLinesType.FormattingEnabled = true;
     this.comboBoxLinesType.Items.AddRange(new object[] { "Solid", "Dash", "DashDot", "Dot", "DashDotDot" });
     this.comboBoxLinesType.Location = new Point(0x88, 0x74);
     this.comboBoxLinesType.Margin = new Padding(3, 4, 3, 4);
     this.comboBoxLinesType.Name = "comboBoxLinesType";
     this.comboBoxLinesType.Size = new Size(0x8b, 0x17);
     this.comboBoxLinesType.TabIndex = 0x48;
     this.comboBoxLinesType.SelectedIndexChanged += new EventHandler(this.comboBoxLinesType_SelectedIndexChanged);
     this.label3.AutoSize = true;
     this.label3.Location = new Point(280, 0x4f);
     this.label3.Name = "label3";
     this.label3.Size = new Size(0x2c, 15);
     this.label3.TabIndex = 0x3e;
     this.label3.Text = GISCtrlGResourceEx.GIS_SQ_KM;
     this.txtPolygonName.Location = new Point(0x88, 0x18);
     this.txtPolygonName.Margin = new Padding(3, 4, 3, 4);
     this.txtPolygonName.MaxLength = 15;
     this.txtPolygonName.Name = "txtPolygonName";
     this.txtPolygonName.Size = new Size(0x8b, 0x15);
     this.txtPolygonName.TabIndex = 70;
     this.txtPolygonName.TextChanged += new EventHandler(this.ChangeControlText);
     this.label23.AutoSize = true;
     this.label23.Location = new Point(0x2f, 0x74);
     this.label23.Name = "label23";
     this.label23.Size = new Size(70, 15);
     this.label23.TabIndex = 0x40;
     this.label23.Text = GISCtrlGResourceEx.GIS_LINES_TYPE;
     this.label6.AutoSize = true;
     this.label6.Location = new Point(0x4c, 0x1b);
     this.label6.Name = "label6";
     this.label6.Size = new Size(0x29, 15);
     this.label6.TabIndex = 0x44;
     this.label6.Text = FrameworkResource.PROJECT_NAME;
     this.label22.AutoSize = true;
     this.label22.Location = new Point(330, 0x4c);
     this.label22.Name = "label22";
     this.label22.Size = new Size(0x44, 15);
     this.label22.TabIndex = 0x41;
     this.label22.Text = GISCtrlGResourceEx.GIS_LINE_WIDTH;
     this.label21.AutoSize = true;
     this.label21.Location = new Point(330, 120);
     this.label21.Name = "label21";
     this.label21.Size = new Size(0x4a, 15);
     this.label21.TabIndex = 0x42;
     this.label21.Text = GISCtrlGResourceEx.GIS_LINES_COLOR;
     this.PolygonList.Controls.Add(this.label2);
     this.PolygonList.Controls.Add(this.rdbLat);
     this.PolygonList.Controls.Add(this.PolygonPointsDGV);
     this.PolygonList.Controls.Add(this.rdbGeoXYPoint);
     this.PolygonList.Location = new Point(4, 0x18);
     this.PolygonList.Margin = new Padding(3, 4, 3, 4);
     this.PolygonList.Name = "PolygonList";
     this.PolygonList.Padding = new Padding(3, 4, 3, 4);
     this.PolygonList.Size = new Size(0x252, 0x107);
     this.PolygonList.TabIndex = 1;
     this.PolygonList.Text = GISCtrlGResourceEx.GIS_POLYGONLIST;
     this.PolygonList.UseVisualStyleBackColor = true;
     this.label2.AutoSize = true;
     this.label2.Location = new Point(0x25, 0x10);
     this.label2.Name = "label2";
     this.label2.Size = new Size(0x43, 15);
     this.label2.TabIndex = 0x2e;
     this.label2.Text = GISCtrlGResourceEx.GIS_POINT_TYPE;
     this.rdbLat.AutoSize = true;
     this.rdbLat.Checked = true;
     this.rdbLat.Location = new Point(0xd4, 0x10);
     this.rdbLat.Margin = new Padding(3, 4, 3, 4);
     this.rdbLat.Name = "rdbLat";
     this.rdbLat.Size = new Size(0x7f, 0x13);
     this.rdbLat.TabIndex = 0;
     this.rdbLat.TabStop = true;
     this.rdbLat.Text = CommonResource.LONGITUDE_OR_LATITUDE;
     this.rdbLat.UseVisualStyleBackColor = true;
     this.rdbLat.MouseClick += new MouseEventHandler(this.rdbLat_MouseClick);
     this.rdbGeoXYPoint.AutoSize = true;
     this.rdbGeoXYPoint.Location = new Point(0x8f, 0x10);
     this.rdbGeoXYPoint.Margin = new Padding(3, 4, 3, 4);
     this.rdbGeoXYPoint.Name = "rdbGeoXYPoint";
     this.rdbGeoXYPoint.Size = new Size(0x2a, 0x13);
     this.rdbGeoXYPoint.TabIndex = 1;
     this.rdbGeoXYPoint.Text = GISCtrlGResourceEx.GIS_X_Y;
     this.rdbGeoXYPoint.UseVisualStyleBackColor = true;
     this.rdbGeoXYPoint.MouseClick += new MouseEventHandler(this.rdbGeoXYPoint_MouseClick);
     base.AutoScaleDimensions = new SizeF(7f, 15f);
     base.AutoScaleMode = AutoScaleMode.Font;
     this.BackColor = SystemColors.Control;
     base.ClientSize = new Size(0x26f, 0x177);
     base.Controls.Add(this.RegionProperty);
     base.Controls.Add(this.btnApply);
     base.Controls.Add(this.btnCancel);
     base.Controls.Add(this.btnOK);
     this.Font = new Font("Arial", 9f, FontStyle.Regular, GraphicsUnit.Point, 0);
     base.FormBorderStyle = FormBorderStyle.FixedDialog;
     base.Margin = new Padding(3, 4, 3, 4);
     base.MaximizeBox = false;
     base.MinimizeBox = false;
     base.Name = "PolygonPropertyForm";
     base.ShowIcon = false;
     base.ShowInTaskbar = false;
     base.SizeGripStyle = SizeGripStyle.Show;
     base.StartPosition = FormStartPosition.CenterScreen;
     this.Text = GISCtrlGResourceEx.GIS_POLYGON_PROPERTY;
     ((ISupportInitialize) this.PolygonPointsDGV).EndInit();
     this.RegionProperty.ResumeLayout(false);
     this.tPRegionProperty.ResumeLayout(false);
     this.tPRegionProperty.PerformLayout();
     this.PolygonList.ResumeLayout(false);
     this.PolygonList.PerformLayout();
     base.ResumeLayout(false);
     base.KeyPreview = true;
     base.HelpButton = true;
     base.KeyDown += new KeyEventHandler(this.PolygonPropertyForm_KeyDown);
     base.HelpButtonClicked += new CancelEventHandler(this.PolygonPropertyForm_HelpButtonClicked);
 }
Example #14
0
        private void InitializeComponent()
        {
            DataGridViewCellStyle style = new DataGridViewCellStyle();
            DataGridViewCellStyle style2 = new DataGridViewCellStyle();
            DataGridViewCellStyle style3 = new DataGridViewCellStyle();
            ComponentResourceManager manager = new ComponentResourceManager(typeof(FrequencyStat));
            DataGridViewCellStyle style4 = new DataGridViewCellStyle();
            DataGridViewCellStyle style5 = new DataGridViewCellStyle();
            DataGridViewCellStyle style6 = new DataGridViewCellStyle();
            this.lblFreqBand = new Label();
            this.lblCnlIndex = new Label();
            this.cmbFreqBand = new ComboBox();
            this.cmbChannel = new ComboBox();
            this.gbxSame = new GroupBox();
            this.dgvSame = new DataGridViewBase();
            this.gbxNeighbor = new GroupBox();
            this.dgvNeighbor = new DataGridViewBase();
            this.btnFind = new Button();
            this.btnGeometry = new Button();
            this.btnColor = new Button();
            this.btnClose = new Button();
            this.Column1 = new DataGridViewTextBoxColumn();
            this.Column2 = new DataGridViewTextBoxColumn();
            this.Column3 = new DataGridViewTextBoxColumn();
            this.Column4 = new DataGridViewTextBoxColumn();
            this.dataGridViewTextBoxColumn1 = new DataGridViewTextBoxColumn();
            this.dataGridViewTextBoxColumn2 = new DataGridViewTextBoxColumn();
            this.dataGridViewTextBoxColumn3 = new DataGridViewTextBoxColumn();
            this.dataGridViewTextBoxColumn4 = new DataGridViewTextBoxColumn();
            this.gbxSame.SuspendLayout();
            ((ISupportInitialize) this.dgvSame).BeginInit();
            this.gbxNeighbor.SuspendLayout();
            ((ISupportInitialize) this.dgvNeighbor).BeginInit();
            base.SuspendLayout();
            this.lblFreqBand.AutoSize = true;
            this.lblFreqBand.Location = new System.Drawing.Point(12, 9);
            this.lblFreqBand.Name = "lblFreqBand";
            this.lblFreqBand.Size = new Size(0x60, 15);
            this.lblFreqBand.TabIndex = 0;
            this.lblFreqBand.Text = NEResource.NE_FREQUENCY_BAND;
            this.lblCnlIndex.AutoSize = true;
            this.lblCnlIndex.Location = new System.Drawing.Point(250, 9);
            this.lblCnlIndex.Name = "lblCnlIndex";
            this.lblCnlIndex.Size = new Size(0x56, 15);
            this.lblCnlIndex.TabIndex = 1;
            this.lblCnlIndex.Text = NEResource.NE_CHANNEL_INDEX;
            this.cmbFreqBand.DropDownStyle = ComboBoxStyle.DropDownList;
            this.cmbFreqBand.FormattingEnabled = true;
            this.cmbFreqBand.Location = new System.Drawing.Point(15, 0x1f);
            this.cmbFreqBand.Name = "cmbFreqBand";
            this.cmbFreqBand.Size = new Size(0xd1, 0x17);
            this.cmbFreqBand.TabIndex = 2;
            this.cmbChannel.DropDownStyle = ComboBoxStyle.DropDownList;
            this.cmbChannel.FormattingEnabled = true;
            this.cmbChannel.Location = new System.Drawing.Point(0xfd, 0x1f);
            this.cmbChannel.Name = "cmbChannel";
            this.cmbChannel.Size = new Size(0xa3, 0x17);
            this.cmbChannel.TabIndex = 3;
            this.gbxSame.Anchor = AnchorStyles.Right | AnchorStyles.Left | AnchorStyles.Bottom | AnchorStyles.Top;
            this.gbxSame.Controls.Add(this.dgvSame);
            this.gbxSame.Location = new System.Drawing.Point(12, 60);
            this.gbxSame.Name = "gbxSame";
            this.gbxSame.Size = new Size(0x194, 0xef);
            this.gbxSame.TabIndex = 4;
            this.gbxSame.TabStop = false;
            this.gbxSame.Text = NEResource.NE_SAME_FREQUENCY_STATISTICS;
            this.dgvSame.AfterDeleteHanlder = null;
            this.dgvSame.AllowUserToAddRows = false;
            this.dgvSame.AllowUserToDeleteRows = false;
            this.dgvSame.AllowUserToOrderColumns = true;
            this.dgvSame.AllowUserToResizeRows = false;
            this.dgvSame.Anchor = AnchorStyles.Right | AnchorStyles.Left | AnchorStyles.Bottom | AnchorStyles.Top;
            this.dgvSame.BeforeDeleteHanlder = null;
            this.dgvSame.ClearHandle = null;
            this.dgvSame.ColumnHeadersBorderStyle = DataGridViewHeaderBorderStyle.Single;
            style2.Alignment = DataGridViewContentAlignment.MiddleCenter;
            style2.BackColor = SystemColors.Control;
            style2.Font = new Font("Arial", 9f, FontStyle.Regular, GraphicsUnit.Point, 0);
            style2.ForeColor = SystemColors.WindowText;
            style2.SelectionBackColor = SystemColors.Highlight;
            style2.SelectionForeColor = SystemColors.HighlightText;
            style2.WrapMode = DataGridViewTriState.True;
            this.dgvSame.ColumnHeadersHeightSizeMode = DataGridViewColumnHeadersHeightSizeMode.AutoSize;
            this.dgvSame.Columns.AddRange(new DataGridViewColumn[] { this.Column1, this.Column2, this.Column3, this.Column4 });
            this.dgvSame.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.dgvSame.DefaultCellStyle = style3;
            this.dgvSame.DeleteHanlder = null;
            this.dgvSame.EnableCtrlA = true;
            this.dgvSame.EnableCtrlD = false;
            this.dgvSame.EnableDeleteRow = false;
            this.dgvSame.EnableRowAndColSelect = true;
            this.dgvSame.EnableSort = false;
            this.dgvSame.Location = new System.Drawing.Point(6, 20);
            this.dgvSame.Name = "dgvSame";
            this.dgvSame.ReadOnly = true;
            this.dgvSame.RowHeadersBorderStyle = DataGridViewHeaderBorderStyle.None;
            this.dgvSame.RowHeadersVisible = false;
            this.dgvSame.RowHeadersWidth = 4;
            this.dgvSame.RowTemplate.Height = 0x17;
            this.dgvSame.Size = new Size(0x188, 0xd5);
            this.dgvSame.TabIndex = 0;
            this.dgvSame.UncheckedColHeaderText = (List<string>) manager.GetObject("dgvSame.UncheckedColHeaderText");
            this.gbxNeighbor.Anchor = AnchorStyles.Right | AnchorStyles.Left | AnchorStyles.Top;
            this.gbxNeighbor.Controls.Add(this.dgvNeighbor);
            this.gbxNeighbor.Location = new System.Drawing.Point(12, 0x13c);
            this.gbxNeighbor.Name = "gbxNeighbor";
            this.gbxNeighbor.Size = new Size(0x194, 0xfe);
            this.gbxNeighbor.TabIndex = 5;
            this.gbxNeighbor.TabStop = false;
            this.gbxNeighbor.Text = NEResource.NE_NEIGHBOR_FREQUENCY_STATISTICS;
            this.dgvNeighbor.AfterDeleteHanlder = null;
            this.dgvNeighbor.AllowUserToAddRows = false;
            this.dgvNeighbor.AllowUserToDeleteRows = false;
            this.dgvNeighbor.AllowUserToOrderColumns = true;
            this.dgvNeighbor.AllowUserToResizeRows = false;
            this.dgvNeighbor.Anchor = AnchorStyles.Right | AnchorStyles.Left | AnchorStyles.Bottom | AnchorStyles.Top;
            this.dgvNeighbor.BeforeDeleteHanlder = null;
            this.dgvNeighbor.ClearHandle = null;
            this.dgvNeighbor.ColumnHeadersBorderStyle = DataGridViewHeaderBorderStyle.Single;
            style5.Alignment = DataGridViewContentAlignment.MiddleCenter;
            style5.BackColor = SystemColors.Control;
            style5.Font = new Font("Arial", 9f, FontStyle.Regular, GraphicsUnit.Point, 0);
            style5.ForeColor = SystemColors.WindowText;
            style5.SelectionBackColor = SystemColors.Highlight;
            style5.SelectionForeColor = SystemColors.HighlightText;
            style5.WrapMode = DataGridViewTriState.True;
            this.dgvNeighbor.ColumnHeadersHeightSizeMode = DataGridViewColumnHeadersHeightSizeMode.AutoSize;
            this.dgvNeighbor.Columns.AddRange(new DataGridViewColumn[] { this.dataGridViewTextBoxColumn1, this.dataGridViewTextBoxColumn2, this.dataGridViewTextBoxColumn3, this.dataGridViewTextBoxColumn4 });
            this.dgvNeighbor.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.dgvNeighbor.DefaultCellStyle = style6;
            this.dgvNeighbor.DeleteHanlder = null;
            this.dgvNeighbor.EnableCtrlA = true;
            this.dgvNeighbor.EnableCtrlD = false;
            this.dgvNeighbor.EnableDeleteRow = false;
            this.dgvNeighbor.EnableRowAndColSelect = true;
            this.dgvNeighbor.EnableSort = false;
            this.dgvNeighbor.Location = new System.Drawing.Point(6, 0x12);
            this.dgvNeighbor.Name = "dgvNeighbor";
            this.dgvNeighbor.ReadOnly = true;
            this.dgvNeighbor.RowHeadersBorderStyle = DataGridViewHeaderBorderStyle.None;
            this.dgvNeighbor.RowHeadersVisible = false;
            this.dgvNeighbor.RowHeadersWidth = 4;
            this.dgvNeighbor.RowTemplate.Height = 0x17;
            this.dgvNeighbor.Size = new Size(0x188, 0xe2);
            this.dgvNeighbor.TabIndex = 1;
            this.dgvNeighbor.UncheckedColHeaderText = (List<string>) manager.GetObject("dgvNeighbor.UncheckedColHeaderText");
            this.btnFind.Anchor = AnchorStyles.Right | AnchorStyles.Bottom;
            this.btnFind.Location = new System.Drawing.Point(0x62, 0x240);
            this.btnFind.Name = "btnFind";
            this.btnFind.Size = new Size(0x4b, 0x17);
            this.btnFind.TabIndex = 6;
            this.btnFind.Text = NEResource.NE_FIND;
            this.btnFind.UseVisualStyleBackColor = true;
            this.btnFind.Click += new EventHandler(this.btnFind_Click);
            this.btnGeometry.Anchor = AnchorStyles.Right | AnchorStyles.Bottom;
            this.btnGeometry.Enabled = false;
            this.btnGeometry.Location = new System.Drawing.Point(0xb3, 0x240);
            this.btnGeometry.Name = "btnGeometry";
            this.btnGeometry.Size = new Size(0x4b, 0x17);
            this.btnGeometry.TabIndex = 7;
            this.btnGeometry.Text = NEResource.NE_GEOMETRY;
            this.btnGeometry.UseVisualStyleBackColor = true;
            this.btnGeometry.Click += new EventHandler(this.btnGeometry_Click);
            this.btnColor.Anchor = AnchorStyles.Right | AnchorStyles.Bottom;
            this.btnColor.Location = new System.Drawing.Point(260, 0x240);
            this.btnColor.Name = "btnColor";
            this.btnColor.Size = new Size(0x4b, 0x17);
            this.btnColor.TabIndex = 8;
            this.btnColor.Text = NEResource.NE_COLOR;
            this.btnColor.UseVisualStyleBackColor = true;
            this.btnColor.Click += new EventHandler(this.btnColor_Click);
            this.btnClose.Anchor = AnchorStyles.Right | AnchorStyles.Bottom;
            this.btnClose.Location = new System.Drawing.Point(0x155, 0x240);
            this.btnClose.Name = "btnClose";
            this.btnClose.Size = new Size(0x4b, 0x17);
            this.btnClose.TabIndex = 9;
            this.btnClose.Text = GeneralResource.BUTTON_CLOSE;
            this.btnClose.UseVisualStyleBackColor = true;
            this.btnClose.Click += new EventHandler(this.btnClose_Click);
            this.Column1.HeaderText = NEResource.NE_CELL_NAME;
            this.Column1.Name = "Column1";
            this.Column1.ReadOnly = true;
            this.Column1.SortMode = DataGridViewColumnSortMode.NotSortable;
            this.Column1.Width = 70;
            this.Column2.HeaderText = NEResource.NE_CARRIER_NAME;
            this.Column2.Name = "Column2";
            this.Column2.ReadOnly = true;
            this.Column2.SortMode = DataGridViewColumnSortMode.NotSortable;
            this.Column2.Width = 80;
            this.Column3.HeaderText = NEResource.NE_FREQUENCY_BAND;
            this.Column3.Name = "Column3";
            this.Column3.ReadOnly = true;
            this.Column3.SortMode = DataGridViewColumnSortMode.NotSortable;
            this.Column3.Width = 150;
            this.Column4.HeaderText = NEResource.NE_CHANNEL_INDEX;
            this.Column4.Name = "Column4";
            this.Column4.ReadOnly = true;
            this.Column4.SortMode = DataGridViewColumnSortMode.NotSortable;
            this.Column4.Width = 60;
            this.dataGridViewTextBoxColumn1.HeaderText = NEResource.NE_CELL_NAME;
            this.dataGridViewTextBoxColumn1.Name = "dataGridViewTextBoxColumn1";
            this.dataGridViewTextBoxColumn1.ReadOnly = true;
            this.dataGridViewTextBoxColumn1.SortMode = DataGridViewColumnSortMode.NotSortable;
            this.dataGridViewTextBoxColumn1.Width = 70;
            this.dataGridViewTextBoxColumn2.HeaderText = NEResource.NE_CARRIER_NAME;
            this.dataGridViewTextBoxColumn2.Name = "dataGridViewTextBoxColumn2";
            this.dataGridViewTextBoxColumn2.ReadOnly = true;
            this.dataGridViewTextBoxColumn2.SortMode = DataGridViewColumnSortMode.NotSortable;
            this.dataGridViewTextBoxColumn2.Width = 80;
            this.dataGridViewTextBoxColumn3.HeaderText = NEResource.NE_FREQUENCY_BAND;
            this.dataGridViewTextBoxColumn3.Name = "dataGridViewTextBoxColumn3";
            this.dataGridViewTextBoxColumn3.ReadOnly = true;
            this.dataGridViewTextBoxColumn3.SortMode = DataGridViewColumnSortMode.NotSortable;
            this.dataGridViewTextBoxColumn3.Width = 150;
            this.dataGridViewTextBoxColumn4.HeaderText = NEResource.NE_CHANNEL_INDEX;
            this.dataGridViewTextBoxColumn4.Name = "dataGridViewTextBoxColumn4";
            this.dataGridViewTextBoxColumn4.ReadOnly = true;
            this.dataGridViewTextBoxColumn4.SortMode = DataGridViewColumnSortMode.NotSortable;
            this.dataGridViewTextBoxColumn4.Width = 60;
            base.AutoScaleDimensions = new SizeF(7f, 15f);
//            base.AutoScaleMode = AutoScaleMode.Font;
            base.ClientSize = new Size(0x1ac, 0x263);
            base.Controls.Add(this.btnClose);
            base.Controls.Add(this.btnColor);
            base.Controls.Add(this.btnGeometry);
            base.Controls.Add(this.btnFind);
            base.Controls.Add(this.gbxNeighbor);
            base.Controls.Add(this.gbxSame);
            base.Controls.Add(this.cmbChannel);
            base.Controls.Add(this.cmbFreqBand);
            base.Controls.Add(this.lblCnlIndex);
            base.Controls.Add(this.lblFreqBand);
            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;
            this.MinimumSize = new Size(0x1b2, 0x285);
            base.Name = "FrequencyStat";
            base.ShowIcon = false;
            base.ShowInTaskbar = false;
            base.KeyPreview = true;
            base.HelpButton = true;
            base.KeyDown += new KeyEventHandler(this.FrequencyStat_KeyDown);
            base.HelpButtonClicked += new CancelEventHandler(this.FrequencyStat_HelpButtonClicked);
//            base.SizeGripStyle = SizeGripStyle.Show;
            base.StartPosition = FormStartPosition.CenterScreen;
            this.Text = NEResource.NE_FREQUENCY_STATISTICS;
            base.Load += new EventHandler(this.FrequencyStat_Load);
            base.Resize += new EventHandler(this.FrequencyStat_Resize);
            this.gbxSame.ResumeLayout(false);
            ((ISupportInitialize) this.dgvSame).EndInit();
            this.gbxNeighbor.ResumeLayout(false);
            ((ISupportInitialize) this.dgvNeighbor).EndInit();
            base.ResumeLayout(false);
            base.PerformLayout();
        }
 private void InitializeComponent()
 {
     DataGridViewCellStyle style = new DataGridViewCellStyle();
     DataGridViewCellStyle style2 = new DataGridViewCellStyle();
     DataGridViewCellStyle style3 = new DataGridViewCellStyle();
     ComponentResourceManager manager = new ComponentResourceManager(typeof(PredictionExportByRSRPForm));
     this.dgvExpoertData = new DataGridViewBase();
     this.isExport = new DataGridViewCheckBoxColumn();
     this.GroupNameOrLegend = new DataGridViewTextBoxColumn();
     this.CoverArea = new DataGridViewTextBoxColumn();
     this.Percentage = new DataGridViewTextBoxColumn();
     this.Cumulate_Per = new DataGridViewTextBoxColumn();
     this.btnExport = new Button();
     this.saveExportFile = new SaveFileDialog();
     ((ISupportInitialize) this.dgvExpoertData).BeginInit();
     base.SuspendLayout();
     this.dgvExpoertData.AfterDeleteHanlder = null;
     this.dgvExpoertData.AllowUserToAddRows = false;
     this.dgvExpoertData.AllowUserToDeleteRows = false;
     this.dgvExpoertData.AllowUserToOrderColumns = true;
     style.BackColor = Color.FromArgb(0xe0, 0xff, 0xff);
     this.dgvExpoertData.AlternatingRowsDefaultCellStyle = style;
     this.dgvExpoertData.Anchor = AnchorStyles.Right | AnchorStyles.Left | AnchorStyles.Bottom | AnchorStyles.Top;
     this.dgvExpoertData.BeforeDeleteHanlder = null;
     this.dgvExpoertData.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.dgvExpoertData.ColumnHeadersDefaultCellStyle = style2;
     this.dgvExpoertData.ColumnHeadersHeight = 0x26;
     this.dgvExpoertData.ColumnHeadersHeightSizeMode = DataGridViewColumnHeadersHeightSizeMode.DisableResizing;
     this.dgvExpoertData.Columns.AddRange(new DataGridViewColumn[] { this.isExport, this.GroupNameOrLegend, this.CoverArea, this.Percentage, this.Cumulate_Per });
     this.dgvExpoertData.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.dgvExpoertData.DefaultCellStyle = style3;
     this.dgvExpoertData.DeleteHanlder = null;
     this.dgvExpoertData.EnableCtrlA = true;
     this.dgvExpoertData.EnableCtrlD = false;
     this.dgvExpoertData.EnableDeleteRow = false;
     this.dgvExpoertData.EnableRowAndColSelect = true;
     this.dgvExpoertData.EnableSort = false;
     this.dgvExpoertData.Location = new System.Drawing.Point(12, 14);
     this.dgvExpoertData.Margin = new Padding(3, 5, 3, 5);
     this.dgvExpoertData.Name = "dgvExpoertData";
     this.dgvExpoertData.PasteHandle = null;
     this.dgvExpoertData.RowTemplate.Height = 0x17;
     this.dgvExpoertData.Size = new Size(0x34b, 0x23b);
     this.dgvExpoertData.TabIndex = 1;
     this.dgvExpoertData.UncheckedColHeaderText = (List<string>) manager.GetObject("dgvExpoertData.UncheckedColHeaderText");
     this.dgvExpoertData.CellContentDoubleClick += new DataGridViewCellEventHandler(this.dgvExpoertData_CellContentDoubleClick);
     this.dgvExpoertData.CellContentClick += new DataGridViewCellEventHandler(this.dgvExpoertData_CellContentClick);
     this.btnExport.Anchor = AnchorStyles.Right | AnchorStyles.Bottom;
     this.btnExport.Location = new System.Drawing.Point(780, 0x252);
     this.btnExport.Margin = new Padding(3, 4, 3, 4);
     this.btnExport.Name = "btnExport";
     this.btnExport.Size = new Size(0x4b, 0x17);
     this.btnExport.TabIndex = 2;
     this.btnExport.Text = "Export";
     this.btnExport.UseVisualStyleBackColor = true;
     this.btnExport.Click += new EventHandler(this.btnExport_Click);
     this.isExport.Frozen = true;
     this.isExport.HeaderText = LTEPredictionResource.PREDICTION__CHECK;
     this.isExport.Name = "isExport";
     this.isExport.ReadOnly = true;
     this.isExport.ThreeState = true;
     this.GroupNameOrLegend.Frozen = true;
     this.GroupNameOrLegend.HeaderText = LTEPredictionResource.PREDICTION_NAME_COLUMN;
     this.GroupNameOrLegend.Name = "GroupNameOrLegend";
     this.GroupNameOrLegend.ReadOnly = true;
     this.GroupNameOrLegend.SortMode = DataGridViewColumnSortMode.NotSortable;
     this.GroupNameOrLegend.Width = 150;
     this.CoverArea.Frozen = true;
     this.CoverArea.HeaderText = LTEPredictionResource.PREDICTION__AREAKM2;
     this.CoverArea.Name = "CoverArea";
     this.CoverArea.ReadOnly = true;
     this.CoverArea.SortMode = DataGridViewColumnSortMode.NotSortable;
     this.CoverArea.Width = 150;
     this.Percentage.Frozen = true;
     this.Percentage.HeaderText = LTEPredictionResource.PREDICTION__PERCENTAGE;
     this.Percentage.Name = "Percentage";
     this.Percentage.ReadOnly = true;
     this.Percentage.SortMode = DataGridViewColumnSortMode.NotSortable;
     this.Percentage.Width = 150;
     this.Cumulate_Per.Frozen = true;
     this.Cumulate_Per.HeaderText = LTEPredictionResource.PREDICTION__CUMULATE_PER;
     this.Cumulate_Per.Name = "Cumulate_Per";
     this.Cumulate_Per.ReadOnly = true;
     this.Cumulate_Per.SortMode = DataGridViewColumnSortMode.NotSortable;
     this.Cumulate_Per.Width = 150;
     base.AutoScaleDimensions = new SizeF(7f, 15f);
     //base.AutoScaleMode = AutoScaleMode.Font;
     base.ClientSize = new Size(0x369, 630);
     base.Controls.Add(this.btnExport);
     base.Controls.Add(this.dgvExpoertData);
     this.Font = new Font("Arial", 9f, FontStyle.Regular, GraphicsUnit.Point, 0);
     base.HelpButton = true;
     base.HelpButtonClicked += new CancelEventHandler(this.EventHelpButtonClicked);
     base.KeyPreview = true;
     base.Margin = new Padding(3, 4, 3, 4);
     base.MaximizeBox = false;
     base.MinimizeBox = false;
     this.MinimumSize = new Size(0x371, 0x291);
     base.Name = "PredictionExportByRSRPForm";
     base.ShowIcon = false;
     //base.SizeGripStyle = SizeGripStyle.Show;
     base.StartPosition = FormStartPosition.CenterParent;
     this.Text = "Export By RSRP";
     base.KeyDown += new KeyEventHandler(this.PredictionExportByRSRPForm_KeyDown);
     ((ISupportInitialize) this.dgvExpoertData).EndInit();
     base.ResumeLayout(false);
 }
Example #16
0
        private void InitializeComponent()
        {
            DataGridViewCellStyle style = new DataGridViewCellStyle();
            DataGridViewCellStyle style2 = new DataGridViewCellStyle();
            DataGridViewCellStyle style3 = new DataGridViewCellStyle();
            ComponentResourceManager manager = new ComponentResourceManager(typeof(EnvironmentCompareResult));
            DataGridViewCellStyle style4 = new DataGridViewCellStyle();
            DataGridViewCellStyle style5 = new DataGridViewCellStyle();
            DataGridViewCellStyle style6 = new DataGridViewCellStyle();

            this.tabControl1 = new TabControl();
            this.General = new TabPage();
            this.dataGridView1 = new DataGridViewBase();
            this.EnvItem = new DataGridViewTextBoxColumn();
            this.UserProfiles = new DataGridViewComboBoxColumn();
            this.Mobility = new DataGridViewComboBoxColumn();
            this.Density = new DataGridViewTextBoxColumn();
            this.ClutterWeighting = new TabPage();
            this.dataGridView2 = new DataGridViewBase();
            this.Ok = new Button();
            this.Cancel = new Button();

            this.tabControl1.SuspendLayout();
            this.General.SuspendLayout();
            ((ISupportInitialize)this.dataGridView1).BeginInit();
            this.ClutterWeighting.SuspendLayout();
            ((ISupportInitialize)this.dataGridView2).BeginInit();
            base.SuspendLayout();
            this.tabControl1.Anchor = AnchorStyles.Right | AnchorStyles.Left | AnchorStyles.Bottom | AnchorStyles.Top;
            this.tabControl1.Controls.Add(this.General);
            this.tabControl1.Controls.Add(this.ClutterWeighting);
            this.tabControl1.Location = new Point(12, 13);
            this.tabControl1.Margin = new Padding(3, 4, 3, 4);
            this.tabControl1.Name = "tabControl1";
            this.tabControl1.SelectedIndex = 0;
            this.tabControl1.Size = new Size(590, 0x19f);
            this.tabControl1.TabIndex = 0;
            this.General.Controls.Add(this.dataGridView1);
            this.General.Location = new Point(4, 0x18);
            this.General.Margin = new Padding(3, 4, 3, 4);
            this.General.Name = "General";
            this.General.Padding = new Padding(3, 4, 3, 4);
            this.General.Size = new Size(0x246, 0x183);
            this.General.TabIndex = 0;
            this.General.Text = GeneralResource.GENERAL_GENERAL;
            this.General.UseVisualStyleBackColor = true;
            this.dataGridView1.AfterDeleteHanlder = null;
            this.dataGridView1.AllowUserToAddRows = false;
            this.dataGridView1.AllowUserToDeleteRows = false;
            this.dataGridView1.AllowUserToOrderColumns = true;
            style.BackColor = SystemColors.MenuBar;
            this.dataGridView1.Anchor = AnchorStyles.Right | AnchorStyles.Left | AnchorStyles.Bottom | AnchorStyles.Top;
            this.dataGridView1.BeforeDeleteHanlder = null;
            this.dataGridView1.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.dataGridView1.ColumnHeadersDefaultCellStyle = style2;
            this.dataGridView1.ColumnHeadersHeightSizeMode = DataGridViewColumnHeadersHeightSizeMode.AutoSize;
            this.dataGridView1.Columns.AddRange(new DataGridViewColumn[] { this.EnvItem, this.UserProfiles, this.Mobility, this.Density });
            this.dataGridView1.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.dataGridView1.DefaultCellStyle = style3;
            this.dataGridView1.DeleteHanlder = null;
            this.dataGridView1.EnableCtrlA = true;
            this.dataGridView1.EnableCtrlD = false;
            this.dataGridView1.EnableDeleteRow = true;
            this.dataGridView1.EnableRowAndColSelect = true;
            this.dataGridView1.EnableSort = true;
            this.dataGridView1.Location = new Point(6, 0x10);
            this.dataGridView1.Name = "dataGridView1";
            this.dataGridView1.RowTemplate.Height = 0x17;
            this.dataGridView1.Size = new Size(570, 0x16c);
            this.dataGridView1.TabIndex = 0;
            this.dataGridView1.UncheckedColHeaderText = (List<string>)manager.GetObject("dataGridView1.UncheckedColHeaderText");
            this.dataGridView1.RowValidating += new DataGridViewCellCancelEventHandler(this.dataGridView1_RowValidating);
            this.dataGridView1.CellEnter += new DataGridViewCellEventHandler(this.dataGridView1_CellEnter);
            this.EnvItem.HeaderText = TrafficModelResource.TRAFFICMODEL_ENVIRONMENT_NAME;
            this.EnvItem.Name = "EnvItem";
            this.EnvItem.ReadOnly = true;
            this.EnvItem.SortMode = DataGridViewColumnSortMode.NotSortable;
            this.EnvItem.Width = 160;
            this.UserProfiles.DisplayStyle = DataGridViewComboBoxDisplayStyle.Nothing;
            this.UserProfiles.HeaderText = TrafficModelResource.TRAFFICMODEL_USER;
            this.UserProfiles.Name = "UserProfiles";
            this.UserProfiles.Resizable = DataGridViewTriState.True;
            this.UserProfiles.Width = 140;
            this.Mobility.DisplayStyle = DataGridViewComboBoxDisplayStyle.Nothing;
            this.Mobility.HeaderText = TrafficModelResource.TRAFFICMODEL_MOBILITY;
            this.Mobility.Name = "Mobility";
            this.Mobility.Resizable = DataGridViewTriState.True;
            this.Density.HeaderText = TrafficModelResource.TRAFFICMODEL_DENSITY;
            this.Density.Name = "Density";
            this.Density.SortMode = DataGridViewColumnSortMode.NotSortable;
            this.ClutterWeighting.Controls.Add(this.dataGridView2);
            this.ClutterWeighting.Location = new Point(4, 0x18);
            this.ClutterWeighting.Margin = new Padding(3, 4, 3, 4);
            this.ClutterWeighting.Name = "ClutterWeighting";
            this.ClutterWeighting.Padding = new Padding(3, 4, 3, 4);
            this.ClutterWeighting.Size = new Size(0x24b, 0x153);
            this.ClutterWeighting.TabIndex = 1;
            this.ClutterWeighting.Text = TrafficModelResource.TRAFFICMODEL_CLUTTER_WEIGHTING;
            this.ClutterWeighting.UseVisualStyleBackColor = true;
            this.dataGridView2.AfterDeleteHanlder = null;
            this.dataGridView2.AllowUserToAddRows = false;
            this.dataGridView2.AllowUserToDeleteRows = false;
            this.dataGridView2.AllowUserToOrderColumns = true;
            style4.BackColor = SystemColors.MenuBar;
            this.dataGridView2.Anchor = AnchorStyles.Right | AnchorStyles.Left | AnchorStyles.Bottom | AnchorStyles.Top;
            this.dataGridView2.BeforeDeleteHanlder = null;
            this.dataGridView2.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.dataGridView2.ColumnHeadersDefaultCellStyle = style5;
            this.dataGridView2.ColumnHeadersHeightSizeMode = DataGridViewColumnHeadersHeightSizeMode.AutoSize;
            this.dataGridView2.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.dataGridView2.DefaultCellStyle = style6;
            this.dataGridView2.DeleteHanlder = null;
            this.dataGridView2.EnableCtrlA = true;
            this.dataGridView2.EnableCtrlD = false;
            this.dataGridView2.EnableDeleteRow = false;
            this.dataGridView2.EnableRowAndColSelect = true;
            this.dataGridView2.EnableSort = true;
            this.dataGridView2.Location = new Point(6, 7);
            this.dataGridView2.Name = "dataGridView2";
            this.dataGridView2.RowTemplate.Height = 0x17;
            this.dataGridView2.Size = new Size(0x23d, 0x143);
            this.dataGridView2.TabIndex = 0;
            this.dataGridView2.UncheckedColHeaderText = (List<string>) manager.GetObject("dataGridView2.UncheckedColHeaderText");
            this.dataGridView2.RowValidating += new DataGridViewCellCancelEventHandler(this.dataGridView2_RowValidating);
            this.Ok.Anchor = AnchorStyles.Right | AnchorStyles.Bottom;
            this.Ok.Location = new Point(0x1ba, 0x1b6);
            this.Ok.Name = "Ok";
            this.Ok.Size = new Size(0x4b, 0x17);
            this.Ok.TabIndex = 1;
            this.Ok.Text = GeneralResource.BUTTON_OK;
            this.Ok.UseVisualStyleBackColor = true;
            this.Ok.Click += new EventHandler(this.Ok_Click);
            this.Cancel.Anchor = AnchorStyles.Right | AnchorStyles.Bottom;
            this.Cancel.Location = new Point(0x20b, 0x1b6);
            this.Cancel.Name = "Cancel";
            this.Cancel.Size = new Size(0x4b, 0x17);
            this.Cancel.TabIndex = 2;
            this.Cancel.Text = GeneralResource.BUTTON_CANCEL;
            this.Cancel.UseVisualStyleBackColor = true;
            this.Cancel.Click += new EventHandler(this.Cancel_Click);
            base.AutoScaleDimensions = new SizeF(7f, 15f);
            base.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
            base.ClientSize = new Size(0x266, 0x1d9);
            base.Controls.Add(this.Cancel);
            base.Controls.Add(this.Ok);
            base.Controls.Add(this.tabControl1);
            this.Font = new Font("Arial", 9f, FontStyle.Regular, GraphicsUnit.Point, 0);
            base.Margin = new Padding(3, 4, 3, 4);
            base.MinimizeBox = false;
            this.MinimumSize = new Size(610, 0x1bb);
            base.Name = "EnvironmentCompareResult";
            base.ShowIcon = false;
            base.ShowInTaskbar = false;
            base.FormBorderStyle = System.Windows.Forms.FormBorderStyle.Sizable;
            this.MinimumSize = new Size(0x249, 0x158);
            base.SizeGripStyle = System.Windows.Forms.SizeGripStyle.Show;
            base.StartPosition = FormStartPosition.CenterScreen;
            this.Text = TrafficModelResource.TRAFFICMODEL_ENVIRONMENTCOMPARERESULT;
            this.tabControl1.ResumeLayout(false);
            this.General.ResumeLayout(false);
            ((ISupportInitialize)this.dataGridView1).EndInit();
            this.ClutterWeighting.ResumeLayout(false);
            ((ISupportInitialize)this.dataGridView2).EndInit();
            base.ResumeLayout(false);
        }