Beispiel #1
0
        public StiNumericUpDownBase()
        {
            buttonUpBitmap   = StiImageUtils.GetImage("Stimulsoft.Controls", "Stimulsoft.Controls.Bmp.SpinUp.bmp");
            buttonDownBitmap = StiImageUtils.GetImage("Stimulsoft.Controls", "Stimulsoft.Controls.Bmp.SpinDown.bmp");

            timer.Tick += new EventHandler(Tick);
        }
        public StiOutlookPanel()
        {
            BackColor  = StiColors.Content;
            upBitmap   = StiImageUtils.GetImage("Stimulsoft.Controls", "Stimulsoft.Controls.Bmp.Up.bmp");
            downBitmap = StiImageUtils.GetImage("Stimulsoft.Controls", "Stimulsoft.Controls.Bmp.Down.bmp");

            headerStartColor         = StiColors.ControlStart;
            headerEndColor           = StiColors.ControlEnd;
            selectedHeaderStartColor = StiColors.ActiveCaptionStart;
            selectedHeaderEndColor   = StiColors.ActiveCaptionEnd;

            this.DockPadding.Left      =
                this.DockPadding.Right = 2;

            this.SetStyle(ControlStyles.ResizeRedraw, true);
            this.SetStyle(ControlStyles.AllPaintingInWmPaint, true);
            this.SetStyle(ControlStyles.UserPaint, true);
            this.SetStyle(ControlStyles.DoubleBuffer, true);
            this.SetStyle(ControlStyles.Selectable, true);

            this.Height = 50;
            this.Text   = "outlookPanel";

            SetLayout();
        }
Beispiel #3
0
 static StiButtonEditBase()
 {
     try
     {
         dropDownButtonBitmap = StiImageUtils.GetImage("Stimulsoft.Controls", "Stimulsoft.Controls.Bmp.DropDown.png");
     }
     catch
     {
     }
 }
 static StiTreeViewBox()
 {
     dropdownBitmap = StiImageUtils.GetImage("Stimulsoft.Controls", "Stimulsoft.Controls.Bmp.ComboDown.bmp");
 }
 static StiToolButton()
 {
     dropDownArrowBitmap = StiImageUtils.GetImage("Stimulsoft.Controls", "Stimulsoft.Controls.Bmp.DropDownArrow.bmp");
 }
 /// <summary>
 /// Returns bitmap of this attribute.
 /// </summary>
 /// <returns>Image.</returns>
 public Bitmap GetImage()
 {
     return(StiImageUtils.GetImage(type, bitmapName));
 }