Source/AdvTree/NodeStyles.cs

(开头部分) 10KB

这里只显示每个文件的开头 60 行。登录后可以解锁完整代码。

using System;
using System.ComponentModel;
using System.Drawing;
using DevComponents.DotNetBar;

namespace DevComponents.AdvTree
{
	/// <summary>
	/// Class that provides predefined styles for the nodes. Styles are defined as static memeber of the class
	/// </summary>
	public class NodeStyles
	{
		private static ElementStyle s_AppleStyle=null;
		private static ElementStyle s_BlueStyle=null;
		private static ElementStyle s_BlueLightStyle=null;
		private static ElementStyle s_BlueNightStyle=null;
		private static ElementStyle s_BlueMistStyle=null;
		private static ElementStyle s_CyanStyle=null;
		private static ElementStyle s_GreenStyle=null;
		private static ElementStyle s_LemonStyle=null;
		private static ElementStyle s_MagentaStyle=null;
		private static ElementStyle s_OrangeStyle=null;
		private static ElementStyle s_OrangeLightStyle=null;
		private static ElementStyle s_PurpleStyle=null;
		private static ElementStyle s_PurpleMistStyle=null;
		private static ElementStyle s_RedStyle=null;
		private static ElementStyle s_SilverStyle=null;
		private static ElementStyle s_SilverMistStyle=null;
		private static ElementStyle s_TanStyle=null;
		private static ElementStyle s_TealStyle=null;
		private static ElementStyle s_YellowStyle=null;
		private static ElementStyle s_GrayStyle=null;
		
		/// <summary>
		/// Returns Apple element style
		/// </summary>
		public static ElementStyle Apple
		{
			get
			{
				if(s_AppleStyle==null)
					s_AppleStyle = GetStyle(ePredefinedElementStyle.Apple);
				return s_AppleStyle;
			}	
		}
		
		/// <summary>
		/// Returns Blue element style
		/// </summary>
		public static ElementStyle Blue
		{
			get
			{
				if(s_BlueStyle==null)
					s_BlueStyle= GetStyle(ePredefinedElementStyle.Blue);
				return s_BlueStyle;
			}	
		}
		
		/// <summary>
后面还有 403 行代码,解锁后查看完整代码

24 小时内免费解锁 3 个项目,之后 1 算力/个。 规则说明

AI 解读 AI

登录后可用,每次 10 算力,解读结果公开显示在下面。

还没有人解读过这个文件。