2024-09-20 01:03:13 +03:00
|
|
|
|
namespace TestApp
|
|
|
|
|
{
|
|
|
|
|
partial class Form1
|
|
|
|
|
{
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// Required designer variable.
|
|
|
|
|
/// </summary>
|
|
|
|
|
private System.ComponentModel.IContainer components = null;
|
|
|
|
|
|
|
|
|
|
/// <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()
|
|
|
|
|
{
|
|
|
|
|
customComboBox = new Components.CustomComboBox();
|
|
|
|
|
buttonAdd = new Button();
|
|
|
|
|
buttonClear = new Button();
|
|
|
|
|
buttonGet = new Button();
|
|
|
|
|
customTextBox = new Components.CustomTextBox();
|
2024-09-20 03:20:29 +03:00
|
|
|
|
customListBox = new Components.CustomListBox();
|
|
|
|
|
buttonDay = new Button();
|
|
|
|
|
buttonAddDay = new Button();
|
|
|
|
|
textBoxMood = new TextBox();
|
|
|
|
|
label1 = new Label();
|
2024-09-20 01:03:13 +03:00
|
|
|
|
SuspendLayout();
|
|
|
|
|
//
|
|
|
|
|
// customComboBox
|
|
|
|
|
//
|
|
|
|
|
customComboBox.BorderStyle = BorderStyle.FixedSingle;
|
2024-09-20 03:20:29 +03:00
|
|
|
|
customComboBox.Location = new Point(12, 0);
|
2024-09-20 01:03:13 +03:00
|
|
|
|
customComboBox.Name = "customComboBox";
|
|
|
|
|
customComboBox.SelectedItem = "";
|
|
|
|
|
customComboBox.Size = new Size(252, 91);
|
|
|
|
|
customComboBox.TabIndex = 0;
|
|
|
|
|
customComboBox.ValueChangedEvent += customComboBox_ValueChanged;
|
|
|
|
|
//
|
|
|
|
|
// buttonAdd
|
|
|
|
|
//
|
2024-09-20 03:20:29 +03:00
|
|
|
|
buttonAdd.Location = new Point(5, 97);
|
2024-09-20 01:03:13 +03:00
|
|
|
|
buttonAdd.Name = "buttonAdd";
|
|
|
|
|
buttonAdd.Size = new Size(94, 29);
|
|
|
|
|
buttonAdd.TabIndex = 1;
|
|
|
|
|
buttonAdd.Text = "Add";
|
|
|
|
|
buttonAdd.UseVisualStyleBackColor = true;
|
|
|
|
|
buttonAdd.Click += buttonAdd_Click;
|
|
|
|
|
//
|
|
|
|
|
// buttonClear
|
|
|
|
|
//
|
2024-09-20 03:20:29 +03:00
|
|
|
|
buttonClear.Location = new Point(105, 97);
|
2024-09-20 01:03:13 +03:00
|
|
|
|
buttonClear.Name = "buttonClear";
|
|
|
|
|
buttonClear.Size = new Size(94, 29);
|
|
|
|
|
buttonClear.TabIndex = 2;
|
|
|
|
|
buttonClear.Text = "Clear";
|
|
|
|
|
buttonClear.UseVisualStyleBackColor = true;
|
|
|
|
|
buttonClear.Click += buttonClear_Click;
|
|
|
|
|
//
|
|
|
|
|
// buttonGet
|
|
|
|
|
//
|
2024-09-20 03:20:29 +03:00
|
|
|
|
buttonGet.Location = new Point(205, 97);
|
2024-09-20 01:03:13 +03:00
|
|
|
|
buttonGet.Name = "buttonGet";
|
|
|
|
|
buttonGet.Size = new Size(94, 29);
|
|
|
|
|
buttonGet.TabIndex = 3;
|
|
|
|
|
buttonGet.Text = "Get";
|
|
|
|
|
buttonGet.UseVisualStyleBackColor = true;
|
|
|
|
|
buttonGet.Click += buttonGet_Click;
|
|
|
|
|
//
|
|
|
|
|
// customTextBox
|
|
|
|
|
//
|
2024-09-20 03:20:29 +03:00
|
|
|
|
customTextBox.BorderStyle = BorderStyle.FixedSingle;
|
|
|
|
|
customTextBox.Location = new Point(12, 144);
|
2024-09-20 01:03:13 +03:00
|
|
|
|
customTextBox.Name = "customTextBox";
|
|
|
|
|
customTextBox.numberPattern = null;
|
|
|
|
|
customTextBox.Size = new Size(258, 88);
|
|
|
|
|
customTextBox.TabIndex = 4;
|
|
|
|
|
customTextBox.ValueChangedEvent += customTextBox_ValueChanged;
|
|
|
|
|
//
|
2024-09-20 03:20:29 +03:00
|
|
|
|
// customListBox
|
|
|
|
|
//
|
|
|
|
|
customListBox.Anchor = AnchorStyles.Top | AnchorStyles.Bottom | AnchorStyles.Left | AnchorStyles.Right;
|
|
|
|
|
customListBox.Location = new Point(296, 0);
|
|
|
|
|
customListBox.Name = "customListBox";
|
|
|
|
|
customListBox.SelectedRow = -1;
|
|
|
|
|
customListBox.Size = new Size(803, 400);
|
|
|
|
|
customListBox.TabIndex = 5;
|
|
|
|
|
//
|
|
|
|
|
// buttonDay
|
|
|
|
|
//
|
|
|
|
|
buttonDay.Location = new Point(205, 342);
|
|
|
|
|
buttonDay.Name = "buttonDay";
|
|
|
|
|
buttonDay.Size = new Size(94, 29);
|
|
|
|
|
buttonDay.TabIndex = 6;
|
|
|
|
|
buttonDay.Text = "Get day";
|
|
|
|
|
buttonDay.UseVisualStyleBackColor = true;
|
|
|
|
|
buttonDay.Click += buttonDay_Click;
|
|
|
|
|
//
|
|
|
|
|
// buttonAddDay
|
|
|
|
|
//
|
|
|
|
|
buttonAddDay.Location = new Point(205, 371);
|
|
|
|
|
buttonAddDay.Name = "buttonAddDay";
|
|
|
|
|
buttonAddDay.Size = new Size(94, 29);
|
|
|
|
|
buttonAddDay.TabIndex = 7;
|
|
|
|
|
buttonAddDay.Text = "Write";
|
|
|
|
|
buttonAddDay.UseVisualStyleBackColor = true;
|
|
|
|
|
buttonAddDay.Click += buttonAddDay_Click;
|
|
|
|
|
//
|
|
|
|
|
// textBoxMood
|
|
|
|
|
//
|
|
|
|
|
textBoxMood.Location = new Point(74, 371);
|
|
|
|
|
textBoxMood.Name = "textBoxMood";
|
|
|
|
|
textBoxMood.Size = new Size(125, 27);
|
|
|
|
|
textBoxMood.TabIndex = 8;
|
|
|
|
|
//
|
|
|
|
|
// label1
|
|
|
|
|
//
|
|
|
|
|
label1.AutoSize = true;
|
|
|
|
|
label1.Location = new Point(12, 378);
|
|
|
|
|
label1.Name = "label1";
|
|
|
|
|
label1.Size = new Size(52, 20);
|
|
|
|
|
label1.TabIndex = 9;
|
|
|
|
|
label1.Text = "Mood:";
|
|
|
|
|
//
|
2024-09-20 01:03:13 +03:00
|
|
|
|
// Form1
|
|
|
|
|
//
|
|
|
|
|
AutoScaleDimensions = new SizeF(8F, 20F);
|
|
|
|
|
AutoScaleMode = AutoScaleMode.Font;
|
2024-09-20 03:20:29 +03:00
|
|
|
|
ClientSize = new Size(1111, 416);
|
|
|
|
|
Controls.Add(label1);
|
|
|
|
|
Controls.Add(textBoxMood);
|
|
|
|
|
Controls.Add(buttonAddDay);
|
|
|
|
|
Controls.Add(buttonDay);
|
|
|
|
|
Controls.Add(customListBox);
|
2024-09-20 01:03:13 +03:00
|
|
|
|
Controls.Add(customTextBox);
|
|
|
|
|
Controls.Add(buttonGet);
|
|
|
|
|
Controls.Add(buttonClear);
|
|
|
|
|
Controls.Add(buttonAdd);
|
|
|
|
|
Controls.Add(customComboBox);
|
|
|
|
|
Name = "Form1";
|
|
|
|
|
Text = "Form1";
|
|
|
|
|
ResumeLayout(false);
|
2024-09-20 03:20:29 +03:00
|
|
|
|
PerformLayout();
|
2024-09-20 01:03:13 +03:00
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
#endregion
|
|
|
|
|
|
|
|
|
|
private Components.CustomComboBox customComboBox;
|
|
|
|
|
private Button buttonAdd;
|
|
|
|
|
private Button buttonClear;
|
|
|
|
|
private Button buttonGet;
|
|
|
|
|
private Components.CustomTextBox customTextBox;
|
2024-09-20 03:20:29 +03:00
|
|
|
|
private Components.CustomListBox customListBox;
|
|
|
|
|
private Button buttonDay;
|
|
|
|
|
private Button buttonAddDay;
|
|
|
|
|
private TextBox textBoxMood;
|
|
|
|
|
private Label label1;
|
2024-09-20 01:03:13 +03:00
|
|
|
|
}
|
|
|
|
|
}
|