Ejemplo n.º 1
0
        void Menu_View(object sender, EventArgs args)
        {
            IViewParams node = sender as IViewParams;

            if (node == null)
            {
                return;
            }

            var view = new BoardView(UI, Board, node.GetUser(), node.GetProject());

            UI.ShowView(view, node.IsExternal());
        }
Ejemplo n.º 2
0
        void Menu_View(object sender, EventArgs args)
        {
            IViewParams node = sender as IViewParams;

            if (node == null)
            {
                return;
            }

            if (node.GetUser() != Core.UserID)
            {
                return;
            }

            // gui creates viewshell, component just passes view object
            var view = new ChatView(UI, Chat, node.GetProject());

            UI.ShowView(view, node.IsExternal());
        }
Ejemplo n.º 3
0
        public void Menu_View(object sender, EventArgs args)
        {
            IViewParams node = sender as IViewParams;

            if (node == null)
            {
                return;
            }

            ulong key = node.GetUser();

            if (Profile.Network.Responsive)
            {
                Profile.Research(key);
            }

            // gui creates viewshell, component just passes view object
            var view = new ProfileView(Profile, key, node.GetProject());

            UI.ShowView(view, node.IsExternal());
        }