private void ClearMethod() { FirstNameTB.Clear(); LastNametextBox.Clear(); DateOfBirthTB.Value = DateTime.Now; GenderTB.SelectedIndex = -1; ContacttextBox.Text = "03"; NICtextBox.Clear(); HouseNOtextBox.Clear(); AddLine1Tb.Clear(); AddLine2tb.Clear(); postCodetextBox.Clear(); DepartmentTextBoc.SelectedIndex = -1; designationtextBox.SelectedIndex = -1; ; StatuscomboBox.SelectedIndex = -1; DateOfHired.Value = DateTime.Now; BasicSalarytextBox.Clear(); JobTitletextBox.Clear(); PasswordTb.Clear(); ImgLocation = ""; ProfilePicture.Image = Resources.User1; }
private void ClearMethod() { IDTB.Clear(); FirstNameTB.Clear(); LastNametextBox.Clear(); DateOfBirthTB.Value = DateTime.Now; GenderTB.SelectedIndex = -1; ContacttextBox.Clear(); NICtextBox.Clear(); HouseNOtextBox.Clear(); AddLine1Tb.Clear(); AddLine2tb.Clear(); postCodetextBox.Clear(); DepartmentTextBoc.SelectedIndex = -1; designationtextBox.SelectedIndex = -1; StatuscomboBox.SelectedIndex = -1; DateOfHired.Value = DateTime.Now; BasicSalarytextBox.Clear(); JobTitletextBox.Clear(); PasswordTb.Clear(); UpdateBtn.Enabled = false; button1.Enabled = false; ReadID(); ProfilePicture.Image = Resources.User1; }
private void ClearMethod() { IDTB.Clear(); FirstNameTB.Clear(); LastNametextBox.Clear(); designationtextBox.Clear(); DepartmentTextBoc.Clear(); BasicSalarytextBox.Clear(); ConvancetextBox.Clear(); MedicalAlltextBox.Clear(); TotalAmounttextBox.Clear(); HouseRentTextBoc.Clear(); AbsenceTextBox.Text = "0"; LateTextBox.Text = "0"; HalfDayTextBox.Text = "0"; OverTimeHrtextBox.Text = "0"; AddedAllowanceTB.Clear(); DeductedAmountTB.Clear(); IncomeTextextBox.Clear(); NetSalaryTB.Clear(); Off = 0; NetSalary = 0; Allownc = 0; Deducted = 0; incomeTex = 0; OvertimeAmount = 0; OvertimeHours = 0; TotalAmount = 0; AtdDec = 0; halfDayAmount = 0; button3.Enabled = false; }
private void ClearMethod() { IDTB.Clear(); FirstNameTB.Clear(); LastNametextBox.Clear(); DateOfBirthTB.Value = DateTime.Now; DepartmentTextBoc.Clear(); BasicSalarytextBox.Clear(); AmounttextBox.Text = "0"; ReasonCB.SelectedIndex = -1; AttendanceAllowancetb.SelectedIndex = -1; MonthYear.Value = DateTime.Now; ConvenceAllLBL.Text = "0"; HouseRentLbl.Text = "0"; MedicalLBL.Text = "0"; Amountlabel.Text = "Total Amount : 0"; button1.Enabled = false; button3.Enabled = false; }
private void ClearMethod() { IDTB.Clear(); FirstNameTB.Clear(); LastNametextBox.Clear(); DateOfHired.Clear(); BasicSalarytextBox.Clear(); DepartmentTextBoc.Clear(); designationtextBox.Clear(); StatusTB.Clear(); MonthYear.Value = DateTime.Now; perradioButton.Checked = false; AmountradioButton.Checked = false; PertextBox.Clear(); AmounttextBox.Clear(); ReasontextBox.Clear(); button1.Enabled = false; button3.Enabled = false; Amountlabel.Text = "Total Salary : 0"; DeductionSalaryTb.Text = "Salary After Deduction : 0"; }