Beispiel #1
0
 private void marketWatchToolStripMenuItem_Click(object sender, EventArgs e)
 {
     _frmMktWatch = new frmMktWatch();
     // _frmMktWatch.WindowState = FormWindowState.Minimized;
     _frmMktWatch.MdiParent = this;
     UDP_Reciever.Instance.OnDataArrived += _frmMktWatch.OnDataArrived;
     _frmMktWatch.Show();
 }
Beispiel #2
0
        private void marketWatchToolStripMenuItem_Click(object sender, EventArgs e)
        {
            if (_frmMktWatch == null)
            {
                _frmMktWatch = new frmMktWatch();

                // _frmMktWatch.WindowState = FormWindowState.Minimized;

                //  UDP_Reciever.Instance.OnDataArrived += _frmMktWatch.OnDataArrived;
            }
            _frmMktWatch.MdiParent = this;
                _frmMktWatch.Show();
        }