Exemple #1
0
 public static void init(String submitUrl, String problemID, String token, Core win)
 {
     _submitUrl = submitUrl;
     _problemID = problemID;
     _token = token;
     _window = win;
 }
Exemple #2
0
        private void btnStart_Click(object sender, EventArgs e)
        {
            // こちらのウィンドウの操作を無効化する
            this.Visible = false;

            // Core の 呼び出し
            Core c = new Core(txtServerAddress.Text, txtProblemID.Text, txtToken.Text, (rbtnSorter0.Checked ? 0 : 1));
            c.ShowDialog();
            c.Dispose();

            // こちらのウィンドウを復活させる。
            this.Visible = true;
        }