示例#1
0
 public InputFileName(string dataType)
 {
     InitializeComponent();
     this.DataType        = dataType;
     this.extension       = FileIo.GetDataTypeExtension(dataType);
     pict_extension.Image = FileIo.GetDataTypeImage(dataType);
     la_extension.Text    = string.Format(".{0}", this.extension);
 }