Пример #1
0
        private void viewQuotesButton_Click(object sender, EventArgs e)
        {
            ViewAllQuotes vaq = new ViewAllQuotes();

            vaq.Show();
            this.Hide();
        }
Пример #2
0
        private void V(object sender, KeyPressEventArgs e)
        {
            ViewAllQuotes allQuotes = new ViewAllQuotes();

            allQuotes.Tag = this;
            allQuotes.Show(this);
        }
Пример #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;
        }
Пример #4
0
        private void button2_Click(object sender, EventArgs e)
        {
            ViewAllQuotes allQuotes = new ViewAllQuotes();

            allQuotes.Tag = this;
            allQuotes.Show(this);
        }
Пример #5
0
        private void ViewQuote_Click(object sender, EventArgs e)
        {
            ViewAllQuotes viewAllQuotesForm = new ViewAllQuotes();

            viewAllQuotesForm.Show();
            Hide();
        }
Пример #6
0
        private void Button4_Click(object sender, EventArgs e)
        {
            ViewAllQuotes frmViewAllQuotes = new ViewAllQuotes(this);

            frmViewAllQuotes.Show();
            Hide();
        }
Пример #7
0
        private void ViewQuotesButton_Click(object sender, EventArgs e)
        {
            ViewAllQuotes viewAllQuotes = new ViewAllQuotes();

            viewAllQuotes.Show();
            Hide();
        }
Пример #8
0
        private void btnViewQuotes_Click(object sender, EventArgs e)
        {
            var frmViewAllQuotes = new ViewAllQuotes();

            frmViewAllQuotes.Tag = this;
            frmViewAllQuotes.Show();
            this.Hide();
        }
Пример #9
0
        private void buttonViewAll_Click(object sender, EventArgs e)
        {
            ViewAllQuotes viewAllQuoteForm = new ViewAllQuotes();

            viewAllQuoteForm.Tag = this;
            viewAllQuoteForm.Show(this);
            Hide();
        }
Пример #10
0
        private void ViewQuotesButton_Click(object sender, EventArgs e)
        {
            this.Hide();
            ViewAllQuotes vq = new ViewAllQuotes();

            vq.ShowDialog();
            this.Close();
        }
Пример #11
0
        private void btnViewQuotes_Click(object sender, EventArgs e)
        {
            var viewAllQuotes = new ViewAllQuotes(this);

            viewAllQuotes.Show();

            this.Hide();
        }
Пример #12
0
        private void view_button_Click(object sender, EventArgs e)
        {
            this.Hide();
            ViewAllQuotes view = new ViewAllQuotes();

            view.ShowDialog();
            this.Close();
        }
Пример #13
0
        private void viewQuotes_Click(object sender, EventArgs e)
        {
            ViewAllQuotes viewAll = new ViewAllQuotes();

            viewAll.Tag = this;
            viewAll.Show(this);
            Hide();
        }
Пример #14
0
        private void ViewQuote_Click(object sender, EventArgs e)
        {
            ViewAllQuotes viewViewAllQuotes = new ViewAllQuotes();

            viewViewAllQuotes.Tag = this;
            viewViewAllQuotes.Show(this);
            this.Hide();
        }
Пример #15
0
        private void openViewQuotesButton_Click(object sender, EventArgs e)
        {
            ViewAllQuotes addViewAllQuotesForm = new ViewAllQuotes();

            addViewAllQuotesForm.Tag = this;
            addViewAllQuotesForm.Show(this);
            Hide();
        }
Пример #16
0
        private void ViewBtn_Click(object sender, EventArgs e)
        {
            ViewAllQuotes addNewQuoteForm = new ViewAllQuotes();

            addNewQuoteForm.Tag = this;
            addNewQuoteForm.Show(this);
            Hide();
        }
Пример #17
0
        private void openViewAllQioteButton_Click(object sender, EventArgs e)
        {
            ViewAllQuotes viewAllQuotes = new ViewAllQuotes();

            viewAllQuotes.Tag = this;
            viewAllQuotes.Show(this);
            Hide();
        }
Пример #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();
        }
Пример #20
0
        private void ViewAllQuotesButton_Click(object sender, EventArgs e)
        {
            ViewAllQuotes viewAllQuotes = new ViewAllQuotes {
                Tag = this
            };

            viewAllQuotes.Show(this);
            Hide();
        }
Пример #21
0
        private void bttnViewQuotes_Click(object sender, EventArgs e)
        {
            ViewAllQuotes ViewQuotes = new ViewAllQuotes();

            ViewQuotes.ShowDialog();
        }
Пример #22
0
        private void Btn_viewQuote_Click(object sender, EventArgs e)
        {
            ViewAllQuotes viewAllQuotes = new ViewAllQuotes();

            viewAllQuotes.Show();
        }
Пример #23
0
        // Opens View All Quotes form on button click
        private void ViewAllQuotes_Click(object sender, EventArgs e)
        {
            Form viewQuotesForm = new ViewAllQuotes();

            viewQuotesForm.ShowDialog();
        }