예제 #1
0
        /// <summary>
        /// This contructor opens the first window you will see and hides the main window
        /// </summary>
        public MainScreen()
        {
            HomeScreen hs = new HomeScreen(this);

            hs.Show();
            InitializeComponent();

            colorArray    = new SolidColorBrush[5];
            colorArray[2] = new SolidColorBrush(Color.FromRgb(0x77, 0xdd, 0x77)); // green
            colorArray[1] = new SolidColorBrush(Color.FromRgb(0xa4, 0x4b, 0xfc)); // purple
            colorArray[0] = new SolidColorBrush(Color.FromRgb(0xff, 0xa5, 0x00)); // orange
            colorArray[3] = new SolidColorBrush(Color.FromRgb(0x71, 0xae, 0xf2)); // light blue
            colorArray[4] = new SolidColorBrush(Color.FromRgb(0xea, 0x56, 0x45)); // red


            this.Hide();
        }