Ejemplo n.º 1
0
        private void viewQuotesButton_Click(object sender, EventArgs e)
        {
            ViewAllQuotes vaq = new ViewAllQuotes();

            vaq.Show();
            this.Hide();
        }
Ejemplo n.º 2
0
        private void V(object sender, KeyPressEventArgs e)
        {
            ViewAllQuotes allQuotes = new ViewAllQuotes();

            allQuotes.Tag = this;
            allQuotes.Show(this);
        }
Ejemplo n.º 3
0
        // Opens related form on key press
        private void OpenFormsOnKeyPress(object sender, KeyPressEventArgs e)
        {
            var key = e.KeyChar;

            switch (key)
            {
            case 'a':
                Form addQuoteForm = new AddQuote();
                addQuoteForm.ShowDialog();
                break;

            case 'v':
                Form viewQuotesForm = new ViewAllQuotes();
                viewQuotesForm.ShowDialog();
                break;

            case 's':
                Form searchQuotesForm = new searchQuotes();
                searchQuotesForm.ShowDialog();
                break;

            case 'x':
                Application.Exit();
                break;
            }

            // Prevents event from firing multiple times
            e.Handled = true;
        }
Ejemplo n.º 4
0
        private void button2_Click(object sender, EventArgs e)
        {
            ViewAllQuotes allQuotes = new ViewAllQuotes();

            allQuotes.Tag = this;
            allQuotes.Show(this);
        }
Ejemplo n.º 5
0
        private void ViewQuote_Click(object sender, EventArgs e)
        {
            ViewAllQuotes viewAllQuotesForm = new ViewAllQuotes();

            viewAllQuotesForm.Show();
            Hide();
        }
Ejemplo n.º 6
0
        private void Button4_Click(object sender, EventArgs e)
        {
            ViewAllQuotes frmViewAllQuotes = new ViewAllQuotes(this);

            frmViewAllQuotes.Show();
            Hide();
        }
Ejemplo n.º 7
0
        private void ViewQuotesButton_Click(object sender, EventArgs e)
        {
            ViewAllQuotes viewAllQuotes = new ViewAllQuotes();

            viewAllQuotes.Show();
            Hide();
        }
Ejemplo n.º 8
0
        private void btnViewQuotes_Click(object sender, EventArgs e)
        {
            var frmViewAllQuotes = new ViewAllQuotes();

            frmViewAllQuotes.Tag = this;
            frmViewAllQuotes.Show();
            this.Hide();
        }
Ejemplo n.º 9
0
        private void buttonViewAll_Click(object sender, EventArgs e)
        {
            ViewAllQuotes viewAllQuoteForm = new ViewAllQuotes();

            viewAllQuoteForm.Tag = this;
            viewAllQuoteForm.Show(this);
            Hide();
        }
Ejemplo n.º 10
0
        private void ViewQuotesButton_Click(object sender, EventArgs e)
        {
            this.Hide();
            ViewAllQuotes vq = new ViewAllQuotes();

            vq.ShowDialog();
            this.Close();
        }
Ejemplo n.º 11
0
        private void btnViewQuotes_Click(object sender, EventArgs e)
        {
            var viewAllQuotes = new ViewAllQuotes(this);

            viewAllQuotes.Show();

            this.Hide();
        }
Ejemplo n.º 12
0
        private void view_button_Click(object sender, EventArgs e)
        {
            this.Hide();
            ViewAllQuotes view = new ViewAllQuotes();

            view.ShowDialog();
            this.Close();
        }
Ejemplo n.º 13
0
        private void viewQuotes_Click(object sender, EventArgs e)
        {
            ViewAllQuotes viewAll = new ViewAllQuotes();

            viewAll.Tag = this;
            viewAll.Show(this);
            Hide();
        }
Ejemplo n.º 14
0
        private void ViewQuote_Click(object sender, EventArgs e)
        {
            ViewAllQuotes viewViewAllQuotes = new ViewAllQuotes();

            viewViewAllQuotes.Tag = this;
            viewViewAllQuotes.Show(this);
            this.Hide();
        }
Ejemplo n.º 15
0
        private void openViewQuotesButton_Click(object sender, EventArgs e)
        {
            ViewAllQuotes addViewAllQuotesForm = new ViewAllQuotes();

            addViewAllQuotesForm.Tag = this;
            addViewAllQuotesForm.Show(this);
            Hide();
        }
Ejemplo n.º 16
0
        private void ViewBtn_Click(object sender, EventArgs e)
        {
            ViewAllQuotes addNewQuoteForm = new ViewAllQuotes();

            addNewQuoteForm.Tag = this;
            addNewQuoteForm.Show(this);
            Hide();
        }
Ejemplo n.º 17
0
        private void openViewAllQioteButton_Click(object sender, EventArgs e)
        {
            ViewAllQuotes viewAllQuotes = new ViewAllQuotes();

            viewAllQuotes.Tag = this;
            viewAllQuotes.Show(this);
            Hide();
        }
Ejemplo n.º 18
0
 private void view_quotes_Click(object sender, EventArgs e)
 {
     if (viewAllQuotes == null)
     {
         viewAllQuotes = new ViewAllQuotes();
     }
     Hide();
     viewAllQuotes.Show();
 }
        private void viewQuotes_Click(object sender, EventArgs e)
        {
            ViewAllQuotes ViewQuotesForm = new ViewAllQuotes {
                Tag = this
            };

            ViewQuotesForm.Show(this);
            Hide();
        }
Ejemplo n.º 20
0
        private void ViewAllQuotesButton_Click(object sender, EventArgs e)
        {
            ViewAllQuotes viewAllQuotes = new ViewAllQuotes {
                Tag = this
            };

            viewAllQuotes.Show(this);
            Hide();
        }
Ejemplo n.º 21
0
        private void bttnViewQuotes_Click(object sender, EventArgs e)
        {
            ViewAllQuotes ViewQuotes = new ViewAllQuotes();

            ViewQuotes.ShowDialog();
        }
Ejemplo n.º 22
0
        private void Btn_viewQuote_Click(object sender, EventArgs e)
        {
            ViewAllQuotes viewAllQuotes = new ViewAllQuotes();

            viewAllQuotes.Show();
        }
Ejemplo n.º 23
0
        // Opens View All Quotes form on button click
        private void ViewAllQuotes_Click(object sender, EventArgs e)
        {
            Form viewQuotesForm = new ViewAllQuotes();

            viewQuotesForm.ShowDialog();
        }