0% found this document useful (0 votes)
21 views3 pages

Form Designer Code

The document contains the designer code for a Windows Forms application named 'OnlineDataUpload'. It defines a form (Form1) with various UI components including buttons, a text box, and a data grid view, along with their properties and event handlers. The code also includes methods for resource management and initialization of the form's components.

Uploaded by

Kunal Singh
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
21 views3 pages

Form Designer Code

The document contains the designer code for a Windows Forms application named 'OnlineDataUpload'. It defines a form (Form1) with various UI components including buttons, a text box, and a data grid view, along with their properties and event handlers. The code also includes methods for resource management and initialization of the form's components.

Uploaded by

Kunal Singh
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 3

...g\OnlineDataUpload\OnlineDataUpload\Form1.Designer.

cs 1
1 namespace OnlineDataUpload
2 {
3 partial class Form1
4 {
5 /// <summary>
6 /// Required designer variable.
7 /// </summary>
8 private System.ComponentModel.IContainer components = null;
9
10 /// <summary>
11 /// Clean up any resources being used.
12 /// </summary>
13 /// <param name="disposing">true if managed resources should be
disposed; otherwise, false.</param>
14 protected override void Dispose(bool disposing)
15 {
16 if (disposing && (components != null))
17 {
18 components.Dispose();
19 }
20 base.Dispose(disposing);
21 }
22
23 #region Windows Form Designer generated code
24
25 /// <summary>
26 /// Required method for Designer support - do not modify
27 /// the contents of this method with the code editor.
28 /// </summary>
29 private void InitializeComponent()
30 {
31 this.cmdShow = new System.Windows.Forms.Button();
32 this.textBox2 = new System.Windows.Forms.TextBox();
33 this.grdBillData = new System.Windows.Forms.DataGridView();
34 this.cmdUpload = new System.Windows.Forms.Button();
35 this.button1 = new System.Windows.Forms.Button();
36 ((System.ComponentModel.ISupportInitialize)
(this.grdBillData)).BeginInit();
37 this.SuspendLayout();
38 //
39 // cmdShow
40 //
41 this.cmdShow.Location = new System.Drawing.Point(178, 224);
42 this.cmdShow.Name = "cmdShow";
43 this.cmdShow.Size = new System.Drawing.Size(164, 55);
44 this.cmdShow.TabIndex = 0;
45 this.cmdShow.Text = "Show";
46 this.cmdShow.UseVisualStyleBackColor = true;
47 this.cmdShow.Click += new System.EventHandler
...g\OnlineDataUpload\OnlineDataUpload\Form1.Designer.cs 2
(this.button1_Click);
48 //
49 // textBox2
50 //
51 this.textBox2.Location = new System.Drawing.Point(211, 119);
52 this.textBox2.Name = "textBox2";
53 this.textBox2.Size = new System.Drawing.Size(186, 26);
54 this.textBox2.TabIndex = 2;
55 //
56 // grdBillData
57 //
58 this.grdBillData.ColumnHeadersHeightSizeMode =
System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode
.AutoSize;
59 this.grdBillData.Location = new System.Drawing.Point(821, 40);
60 this.grdBillData.Name = "grdBillData";
61 this.grdBillData.RowHeadersWidth = 62;
62 this.grdBillData.RowTemplate.Height = 28;
63 this.grdBillData.Size = new System.Drawing.Size(472, 476);
64 this.grdBillData.TabIndex = 3;
65 //
66 // cmdUpload
67 //
68 this.cmdUpload.Location = new System.Drawing.Point(482, 297);
69 this.cmdUpload.Name = "cmdUpload";
70 this.cmdUpload.Size = new System.Drawing.Size(192, 82);
71 this.cmdUpload.TabIndex = 4;
72 this.cmdUpload.Text = "Upload Data";
73 this.cmdUpload.UseVisualStyleBackColor = true;
74 this.cmdUpload.Click += new System.EventHandler
(this.cmdUpload_Click);
75 //
76 // button1
77 //
78 this.button1.Location = new System.Drawing.Point(314, 426);
79 this.button1.Name = "button1";
80 this.button1.Size = new System.Drawing.Size(175, 90);
81 this.button1.TabIndex = 5;
82 this.button1.Text = "button1";
83 this.button1.UseVisualStyleBackColor = true;
84 this.button1.Click += new System.EventHandler
(this.button1_Click_1);
85 //
86 // Form1
87 //
88 this.AutoScaleDimensions = new System.Drawing.SizeF(9F, 20F);
89 this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
90 this.ClientSize = new System.Drawing.Size(1332, 665);
91 this.Controls.Add(this.button1);
...g\OnlineDataUpload\OnlineDataUpload\Form1.Designer.cs 3
92 this.Controls.Add(this.cmdUpload);
93 this.Controls.Add(this.grdBillData);
94 this.Controls.Add(this.textBox2);
95 this.Controls.Add(this.cmdShow);
96 this.Name = "Form1";
97 this.Text = "Form1";
98 ((System.ComponentModel.ISupportInitialize)
(this.grdBillData)).EndInit();
99 this.ResumeLayout(false);
100 this.PerformLayout();
101
102 }
103
104 #endregion
105
106 private System.Windows.Forms.Button cmdShow;
107 private System.Windows.Forms.TextBox textBox2;
108 private System.Windows.Forms.DataGridView grdBillData;
109 private System.Windows.Forms.Button cmdUpload;
110 private System.Windows.Forms.Button button1;
111 }
112 }
113
114

You might also like