Added error handling if cookie retrieval fails

This commit is contained in:
2023-05-30 10:26:04 +02:00
parent 067e7233a0
commit 991800728e
4 changed files with 43 additions and 25 deletions
+4 -1
View File
@@ -226,6 +226,7 @@
//
this.btnResetDriver.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
this.btnResetDriver.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(51)))), ((int)(((byte)(51)))), ((int)(((byte)(51)))));
this.btnResetDriver.Enabled = false;
this.btnResetDriver.FlatStyle = System.Windows.Forms.FlatStyle.Popup;
this.btnResetDriver.ForeColor = System.Drawing.Color.White;
this.btnResetDriver.Location = new System.Drawing.Point(748, 20);
@@ -246,7 +247,7 @@
this.btnRefresh.Name = "btnRefresh";
this.btnRefresh.Size = new System.Drawing.Size(193, 33);
this.btnRefresh.TabIndex = 1;
this.btnRefresh.Text = "Get a newer image";
this.btnRefresh.Text = "Start the browser";
this.btnRefresh.UseVisualStyleBackColor = false;
this.btnRefresh.Click += new System.EventHandler(this.btnRefresh_Click);
//
@@ -273,6 +274,7 @@
// btnCreateWindow
//
this.btnCreateWindow.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(51)))), ((int)(((byte)(51)))), ((int)(((byte)(51)))));
this.btnCreateWindow.Enabled = false;
this.btnCreateWindow.FlatStyle = System.Windows.Forms.FlatStyle.Popup;
this.btnCreateWindow.ForeColor = System.Drawing.Color.White;
this.btnCreateWindow.Location = new System.Drawing.Point(213, 23);
@@ -298,6 +300,7 @@
// btnCreatZone
//
this.btnCreatZone.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(51)))), ((int)(((byte)(51)))), ((int)(((byte)(51)))));
this.btnCreatZone.Enabled = false;
this.btnCreatZone.FlatStyle = System.Windows.Forms.FlatStyle.Popup;
this.btnCreatZone.ForeColor = System.Drawing.Color.White;
this.btnCreatZone.Location = new System.Drawing.Point(6, 23);