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(); } } }
void danhsachcodinhclick(object sender, RoutedEventArgs e) { frmdscodinh dscd = new frmdscodinh(); dscd.Width = this.ActualWidth; dscd.Height = this.ActualHeight; dscd.Show(); }
private void ChildWindow_Closed(object sender, EventArgs e) { if (m_trove) { frmdscodinh dscd = new frmdscodinh(); dscd.Width = this.ActualWidth; dscd.Height = this.ActualHeight; dscd.Show(); dscd.txttim.Text = m_sdt; } }