Exemple #1
0
        private void ucBtnExt1_BtnClick(object sender, EventArgs e)
        {
            TicketQuery ticketQuery = new TicketQuery("hgf");

            this.Hide();
            ticketQuery.ShowDialog();
            this.Show();
        }
Exemple #2
0
        private void btnTicketQuery_Click(object sender, EventArgs e)
        {
            TicketQuery query = new TicketQuery(userName);

            this.Hide();
            DialogResult dialog = query.ShowDialog();

            if (dialog == DialogResult.Cancel)
            {
                this.Show();
            }
        }