2024-02-07 07:54:26 -08: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 08:12:39 -08: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 08:44:23 -08:00
|
|
|
|
private void mnuNavigationView_Click(object sender, EventArgs e)
|
2024-02-09 08:12:39 -08:00
|
|
|
|
{
|
|
|
|
|
frmInfo formInfo = new frmInfo();
|
2024-02-09 08:44:23 -08:00
|
|
|
|
|
|
|
|
|
formInfo.MdiParent = this;
|
|
|
|
|
formInfo.StartPosition = FormStartPosition.CenterScreen;
|
|
|
|
|
formInfo.Show();
|
|
|
|
|
formInfo.Focus();
|
|
|
|
|
|
|
|
|
|
mnuNavigationView.Checked = true;
|
2024-02-09 08:12:39 -08:00
|
|
|
|
}
|
2024-02-07 07:54:26 -08:00
|
|
|
|
}
|
|
|
|
|
}
|