public override void Init() { current = TranslateOptions.Instance; cbMinimizeToTray.Checked = current.MinimizeToTray; }
public override void Init() { current = TranslateOptions.Instance; if(current.UseEQATECMonitor) rbAllow.Checked = true; else rbNotAllow.Checked = true; }
public override void Init() { if(!portable) { string current = (string)Registry.GetValue(keyName, Constants.AppName, "Not set"); initialAutorun = current != null && current != "Not set"; cbAutorun.Checked = initialAutorun; } else { cbAutorun.Checked = false; cbAutorun.Enabled = false; } options = TranslateOptions.Instance; cbMinimizeToTray.Checked = options.MinimizeToTrayOnStartup; cbSingleInstance.Checked = options.SingleInstance; }