namespace TimeTable.view { partial class RowEdit { /// /// Required designer variable. /// private System.ComponentModel.IContainer components = null; /// /// Clean up any resources being used. /// /// true if managed resources should be disposed; otherwise, false. protected override void Dispose(bool disposing) { if (disposing && (components != null)) { components.Dispose(); } base.Dispose(disposing); } #region Windows Form Designer generated code /// /// Required method for Designer support - do not modify /// the contents of this method with the code editor. /// private void InitializeComponent() { uidTxt = new Label(); startTxt = new Label(); EndTxt = new Label(); textTxt = new Label(); uidLbl = new Label(); startTimePicker = new DateTimePicker(); endTimePicker = new DateTimePicker(); textBox = new TextBox(); btnSave = new Button(); btnCancel = new Button(); SuspendLayout(); // // uidTxt // uidTxt.AutoSize = true; uidTxt.Location = new Point(12, 20); uidTxt.Name = "uidTxt"; uidTxt.Size = new Size(34, 20); uidTxt.TabIndex = 0; uidTxt.Text = "UID"; // // startTxt // startTxt.AutoSize = true; startTxt.Location = new Point(12, 54); startTxt.Name = "startTxt"; startTxt.Size = new Size(40, 20); startTxt.TabIndex = 1; startTxt.Text = "Start"; // // EndTxt // EndTxt.AutoSize = true; EndTxt.Location = new Point(12, 88); EndTxt.Name = "EndTxt"; EndTxt.Size = new Size(34, 20); EndTxt.TabIndex = 2; EndTxt.Text = "End"; // // textTxt // textTxt.AutoSize = true; textTxt.Location = new Point(12, 126); textTxt.Name = "textTxt"; textTxt.Size = new Size(36, 20); textTxt.TabIndex = 3; textTxt.Text = "Text"; // // uidLbl // uidLbl.AutoSize = true; uidLbl.Location = new Point(71, 20); uidLbl.Name = "uidLbl"; uidLbl.Size = new Size(34, 20); uidLbl.TabIndex = 4; uidLbl.Text = "UID"; // // startTimePicker // startTimePicker.Location = new Point(71, 49); startTimePicker.Name = "startTimePicker"; startTimePicker.Size = new Size(250, 27); startTimePicker.TabIndex = 5; // // endTimePicker // endTimePicker.Location = new Point(71, 88); endTimePicker.Name = "endTimePicker"; endTimePicker.Size = new Size(250, 27); endTimePicker.TabIndex = 6; // // textBox // textBox.Location = new Point(71, 126); textBox.Name = "textBox"; textBox.Size = new Size(250, 27); textBox.TabIndex = 7; // // btnSave // btnSave.Location = new Point(134, 173); btnSave.Name = "btnSave"; btnSave.Size = new Size(101, 30); btnSave.TabIndex = 8; btnSave.Text = "Save"; btnSave.UseVisualStyleBackColor = true; btnSave.Click += button1_Click; // // btnCancel // btnCancel.Location = new Point(241, 173); btnCancel.Name = "btnCancel"; btnCancel.Size = new Size(101, 30); btnCancel.TabIndex = 9; btnCancel.Text = "Cancel"; btnCancel.UseVisualStyleBackColor = true; // // RowEdit // AutoScaleDimensions = new SizeF(8F, 20F); AutoScaleMode = AutoScaleMode.Font; ClientSize = new Size(354, 215); Controls.Add(btnCancel); Controls.Add(btnSave); Controls.Add(textBox); Controls.Add(endTimePicker); Controls.Add(startTimePicker); Controls.Add(uidLbl); Controls.Add(textTxt); Controls.Add(EndTxt); Controls.Add(startTxt); Controls.Add(uidTxt); FormBorderStyle = FormBorderStyle.FixedSingle; Name = "RowEdit"; Text = "RowEdit"; ResumeLayout(false); PerformLayout(); } #endregion public void setData(string uid, string start, string end, string text) { uidLbl.Text = uid; startTimePicker.Text = start; endTimePicker.Text = end; textBox.Text = text; } private Label uidTxt; private Label startTxt; private Label EndTxt; private Label textTxt; private Label uidLbl; private DateTimePicker startTimePicker; private DateTimePicker endTimePicker; private TextBox textBox; private Button btnSave; private Button btnCancel; } }