Пример #1
0
        public MarketDepthByPrice(RealTimeData RTD, Company comp)
        {
            InitializeComponent();
            this.comp = comp; //the current compnay for this window
            this.Text += " " + comp.compName; //set the text at the top of the form
            Update(RTD); //add any data from the data model to the view
            realdata = RTD; //store a copy of the data model

            this.FormClosing += new System.Windows.Forms.FormClosingEventHandler(delegate
            {
                realdata.unRegister(this);
            });
        }
Пример #2
0
        //this.Update(s);
        public StateSummary(RealTimeData rdata)
        {
            InitializeComponent();

            dataGridView1.Rows.Add(2);

            this.realdata    = rdata;
            this.companyName = rdata._company[0].compName;

            this.FormClosing += new System.Windows.Forms.FormClosingEventHandler(delegate {
                realdata.unRegister(this);
            });
        }
        //this.Update(s);
        public StateSummary(RealTimeData rdata)
        {
            InitializeComponent();

            dataGridView1.Rows.Add(2);

            this.realdata = rdata;
            this.companyName = rdata._company[0].compName;

            this.FormClosing += new System.Windows.Forms.FormClosingEventHandler(delegate {
                realdata.unRegister(this);
            });
        }
Пример #4
0
        //CONSTRUCTORS======================
        public MarketDepthByOrder(RealTimeData RTD, Company comp)
        {
            //some image stuff
            InitializeComponent();
            this.comp = comp;
            this.Text += " " + comp.compName;
            Update(realdata);
            realdata = RTD;

            this.FormClosing += new System.Windows.Forms.FormClosingEventHandler(delegate
            {
                realdata.unRegister(this);
            });
        }
Пример #5
0
        public MarketDepthByPrice(RealTimeData RTD, Company comp)
        {
            InitializeComponent();
            this.comp  = comp;                //the current compnay for this window
            this.Text += " " + comp.compName; //set the text at the top of the form
            Update(RTD);                      //add any data from the data model to the view
            realdata = RTD;                   //store a copy of the data model


            this.FormClosing += new System.Windows.Forms.FormClosingEventHandler(delegate
            {
                realdata.unRegister(this);
            });
        }
Пример #6
0
        //CONSTRUCTORS======================
        public MarketDepthByOrder(RealTimeData RTD, Company comp)
        {
            //some image stuff
            InitializeComponent();
            this.comp  = comp;
            this.Text += " " + comp.compName;
            Update(realdata);
            realdata = RTD;


            this.FormClosing += new System.Windows.Forms.FormClosingEventHandler(delegate
            {
                realdata.unRegister(this);
            });
        }