コード例 #1
0
    public Options_Solving_Executables()
    {
        Text = " Controller - Solver ";

        Modular = new RadioButton();

        Modular.Parent          = this;
        Modular.Text            = "Modular Controller And Solver";
        Modular.AutoSize        = true;
        Modular.Location        = new Point(10, 10);
        Modular.Checked         = RunRegistry.GetIsModular();
        Modular.CheckedChanged += new EventHandler(OnModular);

        Options_Solving_Controller ControllerPanel = new Options_Solving_Controller();

        ControllerPanel.Parent   = this;
        ControllerPanel.Location = new Point(16, 30);
        ControllerPanel.Size     = new Size(500, 80);

        Options_Solving_Solver SolverPanel = new Options_Solving_Solver();

        SolverPanel.Parent   = this;
        SolverPanel.Location = new Point(16, 120);
        SolverPanel.Size     = new Size(500, 80);

        Combined = new RadioButton();

        Combined.Parent          = this;
        Combined.Text            = "Combined Controller And Solver";
        Combined.AutoSize        = true;
        Combined.Location        = new Point(10, 230);
        Combined.Checked         = !RunRegistry.GetIsModular();
        Combined.CheckedChanged += new EventHandler(OnCombined);

        Options_Solving_Combined CombinedPanel = new Options_Solving_Combined();

        CombinedPanel.Parent   = this;
        CombinedPanel.Location = new Point(16, 250);
        CombinedPanel.Size     = new Size(500, 80);
    }
コード例 #2
0
    public Options_Solving_Executables ()
    { Text = " Controller - Solver " ;

      Modular = new RadioButton () ;

      Modular.Parent = this ;
      Modular.Text = "Modular Controller And Solver" ;
      Modular.AutoSize = true ;
      Modular.Location = new Point (10, 10) ;
      Modular.Checked = RunRegistry.GetIsModular () ;
      Modular.CheckedChanged += new EventHandler (OnModular) ;

      Options_Solving_Controller ControllerPanel = new Options_Solving_Controller () ;

      ControllerPanel.Parent = this ;
      ControllerPanel.Location = new Point (16, 30) ;
      ControllerPanel.Size = new Size (500, 80) ;

      Options_Solving_Solver SolverPanel = new Options_Solving_Solver () ;

      SolverPanel.Parent = this ;
      SolverPanel.Location = new Point (16, 120) ;
      SolverPanel.Size = new Size (500, 80) ;

      Combined = new RadioButton () ;

      Combined.Parent = this ;
      Combined.Text = "Combined Controller And Solver" ;
      Combined.AutoSize = true ;
      Combined.Location = new Point (10, 230) ;
      Combined.Checked = ! RunRegistry.GetIsModular () ;
      Combined.CheckedChanged += new EventHandler (OnCombined) ;

      Options_Solving_Combined CombinedPanel = new Options_Solving_Combined () ;

      CombinedPanel.Parent = this ;
      CombinedPanel.Location = new Point (16, 250) ;
      CombinedPanel.Size = new Size (500, 80) ;
   }