コード例 #1
0
        private void cleardsControls()
        {
            int aCount = 0;

            while (dsControls.Count > 0)
            {
                libControls.dsControl aControl = dsControls[aCount];
                dsControls.Remove(aControl);
                aControl = null;
            }
        }
コード例 #2
0
 private void deleteControls()
 {
     foreach (libControls.dsControl aControl in dsControls)
     {
         if (aControl.Selected)
         {
             libControls.dsControl fControl = aControl;
             dsControls.Remove(fControl);
             fControl = null;
             pbxCanvas.Invalidate();
             break;
         }
     }
 }