Пример #1
0
 public override bool LoadContents()
 {
     ID.LoadContents(_contents, "font", "ID");
     PASS.LoadContents(_contents, "font", "PASS");
     LOGIN.LoadContents(_contents, "font", "Login");
     return(true);
 }
Пример #2
0
 /// <summary>
 /// LoadContent will be called once per game and is the place to load
 /// all of your content.
 /// </summary>
 protected override void LoadContent()
 {
     button.LoadContents(Content, "font", "Bullet3");
     Login.LoadContents();
     // Create a new SpriteBatch, which can be used to draw textures.
     spriteBatch = new SpriteBatch(GraphicsDevice);
 }