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)
|
|
|
|
|
{
|
|
|
|
|
frmPatientPhysician formAdd = new frmPatientPhysician();
|
|
|
|
|
|
|
|
|
|
formAdd.MdiParent = this;
|
|
|
|
|
formAdd.StartPosition = FormStartPosition.CenterScreen;
|
|
|
|
|
formAdd.Show();
|
|
|
|
|
formAdd.Focus();
|
|
|
|
|
|
|
|
|
|
mnuNavigationAUPaPh.Checked = true;
|
|
|
|
|
}
|
2024-02-07 10:54:26 -05:00
|
|
|
|
}
|
|
|
|
|
}
|