예제 #1
0
        // 全选
        public static void SelectAll(AxMapControl axMapControl)
        {
            if (axMapControl == null)
            {
                return;
            }
            ICommand pCommand;

            pCommand = new ControlsSelectAllCommandClass();
            pCommand.OnCreate(axMapControl.Object);
            pCommand.OnClick();
        }
 // 全选
 public static void SelectAll(AxMapControl axMapControl)
 {
     if (axMapControl == null)
     {
         return;
     }
     ICommand pCommand;
     pCommand = new ControlsSelectAllCommandClass();
     pCommand.OnCreate(axMapControl.Object);
     pCommand.OnClick();
 }