Пример #1
1
		protected override void OnLoad(EventArgs e)
		{
			var menu = new MainMenu();
			MenuItem open = new MenuItem("Open", (s, a) =>
			{
				using (var dialog = new OpenFileDialogAdapter())
				{
					dialog.InitialDirectory = "/tmp";
					if (dialog.ShowDialog() == DialogResult.OK)
					{
						m_datafile = new FileInfo(dialog.FileName);
						m_painted = false;
					}
				}
			});

			MenuItem refresh = new MenuItem("Refresh", (s, a) =>
			{
				m_painted = false;
				this.Invalidate();
			});

			base.OnLoad(e);

			menu.MenuItems.Add(open);
			menu.MenuItems.Add(refresh);
			Menu = menu;
		}
Пример #2
1
		/// <summary>
		/// Required method for Designer support - do not modify
		/// the contents of this method with the code editor.
		/// </summary>
		private void InitializeComponent()
		{
			this.panelBottom = new System.Windows.Forms.Panel();
			this.grid = new SourceGrid.Grid();
			this.mainMenu1 = new System.Windows.Forms.MainMenu();
			this.mnWindow = new System.Windows.Forms.MenuItem();
			this.panelBottom.SuspendLayout();
			this.SuspendLayout();
			// 
			// panelBottom
			// 
			this.panelBottom.BackColor = System.Drawing.SystemColors.ControlDark;
			this.panelBottom.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
			this.panelBottom.Controls.Add(this.grid);
			this.panelBottom.Dock = System.Windows.Forms.DockStyle.Bottom;
			this.panelBottom.Location = new System.Drawing.Point(0, 342);
			this.panelBottom.Name = "panelBottom";
			this.panelBottom.Size = new System.Drawing.Size(772, 128);
			this.panelBottom.TabIndex = 1;
			// 
			// grid
			// 
			this.grid.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom) 
				| System.Windows.Forms.AnchorStyles.Left) 
				| System.Windows.Forms.AnchorStyles.Right)));
			this.grid.AutoStretchColumnsToFitWidth = false;
			this.grid.AutoStretchRowsToFitHeight = false;
			this.grid.BackColor = System.Drawing.SystemColors.Window;
			this.grid.CustomSort = false;
			this.grid.Location = new System.Drawing.Point(0, 4);
			this.grid.Name = "grid";
			this.grid.OverrideCommonCmdKey = true;
			this.grid.Size = new System.Drawing.Size(768, 120);
			this.grid.SpecialKeys = SourceGrid.GridSpecialKeys.Default;
			this.grid.TabIndex = 0;
			// 
			// mainMenu1
			// 
			this.mainMenu1.MenuItems.AddRange(new System.Windows.Forms.MenuItem[] {
																					  this.mnWindow});
			// 
			// mnWindow
			// 
			this.mnWindow.Index = 0;
			this.mnWindow.Text = "Window";
			// 
			// frmSample25
			// 
			this.AutoScaleBaseSize = new System.Drawing.Size(5, 13);
			this.ClientSize = new System.Drawing.Size(772, 470);
			this.Controls.Add(this.panelBottom);
			this.IsMdiContainer = true;
			this.Menu = this.mainMenu1;
			this.Name = "frmSample25";
			this.Text = "frmSample25";
			this.Load += new System.EventHandler(this.frmSample25_Load);
			this.panelBottom.ResumeLayout(false);
			this.ResumeLayout(false);

		}
Пример #3
1
 /// <summary>
 /// Required method for Designer support - do not modify
 /// the contents of this method with the code editor.
 /// </summary>
 private void InitializeComponent()
 {
     this.mainMenu1 = new System.Windows.Forms.MainMenu();
     this.menuItem1 = new System.Windows.Forms.MenuItem();
     this.menuItem2 = new System.Windows.Forms.MenuItem();
     this.menuItem3 = new System.Windows.Forms.MenuItem();
     //
     // mainMenu1
     //
     this.mainMenu1.MenuItems.Add(this.menuItem1);
     //
     // menuItem1
     //
     this.menuItem1.MenuItems.Add(this.menuItem2);
     this.menuItem1.Text = "Opciones";
     //
     // menuItem2
     //
     this.menuItem2.MenuItems.Add(this.menuItem3);
     this.menuItem2.Text = "Datos de Lectora";
     //
     // menuItem3
     //
     this.menuItem3.Text = "Sincronizar Cortes";
     //
     // SistemasEtiquetas
     //
     this.BackColor = System.Drawing.Color.White;
     this.ClientSize = new System.Drawing.Size(322, 348);
     this.Menu = this.mainMenu1;
     this.Text = "Sistema de Eitquetas";
     this.WindowState = System.Windows.Forms.FormWindowState.Maximized;
 }
Пример #4
1
        public Transformer()
        {
            //
            // Required for Windows Form Designer support
            //
            InitializeComponent();

            //
            // TODO: Add any constructor code after InitializeComponent call
            //
            this.SetStyle(ControlStyles.AllPaintingInWmPaint, true);
            this.SetStyle(ControlStyles.UserPaint, true);
            this.SetStyle(ControlStyles.DoubleBuffer, true);
            Text = "COMP 4560:  Assignment 5 (A00884869) (Duy Le)";
            ResizeRedraw = true;
            BackColor = Color.Black;
            MenuItem miNewDat = new MenuItem("New &Data...",
                new EventHandler(MenuNewDataOnClick));
            MenuItem miExit = new MenuItem("E&xit",
                new EventHandler(MenuFileExitOnClick));
            MenuItem miDash = new MenuItem("-");
            MenuItem miFile = new MenuItem("&File",
                new MenuItem[] {miNewDat, miDash, miExit});
            MenuItem miAbout = new MenuItem("&About",
                new EventHandler(MenuAboutOnClick));
            Menu = new MainMenu(new MenuItem[] {miFile, miAbout});

            //foreach (var button in Controls.OfType<Button>())
            //{
            //    button.Click += button_Click;
            //}

            _timer = new System.Windows.Forms.Timer();
            _timer.Interval = 1;
        }
Пример #5
0
        public MainForm()
        {
            ClientSize = new Size(640, 480);
            ShowIcon = false;

            FilePath = "";
            fileType = FileType.XML;

            Menu = new MainMenu();
            CreateMenu();

            BrowserSettings browserSettings = new BrowserSettings() {
                HistoryDisabled = true,
                FixedFontFamily = FontFamily.GenericMonospace.Name,
                DefaultFontSize = 12,
                DefaultFixedFontSize = 8
            };

            webView = new WebView("http://internal/res/index.html", browserSettings) {
                Dock = DockStyle.Fill,
                RequestHandler = new ManifestResourceHandler() {
                    culture = Thread.CurrentThread.CurrentCulture
                },
                LifeSpanHandler = new ExternalLifeSpanHandler(),
                JsDialogHandler = new WebViewDialogHandler(this)
            };
            webView.PropertyChanged += WebViewTitleChanged;

            this.Controls.Add(webView);

            CEF.RegisterJsObject("win", ctrl = new FormControlObject(this));
            ctrl.OnDataArrive += OnDataArrive;
        }
Пример #6
0
        public Transformer()
        {
            //
            // Required for Windows Form Designer support
            //
            InitializeComponent();

            this.SetStyle(ControlStyles.AllPaintingInWmPaint, true);
            this.SetStyle(ControlStyles.UserPaint, true);
            this.SetStyle(ControlStyles.DoubleBuffer, true);
            Text = "COMP 4560:  Assignment 5 (201230) Joseph Krump";
            ResizeRedraw = true;
            BackColor = Color.Black;
            MenuItem miNewDat = new MenuItem("New &Data...",
                new EventHandler(MenuNewDataOnClick));
            MenuItem miExit = new MenuItem("E&xit",
                new EventHandler(MenuFileExitOnClick));
            MenuItem miDash = new MenuItem("-");
            MenuItem miFile = new MenuItem("&File",
                new MenuItem[] {miNewDat, miDash, miExit});
            MenuItem miAbout = new MenuItem("&About",
                new EventHandler(MenuAboutOnClick));
            Menu = new MainMenu(new MenuItem[] {miFile, miAbout});
            refresh += InvalidateWindow;
        }
Пример #7
0
 public MainForm()
 {
     defaultInstance = this;
     UpdateText();
     listBox.Dock = DockStyle.Fill;
     listBox.SelectedValueChanged += new EventHandler(listBox_SelectedValueChanged);
     splitContainer.Panel1.Controls.Add(listBox);
     propertyGrid.Dock = DockStyle.Fill;
     propertyGrid.HelpVisible = false;
     propertyGrid.PropertyValueChanged += new PropertyValueChangedEventHandler(
         propertyGrid_PropertyValueChanged);
     splitContainer.Panel2.Controls.Add(propertyGrid);
     splitContainer.Dock = DockStyle.Fill;
     Controls.Add(splitContainer);
     MenuItem fileMenu = new MenuItem("&File");
     fileMenu.MenuItems.Add(new MenuItem("&Open", open_Click));
     fileMenu.MenuItems.Add(new MenuItem("&Save", save_Click));
     fileMenu.MenuItems.Add(new MenuItem("E&xit",
         delegate(object sender, EventArgs args) { Close(); }));
     MenuItem editMenu = new MenuItem("&Edit");
     editMenu.MenuItems.Add(new MenuItem("&Add entry", addEntry_Click));
     editMenu.MenuItems.Add(new MenuItem("&Remove entry", removeEntry_Click));
     Menu = new MainMenu(new MenuItem[] { fileMenu, editMenu });
     DataBindings.Add(new Binding("Size", settings, "FormSize"));
     DataBindings.Add(new Binding("Location", settings, "FormLocation"));
 }
Пример #8
0
        public MyWindow()
            : base()
        {
            Menu = new MainMenu();
            Menu.MenuItems.Add("File");
            Menu.MenuItems.Add("Edit");
            Menu.MenuItems.Add("View");
            Menu.MenuItems.Add("Help");

            Bitmap bm = new Bitmap(GetType(), "SimpleToolbar.bmp");
            ImageList imglist = new ImageList();
            imglist.Images.AddStrip(bm);
            imglist.TransparentColor = Color.LightBlue;
            ToolBar tb = new ToolBar();
            tb.Parent = this;
            tb.ShowToolTips = true;
            string[] astr = { "New", "Open", "Save", "Print", "Cut", "Copy", "Paste" };
            for (int i = 0; i < 7; i++)
            {
                ToolBarButton tbb = new ToolBarButton();
                tbb.ImageIndex = i;
                tbb.ToolTipText = astr[i];
                tb.Buttons.Add(tbb);
            }
        }
Пример #9
0
        internal StatusForm(StatusMonitor statusMonitor, BrowserIntegration browserIntegration, PreferenceStore preferenceStore)
        {
            this.browserIntegration = browserIntegration;
            this.preferenceStore = preferenceStore;

            this.statusMonitor = statusMonitor;

            statusMonitor.DataLoaded += onXmlDataLoaded;

            preferences = preferenceStore.Load();

            MenuItem settingsMenuItem = new MenuItem("Settings...", new EventHandler(onSettingsClicked));
            MenuItem separatorMenuItem = new MenuItem("-");
            MenuItem exitMenuItem = new MenuItem("Exit", new EventHandler(onMenuExitClick));
            MenuItem fileMenu = new MenuItem("File", new MenuItem[] { settingsMenuItem, separatorMenuItem, exitMenuItem });
            MainMenu mainMenu = new MainMenu(new MenuItem[] {fileMenu});
            this.Menu = mainMenu;

            // .NET 1.1 compat
                        EventInfo formClosingEvent = GetType().GetEvent("FormClosing");
                        if (formClosingEvent != null)
                        {
                                formClosingEvent.AddEventHandler(this, new FormClosingEventHandler(this.onClosing));
            }

            InitializeComponent();

            configure();

            timer.Enabled = true;
        }
Пример #10
0
        public Transformer()
        {
            //
            // Required for Windows Form Designer support
            //
            InitializeComponent();

            //
            // TODO: Add any constructor code after InitializeComponent call
            //
            this.SetStyle(ControlStyles.AllPaintingInWmPaint, true);
            this.SetStyle(ControlStyles.UserPaint, true);
            this.SetStyle(ControlStyles.DoubleBuffer, true);
            Text = "COMP 4560:  Assignment 5 (200830) (Your Name Here)";
            ResizeRedraw = true;
            BackColor = Color.Black;
            MenuItem miNewDat = new MenuItem("New &Data...",
                new EventHandler(MenuNewDataOnClick));
            MenuItem miExit = new MenuItem("E&xit",
                new EventHandler(MenuFileExitOnClick));
            MenuItem miDash = new MenuItem("-");
            MenuItem miFile = new MenuItem("&File",
                new MenuItem[] {miNewDat, miDash, miExit});
            MenuItem miAbout = new MenuItem("&About",
                new EventHandler(MenuAboutOnClick));
            Menu = new MainMenu(new MenuItem[] {miFile, miAbout});
        }
        /// <summary>
        /// Required method for Designer support - do not modify
        /// the contents of this method with the code editor.
        /// </summary>
        private void InitializeComponent()
        {
            this.components = new System.ComponentModel.Container();
            this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
            this.Text = "ModelEditor";
            m_Closed = false;

            m_FileName = string.Empty;

            m_PerspectiveView = new PerspectiveViewControl( );
            m_PerspectiveView.Dock = System.Windows.Forms.DockStyle.Fill;
            m_PerspectiveView.Location = new System.Drawing.Point( 100, 100 );

            m_MainMenu = new MainMenu( );

            m_FileMenu = new MenuItem( "&File" );
            m_FileOpen = new MenuItem( "&Open",
                this.FileOpen, Shortcut.CtrlO );

            m_MainMenu.MenuItems.Add( m_FileMenu );
            m_FileMenu.MenuItems.Add( m_FileOpen );

            this.Menu = m_MainMenu;

            this.SuspendLayout( );

            this.Controls.Add( m_PerspectiveView );

            this.ResumeLayout( );

            this.FormClosing += new System.Windows.Forms.FormClosingEventHandler( ModelEditor_FormClosing );
        }
Пример #12
0
namespace MyGeneration
{
	/// <summary>
	/// Summary description for VBScriptTemplate.
	/// </summary>
	public class VBScriptTemplate : ScriptWindow
	{
		/// <summary>
		/// Required designer variable.
		/// </summary>
		private System.ComponentModel.Container components = null;
		private System.Windows.Forms.MainMenu mainMenu1;
		private System.Windows.Forms.MenuItem Script;
		private System.Windows.Forms.MenuItem ScriptGenerate;
		private ScintillaControl scintillaControl = null;
		public VBScriptTemplate()
		{
			InitializeComponent();
			scintillaControl = new ZeusScintillaControl(ScriptLanguage.VBScript);
			scintillaControl.AddShortcutsFromForm(this);
			
			this.Controls.Add(scintillaControl);
		}
		/// <summary>
		/// Clean up any resources being used.
		/// </summary>
		protected override void Dispose( bool disposing )
		{
			if( disposing )
			{
				if(components != null)
				{
					components.Dispose();
				}
			}
			base.Dispose( disposing );
		}
		protected override ScintillaControl ScintillaControl
		{
Пример #13
0
        private void InitializeComponent()
        {
            this.Text = "Jump to buffer";

            ColumnHeader columnHeader = new ColumnHeader();
            columnHeader.Text = "Buffer";

            this.bufferlistview = new ListView();
            this.bufferlistview.View = View.Details;
            this.bufferlistview.HeaderStyle = ColumnHeaderStyle.Nonclickable;
            this.bufferlistview.FullRowSelect = true;
            this.bufferlistview.Dock = DockStyle.Fill;
            this.bufferlistview.Columns.Add(columnHeader);
            this.bufferlistview.SelectedIndexChanged += this.BufferListView_SelectedIndexChanged;
            this.Controls.Add(this.bufferlistview);

            MainMenu menu = new MainMenu();
            this.Menu = menu;

            MenuItem select = new MenuItem();
            select.Text = "Select buffer";
            select.Click += this.Select_Click;
            menu.MenuItems.Add(select);

            MenuItem cancel = new MenuItem();
            cancel.Text = "Cancel";
            cancel.Click += this.Cancel_Click;
            menu.MenuItems.Add(cancel);
        }
Пример #14
0
        public void AddMenu()
        {
            MainMenu mnuFileMenu = new MainMenu();

            option = new MenuItem("&Options");
            hlp = new MenuItem("&Help");
            aboutDev = new MenuItem("&About Developers");
            nGame = new MenuItem("&New Game");
            ext = new MenuItem("&Exit");
            advanced = new MenuItem("&Show/Hide Developer Console");

            advanced.Shortcut = System.Windows.Forms.Shortcut.F1;

            mnuFileMenu.MenuItems.Add(option);
            mnuFileMenu.MenuItems.Add(hlp);
            hlp.MenuItems.Add(aboutDev);
            option.MenuItems.Add(nGame);
            option.MenuItems.Add(advanced);
            option.MenuItems.Add(ext);

            nGame.Click += new System.EventHandler(this.menuItems_onClick);
            ext.Click += new System.EventHandler(this.menuItems_onClick);
            aboutDev.Click += new System.EventHandler(this.menuItems_onClick);
            advanced.Click += new System.EventHandler(this.menuItems_onClick);
            this.Menu = mnuFileMenu;
        }
Пример #15
0
 /// <summary>
 /// Required method for Designer support - do not modify
 /// the contents of this method with the code editor.
 /// </summary>
 private void InitializeComponent()
 {
     this.mainMenu = new System.Windows.Forms.MainMenu();
     this.menuFile = new System.Windows.Forms.MenuItem();
     this.menuFileExit = new System.Windows.Forms.MenuItem();
     //
     // mainMenu
     //
     this.mainMenu.MenuItems.AddRange(new System.Windows.Forms.MenuItem[] {
                                                                              this.menuFile});
     //
     // menuFile
     //
     this.menuFile.Index = 0;
     this.menuFile.MenuItems.AddRange(new System.Windows.Forms.MenuItem[] {
                                                                              this.menuFileExit});
     this.menuFile.Text = "File";
     //
     // menuFileExit
     //
     this.menuFileExit.Index = 0;
     this.menuFileExit.Text = "Exit";
     this.menuFileExit.Click += new System.EventHandler(this.menuFileExit_Click);
     //
     // Form1
     //
     this.AutoScaleBaseSize = new System.Drawing.Size(5, 13);
     this.ClientSize = new System.Drawing.Size(528, 325);
     this.MaximizeBox = false;
     this.Menu = this.mainMenu;
     this.Name = "Form1";
     this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen;
     this.Text = "Sea War Advanced";
 }
 //SQLLinker sqlinker = new SQLLinker();
 public SkillSimulatorMainGUI()
 {
     InitializeComponent();
     SetStyle(ControlStyles.OptimizedDoubleBuffer, true);
     Graph = new GraphManager();
     menu = new MainMenu();
     PrevSelectedJob = SelectedJob = "";
 }
Пример #17
0
 public PrintThreePages()
 {
     Text = "Print Three Pages";
     Menu = new MainMenu();
     Menu.MenuItems.Add("&File");
     Menu.MenuItems[0].MenuItems.Add("&Print...",
         new EventHandler(MenuFilePrintOnClick));
 }
Пример #18
0
 public BaseMenuBuilder(MainMenu aMainMenu,
                    MenuItem aParent, 
                    MenuItem aBefore, 
                    MenuItem aAfter)
     : base(aMainMenu, aParent, aBefore, aAfter)
 {
     InitializeComponent();
 }
Пример #19
0
		public MenuItemProvider (SWF.MenuItem menuItem) :
			base (menuItem)
		{
			this.menuItem = menuItem;
			parentMenu = mainMenu =	menuItem.GetMainMenu ();
			if (parentMenu == null)
				parentMenu = menuItem.GetContextMenu ();
		}
Пример #20
0
 public void AddMenu()
 {
     MainMenu mnuFuturesContractsMenu = new MainMenu();
     this.Menu = mnuFuturesContractsMenu;
     MenuItem FuturesContracts = new MenuItem("&FuturesContracts");
     MenuItem addNextExistingContracts = new MenuItem("&Add Next/Edit Existing Contracts");
     MenuItem createNewContract = new MenuItem("&Create a new contract");
 }
Пример #21
0
		public void GetMainMenuTest ()
		{
			MainMenu mymainmenu = new MainMenu ();
			MenuItem mymenuitem = new MenuItem ();
			mymenuitem.Text = "menu 1";
			mymainmenu.MenuItems.Add (mymenuitem);
			Assert.AreEqual (mymainmenu, mymenuitem.GetMainMenu (), "#7");
		}	
Пример #22
0
 /// <summary>
 /// Required method for Designer support - do not modify
 /// the contents of this method with the code editor.
 /// </summary>
 private void InitializeComponent()
 {
     this.colorPanel1 = new Sano.PersonalProjects.ColorPicker.Controls.ColorPanel();
     this.mainMenu = new System.Windows.Forms.MainMenu();
     this.menuItem1 = new System.Windows.Forms.MenuItem();
     this.menuItem2 = new System.Windows.Forms.MenuItem();
     this.menuItem3 = new System.Windows.Forms.MenuItem();
     this.SuspendLayout();
     //
     // colorPanel1
     //
     this.colorPanel1.AllowDrop = true;
     this.colorPanel1.Location = new System.Drawing.Point(2, 14);
     this.colorPanel1.Name = "colorPanel1";
     this.colorPanel1.Size = new System.Drawing.Size(572, 272);
     this.colorPanel1.TabIndex = 0;
     //
     // mainMenu
     //
     this.mainMenu.MenuItems.AddRange(new System.Windows.Forms.MenuItem[] {
                                                                              this.menuItem1});
     //
     // menuItem1
     //
     this.menuItem1.Index = 0;
     this.menuItem1.MenuItems.AddRange(new System.Windows.Forms.MenuItem[] {
                                                                               this.menuItem2,
                                                                               this.menuItem3});
     this.menuItem1.Text = "&Help";
     //
     // menuItem2
     //
     this.menuItem2.Index = 0;
     this.menuItem2.Text = "About ColorPicker.NET";
     this.menuItem2.Click += new System.EventHandler(this.menuItem2_Click);
     //
     // menuItem3
     //
     this.menuItem3.Index = 1;
     this.menuItem3.Text = "Homepage";
     this.menuItem3.Click += new System.EventHandler(this.menuItem3_Click);
     //
     // MainForm
     //
     this.AutoScaleBaseSize = new System.Drawing.Size(5, 13);
     this.ClientSize = new System.Drawing.Size(576, 301);
     this.Controls.Add(this.colorPanel1);
     this.MaximizeBox = false;
     this.Menu = this.mainMenu;
     this.Name = "MainForm";
     this.Text = "ColorPicker.NET";
     this.Resize += new System.EventHandler(this.MainForm_Resize);
     this.ResumeLayout(false);
 }
Пример #23
0
		/// <summary>
		/// Required method for Designer support - do not modify
		/// the contents of this method with the code editor.
		/// </summary>
		private void InitializeComponent()
		{
            this.mainMenu1 = new System.Windows.Forms.MainMenu();
            // 
            // Form1
            // 
            this.Menu = this.mainMenu1;
            this.Text = "Form1";
            this.Load += new System.EventHandler(this.Form1_Load);

        }
Пример #24
0
        private void InitMenu()
        {
            Menu = new MainMenu();

            MenuItem objMenuItemFile = Menu.MenuItems.Add("File");
            objMenuItemFile.MenuItems.Add("Exit", objMenuItemExit_Click);

            MenuItem objMenuItemOperations = Menu.MenuItems.Add("Operations");
            objMenuItemOperations.MenuItems.Add("Send File", objMenuItemSendFile_Click);
            objMenuItemOperations.MenuItems.Add("Clear Completed", objMenuItemClearCompleted_Click);
        }
Пример #25
0
        void InitializeComponents()
        {
            this.StartPosition = FormStartPosition.CenterScreen;
            this.FormBorderStyle = FormBorderStyle.FixedSingle;
            this.BackColor = Color.FromArgb (230, 230, 230);
            this.BackgroundImageLayout = ImageLayout.Zoom;
            this.MaximizeBox = false;

            #region Menu
            var menu = new MainMenu ();

            // Program menu
            var menu_program = new MenuItem ("Program");
            menu_program.MenuItems.Add (new MenuItem ("Load program", LoadProgram, Shortcut.CtrlO));
            menu_program.MenuItems.Add (new MenuItem ("Exit", (sender, e) => Application.Exit (), Shortcut.CtrlX));

            // Emulator menu
            var menu_emulator = new MenuItem ("Emulator");
            menu_emulator.MenuItems.Add (new MenuItem ("Start", (sender, e) => Debugger.Instance.Continue (), Shortcut.AltUpArrow));
            menu_emulator.MenuItems.Add (new MenuItem ("Pause", (sender, e) => Debugger.Instance.Pause (), Shortcut.AltDownArrow));
            menu_emulator.MenuItems.Add (new MenuItem ("Stop", (sender, e) => Debugger.Instance.Stop (), Shortcut.AltLeftArrow));
            menu_emulator.MenuItems.Add ("Restart", (sender, e) => Debugger.Instance.Restart ());
            var menu_emulator_speed = new MenuItem ("Speed");
            menu_emulator_speed.MenuItems.Add ("25%", (sender, e) => Debugger.Instance.Frequency = 1000);
            menu_emulator_speed.MenuItems.Add ("50%", (sender, e) => Debugger.Instance.Frequency = 2000);
            menu_emulator_speed.MenuItems.Add ("100%", (sender, e) => Debugger.Instance.Frequency = 4000);
            menu_emulator_speed.MenuItems.Add ("200%", (sender, e) => Debugger.Instance.Frequency = 8000);
            menu_emulator_speed.MenuItems.Add ("500%", (sender, e) => Debugger.Instance.Frequency = 20000);
            menu_emulator_speed.MenuItems.Add ("Unlimited", (sender, e) => Debugger.Instance.Frequency = 0);
            menu_emulator.MenuItems.Add (menu_emulator_speed);

            // Debug menu
            var menu_debug = new MenuItem ("Debugger");
            menu_debug.MenuItems.Add (new MenuItem ("Step", (sender, e) => Debugger.Instance.Step (), Shortcut.AltRightArrow));
            menu_debug.MenuItems.Add (new MenuItem ("Dump RAM", DumpRam, Shortcut.CtrlD));
            menu_debug.MenuItems.Add (new MenuItem ("Dump ROM", DumpRom, Shortcut.CtrlShiftD));

            // Views menu
            var menu_views = new MenuItem ("Views");
            menu_views.MenuItems.Add (new MenuItem ("Registers", ShowRegisters, Shortcut.CtrlShiftR));

            menu.MenuItems.AddRange (new [] { menu_program, menu_emulator, menu_debug, menu_views });
            this.Menu = menu;
            #endregion

            lblregs = new Label {
                AutoSize = false,
                Dock = DockStyle.Right,
                Width = 298,
                Font = new Font (FontFamily.GenericMonospace, 11.25f)
            };

            this.ClientSize = new Size (640, 320);
        }
Пример #26
0
        public PhotoForm()
        {
            InitializeComponent();

            Menu = new MainMenu();

            MenuItem miClose = new MenuItem { Text = Messages.Close };
            miClose.Click += new EventHandler(miClose_Click);
            Menu.MenuItems.Add(miClose);

            this.Load += new EventHandler(PhotoForm_Load);
        }
Пример #27
0
    // Constructor.
    public FolderBrowserDialogExampleForm()
    {
        this.mainMenu1 = new System.Windows.Forms.MainMenu();
        this.fileMenuItem = new System.Windows.Forms.MenuItem();
        this.openMenuItem = new System.Windows.Forms.MenuItem();
        this.folderMenuItem = new System.Windows.Forms.MenuItem();
        this.closeMenuItem = new System.Windows.Forms.MenuItem();

        this.openFileDialog1 = new System.Windows.Forms.OpenFileDialog();
        this.folderBrowserDialog1 = new System.Windows.Forms.FolderBrowserDialog();
        this.richTextBox1 = new System.Windows.Forms.RichTextBox();

        this.mainMenu1.MenuItems.Add(this.fileMenuItem);
        this.fileMenuItem.MenuItems.AddRange(
                            new System.Windows.Forms.MenuItem[] {this.openMenuItem,
                                                                 this.closeMenuItem,
                                                                 this.folderMenuItem});
        this.fileMenuItem.Text = "File";

        this.openMenuItem.Text = "Open...";
        this.openMenuItem.Click += new System.EventHandler(this.openMenuItem_Click);

        this.folderMenuItem.Text = "Select Directory...";
        this.folderMenuItem.Click += new System.EventHandler(this.folderMenuItem_Click);

        this.closeMenuItem.Text = "Close";
        this.closeMenuItem.Click += new System.EventHandler(this.closeMenuItem_Click);
        this.closeMenuItem.Enabled = false;

        this.openFileDialog1.DefaultExt = "rtf";
        this.openFileDialog1.Filter = "rtf files (*.rtf)|*.rtf";

        // Set the help text description for the FolderBrowserDialog.
        this.folderBrowserDialog1.Description =
            "Select the directory that you want to use as the default.";

        // Do not allow the user to create new files via the FolderBrowserDialog.
        this.folderBrowserDialog1.ShowNewFolderButton = false;

        // Default to the My Documents folder.
        this.folderBrowserDialog1.RootFolder = Environment.SpecialFolder.Personal;

        this.richTextBox1.AcceptsTab = true;
        this.richTextBox1.Location = new System.Drawing.Point(8, 8);
        this.richTextBox1.Size = new System.Drawing.Size(280, 344);
        this.richTextBox1.Anchor = AnchorStyles.Top | AnchorStyles.Left |
                                   AnchorStyles.Bottom | AnchorStyles.Right;

        this.ClientSize = new System.Drawing.Size(296, 360);
        this.Controls.Add(this.richTextBox1);
        this.Menu = this.mainMenu1;
        this.Text = "RTF Document Browser";
    }
Пример #28
0
		public void CloneMenuTest ()
		{
			MainMenu mymainmenu1 = new MainMenu ();
			MenuItem menuitem1 = new MenuItem ();
			MenuItem menuitem2 = new MenuItem ();
			menuitem1.Text = "item1";
			menuitem2.Text = "item2";
			mymainmenu1.MenuItems.Add (menuitem1);
			mymainmenu1.MenuItems.Add (menuitem2);
			MainMenu mymainmenu2 = mymainmenu1.CloneMenu ();
			Assert.AreEqual ("item1", mymainmenu2.MenuItems[0].Text, "#9");
		}
Пример #29
0
        void InitMenuItems()
        {
            MenuItem menuResources = new MenuItem("&Resources", new EventHandler(this.menuResources_Click));

            // Create file menu and add array of sub-menu items
            MenuItem menuTools = new MenuItem("&Tools");
            menuTools.MenuItems.AddRange(
                new MenuItem[] { menuResources });

            MainMenu menuMain = new MainMenu(new MenuItem[]{menuTools});
            this.Menu = menuMain;
        }
 /// <summary>
 /// Required method for Designer support - do not modify
 /// the contents of this method with the code editor.
 /// </summary>
 private void InitializeComponent()
 {
     System.Resources.ResourceManager resources = new System.Resources.ResourceManager(typeof(EncodeDecodeDialog));
     this.encodeDecodeUtil1 = new Ecyware.GreenBlue.GreenBlueMain.EncodeDecodeUtil();
     this.mainMenu1 = new System.Windows.Forms.MainMenu();
     this.menuItem1 = new System.Windows.Forms.MenuItem();
     this.menuItem2 = new System.Windows.Forms.MenuItem();
     this.SuspendLayout();
     //
     // encodeDecodeUtil1
     //
     this.encodeDecodeUtil1.Dock = System.Windows.Forms.DockStyle.Fill;
     this.encodeDecodeUtil1.DockPadding.All = 3;
     this.encodeDecodeUtil1.Location = new System.Drawing.Point(0, 0);
     this.encodeDecodeUtil1.Name = "encodeDecodeUtil1";
     this.encodeDecodeUtil1.Size = new System.Drawing.Size(580, 398);
     this.encodeDecodeUtil1.TabIndex = 0;
     //
     // mainMenu1
     //
     this.mainMenu1.MenuItems.AddRange(new System.Windows.Forms.MenuItem[] {
                                                                               this.menuItem1});
     //
     // menuItem1
     //
     this.menuItem1.Index = 0;
     this.menuItem1.MenuItems.AddRange(new System.Windows.Forms.MenuItem[] {
                                                                               this.menuItem2});
     this.menuItem1.Text = "&File";
     //
     // menuItem2
     //
     this.menuItem2.Index = 0;
     this.menuItem2.Text = "&Close";
     this.menuItem2.Click += new System.EventHandler(this.menuItem2_Click);
     //
     // EncodeDecodeDialog
     //
     this.AutoScaleBaseSize = new System.Drawing.Size(5, 13);
     this.ClientSize = new System.Drawing.Size(580, 398);
     this.Controls.Add(this.encodeDecodeUtil1);
     this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedDialog;
     this.Icon = ((System.Drawing.Icon)(resources.GetObject("$this.Icon")));
     this.MaximizeBox = false;
     this.Menu = this.mainMenu1;
     this.MinimizeBox = false;
     this.MinimumSize = new System.Drawing.Size(586, 430);
     this.Name = "EncodeDecodeDialog";
     this.ShowInTaskbar = false;
     this.StartPosition = System.Windows.Forms.FormStartPosition.CenterParent;
     this.Text = "Encode Decode Tool";
     this.ResumeLayout(false);
 }
Пример #31
0
        //
        // Initialize the controls and set their properties
        //
        void InitializeComponent()
        {
            //
            //Standard menu example menu items
            //
            miSub0.Text          = "&Normal";
            miSub1.Text          = "&Checked_true";
            miSub1.Checked       = true;
            miSub2.Text          = "&Checked_false";
            miSub2.Checked       = false;
            miSub3.Text          = "&RadioCheck_true";
            miSub3.RadioCheck    = true;
            miSub4.Text          = "&RadioCheck_false";
            miSub4.RadioCheck    = false;
            miSub5.Text          = "&RadioCheck_true_Checked_true";
            miSub5.RadioCheck    = true;
            miSub5.Checked       = true;
            miSub6.Text          = "&RadioCheck_false_Checked_true";
            miSub6.RadioCheck    = false;
            miSub6.Checked       = true;
            miSub7.Text          = "&RadioCheck_true_Checked_false";
            miSub7.RadioCheck    = true;
            miSub7.Checked       = false;
            miSub8.Text          = "&RadioCheck_false_Checked_false";
            miSub8.RadioCheck    = false;
            miSub8.Checked       = false;
            miSub9.Text          = "&Default_true";
            miSub9.DefaultItem   = true;
            miSub10.Text         = "&Default_false";
            miSub10.DefaultItem  = false;
            miSub11.Text         = "&Enabled_true";
            miSub11.Enabled      = true;
            miSub12.Text         = "&Enabled_false";
            miSub12.Enabled      = false;
            miSub13.Text         = "&Shortcut(CtrlS)";
            miSub13.Shortcut     = Shortcut.CtrlS;
            miSub14.Text         = "&Shortcut(CtrlS)_ShowShortcut_false";
            miSub14.Shortcut     = Shortcut.CtrlS;
            miSub14.ShowShortcut = false;
            miSub15.Text         = "&Shortcut(CtrlS)_ShowShortcut_true";
            miSub15.Shortcut     = Shortcut.CtrlS;
            miSub15.ShowShortcut = true;
            miSub16.Text         = "&Shortcut(CtrlT)_ShowShortcut_false";
            miSub16.Shortcut     = Shortcut.CtrlT;
            miSub16.ShowShortcut = false;
            miSub17.Text         = "&Shortcut(CtrlU)_ShowShortcut_true";
            miSub17.Shortcut     = Shortcut.CtrlU;
            miSub17.ShowShortcut = true;

            //
            //Divided menu example menu items
            //
            miDash.Text                 = "-";
            miDash2.Text                = "-";
            miDash2.Enabled             = true;
            miDash3.Text                = "-";
            miDash3.Enabled             = false;
            miDash4.Text                = "-";
            miDash4.Checked             = true;
            miDash5.Text                = "-";
            miDash5.RadioCheck          = true;
            miDash5.Checked             = true;
            miDash6.Text                = "-";
            miDash6.DefaultItem         = true;
            miSubDivided0.Text          = "&Normal";
            miSubDivided1.Text          = "&Checked_true";
            miSubDivided1.Checked       = true;
            miSubDivided2.Text          = "&Checked_false";
            miSubDivided2.Checked       = false;
            miSubDivided3.Text          = "&RadioCheck_true";
            miSubDivided3.RadioCheck    = true;
            miSubDivided4.Text          = "&RadioCheck_false";
            miSubDivided4.RadioCheck    = false;
            miSubDivided5.Text          = "&RadioCheck_true_Checked_true";
            miSubDivided5.RadioCheck    = true;
            miSubDivided5.Checked       = true;
            miSubDivided6.Text          = "&RadioCheck_false_Checked_true";
            miSubDivided6.RadioCheck    = false;
            miSubDivided6.Checked       = true;
            miSubDivided7.Text          = "&RadioCheck_true_Checked_false";
            miSubDivided7.RadioCheck    = true;
            miSubDivided7.Checked       = false;
            miSubDivided8.Text          = "&RadioCheck_false_Checked_false";
            miSubDivided8.RadioCheck    = false;
            miSubDivided8.Checked       = false;
            miSubDivided9.Text          = "&Default_true";
            miSubDivided9.DefaultItem   = true;
            miSubDivided10.Text         = "&Default_false";
            miSubDivided10.DefaultItem  = false;
            miSubDivided11.Text         = "&Enabled_true";
            miSubDivided11.Enabled      = true;
            miSubDivided12.Text         = "&Enabled_false";
            miSubDivided12.Enabled      = false;
            miSubDivided13.Text         = "&Shortcut(CtrlS)";
            miSubDivided13.Shortcut     = Shortcut.CtrlS;
            miSubDivided14.Text         = "&Shortcut(CtrlS)_ShowShortcut_false";
            miSubDivided14.Shortcut     = Shortcut.CtrlS;
            miSubDivided14.ShowShortcut = false;
            miSubDivided15.Text         = "&Shortcut(CtrlS)_ShowShortcut_true";
            miSubDivided15.Shortcut     = Shortcut.CtrlS;
            miSubDivided15.ShowShortcut = true;
            miSubDivided16.Text         = "&Shortcut(CtrlT)_ShowShortcut_false";
            miSubDivided16.Shortcut     = Shortcut.CtrlT;
            miSubDivided16.ShowShortcut = false;
            miSubDivided17.Text         = "&Shortcut(CtrlU)_ShowShortcut_true";
            miSubDivided17.Shortcut     = Shortcut.CtrlU;
            miSubDivided17.ShowShortcut = true;
            miSubDivided18.Text         = "&BarBreak_true";
            miSubDivided18.BarBreak     = true;
            miSubDivided19.Text         = "&BarBreak_false";
            miSubDivided19.BarBreak     = false;
            miSubDivided20.Text         = "&Break_true";
            miSubDivided20.Break        = true;
            miSubDivided21.Text         = "&Break_false";
            miSubDivided21.Break        = false;

            //
            //Hierarchical menu example menu items
            //
            miSubHierarchical0.Text = "&Normal";
            miSubHierarchical1      = new MenuItem("&Checked", new MenuItem[]
                                                   { miSubHierarchical2,
                                                miSubHierarchical3 });
            miSubHierarchical2.Text    = "&Checked_true";
            miSubHierarchical2.Checked = true;
            miSubHierarchical3.Text    = "&Checked_false";
            miSubHierarchical3.Checked = false;
            miSubHierarchical4         = new MenuItem("&RadioCheck", new MenuItem[]
                                                      { miSubHierarchical5,
                                                miSubHierarchical6,
                                                miSubHierarchical7,
                                                miSubHierarchical8,
                                                miSubHierarchical9,
                                                miSubHierarchical10 });
            miSubHierarchical5.Text        = "&RadioCheck_true";
            miSubHierarchical5.RadioCheck  = true;
            miSubHierarchical6.Text        = "&RadioCheck_false";
            miSubHierarchical6.RadioCheck  = false;
            miSubHierarchical7.Text        = "&RadioCheck_true_Checked_true";
            miSubHierarchical7.RadioCheck  = true;
            miSubHierarchical7.Checked     = true;
            miSubHierarchical8.Text        = "&RadioCheck_false_Checked_true";
            miSubHierarchical8.RadioCheck  = false;
            miSubHierarchical8.Checked     = true;
            miSubHierarchical9.Text        = "&RadioCheck_true_Checked_false";
            miSubHierarchical9.RadioCheck  = true;
            miSubHierarchical9.Checked     = false;
            miSubHierarchical10.Text       = "&RadioCheck_false_Checked_false";
            miSubHierarchical10.RadioCheck = false;
            miSubHierarchical10.Checked    = false;
            miSubHierarchical11            = new MenuItem("&Default", new MenuItem[]
                                                          { miSubHierarchical12,
                                                 miSubHierarchical13 });
            miSubHierarchical12.Text        = "&Default_true";
            miSubHierarchical12.DefaultItem = true;
            miSubHierarchical13.Text        = "&Default_false";
            miSubHierarchical13.DefaultItem = false;
            miSubHierarchical14             = new MenuItem("&Default_Default(true)", new MenuItem[]
                                                           { miSubHierarchical15,
                                                 miSubHierarchical16 });
            miSubHierarchical14.DefaultItem = true;
            miSubHierarchical15.Text        = "&Default_true";
            miSubHierarchical15.DefaultItem = true;
            miSubHierarchical16.Text        = "&Default_false";
            miSubHierarchical16.DefaultItem = false;
            miSubHierarchical17             = new MenuItem("&Enabled", new MenuItem[]
                                                           { miSubHierarchical18,
                                                 miSubHierarchical19 });
            miSubHierarchical18.Text    = "&Enabled_true";
            miSubHierarchical18.Enabled = true;
            miSubHierarchical19.Text    = "&Enabled_false";
            miSubHierarchical19.Enabled = false;
            miSubHierarchical20         = new MenuItem("&Enabled_Enabled(false)", new MenuItem[]
                                                       { miSubHierarchical21,
                                                 miSubHierarchical22 });
            miSubHierarchical20.Enabled = false;
            miSubHierarchical21.Text    = "&Enabled_true";
            miSubHierarchical21.Enabled = true;
            miSubHierarchical22.Text    = "&Enabled_false";
            miSubHierarchical22.Enabled = false;
            miSubHierarchical23         = new MenuItem("&ShortCut", new MenuItem[]
                                                       { miSubHierarchical24,
                                                 miSubHierarchical25,
                                                 miSubHierarchical26,
                                                 miSubHierarchical27,
                                                 miSubHierarchical28 });
            miSubHierarchical24.Text         = "&Shortcut(CtrlS)";
            miSubHierarchical24.Shortcut     = Shortcut.CtrlS;
            miSubHierarchical25.Text         = "&Shortcut(CtrlS)_ShowShortcut_false";
            miSubHierarchical25.Shortcut     = Shortcut.CtrlS;
            miSubHierarchical25.ShowShortcut = false;
            miSubHierarchical26.Text         = "&Shortcut(CtrlS)_ShowShortcut_true";
            miSubHierarchical26.Shortcut     = Shortcut.CtrlS;
            miSubHierarchical26.ShowShortcut = true;
            miSubHierarchical27.Text         = "&Shortcut(CtrlT)_ShowShortcut_false";
            miSubHierarchical27.Shortcut     = Shortcut.CtrlT;
            miSubHierarchical27.ShowShortcut = false;
            miSubHierarchical28.Text         = "&Shortcut(CtrlU)_ShowShortcut_true";
            miSubHierarchical28.Shortcut     = Shortcut.CtrlU;
            miSubHierarchical28.ShowShortcut = true;

            //
            //Window menu example menu items
            //
            miWindow0.Text    = "&Window_MdiList_false";
            miWindow0.MdiList = false;
            miWindow1.Text    = "&Window_MdiList_true";
            miWindow1.MdiList = true;

            //
            //Add the menu items to the Standard example
            //
            miStandard = new MenuItem("&Standard", new MenuItem[] { miSub0,
                                                                    miSub1, miSub2, miSub3, miSub4, miSub5,
                                                                    miSub6, miSub7, miSub8, miSub9, miSub10,
                                                                    miSub11, miSub12, miSub13, miSub14,
                                                                    miSub15, miSub16, miSub17 });

            //
            //Add the menu items to the Divided example
            //
            miDivided = new MenuItem("&Divided", new MenuItem[] { miSubDivided0,
                                                                  miDash, miSubDivided1, miSubDivided2,
                                                                  miDash2, miSubDivided3, miSubDivided4,
                                                                  miDash3, miSubDivided5, miSubDivided6,
                                                                  miSubDivided7, miSubDivided8, miDash4,
                                                                  miSubDivided9, miSubDivided10, miDash5,
                                                                  miSubDivided11, miSubDivided12, miDash6,
                                                                  miSubDivided13, miSubDivided14, miSubDivided15,
                                                                  miSubDivided16, miSubDivided17, miSubDivided18,
                                                                  miSubDivided19, miSubDivided20, miSubDivided21 });

            //
            //Add the menu items to the Hierarchical example
            //
            miHierarchical = new MenuItem("&Hierarchical", new MenuItem[]
                                          { miSubHierarchical0, miSubHierarchical1,
                                            miSubHierarchical4, miSubHierarchical11,
                                            miSubHierarchical14, miSubHierarchical17,
                                            miSubHierarchical20, miSubHierarchical23 });

            //
            //Add the menu items to the Window example
            //
            miWindow         = new MenuItem("&Window", new MenuItem[] { miWindow0, miWindow1 });
            miWindow.MdiList = true;

            //
            //Add the examples to the mainMenu
            //
            mainMenu = new MainMenu(new MenuItem[] { miStandard, miDivided,
                                                     miHierarchical, miWindow });

            //
            // MainForm (Add the controls to the form and set its properties)
            //
            this.SuspendLayout();
            this.IsMdiContainer = true;
            this.Name           = "MainForm";
            this.Text           = "SWF-MainMenu";
            this.Size           = new System.Drawing.Size(600, 450);
            this.Menu           = this.mainMenu;
            this.ResumeLayout(false);

            //
            //Create and show MdiForm one
            //
            fOne           = new System.Windows.Forms.Form();
            fOne.Size      = new System.Drawing.Size(200, 50);
            fOne.MdiParent = this;
            fOne.Name      = "One";
            fOne.Text      = "One";
            fOne.Show();

            //
            //Create and show MdiForm two
            //
            fTwo           = new System.Windows.Forms.Form();
            fTwo.Size      = new System.Drawing.Size(200, 50);
            fTwo.MdiParent = this;
            fTwo.Name      = "Two";
            fTwo.Text      = "Two";
            fTwo.Show();

            //
            //Create and show MdiForm three
            //
            fThree           = new System.Windows.Forms.Form();
            fThree.Size      = new System.Drawing.Size(200, 50);
            fThree.MdiParent = this;
            fThree.Name      = "Three";
            fThree.Text      = "Three";
            fThree.Show();
        }
Пример #32
0
 /// <summary>
 /// Required method for Designer support - do not modify
 /// the contents of this method with the code editor.
 /// </summary>
 private void InitializeComponent()
 {
     this.components       = new System.ComponentModel.Container();
     this.scheduleControl1 = new Syncfusion.Windows.Forms.Schedule.ScheduleControl();
     this.mainMenu1        = new System.Windows.Forms.MainMenu(this.components);
     this.menuItem1        = new System.Windows.Forms.MenuItem();
     this.menuItem2        = new System.Windows.Forms.MenuItem();
     this.menuItem4        = new System.Windows.Forms.MenuItem();
     this.menuItem3        = new System.Windows.Forms.MenuItem();
     this.menuItem25       = new System.Windows.Forms.MenuItem();
     this.menuItem27       = new System.Windows.Forms.MenuItem();
     this.menuItem26       = new System.Windows.Forms.MenuItem();
     this.menuItem5        = new System.Windows.Forms.MenuItem();
     this.menuItem6        = new System.Windows.Forms.MenuItem();
     this.menuItem7        = new System.Windows.Forms.MenuItem();
     this.menuItem8        = new System.Windows.Forms.MenuItem();
     this.menuItem9        = new System.Windows.Forms.MenuItem();
     this.menuItem10       = new System.Windows.Forms.MenuItem();
     this.menuItem11       = new System.Windows.Forms.MenuItem();
     this.menuItem12       = new System.Windows.Forms.MenuItem();
     this.menuItem13       = new System.Windows.Forms.MenuItem();
     this.menuItem14       = new System.Windows.Forms.MenuItem();
     this.menuItem15       = new System.Windows.Forms.MenuItem();
     this.menuItem16       = new System.Windows.Forms.MenuItem();
     this.menuItem17       = new System.Windows.Forms.MenuItem();
     this.menuItem19       = new System.Windows.Forms.MenuItem();
     this.menuItem41       = new System.Windows.Forms.MenuItem();
     this.menuItem42       = new System.Windows.Forms.MenuItem();
     this.menuItem18       = new System.Windows.Forms.MenuItem();
     this.menuItem32       = new System.Windows.Forms.MenuItem();
     this.menuItem33       = new System.Windows.Forms.MenuItem();
     this.menuItem34       = new System.Windows.Forms.MenuItem();
     this.menuItem35       = new System.Windows.Forms.MenuItem();
     this.menuItem36       = new System.Windows.Forms.MenuItem();
     this.menuItem37       = new System.Windows.Forms.MenuItem();
     this.menuItem22       = new System.Windows.Forms.MenuItem();
     this.menuItem29       = new System.Windows.Forms.MenuItem();
     this.menuItem30       = new System.Windows.Forms.MenuItem();
     this.menuItem31       = new System.Windows.Forms.MenuItem();
     this.menuItem28       = new System.Windows.Forms.MenuItem();
     this.menuItem38       = new System.Windows.Forms.MenuItem();
     this.menuItem39       = new System.Windows.Forms.MenuItem();
     this.menuItem40       = new System.Windows.Forms.MenuItem();
     this.menuItem20       = new System.Windows.Forms.MenuItem();
     this.menuItem44       = new System.Windows.Forms.MenuItem();
     this.menuItem21       = new System.Windows.Forms.MenuItem();
     this.menuItem43       = new System.Windows.Forms.MenuItem();
     this.menuItem23       = new System.Windows.Forms.MenuItem();
     this.menuItem24       = new System.Windows.Forms.MenuItem();
     this.SuspendLayout();
     //
     // scheduleControl1
     //
     this.scheduleControl1.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom)
                                                                           | System.Windows.Forms.AnchorStyles.Left)
                                                                          | System.Windows.Forms.AnchorStyles.Right)));
     this.scheduleControl1.BackColor             = System.Drawing.Color.FromArgb(((int)(((byte)(192)))), ((int)(((byte)(201)))), ((int)(((byte)(219)))));
     this.scheduleControl1.Culture               = new System.Globalization.CultureInfo("");
     this.scheduleControl1.DataSource            = null;
     this.scheduleControl1.ISO8601CalenderFormat = false;
     this.scheduleControl1.Location              = new System.Drawing.Point(32, 24);
     this.scheduleControl1.Name = "scheduleControl1";
     this.scheduleControl1.NavigationPanelPosition = Syncfusion.Schedule.CalendarNavigationPanelPosition.Left;
     this.scheduleControl1.Size     = new System.Drawing.Size(816, 581);
     this.scheduleControl1.TabIndex = 3;
     //
     // mainMenu1
     //
     this.mainMenu1.MenuItems.AddRange(new System.Windows.Forms.MenuItem[] {
         this.menuItem1,
         this.menuItem6,
         this.menuItem11,
         this.menuItem16,
         this.menuItem23
     });
     //
     // menuItem1
     //
     this.menuItem1.Index = 0;
     this.menuItem1.MenuItems.AddRange(new System.Windows.Forms.MenuItem[] {
         this.menuItem2,
         this.menuItem4,
         this.menuItem3,
         this.menuItem25,
         this.menuItem27,
         this.menuItem26,
         this.menuItem5
     });
     this.menuItem1.Text = "File";
     //
     // menuItem2
     //
     this.menuItem2.Index  = 0;
     this.menuItem2.Text   = "Open Calendar...";
     this.menuItem2.Click += new System.EventHandler(this.menuItem2_Click);
     //
     // menuItem4
     //
     this.menuItem4.Index  = 1;
     this.menuItem4.Text   = "New Calendar...";
     this.menuItem4.Click += new System.EventHandler(this.menuItem4_Click);
     //
     // menuItem3
     //
     this.menuItem3.Index  = 2;
     this.menuItem3.Text   = "Save Calendar";
     this.menuItem3.Click += new System.EventHandler(this.menuItem3_Click);
     //
     // menuItem25
     //
     this.menuItem25.Index  = 3;
     this.menuItem25.Text   = "Save Calendar as...";
     this.menuItem25.Click += new System.EventHandler(this.menuItem25_Click);
     //
     // menuItem27
     //
     this.menuItem27.Index  = 4;
     this.menuItem27.Text   = "Merge Calendar...";
     this.menuItem27.Click += new System.EventHandler(this.menuItem27_Click);
     //
     // menuItem26
     //
     this.menuItem26.Index  = 5;
     this.menuItem26.Text   = "Random Data";
     this.menuItem26.Click += new System.EventHandler(this.menuItem26_Click);
     //
     // menuItem5
     //
     this.menuItem5.Index  = 6;
     this.menuItem5.Text   = "Exit";
     this.menuItem5.Click += new System.EventHandler(this.menuItem5_Click);
     //
     // menuItem6
     //
     this.menuItem6.Index = 1;
     this.menuItem6.MenuItems.AddRange(new System.Windows.Forms.MenuItem[] {
         this.menuItem7,
         this.menuItem8,
         this.menuItem9,
         this.menuItem10
     });
     this.menuItem6.Text = "Edit";
     //
     // menuItem7
     //
     this.menuItem7.Index  = 0;
     this.menuItem7.Text   = "New Item";
     this.menuItem7.Click += new System.EventHandler(this.menuItem7_Click);
     //
     // menuItem8
     //
     this.menuItem8.Index  = 1;
     this.menuItem8.Text   = "New AllDay Item";
     this.menuItem8.Click += new System.EventHandler(this.menuItem8_Click);
     //
     // menuItem9
     //
     this.menuItem9.Index  = 2;
     this.menuItem9.Text   = "Edit Item";
     this.menuItem9.Click += new System.EventHandler(this.menuItem9_Click);
     //
     // menuItem10
     //
     this.menuItem10.Index  = 3;
     this.menuItem10.Text   = "Delete Item";
     this.menuItem10.Click += new System.EventHandler(this.menuItem10_Click);
     //
     // menuItem11
     //
     this.menuItem11.Index = 2;
     this.menuItem11.MenuItems.AddRange(new System.Windows.Forms.MenuItem[] {
         this.menuItem12,
         this.menuItem13,
         this.menuItem14,
         this.menuItem15
     });
     this.menuItem11.Text = "View";
     //
     // menuItem12
     //
     this.menuItem12.Index  = 0;
     this.menuItem12.Text   = "Day";
     this.menuItem12.Click += new System.EventHandler(this.menuItem12_Click);
     //
     // menuItem13
     //
     this.menuItem13.Index  = 1;
     this.menuItem13.Text   = "Workweek";
     this.menuItem13.Click += new System.EventHandler(this.menuItem13_Click);
     //
     // menuItem14
     //
     this.menuItem14.Index  = 2;
     this.menuItem14.Text   = "Week";
     this.menuItem14.Click += new System.EventHandler(this.menuItem14_Click);
     //
     // menuItem15
     //
     this.menuItem15.Index  = 3;
     this.menuItem15.Text   = "Month";
     this.menuItem15.Click += new System.EventHandler(this.menuItem15_Click);
     //
     // menuItem16
     //
     this.menuItem16.Index = 3;
     this.menuItem16.MenuItems.AddRange(new System.Windows.Forms.MenuItem[] {
         this.menuItem17,
         this.menuItem18,
         this.menuItem22,
         this.menuItem28,
         this.menuItem20,
         this.menuItem44,
         this.menuItem21,
         this.menuItem43
     });
     this.menuItem16.Text = "Options";
     //
     // menuItem17
     //
     this.menuItem17.Index = 0;
     this.menuItem17.MenuItems.AddRange(new System.Windows.Forms.MenuItem[] {
         this.menuItem19,
         this.menuItem41,
         this.menuItem42
     });
     this.menuItem17.Text = "Appearance...";
     //
     // menuItem19
     //
     this.menuItem19.Index  = 0;
     this.menuItem19.Text   = "Change...";
     this.menuItem19.Click += new System.EventHandler(this.menuItem19_Click);
     //
     // menuItem41
     //
     this.menuItem41.Index  = 1;
     this.menuItem41.Text   = "Load...";
     this.menuItem41.Click += new System.EventHandler(this.menuItem41_Click);
     //
     // menuItem42
     //
     this.menuItem42.Index  = 2;
     this.menuItem42.Text   = "Save...";
     this.menuItem42.Click += new System.EventHandler(this.menuItem42_Click);
     //
     // menuItem18
     //
     this.menuItem18.Index = 1;
     this.menuItem18.MenuItems.AddRange(new System.Windows.Forms.MenuItem[] {
         this.menuItem32,
         this.menuItem33,
         this.menuItem34,
         this.menuItem35,
         this.menuItem36,
         this.menuItem37
     });
     this.menuItem18.Text   = "Culture";
     this.menuItem18.Popup += new System.EventHandler(this.menuItem18_Popup);
     //
     // menuItem32
     //
     this.menuItem32.Index  = 0;
     this.menuItem32.Text   = "Invariant";
     this.menuItem32.Click += new System.EventHandler(this.menuItem32_Click);
     //
     // menuItem33
     //
     this.menuItem33.Index  = 1;
     this.menuItem33.Text   = "Application";
     this.menuItem33.Click += new System.EventHandler(this.menuItem33_Click);
     //
     // menuItem34
     //
     this.menuItem34.Index  = 2;
     this.menuItem34.Text   = "fr-FR";
     this.menuItem34.Click += new System.EventHandler(this.menuItem34_Click);
     //
     // menuItem35
     //
     this.menuItem35.Index  = 3;
     this.menuItem35.Text   = "it-IT";
     this.menuItem35.Click += new System.EventHandler(this.menuItem35_Click);
     //
     // menuItem36
     //
     this.menuItem36.Index  = 4;
     this.menuItem36.Text   = "en-US";
     this.menuItem36.Click += new System.EventHandler(this.menuItem36_Click);
     //
     // menuItem37
     //
     this.menuItem37.Index  = 5;
     this.menuItem37.Text   = "de-DE";
     this.menuItem37.Click += new System.EventHandler(this.menuItem37_Click);
     //
     // menuItem22
     //
     this.menuItem22.Index = 2;
     this.menuItem22.MenuItems.AddRange(new System.Windows.Forms.MenuItem[] {
         this.menuItem29,
         this.menuItem30,
         this.menuItem31
     });
     this.menuItem22.Text   = "Navigation Panel";
     this.menuItem22.Popup += new System.EventHandler(this.menuItem22_Popup);
     //
     // menuItem29
     //
     this.menuItem29.Index  = 0;
     this.menuItem29.Text   = "Hidden";
     this.menuItem29.Click += new System.EventHandler(this.menuItem29_Click);
     //
     // menuItem30
     //
     this.menuItem30.Index  = 1;
     this.menuItem30.Text   = "Left";
     this.menuItem30.Click += new System.EventHandler(this.menuItem30_Click);
     //
     // menuItem31
     //
     this.menuItem31.Index  = 2;
     this.menuItem31.Text   = "Right";
     this.menuItem31.Click += new System.EventHandler(this.menuItem31_Click);
     //
     // menuItem28
     //
     this.menuItem28.Index = 3;
     this.menuItem28.MenuItems.AddRange(new System.Windows.Forms.MenuItem[] {
         this.menuItem38,
         this.menuItem39,
         this.menuItem40
     });
     this.menuItem28.Text   = "Save on Close";
     this.menuItem28.Popup += new System.EventHandler(this.menuItem28_Popup);
     //
     // menuItem38
     //
     this.menuItem38.Index  = 0;
     this.menuItem38.Text   = "Do Not Save";
     this.menuItem38.Click += new System.EventHandler(this.menuItem38_Click);
     //
     // menuItem39
     //
     this.menuItem39.Index  = 1;
     this.menuItem39.Text   = "Prompt Before Saving";
     this.menuItem39.Click += new System.EventHandler(this.menuItem39_Click);
     //
     // menuItem40
     //
     this.menuItem40.Index  = 2;
     this.menuItem40.Text   = "Save Without Prompt";
     this.menuItem40.Click += new System.EventHandler(this.menuItem40_Click);
     //
     // menuItem20
     //
     this.menuItem20.Checked = true;
     this.menuItem20.Index   = 4;
     this.menuItem20.Text    = "Week Numbers";
     this.menuItem20.Click  += new System.EventHandler(this.menuItem20_Click);
     //
     // menuItem44
     //
     this.menuItem44.Index  = 5;
     this.menuItem44.Text   = "Alerts";
     this.menuItem44.Click += new System.EventHandler(this.menuItem44_Click);
     //
     // menuItem21
     //
     this.menuItem21.Index  = 6;
     this.menuItem21.Text   = "Additional Panel";
     this.menuItem21.Click += new System.EventHandler(this.menuItem21_Click);
     //
     // menuItem43
     //
     this.menuItem43.Index  = 7;
     this.menuItem43.Text   = "Test";
     this.menuItem43.Click += new System.EventHandler(this.menuItem43_Click);
     //
     // menuItem23
     //
     this.menuItem23.Index = 4;
     this.menuItem23.MenuItems.AddRange(new System.Windows.Forms.MenuItem[] {
         this.menuItem24
     });
     this.menuItem23.Text = "Help";
     //
     // menuItem24
     //
     this.menuItem24.Index  = 0;
     this.menuItem24.Text   = "About...";
     this.menuItem24.Click += new EventHandler(menuItem24_Click);
     //
     // Form1
     //
     this.AutoScaleBaseSize = new System.Drawing.Size(5, 13);
     this.ClientSize        = new System.Drawing.Size(888, 638);
     this.Controls.Add(this.scheduleControl1);
     this.Menu          = this.mainMenu1;
     this.MinimumSize   = new System.Drawing.Size(800, 550);
     this.Name          = "Form1";
     this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen;
     this.Text          = "Scheduler With Recurrence";
     this.Load         += new System.EventHandler(this.Form1_Load);
     this.ResumeLayout(false);
 }
Пример #33
0
 /// <summary>
 /// Required method for Designer support - do not modify
 /// the contents of this method with the code editor.
 /// </summary>
 private void InitializeComponent()
 {
     this.pg           = new System.Windows.Forms.PropertyGrid();
     this.spProperty   = new System.Windows.Forms.Splitter();
     this.Designer     = new Easychart.Finance.Win.ChartWinControl();
     this.mmMain       = new System.Windows.Forms.MainMenu();
     this.miFile       = new System.Windows.Forms.MenuItem();
     this.miOpen       = new System.Windows.Forms.MenuItem();
     this.miSave       = new System.Windows.Forms.MenuItem();
     this.miSp1        = new System.Windows.Forms.MenuItem();
     this.miExit       = new System.Windows.Forms.MenuItem();
     this.miHelp       = new System.Windows.Forms.MenuItem();
     this.miWebSite    = new System.Windows.Forms.MenuItem();
     this.miFeatures   = new System.Windows.Forms.MenuItem();
     this.miSingleLine = new System.Windows.Forms.MenuItem();
     this.miSelect     = new System.Windows.Forms.MenuItem();
     this.ofd          = new System.Windows.Forms.OpenFileDialog();
     this.sfd          = new System.Windows.Forms.SaveFileDialog();
     this.pnRight      = new System.Windows.Forms.Panel();
     this.spTree       = new System.Windows.Forms.Splitter();
     this.ObjectTree   = new Easychart.Finance.Objects.ObjectTree();
     this.ToolPanel    = new Easychart.Finance.Objects.ObjectToolPanel();
     this.pnTop        = new System.Windows.Forms.Panel();
     this.btnArc       = new System.Windows.Forms.Button();
     this.btnLabel     = new System.Windows.Forms.Button();
     this.btnFib       = new System.Windows.Forms.Button();
     this.btnSegment   = new System.Windows.Forms.Button();
     this.miRemoveAll  = new System.Windows.Forms.MenuItem();
     this.pnRight.SuspendLayout();
     this.pnTop.SuspendLayout();
     this.SuspendLayout();
     //
     // pg
     //
     this.pg.CommandsVisibleIfAvailable = true;
     this.pg.Dock          = System.Windows.Forms.DockStyle.Fill;
     this.pg.LargeButtons  = false;
     this.pg.LineColor     = System.Drawing.SystemColors.ScrollBar;
     this.pg.Location      = new System.Drawing.Point(0, 179);
     this.pg.Name          = "pg";
     this.pg.Size          = new System.Drawing.Size(200, 278);
     this.pg.TabIndex      = 3;
     this.pg.Text          = "PropertyGrid";
     this.pg.ViewBackColor = System.Drawing.SystemColors.Window;
     this.pg.ViewForeColor = System.Drawing.SystemColors.WindowText;
     //
     // spProperty
     //
     this.spProperty.BorderStyle = System.Windows.Forms.BorderStyle.Fixed3D;
     this.spProperty.Dock        = System.Windows.Forms.DockStyle.Right;
     this.spProperty.Location    = new System.Drawing.Point(565, 40);
     this.spProperty.MinExtra    = 0;
     this.spProperty.MinSize     = 0;
     this.spProperty.Name        = "spProperty";
     this.spProperty.Size        = new System.Drawing.Size(3, 417);
     this.spProperty.TabIndex    = 4;
     this.spProperty.TabStop     = false;
     //
     // Designer
     //
     this.Designer.CausesValidation = false;
     this.Designer.DefaultFormulas  = "MAIN#AreaBB#MA(50)#MA(200);VOLMA;SlowSTO;MACD;RSI(14)#RSI(28)";
     this.Designer.Designing        = false;
     this.Designer.Dock             = System.Windows.Forms.DockStyle.Fill;
     this.Designer.EndTime          = new System.DateTime(((long)(0)));
     this.Designer.FavoriteFormulas = "VOLMA;AreaRSI;DEMO.MACD;CCI;OBV;ATR;FastSTO;SlowSTO;ROC;TRIX;WR;AD;CMF;PPO;StochR" +
                                      "SI;ULT;BBWidth;PVO";
     this.Designer.LatestValueType  = Easychart.Finance.LatestValueType.None;
     this.Designer.Location         = new System.Drawing.Point(117, 40);
     this.Designer.MaxPrice         = 0;
     this.Designer.MinPrice         = 0;
     this.Designer.Name             = "Designer";
     this.Designer.PriceLabelFormat = null;
     this.Designer.ShowStatistic    = false;
     this.Designer.Size             = new System.Drawing.Size(448, 417);
     this.Designer.StartTime        = new System.DateTime(((long)(0)));
     this.Designer.Symbol           = null;
     this.Designer.TabIndex         = 5;
     this.Designer.NativePaint     += new Easychart.Finance.NativePaintHandler(this.Designer_NativePaint);
     this.Designer.MouseDown       += new System.Windows.Forms.MouseEventHandler(this.Designer_MouseDown);
     //
     // mmMain
     //
     this.mmMain.MenuItems.AddRange(new System.Windows.Forms.MenuItem[] {
         this.miFile,
         this.miHelp,
         this.miFeatures
     });
     //
     // miFile
     //
     this.miFile.Index = 0;
     this.miFile.MenuItems.AddRange(new System.Windows.Forms.MenuItem[] {
         this.miOpen,
         this.miSave,
         this.miSp1,
         this.miExit
     });
     this.miFile.Text = "&File";
     //
     // miOpen
     //
     this.miOpen.Index  = 0;
     this.miOpen.Text   = "&Open";
     this.miOpen.Click += new System.EventHandler(this.miOpen_Click);
     //
     // miSave
     //
     this.miSave.Index  = 1;
     this.miSave.Text   = "&Save";
     this.miSave.Click += new System.EventHandler(this.miSave_Click);
     //
     // miSp1
     //
     this.miSp1.Index = 2;
     this.miSp1.Text  = "-";
     //
     // miExit
     //
     this.miExit.Index  = 3;
     this.miExit.Text   = "&Exit";
     this.miExit.Click += new System.EventHandler(this.miExit_Click);
     //
     // miHelp
     //
     this.miHelp.Index = 1;
     this.miHelp.MenuItems.AddRange(new System.Windows.Forms.MenuItem[] {
         this.miWebSite
     });
     this.miHelp.Text = "&Help";
     //
     // miWebSite
     //
     this.miWebSite.Index  = 0;
     this.miWebSite.Text   = "&Web Site";
     this.miWebSite.Click += new System.EventHandler(this.miWebSite_Click);
     //
     // miFeatures
     //
     this.miFeatures.Index = 2;
     this.miFeatures.MenuItems.AddRange(new System.Windows.Forms.MenuItem[] {
         this.miSingleLine,
         this.miSelect,
         this.miRemoveAll
     });
     this.miFeatures.Text = "F&eatures";
     //
     // miSingleLine
     //
     this.miSingleLine.Index  = 0;
     this.miSingleLine.Text   = "Single Line in Vol Area";
     this.miSingleLine.Click += new System.EventHandler(this.miSingleLine_Click);
     //
     // miSelect
     //
     this.miSelect.Index  = 1;
     this.miSelect.Text   = "Select First Object";
     this.miSelect.Click += new System.EventHandler(this.miSelect_Click);
     //
     // ofd
     //
     this.ofd.Filter = "Object File(*.xml)|*.xml";
     //
     // sfd
     //
     this.sfd.DefaultExt = "xml";
     this.sfd.Filter     = "Object File(*.xml)|*.xml";
     //
     // pnRight
     //
     this.pnRight.Controls.Add(this.pg);
     this.pnRight.Controls.Add(this.spTree);
     this.pnRight.Controls.Add(this.ObjectTree);
     this.pnRight.Dock     = System.Windows.Forms.DockStyle.Right;
     this.pnRight.Location = new System.Drawing.Point(568, 0);
     this.pnRight.Name     = "pnRight";
     this.pnRight.Size     = new System.Drawing.Size(200, 457);
     this.pnRight.TabIndex = 6;
     //
     // spTree
     //
     this.spTree.Dock     = System.Windows.Forms.DockStyle.Top;
     this.spTree.Location = new System.Drawing.Point(0, 176);
     this.spTree.Name     = "spTree";
     this.spTree.Size     = new System.Drawing.Size(200, 3);
     this.spTree.TabIndex = 5;
     this.spTree.TabStop  = false;
     //
     // ObjectTree
     //
     this.ObjectTree.Dock     = System.Windows.Forms.DockStyle.Top;
     this.ObjectTree.Location = new System.Drawing.Point(0, 0);
     this.ObjectTree.Name     = "ObjectTree";
     this.ObjectTree.Size     = new System.Drawing.Size(200, 176);
     this.ObjectTree.TabIndex = 4;
     //
     // ToolPanel
     //
     this.ToolPanel.Dock                = System.Windows.Forms.DockStyle.Left;
     this.ToolPanel.Location            = new System.Drawing.Point(0, 0);
     this.ToolPanel.Name                = "ToolPanel";
     this.ToolPanel.ResetAfterEachDraw  = true;
     this.ToolPanel.Size                = new System.Drawing.Size(117, 457);
     this.ToolPanel.TabIndex            = 7;
     this.ToolPanel.AfterButtonCreated += new Easychart.Finance.Objects.ObjectButtonEventHandler(this.ToolPanel_AfterButtonCreated);
     //
     // pnTop
     //
     this.pnTop.Controls.Add(this.btnArc);
     this.pnTop.Controls.Add(this.btnLabel);
     this.pnTop.Controls.Add(this.btnFib);
     this.pnTop.Controls.Add(this.btnSegment);
     this.pnTop.Dock     = System.Windows.Forms.DockStyle.Top;
     this.pnTop.Location = new System.Drawing.Point(117, 0);
     this.pnTop.Name     = "pnTop";
     this.pnTop.Size     = new System.Drawing.Size(451, 40);
     this.pnTop.TabIndex = 8;
     //
     // btnArc
     //
     this.btnArc.Location = new System.Drawing.Point(248, 8);
     this.btnArc.Name     = "btnArc";
     this.btnArc.TabIndex = 3;
     this.btnArc.Text     = "Fill Circle";
     this.btnArc.Click   += new System.EventHandler(this.btnArc_Click);
     //
     // btnLabel
     //
     this.btnLabel.Location = new System.Drawing.Point(168, 8);
     this.btnLabel.Name     = "btnLabel";
     this.btnLabel.TabIndex = 2;
     this.btnLabel.Text     = "Label";
     this.btnLabel.Click   += new System.EventHandler(this.btnLabel_Click);
     //
     // btnFib
     //
     this.btnFib.Location = new System.Drawing.Point(88, 8);
     this.btnFib.Name     = "btnFib";
     this.btnFib.TabIndex = 1;
     this.btnFib.Text     = "Fibonacci";
     this.btnFib.Click   += new System.EventHandler(this.btnFib_Click);
     //
     // btnSegment
     //
     this.btnSegment.Location = new System.Drawing.Point(8, 8);
     this.btnSegment.Name     = "btnSegment";
     this.btnSegment.TabIndex = 0;
     this.btnSegment.Text     = "Segment";
     this.btnSegment.Click   += new System.EventHandler(this.btnSegment_Click);
     //
     // miRemoveAll
     //
     this.miRemoveAll.Index  = 2;
     this.miRemoveAll.Text   = "Remove All";
     this.miRemoveAll.Click += new System.EventHandler(this.miRemoveAll_Click);
     //
     // ObjectDesignerForm
     //
     this.AutoScaleBaseSize = new System.Drawing.Size(6, 14);
     this.ClientSize        = new System.Drawing.Size(768, 457);
     this.Controls.Add(this.Designer);
     this.Controls.Add(this.spProperty);
     this.Controls.Add(this.pnTop);
     this.Controls.Add(this.pnRight);
     this.Controls.Add(this.ToolPanel);
     this.Font        = new System.Drawing.Font("Verdana", 8.25F);
     this.KeyPreview  = true;
     this.Menu        = this.mmMain;
     this.Name        = "ObjectDesignerForm";
     this.Text        = "Object Designer Form";
     this.WindowState = System.Windows.Forms.FormWindowState.Maximized;
     this.Load       += new System.EventHandler(this.ObjectDesignerForm_Load);
     this.pnRight.ResumeLayout(false);
     this.pnTop.ResumeLayout(false);
     this.ResumeLayout(false);
 }
Пример #34
0
Файл: Form1.cs Проект: q2git/VS
 /// <summary>
 /// 设计器支持所需的方法 - 不要使用代码编辑器修改
 /// 此方法的内容。
 /// </summary>
 private void InitializeComponent()
 {
     this.components = new System.ComponentModel.Container();
     System.Resources.ResourceManager resources = new System.Resources.ResourceManager(typeof(Form1));
     this.mainMenu1       = new System.Windows.Forms.MainMenu();
     this.fileMenu        = new System.Windows.Forms.MenuItem();
     this.fileNew         = new System.Windows.Forms.MenuItem();
     this.fileOpen        = new System.Windows.Forms.MenuItem();
     this.fileSave        = new System.Windows.Forms.MenuItem();
     this.fileSaveAs      = new System.Windows.Forms.MenuItem();
     this.fileSep         = new System.Windows.Forms.MenuItem();
     this.fileExit        = new System.Windows.Forms.MenuItem();
     this.editMenu        = new System.Windows.Forms.MenuItem();
     this.editCut         = new System.Windows.Forms.MenuItem();
     this.editCopy        = new System.Windows.Forms.MenuItem();
     this.editPaste       = new System.Windows.Forms.MenuItem();
     this.editSep         = new System.Windows.Forms.MenuItem();
     this.editSelectAll   = new System.Windows.Forms.MenuItem();
     this.formatMenu      = new System.Windows.Forms.MenuItem();
     this.formatColor     = new System.Windows.Forms.MenuItem();
     this.formatFont      = new System.Windows.Forms.MenuItem();
     this.helpMenu        = new System.Windows.Forms.MenuItem();
     this.helpAbout       = new System.Windows.Forms.MenuItem();
     this.fontDialog1     = new System.Windows.Forms.FontDialog();
     this.richTextBox1    = new System.Windows.Forms.RichTextBox();
     this.colorDialog1    = new System.Windows.Forms.ColorDialog();
     this.openFileDialog1 = new System.Windows.Forms.OpenFileDialog();
     this.saveFileDialog1 = new System.Windows.Forms.SaveFileDialog();
     this.toolBar1        = new System.Windows.Forms.ToolBar();
     this.cutButton       = new System.Windows.Forms.ToolBarButton();
     this.copyButton      = new System.Windows.Forms.ToolBarButton();
     this.pasteButton     = new System.Windows.Forms.ToolBarButton();
     this.imageList1      = new System.Windows.Forms.ImageList(this.components);
     this.statusBar1      = new System.Windows.Forms.StatusBar();
     this.curPosPanel     = new System.Windows.Forms.StatusBarPanel();
     ((System.ComponentModel.ISupportInitialize)(this.curPosPanel)).BeginInit();
     this.SuspendLayout();
     //
     // mainMenu1
     //
     this.mainMenu1.MenuItems.AddRange(new System.Windows.Forms.MenuItem[] {
         this.fileMenu,
         this.editMenu,
         this.formatMenu,
         this.helpMenu
     });
     //
     // fileMenu
     //
     this.fileMenu.Index = 0;
     this.fileMenu.MenuItems.AddRange(new System.Windows.Forms.MenuItem[] {
         this.fileNew,
         this.fileOpen,
         this.fileSave,
         this.fileSaveAs,
         this.fileSep,
         this.fileExit
     });
     this.fileMenu.Text = "&File";
     //
     // fileNew
     //
     this.fileNew.Index    = 0;
     this.fileNew.Shortcut = System.Windows.Forms.Shortcut.CtrlN;
     this.fileNew.Text     = "&New";
     this.fileNew.Click   += new System.EventHandler(this.fileNew_Click);
     //
     // fileOpen
     //
     this.fileOpen.Index    = 1;
     this.fileOpen.Shortcut = System.Windows.Forms.Shortcut.CtrlO;
     this.fileOpen.Text     = "&Open...";
     this.fileOpen.Click   += new System.EventHandler(this.fileOpen_Click);
     //
     // fileSave
     //
     this.fileSave.Index    = 2;
     this.fileSave.Shortcut = System.Windows.Forms.Shortcut.CtrlS;
     this.fileSave.Text     = "Save";
     this.fileSave.Click   += new System.EventHandler(this.fileSave_Click);
     //
     // fileSaveAs
     //
     this.fileSaveAs.Index  = 3;
     this.fileSaveAs.Text   = "Save &As...";
     this.fileSaveAs.Click += new System.EventHandler(this.fileSaveAs_Click);
     //
     // fileSep
     //
     this.fileSep.Index = 4;
     this.fileSep.Text  = "-";
     //
     // fileExit
     //
     this.fileExit.Index  = 5;
     this.fileExit.Text   = "E&xit";
     this.fileExit.Click += new System.EventHandler(this.fileExit_Click);
     //
     // editMenu
     //
     this.editMenu.Index = 1;
     this.editMenu.MenuItems.AddRange(new System.Windows.Forms.MenuItem[] {
         this.editCut,
         this.editCopy,
         this.editPaste,
         this.editSep,
         this.editSelectAll
     });
     this.editMenu.Text = "&Edit";
     //
     // editCut
     //
     this.editCut.Index    = 0;
     this.editCut.Shortcut = System.Windows.Forms.Shortcut.CtrlX;
     this.editCut.Text     = "C&ut";
     this.editCut.Click   += new System.EventHandler(this.editCut_Click);
     //
     // editCopy
     //
     this.editCopy.Index    = 1;
     this.editCopy.Shortcut = System.Windows.Forms.Shortcut.CtrlC;
     this.editCopy.Text     = "&Copy";
     this.editCopy.Click   += new System.EventHandler(this.editCopy_Click);
     //
     // editPaste
     //
     this.editPaste.Index    = 2;
     this.editPaste.Shortcut = System.Windows.Forms.Shortcut.CtrlV;
     this.editPaste.Text     = "&Paste";
     this.editPaste.Click   += new System.EventHandler(this.editPaste_Click);
     //
     // editSep
     //
     this.editSep.Index = 3;
     this.editSep.Text  = "-";
     //
     // editSelectAll
     //
     this.editSelectAll.Index    = 4;
     this.editSelectAll.Shortcut = System.Windows.Forms.Shortcut.CtrlA;
     this.editSelectAll.Text     = "Select &All";
     this.editSelectAll.Click   += new System.EventHandler(this.editSelectAll_Click);
     //
     // formatMenu
     //
     this.formatMenu.Index = 2;
     this.formatMenu.MenuItems.AddRange(new System.Windows.Forms.MenuItem[] {
         this.formatColor,
         this.formatFont
     });
     this.formatMenu.Text = "For&mat";
     //
     // formatColor
     //
     this.formatColor.Index  = 0;
     this.formatColor.Text   = "&Color...";
     this.formatColor.Click += new System.EventHandler(this.formatColor_Click);
     //
     // formatFont
     //
     this.formatFont.Index  = 1;
     this.formatFont.Text   = "&Font...";
     this.formatFont.Click += new System.EventHandler(this.formatFont_Click);
     //
     // helpMenu
     //
     this.helpMenu.Index = 3;
     this.helpMenu.MenuItems.AddRange(new System.Windows.Forms.MenuItem[] {
         this.helpAbout
     });
     this.helpMenu.Text = "&Help";
     //
     // helpAbout
     //
     this.helpAbout.Index  = 0;
     this.helpAbout.Text   = "&About";
     this.helpAbout.Click += new System.EventHandler(this.helpAbout_Click);
     //
     // richTextBox1
     //
     this.richTextBox1.Dock              = System.Windows.Forms.DockStyle.Fill;
     this.richTextBox1.Location          = new System.Drawing.Point(0, 25);
     this.richTextBox1.Name              = "richTextBox1";
     this.richTextBox1.Size              = new System.Drawing.Size(336, 162);
     this.richTextBox1.TabIndex          = 0;
     this.richTextBox1.Text              = "";
     this.richTextBox1.SelectionChanged += new System.EventHandler(this.richTextBox1_SelectionChanged);
     //
     // saveFileDialog1
     //
     this.saveFileDialog1.FileName = "doc1";
     //
     // toolBar1
     //
     this.toolBar1.Buttons.AddRange(new System.Windows.Forms.ToolBarButton[] {
         this.cutButton,
         this.copyButton,
         this.pasteButton
     });
     this.toolBar1.DropDownArrows = true;
     this.toolBar1.ImageList      = this.imageList1;
     this.toolBar1.Name           = "toolBar1";
     this.toolBar1.ShowToolTips   = true;
     this.toolBar1.Size           = new System.Drawing.Size(336, 25);
     this.toolBar1.TabIndex       = 1;
     this.toolBar1.ButtonClick   += new System.Windows.Forms.ToolBarButtonClickEventHandler(this.toolBar1_ButtonClick);
     //
     // cutButton
     //
     this.cutButton.ImageIndex  = 0;
     this.cutButton.ToolTipText = "剪切";
     //
     // copyButton
     //
     this.copyButton.ImageIndex  = 1;
     this.copyButton.ToolTipText = "复制";
     //
     // pasteButton
     //
     this.pasteButton.ImageIndex  = 2;
     this.pasteButton.ToolTipText = "粘贴";
     //
     // imageList1
     //
     this.imageList1.ColorDepth       = System.Windows.Forms.ColorDepth.Depth8Bit;
     this.imageList1.ImageSize        = new System.Drawing.Size(16, 16);
     this.imageList1.ImageStream      = ((System.Windows.Forms.ImageListStreamer)(resources.GetObject("imageList1.ImageStream")));
     this.imageList1.TransparentColor = System.Drawing.Color.Transparent;
     //
     // statusBar1
     //
     this.statusBar1.Location = new System.Drawing.Point(0, 187);
     this.statusBar1.Name     = "statusBar1";
     this.statusBar1.Panels.AddRange(new System.Windows.Forms.StatusBarPanel[] {
         this.curPosPanel
     });
     this.statusBar1.Size     = new System.Drawing.Size(336, 22);
     this.statusBar1.TabIndex = 2;
     //
     // Form1
     //
     this.AutoScaleBaseSize = new System.Drawing.Size(6, 14);
     this.ClientSize        = new System.Drawing.Size(336, 209);
     this.Controls.AddRange(new System.Windows.Forms.Control[] {
         this.richTextBox1,
         this.statusBar1,
         this.toolBar1
     });
     this.Menu = this.mainMenu1;
     this.Name = "Form1";
     this.Text = "Form1";
     ((System.ComponentModel.ISupportInitialize)(this.curPosPanel)).EndInit();
     this.ResumeLayout(false);
 }
Пример #35
0
 /// <summary>
 /// Required method for Designer support - do not modify
 /// the contents of this method with the code editor.
 /// </summary>
 private void InitializeComponent()
 {
     System.Resources.ResourceManager resources = new System.Resources.ResourceManager(typeof(Form1));
     this.editControl1 = new Syncfusion.Windows.Forms.Edit.EditControl();
     this.mainMenu1    = new System.Windows.Forms.MainMenu();
     this.menuItem1    = new System.Windows.Forms.MenuItem();
     this.menuItem2    = new System.Windows.Forms.MenuItem();
     this.menuItem3    = new System.Windows.Forms.MenuItem();
     this.menuItem4    = new System.Windows.Forms.MenuItem();
     this.menuItem5    = new System.Windows.Forms.MenuItem();
     this.menuItem6    = new System.Windows.Forms.MenuItem();
     this.menuItem7    = new System.Windows.Forms.MenuItem();
     this.menuItem8    = new System.Windows.Forms.MenuItem();
     this.menuItem9    = new System.Windows.Forms.MenuItem();
     this.menuItem10   = new System.Windows.Forms.MenuItem();
     this.menuItem11   = new System.Windows.Forms.MenuItem();
     this.menuItem13   = new System.Windows.Forms.MenuItem();
     this.menuItem14   = new System.Windows.Forms.MenuItem();
     this.menuItem15   = new System.Windows.Forms.MenuItem();
     this.menuItem16   = new System.Windows.Forms.MenuItem();
     this.menuItem12   = new System.Windows.Forms.MenuItem();
     this.menuItem17   = new System.Windows.Forms.MenuItem();
     ((System.ComponentModel.ISupportInitialize)(this.editControl1)).BeginInit();
     this.SuspendLayout();
     //
     // editControl1
     //
     this.editControl1.AutoIndent         = true;
     this.editControl1.AutoScrollPosition = new System.Drawing.Point(0, 0);
     this.editControl1.BackColor          = System.Drawing.SystemColors.Window;
     this.editControl1.BorderStyle        = System.Windows.Forms.BorderStyle.Fixed3D;
     this.editControl1.CurrentColumn      = 1;
     this.editControl1.CurrentLine        = 1;
     this.editControl1.CurrentPosition    = new System.Drawing.Point(1, 1);
     this.editControl1.Dock       = System.Windows.Forms.DockStyle.Fill;
     this.editControl1.FileOpened = null;
     this.editControl1.GraphicsCompositingQuality = System.Drawing.Drawing2D.CompositingQuality.Default;
     this.editControl1.GraphicsInterpolationMode  = System.Drawing.Drawing2D.InterpolationMode.Default;
     this.editControl1.GraphicsSmoothingMode      = System.Drawing.Drawing2D.SmoothingMode.Default;
     this.editControl1.GraphicsTextRenderingHint  = System.Drawing.Text.TextRenderingHint.SystemDefault;
     this.editControl1.Name = "editControl1";
     this.editControl1.ScrollOffsetBottom = 0;
     this.editControl1.ScrollOffsetLeft   = 2;
     this.editControl1.ScrollOffsetRight  = 0;
     this.editControl1.ScrollOffsetTop    = 0;
     this.editControl1.ShowCollapse       = false;
     this.editControl1.ShowLineNumbers    = false;
     this.editControl1.ShowMarkers        = false;
     this.editControl1.ShowWhitespaces    = false;
     this.editControl1.Size        = new System.Drawing.Size(542, 445);
     this.editControl1.TabIndex    = 0;
     this.editControl1.TabSize     = 2;
     this.editControl1.Text        = "";
     this.editControl1.VirtualSize = new System.Drawing.Size(101, 17);
     this.editControl1.WordWrap    = true;
     //
     // mainMenu1
     //
     this.mainMenu1.MenuItems.AddRange(new System.Windows.Forms.MenuItem[] {
         this.menuItem1,
         this.menuItem9
     });
     //
     // menuItem1
     //
     this.menuItem1.Index = 0;
     this.menuItem1.MenuItems.AddRange(new System.Windows.Forms.MenuItem[] {
         this.menuItem2,
         this.menuItem3,
         this.menuItem4,
         this.menuItem5,
         this.menuItem6,
         this.menuItem7,
         this.menuItem8
     });
     this.menuItem1.Text = "File";
     //
     // menuItem2
     //
     this.menuItem2.Index  = 0;
     this.menuItem2.Text   = "New";
     this.menuItem2.Click += new System.EventHandler(this.menuItem2_Click);
     //
     // menuItem3
     //
     this.menuItem3.Index  = 1;
     this.menuItem3.Text   = "Open";
     this.menuItem3.Click += new System.EventHandler(this.menuItem3_Click);
     //
     // menuItem4
     //
     this.menuItem4.Index = 2;
     this.menuItem4.Text  = "-";
     //
     // menuItem5
     //
     this.menuItem5.Index  = 3;
     this.menuItem5.Text   = "Save";
     this.menuItem5.Click += new System.EventHandler(this.menuItem5_Click);
     //
     // menuItem6
     //
     this.menuItem6.Index  = 4;
     this.menuItem6.Text   = "SaveAs";
     this.menuItem6.Click += new System.EventHandler(this.menuItem6_Click);
     //
     // menuItem7
     //
     this.menuItem7.Index = 5;
     this.menuItem7.Text  = "-";
     //
     // menuItem8
     //
     this.menuItem8.Index  = 6;
     this.menuItem8.Text   = "Exit";
     this.menuItem8.Click += new System.EventHandler(this.menuItem8_Click);
     //
     // menuItem9
     //
     this.menuItem9.Index = 1;
     this.menuItem9.MenuItems.AddRange(new System.Windows.Forms.MenuItem[] {
         this.menuItem10,
         this.menuItem14,
         this.menuItem12,
         this.menuItem11,
         this.menuItem13,
         this.menuItem15,
         this.menuItem17,
         this.menuItem16
     });
     this.menuItem9.Text = "Print Menu";
     //
     // menuItem10
     //
     this.menuItem10.Index  = 0;
     this.menuItem10.Text   = "Show Print Dialog";
     this.menuItem10.Click += new System.EventHandler(this.menuItem10_Click);
     //
     // menuItem11
     //
     this.menuItem11.Index  = 3;
     this.menuItem11.Text   = "Print Current Page";
     this.menuItem11.Click += new System.EventHandler(this.menuItem11_Click);
     //
     // menuItem13
     //
     this.menuItem13.Index  = 4;
     this.menuItem13.Text   = "Print Directly";
     this.menuItem13.Click += new System.EventHandler(this.menuItem13_Click);
     //
     // menuItem14
     //
     this.menuItem14.Index  = 1;
     this.menuItem14.Text   = "Print Preview";
     this.menuItem14.Click += new System.EventHandler(this.menuItem14_Click);
     //
     // menuItem15
     //
     this.menuItem15.Index  = 5;
     this.menuItem15.Text   = "Print Selected Text";
     this.menuItem15.Click += new System.EventHandler(this.menuItem15_Click);
     //
     // menuItem16
     //
     this.menuItem16.Index  = 7;
     this.menuItem16.Text   = "Print To Document";
     this.menuItem16.Click += new System.EventHandler(this.menuItem16_Click);
     //
     // menuItem12
     //
     this.menuItem12.Index = 2;
     this.menuItem12.Text  = "-";
     //
     // menuItem17
     //
     this.menuItem17.Index = 6;
     this.menuItem17.Text  = "-";
     //
     // Form1
     //
     this.AutoScaleBaseSize = new System.Drawing.Size(5, 13);
     this.ClientSize        = new System.Drawing.Size(542, 445);
     this.Controls.AddRange(new System.Windows.Forms.Control[] {
         this.editControl1
     });
     this.Icon     = ((System.Drawing.Icon)(resources.GetObject("$this.Icon")));
     this.Menu     = this.mainMenu1;
     this.Name     = "Form1";
     this.Text     = "Printing Demo";
     this.Closing += new System.ComponentModel.CancelEventHandler(this.Form1_Closing);
     ((System.ComponentModel.ISupportInitialize)(this.editControl1)).EndInit();
     this.ResumeLayout(false);
 }
Пример #36
0
 /// <summary>
 /// Required method for Designer support - do not modify
 /// the contents of this method with the code editor.
 /// </summary>
 private void InitializeComponent()
 {
     this.components = new System.ComponentModel.Container();
     System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(frmInitialForm));
     this.mainMenu1          = new System.Windows.Forms.MainMenu(this.components);
     this.mnuFile            = new System.Windows.Forms.MenuItem();
     this.mnuNewOrder        = new System.Windows.Forms.MenuItem();
     this.mnuSummary         = new System.Windows.Forms.MenuItem();
     this.menuSalesReport    = new System.Windows.Forms.MenuItem();
     this.mnuExit            = new System.Windows.Forms.MenuItem();
     this.mnuHelp            = new System.Windows.Forms.MenuItem();
     this.mnuAbout           = new System.Windows.Forms.MenuItem();
     this.colorDialog1       = new System.Windows.Forms.ColorDialog();
     this.fontDialog1        = new System.Windows.Forms.FontDialog();
     this.BTNNewOrder        = new System.Windows.Forms.Button();
     this.BTNViewSalesReport = new System.Windows.Forms.Button();
     this.TBCode             = new System.Windows.Forms.MaskedTextBox();
     this.label1             = new System.Windows.Forms.Label();
     this.BTNValidate        = new System.Windows.Forms.Button();
     this.GroupBoxEnterCode  = new System.Windows.Forms.GroupBox();
     this.LBLInvalidCode     = new System.Windows.Forms.Label();
     this.GroupBoxEnterCode.SuspendLayout();
     this.SuspendLayout();
     //
     // mainMenu1
     //
     this.mainMenu1.MenuItems.AddRange(new System.Windows.Forms.MenuItem[] {
         this.mnuFile,
         this.mnuHelp
     });
     //
     // mnuFile
     //
     this.mnuFile.Index = 0;
     this.mnuFile.MenuItems.AddRange(new System.Windows.Forms.MenuItem[] {
         this.mnuNewOrder,
         this.mnuSummary,
         this.menuSalesReport,
         this.mnuExit
     });
     this.mnuFile.Text = "&File";
     //
     // mnuNewOrder
     //
     this.mnuNewOrder.Index  = 0;
     this.mnuNewOrder.Text   = "&New Order";
     this.mnuNewOrder.Click += new System.EventHandler(this.mnuTransaction_Click);
     //
     // mnuSummary
     //
     this.mnuSummary.Index  = 1;
     this.mnuSummary.Text   = "&Summary";
     this.mnuSummary.Click += new System.EventHandler(this.mnuSummary_Click);
     //
     // menuSalesReport
     //
     this.menuSalesReport.Index  = 2;
     this.menuSalesReport.Text   = "Sales Report";
     this.menuSalesReport.Click += new System.EventHandler(this.menuSalesReport_Click);
     //
     // mnuExit
     //
     this.mnuExit.Index  = 3;
     this.mnuExit.Text   = "E&xit";
     this.mnuExit.Click += new System.EventHandler(this.mnuExit_Click);
     //
     // mnuHelp
     //
     this.mnuHelp.Index = 1;
     this.mnuHelp.MenuItems.AddRange(new System.Windows.Forms.MenuItem[] {
         this.mnuAbout
     });
     this.mnuHelp.Text = "&Help";
     //
     // mnuAbout
     //
     this.mnuAbout.Index  = 0;
     this.mnuAbout.Text   = "&About";
     this.mnuAbout.Click += new System.EventHandler(this.mnuAbout_Click);
     //
     // BTNNewOrder
     //
     this.BTNNewOrder.Font     = new System.Drawing.Font("Microsoft Sans Serif", 9.75F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.BTNNewOrder.Location = new System.Drawing.Point(12, 177);
     this.BTNNewOrder.Name     = "BTNNewOrder";
     this.BTNNewOrder.Size     = new System.Drawing.Size(158, 39);
     this.BTNNewOrder.TabIndex = 0;
     this.BTNNewOrder.Text     = "New Order";
     this.BTNNewOrder.UseVisualStyleBackColor = true;
     this.BTNNewOrder.Click += new System.EventHandler(this.BTNNewOrder_Click);
     //
     // BTNViewSalesReport
     //
     this.BTNViewSalesReport.Font     = new System.Drawing.Font("Microsoft Sans Serif", 9.75F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.BTNViewSalesReport.Location = new System.Drawing.Point(12, 234);
     this.BTNViewSalesReport.Name     = "BTNViewSalesReport";
     this.BTNViewSalesReport.Size     = new System.Drawing.Size(158, 42);
     this.BTNViewSalesReport.TabIndex = 1;
     this.BTNViewSalesReport.Text     = "View Sales Report";
     this.BTNViewSalesReport.UseVisualStyleBackColor = true;
     this.BTNViewSalesReport.Click += new System.EventHandler(this.BTNViewSalesReport_Click);
     //
     // TBCode
     //
     this.TBCode.Font         = new System.Drawing.Font("Microsoft Sans Serif", 11.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.TBCode.Location     = new System.Drawing.Point(35, 35);
     this.TBCode.Name         = "TBCode";
     this.TBCode.PasswordChar = '*';
     this.TBCode.Size         = new System.Drawing.Size(122, 24);
     this.TBCode.TabIndex     = 3;
     //
     // label1
     //
     this.label1.AutoSize = true;
     this.label1.Font     = new System.Drawing.Font("Microsoft Sans Serif", 9F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.label1.Location = new System.Drawing.Point(8, 13);
     this.label1.Name     = "label1";
     this.label1.Size     = new System.Drawing.Size(182, 15);
     this.label1.TabIndex = 4;
     this.label1.Text     = "Enter Your Employee Code:";
     //
     // BTNValidate
     //
     this.BTNValidate.Location = new System.Drawing.Point(69, 68);
     this.BTNValidate.Name     = "BTNValidate";
     this.BTNValidate.Size     = new System.Drawing.Size(60, 26);
     this.BTNValidate.TabIndex = 5;
     this.BTNValidate.Text     = "Validate";
     this.BTNValidate.UseVisualStyleBackColor = true;
     this.BTNValidate.Click += new System.EventHandler(this.BTNValidate_Click);
     //
     // GroupBoxEnterCode
     //
     this.GroupBoxEnterCode.Controls.Add(this.LBLInvalidCode);
     this.GroupBoxEnterCode.Controls.Add(this.label1);
     this.GroupBoxEnterCode.Controls.Add(this.TBCode);
     this.GroupBoxEnterCode.Controls.Add(this.BTNValidate);
     this.GroupBoxEnterCode.Location = new System.Drawing.Point(331, 168);
     this.GroupBoxEnterCode.Name     = "GroupBoxEnterCode";
     this.GroupBoxEnterCode.Size     = new System.Drawing.Size(197, 129);
     this.GroupBoxEnterCode.TabIndex = 6;
     this.GroupBoxEnterCode.TabStop  = false;
     //
     // LBLInvalidCode
     //
     this.LBLInvalidCode.AutoSize  = true;
     this.LBLInvalidCode.Font      = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.LBLInvalidCode.ForeColor = System.Drawing.Color.Red;
     this.LBLInvalidCode.Location  = new System.Drawing.Point(35, 105);
     this.LBLInvalidCode.Name      = "LBLInvalidCode";
     this.LBLInvalidCode.Size      = new System.Drawing.Size(0, 13);
     this.LBLInvalidCode.TabIndex  = 6;
     //
     // frmInitialForm
     //
     this.AutoScaleBaseSize = new System.Drawing.Size(5, 13);
     this.BackgroundImage   = ((System.Drawing.Image)(resources.GetObject("$this.BackgroundImage")));
     this.ClientSize        = new System.Drawing.Size(856, 534);
     this.Controls.Add(this.GroupBoxEnterCode);
     this.Controls.Add(this.BTNNewOrder);
     this.Controls.Add(this.BTNViewSalesReport);
     this.MaximizeBox = false;
     this.Menu        = this.mainMenu1;
     this.Name        = "frmInitialForm";
     this.Text        = "Ice Cream Shop - Order Form";
     this.Load       += new System.EventHandler(this.frmInitialForm_Load);
     this.GroupBoxEnterCode.ResumeLayout(false);
     this.GroupBoxEnterCode.PerformLayout();
     this.ResumeLayout(false);
 }
Пример #37
0
 /// <summary>
 /// Required method for Designer support - do not modify
 /// the contents of this method with the code editor.
 /// </summary>
 private void InitializeComponent()
 {
     System.Resources.ResourceManager resources = new System.Resources.ResourceManager(typeof(SimpleEditorForm));
     this.textBoxEdit          = new System.Windows.Forms.TextBox();
     this.mainMenu1            = new System.Windows.Forms.MainMenu();
     this.miFile               = new System.Windows.Forms.MenuItem();
     this.miFileNew            = new System.Windows.Forms.MenuItem();
     this.miFileOpen           = new System.Windows.Forms.MenuItem();
     this.miFileSave           = new System.Windows.Forms.MenuItem();
     this.miFileSaveAs         = new System.Windows.Forms.MenuItem();
     this.dlgOpenFile          = new System.Windows.Forms.OpenFileDialog();
     this.dlgSaveFile          = new System.Windows.Forms.SaveFileDialog();
     this.menuItem1            = new System.Windows.Forms.MenuItem();
     this.miFilePrint          = new System.Windows.Forms.MenuItem();
     this.miFilePrintPreview   = new System.Windows.Forms.MenuItem();
     this.miFilePageSetup      = new System.Windows.Forms.MenuItem();
     this.miFileExit           = new System.Windows.Forms.MenuItem();
     this.printDocument        = new System.Drawing.Printing.PrintDocument();
     this.dlgPageSetup         = new System.Windows.Forms.PageSetupDialog();
     this.dlgPrint             = new System.Windows.Forms.PrintDialog();
     this.dlgPrintPreview      = new System.Windows.Forms.PrintPreviewDialog();
     this.printPreviewControl1 = new System.Windows.Forms.PrintPreviewControl();
     this.SuspendLayout();
     //
     // textBoxEdit
     //
     this.textBoxEdit.AcceptsReturn = true;
     this.textBoxEdit.AcceptsTab    = true;
     this.textBoxEdit.Dock          = System.Windows.Forms.DockStyle.Fill;
     this.textBoxEdit.Multiline     = true;
     this.textBoxEdit.Name          = "textBoxEdit";
     this.textBoxEdit.ScrollBars    = System.Windows.Forms.ScrollBars.Both;
     this.textBoxEdit.Size          = new System.Drawing.Size(568, 273);
     this.textBoxEdit.TabIndex      = 0;
     this.textBoxEdit.Text          = "";
     //
     // mainMenu1
     //
     this.mainMenu1.MenuItems.AddRange(new System.Windows.Forms.MenuItem[] {
         this.miFile
     });
     //
     // miFile
     //
     this.miFile.Index = 0;
     this.miFile.MenuItems.AddRange(new System.Windows.Forms.MenuItem[] {
         this.miFileNew,
         this.miFileOpen,
         this.miFileSave,
         this.miFileSaveAs,
         this.menuItem1,
         this.miFilePrint,
         this.miFilePrintPreview,
         this.miFilePageSetup,
         this.miFileExit
     });
     this.miFile.Text = "&File";
     //
     // miFileNew
     //
     this.miFileNew.Index  = 0;
     this.miFileNew.Text   = "&New";
     this.miFileNew.Click += new System.EventHandler(this.miFileNew_Click);
     //
     // miFileOpen
     //
     this.miFileOpen.Index  = 1;
     this.miFileOpen.Text   = "&Open...";
     this.miFileOpen.Click += new System.EventHandler(this.miFileOpen_Click);
     //
     // miFileSave
     //
     this.miFileSave.Index  = 2;
     this.miFileSave.Text   = "&Save";
     this.miFileSave.Click += new System.EventHandler(this.miFileSave_Click);
     //
     // miFileSaveAs
     //
     this.miFileSaveAs.Index  = 3;
     this.miFileSaveAs.Text   = "Save &As...";
     this.miFileSaveAs.Click += new System.EventHandler(this.miFileSaveAs_Click);
     //
     // dlgOpenFile
     //
     this.dlgOpenFile.Filter = "Text Documents (*.txt)|*.txt|Wrox Documents (*.wroxtext)|*.wroxtext|All Files|*.*" +
                               "";
     this.dlgOpenFile.FilterIndex = 2;
     //
     // dlgSaveFile
     //
     this.dlgSaveFile.FileName    = "doc1";
     this.dlgSaveFile.Filter      = "Text Document (*.txt)|*.txt|Wrox Documents (*.wroxtext)|*.wroxtext";
     this.dlgSaveFile.FilterIndex = 2;
     //
     // menuItem1
     //
     this.menuItem1.Index = 4;
     this.menuItem1.Text  = "-";
     //
     // miFilePrint
     //
     this.miFilePrint.Index  = 5;
     this.miFilePrint.Text   = "&Print";
     this.miFilePrint.Click += new System.EventHandler(this.miFilePrint_Click);
     //
     // miFilePrintPreview
     //
     this.miFilePrintPreview.Index  = 6;
     this.miFilePrintPreview.Text   = "Print Pre&view";
     this.miFilePrintPreview.Click += new System.EventHandler(this.miFilePrintPreview_Click);
     //
     // miFilePageSetup
     //
     this.miFilePageSetup.Index  = 7;
     this.miFilePageSetup.Text   = "Page Set&up";
     this.miFilePageSetup.Click += new System.EventHandler(this.miFilePageSetup_Click);
     //
     // miFileExit
     //
     this.miFileExit.Index = 8;
     this.miFileExit.Text  = "E&xit";
     //
     // printDocument
     //
     this.printDocument.BeginPrint += new System.Drawing.Printing.PrintEventHandler(this.OnBeginPrint);
     this.printDocument.PrintPage  += new System.Drawing.Printing.PrintPageEventHandler(this.OnPrintPage);
     //
     // dlgPageSetup
     //
     this.dlgPageSetup.Document = this.printDocument;
     //
     // dlgPrint
     //
     this.dlgPrint.Document = this.printDocument;
     //
     // dlgPrintPreview
     //
     this.dlgPrintPreview.AutoScrollMargin  = new System.Drawing.Size(0, 0);
     this.dlgPrintPreview.AutoScrollMinSize = new System.Drawing.Size(0, 0);
     this.dlgPrintPreview.ClientSize        = new System.Drawing.Size(400, 300);
     this.dlgPrintPreview.Document          = this.printDocument;
     this.dlgPrintPreview.Enabled           = true;
     this.dlgPrintPreview.Icon            = ((System.Drawing.Icon)(resources.GetObject("dlgPrintPreview.Icon")));
     this.dlgPrintPreview.Location        = new System.Drawing.Point(17, 54);
     this.dlgPrintPreview.MaximumSize     = new System.Drawing.Size(0, 0);
     this.dlgPrintPreview.Name            = "dlgPrintPreview";
     this.dlgPrintPreview.Opacity         = 1;
     this.dlgPrintPreview.TransparencyKey = System.Drawing.Color.Empty;
     this.dlgPrintPreview.Visible         = false;
     //
     // printPreviewControl1
     //
     this.printPreviewControl1.Document = this.printDocument;
     this.printPreviewControl1.Name     = "printPreviewControl1";
     this.printPreviewControl1.Size     = new System.Drawing.Size(512, 248);
     this.printPreviewControl1.TabIndex = 1;
     this.printPreviewControl1.Visible  = false;
     this.printPreviewControl1.Zoom     = 0.20359281437125748;
     //
     // SimpleEditorForm
     //
     this.AutoScaleBaseSize = new System.Drawing.Size(5, 13);
     this.ClientSize        = new System.Drawing.Size(568, 273);
     this.Controls.AddRange(new System.Windows.Forms.Control[] {
         this.printPreviewControl1,
         this.textBoxEdit
     });
     this.Menu = this.mainMenu1;
     this.Name = "SimpleEditorForm";
     this.Text = "Simple Editor";
     this.ResumeLayout(false);
 }
Пример #38
0
 /// <summary>
 /// Required method for Designer support - do not modify
 /// the contents of this method with the code editor.
 /// </summary>
 private void InitializeComponent()
 {
     this.components = new System.ComponentModel.Container();
     System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(FileBrowsaForm));
     this.mainMenu1     = new System.Windows.Forms.MainMenu(this.components);
     this.menuItem1     = new System.Windows.Forms.MenuItem();
     this.menuItem2     = new System.Windows.Forms.MenuItem();
     this.menuItem3     = new System.Windows.Forms.MenuItem();
     this.menuItem4     = new System.Windows.Forms.MenuItem();
     this.panel1        = new System.Windows.Forms.Panel();
     this.textFilter    = new System.Windows.Forms.TextBox();
     this.listView1     = new System.Windows.Forms.ListView();
     this.columnHeader1 = ((System.Windows.Forms.ColumnHeader)(new System.Windows.Forms.ColumnHeader()));
     this.columnHeader2 = ((System.Windows.Forms.ColumnHeader)(new System.Windows.Forms.ColumnHeader()));
     this.columnHeader3 = ((System.Windows.Forms.ColumnHeader)(new System.Windows.Forms.ColumnHeader()));
     this.columnHeader4 = ((System.Windows.Forms.ColumnHeader)(new System.Windows.Forms.ColumnHeader()));
     this.splitter1     = new System.Windows.Forms.Splitter();
     this.treeView1     = new System.Windows.Forms.TreeView();
     this.imageList1    = new System.Windows.Forms.ImageList(this.components);
     this.statusBar1    = new System.Windows.Forms.StatusBar();
     this.labelFilter   = new System.Windows.Forms.Label();
     this.buttonApply   = new System.Windows.Forms.Button();
     this.buttonClear   = new System.Windows.Forms.Button();
     this.panel1.SuspendLayout();
     this.SuspendLayout();
     //
     // mainMenu1
     //
     this.mainMenu1.MenuItems.AddRange(new System.Windows.Forms.MenuItem[] {
         this.menuItem1,
         this.menuItem3
     });
     //
     // menuItem1
     //
     this.menuItem1.Index = 0;
     this.menuItem1.MenuItems.AddRange(new System.Windows.Forms.MenuItem[] {
         this.menuItem2
     });
     this.menuItem1.Text = "File";
     //
     // menuItem2
     //
     this.menuItem2.Index  = 0;
     this.menuItem2.Text   = "Exit";
     this.menuItem2.Click += new System.EventHandler(this.menuItem2_Click);
     //
     // menuItem3
     //
     this.menuItem3.Index = 1;
     this.menuItem3.MenuItems.AddRange(new System.Windows.Forms.MenuItem[] {
         this.menuItem4
     });
     this.menuItem3.Text = "Help";
     //
     // menuItem4
     //
     this.menuItem4.Index  = 0;
     this.menuItem4.Text   = "About";
     this.menuItem4.Click += new System.EventHandler(this.menuItem4_Click);
     //
     // panel1
     //
     this.panel1.Controls.Add(this.buttonClear);
     this.panel1.Controls.Add(this.buttonApply);
     this.panel1.Controls.Add(this.labelFilter);
     this.panel1.Controls.Add(this.textFilter);
     this.panel1.Controls.Add(this.listView1);
     this.panel1.Controls.Add(this.splitter1);
     this.panel1.Controls.Add(this.treeView1);
     this.panel1.Controls.Add(this.statusBar1);
     this.panel1.Dock     = System.Windows.Forms.DockStyle.Fill;
     this.panel1.Location = new System.Drawing.Point(0, 0);
     this.panel1.Name     = "panel1";
     this.panel1.Padding  = new System.Windows.Forms.Padding(0, 40, 0, 0);
     this.panel1.Size     = new System.Drawing.Size(792, 550);
     this.panel1.TabIndex = 0;
     //
     // textFilter
     //
     this.textFilter.Location = new System.Drawing.Point(191, 10);
     this.textFilter.Name     = "textFilter";
     this.textFilter.Size     = new System.Drawing.Size(140, 20);
     this.textFilter.TabIndex = 7;
     //
     // listView1
     //
     this.listView1.Columns.AddRange(new System.Windows.Forms.ColumnHeader[] {
         this.columnHeader1,
         this.columnHeader2,
         this.columnHeader3,
         this.columnHeader4
     });
     this.listView1.Dock          = System.Windows.Forms.DockStyle.Fill;
     this.listView1.HideSelection = false;
     this.listView1.Location      = new System.Drawing.Point(144, 40);
     this.listView1.Name          = "listView1";
     this.listView1.Size          = new System.Drawing.Size(648, 488);
     this.listView1.TabIndex      = 6;
     this.listView1.UseCompatibleStateImageBehavior = false;
     this.listView1.View          = System.Windows.Forms.View.Details;
     this.listView1.ItemActivate += new System.EventHandler(this.listView1_ItemActivate);
     //
     // columnHeader1
     //
     this.columnHeader1.Text  = "Name";
     this.columnHeader1.Width = 320;
     //
     // columnHeader2
     //
     this.columnHeader2.Text      = "Size";
     this.columnHeader2.TextAlign = System.Windows.Forms.HorizontalAlignment.Right;
     this.columnHeader2.Width     = 70;
     //
     // columnHeader3
     //
     this.columnHeader3.Text      = "Date";
     this.columnHeader3.TextAlign = System.Windows.Forms.HorizontalAlignment.Right;
     this.columnHeader3.Width     = 70;
     //
     // columnHeader4
     //
     this.columnHeader4.Text      = "Time";
     this.columnHeader4.TextAlign = System.Windows.Forms.HorizontalAlignment.Right;
     //
     // splitter1
     //
     this.splitter1.Location = new System.Drawing.Point(141, 40);
     this.splitter1.Name     = "splitter1";
     this.splitter1.Size     = new System.Drawing.Size(3, 488);
     this.splitter1.TabIndex = 5;
     this.splitter1.TabStop  = false;
     //
     // treeView1
     //
     this.treeView1.Dock               = System.Windows.Forms.DockStyle.Left;
     this.treeView1.HotTracking        = true;
     this.treeView1.ImageIndex         = 0;
     this.treeView1.ImageList          = this.imageList1;
     this.treeView1.Location           = new System.Drawing.Point(0, 40);
     this.treeView1.Name               = "treeView1";
     this.treeView1.SelectedImageIndex = 0;
     this.treeView1.ShowPlusMinus      = false;
     this.treeView1.Size               = new System.Drawing.Size(141, 488);
     this.treeView1.TabIndex           = 4;
     this.treeView1.AfterSelect       += new System.Windows.Forms.TreeViewEventHandler(this.treeView1_AfterSelect);
     //
     // imageList1
     //
     this.imageList1.ImageStream      = ((System.Windows.Forms.ImageListStreamer)(resources.GetObject("imageList1.ImageStream")));
     this.imageList1.TransparentColor = System.Drawing.Color.Transparent;
     this.imageList1.Images.SetKeyName(0, "");
     this.imageList1.Images.SetKeyName(1, "");
     this.imageList1.Images.SetKeyName(2, "");
     this.imageList1.Images.SetKeyName(3, "");
     this.imageList1.Images.SetKeyName(4, "");
     this.imageList1.Images.SetKeyName(5, "");
     this.imageList1.Images.SetKeyName(6, "");
     this.imageList1.Images.SetKeyName(7, "");
     this.imageList1.Images.SetKeyName(8, "");
     this.imageList1.Images.SetKeyName(9, "");
     this.imageList1.Images.SetKeyName(10, "");
     this.imageList1.Images.SetKeyName(11, "");
     this.imageList1.Images.SetKeyName(12, "");
     //
     // statusBar1
     //
     this.statusBar1.Location = new System.Drawing.Point(0, 528);
     this.statusBar1.Name     = "statusBar1";
     this.statusBar1.Size     = new System.Drawing.Size(792, 22);
     this.statusBar1.TabIndex = 3;
     this.statusBar1.Text     = "Ready";
     //
     // labelFilter
     //
     this.labelFilter.AutoSize = true;
     this.labelFilter.Location = new System.Drawing.Point(142, 13);
     this.labelFilter.Name     = "labelFilter";
     this.labelFilter.Size     = new System.Drawing.Size(29, 13);
     this.labelFilter.TabIndex = 8;
     this.labelFilter.Text     = "Filter";
     //
     // buttonApply
     //
     this.buttonApply.Location = new System.Drawing.Point(338, 10);
     this.buttonApply.Name     = "buttonApply";
     this.buttonApply.Size     = new System.Drawing.Size(47, 21);
     this.buttonApply.TabIndex = 9;
     this.buttonApply.Text     = "Apply";
     this.buttonApply.UseVisualStyleBackColor = true;
     this.buttonApply.Click += new System.EventHandler(this.buttonApply_Click);
     //
     // buttonClear
     //
     this.buttonClear.Location = new System.Drawing.Point(391, 10);
     this.buttonClear.Name     = "buttonClear";
     this.buttonClear.Size     = new System.Drawing.Size(47, 21);
     this.buttonClear.TabIndex = 10;
     this.buttonClear.Text     = "Clear";
     this.buttonClear.UseVisualStyleBackColor = true;
     this.buttonClear.Click += new System.EventHandler(this.buttonClear_Click);
     //
     // Form1
     //
     this.AutoScaleBaseSize = new System.Drawing.Size(5, 13);
     this.ClientSize        = new System.Drawing.Size(792, 550);
     this.Controls.Add(this.panel1);
     this.Menu  = this.mainMenu1;
     this.Name  = "Form1";
     this.Text  = "FileBrowsa";
     this.Load += new System.EventHandler(this.Form1_Load);
     this.panel1.ResumeLayout(false);
     this.panel1.PerformLayout();
     this.ResumeLayout(false);
 }
 /// <summary>
 /// Required method for Designer support - do not modify
 /// the contents of this method with the code editor.
 /// </summary>
 private void InitializeComponent()
 {
     this.components = new System.ComponentModel.Container();
     System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(TestCentricMainView));
     this.statusBar                 = new TestCentric.Gui.Views.StatusBarView();
     this.mainMenu                  = new System.Windows.Forms.MainMenu(this.components);
     this.fileMenu                  = new System.Windows.Forms.MenuItem();
     this.openMenuItem              = new System.Windows.Forms.MenuItem();
     this.closeMenuItem             = new System.Windows.Forms.MenuItem();
     this.addTestFileMenuItem       = new System.Windows.Forms.MenuItem();
     this.fileMenuSeparator1        = new System.Windows.Forms.MenuItem();
     this.reloadTestsMenuItem       = new System.Windows.Forms.MenuItem();
     this.runtimeMenuItem           = new System.Windows.Forms.MenuItem();
     this.menuItem2                 = new System.Windows.Forms.MenuItem();
     this.recentFilesMenu           = new System.Windows.Forms.MenuItem();
     this.menuItem4                 = new System.Windows.Forms.MenuItem();
     this.fileMenuSeparator4        = new System.Windows.Forms.MenuItem();
     this.exitMenuItem              = new System.Windows.Forms.MenuItem();
     this.viewMenu                  = new System.Windows.Forms.MenuItem();
     this.fullGuiMenuItem           = new System.Windows.Forms.MenuItem();
     this.miniGuiMenuItem           = new System.Windows.Forms.MenuItem();
     this.viewMenuSeparator1        = new System.Windows.Forms.MenuItem();
     this.guiFontMenuItem           = new System.Windows.Forms.MenuItem();
     this.increaseFontMenuItem      = new System.Windows.Forms.MenuItem();
     this.decreaseFontMenuItem      = new System.Windows.Forms.MenuItem();
     this.fontMenuSeparator         = new System.Windows.Forms.MenuItem();
     this.fontChangeMenuItem        = new System.Windows.Forms.MenuItem();
     this.defaultFontMenuItem       = new System.Windows.Forms.MenuItem();
     this.fixedFontMenuItem         = new System.Windows.Forms.MenuItem();
     this.increaseFixedFontMenuItem = new System.Windows.Forms.MenuItem();
     this.decreaseFixedFontMenuItem = new System.Windows.Forms.MenuItem();
     this.menuItem1                 = new System.Windows.Forms.MenuItem();
     this.restoreFixedFontMenuItem  = new System.Windows.Forms.MenuItem();
     this.viewMenuSeparator3        = new System.Windows.Forms.MenuItem();
     this.statusBarMenuItem         = new System.Windows.Forms.MenuItem();
     this.testMenu                  = new System.Windows.Forms.MenuItem();
     this.runAllMenuItem            = new System.Windows.Forms.MenuItem();
     this.runSelectedMenuItem       = new System.Windows.Forms.MenuItem();
     this.runFailedMenuItem         = new System.Windows.Forms.MenuItem();
     this.testMenuSeparator         = new System.Windows.Forms.MenuItem();
     this.stopRunMenuItem           = new System.Windows.Forms.MenuItem();
     this.toolsMenu                 = new System.Windows.Forms.MenuItem();
     this.projectEditorMenuItem     = new System.Windows.Forms.MenuItem();
     this.saveResultsMenuItem       = new System.Windows.Forms.MenuItem();
     this.toolsMenuSeparator1       = new System.Windows.Forms.MenuItem();
     this.extensionsMenuItem        = new System.Windows.Forms.MenuItem();
     this.settingsMenuItem          = new System.Windows.Forms.MenuItem();
     this.helpItem                  = new System.Windows.Forms.MenuItem();
     this.testCentricHelpMenuItem   = new System.Windows.Forms.MenuItem();
     this.nunitHelpMenuItem         = new System.Windows.Forms.MenuItem();
     this.helpMenuSeparator1        = new System.Windows.Forms.MenuItem();
     this.aboutMenuItem             = new System.Windows.Forms.MenuItem();
     this.treeSplitter              = new System.Windows.Forms.Splitter();
     this.rightPanel                = new System.Windows.Forms.Panel();
     this.groupBox1                 = new System.Windows.Forms.GroupBox();
     this.runCount                  = new TestCentric.Gui.Controls.ExpandingLabel();
     this.stopButton                = new System.Windows.Forms.Button();
     this.runButton                 = new System.Windows.Forms.Button();
     this.progressBar               = new TestCentric.Gui.Views.ProgressBarView();
     this.resultTabs                = new System.Windows.Forms.TabControl();
     this.errorTab                  = new System.Windows.Forms.TabPage();
     this.errorsAndFailuresView1    = new TestCentric.Gui.Views.ErrorsAndFailuresView();
     this.notrunTab                 = new System.Windows.Forms.TabPage();
     this.testsNotRunView1          = new TestCentric.Gui.Views.TestsNotRunView();
     this.outputTab                 = new System.Windows.Forms.TabPage();
     this.textOutputView1           = new TestCentric.Gui.Views.TextOutputView();
     this.toolTip       = new System.Windows.Forms.ToolTip(this.components);
     this.categoryView  = new TestCentric.Gui.Views.CategoryView();
     this.leftPanel     = new System.Windows.Forms.Panel();
     this.tabs          = new System.Windows.Forms.TabControl();
     this.testPage      = new System.Windows.Forms.TabPage();
     this.testPanel     = new System.Windows.Forms.Panel();
     this.treeView      = new TestCentric.Gui.Views.TestTreeView();
     this.categoryPage  = new System.Windows.Forms.TabPage();
     this.categoryPanel = new System.Windows.Forms.Panel();
     this.testPanel.SuspendLayout();
     this.tabs.SuspendLayout();
     this.categoryPanel.SuspendLayout();
     this.rightPanel.SuspendLayout();
     this.groupBox1.SuspendLayout();
     this.resultTabs.SuspendLayout();
     this.errorTab.SuspendLayout();
     this.notrunTab.SuspendLayout();
     this.outputTab.SuspendLayout();
     this.SuspendLayout();
     //
     // statusBar
     //
     this.statusBar.Dock     = System.Windows.Forms.DockStyle.Bottom;
     this.statusBar.Location = new System.Drawing.Point(0, 407);
     this.statusBar.Name     = "statusBar";
     this.statusBar.Size     = new System.Drawing.Size(744, 24);
     this.statusBar.TabIndex = 0;
     //
     // mainMenu
     //
     this.mainMenu.MenuItems.AddRange(new System.Windows.Forms.MenuItem[] {
         this.fileMenu,
         this.viewMenu,
         this.testMenu,
         this.toolsMenu,
         this.helpItem
     });
     //
     // fileMenu
     //
     this.fileMenu.Index = 0;
     this.fileMenu.MenuItems.AddRange(new System.Windows.Forms.MenuItem[] {
         this.openMenuItem,
         this.closeMenuItem,
         this.addTestFileMenuItem,
         this.fileMenuSeparator1,
         this.reloadTestsMenuItem,
         this.runtimeMenuItem,
         this.menuItem2,
         this.recentFilesMenu,
         this.fileMenuSeparator4,
         this.exitMenuItem
     });
     this.fileMenu.Text = "&File";
     //
     // openMenuItem
     //
     this.openMenuItem.Index    = 0;
     this.openMenuItem.Shortcut = System.Windows.Forms.Shortcut.CtrlO;
     this.openMenuItem.Text     = "&Open...";
     //
     // closeMenuItem
     //
     this.closeMenuItem.Index = 1;
     this.closeMenuItem.Text  = "&Close";
     //
     // addTestFileMenuItem
     //
     this.addTestFileMenuItem.Index = 2;
     this.addTestFileMenuItem.Text  = "&Add Test File...";
     //
     // fileMenuSeparator1
     //
     this.fileMenuSeparator1.Index = 3;
     this.fileMenuSeparator1.Text  = "-";
     //
     // reloadTestsMenuItem
     //
     this.reloadTestsMenuItem.Index    = 4;
     this.reloadTestsMenuItem.Shortcut = System.Windows.Forms.Shortcut.CtrlR;
     this.reloadTestsMenuItem.Text     = "&Reload Tests";
     //
     // runtimeMenuItem
     //
     this.runtimeMenuItem.Index = 5;
     this.runtimeMenuItem.Text  = "  Select R&untime";
     //
     // menuItem2
     //
     this.menuItem2.Index = 6;
     this.menuItem2.Text  = "-";
     //
     // recentFilesMenu
     //
     this.recentFilesMenu.Index = 7;
     this.recentFilesMenu.MenuItems.AddRange(new System.Windows.Forms.MenuItem[] {
         this.menuItem4
     });
     this.recentFilesMenu.Text = "Recent &Files";
     //
     // menuItem4
     //
     this.menuItem4.Index = 0;
     this.menuItem4.Text  = "Dummy Entry to force PopUp initially";
     //
     // fileMenuSeparator4
     //
     this.fileMenuSeparator4.Index = 8;
     this.fileMenuSeparator4.Text  = "-";
     //
     // exitMenuItem
     //
     this.exitMenuItem.Index = 9;
     this.exitMenuItem.Text  = "E&xit";
     //
     // viewMenu
     //
     this.viewMenu.Index = 1;
     this.viewMenu.MenuItems.AddRange(new System.Windows.Forms.MenuItem[] {
         this.fullGuiMenuItem,
         this.miniGuiMenuItem,
         this.viewMenuSeparator1,
         this.guiFontMenuItem,
         this.fixedFontMenuItem,
         this.viewMenuSeparator3,
         this.statusBarMenuItem
     });
     this.viewMenu.Text = "&View";
     //
     // fullGuiMenuItem
     //
     this.fullGuiMenuItem.Checked    = true;
     this.fullGuiMenuItem.Index      = 0;
     this.fullGuiMenuItem.RadioCheck = true;
     this.fullGuiMenuItem.Tag        = "Full";
     this.fullGuiMenuItem.Text       = "&Full GUI";
     //
     // miniGuiMenuItem
     //
     this.miniGuiMenuItem.Index      = 1;
     this.miniGuiMenuItem.RadioCheck = true;
     this.miniGuiMenuItem.Tag        = "Mini";
     this.miniGuiMenuItem.Text       = "&Mini GUI";
     //
     // viewMenuSeparator1
     //
     this.viewMenuSeparator1.Index = 2;
     this.viewMenuSeparator1.Text  = "-";
     //
     // guiFontMenuItem
     //
     this.guiFontMenuItem.Index = 3;
     this.guiFontMenuItem.MenuItems.AddRange(new System.Windows.Forms.MenuItem[] {
         this.increaseFontMenuItem,
         this.decreaseFontMenuItem,
         this.fontMenuSeparator,
         this.fontChangeMenuItem,
         this.defaultFontMenuItem
     });
     this.guiFontMenuItem.Text = "GUI Fo&nt";
     //
     // increaseFontMenuItem
     //
     this.increaseFontMenuItem.Index = 0;
     this.increaseFontMenuItem.Text  = "&Increase";
     //
     // decreaseFontMenuItem
     //
     this.decreaseFontMenuItem.Index = 1;
     this.decreaseFontMenuItem.Text  = "&Decrease";
     //
     // fontMenuSeparator
     //
     this.fontMenuSeparator.Index = 2;
     this.fontMenuSeparator.Text  = "-";
     //
     // fontChangeMenuItem
     //
     this.fontChangeMenuItem.Index = 3;
     this.fontChangeMenuItem.Text  = "&Change...";
     //
     // defaultFontMenuItem
     //
     this.defaultFontMenuItem.Index = 4;
     this.defaultFontMenuItem.Text  = "&Restore";
     //
     // fixedFontMenuItem
     //
     this.fixedFontMenuItem.Index = 4;
     this.fixedFontMenuItem.MenuItems.AddRange(new System.Windows.Forms.MenuItem[] {
         this.increaseFixedFontMenuItem,
         this.decreaseFixedFontMenuItem,
         this.menuItem1,
         this.restoreFixedFontMenuItem
     });
     this.fixedFontMenuItem.Text = "Fi&xed Font";
     //
     // increaseFixedFontMenuItem
     //
     this.increaseFixedFontMenuItem.Index = 0;
     this.increaseFixedFontMenuItem.Text  = "&Increase";
     //
     // decreaseFixedFontMenuItem
     //
     this.decreaseFixedFontMenuItem.Index = 1;
     this.decreaseFixedFontMenuItem.Text  = "&Decrease";
     //
     // menuItem1
     //
     this.menuItem1.Index = 2;
     this.menuItem1.Text  = "-";
     //
     // restoreFixedFontMenuItem
     //
     this.restoreFixedFontMenuItem.Index = 3;
     this.restoreFixedFontMenuItem.Text  = "&Restore";
     //
     // viewMenuSeparator3
     //
     this.viewMenuSeparator3.Index = 5;
     this.viewMenuSeparator3.Text  = "-";
     //
     // statusBarMenuItem
     //
     this.statusBarMenuItem.Checked = true;
     this.statusBarMenuItem.Index   = 6;
     this.statusBarMenuItem.Text    = "&Status Bar";
     //
     // testMenu
     //
     this.testMenu.Index = 2;
     this.testMenu.MenuItems.AddRange(new System.Windows.Forms.MenuItem[] {
         this.runAllMenuItem,
         this.runSelectedMenuItem,
         this.runFailedMenuItem,
         this.testMenuSeparator,
         this.stopRunMenuItem
     });
     this.testMenu.Text = "&Tests";
     //
     // runAllMenuItem
     //
     this.runAllMenuItem.Index    = 0;
     this.runAllMenuItem.Shortcut = System.Windows.Forms.Shortcut.F5;
     this.runAllMenuItem.Text     = "&Run All";
     //
     // runSelectedMenuItem
     //
     this.runSelectedMenuItem.Index    = 1;
     this.runSelectedMenuItem.Shortcut = System.Windows.Forms.Shortcut.F6;
     this.runSelectedMenuItem.Text     = "Run &Selected";
     //
     // runFailedMenuItem
     //
     this.runFailedMenuItem.Enabled  = false;
     this.runFailedMenuItem.Index    = 2;
     this.runFailedMenuItem.Shortcut = System.Windows.Forms.Shortcut.F7;
     this.runFailedMenuItem.Text     = "Run &Failed";
     //
     // testMenuSeparator
     //
     this.testMenuSeparator.Index = 3;
     this.testMenuSeparator.Text  = "-";
     //
     // stopRunMenuItem
     //
     this.stopRunMenuItem.Index = 4;
     this.stopRunMenuItem.Text  = "S&top Run";
     //
     // toolsMenu
     //
     this.toolsMenu.Index = 3;
     this.toolsMenu.MenuItems.AddRange(new System.Windows.Forms.MenuItem[] {
         this.projectEditorMenuItem,
         this.saveResultsMenuItem,
         this.toolsMenuSeparator1,
         this.extensionsMenuItem,
         this.settingsMenuItem
     });
     this.toolsMenu.Text = "T&ools";
     //
     // projectEditorMenuItem
     //
     this.projectEditorMenuItem.Index = 0;
     this.projectEditorMenuItem.Text  = "Project Editor...";
     //
     // saveResultsMenuItem
     //
     this.saveResultsMenuItem.Index = 1;
     this.saveResultsMenuItem.Text  = "&Save Test Results...";
     //
     // toolsMenuSeparator1
     //
     this.toolsMenuSeparator1.Index = 2;
     this.toolsMenuSeparator1.Text  = "-";
     //
     // extensionsMenuItem
     //
     this.extensionsMenuItem.Index = 3;
     this.extensionsMenuItem.Text  = "Extensions...";
     //
     // settingsMenuItem
     //
     this.settingsMenuItem.Index = 4;
     this.settingsMenuItem.Text  = "&Settings...";
     //
     // helpItem
     //
     this.helpItem.Index = 4;
     this.helpItem.MenuItems.AddRange(new System.Windows.Forms.MenuItem[] {
         this.testCentricHelpMenuItem,
         this.nunitHelpMenuItem,
         this.helpMenuSeparator1,
         this.aboutMenuItem
     });
     this.helpItem.Text = "&Help";
     //
     // testCentricHelpMenuItem
     //
     this.testCentricHelpMenuItem.Index = 0;
     this.testCentricHelpMenuItem.Text  = "TestCentric Help...";
     //
     // nunitHelpMenuItem
     //
     this.nunitHelpMenuItem.Index    = 1;
     this.nunitHelpMenuItem.Shortcut = System.Windows.Forms.Shortcut.F1;
     this.nunitHelpMenuItem.Text     = "NUnit &Help...";
     //
     // helpMenuSeparator1
     //
     this.helpMenuSeparator1.Index = 2;
     this.helpMenuSeparator1.Text  = "-";
     //
     // aboutMenuItem
     //
     this.aboutMenuItem.Index = 3;
     this.aboutMenuItem.Text  = "&About TestCentric...";
     //
     // treeSplitter
     //
     this.treeSplitter.Location = new System.Drawing.Point(240, 0);
     this.treeSplitter.MinSize  = 240;
     this.treeSplitter.Name     = "treeSplitter";
     this.treeSplitter.Size     = new System.Drawing.Size(6, 407);
     this.treeSplitter.TabIndex = 2;
     this.treeSplitter.TabStop  = false;
     //
     // rightPanel
     //
     this.rightPanel.BackColor = System.Drawing.SystemColors.Control;
     this.rightPanel.Controls.Add(this.resultTabs);
     this.rightPanel.Controls.Add(this.groupBox1);
     this.rightPanel.Dock     = System.Windows.Forms.DockStyle.Fill;
     this.rightPanel.Location = new System.Drawing.Point(246, 0);
     this.rightPanel.Name     = "rightPanel";
     this.rightPanel.Size     = new System.Drawing.Size(498, 407);
     this.rightPanel.TabIndex = 3;
     //
     // groupBox1
     //
     this.groupBox1.Controls.Add(this.runCount);
     this.groupBox1.Controls.Add(this.stopButton);
     this.groupBox1.Controls.Add(this.runButton);
     this.groupBox1.Controls.Add(this.progressBar);
     this.groupBox1.Dock     = System.Windows.Forms.DockStyle.Top;
     this.groupBox1.Location = new System.Drawing.Point(0, 0);
     this.groupBox1.Name     = "groupBox1";
     this.groupBox1.Size     = new System.Drawing.Size(498, 120);
     this.groupBox1.TabIndex = 0;
     this.groupBox1.TabStop  = false;
     //
     // runCount
     //
     this.runCount.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left)
                                                                  | System.Windows.Forms.AnchorStyles.Right)));
     this.runCount.AutoEllipsis = true;
     this.runCount.Location     = new System.Drawing.Point(8, 89);
     this.runCount.Name         = "runCount";
     this.runCount.Size         = new System.Drawing.Size(480, 21);
     this.runCount.TabIndex     = 5;
     //
     // stopButton
     //
     this.stopButton.AutoSize = true;
     this.stopButton.Location = new System.Drawing.Point(75, 16);
     this.stopButton.Name     = "stopButton";
     this.stopButton.Size     = new System.Drawing.Size(64, 31);
     this.stopButton.TabIndex = 4;
     this.stopButton.Text     = "&Stop";
     //
     // runButton
     //
     this.runButton.Location = new System.Drawing.Point(8, 16);
     this.runButton.Name     = "runButton";
     this.runButton.Size     = new System.Drawing.Size(64, 31);
     this.runButton.TabIndex = 3;
     this.runButton.Text     = "&Run";
     //
     // progressBar
     //
     this.progressBar.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left)
                                                                     | System.Windows.Forms.AnchorStyles.Right)));
     this.progressBar.BackColor        = System.Drawing.SystemColors.Control;
     this.progressBar.CausesValidation = false;
     this.progressBar.Enabled          = false;
     this.progressBar.ForeColor        = System.Drawing.SystemColors.Highlight;
     this.progressBar.Location         = new System.Drawing.Point(8, 54);
     this.progressBar.Name             = "progressBar";
     this.progressBar.Progress         = 0;
     this.progressBar.Size             = new System.Drawing.Size(480, 16);
     this.progressBar.Status           = TestCentric.Gui.Views.ProgressBarStatus.Success;
     this.progressBar.TabIndex         = 0;
     //
     // tabControl
     //
     this.resultTabs.Alignment = System.Windows.Forms.TabAlignment.Bottom;
     this.resultTabs.Controls.Add(this.errorTab);
     this.resultTabs.Controls.Add(this.notrunTab);
     this.resultTabs.Controls.Add(this.outputTab);
     this.resultTabs.Dock          = System.Windows.Forms.DockStyle.Fill;
     this.resultTabs.Location      = new System.Drawing.Point(0, 120);
     this.resultTabs.Name          = "tabControl";
     this.resultTabs.SelectedIndex = 0;
     this.resultTabs.Size          = new System.Drawing.Size(498, 407);
     this.resultTabs.TabIndex      = 2;
     //
     // errorTab
     //
     this.errorTab.Controls.Add(this.errorsAndFailuresView1);
     this.errorTab.Location = new System.Drawing.Point(4, 4);
     this.errorTab.Name     = "errorTab";
     this.errorTab.Size     = new System.Drawing.Size(490, 381);
     this.errorTab.TabIndex = 0;
     this.errorTab.Text     = "Errors and Failures";
     this.errorTab.UseVisualStyleBackColor = true;
     //
     // errorsAndFailuresView1
     //
     this.errorsAndFailuresView1.Dock                       = System.Windows.Forms.DockStyle.Fill;
     this.errorsAndFailuresView1.EnableToolTips             = false;
     this.errorsAndFailuresView1.Location                   = new System.Drawing.Point(0, 123);
     this.errorsAndFailuresView1.Name                       = "errorsAndFailuresView1";
     this.errorsAndFailuresView1.Size                       = new System.Drawing.Size(490, 381);
     this.errorsAndFailuresView1.SourceCodeDisplay          = true;
     this.errorsAndFailuresView1.SourceCodeSplitOrientation = System.Windows.Forms.Orientation.Vertical;
     this.errorsAndFailuresView1.SourceCodeSplitterDistance = 0.3F;
     this.errorsAndFailuresView1.SplitterPosition           = 128;
     this.errorsAndFailuresView1.TabIndex                   = 0;
     //
     // notrunTab
     //
     this.notrunTab.Controls.Add(this.testsNotRunView1);
     this.notrunTab.Location = new System.Drawing.Point(4, 4);
     this.notrunTab.Name     = "notrunTab";
     this.notrunTab.Size     = new System.Drawing.Size(490, 381);
     this.notrunTab.TabIndex = 1;
     this.notrunTab.Text     = "Tests Not Run";
     this.notrunTab.UseVisualStyleBackColor = true;
     //
     // testsNotRunView1
     //
     this.testsNotRunView1.Dock     = System.Windows.Forms.DockStyle.Fill;
     this.testsNotRunView1.Location = new System.Drawing.Point(0, 0);
     this.testsNotRunView1.Name     = "testsNotRunView1";
     this.testsNotRunView1.Size     = new System.Drawing.Size(490, 381);
     this.testsNotRunView1.TabIndex = 0;
     //
     // outputTab
     //
     this.outputTab.Controls.Add(this.textOutputView1);
     this.outputTab.Location = new System.Drawing.Point(4, 4);
     this.outputTab.Name     = "outputTab";
     this.outputTab.Size     = new System.Drawing.Size(490, 381);
     this.outputTab.TabIndex = 2;
     this.outputTab.Text     = "Text Output";
     this.outputTab.UseVisualStyleBackColor = true;
     //
     // textOutputView1
     //
     this.textOutputView1.Dock     = System.Windows.Forms.DockStyle.Fill;
     this.textOutputView1.Location = new System.Drawing.Point(0, 0);
     this.textOutputView1.Name     = "textOutputView1";
     this.textOutputView1.Size     = new System.Drawing.Size(490, 381);
     this.textOutputView1.TabIndex = 0;
     this.textOutputView1.WordWrap = true;
     //
     // leftPanel
     //
     this.leftPanel.Controls.Add(this.tabs);
     this.leftPanel.Dock     = System.Windows.Forms.DockStyle.Left;
     this.leftPanel.Location = new System.Drawing.Point(0, 0);
     this.leftPanel.Name     = "leftPanel";
     this.leftPanel.Size     = new System.Drawing.Size(240, 407);
     this.leftPanel.TabIndex = 4;
     //
     // tabs
     //
     this.tabs.Alignment = System.Windows.Forms.TabAlignment.Left;
     this.tabs.Controls.Add(this.testPage);
     this.tabs.Controls.Add(this.categoryPage);
     this.tabs.Dock          = System.Windows.Forms.DockStyle.Fill;
     this.tabs.Location      = new System.Drawing.Point(0, 0);
     this.tabs.Multiline     = true;
     this.tabs.Name          = "tabs";
     this.tabs.SelectedIndex = 0;
     this.tabs.Size          = new System.Drawing.Size(248, 496);
     this.tabs.TabIndex      = 0;
     //
     // testPage
     //
     this.testPage.Controls.Add(this.testPanel);
     this.testPage.Location = new System.Drawing.Point(25, 4);
     this.testPage.Name     = "testPage";
     this.testPage.Size     = new System.Drawing.Size(219, 488);
     this.testPage.TabIndex = 0;
     this.testPage.Text     = "Tests";
     //
     // testPanel
     //
     this.testPanel.Controls.Add(this.treeView);
     this.testPanel.Dock     = System.Windows.Forms.DockStyle.Fill;
     this.testPanel.Location = new System.Drawing.Point(0, 0);
     this.testPanel.Name     = "testPanel";
     this.testPanel.Size     = new System.Drawing.Size(219, 488);
     this.testPanel.TabIndex = 0;
     //
     // treeView
     //
     this.treeView.AllowDrop = true;
     this.treeView.Dock      = System.Windows.Forms.DockStyle.Fill;
     this.treeView.Location  = new System.Drawing.Point(0, 0);
     this.treeView.Name      = "tests";
     this.treeView.Size      = new System.Drawing.Size(219, 448);
     this.treeView.TabIndex  = 0;
     //
     // categoryPage
     //
     this.categoryPage.Controls.Add(this.categoryPanel);
     this.categoryPage.Location = new System.Drawing.Point(25, 4);
     this.categoryPage.Name     = "categoryPage";
     this.categoryPage.Size     = new System.Drawing.Size(219, 488);
     this.categoryPage.TabIndex = 1;
     this.categoryPage.Text     = "Categories";
     //
     // categoryPanel
     //
     this.categoryPanel.Controls.Add(this.categoryView);
     this.categoryPanel.Dock     = System.Windows.Forms.DockStyle.Fill;
     this.categoryPanel.Location = new System.Drawing.Point(0, 0);
     this.categoryPanel.Name     = "categoryPanel";
     this.categoryPanel.Size     = new System.Drawing.Size(219, 488);
     this.categoryPanel.TabIndex = 0;
     //
     // categoryView
     //
     this.categoryView.Dock     = System.Windows.Forms.DockStyle.Fill;
     this.categoryView.Location = new System.Drawing.Point(0, 0);
     this.categoryView.Name     = "testTree";
     this.categoryView.Size     = new System.Drawing.Size(240, 407);
     this.categoryView.TabIndex = 0;
     //
     // TestCentricMainView
     //
     this.ClientSize = new System.Drawing.Size(744, 431);
     this.Controls.Add(this.rightPanel);
     this.Controls.Add(this.treeSplitter);
     this.Controls.Add(this.leftPanel);
     this.Controls.Add(this.statusBar);
     this.Icon          = ((System.Drawing.Icon)(resources.GetObject("$this.Icon")));
     this.Menu          = this.mainMenu;
     this.MinimumSize   = new System.Drawing.Size(160, 32);
     this.Name          = "TestCentricMainView";
     this.StartPosition = System.Windows.Forms.FormStartPosition.Manual;
     this.Text          = "TestCentric Runner for NUnit";
     this.rightPanel.ResumeLayout(false);
     this.groupBox1.ResumeLayout(false);
     this.groupBox1.PerformLayout();
     this.resultTabs.ResumeLayout(false);
     this.errorTab.ResumeLayout(false);
     this.notrunTab.ResumeLayout(false);
     this.outputTab.ResumeLayout(false);
     this.categoryPanel.ResumeLayout(false);
     this.testPanel.ResumeLayout(false);
     this.tabs.ResumeLayout(false);
     this.leftPanel.ResumeLayout(false);
     this.ResumeLayout(false);
 }
Пример #40
0
 /// <summary>
 /// Required method for Designer support - do not modify
 /// the contents of this method with the code editor.
 /// </summary>
 private void InitializeComponent()
 {
     this.components = new System.ComponentModel.Container();
     System.Resources.ResourceManager resources = new System.Resources.ResourceManager(typeof(frmMDI));
     this.mnu         = new System.Windows.Forms.MainMenu();
     this.status      = new System.Windows.Forms.StatusBar();
     this.sta1        = new System.Windows.Forms.StatusBarPanel();
     this.sta2        = new System.Windows.Forms.StatusBarPanel();
     this.sta3        = new System.Windows.Forms.StatusBarPanel();
     this.pictureBox1 = new System.Windows.Forms.PictureBox();
     this.M           = new Dev4Arabs.OfficeMenus(this.components);
     ((System.ComponentModel.ISupportInitialize)(this.sta1)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.sta2)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.sta3)).BeginInit();
     this.SuspendLayout();
     //
     // status
     //
     this.status.Location = new System.Drawing.Point(0, 396);
     this.status.Name     = "status";
     this.status.Panels.AddRange(new System.Windows.Forms.StatusBarPanel[] {
         this.sta1,
         this.sta2,
         this.sta3
     });
     this.status.ShowPanels = true;
     this.status.Size       = new System.Drawing.Size(603, 28);
     this.status.TabIndex   = 1;
     //
     // sta1
     //
     this.sta1.Alignment = System.Windows.Forms.HorizontalAlignment.Center;
     this.sta1.Text      = "statusBarPanel1";
     this.sta1.Width     = 234;
     //
     // sta2
     //
     this.sta2.Alignment = System.Windows.Forms.HorizontalAlignment.Center;
     this.sta2.AutoSize  = System.Windows.Forms.StatusBarPanelAutoSize.Spring;
     this.sta2.Width     = 233;
     //
     // sta3
     //
     this.sta3.Alignment = System.Windows.Forms.HorizontalAlignment.Center;
     this.sta3.Text      = "statusBarPanel1";
     this.sta3.Width     = 120;
     //
     // pictureBox1
     //
     this.pictureBox1.Anchor    = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)));
     this.pictureBox1.BackColor = System.Drawing.SystemColors.ControlDarkDark;
     this.pictureBox1.Location  = new System.Drawing.Point(236, 399);
     this.pictureBox1.Name      = "pictureBox1";
     this.pictureBox1.Size      = new System.Drawing.Size(229, 25);
     this.pictureBox1.SizeMode  = System.Windows.Forms.PictureBoxSizeMode.CenterImage;
     this.pictureBox1.TabIndex  = 3;
     this.pictureBox1.TabStop   = false;
     //
     // M
     //
     this.M.ImageList = null;
     //
     // frmMDI
     //
     this.AutoScale         = false;
     this.AutoScaleBaseSize = new System.Drawing.Size(6, 16);
     this.BackColor         = System.Drawing.Color.FromArgb(((System.Byte)(255)), ((System.Byte)(255)), ((System.Byte)(192)));
     this.BackgroundImage   = ((System.Drawing.Image)(resources.GetObject("$this.BackgroundImage")));
     this.ClientSize        = new System.Drawing.Size(603, 424);
     this.Controls.Add(this.pictureBox1);
     this.Controls.Add(this.status);
     this.Font           = new System.Drawing.Font("Tahoma", 9.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((System.Byte)(0)));
     this.Icon           = ((System.Drawing.Icon)(resources.GetObject("$this.Icon")));
     this.IsMdiContainer = true;
     this.Menu           = this.mnu;
     this.Name           = "frmMDI";
     this.Text           = "Main";
     this.WindowState    = System.Windows.Forms.FormWindowState.Maximized;
     this.Closing       += new System.ComponentModel.CancelEventHandler(this.frmMDI_Closing);
     this.SizeChanged   += new System.EventHandler(this.frmMDI_SizeChanged);
     this.Load          += new System.EventHandler(this.frmMDI_Load);
     this.Closed        += new System.EventHandler(this.frmMDI_Closed);
     ((System.ComponentModel.ISupportInitialize)(this.sta1)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.sta2)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.sta3)).EndInit();
     this.ResumeLayout(false);
 }
Пример #41
0
 /// <summary>
 /// Erforderliche Methode für die Designerunterstützung.
 /// Der Inhalt der Methode darf nicht mit dem Code-Editor geändert werden.
 /// </summary>
 private void InitializeComponent()
 {
     this.components = new System.ComponentModel.Container();
     System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(FormComponents));
     this.lstComponents   = new System.Windows.Forms.ListBox();
     this.mainMenu1       = new System.Windows.Forms.MainMenu(this.components);
     this.menuItem1       = new System.Windows.Forms.MenuItem();
     this.menuItem2       = new System.Windows.Forms.MenuItem();
     this.menuItem3       = new System.Windows.Forms.MenuItem();
     this.openFileDialog1 = new System.Windows.Forms.OpenFileDialog();
     this.splitter1       = new System.Windows.Forms.Splitter();
     this.treeView1       = new System.Windows.Forms.TreeView();
     this.imageList1      = new System.Windows.Forms.ImageList(this.components);
     this.imageList2      = new System.Windows.Forms.ImageList(this.components);
     this.SuspendLayout();
     //
     // lstComponents
     //
     this.lstComponents.AccessibleDescription = null;
     this.lstComponents.AccessibleName        = null;
     resources.ApplyResources(this.lstComponents, "lstComponents");
     this.lstComponents.BackgroundImage = null;
     this.lstComponents.BorderStyle     = System.Windows.Forms.BorderStyle.FixedSingle;
     this.lstComponents.Font            = null;
     this.lstComponents.Name            = "lstComponents";
     //
     // mainMenu1
     //
     this.mainMenu1.MenuItems.AddRange(new System.Windows.Forms.MenuItem[] {
         this.menuItem1
     });
     resources.ApplyResources(this.mainMenu1, "mainMenu1");
     //
     // menuItem1
     //
     resources.ApplyResources(this.menuItem1, "menuItem1");
     this.menuItem1.Index = 0;
     this.menuItem1.MenuItems.AddRange(new System.Windows.Forms.MenuItem[] {
         this.menuItem2,
         this.menuItem3
     });
     //
     // menuItem2
     //
     resources.ApplyResources(this.menuItem2, "menuItem2");
     this.menuItem2.Index  = 0;
     this.menuItem2.Click += new System.EventHandler(this.menuItem2_Click);
     //
     // menuItem3
     //
     resources.ApplyResources(this.menuItem3, "menuItem3");
     this.menuItem3.Index  = 1;
     this.menuItem3.Click += new System.EventHandler(this.menuItem3_Click);
     //
     // openFileDialog1
     //
     resources.ApplyResources(this.openFileDialog1, "openFileDialog1");
     //
     // splitter1
     //
     this.splitter1.AccessibleDescription = null;
     this.splitter1.AccessibleName        = null;
     resources.ApplyResources(this.splitter1, "splitter1");
     this.splitter1.BackgroundImage = null;
     this.splitter1.Font            = null;
     this.splitter1.Name            = "splitter1";
     this.splitter1.TabStop         = false;
     //
     // treeView1
     //
     this.treeView1.AccessibleDescription = null;
     this.treeView1.AccessibleName        = null;
     resources.ApplyResources(this.treeView1, "treeView1");
     this.treeView1.BackgroundImage = null;
     this.treeView1.BorderStyle     = System.Windows.Forms.BorderStyle.FixedSingle;
     this.treeView1.Font            = null;
     this.treeView1.ImageList       = this.imageList1;
     this.treeView1.Name            = "treeView1";
     //
     // imageList1
     //
     this.imageList1.ImageStream      = ((System.Windows.Forms.ImageListStreamer)(resources.GetObject("imageList1.ImageStream")));
     this.imageList1.TransparentColor = System.Drawing.Color.Transparent;
     this.imageList1.Images.SetKeyName(0, "tag.png");
     this.imageList1.Images.SetKeyName(1, "16-tool-a.png");
     //
     // imageList2
     //
     this.imageList2.ImageStream      = ((System.Windows.Forms.ImageListStreamer)(resources.GetObject("imageList2.ImageStream")));
     this.imageList2.TransparentColor = System.Drawing.Color.Transparent;
     this.imageList2.Images.SetKeyName(0, "brick.png");
     //
     // FormComponents
     //
     this.AccessibleDescription = null;
     this.AccessibleName        = null;
     resources.ApplyResources(this, "$this");
     this.BackgroundImage = null;
     this.Controls.Add(this.treeView1);
     this.Controls.Add(this.splitter1);
     this.Controls.Add(this.lstComponents);
     this.Font            = null;
     this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.SizableToolWindow;
     this.Icon            = null;
     this.Menu            = this.mainMenu1;
     this.Name            = "FormComponents";
     this.Load           += new System.EventHandler(this.FormComponents_Load);
     this.ResumeLayout(false);
 }
Пример #42
0
 /// <summary>
 /// Required method for Designer support - do not modify
 /// the contents of this method with the code editor.
 /// </summary>
 private void InitializeComponent()
 {
     System.Resources.ResourceManager resources = new System.Resources.ResourceManager(typeof(Form1));
     this.txtBox          = new System.Windows.Forms.TextBox();
     this.mainMenu1       = new System.Windows.Forms.MainMenu();
     this.mnuFile         = new System.Windows.Forms.MenuItem();
     this.mnuOpen         = new System.Windows.Forms.MenuItem();
     this.mnuSave         = new System.Windows.Forms.MenuItem();
     this.mnuLanguage     = new System.Windows.Forms.MenuItem();
     this.mnuEnglish      = new System.Windows.Forms.MenuItem();
     this.mnuRussian      = new System.Windows.Forms.MenuItem();
     this.openFileDialog1 = new System.Windows.Forms.OpenFileDialog();
     this.saveFileDialog1 = new System.Windows.Forms.SaveFileDialog();
     this.SuspendLayout();
     //
     // txtBox
     //
     this.txtBox.AccessibleDescription = resources.GetString("txtBox.AccessibleDescription");
     this.txtBox.AccessibleName        = resources.GetString("txtBox.AccessibleName");
     this.txtBox.Anchor          = ((System.Windows.Forms.AnchorStyles)(resources.GetObject("txtBox.Anchor")));
     this.txtBox.AutoSize        = ((bool)(resources.GetObject("txtBox.AutoSize")));
     this.txtBox.BackgroundImage = ((System.Drawing.Image)(resources.GetObject("txtBox.BackgroundImage")));
     this.txtBox.Dock            = ((System.Windows.Forms.DockStyle)(resources.GetObject("txtBox.Dock")));
     this.txtBox.Enabled         = ((bool)(resources.GetObject("txtBox.Enabled")));
     this.txtBox.Font            = ((System.Drawing.Font)(resources.GetObject("txtBox.Font")));
     this.txtBox.ImeMode         = ((System.Windows.Forms.ImeMode)(resources.GetObject("txtBox.ImeMode")));
     this.txtBox.Location        = ((System.Drawing.Point)(resources.GetObject("txtBox.Location")));
     this.txtBox.MaxLength       = ((int)(resources.GetObject("txtBox.MaxLength")));
     this.txtBox.Multiline       = ((bool)(resources.GetObject("txtBox.Multiline")));
     this.txtBox.Name            = "txtBox";
     this.txtBox.PasswordChar    = ((char)(resources.GetObject("txtBox.PasswordChar")));
     this.txtBox.RightToLeft     = ((System.Windows.Forms.RightToLeft)(resources.GetObject("txtBox.RightToLeft")));
     this.txtBox.ScrollBars      = ((System.Windows.Forms.ScrollBars)(resources.GetObject("txtBox.ScrollBars")));
     this.txtBox.Size            = ((System.Drawing.Size)(resources.GetObject("txtBox.Size")));
     this.txtBox.TabIndex        = ((int)(resources.GetObject("txtBox.TabIndex")));
     this.txtBox.Text            = resources.GetString("txtBox.Text");
     this.txtBox.TextAlign       = ((System.Windows.Forms.HorizontalAlignment)(resources.GetObject("txtBox.TextAlign")));
     this.txtBox.Visible         = ((bool)(resources.GetObject("txtBox.Visible")));
     this.txtBox.WordWrap        = ((bool)(resources.GetObject("txtBox.WordWrap")));
     //
     // mainMenu1
     //
     this.mainMenu1.MenuItems.AddRange(new System.Windows.Forms.MenuItem[] {
         this.mnuFile,
         this.mnuLanguage
     });
     this.mainMenu1.RightToLeft = ((System.Windows.Forms.RightToLeft)(resources.GetObject("mainMenu1.RightToLeft")));
     //
     // mnuFile
     //
     this.mnuFile.Enabled = ((bool)(resources.GetObject("mnuFile.Enabled")));
     this.mnuFile.Index   = 0;
     this.mnuFile.MenuItems.AddRange(new System.Windows.Forms.MenuItem[] {
         this.mnuOpen,
         this.mnuSave
     });
     this.mnuFile.Shortcut     = ((System.Windows.Forms.Shortcut)(resources.GetObject("mnuFile.Shortcut")));
     this.mnuFile.ShowShortcut = ((bool)(resources.GetObject("mnuFile.ShowShortcut")));
     this.mnuFile.Text         = resources.GetString("mnuFile.Text");
     this.mnuFile.Visible      = ((bool)(resources.GetObject("mnuFile.Visible")));
     //
     // mnuOpen
     //
     this.mnuOpen.Enabled      = ((bool)(resources.GetObject("mnuOpen.Enabled")));
     this.mnuOpen.Index        = 0;
     this.mnuOpen.Shortcut     = ((System.Windows.Forms.Shortcut)(resources.GetObject("mnuOpen.Shortcut")));
     this.mnuOpen.ShowShortcut = ((bool)(resources.GetObject("mnuOpen.ShowShortcut")));
     this.mnuOpen.Text         = resources.GetString("mnuOpen.Text");
     this.mnuOpen.Visible      = ((bool)(resources.GetObject("mnuOpen.Visible")));
     this.mnuOpen.Click       += new System.EventHandler(this.mnuOpen_Click);
     //
     // mnuSave
     //
     this.mnuSave.Enabled      = ((bool)(resources.GetObject("mnuSave.Enabled")));
     this.mnuSave.Index        = 1;
     this.mnuSave.Shortcut     = ((System.Windows.Forms.Shortcut)(resources.GetObject("mnuSave.Shortcut")));
     this.mnuSave.ShowShortcut = ((bool)(resources.GetObject("mnuSave.ShowShortcut")));
     this.mnuSave.Text         = resources.GetString("mnuSave.Text");
     this.mnuSave.Visible      = ((bool)(resources.GetObject("mnuSave.Visible")));
     this.mnuSave.Click       += new System.EventHandler(this.mnuSave_Click);
     //
     // mnuLanguage
     //
     this.mnuLanguage.Enabled = ((bool)(resources.GetObject("mnuLanguage.Enabled")));
     this.mnuLanguage.Index   = 1;
     this.mnuLanguage.MenuItems.AddRange(new System.Windows.Forms.MenuItem[] {
         this.mnuEnglish,
         this.mnuRussian
     });
     this.mnuLanguage.Shortcut     = ((System.Windows.Forms.Shortcut)(resources.GetObject("mnuLanguage.Shortcut")));
     this.mnuLanguage.ShowShortcut = ((bool)(resources.GetObject("mnuLanguage.ShowShortcut")));
     this.mnuLanguage.Text         = resources.GetString("mnuLanguage.Text");
     this.mnuLanguage.Visible      = ((bool)(resources.GetObject("mnuLanguage.Visible")));
     //
     // mnuEnglish
     //
     this.mnuEnglish.Enabled      = ((bool)(resources.GetObject("mnuEnglish.Enabled")));
     this.mnuEnglish.Index        = 0;
     this.mnuEnglish.Shortcut     = ((System.Windows.Forms.Shortcut)(resources.GetObject("mnuEnglish.Shortcut")));
     this.mnuEnglish.ShowShortcut = ((bool)(resources.GetObject("mnuEnglish.ShowShortcut")));
     this.mnuEnglish.Text         = resources.GetString("mnuEnglish.Text");
     this.mnuEnglish.Visible      = ((bool)(resources.GetObject("mnuEnglish.Visible")));
     this.mnuEnglish.Click       += new System.EventHandler(this.mnuEnglish_Click);
     //
     // mnuRussian
     //
     this.mnuRussian.Enabled      = ((bool)(resources.GetObject("mnuRussian.Enabled")));
     this.mnuRussian.Index        = 1;
     this.mnuRussian.Shortcut     = ((System.Windows.Forms.Shortcut)(resources.GetObject("mnuRussian.Shortcut")));
     this.mnuRussian.ShowShortcut = ((bool)(resources.GetObject("mnuRussian.ShowShortcut")));
     this.mnuRussian.Text         = resources.GetString("mnuRussian.Text");
     this.mnuRussian.Visible      = ((bool)(resources.GetObject("mnuRussian.Visible")));
     this.mnuRussian.Click       += new System.EventHandler(this.mnuRussian_Click);
     //
     // openFileDialog1
     //
     this.openFileDialog1.FileName = "Текстовые файлы";
     this.openFileDialog1.Filter   = resources.GetString("openFileDialog1.Filter");
     this.openFileDialog1.Title    = resources.GetString("openFileDialog1.Title");
     //
     // saveFileDialog1
     //
     this.saveFileDialog1.FileName = "Текстовые файлы";
     this.saveFileDialog1.Filter   = resources.GetString("saveFileDialog1.Filter");
     this.saveFileDialog1.Title    = resources.GetString("saveFileDialog1.Title");
     //
     // Form1
     //
     this.AccessibleDescription = resources.GetString("$this.AccessibleDescription");
     this.AccessibleName        = resources.GetString("$this.AccessibleName");
     this.AutoScaleBaseSize     = ((System.Drawing.Size)(resources.GetObject("$this.AutoScaleBaseSize")));
     this.AutoScroll            = ((bool)(resources.GetObject("$this.AutoScroll")));
     this.AutoScrollMargin      = ((System.Drawing.Size)(resources.GetObject("$this.AutoScrollMargin")));
     this.AutoScrollMinSize     = ((System.Drawing.Size)(resources.GetObject("$this.AutoScrollMinSize")));
     this.BackgroundImage       = ((System.Drawing.Image)(resources.GetObject("$this.BackgroundImage")));
     this.ClientSize            = ((System.Drawing.Size)(resources.GetObject("$this.ClientSize")));
     this.Controls.Add(this.txtBox);
     this.Enabled       = ((bool)(resources.GetObject("$this.Enabled")));
     this.Font          = ((System.Drawing.Font)(resources.GetObject("$this.Font")));
     this.Icon          = ((System.Drawing.Icon)(resources.GetObject("$this.Icon")));
     this.ImeMode       = ((System.Windows.Forms.ImeMode)(resources.GetObject("$this.ImeMode")));
     this.Location      = ((System.Drawing.Point)(resources.GetObject("$this.Location")));
     this.MaximumSize   = ((System.Drawing.Size)(resources.GetObject("$this.MaximumSize")));
     this.Menu          = this.mainMenu1;
     this.MinimumSize   = ((System.Drawing.Size)(resources.GetObject("$this.MinimumSize")));
     this.Name          = "Form1";
     this.RightToLeft   = ((System.Windows.Forms.RightToLeft)(resources.GetObject("$this.RightToLeft")));
     this.StartPosition = ((System.Windows.Forms.FormStartPosition)(resources.GetObject("$this.StartPosition")));
     this.Text          = resources.GetString("$this.Text");
     this.Closing      += new System.ComponentModel.CancelEventHandler(this.Form1_Closing);
     this.Closed       += new System.EventHandler(this.Form1_Closed);
     this.ResumeLayout(false);
 }
Пример #43
0
 /// <summary>
 /// Required method for Designer support - do not modify
 /// the contents of this method with the code editor.
 /// </summary>
 private void InitializeComponent()
 {
     this.components = new System.ComponentModel.Container();
     System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(fMain));
     this.cMainStatBar     = new System.Windows.Forms.StatusBar();
     this.label1           = new System.Windows.Forms.Label();
     this.cMainCategory    = new System.Windows.Forms.ComboBox();
     this.mMain            = new System.Windows.Forms.MainMenu(this.components);
     this.menuItem1        = new System.Windows.Forms.MenuItem();
     this.mMainFileOpen    = new System.Windows.Forms.MenuItem();
     this.mMainProfileOpen = new System.Windows.Forms.MenuItem();
     this.menuItem5        = new System.Windows.Forms.MenuItem();
     this.mMenuFileExit    = new System.Windows.Forms.MenuItem();
     this.menuItem2        = new System.Windows.Forms.MenuItem();
     this.mMainHelpAbout   = new System.Windows.Forms.MenuItem();
     this.panel1           = new System.Windows.Forms.Panel();
     this.panel3           = new System.Windows.Forms.Panel();
     this.rbAll            = new System.Windows.Forms.RadioButton();
     this.rbSecrets        = new System.Windows.Forms.RadioButton();
     this.rbTemplates      = new System.Windows.Forms.RadioButton();
     this.panel2           = new System.Windows.Forms.Panel();
     this.panel4           = new System.Windows.Forms.Panel();
     this.cMainListBox     = new System.Windows.Forms.ListBox();
     this.ofdDatabase      = new System.Windows.Forms.OpenFileDialog();
     this.panel1.SuspendLayout();
     this.panel3.SuspendLayout();
     this.panel2.SuspendLayout();
     this.panel4.SuspendLayout();
     this.SuspendLayout();
     //
     // cMainStatBar
     //
     this.cMainStatBar.Location = new System.Drawing.Point(0, 516);
     this.cMainStatBar.Name     = "cMainStatBar";
     this.cMainStatBar.Size     = new System.Drawing.Size(536, 16);
     this.cMainStatBar.TabIndex = 0;
     this.cMainStatBar.Text     = "iSecurViewer-1.5 by Brian Schau (http://www.schau.com/)";
     //
     // label1
     //
     this.label1.Location  = new System.Drawing.Point(8, 6);
     this.label1.Name      = "label1";
     this.label1.Size      = new System.Drawing.Size(56, 14);
     this.label1.TabIndex  = 1;
     this.label1.Text      = "Category:";
     this.label1.TextAlign = System.Drawing.ContentAlignment.MiddleLeft;
     //
     // cMainCategory
     //
     this.cMainCategory.DropDownStyle         = System.Windows.Forms.ComboBoxStyle.DropDownList;
     this.cMainCategory.Location              = new System.Drawing.Point(64, 6);
     this.cMainCategory.Name                  = "cMainCategory";
     this.cMainCategory.Size                  = new System.Drawing.Size(168, 21);
     this.cMainCategory.TabIndex              = 0;
     this.cMainCategory.SelectedIndexChanged += new System.EventHandler(this.cMainCategory_SelectedIndexChanged);
     //
     // mMain
     //
     this.mMain.MenuItems.AddRange(new System.Windows.Forms.MenuItem[] {
         this.menuItem1,
         this.menuItem2
     });
     //
     // menuItem1
     //
     this.menuItem1.Index = 0;
     this.menuItem1.MenuItems.AddRange(new System.Windows.Forms.MenuItem[] {
         this.mMainFileOpen,
         this.mMainProfileOpen,
         this.menuItem5,
         this.mMenuFileExit
     });
     this.menuItem1.Text = "&File";
     //
     // mMainFileOpen
     //
     this.mMainFileOpen.Index  = 0;
     this.mMainFileOpen.Text   = "&Open Database";
     this.mMainFileOpen.Click += new System.EventHandler(this.mMainFileOpen_Click);
     //
     // mMainProfileOpen
     //
     this.mMainProfileOpen.Enabled = false;
     this.mMainProfileOpen.Index   = 1;
     this.mMainProfileOpen.Text    = "Open &Profile";
     this.mMainProfileOpen.Click  += new System.EventHandler(this.mMainProfileOpen_Click);
     //
     // menuItem5
     //
     this.menuItem5.Index = 2;
     this.menuItem5.Text  = "-";
     //
     // mMenuFileExit
     //
     this.mMenuFileExit.Index  = 3;
     this.mMenuFileExit.Text   = "E&xit";
     this.mMenuFileExit.Click += new System.EventHandler(this.mMenuFileExit_Click);
     //
     // menuItem2
     //
     this.menuItem2.Index = 1;
     this.menuItem2.MenuItems.AddRange(new System.Windows.Forms.MenuItem[] {
         this.mMainHelpAbout
     });
     this.menuItem2.Text = "Help";
     //
     // mMainHelpAbout
     //
     this.mMainHelpAbout.Index  = 0;
     this.mMainHelpAbout.Text   = "About";
     this.mMainHelpAbout.Click += new System.EventHandler(this.mMainHelpAbout_Click);
     //
     // panel1
     //
     this.panel1.Controls.Add(this.panel3);
     this.panel1.Controls.Add(this.label1);
     this.panel1.Controls.Add(this.cMainCategory);
     this.panel1.Dock     = System.Windows.Forms.DockStyle.Top;
     this.panel1.Location = new System.Drawing.Point(0, 0);
     this.panel1.Name     = "panel1";
     this.panel1.Size     = new System.Drawing.Size(536, 30);
     this.panel1.TabIndex = 4;
     //
     // panel3
     //
     this.panel3.Controls.Add(this.rbAll);
     this.panel3.Controls.Add(this.rbSecrets);
     this.panel3.Controls.Add(this.rbTemplates);
     this.panel3.Dock     = System.Windows.Forms.DockStyle.Right;
     this.panel3.Location = new System.Drawing.Point(336, 0);
     this.panel3.Name     = "panel3";
     this.panel3.Size     = new System.Drawing.Size(200, 30);
     this.panel3.TabIndex = 5;
     //
     // rbAll
     //
     this.rbAll.Checked         = true;
     this.rbAll.Location        = new System.Drawing.Point(16, 6);
     this.rbAll.Name            = "rbAll";
     this.rbAll.Size            = new System.Drawing.Size(40, 18);
     this.rbAll.TabIndex        = 4;
     this.rbAll.TabStop         = true;
     this.rbAll.Text            = "All";
     this.rbAll.CheckedChanged += new System.EventHandler(this.rbAll_CheckedChanged);
     //
     // rbSecrets
     //
     this.rbSecrets.Location        = new System.Drawing.Point(56, 6);
     this.rbSecrets.Name            = "rbSecrets";
     this.rbSecrets.Size            = new System.Drawing.Size(64, 18);
     this.rbSecrets.TabIndex        = 2;
     this.rbSecrets.Text            = "Secrets";
     this.rbSecrets.CheckedChanged += new System.EventHandler(this.rbSecrets_CheckedChanged);
     //
     // rbTemplates
     //
     this.rbTemplates.Location        = new System.Drawing.Point(120, 6);
     this.rbTemplates.Name            = "rbTemplates";
     this.rbTemplates.Size            = new System.Drawing.Size(80, 18);
     this.rbTemplates.TabIndex        = 3;
     this.rbTemplates.Text            = "Templates";
     this.rbTemplates.CheckedChanged += new System.EventHandler(this.rbTemplates_CheckedChanged);
     //
     // panel2
     //
     this.panel2.Controls.Add(this.panel4);
     this.panel2.Dock     = System.Windows.Forms.DockStyle.Fill;
     this.panel2.Location = new System.Drawing.Point(0, 30);
     this.panel2.Name     = "panel2";
     this.panel2.Size     = new System.Drawing.Size(536, 486);
     this.panel2.TabIndex = 5;
     //
     // panel4
     //
     this.panel4.Controls.Add(this.cMainListBox);
     this.panel4.Dock     = System.Windows.Forms.DockStyle.Fill;
     this.panel4.Location = new System.Drawing.Point(0, 0);
     this.panel4.Name     = "panel4";
     this.panel4.Size     = new System.Drawing.Size(536, 486);
     this.panel4.TabIndex = 2;
     //
     // cMainListBox
     //
     this.cMainListBox.Dock         = System.Windows.Forms.DockStyle.Fill;
     this.cMainListBox.Location     = new System.Drawing.Point(0, 0);
     this.cMainListBox.Name         = "cMainListBox";
     this.cMainListBox.Size         = new System.Drawing.Size(536, 485);
     this.cMainListBox.TabIndex     = 0;
     this.cMainListBox.DoubleClick += new System.EventHandler(this.cMainListBox_DoubleClick);
     //
     // ofdDatabase
     //
     this.ofdDatabase.DefaultExt = "pdb";
     this.ofdDatabase.FileName   = "iSec_iSecur_Data.pdb";
     this.ofdDatabase.Filter     = "Palm Database Files (*.pdb)|*.pdb";
     this.ofdDatabase.Title      = "Open iSecur Secrets Database";
     //
     // fMain
     //
     this.AutoScaleBaseSize = new System.Drawing.Size(5, 13);
     this.AutoScroll        = true;
     this.ClientSize        = new System.Drawing.Size(536, 532);
     this.Controls.Add(this.panel2);
     this.Controls.Add(this.panel1);
     this.Controls.Add(this.cMainStatBar);
     this.Icon        = ((System.Drawing.Icon)(resources.GetObject("$this.Icon")));
     this.Menu        = this.mMain;
     this.MinimumSize = new System.Drawing.Size(440, 149);
     this.Name        = "fMain";
     this.Text        = "iSecurViewer";
     this.Closing    += new System.ComponentModel.CancelEventHandler(this.fMain_Closing);
     this.panel1.ResumeLayout(false);
     this.panel3.ResumeLayout(false);
     this.panel2.ResumeLayout(false);
     this.panel4.ResumeLayout(false);
     this.ResumeLayout(false);
 }
Пример #44
0
		/*** Auto generated form functions  ***/
		private void InitializeComponent()
		{
			this.components = new System.ComponentModel.Container();
			this.mnuMainMenu = new System.Windows.Forms.MainMenu();
			this.mnuFile = new System.Windows.Forms.MenuItem();
			this.mnuPlayFile = new System.Windows.Forms.MenuItem();
			this.mnuStopFile = new System.Windows.Forms.MenuItem();
			this.mnuPauseFile = new System.Windows.Forms.MenuItem();
			this.mnuHyphenFile = new System.Windows.Forms.MenuItem();
			this.mnuExitFile = new System.Windows.Forms.MenuItem();
			this.mnuOptions = new System.Windows.Forms.MenuItem();
			this.mnuOptionsAutoPlay = new System.Windows.Forms.MenuItem();
			this.mnuHelp = new System.Windows.Forms.MenuItem();
			this.mnuAboutHelp = new System.Windows.Forms.MenuItem();
			this.tvwFolders = new System.Windows.Forms.TreeView();
			this.lstFiles = new System.Windows.Forms.ListBox();
			this.btnPlay = new System.Windows.Forms.Button();
			this.btnStop = new System.Windows.Forms.Button();
			this.btnPause = new System.Windows.Forms.Button();
			this.btnExit = new System.Windows.Forms.Button();
			this.lblFile = new System.Windows.Forms.Label();
			this.lblStatus = new System.Windows.Forms.Label();
			this.hsbPlayTime = new System.Windows.Forms.HScrollBar();
			this.lblPlayTime = new System.Windows.Forms.Label();
			this.tmrTimer = new System.Windows.Forms.Timer(this.components);
			this.lblBalance = new System.Windows.Forms.Label();
			this.hsbBalance = new System.Windows.Forms.HScrollBar();
			this.lblVolume = new System.Windows.Forms.Label();
			this.hsbVolume = new System.Windows.Forms.HScrollBar();
			this.SuspendLayout();
			// 
			// mnuMainMenu
			// 
			this.mnuMainMenu.MenuItems.AddRange(new System.Windows.Forms.MenuItem[] {
																						this.mnuFile,
																						this.mnuOptions,
																						this.mnuHelp});
			// 
			// mnuFile
			// 
			this.mnuFile.Index = 0;
			this.mnuFile.MenuItems.AddRange(new System.Windows.Forms.MenuItem[] {
																					this.mnuPlayFile,
																					this.mnuStopFile,
																					this.mnuPauseFile,
																					this.mnuHyphenFile,
																					this.mnuExitFile});
			this.mnuFile.Text = "&File";
			// 
			// mnuPlayFile
			// 
			this.mnuPlayFile.Index = 0;
			this.mnuPlayFile.Shortcut = System.Windows.Forms.Shortcut.CtrlP;
			this.mnuPlayFile.Text = "&Play";
			this.mnuPlayFile.Click += new System.EventHandler(this.mnuPlayFile_Click);
			// 
			// mnuStopFile
			// 
			this.mnuStopFile.Index = 1;
			this.mnuStopFile.Shortcut = System.Windows.Forms.Shortcut.CtrlS;
			this.mnuStopFile.Text = "&Stop";
			this.mnuStopFile.Click += new System.EventHandler(this.mnuStopFile_Click);
			// 
			// mnuPauseFile
			// 
			this.mnuPauseFile.Index = 2;
			this.mnuPauseFile.Shortcut = System.Windows.Forms.Shortcut.CtrlU;
			this.mnuPauseFile.Text = "Pa&use";
			this.mnuPauseFile.Click += new System.EventHandler(this.mnuPauseFile_Click);
			// 
			// mnuHyphenFile
			// 
			this.mnuHyphenFile.Index = 3;
			this.mnuHyphenFile.Text = "-";
			// 
			// mnuExitFile
			// 
			this.mnuExitFile.Index = 4;
			this.mnuExitFile.Shortcut = System.Windows.Forms.Shortcut.CtrlX;
			this.mnuExitFile.Text = "E&xit";
			this.mnuExitFile.Click += new System.EventHandler(this.mnuExitFile_Click);
			// 
			// mnuOptions
			// 
			this.mnuOptions.Index = 1;
			this.mnuOptions.MenuItems.AddRange(new System.Windows.Forms.MenuItem[] {
																					   this.mnuOptionsAutoPlay});
			this.mnuOptions.Text = "&Options";
			// 
			// mnuOptionsAutoPlay
			// 
			this.mnuOptionsAutoPlay.Checked = true;
			this.mnuOptionsAutoPlay.Index = 0;
			this.mnuOptionsAutoPlay.Text = "Auto Play";
			this.mnuOptionsAutoPlay.Click += new System.EventHandler(this.mnuOptionsAutoPlay_Click);
			// 
			// mnuHelp
			// 
			this.mnuHelp.Index = 2;
			this.mnuHelp.MenuItems.AddRange(new System.Windows.Forms.MenuItem[] {
																					this.mnuAboutHelp});
			this.mnuHelp.Text = "&Help";
			// 
			// mnuAboutHelp
			// 
			this.mnuAboutHelp.Index = 0;
			this.mnuAboutHelp.Shortcut = System.Windows.Forms.Shortcut.CtrlA;
			this.mnuAboutHelp.Text = "&About";
			this.mnuAboutHelp.Click += new System.EventHandler(this.mnuAboutHelp_Click);
			// 
			// tvwFolders
			// 
			this.tvwFolders.ImageIndex = -1;
			this.tvwFolders.Location = new System.Drawing.Point(5, 5);
			this.tvwFolders.Name = "tvwFolders";
			this.tvwFolders.SelectedImageIndex = -1;
			this.tvwFolders.Size = new System.Drawing.Size(320, 200);
			this.tvwFolders.TabIndex = 0;
			this.tvwFolders.AfterSelect += new System.Windows.Forms.TreeViewEventHandler(this.tvwFolders_AfterSelect);
			this.tvwFolders.BeforeExpand += new System.Windows.Forms.TreeViewCancelEventHandler(this.tvwFolders_BeforeExpand);
			// 
			// lstFiles
			// 
			this.lstFiles.Location = new System.Drawing.Point(5, 210);
			this.lstFiles.Name = "lstFiles";
			this.lstFiles.Size = new System.Drawing.Size(320, 199);
			this.lstFiles.TabIndex = 1;
			this.lstFiles.SelectedValueChanged += new System.EventHandler(this.lstFiles_SelectedValueChanged);
			// 
			// btnPlay
			// 
			this.btnPlay.Location = new System.Drawing.Point(8, 424);
			this.btnPlay.Name = "btnPlay";
			this.btnPlay.Size = new System.Drawing.Size(96, 40);
			this.btnPlay.TabIndex = 2;
			this.btnPlay.Text = "&Play";
			this.btnPlay.Click += new System.EventHandler(this.btnPlay_Click);
			// 
			// btnStop
			// 
			this.btnStop.Location = new System.Drawing.Point(112, 424);
			this.btnStop.Name = "btnStop";
			this.btnStop.Size = new System.Drawing.Size(96, 40);
			this.btnStop.TabIndex = 3;
			this.btnStop.Text = "&Stop";
			this.btnStop.Click += new System.EventHandler(this.btnStop_Click);
			// 
			// btnPause
			// 
			this.btnPause.Location = new System.Drawing.Point(216, 424);
			this.btnPause.Name = "btnPause";
			this.btnPause.Size = new System.Drawing.Size(96, 40);
			this.btnPause.TabIndex = 4;
			this.btnPause.Text = "Pa&use";
			this.btnPause.Click += new System.EventHandler(this.btnPause_Click);
			// 
			// btnExit
			// 
			this.btnExit.Location = new System.Drawing.Point(592, 424);
			this.btnExit.Name = "btnExit";
			this.btnExit.Size = new System.Drawing.Size(96, 40);
			this.btnExit.TabIndex = 6;
			this.btnExit.Text = "E&xit";
			this.btnExit.Click += new System.EventHandler(this.btnExit_Click);
			// 
			// lblFile
			// 
			this.lblFile.AutoSize = true;
			this.lblFile.Location = new System.Drawing.Point(336, 40);
			this.lblFile.Name = "lblFile";
			this.lblFile.Size = new System.Drawing.Size(0, 13);
			this.lblFile.TabIndex = 7;
			// 
			// lblStatus
			// 
			this.lblStatus.AutoSize = true;
			this.lblStatus.Location = new System.Drawing.Point(336, 8);
			this.lblStatus.Name = "lblStatus";
			this.lblStatus.Size = new System.Drawing.Size(0, 13);
			this.lblStatus.TabIndex = 8;
			// 
			// hsbPlayTime
			// 
			this.hsbPlayTime.Location = new System.Drawing.Point(336, 120);
			this.hsbPlayTime.Name = "hsbPlayTime";
			this.hsbPlayTime.Size = new System.Drawing.Size(344, 16);
			this.hsbPlayTime.TabIndex = 9;
			this.hsbPlayTime.Scroll += new System.Windows.Forms.ScrollEventHandler(this.hsbPlayTime_Scroll);
			// 
			// lblPlayTime
			// 
			this.lblPlayTime.AutoSize = true;
			this.lblPlayTime.Location = new System.Drawing.Point(336, 80);
			this.lblPlayTime.Name = "lblPlayTime";
			this.lblPlayTime.Size = new System.Drawing.Size(127, 13);
			this.lblPlayTime.TabIndex = 10;
			this.lblPlayTime.Text = "Play Time: 00:00 / 00:00";
			// 
			// tmrTimer
			// 
			this.tmrTimer.Enabled = true;
			this.tmrTimer.Tick += new System.EventHandler(this.tmrTimer_Tick);
			// 
			// lblBalance
			// 
			this.lblBalance.AutoSize = true;
			this.lblBalance.Location = new System.Drawing.Point(336, 160);
			this.lblBalance.Name = "lblBalance";
			this.lblBalance.Size = new System.Drawing.Size(85, 13);
			this.lblBalance.TabIndex = 11;
			this.lblBalance.Text = "Balance: Center";
			// 
			// hsbBalance
			// 
			this.hsbBalance.LargeChange = 1;
			this.hsbBalance.Location = new System.Drawing.Point(336, 200);
			this.hsbBalance.Maximum = 5000;
			this.hsbBalance.Minimum = -5000;
			this.hsbBalance.Name = "hsbBalance";
			this.hsbBalance.Size = new System.Drawing.Size(344, 16);
			this.hsbBalance.TabIndex = 12;
			this.hsbBalance.ValueChanged += new System.EventHandler(this.hsbBalance_ValueChanged);
			// 
			// lblVolume
			// 
			this.lblVolume.AutoSize = true;
			this.lblVolume.Location = new System.Drawing.Point(336, 240);
			this.lblVolume.Name = "lblVolume";
			this.lblVolume.Size = new System.Drawing.Size(78, 13);
			this.lblVolume.TabIndex = 13;
			this.lblVolume.Text = "Volume: 100%";
			// 
			// hsbVolume
			// 
			this.hsbVolume.LargeChange = 1;
			this.hsbVolume.Location = new System.Drawing.Point(336, 280);
			this.hsbVolume.Maximum = 0;
			this.hsbVolume.Minimum = -100;
			this.hsbVolume.Name = "hsbVolume";
			this.hsbVolume.Size = new System.Drawing.Size(344, 16);
			this.hsbVolume.TabIndex = 14;
			this.hsbVolume.ValueChanged += new System.EventHandler(this.hsbVolume_ValueChanged);
			// 
			// cfrmMain
			// 
			this.AutoScaleBaseSize = new System.Drawing.Size(5, 13);
			this.ClientSize = new System.Drawing.Size(692, 473);
			this.Controls.AddRange(new System.Windows.Forms.Control[] {
																		  this.hsbVolume,
																		  this.lblVolume,
																		  this.hsbBalance,
																		  this.lblBalance,
																		  this.lblPlayTime,
																		  this.hsbPlayTime,
																		  this.lblStatus,
																		  this.lblFile,
																		  this.btnExit,
																		  this.btnPause,
																		  this.btnStop,
																		  this.btnPlay,
																		  this.lstFiles,
																		  this.tvwFolders});
			this.MaximizeBox = false;
			this.Menu = this.mnuMainMenu;
			this.MinimizeBox = false;
			this.Name = "cfrmMain";
			this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen;
			this.ResumeLayout(false);

		}//InitializeComponent function ends here.