public p_AddOtherDeductionsEntry(p_OtherDeductionEntry 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_otherdeduction()
        {
            p_OtherDeductionEntry jsi = new p_OtherDeductionEntry();

            closechild();
            btn_color_reset();

            jsi.MdiParent = this;

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

            jsi.Show();
        }