Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- this.BeginInvoke((MethodInvoker)delegate
- {
- if (res.maintenance == "1")
- {
- panel1.BackColor = Color.Orange;
- flatStatusBar1.BaseColor = Color.Orange;
- flatStatusBar1.RectColor = Color.Red;
- flatStatusBar1.Text = "Maintenance en cours !";
- label_copyright.BackColor = Color.Orange;
- Connect_Button.Text = "En Maintenance";
- maintenance_perso.Visible = true;
- Connect_Button.Enabled = false;
- maintenance = true;
- }
- });
- if (res.maintenance == "0")
- {
- maintenance = false;
- checkupdate();
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement