Esempio n. 1
0
        /// <summary>
        /// <see cref="TreePanel2"/> インスタンスを生成し、<see cref="TreePanel2.SetUp"/> 関数を引数に
        /// <see cref="SI.DocumentViews"/> を指定して呼び出して初期化し、返します。
        /// </summary>
        /// <returns>初期化済みの <see cref="TreePanel2"/> インスタンス</returns>
        public static TreePanel2 CreateTreePanel()
        {
            var tree = new TreePanel2 {
                Dock = DockStyle.Fill
            };

            tree.SetUp(SI.DocumentViews);
            return(tree);
        }
Esempio n. 2
0
 /// <summary>
 /// <see cref="TreePanel2"/> �C���X�^���X�𐶐����A<see cref="TreePanel2.SetUp"/> �֐��������
 /// <see cref="SI.DocumentViews"/> ��w�肵�ČĂяo���ď��������A�Ԃ��܂��B
 /// </summary>
 /// <returns>�������ς݂� <see cref="TreePanel2"/> �C���X�^���X</returns>
 public static TreePanel2 CreateTreePanel()
 {
     var tree = new TreePanel2 { Dock = DockStyle.Fill };
       tree.SetUp( SI.DocumentViews );
       return tree;
 }