Ejemplo n.º 1
0
 public ConfigKPPCredentials(ConfigKPPOrder order, WmKmodBroker broker)
 {
     Order = order;
     InitializeComponent();
     creds.PopulateFromRegistry();
     m_broker = broker;
     QueryCancel += OnCancellation;
 }
Ejemplo n.º 2
0
        public ConfigKPPWizard(WmKmodBroker broker)
        {
            InitializeComponent();
            this.AcceptButton = this.nextButton;
            this.Icon = Properties.Resources.teambox;

            ConfigKPPOrder order = new ConfigKPPOrder();
            order.HaveAccount = order.Credentials = "ConfigKPPCredentials";
            creds = new ConfigKPPCredentials(order, broker);
            this.Pages.Add(new ConfigKPPWelcome(order));
            this.Pages.Add(new ConfigKPPCreateAccount(order));
            this.Pages.Add(creds);
            this.Pages.Add(new ConfigKPPSuccess(order));

            ResizeToFit();
        }