Esempio n. 1
0
        private void GenerateSearchTempalte()
        {
            string sp_creatorname = config.GetConfigurationValue("sp_user_name");
            string spname = txtSearchSpName.Text.Trim();

            var sptemplate = ReadTemplate("SearchListTemplate.txt");
            sptemplate = sptemplate.Replace("{tag_sqp_spname}", spname);
            sptemplate = sptemplate.Replace("{tag_sqp_creator}", sp_creatorname);
            sptemplate = sptemplate.Replace("{tag_sqp_createddate}", DateTime.Now.ToString("dd MMM yyyy"));
            frmQueryWindow frm = new frmQueryWindow(sptemplate);
            frm.Show();
        }
Esempio n. 2
0
        private void GenerateSearchTempalte()
        {
            string sp_creatorname = config.GetConfigurationValue("sp_user_name");
            string spname         = txtSearchSpName.Text.Trim();

            var sptemplate = ReadTemplate("SearchListTemplate.txt");

            sptemplate = sptemplate.Replace("{tag_sqp_spname}", spname);
            sptemplate = sptemplate.Replace("{tag_sqp_creator}", sp_creatorname);
            sptemplate = sptemplate.Replace("{tag_sqp_createddate}", DateTime.Now.ToString("dd MMM yyyy"));
            frmQueryWindow frm = new frmQueryWindow(sptemplate);

            frm.Show();
        }
Esempio n. 3
0
        private void smbtnConsole_Click(object sender, EventArgs e)
        {
            frmQueryWindow frm = new frmQueryWindow();

            frm.Show();
        }
Esempio n. 4
0
 private void smbtnConsole_Click(object sender, EventArgs e)
 {
     frmQueryWindow frm = new frmQueryWindow();
     frm.Show();
 }