Forgive me, Bruce, but I wish you would be a little more helpful in your explanations. Please recognize that I don't have the programming skills you do, and it is for this reason that I have purchased your code and support. Perhaps including a little code in your responses would be possible. Again, I believe we paid for support and, quite frankly, your responses on this matter have been short and rather unhelpful. This may seem like a small matter to you, but it is important to my program.
I created the following subclasses to override the double-click features in both the local and remote file lists:
public class VH2OLocalFileList : FTPLocalFileList
{
protected override void fileListView_DoubleClick(object sender, System.EventArgs e)
{
// do nothing
MessageBox.Show("Local Double Click has been overwritten");
}
}//end class for changing double-click feature
public class VH2ORemoteFileList : FTPRemoteFileList
{
protected override void fileListView_DoubleClick(object sender, System.EventArgs e)
{
// do nothing
MessageBox.Show("Remote Double Click has been overwritten");
}
}//end class for changing double-click feature
Then in my main public class, I have the following methods:
protected void ftpLocalFileList1_DoubleClick(object sender, EventArgs e)
{
VH2OLocalFileList ldc = new VH2OLocalFileList();
ldc.fileListView_DoubleClick(sender, e);
}
protected void ftpRemoteFileList1_DoubleClick(object sender, EventArgs e)
{
VH2ORemoteFileList rdc = new VH2ORemoteFileList();
rdc.fileListView_DoubleClick(sender, e);
}
When I build I am getting an access error. What do you suggest?
Thank you.