Esempio n. 1
0
        private void buttonItem1_Click(object sender, EventArgs e)
        {
            FrOperatorEdit a = new FrOperatorEdit();

            a.code = "Add";
            a.ShowDialog();
            if (a.DialogResult == DialogResult.OK)
            {
                Reload();
            }
        }
Esempio n. 2
0
        private void toolAmend_Click(object sender, EventArgs e)
        {
            FrOperatorEdit a = new FrOperatorEdit();

            a.code   = "Edit";
            a.yonghu = dataGridViewX2.CurrentRow.Cells["用户名"].Value.ToString();
            a.ShowDialog();
            if (a.DialogResult == DialogResult.OK)
            {
                Reload();
            }
        }