Source/ColorSchemeEditor.cs
(开头部分) 13KB这里只显示每个文件的开头 60 行。登录后可以解锁完整代码。
using System;
using System.Drawing;
using System.Collections;
using System.ComponentModel;
using System.Windows.Forms;
using System.Xml;
namespace DevComponents.DotNetBar
{
/// <summary>
/// Summary description for ColorSchemeEditor.
/// </summary>
public class ColorSchemeEditor : System.Windows.Forms.Form
{
private System.Windows.Forms.PropertyGrid propertyGrid1;
private System.Windows.Forms.GroupBox groupBox1;
/// <summary>
/// Required designer variable.
/// </summary>
private System.ComponentModel.Container components = null;
private ColorScheme m_ColorScheme=null;
private System.Windows.Forms.Button button1;
private System.Windows.Forms.Button button2;
private MenuPanel m_Menu=null;
private Bar m_SimpleBar=null;
private Bar m_FloatBar=null;
private System.Windows.Forms.Button button3;
private Bar m_PopupBar=null;
private System.Windows.Forms.Button btnSaveScheme;
private System.Windows.Forms.Button btnLoadScheme;
private System.Windows.Forms.OpenFileDialog openFileDialog1;
private System.Windows.Forms.SaveFileDialog saveFileDialog1;
public bool ColorSchemeChanged=false;
public ColorSchemeEditor()
{
//
// Required for Windows Form Designer support
//
InitializeComponent();
this.StartPosition=FormStartPosition.CenterScreen;
}
private void AddDotNetBarControls()
{
if(m_Menu!=null)
{
m_Menu.RecalcSize();
m_SimpleBar.Size=new Size(groupBox1.ClientRectangle.Width-12,16);
m_SimpleBar.RecalcSize();
m_FloatBar.Size=new Size(groupBox1.ClientRectangle.Width,16);
m_FloatBar.RecalcSize();
m_PopupBar.Size=new Size(groupBox1.ClientRectangle.Width,24);
m_PopupBar.RecalcSize();
return;
}
m_Menu=new MenuPanel();
m_Menu.PopupMenu=false;
m_Menu.Location=new Point(8,135);
后面还有 324 行代码,解锁后查看完整代码
24 小时内免费解锁 3 个项目,之后 1 算力/个。 规则说明
AI 解读 AI
登录后可用,每次 10 算力,解读结果公开显示在下面。
还没有人解读过这个文件。