Example #1
0
        private void Form1_Load(object sender, EventArgs e)
        {
            // modify the connection string to make it work for the current user on this machine
            this.invoicesTableAdapter.Connection.ConnectionString = GetConnectionString();

            // auto-generated:
            // This line of code loads data into the 'nWINDDataSet.Invoices' table.
            this.invoicesTableAdapter.Fill(this.nWINDDataSet.Invoices);

            // show default view:
            // this assumes an application setting of type string called "DefaultView"
            var view = Properties.Settings.Default.DefaultView;

            if (!string.IsNullOrEmpty(view))
            {
                c1FlexPivotPage1.ViewDefinition = view;
            }
            else
            {
                // build default view now
                var fp = c1FlexPivotPage1.FlexPivotEngine;
                fp.BeginUpdate();
                fp.RowFields.Add("ProductName");
                fp.ColumnFields.Add("Country");
                fp.ValueFields.Add("ExtendedPrice");
                fp.EndUpdate();
            }

            // build menu with predefined views:
            var doc = new System.Xml.XmlDocument();

            doc.LoadXml(Properties.Resources.FlexPivotViews);
            var menuView = new C1.Win.C1Command.C1CommandMenu();

            menuView.Text  = "&View";
            menuView.Image = Properties.Resources.Views_small;
            foreach (System.Xml.XmlNode nd in doc.SelectNodes("FlexPivotViews/C1FlexPivotPage"))
            {
                var cmd = new C1.Win.C1Command.C1Command();
                cmd.Text     = nd.Attributes["id"].Value;
                cmd.UserData = nd;
                cmd.Click   += menuView_DropDownItemClicked;
                var link = new C1.Win.C1Command.C1CommandLink(cmd);
                menuView.CommandLinks.Add(link);
            }
            c1FlexPivotPage1.Updated += c1FlexPivotPage1_Updated;

            // add new view menu to C1FlexPivotPage toolstrip
            var menuLink = new C1.Win.C1Command.C1CommandLink(menuView);

            c1FlexPivotPage1.ToolBar.CommandLinks.Insert(3, menuLink);

            // add collapse all menu to C1FlexPivotPage toolstrip
            collapseAllView        = new C1.Win.C1Command.C1Command();
            collapseAllView.Text   = "&CollapseAll";
            collapseAllView.Image  = Properties.Resources.CollapseAll;
            collapseAllView.Click += collapseAllView_Click;
            C1.Win.C1Command.C1CommandLink collapseAllViewLink = new C1.Win.C1Command.C1CommandLink(collapseAllView);
            c1FlexPivotPage1.ToolBar.CommandLinks.Add(collapseAllViewLink);
        }
Example #2
0
        public Form1()
        {
            // designer support
            InitializeComponent();

            // connect to sample data
            conn = new SqlConnection(GetConnectionString());
            conn.Open();

            // where DataEngine data is stored
            _c1FlexPivotPage.FlexPivotPanel.Workspace.Init(dataPath);

            // show update log
            _c1FlexPivotPage.FlexPivotEngine.StartUpdating  += FlexPivotEngine_StartUpdating;
            _c1FlexPivotPage.FlexPivotEngine.CancelUpdating += FlexPivotEngine_CancelUpdating;
            _c1FlexPivotPage.Updated += _c1FlexPivotPage_Updated;

            // load predefined FlexPivot views
            var doc = new XmlDocument();

            doc.LoadXml(Properties.Resources.FlexPivotViews);

            // build menu with FlexPivot views
            var menuView = new C1.Win.C1Command.C1CommandMenu();

            menuView.Text  = "&View";
            menuView.Image = Properties.Resources.Views_small;
            foreach (XmlNode nd in doc.SelectNodes("FlexPivotViews/C1FlexPivot"))
            {
                if (initialView == null)
                {
                    initialView = nd.OuterXml;
                }
                var cmd = new C1.Win.C1Command.C1Command();
                cmd.Text     = nd.Attributes["id"].Value;
                cmd.UserData = nd;
                cmd.Click   += MenuView_DropDownItemClicked;
                var link = new C1.Win.C1Command.C1CommandLink(cmd);
                menuView.CommandLinks.Add(link);
            }

            // add the new view menu to the toolstrip
            var menuLink = new C1.Win.C1Command.C1CommandLink(menuView);

            menuLink.ButtonLook = C1.Win.C1Command.ButtonLookFlags.TextAndImage;
            _c1FlexPivotPage.ToolBar.CommandLinks.Insert(3, menuLink);
        }
Example #3
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(frmMain));
     this.panel1 = new System.Windows.Forms.Panel();
     this.groupBox1 = new System.Windows.Forms.GroupBox();
     this.lblAlbum = new System.Windows.Forms.Label();
     this.lblMusicComposer = new System.Windows.Forms.Label();
     this.lblArtist = new System.Windows.Forms.Label();
     this.lblSongTitle = new System.Windows.Forms.Label();
     this.label4 = new System.Windows.Forms.Label();
     this.label3 = new System.Windows.Forms.Label();
     this.label2 = new System.Windows.Forms.Label();
     this.label1 = new System.Windows.Forms.Label();
     this.lblSongs = new System.Windows.Forms.Label();
     this.pictureBox2 = new System.Windows.Forms.PictureBox();
     this.pnlDeepGrey = new System.Windows.Forms.Panel();
     this.pnlWhite = new System.Windows.Forms.Panel();
     this.pnlBlue = new System.Windows.Forms.Panel();
     this.pnlGrey = new System.Windows.Forms.Panel();
     this.pictureBox1 = new System.Windows.Forms.PictureBox();
     this.panel2 = new System.Windows.Forms.Panel();
     this.ctlRaagaBrowser = new AxSHDocVw.AxWebBrowser();
     this.c1OutBar1 = new C1.Win.C1Command.C1OutBar();
     this.c1OutPage1 = new C1.Win.C1Command.C1OutPage();
     this.c1ToolBar1 = new C1.Win.C1Command.C1ToolBar();
     this.lnkRaagaHome = new C1.Win.C1Command.C1CommandLink();
     this.cmdRaagaHome = new C1.Win.C1Command.C1Command();
     this.lnkMyRaagaLogIn = new C1.Win.C1Command.C1CommandLink();
     this.cmdMyRaagaLogin = new C1.Win.C1Command.C1Command();
     this.lnkMusicDirectory = new C1.Win.C1Command.C1CommandLink();
     this.cmdMusicDirectory = new C1.Win.C1Command.C1Command();
     this.c1CommandLink1 = new C1.Win.C1Command.C1CommandLink();
     this.cmdSettings = new C1.Win.C1Command.C1Command();
     this.c1CommandLink3 = new C1.Win.C1Command.C1CommandLink();
     this.cmdAdSignatures = new C1.Win.C1Command.C1Command();
     this.c1CommandLink4 = new C1.Win.C1Command.C1CommandLink();
     this.cmdGuidedTour = new C1.Win.C1Command.C1Command();
     this.c1CommandLink2 = new C1.Win.C1Command.C1CommandLink();
     this.cmdAboutMe = new C1.Win.C1Command.C1Command();
     this.c1CommandHolder1 = new C1.Win.C1Command.C1CommandHolder();
     this.tnVolume = new System.Windows.Forms.TrackBar();
     this.panel1.SuspendLayout();
     this.groupBox1.SuspendLayout();
     this.panel2.SuspendLayout();
     ((System.ComponentModel.ISupportInitialize)(this.ctlRaagaBrowser)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.c1OutBar1)).BeginInit();
     this.c1OutBar1.SuspendLayout();
     this.c1OutPage1.SuspendLayout();
     ((System.ComponentModel.ISupportInitialize)(this.c1CommandHolder1)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.tnVolume)).BeginInit();
     this.SuspendLayout();
     //
     // panel1
     //
     this.panel1.AutoScroll = true;
     this.panel1.Controls.Add(this.tnVolume);
     this.panel1.Controls.Add(this.groupBox1);
     this.panel1.Controls.Add(this.lblSongs);
     this.panel1.Controls.Add(this.pictureBox2);
     this.panel1.Controls.Add(this.pnlDeepGrey);
     this.panel1.Controls.Add(this.pnlWhite);
     this.panel1.Controls.Add(this.pnlBlue);
     this.panel1.Controls.Add(this.pnlGrey);
     this.panel1.Controls.Add(this.pictureBox1);
     this.panel1.Controls.Add(this.panel2);
     this.panel1.Location = new System.Drawing.Point(88, 0);
     this.panel1.Name = "panel1";
     this.panel1.Size = new System.Drawing.Size(536, 536);
     this.panel1.TabIndex = 1;
     this.panel1.Paint += new System.Windows.Forms.PaintEventHandler(this.panel1_Paint);
     //
     // groupBox1
     //
     this.groupBox1.Controls.Add(this.lblAlbum);
     this.groupBox1.Controls.Add(this.lblMusicComposer);
     this.groupBox1.Controls.Add(this.lblArtist);
     this.groupBox1.Controls.Add(this.lblSongTitle);
     this.groupBox1.Controls.Add(this.label4);
     this.groupBox1.Controls.Add(this.label3);
     this.groupBox1.Controls.Add(this.label2);
     this.groupBox1.Controls.Add(this.label1);
     this.groupBox1.FlatStyle = System.Windows.Forms.FlatStyle.System;
     this.groupBox1.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((System.Byte)(0)));
     this.groupBox1.Location = new System.Drawing.Point(96, 360);
     this.groupBox1.Name = "groupBox1";
     this.groupBox1.Size = new System.Drawing.Size(344, 96);
     this.groupBox1.TabIndex = 18;
     this.groupBox1.TabStop = false;
     this.groupBox1.Text = "Current Song Details ";
     //
     // lblAlbum
     //
     this.lblAlbum.Location = new System.Drawing.Point(120, 64);
     this.lblAlbum.Name = "lblAlbum";
     this.lblAlbum.Size = new System.Drawing.Size(184, 16);
     this.lblAlbum.TabIndex = 23;
     this.lblAlbum.TextAlign = System.Drawing.ContentAlignment.MiddleLeft;
     //
     // lblMusicComposer
     //
     this.lblMusicComposer.Location = new System.Drawing.Point(120, 48);
     this.lblMusicComposer.Name = "lblMusicComposer";
     this.lblMusicComposer.Size = new System.Drawing.Size(184, 16);
     this.lblMusicComposer.TabIndex = 22;
     this.lblMusicComposer.TextAlign = System.Drawing.ContentAlignment.MiddleLeft;
     //
     // lblArtist
     //
     this.lblArtist.Location = new System.Drawing.Point(120, 32);
     this.lblArtist.Name = "lblArtist";
     this.lblArtist.Size = new System.Drawing.Size(184, 16);
     this.lblArtist.TabIndex = 21;
     this.lblArtist.TextAlign = System.Drawing.ContentAlignment.MiddleLeft;
     //
     // lblSongTitle
     //
     this.lblSongTitle.Location = new System.Drawing.Point(120, 16);
     this.lblSongTitle.Name = "lblSongTitle";
     this.lblSongTitle.Size = new System.Drawing.Size(184, 16);
     this.lblSongTitle.TabIndex = 20;
     this.lblSongTitle.TextAlign = System.Drawing.ContentAlignment.MiddleLeft;
     //
     // label4
     //
     this.label4.Font = new System.Drawing.Font("Microsoft Sans Serif", 9F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((System.Byte)(0)));
     this.label4.ForeColor = System.Drawing.SystemColors.ControlText;
     this.label4.Location = new System.Drawing.Point(8, 64);
     this.label4.Name = "label4";
     this.label4.Size = new System.Drawing.Size(104, 16);
     this.label4.TabIndex = 19;
     this.label4.Text = "Album :";
     //
     // label3
     //
     this.label3.Font = new System.Drawing.Font("Microsoft Sans Serif", 9F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((System.Byte)(0)));
     this.label3.ForeColor = System.Drawing.SystemColors.ControlText;
     this.label3.Location = new System.Drawing.Point(8, 48);
     this.label3.Name = "label3";
     this.label3.Size = new System.Drawing.Size(112, 16);
     this.label3.TabIndex = 18;
     this.label3.Text = "Music Composer :";
     //
     // label2
     //
     this.label2.Font = new System.Drawing.Font("Microsoft Sans Serif", 9F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((System.Byte)(0)));
     this.label2.ForeColor = System.Drawing.SystemColors.ControlText;
     this.label2.Location = new System.Drawing.Point(8, 32);
     this.label2.Name = "label2";
     this.label2.Size = new System.Drawing.Size(48, 16);
     this.label2.TabIndex = 17;
     this.label2.Text = "Artist :";
     //
     // label1
     //
     this.label1.Font = new System.Drawing.Font("Microsoft Sans Serif", 9F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((System.Byte)(0)));
     this.label1.ForeColor = System.Drawing.SystemColors.ControlText;
     this.label1.Location = new System.Drawing.Point(8, 16);
     this.label1.Name = "label1";
     this.label1.Size = new System.Drawing.Size(104, 16);
     this.label1.TabIndex = 16;
     this.label1.Text = "Song Title : ";
     //
     // lblSongs
     //
     this.lblSongs.Font = new System.Drawing.Font("Microsoft Sans Serif", 9F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((System.Byte)(0)));
     this.lblSongs.ForeColor = System.Drawing.SystemColors.ControlText;
     this.lblSongs.Location = new System.Drawing.Point(488, 360);
     this.lblSongs.Name = "lblSongs";
     this.lblSongs.Size = new System.Drawing.Size(32, 16);
     this.lblSongs.TabIndex = 17;
     this.lblSongs.Text = "pp";
     this.lblSongs.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
     //
     // pictureBox2
     //
     this.pictureBox2.Image = ((System.Drawing.Image)(resources.GetObject("pictureBox2.Image")));
     this.pictureBox2.Location = new System.Drawing.Point(8, 352);
     this.pictureBox2.Name = "pictureBox2";
     this.pictureBox2.Size = new System.Drawing.Size(88, 104);
     this.pictureBox2.TabIndex = 8;
     this.pictureBox2.TabStop = false;
     //
     // pnlDeepGrey
     //
     this.pnlDeepGrey.BackColor = System.Drawing.Color.FromArgb(((System.Byte)(102)), ((System.Byte)(102)), ((System.Byte)(102)));
     this.pnlDeepGrey.Location = new System.Drawing.Point(232, 54);
     this.pnlDeepGrey.Name = "pnlDeepGrey";
     this.pnlDeepGrey.Size = new System.Drawing.Size(304, 27);
     this.pnlDeepGrey.TabIndex = 7;
     //
     // pnlWhite
     //
     this.pnlWhite.BackColor = System.Drawing.Color.White;
     this.pnlWhite.Location = new System.Drawing.Point(232, 36);
     this.pnlWhite.Name = "pnlWhite";
     this.pnlWhite.Size = new System.Drawing.Size(304, 18);
     this.pnlWhite.TabIndex = 6;
     //
     // pnlBlue
     //
     this.pnlBlue.BackColor = System.Drawing.Color.FromArgb(((System.Byte)(51)), ((System.Byte)(102)), ((System.Byte)(153)));
     this.pnlBlue.Location = new System.Drawing.Point(232, 14);
     this.pnlBlue.Name = "pnlBlue";
     this.pnlBlue.Size = new System.Drawing.Size(304, 22);
     this.pnlBlue.TabIndex = 5;
     //
     // pnlGrey
     //
     this.pnlGrey.BackColor = System.Drawing.Color.FromArgb(((System.Byte)(230)), ((System.Byte)(230)), ((System.Byte)(230)));
     this.pnlGrey.Location = new System.Drawing.Point(232, 0);
     this.pnlGrey.Name = "pnlGrey";
     this.pnlGrey.Size = new System.Drawing.Size(304, 14);
     this.pnlGrey.TabIndex = 4;
     //
     // pictureBox1
     //
     this.pictureBox1.BackColor = System.Drawing.Color.FromArgb(((System.Byte)(102)), ((System.Byte)(102)), ((System.Byte)(102)));
     this.pictureBox1.Image = ((System.Drawing.Image)(resources.GetObject("pictureBox1.Image")));
     this.pictureBox1.Location = new System.Drawing.Point(0, 0);
     this.pictureBox1.Name = "pictureBox1";
     this.pictureBox1.Size = new System.Drawing.Size(232, 81);
     this.pictureBox1.TabIndex = 3;
     this.pictureBox1.TabStop = false;
     //
     // panel2
     //
     this.panel2.BorderStyle = System.Windows.Forms.BorderStyle.Fixed3D;
     this.panel2.Controls.Add(this.ctlRaagaBrowser);
     this.panel2.Location = new System.Drawing.Point(0, 81);
     this.panel2.Name = "panel2";
     this.panel2.Size = new System.Drawing.Size(536, 264);
     this.panel2.TabIndex = 2;
     //
     // ctlRaagaBrowser
     //
     this.ctlRaagaBrowser.ContainingControl = this;
     this.ctlRaagaBrowser.Dock = System.Windows.Forms.DockStyle.Fill;
     this.ctlRaagaBrowser.Enabled = true;
     this.ctlRaagaBrowser.Location = new System.Drawing.Point(0, 0);
     this.ctlRaagaBrowser.OcxState = ((System.Windows.Forms.AxHost.State)(resources.GetObject("ctlRaagaBrowser.OcxState")));
     this.ctlRaagaBrowser.Size = new System.Drawing.Size(532, 260);
     this.ctlRaagaBrowser.TabIndex = 0;
     this.ctlRaagaBrowser.DocumentComplete += new AxSHDocVw.DWebBrowserEvents2_DocumentCompleteEventHandler(this.ctlRaagaBrowser_DocumentComplete);
     this.ctlRaagaBrowser.NewWindow2 += new AxSHDocVw.DWebBrowserEvents2_NewWindow2EventHandler(this.ctlRaagaBrowser_NewWindow2);
     this.ctlRaagaBrowser.BeforeNavigate2 += new AxSHDocVw.DWebBrowserEvents2_BeforeNavigate2EventHandler(this.ctlRaagaBrowser_BeforeNavigate2);
     //
     // c1OutBar1
     //
     this.c1OutBar1.Controls.Add(this.c1OutPage1);
     this.c1OutBar1.Dock = System.Windows.Forms.DockStyle.Left;
     this.c1OutBar1.Location = new System.Drawing.Point(0, 0);
     this.c1OutBar1.Name = "c1OutBar1";
     this.c1OutBar1.Pages.Add(this.c1OutPage1);
     this.c1OutBar1.SelectedIndex = 0;
     this.c1OutBar1.SelectedPage = this.c1OutPage1;
     this.c1OutBar1.Size = new System.Drawing.Size(88, 472);
     this.c1OutBar1.Text = "c1OutBar1";
     //
     // c1OutPage1
     //
     this.c1OutPage1.BorderStyle = System.Windows.Forms.BorderStyle.Fixed3D;
     this.c1OutPage1.Controls.Add(this.c1ToolBar1);
     this.c1OutPage1.Location = new System.Drawing.Point(0, 18);
     this.c1OutPage1.Name = "c1OutPage1";
     this.c1OutPage1.Size = new System.Drawing.Size(88, 436);
     this.c1OutPage1.TabIndex = 0;
     this.c1OutPage1.Text = "Action";
     //
     // c1ToolBar1
     //
     this.c1ToolBar1.AutoSize = false;
     this.c1ToolBar1.ButtonLookVert = C1.Win.C1Command.ButtonLookFlags.TextAndImage;
     this.c1ToolBar1.CommandHolder = null;
     this.c1ToolBar1.CommandLinks.Add(this.lnkRaagaHome);
     this.c1ToolBar1.CommandLinks.Add(this.lnkMyRaagaLogIn);
     this.c1ToolBar1.CommandLinks.Add(this.lnkMusicDirectory);
     this.c1ToolBar1.CommandLinks.Add(this.c1CommandLink1);
     this.c1ToolBar1.CommandLinks.Add(this.c1CommandLink3);
     this.c1ToolBar1.CommandLinks.Add(this.c1CommandLink4);
     this.c1ToolBar1.CommandLinks.Add(this.c1CommandLink2);
     this.c1ToolBar1.Dock = System.Windows.Forms.DockStyle.Fill;
     this.c1ToolBar1.Horizontal = false;
     this.c1ToolBar1.Location = new System.Drawing.Point(0, 0);
     this.c1ToolBar1.Name = "c1ToolBar1";
     this.c1ToolBar1.Size = new System.Drawing.Size(84, 432);
     this.c1ToolBar1.Text = "Page1";
     //
     // lnkRaagaHome
     //
     this.lnkRaagaHome.ButtonLook = C1.Win.C1Command.ButtonLookFlags.TextAndImage;
     this.lnkRaagaHome.Command = this.cmdRaagaHome;
     //
     // cmdRaagaHome
     //
     this.cmdRaagaHome.Image = ((System.Drawing.Image)(resources.GetObject("cmdRaagaHome.Image")));
     this.cmdRaagaHome.Name = "cmdRaagaHome";
     this.cmdRaagaHome.Text = "Raaga (Hindi)";
     this.cmdRaagaHome.Click += new C1.Win.C1Command.ClickEventHandler(this.cmdRaagaHome_Click);
     //
     // lnkMyRaagaLogIn
     //
     this.lnkMyRaagaLogIn.Command = this.cmdMyRaagaLogin;
     //
     // cmdMyRaagaLogin
     //
     this.cmdMyRaagaLogin.Image = ((System.Drawing.Image)(resources.GetObject("cmdMyRaagaLogin.Image")));
     this.cmdMyRaagaLogin.Name = "cmdMyRaagaLogin";
     this.cmdMyRaagaLogin.Text = "My Raaga LogIn";
     this.cmdMyRaagaLogin.ToolTipText = "LogIn to MyRaaga";
     this.cmdMyRaagaLogin.Click += new C1.Win.C1Command.ClickEventHandler(this.cmdMyRaagaLogin_Click);
     //
     // lnkMusicDirectory
     //
     this.lnkMusicDirectory.Command = this.cmdMusicDirectory;
     //
     // cmdMusicDirectory
     //
     this.cmdMusicDirectory.Image = ((System.Drawing.Image)(resources.GetObject("cmdMusicDirectory.Image")));
     this.cmdMusicDirectory.Name = "cmdMusicDirectory";
     this.cmdMusicDirectory.Text = "Music Directory";
     this.cmdMusicDirectory.ToolTipText = "Raaga Music Archive";
     this.cmdMusicDirectory.Click += new C1.Win.C1Command.ClickEventHandler(this.cmdMusicDirectory_Click);
     //
     // c1CommandLink1
     //
     this.c1CommandLink1.Command = this.cmdSettings;
     //
     // cmdSettings
     //
     this.cmdSettings.Image = ((System.Drawing.Image)(resources.GetObject("cmdSettings.Image")));
     this.cmdSettings.Name = "cmdSettings";
     this.cmdSettings.Text = "Settings";
     this.cmdSettings.ToolTipText = "RaagaHacker Settings";
     this.cmdSettings.Click += new C1.Win.C1Command.ClickEventHandler(this.cmdSettings_Click);
     //
     // c1CommandLink3
     //
     this.c1CommandLink3.Command = this.cmdAdSignatures;
     //
     // cmdAdSignatures
     //
     this.cmdAdSignatures.Image = ((System.Drawing.Image)(resources.GetObject("cmdAdSignatures.Image")));
     this.cmdAdSignatures.Name = "cmdAdSignatures";
     this.cmdAdSignatures.Text = "Ad Signatures";
     this.cmdAdSignatures.Click += new C1.Win.C1Command.ClickEventHandler(this.cmdAdSignatures_Click);
     //
     // c1CommandLink4
     //
     this.c1CommandLink4.Command = this.cmdGuidedTour;
     //
     // cmdGuidedTour
     //
     this.cmdGuidedTour.Image = ((System.Drawing.Image)(resources.GetObject("cmdGuidedTour.Image")));
     this.cmdGuidedTour.Name = "cmdGuidedTour";
     this.cmdGuidedTour.Text = "Guided Tour";
     this.cmdGuidedTour.Click += new C1.Win.C1Command.ClickEventHandler(this.cmdGuidedTour_Click);
     //
     // c1CommandLink2
     //
     this.c1CommandLink2.Command = this.cmdAboutMe;
     //
     // cmdAboutMe
     //
     this.cmdAboutMe.Image = ((System.Drawing.Image)(resources.GetObject("cmdAboutMe.Image")));
     this.cmdAboutMe.Name = "cmdAboutMe";
     this.cmdAboutMe.Text = "About Me";
     this.cmdAboutMe.Click += new C1.Win.C1Command.ClickEventHandler(this.cmdAboutMe_Click);
     //
     // c1CommandHolder1
     //
     this.c1CommandHolder1.Commands.Add(this.cmdRaagaHome);
     this.c1CommandHolder1.Commands.Add(this.cmdMusicDirectory);
     this.c1CommandHolder1.Commands.Add(this.cmdMyRaagaLogin);
     this.c1CommandHolder1.Commands.Add(this.cmdSettings);
     this.c1CommandHolder1.Commands.Add(this.cmdAboutMe);
     this.c1CommandHolder1.Commands.Add(this.cmdAdSignatures);
     this.c1CommandHolder1.Commands.Add(this.cmdGuidedTour);
     this.c1CommandHolder1.LookAndFeel = C1.Win.C1Command.LookAndFeelEnum.WindowsXP;
     this.c1CommandHolder1.Owner = this;
     //
     // tnVolume
     //
     this.tnVolume.BackColor = System.Drawing.SystemColors.Control;
     this.tnVolume.Enabled = false;
     this.tnVolume.Location = new System.Drawing.Point(448, 360);
     this.tnVolume.Maximum = 100;
     this.tnVolume.Name = "tnVolume";
     this.tnVolume.Orientation = System.Windows.Forms.Orientation.Vertical;
     this.tnVolume.Size = new System.Drawing.Size(45, 104);
     this.tnVolume.TabIndex = 20;
     this.tnVolume.TickStyle = System.Windows.Forms.TickStyle.None;
     this.tnVolume.Scroll += new System.EventHandler(this.tnVolume_Scroll);
     //
     // frmMain
     //
     this.AutoScaleBaseSize = new System.Drawing.Size(5, 13);
     this.ClientSize = new System.Drawing.Size(618, 472);
     this.Controls.Add(this.c1OutBar1);
     this.Controls.Add(this.panel1);
     this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedSingle;
     this.Icon = ((System.Drawing.Icon)(resources.GetObject("$this.Icon")));
     this.MaximizeBox = false;
     this.Name = "frmMain";
     this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen;
     this.Text = "Untitled - Raaga Hacker v1.0.1";
     this.Closing += new System.ComponentModel.CancelEventHandler(this.frmMain_Closing);
     this.Load += new System.EventHandler(this.Form1_Load);
     this.Closed += new System.EventHandler(this.frmMain_Closed);
     this.panel1.ResumeLayout(false);
     this.groupBox1.ResumeLayout(false);
     this.panel2.ResumeLayout(false);
     ((System.ComponentModel.ISupportInitialize)(this.ctlRaagaBrowser)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.c1OutBar1)).EndInit();
     this.c1OutBar1.ResumeLayout(false);
     this.c1OutPage1.ResumeLayout(false);
     ((System.ComponentModel.ISupportInitialize)(this.c1CommandHolder1)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.tnVolume)).EndInit();
     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.c1ContextMenu1 = new C1.Win.C1Command.C1ContextMenu();
     this.c1CommandLink1 = new C1.Win.C1Command.C1CommandLink();
     this.cmdInsertCurrent = new C1.Win.C1Command.C1Command();
     this.c1CommandLink2 = new C1.Win.C1Command.C1CommandLink();
     this.cmdInsertNew = new C1.Win.C1Command.C1Command();
     this.c1CommandLink3 = new C1.Win.C1Command.C1CommandLink();
     this.cmdSetCurrentExpression = new C1.Win.C1Command.C1Command();
     this.c1CommandLink4 = new C1.Win.C1Command.C1CommandLink();
     this.cmdSetCurrentInput = new C1.Win.C1Command.C1Command();
     this.mnuInsertCurrentDocument = new System.Windows.Forms.MenuItem();
     this.mnuSetCurrentRegex = new System.Windows.Forms.MenuItem();
     this.mnuSetCurrentInput = new System.Windows.Forms.MenuItem();
     this.txtSearch = new System.Windows.Forms.TextBox();
     this.mnuINsertNewDocument = new System.Windows.Forms.MenuItem();
     this.pnlpanel1 = new System.Windows.Forms.Panel();
     this.grd = new C1.Win.C1FlexGrid.C1FlexGrid();
     this.SnippetContextMenu = new System.Windows.Forms.ContextMenu();
     this.menuItem1 = new System.Windows.Forms.MenuItem();
     this.splitter1 = new System.Windows.Forms.Splitter();
     this.txtInfo = new System.Windows.Forms.TextBox();
     this.llblinkLabel1 = new System.Windows.Forms.LinkLabel();
     this.cmdSearch = new System.Windows.Forms.Button();
     this.lbllabel1 = new System.Windows.Forms.Label();
     this.txtStatus = new System.Windows.Forms.TextBox();
     this.lnkConnectOptions = new System.Windows.Forms.LinkLabel();
     this.c1CommandHolder1 = new C1.Win.C1Command.C1CommandHolder();
     this.pnlpanel1.SuspendLayout();
     ((System.ComponentModel.ISupportInitialize)(this.grd)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.c1CommandHolder1)).BeginInit();
     this.SuspendLayout();
     //
     // c1ContextMenu1
     //
     this.c1ContextMenu1.CommandLinks.Add(this.c1CommandLink1);
     this.c1ContextMenu1.CommandLinks.Add(this.c1CommandLink2);
     this.c1ContextMenu1.CommandLinks.Add(this.c1CommandLink3);
     this.c1ContextMenu1.CommandLinks.Add(this.c1CommandLink4);
     this.c1ContextMenu1.Name = "c1ContextMenu1";
     this.c1ContextMenu1.Width = 100;
     this.c1ContextMenu1.Click += new C1.Win.C1Command.ClickEventHandler(this.c1ContextMenu1_Click);
     //
     // c1CommandLink1
     //
     this.c1CommandLink1.Command = this.cmdInsertCurrent;
     this.c1CommandLink1.Text = "Insert into &Current window";
     //
     // cmdInsertCurrent
     //
     this.cmdInsertCurrent.Name = "cmdInsertCurrent";
     this.cmdInsertCurrent.Text = "Insert into current window";
     //
     // c1CommandLink2
     //
     this.c1CommandLink2.Command = this.cmdInsertNew;
     //
     // cmdInsertNew
     //
     this.cmdInsertNew.Name = "cmdInsertNew";
     this.cmdInsertNew.Text = "Insert into &New window";
     //
     // c1CommandLink3
     //
     this.c1CommandLink3.Command = this.cmdSetCurrentExpression;
     //
     // cmdSetCurrentExpression
     //
     this.cmdSetCurrentExpression.Name = "cmdSetCurrentExpression";
     this.cmdSetCurrentExpression.Text = "Set as current &Expression";
     //
     // c1CommandLink4
     //
     this.c1CommandLink4.Command = this.cmdSetCurrentInput;
     //
     // cmdSetCurrentInput
     //
     this.cmdSetCurrentInput.Name = "cmdSetCurrentInput";
     this.cmdSetCurrentInput.Text = "Set as current &Input";
     //
     // mnuInsertCurrentDocument
     //
     this.mnuInsertCurrentDocument.DefaultItem = true;
     this.mnuInsertCurrentDocument.Index = 0;
     this.mnuInsertCurrentDocument.Text = "Set Regex and input in &Current document";
     this.mnuInsertCurrentDocument.Click += new System.EventHandler(this.mnuInsertCurrentDocument_Click);
     //
     // mnuSetCurrentRegex
     //
     this.mnuSetCurrentRegex.Index = 1;
     this.mnuSetCurrentRegex.Text = "Set &Regex in current";
     this.mnuSetCurrentRegex.Click += new System.EventHandler(this.mnuSetCurrentRegex_Click);
     //
     // mnuSetCurrentInput
     //
     this.mnuSetCurrentInput.Index = 2;
     this.mnuSetCurrentInput.Text = "Set &Input in current";
     this.mnuSetCurrentInput.Click += new System.EventHandler(this.mnuSetCurrentInput_Click);
     //
     // txtSearch
     //
     this.txtSearch.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left)
         | System.Windows.Forms.AnchorStyles.Right)));
     this.txtSearch.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
     this.txtSearch.Location = new System.Drawing.Point(8, 24);
     this.txtSearch.Name = "txtSearch";
     this.txtSearch.Size = new System.Drawing.Size(272, 20);
     this.txtSearch.TabIndex = 0;
     this.txtSearch.Text = "search";
     this.txtSearch.KeyDown += new System.Windows.Forms.KeyEventHandler(this.txtSearch_KeyDown);
     this.txtSearch.KeyPress += new System.Windows.Forms.KeyPressEventHandler(this.txtSearch_KeyPress);
     this.txtSearch.TextChanged += new System.EventHandler(this.txtSearch_TextChanged);
     //
     // mnuINsertNewDocument
     //
     this.mnuINsertNewDocument.Index = 4;
     this.mnuINsertNewDocument.Text = "Import into &New document";
     this.mnuINsertNewDocument.Click += new System.EventHandler(this.mnuINsertNewDocument_Click);
     //
     // pnlpanel1
     //
     this.pnlpanel1.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.pnlpanel1.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
     this.pnlpanel1.Controls.Add(this.grd);
     this.pnlpanel1.Controls.Add(this.splitter1);
     this.pnlpanel1.Controls.Add(this.txtInfo);
     this.pnlpanel1.Location = new System.Drawing.Point(8, 80);
     this.pnlpanel1.Name = "pnlpanel1";
     this.pnlpanel1.Size = new System.Drawing.Size(272, 328);
     this.pnlpanel1.TabIndex = 16;
     //
     // grd
     //
     this.grd.AllowEditing = false;
     this.grd.AllowResizing = C1.Win.C1FlexGrid.AllowResizingEnum.BothUniform;
     this.grd.AutoResize = false;
     this.grd.AutoSearch = C1.Win.C1FlexGrid.AutoSearchEnum.FromTop;
     this.grd.BackColor = System.Drawing.SystemColors.Window;
     this.grd.BorderStyle = C1.Win.C1FlexGrid.Util.BaseControls.BorderStyleEnum.None;
     this.grd.ColumnInfo = @"3,0,0,0,0,85,Columns:0{Width:95;Name:""Description"";Caption:""Description"";DataType:System.String;TextAlign:LeftCenter;}	1{Name:""matches"";Caption:""Example"";DataType:System.String;TextAlign:LeftCenter;}	2{Name:""regular_expression"";Caption:""Expression"";DataType:System.String;TextAlign:LeftCenter;}	";
     this.grd.ContextMenu = this.SnippetContextMenu;
     this.grd.Dock = System.Windows.Forms.DockStyle.Fill;
     this.grd.ExtendLastCol = true;
     this.grd.Location = new System.Drawing.Point(0, 0);
     this.grd.Name = "grd";
     this.grd.Rows.Count = 5;
     this.grd.ScrollTips = true;
     this.grd.SelectionMode = C1.Win.C1FlexGrid.SelectionModeEnum.Row;
     this.grd.Size = new System.Drawing.Size(270, 267);
     this.grd.Styles = new C1.Win.C1FlexGrid.CellStyleCollection(@"Fixed{BackColor:Control;ForeColor:ControlText;Border:Flat,1,ControlDark,Both;}	Highlight{BackColor:Highlight;ForeColor:HighlightText;}	Search{BackColor:Highlight;ForeColor:HighlightText;}	Frozen{BackColor:Beige;}	EmptyArea{BackColor:AppWorkspace;Border:Flat,1,ControlDarkDark,Both;}	GrandTotal{BackColor:Black;ForeColor:White;}	Subtotal0{BackColor:ControlDarkDark;ForeColor:White;}	Subtotal1{BackColor:ControlDarkDark;ForeColor:White;}	Subtotal2{BackColor:ControlDarkDark;ForeColor:White;}	Subtotal3{BackColor:ControlDarkDark;ForeColor:White;}	Subtotal4{BackColor:ControlDarkDark;ForeColor:White;}	Subtotal5{BackColor:ControlDarkDark;ForeColor:White;}	");
     this.grd.TabIndex = 0;
     this.grd.DoubleClick += new System.EventHandler(this.grd_DoubleClick);
     this.grd.AfterSelChange += new C1.Win.C1FlexGrid.RangeEventHandler(this.grd_AfterSelChange);
     //
     // SnippetContextMenu
     //
     this.SnippetContextMenu.MenuItems.AddRange(new System.Windows.Forms.MenuItem[] {
                                                                                        this.mnuInsertCurrentDocument,
                                                                                        this.mnuSetCurrentRegex,
                                                                                        this.mnuSetCurrentInput,
                                                                                        this.menuItem1,
                                                                                        this.mnuINsertNewDocument});
     //
     // menuItem1
     //
     this.menuItem1.Index = 3;
     this.menuItem1.Text = "-";
     //
     // splitter1
     //
     this.splitter1.Dock = System.Windows.Forms.DockStyle.Bottom;
     this.splitter1.Location = new System.Drawing.Point(0, 267);
     this.splitter1.Name = "splitter1";
     this.splitter1.Size = new System.Drawing.Size(270, 3);
     this.splitter1.TabIndex = 1;
     this.splitter1.TabStop = false;
     //
     // txtInfo
     //
     this.txtInfo.BackColor = System.Drawing.SystemColors.Info;
     this.txtInfo.BorderStyle = System.Windows.Forms.BorderStyle.None;
     this.txtInfo.Dock = System.Windows.Forms.DockStyle.Bottom;
     this.txtInfo.Location = new System.Drawing.Point(0, 270);
     this.txtInfo.Multiline = true;
     this.txtInfo.Name = "txtInfo";
     this.txtInfo.ReadOnly = true;
     this.txtInfo.ScrollBars = System.Windows.Forms.ScrollBars.Vertical;
     this.txtInfo.Size = new System.Drawing.Size(270, 56);
     this.txtInfo.TabIndex = 0;
     this.txtInfo.Text = "information";
     //
     // llblinkLabel1
     //
     this.llblinkLabel1.LinkBehavior = System.Windows.Forms.LinkBehavior.HoverUnderline;
     this.llblinkLabel1.Location = new System.Drawing.Point(48, 8);
     this.llblinkLabel1.Name = "llblinkLabel1";
     this.llblinkLabel1.Size = new System.Drawing.Size(80, 16);
     this.llblinkLabel1.TabIndex = 3;
     this.llblinkLabel1.TabStop = true;
     this.llblinkLabel1.Text = "RegexLib.com";
     this.llblinkLabel1.LinkClicked += new System.Windows.Forms.LinkLabelLinkClickedEventHandler(this.llblinkLabel1_LinkClicked);
     //
     // cmdSearch
     //
     this.cmdSearch.FlatStyle = System.Windows.Forms.FlatStyle.Popup;
     this.cmdSearch.Location = new System.Drawing.Point(8, 48);
     this.cmdSearch.Name = "cmdSearch";
     this.cmdSearch.Size = new System.Drawing.Size(80, 24);
     this.cmdSearch.TabIndex = 1;
     this.cmdSearch.Text = "&Search";
     this.cmdSearch.Click += new System.EventHandler(this.cmdSearch_Click);
     //
     // lbllabel1
     //
     this.lbllabel1.Location = new System.Drawing.Point(8, 8);
     this.lbllabel1.Name = "lbllabel1";
     this.lbllabel1.Size = new System.Drawing.Size(40, 16);
     this.lbllabel1.TabIndex = 13;
     this.lbllabel1.Text = "Search";
     //
     // txtStatus
     //
     this.txtStatus.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left)
         | System.Windows.Forms.AnchorStyles.Right)));
     this.txtStatus.BackColor = System.Drawing.Color.WhiteSmoke;
     this.txtStatus.BorderStyle = System.Windows.Forms.BorderStyle.None;
     this.txtStatus.Location = new System.Drawing.Point(96, 48);
     this.txtStatus.Multiline = true;
     this.txtStatus.Name = "txtStatus";
     this.txtStatus.ReadOnly = true;
     this.txtStatus.Size = new System.Drawing.Size(184, 24);
     this.txtStatus.TabIndex = 18;
     this.txtStatus.Text = "";
     this.txtStatus.Visible = false;
     //
     // lnkConnectOptions
     //
     this.lnkConnectOptions.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)));
     this.lnkConnectOptions.LinkBehavior = System.Windows.Forms.LinkBehavior.HoverUnderline;
     this.lnkConnectOptions.Location = new System.Drawing.Point(8, 416);
     this.lnkConnectOptions.Name = "lnkConnectOptions";
     this.lnkConnectOptions.Size = new System.Drawing.Size(120, 16);
     this.lnkConnectOptions.TabIndex = 2;
     this.lnkConnectOptions.TabStop = true;
     this.lnkConnectOptions.Text = "Connection &Options...";
     this.lnkConnectOptions.LinkClicked += new System.Windows.Forms.LinkLabelLinkClickedEventHandler(this.lnkConnectOptions_LinkClicked);
     //
     // c1CommandHolder1
     //
     this.c1CommandHolder1.Commands.Add(this.c1ContextMenu1);
     this.c1CommandHolder1.Commands.Add(this.cmdInsertCurrent);
     this.c1CommandHolder1.Commands.Add(this.cmdInsertNew);
     this.c1CommandHolder1.Commands.Add(this.cmdSetCurrentExpression);
     this.c1CommandHolder1.Commands.Add(this.cmdSetCurrentInput);
     this.c1CommandHolder1.Owner = this;
     //
     // WebSearchControl
     //
     this.BackColor = System.Drawing.Color.WhiteSmoke;
     this.Controls.Add(this.cmdSearch);
     this.Controls.Add(this.lbllabel1);
     this.Controls.Add(this.txtStatus);
     this.Controls.Add(this.lnkConnectOptions);
     this.Controls.Add(this.txtSearch);
     this.Controls.Add(this.pnlpanel1);
     this.Controls.Add(this.llblinkLabel1);
     this.Name = "WebSearchControl";
     this.Size = new System.Drawing.Size(288, 440);
     this.Load += new System.EventHandler(this.WebSearchControl_Load);
     this.pnlpanel1.ResumeLayout(false);
     ((System.ComponentModel.ISupportInitialize)(this.grd)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.c1CommandHolder1)).EndInit();
     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.c1MainMenu1      = new C1.Win.C1Command.C1MainMenu();
     this.c1CommandHolder1 = new C1.Win.C1Command.C1CommandHolder();
     this.c1CommandMenu1   = new C1.Win.C1Command.C1CommandMenu();
     this.c1CommandLink2   = new C1.Win.C1Command.C1CommandLink();
     this.c1Command1       = new C1.Win.C1Command.C1Command();
     this.c1CommandLink3   = new C1.Win.C1Command.C1CommandLink();
     this.c1Command2       = new C1.Win.C1Command.C1Command();
     this.c1CommandLink4   = new C1.Win.C1Command.C1CommandLink();
     this.c1Command3       = new C1.Win.C1Command.C1Command();
     this.c1CommandLink5   = new C1.Win.C1Command.C1CommandLink();
     this.c1Command4       = new C1.Win.C1Command.C1Command();
     this.c1CommandMenu2   = new C1.Win.C1Command.C1CommandMenu();
     this.c1CommandLink7   = new C1.Win.C1Command.C1CommandLink();
     this.c1Command5       = new C1.Win.C1Command.C1Command();
     this.c1CommandMenu3   = new C1.Win.C1Command.C1CommandMenu();
     this.c1CommandLink1   = new C1.Win.C1Command.C1CommandLink();
     this.c1CommandLink6   = new C1.Win.C1Command.C1CommandLink();
     this.label1           = new System.Windows.Forms.Label();
     ((System.ComponentModel.ISupportInitialize)(this.c1CommandHolder1)).BeginInit();
     this.SuspendLayout();
     //
     // c1MainMenu1
     //
     this.c1MainMenu1.CommandHolder = this.c1CommandHolder1;
     this.c1MainMenu1.CommandLinks.Add(this.c1CommandLink1);
     this.c1MainMenu1.CommandLinks.Add(this.c1CommandLink6);
     this.c1MainMenu1.Dock = System.Windows.Forms.DockStyle.Top;
     this.c1MainMenu1.Name = "c1MainMenu1";
     this.c1MainMenu1.Size = new System.Drawing.Size(360, 22);
     this.c1MainMenu1.Text = "c1MainMenu1";
     //
     // c1CommandHolder1
     //
     this.c1CommandHolder1.Commands.Add(this.c1CommandMenu1);
     this.c1CommandHolder1.Commands.Add(this.c1Command1);
     this.c1CommandHolder1.Commands.Add(this.c1Command2);
     this.c1CommandHolder1.Commands.Add(this.c1Command3);
     this.c1CommandHolder1.Commands.Add(this.c1Command4);
     this.c1CommandHolder1.Commands.Add(this.c1CommandMenu2);
     this.c1CommandHolder1.Commands.Add(this.c1Command5);
     this.c1CommandHolder1.Commands.Add(this.c1CommandMenu3);
     this.c1CommandHolder1.Owner = this;
     //
     // c1CommandMenu1
     //
     this.c1CommandMenu1.CommandLinks.Add(this.c1CommandLink2);
     this.c1CommandMenu1.CommandLinks.Add(this.c1CommandLink3);
     this.c1CommandMenu1.CommandLinks.Add(this.c1CommandLink4);
     this.c1CommandMenu1.CommandLinks.Add(this.c1CommandLink5);
     this.c1CommandMenu1.Name = "c1CommandMenu1";
     this.c1CommandMenu1.Text = "&File";
     //
     // c1CommandLink2
     //
     this.c1CommandLink2.Command = this.c1Command1;
     //
     // c1Command1
     //
     this.c1Command1.Name = "c1Command1";
     this.c1Command1.Text = "&New";
     //
     // c1CommandLink3
     //
     this.c1CommandLink3.Command = this.c1Command2;
     //
     // c1Command2
     //
     this.c1Command2.Name = "c1Command2";
     this.c1Command2.Text = "&Open";
     //
     // c1CommandLink4
     //
     this.c1CommandLink4.Command = this.c1Command3;
     //
     // c1Command3
     //
     this.c1Command3.Name = "c1Command3";
     this.c1Command3.Text = "&Close";
     //
     // c1CommandLink5
     //
     this.c1CommandLink5.Command   = this.c1Command4;
     this.c1CommandLink5.Delimiter = true;
     //
     // c1Command4
     //
     this.c1Command4.Name   = "c1Command4";
     this.c1Command4.Text   = "E&xit";
     this.c1Command4.Click += new C1.Win.C1Command.ClickEventHandler(this.c1Command4_Click);
     //
     // c1CommandMenu2
     //
     this.c1CommandMenu2.CommandLinks.Add(this.c1CommandLink7);
     this.c1CommandMenu2.Name = "c1CommandMenu2";
     this.c1CommandMenu2.Text = "&Window";
     //
     // c1CommandLink7
     //
     this.c1CommandLink7.Command = this.c1Command5;
     //
     // c1Command5
     //
     this.c1Command5.Name = "c1Command5";
     this.c1Command5.Text = "&New child window";
     this.c1Command5.CommandStateQuery += new C1.Win.C1Command.CommandStateQueryEventHandler(this.c1Command5_CommandStateQuery);
     this.c1Command5.Click             += new C1.Win.C1Command.ClickEventHandler(this.c1Command5_Click);
     //
     // c1CommandMenu3
     //
     this.c1CommandMenu3.Name = "c1CommandMenu3";
     this.c1CommandMenu3.Text = "&Window";
     //
     // c1CommandLink1
     //
     this.c1CommandLink1.Command = this.c1CommandMenu1;
     //
     // c1CommandLink6
     //
     this.c1CommandLink6.Command   = this.c1CommandMenu2;
     this.c1CommandLink6.MergeType = System.Windows.Forms.MenuMerge.MergeItems;
     //
     // label1
     //
     this.label1.Dock     = System.Windows.Forms.DockStyle.Fill;
     this.label1.Location = new System.Drawing.Point(0, 22);
     this.label1.Name     = "label1";
     this.label1.Size     = new System.Drawing.Size(360, 141);
     this.label1.TabIndex = 1;
     this.label1.Text     = "Click Window | New Child Window to create a non-MDI child form. That form\'s menu " +
                            "will be merged with the current menu. ";
     //
     // Form1
     //
     this.AutoScaleBaseSize = new System.Drawing.Size(5, 13);
     this.ClientSize        = new System.Drawing.Size(360, 163);
     this.Controls.AddRange(new System.Windows.Forms.Control[] {
         this.label1,
         this.c1MainMenu1
     });
     this.Name = "Form1";
     this.Text = "Form1";
     ((System.ComponentModel.ISupportInitialize)(this.c1CommandHolder1)).EndInit();
     this.ResumeLayout(false);
 }
Example #6
0
 /// <summary>
 /// Required method for Designer support - do not modify
 /// the contents of this method with the code editor.
 /// </summary>
 private void InitializeComponent()
 {
     this.c1ContextMenu1           = new C1.Win.C1Command.C1ContextMenu();
     this.c1CommandLink1           = new C1.Win.C1Command.C1CommandLink();
     this.cmdInsertCurrent         = new C1.Win.C1Command.C1Command();
     this.c1CommandLink2           = new C1.Win.C1Command.C1CommandLink();
     this.cmdInsertNew             = new C1.Win.C1Command.C1Command();
     this.c1CommandLink3           = new C1.Win.C1Command.C1CommandLink();
     this.cmdSetCurrentExpression  = new C1.Win.C1Command.C1Command();
     this.c1CommandLink4           = new C1.Win.C1Command.C1CommandLink();
     this.cmdSetCurrentInput       = new C1.Win.C1Command.C1Command();
     this.mnuInsertCurrentDocument = new System.Windows.Forms.MenuItem();
     this.mnuSetCurrentRegex       = new System.Windows.Forms.MenuItem();
     this.mnuSetCurrentInput       = new System.Windows.Forms.MenuItem();
     this.txtSearch            = new System.Windows.Forms.TextBox();
     this.mnuINsertNewDocument = new System.Windows.Forms.MenuItem();
     this.pnlpanel1            = new System.Windows.Forms.Panel();
     this.grd = new C1.Win.C1FlexGrid.C1FlexGrid();
     this.SnippetContextMenu = new System.Windows.Forms.ContextMenu();
     this.menuItem1          = new System.Windows.Forms.MenuItem();
     this.splitter1          = new System.Windows.Forms.Splitter();
     this.txtInfo            = new System.Windows.Forms.TextBox();
     this.llblinkLabel1      = new System.Windows.Forms.LinkLabel();
     this.cmdSearch          = new System.Windows.Forms.Button();
     this.lbllabel1          = new System.Windows.Forms.Label();
     this.txtStatus          = new System.Windows.Forms.TextBox();
     this.lnkConnectOptions  = new System.Windows.Forms.LinkLabel();
     this.c1CommandHolder1   = new C1.Win.C1Command.C1CommandHolder();
     this.pnlpanel1.SuspendLayout();
     ((System.ComponentModel.ISupportInitialize)(this.grd)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.c1CommandHolder1)).BeginInit();
     this.SuspendLayout();
     //
     // c1ContextMenu1
     //
     this.c1ContextMenu1.CommandLinks.Add(this.c1CommandLink1);
     this.c1ContextMenu1.CommandLinks.Add(this.c1CommandLink2);
     this.c1ContextMenu1.CommandLinks.Add(this.c1CommandLink3);
     this.c1ContextMenu1.CommandLinks.Add(this.c1CommandLink4);
     this.c1ContextMenu1.Name   = "c1ContextMenu1";
     this.c1ContextMenu1.Width  = 100;
     this.c1ContextMenu1.Click += new C1.Win.C1Command.ClickEventHandler(this.c1ContextMenu1_Click);
     //
     // c1CommandLink1
     //
     this.c1CommandLink1.Command = this.cmdInsertCurrent;
     this.c1CommandLink1.Text    = "Insert into &Current window";
     //
     // cmdInsertCurrent
     //
     this.cmdInsertCurrent.Name = "cmdInsertCurrent";
     this.cmdInsertCurrent.Text = "Insert into current window";
     //
     // c1CommandLink2
     //
     this.c1CommandLink2.Command = this.cmdInsertNew;
     //
     // cmdInsertNew
     //
     this.cmdInsertNew.Name = "cmdInsertNew";
     this.cmdInsertNew.Text = "Insert into &New window";
     //
     // c1CommandLink3
     //
     this.c1CommandLink3.Command = this.cmdSetCurrentExpression;
     //
     // cmdSetCurrentExpression
     //
     this.cmdSetCurrentExpression.Name = "cmdSetCurrentExpression";
     this.cmdSetCurrentExpression.Text = "Set as current &Expression";
     //
     // c1CommandLink4
     //
     this.c1CommandLink4.Command = this.cmdSetCurrentInput;
     //
     // cmdSetCurrentInput
     //
     this.cmdSetCurrentInput.Name = "cmdSetCurrentInput";
     this.cmdSetCurrentInput.Text = "Set as current &Input";
     //
     // mnuInsertCurrentDocument
     //
     this.mnuInsertCurrentDocument.DefaultItem = true;
     this.mnuInsertCurrentDocument.Index       = 0;
     this.mnuInsertCurrentDocument.Text        = "Set Regex and input in &Current document";
     this.mnuInsertCurrentDocument.Click      += new System.EventHandler(this.mnuInsertCurrentDocument_Click);
     //
     // mnuSetCurrentRegex
     //
     this.mnuSetCurrentRegex.Index  = 1;
     this.mnuSetCurrentRegex.Text   = "Set &Regex in current";
     this.mnuSetCurrentRegex.Click += new System.EventHandler(this.mnuSetCurrentRegex_Click);
     //
     // mnuSetCurrentInput
     //
     this.mnuSetCurrentInput.Index  = 2;
     this.mnuSetCurrentInput.Text   = "Set &Input in current";
     this.mnuSetCurrentInput.Click += new System.EventHandler(this.mnuSetCurrentInput_Click);
     //
     // txtSearch
     //
     this.txtSearch.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left)
                                                                   | System.Windows.Forms.AnchorStyles.Right)));
     this.txtSearch.BorderStyle  = System.Windows.Forms.BorderStyle.FixedSingle;
     this.txtSearch.Location     = new System.Drawing.Point(8, 24);
     this.txtSearch.Name         = "txtSearch";
     this.txtSearch.Size         = new System.Drawing.Size(272, 20);
     this.txtSearch.TabIndex     = 0;
     this.txtSearch.Text         = "search";
     this.txtSearch.KeyDown     += new System.Windows.Forms.KeyEventHandler(this.txtSearch_KeyDown);
     this.txtSearch.KeyPress    += new System.Windows.Forms.KeyPressEventHandler(this.txtSearch_KeyPress);
     this.txtSearch.TextChanged += new System.EventHandler(this.txtSearch_TextChanged);
     //
     // mnuINsertNewDocument
     //
     this.mnuINsertNewDocument.Index  = 4;
     this.mnuINsertNewDocument.Text   = "Import into &New document";
     this.mnuINsertNewDocument.Click += new System.EventHandler(this.mnuINsertNewDocument_Click);
     //
     // pnlpanel1
     //
     this.pnlpanel1.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.pnlpanel1.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
     this.pnlpanel1.Controls.Add(this.grd);
     this.pnlpanel1.Controls.Add(this.splitter1);
     this.pnlpanel1.Controls.Add(this.txtInfo);
     this.pnlpanel1.Location = new System.Drawing.Point(8, 80);
     this.pnlpanel1.Name     = "pnlpanel1";
     this.pnlpanel1.Size     = new System.Drawing.Size(272, 328);
     this.pnlpanel1.TabIndex = 16;
     //
     // grd
     //
     this.grd.AllowEditing    = false;
     this.grd.AllowResizing   = C1.Win.C1FlexGrid.AllowResizingEnum.BothUniform;
     this.grd.AutoResize      = false;
     this.grd.AutoSearch      = C1.Win.C1FlexGrid.AutoSearchEnum.FromTop;
     this.grd.BackColor       = System.Drawing.SystemColors.Window;
     this.grd.BorderStyle     = C1.Win.C1FlexGrid.Util.BaseControls.BorderStyleEnum.None;
     this.grd.ColumnInfo      = @"3,0,0,0,0,85,Columns:0{Width:95;Name:""Description"";Caption:""Description"";DataType:System.String;TextAlign:LeftCenter;}	1{Name:""matches"";Caption:""Example"";DataType:System.String;TextAlign:LeftCenter;}	2{Name:""regular_expression"";Caption:""Expression"";DataType:System.String;TextAlign:LeftCenter;}	";
     this.grd.ContextMenu     = this.SnippetContextMenu;
     this.grd.Dock            = System.Windows.Forms.DockStyle.Fill;
     this.grd.ExtendLastCol   = true;
     this.grd.Location        = new System.Drawing.Point(0, 0);
     this.grd.Name            = "grd";
     this.grd.Rows.Count      = 5;
     this.grd.ScrollTips      = true;
     this.grd.SelectionMode   = C1.Win.C1FlexGrid.SelectionModeEnum.Row;
     this.grd.Size            = new System.Drawing.Size(270, 267);
     this.grd.Styles          = new C1.Win.C1FlexGrid.CellStyleCollection(@"Fixed{BackColor:Control;ForeColor:ControlText;Border:Flat,1,ControlDark,Both;}	Highlight{BackColor:Highlight;ForeColor:HighlightText;}	Search{BackColor:Highlight;ForeColor:HighlightText;}	Frozen{BackColor:Beige;}	EmptyArea{BackColor:AppWorkspace;Border:Flat,1,ControlDarkDark,Both;}	GrandTotal{BackColor:Black;ForeColor:White;}	Subtotal0{BackColor:ControlDarkDark;ForeColor:White;}	Subtotal1{BackColor:ControlDarkDark;ForeColor:White;}	Subtotal2{BackColor:ControlDarkDark;ForeColor:White;}	Subtotal3{BackColor:ControlDarkDark;ForeColor:White;}	Subtotal4{BackColor:ControlDarkDark;ForeColor:White;}	Subtotal5{BackColor:ControlDarkDark;ForeColor:White;}	");
     this.grd.TabIndex        = 0;
     this.grd.DoubleClick    += new System.EventHandler(this.grd_DoubleClick);
     this.grd.AfterSelChange += new C1.Win.C1FlexGrid.RangeEventHandler(this.grd_AfterSelChange);
     //
     // SnippetContextMenu
     //
     this.SnippetContextMenu.MenuItems.AddRange(new System.Windows.Forms.MenuItem[] {
         this.mnuInsertCurrentDocument,
         this.mnuSetCurrentRegex,
         this.mnuSetCurrentInput,
         this.menuItem1,
         this.mnuINsertNewDocument
     });
     //
     // menuItem1
     //
     this.menuItem1.Index = 3;
     this.menuItem1.Text  = "-";
     //
     // splitter1
     //
     this.splitter1.Dock     = System.Windows.Forms.DockStyle.Bottom;
     this.splitter1.Location = new System.Drawing.Point(0, 267);
     this.splitter1.Name     = "splitter1";
     this.splitter1.Size     = new System.Drawing.Size(270, 3);
     this.splitter1.TabIndex = 1;
     this.splitter1.TabStop  = false;
     //
     // txtInfo
     //
     this.txtInfo.BackColor   = System.Drawing.SystemColors.Info;
     this.txtInfo.BorderStyle = System.Windows.Forms.BorderStyle.None;
     this.txtInfo.Dock        = System.Windows.Forms.DockStyle.Bottom;
     this.txtInfo.Location    = new System.Drawing.Point(0, 270);
     this.txtInfo.Multiline   = true;
     this.txtInfo.Name        = "txtInfo";
     this.txtInfo.ReadOnly    = true;
     this.txtInfo.ScrollBars  = System.Windows.Forms.ScrollBars.Vertical;
     this.txtInfo.Size        = new System.Drawing.Size(270, 56);
     this.txtInfo.TabIndex    = 0;
     this.txtInfo.Text        = "information";
     //
     // llblinkLabel1
     //
     this.llblinkLabel1.LinkBehavior = System.Windows.Forms.LinkBehavior.HoverUnderline;
     this.llblinkLabel1.Location     = new System.Drawing.Point(48, 8);
     this.llblinkLabel1.Name         = "llblinkLabel1";
     this.llblinkLabel1.Size         = new System.Drawing.Size(80, 16);
     this.llblinkLabel1.TabIndex     = 3;
     this.llblinkLabel1.TabStop      = true;
     this.llblinkLabel1.Text         = "RegexLib.com";
     this.llblinkLabel1.LinkClicked += new System.Windows.Forms.LinkLabelLinkClickedEventHandler(this.llblinkLabel1_LinkClicked);
     //
     // cmdSearch
     //
     this.cmdSearch.FlatStyle = System.Windows.Forms.FlatStyle.Popup;
     this.cmdSearch.Location  = new System.Drawing.Point(8, 48);
     this.cmdSearch.Name      = "cmdSearch";
     this.cmdSearch.Size      = new System.Drawing.Size(80, 24);
     this.cmdSearch.TabIndex  = 1;
     this.cmdSearch.Text      = "&Search";
     this.cmdSearch.Click    += new System.EventHandler(this.cmdSearch_Click);
     //
     // lbllabel1
     //
     this.lbllabel1.Location = new System.Drawing.Point(8, 8);
     this.lbllabel1.Name     = "lbllabel1";
     this.lbllabel1.Size     = new System.Drawing.Size(40, 16);
     this.lbllabel1.TabIndex = 13;
     this.lbllabel1.Text     = "Search";
     //
     // txtStatus
     //
     this.txtStatus.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left)
                                                                   | System.Windows.Forms.AnchorStyles.Right)));
     this.txtStatus.BackColor   = System.Drawing.Color.WhiteSmoke;
     this.txtStatus.BorderStyle = System.Windows.Forms.BorderStyle.None;
     this.txtStatus.Location    = new System.Drawing.Point(96, 48);
     this.txtStatus.Multiline   = true;
     this.txtStatus.Name        = "txtStatus";
     this.txtStatus.ReadOnly    = true;
     this.txtStatus.Size        = new System.Drawing.Size(184, 24);
     this.txtStatus.TabIndex    = 18;
     this.txtStatus.Text        = "";
     this.txtStatus.Visible     = false;
     //
     // lnkConnectOptions
     //
     this.lnkConnectOptions.Anchor       = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)));
     this.lnkConnectOptions.LinkBehavior = System.Windows.Forms.LinkBehavior.HoverUnderline;
     this.lnkConnectOptions.Location     = new System.Drawing.Point(8, 416);
     this.lnkConnectOptions.Name         = "lnkConnectOptions";
     this.lnkConnectOptions.Size         = new System.Drawing.Size(120, 16);
     this.lnkConnectOptions.TabIndex     = 2;
     this.lnkConnectOptions.TabStop      = true;
     this.lnkConnectOptions.Text         = "Connection &Options...";
     this.lnkConnectOptions.LinkClicked += new System.Windows.Forms.LinkLabelLinkClickedEventHandler(this.lnkConnectOptions_LinkClicked);
     //
     // c1CommandHolder1
     //
     this.c1CommandHolder1.Commands.Add(this.c1ContextMenu1);
     this.c1CommandHolder1.Commands.Add(this.cmdInsertCurrent);
     this.c1CommandHolder1.Commands.Add(this.cmdInsertNew);
     this.c1CommandHolder1.Commands.Add(this.cmdSetCurrentExpression);
     this.c1CommandHolder1.Commands.Add(this.cmdSetCurrentInput);
     this.c1CommandHolder1.Owner = this;
     //
     // WebSearchControl
     //
     this.BackColor = System.Drawing.Color.WhiteSmoke;
     this.Controls.Add(this.cmdSearch);
     this.Controls.Add(this.lbllabel1);
     this.Controls.Add(this.txtStatus);
     this.Controls.Add(this.lnkConnectOptions);
     this.Controls.Add(this.txtSearch);
     this.Controls.Add(this.pnlpanel1);
     this.Controls.Add(this.llblinkLabel1);
     this.Name  = "WebSearchControl";
     this.Size  = new System.Drawing.Size(288, 440);
     this.Load += new System.EventHandler(this.WebSearchControl_Load);
     this.pnlpanel1.ResumeLayout(false);
     ((System.ComponentModel.ISupportInitialize)(this.grd)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.c1CommandHolder1)).EndInit();
     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.c1MainMenu1      = new C1.Win.C1Command.C1MainMenu();
     this.c1CommandHolder1 = new C1.Win.C1Command.C1CommandHolder();
     this.cmdFile          = new C1.Win.C1Command.C1CommandMenu();
     this.c1CommandLink2   = new C1.Win.C1Command.C1CommandLink();
     this.cmdClose         = new C1.Win.C1Command.C1Command();
     this.c1CommandLink1   = new C1.Win.C1Command.C1CommandLink();
     ((System.ComponentModel.ISupportInitialize)(this.c1CommandHolder1)).BeginInit();
     this.SuspendLayout();
     //
     // c1MainMenu1
     //
     this.c1MainMenu1.CommandHolder = this.c1CommandHolder1;
     this.c1MainMenu1.CommandLinks.Add(this.c1CommandLink1);
     this.c1MainMenu1.Dock = System.Windows.Forms.DockStyle.Top;
     this.c1MainMenu1.Name = "c1MainMenu1";
     this.c1MainMenu1.Size = new System.Drawing.Size(292, 21);
     this.c1MainMenu1.Text = "c1MainMenu1";
     //
     // c1CommandHolder1
     //
     this.c1CommandHolder1.Commands.Add(this.cmdFile);
     this.c1CommandHolder1.Commands.Add(this.cmdClose);
     this.c1CommandHolder1.Owner = this;
     //
     // cmdFile
     //
     this.cmdFile.CommandLinks.Add(this.c1CommandLink2);
     this.cmdFile.Name = "cmdFile";
     this.cmdFile.Text = "&File";
     //
     // c1CommandLink2
     //
     this.c1CommandLink2.Command    = this.cmdClose;
     this.c1CommandLink2.MergeOrder = 1;
     //
     // cmdClose
     //
     this.cmdClose.Name     = "cmdClose";
     this.cmdClose.Shortcut = System.Windows.Forms.Shortcut.CtrlF4;
     this.cmdClose.Text     = "&Close";
     this.cmdClose.Click   += new C1.Win.C1Command.ClickEventHandler(this.cmdClose_Click);
     //
     // c1CommandLink1
     //
     this.c1CommandLink1.Command   = this.cmdFile;
     this.c1CommandLink1.MergeType = System.Windows.Forms.MenuMerge.MergeItems;
     //
     // MdiChild
     //
     this.AutoScaleBaseSize = new System.Drawing.Size(5, 13);
     this.ClientSize        = new System.Drawing.Size(292, 271);
     this.Controls.AddRange(new System.Windows.Forms.Control[] {
         this.c1MainMenu1
     });
     this.Name = "MdiChild";
     this.Text = "MdiChild";
     ((System.ComponentModel.ISupportInitialize)(this.c1CommandHolder1)).EndInit();
     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.c1MainMenu1       = new C1.Win.C1Command.C1MainMenu();
     this.c1CommandHolder1  = new C1.Win.C1Command.C1CommandHolder();
     this.cmdFile           = new C1.Win.C1Command.C1CommandMenu();
     this.c1CommandLink2    = new C1.Win.C1Command.C1CommandLink();
     this.cmdFileNew        = new C1.Win.C1Command.C1Command();
     this.c1CommandLink4    = new C1.Win.C1Command.C1CommandLink();
     this.cmdExit           = new C1.Win.C1Command.C1Command();
     this.cmdWindow         = new C1.Win.C1Command.C1CommandMenu();
     this.c1CommandLink6    = new C1.Win.C1Command.C1CommandLink();
     this.c1CommandMdiList1 = new C1.Win.C1Command.C1CommandMdiList();
     this.c1CommandLink1    = new C1.Win.C1Command.C1CommandLink();
     this.c1CommandLink5    = new C1.Win.C1Command.C1CommandLink();
     ((System.ComponentModel.ISupportInitialize)(this.c1CommandHolder1)).BeginInit();
     this.SuspendLayout();
     //
     // c1MainMenu1
     //
     this.c1MainMenu1.CommandHolder = this.c1CommandHolder1;
     this.c1MainMenu1.CommandLinks.Add(this.c1CommandLink1);
     this.c1MainMenu1.CommandLinks.Add(this.c1CommandLink5);
     this.c1MainMenu1.Dock = System.Windows.Forms.DockStyle.Top;
     this.c1MainMenu1.Name = "c1MainMenu1";
     this.c1MainMenu1.Size = new System.Drawing.Size(544, 21);
     this.c1MainMenu1.Text = "c1MainMenu1";
     //
     // c1CommandHolder1
     //
     this.c1CommandHolder1.Commands.Add(this.cmdFile);
     this.c1CommandHolder1.Commands.Add(this.cmdFileNew);
     this.c1CommandHolder1.Commands.Add(this.cmdExit);
     this.c1CommandHolder1.Commands.Add(this.cmdWindow);
     this.c1CommandHolder1.Commands.Add(this.c1CommandMdiList1);
     this.c1CommandHolder1.Owner = this;
     this.c1CommandHolder1.SelectMdiChildFormClassName = "SelectMdiChildForm.SelectMdiChildForm";
     //
     // cmdFile
     //
     this.cmdFile.CommandLinks.Add(this.c1CommandLink2);
     this.cmdFile.CommandLinks.Add(this.c1CommandLink4);
     this.cmdFile.Name = "cmdFile";
     this.cmdFile.Text = "&File";
     //
     // c1CommandLink2
     //
     this.c1CommandLink2.Command = this.cmdFileNew;
     //
     // cmdFileNew
     //
     this.cmdFileNew.Name     = "cmdFileNew";
     this.cmdFileNew.Shortcut = System.Windows.Forms.Shortcut.CtrlN;
     this.cmdFileNew.Text     = "&New";
     this.cmdFileNew.Click   += new C1.Win.C1Command.ClickEventHandler(this.cmdFileNew_Click);
     //
     // c1CommandLink4
     //
     this.c1CommandLink4.Command    = this.cmdExit;
     this.c1CommandLink4.Delimiter  = true;
     this.c1CommandLink4.MergeOrder = 2;
     //
     // cmdExit
     //
     this.cmdExit.Name     = "cmdExit";
     this.cmdExit.Shortcut = System.Windows.Forms.Shortcut.AltF4;
     this.cmdExit.Text     = "E&xit";
     this.cmdExit.Click   += new C1.Win.C1Command.ClickEventHandler(this.cmdExit_Click);
     //
     // cmdWindow
     //
     this.cmdWindow.CommandLinks.Add(this.c1CommandLink6);
     this.cmdWindow.Name = "cmdWindow";
     this.cmdWindow.Text = "&Window";
     //
     // c1CommandLink6
     //
     this.c1CommandLink6.Command = this.c1CommandMdiList1;
     //
     // c1CommandMdiList1
     //
     this.c1CommandMdiList1.Name = "c1CommandMdiList1";
     //
     // c1CommandLink1
     //
     this.c1CommandLink1.Command   = this.cmdFile;
     this.c1CommandLink1.MergeType = System.Windows.Forms.MenuMerge.MergeItems;
     //
     // c1CommandLink5
     //
     this.c1CommandLink5.Command = this.cmdWindow;
     //
     // Form1
     //
     this.AutoScaleBaseSize = new System.Drawing.Size(5, 13);
     this.ClientSize        = new System.Drawing.Size(544, 411);
     this.Controls.AddRange(new System.Windows.Forms.Control[] {
         this.c1MainMenu1
     });
     this.IsMdiContainer = true;
     this.Name           = "Form1";
     this.Text           = "SelectMdiChildForm Sample";
     this.Load          += new System.EventHandler(this.Form1_Load);
     ((System.ComponentModel.ISupportInitialize)(this.c1CommandHolder1)).EndInit();
     this.ResumeLayout(false);
 }
Example #9
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(frmMain));
     this.c1CommandHolder1 = new C1.Win.C1Command.C1CommandHolder();
     this.cmdRaagaHome = new C1.Win.C1Command.C1Command();
     this.cmdMusicDirectory = new C1.Win.C1Command.C1Command();
     this.cmdMyRaagaLogin = new C1.Win.C1Command.C1Command();
     this.cmdSettings = new C1.Win.C1Command.C1Command();
     this.cmdAboutMe = new C1.Win.C1Command.C1Command();
     this.cmdAdSignatures = new C1.Win.C1Command.C1Command();
     this.cmdGuidedTour = new C1.Win.C1Command.C1Command();
     this.c1Command1 = new C1.Win.C1Command.C1Command();
     this.c1Command2 = new C1.Win.C1Command.C1Command();
     this.c1OutBar1 = new C1.Win.C1Command.C1OutBar();
     this.c1OutPage1 = new C1.Win.C1Command.C1OutPage();
     this.c1ToolBar1 = new C1.Win.C1Command.C1ToolBar();
     this.lnkRaagaHome = new C1.Win.C1Command.C1CommandLink();
     this.lnkMyRaagaLogIn = new C1.Win.C1Command.C1CommandLink();
     this.lnkMusicDirectory = new C1.Win.C1Command.C1CommandLink();
     this.c1CommandLink1 = new C1.Win.C1Command.C1CommandLink();
     this.c1CommandLink3 = new C1.Win.C1Command.C1CommandLink();
     this.c1CommandLink4 = new C1.Win.C1Command.C1CommandLink();
     this.c1CommandLink6 = new C1.Win.C1Command.C1CommandLink();
     this.c1CommandLink5 = new C1.Win.C1Command.C1CommandLink();
     this.c1CommandLink2 = new C1.Win.C1Command.C1CommandLink();
     this.panel1 = new System.Windows.Forms.Panel();
     this.label7 = new System.Windows.Forms.Label();
     this.label6 = new System.Windows.Forms.Label();
     this.label5 = new System.Windows.Forms.Label();
     this.lblRight = new System.Windows.Forms.ProgressBar();
     this.lblLeft = new System.Windows.Forms.ProgressBar();
     this.lblSongs = new System.Windows.Forms.Label();
     this.groupBox1 = new System.Windows.Forms.GroupBox();
     this.lnkAddToPlaylist = new System.Windows.Forms.LinkLabel();
     this.lblMovieName = new System.Windows.Forms.Label();
     this.picMovie = new System.Windows.Forms.PictureBox();
     this.label1 = new System.Windows.Forms.Label();
     this.lblAlbum = new System.Windows.Forms.Label();
     this.label2 = new System.Windows.Forms.Label();
     this.lblMusicComposer = new System.Windows.Forms.Label();
     this.label3 = new System.Windows.Forms.Label();
     this.lblArtist = new System.Windows.Forms.Label();
     this.label4 = new System.Windows.Forms.Label();
     this.lblSongTitle = new System.Windows.Forms.Label();
     this.tnVolume = new Dotnetrix.Controls.TrackBar();
     this.pnlDeepGrey = new System.Windows.Forms.Panel();
     this.pnlWhite = new System.Windows.Forms.Panel();
     this.pnlBlue = new System.Windows.Forms.Panel();
     this.pnlGrey = new System.Windows.Forms.Panel();
     this.pictureBox1 = new System.Windows.Forms.PictureBox();
     this.panel2 = new System.Windows.Forms.Panel();
     this.ctlRaagaBrowser = new AxSHDocVw.AxWebBrowser();
     this.cmnuAddToPlaylist = new System.Windows.Forms.ContextMenuStrip(this.components);
     this.mnuAddSelectedSongs = new System.Windows.Forms.ToolStripMenuItem();
     this.mnuAddAllSongs = new System.Windows.Forms.ToolStripMenuItem();
     ((System.ComponentModel.ISupportInitialize)(this.c1CommandHolder1)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.c1OutBar1)).BeginInit();
     this.c1OutBar1.SuspendLayout();
     this.c1OutPage1.SuspendLayout();
     this.panel1.SuspendLayout();
     this.groupBox1.SuspendLayout();
     ((System.ComponentModel.ISupportInitialize)(this.picMovie)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.tnVolume)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.pictureBox1)).BeginInit();
     this.panel2.SuspendLayout();
     ((System.ComponentModel.ISupportInitialize)(this.ctlRaagaBrowser)).BeginInit();
     this.cmnuAddToPlaylist.SuspendLayout();
     this.SuspendLayout();
     //
     // c1CommandHolder1
     //
     this.c1CommandHolder1.Commands.Add(this.cmdRaagaHome);
     this.c1CommandHolder1.Commands.Add(this.cmdMusicDirectory);
     this.c1CommandHolder1.Commands.Add(this.cmdMyRaagaLogin);
     this.c1CommandHolder1.Commands.Add(this.cmdSettings);
     this.c1CommandHolder1.Commands.Add(this.cmdAboutMe);
     this.c1CommandHolder1.Commands.Add(this.cmdAdSignatures);
     this.c1CommandHolder1.Commands.Add(this.cmdGuidedTour);
     this.c1CommandHolder1.Commands.Add(this.c1Command1);
     this.c1CommandHolder1.Commands.Add(this.c1Command2);
     this.c1CommandHolder1.LookAndFeel = C1.Win.C1Command.LookAndFeelEnum.WindowsXP;
     this.c1CommandHolder1.Owner = this;
     //
     // cmdRaagaHome
     //
     this.cmdRaagaHome.Image = ((System.Drawing.Image)(resources.GetObject("cmdRaagaHome.Image")));
     this.cmdRaagaHome.Name = "cmdRaagaHome";
     this.cmdRaagaHome.Text = "Raaga (Hindi)";
     this.cmdRaagaHome.Click += new C1.Win.C1Command.ClickEventHandler(this.cmdRaagaHome_Click);
     //
     // cmdMusicDirectory
     //
     this.cmdMusicDirectory.Image = ((System.Drawing.Image)(resources.GetObject("cmdMusicDirectory.Image")));
     this.cmdMusicDirectory.Name = "cmdMusicDirectory";
     this.cmdMusicDirectory.Text = "Music Directory";
     this.cmdMusicDirectory.ToolTipText = "Raaga Music Archive";
     this.cmdMusicDirectory.Click += new C1.Win.C1Command.ClickEventHandler(this.cmdMusicDirectory_Click);
     //
     // cmdMyRaagaLogin
     //
     this.cmdMyRaagaLogin.Image = ((System.Drawing.Image)(resources.GetObject("cmdMyRaagaLogin.Image")));
     this.cmdMyRaagaLogin.Name = "cmdMyRaagaLogin";
     this.cmdMyRaagaLogin.Text = "My Raaga LogIn";
     this.cmdMyRaagaLogin.ToolTipText = "LogIn to MyRaaga";
     this.cmdMyRaagaLogin.Click += new C1.Win.C1Command.ClickEventHandler(this.cmdMyRaagaLogin_Click);
     //
     // cmdSettings
     //
     this.cmdSettings.Image = ((System.Drawing.Image)(resources.GetObject("cmdSettings.Image")));
     this.cmdSettings.Name = "cmdSettings";
     this.cmdSettings.Text = "Settings";
     this.cmdSettings.ToolTipText = "RaagaHacker Settings";
     this.cmdSettings.Click += new C1.Win.C1Command.ClickEventHandler(this.cmdSettings_Click);
     //
     // cmdAboutMe
     //
     this.cmdAboutMe.Image = ((System.Drawing.Image)(resources.GetObject("cmdAboutMe.Image")));
     this.cmdAboutMe.Name = "cmdAboutMe";
     this.cmdAboutMe.Text = "About Me";
     this.cmdAboutMe.Click += new C1.Win.C1Command.ClickEventHandler(this.cmdAboutMe_Click);
     //
     // cmdAdSignatures
     //
     this.cmdAdSignatures.Image = ((System.Drawing.Image)(resources.GetObject("cmdAdSignatures.Image")));
     this.cmdAdSignatures.Name = "cmdAdSignatures";
     this.cmdAdSignatures.Text = "Ad Signatures";
     this.cmdAdSignatures.Click += new C1.Win.C1Command.ClickEventHandler(this.cmdAdSignatures_Click);
     //
     // cmdGuidedTour
     //
     this.cmdGuidedTour.Image = ((System.Drawing.Image)(resources.GetObject("cmdGuidedTour.Image")));
     this.cmdGuidedTour.Name = "cmdGuidedTour";
     this.cmdGuidedTour.Text = "Guided Tour";
     this.cmdGuidedTour.Click += new C1.Win.C1Command.ClickEventHandler(this.cmdGuidedTour_Click);
     //
     // c1Command1
     //
     this.c1Command1.Image = global::RaagaHacker.Properties.Resources.tv_box;
     this.c1Command1.Name = "c1Command1";
     this.c1Command1.Text = "Video Tutorial";
     this.c1Command1.Click += new C1.Win.C1Command.ClickEventHandler(this.c1Command1_Click);
     //
     // c1Command2
     //
     this.c1Command2.Image = global::RaagaHacker.Properties.Resources.Win_Media_List;
     this.c1Command2.Name = "c1Command2";
     this.c1Command2.Text = "View Playlist";
     this.c1Command2.Click += new C1.Win.C1Command.ClickEventHandler(this.c1Command2_Click);
     //
     // c1OutBar1
     //
     this.c1OutBar1.BackgroundImage = global::RaagaHacker.Properties.Resources.metallic_background;
     this.c1OutBar1.Controls.Add(this.c1OutPage1);
     this.c1OutBar1.Dock = System.Windows.Forms.DockStyle.Left;
     this.c1OutBar1.Location = new System.Drawing.Point(0, 0);
     this.c1OutBar1.Name = "c1OutBar1";
     this.c1OutBar1.Pages.Add(this.c1OutPage1);
     this.c1OutBar1.SelectedIndex = 0;
     this.c1OutBar1.SelectedPage = this.c1OutPage1;
     this.c1OutBar1.Size = new System.Drawing.Size(88, 516);
     this.c1OutBar1.Text = "c1OutBar1";
     //
     // c1OutPage1
     //
     this.c1OutPage1.BorderStyle = System.Windows.Forms.BorderStyle.Fixed3D;
     this.c1OutPage1.Controls.Add(this.c1ToolBar1);
     this.c1OutPage1.Location = new System.Drawing.Point(0, 18);
     this.c1OutPage1.Name = "c1OutPage1";
     this.c1OutPage1.Size = new System.Drawing.Size(88, 480);
     this.c1OutPage1.TabIndex = 0;
     this.c1OutPage1.Text = "Action";
     //
     // c1ToolBar1
     //
     this.c1ToolBar1.BackgroundImage = global::RaagaHacker.Properties.Resources.metallic_background;
     this.c1ToolBar1.ButtonLookVert = ((C1.Win.C1Command.ButtonLookFlags)((C1.Win.C1Command.ButtonLookFlags.Text | C1.Win.C1Command.ButtonLookFlags.Image)));
     this.c1ToolBar1.CommandHolder = null;
     this.c1ToolBar1.CommandLinks.Add(this.lnkRaagaHome);
     this.c1ToolBar1.CommandLinks.Add(this.lnkMyRaagaLogIn);
     this.c1ToolBar1.CommandLinks.Add(this.lnkMusicDirectory);
     this.c1ToolBar1.CommandLinks.Add(this.c1CommandLink1);
     this.c1ToolBar1.CommandLinks.Add(this.c1CommandLink3);
     this.c1ToolBar1.CommandLinks.Add(this.c1CommandLink4);
     this.c1ToolBar1.CommandLinks.Add(this.c1CommandLink6);
     this.c1ToolBar1.CommandLinks.Add(this.c1CommandLink5);
     this.c1ToolBar1.CommandLinks.Add(this.c1CommandLink2);
     this.c1ToolBar1.Dock = System.Windows.Forms.DockStyle.Fill;
     this.c1ToolBar1.Horizontal = false;
     this.c1ToolBar1.Location = new System.Drawing.Point(0, 0);
     this.c1ToolBar1.Name = "c1ToolBar1";
     this.c1ToolBar1.Size = new System.Drawing.Size(84, 476);
     this.c1ToolBar1.Text = "Page1";
     //
     // lnkRaagaHome
     //
     this.lnkRaagaHome.ButtonLook = ((C1.Win.C1Command.ButtonLookFlags)((C1.Win.C1Command.ButtonLookFlags.Text | C1.Win.C1Command.ButtonLookFlags.Image)));
     this.lnkRaagaHome.Command = this.cmdRaagaHome;
     //
     // lnkMyRaagaLogIn
     //
     this.lnkMyRaagaLogIn.Command = this.cmdMyRaagaLogin;
     //
     // lnkMusicDirectory
     //
     this.lnkMusicDirectory.Command = this.cmdMusicDirectory;
     //
     // c1CommandLink1
     //
     this.c1CommandLink1.Command = this.cmdSettings;
     //
     // c1CommandLink3
     //
     this.c1CommandLink3.Command = this.cmdAdSignatures;
     //
     // c1CommandLink4
     //
     this.c1CommandLink4.Command = this.cmdGuidedTour;
     //
     // c1CommandLink6
     //
     this.c1CommandLink6.Command = this.c1Command2;
     //
     // c1CommandLink5
     //
     this.c1CommandLink5.Command = this.c1Command1;
     //
     // c1CommandLink2
     //
     this.c1CommandLink2.Command = this.cmdAboutMe;
     //
     // panel1
     //
     this.panel1.AutoScroll = true;
     this.panel1.BackgroundImage = global::RaagaHacker.Properties.Resources.metallic_background;
     this.panel1.Controls.Add(this.lnkAddToPlaylist);
     this.panel1.Controls.Add(this.label7);
     this.panel1.Controls.Add(this.label6);
     this.panel1.Controls.Add(this.label5);
     this.panel1.Controls.Add(this.lblRight);
     this.panel1.Controls.Add(this.lblLeft);
     this.panel1.Controls.Add(this.lblSongs);
     this.panel1.Controls.Add(this.groupBox1);
     this.panel1.Controls.Add(this.tnVolume);
     this.panel1.Controls.Add(this.pnlDeepGrey);
     this.panel1.Controls.Add(this.pnlWhite);
     this.panel1.Controls.Add(this.pnlBlue);
     this.panel1.Controls.Add(this.pnlGrey);
     this.panel1.Controls.Add(this.pictureBox1);
     this.panel1.Controls.Add(this.panel2);
     this.panel1.Location = new System.Drawing.Point(88, 0);
     this.panel1.Name = "panel1";
     this.panel1.Size = new System.Drawing.Size(608, 630);
     this.panel1.TabIndex = 1;
     this.panel1.Paint += new System.Windows.Forms.PaintEventHandler(this.panel1_Paint);
     //
     // label7
     //
     this.label7.BackColor = System.Drawing.Color.Transparent;
     this.label7.Font = new System.Drawing.Font("Microsoft Sans Serif", 9F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.label7.ForeColor = System.Drawing.SystemColors.ControlText;
     this.label7.Location = new System.Drawing.Point(527, 486);
     this.label7.Name = "label7";
     this.label7.Size = new System.Drawing.Size(60, 16);
     this.label7.TabIndex = 37;
     this.label7.Text = "Volume";
     this.label7.TextAlign = System.Drawing.ContentAlignment.MiddleLeft;
     //
     // label6
     //
     this.label6.BackColor = System.Drawing.Color.Transparent;
     this.label6.Font = new System.Drawing.Font("Microsoft Sans Serif", 9F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.label6.ForeColor = System.Drawing.SystemColors.ControlText;
     this.label6.Location = new System.Drawing.Point(500, 486);
     this.label6.Name = "label6";
     this.label6.Size = new System.Drawing.Size(16, 16);
     this.label6.TabIndex = 36;
     this.label6.Text = "R";
     this.label6.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
     //
     // label5
     //
     this.label5.BackColor = System.Drawing.Color.Transparent;
     this.label5.Font = new System.Drawing.Font("Microsoft Sans Serif", 9F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.label5.ForeColor = System.Drawing.SystemColors.ControlText;
     this.label5.Location = new System.Drawing.Point(480, 486);
     this.label5.Name = "label5";
     this.label5.Size = new System.Drawing.Size(16, 16);
     this.label5.TabIndex = 35;
     this.label5.Text = "L";
     this.label5.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
     //
     // lblRight
     //
     this.lblRight.Location = new System.Drawing.Point(500, 372);
     this.lblRight.Maximum = 1000;
     this.lblRight.Minimum = 200;
     this.lblRight.Name = "lblRight";
     this.lblRight.Size = new System.Drawing.Size(13, 114);
     this.lblRight.Step = 50;
     this.lblRight.TabIndex = 34;
     this.lblRight.Value = 200;
     //
     // lblLeft
     //
     this.lblLeft.Location = new System.Drawing.Point(481, 372);
     this.lblLeft.Maximum = 1000;
     this.lblLeft.Name = "lblLeft";
     this.lblLeft.Size = new System.Drawing.Size(13, 114);
     this.lblLeft.TabIndex = 33;
     //
     // lblSongs
     //
     this.lblSongs.BackColor = System.Drawing.Color.Transparent;
     this.lblSongs.Font = new System.Drawing.Font("Microsoft Sans Serif", 9F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.lblSongs.ForeColor = System.Drawing.SystemColors.ControlText;
     this.lblSongs.Location = new System.Drawing.Point(562, 348);
     this.lblSongs.Name = "lblSongs";
     this.lblSongs.Size = new System.Drawing.Size(32, 22);
     this.lblSongs.TabIndex = 17;
     this.lblSongs.Text = "pp";
     this.lblSongs.TextAlign = System.Drawing.ContentAlignment.TopCenter;
     //
     // groupBox1
     //
     this.groupBox1.BackColor = System.Drawing.Color.Transparent;
     this.groupBox1.Controls.Add(this.lblMovieName);
     this.groupBox1.Controls.Add(this.picMovie);
     this.groupBox1.Controls.Add(this.label1);
     this.groupBox1.Controls.Add(this.lblAlbum);
     this.groupBox1.Controls.Add(this.label2);
     this.groupBox1.Controls.Add(this.lblMusicComposer);
     this.groupBox1.Controls.Add(this.label3);
     this.groupBox1.Controls.Add(this.lblArtist);
     this.groupBox1.Controls.Add(this.label4);
     this.groupBox1.Controls.Add(this.lblSongTitle);
     this.groupBox1.Location = new System.Drawing.Point(16, 367);
     this.groupBox1.Name = "groupBox1";
     this.groupBox1.Size = new System.Drawing.Size(457, 137);
     this.groupBox1.TabIndex = 32;
     this.groupBox1.TabStop = false;
     this.groupBox1.Text = "Current Song Details";
     //
     // lnkAddToPlaylist
     //
     this.lnkAddToPlaylist.ActiveLinkColor = System.Drawing.Color.DeepSkyBlue;
     this.lnkAddToPlaylist.AutoSize = true;
     this.lnkAddToPlaylist.BackColor = System.Drawing.Color.Transparent;
     this.lnkAddToPlaylist.ContextMenuStrip = this.cmnuAddToPlaylist;
     this.lnkAddToPlaylist.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.lnkAddToPlaylist.ForeColor = System.Drawing.Color.DarkTurquoise;
     this.lnkAddToPlaylist.LinkBehavior = System.Windows.Forms.LinkBehavior.HoverUnderline;
     this.lnkAddToPlaylist.LinkColor = System.Drawing.Color.RoyalBlue;
     this.lnkAddToPlaylist.Location = new System.Drawing.Point(363, 351);
     this.lnkAddToPlaylist.Name = "lnkAddToPlaylist";
     this.lnkAddToPlaylist.Size = new System.Drawing.Size(110, 13);
     this.lnkAddToPlaylist.TabIndex = 34;
     this.lnkAddToPlaylist.TabStop = true;
     this.lnkAddToPlaylist.Text = "Add Songs To Playlist";
     //
     // lblMovieName
     //
     this.lblMovieName.Location = new System.Drawing.Point(18, 102);
     this.lblMovieName.Name = "lblMovieName";
     this.lblMovieName.Size = new System.Drawing.Size(78, 30);
     this.lblMovieName.TabIndex = 33;
     //
     // picMovie
     //
     this.picMovie.Location = new System.Drawing.Point(21, 24);
     this.picMovie.Name = "picMovie";
     this.picMovie.Size = new System.Drawing.Size(75, 75);
     this.picMovie.TabIndex = 32;
     this.picMovie.TabStop = false;
     //
     // label1
     //
     this.label1.BackColor = System.Drawing.Color.Transparent;
     this.label1.Font = new System.Drawing.Font("Microsoft Sans Serif", 9F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.label1.ForeColor = System.Drawing.SystemColors.ControlText;
     this.label1.Location = new System.Drawing.Point(110, 33);
     this.label1.Name = "label1";
     this.label1.Size = new System.Drawing.Size(77, 18);
     this.label1.TabIndex = 24;
     this.label1.Text = "Song Title : ";
     //
     // lblAlbum
     //
     this.lblAlbum.BackColor = System.Drawing.Color.Transparent;
     this.lblAlbum.Location = new System.Drawing.Point(196, 107);
     this.lblAlbum.Name = "lblAlbum";
     this.lblAlbum.Size = new System.Drawing.Size(232, 25);
     this.lblAlbum.TabIndex = 31;
     this.lblAlbum.TextAlign = System.Drawing.ContentAlignment.MiddleLeft;
     //
     // label2
     //
     this.label2.BackColor = System.Drawing.Color.Transparent;
     this.label2.Font = new System.Drawing.Font("Microsoft Sans Serif", 9F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.label2.ForeColor = System.Drawing.SystemColors.ControlText;
     this.label2.Location = new System.Drawing.Point(110, 56);
     this.label2.Name = "label2";
     this.label2.Size = new System.Drawing.Size(77, 14);
     this.label2.TabIndex = 25;
     this.label2.Text = "Artist :";
     //
     // lblMusicComposer
     //
     this.lblMusicComposer.BackColor = System.Drawing.Color.Transparent;
     this.lblMusicComposer.Location = new System.Drawing.Point(196, 91);
     this.lblMusicComposer.Name = "lblMusicComposer";
     this.lblMusicComposer.Size = new System.Drawing.Size(232, 14);
     this.lblMusicComposer.TabIndex = 30;
     this.lblMusicComposer.TextAlign = System.Drawing.ContentAlignment.MiddleLeft;
     //
     // label3
     //
     this.label3.BackColor = System.Drawing.Color.Transparent;
     this.label3.Font = new System.Drawing.Font("Microsoft Sans Serif", 9F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.label3.ForeColor = System.Drawing.SystemColors.ControlText;
     this.label3.Location = new System.Drawing.Point(110, 91);
     this.label3.Name = "label3";
     this.label3.Size = new System.Drawing.Size(77, 14);
     this.label3.TabIndex = 26;
     this.label3.Text = "Music Composer :";
     //
     // lblArtist
     //
     this.lblArtist.BackColor = System.Drawing.Color.Transparent;
     this.lblArtist.Location = new System.Drawing.Point(193, 56);
     this.lblArtist.Name = "lblArtist";
     this.lblArtist.Size = new System.Drawing.Size(235, 23);
     this.lblArtist.TabIndex = 29;
     this.lblArtist.TextAlign = System.Drawing.ContentAlignment.MiddleLeft;
     //
     // label4
     //
     this.label4.BackColor = System.Drawing.Color.Transparent;
     this.label4.Font = new System.Drawing.Font("Microsoft Sans Serif", 9F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.label4.ForeColor = System.Drawing.SystemColors.ControlText;
     this.label4.Location = new System.Drawing.Point(110, 112);
     this.label4.Name = "label4";
     this.label4.Size = new System.Drawing.Size(77, 20);
     this.label4.TabIndex = 27;
     this.label4.Text = "Album :";
     //
     // lblSongTitle
     //
     this.lblSongTitle.BackColor = System.Drawing.Color.Transparent;
     this.lblSongTitle.Location = new System.Drawing.Point(193, 33);
     this.lblSongTitle.Name = "lblSongTitle";
     this.lblSongTitle.Size = new System.Drawing.Size(235, 14);
     this.lblSongTitle.TabIndex = 28;
     this.lblSongTitle.TextAlign = System.Drawing.ContentAlignment.MiddleLeft;
     //
     // tnVolume
     //
     this.tnVolume.BackColor = System.Drawing.Color.Transparent;
     this.tnVolume.Enabled = false;
     this.tnVolume.Location = new System.Drawing.Point(540, 366);
     this.tnVolume.Maximum = 100;
     this.tnVolume.Name = "tnVolume";
     this.tnVolume.Orientation = System.Windows.Forms.Orientation.Vertical;
     this.tnVolume.Size = new System.Drawing.Size(45, 126);
     this.tnVolume.TabIndex = 20;
     this.tnVolume.TickStyle = System.Windows.Forms.TickStyle.None;
     this.tnVolume.Scroll += new System.EventHandler(this.tnVolume_Scroll);
     //
     // pnlDeepGrey
     //
     this.pnlDeepGrey.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(102)))), ((int)(((byte)(102)))), ((int)(((byte)(102)))));
     this.pnlDeepGrey.Location = new System.Drawing.Point(232, 54);
     this.pnlDeepGrey.Name = "pnlDeepGrey";
     this.pnlDeepGrey.Size = new System.Drawing.Size(376, 27);
     this.pnlDeepGrey.TabIndex = 7;
     //
     // pnlWhite
     //
     this.pnlWhite.BackColor = System.Drawing.Color.White;
     this.pnlWhite.Location = new System.Drawing.Point(232, 36);
     this.pnlWhite.Name = "pnlWhite";
     this.pnlWhite.Size = new System.Drawing.Size(376, 18);
     this.pnlWhite.TabIndex = 6;
     //
     // pnlBlue
     //
     this.pnlBlue.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(51)))), ((int)(((byte)(102)))), ((int)(((byte)(153)))));
     this.pnlBlue.Location = new System.Drawing.Point(232, 14);
     this.pnlBlue.Name = "pnlBlue";
     this.pnlBlue.Size = new System.Drawing.Size(376, 22);
     this.pnlBlue.TabIndex = 5;
     //
     // pnlGrey
     //
     this.pnlGrey.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(230)))), ((int)(((byte)(230)))), ((int)(((byte)(230)))));
     this.pnlGrey.Location = new System.Drawing.Point(232, 0);
     this.pnlGrey.Name = "pnlGrey";
     this.pnlGrey.Size = new System.Drawing.Size(376, 14);
     this.pnlGrey.TabIndex = 4;
     //
     // pictureBox1
     //
     this.pictureBox1.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(102)))), ((int)(((byte)(102)))), ((int)(((byte)(102)))));
     this.pictureBox1.Image = ((System.Drawing.Image)(resources.GetObject("pictureBox1.Image")));
     this.pictureBox1.Location = new System.Drawing.Point(0, 0);
     this.pictureBox1.Name = "pictureBox1";
     this.pictureBox1.Size = new System.Drawing.Size(232, 81);
     this.pictureBox1.TabIndex = 3;
     this.pictureBox1.TabStop = false;
     //
     // panel2
     //
     this.panel2.BorderStyle = System.Windows.Forms.BorderStyle.Fixed3D;
     this.panel2.Controls.Add(this.ctlRaagaBrowser);
     this.panel2.Location = new System.Drawing.Point(0, 81);
     this.panel2.Name = "panel2";
     this.panel2.Size = new System.Drawing.Size(594, 264);
     this.panel2.TabIndex = 2;
     //
     // ctlRaagaBrowser
     //
     this.ctlRaagaBrowser.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.ctlRaagaBrowser.Enabled = true;
     this.ctlRaagaBrowser.Location = new System.Drawing.Point(0, 0);
     this.ctlRaagaBrowser.OcxState = ((System.Windows.Forms.AxHost.State)(resources.GetObject("ctlRaagaBrowser.OcxState")));
     this.ctlRaagaBrowser.Size = new System.Drawing.Size(628, 262);
     this.ctlRaagaBrowser.TabIndex = 0;
     this.ctlRaagaBrowser.NewWindow2 += new AxSHDocVw.DWebBrowserEvents2_NewWindow2EventHandler(this.ctlRaagaBrowser_NewWindow2);
     this.ctlRaagaBrowser.BeforeNavigate2 += new AxSHDocVw.DWebBrowserEvents2_BeforeNavigate2EventHandler(this.ctlRaagaBrowser_BeforeNavigate2);
     this.ctlRaagaBrowser.DocumentComplete += new AxSHDocVw.DWebBrowserEvents2_DocumentCompleteEventHandler(this.ctlRaagaBrowser_DocumentComplete);
     //
     // cmnuAddToPlaylist
     //
     this.cmnuAddToPlaylist.Items.AddRange(new System.Windows.Forms.ToolStripItem[] {
     this.mnuAddSelectedSongs,
     this.mnuAddAllSongs});
     this.cmnuAddToPlaylist.Name = "cmnuAddToPlaylist";
     this.cmnuAddToPlaylist.Size = new System.Drawing.Size(181, 70);
     this.cmnuAddToPlaylist.Opening += new System.ComponentModel.CancelEventHandler(this.cmnuAddToPlaylist_Opening);
     //
     // mnuAddSelectedSongs
     //
     this.mnuAddSelectedSongs.BackColor = System.Drawing.SystemColors.Control;
     this.mnuAddSelectedSongs.BackgroundImage = global::RaagaHacker.Properties.Resources.metallic_background;
     this.mnuAddSelectedSongs.Name = "mnuAddSelectedSongs";
     this.mnuAddSelectedSongs.Size = new System.Drawing.Size(180, 22);
     this.mnuAddSelectedSongs.Text = "Add Selected Songs";
     this.mnuAddSelectedSongs.Click += new System.EventHandler(this.mnuAddSelectedSongs_Click);
     //
     // mnuAddAllSongs
     //
     this.mnuAddAllSongs.BackgroundImage = global::RaagaHacker.Properties.Resources.metallic_background;
     this.mnuAddAllSongs.Name = "mnuAddAllSongs";
     this.mnuAddAllSongs.Size = new System.Drawing.Size(180, 22);
     this.mnuAddAllSongs.Text = "Add All Songs";
     //
     // frmMain
     //
     this.AutoScaleBaseSize = new System.Drawing.Size(5, 13);
     this.ClientSize = new System.Drawing.Size(694, 516);
     this.Controls.Add(this.c1OutBar1);
     this.Controls.Add(this.panel1);
     this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedSingle;
     this.Icon = ((System.Drawing.Icon)(resources.GetObject("$this.Icon")));
     this.MaximizeBox = false;
     this.Name = "frmMain";
     this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen;
     this.Text = "Untitled - Raaga Hacker v1.0.1";
     this.Closed += new System.EventHandler(this.frmMain_Closed);
     this.Closing += new System.ComponentModel.CancelEventHandler(this.frmMain_Closing);
     this.Load += new System.EventHandler(this.Form1_Load);
     ((System.ComponentModel.ISupportInitialize)(this.c1CommandHolder1)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.c1OutBar1)).EndInit();
     this.c1OutBar1.ResumeLayout(false);
     this.c1OutPage1.ResumeLayout(false);
     this.panel1.ResumeLayout(false);
     this.panel1.PerformLayout();
     this.groupBox1.ResumeLayout(false);
     ((System.ComponentModel.ISupportInitialize)(this.picMovie)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.tnVolume)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.pictureBox1)).EndInit();
     this.panel2.ResumeLayout(false);
     ((System.ComponentModel.ISupportInitialize)(this.ctlRaagaBrowser)).EndInit();
     this.cmnuAddToPlaylist.ResumeLayout(false);
     this.ResumeLayout(false);
 }
Example #10
0
        public Form1()
        {
            InitializeComponent();

            // get complete list of customers
            _customerList = new List <string>();
            var sql = @"SELECT DISTINCT Customers.CompanyName AS [Customer] FROM Customers";
            var da  = new OleDbDataAdapter(sql, GetConnectionString());
            var dt  = new DataTable();

            da.Fill(dt);
            foreach (DataRow dr in dt.Rows)
            {
                _customerList.Add((string)dr["Customer"]);
            }

            // get active customer list
            _activeCustomerList = new List <string>();
            foreach (string customer in Settings.Default.Customers)
            {
                _activeCustomerList.Add(customer);
            }

            // get data into the CachedDataTable
            var dtSales = new CachedDataTable(
                Resources.SqlTemplate,
                Resources.WhereTemplate,
                GetConnectionString());

            dtSales.Fill(_activeCustomerList);

            // assign data to C1FlexPivotPage control
            _c1FlexPivotPage.DataSource = dtSales;

            // show default view
            var fp = _c1FlexPivotPage.FlexPivotEngine;

            fp.BeginUpdate();
            fp.RowFields.Add("Customer");
            fp.ColumnFields.Add("Category");
            fp.ValueFields.Add("Sales");
            fp.EndUpdate();

            // custom filter: customers in the list, customers currently active
            var field  = fp.Fields["Customer"];
            var filter = field.Filter;

            filter.Values           = _customerList;
            filter.ShowValues       = _activeCustomerList.ToArray();
            filter.PropertyChanged += filter_PropertyChanged;

            // load predefined FlexPivot views
            var doc = new XmlDocument();

            doc.LoadXml(Resources.FlexPivotViews);

            // build menu with default FlexPivot views
            var items = _c1FlexPivotPage.MenuGrid.CommandLinks;
            int i     = 0;

            foreach (XmlNode nd in doc.SelectNodes("FlexPivotViews/C1FlexPivot"))
            {
                var cmd = new C1.Win.C1Command.C1Command();
                cmd.Text     = nd.Attributes["id"].Value;
                cmd.UserData = nd;
                cmd.Click   += MenuView_DropDownItemClicked;
                var link = new C1.Win.C1Command.C1CommandLink(cmd);
                if (i == 0)
                {
                    link.Delimiter = true;
                }
                items.Add(link);
                i++;
            }

            // change "OrderDate" caption to "Date" (looks nicer on the UI)
            fp.Fields["OrderDate"].Caption = "Date";

            // make sure Customer field is always in the view
            // (since it is always used at least as a filter)
            _c1FlexPivotPage.Updating += _c1FlexPivotPage_Updating;
        }
 /// <summary>
 /// Required method for Designer support - do not modify
 /// the contents of this method with the code editor.
 /// </summary>
 private void InitializeComponent()
 {
     this.c1MainMenu1      = new C1.Win.C1Command.C1MainMenu();
     this.c1CommandHolder1 = new C1.Win.C1Command.C1CommandHolder();
     this.c1CommandMenu1   = new C1.Win.C1Command.C1CommandMenu();
     this.c1CommandLink2   = new C1.Win.C1Command.C1CommandLink();
     this.c1Command1       = new C1.Win.C1Command.C1Command();
     this.c1CommandLink3   = new C1.Win.C1Command.C1CommandLink();
     this.c1Command2       = new C1.Win.C1Command.C1Command();
     this.c1CommandLink1   = new C1.Win.C1Command.C1CommandLink();
     this.c1CommandLink4   = new C1.Win.C1Command.C1CommandLink();
     this.c1CommandMenu2   = new C1.Win.C1Command.C1CommandMenu();
     this.c1CommandLink5   = new C1.Win.C1Command.C1CommandLink();
     this.c1Command3       = new C1.Win.C1Command.C1Command();
     this.label1           = new System.Windows.Forms.Label();
     ((System.ComponentModel.ISupportInitialize)(this.c1CommandHolder1)).BeginInit();
     this.SuspendLayout();
     //
     // c1MainMenu1
     //
     this.c1MainMenu1.CommandHolder = this.c1CommandHolder1;
     this.c1MainMenu1.CommandLinks.Add(this.c1CommandLink1);
     this.c1MainMenu1.CommandLinks.Add(this.c1CommandLink4);
     this.c1MainMenu1.Dock = System.Windows.Forms.DockStyle.Top;
     this.c1MainMenu1.Name = "c1MainMenu1";
     this.c1MainMenu1.Size = new System.Drawing.Size(296, 22);
     this.c1MainMenu1.Text = "c1MainMenu1";
     //
     // c1CommandHolder1
     //
     this.c1CommandHolder1.Commands.Add(this.c1CommandMenu1);
     this.c1CommandHolder1.Commands.Add(this.c1Command1);
     this.c1CommandHolder1.Commands.Add(this.c1Command2);
     this.c1CommandHolder1.Commands.Add(this.c1CommandMenu2);
     this.c1CommandHolder1.Commands.Add(this.c1Command3);
     this.c1CommandHolder1.Owner = this;
     //
     // c1CommandMenu1
     //
     this.c1CommandMenu1.CommandLinks.Add(this.c1CommandLink2);
     this.c1CommandMenu1.CommandLinks.Add(this.c1CommandLink3);
     this.c1CommandMenu1.Name = "c1CommandMenu1";
     this.c1CommandMenu1.Text = "&Do something on Form2";
     //
     // c1CommandLink2
     //
     this.c1CommandLink2.Command = this.c1Command1;
     this.c1CommandLink2.Text    = "Set foreground";
     //
     // c1Command1
     //
     this.c1Command1.Name   = "c1Command1";
     this.c1Command1.Text   = "Do &1";
     this.c1Command1.Click += new C1.Win.C1Command.ClickEventHandler(this.c1Command1_Click);
     //
     // c1CommandLink3
     //
     this.c1CommandLink3.Command = this.c1Command2;
     this.c1CommandLink3.Text    = "Set background";
     //
     // c1Command2
     //
     this.c1Command2.Name   = "c1Command2";
     this.c1Command2.Text   = "Do &2";
     this.c1Command2.Click += new C1.Win.C1Command.ClickEventHandler(this.c1Command2_Click);
     //
     // c1CommandLink1
     //
     this.c1CommandLink1.Command = this.c1CommandMenu1;
     //
     // c1CommandLink4
     //
     this.c1CommandLink4.Command   = this.c1CommandMenu2;
     this.c1CommandLink4.MergeType = System.Windows.Forms.MenuMerge.MergeItems;
     //
     // c1CommandMenu2
     //
     this.c1CommandMenu2.CommandLinks.Add(this.c1CommandLink5);
     this.c1CommandMenu2.Name = "c1CommandMenu2";
     this.c1CommandMenu2.Text = "&Window";
     //
     // c1CommandLink5
     //
     this.c1CommandLink5.Command = this.c1Command3;
     //
     // c1Command3
     //
     this.c1Command3.Name   = "c1Command3";
     this.c1Command3.Text   = "Maximize Form2";
     this.c1Command3.Click += new C1.Win.C1Command.ClickEventHandler(this.c1Command3_Click);
     //
     // label1
     //
     this.label1.Dock     = System.Windows.Forms.DockStyle.Fill;
     this.label1.Location = new System.Drawing.Point(0, 22);
     this.label1.Name     = "label1";
     this.label1.Size     = new System.Drawing.Size(296, 221);
     this.label1.TabIndex = 1;
     this.label1.Text     = "This is a non-MDI child form. Its main menu  is merged into the main form\'s menu " +
                            "when this form is created.";
     //
     // Form2
     //
     this.AutoScaleBaseSize = new System.Drawing.Size(5, 13);
     this.ClientSize        = new System.Drawing.Size(296, 243);
     this.Controls.AddRange(new System.Windows.Forms.Control[] {
         this.label1,
         this.c1MainMenu1
     });
     this.Name = "Form2";
     this.Text = "Form2";
     ((System.ComponentModel.ISupportInitialize)(this.c1CommandHolder1)).EndInit();
     this.ResumeLayout(false);
 }
Example #12
0
        public Form1()
        {
            // designer
            InitializeComponent();

            // load all interesting tables into a DataSet
            var ds = new DataSet();

            foreach (string table in "Products,Categories,Employees,Customers,Orders,Order Details".Split(','))
            {
                string sql = string.Format("select * from [{0}]", table);
                var    da  = new OleDbDataAdapter(sql, GetConnectionString());
                da.Fill(ds, table);
            }

            // build LINQ query
            var q =
                from detail in ds.Tables["Order Details"].AsEnumerable()
                join product in ds.Tables["Products"].AsEnumerable()
                on detail.Field <int>("ProductID") equals product.Field <int>("ProductID")
                join category in ds.Tables["Categories"].AsEnumerable()
                on product.Field <int>("CategoryID") equals category.Field <int>("CategoryID")
                join order in ds.Tables["Orders"].AsEnumerable()
                on detail.Field <int>("OrderID") equals order.Field <int>("OrderID")
                join customer in ds.Tables["Customers"].AsEnumerable()
                on order.Field <string>("CustomerID") equals customer.Field <string>("CustomerID")
                join employee in ds.Tables["Employees"].AsEnumerable()
                on order.Field <int>("EmployeeID") equals employee.Field <int>("EmployeeID")
                select new
            {
                Sales     = (detail.Field <short>("Quantity") * (double)detail.Field <decimal>("UnitPrice")) * (1 - (double)detail.Field <float>("Discount")),
                OrderDate = order.Field <DateTime>("OrderDate"),
                Product   = product.Field <string>("ProductName"),
                Customer  = customer.Field <string>("CompanyName"),
                Country   = customer.Field <string>("Country"),
                Employee  = employee.Field <string>("FirstName") + " " + employee.Field <string>("LastName"),
                Category  = category.Field <string>("CategoryName")
            };

            // use LINQ query as DataSource
            _c1FlexPivotPage.DataSource = q.ToList();

            // show default view
            var fp = _c1FlexPivotPage.FlexPivotPanel.FlexPivotEngine;

            fp.BeginUpdate();
            fp.RowFields.Add("Country");
            fp.ColumnFields.Add("Category");
            fp.ValueFields.Add("Sales");
            fp.EndUpdate();

            // load predefined FlexPivot views
            var doc = new XmlDocument();

            doc.LoadXml(Properties.Resources.FlexPivotViews);

            // build menu with default FlexPivot views
            var menuView = new C1.Win.C1Command.C1CommandMenu();

            menuView.Text  = "&View";
            menuView.Image = Properties.Resources.Views_small;
            foreach (XmlNode nd in doc.SelectNodes("FlexPivotViews/C1FlexPivot"))
            {
                var cmd = new C1.Win.C1Command.C1Command();
                cmd.Text     = nd.Attributes["id"].Value;
                cmd.UserData = nd;
                cmd.Click   += MenuView_DropDownItemClicked;
                var link = new C1.Win.C1Command.C1CommandLink(cmd);
                menuView.CommandLinks.Add(link);
            }

            // add the new view menu to the toolstrip
            var menuLink = new C1.Win.C1Command.C1CommandLink(menuView);

            _c1FlexPivotPage.ToolBar.CommandLinks.Insert(3, menuLink);
        }