Fix gestione re-init e flush separato

This commit is contained in:
Samuele E. Locatelli
2019-03-15 08:51:42 +01:00
parent 1e5638d94b
commit 6d024a7d78
7 changed files with 93 additions and 31 deletions
+30 -17
View File
@@ -40,6 +40,7 @@
this.txtConfFile = new System.Windows.Forms.TextBox();
this.label3 = new System.Windows.Forms.Label();
this.groupBox2 = new System.Windows.Forms.GroupBox();
this.btnGetClientStatus = new System.Windows.Forms.Button();
this.label10 = new System.Windows.Forms.Label();
this.txtPwd = new System.Windows.Forms.TextBox();
this.label9 = new System.Windows.Forms.Label();
@@ -59,7 +60,7 @@
this.pictBox = new System.Windows.Forms.PictureBox();
this.label6 = new System.Windows.Forms.Label();
this.lblConsole = new System.Windows.Forms.Label();
this.btnGetClientStatus = new System.Windows.Forms.Button();
this.btnFlush = new System.Windows.Forms.Button();
this.statusStrip1.SuspendLayout();
this.groupBox1.SuspendLayout();
this.groupBox2.SuspendLayout();
@@ -174,6 +175,7 @@
//
this.groupBox2.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left)
| System.Windows.Forms.AnchorStyles.Right)));
this.groupBox2.Controls.Add(this.btnFlush);
this.groupBox2.Controls.Add(this.btnGetClientStatus);
this.groupBox2.Controls.Add(this.label10);
this.groupBox2.Controls.Add(this.txtPwd);
@@ -192,6 +194,16 @@
this.groupBox2.TabStop = false;
this.groupBox2.Text = "Metodi";
//
// btnGetClientStatus
//
this.btnGetClientStatus.Location = new System.Drawing.Point(525, 32);
this.btnGetClientStatus.Name = "btnGetClientStatus";
this.btnGetClientStatus.Size = new System.Drawing.Size(111, 49);
this.btnGetClientStatus.TabIndex = 24;
this.btnGetClientStatus.Text = "getClientStatus";
this.btnGetClientStatus.UseVisualStyleBackColor = true;
this.btnGetClientStatus.Click += new System.EventHandler(this.btnGetClientStatus_Click);
//
// label10
//
this.label10.AutoSize = true;
@@ -238,7 +250,7 @@
//
this.btnGetUserList.Location = new System.Drawing.Point(760, 32);
this.btnGetUserList.Name = "btnGetUserList";
this.btnGetUserList.Size = new System.Drawing.Size(118, 49);
this.btnGetUserList.Size = new System.Drawing.Size(111, 49);
this.btnGetUserList.TabIndex = 18;
this.btnGetUserList.Text = "getUserList";
this.btnGetUserList.UseVisualStyleBackColor = true;
@@ -246,9 +258,9 @@
//
// btnGetOrgCode
//
this.btnGetOrgCode.Location = new System.Drawing.Point(636, 32);
this.btnGetOrgCode.Location = new System.Drawing.Point(643, 32);
this.btnGetOrgCode.Name = "btnGetOrgCode";
this.btnGetOrgCode.Size = new System.Drawing.Size(118, 49);
this.btnGetOrgCode.Size = new System.Drawing.Size(111, 49);
this.btnGetOrgCode.TabIndex = 17;
this.btnGetOrgCode.Text = "getOrgCode";
this.btnGetOrgCode.UseVisualStyleBackColor = true;
@@ -256,9 +268,9 @@
//
// btnTryAuth
//
this.btnTryAuth.Location = new System.Drawing.Point(298, 32);
this.btnTryAuth.Location = new System.Drawing.Point(388, 32);
this.btnTryAuth.Name = "btnTryAuth";
this.btnTryAuth.Size = new System.Drawing.Size(118, 49);
this.btnTryAuth.Size = new System.Drawing.Size(111, 49);
this.btnTryAuth.TabIndex = 16;
this.btnTryAuth.Text = "tryAuthorize";
this.btnTryAuth.UseVisualStyleBackColor = true;
@@ -266,9 +278,9 @@
//
// btnInit
//
this.btnInit.Location = new System.Drawing.Point(152, 32);
this.btnInit.Location = new System.Drawing.Point(123, 32);
this.btnInit.Name = "btnInit";
this.btnInit.Size = new System.Drawing.Size(118, 49);
this.btnInit.Size = new System.Drawing.Size(111, 49);
this.btnInit.TabIndex = 15;
this.btnInit.Text = "Init";
this.btnInit.UseVisualStyleBackColor = true;
@@ -278,7 +290,7 @@
//
this.btnResetParam.Location = new System.Drawing.Point(6, 32);
this.btnResetParam.Name = "btnResetParam";
this.btnResetParam.Size = new System.Drawing.Size(118, 49);
this.btnResetParam.Size = new System.Drawing.Size(111, 49);
this.btnResetParam.TabIndex = 14;
this.btnResetParam.Text = "Reset Param";
this.btnResetParam.UseVisualStyleBackColor = true;
@@ -385,15 +397,15 @@
this.lblConsole.TabIndex = 7;
this.lblConsole.Text = "...";
//
// btnGetClientStatus
// btnFlush
//
this.btnGetClientStatus.Location = new System.Drawing.Point(512, 32);
this.btnGetClientStatus.Name = "btnGetClientStatus";
this.btnGetClientStatus.Size = new System.Drawing.Size(118, 49);
this.btnGetClientStatus.TabIndex = 24;
this.btnGetClientStatus.Text = "getClientStatus";
this.btnGetClientStatus.UseVisualStyleBackColor = true;
this.btnGetClientStatus.Click += new System.EventHandler(this.btnGetClientStatus_Click);
this.btnFlush.Location = new System.Drawing.Point(257, 32);
this.btnFlush.Name = "btnFlush";
this.btnFlush.Size = new System.Drawing.Size(111, 49);
this.btnFlush.TabIndex = 25;
this.btnFlush.Text = "Flush REDIS";
this.btnFlush.UseVisualStyleBackColor = true;
this.btnFlush.Click += new System.EventHandler(this.btnFlush_Click);
//
// MainForm
//
@@ -453,6 +465,7 @@
private System.Windows.Forms.TextBox txtUser;
private System.Windows.Forms.CheckBox chkTestMode;
private System.Windows.Forms.Button btnGetClientStatus;
private System.Windows.Forms.Button btnFlush;
}
}