Merge remote-tracking branch 'origin/master'

This commit is contained in:
EggMan20339 2024-02-20 11:28:44 -05:00
commit 6ae14ec7de
4 changed files with 397 additions and 0 deletions

View File

@ -89,6 +89,12 @@
<Compile Include="frmPhysician.Designer.cs"> <Compile Include="frmPhysician.Designer.cs">
<DependentUpon>frmPhysician.cs</DependentUpon> <DependentUpon>frmPhysician.cs</DependentUpon>
</Compile> </Compile>
<Compile Include="frmPrescription.cs">
<SubType>Form</SubType>
</Compile>
<Compile Include="frmPrescription.Designer.cs">
<DependentUpon>frmPrescription.cs</DependentUpon>
</Compile>
<Compile Include="frmRefill.cs"> <Compile Include="frmRefill.cs">
<SubType>Form</SubType> <SubType>Form</SubType>
</Compile> </Compile>
@ -131,6 +137,9 @@
<EmbeddedResource Include="frmPhysician.resx"> <EmbeddedResource Include="frmPhysician.resx">
<DependentUpon>frmPhysician.cs</DependentUpon> <DependentUpon>frmPhysician.cs</DependentUpon>
</EmbeddedResource> </EmbeddedResource>
<EmbeddedResource Include="frmPrescription.resx">
<DependentUpon>frmPrescription.cs</DependentUpon>
</EmbeddedResource>
<EmbeddedResource Include="frmRefill.resx"> <EmbeddedResource Include="frmRefill.resx">
<DependentUpon>frmRefill.cs</DependentUpon> <DependentUpon>frmRefill.cs</DependentUpon>
</EmbeddedResource> </EmbeddedResource>

View File

@ -0,0 +1,248 @@

namespace Louis__Pharmacy_CNSA212_FP
{
partial class frmPrescription
{
/// <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()
{
this.txtRxNum = new System.Windows.Forms.TextBox();
this.txtPurpose = new System.Windows.Forms.TextBox();
this.txtDosage = new System.Windows.Forms.TextBox();
this.txtFrequency = new System.Windows.Forms.TextBox();
this.txtIntake = new System.Windows.Forms.TextBox();
this.txtName = new System.Windows.Forms.TextBox();
this.txtMedID = new System.Windows.Forms.TextBox();
this.lblDisPurpose = new System.Windows.Forms.Label();
this.btnCancel = new System.Windows.Forms.Button();
this.btnGO = new System.Windows.Forms.Button();
this.label7 = new System.Windows.Forms.Label();
this.label6 = new System.Windows.Forms.Label();
this.label5 = new System.Windows.Forms.Label();
this.label4 = new System.Windows.Forms.Label();
this.label3 = new System.Windows.Forms.Label();
this.label2 = new System.Windows.Forms.Label();
this.label1 = new System.Windows.Forms.Label();
this.SuspendLayout();
//
// txtRxNum
//
this.txtRxNum.Location = new System.Drawing.Point(433, 347);
this.txtRxNum.Margin = new System.Windows.Forms.Padding(3, 2, 3, 2);
this.txtRxNum.Name = "txtRxNum";
this.txtRxNum.Size = new System.Drawing.Size(163, 22);
this.txtRxNum.TabIndex = 33;
//
// txtPurpose
//
this.txtPurpose.Location = new System.Drawing.Point(433, 313);
this.txtPurpose.Margin = new System.Windows.Forms.Padding(3, 2, 3, 2);
this.txtPurpose.Name = "txtPurpose";
this.txtPurpose.Size = new System.Drawing.Size(163, 22);
this.txtPurpose.TabIndex = 32;
//
// txtDosage
//
this.txtDosage.Location = new System.Drawing.Point(433, 279);
this.txtDosage.Margin = new System.Windows.Forms.Padding(3, 2, 3, 2);
this.txtDosage.Name = "txtDosage";
this.txtDosage.Size = new System.Drawing.Size(163, 22);
this.txtDosage.TabIndex = 31;
//
// txtFrequency
//
this.txtFrequency.Location = new System.Drawing.Point(433, 244);
this.txtFrequency.Margin = new System.Windows.Forms.Padding(3, 2, 3, 2);
this.txtFrequency.Name = "txtFrequency";
this.txtFrequency.Size = new System.Drawing.Size(163, 22);
this.txtFrequency.TabIndex = 30;
//
// txtIntake
//
this.txtIntake.Location = new System.Drawing.Point(433, 210);
this.txtIntake.Margin = new System.Windows.Forms.Padding(3, 2, 3, 2);
this.txtIntake.Name = "txtIntake";
this.txtIntake.Size = new System.Drawing.Size(163, 22);
this.txtIntake.TabIndex = 29;
//
// txtName
//
this.txtName.Location = new System.Drawing.Point(433, 175);
this.txtName.Margin = new System.Windows.Forms.Padding(3, 2, 3, 2);
this.txtName.Name = "txtName";
this.txtName.Size = new System.Drawing.Size(163, 22);
this.txtName.TabIndex = 28;
//
// txtMedID
//
this.txtMedID.Location = new System.Drawing.Point(433, 141);
this.txtMedID.Margin = new System.Windows.Forms.Padding(3, 2, 3, 2);
this.txtMedID.Name = "txtMedID";
this.txtMedID.Size = new System.Drawing.Size(163, 22);
this.txtMedID.TabIndex = 27;
//
// lblDisPurpose
//
this.lblDisPurpose.Font = new System.Drawing.Font("Microsoft Sans Serif", 24F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
this.lblDisPurpose.Location = new System.Drawing.Point(142, 32);
this.lblDisPurpose.Name = "lblDisPurpose";
this.lblDisPurpose.Size = new System.Drawing.Size(615, 58);
this.lblDisPurpose.TabIndex = 26;
this.lblDisPurpose.Text = "Prescription";
this.lblDisPurpose.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
//
// btnCancel
//
this.btnCancel.Location = new System.Drawing.Point(782, 463);
this.btnCancel.Margin = new System.Windows.Forms.Padding(3, 2, 3, 2);
this.btnCancel.Name = "btnCancel";
this.btnCancel.Size = new System.Drawing.Size(89, 28);
this.btnCancel.TabIndex = 25;
this.btnCancel.Text = "Cancel";
this.btnCancel.UseVisualStyleBackColor = true;
//
// btnGO
//
this.btnGO.Location = new System.Drawing.Point(667, 463);
this.btnGO.Margin = new System.Windows.Forms.Padding(3, 2, 3, 2);
this.btnGO.Name = "btnGO";
this.btnGO.Size = new System.Drawing.Size(89, 28);
this.btnGO.TabIndex = 24;
this.btnGO.UseVisualStyleBackColor = true;
//
// label7
//
this.label7.Location = new System.Drawing.Point(282, 341);
this.label7.Name = "label7";
this.label7.Size = new System.Drawing.Size(145, 34);
this.label7.TabIndex = 23;
this.label7.Text = "Rx Number:";
this.label7.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
//
// label6
//
this.label6.Location = new System.Drawing.Point(282, 307);
this.label6.Name = "label6";
this.label6.Size = new System.Drawing.Size(145, 34);
this.label6.TabIndex = 22;
this.label6.Text = "Purpose:";
this.label6.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
//
// label5
//
this.label5.Location = new System.Drawing.Point(282, 272);
this.label5.Name = "label5";
this.label5.Size = new System.Drawing.Size(145, 34);
this.label5.TabIndex = 21;
this.label5.Text = "Dosage:";
this.label5.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
//
// label4
//
this.label4.Location = new System.Drawing.Point(282, 238);
this.label4.Name = "label4";
this.label4.Size = new System.Drawing.Size(145, 34);
this.label4.TabIndex = 20;
this.label4.Text = "Frequency:";
this.label4.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
//
// label3
//
this.label3.Location = new System.Drawing.Point(282, 203);
this.label3.Name = "label3";
this.label3.Size = new System.Drawing.Size(145, 34);
this.label3.TabIndex = 19;
this.label3.Text = "Intake Method:";
this.label3.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
//
// label2
//
this.label2.Location = new System.Drawing.Point(282, 169);
this.label2.Name = "label2";
this.label2.Size = new System.Drawing.Size(145, 34);
this.label2.TabIndex = 18;
this.label2.Text = "Name:";
this.label2.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
//
// label1
//
this.label1.Location = new System.Drawing.Point(282, 135);
this.label1.Name = "label1";
this.label1.Size = new System.Drawing.Size(145, 34);
this.label1.TabIndex = 17;
this.label1.Text = "Medication ID:";
this.label1.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
//
// frmPrescription
//
this.AutoScaleDimensions = new System.Drawing.SizeF(8F, 16F);
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
this.ClientSize = new System.Drawing.Size(929, 523);
this.Controls.Add(this.txtRxNum);
this.Controls.Add(this.txtPurpose);
this.Controls.Add(this.txtDosage);
this.Controls.Add(this.txtFrequency);
this.Controls.Add(this.txtIntake);
this.Controls.Add(this.txtName);
this.Controls.Add(this.txtMedID);
this.Controls.Add(this.lblDisPurpose);
this.Controls.Add(this.btnCancel);
this.Controls.Add(this.btnGO);
this.Controls.Add(this.label7);
this.Controls.Add(this.label6);
this.Controls.Add(this.label5);
this.Controls.Add(this.label4);
this.Controls.Add(this.label3);
this.Controls.Add(this.label2);
this.Controls.Add(this.label1);
this.Name = "frmPrescription";
this.Text = "frmPrescription";
this.ResumeLayout(false);
this.PerformLayout();
}
#endregion
private System.Windows.Forms.TextBox txtRxNum;
private System.Windows.Forms.TextBox txtPurpose;
private System.Windows.Forms.TextBox txtDosage;
private System.Windows.Forms.TextBox txtFrequency;
private System.Windows.Forms.TextBox txtIntake;
private System.Windows.Forms.TextBox txtName;
private System.Windows.Forms.TextBox txtMedID;
private System.Windows.Forms.Label lblDisPurpose;
private System.Windows.Forms.Button btnCancel;
private System.Windows.Forms.Button btnGO;
private System.Windows.Forms.Label label7;
private System.Windows.Forms.Label label6;
private System.Windows.Forms.Label label5;
private System.Windows.Forms.Label label4;
private System.Windows.Forms.Label label3;
private System.Windows.Forms.Label label2;
private System.Windows.Forms.Label label1;
}
}

View File

@ -0,0 +1,20 @@
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 Louis__Pharmacy_CNSA212_FP
{
public partial class frmPrescription : Form
{
public frmPrescription()
{
InitializeComponent();
}
}
}

View File

@ -0,0 +1,120 @@
<?xml version="1.0" encoding="utf-8"?>
<root>
<!--
Microsoft ResX Schema
Version 2.0
The primary goals of this format is to allow a simple XML format
that is mostly human readable. The generation and parsing of the
various data types are done through the TypeConverter classes
associated with the data types.
Example:
... ado.net/XML headers & schema ...
<resheader name="resmimetype">text/microsoft-resx</resheader>
<resheader name="version">2.0</resheader>
<resheader name="reader">System.Resources.ResXResourceReader, System.Windows.Forms, ...</resheader>
<resheader name="writer">System.Resources.ResXResourceWriter, System.Windows.Forms, ...</resheader>
<data name="Name1"><value>this is my long string</value><comment>this is a comment</comment></data>
<data name="Color1" type="System.Drawing.Color, System.Drawing">Blue</data>
<data name="Bitmap1" mimetype="application/x-microsoft.net.object.binary.base64">
<value>[base64 mime encoded serialized .NET Framework object]</value>
</data>
<data name="Icon1" type="System.Drawing.Icon, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
<value>[base64 mime encoded string representing a byte array form of the .NET Framework object]</value>
<comment>This is a comment</comment>
</data>
There are any number of "resheader" rows that contain simple
name/value pairs.
Each data row contains a name, and value. The row also contains a
type or mimetype. Type corresponds to a .NET class that support
text/value conversion through the TypeConverter architecture.
Classes that don't support this are serialized and stored with the
mimetype set.
The mimetype is used for serialized objects, and tells the
ResXResourceReader how to depersist the object. This is currently not
extensible. For a given mimetype the value must be set accordingly:
Note - application/x-microsoft.net.object.binary.base64 is the format
that the ResXResourceWriter will generate, however the reader can
read any of the formats listed below.
mimetype: application/x-microsoft.net.object.binary.base64
value : The object must be serialized with
: System.Runtime.Serialization.Formatters.Binary.BinaryFormatter
: and then encoded with base64 encoding.
mimetype: application/x-microsoft.net.object.soap.base64
value : The object must be serialized with
: System.Runtime.Serialization.Formatters.Soap.SoapFormatter
: and then encoded with base64 encoding.
mimetype: application/x-microsoft.net.object.bytearray.base64
value : The object must be serialized into a byte array
: using a System.ComponentModel.TypeConverter
: and then encoded with base64 encoding.
-->
<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=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
</resheader>
<resheader name="writer">
<value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
</resheader>
</root>