Exemplo n.º 1
0
        public void NewPatientProfile()
        {
            var view      = new View.PatientRegistryForm();
            var presenter =
                new PatientRegistryPresenter(
                    view, _hisDataset, _hisDataset.profileRepository.GetNewPid(),
                    _clinic, _operator.OID);

            view.FormClosed += delegate { OnOperatorFormLoad(); };
            view.Show();
        }
Exemplo n.º 2
0
        public void PatientProfile()
        {
            var profile =
                _hisDataset.profileRepository.GetByID(Convert.ToInt64(_operatorView.selectedPID));
            var view      = new View.PatientRegistryForm();
            var presenter =
                new PatientRegistryPresenter(
                    view, _hisDataset,
                    Convert.ToInt64(_operatorView.selectedPID),
                    _clinic, _operator.OID);

            view.FormClosed += delegate { OnOperatorFormLoad(); };
            view.Show();
        }