示例#1
0
        private void dgvServices_CellDoubleClick(object sender, DataGridViewCellEventArgs e)
        {
            int        index      = dgvServices.CurrentRow.Index;
            Guid       serviceId  = new Guid(dgvServices.Rows[index].Cells["ServiceId"].Value.ToString());
            Service    service    = new Service(serviceId);
            frmService frmService = new frmService(this, service);

            frmService.FormClosed += frmService_FormClosed;
        }
示例#2
0
        private void button19_Click(object sender, EventArgs e)
        {
            frmService frmService = new frmService(this);

            frmService.FormClosed += frmService_FormClosed;
        }