コード例 #1
0
ファイル: TopMenuScene.cs プロジェクト: KommuSoft/Zertz
 public override void OnLoad(EventArgs e)
 {
     oglbcs = new OpenGLLargeButtonControl[5];
     for(int i = 0x00; i < oglbcs.Length; i++) {
         oglbcs[i] = new OpenGLLargeButtonControl();
         oglbcs[i].Text = buttonTexts[i];
         this.ComponentContainer.Add(oglbcs[i]);
     }
     oglbcs[0x00].OnLoad(e);
     this.OnResize(e);
 }
コード例 #2
0
 public override void OnLoad(EventArgs e)
 {
     oglbcs = new OpenGLLargeButtonControl[5];
     for (int i = 0x00; i < oglbcs.Length; i++)
     {
         oglbcs[i]      = new OpenGLLargeButtonControl();
         oglbcs[i].Text = buttonTexts[i];
         this.ComponentContainer.Add(oglbcs[i]);
     }
     oglbcs[0x00].OnLoad(e);
     this.OnResize(e);
 }