namespace TimeTable.view { partial class AddText { /// /// Required designer variable. /// private System.ComponentModel.IContainer components = null; private Main main; public AddText(Main mainView) { this.main = mainView; } /// /// 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() { textLbl = new Label(); textBox = new TextBox(); cancelBtn = new Button(); saveBtn = new Button(); SuspendLayout(); // // textLbl // textLbl.AutoSize = true; textLbl.Location = new Point(12, 9); textLbl.Name = "textLbl"; textLbl.Size = new Size(36, 20); textLbl.TabIndex = 0; textLbl.Text = "Text"; // // textBox // textBox.Location = new Point(54, 6); textBox.Name = "textBox"; textBox.Size = new Size(277, 27); textBox.TabIndex = 1; // // cancelBtn // cancelBtn.Location = new Point(237, 50); cancelBtn.Name = "cancelBtn"; cancelBtn.Size = new Size(94, 29); cancelBtn.TabIndex = 2; cancelBtn.Text = "Cancel"; cancelBtn.UseVisualStyleBackColor = true; cancelBtn.Click += btnCancelClick; // // saveBtn // saveBtn.Location = new Point(137, 50); saveBtn.Name = "saveBtn"; saveBtn.Size = new Size(94, 29); saveBtn.TabIndex = 3; saveBtn.Text = "Save"; saveBtn.UseVisualStyleBackColor = true; saveBtn.Click += saveClick; // // AddText // AutoScaleDimensions = new SizeF(8F, 20F); AutoScaleMode = AutoScaleMode.Font; ClientSize = new Size(343, 102); Controls.Add(saveBtn); Controls.Add(cancelBtn); Controls.Add(textBox); Controls.Add(textLbl); FormBorderStyle = FormBorderStyle.FixedSingle; Name = "AddText"; Text = "Please add Text"; ResumeLayout(false); PerformLayout(); } #endregion private void btnCancelClick(object sender, EventArgs e) { this.Close(); } private void saveClick(object sender, EventArgs e) { } private Label textLbl; private TextBox textBox; private Button cancelBtn; private Button saveBtn; } }