public AttemptBall(BitmapImage source, int size, MainWindow wnd) { this.Size = size; this.wnd = wnd; this.SetImage(source, size, true); }
public AnswerBall(BitmapImage source, int size, MainWindow wnd) { this.Size = size; this.wnd = wnd; this.SetImage(source, size, false); }
public static void Main(string[] args) { Application.Init (); MainWindow win = new MainWindow (); win.Show (); Application.Run (); }
private void Application_startup(object sender, StartupEventArgs e) { //THE MAIN METHOD ########### MainWindow wnd = new MainWindow(); wnd.Show(); Game game = new Game(wnd); GameManager gManager = new GameManager(game); wnd.game = game; wnd.GameManager = gManager; }
public CodeBall(BitmapImage source, int size, MainWindow wnd, BitmapImage hidden = null) { this.Size = size; this.wnd = wnd; HiddenImage = new OwnImage(false); HiddenImage.Source = hidden; HiddenImage.Width = Size; HiddenImage.Height = Size; this.SetImage(source, size, false); }