merges export functions, removed the option for users to add or delete rows
This commit is contained in:
28
Form1.Designer.cs
generated
28
Form1.Designer.cs
generated
@@ -39,6 +39,8 @@ namespace it_projekt
|
||||
this.Id = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
||||
this.firstname = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
||||
this.lastname = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
||||
this.Department_Short = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
||||
this.Department = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
||||
this.creationDate = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
||||
this.markItem = new System.Windows.Forms.DataGridViewCheckBoxColumn();
|
||||
this.jsonRBtn = new System.Windows.Forms.RadioButton();
|
||||
@@ -100,18 +102,22 @@ namespace it_projekt
|
||||
//
|
||||
// dataGrid
|
||||
//
|
||||
this.dataGrid.AllowUserToAddRows = false;
|
||||
this.dataGrid.AllowUserToDeleteRows = false;
|
||||
this.dataGrid.AllowUserToOrderColumns = true;
|
||||
this.dataGrid.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.AutoSize;
|
||||
this.dataGrid.Columns.AddRange(new System.Windows.Forms.DataGridViewColumn[] {
|
||||
this.Id,
|
||||
this.firstname,
|
||||
this.lastname,
|
||||
this.Department_Short,
|
||||
this.Department,
|
||||
this.creationDate,
|
||||
this.markItem});
|
||||
this.dataGrid.Location = new System.Drawing.Point(12, 109);
|
||||
this.dataGrid.Name = "dataGrid";
|
||||
this.dataGrid.RowTemplate.Height = 25;
|
||||
this.dataGrid.Size = new System.Drawing.Size(543, 225);
|
||||
this.dataGrid.Size = new System.Drawing.Size(743, 225);
|
||||
this.dataGrid.TabIndex = 7;
|
||||
this.dataGrid.CellContentClick += new System.Windows.Forms.DataGridViewCellEventHandler(this.dataGrid_CellContentClick);
|
||||
//
|
||||
@@ -133,6 +139,18 @@ namespace it_projekt
|
||||
this.lastname.Name = "lastname";
|
||||
this.lastname.ReadOnly = true;
|
||||
//
|
||||
// Department_Short
|
||||
//
|
||||
this.Department_Short.HeaderText = "Abteilungs Kürzel";
|
||||
this.Department_Short.Name = "Department_Short";
|
||||
this.Department_Short.ReadOnly = true;
|
||||
//
|
||||
// Department
|
||||
//
|
||||
this.Department.HeaderText = "Abteilung";
|
||||
this.Department.Name = "Department";
|
||||
this.Department.ReadOnly = true;
|
||||
//
|
||||
// creationDate
|
||||
//
|
||||
this.creationDate.HeaderText = "Erstellungssdatum";
|
||||
@@ -172,7 +190,7 @@ namespace it_projekt
|
||||
//
|
||||
this.AutoScaleDimensions = new System.Drawing.SizeF(7F, 15F);
|
||||
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
|
||||
this.ClientSize = new System.Drawing.Size(559, 336);
|
||||
this.ClientSize = new System.Drawing.Size(758, 336);
|
||||
this.Controls.Add(this.xmlRBtn);
|
||||
this.Controls.Add(this.jsonRBtn);
|
||||
this.Controls.Add(this.dataGrid);
|
||||
@@ -200,13 +218,15 @@ namespace it_projekt
|
||||
private System.Windows.Forms.TextBox userTxt;
|
||||
private System.Windows.Forms.TextBox passTxt;
|
||||
private System.Windows.Forms.DataGridView dataGrid;
|
||||
private System.Windows.Forms.RadioButton jsonRBtn;
|
||||
private System.Windows.Forms.RadioButton xmlRBtn;
|
||||
private System.Windows.Forms.DataGridViewTextBoxColumn Id;
|
||||
private System.Windows.Forms.DataGridViewTextBoxColumn firstname;
|
||||
private System.Windows.Forms.DataGridViewTextBoxColumn lastname;
|
||||
private System.Windows.Forms.DataGridViewTextBoxColumn Department_Short;
|
||||
private System.Windows.Forms.DataGridViewTextBoxColumn Department;
|
||||
private System.Windows.Forms.DataGridViewTextBoxColumn creationDate;
|
||||
private System.Windows.Forms.DataGridViewCheckBoxColumn markItem;
|
||||
private System.Windows.Forms.RadioButton jsonRBtn;
|
||||
private System.Windows.Forms.RadioButton xmlRBtn;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user