private void InitUI() { this._FromDatePicker.SelectedDate = DateTime.Today.AddDays(-(DateTime.Now.Day) + 1); this._ToDatePicker.SelectedDate = DateTime.Today.AddDays(1).AddSeconds(-1); this.QueryImg.Children.Add((UIElement)this.Resources["LogAuditQuery"]); this._BusyDecorator = new BusyDecorator(this._BusyDecoratorGrid); }
private bool InilizeUI() { if (this._App.ExchangeDataManager.IsInitializeCompleted) { this.Dispatcher.BeginInvoke((Action)delegate() { this.GetComboListData(); this._BusyDecorator = new BusyDecorator(this._BusyDecoratorGrid); }); return true; } else { return false; } }
private bool InilizeUI() { if (this._App.ExchangeDataManager.IsInitializeCompleted) { this.Dispatcher.BeginInvoke((Action)delegate() { this._BusyDecorator = new BusyDecorator(this._BusyDecoratorGrid); this.InitializeData(); this.Loaded += OpenInterestControl_Loaded; this._IsInitialized = true; }); return true; } else { return false; } }