Ejemplo n.º 1
0
        protected override void OnClosed(EventArgs e)
        {
            base.OnClosed(e);
            DCCAssetExporterVM vm = DataContext as DCCAssetExporterVM;

            vm.Close();
        }
Ejemplo n.º 2
0
        void SetupDataContext(Process parent)
        {
            DCCAssetExporterVM vm = new DCCAssetExporterVM();

            DataContext = vm;
            if (vm.CloseAction == null)
            {
                vm.CloseAction = new Action(Close);
            }
            vm.ParentProcess = parent;
        }
Ejemplo n.º 3
0
        void window_Deactivated(object sender, EventArgs e)
        {
            DCCAssetExporterVM vm = DataContext as DCCAssetExporterVM;

            vm.WindowsDeactivatedCall();
        }