private void tabGeneral_SelectedTabChanged(object sender, Infragistics.Win.UltraWinTabControl.SelectedTabChangedEventArgs e) { try { btnAgregarGeneral.Visible = true; btnActualizarGeneral.Visible = false; if (e.Tab.Key == "tbpAsociacion") { if (txtIDAsociacion.Text != string.Empty) { btnAgregarGeneral.Visible = false; btnActualizarGeneral.Visible = true; } else { btnAgregarGeneral.Visible = true; btnActualizarGeneral.Visible = false; } } //if (e.Tab.Key == "tbpCoordenadas") //{ // if (txtIDCoordenada.Text != string.Empty) // btnActualizarGeneral.Visible = true; //} //if (e.Tab.Key == "tbpCodigosRuta") //{ // if (txtIdCodigoRuta.Text != string.Empty) // btnActualizarGeneral.Visible = true; //} } catch (Exception ex) { MessageBox.Show(ex.Message.ToString()); } }
private void ultraTabControl1_SelectedTabChanged(object sender, Infragistics.Win.UltraWinTabControl.SelectedTabChangedEventArgs e) { if (e.Tab.Key == "Permissions") { // If SQL Server 2000, server permissions are not supported. if (m_Version == Sql.ServerVersion.SQL2000) { Label lbl_NoServerPermissions = new Label(); lbl_NoServerPermissions.Text = "SQL Server 2000 does not support server level permissions."; lbl_NoServerPermissions.TextAlign = ContentAlignment.MiddleCenter; lbl_NoServerPermissions.Dock = DockStyle.Fill; ultraTabPageControl3.Controls.Clear(); ultraTabPageControl3.Controls.Add(lbl_NoServerPermissions); } else { if (!m_IsGridFilled) { this.Cursor = Cursors.WaitCursor; _permissionsGrid.Initialize(m_Version, m_ObjectTag); m_IsGridFilled = true; this.Cursor = Cursors.Default; } } } }
private void ultraTabControl1_SelectedTabChanged(object sender, Infragistics.Win.UltraWinTabControl.SelectedTabChangedEventArgs e) { if (e.Tab.Key == "Permissions" && !m_IsGridFilled) { this.Cursor = Cursors.WaitCursor; _dbPrincipalPermissionsGrid.Initialize(m_Version, m_Tag); m_IsGridFilled = true; this.Cursor = Cursors.Default; } }
private void uniTabControl1_SelectedTabChanged(object sender, Infragistics.Win.UltraWinTabControl.SelectedTabChangedEventArgs e) { if (e.Tab.Index == 0) { uniBase.UCommon.SetToolBarMultiAll(true); } else { uniBase.UCommon.SetToolBarMultiAll(false); } }
private void UtcTabs_SelectedTabChanged(object sender, Infragistics.Win.UltraWinTabControl.SelectedTabChangedEventArgs e) { if (e.Tab.Key == "Find") { this.AcceptButton = _ubFindNext; _ucFind.Focus(); } if (e.Tab.Key == "Replace") { this.AcceptButton = _ubReplaceFindNext; _ucReplaceFind.Focus(); } }
/**************************************************************************************************** * NAME : utcAppSettingsWizard_SelectedTabChanged * * DESCRIPTION : AppWizard Selected Change Event * * WRITTEN BY : RajaSekar J * * DATE : 15Feb2018 * ****************************************************************************************************/ private void utcAppSettingsWizard_SelectedTabChanged(object sender, IWIN.UltraWinTabControl.SelectedTabChangedEventArgs e) { string strTabKey = e.Tab.Key.ToString(); switch (strTabKey) { case "general": GeneralSettings(); break; case "users": uGrid_Users_Form_Load(); break; } }
/// <summary> /// Handles the SelectedTabChanged event of the tcOrders control. /// </summary> /// <param name="sender">The source of the event.</param> /// <param name="e">The <see cref="Infragistics.Win.UltraWinTabControl.SelectedTabChangedEventArgs"/> instance containing the event data.</param> private void tcOrders_SelectedTabChanged(object sender, Infragistics.Win.UltraWinTabControl.SelectedTabChangedEventArgs e) { switch (tcOrders.SelectedTab.Key) { case "Daily": this.lblSchedule.Text = Properties.Resources.DailyOrdersSchedule; break; case "Weekly": this.lblSchedule.Text = Properties.Resources.WeeklyOrdersSchedule; break; case "Monthly": this.lblSchedule.Text = Properties.Resources.MonthlyOrdersSchedule; break; } this.SetScheduleHeader(); }
private void UtcTabsSelectedTabChanged(object sender, Infragistics.Win.UltraWinTabControl.SelectedTabChangedEventArgs e) { if (e.Tab == _utcTabs.Tabs["Data"]) { LoadData(); } else if (e.Tab == _utcTabs.Tabs["Indexes"]) { LoadIndexes(); } else if (e.Tab == _utcTabs.Tabs["Columns"]) { LoadColumns(); } else if (e.Tab == _utcTabs.Tabs["Partitions"]) { LoadPartitions(); } }
private void ultraTabControl1_SelectedTabChanged(object sender, Infragistics.Win.UltraWinTabControl.SelectedTabChangedEventArgs e) { switch (ultraTabControl1.SelectedTab.Index) { case (int)FormTabs.General: Description = DESCR_GENERAL; break; case (int)FormTabs.SecurityChecks: Description = DESCR_SECURITYCHECKS; break; case (int)FormTabs.Servers: Description = DESCR_SERVERS; break; case (int)FormTabs.Interview: Description = DESCR_INTERVIEW; break; } }
private void tabInfo_SelectedTabChanged(object sender, Infragistics.Win.UltraWinTabControl.SelectedTabChangedEventArgs e) { try { if (e.Tab.Key == "tabGeneralInfo") { this.Size = new System.Drawing.Size(465, 333); } else if (e.Tab.Key == "tabAccount") { this.Size = new System.Drawing.Size(465, 190); } else if (e.Tab.Key == "tabRole") { this.Size = new System.Drawing.Size(465, 195); } } catch (System.Exception) { } }
private void ultraTabStripControl1_SelectedTabChanged(object sender, Infragistics.Win.UltraWinTabControl.SelectedTabChangedEventArgs e) { }
private void dgvOrganizationsTable_SelectedTabChanged(object sender, Infragistics.Win.UltraWinTabControl.SelectedTabChangedEventArgs e) { }
private void utcSusalud_SelectedTabChanged(object sender, Infragistics.Win.UltraWinTabControl.SelectedTabChangedEventArgs e) { btnEditar.Enabled = false; btnEliminar.Enabled = false; }
private void tabInfo_SelectedTabChanged(object sender, Infragistics.Win.UltraWinTabControl.SelectedTabChangedEventArgs e) { }