コード例 #1
0
ファイル: BaseForm.cs プロジェクト: eagle6688/DevUtility
 protected void Init(TextBox textBox)
 {
     textBoxService = new TextBoxService(this, textBox);
     this.StandardInit();
     this.FormClosing += new FormClosingEventHandler((object sender, FormClosingEventArgs e) =>
     {
         AppServiceHelper.OpenForm("MainForm");
     });
 }
コード例 #2
0
        private void Init()
        {
            textBoxService = new TextBoxService(this, textBox_Message);
            this.StandardInit();
            this.FormClosing += new FormClosingEventHandler((object sender, FormClosingEventArgs e) =>
            {
                AppServiceHelper.OpenForm("MainForm");
            });

            textBox_Host.Text = "10.122.11.176";
        }
コード例 #3
0
 private void Form_Inherit_FormClosing(object sender, FormClosingEventArgs e)
 {
     AppServiceHelper.OpenForm("MainForm");
 }
コード例 #4
0
 private void Form_Concurrency_FormClosing(object sender, FormClosingEventArgs e)
 {
     AppServiceHelper.OpenForm("MainForm");
 }