Example #1
0
 /// <summary>
 /// Required method for Designer support - do not modify
 /// the contents of this method with the code editor.
 /// </summary>
 private void InitializeComponent()
 {
     VisalPack.StyleListBoxItemStyle styleListBoxItemStyle1 = new VisalPack.StyleListBoxItemStyle();
     this.listBox1          = new System.Windows.Forms.ListBox();
     this.backgroundWorker1 = new System.ComponentModel.BackgroundWorker();
     this.styleListBox1     = new VisalPack.StyleListBox();
     this.progressBar1      = new System.Windows.Forms.ProgressBar();
     this.SuspendLayout();
     //
     // listBox1
     //
     this.listBox1.FormattingEnabled = true;
     this.listBox1.Location          = new System.Drawing.Point(241, 49);
     this.listBox1.Name     = "listBox1";
     this.listBox1.Size     = new System.Drawing.Size(228, 394);
     this.listBox1.TabIndex = 1;
     //
     // backgroundWorker1
     //
     this.backgroundWorker1.DoWork             += new System.ComponentModel.DoWorkEventHandler(this.backgroundWorker1_DoWork);
     this.backgroundWorker1.RunWorkerCompleted += new System.ComponentModel.RunWorkerCompletedEventHandler(this.backgroundWorker1_RunWorkerCompleted);
     //
     // styleListBox1
     //
     this.styleListBox1.BackColor                 = System.Drawing.Color.White;
     this.styleListBox1.BorderStyle               = System.Windows.Forms.BorderStyle.FixedSingle;
     styleListBoxItemStyle1.BackColor             = System.Drawing.Color.White;
     styleListBoxItemStyle1.Font                  = new System.Drawing.Font("Microsoft Sans Serif", 8.25F);
     styleListBoxItemStyle1.ImageAlignment        = VisalPack.StyleItemAlignment.None;
     styleListBoxItemStyle1.Padding               = new System.Windows.Forms.Padding(2);
     styleListBoxItemStyle1.SelectedBackColor     = System.Drawing.Color.Blue;
     styleListBoxItemStyle1.SelectedTextColor     = System.Drawing.Color.White;
     styleListBoxItemStyle1.SelectionStyle        = VisalPack.SelectionStyle.Flat;
     styleListBoxItemStyle1.TextAlignment         = VisalPack.StyleItemAlignment.None;
     styleListBoxItemStyle1.TextColor             = System.Drawing.Color.Black;
     styleListBoxItemStyle1.TextVerticalAlignment = VisalPack.StyleItemVerticalAlignment.None;
     this.styleListBox1.DefaultItemStyle          = styleListBoxItemStyle1;
     this.styleListBox1.FocuedIndex               = 0;
     this.styleListBox1.ImageList                 = null;
     this.styleListBox1.Location                  = new System.Drawing.Point(12, 49);
     this.styleListBox1.Name          = "styleListBox1";
     this.styleListBox1.SelectedIndex = -1;
     this.styleListBox1.SelectionMode = System.Windows.Forms.SelectionMode.One;
     this.styleListBox1.Size          = new System.Drawing.Size(221, 394);
     this.styleListBox1.TabIndex      = 0;
     //
     // progressBar1
     //
     this.progressBar1.Location = new System.Drawing.Point(12, 12);
     this.progressBar1.Name     = "progressBar1";
     this.progressBar1.Size     = new System.Drawing.Size(458, 31);
     this.progressBar1.TabIndex = 2;
     //
     // frmMillionItem
     //
     this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
     this.AutoScaleMode       = System.Windows.Forms.AutoScaleMode.Font;
     this.ClientSize          = new System.Drawing.Size(481, 454);
     this.Controls.Add(this.progressBar1);
     this.Controls.Add(this.listBox1);
     this.Controls.Add(this.styleListBox1);
     this.Name  = "frmMillionItem";
     this.Text  = "frmMillionItem";
     this.Load += new System.EventHandler(this.frmMillionItem_Load);
     this.ResumeLayout(false);
 }
Example #2
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(frmDriveList));
     VisalPack.StyleListBoxItemStyle styleListBoxItemStyle2   = new VisalPack.StyleListBoxItemStyle();
     this.imageList1    = new System.Windows.Forms.ImageList(this.components);
     this.styleListBox1 = new VisalPack.StyleListBox();
     this.panel1        = new System.Windows.Forms.Panel();
     this.label1        = new System.Windows.Forms.Label();
     this.button1       = new System.Windows.Forms.Button();
     this.panel1.SuspendLayout();
     this.SuspendLayout();
     //
     // imageList1
     //
     this.imageList1.ImageStream      = ((System.Windows.Forms.ImageListStreamer)(resources.GetObject("imageList1.ImageStream")));
     this.imageList1.TransparentColor = System.Drawing.Color.Transparent;
     this.imageList1.Images.SetKeyName(0, "1401821954_drive-harddisk.png");
     //
     // styleListBox1
     //
     this.styleListBox1.BackColor             = System.Drawing.Color.White;
     styleListBoxItemStyle2.BackColor         = System.Drawing.Color.White;
     styleListBoxItemStyle2.Font              = new System.Drawing.Font("Microsoft Sans Serif", 8.25F);
     styleListBoxItemStyle2.Padding           = new System.Windows.Forms.Padding(2);
     styleListBoxItemStyle2.SelectedBackColor = System.Drawing.Color.FromArgb(((int)(((byte)(224)))), ((int)(((byte)(224)))), ((int)(((byte)(224)))));
     styleListBoxItemStyle2.SelectedTextColor = System.Drawing.Color.Black;
     styleListBoxItemStyle2.SelectionStyle    = VisalPack.SelectionStyle.Flat;
     styleListBoxItemStyle2.TextColor         = System.Drawing.Color.Black;
     this.styleListBox1.DefaultItemStyle      = styleListBoxItemStyle2;
     this.styleListBox1.ImageList             = this.imageList1;
     this.styleListBox1.Location              = new System.Drawing.Point(7, 7);
     this.styleListBox1.Name          = "styleListBox1";
     this.styleListBox1.SelectionMode = System.Windows.Forms.SelectionMode.One;
     this.styleListBox1.Size          = new System.Drawing.Size(510, 210);
     this.styleListBox1.TabIndex      = 0;
     //
     // panel1
     //
     this.panel1.BackColor   = System.Drawing.Color.White;
     this.panel1.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
     this.panel1.Controls.Add(this.styleListBox1);
     this.panel1.Location = new System.Drawing.Point(12, 35);
     this.panel1.Name     = "panel1";
     this.panel1.Size     = new System.Drawing.Size(526, 228);
     this.panel1.TabIndex = 1;
     //
     // label1
     //
     this.label1.AutoSize = true;
     this.label1.Location = new System.Drawing.Point(13, 15);
     this.label1.Name     = "label1";
     this.label1.Size     = new System.Drawing.Size(201, 13);
     this.label1.TabIndex = 2;
     this.label1.Text     = "Please select drive that you want to scan";
     //
     // button1
     //
     this.button1.Location = new System.Drawing.Point(419, 273);
     this.button1.Name     = "button1";
     this.button1.Size     = new System.Drawing.Size(118, 32);
     this.button1.TabIndex = 3;
     this.button1.Text     = "Scan";
     this.button1.UseVisualStyleBackColor = true;
     //
     // frmDriveList
     //
     this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
     this.AutoScaleMode       = System.Windows.Forms.AutoScaleMode.Font;
     this.ClientSize          = new System.Drawing.Size(553, 313);
     this.Controls.Add(this.button1);
     this.Controls.Add(this.label1);
     this.Controls.Add(this.panel1);
     this.Name  = "frmDriveList";
     this.Text  = "frmDriveList";
     this.Load += new System.EventHandler(this.frmDriveList_Load);
     this.panel1.ResumeLayout(false);
     this.ResumeLayout(false);
     this.PerformLayout();
 }
 /// <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(frmDesigner));
     VisalPack.StyleListBoxItemStyle styleListBoxItemStyle2   = new VisalPack.StyleListBoxItemStyle();
     this.propertyGrid2 = new System.Windows.Forms.PropertyGrid();
     this.imageList1    = new System.Windows.Forms.ImageList(this.components);
     this.styleListBox1 = new VisalPack.StyleListBox();
     this.SuspendLayout();
     //
     // propertyGrid2
     //
     this.propertyGrid2.Location = new System.Drawing.Point(216, 9);
     this.propertyGrid2.Name     = "propertyGrid2";
     this.propertyGrid2.Size     = new System.Drawing.Size(379, 480);
     this.propertyGrid2.TabIndex = 9;
     //
     // imageList1
     //
     this.imageList1.ImageStream      = ((System.Windows.Forms.ImageListStreamer)(resources.GetObject("imageList1.ImageStream")));
     this.imageList1.TransparentColor = System.Drawing.Color.Transparent;
     this.imageList1.Images.SetKeyName(0, "CallHierarchy.png");
     this.imageList1.Images.SetKeyName(1, "CallsFrom(ambiguous)_8526.png");
     this.imageList1.Images.SetKeyName(2, "CallsTo(ambiguous)_8527.png");
     this.imageList1.Images.SetKeyName(3, "CanvasElement_10701.png");
     this.imageList1.Images.SetKeyName(4, "CatalogZone_6015.png");
     this.imageList1.Images.SetKeyName(5, "cctprojectnode_ID09.png");
     this.imageList1.Images.SetKeyName(6, "cctprojectnode_ID10.png");
     this.imageList1.Images.SetKeyName(7, "CheckBox_669.png");
     this.imageList1.Images.SetKeyName(8, "CheckBoxList_727.png");
     this.imageList1.Images.SetKeyName(9, "Class_489.png");
     this.imageList1.Images.SetKeyName(10, "ClassandMethodreference(ambiguous)_8528.png");
     this.imageList1.Images.SetKeyName(11, "ClassandMethodreference_6228.png");
     this.imageList1.Images.SetKeyName(12, "Class-Friend_491.png");
     this.imageList1.Images.SetKeyName(13, "ClassIcon.png");
     this.imageList1.Images.SetKeyName(14, "Class-Private_493.png");
     //
     // styleListBox1
     //
     this.styleListBox1.BackColor                 = System.Drawing.SystemColors.ButtonHighlight;
     this.styleListBox1.BorderStyle               = System.Windows.Forms.BorderStyle.FixedSingle;
     styleListBoxItemStyle2.BackColor             = System.Drawing.Color.White;
     styleListBoxItemStyle2.Font                  = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     styleListBoxItemStyle2.ImageAlignment        = VisalPack.StyleItemAlignment.None;
     styleListBoxItemStyle2.Padding               = new System.Windows.Forms.Padding(2);
     styleListBoxItemStyle2.SelectedBackColor     = System.Drawing.Color.Blue;
     styleListBoxItemStyle2.SelectedTextColor     = System.Drawing.Color.White;
     styleListBoxItemStyle2.SelectionStyle        = VisalPack.SelectionStyle.Inherited;
     styleListBoxItemStyle2.TextAlignment         = VisalPack.StyleItemAlignment.None;
     styleListBoxItemStyle2.TextColor             = System.Drawing.Color.Black;
     styleListBoxItemStyle2.TextVerticalAlignment = VisalPack.StyleItemVerticalAlignment.None;
     this.styleListBox1.DefaultItemStyle          = styleListBoxItemStyle2;
     this.styleListBox1.FocuedIndex               = 0;
     this.styleListBox1.ImageList                 = this.imageList1;
     this.styleListBox1.Location                  = new System.Drawing.Point(12, 12);
     this.styleListBox1.Name                  = "styleListBox1";
     this.styleListBox1.Padding               = new System.Windows.Forms.Padding(5);
     this.styleListBox1.SelectedIndex         = -1;
     this.styleListBox1.SelectionMode         = System.Windows.Forms.SelectionMode.MultiExtended;
     this.styleListBox1.Size                  = new System.Drawing.Size(198, 477);
     this.styleListBox1.TabIndex              = 2;
     this.styleListBox1.SelectedIndexChanged += new System.EventHandler(this.styleListBox1_SelectedIndexChanged);
     //
     // frmDesigner
     //
     this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
     this.AutoScaleMode       = System.Windows.Forms.AutoScaleMode.Font;
     this.ClientSize          = new System.Drawing.Size(603, 501);
     this.Controls.Add(this.propertyGrid2);
     this.Controls.Add(this.styleListBox1);
     this.Name  = "frmDesigner";
     this.Text  = "Designer";
     this.Load += new System.EventHandler(this.Form1_Load);
     this.ResumeLayout(false);
 }
Example #4
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();
     VisalPack.StyleListBoxItemStyle styleListBoxItemStyle1   = new VisalPack.StyleListBoxItemStyle();
     System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(frmMain));
     this.styleListBox1 = new VisalPack.StyleListBox();
     this.label1        = new System.Windows.Forms.Label();
     this.imageList1    = new System.Windows.Forms.ImageList(this.components);
     this.SuspendLayout();
     //
     // styleListBox1
     //
     this.styleListBox1.BackColor                 = System.Drawing.Color.White;
     this.styleListBox1.BorderStyle               = System.Windows.Forms.BorderStyle.FixedSingle;
     styleListBoxItemStyle1.BackColor             = System.Drawing.Color.White;
     styleListBoxItemStyle1.Font                  = new System.Drawing.Font("Microsoft Sans Serif", 8.25F);
     styleListBoxItemStyle1.ImageAlignment        = VisalPack.StyleItemAlignment.None;
     styleListBoxItemStyle1.Padding               = new System.Windows.Forms.Padding(2);
     styleListBoxItemStyle1.SelectedBackColor     = System.Drawing.Color.Blue;
     styleListBoxItemStyle1.SelectedTextColor     = System.Drawing.Color.White;
     styleListBoxItemStyle1.SelectionStyle        = VisalPack.SelectionStyle.Flat;
     styleListBoxItemStyle1.TextAlignment         = VisalPack.StyleItemAlignment.None;
     styleListBoxItemStyle1.TextColor             = System.Drawing.Color.Black;
     styleListBoxItemStyle1.TextVerticalAlignment = VisalPack.StyleItemVerticalAlignment.None;
     this.styleListBox1.DefaultItemStyle          = styleListBoxItemStyle1;
     this.styleListBox1.FocuedIndex               = 0;
     this.styleListBox1.ImageList                 = null;
     this.styleListBox1.Location                  = new System.Drawing.Point(12, 35);
     this.styleListBox1.Name               = "styleListBox1";
     this.styleListBox1.SelectedIndex      = -1;
     this.styleListBox1.SelectionMode      = System.Windows.Forms.SelectionMode.One;
     this.styleListBox1.Size               = new System.Drawing.Size(250, 386);
     this.styleListBox1.TabIndex           = 0;
     this.styleListBox1.ItemClicked       += new System.EventHandler <VisalPack.EventItemArgs>(this.styleListBox1_ItemClicked);
     this.styleListBox1.ItemDoubleClicked += new System.EventHandler <VisalPack.EventItemArgs>(this.styleListBox1_ItemDoubleClicked);
     this.styleListBox1.DoubleClick       += new System.EventHandler(this.styleListBox1_DoubleClick);
     //
     // label1
     //
     this.label1.AutoSize = true;
     this.label1.Location = new System.Drawing.Point(15, 13);
     this.label1.Name     = "label1";
     this.label1.Size     = new System.Drawing.Size(209, 13);
     this.label1.TabIndex = 1;
     this.label1.Text     = "Double click to view StyleListBox in action.";
     //
     // imageList1
     //
     this.imageList1.ImageStream      = ((System.Windows.Forms.ImageListStreamer)(resources.GetObject("imageList1.ImageStream")));
     this.imageList1.TransparentColor = System.Drawing.Color.Transparent;
     this.imageList1.Images.SetKeyName(0, "icon_circle");
     this.imageList1.Images.SetKeyName(1, "icon_tick");
     this.imageList1.Images.SetKeyName(2, "icon_alert");
     //
     // frmMain
     //
     this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
     this.AutoScaleMode       = System.Windows.Forms.AutoScaleMode.Font;
     this.ClientSize          = new System.Drawing.Size(271, 433);
     this.Controls.Add(this.label1);
     this.Controls.Add(this.styleListBox1);
     this.MaximizeBox = false;
     this.MinimizeBox = false;
     this.Name        = "frmMain";
     this.Text        = "Demo";
     this.Load       += new System.EventHandler(this.frmMain_Load);
     this.ResumeLayout(false);
     this.PerformLayout();
 }