Changeset 24566
- Timestamp:
- 11/21/08 18:43:14 (7 weeks ago)
- Location:
- lang/vb2005/Tween/Tween
- Files:
-
- 2 modified
-
TwConfig.vb (modified) (3 diffs)
-
Tween.vb (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
lang/vb2005/Tween/Tween/TwConfig.vb
r23890 r24566 889 889 Public Property SplitterDistance() As Integer 890 890 Get 891 Return CInt(Me("splitterdistance")) 892 End Get 893 Set(ByVal value As Integer) 891 Dim dis As Integer = DirectCast(Me("splitterdistance"), Integer) 892 If dis < 0 Then dis = 320 893 Return dis 894 End Get 895 Set(ByVal value As Integer) 896 If value < 0 Then value = 320 894 897 Me("splitterdistance") = value 895 898 End Set … … 899 902 Public Property FormSize() As Size 900 903 Get 901 Return CType(Me("formsize"), Size) 904 Dim sz As Size = CType(Me("formsize"), Size) 905 If sz.Height < 0 Then sz.Height = 476 906 If sz.Width < 0 Then sz.Width = 436 907 Return sz 902 908 End Get 903 909 Set(ByVal value As Size) 904 Me("formsize") = value 910 Dim sz As Size = value 911 If sz.Height < 0 Then sz.Height = 476 912 If sz.Width < 0 Then sz.Width = 436 913 Me("formsize") = sz 905 914 End Set 906 915 End Property … … 1551 1560 If pwd.Length > 0 Then 1552 1561 Try 1553 Me("proxypassword") = EncryptString( value)1562 Me("proxypassword") = EncryptString(pwd) 1554 1563 Catch ex As Exception 1555 1564 Me("proxypassword") = "" -
lang/vb2005/Tween/Tween/Tween.vb
r24555 r24566 7030 7030 7031 7031 Private Sub SplitContainer1_SplitterMoved(ByVal sender As Object, ByVal e As System.Windows.Forms.SplitterEventArgs) Handles SplitContainer1.SplitterMoved 7032 _mySpDis = SplitContainer1.SplitterDistance7032 If Me.WindowState = FormWindowState.Normal Then _mySpDis = SplitContainer1.SplitterDistance 7033 7033 End Sub 7034 7034
![(please configure the [header_logo] section in trac.ini)](/share/chrome/site/your_project_logo.png)