From 0df4f9b1bd734527d9da3a75e14311990ef629d8 Mon Sep 17 00:00:00 2001 From: EggMan20339 <99349302+EggMan20339@users.noreply.github.com> Date: Mon, 12 Feb 2024 10:08:12 -0500 Subject: [PATCH] base db2 --- .../.idea/dataSources.xml | 12 + ...ce (conflicted copy 2024-02-08 103827).xml | 567 ++++++++++++++++++ Database2/Database2.csproj | 3 + Database2/Form1.Designer.cs | 33 +- Database2/Form1.resx | 120 ++++ 5 files changed, 734 insertions(+), 1 deletion(-) create mode 100644 .idea/.idea.CNSA-212-Personal-CAS/.idea/dataSources.xml create mode 100644 .idea/.idea.CNSA-212-Personal-CAS/.idea/workspace (conflicted copy 2024-02-08 103827).xml create mode 100644 Database2/Form1.resx diff --git a/.idea/.idea.CNSA-212-Personal-CAS/.idea/dataSources.xml b/.idea/.idea.CNSA-212-Personal-CAS/.idea/dataSources.xml new file mode 100644 index 0000000..0df94ea --- /dev/null +++ b/.idea/.idea.CNSA-212-Personal-CAS/.idea/dataSources.xml @@ -0,0 +1,12 @@ + + + + + sqlserver.jb + true + com.jetbrains.jdbc.sqlserver.SqlServerDriver + Server=100.102.137.92,1433;Database=College2 + $ProjectFileDir$ + + + \ No newline at end of file diff --git a/.idea/.idea.CNSA-212-Personal-CAS/.idea/workspace (conflicted copy 2024-02-08 103827).xml b/.idea/.idea.CNSA-212-Personal-CAS/.idea/workspace (conflicted copy 2024-02-08 103827).xml new file mode 100644 index 0000000..7f94821 --- /dev/null +++ b/.idea/.idea.CNSA-212-Personal-CAS/.idea/workspace (conflicted copy 2024-02-08 103827).xml @@ -0,0 +1,567 @@ + + + + CNSA-212-Personal-CAS/CNSA-212-Personal-CAS.csproj + Chapter 5/Chapter 5.csproj + Chapter6/Chapter6.csproj + Database/Database.csproj + ElementaryMathematics/ElementaryMathematics.csproj + MDI/MDI.csproj + MidtermProject/MidtermProject.csproj + ScratchBook/ScratchBook.csproj + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + { + "associatedIndex": 2 +} + + + + + + + + { + "keyToString": { + ".NET Project.Chapter 5.executor": "Run", + ".NET Project.Chapter6.executor": "Run", + ".NET Project.ElementaryMathematics.executor": "Run", + ".NET Project.MidtermProject.executor": "Run", + "ASKED_ADD_EXTERNAL_FILES": "true", + "ASKED_SHARE_PROJECT_CONFIGURATION_FILES": "true", + "RunOnceActivity.OpenProjectViewOnStart": "true", + "RunOnceActivity.ShowReadmeOnStart": "true", + "SHARE_PROJECT_CONFIGURATION_FILES": "true", + "git-widget-placeholder": "master", + "ignore.virus.scanning.warn.message": "true", + "node.js.detected.package.eslint": "true", + "node.js.detected.package.tslint": "true", + "node.js.selected.package.eslint": "(autodetect)", + "node.js.selected.package.tslint": "(autodetect)", + "nodejs_package_manager_path": "npm", + "settings.editor.selected.configurable": "preferences.sourceCode.C#", + "vue.rearranger.settings.migration": "true" + }, + "keyToStringList": { + "rider.external.source.directories": [ + "C:\\Users\\eggman\\AppData\\Roaming\\JetBrains\\Rider2023.3\\resharper-host\\DecompilerCache", + "C:\\Users\\eggman\\AppData\\Roaming\\JetBrains\\Rider2023.3\\resharper-host\\SourcesCache", + "C:\\Users\\eggman\\AppData\\Local\\Symbols\\src" + ] + } +} + + + + + + + + + + + + + + + + + + + + + + + 1706796774658 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/Database2/Database2.csproj b/Database2/Database2.csproj index f8bd0c9..ea0ca22 100644 --- a/Database2/Database2.csproj +++ b/Database2/Database2.csproj @@ -54,6 +54,9 @@ + + Form1.cs + ResXFileCodeGenerator Resources.Designer.cs diff --git a/Database2/Form1.Designer.cs b/Database2/Form1.Designer.cs index 7af1200..e49a4c3 100644 --- a/Database2/Form1.Designer.cs +++ b/Database2/Form1.Designer.cs @@ -29,12 +29,43 @@ /// private void InitializeComponent() { - this.components = new System.ComponentModel.Container(); + this.cboTest = new System.Windows.Forms.ComboBox(); + this.dgvStudents = new System.Windows.Forms.DataGridView(); + ((System.ComponentModel.ISupportInitialize)(this.dgvStudents)).BeginInit(); + this.SuspendLayout(); + // + // cboTest + // + this.cboTest.FormattingEnabled = true; + this.cboTest.Location = new System.Drawing.Point(184, 120); + this.cboTest.Name = "cboTest"; + this.cboTest.Size = new System.Drawing.Size(121, 21); + this.cboTest.TabIndex = 0; + // + // dgvStudents + // + this.dgvStudents.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.AutoSize; + this.dgvStudents.Location = new System.Drawing.Point(306, 287); + this.dgvStudents.Name = "dgvStudents"; + this.dgvStudents.Size = new System.Drawing.Size(240, 150); + this.dgvStudents.TabIndex = 1; + // + // Form1 + // + this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F); this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; this.ClientSize = new System.Drawing.Size(800, 450); + this.Controls.Add(this.dgvStudents); + this.Controls.Add(this.cboTest); + this.Name = "Form1"; this.Text = "Form1"; + ((System.ComponentModel.ISupportInitialize)(this.dgvStudents)).EndInit(); + this.ResumeLayout(false); } + private System.Windows.Forms.ComboBox cboTest; + private System.Windows.Forms.DataGridView dgvStudents; + #endregion } } \ No newline at end of file diff --git a/Database2/Form1.resx b/Database2/Form1.resx new file mode 100644 index 0000000..1af7de1 --- /dev/null +++ b/Database2/Form1.resx @@ -0,0 +1,120 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + 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