Package StockTradeWindows

Examples of StockTradeWindows.OrderWindow


                            CursorMgr.startEvent();
                            // ================ Begin Forte Event Handler Translation ================
                            //self.Quantity = self.Quantity + 100;
                            //self.Window.MessageDialog(MessageText='You bought 100 shares',
                            //              MessageType=MT_INFO);
                            OrderWindow orderWin = new OrderWindow();
                            orderWin.display(this.getCustomerGrid().getCustomerName(), "Buy", (Array_Of_Holding<Holding>)null);

   
                            // ================ End Forte Event Handler Translation ================
                        }
                        finally {
                            CursorMgr.endEvent();
                        }
                    }
   
                    // ---------------
                    // <SellBtn>.Click
                    // ---------------
                    else if (qq_currentEvent.isEvent(PushButton_Click_getqq_SellBtn)) {
                        try {
                            CursorMgr.startEvent();
                            // ================ Begin Forte Event Handler Translation ================
                            //self.Quantity = self.Quantity - 100;
                            //self.Window.MessageDialog(MessageText='You sold 100 shares',
                            //              MessageType=MT_INFO);
                            OrderWindow orderWin = new OrderWindow();
                            orderWin.display(this.getCustomerGrid().getCustomerName(), "Sell", this.getCustomerGrid().getHoldingList());

   
                            // ================ End Forte Event Handler Translation ================
                        }
                        finally {
View Full Code Here

TOP

Related Classes of StockTradeWindows.OrderWindow

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.