Example #1
0
 public FlowView()
 {
     InitializeComponent();
     modelClient = new Flow_ModelDefineClient(); //实例化流程模块
     RegisterEvents();
     tvFlow.OnSelectionChanged += new TreeControl.SelectionChanged(tvFlow_SelectionChanged);  //树形选择事件
 }
Example #2
0
 public ModelCodeList()
 {
     InitializeComponent();
     client = new Flow_ModelDefineClient(); //实例化流程模块
     clientXml = new FlowXmlDefineClient(); //实例化xml
     ToolBarMinor.ButtonNew.Click += new RoutedEventHandler(ButtonNew_Click);
     ToolBarMinor.ButtonUpdate.Click += new RoutedEventHandler(ButtonUpdate_Click); //修改
     ToolBarMinor.ButtonDelete.Click += new RoutedEventHandler(ButtonDelete_Click); //删除
     ToolBarMinor.ButtonSearch.Visibility = System.Windows.Visibility.Collapsed;
     ToolBarMinor.ButtonSave.Visibility = System.Windows.Visibility.Collapsed;
     RegisterServices();
 }
Example #3
0
        public Flow_ModelDefineClient modelClient = null; //流程模块WCF定义
        #endregion

        public FlowView()
        {
            InitializeComponent();
            modelClient = new Flow_ModelDefineClient();                                             //实例化流程模块
            RegisterEvents();
            tvFlow.OnSelectionChanged += new TreeControl.SelectionChanged(tvFlow_SelectionChanged); //树形选择事件
            if (WfUtils.StateList == null)
            {
                permissionClient.GetSysRoleInfosAsync("", "");
            }

            modelClient.GetSystemCodeModelCodeListAsync(); //绑定树
            ucFlowlist.BindFlowList("", "");               //绑定列表
        }
Example #4
0
 public ModelCodeList()
 {
     InitializeComponent();
     client    = new Flow_ModelDefineClient();                                          //实例化流程模块
     clientXml = new FlowXmlDefineClient();                                             //实例化xml
     ToolBarMinor.ButtonNew.Click        += new RoutedEventHandler(ButtonNew_Click);
     ToolBarMinor.ButtonUpdate.Click     += new RoutedEventHandler(ButtonUpdate_Click); //修改
     ToolBarMinor.ButtonDelete.Click     += new RoutedEventHandler(ButtonDelete_Click); //删除
     ToolBarMinor.ButtonSearch.Visibility = System.Windows.Visibility.Collapsed;
     ToolBarMinor.ButtonSave.Visibility   = System.Windows.Visibility.Collapsed;
     RegisterServices();
     pBar.Start();
     clientXml.ListSystemAsync();
 }
Example #5
0
        public Flow_ModelDefineClient modelClient = null; //流程模块WCF定义
        #endregion

        public FlowView()
        {
            InitializeComponent();
            modelClient = new Flow_ModelDefineClient(); //实例化流程模块            
            RegisterEvents(); 
            tvFlow.OnSelectionChanged += new TreeControl.SelectionChanged(tvFlow_SelectionChanged);  //树形选择事件
            if (WfUtils.StateList == null)
            {
                permissionClient.GetSysRoleInfosAsync("", "");
            }

            modelClient.GetSystemCodeModelCodeListAsync();//绑定树
            ucFlowlist.BindFlowList("", "");//绑定列表

          
        }
Example #6
0
 public Flow_ModelDefineClient client = null; //流程模块WCF定义      
 //private ObservableCollection<AppModel> appModel = new ObservableCollection<AppModel>();//XML模块代码
 //private ObservableCollection<AppSystem> appSystem = new ObservableCollection<AppSystem>();//XML系统代码
 //private ObservableCollection<AppSystem> SystemCode = new ObservableCollection<AppSystem>();//XML系统代码
 public EngineMain()
 {
   
     InitializeComponent();
     client = new Flow_ModelDefineClient(); //实例化流程模块          
 }
Example #7
0
 public Flow_ModelDefineClient client = null; //流程模块WCF定义
 //private ObservableCollection<AppModel> appModel = new ObservableCollection<AppModel>();//XML模块代码
 //private ObservableCollection<AppSystem> appSystem = new ObservableCollection<AppSystem>();//XML系统代码
 //private ObservableCollection<AppSystem> SystemCode = new ObservableCollection<AppSystem>();//XML系统代码
 public EngineMain()
 {
     InitializeComponent();
     client = new Flow_ModelDefineClient(); //实例化流程模块
 }