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(); }
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; }