private void pictureBox3_Click(object sender, EventArgs e) { Employee_Leave_List ed = new Employee_Leave_List(id); this.Close(); ed.Show(); }
private void button2_Click(object sender, EventArgs e) { Employee_Leave_List al = new Employee_Leave_List(id); this.Close(); al.Show(); }
private void login_Click(object sender, EventArgs e) { ServiceReference1.ServiceClient client = new ServiceReference1.ServiceClient(); client.applyLeave(id, textBox1.Text.ToString(), comboBox1.Text.ToString(), dateTimePicker1.Value, dateTimePicker1.Value, textBox6.Text.ToString()); MessageBox.Show("Applied For Leave.Wait for the Approval.."); Employee_Leave_List ed = new Employee_Leave_List(id); this.Close(); ed.Show(); }