public FormQRCodeParam(TDCodeParam _data) { InitializeComponent(); this.cmB_ModulGapRowMax.DataSource = System.Enum.GetNames(typeof(enumNoSmallBig)); this.cmB_ModulGapRowMin.DataSource = System.Enum.GetNames(typeof(enumNoSmallBig)); this.cmB_ModulGapColMax.DataSource = System.Enum.GetNames(typeof(enumNoSmallBig)); this.cmB_ModulGapColMin.DataSource = System.Enum.GetNames(typeof(enumNoSmallBig)); this.cmB_Robustness.DataSource = System.Enum.GetNames(typeof(enumnoyes)); this.cmB_Mirrored.DataSource = System.Enum.GetNames(typeof(enumMirrored)); this.cmB_StrictQuitZone.DataSource = System.Enum.GetNames(typeof(enumnoyes)); this.cmB_Polarity.DataSource = System.Enum.GetNames(typeof(enumPolarity)); this.cmB_DecodeHance.DataSource = System.Enum.GetNames(typeof(enumDecodeHance)); qRCodeParam = (QRCodeParam)_data.Clone(); Init(); }
public FormDMCodeParam(TDCodeParam _data) { InitializeComponent(); this.cmB_ModulGapRowMax.DataSource = System.Enum.GetValues(typeof(enumNoSmallBig)); this.cmB_ModulGapRowMin.DataSource = System.Enum.GetValues(typeof(enumNoSmallBig)); this.cmB_ModulGapColMax.DataSource = System.Enum.GetValues(typeof(enumNoSmallBig)); this.cmB_ModulGapColMin.DataSource = System.Enum.GetValues(typeof(enumNoSmallBig)); this.cmB_Robustness.DataSource = System.Enum.GetValues(typeof(enumLowHigh)); this.cmB_Mirrored.DataSource = System.Enum.GetValues(typeof(enumMirrored)); this.cmB_FindPatternTolerance.DataSource = System.Enum.GetValues(typeof(enumPatternTolerance)); this.cmB_StrictQuitZone.DataSource = System.Enum.GetValues(typeof(enumnoyes)); this.cmB_Polarity.DataSource = System.Enum.GetValues(typeof(enumPolarity)); this.cmB_DecodeHance.DataSource = System.Enum.GetValues(typeof(enumDecodeHance)); dMCodeParam = (DMCodeParam)_data.Clone(); Init(); }