Beispiel #1
0
        private void AddButtonsToPage()
        {
            ButtonHelper.CreateButtonList(ButtonListGridView);
            Color backgroundColor = new Color()
            {
                R = 121, G = 124, B = 129, A = 255
            };                                                                          //"gray"

            ButtonHelper.AddButton("Zobacz listę linii", "Linie", "\xE806", backgroundColor, MainMenuButton.ButtonType.Lines);
            ButtonHelper.AddButton("Zobacz listę przystanków", "Przystanki", "\xE174", backgroundColor, MainMenuButton.ButtonType.Stops);
            ButtonHelper.AddButton("Zobacz ulubione", "Ulubione", "\xE082", backgroundColor, MainMenuButton.ButtonType.Favourites);
            ButtonHelper.AddButton("Zobacz komunikaty", "Komunikaty", "\xEC15", backgroundColor, MainMenuButton.ButtonType.Communicates);
        }