예제 #1
0
        private void BTN_home_Click(object sender, RoutedEventArgs e)
        {
            window_container.Children.Clear();
            uc_home my_home = new uc_home();

            window_container.Children.Add(my_home);
        }
        private void button10_Click(object sender, EventArgs e)
        {
            SidePanel.Show();
            movesidepanel(btnhome);
            uc_home hh = new uc_home();

            addcontroltopanel(hh);
            label4.Text = "Home";
        }
        public Form1()
        {
            InitializeComponent();
            timertime.Start();
            uc_home hh = new uc_home();

            addcontroltopanel(hh);
            panelwidth = panelleft.Width;
            iscollapse = false;
        }