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(); } } }
void danhsachgphoneclick(object sender, RoutedEventArgs e) { frmdsgphone dsgp = new frmdsgphone(); dsgp.Width = this.ActualWidth; dsgp.Height = this.ActualHeight; dsgp.Show(); }
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; } }