/// <summary> /// Adds the new card to the concerned column /// </summary> /// <param name="columnIndex">Index of the column.</param> private void AddNewCard(int columnIndex) { NewCardDialog dlg = new NewCardDialog(); DialogResult dlgResult = dlg.ShowDialog(); if (dlgResult != System.Windows.Forms.DialogResult.OK) { return; } this.On_new_card(dlg.Description, columnIndex); }
/// <summary> /// Adds the new card to the concerned column /// </summary> /// <param name="columnIndex">Index of the column.</param> private void AddNewCard(int columnIndex) { NewCardDialog dlg = new NewCardDialog(); DialogResult dlgResult = dlg.ShowDialog(); if (dlgResult != System.Windows.Forms.DialogResult.OK) { return; } this.On_new_card(dlg.Description, columnIndex); }