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