private void btnEditMask_Click(object sender, EventArgs e) { MaskEditor win = new MaskEditor(_dataProcessor.DataMask); var result = win.ShowDialog(this); if (DialogResult.OK == result) { _dataProcessor.DataMask = win.GetMask(); } }
private void btnEditIdMask_Click(object sender, EventArgs e) { if (!_dataProcessor.IsIdSelected) { return; } MaskEditor win = new MaskEditor(_dataProcessor.SelectedIdDataMask); var result = win.ShowDialog(this); if (DialogResult.OK == result) { _dataProcessor.SelectedIdDataMask = win.GetMask(); } }