Exemplo n.º 1
0
 internal HTMLLogicWindow()
 {
     _Id = _GId++;
     _State = WindowLogicalState.Loading;
     _IsLiteningClose = false;
     CloseReady = new BasicRelayCommand(() => EnTask(_CloseTask));
     EndOpen = new BasicRelayCommand(() => EnTask(_OpenTask));
 }
        protected HTMLControlBase(IUrlSolver urlSolver) 
        {
            if (DesignerProperties.GetIsInDesignMode(this))
                return;

            _UrlSolver = urlSolver;

            DebugWindow = new BasicRelayCommand(ShowDebugWindow);
            DebugBrowser = new BasicRelayCommand(OpenDebugBrowser);
            ShowInfo = new BasicRelayCommand(DoShowInfo);

            VmDebugging = false;

            InitializeComponent();

            this.Loaded += HTMLControlBase_Loaded;    
        }