Example #1
0
 public GraphSettings(MainForm f, BrandonMethod b, showResultForm s)
 {
     mainForm = f;
     brandonMethod = b;
     showResult = s;
     InitializeComponent();
 }
Example #2
0
        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);
        }