コード例 #1
0
 public static Action MoveCard(this QuizEditorCard card, int index)
 {
     return(() =>
     {
         card.MoveTo(index, false);
     });
 }
コード例 #2
0
 public static Action RemoveCard(this QuizEditor quizEditor, QuizEditorCard card)
 {
     return(() =>
     {
         quizEditor.flp_cards.Controls.Remove(card);
         quizEditor.CheckFixEmptyCards();
     });
 }
コード例 #3
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();
     });
 }