예제 #1
0
 public void HideWaitingSyncTransactionPanel()
 {
     if (IsShowedWaitingTransaction)
     {
         ClassFormPhase.WalletXiropht.Invoke((MethodInvoker) delegate()
         {
             _panelWaitingSync.Visible = false;
             _panelWaitingSync.Hide();
             IsShowedWaitingTransaction = false;
             Refresh();
         });
     }
 }
 public void HideWaitingSyncBlockPanel()
 {
     if (IsShowedWaitingBlock)
     {
         Program.WalletXiropht.Invoke((MethodInvoker) delegate
         {
             _panelWaitingSync.Visible = false;
             _panelWaitingSync.Hide();
             IsShowedWaitingBlock = false;
             UpdateStyles();
         });
     }
 }
예제 #3
0
        public void HideWaitingSyncTransactionPanel()
        {
            void MethodInvoker() => _panelWaitingSync.Hide();

            BeginInvoke((MethodInvoker)MethodInvoker);
        }