private void linkLabel10_LinkClicked(object sender, LinkLabelLinkClickedEventArgs e) { Hide(); var form = new ReportEmployee(); form.Show(); }
private void rb_employee_Click(object sender, EventArgs e) { Hide(); var form = new ReportEmployee(); form.Show(); }
private void pictureBox10_Click(object sender, EventArgs e) { Hide(); var form = new ReportEmployee(); form.Show(); }
private void ribbonButton15_Click(object sender, EventArgs e) { this.Hide(); var pform = new ReportEmployee(); pform.Show(); }
private void ribbon_personale_detail_Click(object sender, EventArgs e) { var form = new ReportEmployee(); form.Show(); Hide(); }
private void ribbonButton16_Click(object sender, EventArgs e) { Close(); this.Cursor = Cursors.WaitCursor; var frm = new ReportEmployee(); frm.Show(); }
private void linkLabel3_LinkClicked(object sender, LinkLabelLinkClickedEventArgs e) { Close(); this.Cursor = Cursors.WaitCursor; var frm = new ReportEmployee(); frm.Show(); }
private void dataGridView1_CellClick(object sender, DataGridViewCellEventArgs e) { if (e.ColumnIndex == BUTTON_EDIT_COLUMN_INDEX && e.RowIndex >= 0) { if (dataGridView1.Rows[e.RowIndex].Cells[e.ColumnIndex].Value != null) { if (dataGridView1.Rows[e.RowIndex].Cells[3].Value != null) { var emp_id = dataGridView1.Rows[e.RowIndex].Cells[3].Value.ToString(); e_id = emp_id; var emp = new EmployeeForm(e_id, "Edit"); emp.Show(); this.Hide(); } } } else if (e.ColumnIndex == BUTTON_PRINT_COLUMN_INDEX && e.RowIndex >= 0) { if (dataGridView1.Rows[e.RowIndex].Cells[e.ColumnIndex].Value != null) { if (dataGridView1.Rows[e.RowIndex].Cells[3].Value != null) { var emp_id = dataGridView1.Rows[e.RowIndex].Cells[3].Value.ToString(); var form = new ReportEmployee(emp_id); form.Show(); this.Hide(); } } } else if ((e.ColumnIndex == 2 && e.RowIndex >= 0) || (e.ColumnIndex == 3 && e.RowIndex >= 0) || (e.ColumnIndex == 4 && e.RowIndex >= 0) || (e.ColumnIndex == 5 && e.RowIndex >= 0) || (e.ColumnIndex == 6 && e.RowIndex >= 0) || (e.ColumnIndex == 7 && e.RowIndex >= 0)) { if (dataGridView1.Rows[e.RowIndex].Cells[e.ColumnIndex].Value != null) { if (dataGridView1.Rows[e.RowIndex].Cells[3].Value != null) { var emp_id = dataGridView1.Rows[e.RowIndex].Cells[3].Value.ToString(); var profile = ProfileImageDataService.GetByEmployeeID(emp_id); if (profile != null) { pic_emp.Image = GetImage(profile.PHOTO, 190, 170); } } } } }