Exemplo n.º 1
0
        private void newToolStripMenuItem_Click(object sender, EventArgs e)
        {
            CustomScriptForm form = new CustomScriptForm(config);

            form.ShowDialog(this);

            RenderList();
        }
Exemplo n.º 2
0
        private void button1_Click(object sender, EventArgs e)
        {
            // 新增
            CustomScriptForm form = new CustomScriptForm(config);

            form.ShowDialog(this);

            RenderList();
        }
Exemplo n.º 3
0
        private void editToolStripMenuItem_Click(object sender, EventArgs e)
        {
            if (null != currRow)
            {
                DataGridViewCell indexCell = currRow.Cells[0];
                if (null != indexCell)
                {
                    int index             = (int)indexCell.Value;
                    CustomScriptForm form = new CustomScriptForm(config, index);
                    form.ShowDialog(this);

                    RenderList();
                }
            }
        }