예제 #1
0
 public void SetLoadIcon(bool bStatus)
 {
     if (this.InvokeRequired)
     {
         SetLoadIconCallback stDelegeate = new SetLoadIconCallback(SetLoadIcon);
         this.BeginInvoke(stDelegeate, new object[] { bStatus });
     }
     else
     {
         this.toolBtnOpen.Enabled = bStatus;
     }
 }
예제 #2
0
 public void DisableOtherIcon(bool bEnable)
 {
     if (this.InvokeRequired)
     {
         SetLoadIconCallback stDelegeate = new SetLoadIconCallback(DisableOtherIcon);
         this.BeginInvoke(stDelegeate, new object[] { bEnable });
     }
     else
     {
         this.SetDisableIcon(bEnable);
     }
 }
예제 #3
0
 public void SetWaitStatus(bool bEnable)
 {
     if (this.InvokeRequired)
     {
         SetLoadIconCallback stDelegeate = new SetLoadIconCallback(SetWaitStatus);
         this.BeginInvoke(stDelegeate, new object[] { bEnable });
     }
     else
     {
         if (bEnable)
         {
             this.SetCursor(Cursors.WaitCursor);
             this.tslblWorking.Visible = true;
         }
         else
         {
             this.SetCursor(Cursors.Default);
             this.tslblWorking.Visible = false;
         }
     }
 }
예제 #4
0
 public void SetWaitStatus(bool bEnable)
 {
     if (this.InvokeRequired)
     {
         SetLoadIconCallback stDelegeate = new SetLoadIconCallback(SetWaitStatus);
         this.BeginInvoke(stDelegeate, new object[] { bEnable });
     }
     else
     {
         if (bEnable)
         {
             this.SetCursor(Cursors.WaitCursor);
             this.tslblWorking.Visible = true;
         }
         else
         {
             this.SetCursor(Cursors.Default);
             this.tslblWorking.Visible = false;
         }
     }
 }
예제 #5
0
 public void DisableOtherIcon(bool bEnable)
 {
     if (this.InvokeRequired)
     {
         SetLoadIconCallback stDelegeate = new SetLoadIconCallback(DisableOtherIcon);
         this.BeginInvoke(stDelegeate, new object[] { bEnable });
     }
     else
     {
         this.SetDisableIcon(bEnable);
     }
 }
예제 #6
0
 public void SetLoadIcon(bool bStatus)
 {
     if (this.InvokeRequired)
     {
         SetLoadIconCallback stDelegeate = new SetLoadIconCallback(SetLoadIcon);
         this.BeginInvoke(stDelegeate, new object[] { bStatus });
     }
     else
     {
         this.toolBtnOpen.Enabled = bStatus;
     }
 }