private void Starter_Load(object sender, EventArgs e) { settingsWindow = new StarterSettings { CustomImages = new CustomImages { JetImagePath = "#std", SoldierImagePath = "#std", TankImagePath = "#std" } }; Version local = GetVersion(); Version remote = GetOnlineVersion(); labelVersion.Text = "Version: " + GetVersion().ToString(); if (local.CompareTo(remote) < 0) { labelVersion.Text += "(Neue Version verfügbar)"; } }
private void ButtonSettings_Click(object sender, EventArgs e) { settingsWindow = new StarterSettings(); settingsWindow.ShowDialog(); }