private void lậpBáoCáoThángToolStripMenuItem_Click(object sender, EventArgs e) { BaoCaoTon f = new BaoCaoTon(); f.MdiParent = this; f.Show(); }
private void Button_Click_6(object sender, RoutedEventArgs e) { BaoCaoTon baoCaoTon = new BaoCaoTon(); baoCaoTon.myEvent += new EventHandler(OnClosedBaoCaoTonWindow); BtBaoCaoTon.IsEnabled = false; baoCaoTon.Show(); }