Exemple #1
0
        private ThumbButton ToThumbButton()
        {
            LOG.Debug("Convert to ThumbButton...");

            ThumbButton btn = new ThumbButton();

            btn.Bitmap = 0;
            btn.Flags  = options;
            btn.Icon   = Icon.Handle;
            btn.Id     = ID;
            btn.Mask   = Mask;
            btn.Tip    = ToolTip;

            LOG.Debug(">>> OK");
            return(btn);
        }
        private ThumbButton ToThumbButton()
        {
            LOG.Debug("Convert to ThumbButton...");

            ThumbButton btn = new ThumbButton();
            btn.Bitmap = 0;
            btn.Flags = options;
            btn.Icon = Icon.Handle;
            btn.Id = ID;
            btn.Mask = Mask;
            btn.Tip = ToolTip;

            LOG.Debug(">>> OK");
            return btn;
        }