I am attaching an image to a GridView
from the resource folder. When I load this form image, it will be bind.But When calling this form from the MDIPARENT
form MDIPARENT
image will not be shown. I attach the image and code below.
Link grid image
DataGridViewImageColumn ic = new DataGridViewImageColumn(); ic.HeaderText = "Payment"; ic.Image = null; ic.Name = "cImg"; ic.Width = 50; dtGrCustBal.Columns.Add(ic); foreach (DataGridViewRow row in dtGrCustBal.Rows) { DataGridViewImageCell cell = row.Cells[10] as DataGridViewImageCell; cell.Value = Properties.Resources.icon_payment_cash_small; }
Call a child from MDIParent
CustomerBalance ChildCustBal = new CustomerBalance(); ChildCustBal.MdiParent = this; ChildCustBal.Show();
Screenshots
Download from MDI Parent:
Direct download: 
source share