Example #1
0
        public void ShowSyncStatus()
        {
            if (this.InvokeRequired)
            {
                ShowSyncStatusDelegate dlg = new ShowSyncStatusDelegate(this.ShowSyncStatus);
                this.Invoke(dlg);
                return;
            }

            //do something with the GUI control here
            if (FoldersPanel.Visible)
            {
                //update the sync status stuff...
                FoldersPanel.UpdateSyncStatus();
            }
        }
Example #2
0
        public void ShowSyncStatus()
        {
            if (this.InvokeRequired)
            {
                ShowSyncStatusDelegate dlg = new ShowSyncStatusDelegate(this.ShowSyncStatus);
                this.Invoke(dlg);
                return;
            }

            //do something with the GUI control here
            if (FoldersPanel.Visible)
            {
                //update the sync status stuff...
                FoldersPanel.UpdateSyncStatus();
            }
        }