Beispiel #1
0
 public void initialize(ControllerGUI controller, Main main, ButtonsOptions btnopt, FilterOptions ft, HeavyTasks heavy)
 {
     this.main       = main;
     this.controller = controller;
     addPane         = new Add_pane(controller, this, btnopt, ft);
     this.heavy      = heavy;
     exported        = exported;
 }
Beispiel #2
0
 public Main_pane()
 {
     controller = new ControllerGUI();
     InitializeComponent();
     string[] values = Patient.matrixE();
     cb_filter.Items.AddRange(values);
     file = new OpenFileDialog();
 }
 public Add_pane(ControllerGUI controller, GridPatients grid, ButtonsOptions btnopt, FilterOptions ft)
 {
     InitializeComponent();
     this.ft         = ft;
     this.btnopt     = btnopt;
     this.controller = controller;
     this.grid       = grid;
 }
Beispiel #4
0
 public void inicialize(ControllerGUI controller, GridPatients gridPatiens, FilterOptions filterOptions)
 {
     this.controller    = controller;
     this.gridPatiens   = gridPatiens;
     file               = new OpenFileDialog();
     this.filterOptions = filterOptions;
     btn_new.Enabled    = false;
     btn_solve.Enabled  = false;
 }
Beispiel #5
0
 public void inicialize(ControllerGUI controller, GridPatients gridPatients)
 {
     string[] values = { Patient.ID,          Patient.AGE,         Patient.SEX,    Patient.TYPE_PAIN,      Patient.BLOOD_PRESSURE,
                         Patient.CHOLESTEROL, Patient.LEVEL_SUGAR, Patient.ANGINA, Patient.RESULT_ELECTRO,
                         Patient.HEART_RATE };
     first = true;
     txt_accuracy.Visible         = false;
     btn_showDecisionTree.Enabled = false;
     cb_filter.Items.AddRange(values);
     this.controller   = controller;
     this.gridPatients = gridPatients;
 }
        public Main()
        {
            stop = false;
            InitializeComponent();
            HeavyTasks heavy = new HeavyTasks(this);

            heavy.CallbackExcel      += CallbackLoadExcel;
            heavy.CallbackTraining   += CallbackActualiceProgess;
            heavy.CallbackExperiment += CallbackLoadExperiment;
            this.heavy        = heavy;
            visualizationPane = new VisualizationForm();
            controller        = new ControllerGUI(visualizationPane.getPtbDecision(), visualizationPane.getPtbC45());
            startApp1.initialize(this);
            filterOptions1.inicialize(controller, gridPatients1);
            gridPatients1.initialize(controller, this, buttonsOptions1, filterOptions1, heavy);
            buttonsOptions1.inicialize(controller, gridPatients1, filterOptions1);
            visualizationPane.initialize(controller);
        }
 public void initialize(ControllerGUI controller)
 {
     this.controller       = controller;
     ptb_TreeVisualitation = controller.miHospital.ptbDecision;
 }