Ejemplo n.º 1
0
        private void cmdNext_Click(object sender, EventArgs e)
        {
            if (null != m_Command)
            {
                m_Command.ID = txtCommandID.Text;
            }

            frmCommandWizardStepC CommandWizard = new frmCommandWizardStepC(m_Command);

            this.Hide();
            CommandWizard.Show();
            this.Dispose();
        }
        private void cmdPrevious_Click(object sender, EventArgs e)
        {
            if (null != m_Command)
            {
                if ("" != txtCommandBrief.Text.Trim())
                {
                    m_Command.Description = txtCommandBrief.Text;
                }
                else
                {
                    m_Command.Description = m_Command.ID;
                }
            }

            frmCommandWizardStepC CommandWizard = new frmCommandWizardStepC(m_Command);

            this.Hide();
            CommandWizard.Show();
            this.Dispose();
        }