private void BunifuTextBox1_TextChanged(object sender, EventArgs e) { if (!findEmployee.Text.Equals("")) { string condition = " where Alias like '%" + findEmployee.Text + "%' or First_Name Like '%" + findEmployee.Text + "%' or Last_Name Like '%" + findEmployee.Text + "%' order by alias"; MdlTimeManagement.populateCreateEmployeeEntryList(condition); } }
private void addEntryButton_Click(object sender, EventArgs e) { MdlTimeManagement.populateCreateEmployeeEntryList("order by Alias"); MdlLoadingSetting.showDialogForm(My.MyProject.Forms.FrmAddNewEntry, this); }