While testing a WinForms control derived from UserControl I found an
error I don’t understand enough to fix. I hope someone can shed some
light on the subject. After doing some research I do understand the
issue stems from the fact UserControl is indirectly derived from
MarshalByRefObject.
Part of the control…
public partial class ProductLogControl : UserControl
{
public void InsertLogEntry(ProductLog logEntry, int position)
{
TreeNode node;
node = CreateHeader(logEntry);
AddTextNode(logEntry, node);
AddUserNode(logEntry, node);
InsertNode(node, position);
}
protected internal virtual void AddTextNode(ProductLog logEntry,
TreeNode node)
{ /* Do Stuff */ }
protected internal virtual void AddUserNode(ProductLog logEntry,
TreeNode node)
{ /* Do Stuff */ }
protected internal virtual TreeNode CreateHeader(ProductLog
logEntry)
{ /* Do Stuff */ }
protected internal virtual void InsertNode(TreeNode node, int
position)
{ /* Do Stuff */ }
}
--
You received this message because you are subscribed to the Google Groups
"Rhino.Mocks" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/rhinomocks?hl=en.