Esempio n. 1
0
        private void ItemAdd_Click(object sender, EventArgs e)
        {
            frmMJMacParamAdd frm = new frmMJMacParamAdd("", this.Text, ItemAdd.Text);

            if (frm.ShowDialog() == DialogResult.OK)
            {
                frmPubMacParam_Load(null, null);
            }
        }
Esempio n. 2
0
        private void ItemEdit_Click(object sender, EventArgs e)
        {
            int              index = dataGrid.CurrentRow.Index; //取得选中行的索引
            string           MacSN = dataGrid.Rows[index].Cells[1].Value.ToString();
            frmMJMacParamAdd frm   = new frmMJMacParamAdd(MacSN, this.Text, ItemEdit.Text);

            if (frm.ShowDialog() == DialogResult.OK)
            {
                frmPubMacParam_Load(null, null);
            }
        }
Esempio n. 3
0
        private void ItemMomAdd_Click(object sender, EventArgs e)
        {
            if (!InitAddList())
            {
                return;
            }
            frmMJMacParamAdd frm = new frmMJMacParamAdd(AddList, this.Text, ItemAdd.Text);

            if (frm.ShowDialog() == DialogResult.OK)
            {
                frmPubMacParam_Load(null, null);
            }
        }