small fixes
This commit is contained in:
@@ -25,8 +25,14 @@ public partial class MainForm : RadForm
|
||||
public MainForm()
|
||||
{
|
||||
// Read configs
|
||||
var reader = new AppSettingsReader();
|
||||
toleranceOffset = (int)reader.GetValue("toleranceOffset", typeof(int));
|
||||
try
|
||||
{
|
||||
var reader = new AppSettingsReader();
|
||||
toleranceOffset = (int)reader.GetValue("toleranceOffset", typeof(int));
|
||||
}
|
||||
catch (Exception)
|
||||
{
|
||||
}
|
||||
|
||||
// Init components
|
||||
InitializeComponent();
|
||||
@@ -605,7 +611,7 @@ public partial class MainForm : RadForm
|
||||
}
|
||||
else
|
||||
{
|
||||
radButton_StartStopListening.SvgImage = radButton_StartStopListening.SvgImage = AppGlobals.Symbols.GetSvgImage(AppSymbols.stop_cicled, SymbolSize.Small); ;
|
||||
radButton_StartStopListening.SvgImage = radButton_StartStopListening.SvgImage = AppGlobals.Symbols.GetSvgImage(AppSymbols.stop_circled, SymbolSize.Small); ;
|
||||
radButton_StartStopListening.Text = LangRes.Button_StopListening;
|
||||
enableActionExecution = true;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user