Upload to server
uploading
This commit is contained in:
112
patientman/PatientMan/frmMain.cs
Normal file
112
patientman/PatientMan/frmMain.cs
Normal file
@@ -0,0 +1,112 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Windows.Forms;
|
||||
using PatientMan.Forms;
|
||||
using Datalib.EntityClasses;
|
||||
using Datalib.HelperClasses;
|
||||
using System.Runtime.InteropServices;
|
||||
using System.Linq;
|
||||
using Datalib.Linq;
|
||||
|
||||
namespace PatientMan
|
||||
{
|
||||
public partial class frmMain : BasicForms.frmCommon
|
||||
{
|
||||
public frmMain()
|
||||
{
|
||||
InitializeComponent();
|
||||
}
|
||||
|
||||
private void btnClients_Click(object sender, EventArgs e)
|
||||
{
|
||||
var frm = new frmPatientLists();
|
||||
frm.LoadData();
|
||||
frm.ShowDialog();
|
||||
}
|
||||
|
||||
private void btnAppointments_Click(object sender, EventArgs e)
|
||||
{
|
||||
var frm = new frmExamWaitingList();
|
||||
frm.barBeginDate.EditValue = DateTime.Today;
|
||||
frm.barEndDate.EditValue = DateTime.Today;
|
||||
frm.FirstLoad();
|
||||
frm.ShowDialog();
|
||||
|
||||
}
|
||||
|
||||
private void btlPreClinic_Click(object sender, EventArgs e)
|
||||
{
|
||||
var frm = new frmPreClinics();
|
||||
frm.Show();
|
||||
}
|
||||
|
||||
private void btnTreatment_Click(object sender, EventArgs e)
|
||||
{
|
||||
var frm = new frmTreatment();
|
||||
frm.LoadData();
|
||||
frm.ShowDialog();
|
||||
}
|
||||
|
||||
private void btnReports_Click(object sender, EventArgs e)
|
||||
{
|
||||
var frm = new frmReferral();
|
||||
frm.LoadData();
|
||||
frm.ShowDialog();
|
||||
}
|
||||
|
||||
private void btnClinics_Click(object sender, EventArgs e)
|
||||
{
|
||||
var frm = new frmClinics();
|
||||
frm.LoadData();
|
||||
frm.ShowDialog();
|
||||
}
|
||||
|
||||
private void btnReferral_Click(object sender, EventArgs e)
|
||||
{
|
||||
var frm = new frmReports();
|
||||
// frm.rptList.SelectedIndex = 0;
|
||||
frm.ShowDialog();
|
||||
}
|
||||
|
||||
private void btnAdd_Click(object sender, EventArgs e)
|
||||
{
|
||||
var frm = new frmPatientInfo();
|
||||
frm.PatientsCollection = new EntityCollection<TblPatientEntity>();
|
||||
frm.usrPatientInfo.Enabled = true;
|
||||
frm.NewRecord();
|
||||
frm.ShowDialog();
|
||||
}
|
||||
|
||||
private void btnSettings_Click(object sender, EventArgs e)
|
||||
{
|
||||
var frm = new frmSettings();
|
||||
frm.ShowDialog();
|
||||
}
|
||||
|
||||
private void btnPrint_Click(object sender, EventArgs e)
|
||||
{
|
||||
var frm = new frmLogBooks();
|
||||
|
||||
frm.ShowDialog();
|
||||
}
|
||||
|
||||
private void frmMain_Load(object sender, EventArgs e)
|
||||
{
|
||||
string version = System.Reflection.Assembly.GetExecutingAssembly()
|
||||
.GetName()
|
||||
.Version
|
||||
.ToString();
|
||||
this.Text = "E-Log Progam - Ver " + version;
|
||||
}
|
||||
|
||||
private void frmMain_Activated(object sender, EventArgs e)
|
||||
{
|
||||
// this.DatabaseStatus.Text = SettingInfo.DatabaseFile;
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user