43 lines
1.0 KiB
C#
43 lines
1.0 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;
|
|
}
|
|
}
|
|
}
|