Exemplo n.º 1
0
        private void launchButton_Click(object sender, EventArgs e)
        {
            Launcher dlg = new Launcher();

            dlg.Server  = Server;
            dlg.Account = Account;

            dlg.ShowDialog();

            started = dlg.Success;
            Close();
        }
Exemplo n.º 2
0
        private void launchButton_Click(object sender, EventArgs e)
        {
            Launcher dlg = new Launcher();
            dlg.Server = serverList.SelectedServer;
            dlg.Account = accountList.SelectedAccount;

            dlg.ShowDialog();

            if (dlg.Success)
            {
                Close();
            }
        }
Exemplo n.º 3
0
        private void launchButton_Click(object sender, EventArgs e)
        {
            Launcher dlg = new Launcher();

            dlg.Server  = serverList.SelectedServer;
            dlg.Account = accountList.SelectedAccount;

            dlg.ShowDialog();

            if (dlg.Success)
            {
                Close();
            }
        }
Exemplo n.º 4
0
        private void MainWindow_Load(object sender, EventArgs e)
        {
            HistoryCache.Load(HistoryFileName);

            foreach (string arg in Environment.GetCommandLineArgs())
            {
                if (arg.Replace('-', '/').StartsWith("/launchlast", StringComparison.InvariantCultureIgnoreCase))
                {
                    Launcher dlg = new Launcher();
                    dlg.StartPosition = FormStartPosition.CenterScreen;
                    dlg.Server        = serverList.SelectedServer;
                    dlg.Account       = accountList.SelectedAccount;

                    dlg.ShowDialog();

                    if (dlg.Success)
                    {
                        Close();
                    }
                }
            }
        }
Exemplo n.º 5
0
        private void MainWindow_Load(object sender, EventArgs e)
        {
            HistoryCache.Load(HistoryFileName);

            foreach (string arg in Environment.GetCommandLineArgs())
            {
                if (arg.Replace('-', '/').StartsWith("/launchlast", StringComparison.InvariantCultureIgnoreCase))
                {
                    Launcher dlg = new Launcher();
                    dlg.StartPosition = FormStartPosition.CenterScreen;
                    dlg.Server = serverList.SelectedServer;
                    dlg.Account = accountList.SelectedAccount;

                    dlg.ShowDialog();

                    if (dlg.Success)
                    {
                        Close();
                    }
                }
            }
        }
Exemplo n.º 6
0
        private void launchButton_Click(object sender, EventArgs e)
        {
            Launcher dlg = new Launcher();
            dlg.Server = Server;
            dlg.Account = Account;

            dlg.ShowDialog();

            started = dlg.Success;
            Close();
        }