private void okButton_Click(object sender, System.EventArgs e) { //Ask controller if user is valid if (StoreControllerHostedControl.IsUserValid(emailText.Text, passwordText.Text)) { // Logon was valid. User = emailText.Text; _startingTask = new CartTask(emailText.Text); // Start task with the previous task id UIPManager.StartUserControlsTask("Shop", _startingTask); //This view can be hidden because it started the task and its lifetime isn´t controlled //by the UIPManager class this.Visible = false; } else { MessageBox.Show("The user or password are incorrect"); } }
public void OnCilckTogglePanel(PanelID panelId, int nTabType, int nTabIndex) { UIPanelBase panelBase = UIPManager.GetPanel(panelId); if (panelBase == null) { return; } OnCilckTogglePanel(ref panelBase, nTabType, nTabIndex); //bool reset = panelBase.OnTogglePanel(nTabType, nTabIndex); //if (reset) //{ // panelBase.dicActiveTabGrid[nTabType] = nTabIndex; // Dictionary<int, UITabGrid> dicTabs = null; // if (panelBase.dicUITabGrid.TryGetValue(nTabType, out dicTabs)) // { // foreach (var item in dicTabs) // { // item.Value.SetHightLight(item.Value.TabID == nTabIndex); // } // } //} }
private void btnCarAndHome_Click(object sender, System.EventArgs e) { UIPManager.StartNavigationTask("InsurancePurchaseWizard"); }
private void btnHome_Click(object sender, System.EventArgs e) { UIPManager.StartNavigationTask("HomeWizard"); }
private void btnStartAuthenticated_Click(object sender, System.EventArgs e) { UIPManager.StartNavigationTask("ManageInsuranceClients"); }