示例#1
0
 public Win32(IRender <IW32Win> renderer, IController <IWFWin> controller, WindowCreateOptions co)
 {
     ProcessCreateOptions(co);
     hookAction = nf =>
     {
         renderer.Init(this, nf);
         controller.Init(this, nf);
         winForm.Shown       += (o, e) => renderer.BeginRender();
         winForm.FormClosing += (o, e) => renderer.EndRender();
         nf.window            = this;
     };
 }