// Nhận dữ liệu từ file themLoaiCauThu.cs private void ThemLoaiCauThuButton_Click(object sender, EventArgs e) { themThongTin form = new themThongTin(); //form.myData = new themThongTin.getData(getValue_LoaiCauThu); //// Đặt tên cho groupBox của Dialog nhập thông tin form.Message = "Thêm Loại Cầu Thủ"; form.CacLoaiCheckBox = "Cầu Thủ Nước Ngoài"; isPlayerTypeUpdated = true; form.ShowDialog(); }
// Nhận dữ liệu từ file themLoaiBanThang.cs private void ThemLoaiBanThangButton_Click(object sender, EventArgs e) { themThongTin form = new themThongTin(); //form.myData = new themThongTin.getData(getValue_LoaiBanThang); //// Đặt tên cho groupBox của Dialog nhập thông tin form.Message = "Thêm Loại Bàn Thắng"; form.CacLoaiCheckBox = "Tính Bàn Cho Cầu Thủ"; isGoalTypeUpdated = true; form.ShowDialog(); }