Beispiel #1
0
        public App()
        {
            Resources = new GlobalStyles().Resources;
            Settings.generator = new Random ();

            MainPage = new NavigationPage (new Start ());
        }
Beispiel #2
0
        void InitializeVariables()
        {
            Resources = new GlobalStyles().Resources;

            for (int i = 0; i < Settings.alphabet.Length / Settings.columns; i++)
                grdButtons.RowDefinitions.Add (new RowDefinition () { Height = Settings.size });

            for (int i = 0; i < Settings.columns; i++)
                grdButtons.ColumnDefinitions.Add (new ColumnDefinition () { Width = Settings.size });
        }