프로젝트

일반

사용자정보

통계
| 브랜치(Branch): | 개정판:

markus / KCOM / Common / SelectionSet.cs @ a5b465dc

이력 | 보기 | 이력해설 | 다운로드 (1.56 KB)

1
using KCOM.Common;
2
using KCOM.Controls;
3
using KCOM.Views;
4
using MarkupToPDF.Common;
5
using MarkupToPDF.Controls.Parsing;
6
using Newtonsoft.Json;
7
using Newtonsoft.Json.Converters;
8
using Newtonsoft.Json.Linq;
9
using Newtonsoft.Json.Serialization;
10
using System;
11
using System.Collections;
12
using System.Collections.Generic;
13
using System.ComponentModel;
14
using System.Data;
15
using System.IO;
16
using System.Linq;
17
using System.Reflection;
18
using System.Runtime.Serialization.Formatters;
19
using System.Runtime.Serialization.Formatters.Binary;
20
using System.Runtime.Serialization.Json;
21
using System.Text;
22
using System.Windows;
23
using System.Windows.Media;
24
using System.Xml;
25
using System.Xml.Serialization;
26

    
27
namespace KCOM
28
{
29
    public class SelectionSet
30
    {
31
        private static readonly SelectionSet _instance = new SelectionSet();
32

    
33
        // Explicit static constructor to tell C# compiler
34
        // not to mark type as beforefieldinit
35
        static SelectionSet()
36
        {
37
        }
38

    
39
        private SelectionSet()
40
        {
41
        }
42

    
43
        public static SelectionSet Instance
44
        {
45
            get
46
            {
47
                return _instance;
48
            }
49
        }
50

    
51
        /// <summary>
52
        /// Control Select
53
        /// </summary>
54
        /// <author>humkyung</author>
55
        /// <date>2019.06.13</date>
56
        /// <param name="Control"></param>
57
        /// <param name="dragrect"></param>
58
        /// <returns></returns>
59
        public Boolean SelectControl(CommentUserInfo control, Rect dragrect)
60
        {
61
            return dragrect.Contains(control.ItemRect);
62
        }
63
    }
64
}
클립보드 이미지 추가 (최대 크기: 500 MB)