private void addButton_Click(object sender, RoutedEventArgs e) { int index; if (ClientLauncher.Launch(MainWindow.CurrentOptions, out index)) { UOM.SetStatusLabel(Strings.Clientstarted); } else { UOM.SetStatusLabel(Strings.Errorstartingclient); MessageBox.Show(Strings.Errorstartingclient, Strings.Error); } }
private void addButton_Click(object sender, RoutedEventArgs e) { int index; if (ClientLauncher.Launch(MainWindow.CurrentOptions, out index)) { labelStatus.Content = "Status : UO client started"; } else { labelStatus.Content = "Status : Error starting client"; MessageBox.Show("Error launching client, it may be an unknown version."); } }