diff --git a/.idea/.idea.C969Project/.idea/.gitignore b/.idea/.idea.C969Project/.idea/.gitignore
new file mode 100644
index 0000000..aa1b544
--- /dev/null
+++ b/.idea/.idea.C969Project/.idea/.gitignore
@@ -0,0 +1,13 @@
+# Default ignored files
+/shelf/
+/workspace.xml
+# Rider ignored files
+/.idea.C969Project.iml
+/modules.xml
+/projectSettingsUpdater.xml
+/contentModel.xml
+# Editor-based HTTP Client requests
+/httpRequests/
+# Datasource local storage ignored files
+/dataSources/
+/dataSources.local.xml
diff --git a/.idea/.idea.C969Project/.idea/.name b/.idea/.idea.C969Project/.idea/.name
new file mode 100644
index 0000000..2dcadac
--- /dev/null
+++ b/.idea/.idea.C969Project/.idea/.name
@@ -0,0 +1 @@
+C969Project
\ No newline at end of file
diff --git a/.idea/.idea.C969Project/.idea/indexLayout.xml b/.idea/.idea.C969Project/.idea/indexLayout.xml
new file mode 100644
index 0000000..7b08163
--- /dev/null
+++ b/.idea/.idea.C969Project/.idea/indexLayout.xml
@@ -0,0 +1,8 @@
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/.idea/.idea.C969Project/.idea/vcs.xml b/.idea/.idea.C969Project/.idea/vcs.xml
new file mode 100644
index 0000000..35eb1dd
--- /dev/null
+++ b/.idea/.idea.C969Project/.idea/vcs.xml
@@ -0,0 +1,6 @@
+
+
+
+
+
+
\ No newline at end of file
diff --git a/C969Project/C969Project.csproj b/C969Project/C969Project.csproj
index 663fdb8..086f81d 100644
--- a/C969Project/C969Project.csproj
+++ b/C969Project/C969Project.csproj
@@ -8,4 +8,15 @@
enable
+
+
+
+
+
+
+
+ Form
+
+
+
\ No newline at end of file
diff --git a/C969Project/DashboardForm.Designer.cs b/C969Project/DashboardForm.Designer.cs
new file mode 100644
index 0000000..814f01a
--- /dev/null
+++ b/C969Project/DashboardForm.Designer.cs
@@ -0,0 +1,109 @@
+using System.ComponentModel;
+
+namespace C969Project;
+
+partial class DashboardForm
+{
+ ///
+ /// 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()
+ {
+ customersButton = new System.Windows.Forms.Button();
+ appointmentsButton = new System.Windows.Forms.Button();
+ calendarButton = new System.Windows.Forms.Button();
+ button4 = new System.Windows.Forms.Button();
+ label1 = new System.Windows.Forms.Label();
+ SuspendLayout();
+ //
+ // customersButton
+ //
+ customersButton.Location = new System.Drawing.Point(258, 151);
+ customersButton.Name = "customersButton";
+ customersButton.Size = new System.Drawing.Size(100, 100);
+ customersButton.TabIndex = 0;
+ customersButton.Text = "Customers";
+ customersButton.UseVisualStyleBackColor = true;
+ //
+ // appointmentsButton
+ //
+ appointmentsButton.Location = new System.Drawing.Point(406, 151);
+ appointmentsButton.Name = "appointmentsButton";
+ appointmentsButton.Size = new System.Drawing.Size(100, 100);
+ appointmentsButton.TabIndex = 1;
+ appointmentsButton.Text = "Appointments";
+ appointmentsButton.UseVisualStyleBackColor = true;
+ //
+ // calendarButton
+ //
+ calendarButton.Location = new System.Drawing.Point(258, 269);
+ calendarButton.Name = "calendarButton";
+ calendarButton.Size = new System.Drawing.Size(100, 100);
+ calendarButton.TabIndex = 2;
+ calendarButton.Text = "Calendar";
+ calendarButton.UseVisualStyleBackColor = true;
+ //
+ // button4
+ //
+ button4.Location = new System.Drawing.Point(406, 269);
+ button4.Name = "button4";
+ button4.Size = new System.Drawing.Size(100, 100);
+ button4.TabIndex = 3;
+ button4.Text = "button4";
+ button4.UseVisualStyleBackColor = true;
+ //
+ // label1
+ //
+ label1.Font = new System.Drawing.Font("Segoe UI", 15F);
+ label1.Location = new System.Drawing.Point(330, 65);
+ label1.Name = "label1";
+ label1.Size = new System.Drawing.Size(113, 40);
+ label1.TabIndex = 4;
+ label1.Text = "Dashboard";
+ label1.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
+ //
+ // DashboardForm
+ //
+ AutoScaleDimensions = new System.Drawing.SizeF(7F, 15F);
+ AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
+ ClientSize = new System.Drawing.Size(800, 450);
+ Controls.Add(label1);
+ Controls.Add(customersButton);
+ Controls.Add(appointmentsButton);
+ Controls.Add(calendarButton);
+ Controls.Add(button4);
+ Text = "DashboardForm";
+ ResumeLayout(false);
+ }
+
+ private System.Windows.Forms.Label label1;
+
+ private System.Windows.Forms.Button customersButton;
+ private System.Windows.Forms.Button appointmentsButton;
+ private System.Windows.Forms.Button calendarButton;
+ private System.Windows.Forms.Button button4;
+
+ #endregion
+}
\ No newline at end of file
diff --git a/C969Project/DashboardForm.cs b/C969Project/DashboardForm.cs
new file mode 100644
index 0000000..47d5fd5
--- /dev/null
+++ b/C969Project/DashboardForm.cs
@@ -0,0 +1,9 @@
+namespace C969Project;
+
+public partial class DashboardForm : Form
+{
+ public DashboardForm()
+ {
+ InitializeComponent();
+ }
+}
\ No newline at end of file
diff --git a/C969Project/DashboardForm.resx b/C969Project/DashboardForm.resx
new file mode 100644
index 0000000..1b59412
--- /dev/null
+++ b/C969Project/DashboardForm.resx
@@ -0,0 +1,64 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ text/microsoft-resx
+
+
+ 2.0
+
+
+ System.Resources.ResXResourceReader, System.Windows.Forms, Version=8.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
+
+
+ System.Resources.ResXResourceWriter, System.Windows.Forms, Version=8.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
+
+
+ True
+
+
\ No newline at end of file
diff --git a/C969Project/Form1.Designer.cs b/C969Project/Form1.Designer.cs
deleted file mode 100644
index 40928c2..0000000
--- a/C969Project/Form1.Designer.cs
+++ /dev/null
@@ -1,45 +0,0 @@
-namespace C969Project
-{
- partial class Form1
- {
- ///
- /// Required designer variable.
- ///
- private System.ComponentModel.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()
- {
- SuspendLayout();
- //
- // Form1
- //
- AutoScaleDimensions = new SizeF(7F, 15F);
- AutoScaleMode = AutoScaleMode.Font;
- ClientSize = new Size(800, 450);
- Name = "Form1";
- Text = "Form1";
- ResumeLayout(false);
- }
-
- #endregion
- }
-}
diff --git a/C969Project/Form1.resx b/C969Project/Form1.resx
deleted file mode 100644
index af32865..0000000
--- a/C969Project/Form1.resx
+++ /dev/null
@@ -1,120 +0,0 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- text/microsoft-resx
-
-
- 2.0
-
-
- System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
-
-
- System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
-
-
\ No newline at end of file
diff --git a/C969Project/Login.Designer.cs b/C969Project/Login.Designer.cs
deleted file mode 100644
index 8f87336..0000000
--- a/C969Project/Login.Designer.cs
+++ /dev/null
@@ -1,110 +0,0 @@
-namespace C969Project
-{
- partial class Login
- {
- ///
- /// Required designer variable.
- ///
- private System.ComponentModel.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()
- {
- panel1 = new Panel();
- label1 = new Label();
- usernameTextBox = new TextBox();
- passwordTextBox = new TextBox();
- button1 = new Button();
- panel1.SuspendLayout();
- SuspendLayout();
- //
- // panel1
- //
- panel1.Anchor = AnchorStyles.None;
- panel1.Controls.Add(label1);
- panel1.Controls.Add(usernameTextBox);
- panel1.Controls.Add(passwordTextBox);
- panel1.Controls.Add(button1);
- panel1.Location = new Point(252, 68);
- panel1.Name = "panel1";
- panel1.Size = new Size(300, 300);
- panel1.TabIndex = 0;
- //
- // label1
- //
- label1.AutoSize = true;
- label1.Font = new Font("Segoe UI", 12F);
- label1.Location = new Point(133, 49);
- label1.Name = "label1";
- label1.Size = new Size(49, 21);
- label1.TabIndex = 3;
- label1.Text = "Login";
- //
- // usernameTextBox
- //
- usernameTextBox.AccessibleName = "username";
- usernameTextBox.Location = new Point(72, 104);
- usernameTextBox.Name = "usernameTextBox";
- usernameTextBox.PlaceholderText = "Username";
- usernameTextBox.Size = new Size(173, 23);
- usernameTextBox.TabIndex = 2;
- //
- // passwordTextBox
- //
- passwordTextBox.Location = new Point(72, 144);
- passwordTextBox.Name = "passwordTextBox";
- passwordTextBox.PasswordChar = '*';
- passwordTextBox.PlaceholderText = "Password";
- passwordTextBox.Size = new Size(173, 23);
- passwordTextBox.TabIndex = 1;
- passwordTextBox.UseSystemPasswordChar = true;
- //
- // button1
- //
- button1.Location = new Point(72, 183);
- button1.Name = "button1";
- button1.Size = new Size(173, 23);
- button1.TabIndex = 0;
- button1.Text = "Login";
- button1.UseVisualStyleBackColor = true;
- //
- // Login
- //
- AutoScaleDimensions = new SizeF(7F, 15F);
- AutoScaleMode = AutoScaleMode.Font;
- ClientSize = new Size(800, 450);
- Controls.Add(panel1);
- Name = "Login";
- Text = "Login";
- panel1.ResumeLayout(false);
- panel1.PerformLayout();
- ResumeLayout(false);
- }
-
- #endregion
-
- private Panel panel1;
- private Label label1;
- private TextBox usernameTextBox;
- private TextBox passwordTextBox;
- private Button button1;
- }
-}
\ No newline at end of file
diff --git a/C969Project/Login.cs b/C969Project/Login.cs
deleted file mode 100644
index 3370c10..0000000
--- a/C969Project/Login.cs
+++ /dev/null
@@ -1,20 +0,0 @@
-using System;
-using System.Collections.Generic;
-using System.ComponentModel;
-using System.Data;
-using System.Drawing;
-using System.Linq;
-using System.Text;
-using System.Threading.Tasks;
-using System.Windows.Forms;
-
-namespace C969Project
-{
- public partial class Login : Form
- {
- public Login()
- {
- InitializeComponent();
- }
- }
-}
diff --git a/C969Project/Login.resx b/C969Project/Login.resx
deleted file mode 100644
index 39e2ec9..0000000
--- a/C969Project/Login.resx
+++ /dev/null
@@ -1,123 +0,0 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- text/microsoft-resx
-
-
- 2.0
-
-
- System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
-
-
- System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
-
-
- True
-
-
\ No newline at end of file
diff --git a/C969Project/LoginForm.Designer.cs b/C969Project/LoginForm.Designer.cs
new file mode 100644
index 0000000..2060368
--- /dev/null
+++ b/C969Project/LoginForm.Designer.cs
@@ -0,0 +1,93 @@
+namespace C969Project
+{
+ partial class LoginForm
+ {
+ ///
+ /// Required designer variable.
+ ///
+ private System.ComponentModel.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()
+ {
+ usernameTextBox = new System.Windows.Forms.TextBox();
+ passwordTextBox = new System.Windows.Forms.TextBox();
+ loginButton = new System.Windows.Forms.Button();
+ panel1 = new System.Windows.Forms.Panel();
+ panel1.SuspendLayout();
+ SuspendLayout();
+ //
+ // usernameTextBox
+ //
+ usernameTextBox.Location = new System.Drawing.Point(241, 147);
+ usernameTextBox.Name = "usernameTextBox";
+ usernameTextBox.PlaceholderText = "Username";
+ usernameTextBox.Size = new System.Drawing.Size(228, 23);
+ usernameTextBox.TabIndex = 1;
+ //
+ // passwordTextBox
+ //
+ passwordTextBox.Location = new System.Drawing.Point(241, 205);
+ passwordTextBox.Name = "passwordTextBox";
+ passwordTextBox.PlaceholderText = "Password";
+ passwordTextBox.Size = new System.Drawing.Size(228, 23);
+ passwordTextBox.TabIndex = 2;
+ //
+ // loginButton
+ //
+ loginButton.Location = new System.Drawing.Point(241, 259);
+ loginButton.Name = "loginButton";
+ loginButton.Size = new System.Drawing.Size(228, 23);
+ loginButton.TabIndex = 3;
+ loginButton.Text = "Login";
+ loginButton.UseVisualStyleBackColor = true;
+ //
+ // panel1
+ //
+ panel1.Controls.Add(loginButton);
+ panel1.Controls.Add(passwordTextBox);
+ panel1.Controls.Add(usernameTextBox);
+ panel1.Location = new System.Drawing.Point(12, 12);
+ panel1.Name = "panel1";
+ panel1.Size = new System.Drawing.Size(776, 426);
+ panel1.TabIndex = 0;
+ //
+ // LoginForm
+ //
+ AutoScaleDimensions = new System.Drawing.SizeF(7F, 15F);
+ AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
+ ClientSize = new System.Drawing.Size(800, 450);
+ Controls.Add(panel1);
+ Text = "Form1";
+ panel1.ResumeLayout(false);
+ panel1.PerformLayout();
+ ResumeLayout(false);
+ }
+
+ private System.Windows.Forms.TextBox usernameTextBox;
+ private System.Windows.Forms.TextBox passwordTextBox;
+ private System.Windows.Forms.Button loginButton;
+
+ private System.Windows.Forms.Panel panel1;
+
+ #endregion
+ }
+}
diff --git a/C969Project/Form1.cs b/C969Project/LoginForm.cs
similarity index 57%
rename from C969Project/Form1.cs
rename to C969Project/LoginForm.cs
index 7009b89..8efab69 100644
--- a/C969Project/Form1.cs
+++ b/C969Project/LoginForm.cs
@@ -1,8 +1,8 @@
namespace C969Project
{
- public partial class Form1 : Form
+ public partial class LoginForm : Form
{
- public Form1()
+ public LoginForm()
{
InitializeComponent();
}
diff --git a/C969Project/LoginForm.resx b/C969Project/LoginForm.resx
new file mode 100644
index 0000000..78c4a28
--- /dev/null
+++ b/C969Project/LoginForm.resx
@@ -0,0 +1,64 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ text/microsoft-resx
+
+
+ 2.0
+
+
+ System.Resources.ResXResourceReader, System.Windows.Forms, Version=8.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
+
+
+ System.Resources.ResXResourceWriter, System.Windows.Forms, Version=8.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
+
+
+ True
+
+
\ No newline at end of file
diff --git a/C969Project/Program.cs b/C969Project/Program.cs
index e9e3339..abca6df 100644
--- a/C969Project/Program.cs
+++ b/C969Project/Program.cs
@@ -11,7 +11,7 @@ namespace C969Project
// To customize application configuration such as set high DPI settings or default font,
// see https://aka.ms/applicationconfiguration.
ApplicationConfiguration.Initialize();
- Application.Run(new Login());
+ Application.Run(new LoginForm());
}
}
}
\ No newline at end of file
diff --git a/DB/connectionstring.txt b/DB/connectionstring.txt
new file mode 100644
index 0000000..d372cf4
--- /dev/null
+++ b/DB/connectionstring.txt
@@ -0,0 +1 @@
+"server=127.0.0.1;uid=sqlUser;pwd=Passw0rd!;database=client_schedule"
\ No newline at end of file