示例#1
0
 public p_AddOtherEarningsEntry(p_OtherEarningEntry frm, String pk, Boolean _isnew)
 {
     InitializeComponent();
    
     gc.load_employee(cbo_employee);
     _frm_earn = frm;
     code = pk;
     isnew = _isnew;
     if(isnew == false)
     {
         init_load(code);
     }
 }
示例#2
0
文件: Main.cs 项目: RighApps/h1r1s
        private void open_otherearnings()
        {
            p_OtherEarningEntry jsi = new p_OtherEarningEntry();

            closechild();
            btn_color_reset();

            jsi.MdiParent = this;

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

            jsi.Show();
        }