Exemplo n.º 1
0
        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);
            }
        }
Exemplo n.º 2
0
        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.");
            }
        }