/// <summary> /// The main entry point for the application. /// </summary> static void Main(string[] args) { using (var game = new AnimationDemo()) { game.Run(); } }
private void tsmiAnimation_Click(object sender, EventArgs e) { AnimationDemo frm = new AnimationDemo(); frm.MdiParent = this; frm.Show(); }
protected override void OnCreate(Bundle bundle) { base.OnCreate(bundle); AnimationDemo.Activity = this; var g = new AnimationDemo(); SetContentView(g.Window); g.Run(); }
static void Main( string[] args ) { using (var game = new AnimationDemo()) { if (DevCon.Prepare( game, @"..\..\..\Content\Content.xml", "Content" )) { game.Run( args ); } } }
private void OnBtnAnimationDemo(object sender, RoutedEventArgs e) { AnimationDemo w = new AnimationDemo(); w.ShowDialog(); }