Source/BarEditor.cs
(开头部分) 66KB这里只显示每个文件的开头 60 行。登录后可以解锁完整代码。
using System;
using System.Drawing;
using System.Collections;
using System.ComponentModel;
using System.Windows.Forms;
namespace DevComponents.DotNetBar
{
/// <summary>
/// Summary description for BarEditor.
/// </summary>
public class BarEditor : System.Windows.Forms.Form
{
private System.Windows.Forms.Panel panel1;
private System.Windows.Forms.TreeView barTree;
private System.Windows.Forms.PropertyGrid propertyGrid1;
private System.Windows.Forms.Splitter splitter1;
private System.ComponentModel.IContainer components;
private DevComponents.DotNetBar.DockSite barTopDockSite;
private DevComponents.DotNetBar.DockSite barBottomDockSite;
private DevComponents.DotNetBar.DockSite barLeftDockSite;
private DevComponents.DotNetBar.DockSite barRightDockSite;
private DevComponents.DotNetBar.DotNetBarManager barManager;
private System.Windows.Forms.ImageList imageList;
private DotNetBarManager m_DotNetBar;
private Bar m_Bar=null;
private TreeNode m_BarsNode=null,m_CategoriesNode=null,m_PopupsNode=null;
private System.Windows.Forms.Button btnClose;
private System.Windows.Forms.Button btnCancel;
private System.Windows.Forms.OpenFileDialog m_OpenFileDialog;
private Hashtable m_catTable;
private System.Windows.Forms.SaveFileDialog m_SaveFileDialog;
private System.Windows.Forms.ImageList m_BarImages;
private string m_DefinitionFileName="";
private bool m_ShowItemText=true;
private GridViewSubclass m_GridViewSubclass=null;
private bool m_DataChanged=false;
private HTMLHelp m_HtmlHelp=null;
internal IDesignerServices _barDesigner=null;
public BarEditor(DotNetBarManager dotnetbar)
{
m_DotNetBar=dotnetbar;
Initialize();
}
public BarEditor(Bar bar)
{
m_Bar=bar;
Initialize();
}
private void Initialize()
{
InitializeComponent();
if(m_Bar!=null)
propertyGrid1.BrowsableAttributes=new AttributeCollection(new Attribute[] {BrowsableAttribute.Yes});
后面还有 2046 行代码,解锁后查看完整代码
24 小时内免费解锁 3 个项目,之后 1 算力/个。 规则说明
AI 解读 AI
登录后可用,每次 10 算力,解读结果公开显示在下面。
还没有人解读过这个文件。