コード例 #1
0
        public AbstractDialog(ParetoCalculatorW pc)
        {
            InitializeComponent();
            ArrayList quants = pc.confsetConfspaceQuantityNames();

            foreach (String s in quants)
            {
                this.abstractCombo.Items.Add(s);
            }
        }
コード例 #2
0
        public GraphDialog(ParetoCalculatorW pc)
        {
            InitializeComponent();
            this.my_pc = pc;
            ArrayList quants = this.my_pc.confsetConfspaceQuantityNames();

            foreach (String s in quants)
            {
                this.HorizontalCombo.Items.Add(s);
                this.VerticalCombo.Items.Add(s);
            }
        }
コード例 #3
0
        public DerivedOperatorDialog(ParetoCalculatorW pc, string title)
        {
            InitializeComponent();
            this.titleLabel.Text = title;
            ArrayList quants = pc.confsetConfspaceQuantityNames();

            foreach (String s in quants)
            {
                this.quantACombo.Items.Add(s);
                this.quantBCombo.Items.Add(s);
            }
        }
コード例 #4
0
 public SelectionDialog(ParetoCalculatorW pc)
 {
     InitializeComponent();
     if (pc != null)
     {
         ArrayList l = pc.getMemoryItemStrings();
         foreach (String s in l)
         {
             this.selectionListbox.Items.Add(s);
         }
     }
 }