-
Notifications
You must be signed in to change notification settings - Fork 9
/
Copy pathDoctorHomeUserControl.cs
36 lines (33 loc) · 1.14 KB
/
DoctorHomeUserControl.cs
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Drawing;
using System.Data;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Forms;
namespace OOP_Project___Hospital_Management_System
{
public partial class DoctorHomeUserControl : UserControl
{
public DoctorHomeUserControl(string iD, string depart_id)
{
InitializeComponent();
ID = iD;
Departmental_ID = depart_id;
}
public string ID { get; set; }
public string Departmental_ID { get; set; }
private void buttondoctorspatient_Click(object sender, EventArgs e)
{
DoctorsPatientListControl doctorsPatientListControl = new DoctorsPatientListControl(ID);
ControlClass.ShowControl(doctorsPatientListControl, Content);
}
private void buttonAppointments_Click(object sender, EventArgs e)
{
Docappointment doctorsAppointmentUserControl = new Docappointment(Convert.ToInt32(this.ID));
ControlClass.ShowControl(doctorsAppointmentUserControl, Content);
}
}
}