コード例 #1
0
ファイル: ContextDocument.cs プロジェクト: mingkongbin/anycmd
        /// <summary>
        /// 
        /// </summary>
        /// <param name="context"></param>
        public Context( con.ContextDocumentReadWrite context )
        {
            _context = context;

            this.Text = "Context Document";
            this.SelectedImageIndex = 0;
            this.ImageIndex = 0;

            if( _context.Request != null )
            {
                this.Nodes.Add( new Request( _context.Request ) );
            }
            this.ExpandAll();
        }
コード例 #2
0
        /// <summary>
        ///
        /// </summary>
        /// <param name="context"></param>
        public Context(con.ContextDocumentReadWrite context)
        {
            _context = context;

            this.Text = "Context Document";
            this.SelectedImageIndex = 0;
            this.ImageIndex         = 0;

            if (_context.Request != null)
            {
                this.Nodes.Add(new Request(_context.Request));
            }
            this.ExpandAll();
        }