Exemple #1
0
        private void OnDesignerHost_Loaded(object sender, LoadedEventArgs e)
        {
            if (_loadErrors == null)
            {
                _loadErrors = new object[0];
            }

            this.OnLoaded(new LoadedEventArgs(e.HasSucceeded, _loadErrors));
        }
Exemple #2
0
        protected virtual void OnLoaded(LoadedEventArgs e)
        {
            _loadErrors = e.Errors;
            _isLoaded   = e.HasSucceeded;

            if (Loaded != null)
            {
                Loaded(this, e);
            }
        }
Exemple #3
0
 private void OnDesignerHost_Loaded(object sender, LoadedEventArgs e)
 {
     this.OnLoaded(e);
 }