Back to index

lightning-sunbird  0.9+nobinonly
TestForm.cs
Go to the documentation of this file.
00001 /* -*- Mode: C#; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*-
00002  *
00003  * ***** BEGIN LICENSE BLOCK *****
00004  * Version: MPL 1.1/GPL 2.0/LGPL 2.1
00005  *
00006  * The contents of this file are subject to the Mozilla Public License Version
00007  * 1.1 (the "License"); you may not use this file except in compliance with
00008  * the License. You may obtain a copy of the License at
00009  * http://www.mozilla.org/MPL/
00010  *
00011  * Software distributed under the License is distributed on an "AS IS" basis,
00012  * WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License
00013  * for the specific language governing rights and limitations under the
00014  * License.
00015  *
00016  * The Original Code is Manticore.
00017  *
00018  * The Initial Developer of the Original Code is
00019  * Silverstone Interactive.
00020  * Portions created by the Initial Developer are Copyright (C) 2001
00021  * the Initial Developer. All Rights Reserved.
00022  *
00023  * Contributor(s):
00024  *   Ben Goodger <ben@netscape.com>
00025  *
00026  * Alternatively, the contents of this file may be used under the terms of
00027  * either the GNU General Public License Version 2 or later (the "GPL"), or
00028  * the GNU Lesser General Public License Version 2.1 or later (the "LGPL"),
00029  * in which case the provisions of the GPL or the LGPL are applicable instead
00030  * of those above. If you wish to allow use of your version of this file only
00031  * under the terms of either the GPL or the LGPL, and not to allow others to
00032  * use your version of this file under the terms of the MPL, indicate your
00033  * decision by deleting the provisions above and replace them with the notice
00034  * and other provisions required by the GPL or the LGPL. If you do not delete
00035  * the provisions above, a recipient may use your version of this file under
00036  * the terms of any one of the MPL, the GPL or the LGPL.
00037  *
00038  * ***** END LICENSE BLOCK ***** */
00039 
00040 using System;
00041 using System.Drawing;
00042 using System.Collections;
00043 using System.ComponentModel;
00044 using System.Windows.Forms;
00045 
00046 namespace Silverstone.Manticore.Toolkit
00047 {
00051        public class TestForm : System.Windows.Forms.Form
00052        {
00053     private System.Windows.Forms.StatusBar statusBar1;
00054     private System.Windows.Forms.ToolBar toolBar1;
00055     private System.Windows.Forms.TreeView treeView1;
00056     private System.Windows.Forms.TextBox textBox1;
00060               private System.ComponentModel.Container components = null;
00061 
00062               public TestForm()
00063               {
00064                      //
00065                      // Required for Windows Form Designer support
00066                      //
00067                      InitializeComponent();
00068 
00069       /*
00070       StripBar bar = new StripBar();
00071       bar.Dock = DockStyle.Top;
00072       // bar.BackImage = Image.FromFile("resources\\manticore.png");
00073       this.Controls.Add(bar);      
00074 
00075       StripBand bnd = new StripBand();
00076       bar.AddBand(bnd);
00077 
00078       bnd = new StripBand();
00079       bar.AddBand(bnd);
00080 */
00081               }
00082 
00086               protected override void Dispose( bool disposing )
00087               {
00088                      if( disposing )
00089                      {
00090                             if(components != null)
00091                             {
00092                                    components.Dispose();
00093                             }
00094                      }
00095                      base.Dispose( disposing );
00096               }
00097 
00098               #region Windows Form Designer generated code
00099 
00100 
00101 
00102 
00103               private void InitializeComponent()
00104               {
00105       this.statusBar1 = new System.Windows.Forms.StatusBar();
00106       this.toolBar1 = new System.Windows.Forms.ToolBar();
00107       this.treeView1 = new System.Windows.Forms.TreeView();
00108       this.textBox1 = new System.Windows.Forms.TextBox();
00109       this.SuspendLayout();
00110       // 
00111       // statusBar1
00112       // 
00113       this.statusBar1.Location = new System.Drawing.Point(0, 312);
00114       this.statusBar1.Name = "statusBar1";
00115       this.statusBar1.Size = new System.Drawing.Size(416, 22);
00116       this.statusBar1.TabIndex = 0;
00117       this.statusBar1.Text = "statusBar1";
00118       // 
00119       // toolBar1
00120       // 
00121       this.toolBar1.DropDownArrows = true;
00122       this.toolBar1.Name = "toolBar1";
00123       this.toolBar1.ShowToolTips = true;
00124       this.toolBar1.Size = new System.Drawing.Size(416, 39);
00125       this.toolBar1.TabIndex = 1;
00126       // 
00127       // treeView1
00128       // 
00129       this.treeView1.Anchor = (((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom) 
00130         | System.Windows.Forms.AnchorStyles.Left) 
00131         | System.Windows.Forms.AnchorStyles.Right);
00132       this.treeView1.ImageIndex = -1;
00133       this.treeView1.Location = new System.Drawing.Point(0, 64);
00134       this.treeView1.Name = "treeView1";
00135       this.treeView1.SelectedImageIndex = -1;
00136       this.treeView1.Size = new System.Drawing.Size(416, 248);
00137       this.treeView1.TabIndex = 3;
00138       // 
00139       // textBox1
00140       // 
00141       this.textBox1.Dock = System.Windows.Forms.DockStyle.Top;
00142       this.textBox1.Location = new System.Drawing.Point(0, 39);
00143       this.textBox1.Name = "textBox1";
00144       this.textBox1.Size = new System.Drawing.Size(416, 20);
00145       this.textBox1.TabIndex = 4;
00146       this.textBox1.Text = "textBox1";
00147       // 
00148       // TestForm
00149       // 
00150       this.AutoScaleBaseSize = new System.Drawing.Size(5, 13);
00151       this.ClientSize = new System.Drawing.Size(416, 334);
00152       this.Controls.AddRange(new System.Windows.Forms.Control[] {
00153                                                                   this.textBox1,
00154                                                                   this.treeView1,
00155                                                                   this.toolBar1,
00156                                                                   this.statusBar1});
00157       this.Name = "TestForm";
00158       this.Text = "TestForm";
00159       this.Load += new System.EventHandler(this.TestForm_Load);
00160       this.ResumeLayout(false);
00161 
00162     }
00163               #endregion
00164 
00165     private void TestForm_Load(object sender, System.EventArgs e)
00166     {
00167     
00168     }
00169        }
00170 }