예제 #1
0
        private void Window_Loaded(object sender, RoutedEventArgs e)
        {
            PageDangNhap dn = new PageDangNhap();

            dn.ShowInTaskbar = false;
            dn.ShowDialog();
        }
예제 #2
0
        private void btndangxuat_Click(object sender, RoutedEventArgs e)
        {
            btnkhuvuc.IsEnabled   = false;
            btnban.IsEnabled      = false;
            btnthucdon.IsEnabled  = false;
            btngiamgia.IsEnabled  = false;
            btnthongke.IsEnabled  = false;
            btntaikhoan.IsEnabled = false;
            btnphucvu.IsEnabled   = false;
            btndangxuat.IsEnabled = false;
            btnthoat.IsEnabled    = false;
            PageDangNhap dn = new PageDangNhap();

            dn.ShowDialog();
        }
예제 #3
0
 public PageDangNhap()
 {
     InitializeComponent();
     dn = this;
     txttendangnhap.Focus();
 }