private void DataContext_OnDataLoaded(object sender, ILoadingEventArgs <IEnumerable <ISQLServer> > e) { _INPCInvoker.NotifyPropertyChanged(ref PropertyChanged, nameof(HasData)); _INPCInvoker.NotifyPropertyChanged(ref PropertyChanged, nameof(CP4StudyIDs)); _INPCInvoker.NotifyPropertyChanged(ref PropertyChanged, nameof(CP4Environments)); _INPCInvoker.NotifyPropertyChanged(ref PropertyChanged, nameof(CP4SecurityDatabases)); _INPCInvoker.NotifyPropertyChanged(ref PropertyChanged, nameof(CP4StudyServers)); }
private void AddServer(Object Object) { if (IsAddingServer) { Core.DataContext.UpdateServersList( ); } IsAddingServer = !IsAddingServer; _INPCInvoke.NotifyPropertyChanged(ref PropertyChanged, nameof(AddServerButtonContent)); }
public void SetCurrentCulture(CultureInfo Target) { Thread.CurrentThread.CurrentCulture = CultureInfo.DefaultThreadCurrentCulture = Target; Thread.CurrentThread.CurrentUICulture = CultureInfo.DefaultThreadCurrentUICulture = Target; _INPCInvoke.NotifyPropertyChanged(ref PropertyChanged, String.Empty); }
private void ClearData( ) { ServerName = String.Empty; Password = String.Empty; SecurityDBName = String.Empty; SecurityServer = String.Empty; Username = String.Empty; _INPCInvoker.NotifyPropertyChanged(ref PropertyChanged, nameof(ServerName)); _INPCInvoker.NotifyPropertyChanged(ref PropertyChanged, nameof(Password)); _INPCInvoker.NotifyPropertyChanged(ref PropertyChanged, nameof(SecurityDBName)); _INPCInvoker.NotifyPropertyChanged(ref PropertyChanged, nameof(SecurityServer)); _INPCInvoker.NotifyPropertyChanged(ref PropertyChanged, nameof(Username)); Status = EIOState.Empty; }