Exemplo n.º 1
0
        private void button1_Click(object sender, EventArgs e)
        {

            _Storage.LoadStorage();
            frm = new Fwk.Wizard.frmWizDAC_1(_Storage.CnnString);
            frm.ShowDialog();
            if (frm.GenCode == null) return;
            string code;
            foreach (KeyValuePair<string, string> d in frm.GenCode)
            {
                code = d.Value;
            }
        }
Exemplo n.º 2
0
 void frmWizEntity_2_FinalizeWizEvent(frmWizBase frm, WizardButton pWizardButton)
 {
     this.WizardButton = pWizardButton;
     this.Cnn          = wizDBSelect1.Cnn;
     if (frm.WizardButton == WizardButton.Ok)
     {
         this.GenCode = frm.GenCode;
         this.OnFinalizeWiz(this.WizardButton);
     }
     if (pWizardButton == WizardButton.Cancel)
     {
         this.OnFinalizeWiz(this.WizardButton);
     }
     frm.Close();
 }
Exemplo n.º 3
0
        void frmWizEntity_2_FinalizeWizEvent(frmWizBase frm, WizardButton pWizardButton)
        {
            this.WizardButton = pWizardButton;
            this.Cnn = this.wizDBSelect1.Cnn;
            if (frm.WizardButton == WizardButton.Ok)
            {
                this.GenCode = frm.GenCode;
                this.OnFinalizeWiz(WizardButton.Ok);
            }
            if (pWizardButton == WizardButton.Cancel)
            {
                this.OnFinalizeWiz(this.WizardButton);
            }

            frm.Close();
        }
Exemplo n.º 4
0
 void inputForm_FinalizeWizEvent(frmWizBase frm, WizardButton pWizardButton)
 {
     _Storage.CnnString = inputForm.Cnn;
     _Storage.SaveStorage();
     frm.Close();
 }
Exemplo n.º 5
0
 void inputForm_FinalizeWizEvent(frmWizBase frm, WizardButton pWizardButton)
 {
     _Storage.CnnString = inputForm.Cnn;
     _Storage.SaveStorage();
     frm.Close();
 }
Exemplo n.º 6
0
 void inputForm_FinalizeWizEvent(frmWizBase frm, WizardButton pWizardButton)
 {
     frm.Close();
 }
Exemplo n.º 7
0
 void inputForm_FinalizeWizEvent(frmWizBase frm, WizardButton pWizardButton)
 {
     frm.Close();
 }