private void FormSaveDialog_Load(object sender, EventArgs e) { LoadDialogs(); tableDialogs.GridLines = XPTable.Models.GridLines.Both; tableDialogs.GridLineStyle = XPTable.Models.GridLineStyle.Solid; XPTable.Renderers.GradientHeaderRenderer gradHeader = new XPTable.Renderers.GradientHeaderRenderer(); tableDialogs.HeaderRenderer = gradHeader; tableDialogs.FullRowSelect = true; tableDialogs.SelectionStyle = XPTable.Models.SelectionStyle.ListView; tableDialogs.AlternatingRowColor = Color.WhiteSmoke; XPTable.Models.Column newColumn = new XPTable.Models.TextColumn(); tableDialogs.TableModel = new XPTable.Models.TableModel(); tableDialogs.TableModel.RowHeight = 20; XPTable.Models.ColumnModel model = new XPTable.Models.ColumnModel(); model.Columns.Add(new XPTable.Models.TextColumn(StringTable.Category, 150)); model.Columns.Add(new XPTable.Models.TextColumn(StringTable.DialogDefined, 200)); model.Columns[0].Editable = false; model.Columns[1].Editable = false; tableDialogs.ColumnModel = model; FillList(); }
public FormEditArtists(DataBase db) { InitializeComponent(); FormThemeManager.SetTheme(this); dataBase = db; personGroupAdapter = new PersonGroupTableAdapter(db); Tools.FormatXPTable(personGroupTable); personGroupTable.TableModel = new XPTable.Models.TableModel(); personGroupTable.ColumnModel = new XPTable.Models.ColumnModel(); personGroupTable.TableModel.RowHeight += 4; personGroupTable.EditStartAction = XPTable.Editors.EditStartAction.SingleClickWhenSelected; personGroupTable.ColumnModel.Columns.Add(new XPTable.Models.TextColumn(dataBase.GetNameOfField(Field.ArtistCDName, true), 100)); personGroupTable.ColumnModel.Columns.Add(new XPTable.Models.TextColumn(dataBase.GetNameOfField(Field.ArtistCDSaveAs, true), 100)); XPTable.Models.ComboBoxColumn artistTypeColumn = new XPTable.Models.ComboBoxColumn(dataBase.GetNameOfField(Field.ArtistCDType, true), 100); artistTypeColumn.ShowDropDownButton = false; personGroupTable.ColumnModel.Columns.Add(artistTypeColumn); XPTable.Models.ComboBoxColumn artistSexColumn = new XPTable.Models.ComboBoxColumn(dataBase.GetNameOfField(Field.ArtistCDSex, true), 100); artistSexColumn.ShowDropDownButton = false; personGroupTable.ColumnModel.Columns.Add(artistSexColumn); // Herkunftsland XPTable.Models.ComboBoxColumn countryColumn = new XPTable.Models.ComboBoxColumn(dataBase.GetNameOfField(Field.ArtistCDCountry, true), 100); countryColumn.ShowDropDownButton = false; personGroupTable.ColumnModel.Columns.Add(countryColumn); // Geboren am XPTable.Models.TextColumn dateOfBirthColumn = new XPTable.Models.TextColumn(dataBase.GetNameOfField(Field.ArtistCDDateOfBirth, true), 100); dateOfBirthColumn.Comparer = typeof(XPTable.Sorting.NumberComparer); personGroupTable.ColumnModel.Columns.Add(dateOfBirthColumn); // Gestorben am XPTable.Models.TextColumn dateOfDeathColumn = new XPTable.Models.TextColumn(dataBase.GetNameOfField(Field.ArtistCDDateOfDeath, true), 100); dateOfDeathColumn.Comparer = typeof(XPTable.Sorting.NumberComparer); personGroupTable.ColumnModel.Columns.Add(dateOfDeathColumn); // Homepage personGroupTable.ColumnModel.Columns.Add(new XPTable.Models.TextColumn(dataBase.GetNameOfField(Field.ArtistCDHomepage, true), 100)); // Bild personGroupTable.ColumnModel.Columns.Add(new XPTable.Models.TextColumn(dataBase.GetNameOfField(Field.ArtistCDImageFilename, true), 100)); // Kommentar personGroupTable.ColumnModel.Columns.Add(new XPTable.Models.TextColumn(dataBase.GetNameOfField(Field.ArtistCDComment, true), 100)); // Verwendet XPTable.Models.TextColumn usedColumn = new XPTable.Models.TextColumn(StringTable.Used, 60); usedColumn.Editable = false; personGroupTable.ColumnModel.Columns.Add(usedColumn); UpdateVisibleState(); }
/// <summary> /// Required method for Designer support - do not modify /// the contents of this method with the code editor. /// </summary> private void InitializeComponent() { this.tableModel1 = new XPTable.Models.TableModel(); this.btnRegOverTime = new System.Windows.Forms.Button(); this.chStartOverTime = new XPTable.Models.TextColumn(); this.chCardID = new XPTable.Models.TextColumn(); this.chEmployeeName = new XPTable.Models.TextColumn(); this.columnModel1 = new XPTable.Models.ColumnModel(); this.chSTT = new XPTable.Models.TextColumn(); this.cLength = new XPTable.Models.TextColumn(); this.cDinnerAmount = new XPTable.Models.TextColumn(); this.cBus = new XPTable.Models.CheckBoxColumn(); this.cWorkOverTimeInfo = new XPTable.Models.TextColumn(); this.btnHelp = new System.Windows.Forms.Button(); this.groupBox4 = new System.Windows.Forms.GroupBox(); this.dtpWorkingDay = new System.Windows.Forms.DateTimePicker(); this.contextMenu1 = new System.Windows.Forms.ContextMenu(); this.mnuSet = new System.Windows.Forms.MenuItem(); this.groupBox2 = new System.Windows.Forms.GroupBox(); this.departmentTreeView = new EVSoft.HRMS.Controls.DepartmentTreeView(); this.btnClose = new System.Windows.Forms.Button(); this.groupBox1 = new System.Windows.Forms.GroupBox(); this.lblTotalBus = new System.Windows.Forms.Label(); this.lblTotalLunch = new System.Windows.Forms.Label(); this.lblTotalOverTime = new System.Windows.Forms.Label(); this.label2 = new System.Windows.Forms.Label(); this.label1 = new System.Windows.Forms.Label(); this.lbl1 = new System.Windows.Forms.Label(); this.lvwLunch = new XPTable.Models.Table(); this.btnClearAll = new System.Windows.Forms.Button(); this.btnSlectAll = new System.Windows.Forms.Button(); this.groupBox4.SuspendLayout(); this.groupBox2.SuspendLayout(); this.groupBox1.SuspendLayout(); ((System.ComponentModel.ISupportInitialize)(this.lvwLunch)).BeginInit(); this.SuspendLayout(); // // btnRegOverTime // this.btnRegOverTime.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right))); this.btnRegOverTime.FlatStyle = System.Windows.Forms.FlatStyle.System; this.btnRegOverTime.Location = new System.Drawing.Point(704, 464); this.btnRegOverTime.Name = "btnRegOverTime"; this.btnRegOverTime.TabIndex = 86; this.btnRegOverTime.Text = "Đăng &ký"; this.btnRegOverTime.Click += new System.EventHandler(this.btnRegOverTime_Click); // // chStartOverTime // this.chStartOverTime.Editable = false; this.chStartOverTime.Text = "Bắt đầu"; this.chStartOverTime.Width = 70; // // chCardID // this.chCardID.Editable = false; this.chCardID.Text = "Mã thẻ"; this.chCardID.Width = 50; // // chEmployeeName // this.chEmployeeName.Editable = false; this.chEmployeeName.Text = "Tên nhân viên"; this.chEmployeeName.Width = 130; // // columnModel1 // this.columnModel1.Columns.AddRange(new XPTable.Models.Column[] { this.chSTT, this.chCardID, this.chEmployeeName, this.chStartOverTime, this.cLength, this.cDinnerAmount, this.cBus, this.cWorkOverTimeInfo }); // // chSTT // this.chSTT.Editable = false; this.chSTT.Text = "STT"; this.chSTT.Width = 40; // // cLength // this.cLength.Text = "Thời gian"; this.cLength.Width = 70; // // cDinnerAmount // this.cDinnerAmount.Text = "Ăn thêm"; this.cDinnerAmount.Width = 60; // // cBus // this.cBus.Alignment = XPTable.Models.ColumnAlignment.Center; this.cBus.DrawText = false; this.cBus.Text = "Đi xe"; this.cBus.Width = 50; // // cWorkOverTimeInfo // this.cWorkOverTimeInfo.Text = "Ghi chú"; this.cWorkOverTimeInfo.Width = 140; // // btnHelp // this.btnHelp.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left))); this.btnHelp.FlatStyle = System.Windows.Forms.FlatStyle.System; this.btnHelp.Location = new System.Drawing.Point(8, 464); this.btnHelp.Name = "btnHelp"; this.btnHelp.TabIndex = 85; this.btnHelp.Text = "Trợ giúp"; // // groupBox4 // this.groupBox4.Controls.Add(this.dtpWorkingDay); this.groupBox4.FlatStyle = System.Windows.Forms.FlatStyle.System; this.groupBox4.Location = new System.Drawing.Point(8, 8); this.groupBox4.Name = "groupBox4"; this.groupBox4.Size = new System.Drawing.Size(216, 48); this.groupBox4.TabIndex = 90; this.groupBox4.TabStop = false; this.groupBox4.Text = "Ngày"; // // dtpWorkingDay // this.dtpWorkingDay.CustomFormat = "dd/MM/yyyy "; this.dtpWorkingDay.Format = System.Windows.Forms.DateTimePickerFormat.Custom; this.dtpWorkingDay.Location = new System.Drawing.Point(8, 16); this.dtpWorkingDay.Name = "dtpWorkingDay"; this.dtpWorkingDay.TabIndex = 74; this.dtpWorkingDay.ValueChanged += new System.EventHandler(this.dtpWorkingDay_ValueChanged); // // contextMenu1 // this.contextMenu1.MenuItems.AddRange(new System.Windows.Forms.MenuItem[] { this.mnuSet }); // // mnuSet // this.mnuSet.Index = 0; this.mnuSet.Text = "&Thiết lập..."; // // groupBox2 // this.groupBox2.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom) | System.Windows.Forms.AnchorStyles.Left))); this.groupBox2.Controls.Add(this.departmentTreeView); this.groupBox2.FlatStyle = System.Windows.Forms.FlatStyle.System; this.groupBox2.Location = new System.Drawing.Point(8, 64); this.groupBox2.Name = "groupBox2"; this.groupBox2.Size = new System.Drawing.Size(216, 392); this.groupBox2.TabIndex = 88; this.groupBox2.TabStop = false; this.groupBox2.Text = "Danh sách phòng ban"; // // departmentTreeView // this.departmentTreeView.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom) | System.Windows.Forms.AnchorStyles.Left) | System.Windows.Forms.AnchorStyles.Right))); this.departmentTreeView.BackColor = System.Drawing.Color.GhostWhite; this.departmentTreeView.DepartmentDataSet = null; this.departmentTreeView.Location = new System.Drawing.Point(8, 16); this.departmentTreeView.Name = "departmentTreeView"; this.departmentTreeView.Size = new System.Drawing.Size(200, 368); this.departmentTreeView.TabIndex = 3; this.departmentTreeView.AfterSelect += new System.Windows.Forms.TreeViewEventHandler(this.departmentTreeView_AfterSelect); // // btnClose // this.btnClose.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right))); this.btnClose.DialogResult = System.Windows.Forms.DialogResult.Cancel; this.btnClose.FlatStyle = System.Windows.Forms.FlatStyle.System; this.btnClose.Location = new System.Drawing.Point(784, 464); this.btnClose.Name = "btnClose"; this.btnClose.TabIndex = 84; this.btnClose.Text = "&Đóng"; this.btnClose.Click += new System.EventHandler(this.btnClose_Click); // // groupBox1 // this.groupBox1.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom) | System.Windows.Forms.AnchorStyles.Left) | System.Windows.Forms.AnchorStyles.Right))); this.groupBox1.Controls.Add(this.lblTotalBus); this.groupBox1.Controls.Add(this.lblTotalLunch); this.groupBox1.Controls.Add(this.lblTotalOverTime); this.groupBox1.Controls.Add(this.label2); this.groupBox1.Controls.Add(this.label1); this.groupBox1.Controls.Add(this.lbl1); this.groupBox1.Controls.Add(this.lvwLunch); this.groupBox1.Controls.Add(this.btnClearAll); this.groupBox1.Controls.Add(this.btnSlectAll); this.groupBox1.FlatStyle = System.Windows.Forms.FlatStyle.System; this.groupBox1.Location = new System.Drawing.Point(232, 8); this.groupBox1.Name = "groupBox1"; this.groupBox1.Size = new System.Drawing.Size(632, 448); this.groupBox1.TabIndex = 87; this.groupBox1.TabStop = false; this.groupBox1.Text = "Danh sách nhân viên"; // // lblTotalBus // this.lblTotalBus.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right))); this.lblTotalBus.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((System.Byte)(0))); this.lblTotalBus.Location = new System.Drawing.Point(592, 416); this.lblTotalBus.Name = "lblTotalBus"; this.lblTotalBus.Size = new System.Drawing.Size(32, 23); this.lblTotalBus.TabIndex = 17; this.lblTotalBus.Text = "70"; this.lblTotalBus.TextAlign = System.Drawing.ContentAlignment.MiddleLeft; // // lblTotalLunch // this.lblTotalLunch.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right))); this.lblTotalLunch.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((System.Byte)(0))); this.lblTotalLunch.Location = new System.Drawing.Point(480, 416); this.lblTotalLunch.Name = "lblTotalLunch"; this.lblTotalLunch.Size = new System.Drawing.Size(32, 23); this.lblTotalLunch.TabIndex = 16; this.lblTotalLunch.Text = "100"; this.lblTotalLunch.TextAlign = System.Drawing.ContentAlignment.MiddleLeft; // // lblTotalOverTime // this.lblTotalOverTime.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right))); this.lblTotalOverTime.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((System.Byte)(0))); this.lblTotalOverTime.Location = new System.Drawing.Point(352, 416); this.lblTotalOverTime.Name = "lblTotalOverTime"; this.lblTotalOverTime.Size = new System.Drawing.Size(32, 23); this.lblTotalOverTime.TabIndex = 15; this.lblTotalOverTime.Text = "123"; this.lblTotalOverTime.TextAlign = System.Drawing.ContentAlignment.MiddleLeft; // // label2 // this.label2.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right))); this.label2.Location = new System.Drawing.Point(520, 416); this.label2.Name = "label2"; this.label2.Size = new System.Drawing.Size(72, 24); this.label2.TabIndex = 14; this.label2.Text = "Số đi xe buýt:"; this.label2.TextAlign = System.Drawing.ContentAlignment.MiddleLeft; // // label1 // this.label1.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right))); this.label1.Location = new System.Drawing.Point(392, 416); this.label1.Name = "label1"; this.label1.Size = new System.Drawing.Size(96, 24); this.label1.TabIndex = 13; this.label1.Text = "Số lượng ăn cơm:"; this.label1.TextAlign = System.Drawing.ContentAlignment.MiddleLeft; // // lbl1 // this.lbl1.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right))); this.lbl1.Location = new System.Drawing.Point(272, 416); this.lbl1.Name = "lbl1"; this.lbl1.Size = new System.Drawing.Size(88, 24); this.lbl1.TabIndex = 12; this.lbl1.Text = "Tổng làm thêm:"; this.lbl1.TextAlign = System.Drawing.ContentAlignment.MiddleLeft; // // lvwLunch // this.lvwLunch.AlternatingRowColor = System.Drawing.Color.FromArgb(((System.Byte)(230)), ((System.Byte)(237)), ((System.Byte)(245))); this.lvwLunch.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom) | System.Windows.Forms.AnchorStyles.Left) | System.Windows.Forms.AnchorStyles.Right))); this.lvwLunch.BackColor = System.Drawing.Color.FromArgb(((System.Byte)(237)), ((System.Byte)(242)), ((System.Byte)(249))); this.lvwLunch.ColumnModel = this.columnModel1; this.lvwLunch.ContextMenu = this.contextMenu1; this.lvwLunch.EnableToolTips = true; this.lvwLunch.ForeColor = System.Drawing.Color.FromArgb(((System.Byte)(14)), ((System.Byte)(66)), ((System.Byte)(121))); this.lvwLunch.FullRowSelect = true; this.lvwLunch.GridColor = System.Drawing.SystemColors.ControlDark; this.lvwLunch.GridLines = XPTable.Models.GridLines.Both; this.lvwLunch.GridLineStyle = XPTable.Models.GridLineStyle.Dot; this.lvwLunch.HeaderFont = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Bold); this.lvwLunch.Location = new System.Drawing.Point(8, 16); this.lvwLunch.MultiSelect = true; this.lvwLunch.Name = "lvwLunch"; this.lvwLunch.NoItemsText = WorkingContext.LangManager.GetString("XPtable"); this.lvwLunch.SelectionBackColor = System.Drawing.Color.FromArgb(((System.Byte)(169)), ((System.Byte)(183)), ((System.Byte)(201))); this.lvwLunch.SelectionForeColor = System.Drawing.Color.FromArgb(((System.Byte)(14)), ((System.Byte)(66)), ((System.Byte)(121))); this.lvwLunch.SelectionStyle = XPTable.Models.SelectionStyle.Grid; this.lvwLunch.Size = new System.Drawing.Size(616, 400); this.lvwLunch.SortedColumnBackColor = System.Drawing.Color.Transparent; this.lvwLunch.TabIndex = 11; this.lvwLunch.TableModel = this.tableModel1; this.lvwLunch.UnfocusedSelectionBackColor = System.Drawing.Color.FromArgb(((System.Byte)(201)), ((System.Byte)(210)), ((System.Byte)(221))); this.lvwLunch.UnfocusedSelectionForeColor = System.Drawing.Color.FromArgb(((System.Byte)(14)), ((System.Byte)(66)), ((System.Byte)(121))); // // btnClearAll // this.btnClearAll.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left))); this.btnClearAll.FlatStyle = System.Windows.Forms.FlatStyle.System; this.btnClearAll.Location = new System.Drawing.Point(96, 416); this.btnClearAll.Name = "btnClearAll"; this.btnClearAll.Size = new System.Drawing.Size(80, 23); this.btnClearAll.TabIndex = 78; this.btnClearAll.Text = "Bỏ chọn"; this.btnClearAll.Click += new System.EventHandler(this.btnClearAll_Click); // // btnSlectAll // this.btnSlectAll.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left))); this.btnSlectAll.FlatStyle = System.Windows.Forms.FlatStyle.System; this.btnSlectAll.Location = new System.Drawing.Point(8, 416); this.btnSlectAll.Name = "btnSlectAll"; this.btnSlectAll.Size = new System.Drawing.Size(80, 23); this.btnSlectAll.TabIndex = 77; this.btnSlectAll.Text = "Chọn tất"; this.btnSlectAll.Click += new System.EventHandler(this.btnSlectAll_Click); // // frmOverTime // this.AutoScaleBaseSize = new System.Drawing.Size(5, 13); this.ClientSize = new System.Drawing.Size(872, 494); this.Controls.Add(this.groupBox4); this.Controls.Add(this.groupBox2); this.Controls.Add(this.btnClose); this.Controls.Add(this.groupBox1); this.Controls.Add(this.btnRegOverTime); this.Controls.Add(this.btnHelp); this.Name = "frmOverTime"; this.Text = "Danh sách nhân viên làm thêm giờ"; this.Load += new System.EventHandler(this.frmOverTime_Load); this.groupBox4.ResumeLayout(false); this.groupBox2.ResumeLayout(false); this.groupBox1.ResumeLayout(false); ((System.ComponentModel.ISupportInitialize)(this.lvwLunch)).EndInit(); this.ResumeLayout(false); }
/// <summary> /// Required method for Designer support - do not modify /// the contents of this method with the code editor. /// </summary> private void InitializeComponent() { this.tableModel1 = new XPTable.Models.TableModel(); this.btnRegOverTime = new System.Windows.Forms.Button(); this.chStartOverTime = new XPTable.Models.TextColumn(); this.chCardID = new XPTable.Models.TextColumn(); this.chEmployeeName = new XPTable.Models.TextColumn(); this.columnModel1 = new XPTable.Models.ColumnModel(); this.chSTT = new XPTable.Models.TextColumn(); this.cLength = new XPTable.Models.TextColumn(); this.cDinnerAmount = new XPTable.Models.TextColumn(); this.cBus = new XPTable.Models.CheckBoxColumn(); this.cWorkOverTimeInfo = new XPTable.Models.TextColumn(); this.btnHelp = new System.Windows.Forms.Button(); this.groupBox4 = new System.Windows.Forms.GroupBox(); this.dtpWorkingDay = new System.Windows.Forms.DateTimePicker(); this.contextMenu1 = new System.Windows.Forms.ContextMenu(); this.mnuSet = new System.Windows.Forms.MenuItem(); this.groupBox2 = new System.Windows.Forms.GroupBox(); this.departmentTreeView = new EVSoft.HRMS.Controls.DepartmentTreeView(); this.btnClose = new System.Windows.Forms.Button(); this.groupBox1 = new System.Windows.Forms.GroupBox(); this.lblTotalBus = new System.Windows.Forms.Label(); this.lblTotalLunch = new System.Windows.Forms.Label(); this.lblTotalOverTime = new System.Windows.Forms.Label(); this.label2 = new System.Windows.Forms.Label(); this.label1 = new System.Windows.Forms.Label(); this.lbl1 = new System.Windows.Forms.Label(); this.lvwLunch = new XPTable.Models.Table(); this.btnClearAll = new System.Windows.Forms.Button(); this.btnSlectAll = new System.Windows.Forms.Button(); this.groupBox4.SuspendLayout(); this.groupBox2.SuspendLayout(); this.groupBox1.SuspendLayout(); ((System.ComponentModel.ISupportInitialize)(this.lvwLunch)).BeginInit(); this.SuspendLayout(); // // btnRegOverTime // this.btnRegOverTime.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right))); this.btnRegOverTime.FlatStyle = System.Windows.Forms.FlatStyle.System; this.btnRegOverTime.Location = new System.Drawing.Point(704, 464); this.btnRegOverTime.Name = "btnRegOverTime"; this.btnRegOverTime.TabIndex = 86; this.btnRegOverTime.Text = "Đăng &ký"; this.btnRegOverTime.Click += new System.EventHandler(this.btnRegOverTime_Click); // // chStartOverTime // this.chStartOverTime.Editable = false; this.chStartOverTime.Text = "Bắt đầu"; this.chStartOverTime.Width = 70; // // chCardID // this.chCardID.Editable = false; this.chCardID.Text = "Mã thẻ"; this.chCardID.Width = 50; // // chEmployeeName // this.chEmployeeName.Editable = false; this.chEmployeeName.Text = "Tên nhân viên"; this.chEmployeeName.Width = 130; // // columnModel1 // this.columnModel1.Columns.AddRange(new XPTable.Models.Column[] { this.chSTT, this.chCardID, this.chEmployeeName, this.chStartOverTime, this.cLength, this.cDinnerAmount, this.cBus, this.cWorkOverTimeInfo}); // // chSTT // this.chSTT.Editable = false; this.chSTT.Text = "STT"; this.chSTT.Width = 40; // // cLength // this.cLength.Text = "Thời gian"; this.cLength.Width = 70; // // cDinnerAmount // this.cDinnerAmount.Text = "Ăn thêm"; this.cDinnerAmount.Width = 60; // // cBus // this.cBus.Alignment = XPTable.Models.ColumnAlignment.Center; this.cBus.DrawText = false; this.cBus.Text = "Đi xe"; this.cBus.Width = 50; // // cWorkOverTimeInfo // this.cWorkOverTimeInfo.Text = "Ghi chú"; this.cWorkOverTimeInfo.Width = 140; // // btnHelp // this.btnHelp.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left))); this.btnHelp.FlatStyle = System.Windows.Forms.FlatStyle.System; this.btnHelp.Location = new System.Drawing.Point(8, 464); this.btnHelp.Name = "btnHelp"; this.btnHelp.TabIndex = 85; this.btnHelp.Text = "Trợ giúp"; // // groupBox4 // this.groupBox4.Controls.Add(this.dtpWorkingDay); this.groupBox4.FlatStyle = System.Windows.Forms.FlatStyle.System; this.groupBox4.Location = new System.Drawing.Point(8, 8); this.groupBox4.Name = "groupBox4"; this.groupBox4.Size = new System.Drawing.Size(216, 48); this.groupBox4.TabIndex = 90; this.groupBox4.TabStop = false; this.groupBox4.Text = "Ngày"; // // dtpWorkingDay // this.dtpWorkingDay.CustomFormat = "dd/MM/yyyy "; this.dtpWorkingDay.Format = System.Windows.Forms.DateTimePickerFormat.Custom; this.dtpWorkingDay.Location = new System.Drawing.Point(8, 16); this.dtpWorkingDay.Name = "dtpWorkingDay"; this.dtpWorkingDay.TabIndex = 74; this.dtpWorkingDay.ValueChanged += new System.EventHandler(this.dtpWorkingDay_ValueChanged); // // contextMenu1 // this.contextMenu1.MenuItems.AddRange(new System.Windows.Forms.MenuItem[] { this.mnuSet}); // // mnuSet // this.mnuSet.Index = 0; this.mnuSet.Text = "&Thiết lập..."; // // groupBox2 // this.groupBox2.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom) | System.Windows.Forms.AnchorStyles.Left))); this.groupBox2.Controls.Add(this.departmentTreeView); this.groupBox2.FlatStyle = System.Windows.Forms.FlatStyle.System; this.groupBox2.Location = new System.Drawing.Point(8, 64); this.groupBox2.Name = "groupBox2"; this.groupBox2.Size = new System.Drawing.Size(216, 392); this.groupBox2.TabIndex = 88; this.groupBox2.TabStop = false; this.groupBox2.Text = "Danh sách phòng ban"; // // departmentTreeView // this.departmentTreeView.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom) | System.Windows.Forms.AnchorStyles.Left) | System.Windows.Forms.AnchorStyles.Right))); this.departmentTreeView.BackColor = System.Drawing.Color.GhostWhite; this.departmentTreeView.DepartmentDataSet = null; this.departmentTreeView.Location = new System.Drawing.Point(8, 16); this.departmentTreeView.Name = "departmentTreeView"; this.departmentTreeView.Size = new System.Drawing.Size(200, 368); this.departmentTreeView.TabIndex = 3; this.departmentTreeView.AfterSelect += new System.Windows.Forms.TreeViewEventHandler(this.departmentTreeView_AfterSelect); // // btnClose // this.btnClose.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right))); this.btnClose.DialogResult = System.Windows.Forms.DialogResult.Cancel; this.btnClose.FlatStyle = System.Windows.Forms.FlatStyle.System; this.btnClose.Location = new System.Drawing.Point(784, 464); this.btnClose.Name = "btnClose"; this.btnClose.TabIndex = 84; this.btnClose.Text = "&Đóng"; this.btnClose.Click += new System.EventHandler(this.btnClose_Click); // // groupBox1 // this.groupBox1.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom) | System.Windows.Forms.AnchorStyles.Left) | System.Windows.Forms.AnchorStyles.Right))); this.groupBox1.Controls.Add(this.lblTotalBus); this.groupBox1.Controls.Add(this.lblTotalLunch); this.groupBox1.Controls.Add(this.lblTotalOverTime); this.groupBox1.Controls.Add(this.label2); this.groupBox1.Controls.Add(this.label1); this.groupBox1.Controls.Add(this.lbl1); this.groupBox1.Controls.Add(this.lvwLunch); this.groupBox1.Controls.Add(this.btnClearAll); this.groupBox1.Controls.Add(this.btnSlectAll); this.groupBox1.FlatStyle = System.Windows.Forms.FlatStyle.System; this.groupBox1.Location = new System.Drawing.Point(232, 8); this.groupBox1.Name = "groupBox1"; this.groupBox1.Size = new System.Drawing.Size(632, 448); this.groupBox1.TabIndex = 87; this.groupBox1.TabStop = false; this.groupBox1.Text = "Danh sách nhân viên"; // // lblTotalBus // this.lblTotalBus.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right))); this.lblTotalBus.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((System.Byte)(0))); this.lblTotalBus.Location = new System.Drawing.Point(592, 416); this.lblTotalBus.Name = "lblTotalBus"; this.lblTotalBus.Size = new System.Drawing.Size(32, 23); this.lblTotalBus.TabIndex = 17; this.lblTotalBus.Text = "70"; this.lblTotalBus.TextAlign = System.Drawing.ContentAlignment.MiddleLeft; // // lblTotalLunch // this.lblTotalLunch.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right))); this.lblTotalLunch.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((System.Byte)(0))); this.lblTotalLunch.Location = new System.Drawing.Point(480, 416); this.lblTotalLunch.Name = "lblTotalLunch"; this.lblTotalLunch.Size = new System.Drawing.Size(32, 23); this.lblTotalLunch.TabIndex = 16; this.lblTotalLunch.Text = "100"; this.lblTotalLunch.TextAlign = System.Drawing.ContentAlignment.MiddleLeft; // // lblTotalOverTime // this.lblTotalOverTime.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right))); this.lblTotalOverTime.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((System.Byte)(0))); this.lblTotalOverTime.Location = new System.Drawing.Point(352, 416); this.lblTotalOverTime.Name = "lblTotalOverTime"; this.lblTotalOverTime.Size = new System.Drawing.Size(32, 23); this.lblTotalOverTime.TabIndex = 15; this.lblTotalOverTime.Text = "123"; this.lblTotalOverTime.TextAlign = System.Drawing.ContentAlignment.MiddleLeft; // // label2 // this.label2.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right))); this.label2.Location = new System.Drawing.Point(520, 416); this.label2.Name = "label2"; this.label2.Size = new System.Drawing.Size(72, 24); this.label2.TabIndex = 14; this.label2.Text = "Số đi xe buýt:"; this.label2.TextAlign = System.Drawing.ContentAlignment.MiddleLeft; // // label1 // this.label1.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right))); this.label1.Location = new System.Drawing.Point(392, 416); this.label1.Name = "label1"; this.label1.Size = new System.Drawing.Size(96, 24); this.label1.TabIndex = 13; this.label1.Text = "Số lượng ăn cơm:"; this.label1.TextAlign = System.Drawing.ContentAlignment.MiddleLeft; // // lbl1 // this.lbl1.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right))); this.lbl1.Location = new System.Drawing.Point(272, 416); this.lbl1.Name = "lbl1"; this.lbl1.Size = new System.Drawing.Size(88, 24); this.lbl1.TabIndex = 12; this.lbl1.Text = "Tổng làm thêm:"; this.lbl1.TextAlign = System.Drawing.ContentAlignment.MiddleLeft; // // lvwLunch // this.lvwLunch.AlternatingRowColor = System.Drawing.Color.FromArgb(((System.Byte)(230)), ((System.Byte)(237)), ((System.Byte)(245))); this.lvwLunch.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom) | System.Windows.Forms.AnchorStyles.Left) | System.Windows.Forms.AnchorStyles.Right))); this.lvwLunch.BackColor = System.Drawing.Color.FromArgb(((System.Byte)(237)), ((System.Byte)(242)), ((System.Byte)(249))); this.lvwLunch.ColumnModel = this.columnModel1; this.lvwLunch.ContextMenu = this.contextMenu1; this.lvwLunch.EnableToolTips = true; this.lvwLunch.ForeColor = System.Drawing.Color.FromArgb(((System.Byte)(14)), ((System.Byte)(66)), ((System.Byte)(121))); this.lvwLunch.FullRowSelect = true; this.lvwLunch.GridColor = System.Drawing.SystemColors.ControlDark; this.lvwLunch.GridLines = XPTable.Models.GridLines.Both; this.lvwLunch.GridLineStyle = XPTable.Models.GridLineStyle.Dot; this.lvwLunch.HeaderFont = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Bold); this.lvwLunch.Location = new System.Drawing.Point(8, 16); this.lvwLunch.MultiSelect = true; this.lvwLunch.Name = "lvwLunch"; this.lvwLunch.NoItemsText = WorkingContext.LangManager.GetString("XPtable"); this.lvwLunch.SelectionBackColor = System.Drawing.Color.FromArgb(((System.Byte)(169)), ((System.Byte)(183)), ((System.Byte)(201))); this.lvwLunch.SelectionForeColor = System.Drawing.Color.FromArgb(((System.Byte)(14)), ((System.Byte)(66)), ((System.Byte)(121))); this.lvwLunch.SelectionStyle = XPTable.Models.SelectionStyle.Grid; this.lvwLunch.Size = new System.Drawing.Size(616, 400); this.lvwLunch.SortedColumnBackColor = System.Drawing.Color.Transparent; this.lvwLunch.TabIndex = 11; this.lvwLunch.TableModel = this.tableModel1; this.lvwLunch.UnfocusedSelectionBackColor = System.Drawing.Color.FromArgb(((System.Byte)(201)), ((System.Byte)(210)), ((System.Byte)(221))); this.lvwLunch.UnfocusedSelectionForeColor = System.Drawing.Color.FromArgb(((System.Byte)(14)), ((System.Byte)(66)), ((System.Byte)(121))); // // btnClearAll // this.btnClearAll.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left))); this.btnClearAll.FlatStyle = System.Windows.Forms.FlatStyle.System; this.btnClearAll.Location = new System.Drawing.Point(96, 416); this.btnClearAll.Name = "btnClearAll"; this.btnClearAll.Size = new System.Drawing.Size(80, 23); this.btnClearAll.TabIndex = 78; this.btnClearAll.Text = "Bỏ chọn"; this.btnClearAll.Click += new System.EventHandler(this.btnClearAll_Click); // // btnSlectAll // this.btnSlectAll.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left))); this.btnSlectAll.FlatStyle = System.Windows.Forms.FlatStyle.System; this.btnSlectAll.Location = new System.Drawing.Point(8, 416); this.btnSlectAll.Name = "btnSlectAll"; this.btnSlectAll.Size = new System.Drawing.Size(80, 23); this.btnSlectAll.TabIndex = 77; this.btnSlectAll.Text = "Chọn tất"; this.btnSlectAll.Click += new System.EventHandler(this.btnSlectAll_Click); // // frmOverTime // this.AutoScaleBaseSize = new System.Drawing.Size(5, 13); this.ClientSize = new System.Drawing.Size(872, 494); this.Controls.Add(this.groupBox4); this.Controls.Add(this.groupBox2); this.Controls.Add(this.btnClose); this.Controls.Add(this.groupBox1); this.Controls.Add(this.btnRegOverTime); this.Controls.Add(this.btnHelp); this.Name = "frmOverTime"; this.Text = "Danh sách nhân viên làm thêm giờ"; this.Load += new System.EventHandler(this.frmOverTime_Load); this.groupBox4.ResumeLayout(false); this.groupBox2.ResumeLayout(false); this.groupBox1.ResumeLayout(false); ((System.ComponentModel.ISupportInitialize)(this.lvwLunch)).EndInit(); this.ResumeLayout(false); }
private void InitializeComponent() { XPTable.Models.DataSourceColumnBinder dataSourceColumnBinder1 = new XPTable.Models.DataSourceColumnBinder(); this.iTable = new XPTable.Models.Table(); this.iColumnModel = new XPTable.Models.ColumnModel(); this.iCol_Index = new XPTable.Models.TextColumn(); this.iCol_Type = new XPTable.Models.TextColumn(); this.iCol_Address = new XPTable.Models.TextColumn(); this.iCol_Length = new XPTable.Models.TextColumn(); this.iCol_DescriptorLength = new XPTable.Models.TextColumn(); this.iCol_Symbol = new XPTable.Models.TextColumn(); this.iTableModel = new XPTable.Models.TableModel(); ((System.ComponentModel.ISupportInitialize)(this.iTable)).BeginInit(); this.SuspendLayout(); // // iTable // this.iTable.AlternatingRowColor = System.Drawing.Color.Gainsboro; this.iTable.BorderColor = System.Drawing.Color.Black; this.iTable.ColumnModel = this.iColumnModel; this.iTable.DataMember = null; this.iTable.DataSourceColumnBinder = dataSourceColumnBinder1; this.iTable.Dock = System.Windows.Forms.DockStyle.Fill; this.iTable.EditStartAction = XPTable.Editors.EditStartAction.CustomKey; this.iTable.EnableToolTips = true; this.iTable.Font = new System.Drawing.Font("Lucida Console", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.iTable.FullRowSelect = true; this.iTable.HeaderFont = new System.Drawing.Font("Tahoma", 6.75F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.iTable.Location = new System.Drawing.Point(0, 0); this.iTable.MultiSelect = true; this.iTable.Name = "iTable"; this.iTable.NoItemsText = "No Data"; this.iTable.NoItemsTextColor = System.Drawing.SystemColors.ControlText; this.iTable.NoItemsTextFont = new System.Drawing.Font("Tahoma", 8.25F); this.iTable.Size = new System.Drawing.Size(791, 336); this.iTable.TabIndex = 0; this.iTable.TableModel = this.iTableModel; this.iTable.UnfocusedBorderColor = System.Drawing.Color.Black; this.iTable.PrepareForSort += new XPTable.Events.SortEventHandler(this.iTable_PrepareForSort); this.iTable.KeyDown += new System.Windows.Forms.KeyEventHandler(this.iTable_KeyDown); this.iTable.DoubleClick += new System.EventHandler(this.iTable_DoubleClick); // // iColumnModel // this.iColumnModel.Columns.AddRange(new XPTable.Models.Column[] { this.iCol_Index, this.iCol_Type, this.iCol_Address, this.iCol_Length, this.iCol_DescriptorLength, this.iCol_Symbol }); // // iCol_Index // this.iCol_Index.Alignment = XPTable.Models.ColumnAlignment.Center; this.iCol_Index.ContentWidth = 0; // // iCol_Type // this.iCol_Type.ContentWidth = 29; this.iCol_Type.Text = "Type"; this.iCol_Type.Width = 85; // // iCol_Address // this.iCol_Address.Alignment = XPTable.Models.ColumnAlignment.Center; this.iCol_Address.ContentWidth = 46; this.iCol_Address.Text = "Address"; this.iCol_Address.Width = 85; // // iCol_Length // this.iCol_Length.Alignment = XPTable.Models.ColumnAlignment.Right; this.iCol_Length.ContentWidth = 39; this.iCol_Length.Text = "Length"; this.iCol_Length.Width = 85; // // iCol_DescriptorLength // this.iCol_DescriptorLength.Alignment = XPTable.Models.ColumnAlignment.Right; this.iCol_DescriptorLength.ContentWidth = 53; this.iCol_DescriptorLength.Text = "Des. Len."; this.iCol_DescriptorLength.Width = 85; // // iCol_Symbol // this.iCol_Symbol.ContentWidth = 70; this.iCol_Symbol.Text = "Object Name"; this.iCol_Symbol.Width = 350; // // HeapCellListingControl // this.Controls.Add(this.iTable); this.Font = new System.Drawing.Font("Tahoma", 8.25F); this.Name = "HeapCellListingControl"; this.Size = new System.Drawing.Size(791, 336); ((System.ComponentModel.ISupportInitialize)(this.iTable)).EndInit(); this.ResumeLayout(false); }
private void InitializeComponent() { this.iPnl_Upper = new System.Windows.Forms.Panel(); this.groupBox1 = new System.Windows.Forms.GroupBox(); this.iListView = new System.Windows.Forms.ListView(); this.iColRegionNumber = new System.Windows.Forms.ColumnHeader(); this.iColLineNumber = new System.Windows.Forms.ColumnHeader(); this.iColCountAllocs = new System.Windows.Forms.ColumnHeader(); this.iColCountFrees = new System.Windows.Forms.ColumnHeader(); this.iColMemAllocated = new System.Windows.Forms.ColumnHeader(); this.iColMemFreed = new System.Windows.Forms.ColumnHeader(); this.iColNet = new System.Windows.Forms.ColumnHeader(); this.iColRegionText = new System.Windows.Forms.ColumnHeader(); this.iPnl_Lower = new System.Windows.Forms.Panel(); this.groupBox2 = new System.Windows.Forms.GroupBox(); this.iTable = new XPTable.Models.Table(); this.iTable_ColModel = new XPTable.Models.ColumnModel(); this.iCol_MemOp = new XPTable.Models.TextColumn(); this.iCol_LineNumber = new XPTable.Models.TextColumn(); this.iCol_CellAddr = new XPTable.Models.TextColumn(); this.iCol_Type = new XPTable.Models.TextColumn(); this.iCol_AllocSize = new XPTable.Models.TextColumn(); this.iCol_HeapSize = new XPTable.Models.TextColumn(); this.iCol_AssociatedOp = new XPTable.Models.TextColumn(); this.iCol_Symbol = new XPTable.Models.TextColumn(); this.iTable_Model = new XPTable.Models.TableModel(); this.iMarkerStartText = new System.Windows.Forms.TextBox(); this.label1 = new System.Windows.Forms.Label(); this.label2 = new System.Windows.Forms.Label(); this.label3 = new System.Windows.Forms.Label(); this.iMarkerEndText = new System.Windows.Forms.TextBox(); this.iSplitter_Horizontal = new System.Windows.Forms.Splitter(); this.iPnl_Upper.SuspendLayout(); this.groupBox1.SuspendLayout(); this.iPnl_Lower.SuspendLayout(); this.groupBox2.SuspendLayout(); ((System.ComponentModel.ISupportInitialize)(this.iTable)).BeginInit(); this.SuspendLayout(); // // iPnl_Upper // this.iPnl_Upper.Controls.Add(this.groupBox1); this.iPnl_Upper.Dock = System.Windows.Forms.DockStyle.Top; this.iPnl_Upper.Location = new System.Drawing.Point(0, 0); this.iPnl_Upper.Name = "iPnl_Upper"; this.iPnl_Upper.Size = new System.Drawing.Size(1016, 172); this.iPnl_Upper.TabIndex = 3; // // groupBox1 // this.groupBox1.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom) | System.Windows.Forms.AnchorStyles.Left) | System.Windows.Forms.AnchorStyles.Right))); this.groupBox1.Controls.Add(this.iListView); this.groupBox1.Location = new System.Drawing.Point(8, 5); this.groupBox1.Name = "groupBox1"; this.groupBox1.Size = new System.Drawing.Size(1006, 164); this.groupBox1.TabIndex = 1; this.groupBox1.TabStop = false; this.groupBox1.Text = "Identified regions..."; // // iListView // this.iListView.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom) | System.Windows.Forms.AnchorStyles.Left) | System.Windows.Forms.AnchorStyles.Right))); this.iListView.Columns.AddRange(new System.Windows.Forms.ColumnHeader[] { this.iColRegionNumber, this.iColLineNumber, this.iColCountAllocs, this.iColCountFrees, this.iColMemAllocated, this.iColMemFreed, this.iColNet, this.iColRegionText }); this.iListView.FullRowSelect = true; this.iListView.GridLines = true; this.iListView.HeaderStyle = System.Windows.Forms.ColumnHeaderStyle.Nonclickable; this.iListView.Location = new System.Drawing.Point(12, 20); this.iListView.Name = "iListView"; this.iListView.Size = new System.Drawing.Size(980, 136); this.iListView.TabIndex = 0; this.iListView.View = System.Windows.Forms.View.Details; this.iListView.SelectedIndexChanged += new System.EventHandler(this.iListView_SelectedIndexChanged); // // iColRegionNumber // this.iColRegionNumber.Text = "Region #"; // // iColLineNumber // this.iColLineNumber.Text = "Line #"; // // iColCountAllocs // this.iColCountAllocs.Text = "Alloc. Count"; this.iColCountAllocs.TextAlign = System.Windows.Forms.HorizontalAlignment.Right; this.iColCountAllocs.Width = 73; // // iColCountFrees // this.iColCountFrees.Text = "Free\'d Count"; this.iColCountFrees.TextAlign = System.Windows.Forms.HorizontalAlignment.Right; this.iColCountFrees.Width = 75; // // iColMemAllocated // this.iColMemAllocated.Text = "Allocated Memory"; this.iColMemAllocated.TextAlign = System.Windows.Forms.HorizontalAlignment.Right; this.iColMemAllocated.Width = 96; // // iColMemFreed // this.iColMemFreed.Text = "Free\'d Memory"; this.iColMemFreed.TextAlign = System.Windows.Forms.HorizontalAlignment.Right; this.iColMemFreed.Width = 84; // // iColNet // this.iColNet.Text = "Net"; this.iColNet.TextAlign = System.Windows.Forms.HorizontalAlignment.Right; this.iColNet.Width = 80; // // iColRegionText // this.iColRegionText.Text = ""; this.iColRegionText.Width = 337; // // iPnl_Lower // this.iPnl_Lower.Controls.Add(this.groupBox2); this.iPnl_Lower.Dock = System.Windows.Forms.DockStyle.Fill; this.iPnl_Lower.Location = new System.Drawing.Point(0, 172); this.iPnl_Lower.Name = "iPnl_Lower"; this.iPnl_Lower.Size = new System.Drawing.Size(1016, 569); this.iPnl_Lower.TabIndex = 4; // // groupBox2 // this.groupBox2.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom) | System.Windows.Forms.AnchorStyles.Left) | System.Windows.Forms.AnchorStyles.Right))); this.groupBox2.Controls.Add(this.iTable); this.groupBox2.Controls.Add(this.iMarkerStartText); this.groupBox2.Controls.Add(this.label1); this.groupBox2.Controls.Add(this.label2); this.groupBox2.Controls.Add(this.label3); this.groupBox2.Controls.Add(this.iMarkerEndText); this.groupBox2.Location = new System.Drawing.Point(8, 5); this.groupBox2.Name = "groupBox2"; this.groupBox2.Size = new System.Drawing.Size(1006, 558); this.groupBox2.TabIndex = 2; this.groupBox2.TabStop = false; this.groupBox2.Text = "Memory operations within region"; // // iTable // this.iTable.AlternatingRowColor = System.Drawing.Color.Gainsboro; this.iTable.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom) | System.Windows.Forms.AnchorStyles.Left) | System.Windows.Forms.AnchorStyles.Right))); this.iTable.ColumnModel = this.iTable_ColModel; this.iTable.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((System.Byte)(0))); this.iTable.FullRowSelect = true; this.iTable.HeaderFont = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((System.Byte)(0))); this.iTable.Location = new System.Drawing.Point(88, 47); this.iTable.Name = "iTable"; this.iTable.Size = new System.Drawing.Size(904, 476); this.iTable.TabIndex = 3; this.iTable.TableModel = this.iTable_Model; this.iTable.CellClick += new XPTable.Events.CellMouseEventHandler(this.iTable_CellClick); // // iTable_ColModel // this.iTable_ColModel.Columns.AddRange(new XPTable.Models.Column[] { this.iCol_MemOp, this.iCol_LineNumber, this.iCol_CellAddr, this.iCol_Type, this.iCol_AllocSize, this.iCol_HeapSize, this.iCol_AssociatedOp, this.iCol_Symbol }); // // iCol_MemOp // this.iCol_MemOp.Text = "Op. #"; this.iCol_MemOp.Width = 72; // // iCol_LineNumber // this.iCol_LineNumber.Text = "Line"; this.iCol_LineNumber.Width = 62; // // iCol_CellAddr // this.iCol_CellAddr.Text = "Cell Addr."; this.iCol_CellAddr.Width = 62; // // iCol_Type // this.iCol_Type.Text = "Type"; this.iCol_Type.Width = 110; // // iCol_AllocSize // this.iCol_AllocSize.Alignment = XPTable.Models.ColumnAlignment.Right; this.iCol_AllocSize.Text = "Alloc. Size"; this.iCol_AllocSize.Width = 64; // // iCol_HeapSize // this.iCol_HeapSize.Alignment = XPTable.Models.ColumnAlignment.Right; this.iCol_HeapSize.Text = "Heap Size"; this.iCol_HeapSize.Width = 64; // // iCol_AssociatedOp // this.iCol_AssociatedOp.Text = "Associated Op."; this.iCol_AssociatedOp.Width = 170; // // iCol_Symbol // this.iCol_Symbol.Text = "Symbol"; this.iCol_Symbol.Width = 270; // // iMarkerStartText // this.iMarkerStartText.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left) | System.Windows.Forms.AnchorStyles.Right))); this.iMarkerStartText.Location = new System.Drawing.Point(88, 22); this.iMarkerStartText.Name = "iMarkerStartText"; this.iMarkerStartText.ReadOnly = true; this.iMarkerStartText.Size = new System.Drawing.Size(904, 20); this.iMarkerStartText.TabIndex = 1; this.iMarkerStartText.Text = ""; // // label1 // this.label1.Location = new System.Drawing.Point(16, 24); this.label1.Name = "label1"; this.label1.Size = new System.Drawing.Size(64, 16); this.label1.TabIndex = 2; this.label1.Text = "Start text:"; this.label1.TextAlign = System.Drawing.ContentAlignment.MiddleRight; // // label2 // this.label2.Location = new System.Drawing.Point(16, 52); this.label2.Name = "label2"; this.label2.Size = new System.Drawing.Size(64, 20); this.label2.TabIndex = 2; this.label2.Text = "Operations:"; this.label2.TextAlign = System.Drawing.ContentAlignment.MiddleRight; // // label3 // this.label3.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left))); this.label3.Location = new System.Drawing.Point(16, 530); this.label3.Name = "label3"; this.label3.Size = new System.Drawing.Size(64, 16); this.label3.TabIndex = 2; this.label3.Text = "End text:"; this.label3.TextAlign = System.Drawing.ContentAlignment.MiddleRight; // // iMarkerEndText // this.iMarkerEndText.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left) | System.Windows.Forms.AnchorStyles.Right))); this.iMarkerEndText.Location = new System.Drawing.Point(88, 528); this.iMarkerEndText.Name = "iMarkerEndText"; this.iMarkerEndText.ReadOnly = true; this.iMarkerEndText.Size = new System.Drawing.Size(904, 20); this.iMarkerEndText.TabIndex = 1; this.iMarkerEndText.Text = ""; // // iSplitter_Horizontal // this.iSplitter_Horizontal.Dock = System.Windows.Forms.DockStyle.Top; this.iSplitter_Horizontal.Location = new System.Drawing.Point(0, 172); this.iSplitter_Horizontal.Name = "iSplitter_Horizontal"; this.iSplitter_Horizontal.Size = new System.Drawing.Size(1016, 3); this.iSplitter_Horizontal.TabIndex = 5; this.iSplitter_Horizontal.TabStop = false; // // MemAnalysisRegionalForm // this.AutoScaleBaseSize = new System.Drawing.Size(5, 13); this.ClientSize = new System.Drawing.Size(1016, 741); this.Controls.Add(this.iSplitter_Horizontal); this.Controls.Add(this.iPnl_Lower); this.Controls.Add(this.iPnl_Upper); this.MaximizeBox = false; this.MinimizeBox = false; this.MinimumSize = new System.Drawing.Size(1024, 456); this.Name = "MemAnalysisRegionalForm"; this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen; this.Text = "Marker-based Analysis"; this.Load += new System.EventHandler(this.MemAnalysisRegionalForm_Load); this.iPnl_Upper.ResumeLayout(false); this.groupBox1.ResumeLayout(false); this.iPnl_Lower.ResumeLayout(false); this.groupBox2.ResumeLayout(false); ((System.ComponentModel.ISupportInitialize)(this.iTable)).EndInit(); this.ResumeLayout(false); }
private void InitializeComponent() { this.components = new System.ComponentModel.Container(); this.iCloseButton = new System.Windows.Forms.Button(); this.iTimerRefreshGrid = new System.Windows.Forms.Timer(this.components); this.iGrid_ColModel = new XPTable.Models.ColumnModel(); this.iGridCol_MemOp = new XPTable.Models.TextColumn(); this.iGridCol_LineNumber = new XPTable.Models.TextColumn(); this.iGridCol_CellAddr = new XPTable.Models.TextColumn(); this.iGridCol_Type = new XPTable.Models.TextColumn(); this.iGridCol_AllocSize = new XPTable.Models.TextColumn(); this.iGridCol_HeapSize = new XPTable.Models.TextColumn(); this.iGridCol_AssociatedOp = new XPTable.Models.TextColumn(); this.iGrid_TableModel = new XPTable.Models.TableModel(); this.menuStrip1 = new System.Windows.Forms.MenuStrip(); this.iMenuItem_File = new System.Windows.Forms.ToolStripMenuItem(); this.iMenuItem_File_SaveAs = new System.Windows.Forms.ToolStripMenuItem(); this.iMenuItem_File_Exit = new System.Windows.Forms.ToolStripMenuItem(); this.iSplitContainer = new System.Windows.Forms.SplitContainer(); this.groupBox32 = new System.Windows.Forms.GroupBox(); this.iListView = new System.Windows.Forms.ListView(); this.iColHdrTotals = new System.Windows.Forms.ColumnHeader(); this.iColHdrObjectAllocCount = new System.Windows.Forms.ColumnHeader(); this.iColHdrObjectFreeCount = new System.Windows.Forms.ColumnHeader(); this.iColHdrTotalAllocSize = new System.Windows.Forms.ColumnHeader(); this.iColHdrFreedMemory = new System.Windows.Forms.ColumnHeader(); this.iColHdrNetAllocSize = new System.Windows.Forms.ColumnHeader(); this.iColHdrSymbolName = new System.Windows.Forms.ColumnHeader(); this.iMemAnalysisDetailedInfoForSymbolGroupBox = new System.Windows.Forms.GroupBox(); this.iBT_CopyToClipboard = new System.Windows.Forms.Button(); this.iGrid = new XPTable.Models.Table(); this.menuStrip1.SuspendLayout(); this.iSplitContainer.Panel1.SuspendLayout(); this.iSplitContainer.Panel2.SuspendLayout(); this.iSplitContainer.SuspendLayout(); this.groupBox32.SuspendLayout(); this.iMemAnalysisDetailedInfoForSymbolGroupBox.SuspendLayout(); ((System.ComponentModel.ISupportInitialize)(this.iGrid)).BeginInit(); this.SuspendLayout(); // // iCloseButton // this.iCloseButton.DialogResult = System.Windows.Forms.DialogResult.Cancel; this.iCloseButton.Location = new System.Drawing.Point(439, 680); this.iCloseButton.Name = "iCloseButton"; this.iCloseButton.Size = new System.Drawing.Size(75, 23); this.iCloseButton.TabIndex = 51; this.iCloseButton.Text = "Close"; this.iCloseButton.Click += new System.EventHandler(this.iCloseButton_Click); // // iTimerRefreshGrid // this.iTimerRefreshGrid.Interval = 200; this.iTimerRefreshGrid.Tick += new System.EventHandler(this.iTimerRefreshGrid_Tick); // // iGrid_ColModel // this.iGrid_ColModel.Columns.AddRange(new XPTable.Models.Column[] { this.iGridCol_MemOp, this.iGridCol_LineNumber, this.iGridCol_CellAddr, this.iGridCol_Type, this.iGridCol_AllocSize, this.iGridCol_HeapSize, this.iGridCol_AssociatedOp }); // // iGridCol_MemOp // this.iGridCol_MemOp.Text = "Op. #"; this.iGridCol_MemOp.Width = 72; // // iGridCol_LineNumber // this.iGridCol_LineNumber.Text = "Line"; this.iGridCol_LineNumber.Width = 62; // // iGridCol_CellAddr // this.iGridCol_CellAddr.Text = "Cell Addr."; this.iGridCol_CellAddr.Width = 62; // // iGridCol_Type // this.iGridCol_Type.Text = "Type"; this.iGridCol_Type.Width = 110; // // iGridCol_AllocSize // this.iGridCol_AllocSize.Alignment = XPTable.Models.ColumnAlignment.Right; this.iGridCol_AllocSize.Text = "Alloc. Size"; this.iGridCol_AllocSize.Width = 64; // // iGridCol_HeapSize // this.iGridCol_HeapSize.Alignment = XPTable.Models.ColumnAlignment.Right; this.iGridCol_HeapSize.Text = "Heap Size"; this.iGridCol_HeapSize.Width = 64; // // iGridCol_AssociatedOp // this.iGridCol_AssociatedOp.Text = "Associated Op."; this.iGridCol_AssociatedOp.Width = 170; // // menuStrip1 // this.menuStrip1.Items.AddRange(new System.Windows.Forms.ToolStripItem[] { this.iMenuItem_File }); this.menuStrip1.Location = new System.Drawing.Point(0, 0); this.menuStrip1.Name = "menuStrip1"; this.menuStrip1.Size = new System.Drawing.Size(738, 24); this.menuStrip1.TabIndex = 53; this.menuStrip1.Text = "menuStrip1"; // // iMenuItem_File // this.iMenuItem_File.DropDownItems.AddRange(new System.Windows.Forms.ToolStripItem[] { this.iMenuItem_File_SaveAs, this.iMenuItem_File_Exit }); this.iMenuItem_File.Name = "iMenuItem_File"; this.iMenuItem_File.Size = new System.Drawing.Size(35, 20); this.iMenuItem_File.Text = "&File"; // // iMenuItem_File_SaveAs // this.iMenuItem_File_SaveAs.Name = "iMenuItem_File_SaveAs"; this.iMenuItem_File_SaveAs.Size = new System.Drawing.Size(152, 22); this.iMenuItem_File_SaveAs.Text = "Save &As..."; this.iMenuItem_File_SaveAs.Click += new System.EventHandler(this.iMenuItem_File_SaveAs_Click); // // iMenuItem_File_Exit // this.iMenuItem_File_Exit.Name = "iMenuItem_File_Exit"; this.iMenuItem_File_Exit.Size = new System.Drawing.Size(152, 22); this.iMenuItem_File_Exit.Text = "E&xit"; this.iMenuItem_File_Exit.Click += new System.EventHandler(this.iMenuItem_File_Exit_Click); // // iSplitContainer // this.iSplitContainer.Dock = System.Windows.Forms.DockStyle.Fill; this.iSplitContainer.Location = new System.Drawing.Point(0, 24); this.iSplitContainer.Name = "iSplitContainer"; this.iSplitContainer.Orientation = System.Windows.Forms.Orientation.Horizontal; // // iSplitContainer.Panel1 // this.iSplitContainer.Panel1.Controls.Add(this.groupBox32); // // iSplitContainer.Panel2 // this.iSplitContainer.Panel2.Controls.Add(this.iMemAnalysisDetailedInfoForSymbolGroupBox); this.iSplitContainer.Size = new System.Drawing.Size(738, 425); this.iSplitContainer.SplitterDistance = 116; this.iSplitContainer.TabIndex = 54; // // groupBox32 // this.groupBox32.Controls.Add(this.iListView); this.groupBox32.Dock = System.Windows.Forms.DockStyle.Fill; this.groupBox32.Location = new System.Drawing.Point(0, 0); this.groupBox32.Name = "groupBox32"; this.groupBox32.Size = new System.Drawing.Size(738, 116); this.groupBox32.TabIndex = 51; this.groupBox32.TabStop = false; this.groupBox32.Text = "Memory Analysis by Symbol"; // // iListView // this.iListView.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom) | System.Windows.Forms.AnchorStyles.Left) | System.Windows.Forms.AnchorStyles.Right))); this.iListView.Columns.AddRange(new System.Windows.Forms.ColumnHeader[] { this.iColHdrTotals, this.iColHdrObjectAllocCount, this.iColHdrObjectFreeCount, this.iColHdrTotalAllocSize, this.iColHdrFreedMemory, this.iColHdrNetAllocSize, this.iColHdrSymbolName }); this.iListView.Font = new System.Drawing.Font("Lucida Sans Unicode", 7.25F); this.iListView.FullRowSelect = true; this.iListView.GridLines = true; this.iListView.Location = new System.Drawing.Point(6, 16); this.iListView.MultiSelect = false; this.iListView.Name = "iListView"; this.iListView.Size = new System.Drawing.Size(724, 94); this.iListView.TabIndex = 47; this.iListView.UseCompatibleStateImageBehavior = false; this.iListView.View = System.Windows.Forms.View.Details; this.iListView.SelectedIndexChanged += new System.EventHandler(this.iListView_SelectedIndexChanged); // // iColHdrTotals // this.iColHdrTotals.Text = ""; this.iColHdrTotals.Width = 57; // // iColHdrObjectAllocCount // this.iColHdrObjectAllocCount.Text = "Alloc. Count"; this.iColHdrObjectAllocCount.TextAlign = System.Windows.Forms.HorizontalAlignment.Right; this.iColHdrObjectAllocCount.Width = 83; // // iColHdrObjectFreeCount // this.iColHdrObjectFreeCount.Text = "Free\'d Count"; this.iColHdrObjectFreeCount.TextAlign = System.Windows.Forms.HorizontalAlignment.Right; this.iColHdrObjectFreeCount.Width = 81; // // iColHdrTotalAllocSize // this.iColHdrTotalAllocSize.Text = "Allocated Memory"; this.iColHdrTotalAllocSize.TextAlign = System.Windows.Forms.HorizontalAlignment.Right; this.iColHdrTotalAllocSize.Width = 100; // // iColHdrFreedMemory // this.iColHdrFreedMemory.Text = "Free\'d Memory"; this.iColHdrFreedMemory.TextAlign = System.Windows.Forms.HorizontalAlignment.Right; this.iColHdrFreedMemory.Width = 84; // // iColHdrNetAllocSize // this.iColHdrNetAllocSize.Text = "Net"; this.iColHdrNetAllocSize.TextAlign = System.Windows.Forms.HorizontalAlignment.Right; this.iColHdrNetAllocSize.Width = 108; // // iColHdrSymbolName // this.iColHdrSymbolName.Text = "Symbol Name"; this.iColHdrSymbolName.Width = 362; // // iMemAnalysisDetailedInfoForSymbolGroupBox // this.iMemAnalysisDetailedInfoForSymbolGroupBox.Controls.Add(this.iBT_CopyToClipboard); this.iMemAnalysisDetailedInfoForSymbolGroupBox.Controls.Add(this.iGrid); this.iMemAnalysisDetailedInfoForSymbolGroupBox.Dock = System.Windows.Forms.DockStyle.Fill; this.iMemAnalysisDetailedInfoForSymbolGroupBox.Location = new System.Drawing.Point(0, 0); this.iMemAnalysisDetailedInfoForSymbolGroupBox.Name = "iMemAnalysisDetailedInfoForSymbolGroupBox"; this.iMemAnalysisDetailedInfoForSymbolGroupBox.Size = new System.Drawing.Size(738, 305); this.iMemAnalysisDetailedInfoForSymbolGroupBox.TabIndex = 52; this.iMemAnalysisDetailedInfoForSymbolGroupBox.TabStop = false; this.iMemAnalysisDetailedInfoForSymbolGroupBox.Text = "Detailed Analysis for Symbol"; // // iBT_CopyToClipboard // this.iBT_CopyToClipboard.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left) | System.Windows.Forms.AnchorStyles.Right))); this.iBT_CopyToClipboard.Location = new System.Drawing.Point(7, 270); this.iBT_CopyToClipboard.Name = "iBT_CopyToClipboard"; this.iBT_CopyToClipboard.Size = new System.Drawing.Size(723, 31); this.iBT_CopyToClipboard.TabIndex = 1; this.iBT_CopyToClipboard.Text = "Copy to Clipboard..."; this.iBT_CopyToClipboard.UseVisualStyleBackColor = true; // // iGrid // this.iGrid.AlternatingRowColor = System.Drawing.Color.WhiteSmoke; this.iGrid.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom) | System.Windows.Forms.AnchorStyles.Left) | System.Windows.Forms.AnchorStyles.Right))); this.iGrid.ColumnModel = this.iGrid_ColModel; this.iGrid.Font = new System.Drawing.Font("Microsoft Sans Serif", 7.25F); this.iGrid.FullRowSelect = true; this.iGrid.GridLines = XPTable.Models.GridLines.Both; this.iGrid.HeaderFont = new System.Drawing.Font("Lucida Sans Unicode", 7.25F); this.iGrid.Location = new System.Drawing.Point(7, 19); this.iGrid.Name = "iGrid"; this.iGrid.Size = new System.Drawing.Size(723, 249); this.iGrid.TabIndex = 0; this.iGrid.TableModel = this.iGrid_TableModel; this.iGrid.KeyDown += new System.Windows.Forms.KeyEventHandler(this.iGrid_KeyDown); this.iGrid.CellClick += new XPTable.Events.CellMouseEventHandler(this.iGrid_CellClick); // // MemAnalysisStatisticalForm // this.AutoScaleBaseSize = new System.Drawing.Size(5, 13); this.ClientSize = new System.Drawing.Size(738, 449); this.Controls.Add(this.iSplitContainer); this.Controls.Add(this.iCloseButton); this.Controls.Add(this.menuStrip1); this.Name = "MemAnalysisStatisticalForm"; this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen; this.Text = "Memory Analysis"; this.Load += new System.EventHandler(this.MemAnalysisForm_Load); this.menuStrip1.ResumeLayout(false); this.menuStrip1.PerformLayout(); this.iSplitContainer.Panel1.ResumeLayout(false); this.iSplitContainer.Panel2.ResumeLayout(false); this.iSplitContainer.ResumeLayout(false); this.groupBox32.ResumeLayout(false); this.iMemAnalysisDetailedInfoForSymbolGroupBox.ResumeLayout(false); ((System.ComponentModel.ISupportInitialize)(this.iGrid)).EndInit(); this.ResumeLayout(false); this.PerformLayout(); }