예제 #1
0
        public PmTreeNode(PrivateMessageForm pmWindow)
        {
            PmWindow             = pmWindow;
            Text                 = pmWindow.PMSession.User.Nick;
            pmWindow.FormClosed += pmWindow_FormClosed;

            ContextMenuStrip = new PmNodeContextMenu();
            ((PmNodeContextMenu)ContextMenuStrip).CloseClick += delegate { PmWindow.Close(); };
        }
예제 #2
0
        public PmTreeNode(PrivateMessageForm pmWindow)
        {
            PmWindow = pmWindow;
            Text = pmWindow.PMSession.User.Nick;
            pmWindow.FormClosed += pmWindow_FormClosed;

            ContextMenuStrip = new PmNodeContextMenu();
            ((PmNodeContextMenu)ContextMenuStrip).CloseClick += delegate { PmWindow.Close(); };
        }