Exemplo n.º 1
0
        static void Main()
        {
            Application.EnableVisualStyles();
              Application.SetCompatibleTextRenderingDefault(false);

              byte[] lbKey = Common.CreateKey();
              Config lcConfig = Config.LoadConfig(lbKey);
              if (lcConfig == null)
              {
            Wizard lwWizard = new Wizard();
            Application.Run(lwWizard);
            if (lwWizard.DialogResult == DialogResult.OK)
              lcConfig = lwWizard.Config;
            else
              return;
              }

              Application.Run(new SendForm(lcConfig));
        }
Exemplo n.º 2
0
 private void ToolStripMenuItemConfigWizard_Click(object sender, EventArgs e)
 {
     ConfigWizard.Wizard lwWizard = new ConfigWizard.Wizard();
       if (lwWizard.ShowDialog() == System.Windows.Forms.DialogResult.OK)
     mcConfig = lwWizard.Config;
 }
Exemplo n.º 3
0
 public ConfigWizardPanel(Wizard pwOwner)
 {
     InitializeComponent();
       mwOwner = pwOwner;
 }