Canguro.Controller.Grid.JointConstraintControl.notifyCellDirty C# (CSharp) Method

notifyCellDirty() private method

private notifyCellDirty ( ) : void
return void
        private void notifyCellDirty()
        {
            //constraintComboBox.Items.Clear();
            //constraintComboBox.Items.Add(Culture.Get("NoConstraint"));
            //foreach (Model.Constraint cons in Model.Model.Instance.ConstraintList)
            //    if (cons != null)
            //        constraintComboBox.Items.Add(cons);
            if (Value == null && constraintComboBox.SelectedIndex != 0)
                constraintComboBox.SelectedIndex = 0;
            else if (constraintComboBox.SelectedItem != Value)
                constraintComboBox.SelectedItem = Value;

            if (!settingValue && editingControl != null)
            {
                editingControl.EditingControlValueChanged = true;
                editingControl.EditingControlDataGridView.NotifyCurrentCellDirty(true);
            }
        }