static void Main() { using (dlgTela frm = new dlgTela()) { // Show our form and initialize our graphics engine frm.Show(); if (!frm.initGfx()) { MessageBox.Show("Your card can not perform skeletal animation on " + "this file in hardware. This application will run in " + "ref mode instead."); } Application.Run(frm); } }
/// <summary> /// Create new instance of this class /// </summary> /// <param name="parent">Parent of this class</param> public HierarquiaAlojamento(dlgTela parent) { app = parent; }