Example #1
0
 void bdcodinhclick(object sender, RoutedEventArgs e)
 {
     frmdsbdcodinh bdcd = new frmdsbdcodinh();
     bdcd.Width = this.ActualWidth;
     bdcd.Height = this.ActualHeight;
     bdcd.Show();
 }
Example #2
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();
                }

            }
        }