I
Ivan
I need to do custom column type for DataGridView and msdn has sample but
only for c#
I have problem converting this piece of code:
class MaskedTextBoxCell : DataGridViewTextBoxCell
{
private string mask;
private char promptChar;
private DataGridViewTriState includePrompt;
private DataGridViewTriState includeLiterals;
private Type validatingType;
public MaskedTextBoxCell() : base()
{
this.mask = "";
this.promptChar = '_';
this.includePrompt = DataGridViewTriState.NotSet;
this.includeLiterals = DataGridViewTriState.NotSet;
this.validatingType = typeof(string);
}
How do I write:
public MaskedTextBoxCell() : base()
in VB ?
Thank you,
Ivan
only for c#
I have problem converting this piece of code:
class MaskedTextBoxCell : DataGridViewTextBoxCell
{
private string mask;
private char promptChar;
private DataGridViewTriState includePrompt;
private DataGridViewTriState includeLiterals;
private Type validatingType;
public MaskedTextBoxCell() : base()
{
this.mask = "";
this.promptChar = '_';
this.includePrompt = DataGridViewTriState.NotSet;
this.includeLiterals = DataGridViewTriState.NotSet;
this.validatingType = typeof(string);
}
How do I write:
public MaskedTextBoxCell() : base()
in VB ?
Thank you,
Ivan