Click here to Skip to main content
Click here to Skip to main content
Articles » Languages » C# » Applications » Downloads
 
Add your own
alternative version

Window Tabifier

, 29 Mar 2008
A simple application for hosting several Windows in one parent window
windowtabifier_demo.zip
WindowTabifier_demo
About.dll
DragAndDropFileComponent.dll
TabStrip.dll
Window Tabifier.exe
windowtabifier_src.zip
Window Tabifier
Window Tabifier
bin
DLL's
About.dll
DragAndDropFileComponent.dll
TabStrip.dll
documents-32x32.png
folder-documents.ico
Properties
Settings.settings
Thumbs.db
Window Tabifier.csproj.user
Window.cd
Windows-Desktop-32x32.png
windowtabifier_srcvs2005.zip
WindowTabifier_srcVS2005
Window Tabifier
bin
DLLs
About.dll
DragAndDropFileComponent.dll
TabStrip.dll
documents-32x32.png
Properties
Settings.settings
Resources
folder-documents.ico
Thumbs.db
Thumbs.db
Window Tabifier.csproj.user
window.cd
Windows-Desktop-32x32.png
windowtabifier_srcvs2008.zip
WindowTabifier_srcVS2008
Window Tabifier
bin
DLLs
About.dll
DragAndDropFileComponent.dll
TabStrip.dll
documents-32x32.png
folder-documents.ico
Properties
Settings.settings
Thumbs.db
Window Tabifier.csproj.user
window.cd
Windows-Desktop-32x32.png
namespace WindowTabifier
{
    partial class Main
    {
        /// <summary>
        /// Required designer variable.
        /// </summary>
        private System.ComponentModel.IContainer components = null;

        /// <summary>
        /// Clean up any resources being used.
        /// </summary>
        /// <param name="disposing">true if managed resources should be disposed; otherwise, false.</param>
        protected override void Dispose(bool disposing)
        {
            if (disposing && (components != null))
            {
                components.Dispose();
            }
            base.Dispose(disposing);
        }

        #region Windows Form Designer generated code

        /// <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.Tray = new System.Windows.Forms.NotifyIcon(this.components);
            this.contextMenuStrip = new System.Windows.Forms.ContextMenuStrip(this.components);
            this.tabAll = new System.Windows.Forms.ToolStripMenuItem();
            this.Tab = new System.Windows.Forms.ToolStripMenuItem();
            this.Exit = new System.Windows.Forms.ToolStripMenuItem();
            this.About = new System.Windows.Forms.ToolStripMenuItem();
            this.startupCheck = new System.Windows.Forms.CheckBox();
            this.ignoreCheck = new System.Windows.Forms.CheckBox();
            this.hoverCheck = new System.Windows.Forms.CheckBox();
            this.trayCheck = new System.Windows.Forms.CheckBox();
            this.label1 = new System.Windows.Forms.Label();
            this.rdbWindowIcon = new System.Windows.Forms.RadioButton();
            this.rdbExeIcon = new System.Windows.Forms.RadioButton();
            this.groupBox1 = new System.Windows.Forms.GroupBox();
            this.groupBox2 = new System.Windows.Forms.GroupBox();
            this.contextMenuStrip.SuspendLayout();
            this.groupBox1.SuspendLayout();
            this.groupBox2.SuspendLayout();
            this.SuspendLayout();
            // 
            // Tray
            // 
            this.Tray.BalloonTipIcon = System.Windows.Forms.ToolTipIcon.Info;
            this.Tray.BalloonTipText = "Window Tabifier\r\nRight click on this icon to host several windows in one window\r\n" +
                "Double click for options";
            this.Tray.BalloonTipTitle = "Window Tabifier";
            this.Tray.ContextMenuStrip = this.contextMenuStrip;
            this.Tray.Icon = global::WindowTabifier.Properties.Resources.ProgramIcon;
            this.Tray.Text = "Window Tabifier";
            this.Tray.Visible = true;
            this.Tray.MouseDoubleClick += new System.Windows.Forms.MouseEventHandler(this.Tray_MouseDoubleClick);
            // 
            // contextMenuStrip
            // 
            this.contextMenuStrip.Items.AddRange(new System.Windows.Forms.ToolStripItem[] {
            this.tabAll,
            this.Tab,
            this.Exit,
            this.About});
            this.contextMenuStrip.Name = "contextMenuStrip";
            this.contextMenuStrip.ShowImageMargin = false;
            this.contextMenuStrip.Size = new System.Drawing.Size(128, 92);
            // 
            // tabAll
            // 
            this.tabAll.Name = "tabAll";
            this.tabAll.Size = new System.Drawing.Size(127, 22);
            this.tabAll.Text = "Tab All Windows";
            this.tabAll.Click += new System.EventHandler(this.tabAll_Click);
            // 
            // Tab
            // 
            this.Tab.Name = "Tab";
            this.Tab.Size = new System.Drawing.Size(127, 22);
            this.Tab.Text = "Tab Windows";
            this.Tab.Click += new System.EventHandler(this.Tab_Click);
            // 
            // Exit
            // 
            this.Exit.Name = "Exit";
            this.Exit.Size = new System.Drawing.Size(127, 22);
            this.Exit.Text = "Exit";
            this.Exit.Click += new System.EventHandler(this.Exit_Click);
            // 
            // About
            // 
            this.About.Name = "About";
            this.About.Size = new System.Drawing.Size(127, 22);
            this.About.Text = "About";
            this.About.Click += new System.EventHandler(this.About_Click);
            // 
            // startupCheck
            // 
            this.startupCheck.AutoSize = true;
            this.startupCheck.Checked = global::WindowTabifier.Properties.Settings.Default.Startup;
            this.startupCheck.DataBindings.Add(new System.Windows.Forms.Binding("Checked", global::WindowTabifier.Properties.Settings.Default, "Startup", true, System.Windows.Forms.DataSourceUpdateMode.OnPropertyChanged));
            this.startupCheck.Location = new System.Drawing.Point(245, 21);
            this.startupCheck.Name = "startupCheck";
            this.startupCheck.Size = new System.Drawing.Size(110, 19);
            this.startupCheck.TabIndex = 2;
            this.startupCheck.Text = "Run on start-up";
            this.startupCheck.UseVisualStyleBackColor = true;
            // 
            // ignoreCheck
            // 
            this.ignoreCheck.AutoSize = true;
            this.ignoreCheck.Checked = global::WindowTabifier.Properties.Settings.Default.Ignore;
            this.ignoreCheck.CheckState = System.Windows.Forms.CheckState.Checked;
            this.ignoreCheck.DataBindings.Add(new System.Windows.Forms.Binding("Checked", global::WindowTabifier.Properties.Settings.Default, "Ignore", true, System.Windows.Forms.DataSourceUpdateMode.OnPropertyChanged));
            this.ignoreCheck.Location = new System.Drawing.Point(28, 21);
            this.ignoreCheck.Name = "ignoreCheck";
            this.ignoreCheck.Size = new System.Drawing.Size(176, 19);
            this.ignoreCheck.TabIndex = 1;
            this.ignoreCheck.Text = "Ignore windows without title";
            this.ignoreCheck.UseVisualStyleBackColor = true;
            // 
            // hoverCheck
            // 
            this.hoverCheck.AutoSize = true;
            this.hoverCheck.Checked = global::WindowTabifier.Properties.Settings.Default.SelectonHover;
            this.hoverCheck.CheckState = System.Windows.Forms.CheckState.Checked;
            this.hoverCheck.DataBindings.Add(new System.Windows.Forms.Binding("Checked", global::WindowTabifier.Properties.Settings.Default, "SelectonHover", true, System.Windows.Forms.DataSourceUpdateMode.OnPropertyChanged));
            this.hoverCheck.Location = new System.Drawing.Point(11, 35);
            this.hoverCheck.Name = "hoverCheck";
            this.hoverCheck.Size = new System.Drawing.Size(184, 34);
            this.hoverCheck.TabIndex = 4;
            this.hoverCheck.Text = "Select tab automatically\r\nwhen mouse is moved over it";
            this.hoverCheck.UseVisualStyleBackColor = true;
            // 
            // trayCheck
            // 
            this.trayCheck.AutoSize = true;
            this.trayCheck.Checked = global::WindowTabifier.Properties.Settings.Default.Tray;
            this.trayCheck.CheckState = System.Windows.Forms.CheckState.Checked;
            this.trayCheck.DataBindings.Add(new System.Windows.Forms.Binding("Checked", global::WindowTabifier.Properties.Settings.Default, "Tray", true, System.Windows.Forms.DataSourceUpdateMode.OnPropertyChanged));
            this.trayCheck.Location = new System.Drawing.Point(235, 35);
            this.trayCheck.Name = "trayCheck";
            this.trayCheck.Size = new System.Drawing.Size(148, 34);
            this.trayCheck.TabIndex = 5;
            this.trayCheck.Text = "Minimize host window\r\nto system tray";
            this.trayCheck.UseVisualStyleBackColor = true;
            // 
            // label1
            // 
            this.label1.AutoSize = true;
            this.label1.Location = new System.Drawing.Point(8, 99);
            this.label1.Name = "label1";
            this.label1.Size = new System.Drawing.Size(230, 30);
            this.label1.TabIndex = 6;
            this.label1.Text = "When active tab changes in host window,\r\nchange the icon of host window with:";
            // 
            // rdbWindowIcon
            // 
            this.rdbWindowIcon.AutoSize = true;
            this.rdbWindowIcon.Checked = global::WindowTabifier.Properties.Settings.Default.WindowIcon;
            this.rdbWindowIcon.DataBindings.Add(new System.Windows.Forms.Binding("Checked", global::WindowTabifier.Properties.Settings.Default, "WindowIcon", true, System.Windows.Forms.DataSourceUpdateMode.OnPropertyChanged));
            this.rdbWindowIcon.Location = new System.Drawing.Point(11, 149);
            this.rdbWindowIcon.Name = "rdbWindowIcon";
            this.rdbWindowIcon.Size = new System.Drawing.Size(95, 19);
            this.rdbWindowIcon.TabIndex = 7;
            this.rdbWindowIcon.Text = "Window icon";
            this.rdbWindowIcon.UseVisualStyleBackColor = true;
            // 
            // rdbExeIcon
            // 
            this.rdbExeIcon.AutoSize = true;
            this.rdbExeIcon.Location = new System.Drawing.Point(118, 149);
            this.rdbExeIcon.Name = "rdbExeIcon";
            this.rdbExeIcon.Size = new System.Drawing.Size(265, 19);
            this.rdbExeIcon.TabIndex = 8;
            this.rdbExeIcon.TabStop = true;
            this.rdbExeIcon.Text = "Executable icon that created current window";
            this.rdbExeIcon.UseVisualStyleBackColor = true;
            // 
            // groupBox1
            // 
            this.groupBox1.Controls.Add(this.rdbWindowIcon);
            this.groupBox1.Controls.Add(this.label1);
            this.groupBox1.Controls.Add(this.rdbExeIcon);
            this.groupBox1.Controls.Add(this.hoverCheck);
            this.groupBox1.Controls.Add(this.trayCheck);
            this.groupBox1.Location = new System.Drawing.Point(9, 97);
            this.groupBox1.Name = "groupBox1";
            this.groupBox1.Size = new System.Drawing.Size(394, 189);
            this.groupBox1.TabIndex = 9;
            this.groupBox1.TabStop = false;
            this.groupBox1.Text = "Host Window Options";
            // 
            // groupBox2
            // 
            this.groupBox2.Controls.Add(this.ignoreCheck);
            this.groupBox2.Controls.Add(this.startupCheck);
            this.groupBox2.Location = new System.Drawing.Point(9, 17);
            this.groupBox2.Name = "groupBox2";
            this.groupBox2.Size = new System.Drawing.Size(394, 54);
            this.groupBox2.TabIndex = 10;
            this.groupBox2.TabStop = false;
            this.groupBox2.Text = "Program Options";
            // 
            // Main
            // 
            this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.None;
            this.ClientSize = new System.Drawing.Size(413, 303);
            this.Controls.Add(this.groupBox2);
            this.Controls.Add(this.groupBox1);
            this.Font = new System.Drawing.Font("Microsoft Sans Serif", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(204)));
            this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedToolWindow;
            this.Name = "Main";
            this.ShowInTaskbar = false;
            this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen;
            this.Text = "Options";
            this.WindowState = System.Windows.Forms.FormWindowState.Minimized;
            this.FormClosing += new System.Windows.Forms.FormClosingEventHandler(this.Main_FormClosing);
            this.Load += new System.EventHandler(this.Form1_Load);
            this.contextMenuStrip.ResumeLayout(false);
            this.groupBox1.ResumeLayout(false);
            this.groupBox1.PerformLayout();
            this.groupBox2.ResumeLayout(false);
            this.groupBox2.PerformLayout();
            this.ResumeLayout(false);

        }

        #endregion

        private System.Windows.Forms.NotifyIcon Tray;
        private System.Windows.Forms.ContextMenuStrip contextMenuStrip;
        private System.Windows.Forms.ToolStripMenuItem About;
        private System.Windows.Forms.ToolStripMenuItem Exit;
        private System.Windows.Forms.ToolStripMenuItem Tab;
        private System.Windows.Forms.CheckBox ignoreCheck;
        private System.Windows.Forms.CheckBox startupCheck;
        private System.Windows.Forms.ToolStripMenuItem tabAll;
        private System.Windows.Forms.CheckBox hoverCheck;
        private System.Windows.Forms.CheckBox trayCheck;
        private System.Windows.Forms.Label label1;
        private System.Windows.Forms.RadioButton rdbWindowIcon;
        private System.Windows.Forms.RadioButton rdbExeIcon;
        private System.Windows.Forms.GroupBox groupBox1;
        private System.Windows.Forms.GroupBox groupBox2;
    }
}

By viewing downloads associated with this article you agree to the Terms of Service and the article's licence.

If a file you wish to view isn't highlighted, and is a text file (not binary), please let us know and we'll add colourisation support for it.

License

This article, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

Share

About the Author

Giorgi Dalakishvili
Software Developer
Georgia Georgia
No Biography provided
Follow on   Google+

| Advertise | Privacy | Mobile
Web02 | 2.8.140827.1 | Last Updated 29 Mar 2008
Article Copyright 2008 by Giorgi Dalakishvili
Everything else Copyright © CodeProject, 1999-2014
Terms of Service
Layout: fixed | fluid