Beispiel #1
0
        public Form1()
        {
            fData = new FOnData(OnData);
            GC.KeepAlive(fData);


            fConnect = new FOnConnect(OnConnect);
            GC.KeepAlive(fConnect);

            fDisconnect = new FOnConnect(OnDisconnect);
            GC.KeepAlive(fDisconnect);

            fComplete = new FOnComplete(OnComplete);
            GC.KeepAlive(fComplete);

            InitializeComponent();
        }
Beispiel #2
0
        public Form1()
        {
            fData = new FOnData(OnData);
            GC.KeepAlive(fData);


            fConnect = new FOnConnect(OnConnect);
            GC.KeepAlive(fConnect);

            fDisconnect = new FOnConnect(OnDisconnect);
            GC.KeepAlive(fDisconnect);

            fComplete = new FOnComplete(OnComplete);
            GC.KeepAlive(fComplete);

            InitializeComponent();
        }
Beispiel #3
0
        //----------------------------------------------------------------------
        // Component Event
        //----------------------------------------------------------------------

        private void Main_Load(object sender, EventArgs e)
        {
            fData = new FOnData(OnData);
            GC.KeepAlive(fData);

            fOrderAsync = new FOnOrderAsyncReport(OnOrderAsyncReport);
            GC.KeepAlive(fOrderAsync);

            fConnect = new FOnConnect(OnConnect);
            GC.KeepAlive(fConnect);

            fDisconnect = new FOnConnect(OnDisconnect);
            GC.KeepAlive(fDisconnect);

            fComplete = new FOnComplete(OnComplete);
            GC.KeepAlive(fComplete);

            fOnExecutionReport = new FOnGetExecutionReoprt(OnExecutionReport);
            GC.KeepAlive(fOnExecutionReport);
            GC.SuppressFinalize(fOnExecutionReport);
        }
Beispiel #4
0
        //----------------------------------------------------------------------
        // Component Event
        //----------------------------------------------------------------------

        private void Main_Load(object sender, EventArgs e)
        {
            fData = new FOnData(OnData);
            GC.KeepAlive(fData);

            fOrderAsync = new FOnOrderAsyncReport(OnOrderAsyncReport);
            GC.KeepAlive(fOrderAsync);

            fConnect = new FOnConnect(OnConnect);
            GC.KeepAlive(fConnect);

            fDisconnect = new FOnConnect(OnDisconnect);
            GC.KeepAlive(fDisconnect);

            fComplete = new FOnComplete(OnComplete);
            GC.KeepAlive(fComplete);

            fOnExecutionReport = new FOnGetExecutionReoprt(OnExecutionReport);
            GC.KeepAlive(fOnExecutionReport);
            GC.SuppressFinalize(fOnExecutionReport);

        }
 public static extern int RegisterOnCompleteCallBack(FOnComplete Complete);
Beispiel #6
0
 public static extern int RegisterOnCompleteCallBack(FOnComplete Complete);