Exemple #1
0
        private void ControlsCollection_Removed(int index, object value)
        {
            ODFFormControl ctrl = value as ODFFormControl;

            this.Node.RemoveChild(ctrl.Node);

            ctrl.RemoveFromContentCollection();
        }
Exemple #2
0
        private static void ControlsCollection_Removed(int index, object value)
        {
            ODFFormControl ctrl = (ODFFormControl)value;

            ctrl.Node.Remove();

            ctrl.RemoveFromContentCollection();
        }
Exemple #3
0
 private void ControlsCollection_Clearing()
 {
     for (int i = 0; i < _controls.Count; i++)
     {
         ODFFormControl ctrl = _controls[i] as ODFFormControl;
         if (ctrl != null)
         {
             this.Node.RemoveChild(ctrl.Node);
             ctrl.RemoveFromContentCollection();
         }
     }
 }
Exemple #4
0
 private void ControlsCollection_Clearing()
 {
     for (int i = 0; i < Controls.Count; i++)
     {
         ODFFormControl ctrl = Controls[i];
         if (ctrl != null)
         {
             ctrl.Node.Remove();
             ctrl.RemoveFromContentCollection();
         }
     }
 }