public Form1() { InitializeComponent(); this.label1.Text = this.ApplicationAssembly.GetName().Version.ToString(); updater = new SharpUpdater(this); }
public MainWindow() { InitializeComponent(); this.Label.Content = this.ApplicationAssembly.GetName().Version.ToString(); updater = new SharpUpdater(this); }
public Login() { this.InitializeComponent(); this.temp(); this.update = new SharpUpdater((ISharpUpdatable) this); this.update.doUpdate(); this.BringToFront(); if (!File.Exists("user info.json")) File.Create("user info.json"); else this.loadDetails(); }
public Form1() { try { InitializeComponent(); IniFilePath = Path.Combine(Environment.GetFolderPath(Environment.SpecialFolder.ApplicationData), "AmbiLED\\config.ini"); Read_Ini_File(); Set_LED_Positions(); this.Text = "AmbiLED Driver v" + this.ApplicationAssembly.GetName().Version.ToString() + " BETA"; updater = new SharpUpdater(this); SystemEvents.PowerModeChanged += OnPowerModeChanged; } catch (Exception ex) { //MessageBox.Show("Whoops! We have a problem!\n\n" + ex.ToString()); } }
public FrmMain() { InitializeComponent(); this.Text = ApplicationID + " v." + this.ApplcationAssembly.GetName().Version.ToString() + " by Fowler"; updater = new SharpUpdater(this); }