Ejemplo n.º 1
0
 protected void Init(TextBox textBox)
 {
     textBoxService = new TextBoxService(this, textBox);
     this.StandardInit();
     this.FormClosing += new FormClosingEventHandler((object sender, FormClosingEventArgs e) =>
     {
         AppServiceHelper.OpenForm("MainForm");
     });
 }
Ejemplo n.º 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";
        }
Ejemplo n.º 3
0
 private void Init()
 {
     textBoxService          = new TextBoxService(this, textBox_Message);
     textBox_Server.Text     = "smtp.126.com";
     textBox_ServerPort.Text = "25";
     textBox_UserName.Text   = "";
     textBox_Password.Text   = "";
     textBox_Sender.Text     = "";
     textBox_To.Text         = "";
     textBox_MailTitle.Text  = "Test";
     textBox_Body.Text       = "Test";
 }
Ejemplo n.º 4
0
 private void Init()
 {
     textBoxService = new TextBoxService(this, textBox_Message);
 }