コード例 #1
0
        private void KFlyTab_TabStateChanged(object sender, TabStateChangedEventArgs e)
        {
            if (!e.IsConnected)
                _isUpToDate = false;

            if (!_isUpToDate && e.IsConnected && e.IsSelected)
            {
                Download();
            }
        }
コード例 #2
0
ファイル: KFlyTab.cs プロジェクト: korken89/KFlyConfig2
 // 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);
 }
コード例 #3
0
 private void KFlyTab_TabStateChanged(object sender, TabStateChangedEventArgs e)
 {
 }