Esempio n. 1
0
 protected void SetConnState(DataAccess.ConnState connState)
 {
     this.myStatusImage          = (connState == DataAccess.ConnState.Connected ? Properties.Resources.connected : Properties.Resources.disconnected);
     this.myStatusToolTipText    = (connState == DataAccess.ConnState.Connected ? Languages.Libs.GetString("connected") : Languages.Libs.GetString("noConnection"));
     DataAccess.Libs.myConnState = connState;
 }
Esempio n. 2
0
 protected void OnDataAccessConnStateChanged(DataAccess.ConnState connState)
 {
     SetConnState(connState);
 }