Exemple #1
0
        public WND_ConfFileContent()
        {
            //
            // The InitializeComponent() call is required for Windows Forms designer support.
            //
            InitializeComponent();
            this.Closing += new CancelEventHandler(WND_CLosing);
            //
            // TODO: Add constructor code after the InitializeComponent() call.
            //

            ImageList il = new ImageList();

            il.Images.Add("folder", SystemIcon.GetDirectoryIcon(true));
            il.Images.Add("other", SystemIcon.GetIcon(".other", false));
            il.Images.Add("swf", SystemIcon.GetIcon(".swf", false));
            il.Images.Add("xml", SystemIcon.GetIcon(".xml", false));
            il.Images.Add("jar", SystemIcon.GetIcon(".jar", false));
            this.treeView1.ImageList = il;
        }
Exemple #2
0
        public UC05_OverView()
        {
            //
            // The InitializeComponent() call is required for Windows Forms designer support.
            //
            InitializeComponent();

            //
            // TODO: Add constructor code after the InitializeComponent() call.
            //

            ImageList il = new ImageList();

            il.Images.Add("folder", SystemIcon.GetDirectoryIcon(true));
            il.Images.Add("other", SystemIcon.GetIcon(".other", false));
            il.Images.Add("swf", SystemIcon.GetIcon(".swf", false));
            il.Images.Add("xml", SystemIcon.GetIcon(".xml", false));
            il.Images.Add("jar", SystemIcon.GetIcon(".jar", false));
            this.treeView1.ImageList = il;
            //inittree();
        }
        public UC02_Select()
        {
            //
            // The InitializeComponent() call is required for Windows Forms designer support.
            //
            InitializeComponent();

            //
            // TODO: Add constructor code after the InitializeComponent() call.
            //
            this.textBox1.Enabled = false;
            this.button1.Enabled  = false;
            this.button3.Enabled  = false;
            ImageList il = new ImageList();

            il.Images.Add("folder", SystemIcon.GetDirectoryIcon(true));
            il.Images.Add("other", SystemIcon.GetIcon(".other", false));
            il.Images.Add("swf", SystemIcon.GetIcon(".swf", false));
            il.Images.Add("xml", SystemIcon.GetIcon(".xml", false));
            il.Images.Add("jar", SystemIcon.GetIcon(".jar", false));
            this.treeView1.ImageList = il;
        }