/// <summary> /// Initializes a new instance of the <see cref="AppendNewColumnMappingDialog"/> class. /// </summary> /// <param name="mappings">A list of column mappings for the current user.</param> /// <param name="forMySqlTableName">The name of the MySQL table this mapping corresponds to.</param> public AppendNewColumnMappingDialog(List <MySqlColumnMapping> mappings, string forMySqlTableName) { ForMySqlTableName = forMySqlTableName; Mappings = mappings; InitializeComponent(); ColumnMappingName = GetProposedNewMappingName(); MappingNameTextBox.SelectAll(); }
/// <summary> /// Initializes a new instance of the <see cref="AppendNewColumnMappingDialog"/> class. /// </summary> /// <param name="proposedMappingName">The name of the column mapping proposed by the system.</param> public AppendNewColumnMappingDialog(string proposedMappingName) { InitializeComponent(); MappingNameTextBox.Text = proposedMappingName; MappingNameTextBox.SelectAll(); }