Пример #1
0
        public DesignControl(DIYReport.Interface.IRptSingleObj pDataObj)
        {
            _IsSelected = false;
            _DataObj    = pDataObj;
            (_DataObj as RptSingleObj).AfterValueChanged += new DIYReport.ReportModel.RptEventHandler(_DataObj_AfterValueChanged);

            InitializeComponent();
            _FocusList = new FocusHandleList(this);
            updateByDataObj();
        }
Пример #2
0
        public FocusHandleCTL(FocusHandleList pFocusList, HandleType pFocusType, Point pPosition)
        {
            InitializeComponent();
            _FocusType = pFocusType;
            _FocusList = pFocusList;
            setCursor(_FocusType);

            this.Resize += new EventHandler(FocusHandle_Resize);

            this.Width  = FOCUS_WIDTH;
            this.Height = FOCUS_HEIGHT;
        }
Пример #3
0
 public FocusHandleCTL(FocusHandleList pFocusList, HandleType pFocusType, int X, int Y) : this(pFocusList, pFocusType, new Point(X, Y))
 {
 }
Пример #4
0
 public FocusHandleCTL(FocusHandleList pFocusList, HandleType pFocusType) : this(pFocusList, pFocusType, new Point(0, 0))
 {
 }