-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathForm1.Designer.vb
126 lines (118 loc) · 4.56 KB
/
Form1.Designer.vb
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
' Developer Express Code Central Example:
' How to implement CRUD operations using XtraGrid and LinqServeModeSource
'
' This example demonstrates how to implement create, update and delete operations
' using XtraGrid and LinqServeModeSource.
' This example works with the standard
' SQL Northwind database.
'
' You can find sample updates and versions for different programming languages here:
' http://www.devexpress.com/example=E4498
Imports Microsoft.VisualBasic
Imports System
Namespace LinqServerModeSource
Partial Public Class Form1
''' <summary>
''' Required designer variable.
''' </summary>
Private components As System.ComponentModel.IContainer = Nothing
''' <summary>
''' Clean up any resources being used.
''' </summary>
''' <param name="disposing">true if managed resources should be disposed; otherwise, false.</param>
Protected Overrides Sub Dispose(ByVal disposing As Boolean)
If disposing AndAlso (components IsNot Nothing) Then
components.Dispose()
End If
MyBase.Dispose(disposing)
End Sub
#Region "Windows Form Designer generated code"
''' <summary>
''' Required method for Designer support - do not modify
''' the contents of this method with the code editor.
''' </summary>
Private Sub InitializeComponent()
Me.gridControl = New DevExpress.XtraGrid.GridControl()
Me.gridView1 = New DevExpress.XtraGrid.Views.Grid.GridView()
Me.linqServerModeSource1 = New DevExpress.Data.Linq.LinqServerModeSource()
Me.button1 = New System.Windows.Forms.Button()
Me.button2 = New System.Windows.Forms.Button()
Me.button3 = New System.Windows.Forms.Button()
CType(Me.gridControl, System.ComponentModel.ISupportInitialize).BeginInit()
CType(Me.gridView1, System.ComponentModel.ISupportInitialize).BeginInit()
CType(Me.linqServerModeSource1, System.ComponentModel.ISupportInitialize).BeginInit()
Me.SuspendLayout()
'
' gridControl
'
Me.gridControl.Dock = System.Windows.Forms.DockStyle.Top
Me.gridControl.Location = New System.Drawing.Point(0, 0)
Me.gridControl.MainView = Me.gridView1
Me.gridControl.Name = "gridControl"
Me.gridControl.Size = New System.Drawing.Size(778, 519)
Me.gridControl.TabIndex = 0
Me.gridControl.ViewCollection.AddRange(New DevExpress.XtraGrid.Views.Base.BaseView() { Me.gridView1})
'
' gridView1
'
Me.gridView1.BorderStyle = DevExpress.XtraEditors.Controls.BorderStyles.Simple
Me.gridView1.GridControl = Me.gridControl
Me.gridView1.Name = "gridView1"
'
' button1
'
Me.button1.Location = New System.Drawing.Point(196, 538)
Me.button1.Name = "button1"
Me.button1.Size = New System.Drawing.Size(75, 23)
Me.button1.TabIndex = 1
Me.button1.Text = "Add"
Me.button1.UseVisualStyleBackColor = True
' Me.button1.Click += New System.EventHandler(Me.button1_Click);
'
' button2
'
Me.button2.Location = New System.Drawing.Point(324, 538)
Me.button2.Name = "button2"
Me.button2.Size = New System.Drawing.Size(75, 23)
Me.button2.TabIndex = 2
Me.button2.Text = "Edit"
Me.button2.UseVisualStyleBackColor = True
' Me.button2.Click += New System.EventHandler(Me.button2_Click);
'
' button3
'
Me.button3.Location = New System.Drawing.Point(452, 538)
Me.button3.Name = "button3"
Me.button3.Size = New System.Drawing.Size(75, 23)
Me.button3.TabIndex = 3
Me.button3.Text = "Delete"
Me.button3.UseVisualStyleBackColor = True
' Me.button3.Click += New System.EventHandler(Me.button3_Click);
'
' Form1
'
Me.AutoScaleDimensions = New System.Drawing.SizeF(6F, 13F)
Me.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font
Me.ClientSize = New System.Drawing.Size(778, 573)
Me.Controls.Add(Me.button3)
Me.Controls.Add(Me.button2)
Me.Controls.Add(Me.button1)
Me.Controls.Add(Me.gridControl)
Me.LookAndFeel.SkinName = "Foggy"
Me.LookAndFeel.UseDefaultLookAndFeel = False
Me.Name = "Form1"
Me.Text = "Form1"
CType(Me.gridControl, System.ComponentModel.ISupportInitialize).EndInit()
CType(Me.gridView1, System.ComponentModel.ISupportInitialize).EndInit()
CType(Me.linqServerModeSource1, System.ComponentModel.ISupportInitialize).EndInit()
Me.ResumeLayout(False)
End Sub
#End Region
Private gridControl As DevExpress.XtraGrid.GridControl
Private gridView1 As DevExpress.XtraGrid.Views.Grid.GridView
Private linqServerModeSource1 As DevExpress.Data.Linq.LinqServerModeSource
Private WithEvents button1 As System.Windows.Forms.Button
Private WithEvents button2 As System.Windows.Forms.Button
Private WithEvents button3 As System.Windows.Forms.Button
End Class
End Namespace