protected void OnEnumcomboOperationEnumItemSelected(object sender, Gamma.Widgets.ItemSelectedEventArgs e) { buttonPrint.Sensitive = Entity.TypeOperation == IncomeType.Return; labelExpenseTitle.Visible = comboExpense.Visible = ylabel1.Visible = specialListCmbOrganisation.Visible = Entity.TypeOperation == IncomeType.Return; labelIncomeTitle.Visible = comboCategory.Visible = Entity.TypeOperation != IncomeType.Return; labelClientTitle.Visible = yentryClient.Visible = Entity.TypeOperation == IncomeType.Payment; vboxDebts.Visible = checkNoClose.Visible = Entity.TypeOperation == IncomeType.Return && UoW.IsNew; yspinMoney.Sensitive = Entity.TypeOperation != IncomeType.Return; yspinMoney.ValueAsDecimal = 0; FillDebts(); CheckOperation((IncomeType)e.SelectedItem); }
protected void OnComboExpenseItemSelected(object sender, Gamma.Widgets.ItemSelectedEventArgs e) { FillDebts(); }
protected void OnEnumcomboStatusEnumItemSelected(object sender, ItemSelectedEventArgs e) { OnRefiltered (); }
protected void OnEnumcomboDocumentTypeEnumItemSelected(object sender, ItemSelectedEventArgs e) { OnRefiltered (); }