Ejemplo n.º 1
0
        /// <summary>
        /// Private Function
        /// </summary>
        #region Private Function

        private void SetPopupedControlEvent(IPopupedControl control)
        {
            if (control != null)
            {
                control.Opened += delegate(object sender, PopupEventArgs e)
                {
                    ChangeApplicationBarButton(ApplicationBarConstant.Done);
                    SetMenuItemVisibility(false);
                };
                control.Closed += delegate(object sender, PopupEventArgs e)
                {
                    ChangeApplicationBarButton(ApplicationBarConstant.Add);
                    SetMenuItemVisibility(true);
                };
            }
        }
Ejemplo n.º 2
0
        private void SetPopupedControlEvent(IPopupedControl control)
        {
            if (control != null)
            {
                control.Opened += delegate(object sender, PopupEventArgs e)
                {
                    ChangeApplicationBarButton(ApplicationBarConstant.Done);
                    SetMenuItemVisibility(false);

                };
                control.Closed += delegate(object sender, PopupEventArgs e)
                {
                    ChangeApplicationBarButton(ApplicationBarConstant.Add);
                    SetMenuItemVisibility(true);
                };
            }
        }