Exemplo n.º 1
0
        private void btnNewClient_Click(object sender, EventArgs e)
        {
            AddNewClient addNewClient = new AddNewClient();

            addNewClient.StartPosition = FormStartPosition.CenterParent;
            addNewClient.ShowDialog(this);
            BindClientReportsDataGrid();
        }
Exemplo n.º 2
0
        private void btnView_Click(object sender, EventArgs e)
        {
            DataGridViewRow row          = dgvClientResult.Rows[rowIndex];
            int             clientId     = Convert.ToInt32(row.Cells["ClientId"].Value);
            AddNewClient    addNewClient = new AddNewClient();

            addNewClient.clientID   = clientId;
            addNewClient.formsState = Common.eFormsState.View;
            addNewClient.ShowDialog(this);
        }
Exemplo n.º 3
0
 private void btnView_Click(object sender, EventArgs e)
 {
     DataGridViewRow row = dgvClientResult.Rows[rowIndex];
     int clientId = Convert.ToInt32(row.Cells["ClientId"].Value);
     AddNewClient addNewClient = new AddNewClient();
     addNewClient.clientID = clientId;
     addNewClient.formsState = Common.eFormsState.View;
     addNewClient.ShowDialog(this);
 }
Exemplo n.º 4
0
 private void btnNewClient_Click(object sender, EventArgs e)
 {
     AddNewClient addNewClient = new AddNewClient();
     addNewClient.StartPosition = FormStartPosition.CenterParent;
     addNewClient.ShowDialog(this);
     BindClientReportsDataGrid();
 }