public static Action MoveCard(this QuizEditorCard card, int index) { return(() => { card.MoveTo(index, false); }); }
public static Action RemoveCard(this QuizEditor quizEditor, QuizEditorCard card) { return(() => { quizEditor.flp_cards.Controls.Remove(card); quizEditor.CheckFixEmptyCards(); }); }
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(); }); }