void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) { switch (connectionId) { case 1: this.root = ((Technewlogic.WpfDialogManagement.WaitProgressDialogControl)(target)); return; } this._contentLoaded = true; }
private WaitProgressDialog( IDialogHost dialogHost, DialogMode dialogMode, bool showWaitAnimation, Dispatcher dispatcher) : base(dialogHost, dialogMode, dispatcher) { _waitProgressDialogControl = new WaitProgressDialogControl(showWaitAnimation); SetContent(_waitProgressDialogControl); }