Ejemplo n.º 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(); };
        }
Ejemplo n.º 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(); };
        }