added columns for user controll

This commit is contained in:
Blauschleim
2022-05-09 13:47:36 +02:00
parent b98c477d68
commit cf27b19087
3 changed files with 65 additions and 1 deletions

46
Form1.Designer.cs generated
View File

@@ -37,6 +37,11 @@ namespace it_projekt
this.passTxt = new System.Windows.Forms.TextBox();
this.sqlTxt = new System.Windows.Forms.TextBox();
this.dataGrid = new System.Windows.Forms.DataGridView();
this.Id = new System.Windows.Forms.DataGridViewTextBoxColumn();
this.firstname = new System.Windows.Forms.DataGridViewTextBoxColumn();
this.lastname = new System.Windows.Forms.DataGridViewTextBoxColumn();
this.creationDate = new System.Windows.Forms.DataGridViewTextBoxColumn();
this.markItem = new System.Windows.Forms.DataGridViewCheckBoxColumn();
((System.ComponentModel.ISupportInitialize)(this.dataGrid)).BeginInit();
this.SuspendLayout();
//
@@ -104,11 +109,47 @@ namespace it_projekt
//
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.creationDate,
this.markItem});
this.dataGrid.Location = new System.Drawing.Point(12, 213);
this.dataGrid.Name = "dataGrid";
this.dataGrid.RowTemplate.Height = 25;
this.dataGrid.Size = new System.Drawing.Size(771, 225);
this.dataGrid.TabIndex = 7;
this.dataGrid.CellContentClick += new System.Windows.Forms.DataGridViewCellEventHandler(this.dataGrid_CellContentClick);
//
// Id
//
this.Id.HeaderText = "NutzerId";
this.Id.Name = "Id";
this.Id.ReadOnly = true;
//
// firstname
//
this.firstname.HeaderText = "Vorname";
this.firstname.Name = "firstname";
this.firstname.ReadOnly = true;
//
// lastname
//
this.lastname.HeaderText = "Nachname";
this.lastname.Name = "lastname";
this.lastname.ReadOnly = true;
//
// creationDate
//
this.creationDate.HeaderText = "Erstellungssdatum";
this.creationDate.Name = "creationDate";
this.creationDate.ReadOnly = true;
//
// markItem
//
this.markItem.HeaderText = "User Auswählen";
this.markItem.Name = "markItem";
//
// Form1
//
@@ -141,6 +182,11 @@ namespace it_projekt
private System.Windows.Forms.TextBox passTxt;
private System.Windows.Forms.TextBox sqlTxt;
private System.Windows.Forms.DataGridView dataGrid;
private System.Windows.Forms.DataGridViewTextBoxColumn Id;
private System.Windows.Forms.DataGridViewTextBoxColumn firstname;
private System.Windows.Forms.DataGridViewTextBoxColumn lastname;
private System.Windows.Forms.DataGridViewTextBoxColumn creationDate;
private System.Windows.Forms.DataGridViewCheckBoxColumn markItem;
}
}