示例#1
0
文件: Form1.cs 项目: bangush/csharp
        private void button3_Click(object sender, EventArgs e)
        {
            ViewEvents ve = new ViewEvents(wle, twle);

            ve.StartPosition = FormStartPosition.Manual;
            ve.Location      = new Point()
            {
                X = this.Location.X + 50, Y = this.Location.Y + 50
            };

            ve.FormClosed += (a, b) =>
            {
                this.Focus(); ListChanged = null;
            };
            ve.Show();
        }
示例#2
0
文件: Form1.cs 项目: Hagser/csharp
        private void button3_Click(object sender, EventArgs e)
        {

            ViewEvents ve = new ViewEvents(wle, twle);
            ve.StartPosition = FormStartPosition.Manual;
            ve.Location = new Point() { X = this.Location.X + 50, Y = this.Location.Y + 50 };

            ve.FormClosed += (a, b) =>
            {
                this.Focus(); ListChanged = null;
            };
            ve.Show();
        }