public void OnInvoiceValidationOptionChanged(object sender, EventArgs args) { InvIndustryEventArgs arg = args as InvIndustryEventArgs; Log.TraceWrite(CallerInfo.Create(), "Event: " + InvoiceViewModel.InvoiceValidationOptionChanged); SetRibbonVisibility(((InvoiceViewModel)sender).CurrentSelectedValidation); }
public void OnInvoiceValidationOptionChanged(object sender, EventArgs args) { InvIndustryEventArgs arg = args as InvIndustryEventArgs; Log.TraceWrite(CallerInfo.Create(), "Event: {0}, new Value={1}", InvoiceViewModel.InvoiceValidationOptionChanged, arg.Industry.ToString()); CurrentSelectedValidation = arg.Industry; }
public void OnInvoiceValidationOptionChanged(object sender, EventArgs args) { InvIndustryEventArgs arg = (InvIndustryEventArgs)args; CurrentRuleSet = arg.Industry; }