public UserProfile()
 {
     InitializeComponent();
     log  = new LoginInfo();
     don  = new DoctorInfo();
     puid = null;
 }
 public PatientInfo()
 {
     this.InitializeComponent();
     don         = new DoctorInfo();
     diseaseData = new HitoryInfo();
     log         = new LoginInfo();
 }
        protected override void OnNavigatedTo(NavigationEventArgs e)
        {
            base.OnNavigatedTo(e);

            don = (DoctorInfo)e.Parameter;
        }