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

            vm.Close();
        }
Exemplo 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;
        }
Exemplo n.º 3
0
        void window_Deactivated(object sender, EventArgs e)
        {
            DCCAssetExporterVM vm = DataContext as DCCAssetExporterVM;

            vm.WindowsDeactivatedCall();
        }