Esempio n. 1
0
        private void KFlyTab_TabStateChanged(object sender, TabStateChangedEventArgs e)
        {
            if (!e.IsConnected)
                _isUpToDate = false;

            if (!_isUpToDate && e.IsConnected && e.IsSelected)
            {
                Download();
            }
        }
Esempio n. 2
0
 // This method raises the Connection Event, but only if this is the selected tab
 private void RaiseTabStateChangedEvent()
 {
     TabStateChangedEventArgs newEventArgs = new TabStateChangedEventArgs(KFlyTab.TabStateChangedEvent)
         {
             IsConnected = this.IsConnected,
             IsSelected = this.IsSelected
         };
     RaiseEvent(newEventArgs);
 }
Esempio n. 3
0
 private void KFlyTab_TabStateChanged(object sender, TabStateChangedEventArgs e)
 {
 }