예제 #1
0
 //Load
 private void Admin_Load(object sender, EventArgs e)
 {
     if (voice)
     {
         VoiceCalling.RunWorkerAsync();
     }
 }
        //Bool to check whether it is // true -> fix appointment + show appointment details
        // false -> only show appointment details
        public patientFunctions(string username, bool voice)
        {
            this.username = username;
            this.voice    = voice;

            InitializeComponent();
            //Will call do work function
            VoiceCalling.RunWorkerAsync();
        }