I have a grid class (will remove most of the properties to keep it short)
public class WinGrid
{
public List Rows
{
...
}
}
public class WinGridRow
{
public WinGridRow(WinGrid parent)
{
// Many properties and methods
}
}
Basically I want to inherit the Grid class but the Rows property returns a list of GridRow. The GridRow class does what I what to do but I want to inherit it and add more specific methods and properties. I what to know the best approach and to go about it. Generics? Factory?
Any help will be appreciated.
Thanks
Guest UserPosted Oct 24, 2019, 6:26 AM
Cuong MePosted Oct 24, 2019, 6:16 AM
Cuong MePosted Oct 24, 2019, 6:11 AM
Guest UserPosted Oct 24, 2019, 6:02 AM
Cuong MePosted Oct 24, 2019, 5:46 AM
Guest UserPosted Oct 24, 2019, 5:06 AM