Пример #1
0
        // This adds selection to a group
        private void AddSelectionToGroup(int groupindex)
        {
            General.Interface.SetCursor(Cursors.WaitCursor);

            // Make undo
            undoredo.CreateUndo("Assign to group " + groupindex);

            // Make selection
            map.AddSelectionToGroup(0x01 << groupindex);

            General.Interface.DisplayStatus(StatusType.Action, "Assigned selection to group " + groupindex);
            General.Interface.SetCursor(Cursors.Default);
        }