From cef0cb9451e44056aa485feda1c2778213095b33 Mon Sep 17 00:00:00 2001 From: Spudnut2000 Date: Thu, 19 Jun 2025 12:52:57 -0500 Subject: [PATCH] Begin work on appointments form --- C969Project/AppointmentsForm.Designer.cs | 104 +++++++++++++++++++++++ C969Project/AppointmentsForm.cs | 9 ++ C969Project/C969Project.csproj | 3 + 3 files changed, 116 insertions(+) create mode 100644 C969Project/AppointmentsForm.Designer.cs create mode 100644 C969Project/AppointmentsForm.cs diff --git a/C969Project/AppointmentsForm.Designer.cs b/C969Project/AppointmentsForm.Designer.cs new file mode 100644 index 0000000..c4de776 --- /dev/null +++ b/C969Project/AppointmentsForm.Designer.cs @@ -0,0 +1,104 @@ +using System.ComponentModel; + +namespace C969Project; + +partial class AppointmentsForm +{ + /// + /// Required designer variable. + /// + private IContainer components = null; + + /// + /// 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() + { + dataGridView1 = new System.Windows.Forms.DataGridView(); + monthCalendar1 = new System.Windows.Forms.MonthCalendar(); + button1 = new System.Windows.Forms.Button(); + button2 = new System.Windows.Forms.Button(); + button3 = new System.Windows.Forms.Button(); + ((System.ComponentModel.ISupportInitialize)dataGridView1).BeginInit(); + SuspendLayout(); + // + // dataGridView1 + // + dataGridView1.Location = new System.Drawing.Point(12, 11); + dataGridView1.Name = "dataGridView1"; + dataGridView1.Size = new System.Drawing.Size(739, 375); + dataGridView1.TabIndex = 0; + // + // monthCalendar1 + // + monthCalendar1.Location = new System.Drawing.Point(763, 11); + monthCalendar1.Name = "monthCalendar1"; + monthCalendar1.TabIndex = 1; + // + // button1 + // + button1.Location = new System.Drawing.Point(12, 392); + button1.Name = "button1"; + button1.Size = new System.Drawing.Size(75, 23); + button1.TabIndex = 2; + button1.Text = "Add"; + button1.UseVisualStyleBackColor = true; + // + // button2 + // + button2.Location = new System.Drawing.Point(93, 392); + button2.Name = "button2"; + button2.Size = new System.Drawing.Size(75, 23); + button2.TabIndex = 3; + button2.Text = "Modify"; + button2.UseVisualStyleBackColor = true; + // + // button3 + // + button3.Location = new System.Drawing.Point(676, 392); + button3.Name = "button3"; + button3.Size = new System.Drawing.Size(75, 23); + button3.TabIndex = 4; + button3.Text = "Delete"; + button3.UseVisualStyleBackColor = true; + // + // AppointmentsForm + // + AutoScaleDimensions = new System.Drawing.SizeF(7F, 15F); + AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; + ClientSize = new System.Drawing.Size(1008, 625); + Controls.Add(button3); + Controls.Add(button2); + Controls.Add(button1); + Controls.Add(monthCalendar1); + Controls.Add(dataGridView1); + Text = "AppointmentsForm"; + ((System.ComponentModel.ISupportInitialize)dataGridView1).EndInit(); + ResumeLayout(false); + } + + private System.Windows.Forms.DataGridView dataGridView1; + private System.Windows.Forms.MonthCalendar monthCalendar1; + private System.Windows.Forms.Button button1; + private System.Windows.Forms.Button button2; + private System.Windows.Forms.Button button3; + + #endregion +} \ No newline at end of file diff --git a/C969Project/AppointmentsForm.cs b/C969Project/AppointmentsForm.cs new file mode 100644 index 0000000..8faf1dc --- /dev/null +++ b/C969Project/AppointmentsForm.cs @@ -0,0 +1,9 @@ +namespace C969Project; + +public partial class AppointmentsForm : Form +{ + public AppointmentsForm() + { + InitializeComponent(); + } +} \ No newline at end of file diff --git a/C969Project/C969Project.csproj b/C969Project/C969Project.csproj index 5ba583b..1659046 100644 --- a/C969Project/C969Project.csproj +++ b/C969Project/C969Project.csproj @@ -23,6 +23,9 @@ Form + + Form +