Example #1
0
        /*
         * Constructor
         * Takes a Card object and reference to the parent panel
         */
        public EditCardPanel(Card c, EditPanel ep)
        {
            InitializeComponent();

            CardReference = c;
            edit          = ep;

            QuestionTextbox.Text = CardReference.Question;
            AnswerTextbox.Text   = CardReference.Answer;
        }
Example #2
0
 public static void InitializeControl(EditPanel ControlToInitialize)
 {
     EditDeckScreen = ControlToInitialize;
 }