Example #1
0
        private void ChildWindow_Closed(object sender, EventArgs e)
        {
            if (m_sdt != "")
            {
                if (m_loaiform == 1)
                {
                    frmdscodinh dscd = new frmdscodinh();
                    dscd.Width = this.ActualWidth;
                    dscd.Height = this.ActualHeight;
                    dscd.Show();
                    dscd.txttim.Text = m_sdt;
                }
                if (m_loaiform == 2)
                {
                    frmdsbdcodinh dscd = new frmdsbdcodinh();
                    dscd.Width = this.ActualWidth;
                    dscd.Height = this.ActualHeight;
                    dscd.Show();
                }

            }
        }
Example #2
0
  void danhsachcodinhclick(object sender, RoutedEventArgs e)
 {
     frmdscodinh dscd = new frmdscodinh();
     dscd.Width = this.ActualWidth;
     dscd.Height = this.ActualHeight;
     dscd.Show();
 }
Example #3
0
 private void ChildWindow_Closed(object sender, EventArgs e)
 {
     if (m_trove)
     {
         frmdscodinh dscd = new frmdscodinh();
         dscd.Width = this.ActualWidth;
         dscd.Height = this.ActualHeight;
         dscd.Show();
         dscd.txttim.Text = m_sdt;
     }
 }