Example #1
0
        private void FrmPerson_WorkFlow_Load(object sender, EventArgs e)
        {
            FlowLib FL = new FlowLib();

            FL.GetFlowTree("0");
            dgList1.DataSource = FL.DtFlowTree;
        }
Example #2
0
        private void BindCombox()
        {
            DataTable dt2 = new SqlServerHelper().GetDataTable("Meter_WorkFlowState", "", "ID");

            ControlBindHelper.BindComboBoxData(this.State, dt2, "Value", "ID");

            AddTreeNode("0", null);

            FlowLib FL = new FlowLib();

            FL.GetFlowTree("0");
            ControlBindHelper.BindComboBoxData(this.ParentID, FL.DtFlowTree, "WorkName", "WorkFlowID", true);
        }