示例#1
0
 /// <summary>
 /// Required method for Designer support - do not modify
 /// the contents of this method with the code editor.
 /// </summary>
 private void InitializeComponent()
 {
     SzNPProjects.RichListViewColumn richListViewColumn1 = new SzNPProjects.RichListViewColumn();
     SzNPProjects.RichListViewColumn richListViewColumn2 = new SzNPProjects.RichListViewColumn();
     this.richListView1 = new SzNPProjects.RichListView();
     this.SuspendLayout();
     //
     // richListView1
     //
     this.richListView1.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.richListView1.AutoScroll     = true;
     this.richListView1.BackColor      = System.Drawing.Color.Black;
     this.richListView1.ColumnAutoFill = true;
     richListViewColumn1.Text          = "Na most már elvileg működik";
     richListViewColumn1.Width         = 100;
     richListViewColumn2.Text          = "Újabb oszlop";
     richListViewColumn2.Width         = 100;
     this.richListView1.Columns        = new SzNPProjects.RichListViewColumn[] {
         richListViewColumn1,
         richListViewColumn2
     };
     this.richListView1.ForeColor    = System.Drawing.Color.Aqua;
     this.richListView1.HeaderHeight = 0;
     this.richListView1.ItemHeight   = 50;
     this.richListView1.Location     = new System.Drawing.Point(12, 12);
     this.richListView1.Name         = "richListView1";
     this.richListView1.Size         = new System.Drawing.Size(762, 415);
     this.richListView1.TabIndex     = 0;
     //
     // Form1
     //
     this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
     this.AutoScaleMode       = System.Windows.Forms.AutoScaleMode.Font;
     this.BackColor           = System.Drawing.Color.Navy;
     this.ClientSize          = new System.Drawing.Size(786, 439);
     this.Controls.Add(this.richListView1);
     this.ForeColor = System.Drawing.Color.Aqua;
     this.Name      = "Form1";
     this.Text      = "Test Form";
     this.ResumeLayout(false);
 }
示例#2
0
 /// <summary>
 /// Required method for Designer support - do not modify
 /// the contents of this method with the code editor.
 /// </summary>
 private void InitializeComponent()
 {
     SzNPProjects.RichListViewColumn richListViewColumn1 = new SzNPProjects.RichListViewColumn();
     SzNPProjects.RichListViewColumn richListViewColumn2 = new SzNPProjects.RichListViewColumn();
     this.hidebtn       = new System.Windows.Forms.Button();
     this.showbtn       = new System.Windows.Forms.Button();
     this.richListView1 = new SzNPProjects.RichListView();
     this.redrawoffbtn  = new System.Windows.Forms.Button();
     this.redrawonbtn   = new System.Windows.Forms.Button();
     this.SuspendLayout();
     //
     // hidebtn
     //
     this.hidebtn.Anchor    = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)));
     this.hidebtn.FlatStyle = System.Windows.Forms.FlatStyle.Flat;
     this.hidebtn.Location  = new System.Drawing.Point(305, 404);
     this.hidebtn.Name      = "hidebtn";
     this.hidebtn.Size      = new System.Drawing.Size(75, 23);
     this.hidebtn.TabIndex  = 1;
     this.hidebtn.Text      = "Hide";
     this.hidebtn.UseVisualStyleBackColor = true;
     this.hidebtn.Click += new System.EventHandler(this.hidebtn_Click);
     //
     // showbtn
     //
     this.showbtn.Anchor    = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)));
     this.showbtn.FlatStyle = System.Windows.Forms.FlatStyle.Flat;
     this.showbtn.Location  = new System.Drawing.Point(386, 404);
     this.showbtn.Name      = "showbtn";
     this.showbtn.Size      = new System.Drawing.Size(75, 23);
     this.showbtn.TabIndex  = 2;
     this.showbtn.Text      = "Show";
     this.showbtn.UseVisualStyleBackColor = true;
     this.showbtn.Click += new System.EventHandler(this.showbtn_Click);
     //
     // richListView1
     //
     this.richListView1.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.richListView1.AutoScroll     = true;
     this.richListView1.AutoUpdate     = false;
     this.richListView1.AutoValidate   = System.Windows.Forms.AutoValidate.Disable;
     this.richListView1.BackColor      = System.Drawing.Color.Black;
     this.richListView1.ColumnAutoFill = true;
     richListViewColumn1.Text          = "Na most már elvileg működik";
     richListViewColumn1.Width         = 100;
     richListViewColumn2.Text          = "Újabb oszlop";
     richListViewColumn2.Width         = 100;
     this.richListView1.Columns        = new SzNPProjects.RichListViewColumn[] {
         richListViewColumn1,
         richListViewColumn2
     };
     this.richListView1.ForeColor          = System.Drawing.Color.Aqua;
     this.richListView1.HeaderHeight       = 20;
     this.richListView1.ItemHeight         = 50;
     this.richListView1.Location           = new System.Drawing.Point(12, 12);
     this.richListView1.Name               = "richListView1";
     this.richListView1.Size               = new System.Drawing.Size(762, 381);
     this.richListView1.TabIndex           = 0;
     this.richListView1.ItemClicked       += new System.EventHandler <int>(this.richListView1_ItemClicked);
     this.richListView1.ItemDoubleClicked += new System.EventHandler <int>(this.richListView1_ItemDoubleClicked);
     //
     // redrawoffbtn
     //
     this.redrawoffbtn.Anchor    = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)));
     this.redrawoffbtn.FlatStyle = System.Windows.Forms.FlatStyle.Flat;
     this.redrawoffbtn.Location  = new System.Drawing.Point(468, 404);
     this.redrawoffbtn.Name      = "redrawoffbtn";
     this.redrawoffbtn.Size      = new System.Drawing.Size(75, 23);
     this.redrawoffbtn.TabIndex  = 3;
     this.redrawoffbtn.Text      = "Redraw off";
     this.redrawoffbtn.UseVisualStyleBackColor = true;
     this.redrawoffbtn.Click += new System.EventHandler(this.redrawoffbtn_Click);
     //
     // redrawonbtn
     //
     this.redrawonbtn.Anchor    = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)));
     this.redrawonbtn.FlatStyle = System.Windows.Forms.FlatStyle.Flat;
     this.redrawonbtn.Location  = new System.Drawing.Point(550, 404);
     this.redrawonbtn.Name      = "redrawonbtn";
     this.redrawonbtn.Size      = new System.Drawing.Size(75, 23);
     this.redrawonbtn.TabIndex  = 4;
     this.redrawonbtn.Text      = "Redraw on";
     this.redrawonbtn.UseVisualStyleBackColor = true;
     this.redrawonbtn.Click += new System.EventHandler(this.redrawonbtn_Click);
     //
     // Form1
     //
     this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
     this.AutoScaleMode       = System.Windows.Forms.AutoScaleMode.Font;
     this.BackColor           = System.Drawing.Color.Navy;
     this.ClientSize          = new System.Drawing.Size(786, 439);
     this.Controls.Add(this.redrawonbtn);
     this.Controls.Add(this.redrawoffbtn);
     this.Controls.Add(this.showbtn);
     this.Controls.Add(this.hidebtn);
     this.Controls.Add(this.richListView1);
     this.ForeColor = System.Drawing.Color.Aqua;
     this.Name      = "Form1";
     this.Text      = "Test Form";
     this.ResumeLayout(false);
 }