Exemplo n.º 1
0
        private void ThucUongBtn_Click_1(object sender, RoutedEventArgs e)
        {
            ThucUong_UC tu = new ThucUong_UC();

            show.Children.Clear();
            show.Children.Add(tu);
        }
Exemplo n.º 2
0
        public MainWindowNV(string id)
        {
            InitializeComponent();
            ThucUong_UC th = new ThucUong_UC();

            show.Children.Clear();
            show.Children.Add(th);
            ID          = id;
            ten.Content = new Database().ExcuteQuery("select HoTen from NhanVien where ID='" + ID + "'").Rows[0][0];
        }