private void imageSliderThietBi_MouseDoubleClick(object sender, MouseEventArgs e) { if (imageSliderThietBi.Images.Count > 0) { frmShowImage frm = new frmShowImage(listHinhAnh); frm.ShowDialog(); } }
private void imgNhanVien_MouseDoubleClick(object sender, MouseEventArgs e) { if (imgNhanVien.Images.Count > 0) { frmShowImage frm = new frmShowImage(listHinhAnhNhanVien); frm.ShowDialog(); } }
private void imageSlider1_MouseDoubleClick(object sender, MouseEventArgs e) { if (listHinh != null && listHinh.Count > 0) { frmShowImage frm = new frmShowImage(listHinh); frm.ShowDialog(); } }
private void imgPhong_MouseDoubleClick(object sender, MouseEventArgs e) { if (imgPhong.Images.Count > 0) { frmShowImage frm = new frmShowImage(listHinhAnhPhong); frm.ShowDialog(); } }
private void imageSlider1_MouseDoubleClick(object sender, MouseEventArgs e) { if (imageSlider1.Images.Count > 0) { frmShowImage frm = new frmShowImage(listHinh); frm.ShowDialog(); } }
public void ShowImage(string ProductName, string ImagePath) { frmShowImage frmShowImage = new frmShowImage(ProductName, ImagePath); frmShowImage.ShowDialog(); }