Advertisement
Guest User

Untitled

a guest
Mar 24th, 2019
89
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C# 0.89 KB | None | 0 0
  1.  this.BeginInvoke((MethodInvoker)delegate
  2.                 {
  3.                     if (res.maintenance == "1")
  4.                     {
  5.                         panel1.BackColor = Color.Orange;
  6.                         flatStatusBar1.BaseColor = Color.Orange;
  7.                         flatStatusBar1.RectColor = Color.Red;
  8.                         flatStatusBar1.Text = "Maintenance en cours !";
  9.                         label_copyright.BackColor = Color.Orange;
  10.                         Connect_Button.Text = "En Maintenance";
  11.                         maintenance_perso.Visible = true;
  12.                         Connect_Button.Enabled = false;
  13.                         maintenance = true;
  14.                     }
  15.                 });
  16.                 if (res.maintenance == "0")
  17.                 {
  18.                    
  19.                     maintenance = false;
  20.                     checkupdate();
  21.                 }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement