コード例 #1
0
ファイル: NewParamForm.cs プロジェクト: DeadHipo/Brandon
 public NewParamForm(NewExperimentForm newExperimentForm)
 {
     InitializeComponent();
     form = newExperimentForm;
 }
コード例 #2
0
ファイル: MainForm.cs プロジェクト: DeadHipo/Brandon
        public MainForm()
        {
            InitializeComponent();
            this.toolBar1 = new ToolBar();
            this.graph3D = new ToolBarButton();
            resultForm = new Result(this);
            showRes = new showResultForm();
            bran = new BrandonMethod(this,Application.StartupPath.ToString(), resultForm);
            corel = new Correllation(this);

            graphSettings = new GraphSettings(this, bran, showRes);

            newExperimentForm = new NewExperimentForm(this);
            this.graph3D.Name = "graph3D";
            this.graph3D.Pushed = true;
            this.graph3D.Style = ToolBarButtonStyle.ToggleButton;
            this.graph3D.Text = "3D";

            this.toolBar1.Buttons.Add(this.graph3D);
            this.toolBar1.Name = "toolBar1";
            this.toolBar1.TextAlign = ToolBarTextAlign.Right;

            this.toolBar1.ButtonClick += new ToolBarButtonClickEventHandler(this.toolBar1_ButtonClick);
        }