From 8ce1b00a8c0cf524522a7924992393b5b552828c Mon Sep 17 00:00:00 2001 From: MikeMaximus Date: Fri, 6 Jan 2017 08:20:03 -0600 Subject: [PATCH] Working fix for issue #68 --- GBM/Forms/frmMain.Designer.vb | 1 + GBM/Forms/frmMain.vb | 5 ----- 2 files changed, 1 insertion(+), 5 deletions(-) diff --git a/GBM/Forms/frmMain.Designer.vb b/GBM/Forms/frmMain.Designer.vb index 0f8a26c..29ee4b0 100644 --- a/GBM/Forms/frmMain.Designer.vb +++ b/GBM/Forms/frmMain.Designer.vb @@ -523,6 +523,7 @@ Partial Class frmMain ' Me.AutoScaleDimensions = New System.Drawing.SizeF(6.0!, 13.0!) Me.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font + Me.AutoSize = True Me.ClientSize = New System.Drawing.Size(524, 401) Me.Controls.Add(Me.pbTime) Me.Controls.Add(Me.lblStatus3) diff --git a/GBM/Forms/frmMain.vb b/GBM/Forms/frmMain.vb index 8cdb063..fccfc70 100644 --- a/GBM/Forms/frmMain.vb +++ b/GBM/Forms/frmMain.vb @@ -653,11 +653,6 @@ Public Class frmMain mgrCommon.ShowMessage(frmMain_CommandSucess, MsgBoxStyle.Exclamation) End Select - Case "refresh" - 'Redraw the main form - Me.Refresh() - mgrCommon.ShowMessage(frmMain_CommandSucess, MsgBoxStyle.Exclamation) - Case Else mgrCommon.ShowMessage(frmMain_ErrorCommandInvalid, sMainCommand, MsgBoxStyle.Exclamation) End Select