• 大小: 0.17M
    文件类型: .rar
    金币: 1
    下载: 0 次
    发布日期: 2020-12-25
  • 语言: C#
  • 标签: tree  导航  

资源简介

利用treeview制作导航栏

资源截图

代码片段和文件信息

using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Text;
using System.Windows.Forms;
//Download by http://www.codefans.net
namespace TailorGuidanceInterface
{
    public partial class Form1 : Form
    {
        public Form1()
        {
            InitializeComponent();
        }
       
        private void treeView1_AfterSelect(object sender TreeViewEventArgs e)
        {
            try
            {
                if (treeView1.SelectedNode.Text == “公司信息“)
                {
                    Form2 frm = new Form2();
                
                    frm.Show();
                }
            }
            catch (Exception ee)
            { MessageBox.Show(ee.Message); }
 

 属性            大小     日期    时间   名称
----------- ---------  ---------- -----  ----

     文件       1129  2012-04-30 10:16  softhy.net\TailorGuidanceInterface\TailorGuidanceInterface\Form1.cs

     文件      29674  2009-02-24 09:30  softhy.net\TailorGuidanceInterface\TailorGuidanceInterface\Form1.designer.cs

     文件      10881  2009-02-24 09:29  softhy.net\TailorGuidanceInterface\TailorGuidanceInterface\Form1.resx

     文件        575  2012-04-30 10:16  softhy.net\TailorGuidanceInterface\TailorGuidanceInterface\Form2.cs

     文件       1482  2009-02-24 09:30  softhy.net\TailorGuidanceInterface\TailorGuidanceInterface\Form2.designer.cs

     文件       5814  2009-02-24 09:29  softhy.net\TailorGuidanceInterface\TailorGuidanceInterface\Form2.resx

     文件        504  2009-02-24 09:29  softhy.net\TailorGuidanceInterface\TailorGuidanceInterface\Program.cs

     文件       1378  2009-02-24 09:29  softhy.net\TailorGuidanceInterface\TailorGuidanceInterface\Properties\AssemblyInfo.cs

     文件       3356  2009-02-24 09:30  softhy.net\TailorGuidanceInterface\TailorGuidanceInterface\Properties\Resources.Designer.cs

     文件       6425  2009-02-24 09:30  softhy.net\TailorGuidanceInterface\TailorGuidanceInterface\Properties\Resources.resx

     文件       1107  2009-02-24 09:29  softhy.net\TailorGuidanceInterface\TailorGuidanceInterface\Properties\Settings.Designer.cs

     文件        249  2009-02-24 09:29  softhy.net\TailorGuidanceInterface\TailorGuidanceInterface\Properties\Settings.settings

     文件      41532  2009-02-24 09:29  softhy.net\TailorGuidanceInterface\TailorGuidanceInterface\Resources\c.jpg

     文件     140144  2009-02-24 09:29  softhy.net\TailorGuidanceInterface\TailorGuidanceInterface\Resources\花.jpg

     文件       4312  2009-02-24 09:30  softhy.net\TailorGuidanceInterface\TailorGuidanceInterface\TailorGuidanceInterface.csproj

     文件        959  2009-02-24 09:29  softhy.net\TailorGuidanceInterface\TailorGuidanceInterface.sln

    ..A..H.     29184  2009-03-11 14:46  softhy.net\TailorGuidanceInterface\TailorGuidanceInterface.suo

     目录          0  2012-03-29 07:05  softhy.net\TailorGuidanceInterface\TailorGuidanceInterface\Properties

     目录          0  2012-04-19 07:45  softhy.net\TailorGuidanceInterface\TailorGuidanceInterface\Resources

     目录          0  2012-04-30 10:16  softhy.net\TailorGuidanceInterface\TailorGuidanceInterface

     目录          0  2012-03-29 07:05  softhy.net\TailorGuidanceInterface

     目录          0  2012-04-30 10:14  softhy.net

----------- ---------  ---------- -----  ----

               278705                    22


评论

共有 条评论