Hi,
hi Marcin
i created a class[windows form] somthing like this
public class MyDialogForm: System.Windows.Forms.FileDialog
{
}
but when i run the object of the above class like this
MyDialogForm objDialog = new MyDialogForm();
objDialog.ShowDialog();
Iam getting an compile error like this
C:\Source\MyDialogForm .cs(13): 'MyDialogForm does not
implement inherited abstract member
'System.Windows.Forms.FileDialog.RunFileDialog(Sy stem.Windows.Forms.NativeMethods.OPENFILENAME_I)'
"FileDialog" is an abstract class which means that is contains one or
more abstract methods/properties. So, you've go to impements
those abstract members ("RunFileDialog(...)")
....But it looks that Microsoft does not include that method's
description in docs. There's no info about "NativeMethods"
class/structure??
I'm sorry but it looks that i drive You in the dead-end.
I was hoping that "FileDialog" was designed to extends its
functionality... but i was wrong. It looks like internal-sealed
class. :(
Marcin
PS: If anybody has any practise with inheriting FileDialog,
don't be afraid of post.