예제 #1
0
 private void coopGamesButton_Click(object sender, EventArgs e)
 {
     Coalitions.IncooperativeGameForm F = new Coalitions.IncooperativeGameForm();
     F.StartPosition = FormStartPosition.Manual;
     F.Location      = new Point((Screen.PrimaryScreen.Bounds.Width - F.Width) / 2, 200);
     this.Hide();
     F.ShowDialog();
 }
예제 #2
0
        static void Main()
        {
            Application.EnableVisualStyles();
            Application.SetCompatibleTextRenderingDefault(false);

            //TestSelectionForm F = new TestSelectionForm();
            Coalitions.IncooperativeGameForm F = new Coalitions.IncooperativeGameForm();

            //Coalitions.TestForm F = new Coalitions.TestForm();
            //Shapley.ShapleyTask F = new Shapley.ShapleyTask();
            //StudentInitializationForm F = new StudentInitializationForm();
            //Coalitions.IncooperativeGame F = new Coalitions.IncooperativeGame();
            //Coalitions.ViewCooperativeGameForm F = new Coalitions.ViewCooperativeGameForm();
            F.StartPosition = FormStartPosition.CenterScreen;
            //Coalitions.CoalitionChooseForm F = new Coalitions.CoalitionChooseForm();
            //BimatrixGame F = new BimatrixGame();
            //F.StartPosition = FormStartPosition.CenterScreen;
            F.Show();
            //F.Top = 50;
            Application.Run();
        }