|
@@ -34,6 +34,7 @@ type
|
|
miSendPASC: TMenuItem;
|
|
miSendPASC: TMenuItem;
|
|
miTransferAccounts: TMenuItem;
|
|
miTransferAccounts: TMenuItem;
|
|
miChangeAccountsPrivateKey: TMenuItem;
|
|
miChangeAccountsPrivateKey: TMenuItem;
|
|
|
|
+ miListAccountsForSale: TMenuItem;
|
|
miAccountInfo: TMenuItem;
|
|
miAccountInfo: TMenuItem;
|
|
miSep1: TMenuItem;
|
|
miSep1: TMenuItem;
|
|
miSep2: TMenuItem;
|
|
miSep2: TMenuItem;
|
|
@@ -56,6 +57,7 @@ type
|
|
procedure miSendPASCClick(Sender: TObject);
|
|
procedure miSendPASCClick(Sender: TObject);
|
|
procedure miTransferAccountsClick(Sender: TObject);
|
|
procedure miTransferAccountsClick(Sender: TObject);
|
|
procedure miChangeAccountsPrivateKeyClick(Sender: TObject);
|
|
procedure miChangeAccountsPrivateKeyClick(Sender: TObject);
|
|
|
|
+ procedure miListAccountsForSaleClick(Sender: TObject);
|
|
private
|
|
private
|
|
FNodeNotifyEvents: TNodeNotifyEvents;
|
|
FNodeNotifyEvents: TNodeNotifyEvents;
|
|
FAccountsMode: TCTRLWalletAccountsMode;
|
|
FAccountsMode: TCTRLWalletAccountsMode;
|
|
@@ -611,6 +613,9 @@ begin
|
|
miChangeAccountsPrivateKey.Caption :=
|
|
miChangeAccountsPrivateKey.Caption :=
|
|
IIF(ASelection.RowCount = 1, 'Change Account Private Key',
|
|
IIF(ASelection.RowCount = 1, 'Change Account Private Key',
|
|
'Change Accounts Private Key');
|
|
'Change Accounts Private Key');
|
|
|
|
+ miListAccountsForSale.Caption :=
|
|
|
|
+ IIF(ASelection.RowCount = 1, 'List Account For Sale',
|
|
|
|
+ 'List Accounts For Sale');
|
|
APopupMenu := mnuAccountsPopup;
|
|
APopupMenu := mnuAccountsPopup;
|
|
end;
|
|
end;
|
|
|
|
|
|
@@ -682,6 +687,11 @@ begin
|
|
wiz.Start(model);
|
|
wiz.Start(model);
|
|
end;
|
|
end;
|
|
|
|
|
|
|
|
+procedure TCTRLWallet.miListAccountsForSaleClick(Sender: TObject);
|
|
|
|
+begin
|
|
|
|
+ raise ENotImplemented.Create('not yet implemented.');
|
|
|
|
+end;
|
|
|
|
+
|
|
procedure TCTRLWallet.OnPrepareOperationsPopupMenu(Sender: TObject;
|
|
procedure TCTRLWallet.OnPrepareOperationsPopupMenu(Sender: TObject;
|
|
constref ASelection: TVisualGridSelection; out APopupMenu: TPopupMenu);
|
|
constref ASelection: TVisualGridSelection; out APopupMenu: TPopupMenu);
|
|
begin
|
|
begin
|