344 lines
12 KiB
C#
344 lines
12 KiB
C#
using System.ComponentModel;
|
|
|
|
namespace C969Project;
|
|
|
|
partial class AddOrUpdateAppointmentForm
|
|
{
|
|
/// <summary>
|
|
/// Required designer variable.
|
|
/// </summary>
|
|
private 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()
|
|
{
|
|
cancelButton = new Button();
|
|
saveButton = new Button();
|
|
label1 = new Label();
|
|
label2 = new Label();
|
|
titleTextBox = new TextBox();
|
|
descriptionTextBox = new TextBox();
|
|
label3 = new Label();
|
|
locationTextBox = new TextBox();
|
|
label4 = new Label();
|
|
contactTextBox = new TextBox();
|
|
label5 = new Label();
|
|
textBoxUrl = new TextBox();
|
|
urlTextBox = new Label();
|
|
label6 = new Label();
|
|
typeComboBox = new ComboBox();
|
|
customerComboBox = new ComboBox();
|
|
customerLabel = new Label();
|
|
startPickerDate = new DateTimePicker();
|
|
label7 = new Label();
|
|
label8 = new Label();
|
|
endPickerDate = new DateTimePicker();
|
|
startPickerTime = new DateTimePicker();
|
|
endPickerTime = new DateTimePicker();
|
|
SuspendLayout();
|
|
//
|
|
// cancelButton
|
|
//
|
|
cancelButton.Location = new Point(856, 761);
|
|
cancelButton.Name = "cancelButton";
|
|
cancelButton.Size = new Size(75, 23);
|
|
cancelButton.TabIndex = 0;
|
|
cancelButton.Text = "Cancel";
|
|
cancelButton.UseVisualStyleBackColor = true;
|
|
//
|
|
// saveButton
|
|
//
|
|
saveButton.Location = new Point(775, 761);
|
|
saveButton.Name = "saveButton";
|
|
saveButton.Size = new Size(75, 23);
|
|
saveButton.TabIndex = 1;
|
|
saveButton.Text = "Save";
|
|
saveButton.UseVisualStyleBackColor = true;
|
|
//
|
|
// label1
|
|
//
|
|
label1.Font = new Font("Segoe UI", 12F, FontStyle.Regular, GraphicsUnit.Point, 0);
|
|
label1.Location = new Point(12, 9);
|
|
label1.Name = "label1";
|
|
label1.Size = new Size(159, 23);
|
|
label1.TabIndex = 2;
|
|
label1.Text = "Update Appointment";
|
|
//
|
|
// label2
|
|
//
|
|
label2.Font = new Font("Segoe UI Semibold", 9.75F, FontStyle.Bold | FontStyle.Italic, GraphicsUnit.Point, 0);
|
|
label2.Location = new Point(12, 69);
|
|
label2.Name = "label2";
|
|
label2.RightToLeft = RightToLeft.No;
|
|
label2.Size = new Size(100, 23);
|
|
label2.TabIndex = 3;
|
|
label2.Text = "Title";
|
|
label2.TextAlign = ContentAlignment.MiddleLeft;
|
|
//
|
|
// titleTextBox
|
|
//
|
|
titleTextBox.Location = new Point(12, 95);
|
|
titleTextBox.Name = "titleTextBox";
|
|
titleTextBox.Size = new Size(520, 23);
|
|
titleTextBox.TabIndex = 4;
|
|
//
|
|
// descriptionTextBox
|
|
//
|
|
descriptionTextBox.Location = new Point(12, 147);
|
|
descriptionTextBox.Multiline = true;
|
|
descriptionTextBox.Name = "descriptionTextBox";
|
|
descriptionTextBox.Size = new Size(520, 100);
|
|
descriptionTextBox.TabIndex = 6;
|
|
//
|
|
// label3
|
|
//
|
|
label3.Font = new Font("Segoe UI Semibold", 9.75F, FontStyle.Bold | FontStyle.Italic, GraphicsUnit.Point, 0);
|
|
label3.Location = new Point(12, 121);
|
|
label3.Name = "label3";
|
|
label3.RightToLeft = RightToLeft.No;
|
|
label3.Size = new Size(100, 23);
|
|
label3.TabIndex = 5;
|
|
label3.Text = "Description";
|
|
label3.TextAlign = ContentAlignment.MiddleLeft;
|
|
//
|
|
// locationTextBox
|
|
//
|
|
locationTextBox.Location = new Point(12, 276);
|
|
locationTextBox.Name = "locationTextBox";
|
|
locationTextBox.Size = new Size(520, 23);
|
|
locationTextBox.TabIndex = 8;
|
|
//
|
|
// label4
|
|
//
|
|
label4.Font = new Font("Segoe UI Semibold", 9.75F, FontStyle.Bold | FontStyle.Italic, GraphicsUnit.Point, 0);
|
|
label4.Location = new Point(12, 250);
|
|
label4.Name = "label4";
|
|
label4.RightToLeft = RightToLeft.No;
|
|
label4.Size = new Size(100, 23);
|
|
label4.TabIndex = 7;
|
|
label4.Text = "Location";
|
|
label4.TextAlign = ContentAlignment.MiddleLeft;
|
|
//
|
|
// contactTextBox
|
|
//
|
|
contactTextBox.Location = new Point(12, 328);
|
|
contactTextBox.Name = "contactTextBox";
|
|
contactTextBox.Size = new Size(520, 23);
|
|
contactTextBox.TabIndex = 10;
|
|
//
|
|
// label5
|
|
//
|
|
label5.Font = new Font("Segoe UI Semibold", 9.75F, FontStyle.Bold | FontStyle.Italic, GraphicsUnit.Point, 0);
|
|
label5.Location = new Point(12, 302);
|
|
label5.Name = "label5";
|
|
label5.RightToLeft = RightToLeft.No;
|
|
label5.Size = new Size(100, 23);
|
|
label5.TabIndex = 9;
|
|
label5.Text = "Contact";
|
|
label5.TextAlign = ContentAlignment.MiddleLeft;
|
|
//
|
|
// textBoxUrl
|
|
//
|
|
textBoxUrl.Location = new Point(12, 380);
|
|
textBoxUrl.Name = "textBoxUrl";
|
|
textBoxUrl.Size = new Size(520, 23);
|
|
textBoxUrl.TabIndex = 12;
|
|
//
|
|
// urlTextBox
|
|
//
|
|
urlTextBox.Font = new Font("Segoe UI Semibold", 9.75F, FontStyle.Bold | FontStyle.Italic, GraphicsUnit.Point, 0);
|
|
urlTextBox.Location = new Point(12, 354);
|
|
urlTextBox.Name = "urlTextBox";
|
|
urlTextBox.RightToLeft = RightToLeft.No;
|
|
urlTextBox.Size = new Size(100, 23);
|
|
urlTextBox.TabIndex = 11;
|
|
urlTextBox.Text = "Url";
|
|
urlTextBox.TextAlign = ContentAlignment.MiddleLeft;
|
|
//
|
|
// label6
|
|
//
|
|
label6.Font = new Font("Segoe UI Semibold", 9.75F, FontStyle.Bold | FontStyle.Italic, GraphicsUnit.Point, 0);
|
|
label6.Location = new Point(12, 406);
|
|
label6.Name = "label6";
|
|
label6.RightToLeft = RightToLeft.No;
|
|
label6.Size = new Size(100, 23);
|
|
label6.TabIndex = 13;
|
|
label6.Text = "Type";
|
|
label6.TextAlign = ContentAlignment.MiddleLeft;
|
|
//
|
|
// typeComboBox
|
|
//
|
|
typeComboBox.FormattingEnabled = true;
|
|
typeComboBox.Location = new Point(12, 432);
|
|
typeComboBox.Name = "typeComboBox";
|
|
typeComboBox.Size = new Size(324, 23);
|
|
typeComboBox.TabIndex = 14;
|
|
//
|
|
// customerComboBox
|
|
//
|
|
customerComboBox.FormattingEnabled = true;
|
|
customerComboBox.Location = new Point(12, 484);
|
|
customerComboBox.Name = "customerComboBox";
|
|
customerComboBox.Size = new Size(324, 23);
|
|
customerComboBox.TabIndex = 16;
|
|
//
|
|
// customerLabel
|
|
//
|
|
customerLabel.Font = new Font("Segoe UI Semibold", 9.75F, FontStyle.Bold | FontStyle.Italic, GraphicsUnit.Point, 0);
|
|
customerLabel.Location = new Point(12, 458);
|
|
customerLabel.Name = "customerLabel";
|
|
customerLabel.RightToLeft = RightToLeft.No;
|
|
customerLabel.Size = new Size(100, 23);
|
|
customerLabel.TabIndex = 15;
|
|
customerLabel.Text = "Customer";
|
|
customerLabel.TextAlign = ContentAlignment.MiddleLeft;
|
|
//
|
|
// startPickerDate
|
|
//
|
|
startPickerDate.CustomFormat = "dddd MMMM dd @ hh:mm tt";
|
|
startPickerDate.Format = DateTimePickerFormat.Short;
|
|
startPickerDate.Location = new Point(12, 536);
|
|
startPickerDate.Name = "startPickerDate";
|
|
startPickerDate.Size = new Size(159, 23);
|
|
startPickerDate.TabIndex = 17;
|
|
//
|
|
// label7
|
|
//
|
|
label7.Font = new Font("Segoe UI Semibold", 9.75F, FontStyle.Bold | FontStyle.Italic, GraphicsUnit.Point, 0);
|
|
label7.Location = new Point(12, 510);
|
|
label7.Name = "label7";
|
|
label7.RightToLeft = RightToLeft.No;
|
|
label7.Size = new Size(100, 23);
|
|
label7.TabIndex = 18;
|
|
label7.Text = "Start Time";
|
|
label7.TextAlign = ContentAlignment.MiddleLeft;
|
|
//
|
|
// label8
|
|
//
|
|
label8.Font = new Font("Segoe UI Semibold", 9.75F, FontStyle.Bold | FontStyle.Italic, GraphicsUnit.Point, 0);
|
|
label8.Location = new Point(12, 562);
|
|
label8.Name = "label8";
|
|
label8.RightToLeft = RightToLeft.No;
|
|
label8.Size = new Size(100, 23);
|
|
label8.TabIndex = 20;
|
|
label8.Text = "End Time";
|
|
label8.TextAlign = ContentAlignment.MiddleLeft;
|
|
//
|
|
// endPickerDate
|
|
//
|
|
endPickerDate.CustomFormat = "dddd MMMM dd @ hh:mm tt";
|
|
endPickerDate.Format = DateTimePickerFormat.Short;
|
|
endPickerDate.Location = new Point(12, 588);
|
|
endPickerDate.Name = "endPickerDate";
|
|
endPickerDate.Size = new Size(159, 23);
|
|
endPickerDate.TabIndex = 19;
|
|
//
|
|
// startPickerTime
|
|
//
|
|
startPickerTime.CustomFormat = "dddd MMMM dd @ hh:mm tt";
|
|
startPickerTime.Format = DateTimePickerFormat.Time;
|
|
startPickerTime.Location = new Point(177, 536);
|
|
startPickerTime.Name = "startPickerTime";
|
|
startPickerTime.ShowUpDown = true;
|
|
startPickerTime.Size = new Size(159, 23);
|
|
startPickerTime.TabIndex = 21;
|
|
//
|
|
// endPickerTime
|
|
//
|
|
endPickerTime.CustomFormat = "dddd MMMM dd @ hh:mm tt";
|
|
endPickerTime.Format = DateTimePickerFormat.Time;
|
|
endPickerTime.Location = new Point(177, 588);
|
|
endPickerTime.Name = "endPickerTime";
|
|
endPickerTime.ShowUpDown = true;
|
|
endPickerTime.Size = new Size(159, 23);
|
|
endPickerTime.TabIndex = 22;
|
|
//
|
|
// AddOrUpdateAppointmentForm
|
|
//
|
|
AutoScaleDimensions = new SizeF(7F, 15F);
|
|
AutoScaleMode = AutoScaleMode.Font;
|
|
ClientSize = new Size(943, 796);
|
|
Controls.Add(endPickerTime);
|
|
Controls.Add(startPickerTime);
|
|
Controls.Add(label8);
|
|
Controls.Add(endPickerDate);
|
|
Controls.Add(label7);
|
|
Controls.Add(startPickerDate);
|
|
Controls.Add(customerComboBox);
|
|
Controls.Add(customerLabel);
|
|
Controls.Add(typeComboBox);
|
|
Controls.Add(label6);
|
|
Controls.Add(textBoxUrl);
|
|
Controls.Add(urlTextBox);
|
|
Controls.Add(contactTextBox);
|
|
Controls.Add(label5);
|
|
Controls.Add(locationTextBox);
|
|
Controls.Add(label4);
|
|
Controls.Add(descriptionTextBox);
|
|
Controls.Add(label3);
|
|
Controls.Add(titleTextBox);
|
|
Controls.Add(label2);
|
|
Controls.Add(label1);
|
|
Controls.Add(saveButton);
|
|
Controls.Add(cancelButton);
|
|
Name = "AddOrUpdateAppointmentForm";
|
|
Text = "Update Appointment";
|
|
ResumeLayout(false);
|
|
PerformLayout();
|
|
}
|
|
|
|
private System.Windows.Forms.DateTimePicker startPickerDate;
|
|
private System.Windows.Forms.DateTimePicker endPickerDate;
|
|
|
|
private System.Windows.Forms.DateTimePicker dateTimePicker1;
|
|
private System.Windows.Forms.DateTimePicker dateTimePicker2;
|
|
|
|
private System.Windows.Forms.ComboBox customerComboBox;
|
|
private System.Windows.Forms.Label customerLabel;
|
|
private System.Windows.Forms.DateTimePicker startPickerTime;
|
|
private System.Windows.Forms.Label label7;
|
|
private System.Windows.Forms.Label label8;
|
|
private System.Windows.Forms.DateTimePicker endPickerTime;
|
|
|
|
private System.Windows.Forms.Label label6;
|
|
private System.Windows.Forms.ComboBox typeComboBox;
|
|
|
|
private System.Windows.Forms.TextBox locationTextBox;
|
|
private System.Windows.Forms.Label label4;
|
|
private System.Windows.Forms.TextBox contactTextBox;
|
|
private System.Windows.Forms.Label label5;
|
|
private System.Windows.Forms.TextBox textBoxUrl;
|
|
private System.Windows.Forms.Label urlTextBox;
|
|
|
|
private System.Windows.Forms.TextBox descriptionTextBox;
|
|
private System.Windows.Forms.Label label3;
|
|
|
|
private System.Windows.Forms.Label label2;
|
|
private System.Windows.Forms.TextBox titleTextBox;
|
|
|
|
private System.Windows.Forms.Label label1;
|
|
|
|
private System.Windows.Forms.Button cancelButton;
|
|
private System.Windows.Forms.Button saveButton;
|
|
|
|
#endregion
|
|
} |