Exemple #1
0
        private void LoadFactors()
        {
            _factors = UMLFactorCollection.GetFactors(false);
            BindingListView <UMLFactor> view = new BindingListView <UMLFactor>(_factors);

            this.uMLFactorCollectionBindingSource.DataSource = view;
            view.RemovingItem += new RemoveEventHandler <UMLFactor>(view_RemovingItem);
        }
Exemple #2
0
        private void btnReset_Click(object sender, EventArgs e)
        {
            if (MessageBox.Show("Do you want rest the factors", "", MessageBoxButtons.OKCancel) == DialogResult.OK)
            {
                HelperEstimation.ResetProfile();

                _factors = UMLFactorCollection.GetFactors(true);

                BindingListView<UMLFactor> view = new BindingListView<UMLFactor>(_factors);
                this.uMLFactorCollectionBindingSource.DataSource = view;
                view.RemovingItem += new RemoveEventHandler<UMLFactor>(view_RemovingItem);
            }
        }                
Exemple #3
0
        private void btnReset_Click(object sender, EventArgs e)
        {
            if (MessageBox.Show("Do you want rest the factors", "", MessageBoxButtons.OKCancel) == DialogResult.OK)
            {
                HelperEstimation.ResetProfile();

                _factors = UMLFactorCollection.GetFactors(true);

                BindingListView <UMLFactor> view = new BindingListView <UMLFactor>(_factors);
                this.uMLFactorCollectionBindingSource.DataSource = view;
                view.RemovingItem += new RemoveEventHandler <UMLFactor>(view_RemovingItem);
            }
        }
Exemple #4
0
 private void LoadFactors()
 {
     _factors = UMLFactorCollection.GetFactors(false);
     BindingListView<UMLFactor> view = new BindingListView<UMLFactor>(_factors);
     this.uMLFactorCollectionBindingSource.DataSource = view;            
     view.RemovingItem += new RemoveEventHandler<UMLFactor>(view_RemovingItem);
 }
Exemple #5
0
 public FactorList(UMLFactorCollection factors)
 {
     InitializeComponent();
     _factors = factors.Clone();
     LoadFactors();
 }
Exemple #6
0
 public FactorList(UMLFactorCollection factors)
 {
     InitializeComponent();
     _factors = factors.Clone();
     LoadFactors();
 }