-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
37 changed files
with
1,327 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,36 @@ | ||
<?xml version="1.0" encoding="utf-8"?> | ||
<configuration> | ||
<configSections> | ||
<sectionGroup name="userSettings" type="System.Configuration.UserSettingsGroup, System, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" > | ||
<section name="Timer2._0.MySettings" type="System.Configuration.ClientSettingsSection, System, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" allowExeDefinition="MachineToLocalUser" requirePermission="false" /> | ||
</sectionGroup> | ||
</configSections> | ||
<startup> | ||
|
||
<supportedRuntime version="v4.0" sku=".NETFramework,Version=v4.0,Profile=Client"/></startup> | ||
<userSettings> | ||
<Timer2._0.MySettings> | ||
<setting name="CloseWhenZero" serializeAs="String"> | ||
<value>True</value> | ||
</setting> | ||
<setting name="BackgroundColor" serializeAs="String"> | ||
<value>#C8060E22</value> | ||
</setting> | ||
<setting name="ForegroundColor" serializeAs="String"> | ||
<value>#FFFFFFFF</value> | ||
</setting> | ||
<setting name="FontFamily" serializeAs="String"> | ||
<value>Arial</value> | ||
</setting> | ||
<setting name="FontWeight" serializeAs="String"> | ||
<value>Black</value> | ||
</setting> | ||
<setting name="FontStyle" serializeAs="String"> | ||
<value>Normal</value> | ||
</setting> | ||
<setting name="AllwaysVisible" serializeAs="String"> | ||
<value>True</value> | ||
</setting> | ||
</Timer2._0.MySettings> | ||
</userSettings> | ||
</configuration> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
<Application x:Class="Application" | ||
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" | ||
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" | ||
xmlns:local="clr-namespace:Timer2._0" | ||
StartupUri="SetTime.xaml"> | ||
<Application.Resources> | ||
|
||
</Application.Resources> | ||
</Application> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
Class Application | ||
|
||
' Application-level events, such as Startup, Exit, and DispatcherUnhandledException | ||
' can be handled in this file. | ||
|
||
End Class |
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file added
BIN
+5.5 KB
Extended WPF Toolkit Binaries/fr/Xceed.Wpf.Toolkit.LiveExplorer.resources.dll
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file added
BIN
+5.5 KB
Extended WPF Toolkit Binaries/zh-Hans/Xceed.Wpf.AvalonDock.resources.dll
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,59 @@ | ||
Imports System | ||
Imports System.Reflection | ||
Imports System.Runtime.InteropServices | ||
Imports System.Globalization | ||
Imports System.Resources | ||
Imports System.Windows | ||
|
||
' General Information about an assembly is controlled through the following | ||
' set of attributes. Change these attribute values to modify the information | ||
' associated with an assembly. | ||
|
||
' Review the values of the assembly attributes | ||
|
||
<Assembly: AssemblyTitle("Timer2._0")> | ||
<Assembly: AssemblyDescription("")> | ||
<Assembly: AssemblyCompany("")> | ||
<Assembly: AssemblyProduct("Timer2._0")> | ||
<Assembly: AssemblyCopyright("Copyright © 2016")> | ||
<Assembly: AssemblyTrademark("")> | ||
<Assembly: ComVisible(false)> | ||
|
||
'In order to begin building localizable applications, set | ||
'<UICulture>CultureYouAreCodingWith</UICulture> in your .vbproj file | ||
'inside a <PropertyGroup>. For example, if you are using US english | ||
'in your source files, set the <UICulture> to "en-US". Then uncomment the | ||
'NeutralResourceLanguage attribute below. Update the "en-US" in the line | ||
'below to match the UICulture setting in the project file. | ||
|
||
'<Assembly: NeutralResourcesLanguage("en-US", UltimateResourceFallbackLocation.Satellite)> | ||
|
||
|
||
'The ThemeInfo attribute describes where any theme specific and generic resource dictionaries can be found. | ||
'1st parameter: where theme specific resource dictionaries are located | ||
'(used if a resource is not found in the page, | ||
' or application resource dictionaries) | ||
|
||
'2nd parameter: where the generic resource dictionary is located | ||
'(used if a resource is not found in the page, | ||
'app, and any theme specific resource dictionaries) | ||
<Assembly: ThemeInfo(ResourceDictionaryLocation.None, ResourceDictionaryLocation.SourceAssembly)> | ||
|
||
|
||
|
||
'The following GUID is for the ID of the typelib if this project is exposed to COM | ||
<Assembly: Guid("e6d9895a-8903-4e42-b34d-5ffdb0d4e17d")> | ||
|
||
' Version information for an assembly consists of the following four values: | ||
' | ||
' Major Version | ||
' Minor Version | ||
' Build Number | ||
' Revision | ||
' | ||
' You can specify all the values or you can default the Build and Revision Numbers | ||
' by using the '*' as shown below: | ||
' <Assembly: AssemblyVersion("1.0.*")> | ||
|
||
<Assembly: AssemblyVersion("1.0.0.0")> | ||
<Assembly: AssemblyFileVersion("1.0.0.0")> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,121 @@ | ||
#If _MyType <> "Empty" Then | ||
|
||
Namespace My | ||
''' <summary> | ||
''' Module used to define the properties that are available in the My Namespace for WPF | ||
''' </summary> | ||
''' <remarks></remarks> | ||
<Global.Microsoft.VisualBasic.HideModuleName()> _ | ||
Module MyWpfExtension | ||
Private s_Computer As New ThreadSafeObjectProvider(Of Global.Microsoft.VisualBasic.Devices.Computer) | ||
Private s_User As New ThreadSafeObjectProvider(Of Global.Microsoft.VisualBasic.ApplicationServices.User) | ||
Private s_Windows As New ThreadSafeObjectProvider(Of MyWindows) | ||
Private s_Log As New ThreadSafeObjectProvider(Of Global.Microsoft.VisualBasic.Logging.Log) | ||
''' <summary> | ||
''' Returns the application object for the running application | ||
''' </summary> | ||
<Global.System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1811:AvoidUncalledPrivateCode")> _ | ||
Friend ReadOnly Property Application() As Application | ||
Get | ||
Return CType(Global.System.Windows.Application.Current, Application) | ||
End Get | ||
End Property | ||
''' <summary> | ||
''' Returns information about the host computer. | ||
''' </summary> | ||
<Global.System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1811:AvoidUncalledPrivateCode")> _ | ||
Friend ReadOnly Property Computer() As Global.Microsoft.VisualBasic.Devices.Computer | ||
Get | ||
Return s_Computer.GetInstance() | ||
End Get | ||
End Property | ||
''' <summary> | ||
''' Returns information for the current user. If you wish to run the application with the current | ||
''' Windows user credentials, call My.User.InitializeWithWindowsUser(). | ||
''' </summary> | ||
<Global.System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1811:AvoidUncalledPrivateCode")> _ | ||
Friend ReadOnly Property User() As Global.Microsoft.VisualBasic.ApplicationServices.User | ||
Get | ||
Return s_User.GetInstance() | ||
End Get | ||
End Property | ||
''' <summary> | ||
''' Returns the application log. The listeners can be configured by the application's configuration file. | ||
''' </summary> | ||
<Global.System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1811:AvoidUncalledPrivateCode")> _ | ||
Friend ReadOnly Property Log() As Global.Microsoft.VisualBasic.Logging.Log | ||
Get | ||
Return s_Log.GetInstance() | ||
End Get | ||
End Property | ||
|
||
''' <summary> | ||
''' Returns the collection of Windows defined in the project. | ||
''' </summary> | ||
<Global.System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1811:AvoidUncalledPrivateCode")> _ | ||
Friend ReadOnly Property Windows() As MyWindows | ||
<Global.System.Diagnostics.DebuggerHidden()> _ | ||
Get | ||
Return s_Windows.GetInstance() | ||
End Get | ||
End Property | ||
<Global.System.ComponentModel.EditorBrowsableAttribute(Global.System.ComponentModel.EditorBrowsableState.Never)> _ | ||
<Global.Microsoft.VisualBasic.MyGroupCollection("System.Windows.Window", "Create__Instance__", "Dispose__Instance__", "My.MyWpfExtenstionModule.Windows")> _ | ||
Friend NotInheritable Class MyWindows | ||
<Global.System.Diagnostics.DebuggerHidden()> _ | ||
Private Shared Function Create__Instance__(Of T As {New, Global.System.Windows.Window})(ByVal Instance As T) As T | ||
If Instance Is Nothing Then | ||
If s_WindowBeingCreated IsNot Nothing Then | ||
If s_WindowBeingCreated.ContainsKey(GetType(T)) = True Then | ||
Throw New Global.System.InvalidOperationException("The window cannot be accessed via My.Windows from the Window constructor.") | ||
End If | ||
Else | ||
s_WindowBeingCreated = New Global.System.Collections.Hashtable() | ||
End If | ||
s_WindowBeingCreated.Add(GetType(T), Nothing) | ||
Return New T() | ||
s_WindowBeingCreated.Remove(GetType(T)) | ||
Else | ||
Return Instance | ||
End If | ||
End Function | ||
<Global.System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1822:MarkMembersAsStatic")> _ | ||
<Global.System.Diagnostics.DebuggerHidden()> _ | ||
Private Sub Dispose__Instance__(Of T As Global.System.Windows.Window)(ByRef instance As T) | ||
instance = Nothing | ||
End Sub | ||
<Global.System.Diagnostics.DebuggerHidden()> _ | ||
<Global.System.ComponentModel.EditorBrowsableAttribute(Global.System.ComponentModel.EditorBrowsableState.Never)> _ | ||
Public Sub New() | ||
MyBase.New() | ||
End Sub | ||
<Global.System.ThreadStatic()> Private Shared s_WindowBeingCreated As Global.System.Collections.Hashtable | ||
<Global.System.ComponentModel.EditorBrowsable(Global.System.ComponentModel.EditorBrowsableState.Never)> Public Overrides Function Equals(ByVal o As Object) As Boolean | ||
Return MyBase.Equals(o) | ||
End Function | ||
<Global.System.ComponentModel.EditorBrowsable(Global.System.ComponentModel.EditorBrowsableState.Never)> Public Overrides Function GetHashCode() As Integer | ||
Return MyBase.GetHashCode | ||
End Function | ||
<Global.System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1822:MarkMembersAsStatic")> _ | ||
<Global.System.ComponentModel.EditorBrowsable(Global.System.ComponentModel.EditorBrowsableState.Never)> _ | ||
Friend Overloads Function [GetType]() As Global.System.Type | ||
Return GetType(MyWindows) | ||
End Function | ||
<Global.System.ComponentModel.EditorBrowsable(Global.System.ComponentModel.EditorBrowsableState.Never)> Public Overrides Function ToString() As String | ||
Return MyBase.ToString | ||
End Function | ||
End Class | ||
End Module | ||
End Namespace | ||
Partial Class Application | ||
Inherits Global.System.Windows.Application | ||
<Global.System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1811:AvoidUncalledPrivateCode")> _ | ||
<Global.System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1822:MarkMembersAsStatic")> _ | ||
Friend ReadOnly Property Info() As Global.Microsoft.VisualBasic.ApplicationServices.AssemblyInfo | ||
<Global.System.Diagnostics.DebuggerHidden()> _ | ||
Get | ||
Return New Global.Microsoft.VisualBasic.ApplicationServices.AssemblyInfo(Global.System.Reflection.Assembly.GetExecutingAssembly()) | ||
End Get | ||
End Property | ||
End Class | ||
#End If |
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
Oops, something went wrong.