- Timestamp:
- 2016-01-16 14:57:22 (7 years ago)
- Location:
- 2015/24/EemeliK
- Files:
-
- 73 added
- 19 edited
Legend:
- Unmodified
- Added
- Removed
-
2015/24/EemeliK/Simssi/Simssi/Kentta.Designer.cs
r7091 r7114 321 321 this.Name = "Kentta"; 322 322 this.Text = "Kentta"; 323 this.Load += new System.EventHandler(this.Kentta_Load); 323 324 this.Click += new System.EventHandler(this.Kentta_Click); 324 325 this.KeyDown += new System.Windows.Forms.KeyEventHandler(this.Kentta_KeyDown); -
2015/24/EemeliK/Simssi/Simssi/Kentta.cs
r7091 r7114 6 6 using System.Linq; 7 7 using System.Text; 8 using System.Text.RegularExpressions; 8 9 using System.Threading.Tasks; 9 10 using System.Windows.Forms; … … 34 35 private void Paivitys_Tick(object sender, EventArgs e) 35 36 { 36 pictureBox1.Location = new Point(pictureBox1.Location.X + nopeus.X, pictureBox1.Location.Y + nopeus.Y); 37 Point newLocation = new Point(pictureBox1.Location.X + nopeus.X, pictureBox1.Location.Y + nopeus.Y); 38 bool saaLiikkua = true; 39 40 foreach(var palikka in Controls) 41 { 42 PictureBox box = palikka as PictureBox; 43 if (box != null && Regex.IsMatch(box.Name, ".*Wall")) 44 { 45 Rectangle koko = new Rectangle(box.Location, box.Size); 46 if (koko.IntersectsWith(new Rectangle(newLocation, pictureBox1.Size))) 47 { 48 saaLiikkua = false; 49 } 50 } 51 } 52 53 // tarkastus, törmääkö, johonkin rakennelmaan 54 // jos ei niin 55 if (saaLiikkua) 56 { 57 pictureBox1.Location = newLocation; 58 } 59 // muuten ei liikuta 60 37 61 } 38 62 … … 241 265 Rahalaskuri+=1000; 242 266 } 267 268 private void Kentta_Load(object sender, EventArgs e) 269 { 270 271 } 243 272 } 244 273 } -
2015/24/EemeliK/Tuplapotti/Tuplapotti/Tuplapotti.csproj
r7091 r7114 13 13 <FileAlignment>512</FileAlignment> 14 14 <AutoGenerateBindingRedirects>true</AutoGenerateBindingRedirects> 15 <IsWebBootstrapper>true</IsWebBootstrapper> 16 <PublishUrl>C:\MyTemp\EemeliK\</PublishUrl> 17 <Install>true</Install> 18 <InstallFrom>Web</InstallFrom> 19 <UpdateEnabled>true</UpdateEnabled> 20 <UpdateMode>Foreground</UpdateMode> 21 <UpdateInterval>7</UpdateInterval> 22 <UpdateIntervalUnits>Days</UpdateIntervalUnits> 23 <UpdatePeriodically>false</UpdatePeriodically> 24 <UpdateRequired>false</UpdateRequired> 25 <MapFileExtensions>true</MapFileExtensions> 26 <InstallUrl>https://www.google.fi/%3fgws_rd=ssl/</InstallUrl> 27 <CreateWebPageOnPublish>true</CreateWebPageOnPublish> 28 <WebPage>publish.htm</WebPage> 29 <ApplicationRevision>1</ApplicationRevision> 30 <ApplicationVersion>1.0.0.%2a</ApplicationVersion> 31 <UseApplicationTrust>false</UseApplicationTrust> 32 <PublishWizardCompleted>true</PublishWizardCompleted> 33 <BootstrapperEnabled>true</BootstrapperEnabled> 15 34 </PropertyGroup> 16 35 <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' "> … … 32 51 <ErrorReport>prompt</ErrorReport> 33 52 <WarningLevel>4</WarningLevel> 53 </PropertyGroup> 54 <PropertyGroup> 55 <ManifestCertificateThumbprint>BFE3463A73157DF2A7B30666590AC1B52B000E8D</ManifestCertificateThumbprint> 56 </PropertyGroup> 57 <PropertyGroup> 58 <ManifestKeyFile>Tuplapotti_TemporaryKey.pfx</ManifestKeyFile> 59 </PropertyGroup> 60 <PropertyGroup> 61 <GenerateManifests>true</GenerateManifests> 62 </PropertyGroup> 63 <PropertyGroup> 64 <SignManifests>true</SignManifests> 34 65 </PropertyGroup> 35 66 <ItemGroup> … … 76 107 <DesignTimeSharedInput>True</DesignTimeSharedInput> 77 108 </Compile> 109 <None Include="Tuplapotti_TemporaryKey.pfx" /> 78 110 </ItemGroup> 79 111 <ItemGroup> 80 112 <None Include="App.config" /> 113 </ItemGroup> 114 <ItemGroup> 115 <BootstrapperPackage Include=".NETFramework,Version=v4.5.2"> 116 <Visible>False</Visible> 117 <ProductName>Microsoft .NET Framework 4.5.2 %28x86 and x64%29</ProductName> 118 <Install>true</Install> 119 </BootstrapperPackage> 120 <BootstrapperPackage Include="Microsoft.Net.Framework.3.5.SP1"> 121 <Visible>False</Visible> 122 <ProductName>.NET Framework 3.5 SP1</ProductName> 123 <Install>false</Install> 124 </BootstrapperPackage> 81 125 </ItemGroup> 82 126 <Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" /> -
2015/24/EemeliK/Tuplapotti/Tuplapotti/bin/Debug/Tuplapotti.vshost.exe.manifest
r7091 r7114 1 <?xml version="1.0" encoding="UTF-8" standalone="yes"?> 2 <assembly xmlns="urn:schemas-microsoft-com:asm.v1" manifestVersion="1.0"> 3 <assemblyIdentity version="1.0.0.0" name="MyApplication.app"/> 4 <trustInfo xmlns="urn:schemas-microsoft-com:asm.v2"> 1 <?xml version="1.0" encoding="utf-8"?> 2 <asmv1:assembly xsi:schemaLocation="urn:schemas-microsoft-com:asm.v1 assembly.adaptive.xsd" manifestVersion="1.0" xmlns:asmv1="urn:schemas-microsoft-com:asm.v1" xmlns="urn:schemas-microsoft-com:asm.v2" xmlns:asmv2="urn:schemas-microsoft-com:asm.v2" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:co.v1="urn:schemas-microsoft-com:clickonce.v1" xmlns:asmv3="urn:schemas-microsoft-com:asm.v3" xmlns:dsig="http://www.w3.org/2000/09/xmldsig#" xmlns:co.v2="urn:schemas-microsoft-com:clickonce.v2"> 3 <asmv1:assemblyIdentity name="Tuplapotti.exe" version="1.0.0.1" publicKeyToken="0000000000000000" language="neutral" processorArchitecture="msil" type="win32" /> 4 <application /> 5 <entryPoint> 6 <assemblyIdentity name="Tuplapotti" version="1.0.0.0" language="neutral" processorArchitecture="msil" /> 7 <commandLine file="Tuplapotti.exe" parameters="" /> 8 </entryPoint> 9 <trustInfo> 5 10 <security> 11 <applicationRequestMinimum> 12 <PermissionSet Unrestricted="true" ID="Custom" SameSite="site" /> 13 <defaultAssemblyRequest permissionSetReference="Custom" /> 14 </applicationRequestMinimum> 6 15 <requestedPrivileges xmlns="urn:schemas-microsoft-com:asm.v3"> 7 <requestedExecutionLevel level="asInvoker" uiAccess="false"/> 16 <!-- 17 UAC Manifest Options 18 If you want to change the Windows User Account Control level replace the 19 requestedExecutionLevel node with one of the following. 20 21 <requestedExecutionLevel level="asInvoker" uiAccess="false" /> 22 <requestedExecutionLevel level="requireAdministrator" uiAccess="false" /> 23 <requestedExecutionLevel level="highestAvailable" uiAccess="false" /> 24 25 If you want to utilize File and Registry Virtualization for backward 26 compatibility then delete the requestedExecutionLevel node. 27 --> 28 <requestedExecutionLevel level="asInvoker" uiAccess="false" /> 8 29 </requestedPrivileges> 9 30 </security> 10 31 </trustInfo> 11 </assembly> 32 <dependency> 33 <dependentOS> 34 <osVersionInfo> 35 <os majorVersion="5" minorVersion="1" buildNumber="2600" servicePackMajor="0" /> 36 </osVersionInfo> 37 </dependentOS> 38 </dependency> 39 <dependency> 40 <dependentAssembly dependencyType="preRequisite" allowDelayedBinding="true"> 41 <assemblyIdentity name="Microsoft.Windows.CommonLanguageRuntime" version="4.0.30319.0" /> 42 </dependentAssembly> 43 </dependency> 44 <dependency> 45 <dependentAssembly dependencyType="install" allowDelayedBinding="true" codebase="Tuplapotti.exe" size="69048"> 46 <assemblyIdentity name="Tuplapotti" version="1.0.0.0" language="neutral" processorArchitecture="msil" /> 47 <hash> 48 <dsig:Transforms> 49 <dsig:Transform Algorithm="urn:schemas-microsoft-com:HashTransforms.Identity" /> 50 </dsig:Transforms> 51 <dsig:DigestMethod Algorithm="http://www.w3.org/2000/09/xmldsig#sha256" /> 52 <dsig:DigestValue>p1QWF+ip9iblPxKFfJPGdFfAA9mEdXUWp0YZjVM7Iu0=</dsig:DigestValue> 53 </hash> 54 </dependentAssembly> 55 </dependency> 56 <file name="Tuplapotti.exe.config" size="189"> 57 <hash> 58 <dsig:Transforms> 59 <dsig:Transform Algorithm="urn:schemas-microsoft-com:HashTransforms.Identity" /> 60 </dsig:Transforms> 61 <dsig:DigestMethod Algorithm="http://www.w3.org/2000/09/xmldsig#sha256" /> 62 <dsig:DigestValue>6N7MliNbVJSIAIPrecIshMbZ7zEoKLr5SQvud4LDUOw=</dsig:DigestValue> 63 </hash> 64 </file> 65 </asmv1:assembly> -
2015/24/EemeliK/Tuplapotti/Tuplapotti/obj/Debug/Tuplapotti.csproj.FileListAbsolute.txt
r7091 r7114 8 8 C:\MyTemp\EemeliK\Tuplapotti\Tuplapotti\obj\Debug\Tuplapotti.exe 9 9 C:\MyTemp\EemeliK\Tuplapotti\Tuplapotti\obj\Debug\Tuplapotti.pdb 10 C:\MyTemp\EemeliK\Tuplapotti\Tuplapotti\bin\Debug\Tuplapotti.exe.manifest 11 C:\MyTemp\EemeliK\Tuplapotti\Tuplapotti\bin\Debug\Tuplapotti.application 12 C:\MyTemp\EemeliK\Tuplapotti\Tuplapotti\obj\Debug\Tuplapotti.exe.manifest 13 C:\MyTemp\EemeliK\Tuplapotti\Tuplapotti\obj\Debug\Tuplapotti.application -
2015/24/EemeliK/nativelog.txt
r7091 r7114 3 3 Operating System: Windows 7 Enterprise 4 4 Application Hash: 8f1d31dfea0301cfa2ca7aaedc34da8e9fa25b31 5 Application Data directory: C:\Users\agora0 3\AppData\Roaming5 Application Data directory: C:\Users\agora08\AppData\Roaming 6 6 Executable Path: Minecraft.exe 7 7 App Directory dir: C:\MyTemp\EemeliK
Note: See TracChangeset
for help on using the changeset viewer.