/// <summary> /// Handles the Click event of the button2 control. /// </summary> /// <param name="sender">The source of the event.</param> /// <param name="e">The <see cref="System.EventArgs"/> instance containing the event data.</param> /// <remarks></remarks> private void button2_Click(object sender, EventArgs e) { this.Close(); locationType = "Kakinada"; Language_Selection objLanSel = new Language_Selection(locationType); objLanSel.Show(); }
private void button1_Click_2(object sender, EventArgs e) { locationType = "CorporateUser"; this.Close(); Language_Selection objLanSel = new Language_Selection(locationType); objLanSel.Show(); }
/// <summary> /// Handles the Click event of the btnVishakapatnam control. /// </summary> /// <param name="sender">The source of the event.</param> /// <param name="e">The <see cref="System.EventArgs"/> instance containing the event data.</param> /// <remarks></remarks> private void btnVishakapatnam_Click(object sender, EventArgs e) { // dsLOP = GC.ExcelConnectivity("Select * from [" + cmbYear.SelectedItem + "$] where [Emp No]='" + LocalEmpId + "' and [Month]='" + cmbMonth.SelectedItem + "'", "OleDbConnString_LossOfPay"); this.Close(); locationType = "Visakhapatnam"; Language_Selection objLanSel = new Language_Selection(locationType); objLanSel.Show(); }