Пример #1
0
        private void Init_Form()
        {
            Dep.Init_Tree(this.Tag + "");
            Dep.vs1.AfterRowColChange += new C1.Win.C1FlexGrid.RangeEventHandler(Depvs1_AfterRowColChange);
            Dep.Show_Tree();
            Init_vs();
            Init_vs1();
            Basic.Function.PublicFunction.L_Init_Label(this);
            cmd_ok.Enabled = vs1.Rows.Count > 1;
            string sql = "Select COL_NM,COL_" + PublicFunction.L_Lag + " from FILD01A where BAS_BT=1 ";

            if (ACC)
            {
                sql += " and ACC_BT=1";
            }
            else
            {
                sql += " and HUR_BT=1";
            }
            PublicFunction.InitCB(cb, sql, false);
            txt1.Text = vs.Cols[txt1.Tag + ""].Caption;
            txt2.Text = vs.Cols[txt2.Tag + ""].Caption;
            txt3.Text = vs.Cols[txt3.Tag + ""].Caption;
            vs.AutoSizeCols();
        }
Пример #2
0
 private void Init_Form()
 {
     Dep.Init_Tree(this.Tag + "");
     Dep.vs1.AfterRowColChange += new C1.Win.C1FlexGrid.RangeEventHandler(Depvs1_AfterRowColChange);
     Dep.Show_Tree();
     Init_vs();
     Basic.Function.PublicFunction.L_Init_Label(this);
 }
Пример #3
0
 private void frmTaSeachReport_Load(object sender, System.EventArgs e)
 {
     Dep.Init_Tree(this.Tag + "");
     Dep.Show_Tree();
     Dep.vs1.AfterRowColChange += new C1.Win.C1FlexGrid.RangeEventHandler(Depvs1_AfterRowColChange);
     Init_vs();
     dt1.Value = dt2.Value = T_String.GetDate();
     vs.Cols["ATT_DT"].Format = dt1.CustomFormat = dt2.CustomFormat = PublicFunction.GetOption("DATE");
     Basic.Function.PublicFunction.L_Init_Label(this);
     Init_Menu();
 }
Пример #4
0
        private void frmTaSalary_Load(object sender, System.EventArgs e)
        {
            Init_vs();
            Dep.Init_Tree(this.Tag + "");
            Dep.vs1.AfterRowColChange += new C1.Win.C1FlexGrid.RangeEventHandler(depvs1_AfterRowColChange);
            Dep.Show_Tree();
            Init_CB();
            Basic.Function.PublicFunction.L_Init_Label(this);
            dt.Value = T_String.GetDate();
//			if(wh+""!="")
//				nav.Show_VS("a.EMP_ID=N'"+wh+"'");
        }
Пример #5
0
 private void frmTaGraduationHistory_Load(object sender, System.EventArgs e)
 {
     Init_vs();
     Init_vs1();
     Dep.Init_Tree(this.Tag + "");
     Dep.Show_Tree();
     Dep.vs1.AfterRowColChange += new RangeEventHandler(Depvs1_AfterRowColChange);
     Basic.Function.PublicFunction.L_Init_Label(this);
     if (wh + "" != "")
     {
         nav1.Show_VS("EMP_ID=N'" + wh + "'");
         Show_VS1();
     }
 }
Пример #6
0
 private void Init_Form()
 {
     Dep.Init_Tree(this.Tag + "");
     Dep.Show_Tree();
     Dep.vs1.AfterRowColChange += new C1.Win.C1FlexGrid.RangeEventHandler(Depvs1_AfterRowColChange);
     //Dep.vs1.KeyDown+=new KeyEventHandler(Dep_KeyDown);
     Init_vs();
     InitCB();
     //vs.Tag="N";
     Basic.Function.PublicFunction.L_Init_Label(this);
     //vs.Tag="";
     //Basic.Function.PublicFunction.L_Init_Label(vs,this.Name+"_vs");
     //vs.Tag="N";
 }
Пример #7
0
 private void frmTaSalaryInput_Load(object sender, System.EventArgs e)
 {
     Init_vs();
     Init_vs1();
     Dep.Init_Tree(this.Tag + "");
     Dep.Show_Tree();
     Dep.vs1.AfterRowColChange += new RangeEventHandler(Depvs1_AfterRowColChange);
     Basic.Function.PublicFunction.L_Init_Label(this);
     if (wh + "" != "")
     {
         nav1.Show_VS("EMP_ID=N'" + wh + "' and (SEX_BT=0 or SEX_BT is null)");
         Show_VS1();
     }
     vs.Cols["MAN_ST"].Format = vs.Cols["MAN_ED"].Format = PublicFunction.GetOption("DATE");
     Init_Menu();
 }
Пример #8
0
        private void Init_Form()
        {
            Dep.Init_Tree(this.Tag + "");
            Dep.Show_Tree();
            Dep.vs1.AfterRowColChange += new C1.Win.C1FlexGrid.RangeEventHandler(Depvs1_AfterRowColChange);
            Init_vs();
            InitCB();
            Basic.Function.PublicFunction.L_Init_Label(this);

            if (PublicFunction.GPS)
            {
                Basic.Function.PublicFunction.L_Init_Label(vs, this.Name + "000_vs_GPS");
            }
            else
            {
                Basic.Function.PublicFunction.L_Init_Label(vs, this.Name + "000_vs");
            }
        }
Пример #9
0
        private void Init_Form()
        {
            Dep.Init_Tree(this.Tag + "");
            Dep.vs1.AfterRowColChange += new C1.Win.C1FlexGrid.RangeEventHandler(Depvs1_AfterRowColChange);
            Dep.Show_Tree();
            Init_vs();
            Init_vs1();
            Basic.Function.PublicFunction.L_Init_Label(this);
            string sql = "Select SHI_ID from FILC02A";

            Func.RecordSet rs = new Func.RecordSet(sql, PublicFunction.C_con);
            for (int i = 0; i < rs.rows; i++)
            {
                cb.Items.Add(rs.record(i, 0));
            }
            dt1.CustomFormat = dt2.CustomFormat = PublicFunction.GetOption("DATE");
            dt1.Value        = dt2.Value = T_String.GetDate();
        }