private void quảnLýThểLoạiToolStripMenuItem_Click(object sender, EventArgs e) { QuanLyTheLoai f = new QuanLyTheLoai(); f.MdiParent = this; f.Show(); }
private void Button_Click_4(object sender, RoutedEventArgs e) { QuanLyTheLoai quanLyTheLoai = new QuanLyTheLoai(); quanLyTheLoai.myEvent += new EventHandler(OnClosedQuanLyTheLoaiWindow); BtQuanLyTheLoai.IsEnabled = false; quanLyTheLoai.Show(); }