Esempio n. 1
0
        /// <summary>
        /// 点击查重清洗模块中的保存按钮时触发的事件
        /// </summary>
        /// <param name="sender"></param>
        /// <param name="e"></param>
        private void lbl_baocun3_Click(object sender, EventArgs e)
        {
            string        formatName = cbb_format3.Text;
            string        formatType = SystemInfo._currentModule;
            List <string> list       = GetSelectRules(dgv_chachong);
            FormatInfo    myfi       = new FormatInfo(formatName, string.Join("|", list), formatType);

            myfi.SaveFormatInfo();
            UpdateFormats("查重清洗", cbb_format3);
        }
Esempio n. 2
0
        /// <summary>
        /// 点击保存按钮时触发的事件
        /// </summary>
        /// <param name="sender"></param>
        /// <param name="e"></param>
        private void lbl_baocun1_Click(object sender, EventArgs e)
        {
            string        formatName = cbb_formatName1.Text;
            string        formatType = SystemInfo._currentModule;
            List <string> list       = GetSelectRules(dgv_wenjianmingrules);
            FormatInfo    myfi       = new FormatInfo(formatName, string.Join("|", list), formatType);

            myfi.SaveFormatInfo();
            UpdateFormats("文件名标准化", cbb_formatName1);
        }
Esempio n. 3
0
        /// <summary>
        /// 点击格式标准化模块中的保存按钮触发的事件
        ///
        /// </summary>
        /// <param name="sender"></param>
        /// <param name="e"></param>
        private void lbl_baocun2_Click(object sender, EventArgs e)
        {
            string        formatName = cbb_format2.Text;
            string        formatType = SystemInfo._currentModule;
            List <string> list       = GetSelectRules(dgv_biaozhunhua);
            FormatInfo    myfi       = new FormatInfo(formatName, string.Join("|", list), formatType);

            myfi.SaveFormatInfo();
            UpdateFormats("格式标准化", cbb_format2);
        }
Esempio n. 4
0
        /// <summary>
        /// 点击大数据版保存按钮时触发的事件
        /// </summary>
        /// <param name="sender"></param>
        /// <param name="e"></param>
        private void lbl_baocun_Click(object sender, EventArgs e)
        {
            string        formatName = cbb_formatname6.Text;
            string        formatType = SystemInfo._currentModule;
            string        savepath   = tb_savepath6.Text;
            bool          yuan       = cb_yuanwenjianjia6.Checked;
            bool          zhiding    = cb_zhidingwenjianjia6.Checked;
            List <string> list       = GetSelectRules(dgv_dsjRules);
            FormatInfo    myfi       = new FormatInfo(formatName, string.Join("|", list), formatType, savepath, yuan, zhiding);

            myfi.SaveFormatInfo();
            UpdateFormats("大数据版", cbb_formatname6);
        }