Beispiel #1
0
 public GameUI(Launch launch)
 {
     this.launch = launch;
     InitializeComponent();
     InitPic();
     GameStart();
 }
Beispiel #2
0
 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;
 }
Beispiel #3
0
 public PauseUI(Launch launch)
 {
     this.launch = launch;
     InitializeComponent();
 }
Beispiel #4
0
 public LaunchUI(Launch launch)
 {
     InitializeComponent();
     this.launch = launch;
 }