Ejemplo n.º 1
0
        private void label18_Click(object sender, EventArgs e)
        {
            firt_set = true;
            Change_saery_target sal_tar = new Change_saery_target();

            sal_tar.ShowDialog();
        }
Ejemplo n.º 2
0
        private void btn_edit_Click(object sender, EventArgs e)
        {
            try
            {
                String         emty    = "SELECT User_Name FROM tbl_Salary_And_Target";
                SqlDataAdapter iigemty = new SqlDataAdapter(emty, ConnectionDB.Connection());
                DataTable      iemty   = new DataTable();
                iigemty.Fill(iemty);
                if (0 != iemty.Rows.Count) // does not exist
                {
                    edt = true;

                    Change_saery_target cgng = new Change_saery_target();
                    cgng.ShowDialog();
                }
                else
                {
                    tool_tip_emty.Show("There are No UserName ", cbx_ref_Name, 1, 70, 2500);
                }
            }
            catch (Exception) { }
        }