コード例 #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
ファイル: CompListItem.cs プロジェクト: w8w8w8/BlazorPaint
        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;
        }