Subversion Repositories SoapBoxCore

Compare Revisions

Ignore whitespace Rev 15 → Rev 16

/trunk/SoapBox.Demo.sln
2,9 → 2,17
Microsoft Visual Studio Solution File, Format Version 10.00
# Visual Studio 2008
Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "SoapBox", "SoapBox", "{A193112F-A541-4AC5-A50C-0D91FA9CF2E9}"
ProjectSection(SolutionItems) = preProject
LICENSE.GPL3.txt = LICENSE.GPL3.txt
LICENSE.txt = LICENSE.txt
EndProjectSection
EndProject
Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "CodeSnippets", "CodeSnippets", "{04E1AF9A-A0F4-49DC-84AF-69C7056EA04A}"
ProjectSection(SolutionItems) = preProject
SoapBox\CodeSnippets\License-Core.snippet = SoapBox\CodeSnippets\License-Core.snippet
SoapBox\CodeSnippets\License-Demo.snippet = SoapBox\CodeSnippets\License-Demo.snippet
SoapBox\CodeSnippets\License-Snap.snippet = SoapBox\CodeSnippets\License-Snap.snippet
SoapBox\CodeSnippets\License-Utilities.snippet = SoapBox\CodeSnippets\License-Utilities.snippet
SoapBox\CodeSnippets\PropArgs.snippet = SoapBox\CodeSnippets\PropArgs.snippet
SoapBox\CodeSnippets\PropName.snippet = SoapBox\CodeSnippets\PropName.snippet
EndProjectSection
44,6 → 52,8
EndProject
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "SoapBox.Core.Options", "SoapBox\SoapBox.Core\SoapBox.Core.Options\SoapBox.Core.Options.csproj", "{2618E868-2D4B-4118-B2AC-2E1CE6D5AC67}"
EndProject
Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Core", "Core", "{1162EE55-DE47-4EAF-9DD8-FF70DED2DEE0}"
EndProject
Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Physics2D", "Physics2D", "{B4056ED9-CFEA-4897-A182-E46D1F1A6A07}"
ProjectSection(SolutionItems) = preProject
Physics2D\License.txt = Physics2D\License.txt
159,6 → 169,8
{04E1AF9A-A0F4-49DC-84AF-69C7056EA04A} = {A193112F-A541-4AC5-A50C-0D91FA9CF2E9}
{98E3BA07-ED24-4E4B-9FBA-E5E8E09AD807} = {A193112F-A541-4AC5-A50C-0D91FA9CF2E9}
{BD1BB86B-680B-4009-A16B-A3A87CB5B0A2} = {A193112F-A541-4AC5-A50C-0D91FA9CF2E9}
{BDA0DB97-6216-47E5-B7F3-04FF9201568F} = {A193112F-A541-4AC5-A50C-0D91FA9CF2E9}
{1162EE55-DE47-4EAF-9DD8-FF70DED2DEE0} = {04E1AF9A-A0F4-49DC-84AF-69C7056EA04A}
{41A16A6B-8640-4C43-A7BA-2E6BF54B34FF} = {98E3BA07-ED24-4E4B-9FBA-E5E8E09AD807}
{3B4F77B8-C802-4752-A361-22D2365F317A} = {98E3BA07-ED24-4E4B-9FBA-E5E8E09AD807}
{CCB1BC23-954F-41D0-B806-6FA4AB921388} = {98E3BA07-ED24-4E4B-9FBA-E5E8E09AD807}
170,8 → 182,8
{B0F3CB4F-CFAC-4EC0-944D-C12311644FEA} = {BD1BB86B-680B-4009-A16B-A3A87CB5B0A2}
{2618E868-2D4B-4118-B2AC-2E1CE6D5AC67} = {BD1BB86B-680B-4009-A16B-A3A87CB5B0A2}
{FD3A32CD-A3B6-4059-8DD4-C4CBC8A2DA2B} = {BD1BB86B-680B-4009-A16B-A3A87CB5B0A2}
{BB128CAE-F310-4D00-9DF7-1DE652119FF7} = {BD1BB86B-680B-4009-A16B-A3A87CB5B0A2}
{090871FB-A08B-4149-9D26-FF9B1F768FDD} = {BD1BB86B-680B-4009-A16B-A3A87CB5B0A2}
{BB128CAE-F310-4D00-9DF7-1DE652119FF7} = {BD1BB86B-680B-4009-A16B-A3A87CB5B0A2}
{2FF700C2-A38A-48BD-A637-8CAFD4FE6237} = {F04777FF-7CBC-4D9D-9E69-314418D9A262}
{A979FDB4-7AB7-444E-9632-77D69D22D743} = {B4056ED9-CFEA-4897-A182-E46D1F1A6A07}
{C024C0B1-401B-4644-8918-D87C28716898} = {B4056ED9-CFEA-4897-A182-E46D1F1A6A07}
/trunk/SoapBox/SoapBox.Demo/SoapBox.Demo.HighScores/Properties/AssemblyInfo.cs
51,5 → 51,5
// 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("2010.03.17.0")]
[assembly: AssemblyFileVersion("2010.03.17.0")]
[assembly: AssemblyVersion("2010.05.24.0")]
[assembly: AssemblyFileVersion("2010.05.24.0")]
/trunk/SoapBox/SoapBox.Demo/SoapBox.Demo.Setup/SoapBox.Demo.Setup.vdproj
22,13 → 22,13
"Entry"
{
"MsmKey" = "8:_0D30F42AA1BF4CAD68CF0F68CA2E2B31"
"OwnerKey" = "8:_A21E48A1F2364CD3AA29AD8E127ACFC4"
"OwnerKey" = "8:_8E480031C5768A3B50E7DDD1CC6FB6B2"
"MsmSig" = "8:_UNDEFINED"
}
"Entry"
{
"MsmKey" = "8:_0D30F42AA1BF4CAD68CF0F68CA2E2B31"
"OwnerKey" = "8:_8E480031C5768A3B50E7DDD1CC6FB6B2"
"OwnerKey" = "8:_A21E48A1F2364CD3AA29AD8E127ACFC4"
"MsmSig" = "8:_UNDEFINED"
}
"Entry"
135,7 → 135,7
}
"Entry"
{
"MsmKey" = "8:_49F449422B863967212A03EED66734FB"
"MsmKey" = "8:_4365DD127F0B3709BC90660E1580951F"
"OwnerKey" = "8:_E96755324F944975A46F1C2AB887C641"
"MsmSig" = "8:_UNDEFINED"
}
153,12 → 153,6
}
"Entry"
{
"MsmKey" = "8:_6C40477CE279D0FBB5C74CC42E8F9B5B"
"OwnerKey" = "8:_26742559BF8E4A89AAD993EF50B16BCF"
"MsmSig" = "8:_UNDEFINED"
}
"Entry"
{
"MsmKey" = "8:_8C0CE1246298491E8E5275A1B8DA38A1"
"OwnerKey" = "8:_UNDEFINED"
"MsmSig" = "8:_UNDEFINED"
303,6 → 297,12
}
"Entry"
{
"MsmKey" = "8:_E096C0D8181F8D0E827FCD918FC8A3E3"
"OwnerKey" = "8:_26742559BF8E4A89AAD993EF50B16BCF"
"MsmSig" = "8:_UNDEFINED"
}
"Entry"
{
"MsmKey" = "8:_E722170DB899223E1D900E51A2E765E0"
"OwnerKey" = "8:_26742559BF8E4A89AAD993EF50B16BCF"
"MsmSig" = "8:_UNDEFINED"
328,43 → 328,43
"Entry"
{
"MsmKey" = "8:_E722170DB899223E1D900E51A2E765E0"
"OwnerKey" = "8:_D02DE4459D56481A95C2B97B80E55CAF"
"OwnerKey" = "8:_FCA971AF249640AF813AD5FA6FA86316"
"MsmSig" = "8:_UNDEFINED"
}
"Entry"
{
"MsmKey" = "8:_E722170DB899223E1D900E51A2E765E0"
"OwnerKey" = "8:_A31997BCA9764898968F285969316B49"
"OwnerKey" = "8:_E96755324F944975A46F1C2AB887C641"
"MsmSig" = "8:_UNDEFINED"
}
"Entry"
{
"MsmKey" = "8:_E722170DB899223E1D900E51A2E765E0"
"OwnerKey" = "8:_942E1D2EEC554C75BF76BB55043FF9D9"
"OwnerKey" = "8:_D02DE4459D56481A95C2B97B80E55CAF"
"MsmSig" = "8:_UNDEFINED"
}
"Entry"
{
"MsmKey" = "8:_E722170DB899223E1D900E51A2E765E0"
"OwnerKey" = "8:_FCA971AF249640AF813AD5FA6FA86316"
"OwnerKey" = "8:_A31997BCA9764898968F285969316B49"
"MsmSig" = "8:_UNDEFINED"
}
"Entry"
{
"MsmKey" = "8:_E722170DB899223E1D900E51A2E765E0"
"OwnerKey" = "8:_E96755324F944975A46F1C2AB887C641"
"OwnerKey" = "8:_A21E48A1F2364CD3AA29AD8E127ACFC4"
"MsmSig" = "8:_UNDEFINED"
}
"Entry"
{
"MsmKey" = "8:_E722170DB899223E1D900E51A2E765E0"
"OwnerKey" = "8:_A21E48A1F2364CD3AA29AD8E127ACFC4"
"OwnerKey" = "8:_9506FF8067DF4EBAB165386E354A8825"
"MsmSig" = "8:_UNDEFINED"
}
"Entry"
{
"MsmKey" = "8:_E722170DB899223E1D900E51A2E765E0"
"OwnerKey" = "8:_9506FF8067DF4EBAB165386E354A8825"
"OwnerKey" = "8:_942E1D2EEC554C75BF76BB55043FF9D9"
"MsmSig" = "8:_UNDEFINED"
}
"Entry"
400,49 → 400,49
"Entry"
{
"MsmKey" = "8:_UNDEFINED"
"OwnerKey" = "8:_8E480031C5768A3B50E7DDD1CC6FB6B2"
"OwnerKey" = "8:_BD70808ACD1E038C3B089CF241727B2A"
"MsmSig" = "8:_UNDEFINED"
}
"Entry"
{
"MsmKey" = "8:_UNDEFINED"
"OwnerKey" = "8:_5F824C2444B3EDF75FB5370DA7D73623"
"OwnerKey" = "8:_9DBB46A874DD6182B2BCE40C21FBC791"
"MsmSig" = "8:_UNDEFINED"
}
"Entry"
{
"MsmKey" = "8:_UNDEFINED"
"OwnerKey" = "8:_BD70808ACD1E038C3B089CF241727B2A"
"OwnerKey" = "8:_0D30F42AA1BF4CAD68CF0F68CA2E2B31"
"MsmSig" = "8:_UNDEFINED"
}
"Entry"
{
"MsmKey" = "8:_UNDEFINED"
"OwnerKey" = "8:_9DBB46A874DD6182B2BCE40C21FBC791"
"OwnerKey" = "8:_A1AD242006F6A82DB7AF09B95BC051FB"
"MsmSig" = "8:_UNDEFINED"
}
"Entry"
{
"MsmKey" = "8:_UNDEFINED"
"OwnerKey" = "8:_0D30F42AA1BF4CAD68CF0F68CA2E2B31"
"OwnerKey" = "8:_1A906CFBB62309B651DF38CAED213B87"
"MsmSig" = "8:_UNDEFINED"
}
"Entry"
{
"MsmKey" = "8:_UNDEFINED"
"OwnerKey" = "8:_A1AD242006F6A82DB7AF09B95BC051FB"
"OwnerKey" = "8:_FCA971AF249640AF813AD5FA6FA86316"
"MsmSig" = "8:_UNDEFINED"
}
"Entry"
{
"MsmKey" = "8:_UNDEFINED"
"OwnerKey" = "8:_1A906CFBB62309B651DF38CAED213B87"
"OwnerKey" = "8:_E96755324F944975A46F1C2AB887C641"
"MsmSig" = "8:_UNDEFINED"
}
"Entry"
{
"MsmKey" = "8:_UNDEFINED"
"OwnerKey" = "8:_16D0C231871F47F68D5A1B0E0CF51932"
"OwnerKey" = "8:_4365DD127F0B3709BC90660E1580951F"
"MsmSig" = "8:_UNDEFINED"
}
"Entry"
460,55 → 460,55
"Entry"
{
"MsmKey" = "8:_UNDEFINED"
"OwnerKey" = "8:_942E1D2EEC554C75BF76BB55043FF9D9"
"OwnerKey" = "8:_A21E48A1F2364CD3AA29AD8E127ACFC4"
"MsmSig" = "8:_UNDEFINED"
}
"Entry"
{
"MsmKey" = "8:_UNDEFINED"
"OwnerKey" = "8:_FCA971AF249640AF813AD5FA6FA86316"
"OwnerKey" = "8:_9506FF8067DF4EBAB165386E354A8825"
"MsmSig" = "8:_UNDEFINED"
}
"Entry"
{
"MsmKey" = "8:_UNDEFINED"
"OwnerKey" = "8:_E96755324F944975A46F1C2AB887C641"
"OwnerKey" = "8:_942E1D2EEC554C75BF76BB55043FF9D9"
"MsmSig" = "8:_UNDEFINED"
}
"Entry"
{
"MsmKey" = "8:_UNDEFINED"
"OwnerKey" = "8:_49F449422B863967212A03EED66734FB"
"OwnerKey" = "8:_8E480031C5768A3B50E7DDD1CC6FB6B2"
"MsmSig" = "8:_UNDEFINED"
}
"Entry"
{
"MsmKey" = "8:_UNDEFINED"
"OwnerKey" = "8:_A21E48A1F2364CD3AA29AD8E127ACFC4"
"OwnerKey" = "8:_5F824C2444B3EDF75FB5370DA7D73623"
"MsmSig" = "8:_UNDEFINED"
}
"Entry"
{
"MsmKey" = "8:_UNDEFINED"
"OwnerKey" = "8:_9506FF8067DF4EBAB165386E354A8825"
"OwnerKey" = "8:_26742559BF8E4A89AAD993EF50B16BCF"
"MsmSig" = "8:_UNDEFINED"
}
"Entry"
{
"MsmKey" = "8:_UNDEFINED"
"OwnerKey" = "8:_26742559BF8E4A89AAD993EF50B16BCF"
"OwnerKey" = "8:_E722170DB899223E1D900E51A2E765E0"
"MsmSig" = "8:_UNDEFINED"
}
"Entry"
{
"MsmKey" = "8:_UNDEFINED"
"OwnerKey" = "8:_E722170DB899223E1D900E51A2E765E0"
"OwnerKey" = "8:_E096C0D8181F8D0E827FCD918FC8A3E3"
"MsmSig" = "8:_UNDEFINED"
}
"Entry"
{
"MsmKey" = "8:_UNDEFINED"
"OwnerKey" = "8:_6C40477CE279D0FBB5C74CC42E8F9B5B"
"OwnerKey" = "8:_16D0C231871F47F68D5A1B0E0CF51932"
"MsmSig" = "8:_UNDEFINED"
}
}
651,7 → 651,7
{
"AssemblyRegister" = "3:1"
"AssemblyIsInGAC" = "11:FALSE"
"AssemblyAsmDisplayName" = "8:SoapBox.Demo.PinBall, Version=2009.11.11.0, Culture=neutral, processorArchitecture=MSIL"
"AssemblyAsmDisplayName" = "8:SoapBox.Demo.PinBall, Version=2010.3.17.0, Culture=neutral, processorArchitecture=MSIL"
"ScatterAssemblies"
{
"_1935C38EE155988D80B7165D01B4106E"
682,7 → 682,7
{
"AssemblyRegister" = "3:1"
"AssemblyIsInGAC" = "11:FALSE"
"AssemblyAsmDisplayName" = "8:SoapBox.Utilities, Version=1.0.0.0, Culture=neutral, processorArchitecture=MSIL"
"AssemblyAsmDisplayName" = "8:SoapBox.Utilities, Version=2010.3.17.0, Culture=neutral, processorArchitecture=MSIL"
"ScatterAssemblies"
{
"_1A906CFBB62309B651DF38CAED213B87"
709,14 → 709,14
"IsDependency" = "11:TRUE"
"IsolateTo" = "8:"
}
"{9F6F8455-1EF1-4B85-886A-4223BCC8E7F7}:_49F449422B863967212A03EED66734FB"
"{9F6F8455-1EF1-4B85-886A-4223BCC8E7F7}:_4365DD127F0B3709BC90660E1580951F"
{
"AssemblyRegister" = "3:1"
"AssemblyIsInGAC" = "11:FALSE"
"AssemblyAsmDisplayName" = "8:AvalonDock, Version=1.2.2691.0, Culture=neutral, PublicKeyToken=85a1e0ada7ec13e4, processorArchitecture=MSIL"
"ScatterAssemblies"
{
"_49F449422B863967212A03EED66734FB"
"_4365DD127F0B3709BC90660E1580951F"
{
"Name" = "8:AvalonDock.dll"
"Attributes" = "3:512"
771,20 → 771,20
"IsDependency" = "11:TRUE"
"IsolateTo" = "8:"
}
"{9F6F8455-1EF1-4B85-886A-4223BCC8E7F7}:_6C40477CE279D0FBB5C74CC42E8F9B5B"
"{9F6F8455-1EF1-4B85-886A-4223BCC8E7F7}:_8E480031C5768A3B50E7DDD1CC6FB6B2"
{
"AssemblyRegister" = "3:1"
"AssemblyIsInGAC" = "11:FALSE"
"AssemblyAsmDisplayName" = "8:NLog, Version=1.0.0.505, Culture=neutral, PublicKeyToken=5120e14c03d0593c, processorArchitecture=MSIL"
"AssemblyAsmDisplayName" = "8:Physics2DDotNet, Version=2.0.0.0, Culture=neutral, processorArchitecture=MSIL"
"ScatterAssemblies"
{
"_6C40477CE279D0FBB5C74CC42E8F9B5B"
"_8E480031C5768A3B50E7DDD1CC6FB6B2"
{
"Name" = "8:NLog.dll"
"Name" = "8:Physics2DDotNet.dll"
"Attributes" = "3:512"
}
}
"SourcePath" = "8:NLog.dll"
"SourcePath" = "8:Physics2DDotNet.dll"
"TargetName" = "8:"
"Tag" = "8:"
"Folder" = "8:_980FCFBE379243608A076BD67BAD8829"
802,14 → 802,14
"IsDependency" = "11:TRUE"
"IsolateTo" = "8:"
}
"{9F6F8455-1EF1-4B85-886A-4223BCC8E7F7}:_8E480031C5768A3B50E7DDD1CC6FB6B2"
"{9F6F8455-1EF1-4B85-886A-4223BCC8E7F7}:_9DBB46A874DD6182B2BCE40C21FBC791"
{
"AssemblyRegister" = "3:1"
"AssemblyIsInGAC" = "11:FALSE"
"AssemblyAsmDisplayName" = "8:Physics2DDotNet, Version=2.0.0.0, Culture=neutral, processorArchitecture=MSIL"
"ScatterAssemblies"
{
"_8E480031C5768A3B50E7DDD1CC6FB6B2"
"_9DBB46A874DD6182B2BCE40C21FBC791"
{
"Name" = "8:Physics2DDotNet.dll"
"Attributes" = "3:512"
833,20 → 833,20
"IsDependency" = "11:TRUE"
"IsolateTo" = "8:"
}
"{9F6F8455-1EF1-4B85-886A-4223BCC8E7F7}:_9DBB46A874DD6182B2BCE40C21FBC791"
"{9F6F8455-1EF1-4B85-886A-4223BCC8E7F7}:_A1AD242006F6A82DB7AF09B95BC051FB"
{
"AssemblyRegister" = "3:1"
"AssemblyIsInGAC" = "11:FALSE"
"AssemblyAsmDisplayName" = "8:Physics2DDotNet, Version=2.0.0.0, Culture=neutral, processorArchitecture=MSIL"
"AssemblyAsmDisplayName" = "8:SoapBox.Core.Contracts, Version=2010.3.17.0, Culture=neutral, processorArchitecture=MSIL"
"ScatterAssemblies"
{
"_9DBB46A874DD6182B2BCE40C21FBC791"
"_A1AD242006F6A82DB7AF09B95BC051FB"
{
"Name" = "8:Physics2DDotNet.dll"
"Name" = "8:SoapBox.Core.Contracts.dll"
"Attributes" = "3:512"
}
}
"SourcePath" = "8:Physics2DDotNet.dll"
"SourcePath" = "8:SoapBox.Core.Contracts.dll"
"TargetName" = "8:"
"Tag" = "8:"
"Folder" = "8:_980FCFBE379243608A076BD67BAD8829"
860,24 → 860,24
"SharedLegacy" = "11:FALSE"
"PackageAs" = "3:1"
"Register" = "3:1"
"Exclude" = "11:FALSE"
"Exclude" = "11:TRUE"
"IsDependency" = "11:TRUE"
"IsolateTo" = "8:"
}
"{9F6F8455-1EF1-4B85-886A-4223BCC8E7F7}:_A1AD242006F6A82DB7AF09B95BC051FB"
"{9F6F8455-1EF1-4B85-886A-4223BCC8E7F7}:_BD70808ACD1E038C3B089CF241727B2A"
{
"AssemblyRegister" = "3:1"
"AssemblyIsInGAC" = "11:FALSE"
"AssemblyAsmDisplayName" = "8:SoapBox.Core.Contracts, Version=2009.11.11.0, Culture=neutral, processorArchitecture=MSIL"
"AssemblyAsmDisplayName" = "8:SoapBox.Core.Arena, Version=2010.3.17.0, Culture=neutral, processorArchitecture=MSIL"
"ScatterAssemblies"
{
"_A1AD242006F6A82DB7AF09B95BC051FB"
"_BD70808ACD1E038C3B089CF241727B2A"
{
"Name" = "8:SoapBox.Core.Contracts.dll"
"Name" = "8:SoapBox.Core.Arena.dll"
"Attributes" = "3:512"
}
}
"SourcePath" = "8:SoapBox.Core.Contracts.dll"
"SourcePath" = "8:SoapBox.Core.Arena.dll"
"TargetName" = "8:"
"Tag" = "8:"
"Folder" = "8:_980FCFBE379243608A076BD67BAD8829"
895,20 → 895,20
"IsDependency" = "11:TRUE"
"IsolateTo" = "8:"
}
"{9F6F8455-1EF1-4B85-886A-4223BCC8E7F7}:_BD70808ACD1E038C3B089CF241727B2A"
"{9F6F8455-1EF1-4B85-886A-4223BCC8E7F7}:_E096C0D8181F8D0E827FCD918FC8A3E3"
{
"AssemblyRegister" = "3:1"
"AssemblyIsInGAC" = "11:FALSE"
"AssemblyAsmDisplayName" = "8:SoapBox.Core.Arena, Version=2009.11.11.0, Culture=neutral, processorArchitecture=MSIL"
"AssemblyAsmDisplayName" = "8:NLog, Version=1.0.0.505, Culture=neutral, PublicKeyToken=5120e14c03d0593c, processorArchitecture=MSIL"
"ScatterAssemblies"
{
"_BD70808ACD1E038C3B089CF241727B2A"
"_E096C0D8181F8D0E827FCD918FC8A3E3"
{
"Name" = "8:SoapBox.Core.Arena.dll"
"Name" = "8:NLog.dll"
"Attributes" = "3:512"
}
}
"SourcePath" = "8:SoapBox.Core.Arena.dll"
"SourcePath" = "8:NLog.dll"
"TargetName" = "8:"
"Tag" = "8:"
"Folder" = "8:_980FCFBE379243608A076BD67BAD8829"
922,7 → 922,7
"SharedLegacy" = "11:FALSE"
"PackageAs" = "3:1"
"Register" = "3:1"
"Exclude" = "11:TRUE"
"Exclude" = "11:FALSE"
"IsDependency" = "11:TRUE"
"IsolateTo" = "8:"
}
1024,14 → 1024,14
{
"Name" = "8:Microsoft Visual Studio"
"ProductName" = "8:SoapBox Core Pin Ball Demo"
"ProductCode" = "8:{ADB1D709-99D6-4E5F-8357-BA7D76FCE33F}"
"PackageCode" = "8:{6716152A-EE5D-4137-9958-2A249D17F1FE}"
"ProductCode" = "8:{7C7081FC-0840-4BF3-8EFD-640FD2A645E9}"
"PackageCode" = "8:{95FF22C1-1BC7-4885-99E1-6A8BCEAA0A2B}"
"UpgradeCode" = "8:{1245DED9-4D93-48F9-A076-A12D8E3343B1}"
"RestartWWWService" = "11:FALSE"
"RemovePreviousVersions" = "11:TRUE"
"DetectNewerInstalledVersion" = "11:TRUE"
"InstallAllUsers" = "11:FALSE"
"ProductVersion" = "8:10.03.17"
"ProductVersion" = "8:10.05.24"
"Manufacturer" = "8:SoapBox Automation"
"ARPHELPTELEPHONE" = "8:"
"ARPHELPLINK" = "8:http://soapboxcore.com/"
/trunk/SoapBox/SoapBox.Demo/SoapBox.Demo.PinBall/Workbench/StatusBar/ScoreDisplay.cs
39,7 → 39,7
public BallsScoreSeparator()
{
ID = "BallsScoreSeparator";
InsertRelativeToID = "BallCounterText";
InsertRelativeToID = "BallCounterProgressBar";
BeforeOrAfter = RelativeDirection.After;
}
}
/trunk/SoapBox/SoapBox.Demo/SoapBox.Demo.PinBall/Workbench/StatusBar/BallCounter.cs
62,4 → 62,26
Text = ballCount.ToString();
}
}
 
[Export(SoapBox.Core.ExtensionPoints.Workbench.StatusBar, typeof(IStatusBarItem))]
[Export(CompositionPoints.Workbench.StatusBar.BallCounterProgressBar, typeof(BallCounterProgressBar))]
public class BallCounterProgressBar : AbstractStatusBarProgressBar
{
public BallCounterProgressBar()
{
ID = "BallCounterProgressBar";
InsertRelativeToID = "BallCounterText";
BeforeOrAfter = RelativeDirection.After;
}
 
public void SetBallCount(int ballCount, int outOf)
{
Maximum = (double)outOf;
Value = (double)ballCount;
}
public void SetBallCount(int ballCount)
{
Value = (double)ballCount;
}
}
}
/trunk/SoapBox/SoapBox.Demo/SoapBox.Demo.PinBall/CompositionPoints.cs
22,6 → 22,7
{
public const string BallCounterHeading = "CompositionPoints.Workbench.StatusBar.BallCounterHeading";
public const string BallCounterText = "CompositionPoints.Workbench.StatusBar.BallCounterText";
public const string BallCounterProgressBar = "CompositionPoints.Workbench.StatusBar.BallCounterProgressBar";
public const string BallsScoreSeparator = "CompositionPoints.Workbench.StatusBar.BallsScoreSeparator";
public const string ScoreDisplayHeading = "CompositionPoints.Workbench.StatusBar.ScoreDisplayHeading";
public const string ScoreDisplayText = "CompositionPoints.Workbench.StatusBar.ScoreDisplayText";
/trunk/SoapBox/SoapBox.Demo/SoapBox.Demo.PinBall/Arena/PinBallTable.cs
41,6 → 41,8
{
public const string DOCUMENT_NAME = "PinBallTable";
 
public const int NUMBER_OF_BALLS = 3;
 
public const float HARD_SURFACE_FRICTION = 0.00001f;
public const float HARD_SURFACE_RESTITUTION = 0.2f;
 
71,6 → 73,7
public PinBallTable(
[Import(CompositionPoints.Workbench.StatusBar.BallCounterHeading, typeof(BallCounterHeading))] BallCounterHeading ballCounterHeading,
[Import(CompositionPoints.Workbench.StatusBar.BallCounterText, typeof(BallCounterText))] BallCounterText ballCounterText,
[Import(CompositionPoints.Workbench.StatusBar.BallCounterProgressBar, typeof(BallCounterProgressBar))] BallCounterProgressBar ballCounterProgressBar,
[Import(CompositionPoints.Workbench.StatusBar.BallsScoreSeparator, typeof(BallsScoreSeparator))] BallsScoreSeparator ballsScoreSeparator,
[Import(CompositionPoints.Workbench.StatusBar.ScoreDisplayHeading, typeof(ScoreDisplayHeading))] ScoreDisplayHeading scoreDisplayHeading,
[Import(CompositionPoints.Workbench.StatusBar.ScoreDisplayText, typeof(ScoreDisplayText))] ScoreDisplayText scoreDisplayText)
83,11 → 86,14
// Init the ball counter (status bar)
m_ballCounterText = ballCounterText;
m_ballCounterText.SetBallCount(Balls);
m_ballCounterProgressBar = ballCounterProgressBar;
m_ballCounterProgressBar.SetBallCount(Balls, NUMBER_OF_BALLS);
m_scoreDisplayText = scoreDisplayText;
m_scoreDisplayText.SetScore(0);
// allow us to control visibility
ballCounterHeading.VisibleCondition = m_IsRunningCondition;
ballCounterText.VisibleCondition = m_IsRunningCondition;
ballCounterProgressBar.VisibleCondition = m_IsRunningCondition;
ballsScoreSeparator.VisibleCondition = m_IsRunningCondition;
scoreDisplayHeading.VisibleCondition = m_IsRunningCondition;
scoreDisplayText.VisibleCondition = m_IsRunningCondition;
258,6 → 264,7
private ILoggingService logger { get; set; }
 
private BallCounterText m_ballCounterText = null;
private BallCounterProgressBar m_ballCounterProgressBar = null;
private ScoreDisplayText m_scoreDisplayText = null;
 
[Import(SoapBox.Core.Services.Host.ExtensionService)]
526,6 → 533,7
if (e.PropertyName == m_BallsName)
{
m_ballCounterText.SetBallCount(Balls);
m_ballCounterProgressBar.SetBallCount(Balls, NUMBER_OF_BALLS);
if (Balls <= 0)
{
// game over
533,7 → 541,7
ExecuteGameOverCommands();
MessageBox.Show(Resources.Strings.Arena_PinBallTable_GameOverMessage,
Resources.Strings.Arena_PinBallTable_GameOver, MessageBoxButton.OK);
Balls = 3;
Balls = NUMBER_OF_BALLS;
Level = 0;
m_Score = 0;
m_scoreDisplayText.SetScore(0);
645,7 → 653,7
}
}
}
private int m_Balls = 3;
private int m_Balls = NUMBER_OF_BALLS;
static readonly PropertyChangedEventArgs m_BallsArgs =
NotifyPropertyChangedHelper.CreateArgs<PinBallTable>(o => o.Balls);
static readonly string m_BallsName =
/trunk/SoapBox/SoapBox.Demo/SoapBox.Demo.PinBall/Properties/AssemblyInfo.cs
51,5 → 51,5
// 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("2010.03.17.0")]
[assembly: AssemblyFileVersion("2010.03.17.0")]
[assembly: AssemblyVersion("2010.05.24.0")]
[assembly: AssemblyFileVersion("2010.05.24.0")]
/trunk/SoapBox/SoapBox.Demo/SoapBox.Demo.PinBall/SoapBox.Demo.PinBall.csproj
247,7 → 247,7
</ProjectReference>
<ProjectReference Include="..\..\SoapBox.Utilities\SoapBox.Utilities.csproj">
<Project>{28CCC32E-9FEC-40B5-B7A9-299449635464}</Project>
<Name>SoapBox.Utilities %28SoapBox.Utilities\SoapBox.Utilities%29</Name>
<Name>SoapBox.Utilities %28SoapBox\SoapBox.Utilities\SoapBox.Utilities%29</Name>
</ProjectReference>
</ItemGroup>
<ItemGroup>
/trunk/SoapBox/SoapBox.Core/SoapBox.Core.Workbench/Properties/AssemblyInfo.cs
51,5 → 51,5
// 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("2010.03.17.0")]
[assembly: AssemblyFileVersion("2010.03.17.0")]
[assembly: AssemblyVersion("2010.05.24.0")]
[assembly: AssemblyFileVersion("2010.05.24.0")]
/trunk/SoapBox/SoapBox.Core/SoapBox.Core.Workbench/SoapBox.Core.Workbench.csproj
129,7 → 129,7
<ItemGroup>
<ProjectReference Include="..\..\SoapBox.Utilities\SoapBox.Utilities.csproj">
<Project>{28CCC32E-9FEC-40B5-B7A9-299449635464}</Project>
<Name>SoapBox.Utilities %28SoapBox.Utilities\SoapBox.Utilities%29</Name>
<Name>SoapBox.Utilities</Name>
</ProjectReference>
<ProjectReference Include="..\SoapBox.Core.Contracts\SoapBox.Core.Contracts.csproj">
<Project>{FDF772E9-FEF6-487A-B5C7-B64267449CC0}</Project>
/trunk/SoapBox/SoapBox.Core/SoapBox.Core.Arena/SoapBox.Core.Arena.csproj
97,7 → 97,7
</ProjectReference>
<ProjectReference Include="..\..\SoapBox.Utilities\SoapBox.Utilities.csproj">
<Project>{28CCC32E-9FEC-40B5-B7A9-299449635464}</Project>
<Name>SoapBox.Utilities %28SoapBox.Utilities\SoapBox.Utilities%29</Name>
<Name>SoapBox.Utilities</Name>
</ProjectReference>
<ProjectReference Include="..\SoapBox.Core.Contracts\SoapBox.Core.Contracts.csproj">
<Project>{FDF772E9-FEF6-487A-B5C7-B64267449CC0}</Project>
/trunk/SoapBox/SoapBox.Core/SoapBox.Core.Arena/Properties/AssemblyInfo.cs
32,8 → 32,8
// 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("2010.03.17.0")]
[assembly: AssemblyFileVersion("2010.03.17.0")]
[assembly: AssemblyVersion("2010.05.24.0")]
[assembly: AssemblyFileVersion("2010.05.24.0")]
 
 
// For Unit Testing
/trunk/SoapBox/SoapBox.Core/SoapBox.Core.Logging/Properties/AssemblyInfo.cs
32,5 → 32,5
// 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("2010.03.17.0")]
[assembly: AssemblyFileVersion("2010.03.17.0")]
[assembly: AssemblyVersion("2010.05.24.0")]
[assembly: AssemblyFileVersion("2010.05.24.0")]
/trunk/SoapBox/SoapBox.Core/SoapBox.Core.Options/Properties/AssemblyInfo.cs
32,5 → 32,5
// 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("2010.03.17.0")]
[assembly: AssemblyFileVersion("2010.03.17.0")]
[assembly: AssemblyVersion("2010.05.24.0")]
[assembly: AssemblyFileVersion("2010.05.24.0")]
/trunk/SoapBox/SoapBox.Core/SoapBox.Core.Host/Properties/AssemblyInfo.cs
51,5 → 51,5
// 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("2010.03.17.0")]
[assembly: AssemblyFileVersion("2010.03.17.0")]
[assembly: AssemblyVersion("2010.05.24.0")]
[assembly: AssemblyFileVersion("2010.05.24.0")]
/trunk/SoapBox/SoapBox.Core/SoapBox.Core.Layout/Properties/AssemblyInfo.cs
32,5 → 32,5
// 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("2010.03.17.0")]
[assembly: AssemblyFileVersion("2010.03.17.0")]
[assembly: AssemblyVersion("2010.05.24.0")]
[assembly: AssemblyFileVersion("2010.05.24.0")]
/trunk/SoapBox/SoapBox.Core/SoapBox.Core.Layout/Layout/DocumentItem.cs
1,5 → 1,30
#region "SoapBox.Core License"
/// <header module="SoapBox.Core">
/// Copyright (C) 2009 SoapBox Automation Inc., All Rights Reserved.
/// Contact: SoapBox Automation Licencing (license@soapboxautomation.com)
///
/// This file is part of SoapBox Core.
///
/// Commercial Usage
/// Licensees holding valid SoapBox Automation Commercial licenses may use
/// this file in accordance with the SoapBox Automation Commercial License
/// Agreement provided with the Software or, alternatively, in accordance
/// with the terms contained in a written agreement between you and
/// SoapBox Automation Inc.
///
/// GNU Lesser General Public License Usage
/// SoapBox Core is free software: you can redistribute it and/or modify
/// it under the terms of the GNU Lesser General Public License
/// as published by the Free Software Foundation, either version 3 of the
/// License, or (at your option) any later version.
///
/// SoapBox Core is distributed in the hope that it will be useful,
/// but WITHOUT ANY WARRANTY; without even the implied warranty of
/// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
/// GNU Lesser General Public License for more details.
///
/// You should have received a copy of the GNU Lesser General Public License
/// along with SoapBox Core. If not, see <http://www.gnu.org/licenses/>.
/// </header>
#endregion
/trunk/SoapBox/SoapBox.Core/SoapBox.Core.Layout/Layout/LayoutManager.cs
41,6 → 41,8
using System.Windows.Input;
using System.Windows;
using System.Xml.Serialization;
using System.ComponentModel;
using SoapBox.Utilities;
 
namespace SoapBox.Core.Layout
{
85,6 → 87,7
DockablePane dp = new DockablePane();
dp.Items.Add(content);
m_resizingPanel.Children.Add(dp);
pad.PropertyChanged += new PropertyChangedEventHandler(pad_PropertyChanged);
content.GotFocus += new RoutedEventHandler(pad.OnGotFocus);
content.LostFocus += new RoutedEventHandler(pad.OnLostFocus);
}
128,6 → 131,8
content.Name = doc.Name;
m_documentLookup.Add(doc, content);
m_docPane.Items.Add(content);
// all these event handlers get unsubscribed in the content_Closing method
doc.PropertyChanged += new PropertyChangedEventHandler(doc_PropertyChanged);
content.Closing += new EventHandler<System.ComponentModel.CancelEventArgs>(doc.OnClosing);
content.Closed += new EventHandler(content_Closed);
content.GotFocus += new RoutedEventHandler(doc.OnGotFocus);
139,6 → 144,54
return doc;
}
 
// Keep the VM properties in sync with
// the V properties (backwards data binding?)
void pad_PropertyChanged(object sender, PropertyChangedEventArgs e)
{
var pad = sender as IPad;
if (pad != null)
{
var content = m_padLookup[pad];
if (content != null)
{
if (e.PropertyName == m_TitleName)
{
content.Title = pad.Title;
}
else if (e.PropertyName == m_NameName)
{
content.Name = pad.Name;
}
}
}
}
 
// Keep the VM properties in sync with
// the V properties (backwards data binding?)
void doc_PropertyChanged(object sender, PropertyChangedEventArgs e)
{
var doc = sender as IDocument;
if (doc != null)
{
var content = m_documentLookup[doc];
if (content != null)
{
if (e.PropertyName == m_TitleName)
{
content.Title = doc.Title;
}
else if (e.PropertyName == m_NameName)
{
content.Name = doc.Name;
}
}
}
}
private static string m_TitleName =
NotifyPropertyChangedHelper.GetPropertyName<ILayoutItem>(o => o.Title);
private static string m_NameName =
NotifyPropertyChangedHelper.GetPropertyName<ILayoutItem>(o => o.Name);
 
/// <summary>
/// Closes the given instance of a document, if it exists
/// </summary>
168,6 → 221,13
{
DocumentContent content = sender as DocumentContent;
IDocument document = content.Content as IDocument;
 
document.PropertyChanged -= new PropertyChangedEventHandler(doc_PropertyChanged);
content.Closing -= new EventHandler<System.ComponentModel.CancelEventArgs>(document.OnClosing);
content.Closed -= new EventHandler(content_Closed);
content.GotFocus -= new RoutedEventHandler(document.OnGotFocus);
content.LostFocus -= new RoutedEventHandler(document.OnLostFocus);
 
m_documentLookup.Remove(document);
document.OnClosed(sender, e);
}
/trunk/SoapBox/SoapBox.Core/SoapBox.Core.Layout/Layout/DocumentList.cs
1,5 → 1,30
#region "SoapBox.Core License"
/// <header module="SoapBox.Core">
/// Copyright (C) 2009 SoapBox Automation Inc., All Rights Reserved.
/// Contact: SoapBox Automation Licencing (license@soapboxautomation.com)
///
/// This file is part of SoapBox Core.
///
/// Commercial Usage
/// Licensees holding valid SoapBox Automation Commercial licenses may use
/// this file in accordance with the SoapBox Automation Commercial License
/// Agreement provided with the Software or, alternatively, in accordance
/// with the terms contained in a written agreement between you and
/// SoapBox Automation Inc.
///
/// GNU Lesser General Public License Usage
/// SoapBox Core is free software: you can redistribute it and/or modify
/// it under the terms of the GNU Lesser General Public License
/// as published by the Free Software Foundation, either version 3 of the
/// License, or (at your option) any later version.
///
/// SoapBox Core is distributed in the hope that it will be useful,
/// but WITHOUT ANY WARRANTY; without even the implied warranty of
/// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
/// GNU Lesser General Public License for more details.
///
/// You should have received a copy of the GNU Lesser General Public License
/// along with SoapBox Core. If not, see <http://www.gnu.org/licenses/>.
/// </header>
#endregion
/trunk/SoapBox/SoapBox.Core/SoapBox.Core.Layout/SoapBox.Core.Layout.csproj
71,6 → 71,10
<Project>{2FF700C2-A38A-48BD-A637-8CAFD4FE6237}</Project>
<Name>AvalonDock %28AvalonDock\AvalonDock%29</Name>
</ProjectReference>
<ProjectReference Include="..\..\SoapBox.Utilities\SoapBox.Utilities.csproj">
<Project>{28CCC32E-9FEC-40B5-B7A9-299449635464}</Project>
<Name>SoapBox.Utilities</Name>
</ProjectReference>
<ProjectReference Include="..\SoapBox.Core.Contracts\SoapBox.Core.Contracts.csproj">
<Project>{FDF772E9-FEF6-487A-B5C7-B64267449CC0}</Project>
<Name>SoapBox.Core.Contracts</Name>
/trunk/SoapBox/SoapBox.Core/SoapBox.Core.Messaging/MessagingService.cs
1,5 → 1,30
#region "SoapBox.Core License"
/// <header module="SoapBox.Core">
/// Copyright (C) 2009 SoapBox Automation Inc., All Rights Reserved.
/// Contact: SoapBox Automation Licencing (license@soapboxautomation.com)
///
/// This file is part of SoapBox Core.
///
/// Commercial Usage
/// Licensees holding valid SoapBox Automation Commercial licenses may use
/// this file in accordance with the SoapBox Automation Commercial License
/// Agreement provided with the Software or, alternatively, in accordance
/// with the terms contained in a written agreement between you and
/// SoapBox Automation Inc.
///
/// GNU Lesser General Public License Usage
/// SoapBox Core is free software: you can redistribute it and/or modify
/// it under the terms of the GNU Lesser General Public License
/// as published by the Free Software Foundation, either version 3 of the
/// License, or (at your option) any later version.
///
/// SoapBox Core is distributed in the hope that it will be useful,
/// but WITHOUT ANY WARRANTY; without even the implied warranty of
/// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
/// GNU Lesser General Public License for more details.
///
/// You should have received a copy of the GNU Lesser General Public License
/// along with SoapBox Core. If not, see <http://www.gnu.org/licenses/>.
/// </header>
#endregion
/trunk/SoapBox/SoapBox.Core/SoapBox.Core.Messaging/Properties/AssemblyInfo.cs
51,5 → 51,5
// 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("2010.03.17.0")]
[assembly: AssemblyFileVersion("2010.03.17.0")]
[assembly: AssemblyVersion("2010.05.24.0")]
[assembly: AssemblyFileVersion("2010.05.24.0")]
/trunk/SoapBox/SoapBox.Core/SoapBox.Core.FileDialog/Properties/AssemblyInfo.cs
51,5 → 51,5
// 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("2010.03.17.0")]
[assembly: AssemblyFileVersion("2010.03.17.0")]
[assembly: AssemblyVersion("2010.05.24.0")]
[assembly: AssemblyFileVersion("2010.05.24.0")]
/trunk/SoapBox/SoapBox.Core/SoapBox.Core.FileDialog/FileDialogService.cs
1,5 → 1,30
#region "SoapBox.Core License"
/// <header module="SoapBox.Core">
/// Copyright (C) 2009 SoapBox Automation Inc., All Rights Reserved.
/// Contact: SoapBox Automation Licencing (license@soapboxautomation.com)
///
/// This file is part of SoapBox Core.
///
/// Commercial Usage
/// Licensees holding valid SoapBox Automation Commercial licenses may use
/// this file in accordance with the SoapBox Automation Commercial License
/// Agreement provided with the Software or, alternatively, in accordance
/// with the terms contained in a written agreement between you and
/// SoapBox Automation Inc.
///
/// GNU Lesser General Public License Usage
/// SoapBox Core is free software: you can redistribute it and/or modify
/// it under the terms of the GNU Lesser General Public License
/// as published by the Free Software Foundation, either version 3 of the
/// License, or (at your option) any later version.
///
/// SoapBox Core is distributed in the hope that it will be useful,
/// but WITHOUT ANY WARRANTY; without even the implied warranty of
/// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
/// GNU Lesser General Public License for more details.
///
/// You should have received a copy of the GNU Lesser General Public License
/// along with SoapBox Core. If not, see <http://www.gnu.org/licenses/>.
/// </header>
#endregion
/trunk/SoapBox/SoapBox.Core/SoapBox.Core.Contracts/Properties/AssemblyInfo.cs
32,5 → 32,5
// 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("2010.03.17.0")]
[assembly: AssemblyFileVersion("2010.03.17.0")]
[assembly: AssemblyVersion("2010.05.24.0")]
[assembly: AssemblyFileVersion("2010.05.24.0")]
/trunk/SoapBox/SoapBox.Core/SoapBox.Core.Contracts/SoapBox.Core.Contracts.csproj
69,11 → 69,16
<Compile Include="Gui\Controls\AbstractLabel.cs" />
<Compile Include="Gui\Controls\AbstractRadioButton.cs" />
<Compile Include="Gui\Controls\AbstractSeparator.cs" />
<Compile Include="Gui\Controls\AbstractButtonView.xaml.cs">
<DependentUpon>AbstractButtonView.xaml</DependentUpon>
</Compile>
<Compile Include="Gui\Controls\AbstractToggleButton.cs" />
<Compile Include="Gui\Controls\AbstractProgressBar.cs" />
<Compile Include="Gui\Controls\IButton.cs" />
<Compile Include="Gui\Controls\ICommandControl.cs" />
<Compile Include="Gui\Controls\IControl.cs" />
<Compile Include="Gui\Controls\ILabel.cs" />
<Compile Include="Gui\Controls\IProgressBar.cs" />
<Compile Include="Gui\Controls\IRadioButton.cs" />
<Compile Include="Gui\Controls\IToggleButton.cs" />
<Compile Include="Gui\Layout\AbstractLayoutItem.cs" />
100,6 → 105,10
<Compile Include="Gui\StatusBar\StatusBarLabel\AbstractStatusBarLabelView.xaml.cs">
<DependentUpon>AbstractStatusBarLabelView.xaml</DependentUpon>
</Compile>
<Compile Include="Gui\StatusBar\StatusBarProgressBar\AbstractStatusBarProgressBarView.xaml.cs">
<DependentUpon>AbstractStatusBarProgressBarView.xaml</DependentUpon>
</Compile>
<Compile Include="Gui\StatusBar\StatusBarProgressBar\AbstractStatusBarProgressBar.cs" />
<Compile Include="Gui\StatusBar\StatusBarRadioButton\AbstractStatusBarRadioButton.cs" />
<Compile Include="Gui\StatusBar\StatusBarRadioButton\AbstractStatusBarRadioButtonView.xaml.cs">
<DependentUpon>AbstractStatusBarRadioButtonView.xaml</DependentUpon>
152,6 → 161,10
<Compile Include="Utilities\UIHelper.cs" />
</ItemGroup>
<ItemGroup>
<Page Include="Gui\Controls\AbstractButtonView.xaml">
<Generator>MSBuild:Compile</Generator>
<SubType>Designer</SubType>
</Page>
<Page Include="Gui\StatusBar\StatusBarButton\AbstractStatusBarButtonView.xaml">
<Generator>MSBuild:Compile</Generator>
<SubType>Designer</SubType>
160,6 → 173,10
<Generator>MSBuild:Compile</Generator>
<SubType>Designer</SubType>
</Page>
<Page Include="Gui\StatusBar\StatusBarProgressBar\AbstractStatusBarProgressBarView.xaml">
<Generator>MSBuild:Compile</Generator>
<SubType>Designer</SubType>
</Page>
<Page Include="Gui\StatusBar\StatusBarRadioButton\AbstractStatusBarRadioButtonView.xaml">
<Generator>MSBuild:Compile</Generator>
<SubType>Designer</SubType>
204,7 → 221,7
</ProjectReference>
<ProjectReference Include="..\..\SoapBox.Utilities\SoapBox.Utilities.csproj">
<Project>{28CCC32E-9FEC-40B5-B7A9-299449635464}</Project>
<Name>SoapBox.Utilities %28SoapBox.Utilities\SoapBox.Utilities%29</Name>
<Name>SoapBox.Utilities</Name>
</ProjectReference>
</ItemGroup>
<Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
/trunk/SoapBox/SoapBox.Core/SoapBox.Core.Contracts/Extensions.cs
1,5 → 1,30
#region "SoapBox.Core License"
/// <header module="SoapBox.Core">
/// Copyright (C) 2009 SoapBox Automation Inc., All Rights Reserved.
/// Contact: SoapBox Automation Licencing (license@soapboxautomation.com)
///
/// This file is part of SoapBox Core.
///
/// Commercial Usage
/// Licensees holding valid SoapBox Automation Commercial licenses may use
/// this file in accordance with the SoapBox Automation Commercial License
/// Agreement provided with the Software or, alternatively, in accordance
/// with the terms contained in a written agreement between you and
/// SoapBox Automation Inc.
///
/// GNU Lesser General Public License Usage
/// SoapBox Core is free software: you can redistribute it and/or modify
/// it under the terms of the GNU Lesser General Public License
/// as published by the Free Software Foundation, either version 3 of the
/// License, or (at your option) any later version.
///
/// SoapBox Core is distributed in the hope that it will be useful,
/// but WITHOUT ANY WARRANTY; without even the implied warranty of
/// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
/// GNU Lesser General Public License for more details.
///
/// You should have received a copy of the GNU Lesser General Public License
/// along with SoapBox Core. If not, see <http://www.gnu.org/licenses/>.
/// </header>
#endregion
/trunk/SoapBox/SoapBox.Core/SoapBox.Core.Contracts/Services/MessagingService/IMessagingService.cs
1,5 → 1,30
#region "SoapBox.Core License"
/// <header module="SoapBox.Core">
/// Copyright (C) 2009 SoapBox Automation Inc., All Rights Reserved.
/// Contact: SoapBox Automation Licencing (license@soapboxautomation.com)
///
/// This file is part of SoapBox Core.
///
/// Commercial Usage
/// Licensees holding valid SoapBox Automation Commercial licenses may use
/// this file in accordance with the SoapBox Automation Commercial License
/// Agreement provided with the Software or, alternatively, in accordance
/// with the terms contained in a written agreement between you and
/// SoapBox Automation Inc.
///
/// GNU Lesser General Public License Usage
/// SoapBox Core is free software: you can redistribute it and/or modify
/// it under the terms of the GNU Lesser General Public License
/// as published by the Free Software Foundation, either version 3 of the
/// License, or (at your option) any later version.
///
/// SoapBox Core is distributed in the hope that it will be useful,
/// but WITHOUT ANY WARRANTY; without even the implied warranty of
/// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
/// GNU Lesser General Public License for more details.
///
/// You should have received a copy of the GNU Lesser General Public License
/// along with SoapBox Core. If not, see <http://www.gnu.org/licenses/>.
/// </header>
#endregion
/trunk/SoapBox/SoapBox.Core/SoapBox.Core.Contracts/Services/FileDialogService/IFileDialogService.cs
1,5 → 1,30
#region "SoapBox.Core License"
/// <header module="SoapBox.Core">
/// Copyright (C) 2009 SoapBox Automation Inc., All Rights Reserved.
/// Contact: SoapBox Automation Licencing (license@soapboxautomation.com)
///
/// This file is part of SoapBox Core.
///
/// Commercial Usage
/// Licensees holding valid SoapBox Automation Commercial licenses may use
/// this file in accordance with the SoapBox Automation Commercial License
/// Agreement provided with the Software or, alternatively, in accordance
/// with the terms contained in a written agreement between you and
/// SoapBox Automation Inc.
///
/// GNU Lesser General Public License Usage
/// SoapBox Core is free software: you can redistribute it and/or modify
/// it under the terms of the GNU Lesser General Public License
/// as published by the Free Software Foundation, either version 3 of the
/// License, or (at your option) any later version.
///
/// SoapBox Core is distributed in the hope that it will be useful,
/// but WITHOUT ANY WARRANTY; without even the implied warranty of
/// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
/// GNU Lesser General Public License for more details.
///
/// You should have received a copy of the GNU Lesser General Public License
/// along with SoapBox Core. If not, see <http://www.gnu.org/licenses/>.
/// </header>
#endregion
/trunk/SoapBox/SoapBox.Core/SoapBox.Core.Contracts/Gui/Controls/AbstractButton.cs
157,5 → 157,54
 
#endregion
 
#region " IsCancel "
/// <summary>
/// Defaults to true. Set to false to make the control disappear.
/// </summary>
public bool IsCancel
{
get
{
return m_IsCancel;
}
protected set
{
if (m_IsCancel != value)
{
m_IsCancel = value;
NotifyPropertyChanged(m_IsCancelArgs);
}
}
}
private bool m_IsCancel = false;
static readonly PropertyChangedEventArgs m_IsCancelArgs =
NotifyPropertyChangedHelper.CreateArgs<AbstractButton>(o => o.IsCancel);
#endregion
 
#region " IsDefault "
/// <summary>
/// Defaults to true. Set to false to make the control disappear.
/// </summary>
public bool IsDefault
{
get
{
return m_IsDefault;
}
protected set
{
if (m_IsDefault != value)
{
m_IsDefault = value;
NotifyPropertyChanged(m_IsDefaultArgs);
}
}
}
private bool m_IsDefault = false;
static readonly PropertyChangedEventArgs m_IsDefaultArgs =
NotifyPropertyChangedHelper.CreateArgs<AbstractButton>(o => o.IsDefault);
#endregion
 
 
}
}
/trunk/SoapBox/SoapBox.Core/SoapBox.Core.Contracts/Gui/Controls/IProgressBar.cs
New file
0,0 → 1,42
#region "SoapBox.Core License"
/// <header module="SoapBox.Core">
/// Copyright (C) 2009 SoapBox Automation Inc., All Rights Reserved.
/// Contact: SoapBox Automation Licencing (license@soapboxautomation.com)
///
/// This file is part of SoapBox Core.
///
/// Commercial Usage
/// Licensees holding valid SoapBox Automation Commercial licenses may use
/// this file in accordance with the SoapBox Automation Commercial License
/// Agreement provided with the Software or, alternatively, in accordance
/// with the terms contained in a written agreement between you and
/// SoapBox Automation Inc.
///
/// GNU Lesser General Public License Usage
/// SoapBox Core is free software: you can redistribute it and/or modify
/// it under the terms of the GNU Lesser General Public License
/// as published by the Free Software Foundation, either version 3 of the
/// License, or (at your option) any later version.
///
/// SoapBox Core is distributed in the hope that it will be useful,
/// but WITHOUT ANY WARRANTY; without even the implied warranty of
/// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
/// GNU Lesser General Public License for more details.
///
/// You should have received a copy of the GNU Lesser General Public License
/// along with SoapBox Core. If not, see <http://www.gnu.org/licenses/>.
/// </header>
#endregion
using System;
using System.Collections.Generic;
 
namespace SoapBox.Core
{
public interface IProgressBar : IControl
{
double Minimum { get; }
double Maximum { get; }
double Value { get; }
}
}
/trunk/SoapBox/SoapBox.Core/SoapBox.Core.Contracts/Gui/Controls/AbstractControl.cs
32,6 → 32,7
using System.Collections.Generic;
using System.ComponentModel;
using SoapBox.Utilities;
using System.Windows;
 
namespace SoapBox.Core
{
149,5 → 150,125
}
#endregion
 
#region " Padding "
/// <summary>
/// The padding inside the control.
/// </summary>
public Thickness Padding
{
get
{
return m_Padding;
}
protected set
{
if (value == null)
{
throw new ArgumentNullException(m_PaddingName);
}
if (m_Padding != value)
{
m_Padding = value;
NotifyPropertyChanged(m_PaddingArgs);
}
}
}
private Thickness m_Padding = new Thickness(0);
static readonly PropertyChangedEventArgs m_PaddingArgs =
NotifyPropertyChangedHelper.CreateArgs<AbstractControl>(o => o.Padding);
static readonly string m_PaddingName =
NotifyPropertyChangedHelper.GetPropertyName<AbstractControl>(o => o.Padding);
#endregion
 
#region " Margin "
/// <summary>
/// The Margin inside the control.
/// </summary>
public Thickness Margin
{
get
{
return m_Margin;
}
protected set
{
if (value == null)
{
throw new ArgumentNullException(m_MarginName);
}
if (m_Margin != value)
{
m_Margin = value;
NotifyPropertyChanged(m_MarginArgs);
}
}
}
private Thickness m_Margin = new Thickness(0);
static readonly PropertyChangedEventArgs m_MarginArgs =
NotifyPropertyChangedHelper.CreateArgs<AbstractControl>(o => o.Margin);
static readonly string m_MarginName =
NotifyPropertyChangedHelper.GetPropertyName<AbstractControl>(o => o.Margin);
#endregion
 
#region " Width "
/// <summary>
/// This is the Width of the control
/// </summary>
public double Width
{
get
{
return m_Width;
}
protected set
{
if (value < 0)
{
throw new ArgumentOutOfRangeException(m_WidthName);
}
if (m_Width != value)
{
m_Width = value;
NotifyPropertyChanged(m_WidthArgs);
}
}
}
private double m_Width = double.NaN;
static readonly PropertyChangedEventArgs m_WidthArgs =
NotifyPropertyChangedHelper.CreateArgs<AbstractControl>(o => o.Width);
static readonly string m_WidthName =
NotifyPropertyChangedHelper.GetPropertyName<AbstractControl>(o => o.Width);
#endregion
 
#region " Height "
/// <summary>
/// This is the Height of the control
/// </summary>
public double Height
{
get
{
return m_Height;
}
protected set
{
if (value < 0)
{
throw new ArgumentOutOfRangeException(m_HeightName);
}
if (m_Height != value)
{
m_Height = value;
NotifyPropertyChanged(m_HeightArgs);
}
}
}
private double m_Height = double.NaN;
static readonly PropertyChangedEventArgs m_HeightArgs =
NotifyPropertyChangedHelper.CreateArgs<AbstractControl>(o => o.Height);
static readonly string m_HeightName =
NotifyPropertyChangedHelper.GetPropertyName<AbstractControl>(o => o.Height);
#endregion
 
}
}
/trunk/SoapBox/SoapBox.Core/SoapBox.Core.Contracts/Gui/Controls/AbstractProgressBar.cs
New file
0,0 → 1,113
#region "SoapBox.Core License"
/// <header module="SoapBox.Core">
/// Copyright (C) 2009 SoapBox Automation Inc., All Rights Reserved.
/// Contact: SoapBox Automation Licencing (license@soapboxautomation.com)
///
/// This file is part of SoapBox Core.
///
/// Commercial Usage
/// Licensees holding valid SoapBox Automation Commercial licenses may use
/// this file in accordance with the SoapBox Automation Commercial License
/// Agreement provided with the Software or, alternatively, in accordance
/// with the terms contained in a written agreement between you and
/// SoapBox Automation Inc.
///
/// GNU Lesser General Public License Usage
/// SoapBox Core is free software: you can redistribute it and/or modify
/// it under the terms of the GNU Lesser General Public License
/// as published by the Free Software Foundation, either version 3 of the
/// License, or (at your option) any later version.
///
/// SoapBox Core is distributed in the hope that it will be useful,
/// but WITHOUT ANY WARRANTY; without even the implied warranty of
/// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
/// GNU Lesser General Public License for more details.
///
/// You should have received a copy of the GNU Lesser General Public License
/// along with SoapBox Core. If not, see <http://www.gnu.org/licenses/>.
/// </header>
#endregion
using System;
using System.Collections.Generic;
using System.ComponentModel;
using SoapBox.Utilities;
 
namespace SoapBox.Core
{
public abstract class AbstractProgressBar : AbstractControl, IProgressBar
{
#region " Minimum "
/// <summary>
/// This is the Minimum value of the progress bar - default is zero
/// </summary>
public double Minimum
{
get
{
return m_Minimum;
}
protected set
{
if (m_Minimum != value)
{
m_Minimum = value;
NotifyPropertyChanged(m_MinimumArgs);
}
}
}
private double m_Minimum = 0;
static readonly PropertyChangedEventArgs m_MinimumArgs =
NotifyPropertyChangedHelper.CreateArgs<AbstractProgressBar>(o => o.Minimum);
#endregion
 
#region " Maximum "
/// <summary>
/// This is the Maximum value of the progress bar - default is 100
/// </summary>
public double Maximum
{
get
{
return m_Maximum;
}
protected set
{
if (m_Maximum != value)
{
m_Maximum = value;
NotifyPropertyChanged(m_MaximumArgs);
}
}
}
private double m_Maximum = 100;
static readonly PropertyChangedEventArgs m_MaximumArgs =
NotifyPropertyChangedHelper.CreateArgs<AbstractProgressBar>(o => o.Maximum);
#endregion
 
#region " Value "
/// <summary>
/// This is the Value value of the progress bar - default is zero
/// </summary>
public double Value
{
get
{
return m_Value;
}
protected set
{
if (m_Value != value)
{
m_Value = value;
NotifyPropertyChanged(m_ValueArgs);
}
}
}
private double m_Value = 0;
static readonly PropertyChangedEventArgs m_ValueArgs =
NotifyPropertyChangedHelper.CreateArgs<AbstractProgressBar>(o => o.Value);
#endregion
 
}
}
/trunk/SoapBox/SoapBox.Core/SoapBox.Core.Contracts/Gui/Controls/IButton.cs
38,5 → 38,7
{
string Text { get; }
BitmapSource Icon { get; }
bool IsCancel { get; }
bool IsDefault { get; }
}
}
/trunk/SoapBox/SoapBox.Core/SoapBox.Core.Contracts/Gui/Controls/AbstractButtonView.xaml
New file
0,0 → 1,23
<ResourceDictionary xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
xmlns:local="clr-namespace:SoapBox.Core"
x:Class="SoapBox.Core.AbstractButtonView">
 
<DataTemplate DataType="{x:Type local:AbstractButton}">
<DataTemplate.Resources>
<BooleanToVisibilityConverter x:Key="BooleanToVisibilityConverter"/>
</DataTemplate.Resources>
<Button ToolTip="{Binding Path=(local:IControl.ToolTip)}"
Command="{Binding}"
Visibility="{Binding Path=(local:IControl.Visible),
Converter={StaticResource BooleanToVisibilityConverter}}"
Padding="{Binding Padding}" Margin="{Binding Margin}"
IsCancel="{Binding IsCancel}" IsDefault="{Binding IsDefault}">
<StackPanel Orientation="Horizontal">
<Image Source="{Binding Path=(local:IButton.Icon)}"/>
<TextBlock Text="{Binding Path=(local:IButton.Text)}"/>
</StackPanel>
</Button>
</DataTemplate>
 
</ResourceDictionary>
/trunk/SoapBox/SoapBox.Core/SoapBox.Core.Contracts/Gui/Controls/IControl.cs
30,6 → 30,7
using System;
using System.Collections.Generic;
using System.Windows;
 
namespace SoapBox.Core
{
38,5 → 39,7
string ToolTip { get; }
bool Visible { get; }
ICondition VisibleCondition { get; set; }
Thickness Padding { get; }
Thickness Margin { get; }
}
}
/trunk/SoapBox/SoapBox.Core/SoapBox.Core.Contracts/Gui/Controls/AbstractButtonView.xaml.cs
New file
0,0 → 1,46
#region "SoapBox.Core License"
/// <header module="SoapBox.Core">
/// Copyright (C) 2009 SoapBox Automation Inc., All Rights Reserved.
/// Contact: SoapBox Automation Licencing (license@soapboxautomation.com)
///
/// This file is part of SoapBox Core.
///
/// Commercial Usage
/// Licensees holding valid SoapBox Automation Commercial licenses may use
/// this file in accordance with the SoapBox Automation Commercial License
/// Agreement provided with the Software or, alternatively, in accordance
/// with the terms contained in a written agreement between you and
/// SoapBox Automation Inc.
///
/// GNU Lesser General Public License Usage
/// SoapBox Core is free software: you can redistribute it and/or modify
/// it under the terms of the GNU Lesser General Public License
/// as published by the Free Software Foundation, either version 3 of the
/// License, or (at your option) any later version.
///
/// SoapBox Core is distributed in the hope that it will be useful,
/// but WITHOUT ANY WARRANTY; without even the implied warranty of
/// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
/// GNU Lesser General Public License for more details.
///
/// You should have received a copy of the GNU Lesser General Public License
/// along with SoapBox Core. If not, see <http://www.gnu.org/licenses/>.
/// </header>
#endregion
using System;
using System.Collections.Generic;
using System.ComponentModel.Composition;
using System.Windows;
 
namespace SoapBox.Core
{
[Export(ExtensionPoints.Host.Views, typeof(ResourceDictionary))]
public partial class AbstractButtonView : ResourceDictionary
{
public AbstractButtonView()
{
InitializeComponent();
}
}
}
/trunk/SoapBox/SoapBox.Core/SoapBox.Core.Contracts/Gui/StatusBar/StatusBarProgressBar/AbstractStatusBarProgressBarView.xaml
New file
0,0 → 1,22
<ResourceDictionary xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
xmlns:local="clr-namespace:SoapBox.Core"
x:Class="SoapBox.Core.AbstractStatusBarProgressBarView">
<DataTemplate DataType="{x:Type local:AbstractStatusBarProgressBar}">
<DataTemplate.Resources>
<BooleanToVisibilityConverter x:Key="BooleanToVisibilityConverter"/>
</DataTemplate.Resources>
<ProgressBar
ToolTip="{Binding Path=(local:AbstractStatusBarProgressBar.ToolTip)}"
Visibility="{Binding Path=(local:IControl.Visible),
Converter={StaticResource BooleanToVisibilityConverter}}"
Minimum="{Binding Path=(local:IProgressBar.Minimum)}"
Maximum="{Binding Path=(local:IProgressBar.Maximum)}"
Value="{Binding Path=(local:IProgressBar.Value),Mode=OneWay}"
Width="{Binding Path=(local:AbstractStatusBarProgressBar.Width)}"
Height="{Binding Path=(local:AbstractStatusBarProgressBar.Height)}">
</ProgressBar>
</DataTemplate>
 
</ResourceDictionary>
/trunk/SoapBox/SoapBox.Core/SoapBox.Core.Contracts/Gui/StatusBar/StatusBarProgressBar/AbstractStatusBarProgressBarView.xaml.cs
New file
0,0 → 1,46
#region "SoapBox.Core License"
/// <header module="SoapBox.Core">
/// Copyright (C) 2009 SoapBox Automation Inc., All Rights Reserved.
/// Contact: SoapBox Automation Licencing (license@soapboxautomation.com)
///
/// This file is part of SoapBox Core.
///
/// Commercial Usage
/// Licensees holding valid SoapBox Automation Commercial licenses may use
/// this file in accordance with the SoapBox Automation Commercial License
/// Agreement provided with the Software or, alternatively, in accordance
/// with the terms contained in a written agreement between you and
/// SoapBox Automation Inc.
///
/// GNU Lesser General Public License Usage
/// SoapBox Core is free software: you can redistribute it and/or modify
/// it under the terms of the GNU Lesser General Public License
/// as published by the Free Software Foundation, either version 3 of the
/// License, or (at your option) any later version.
///
/// SoapBox Core is distributed in the hope that it will be useful,
/// but WITHOUT ANY WARRANTY; without even the implied warranty of
/// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
/// GNU Lesser General Public License for more details.
///
/// You should have received a copy of the GNU Lesser General Public License
/// along with SoapBox Core. If not, see <http://www.gnu.org/licenses/>.
/// </header>
#endregion
using System;
using System.Collections.Generic;
using System.ComponentModel.Composition;
using System.Windows;
 
namespace SoapBox.Core
{
[Export(ExtensionPoints.Host.Views, typeof(ResourceDictionary))]
public partial class AbstractStatusBarProgressBarView : ResourceDictionary
{
public AbstractStatusBarProgressBarView()
{
InitializeComponent();
}
}
}
/trunk/SoapBox/SoapBox.Core/SoapBox.Core.Contracts/Gui/StatusBar/StatusBarProgressBar/AbstractStatusBarProgressBar.cs
New file
0,0 → 1,47
#region "SoapBox.Core License"
/// <header module="SoapBox.Core">
/// Copyright (C) 2009 SoapBox Automation Inc., All Rights Reserved.
/// Contact: SoapBox Automation Licencing (license@soapboxautomation.com)
///
/// This file is part of SoapBox Core.
///
/// Commercial Usage
/// Licensees holding valid SoapBox Automation Commercial licenses may use
/// this file in accordance with the SoapBox Automation Commercial License
/// Agreement provided with the Software or, alternatively, in accordance
/// with the terms contained in a written agreement between you and
/// SoapBox Automation Inc.
///
/// GNU Lesser General Public License Usage
/// SoapBox Core is free software: you can redistribute it and/or modify
/// it under the terms of the GNU Lesser General Public License
/// as published by the Free Software Foundation, either version 3 of the
/// License, or (at your option) any later version.
///
/// SoapBox Core is distributed in the hope that it will be useful,
/// but WITHOUT ANY WARRANTY; without even the implied warranty of
/// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
/// GNU Lesser General Public License for more details.
///
/// You should have received a copy of the GNU Lesser General Public License
/// along with SoapBox Core. If not, see <http://www.gnu.org/licenses/>.
/// </header>
#endregion
using System;
using System.Collections.Generic;
using System.ComponentModel;
using SoapBox.Utilities;
 
namespace SoapBox.Core
{
public abstract class AbstractStatusBarProgressBar : AbstractProgressBar, IStatusBarItem
{
public AbstractStatusBarProgressBar()
: base()
{
Width = 100;
Height = 15;
}
}
}
/trunk/SoapBox/SoapBox.Core/SoapBox.Core.Contracts/Utilities/UIHelper.cs
1,5 → 1,30
#region "SoapBox.Core License"
/// <header module="SoapBox.Core">
/// Copyright (C) 2009 SoapBox Automation Inc., All Rights Reserved.
/// Contact: SoapBox Automation Licencing (license@soapboxautomation.com)
///
/// This file is part of SoapBox Core.
///
/// Commercial Usage
/// Licensees holding valid SoapBox Automation Commercial licenses may use
/// this file in accordance with the SoapBox Automation Commercial License
/// Agreement provided with the Software or, alternatively, in accordance
/// with the terms contained in a written agreement between you and
/// SoapBox Automation Inc.
///
/// GNU Lesser General Public License Usage
/// SoapBox Core is free software: you can redistribute it and/or modify
/// it under the terms of the GNU Lesser General Public License
/// as published by the Free Software Foundation, either version 3 of the
/// License, or (at your option) any later version.
///
/// SoapBox Core is distributed in the hope that it will be useful,
/// but WITHOUT ANY WARRANTY; without even the implied warranty of
/// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
/// GNU Lesser General Public License for more details.
///
/// You should have received a copy of the GNU Lesser General Public License
/// along with SoapBox Core. If not, see <http://www.gnu.org/licenses/>.
/// </header>
#endregion
/trunk/SoapBox/SoapBox.Utilities/Properties/AssemblyInfo.cs
51,5 → 51,5
// 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("2010.03.17.0")]
[assembly: AssemblyFileVersion("2010.03.17.0")]
[assembly: AssemblyVersion("2010.05.24.0")]
[assembly: AssemblyFileVersion("2010.05.24.0")]
/trunk/SoapBox/SoapBox.Utilities/ReverseBooleanToVisibilityConverter.cs
New file
0,0 → 1,57
#region "SoapBox.Utilities License"
/// <header module="SoapBox.Utilities">
/// Copyright (C) 2010 SoapBox Automation Inc., All Rights Reserved.
/// Contact: SoapBox Automation Licencing (license@soapboxautomation.com)
///
/// This file is part of SoapBox Utilities.
///
/// Commercial Usage
/// Licensees holding valid SoapBox Automation Commercial licenses may use
/// this file in accordance with the SoapBox Automation Commercial License
/// Agreement provided with the Software or, alternatively, in accordance
/// with the terms contained in a written agreement between you and
/// SoapBox Automation Inc.
///
/// GNU Lesser General Public License Usage
/// SoapBox Utilities is free software: you can redistribute it and/or modify
/// it under the terms of the GNU Lesser General Public License
/// as published by the Free Software Foundation, either version 3 of the
/// License, or (at your option) any later version.
///
/// SoapBox Utilities is distributed in the hope that it will be useful,
/// but WITHOUT ANY WARRANTY; without even the implied warranty of
/// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
/// GNU Lesser General Public License for more details.
///
/// You should have received a copy of the GNU Lesser General Public License
/// along with SoapBox Utilities. If not, see <http://www.gnu.org/licenses/>.
/// </header>
#endregion
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Windows.Data;
using System.Windows;
 
namespace SoapBox.Utilities
{
public class ReverseBooleanToVisibilityConverter : IValueConverter
{
#region IValueConverter Members
 
public object Convert(object value, Type targetType, object parameter, System.Globalization.CultureInfo culture)
{
var myBool = (bool)value;
return myBool ? Visibility.Collapsed : Visibility.Visible;
}
 
public object ConvertBack(object value, Type targetType, object parameter, System.Globalization.CultureInfo culture)
{
return null;
}
 
#endregion
}
}
/trunk/SoapBox/SoapBox.Utilities/SoapBox.Utilities.csproj
64,6 → 64,7
<DependentUpon>Settings.settings</DependentUpon>
<DesignTimeSharedInput>True</DesignTimeSharedInput>
</Compile>
<Compile Include="ReverseBooleanToVisibilityConverter.cs" />
<EmbeddedResource Include="Properties\Resources.resx">
<Generator>ResXFileCodeGenerator</Generator>
<LastGenOutput>Resources.Designer.cs</LastGenOutput>