Backup/CRD.WinUI/Forms/MainForm.cs
(开头部分) 26KB这里只显示每个文件的开头 60 行。登录后可以解锁完整代码。
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Reflection;
using System.Text;
using System.Windows.Forms;
using System.IO;
using CRD.Common;
using System.Drawing.Imaging;
namespace CRD.WinUI.Forms
{
public partial class MainForm : FormBase, IMainForm
{
private Bitmap maxBitmap;
private Bitmap resoreBitmap;
private Point _captionMouseUp;
private SkinForm _skinForm;
//private Bitmap skinButton;
//private Bitmap menuButton;
protected ContextMenuStrip SkinContextMenuStrip1;
public MainForm()
{
this.SetStyle(ControlStyles.DoubleBuffer | ControlStyles.AllPaintingInWmPaint, true);
InitializeComponent();
this.Controls.Remove(this.pnlBackground);
this.Controls.Remove(this.pnlRight);
this.Controls.Remove(this.pnlLeft);
this.Controls.Remove(this.pnlBottom);
this.Controls.Remove(this.pnlCaption);
}
public override string Text
{
get
{
return base.Text;
}
set
{
base.Text = value;
if (lblText != null)
this.lblText.Text = value;
}
}
public Color MainFormBackGroundColor
{
get
{
if (this.ptbTopLeft.BackgroundImage != null)
{
Bitmap bitmap = new Bitmap(this.ptbTopLeft.BackgroundImage);
this.BackColor = bitmap.GetPixel(20, 15);
return this.BackColor;
}
else
{
后面还有 628 行代码,解锁后查看完整代码
24 小时内免费解锁 3 个项目,之后 1 积分/个。 规则说明
AI 解读
登录后可用,每次 10 积分,解读结果公开显示在下面。
还没有人解读过这个文件。
