Exemplo n.º 1
0
 public override void Destroy()
 {
     updateStatusBarLagger.Dispose();
     if (syncWindow != null)
     {
         syncWindow.Destroy();
         syncWindow = null;
     }
     base.Destroy();
 }
Exemplo n.º 2
0
        protected void btnSync_Click(object sender, EventArgs e)
        {
            if (!PerformLogin())
            {
                return;
            }

            if (syncWindow == null)
            {
                syncWindow = new SyncWindow();
                syncWindow.StatusChanged += syncWindow_StatusChanged;
            }
            syncWindow.Modal = false;
            syncWindow.Show();
        }