예제 #1
0
        private void button1_Click(object sender, EventArgs e)
        {
            FrmCliente c = new FrmCliente(null);

            c.ShowDialog();
            refreshDataGrid();
        }
예제 #2
0
        private void button2_Click(object sender, EventArgs e)
        {
            int?id = getId();

            if (id != null)
            {
                FrmCliente c = new FrmCliente(id);
                c.ShowDialog();
                refreshDataGrid();
            }
        }