private void bntBatDau_Click_1(object sender, EventArgs e) { string pathName = ListView1.SelectedItems[0].Tag.ToString(); if (pathName == "phan1") { Phan1 frm = new Phan1(); frm.ShowDialog(); } if (pathName == "phan2") { phan2 frm = new phan2(); frm.ShowDialog(); } if (pathName == "phan3") { Phan3 frm = new Phan3(); frm.ShowDialog(); } if (pathName == "phan4") { Chuong4 frm = new Chuong4(); frm.Show(); } if (pathName == "phan5") { Phan5 frm = new Phan5(); frm.Show(); } if (pathName == "baiTapThem") { BaiTapThem frm = new BaiTapThem(); frm.Show(); } }
private void chươngIIToolStripMenuItem_Click(object sender, EventArgs e) { phan2 frm = new phan2(); frm.ShowDialog(); }