Календарь версия 0.1

This commit is contained in:
2022-09-06 22:18:53 +03:00
parent 0fac5ede3a
commit cd98a04d26
43 changed files with 2147 additions and 3 deletions

313
Сalendar/Form1.Designer.cs generated Normal file
View File

@@ -0,0 +1,313 @@

using System.Windows.Forms;
namespace Сalendar
{
partial class Form1
{
/// <summary>
/// Обязательная переменная конструктора.
/// </summary>
private System.ComponentModel.IContainer components = null;
/// <summary>
/// Освободить все используемые ресурсы.
/// </summary>
/// <param name="disposing">истинно, если управляемый ресурс должен быть удален; иначе ложно.</param>
protected override void Dispose(bool disposing)
{
if (disposing && (components != null))
{
components.Dispose();
}
base.Dispose(disposing);
}
#region Код, автоматически созданный конструктором форм Windows
/// <summary>
/// Требуемый метод для поддержки конструктора — не изменяйте
/// содержимое этого метода с помощью редактора кода.
/// </summary>
private void InitializeComponent()
{
this.components = new System.ComponentModel.Container();
System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(Form1));
this.listBox1 = new System.Windows.Forms.ListBox();
this.monthCalendar1 = new System.Windows.Forms.MonthCalendar();
this.label1 = new System.Windows.Forms.Label();
this.label2 = new System.Windows.Forms.Label();
this.label3 = new System.Windows.Forms.Label();
this.button1 = new System.Windows.Forms.Button();
this.label4 = new System.Windows.Forms.Label();
this.timer1 = new System.Windows.Forms.Timer(this.components);
this.textBox1 = new System.Windows.Forms.TextBox();
this.label5 = new System.Windows.Forms.Label();
this.button2 = new System.Windows.Forms.Button();
this.label6 = new System.Windows.Forms.Label();
this.label7 = new System.Windows.Forms.Label();
this.checkBox1 = new System.Windows.Forms.CheckBox();
this.radioButton1 = new System.Windows.Forms.RadioButton();
this.radioButton2 = new System.Windows.Forms.RadioButton();
this.dateTimePicker1 = new System.Windows.Forms.DateTimePicker();
this.label8 = new System.Windows.Forms.Label();
this.dateTimePicker2 = new System.Windows.Forms.DateTimePicker();
this.label9 = new System.Windows.Forms.Label();
this.SuspendLayout();
//
// listBox1
//
this.listBox1.FormattingEnabled = true;
this.listBox1.ItemHeight = 16;
this.listBox1.Location = new System.Drawing.Point(585, 15);
this.listBox1.Margin = new System.Windows.Forms.Padding(4);
this.listBox1.Name = "listBox1";
this.listBox1.Size = new System.Drawing.Size(464, 244);
this.listBox1.TabIndex = 0;
//
// monthCalendar1
//
this.monthCalendar1.Location = new System.Drawing.Point(351, 15);
this.monthCalendar1.Margin = new System.Windows.Forms.Padding(12, 11, 12, 11);
this.monthCalendar1.Name = "monthCalendar1";
this.monthCalendar1.TabIndex = 1;
//
// label1
//
this.label1.AutoSize = true;
this.label1.Location = new System.Drawing.Point(16, 33);
this.label1.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0);
this.label1.Name = "label1";
this.label1.Size = new System.Drawing.Size(42, 16);
this.label1.TabIndex = 2;
this.label1.Text = "Дата:";
//
// label2
//
this.label2.AutoSize = true;
this.label2.Location = new System.Drawing.Point(16, 83);
this.label2.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0);
this.label2.Name = "label2";
this.label2.Size = new System.Drawing.Size(51, 16);
this.label2.TabIndex = 3;
this.label2.Text = "Время:";
//
// label3
//
this.label3.AutoSize = true;
this.label3.Location = new System.Drawing.Point(72, 33);
this.label3.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0);
this.label3.Name = "label3";
this.label3.Size = new System.Drawing.Size(44, 16);
this.label3.TabIndex = 4;
this.label3.Text = "label3";
//
// button1
//
this.button1.Location = new System.Drawing.Point(455, 443);
this.button1.Margin = new System.Windows.Forms.Padding(4);
this.button1.Name = "button1";
this.button1.Size = new System.Drawing.Size(100, 28);
this.button1.TabIndex = 5;
this.button1.Text = "Добавить";
this.button1.UseVisualStyleBackColor = true;
this.button1.Click += new System.EventHandler(this.button1_Click);
//
// label4
//
this.label4.AutoSize = true;
this.label4.Location = new System.Drawing.Point(72, 83);
this.label4.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0);
this.label4.Name = "label4";
this.label4.Size = new System.Drawing.Size(44, 16);
this.label4.TabIndex = 6;
this.label4.Text = "label4";
//
// timer1
//
this.timer1.Enabled = true;
this.timer1.Tick += new System.EventHandler(this.timer1_Tick);
//
// textBox1
//
this.textBox1.Location = new System.Drawing.Point(284, 399);
this.textBox1.Margin = new System.Windows.Forms.Padding(4);
this.textBox1.Name = "textBox1";
this.textBox1.Size = new System.Drawing.Size(481, 22);
this.textBox1.TabIndex = 7;
//
// label5
//
this.label5.AutoSize = true;
this.label5.Location = new System.Drawing.Point(139, 402);
this.label5.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0);
this.label5.Name = "label5";
this.label5.Size = new System.Drawing.Size(130, 16);
this.label5.TabIndex = 8;
this.label5.Text = "Название события";
//
// button2
//
this.button2.Location = new System.Drawing.Point(764, 293);
this.button2.Margin = new System.Windows.Forms.Padding(4);
this.button2.Name = "button2";
this.button2.Size = new System.Drawing.Size(100, 28);
this.button2.TabIndex = 9;
this.button2.Text = "Удалить";
this.button2.UseVisualStyleBackColor = true;
this.button2.Click += new System.EventHandler(this.button2_Click);
//
// label6
//
this.label6.AutoSize = true;
this.label6.Location = new System.Drawing.Point(16, 59);
this.label6.Name = "label6";
this.label6.Size = new System.Drawing.Size(93, 16);
this.label6.TabIndex = 10;
this.label6.Text = "День недели:";
//
// label7
//
this.label7.AutoSize = true;
this.label7.Location = new System.Drawing.Point(116, 59);
this.label7.Name = "label7";
this.label7.Size = new System.Drawing.Size(44, 16);
this.label7.TabIndex = 11;
this.label7.Text = "label7";
//
// checkBox1
//
this.checkBox1.AutoSize = true;
this.checkBox1.Location = new System.Drawing.Point(585, 267);
this.checkBox1.Name = "checkBox1";
this.checkBox1.Size = new System.Drawing.Size(130, 20);
this.checkBox1.TabIndex = 12;
this.checkBox1.Text = "Редактировать";
this.checkBox1.UseVisualStyleBackColor = true;
//
// radioButton1
//
this.radioButton1.AutoSize = true;
this.radioButton1.Checked = true;
this.radioButton1.Location = new System.Drawing.Point(382, 235);
this.radioButton1.Name = "radioButton1";
this.radioButton1.Size = new System.Drawing.Size(93, 20);
this.radioButton1.TabIndex = 13;
this.radioButton1.TabStop = true;
this.radioButton1.Text = "Праздник";
this.radioButton1.UseVisualStyleBackColor = true;
//
// radioButton2
//
this.radioButton2.AutoSize = true;
this.radioButton2.Location = new System.Drawing.Point(382, 262);
this.radioButton2.Name = "radioButton2";
this.radioButton2.Size = new System.Drawing.Size(119, 20);
this.radioButton2.TabIndex = 14;
this.radioButton2.Text = "Напоминание";
this.radioButton2.UseVisualStyleBackColor = true;
//
// dateTimePicker1
//
this.dateTimePicker1.CustomFormat = "HH:mm";
this.dateTimePicker1.Format = System.Windows.Forms.DateTimePickerFormat.Custom;
this.dateTimePicker1.Location = new System.Drawing.Point(372, 336);
this.dateTimePicker1.MaxDate = new System.DateTime(2022, 1, 2, 0, 0, 0, 0);
this.dateTimePicker1.MinDate = new System.DateTime(2022, 1, 1, 0, 0, 0, 0);
this.dateTimePicker1.Name = "dateTimePicker1";
this.dateTimePicker1.ShowUpDown = true;
this.dateTimePicker1.Size = new System.Drawing.Size(65, 22);
this.dateTimePicker1.TabIndex = 15;
this.dateTimePicker1.Value = new System.DateTime(2022, 1, 1, 0, 0, 0, 0);
//
// label8
//
this.label8.AutoSize = true;
this.label8.Location = new System.Drawing.Point(452, 341);
this.label8.Name = "label8";
this.label8.Size = new System.Drawing.Size(23, 16);
this.label8.TabIndex = 16;
this.label8.Text = "по";
//
// dateTimePicker2
//
this.dateTimePicker2.CustomFormat = "HH:mm";
this.dateTimePicker2.Format = System.Windows.Forms.DateTimePickerFormat.Custom;
this.dateTimePicker2.Location = new System.Drawing.Point(501, 336);
this.dateTimePicker2.MaxDate = new System.DateTime(2022, 1, 2, 0, 0, 0, 0);
this.dateTimePicker2.MinDate = new System.DateTime(2022, 1, 1, 0, 0, 0, 0);
this.dateTimePicker2.Name = "dateTimePicker2";
this.dateTimePicker2.ShowUpDown = true;
this.dateTimePicker2.Size = new System.Drawing.Size(65, 22);
this.dateTimePicker2.TabIndex = 17;
this.dateTimePicker2.Value = new System.DateTime(2022, 1, 1, 0, 0, 0, 0);
//
// label9
//
this.label9.AutoSize = true;
this.label9.Location = new System.Drawing.Point(382, 376);
this.label9.Name = "label9";
this.label9.Size = new System.Drawing.Size(0, 16);
this.label9.TabIndex = 18;
//
// Form1
//
this.AutoScaleDimensions = new System.Drawing.SizeF(8F, 16F);
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
this.BackgroundImageLayout = System.Windows.Forms.ImageLayout.Center;
this.ClientSize = new System.Drawing.Size(1067, 554);
this.Controls.Add(this.label9);
this.Controls.Add(this.dateTimePicker2);
this.Controls.Add(this.label8);
this.Controls.Add(this.dateTimePicker1);
this.Controls.Add(this.radioButton2);
this.Controls.Add(this.radioButton1);
this.Controls.Add(this.checkBox1);
this.Controls.Add(this.label7);
this.Controls.Add(this.label6);
this.Controls.Add(this.button2);
this.Controls.Add(this.label5);
this.Controls.Add(this.textBox1);
this.Controls.Add(this.label4);
this.Controls.Add(this.button1);
this.Controls.Add(this.label3);
this.Controls.Add(this.label2);
this.Controls.Add(this.label1);
this.Controls.Add(this.monthCalendar1);
this.Controls.Add(this.listBox1);
this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.Fixed3D;
this.Icon = ((System.Drawing.Icon)(resources.GetObject("$this.Icon")));
this.Margin = new System.Windows.Forms.Padding(4);
this.Name = "Form1";
this.Text = "Календарь";
this.Load += new System.EventHandler(this.Form1_Load);
this.ResumeLayout(false);
this.PerformLayout();
}
#endregion
private System.Windows.Forms.ListBox listBox1;
private System.Windows.Forms.MonthCalendar monthCalendar1;
private System.Windows.Forms.Label label1;
private System.Windows.Forms.Label label2;
private System.Windows.Forms.Label label3;
private System.Windows.Forms.Button button1;
private System.Windows.Forms.Label label4;
private System.Windows.Forms.Timer timer1;
private System.Windows.Forms.TextBox textBox1;
private System.Windows.Forms.Label label5;
private System.Windows.Forms.Button button2;
private System.Windows.Forms.Label label6;
private System.Windows.Forms.Label label7;
private System.Windows.Forms.CheckBox checkBox1;
private System.Windows.Forms.RadioButton radioButton1;
private System.Windows.Forms.RadioButton radioButton2;
private System.Windows.Forms.DateTimePicker dateTimePicker1;
private Label label8;
private DateTimePicker dateTimePicker2;
private Label label9;
}
}