frmEdit init

This commit is contained in:
EggMan20339 2024-02-14 09:26:08 -05:00
parent 89a8614fd4
commit 3b6d1bee4d
5 changed files with 72 additions and 19 deletions

View File

@ -1,11 +1,19 @@
<?xml version="1.0" encoding="UTF-8"?>
<project version="4">
<component name="DataSourceManagerImpl" format="xml" multifile-model="true">
<data-source source="LOCAL" name="College2@sql.eggtech.net" uuid="d558c660-e41d-4191-a7a2-130980c7102b">
<data-source source="LOCAL" name="FinalProjectOfficialPharmacy@sql.eggtech.net" uuid="4e22f1b7-f603-4a98-9cc8-af21ada3b0fe">
<driver-ref>sqlserver.jb</driver-ref>
<synchronize>true</synchronize>
<jdbc-driver>com.jetbrains.jdbc.sqlserver.SqlServerDriver</jdbc-driver>
<jdbc-url>Server=sql.eggtech.net,1433;Database=College2</jdbc-url>
<jdbc-url>Server=sql.eggtech.net,1433;Database=FinalProjectOfficialPharmacy</jdbc-url>
<working-dir>$ProjectFileDir$</working-dir>
</data-source>
<data-source source="LOCAL" name="Microsoft SQL Server (JetBrains)" uuid="e01dfe76-6e86-4e8c-ac8c-21ef8c2f8f5a">
<driver-ref>sqlserver.jb</driver-ref>
<synchronize>true</synchronize>
<configured-by-url>true</configured-by-url>
<jdbc-driver>com.jetbrains.jdbc.sqlserver.SqlServerDriver</jdbc-driver>
<jdbc-url>Data Source=sql.eggtech.net;Initial Catalog=college2; connect timeout=30; integrated security=false; User ID=admin;Password=delirium-purveyor-overall-backboned-approval-amino;</jdbc-url>
<working-dir>$ProjectFileDir$</working-dir>
</data-source>
</component>

View File

@ -47,6 +47,12 @@
<Reference Include="System.Xml"/>
</ItemGroup>
<ItemGroup>
<Compile Include="frmEdit.cs">
<SubType>Form</SubType>
</Compile>
<Compile Include="frmEdit.Designer.cs">
<DependentUpon>frmEdit.cs</DependentUpon>
</Compile>
<Compile Include="frmSearch.cs">
<SubType>Form</SubType>
</Compile>

42
Database3/frmEdit.Designer.cs generated Normal file
View File

@ -0,0 +1,42 @@
using System.ComponentModel;
namespace Database3
{
partial class frmEdit
{
/// <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()
{
this.components = new System.ComponentModel.Container();
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
this.ClientSize = new System.Drawing.Size(800, 450);
this.Text = "frmEdit";
}
#endregion
}
}

12
Database3/frmEdit.cs Normal file
View File

@ -0,0 +1,12 @@
using System.Windows.Forms;
namespace Database3
{
public partial class frmEdit : Form
{
public frmEdit()
{
InitializeComponent();
}
}
}

View File

@ -1,23 +1,8 @@
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;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Microsoft.VisualBasic;
using System.Data;
using System.Configuration;
using System.Collections;
using System.Data.SqlClient;
using Database3;
namespace Database3
@ -33,7 +18,7 @@ namespace Database3
{
string studentid = "9999999999";
string lname = "9999999999";
DateTime dob = new DateTime(1/1/1111);
DateTime dob = new DateTime();
ErrorProvider ep1 = new ErrorProvider();