Esempio n. 1
0
        private void 创建新的规则ToolStripMenuItem_Click(object sender, EventArgs e)
        {
            var dlg = new frAddRules();

            dlg.ShowDialog();
            GetList();
        }
Esempio n. 2
0
        private void button2_Click(object sender, EventArgs e)
        {
            var dlg = new frAddRules();

            dlg.ShowDialog();
            GetList();
        }
Esempio n. 3
0
        private void 批量生成数据ToolStripMenuItem_Click(object sender, EventArgs e)
        {
            var dlg    = new frAddRules();
            var result = dlg.ShowDialog();

            if (result == DialogResult.OK)
            {
                var dlg2 = new frMgtRules();
                dlg2.ShowDialog();
            }
        }
Esempio n. 4
0
        public frSelRules()
        {
            InitializeComponent();

            dataGridView1.RowsDefaultCellStyle.ForeColor = ColorTranslator.FromHtml("#111111");
            dataGridView1.RowsDefaultCellStyle.BackColor = ColorTranslator.FromHtml("#ffffff");

            var result = GetList();

            if (result <= 0)
            {
                var dlg = new frAddRules();
                dlg.ShowDialog();
                GetList();
            }
        }