Example #1
0
        private void payslipsToolStripMenuItem_Click(object sender, EventArgs e)
        {
            p_Payslips jsi = new p_Payslips();

            closechild();
            btn_color_reset();

            jsi.MdiParent = this;

            lbl_modname.Text = jsi.Text;
            colormain        = panel2.BackColor;
            color2           = Color.Peru;

            jsi.Show();
        }
Example #2
0
 public p_PayslipsEntry(p_Payslips frm, String pk, Boolean _isnew)
 {
     InitializeComponent();
     gc.load_payroll_period(cbo_period_code);
     gc.load_dept(cbo_department_frm);
     gc.load_dept(cbo_department_until);
     gc.load_employee(cbo_employee);
     _p_frm_reg = frm;
     code       = pk;
     isnew      = _isnew;
     if (isnew == false)
     {
         init_load(code);
     }
 }