Beispiel #1
0
        public void loadMessage()
        {
            messages newPage = new messages(parent, this);

            pageTransitionControl.TransitionType = PageTransitionType.Fade;
            pageTransitionControl.ShowPage(newPage);
        }
Beispiel #2
0
        /// <summary>
        /// Get list of all doctors
        /// </summary>
        /// <param name="_root"></param>
        /// <param name="_root2"></param>
        /// <param name="_sub"></param>
        public AddConversation(MainWindow _root, patient_frame _root2, messages _sub)
        {
            parent    = _root;
            subparent = _sub;
            parent2   = _root2;
            InitializeComponent();
            DataTable qry = parent.query("select login_user_id, concat(lastname,' ',firstname) as name,specialization from doctor");

            foreach (DataRow rw in qry.Rows)
            {
                doctors.Add(rw["login_user_id"].ToString());
                specialization.Add(rw["specialization"].ToString());
                doctorList.Items.Add(rw["name"].ToString());
            }
        }