public AboutBox() { InitializeComponent(); DarkTheme.Initialize(this); Text = String.Format("关于 {0}", AssemblyTitle); labelProductName.Text = AssemblyProduct; labelVersion.Text = String.Format("版本 {0}", AssemblyVersion); labelCopyright.Text = AssemblyCopyright; labelCompanyName.Text = AssemblyCompany; textBoxDescription.Text = AssemblyDescription; }
public ArrayParser() { InitializeComponent(); DarkTheme.Initialize(this); frameRoot.ValueChanged += (object sender, EventArgs e) => { if (!isSettingValue) { SaveEditedValue(); } }; }
private void SetTheme() { DarkTheme.Initialize(this); fctbJson.BackColor = DarkTheme.PressedColor; fctbJson.ServiceColors.CollapseMarkerBackColor = DarkTheme.BackColor; fctbJson.ServiceColors.CollapseMarkerBorderColor = DarkTheme.ForeColor; fctbJson.ServiceColors.CollapseMarkerForeColor = DarkTheme.ForeColor; fctbJson.ServiceColors.ExpandMarkerBackColor = DarkTheme.BackColor; fctbJson.ServiceColors.ExpandMarkerBorderColor = DarkTheme.ForeColor; fctbJson.ServiceColors.ExpandMarkerBorderColor = DarkTheme.ForeColor; fctbJson.IndentBackColor = DarkTheme.BackColor; fctbJson.ChangeFontSize(6); }
public Editor() { InitializeComponent(); DarkTheme.Initialize(this); // 你tm有本事写在一行啊!!! frameParserRoot.ValueChanged += (object sender, EventArgs e) => { if (!isSettingJson) { MainForm.GetInstance().IsChanged = true; } }; }
private void SetTheme() { DarkTheme.Initialize(this); menuTop.Renderer = new BetterMenuStripRenderer(); lblFuckGdi.BackColor = DarkTheme.HoverColor; foreach (ToolStripItem i in menuTop.Items) { i.BackColor = BackColor; i.ForeColor = ForeColor; } foreach (ToolStripItem i in smnuDataPack.DropDownItems) { i.BackColor = BackColor; i.ForeColor = ForeColor; } foreach (ToolStripItem i in smnuHelp.DropDownItems) { i.BackColor = BackColor; i.ForeColor = ForeColor; } lblInfoBar.Font = new Font(lblInfoBar.Font.FontFamily, 15f); }
public TextParser() { InitializeComponent(); DarkTheme.Initialize(this); }
public NullBooleanParser() { InitializeComponent(); DarkTheme.Initialize(this); }
public NumberParser() { InitializeComponent(); DarkTheme.Initialize(this); }