- lek.zip
- ChangeLog.txt
- ClientServer
- ClientUtil
- DalEF
- DalLinqToSql
- DalNH
- DomainUtil
- DomainUtilTest
- DTO
- GlobalType
- Lek.sln
- Lek1.vsmdi
- LocalTestRun.testrunconfig
- NHibernate
- NhLambdaExtensions
- Presenter
- ProjDep.ppt
- Schema.ppt
- SchemaAdd.sql
- SchemaAdd2000.sql
- SchemaAdd2000Raw.sql
- SchemaDrop.sql
- ServerUtil
- ServiceEF
- ServiceFactory
- ServiceInterface
- ServiceInterfaceTest
- ServiceLinqToSql
- ServiceNH
- Transaction.sql
- UIInterface
- UIType
- Util
- UtilTest
- Web
- 001Launch.gif
- 002Transactions.gif
- 002TransactionsSHRUNK.gif
- 003Items.gif
- 004ERD.gif
- 005NWAccntDlts.gif
- 006Transaction.gif
- 007Arch_Base.gif
- 008Arch_Util.gif
- 009Arch_WinApp.gif
- 010Arch_ClientServer.gif
- 011Arch_UIInterface.gif
- 012Arch_GlobalType.gif
- 013Arch_DTO.gif
- 014Arch_TierUtils.gif
- 015Arch_Dal.gif
- 016Arch_ORM.gif
- 017ERDSQL.gif
- 018ERDEF.gif
- 018ERDEFSHRUNK.gif
- 019ERDLinqToSQL.gif
- 019ERDLinqToSQLSHRUNK.gif
- AddORMClasses_EF.GIF
- AddORMClasses_LtS.GIF
- csharp.css
- DalEFProject.GIF
- DalLinqToSqlProject.GIF
- DalNHlProject.GIF
- DeltaAllocationAccounts.GIF
- DependencyMatrix.GIF
- Items.GIF
- ItemsForAnAccount.gif
- ItemsForAnAccountSHRUNK.gif
- ItemsSHRUNK.GIF
- Lek.GIF
- lek.htm
- NetWorthAccountDeltasForAnAccount.GIF
- NetWorthAccounts.GIF
- Ownerships.GIF
- Participants.GIF
- SaveTransFunctions.GIF
- Summary.GIF
- WinApp
- WinFormClient
- WinFormServer
- WinUI
- WRLEASTransaction.sql
|
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace UIInterface
{
namespace TransactionNWAccntDlts
{
/*
View Presenter
*<- SetPresenter(this) <-|
*<- Init({"AChecking", "AWallet"}, false) <-|
*<- SetRowCount(2) <-|
*<- SetAccount("AChecking",0) <-|
*<- SetAmount( "245" ,0) <-|
*<- SetAccount("AWallet",1) <-|
*<- SetAmount( "245" ,1) <-|
*<- SetBalance("0" ,1, 1) <-|
*<- ShowUntilUserDoneAndThenDestroy() <-|
|-> DisplayAsCentsDesired(true) ->*
*<- IndicateCentsBeingDisplayed(true) <-|
|-> DisplayWithReverseSignDesired(true) ->*
*<- IndicateSignReversed(true) <-|
|-> EditAccountDesired(0) ->* (Editting)
(Ed) *<- true <-| (Editting)
(Ed) (Editting)
(Ed) |-> SetValueAndEndEditOrReturnError("AWallet") ->*
*<- null <-|
|-> EditAmountDesired(0) ->* (Editting)
(Ed) *<- true <-| (Editting)
(Ed) (Editting)
(Ed) |-> SetValueAndEndEditOrReturnError("one") ->* (Editting)
(Ed) *<- "must be a number" <-| (Editting)
(Ed) (Editting)
|-> CancelEdit() ->*
*<- SetAmount( "245" ,0) <-|
|-> NewRecordDesired() ->*
*<- FreezeDisplay() <-|
*<- SetRowCount(3) <-|
*<- SetAccount("AWallet" ,2) <-|
*<- SetAmount( "0" ,2) <-|
*<- UpdateDisplay() <-|
*/
public interface IPresenter
{
void NewRecordDesired();
bool EditAccountDesired(int iRow);
bool EditAmountDesired(int iRow);
string SetValueAndEndEditOrReturnError(string strNewVal);
void CancelEdit();
void BeginBatchUpdates();
void EndBatchUpdates();
void DisplayAsCentsDesired(bool b);
void DisplayWithReverseSignDesired(bool b);
void CloseAndAcceptDesired();
}
public interface IView : UIInterface.IView
{
void SetPresenter(IPresenter aPresenter);
void Init(string[] arrAccountOptions, bool bReadOnly);
void SetRowCount(int iRows);
void SetAccount(string str, int iRow);
void SetAmount(string str, int iRow);
void IndicateCentsBeingDisplayed(bool b);
void IndicateSignReversed(bool b);
void SetBalance(string str, bool bInBalance);
void FreezeDisplay();
void UpdateDisplay();
void ShowUntilUserDoneAndThenDestroy();
void Close();
}
}
}
|
By viewing downloads associated with this article you agree to the Terms of Service and the article's licence.
If a file you wish to view isn't highlighted, and is a text file (not binary), please
let us know and we'll add colourisation support for it.
This member has not yet provided a Biography. Assume it's interesting and varied, and probably something to do with programming.