Esempio n. 1
0
        private void DrawDose()
        {
            //Do something here.
            DrawDoseViewModel vm = new DrawDoseViewModel((DataStoreItem)SelectedInventoryItem);

            DesktopApplication.MakeModalDocument(vm, "iRadiate.Radiopharmacy", "iRadiate.Radiopharmacy.View.DrawDoseView");
        }
        protected override void Execute()
        {
            base.Execute();
            DrawDoseViewModel vm = new DrawDoseViewModel((DataStoreItem)bulkDose);

            DesktopApplication.MakeModalDocument(vm, "iRadiate.Radiopharmacy", "iRadiate.Radiopharmacy.View.DrawDoseView");
            vm.SelectedTask = dat as IDataStoreItem;
        }