Exemplo n.º 1
0
 private void materialRaisedButton1_Click(object sender, EventArgs e) //>
 {
     FlashCardFormPresenter.GetNextCard(CurrentDeck, richTextBox1.Text, richTextBox2.Text);
 }
Exemplo n.º 2
0
 private void backToolStripMenuItem1_Click(object sender, EventArgs e)
 {
     FlashCardFormPresenter.GetPreviousCard(CurrentDeck, richTextBox1.Text, richTextBox2.Text);
 }
Exemplo n.º 3
0
 private void materialRaisedButton3_Click(object sender, EventArgs e)
 {
     FlashCardFormPresenter.RevealAnswer(CurrentDeck);
 }
Exemplo n.º 4
0
 private void deleteCardToolStripMenuItem_Click(object sender, EventArgs e)
 {
     FlashCardFormPresenter.DeleteCurrentCard(CurrentDeck, richTextBox1.Text, richTextBox2.Text);
 }
Exemplo n.º 5
0
 private void showToolStripMenuItem1_Click(object sender, EventArgs e)
 {
     FlashCardFormPresenter.RevealAnswer(CurrentDeck);
 }
Exemplo n.º 6
0
 private void addCardToolStripMenuItem_Click(object sender, EventArgs e)
 {
     FlashCardFormPresenter.AddNewCard(CurrentDeck);
 }
Exemplo n.º 7
0
 private void deleteDeckToolStripMenuItem_Click(object sender, EventArgs e)
 {
     FlashCardFormPresenter.DeleteDeck(CurrentDeck);
 }
Exemplo n.º 8
0
 private void newDeckToolStripMenuItem_Click(object sender, EventArgs e)
 {
     FlashCardFormPresenter.AddNewDeck();
 }
Exemplo n.º 9
0
 //Events
 private void loadDeckToolStripMenuItem_Click(object sender, EventArgs e)
 {
     CurrentDeck = FlashCardFormPresenter.LoadDeck();
     FlashCardFormPresenter.ShowFirstCard(CurrentDeck);
 }
Exemplo n.º 10
0
 public FlashCardForm()
 {
     InitializeComponent();
     FlashCardFormPresenter = new FlashCardFormPresenter(this);
 }