Exemple #1
0
        public IButtonHoverType2 Initialise(ButtonType2Drawer aDrawer)
        {
            // button initialised as a type 2 non-toggle button with internal mouse tracking
            iTrackingArea = TrackerHelper.Create(this, this.Bounds, false);

            // create and initialise the cell
            ButtonHoverCellType2 cell = new ButtonHoverCellType2(aDrawer);

            Initialise(cell);

            return(cell);
        }
Exemple #2
0
 public ButtonHoverCellType2(ButtonType2Drawer aDrawerOn, ButtonType2Drawer aDrawerOff)
 {
     iDrawerOn  = aDrawerOn;
     iDrawerOff = aDrawerOff;
 }
Exemple #3
0
 public ButtonHoverCellType2(ButtonType2Drawer aDrawer)
     : this(aDrawer, aDrawer)
 {
 }
 public ButtonHoverCellType2()
 {
     iDrawerOff = new ButtonType2Drawer();
     iDrawerOn  = new ButtonType2Drawer();
 }