Пример #1
0
        private void messageParameterListToolStripMenuItem_Click(object sender, EventArgs e)
        {
            messageParameterList fr2 = new messageParameterList();

            fr2.MdiParent = this;
            fr2.Show();
        }
Пример #2
0
        private void allMessageFlow_Load(object sender, EventArgs e)
        {
            f1.MdiParent = this.MdiParent;
            f1.Show();
            f2.MdiParent = this.MdiParent;
            f2.Show();

            this.Location = new Point(this.MdiParent.Location.X, this.MdiParent.Location.Y);
            this.Width    = this.MdiParent.Width / 2 - SystemInformation.CaptionHeight;
            this.Height   = this.MdiParent.Height - 2 * (SystemInformation.MenuHeight + SystemInformation.CaptionHeight);

            toolStripLabel1.Text       = string.Empty;
            toolStripStatusLabel1.Text = string.Empty;
            toolStripStatusLabel2.Text = string.Empty;
            toolStripStatusLabel3.Text = string.Empty;

            streamMessagePool.appPath = Application.StartupPath.ToString();
            streamMessagePool.Acc.Init(null, "CN-Iu", null, null);
            streamMessagePool.Acc.Open();

            //loadMessageToListBox();
            middleDelegate.sendListEvent += new middleDelegate.SendListMessage(this.loadMessageToListBox);
        }
Пример #3
0
 private void messageParameterListToolStripMenuItem_Click(object sender, EventArgs e)
 {
     messageParameterList fr2 = new messageParameterList();
     fr2.MdiParent = this;
     fr2.Show();
 }