public GameUI(Launch launch) { this.launch = launch; InitializeComponent(); InitPic(); GameStart(); }
public HelpUI(Launch launch) { this.DoubleBuffered = true; //设置本窗体 SetStyle(ControlStyles.UserPaint, true); SetStyle(ControlStyles.AllPaintingInWmPaint, true); // 禁止擦除背景. SetStyle(ControlStyles.DoubleBuffer, true); // 双缓冲 InitializeComponent(); this.launch = launch; this.MouseDown += launch.Launch_MouseDown; this.MouseUp += launch.Launch_MouseUp; }
public PauseUI(Launch launch) { this.launch = launch; InitializeComponent(); }
public LaunchUI(Launch launch) { InitializeComponent(); this.launch = launch; }