Click here to Skip to main content
15,895,777 members
Articles / Desktop Programming / Win32

Programming for Microsoft Windows Vista and Server 2008 (Windows 7)

Rate me:
Please Sign up or sign in to vote.
4.46/5 (30 votes)
19 Apr 2009CPOL8 min read 63.4K   670   69  
This article exposes the Microsoft Vista and Server 2008 (and Windows 7) exclusive features that can be programmed using .NET languages like C#. It includes UAC, the Vista Bridge control library, and the Windows Search Provider.
namespace VistaSearch
{
    partial class VistaSearch
    {
        /// <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()
        {
            System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(VistaSearch));
            this.tbSearch = new System.Windows.Forms.TextBox();
            this.btnSearch = new System.Windows.Forms.Button();
            this.lvResult = new System.Windows.Forms.ListView();
            this.btnClassicSearch = new System.Windows.Forms.Button();
            this.SuspendLayout();
            // 
            // tbSearch
            // 
            this.tbSearch.Font = new System.Drawing.Font("Times New Roman", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.tbSearch.Location = new System.Drawing.Point(17, 20);
            this.tbSearch.Name = "tbSearch";
            this.tbSearch.Size = new System.Drawing.Size(447, 26);
            this.tbSearch.TabIndex = 0;
            // 
            // btnSearch
            // 
            this.btnSearch.Location = new System.Drawing.Point(470, 19);
            this.btnSearch.Name = "btnSearch";
            this.btnSearch.Size = new System.Drawing.Size(114, 30);
            this.btnSearch.TabIndex = 1;
            this.btnSearch.Text = "SQL Search";
            this.btnSearch.UseVisualStyleBackColor = true;
            this.btnSearch.Click += new System.EventHandler(this.btnSearch_Click);
            // 
            // lvResult
            // 
            this.lvResult.Location = new System.Drawing.Point(17, 61);
            this.lvResult.Name = "lvResult";
            this.lvResult.Size = new System.Drawing.Size(737, 383);
            this.lvResult.TabIndex = 2;
            this.lvResult.UseCompatibleStateImageBehavior = false;
            this.lvResult.View = System.Windows.Forms.View.Details;
            // 
            // btnClassicSearch
            // 
            this.btnClassicSearch.Location = new System.Drawing.Point(593, 21);
            this.btnClassicSearch.Name = "btnClassicSearch";
            this.btnClassicSearch.Size = new System.Drawing.Size(160, 27);
            this.btnClassicSearch.TabIndex = 3;
            this.btnClassicSearch.Text = "Search";
            this.btnClassicSearch.UseVisualStyleBackColor = true;
            this.btnClassicSearch.Click += new System.EventHandler(this.btnClassicSearch_Click);
            // 
            // VistaSearch
            // 
            this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 14F);
            this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
            this.ClientSize = new System.Drawing.Size(767, 456);
            this.Controls.Add(this.btnClassicSearch);
            this.Controls.Add(this.lvResult);
            this.Controls.Add(this.btnSearch);
            this.Controls.Add(this.tbSearch);
            this.Font = new System.Drawing.Font("Times New Roman", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedDialog;
            this.Icon = ((System.Drawing.Icon)(resources.GetObject("$this.Icon")));
            this.MaximizeBox = false;
            this.Name = "VistaSearch";
            this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen;
            this.Text = "Vista Search";
            this.ResumeLayout(false);
            this.PerformLayout();

        }

        #endregion

        private System.Windows.Forms.TextBox tbSearch;
        private System.Windows.Forms.Button btnSearch;
        private System.Windows.Forms.ListView lvResult;
        private System.Windows.Forms.Button btnClassicSearch;
    }
}

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)


Written By
Student Institute of RadioPhysics & Electronics
India India
......

Comments and Discussions