Exemplo n.º 1
0
 public static Action RemoveCard(this QuizEditor quizEditor, QuizEditorCard card)
 {
     return(() =>
     {
         quizEditor.flp_cards.Controls.Remove(card);
         quizEditor.CheckFixEmptyCards();
     });
 }
Exemplo n.º 2
0
 public static Action AddCard(this QuizEditor quizEditor, QuizEditorCard card, int index)
 {
     return(() =>
     {
         quizEditor.flp_cards.Controls.Add(card);
         quizEditor.flp_cards.Controls.SetChildIndex(card, index);
         quizEditor.CheckFixEmptyCards();
     });
 }