* UILedBulb:边缘平滑
This commit is contained in:
parent
94de8e6962
commit
be01e1890c
BIN
Bin/SunnyUI.dll
BIN
Bin/SunnyUI.dll
Binary file not shown.
BIN
Bin/SunnyUI.pdb
BIN
Bin/SunnyUI.pdb
Binary file not shown.
Binary file not shown.
Binary file not shown.
@ -45,7 +45,6 @@
|
|||||||
//
|
//
|
||||||
this.Header.Controls.Add(this.uiLogo1);
|
this.Header.Controls.Add(this.uiLogo1);
|
||||||
this.Header.Size = new System.Drawing.Size(1024, 110);
|
this.Header.Size = new System.Drawing.Size(1024, 110);
|
||||||
this.Header.Style = Sunny.UI.UIStyle.Blue;
|
|
||||||
this.Header.MenuItemClick += new Sunny.UI.UINavBar.OnMenuItemClick(this.Header_MenuItemClick);
|
this.Header.MenuItemClick += new Sunny.UI.UINavBar.OnMenuItemClick(this.Header_MenuItemClick);
|
||||||
//
|
//
|
||||||
// uiLogo1
|
// uiLogo1
|
||||||
@ -56,7 +55,6 @@
|
|||||||
this.uiLogo1.MinimumSize = new System.Drawing.Size(300, 80);
|
this.uiLogo1.MinimumSize = new System.Drawing.Size(300, 80);
|
||||||
this.uiLogo1.Name = "uiLogo1";
|
this.uiLogo1.Name = "uiLogo1";
|
||||||
this.uiLogo1.Size = new System.Drawing.Size(300, 80);
|
this.uiLogo1.Size = new System.Drawing.Size(300, 80);
|
||||||
this.uiLogo1.Style = Sunny.UI.UIStyle.Custom;
|
|
||||||
this.uiLogo1.TabIndex = 1;
|
this.uiLogo1.TabIndex = 1;
|
||||||
this.uiLogo1.Text = "uiLogo1";
|
this.uiLogo1.Text = "uiLogo1";
|
||||||
//
|
//
|
||||||
@ -66,7 +64,6 @@
|
|||||||
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
|
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
|
||||||
this.ClientSize = new System.Drawing.Size(1024, 720);
|
this.ClientSize = new System.Drawing.Size(1024, 720);
|
||||||
this.Name = "FHeaderMainFooter";
|
this.Name = "FHeaderMainFooter";
|
||||||
this.Style = Sunny.UI.UIStyle.Blue;
|
|
||||||
this.Text = "FHeaderMainFooter";
|
this.Text = "FHeaderMainFooter";
|
||||||
this.Header.ResumeLayout(false);
|
this.Header.ResumeLayout(false);
|
||||||
this.ResumeLayout(false);
|
this.ResumeLayout(false);
|
||||||
|
@ -168,7 +168,17 @@ namespace Sunny.UI
|
|||||||
|
|
||||||
// Draw the border
|
// Draw the border
|
||||||
g.SetClip(ClientRectangle);
|
g.SetClip(ClientRectangle);
|
||||||
if (On) g.DrawEllipse(new Pen(Color.FromArgb(85, Color.Black), 1F), rectangle);
|
g.SetHighQuality();
|
||||||
|
|
||||||
|
if (On)
|
||||||
|
{
|
||||||
|
using (Pen pn = new Pen(Color.FromArgb(85, Color.Black), 1F))
|
||||||
|
{
|
||||||
|
g.DrawEllipse(pn, rectangle);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
g.SetDefaultQuality();
|
||||||
}
|
}
|
||||||
|
|
||||||
private int blinkInterval = 1000;
|
private int blinkInterval = 1000;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user