Ejemplo n.º 1
0
        /// <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);
        }
Ejemplo n.º 2
0
        /// <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);
        }