• R/O
  • SSH
  • HTTPS

utable: Commit


Commit MetaInfo

Revision737 (tree)
Time2022-12-27 14:54:02
Authorshuetsu

Log Message

IME制御方法を修正

Change Summary

Incremental Difference

--- utable/branches/fw49/sample/My Project/Application.Designer.vb (revision 736)
+++ utable/branches/fw49/sample/My Project/Application.Designer.vb (revision 737)
@@ -1,7 +1,7 @@
11 '------------------------------------------------------------------------------
22 ' <auto-generated>
33 ' このコードはツールによって生成されました。
4-' ランタイム バージョン:2.0.50727.3053
4+' ランタイム バージョン:4.0.30319.42000
55 '
66 ' このファイルへの変更は、以下の状況下で不正な動作の原因になったり、
77 ' コードが再生成されるときに損失したりします。
@@ -14,9 +14,9 @@
1414
1515 Namespace My
1616
17- 'メモ: このファイルは自動生成されました。直接変更しないでください。変更したり、
18- ' ビルド エラーが発生した場合は、プロジェクト デザイナ へ移動し (プロジェクト
19- ' プロパティに移動するか、またはソリューション エクスプローラのマイ プロジェクト
17+ 'メモ:このファイルは自動生成されました。直接変更しないでください。変更したり、
18+ ' ビルド エラーが発生した場合は、プロジェクト デザイナー へ移動し (プロジェクト
19+ ' プロパティに移動するか、またはソリューション エクスプローラーのマイ プロジェクト
2020 ' ノード上でダブルクリック)、アプリケーション タブ上で変更を行います。
2121 '
2222 Partial Friend Class MyApplication
--- utable/branches/fw49/sample/My Project/Resources.Designer.vb (revision 736)
+++ utable/branches/fw49/sample/My Project/Resources.Designer.vb (revision 737)
@@ -1,10 +1,10 @@
11 '------------------------------------------------------------------------------
22 ' <auto-generated>
3-' This code was generated by a tool.
4-' Runtime Version:2.0.50727.3053
3+' このコードはツールによって生成されました。
4+' ランタイム バージョン:4.0.30319.42000
55 '
6-' Changes to this file may cause incorrect behavior and will be lost if
7-' the code is regenerated.
6+' このファイルへの変更は、以下の状況下で不正な動作の原因になったり、
7+' コードが再生成されるときに損失したりします。
88 ' </auto-generated>
99 '------------------------------------------------------------------------------
1010
@@ -11,17 +11,18 @@
1111 Option Strict On
1212 Option Explicit On
1313
14+Imports System
1415
1516 Namespace My.Resources
1617
17- 'This class was auto-generated by the StronglyTypedResourceBuilder
18- 'class via a tool like ResGen or Visual Studio.
19- 'To add or remove a member, edit your .ResX file then rerun ResGen
20- 'with the /str option, or rebuild your VS project.
21- '<summary>
22- ' A strongly-typed resource class, for looking up localized strings, etc.
23- '</summary>
24- <Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Resources.Tools.StronglyTypedResourceBuilder", "2.0.0.0"), _
18+ 'このクラスは StronglyTypedResourceBuilder クラスが ResGen
19+ 'または Visual Studio のようなツールを使用して自動生成されました。
20+ 'メンバーを追加または削除するには、.ResX ファイルを編集して、/str オプションと共に
21+ 'ResGen を実行し直すか、または VS プロジェクトをビルドし直します。
22+ '''<summary>
23+ ''' ローカライズされた文字列などを検索するための、厳密に型指定されたリソース クラスです。
24+ '''</summary>
25+ <Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Resources.Tools.StronglyTypedResourceBuilder", "17.0.0.0"), _
2526 Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
2627 Global.System.Runtime.CompilerServices.CompilerGeneratedAttribute(), _
2728 Global.Microsoft.VisualBasic.HideModuleNameAttribute()> _
@@ -31,9 +32,9 @@
3132
3233 Private resourceCulture As Global.System.Globalization.CultureInfo
3334
34- '<summary>
35- ' Returns the cached ResourceManager instance used by this class.
36- '</summary>
35+ '''<summary>
36+ ''' このクラスで使用されているキャッシュされた ResourceManager インスタンスを返します。
37+ '''</summary>
3738 <Global.System.ComponentModel.EditorBrowsableAttribute(Global.System.ComponentModel.EditorBrowsableState.Advanced)> _
3839 Friend ReadOnly Property ResourceManager() As Global.System.Resources.ResourceManager
3940 Get
@@ -45,16 +46,16 @@
4546 End Get
4647 End Property
4748
48- '<summary>
49- ' Overrides the current thread's CurrentUICulture property for all
50- ' resource lookups using this strongly typed resource class.
51- '</summary>
49+ '''<summary>
50+ ''' すべてについて、現在のスレッドの CurrentUICulture プロパティをオーバーライドします
51+ ''' 現在のスレッドの CurrentUICulture プロパティをオーバーライドします。
52+ '''</summary>
5253 <Global.System.ComponentModel.EditorBrowsableAttribute(Global.System.ComponentModel.EditorBrowsableState.Advanced)> _
5354 Friend Property Culture() As Global.System.Globalization.CultureInfo
5455 Get
5556 Return resourceCulture
5657 End Get
57- Set(ByVal value As Global.System.Globalization.CultureInfo)
58+ Set
5859 resourceCulture = value
5960 End Set
6061 End Property
--- utable/branches/fw49/sample/My Project/Settings.Designer.vb (revision 736)
+++ utable/branches/fw49/sample/My Project/Settings.Designer.vb (revision 737)
@@ -1,10 +1,10 @@
11 '------------------------------------------------------------------------------
22 ' <auto-generated>
3-' This code was generated by a tool.
4-' Runtime Version:2.0.50727.3053
3+' このコードはツールによって生成されました。
4+' ランタイム バージョン:4.0.30319.42000
55 '
6-' Changes to this file may cause incorrect behavior and will be lost if
7-' the code is regenerated.
6+' このファイルへの変更は、以下の状況下で不正な動作の原因になったり、
7+' コードが再生成されるときに損失したりします。
88 ' </auto-generated>
99 '------------------------------------------------------------------------------
1010
@@ -13,27 +13,27 @@
1313
1414
1515 Namespace My
16-
16+
1717 <Global.System.Runtime.CompilerServices.CompilerGeneratedAttribute(), _
18- Global.System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.VisualStudio.Editors.SettingsDesigner.SettingsSingleFileGenerator", "9.0.0.0"), _
18+ Global.System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.VisualStudio.Editors.SettingsDesigner.SettingsSingleFileGenerator", "17.4.0.0"), _
1919 Global.System.ComponentModel.EditorBrowsableAttribute(Global.System.ComponentModel.EditorBrowsableState.Advanced)> _
2020 Partial Friend NotInheritable Class MySettings
2121 Inherits Global.System.Configuration.ApplicationSettingsBase
2222
23- Private Shared defaultInstance As MySettings = CType(Global.System.Configuration.ApplicationSettingsBase.Synchronized(New MySettings), MySettings)
23+ Private Shared defaultInstance As MySettings = CType(Global.System.Configuration.ApplicationSettingsBase.Synchronized(New MySettings()),MySettings)
2424
25-#Region "My.Settings Auto-Save Functionality"
25+#Region "My.Settings 自動保存機能"
2626 #If _MyType = "WindowsForms" Then
27- Private Shared addedHandler As Boolean
27+ Private Shared addedHandler As Boolean
2828
29- Private Shared addedHandlerLockObject As New Object
29+ Private Shared addedHandlerLockObject As New Object
3030
31- <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), Global.System.ComponentModel.EditorBrowsableAttribute(Global.System.ComponentModel.EditorBrowsableState.Advanced)> _
32- Private Shared Sub AutoSaveSettings(ByVal sender As Global.System.Object, ByVal e As Global.System.EventArgs)
33- If My.Application.SaveMySettingsOnExit Then
34- My.Settings.Save()
35- End If
36- End Sub
31+ <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), Global.System.ComponentModel.EditorBrowsableAttribute(Global.System.ComponentModel.EditorBrowsableState.Advanced)> _
32+ Private Shared Sub AutoSaveSettings(sender As Global.System.Object, e As Global.System.EventArgs)
33+ If My.Application.SaveMySettingsOnExit Then
34+ My.Settings.Save()
35+ End If
36+ End Sub
3737 #End If
3838 #End Region
3939
@@ -41,14 +41,14 @@
4141 Get
4242
4343 #If _MyType = "WindowsForms" Then
44- If Not addedHandler Then
45- SyncLock addedHandlerLockObject
46- If Not addedHandler Then
47- AddHandler My.Application.Shutdown, AddressOf AutoSaveSettings
48- addedHandler = True
49- End If
50- End SyncLock
51- End If
44+ If Not addedHandler Then
45+ SyncLock addedHandlerLockObject
46+ If Not addedHandler Then
47+ AddHandler My.Application.Shutdown, AddressOf AutoSaveSettings
48+ addedHandler = True
49+ End If
50+ End SyncLock
51+ End If
5252 #End If
5353 Return defaultInstance
5454 End Get
--- utable/branches/fw49/sample/Sample5.vb (revision 736)
+++ utable/branches/fw49/sample/Sample5.vb (revision 737)
@@ -93,7 +93,7 @@
9393 End With
9494 End Sub
9595
96- Public Sub EditEnter(ByVal key As Char, ByVal hIMC As Integer) Implements IEditor.EditEnter
96+ Public Sub EditEnter(ByVal key As Char) Implements IEditor.EditEnter
9797 End Sub
9898
9999 Public Sub EditLeave() Implements IEditor.EditLeave
--- utable/branches/fw49/sample/Sample7.vb (revision 736)
+++ utable/branches/fw49/sample/Sample7.vb (revision 737)
@@ -9,7 +9,7 @@
99 Private Sub Sample7_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load
1010 Dim rp As New UTable.CRecordProvider
1111 With New CLayoutBuilder
12- rp.AddField("0", New CTextFieldProvider(), .Next)
12+ rp.AddField("0", New CTextFieldProvider(Nothing, ImeMode.On), .Next)
1313 rp.AddField("1", New CTextFieldProvider(), .Next)
1414 rp.AddField("2", New CTextFieldProvider(), .Next)
1515 rp.AddField("3", New CTextFieldProvider(), .Next)
--- utable/branches/fw49/table/Edit.vb (revision 736)
+++ utable/branches/fw49/table/Edit.vb (revision 737)
@@ -39,20 +39,9 @@
3939
4040 Private Function edit_KeyDown(ByVal e As System.Windows.Forms.KeyEventArgs) As Boolean
4141 If e.KeyCode = Keys.ProcessKey Then
42- Dim h As Integer = MAPI.ImmGetContext(Me.Handle)
43- Try
44- If h <> 0 Then
45- If MAPI.ImmGetCompositionString(h, &H8, vbNullString, 0) > 0 Then
46- Me.ScrollTo(Me.FocusField)
47- Me._StartEdit(Nothing, True)
48- Return True
49- End If
50- End If
51- Finally
52- If h <> 0 Then
53- MAPI.ImmReleaseContext(Me.Handle, h)
54- End If
55- End Try
42+ Me.ScrollTo(Me.FocusField)
43+ Me._StartEdit(Nothing, True)
44+ Return True
5645 End If
5746 Return False
5847 End Function
@@ -124,18 +113,8 @@
124113 End Using
125114 End If
126115 If Me.Editor IsNot Nothing Then
127- Dim h As Integer = MAPI.ImmGetContext(Me.Handle)
128- Try
129- Me.Editor.Control.Focus()
130- Me.Editor.EditEnter(key, h)
131- Finally
132- If h <> 0 Then
133- MAPI.ImmReleaseContext(Me.Handle, h)
134- End If
135- End Try
136- Me.raiseEditStart(Me.FocusField, Me.Editor)
137- Else
138- Me.ime_CreateContext()
116+ Me.Editor.Control.Focus()
117+ Me.Editor.EditEnter(key)
139118 End If
140119 Return Me.Editor
141120 End Function
--- utable/branches/fw49/table/Editor/Editor.vb (revision 736)
+++ utable/branches/fw49/table/Editor/Editor.vb (revision 737)
@@ -26,7 +26,7 @@
2626
2727 Public Interface IEditor
2828 Sub Initialize(ByVal field As UTable.CField)
29- Sub EditEnter(ByVal key As Char, ByVal hIMC As Integer)
29+ Sub EditEnter(ByVal key As Char)
3030 Sub EditLeave()
3131 Property Value() As Object
3232 Function Control() As Control
--- utable/branches/fw49/table/Editor/TextBoxEditor.vb (revision 736)
+++ utable/branches/fw49/table/Editor/TextBoxEditor.vb (revision 737)
@@ -45,8 +45,7 @@
4545 End With
4646 End Sub
4747
48- Public Sub EditEnter(ByVal key As Char, ByVal hIMC As Integer) Implements IEditor.EditEnter
49- UTable.ImmAssociateContext(Me, hIMC)
48+ Public Sub EditEnter(ByVal key As Char) Implements IEditor.EditEnter
5049 If key <> Nothing Then
5150 Me.Text = key
5251 Me.SelectionStart = 1
--- utable/branches/fw49/table/Event.vb (revision 736)
+++ utable/branches/fw49/table/Event.vb (revision 737)
@@ -207,7 +207,7 @@
207207 Private Sub UTable_GotFocus(ByVal sender As Object, ByVal e As System.EventArgs) Handles Me.GotFocus
208208 Using Me.RenderBlock
209209 If Me.FocusField IsNot Nothing Then
210- Me.ime_AssociateContext(Me.FocusField)
210+ Me.imeSetUp(Me.FocusField)
211211 End If
212212 If Me.Setting.EnterContent IsNot Nothing AndAlso Me.FocusField Is Nothing Then
213213 Me.FocusField = Me.Setting.EnterContent.DefaultField
--- utable/branches/fw49/table/Focus.vb (revision 736)
+++ utable/branches/fw49/table/Focus.vb (revision 737)
@@ -82,7 +82,7 @@
8282 RaiseEvent FieldEntering(field, cancel)
8383 End If
8484 If Not cancel Then
85- Me.ime_AssociateContext(field)
85+ Me.imeSetUp(field)
8686 Me._FocusField = field
8787 Me.SelectRange = Nothing
8888 If _focusField_bak IsNot Nothing AndAlso _focusField_bak IsNot field Then
--- utable/branches/fw49/table/Ime.vb (revision 736)
+++ utable/branches/fw49/table/Ime.vb (revision 737)
@@ -26,86 +26,22 @@
2626
2727 Partial Public Class UTable
2828
29- Private hIMC As Integer = 0
3029
31- Private Sub ime_CreateContext()
32- Me.ime_ReleaseContext()
33- Me.hIMC = MAPI.ImmCreateContext()
34- End Sub
35-
36- Private Sub ime_ReleaseContext()
37- If Me.hIMC <> 0 Then
38- MAPI.ImmAssociateContext(Me.Handle, 0)
39- MAPI.ImmDestroyContext(Me.hIMC)
40- Me.hIMC = 0
41- End If
42- End Sub
43-
44- Private Sub ime_AssociateContext(ByVal field As CField)
30+ Private imeSetUpFlag As Boolean = False
31+ Private Sub imeSetUp(ByVal field As CField)
4532 If field Is Nothing Then
4633 Exit Sub
4734 End If
48- Me.ime_CreateContext()
4935 Dim m As ImeMode = field.Desc.Provider.ImeMode
5036 If field.DynamicSetting.Editable <> EAllow.ALLOW Then
5137 m = Windows.Forms.ImeMode.Disable
5238 End If
53- Select Case m
54- Case Windows.Forms.ImeMode.On, Windows.Forms.ImeMode.Hiragana, Windows.Forms.ImeMode.HangulFull
55- MAPI.ImmSetOpenStatus(Me.hIMC, 1)
56- MAPI.ImmSetConversionStatus(Me.hIMC, &H19, &H8)
57- MAPI.ImmAssociateContext(Me.Handle, Me.hIMC)
58- Case Windows.Forms.ImeMode.Katakana
59- MAPI.ImmSetOpenStatus(Me.hIMC, 1)
60- MAPI.ImmSetConversionStatus(Me.hIMC, &H1B, &H8)
61- MAPI.ImmAssociateContext(Me.Handle, Me.hIMC)
62- Case Windows.Forms.ImeMode.KatakanaHalf
63- MAPI.ImmSetOpenStatus(Me.hIMC, 1)
64- MAPI.ImmSetConversionStatus(Me.hIMC, &H13, &H8)
65- MAPI.ImmAssociateContext(Me.Handle, Me.hIMC)
66- Case Windows.Forms.ImeMode.AlphaFull
67- MAPI.ImmSetOpenStatus(Me.hIMC, 1)
68- MAPI.ImmSetConversionStatus(Me.hIMC, &H18, &H8)
69- MAPI.ImmAssociateContext(Me.Handle, Me.hIMC)
70- Case Windows.Forms.ImeMode.Alpha
71- MAPI.ImmSetOpenStatus(Me.hIMC, 1)
72- MAPI.ImmSetConversionStatus(Me.hIMC, &H10, &H8)
73- MAPI.ImmAssociateContext(Me.Handle, Me.hIMC)
74- Case Windows.Forms.ImeMode.Hangul
75- MAPI.ImmSetOpenStatus(Me.hIMC, 1)
76- MAPI.ImmSetConversionStatus(Me.hIMC, &H11, &H8)
77- MAPI.ImmAssociateContext(Me.Handle, Me.hIMC)
78- Case Windows.Forms.ImeMode.Disable
79- MAPI.ImmAssociateContext(Me.Handle, 0)
80- Case Else
81- MAPI.ImmSetOpenStatus(Me.hIMC, 0)
82- MAPI.ImmAssociateContext(Me.Handle, Me.hIMC)
83- End Select
39+ Try
40+ Me.imeSetUpFlag = True
41+ Me.ImeMode = m
42+ Finally
43+ Me.imeSetUpFlag = False
44+ End Try
8445 End Sub
8546
86- Public Shared Sub ImmAssociateContext(ByVal control As Control, ByVal hIMC As Integer)
87- MAPI.ImmAssociateContext(control.Handle, hIMC)
88- If hIMC <> 0 Then
89- Dim lfc As New LOGFONTC
90- Dim lf As New LOGFONT
91- control.Font.ToLogFont(lfc)
92- lf.lfCharSet = lfc.lfCharSet
93- lf.lfClipPrecision = lfc.lfClipPrecision
94- lf.lfEscapement = lfc.lfEscapement
95- lf.lfFaceName = lfc.lfFaceName
96- lf.lfHeight = lfc.lfHeight
97- lf.lfItalic = lfc.lfItalic
98- lf.lfOrientation = lfc.lfOrientation
99- lf.lfOutPrecision = lfc.lfOutPrecision
100- lf.lfPitchAndFamily = lfc.lfPitchAndFamily
101- lf.lfQuality = lfc.lfQuality
102- lf.lfStrikeOut = lfc.lfStrikeOut
103- lf.lfUnderline = lfc.lfUnderline
104- lf.lfWeight = lfc.lfWeight
105- lf.lfWidth = lfc.lfWidth
106- MAPI.ImmSetCompositionFont(hIMC, lf)
107- End If
108- control.Refresh()
109- End Sub
110-
11147 End Class
--- utable/branches/fw49/table/My Project/Application.Designer.vb (revision 736)
+++ utable/branches/fw49/table/My Project/Application.Designer.vb (revision 737)
@@ -1,7 +1,7 @@
11 '------------------------------------------------------------------------------
22 ' <auto-generated>
33 ' このコードはツールによって生成されました。
4-' ランタイム バージョン:2.0.50727.3053
4+' ランタイム バージョン:4.0.30319.42000
55 '
66 ' このファイルへの変更は、以下の状況下で不正な動作の原因になったり、
77 ' コードが再生成されるときに損失したりします。
--- utable/branches/fw49/table/My Project/AssemblyInfo.vb (revision 736)
+++ utable/branches/fw49/table/My Project/AssemblyInfo.vb (revision 737)
@@ -18,7 +18,7 @@
1818 <Assembly: ComVisible(False)>
1919
2020 'このプロジェクトが COM に公開される場合、次の GUID がタイプ ライブラリの ID になります。
21-<Assembly: Guid("7b5b0b94-52f6-4582-bd8e-e93bf4235b61")>
21+<Assembly: Guid("7b5b0b94-52f6-4582-bd8e-e93bf4235b61")>
2222
2323 ' アセンブリのバージョン情報は、以下の 4 つの値で構成されています:
2424 '
@@ -31,5 +31,5 @@
3131 ' 既定値にすることができます:
3232 ' <Assembly: AssemblyVersion("1.0.*")>
3333
34-<Assembly: AssemblyVersion("2.5.49.0")>
35-<Assembly: AssemblyFileVersion("2.5.49.0")>
34+<Assembly: AssemblyVersion("2.5.49.1")>
35+<Assembly: AssemblyFileVersion("2.5.49.1")>
--- utable/branches/fw49/table/My Project/Resources.Designer.vb (revision 736)
+++ utable/branches/fw49/table/My Project/Resources.Designer.vb (revision 737)
@@ -1,7 +1,7 @@
11 '------------------------------------------------------------------------------
22 ' <auto-generated>
33 ' このコードはツールによって生成されました。
4-' ランタイム バージョン:2.0.50727.3053
4+' ランタイム バージョン:4.0.30319.42000
55 '
66 ' このファイルへの変更は、以下の状況下で不正な動作の原因になったり、
77 ' コードが再生成されるときに損失したりします。
@@ -17,12 +17,12 @@
1717
1818 'このクラスは StronglyTypedResourceBuilder クラスが ResGen
1919 'または Visual Studio のようなツールを使用して自動生成されました。
20- 'メンバを追加または削除するには、.ResX ファイルを編集して、/str オプションと共に
20+ 'メンバーを追加または削除するには、.ResX ファイルを編集して、/str オプションと共に
2121 'ResGen を実行し直すか、または VS プロジェクトをビルドし直します。
2222 '''<summary>
2323 ''' ローカライズされた文字列などを検索するための、厳密に型指定されたリソース クラスです。
2424 '''</summary>
25- <Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Resources.Tools.StronglyTypedResourceBuilder", "2.0.0.0"), _
25+ <Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Resources.Tools.StronglyTypedResourceBuilder", "17.0.0.0"), _
2626 Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
2727 Global.System.Runtime.CompilerServices.CompilerGeneratedAttribute(), _
2828 Global.Microsoft.VisualBasic.HideModuleNameAttribute()> _
@@ -47,7 +47,7 @@
4747 End Property
4848
4949 '''<summary>
50- ''' 厳密に型指定されたこのリソース クラスを使用して、すべての検索リソースに対し、
50+ ''' すべてについて、現在のスレッドの CurrentUICulture プロパティをオーバーライドします
5151 ''' 現在のスレッドの CurrentUICulture プロパティをオーバーライドします。
5252 '''</summary>
5353 <Global.System.ComponentModel.EditorBrowsableAttribute(Global.System.ComponentModel.EditorBrowsableState.Advanced)> _
--- utable/branches/fw49/table/My Project/Settings.Designer.vb (revision 736)
+++ utable/branches/fw49/table/My Project/Settings.Designer.vb (revision 737)
@@ -1,7 +1,7 @@
11 '------------------------------------------------------------------------------
22 ' <auto-generated>
33 ' このコードはツールによって生成されました。
4-' ランタイム バージョン:2.0.50727.3053
4+' ランタイム バージョン:4.0.30319.42000
55 '
66 ' このファイルへの変更は、以下の状況下で不正な動作の原因になったり、
77 ' コードが再生成されるときに損失したりします。
@@ -15,12 +15,12 @@
1515 Namespace My
1616
1717 <Global.System.Runtime.CompilerServices.CompilerGeneratedAttribute(), _
18- Global.System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.VisualStudio.Editors.SettingsDesigner.SettingsSingleFileGenerator", "9.0.0.0"), _
18+ Global.System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.VisualStudio.Editors.SettingsDesigner.SettingsSingleFileGenerator", "17.4.0.0"), _
1919 Global.System.ComponentModel.EditorBrowsableAttribute(Global.System.ComponentModel.EditorBrowsableState.Advanced)> _
2020 Partial Friend NotInheritable Class MySettings
2121 Inherits Global.System.Configuration.ApplicationSettingsBase
2222
23- Private Shared defaultInstance As MySettings = CType(Global.System.Configuration.ApplicationSettingsBase.Synchronized(New MySettings),MySettings)
23+ Private Shared defaultInstance As MySettings = CType(Global.System.Configuration.ApplicationSettingsBase.Synchronized(New MySettings()),MySettings)
2424
2525 #Region "My.Settings 自動保存機能"
2626 #If _MyType = "WindowsForms" Then
@@ -29,7 +29,7 @@
2929 Private Shared addedHandlerLockObject As New Object
3030
3131 <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), Global.System.ComponentModel.EditorBrowsableAttribute(Global.System.ComponentModel.EditorBrowsableState.Advanced)> _
32- Private Shared Sub AutoSaveSettings(ByVal sender As Global.System.Object, ByVal e As Global.System.EventArgs)
32+ Private Shared Sub AutoSaveSettings(sender As Global.System.Object, e As Global.System.EventArgs)
3333 If My.Application.SaveMySettingsOnExit Then
3434 My.Settings.Save()
3535 End If
--- utable/branches/fw49/table/Table.vb (revision 736)
+++ utable/branches/fw49/table/Table.vb (revision 737)
@@ -27,7 +27,7 @@
2727 Imports System.Drawing
2828
2929 Public Class UTable
30- Inherits ContainerControl
30+ Inherits Control
3131
3232 Public Class CSortState
3333 Public Enum EOrder
@@ -134,7 +134,6 @@
134134 End Sub
135135
136136 Private Sub UTable_HandleDestroyed(ByVal sender As Object, ByVal e As System.EventArgs) Handles Me.HandleDestroyed
137- Me.ime_ReleaseContext()
138137 Me.draggingOverflowTimer.Dispose()
139138 End Sub
140139
Show on old repository browser