Пример #1
0
 public FormSelectDatabase()
 {
     CrossThreadHelper = new Slyce.Common.CrossThreadHelper(this);
     InitializeComponent();
     //BackColor = Slyce.Common.Colors.BackgroundColor;
     Populate();
     ucHeading1.Text = "";
     Interfaces.Events.ShadeMainForm();
 }
 public FormSelectDatabase()
 {
     CrossThreadHelper = new Slyce.Common.CrossThreadHelper(this);
     InitializeComponent();
     //BackColor = Slyce.Common.Colors.BackgroundColor;
     Populate();
     ucHeading1.Text = "";
     Interfaces.Events.ShadeMainForm();
 }
Пример #3
0
 public DistinctStatus()
 {
     CrossThreadHelper = new CrossThreadHelper(this);
     //InitializeComponent();
     EnableDoubleBuffering();
     Panel1.Dock       = DockStyle.Fill;
     Panel1.AutoScroll = true;
     Panel1.HorizontalScroll.Visible = false;
     Panel1.Parent = this;
     this.Controls.Add(Panel1);
     LayoutControls();
     Panel1.HorizontalScroll.Visible = false;
 }
Пример #4
0
 public DistinctStatus()
 {
     CrossThreadHelper = new CrossThreadHelper(this);
     //InitializeComponent();
     EnableDoubleBuffering();
     Panel1.Dock = DockStyle.Fill;
     Panel1.AutoScroll = true;
     Panel1.HorizontalScroll.Visible = false;
     Panel1.Parent = this;
     this.Controls.Add(Panel1);
     LayoutControls();
     Panel1.HorizontalScroll.Visible = false;
 }
Пример #5
0
 /// <summary>
 ///
 /// </summary>
 /// <param name="headingText"></param>
 /// <param name="text"></param>
 public SystemTrayPopup(string headingText, string text)        //, double slideOpacity, double finalOpacity, double focusedOpacity)
 {
     CrossThreadHelper = new CrossThreadHelper(this);
     this.Top          = ScreenBottom;
     this.Left         = SystemInformation.WorkingArea.Width - this.Width - 10;
     this.Visible      = false;
     InitializeComponent();
     //SetOpacities(slideOpacity, finalOpacity, focusedOpacity);
     //this.Opacity = OpacitySlide;
     //CrossThreadHelper.SetCrossThreadProperty(this, "Opacity", 0.1);
     this.BackColor = DarkColor;
     HeadingText    = headingText;
     this.Text      = text;
     //this.Height = Math.Min(SystemInformation.WorkingArea.Height, Math.Max(height, MinHeight));
     //Display();
 }
Пример #6
0
 //, double slideOpacity, double finalOpacity, double focusedOpacity)
 /// <summary>
 /// 
 /// </summary>
 /// <param name="headingText"></param>
 /// <param name="text"></param>
 public SystemTrayPopup(string headingText, string text)
 {
     CrossThreadHelper = new CrossThreadHelper(this);
     this.Top = ScreenBottom;
     this.Left = SystemInformation.WorkingArea.Width - this.Width - 10;
     this.Visible = false;
     InitializeComponent();
     //SetOpacities(slideOpacity, finalOpacity, focusedOpacity);
     //this.Opacity = OpacitySlide;
     //CrossThreadHelper.SetCrossThreadProperty(this, "Opacity", 0.1);
     this.BackColor = DarkColor;
     HeadingText = headingText;
     this.Text = text;
     //this.Height = Math.Min(SystemInformation.WorkingArea.Height, Math.Max(height, MinHeight));
     //Display();
 }