|
I want to show progress bar in DataGrid during the processing period in a windows Application using c#. I need to show the same in the cell content click event of a data gridview, on form load, on button click etc. After hours of “googling” I found some solutions, how to show progress bar in DataGridView object so I decided to create my own custom progress bar column. Articles I found, served as a guide for me and I have picked up same ideas, haw to customize DataGridView columns.
Hi experts i bind a datagridview with a bindinglist(of Object)
the object contains a progressbar :
public class theObj
private _pb as progressbar
public sub new
_pb = new progressbar
end sub
public readonly property MyProgressBar as progressbar
get
return _pb
end get
end property
end class
the binding works but the datagridview use the 'tostring' method of the progress bar that's why i see 'system.windows.forms.progressbar'
how can i display the progress bar properly WITHOUT telling the datagridview that such column is a progress bar?
is it possible?
Thank you,
Regards.