public Form5(ref manager man, string s) { InitializeComponent(); m = man; int x = int.Parse(s); // temp = m.arr[x]; // st = new Queue <History>(temp.MedicalCase); f = false; // textBox1.Text = temp.PatientName; textBox2.Text = (temp.Age).ToString(); textBox3.Text = temp.Address; textBox4.Text = (temp.id).ToString(); textBox5.Text = temp.PhoneNumber; // textBox6.Text = st.Peek().date; textBox7.Text = st.Peek().Case; textBox8.Text = st.Peek().Prescribed_Medications; q.Enqueue(st.Dequeue()); }
public Form6(ref manager man, int x) { InitializeComponent(); m = man; p = x; }
public Form7(ref manager man) { InitializeComponent(); m = man; }
public Form1() { InitializeComponent(); m = new manager(); }