Пример #1
0
        private void Cmd_Item_Select(int Par_ID)
        {
            CompBlazorPaint p = Parent as CompBlazorPaint;

            p.cmd_Clear_Selection();

            p.cmd_Clear_Editing();

            p.ObjectsList.Single(x => x.ObjectID == Par_ID).Selected = true;

            p.cmd_RefreshSVG();
        }
Пример #2
0
        private void Cmd_Item_Select(int Par_ID)
        {
            CompBlazorPaint p = parent as CompBlazorPaint;


            if (!p.MultiSelect)
            {
                p.cmd_Clear_Selection();
            }

            p.cmd_Clear_Editing();

            p.ObjectsList.Single(x => x.ObjectID == Par_ID).Selected = true;

            p.cmd_RefreshSVG();
            p.Curr_Mode = BPaintMode.edit;
        }