コード例 #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();
        }