CNSA-212-FP/Louis'-Pharmacy_CNSA212-FP/frmPrescription.cs

61 lines
1.3 KiB
C#
Raw Normal View History

2024-01-31 12:05:11 -05: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
{
2024-01-31 12:45:33 -05:00
public partial class frmPrescription : Form
2024-01-31 12:05:11 -05:00
{
2024-01-31 12:45:33 -05:00
public frmPrescription()
2024-01-31 12:05:11 -05:00
{
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);
}
}
2024-01-31 12:05:11 -05:00
}
}