55 lines
1.4 KiB
C#
55 lines
1.4 KiB
C#
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();
|
|
}
|
|
|
|
private void frmMain_Load(object sender, EventArgs e)
|
|
{
|
|
frmWelcome formWelcome = new frmWelcome();
|
|
|
|
formWelcome.MdiParent = this;
|
|
formWelcome.StartPosition = FormStartPosition.CenterScreen;
|
|
formWelcome.Show();
|
|
formWelcome.Focus();
|
|
}
|
|
|
|
private void mnuNavigationView_Click(object sender, EventArgs e)
|
|
{
|
|
frmInfo formInfo = new frmInfo();
|
|
|
|
formInfo.MdiParent = this;
|
|
formInfo.StartPosition = FormStartPosition.CenterScreen;
|
|
formInfo.Show();
|
|
formInfo.Focus();
|
|
|
|
mnuNavigationView.Checked = true;
|
|
}
|
|
|
|
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;
|
|
}
|
|
}
|
|
}
|