Ejemplo n.º 1
0
        private void ucBtnExt1_BtnClick(object sender, EventArgs e)
        {
            TicketQuery ticketQuery = new TicketQuery("hgf");

            this.Hide();
            ticketQuery.ShowDialog();
            this.Show();
        }
Ejemplo n.º 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();
            }
        }