예제 #1
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();
         }                
     }
 }
예제 #2
0
 void danhsachgphoneclick(object sender, RoutedEventArgs e)
 {
     frmdsgphone dsgp = new frmdsgphone();
     dsgp.Width = this.ActualWidth;
     dsgp.Height = this.ActualHeight;
     dsgp.Show();
 }
예제 #3
0
 private void ChildWindow_Closed(object sender, EventArgs e)
 {
     if (m_trove)
     {
         frmdsgphone dsgp = new frmdsgphone();
         dsgp.Width = this.ActualWidth;
         dsgp.Height = this.ActualHeight;
         dsgp.Show();
         dsgp.txttim.Text = m_sdt;
     }
 }