Ejemplo n.º 1
0
        public ExtensiveFormGame(BimatrixGamesForm BGF, string Player1, string Player2)
        {
            InitializeComponent();
            BG    = BGF;
            Name1 = Player1;
            Name2 = Player2;
            StartingInitialization();

            //if ((BG.gp.AdParamValues.Count > 0) && (!Information.PDF_Active))
            //    viewToolStripMenuItem_Click(this, new EventArgs());
        }
Ejemplo n.º 2
0
 public FunctionEditor(Object Father, List <double> ValuesInput, ref TextBox Current, GamePosition gp)
 {
     InitializeComponent();
     if (Father is ExtensiveFormGame)
     {
         EF = (Father as ExtensiveFormGame);
     }
     else
     {
         BG = (Father as BimatrixGamesForm);
     }
     T      = Current;
     Values = ValuesInput;
     if (T.Text != "")
     {
         Function_TB.Text = T.Text;
     }
 }
Ejemplo n.º 3
0
 public void create_model_btn_Click(object sender, EventArgs e)
 {
     if ((gp.DataForm != null) && (gp.DataForm.Visible))
     {
         gp.DataForm.Focus();
     }
     else
     {
         BimatrixGamesForm form = new BimatrixGamesForm(gp);
         //D//
         DebugClass.BG = form;
         GamePosition before = gp;
         gp.DataForm        = form;
         form.StartPosition = FormStartPosition.CenterScreen;
         form.Text          = this.Text;
         form.Tag           = this;
         form.Show();
     }
 }