• R/O
  • SSH
  • HTTPS

Commit

Tags
No Tags

Frequently used words (click to add to your profile)

javac++androidlinuxc#windowsobjective-ccocoa誰得qtpythonphprubygameguibathyscaphec計画中(planning stage)翻訳omegatframeworktwitterdomtestvb.netdirectxゲームエンジンbtronarduinopreviewer

練習用です。いろんなものがごちゃまぜです。


Commit MetaInfo

Revision87 (tree)
Time2015-11-27 10:16:26
Authorbellyoshi

Log Message

Change Summary

Incremental Difference

--- vb2010/vb2010/frmMenu.Designer.vb (revision 86)
+++ vb2010/vb2010/frmMenu.Designer.vb (revision 87)
@@ -27,6 +27,7 @@
2727 Me.Button3 = New System.Windows.Forms.Button()
2828 Me.Button4 = New System.Windows.Forms.Button()
2929 Me.Button5 = New System.Windows.Forms.Button()
30+ Me.Button6 = New System.Windows.Forms.Button()
3031 Me.SuspendLayout()
3132 '
3233 'Button1
@@ -71,14 +72,24 @@
7172 Me.Button5.Name = "Button5"
7273 Me.Button5.Size = New System.Drawing.Size(157, 23)
7374 Me.Button5.TabIndex = 0
74- Me.Button5.Text = "Button1"
75+ Me.Button5.Text = "値型と参照型"
7576 Me.Button5.UseVisualStyleBackColor = True
7677 '
78+ 'Button6
79+ '
80+ Me.Button6.Location = New System.Drawing.Point(26, 167)
81+ Me.Button6.Name = "Button6"
82+ Me.Button6.Size = New System.Drawing.Size(157, 23)
83+ Me.Button6.TabIndex = 0
84+ Me.Button6.Text = "Button1"
85+ Me.Button6.UseVisualStyleBackColor = True
86+ '
7787 'frmMenu
7888 '
7989 Me.AutoScaleDimensions = New System.Drawing.SizeF(8.0!, 15.0!)
8090 Me.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font
8191 Me.ClientSize = New System.Drawing.Size(747, 253)
92+ Me.Controls.Add(Me.Button6)
8293 Me.Controls.Add(Me.Button5)
8394 Me.Controls.Add(Me.Button4)
8495 Me.Controls.Add(Me.Button3)
@@ -95,4 +106,5 @@
95106 Friend WithEvents Button3 As Button
96107 Friend WithEvents Button4 As Button
97108 Friend WithEvents Button5 As Button
109+ Friend WithEvents Button6 As Button
98110 End Class
--- vb2010/vb2010/frmMenu.vb (revision 86)
+++ vb2010/vb2010/frmMenu.vb (revision 87)
@@ -14,4 +14,8 @@
1414 Private Sub Button4_Click(sender As Object, e As EventArgs) Handles Button4.Click
1515 Form4.Show()
1616 End Sub
17+
18+ Private Sub Button5_Click(sender As Object, e As EventArgs) Handles Button5.Click
19+ Form5.Show()
20+ End Sub
1721 End Class
\ No newline at end of file
--- vb2010/vb2010/MyData.vb (nonexistent)
+++ vb2010/vb2010/MyData.vb (revision 87)
@@ -0,0 +1,4 @@
1+Public Class MyData
2+ Public Property X As Integer
3+ Public Property Y As Integer
4+End Class
--- vb2010/vb2010/Form5.Designer.vb (nonexistent)
+++ vb2010/vb2010/Form5.Designer.vb (revision 87)
@@ -0,0 +1,50 @@
1+<Global.Microsoft.VisualBasic.CompilerServices.DesignerGenerated()> _
2+Partial Class Form5
3+ Inherits System.Windows.Forms.Form
4+
5+ 'フォームがコンポーネントの一覧をクリーンアップするために dispose をオーバーライドします。
6+ <System.Diagnostics.DebuggerNonUserCode()> _
7+ Protected Overrides Sub Dispose(ByVal disposing As Boolean)
8+ Try
9+ If disposing AndAlso components IsNot Nothing Then
10+ components.Dispose()
11+ End If
12+ Finally
13+ MyBase.Dispose(disposing)
14+ End Try
15+ End Sub
16+
17+ 'Windows フォーム デザイナーで必要です。
18+ Private components As System.ComponentModel.IContainer
19+
20+ 'メモ: 以下のプロシージャは Windows フォーム デザイナーで必要です。
21+ 'Windows フォーム デザイナーを使用して変更できます。
22+ 'コード エディターを使って変更しないでください。
23+ <System.Diagnostics.DebuggerStepThrough()> _
24+ Private Sub InitializeComponent()
25+ Me.Button1 = New System.Windows.Forms.Button()
26+ Me.SuspendLayout()
27+ '
28+ 'Button1
29+ '
30+ Me.Button1.Location = New System.Drawing.Point(65, 51)
31+ Me.Button1.Name = "Button1"
32+ Me.Button1.Size = New System.Drawing.Size(75, 23)
33+ Me.Button1.TabIndex = 0
34+ Me.Button1.Text = "Button1"
35+ Me.Button1.UseVisualStyleBackColor = True
36+ '
37+ 'Form5
38+ '
39+ Me.AutoScaleDimensions = New System.Drawing.SizeF(8.0!, 15.0!)
40+ Me.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font
41+ Me.ClientSize = New System.Drawing.Size(282, 253)
42+ Me.Controls.Add(Me.Button1)
43+ Me.Name = "Form5"
44+ Me.Text = "Form5"
45+ Me.ResumeLayout(False)
46+
47+ End Sub
48+
49+ Friend WithEvents Button1 As Button
50+End Class
--- vb2010/vb2010/Form5.vb (nonexistent)
+++ vb2010/vb2010/Form5.vb (revision 87)
@@ -0,0 +1,8 @@
1+Public Class Form5
2+ Private Sub Button1_Click(sender As Object, e As EventArgs) Handles Button1.Click
3+ Dim num As Integer
4+ num = 10
5+ Dim dt As MyData
6+ dt = New MyData() With {.X = 100, .Y = 200}
7+ End Sub
8+End Class
\ No newline at end of file