コード例 #1
0
        public DragNotebook()
        {
            ButtonPressEvent   += new ButtonPressEventHandler(OnButtonPress);
            ButtonReleaseEvent += new ButtonReleaseEventHandler(OnButtonRelease);
            ChangeCurrentPage  += new ChangeCurrentPageHandler(OnPageChanged);

            AddEvents((Int32)(EventMask.AllEventsMask));
        }
コード例 #2
0
ファイル: DragNotebook.cs プロジェクト: moscrif/ide
        public DragNotebook()
        {
            ButtonPressEvent += new ButtonPressEventHandler (OnButtonPress);
            ButtonReleaseEvent += new ButtonReleaseEventHandler (OnButtonRelease);
            ChangeCurrentPage += new ChangeCurrentPageHandler(OnPageChanged);

            AddEvents ((Int32) (EventMask.AllEventsMask));
        }