예제 #1
0
파일: BoardUI.cs 프로젝트: nandub/DeOps
        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());
        }
예제 #2
0
파일: MailUI.cs 프로젝트: nandub/DeOps
        void Menu_View(object sender, EventArgs args)
        {
            IViewParams node = sender as IViewParams;

            if (node == null)
            {
                return;
            }

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

            var view = new MailView(this);

            UI.ShowView(view, node.IsExternal());
        }
예제 #3
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());
        }
예제 #4
0
파일: ProfileUI.cs 프로젝트: nandub/DeOps
        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());
        }