2024-02-07 10:54:26 -05:00
|
|
|
|
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 frmMain : Form
|
|
|
|
|
{
|
|
|
|
|
public frmMain()
|
|
|
|
|
{
|
|
|
|
|
InitializeComponent();
|
|
|
|
|
}
|
2024-02-09 11:12:39 -05:00
|
|
|
|
|
|
|
|
|
private void frmMain_Load(object sender, EventArgs e)
|
|
|
|
|
{
|
|
|
|
|
frmWelcome formWelcome = new frmWelcome();
|
|
|
|
|
|
|
|
|
|
formWelcome.MdiParent = this;
|
|
|
|
|
formWelcome.StartPosition = FormStartPosition.CenterScreen;
|
|
|
|
|
formWelcome.Show();
|
|
|
|
|
formWelcome.Focus();
|
|
|
|
|
}
|
|
|
|
|
|
2024-02-09 11:44:23 -05:00
|
|
|
|
private void mnuNavigationView_Click(object sender, EventArgs e)
|
2024-02-09 11:12:39 -05:00
|
|
|
|
{
|
|
|
|
|
frmInfo formInfo = new frmInfo();
|
2024-02-09 11:44:23 -05:00
|
|
|
|
|
|
|
|
|
formInfo.MdiParent = this;
|
|
|
|
|
formInfo.StartPosition = FormStartPosition.CenterScreen;
|
|
|
|
|
formInfo.Show();
|
|
|
|
|
formInfo.Focus();
|
|
|
|
|
|
|
|
|
|
mnuNavigationView.Checked = true;
|
2024-02-09 11:12:39 -05:00
|
|
|
|
}
|
2024-02-09 11:59:29 -05:00
|
|
|
|
|
|
|
|
|
private void mnuNavigationAUPaPh_Click(object sender, EventArgs e)
|
|
|
|
|
{
|
2024-02-09 12:15:31 -05:00
|
|
|
|
frmPatientPhysician formPaPh = new frmPatientPhysician();
|
2024-02-09 11:59:29 -05:00
|
|
|
|
|
2024-02-09 12:15:31 -05:00
|
|
|
|
formPaPh.MdiParent = this;
|
|
|
|
|
formPaPh.StartPosition = FormStartPosition.CenterScreen;
|
|
|
|
|
formPaPh.Show();
|
|
|
|
|
formPaPh.Focus();
|
2024-02-09 11:59:29 -05:00
|
|
|
|
|
|
|
|
|
mnuNavigationAUPaPh.Checked = true;
|
|
|
|
|
}
|
2024-02-09 12:15:31 -05:00
|
|
|
|
|
|
|
|
|
private void mnuNavigationAUPres_Click(object sender, EventArgs e)
|
|
|
|
|
{
|
|
|
|
|
frmPrescription formPrescription = new frmPrescription();
|
|
|
|
|
|
|
|
|
|
formPrescription.MdiParent = this;
|
|
|
|
|
formPrescription.StartPosition = FormStartPosition.CenterScreen;
|
|
|
|
|
formPrescription.Show();
|
|
|
|
|
formPrescription.Focus();
|
|
|
|
|
|
|
|
|
|
mnuNavigationAUPres.Checked = true;
|
|
|
|
|
}
|
2024-02-09 12:17:53 -05:00
|
|
|
|
|
|
|
|
|
private void mnuNavigationAURRefill_Click(object sender, EventArgs e)
|
|
|
|
|
{
|
|
|
|
|
frmRefill formRefill = new frmRefill();
|
|
|
|
|
|
|
|
|
|
formRefill.MdiParent = this;
|
|
|
|
|
formRefill.StartPosition = FormStartPosition.CenterScreen;
|
|
|
|
|
formRefill.Show();
|
|
|
|
|
formRefill.Focus();
|
|
|
|
|
|
|
|
|
|
mnuNavigationAURRefill.Checked = true;
|
|
|
|
|
}
|
2024-02-07 10:54:26 -05:00
|
|
|
|
}
|
|
|
|
|
}
|