extra: import at 3.0.1 beta 1
[mozilla-extra.git] / extensions / manticore / bookmarks / Test.cs
blob3eb1521e090b757e4aba75f37a9396cd02ed05c6
1 /* -*- Mode: C#; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*-
3 * ***** BEGIN LICENSE BLOCK *****
4 * Version: MPL 1.1/GPL 2.0/LGPL 2.1
6 * The contents of this file are subject to the Mozilla Public License Version
7 * 1.1 (the "License"); you may not use this file except in compliance with
8 * the License. You may obtain a copy of the License at
9 * http://www.mozilla.org/MPL/
11 * Software distributed under the License is distributed on an "AS IS" basis,
12 * WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License
13 * for the specific language governing rights and limitations under the
14 * License.
16 * The Original Code is Manticore.
18 * The Initial Developer of the Original Code is
19 * Silverstone Interactive.
20 * Portions created by the Initial Developer are Copyright (C) 2001
21 * the Initial Developer. All Rights Reserved.
23 * Contributor(s):
24 * Ben Goodger <ben@netscape.com> (Original Author)
26 * Alternatively, the contents of this file may be used under the terms of
27 * either the GNU General Public License Version 2 or later (the "GPL"), or
28 * the GNU Lesser General Public License Version 2.1 or later (the "LGPL"),
29 * in which case the provisions of the GPL or the LGPL are applicable instead
30 * of those above. If you wish to allow use of your version of this file only
31 * under the terms of either the GPL or the LGPL, and not to allow others to
32 * use your version of this file under the terms of the MPL, indicate your
33 * decision by deleting the provisions above and replace them with the notice
34 * and other provisions required by the GPL or the LGPL. If you do not delete
35 * the provisions above, a recipient may use your version of this file under
36 * the terms of any one of the MPL, the GPL or the LGPL.
38 * ***** END LICENSE BLOCK ***** */
40 using System;
41 using System.Drawing;
42 using System.Collections;
43 using System.ComponentModel;
44 using System.Windows.Forms;
46 namespace Silverstone.Manticore.bookmarks
48 /// <summary>
49 /// Summary description for Test.
50 /// </summary>
51 public class Test : System.Windows.Forms.Form
53 private System.Windows.Forms.StatusBar statusBar1;
54 private System.Windows.Forms.TreeView treeView1;
55 /// <summary>
56 /// Required designer variable.
57 /// </summary>
58 private System.ComponentModel.Container components = null;
60 public Test()
63 // Required for Windows Form Designer support
65 InitializeComponent();
68 // TODO: Add any constructor code after InitializeComponent call
72 /// <summary>
73 /// Clean up any resources being used.
74 /// </summary>
75 protected override void Dispose( bool disposing )
77 if( disposing )
79 if(components != null)
81 components.Dispose();
84 base.Dispose( disposing );
87 #region Windows Form Designer generated code
88 /// <summary>
89 /// Required method for Designer support - do not modify
90 /// the contents of this method with the code editor.
91 /// </summary>
92 private void InitializeComponent()
94 this.statusBar1 = new System.Windows.Forms.StatusBar();
95 this.treeView1 = new System.Windows.Forms.TreeView();
96 this.SuspendLayout();
97 //
98 // statusBar1
99 //
100 this.statusBar1.Location = new System.Drawing.Point(0, 253);
101 this.statusBar1.Name = "statusBar1";
102 this.statusBar1.TabIndex = 0;
103 this.statusBar1.Text = "statusBar1";
105 // treeView1
107 this.treeView1.Dock = System.Windows.Forms.DockStyle.Fill;
108 this.treeView1.ImageIndex = -1;
109 this.treeView1.Name = "treeView1";
110 this.treeView1.SelectedImageIndex = -1;
111 this.treeView1.TabIndex = 1;
112 this.treeView1.AfterSelect += new System.Windows.Forms.TreeViewEventHandler(this.treeView1_AfterSelect);
114 // Test
116 this.AutoScaleBaseSize = new System.Drawing.Size(5, 13);
117 this.ClientSize = new System.Drawing.Size(292, 273);
118 this.Controls.AddRange(new System.Windows.Forms.Control[] {
119 this.treeView1,
120 this.statusBar1});
121 this.Name = "Test";
122 this.Text = "Test";
123 this.ResumeLayout(false);
126 #endregion
128 private void treeView1_AfterSelect(object sender, System.Windows.Forms.TreeViewEventArgs e)