示例#1
0
 void bdgphoneclick(object sender, RoutedEventArgs e)
 {            
     frmdsbdgphone bdgp = new frmdsbdgphone();
     bdgp.Width = this.ActualWidth;
     bdgp.Height = this.ActualHeight;
     bdgp.Show();
 }
示例#2
0
 private void ChildWindow_Closed(object sender, EventArgs e)
 {
     if (m_sdt != "")
     {
         if (m_loaiform == 1)
         {
             frmdsgphone dsgp = new frmdsgphone();
             dsgp.Width = this.ActualWidth;
             dsgp.Height = this.ActualHeight;
             dsgp.Show();
             dsgp.txttim.Text = m_sdt;
         }
         if (m_loaiform == 2)
         {
             frmdsbdgphone dscd = new frmdsbdgphone();
             dscd.Width = this.ActualWidth;
             dscd.Height = this.ActualHeight;
             dscd.Show();
         }                
     }
 }