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