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(); }
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; }
public FocusHandleCTL(FocusHandleList pFocusList, HandleType pFocusType, int X, int Y) : this(pFocusList, pFocusType, new Point(X, Y)) { }
public FocusHandleCTL(FocusHandleList pFocusList, HandleType pFocusType) : this(pFocusList, pFocusType, new Point(0, 0)) { }