private void CurrentStatus_Load(object sender, EventArgs e)
        {
            int status = emp.retStatus(E_Id);

            if (status == 1)
            {
                radioButton1.Checked = true;
            }
            if (status == 2)
            {
                radioButton2.Checked = true;
            }
            if (status == 3)
            {
                radioButton3.Checked = true;
            }
            if (status == 4)
            {
                radioButton4.Checked = true;
            }
            if (status == 5)
            {
                radioButton5.Checked = true;
            }
            if (status == 6)
            {
                radioButton6.Checked = true;
            }
        }
        private void DetailsEmployee_Load(object sender, EventArgs e)
        {
            object    result   = emp.ReturnEmployee(this.E_id);
            Emp_Table emp_data = (Emp_Table)result;

            byte[]       data   = emp_data.Image.ToArray();
            MemoryStream stream = new MemoryStream(data);

            pictureBox2.Image = Image.FromStream(stream);
            label5.Text       = emp_data.Address;
            label6.Text       = emp_data.Qualification;
            int status = emp.retStatus(this.E_id);

            if (status == 1)
            {
                bunifuFlatButton1.ButtonText   = "Active";
                bunifuFlatButton1.BackColor    = Color.Green;
                bunifuFlatButton1.OnHovercolor = Color.Green;
            }
            if (status == 2)
            {
                bunifuFlatButton1.ButtonText   = "Busy";
                bunifuFlatButton1.BackColor    = Color.Red;
                bunifuFlatButton1.OnHovercolor = Color.Red;
            }
            if (status == 3)
            {
                bunifuFlatButton1.ButtonText   = "On Meeting";
                bunifuFlatButton1.BackColor    = Color.RosyBrown;
                bunifuFlatButton1.OnHovercolor = Color.RosyBrown;
            }
            if (status == 4)
            {
                bunifuFlatButton1.ButtonText   = "On Break";
                bunifuFlatButton1.BackColor    = Color.Blue;
                bunifuFlatButton1.OnHovercolor = Color.Blue;
            }
            if (status == 5)
            {
                bunifuFlatButton1.ButtonText   = "On Vacation";
                bunifuFlatButton1.BackColor    = Color.Cyan;
                bunifuFlatButton1.OnHovercolor = Color.Cyan;
            }
            if (status == 6)
            {
                bunifuFlatButton1.ButtonText   = "Out Of Office";
                bunifuFlatButton1.BackColor    = Color.Cyan;
                bunifuFlatButton1.OnHovercolor = Color.Cyan;
            }
            string notice = emp.retLastNotice(this.E_id);

            richTextBox1.Text = notice;
            int room = int.Parse(emp.ret_Emp_Room(this.E_id));

            label4.Text = room.ToString();
        }