Exemple #1
0
        private void btnNewClient_Click(object sender, EventArgs e)
        {
            AddNewClient addNewClient = new AddNewClient();

            addNewClient.StartPosition = FormStartPosition.CenterParent;
            addNewClient.ShowDialog(this);
            BindClientReportsDataGrid();
        }
Exemple #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);
        }
 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);
 }
 private void btnNewClient_Click(object sender, EventArgs e)
 {
     AddNewClient addNewClient = new AddNewClient();
     addNewClient.StartPosition = FormStartPosition.CenterParent;
     addNewClient.ShowDialog(this);
     BindClientReportsDataGrid();
 }