Example #1
0
        private void LayoutRoot_Loaded(object sender, RoutedEventArgs e)
        {
            permClient.GetSysLeftMenuAsync("0", SMT.SAAS.Main.CurrentContext.Common.CurrentLoginUserInfo.EmployeeID);

            HeaderMenu.HBPervious.Click += new RoutedEventHandler(HBPervious_Click);

            HeaderMenu.HBNext.Click       += new RoutedEventHandler(HBNext_Click);
            HeaderMenu.HBFullScreen.Click += new RoutedEventHandler(HBFullScreen_Click);
        }
Example #2
0
        private void LoadEntityList()
        {
            bool isEmpty = false;

            CheckEntityMenuIsNullOrEmpty(out isEmpty);

            if (isEmpty)
            {
                if (permClient == null)
                {
                    permClient = new PermissionServiceClient();
                }

                permClient.GetSysLeftMenuAsync("0", SMT.SAAS.Main.CurrentContext.Common.CurrentLoginUserInfo.EmployeeID);
                permClient.GetSysLeftMenuCompleted += new EventHandler <GetSysLeftMenuCompletedEventArgs>(permClient_GetSysLeftMenuCompleted);
            }

            InitEntityInfoForComboBox();
        }