Пример #1
0
        private void button1_Click(object sender, EventArgs e)
        {
            //MODEL.Menu menu = new MODEL.Menu();
            //menu.ShowDialog();
            this.Visible = false;
            splash sp = new splash();

            sp.ShowDialog();
        }
Пример #2
0
        void showBanner()
        {
            splash newView = new splash();
            Grid   g       = this.FindName("container") as Grid;

            Grid.SetRow(newView, 0);
            Grid.SetRowSpan(newView, 2);
            Grid.SetColumn(newView, 0);
            Grid.SetColumnSpan(newView, 3);
            Grid.SetZIndex(newView, 1288);
            g.Children.Add(newView);
        }