public ClientForm() { proxy = new InterBankOpsClient(); bankAProxy = new BankAOpsClient(); InitializeComponent(); atualizaLista(bankAProxy.getOrders().ToList()); }
public AddOrderForm(BankAOpsClient bank) { this.bank = bank; retrieveCompaniesInfo(); retrieveTypesInfo(); InitializeComponent(); companyBox.DataSource = companyList; companyBox.DisplayMember = "Name"; typeBox.DataSource = types; retrieveClientInfo(); comboBoxClient.DataSource = clients; comboBoxClient.DisplayMember = "Name"; }
public ExchangeServiceApp() { ordersToExecute = new List <Order>(); todaysExecutedOrders = new List <Order>(); bankAProxy = new BankAOpsClient(); bankAProxy.Open(); //ordersToExecute = bankAProxy.getUnexecutedOrders().ToList(); serializationFile = Path.Combine(dir, "Order.bin"); load(); receiveMessages(); InitializeComponent(); updateUnexecutedOrders(); }
public InterBankOps() { bankAProxy = new BankAOpsClient(); }