Exemple #1
0
        private void btn_save_Click(object sender, EventArgs e)
        {
            uctlAddSQLName.sql  = rtb_sql.Text;
            uctlAddSQLName.ptid = cmb_pt.SelectedValue.ToString();
            Form f = new Form();

            f.Size            = new Size(489, 60);
            f.FormBorderStyle = FormBorderStyle.None;
            uctlAddSQLName sn = new uctlAddSQLName();

            CommonFunction.AddForm(f, sn);
            //FreshSQL();
            CommonFunction.WriteErrorLog(this, "FreshSQL", null);
        }
 private void btn_savesql_Click(object sender, EventArgs e)
 {
     uctlAddSQLName.sql = rtb_sql.Text;
     uctlAddSQLName.ptid = cmb_ptname.SelectedValue.ToString();
     Form f = new Form();
     f.Size = new Size(510, 60);
     f.FormBorderStyle = FormBorderStyle.None;
     uctlAddSQLName sn = new uctlAddSQLName();
     CommonFunction.AddForm(f, sn);
     getSQL();
 }
 private void btn_save_Click(object sender, EventArgs e)
 {
     uctlAddSQLName.sql = rtb_sql.Text;
     uctlAddSQLName.ptid = cmb_pt.SelectedValue.ToString();
     Form f = new Form();
     f.Size = new Size(489, 60);
     f.FormBorderStyle = FormBorderStyle.None;
     uctlAddSQLName sn = new uctlAddSQLName();
     CommonFunction.AddForm(f, sn);
     //FreshSQL();
     CommonFunction.WriteErrorLog(this, "FreshSQL", null);
 }