2025-03-23 00:18:47 +00:00
|
|
|
|
namespace TimeTable.view {
|
|
|
|
|
partial class AddText {
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// Required designer variable.
|
|
|
|
|
/// </summary>
|
|
|
|
|
private System.ComponentModel.IContainer components = null;
|
|
|
|
|
private Main main;
|
|
|
|
|
|
|
|
|
|
public AddText(Main mainView) {
|
|
|
|
|
this.main = mainView;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// Clean up any resources being used.
|
|
|
|
|
/// </summary>
|
|
|
|
|
/// <param name="disposing">true if managed resources should be disposed; otherwise, false.</param>
|
|
|
|
|
protected override void Dispose(bool disposing) {
|
|
|
|
|
if (disposing && (components != null)) {
|
|
|
|
|
components.Dispose();
|
|
|
|
|
}
|
|
|
|
|
base.Dispose(disposing);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
#region Windows Form Designer generated code
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// Required method for Designer support - do not modify
|
|
|
|
|
/// the contents of this method with the code editor.
|
|
|
|
|
/// </summary>
|
|
|
|
|
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;
|
2025-03-23 00:30:19 +00:00
|
|
|
|
cancelBtn.Click += btnCancelClick;
|
2025-03-23 00:18:47 +00:00
|
|
|
|
//
|
|
|
|
|
// 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;
|
2025-03-23 00:30:19 +00:00
|
|
|
|
saveBtn.Click += saveClick;
|
2025-03-23 00:18:47 +00:00
|
|
|
|
//
|
|
|
|
|
// 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
|
|
|
|
|
|
2025-03-23 00:30:19 +00:00
|
|
|
|
private void btnCancelClick(object sender, EventArgs e) {
|
|
|
|
|
this.Close();
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
private void saveClick(object sender, EventArgs e) {
|
|
|
|
|
}
|
|
|
|
|
|
2025-03-23 00:18:47 +00:00
|
|
|
|
private Label textLbl;
|
|
|
|
|
private TextBox textBox;
|
|
|
|
|
private Button cancelBtn;
|
|
|
|
|
private Button saveBtn;
|
|
|
|
|
}
|
|
|
|
|
}
|