public vmTransactionEntry(COMMON.SaveMode.Mode mode, BOL.Transaction.objTransaction transaction)
 {
     this.Mode           = mode;
     this.Transaction    = transaction;
     this.Cancel_Command = new COMMON.RelayCommand(this.Execute_Cancel, this.CanCancel);
     this.Save_Command   = new COMMON.RelayCommand(this.Execute_Save, this.CanSave);
 }
Пример #2
0
        public vmTerminalEntry(COMMON.SaveMode.Mode mode, BOL.Terminal.objTerminal terminal)
        {
            this.Mode           = mode;
            this.Terminal       = terminal;
            this.Save_Command   = new COMMON.RelayCommand(Execute_Save, CanSave);
            this.Cancel_Command = new COMMON.RelayCommand(Execute_Cancel, CanCancel);

            Convert_StringToBrush();
        }