public void Execute(IAppDocReturn aReturn) { if (_onExecute != null) { _onExecute(aReturn); } }
public static void ShowUFL(IAppUFL aUFL, IAppDocReturn aReturn) { using (var lDalog = new UFLDemo(aUFL, aReturn)) { lDalog.ShowDialog(); } }
public static void ShowDemo(IAppClientLetterManager aLettersManager, IAppDocReturn aReturn, IAppUFL aUfl) { using (var LDialog = new ClientLettersDemo(aLettersManager, aReturn, aUfl)) { LDialog.ShowDialog(); } }
public void Execute(IAppDocReturn aDocReturn, string AStatusName, int aOldValue, int AValue) { if (_onExecute != null) { _onExecute(aDocReturn, AStatusName, aOldValue, AValue); } }
public UFLDemo(IAppUFL aUfl, IAppDocReturn aReturn) { fUfl = aUfl; FReturn = aReturn; InitializeComponent(); lstMain.Items.Clear(); cbLanguage.SelectedIndex = 0; }
public ClientLettersDemo(IAppClientLetterManager aLettersManager, IAppDocReturn aReturn, IAppUFL aUfl) { FLettersManager = aLettersManager; FReturn = aReturn; FUfl = aUfl; InitializeComponent(); lstMain.Items.Clear(); }
public void Execute(IAppDocReturn aDocReturn, string AStatusName, int aOldValue, int AValue) { try { if (_onExecute != null) { _onExecute(aDocReturn, AStatusName, aOldValue, AValue); } } catch (Exception e) { if (!UnhandledExceptionManager.HandleException(this, e)) { throw; } } }
public void Execute(IAppDocReturn aDocReturn) { try { if (_onExecute != null) { _onExecute(aDocReturn); } } catch (Exception e) { if (!UnhandledExceptionManager.HandleException(this, e)) { throw; } } }
public void Execute(IAppDocReturn aDocReturn, int ADiagGroup, string ADiagName) { try { if (_onExecute != null) { _onExecute(aDocReturn, ADiagGroup, ADiagName); } } catch (Exception e) { if (!UnhandledExceptionManager.HandleException(this, e)) { throw; } } }
public bool Execute(IAppDocReturn aDocReturn, int AGroupNo, string ADiagName) { try { if (_onExecute != null) { return(_onExecute(aDocReturn, AGroupNo, ADiagName)); } } catch (Exception e) { if (!UnhandledExceptionManager.HandleException(this, e)) { throw; } } return(false); }
public static void ShowReturnproperties(IAppDocReturn AReturn) { var LStatus = AReturn.GetProperties(); using (var form = new ReturnProperties()) { form.txtStatus.Text = ""; form.FStatus = LStatus; form.txtStatus.Items.Clear(); for (var i = 0; i < LStatus.Count; ++i) { string LName; LStatus.GetKeyAt(i, out LName); form.txtStatus.Items.Add(string.Format("{0} = {1}\r\n", LName, LStatus.AsString(LName, ""))); } form.txtReturnStatusEng.Text = LStatus.GetReturnStatus(AppLanguage.lEnglish); form.txtReturnStatusFr.Text = LStatus.GetReturnStatus(AppLanguage.lFrench); form.ShowDialog(); form.FStatus = null; } LStatus = null; }
public void Cleanup() { FApplication = null; FDocument = null; }
private bool DoCalcAddinDiag(IAppDocReturn aDocReturn, int AGroupNo, string ADiagName) { return(AGroupNo == 0 && ADiagName.Equals("MyUniqueDiagIdentification") && CustomDiagOn); }
public void Init() { FApplication = (IAppTaxApplicationService)TestHost.CurrentInstance.AppInstance; FDocument = FApplication.GetCurrentDocReturn(); }
private void DoBeforeCalc(IAppDocReturn aReturn) { m_logger.Log(LogLevel.Trace, "DbEnv.BeforeCalc"); }
private void DoClickAddinDiag(IAppDocReturn aDocReturn, int ADiagGroup, string ADiagName) { MessageBox.Show("Click on custom diag " + ADiagName); }
private void DoAfterCalc(IAppDocReturn aReturn) { m_logger.Log(LogLevel.Trace, "DbEnv.DoAfterCalc"); }
private void DoOnCheckHeaderAlias(IAppDocReturn Document) { m_logger.Log(LogLevel.Trace, "DoOnCheckHeaderAlias : AReturnId={0}", Document.GetReturnId()); }
private void DoOnUpdateReturnHeader(IAppDocReturn Document) { m_logger.Log(LogLevel.Trace, "DoOnUpdateReturnHeader : AReturnId={0}", Document.GetReturnId()); }
private void DoBeforeReturnStatusChange(IAppDocReturn aDocReturn, string AStatusName, int aOldValue, int AValue) { m_logger.Log(LogLevel.Trace, "DoBeforeReturnStatusChange status '{0}' from '{1}' to '{2}'", AStatusName, aOldValue, AValue); }
private void CellPropertieForm_FormClosed(object sender, FormClosedEventArgs e) { FCell = null; FReturn = null; }