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

            AddEvents((Int32)(EventMask.AllEventsMask));
        }
Exemple #2
0
        public DragNotebook()
        {
            ButtonPressEvent += new ButtonPressEventHandler (OnButtonPress);
            ButtonReleaseEvent += new ButtonReleaseEventHandler (OnButtonRelease);
            ChangeCurrentPage += new ChangeCurrentPageHandler(OnPageChanged);

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