61 lines
1.3 KiB
C#
61 lines
1.3 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 frmPrescription : Form
|
|
{
|
|
public frmPrescription()
|
|
{
|
|
InitializeComponent();
|
|
}
|
|
|
|
private void btnPatientSearch_Click(object sender, EventArgs e)
|
|
{
|
|
|
|
}
|
|
|
|
private void btnPrescriptionSearch_Click(object sender, EventArgs e)
|
|
{
|
|
|
|
}
|
|
|
|
private void btnPhysicianSearch_Click(object sender, EventArgs e)
|
|
{
|
|
|
|
}
|
|
|
|
private void dataGridView1_CellContentClick(object sender, DataGridViewCellEventArgs e)
|
|
{
|
|
|
|
}
|
|
|
|
private void frmPrescription_Load(object sender, EventArgs e)
|
|
{
|
|
|
|
}
|
|
|
|
private void frmPrescription_KeyDown(object sender, KeyEventArgs e)
|
|
{
|
|
// esc not funtional
|
|
if (e.KeyCode == Keys.Escape) // Check if the pressed key is Escape
|
|
{
|
|
this.Close(); // Close the form
|
|
}
|
|
|
|
if (e.KeyCode == Keys.Enter)
|
|
{
|
|
btnPatientSearch_Click(sender, e);
|
|
}
|
|
|
|
}
|
|
}
|
|
}
|