Compare commits
No commits in common. "1cfdf5d9be54d54c200cbb21ffaf5b90d69465b1" and "master" have entirely different histories.
1cfdf5d9be
...
master
2
.gitattributes
vendored
2
.gitattributes
vendored
@ -1,2 +0,0 @@
|
|||||||
# Auto detect text files and perform LF normalization
|
|
||||||
* text=auto
|
|
||||||
2
.gitignore
vendored
2
.gitignore
vendored
@ -1,3 +1,4 @@
|
|||||||
|
# ---> VisualStudio
|
||||||
## Ignore Visual Studio temporary files, build results, and
|
## Ignore Visual Studio temporary files, build results, and
|
||||||
## files generated by popular Visual Studio add-ons.
|
## files generated by popular Visual Studio add-ons.
|
||||||
##
|
##
|
||||||
@ -396,3 +397,4 @@ FodyWeavers.xsd
|
|||||||
|
|
||||||
# JetBrains Rider
|
# JetBrains Rider
|
||||||
*.sln.iml
|
*.sln.iml
|
||||||
|
|
||||||
|
|||||||
13
.idea/.idea.C969Project/.idea/.gitignore
vendored
13
.idea/.idea.C969Project/.idea/.gitignore
vendored
@ -1,13 +0,0 @@
|
|||||||
# 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
|
|
||||||
@ -1 +0,0 @@
|
|||||||
C969Project
|
|
||||||
@ -1,8 +0,0 @@
|
|||||||
<?xml version="1.0" encoding="UTF-8"?>
|
|
||||||
<project version="4">
|
|
||||||
<component name="UserContentModel">
|
|
||||||
<attachedFolders />
|
|
||||||
<explicitIncludes />
|
|
||||||
<explicitExcludes />
|
|
||||||
</component>
|
|
||||||
</project>
|
|
||||||
@ -1,6 +0,0 @@
|
|||||||
<?xml version="1.0" encoding="UTF-8"?>
|
|
||||||
<project version="4">
|
|
||||||
<component name="VcsDirectoryMappings">
|
|
||||||
<mapping directory="" vcs="Git" />
|
|
||||||
</component>
|
|
||||||
</project>
|
|
||||||
@ -1,25 +0,0 @@
|
|||||||
|
|
||||||
Microsoft Visual Studio Solution File, Format Version 12.00
|
|
||||||
# Visual Studio Version 17
|
|
||||||
VisualStudioVersion = 17.10.35122.118
|
|
||||||
MinimumVisualStudioVersion = 10.0.40219.1
|
|
||||||
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "C969Project", "C969Project\C969Project.csproj", "{2A7C80D5-939E-458F-A311-7925BFCB43F3}"
|
|
||||||
EndProject
|
|
||||||
Global
|
|
||||||
GlobalSection(SolutionConfigurationPlatforms) = preSolution
|
|
||||||
Debug|Any CPU = Debug|Any CPU
|
|
||||||
Release|Any CPU = Release|Any CPU
|
|
||||||
EndGlobalSection
|
|
||||||
GlobalSection(ProjectConfigurationPlatforms) = postSolution
|
|
||||||
{2A7C80D5-939E-458F-A311-7925BFCB43F3}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
|
|
||||||
{2A7C80D5-939E-458F-A311-7925BFCB43F3}.Debug|Any CPU.Build.0 = Debug|Any CPU
|
|
||||||
{2A7C80D5-939E-458F-A311-7925BFCB43F3}.Release|Any CPU.ActiveCfg = Release|Any CPU
|
|
||||||
{2A7C80D5-939E-458F-A311-7925BFCB43F3}.Release|Any CPU.Build.0 = Release|Any CPU
|
|
||||||
EndGlobalSection
|
|
||||||
GlobalSection(SolutionProperties) = preSolution
|
|
||||||
HideSolutionNode = FALSE
|
|
||||||
EndGlobalSection
|
|
||||||
GlobalSection(ExtensibilityGlobals) = postSolution
|
|
||||||
SolutionGuid = {18BC03F4-DEBC-4E3D-A0BE-89C8BB6A0155}
|
|
||||||
EndGlobalSection
|
|
||||||
EndGlobal
|
|
||||||
@ -1,22 +0,0 @@
|
|||||||
<Project Sdk="Microsoft.NET.Sdk">
|
|
||||||
|
|
||||||
<PropertyGroup>
|
|
||||||
<OutputType>WinExe</OutputType>
|
|
||||||
<TargetFramework>net8.0-windows</TargetFramework>
|
|
||||||
<Nullable>enable</Nullable>
|
|
||||||
<UseWindowsForms>true</UseWindowsForms>
|
|
||||||
<ImplicitUsings>enable</ImplicitUsings>
|
|
||||||
</PropertyGroup>
|
|
||||||
|
|
||||||
<ItemGroup>
|
|
||||||
<PackageReference Include="Microsoft.EntityFrameworkCore" Version="9.0.5" />
|
|
||||||
<PackageReference Include="MySql.EntityFrameworkCore" Version="9.0.3" />
|
|
||||||
</ItemGroup>
|
|
||||||
|
|
||||||
<ItemGroup>
|
|
||||||
<Compile Update="DashboardForm.cs">
|
|
||||||
<SubType>Form</SubType>
|
|
||||||
</Compile>
|
|
||||||
</ItemGroup>
|
|
||||||
|
|
||||||
</Project>
|
|
||||||
109
C969Project/DashboardForm.Designer.cs
generated
109
C969Project/DashboardForm.Designer.cs
generated
@ -1,109 +0,0 @@
|
|||||||
using System.ComponentModel;
|
|
||||||
|
|
||||||
namespace C969Project;
|
|
||||||
|
|
||||||
partial class DashboardForm
|
|
||||||
{
|
|
||||||
/// <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()
|
|
||||||
{
|
|
||||||
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
|
|
||||||
}
|
|
||||||
@ -1,9 +0,0 @@
|
|||||||
namespace C969Project;
|
|
||||||
|
|
||||||
public partial class DashboardForm : Form
|
|
||||||
{
|
|
||||||
public DashboardForm()
|
|
||||||
{
|
|
||||||
InitializeComponent();
|
|
||||||
}
|
|
||||||
}
|
|
||||||
@ -1,64 +0,0 @@
|
|||||||
<?xml version="1.0" encoding="utf-8"?>
|
|
||||||
<root>
|
|
||||||
<xsd:schema id="root" xmlns="" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:msdata="urn:schemas-microsoft-com:xml-msdata">
|
|
||||||
<xsd:import namespace="http://www.w3.org/XML/1998/namespace" />
|
|
||||||
<xsd:element name="root" msdata:IsDataSet="true">
|
|
||||||
<xsd:complexType>
|
|
||||||
<xsd:choice maxOccurs="unbounded">
|
|
||||||
<xsd:element name="metadata">
|
|
||||||
<xsd:complexType>
|
|
||||||
<xsd:sequence>
|
|
||||||
<xsd:element name="value" type="xsd:string" minOccurs="0" />
|
|
||||||
</xsd:sequence>
|
|
||||||
<xsd:attribute name="name" use="required" type="xsd:string" />
|
|
||||||
<xsd:attribute name="type" type="xsd:string" />
|
|
||||||
<xsd:attribute name="mimetype" type="xsd:string" />
|
|
||||||
<xsd:attribute ref="xml:space" />
|
|
||||||
</xsd:complexType>
|
|
||||||
</xsd:element>
|
|
||||||
<xsd:element name="assembly">
|
|
||||||
<xsd:complexType>
|
|
||||||
<xsd:attribute name="alias" type="xsd:string" />
|
|
||||||
<xsd:attribute name="name" type="xsd:string" />
|
|
||||||
</xsd:complexType>
|
|
||||||
</xsd:element>
|
|
||||||
<xsd:element name="data">
|
|
||||||
<xsd:complexType>
|
|
||||||
<xsd:sequence>
|
|
||||||
<xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
|
|
||||||
<xsd:element name="comment" type="xsd:string" minOccurs="0" msdata:Ordinal="2" />
|
|
||||||
</xsd:sequence>
|
|
||||||
<xsd:attribute name="name" type="xsd:string" use="required" msdata:Ordinal="1" />
|
|
||||||
<xsd:attribute name="type" type="xsd:string" msdata:Ordinal="3" />
|
|
||||||
<xsd:attribute name="mimetype" type="xsd:string" msdata:Ordinal="4" />
|
|
||||||
<xsd:attribute ref="xml:space" />
|
|
||||||
</xsd:complexType>
|
|
||||||
</xsd:element>
|
|
||||||
<xsd:element name="resheader">
|
|
||||||
<xsd:complexType>
|
|
||||||
<xsd:sequence>
|
|
||||||
<xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
|
|
||||||
</xsd:sequence>
|
|
||||||
<xsd:attribute name="name" type="xsd:string" use="required" />
|
|
||||||
</xsd:complexType>
|
|
||||||
</xsd:element>
|
|
||||||
</xsd:choice>
|
|
||||||
</xsd:complexType>
|
|
||||||
</xsd:element>
|
|
||||||
</xsd:schema>
|
|
||||||
<resheader name="resmimetype">
|
|
||||||
<value>text/microsoft-resx</value>
|
|
||||||
</resheader>
|
|
||||||
<resheader name="version">
|
|
||||||
<value>2.0</value>
|
|
||||||
</resheader>
|
|
||||||
<resheader name="reader">
|
|
||||||
<value>System.Resources.ResXResourceReader, System.Windows.Forms, Version=8.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
|
|
||||||
</resheader>
|
|
||||||
<resheader name="writer">
|
|
||||||
<value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=8.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
|
|
||||||
</resheader>
|
|
||||||
<metadata name="$this.Locked" type="System.Boolean, System.Private.CoreLib, Version=8.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e">
|
|
||||||
<value>True</value>
|
|
||||||
</metadata>
|
|
||||||
</root>
|
|
||||||
93
C969Project/LoginForm.Designer.cs
generated
93
C969Project/LoginForm.Designer.cs
generated
@ -1,93 +0,0 @@
|
|||||||
namespace C969Project
|
|
||||||
{
|
|
||||||
partial class LoginForm
|
|
||||||
{
|
|
||||||
/// <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()
|
|
||||||
{
|
|
||||||
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
|
|
||||||
}
|
|
||||||
}
|
|
||||||
@ -1,10 +0,0 @@
|
|||||||
namespace C969Project
|
|
||||||
{
|
|
||||||
public partial class LoginForm : Form
|
|
||||||
{
|
|
||||||
public LoginForm()
|
|
||||||
{
|
|
||||||
InitializeComponent();
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
@ -1,64 +0,0 @@
|
|||||||
<?xml version="1.0" encoding="utf-8"?>
|
|
||||||
<root>
|
|
||||||
<xsd:schema id="root" xmlns="" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:msdata="urn:schemas-microsoft-com:xml-msdata">
|
|
||||||
<xsd:import namespace="http://www.w3.org/XML/1998/namespace" />
|
|
||||||
<xsd:element name="root" msdata:IsDataSet="true">
|
|
||||||
<xsd:complexType>
|
|
||||||
<xsd:choice maxOccurs="unbounded">
|
|
||||||
<xsd:element name="metadata">
|
|
||||||
<xsd:complexType>
|
|
||||||
<xsd:sequence>
|
|
||||||
<xsd:element name="value" type="xsd:string" minOccurs="0" />
|
|
||||||
</xsd:sequence>
|
|
||||||
<xsd:attribute name="name" use="required" type="xsd:string" />
|
|
||||||
<xsd:attribute name="type" type="xsd:string" />
|
|
||||||
<xsd:attribute name="mimetype" type="xsd:string" />
|
|
||||||
<xsd:attribute ref="xml:space" />
|
|
||||||
</xsd:complexType>
|
|
||||||
</xsd:element>
|
|
||||||
<xsd:element name="assembly">
|
|
||||||
<xsd:complexType>
|
|
||||||
<xsd:attribute name="alias" type="xsd:string" />
|
|
||||||
<xsd:attribute name="name" type="xsd:string" />
|
|
||||||
</xsd:complexType>
|
|
||||||
</xsd:element>
|
|
||||||
<xsd:element name="data">
|
|
||||||
<xsd:complexType>
|
|
||||||
<xsd:sequence>
|
|
||||||
<xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
|
|
||||||
<xsd:element name="comment" type="xsd:string" minOccurs="0" msdata:Ordinal="2" />
|
|
||||||
</xsd:sequence>
|
|
||||||
<xsd:attribute name="name" type="xsd:string" use="required" msdata:Ordinal="1" />
|
|
||||||
<xsd:attribute name="type" type="xsd:string" msdata:Ordinal="3" />
|
|
||||||
<xsd:attribute name="mimetype" type="xsd:string" msdata:Ordinal="4" />
|
|
||||||
<xsd:attribute ref="xml:space" />
|
|
||||||
</xsd:complexType>
|
|
||||||
</xsd:element>
|
|
||||||
<xsd:element name="resheader">
|
|
||||||
<xsd:complexType>
|
|
||||||
<xsd:sequence>
|
|
||||||
<xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
|
|
||||||
</xsd:sequence>
|
|
||||||
<xsd:attribute name="name" type="xsd:string" use="required" />
|
|
||||||
</xsd:complexType>
|
|
||||||
</xsd:element>
|
|
||||||
</xsd:choice>
|
|
||||||
</xsd:complexType>
|
|
||||||
</xsd:element>
|
|
||||||
</xsd:schema>
|
|
||||||
<resheader name="resmimetype">
|
|
||||||
<value>text/microsoft-resx</value>
|
|
||||||
</resheader>
|
|
||||||
<resheader name="version">
|
|
||||||
<value>2.0</value>
|
|
||||||
</resheader>
|
|
||||||
<resheader name="reader">
|
|
||||||
<value>System.Resources.ResXResourceReader, System.Windows.Forms, Version=8.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
|
|
||||||
</resheader>
|
|
||||||
<resheader name="writer">
|
|
||||||
<value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=8.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
|
|
||||||
</resheader>
|
|
||||||
<metadata name="$this.Locked" type="System.Boolean, System.Private.CoreLib, Version=8.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e">
|
|
||||||
<value>True</value>
|
|
||||||
</metadata>
|
|
||||||
</root>
|
|
||||||
@ -1,17 +0,0 @@
|
|||||||
namespace C969Project
|
|
||||||
{
|
|
||||||
internal static class Program
|
|
||||||
{
|
|
||||||
/// <summary>
|
|
||||||
/// The main entry point for the application.
|
|
||||||
/// </summary>
|
|
||||||
[STAThread]
|
|
||||||
static void Main()
|
|
||||||
{
|
|
||||||
// To customize application configuration such as set high DPI settings or default font,
|
|
||||||
// see https://aka.ms/applicationconfiguration.
|
|
||||||
ApplicationConfiguration.Initialize();
|
|
||||||
Application.Run(new LoginForm());
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
@ -1,225 +0,0 @@
|
|||||||
CREATE DATABASE IF NOT EXISTS `client_schedule` /*!40100 DEFAULT CHARACTER SET utf8mb4 COLLATE utf8mb4_0900_ai_ci */ /*!80016 DEFAULT ENCRYPTION='N' */;
|
|
||||||
USE `client_schedule`;
|
|
||||||
-- MySQL dump 10.13 Distrib 8.0.34, for Win64 (x86_64)
|
|
||||||
--
|
|
||||||
-- Host: localhost Database: client_schedule
|
|
||||||
-- ------------------------------------------------------
|
|
||||||
-- Server version 8.0.25
|
|
||||||
|
|
||||||
/*!40101 SET @OLD_CHARACTER_SET_CLIENT=@@CHARACTER_SET_CLIENT */;
|
|
||||||
/*!40101 SET @OLD_CHARACTER_SET_RESULTS=@@CHARACTER_SET_RESULTS */;
|
|
||||||
/*!40101 SET @OLD_COLLATION_CONNECTION=@@COLLATION_CONNECTION */;
|
|
||||||
/*!50503 SET NAMES utf8 */;
|
|
||||||
/*!40103 SET @OLD_TIME_ZONE=@@TIME_ZONE */;
|
|
||||||
/*!40103 SET TIME_ZONE='+00:00' */;
|
|
||||||
/*!40014 SET @OLD_UNIQUE_CHECKS=@@UNIQUE_CHECKS, UNIQUE_CHECKS=0 */;
|
|
||||||
/*!40014 SET @OLD_FOREIGN_KEY_CHECKS=@@FOREIGN_KEY_CHECKS, FOREIGN_KEY_CHECKS=0 */;
|
|
||||||
/*!40101 SET @OLD_SQL_MODE=@@SQL_MODE, SQL_MODE='NO_AUTO_VALUE_ON_ZERO' */;
|
|
||||||
/*!40111 SET @OLD_SQL_NOTES=@@SQL_NOTES, SQL_NOTES=0 */;
|
|
||||||
|
|
||||||
--
|
|
||||||
-- Table structure for table `address`
|
|
||||||
--
|
|
||||||
|
|
||||||
DROP TABLE IF EXISTS `address`;
|
|
||||||
/*!40101 SET @saved_cs_client = @@character_set_client */;
|
|
||||||
/*!50503 SET character_set_client = utf8mb4 */;
|
|
||||||
CREATE TABLE `address` (
|
|
||||||
`addressId` int NOT NULL AUTO_INCREMENT,
|
|
||||||
`address` varchar(50) NOT NULL,
|
|
||||||
`address2` varchar(50) NOT NULL,
|
|
||||||
`cityId` int NOT NULL,
|
|
||||||
`postalCode` varchar(10) NOT NULL,
|
|
||||||
`phone` varchar(20) NOT NULL,
|
|
||||||
`createDate` datetime NOT NULL,
|
|
||||||
`createdBy` varchar(40) NOT NULL,
|
|
||||||
`lastUpdate` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP,
|
|
||||||
`lastUpdateBy` varchar(40) NOT NULL,
|
|
||||||
PRIMARY KEY (`addressId`),
|
|
||||||
KEY `cityId` (`cityId`),
|
|
||||||
CONSTRAINT `address_ibfk_1` FOREIGN KEY (`cityId`) REFERENCES `city` (`cityId`)
|
|
||||||
) ENGINE=InnoDB AUTO_INCREMENT=5 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_0900_ai_ci;
|
|
||||||
/*!40101 SET character_set_client = @saved_cs_client */;
|
|
||||||
|
|
||||||
--
|
|
||||||
-- Dumping data for table `address`
|
|
||||||
--
|
|
||||||
|
|
||||||
LOCK TABLES `address` WRITE;
|
|
||||||
/*!40000 ALTER TABLE `address` DISABLE KEYS */;
|
|
||||||
INSERT INTO `address` VALUES (1,'123 Main','',1,'11111','555-1212','2019-01-01 00:00:00','test','2019-01-01 00:00:00','test'),(2,'123 Elm','',3,'11112','555-1213','2019-01-01 00:00:00','test','2019-01-01 00:00:00','test'),(3,'123 Oak','',5,'11113','555-1214','2019-01-01 00:00:00','test','2019-01-01 00:00:00','test');
|
|
||||||
/*!40000 ALTER TABLE `address` ENABLE KEYS */;
|
|
||||||
UNLOCK TABLES;
|
|
||||||
|
|
||||||
--
|
|
||||||
-- Table structure for table `appointment`
|
|
||||||
--
|
|
||||||
|
|
||||||
DROP TABLE IF EXISTS `appointment`;
|
|
||||||
/*!40101 SET @saved_cs_client = @@character_set_client */;
|
|
||||||
/*!50503 SET character_set_client = utf8mb4 */;
|
|
||||||
CREATE TABLE `appointment` (
|
|
||||||
`appointmentId` int NOT NULL AUTO_INCREMENT,
|
|
||||||
`customerId` int NOT NULL,
|
|
||||||
`userId` int NOT NULL,
|
|
||||||
`title` varchar(255) NOT NULL,
|
|
||||||
`description` text NOT NULL,
|
|
||||||
`location` text NOT NULL,
|
|
||||||
`contact` text NOT NULL,
|
|
||||||
`type` text NOT NULL,
|
|
||||||
`url` varchar(255) NOT NULL,
|
|
||||||
`start` datetime NOT NULL,
|
|
||||||
`end` datetime NOT NULL,
|
|
||||||
`createDate` datetime NOT NULL,
|
|
||||||
`createdBy` varchar(40) NOT NULL,
|
|
||||||
`lastUpdate` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP,
|
|
||||||
`lastUpdateBy` varchar(40) NOT NULL,
|
|
||||||
PRIMARY KEY (`appointmentId`),
|
|
||||||
KEY `userId` (`userId`),
|
|
||||||
KEY `appointment_ibfk_1` (`customerId`),
|
|
||||||
CONSTRAINT `appointment_ibfk_1` FOREIGN KEY (`customerId`) REFERENCES `customer` (`customerId`),
|
|
||||||
CONSTRAINT `appointment_ibfk_2` FOREIGN KEY (`userId`) REFERENCES `user` (`userId`)
|
|
||||||
) ENGINE=InnoDB AUTO_INCREMENT=5 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_0900_ai_ci;
|
|
||||||
/*!40101 SET character_set_client = @saved_cs_client */;
|
|
||||||
|
|
||||||
--
|
|
||||||
-- Dumping data for table `appointment`
|
|
||||||
--
|
|
||||||
|
|
||||||
LOCK TABLES `appointment` WRITE;
|
|
||||||
/*!40000 ALTER TABLE `appointment` DISABLE KEYS */;
|
|
||||||
INSERT INTO `appointment` VALUES (1,1,1,'not needed','not needed','not needed','not needed','Presentation','not needed','2019-01-01 00:00:00','2019-01-01 00:00:00','2019-01-01 00:00:00','test','2019-01-01 00:00:00','test'),(2,2,1,'not needed','not needed','not needed','not needed','Scrum','not needed','2019-01-01 00:00:00','2019-01-01 00:00:00','2019-01-01 00:00:00','test','2019-01-01 00:00:00','test');
|
|
||||||
/*!40000 ALTER TABLE `appointment` ENABLE KEYS */;
|
|
||||||
UNLOCK TABLES;
|
|
||||||
|
|
||||||
--
|
|
||||||
-- Table structure for table `city`
|
|
||||||
--
|
|
||||||
|
|
||||||
DROP TABLE IF EXISTS `city`;
|
|
||||||
/*!40101 SET @saved_cs_client = @@character_set_client */;
|
|
||||||
/*!50503 SET character_set_client = utf8mb4 */;
|
|
||||||
CREATE TABLE `city` (
|
|
||||||
`cityId` int NOT NULL AUTO_INCREMENT,
|
|
||||||
`city` varchar(50) NOT NULL,
|
|
||||||
`countryId` int NOT NULL,
|
|
||||||
`createDate` datetime NOT NULL,
|
|
||||||
`createdBy` varchar(40) NOT NULL,
|
|
||||||
`lastUpdate` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP,
|
|
||||||
`lastUpdateBy` varchar(40) NOT NULL,
|
|
||||||
PRIMARY KEY (`cityId`),
|
|
||||||
KEY `countryId` (`countryId`),
|
|
||||||
CONSTRAINT `city_ibfk_1` FOREIGN KEY (`countryId`) REFERENCES `country` (`countryId`)
|
|
||||||
) ENGINE=InnoDB AUTO_INCREMENT=8 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_0900_ai_ci;
|
|
||||||
/*!40101 SET character_set_client = @saved_cs_client */;
|
|
||||||
|
|
||||||
--
|
|
||||||
-- Dumping data for table `city`
|
|
||||||
--
|
|
||||||
|
|
||||||
LOCK TABLES `city` WRITE;
|
|
||||||
/*!40000 ALTER TABLE `city` DISABLE KEYS */;
|
|
||||||
INSERT INTO `city` VALUES (1,'New York',1,'2019-01-01 00:00:00','test','2019-01-01 00:00:00','test'),(2,'Los Angeles',1,'2019-01-01 00:00:00','test','2019-01-01 00:00:00','test'),(3,'Toronto',2,'2019-01-01 00:00:00','test','2019-01-01 00:00:00','test'),(4,'Vancouver',2,'2019-01-01 00:00:00','test','2019-01-01 00:00:00','test'),(5,'Oslo',3,'2019-01-01 00:00:00','test','2019-01-01 00:00:00','test');
|
|
||||||
/*!40000 ALTER TABLE `city` ENABLE KEYS */;
|
|
||||||
UNLOCK TABLES;
|
|
||||||
|
|
||||||
--
|
|
||||||
-- Table structure for table `country`
|
|
||||||
--
|
|
||||||
|
|
||||||
DROP TABLE IF EXISTS `country`;
|
|
||||||
/*!40101 SET @saved_cs_client = @@character_set_client */;
|
|
||||||
/*!50503 SET character_set_client = utf8mb4 */;
|
|
||||||
CREATE TABLE `country` (
|
|
||||||
`countryId` int NOT NULL AUTO_INCREMENT,
|
|
||||||
`country` varchar(50) NOT NULL,
|
|
||||||
`createDate` datetime NOT NULL,
|
|
||||||
`createdBy` varchar(40) NOT NULL,
|
|
||||||
`lastUpdate` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP,
|
|
||||||
`lastUpdateBy` varchar(40) NOT NULL,
|
|
||||||
PRIMARY KEY (`countryId`)
|
|
||||||
) ENGINE=InnoDB AUTO_INCREMENT=5 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_0900_ai_ci;
|
|
||||||
/*!40101 SET character_set_client = @saved_cs_client */;
|
|
||||||
|
|
||||||
--
|
|
||||||
-- Dumping data for table `country`
|
|
||||||
--
|
|
||||||
|
|
||||||
LOCK TABLES `country` WRITE;
|
|
||||||
/*!40000 ALTER TABLE `country` DISABLE KEYS */;
|
|
||||||
INSERT INTO `country` VALUES (1,'US','2019-01-01 00:00:00','test','2019-01-01 00:00:00','test'),(2,'Canada','2019-01-01 00:00:00','test','2019-01-01 00:00:00','test'),(3,'Norway','2019-01-01 00:00:00','test','2019-01-01 00:00:00','test');
|
|
||||||
/*!40000 ALTER TABLE `country` ENABLE KEYS */;
|
|
||||||
UNLOCK TABLES;
|
|
||||||
|
|
||||||
--
|
|
||||||
-- Table structure for table `customer`
|
|
||||||
--
|
|
||||||
|
|
||||||
DROP TABLE IF EXISTS `customer`;
|
|
||||||
/*!40101 SET @saved_cs_client = @@character_set_client */;
|
|
||||||
/*!50503 SET character_set_client = utf8mb4 */;
|
|
||||||
CREATE TABLE `customer` (
|
|
||||||
`customerId` int NOT NULL AUTO_INCREMENT,
|
|
||||||
`customerName` varchar(45) NOT NULL,
|
|
||||||
`addressId` int NOT NULL,
|
|
||||||
`active` tinyint(1) NOT NULL,
|
|
||||||
`createDate` datetime NOT NULL,
|
|
||||||
`createdBy` varchar(40) NOT NULL,
|
|
||||||
`lastUpdate` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP,
|
|
||||||
`lastUpdateBy` varchar(40) NOT NULL,
|
|
||||||
PRIMARY KEY (`customerId`),
|
|
||||||
KEY `addressId` (`addressId`),
|
|
||||||
CONSTRAINT `customer_ibfk_1` FOREIGN KEY (`addressId`) REFERENCES `address` (`addressId`)
|
|
||||||
) ENGINE=InnoDB AUTO_INCREMENT=9 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_0900_ai_ci;
|
|
||||||
/*!40101 SET character_set_client = @saved_cs_client */;
|
|
||||||
|
|
||||||
--
|
|
||||||
-- Dumping data for table `customer`
|
|
||||||
--
|
|
||||||
|
|
||||||
LOCK TABLES `customer` WRITE;
|
|
||||||
/*!40000 ALTER TABLE `customer` DISABLE KEYS */;
|
|
||||||
INSERT INTO `customer` VALUES (1,'John Doe',1,1,'2019-01-01 00:00:00','test','2019-01-01 00:00:00','test'),(2,'Alfred E Newman',2,1,'2019-01-01 00:00:00','test','2019-01-01 00:00:00','test'),(3,'Ina Prufung',3,1,'2019-01-01 00:00:00','test','2019-01-01 00:00:00','test');
|
|
||||||
/*!40000 ALTER TABLE `customer` ENABLE KEYS */;
|
|
||||||
UNLOCK TABLES;
|
|
||||||
|
|
||||||
--
|
|
||||||
-- Table structure for table `user`
|
|
||||||
--
|
|
||||||
|
|
||||||
DROP TABLE IF EXISTS `user`;
|
|
||||||
/*!40101 SET @saved_cs_client = @@character_set_client */;
|
|
||||||
/*!50503 SET character_set_client = utf8mb4 */;
|
|
||||||
CREATE TABLE `user` (
|
|
||||||
`userId` int NOT NULL AUTO_INCREMENT,
|
|
||||||
`userName` varchar(50) NOT NULL,
|
|
||||||
`password` varchar(50) NOT NULL,
|
|
||||||
`active` tinyint NOT NULL,
|
|
||||||
`createDate` datetime NOT NULL,
|
|
||||||
`createdBy` varchar(40) NOT NULL,
|
|
||||||
`lastUpdate` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP,
|
|
||||||
`lastUpdateBy` varchar(40) NOT NULL,
|
|
||||||
PRIMARY KEY (`userId`)
|
|
||||||
) ENGINE=InnoDB AUTO_INCREMENT=2 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_0900_ai_ci;
|
|
||||||
/*!40101 SET character_set_client = @saved_cs_client */;
|
|
||||||
|
|
||||||
--
|
|
||||||
-- Dumping data for table `user`
|
|
||||||
--
|
|
||||||
|
|
||||||
LOCK TABLES `user` WRITE;
|
|
||||||
/*!40000 ALTER TABLE `user` DISABLE KEYS */;
|
|
||||||
INSERT INTO `user` VALUES (1,'test','test',1,'2019-01-01 00:00:00','test','2019-01-01 00:00:00','test');
|
|
||||||
/*!40000 ALTER TABLE `user` ENABLE KEYS */;
|
|
||||||
UNLOCK TABLES;
|
|
||||||
/*!40103 SET TIME_ZONE=@OLD_TIME_ZONE */;
|
|
||||||
|
|
||||||
/*!40101 SET SQL_MODE=@OLD_SQL_MODE */;
|
|
||||||
/*!40014 SET FOREIGN_KEY_CHECKS=@OLD_FOREIGN_KEY_CHECKS */;
|
|
||||||
/*!40014 SET UNIQUE_CHECKS=@OLD_UNIQUE_CHECKS */;
|
|
||||||
/*!40101 SET CHARACTER_SET_CLIENT=@OLD_CHARACTER_SET_CLIENT */;
|
|
||||||
/*!40101 SET CHARACTER_SET_RESULTS=@OLD_CHARACTER_SET_RESULTS */;
|
|
||||||
/*!40101 SET COLLATION_CONNECTION=@OLD_COLLATION_CONNECTION */;
|
|
||||||
/*!40111 SET SQL_NOTES=@OLD_SQL_NOTES */;
|
|
||||||
|
|
||||||
-- Dump completed on 2025-05-28 2:31:08
|
|
||||||
@ -1 +0,0 @@
|
|||||||
"server=127.0.0.1;uid=sqlUser;pwd=Passw0rd!;database=client_schedule"
|
|
||||||
Loading…
Reference in New Issue
Block a user