-
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.
Added converter tool and conversion rules
- Loading branch information
epekkar
committed
Aug 19, 2019
1 parent
29a1c7c
commit c40bff5
Showing
29 changed files
with
9,547 additions
and
1 deletion.
There are no files selected for viewing
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
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,82 @@ | ||
//------------------------------------------------------------------------------ | ||
// <auto-generated> | ||
// This code was generated by a tool. | ||
// Runtime Version:4.0.30319.18444 | ||
// | ||
// Changes to this file may cause incorrect behavior and will be lost if | ||
// the code is regenerated. | ||
// </auto-generated> | ||
//------------------------------------------------------------------------------ | ||
|
||
namespace K2XML_Converter { | ||
using System; | ||
|
||
|
||
/// <summary> | ||
/// A strongly-typed resource class, for looking up localized strings, etc. | ||
/// </summary> | ||
// This class was auto-generated by the StronglyTypedResourceBuilder | ||
// class via a tool like ResGen or Visual Studio. | ||
// To add or remove a member, edit your .ResX file then rerun ResGen | ||
// with the /str option, or rebuild your VS project. | ||
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Resources.Tools.StronglyTypedResourceBuilder", "4.0.0.0")] | ||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()] | ||
[global::System.Runtime.CompilerServices.CompilerGeneratedAttribute()] | ||
internal class AboutForm { | ||
|
||
private static global::System.Resources.ResourceManager resourceMan; | ||
|
||
private static global::System.Globalization.CultureInfo resourceCulture; | ||
|
||
[global::System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1811:AvoidUncalledPrivateCode")] | ||
internal AboutForm() { | ||
} | ||
|
||
/// <summary> | ||
/// Returns the cached ResourceManager instance used by this class. | ||
/// </summary> | ||
[global::System.ComponentModel.EditorBrowsableAttribute(global::System.ComponentModel.EditorBrowsableState.Advanced)] | ||
internal static global::System.Resources.ResourceManager ResourceManager { | ||
get { | ||
if (object.ReferenceEquals(resourceMan, null)) { | ||
global::System.Resources.ResourceManager temp = new global::System.Resources.ResourceManager("K2XML_Converter.AboutForm", typeof(AboutForm).Assembly); | ||
resourceMan = temp; | ||
} | ||
return resourceMan; | ||
} | ||
} | ||
|
||
/// <summary> | ||
/// Overrides the current thread's CurrentUICulture property for all | ||
/// resource lookups using this strongly typed resource class. | ||
/// </summary> | ||
[global::System.ComponentModel.EditorBrowsableAttribute(global::System.ComponentModel.EditorBrowsableState.Advanced)] | ||
internal static global::System.Globalization.CultureInfo Culture { | ||
get { | ||
return resourceCulture; | ||
} | ||
set { | ||
resourceCulture = value; | ||
} | ||
} | ||
|
||
/// <summary> | ||
/// Looks up a localized string similar to THIS SOFTWARE IS PROVIDED "AS IS" AND ANY EXPRESSED OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL TAMPERE UNIVERSITY OF TECHNOLOGY OR ANY OF ITS CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVE [rest of string was truncated]";. | ||
/// </summary> | ||
internal static string labelDisclaimer_Text { | ||
get { | ||
return ResourceManager.GetString("labelDisclaimer.Text", resourceCulture); | ||
} | ||
} | ||
|
||
/// <summary> | ||
/// Looks up a localized resource of type System.Drawing.Bitmap. | ||
/// </summary> | ||
internal static System.Drawing.Bitmap pictureBox_Image { | ||
get { | ||
object obj = ResourceManager.GetObject("pictureBox.Image", resourceCulture); | ||
return ((System.Drawing.Bitmap)(obj)); | ||
} | ||
} | ||
} | ||
} |
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,69 @@ | ||
/* | ||
* Created by SharpDevelop. | ||
* User: virtan39 | ||
* Date: 15.8.2015 | ||
* Time: 11:31 | ||
* | ||
* To change this template use Tools | Options | Coding | Edit Standard Headers. | ||
*/ | ||
using System; | ||
using System.Drawing; | ||
using System.Windows.Forms; | ||
using System.Drawing.Drawing2D; | ||
|
||
namespace K2XML_Converter | ||
{ | ||
/// <summary> | ||
/// Description of AboutForm. | ||
/// </summary> | ||
public partial class About : Form | ||
{ | ||
public About() | ||
{ | ||
// | ||
// The InitializeComponent() call is required for Windows Forms designer support. | ||
// | ||
InitializeComponent(); | ||
|
||
// Must create the links before use! | ||
linkFunbase.Links.Add(0, 0, "http://funbase.cs.tut.fi"); | ||
linkEmail.Links.Add(0, 0, "mailto:kactus2@cs.tut.fi"); | ||
|
||
// Check the current build automaticly. | ||
labelVersion.Text = "Version " + System.Reflection.Assembly.GetExecutingAssembly().GetName().Version.ToString(); | ||
} | ||
|
||
void LinkFunbaseLinkClicked(object sender, LinkLabelLinkClickedEventArgs e) | ||
{ | ||
try | ||
{ | ||
System.Diagnostics.Process.Start(e.Link.LinkData.ToString()); | ||
} | ||
catch( Exception ) | ||
{ | ||
} | ||
} | ||
|
||
void LinkEmailLinkClicked(object sender, LinkLabelLinkClickedEventArgs e) | ||
{ | ||
try | ||
{ | ||
System.Diagnostics.Process.Start(e.Link.LinkData.ToString()); | ||
} | ||
catch( Exception ) | ||
{ | ||
} | ||
} | ||
|
||
protected override void OnPaintBackground(PaintEventArgs e) | ||
{ | ||
LinearGradientBrush brush = new LinearGradientBrush( | ||
this.ClientRectangle, Color.Gray, Color.LightGray, 90f, false ); | ||
ColorBlend cb = new ColorBlend(); | ||
cb.Positions = new[] {0, 1/2f, 1}; | ||
cb.Colors = new[] {Color.FromArgb(120,180,250), Color.FromArgb(0xC3,0xDD,0xFD), Color.FromArgb(158,201,252)}; | ||
brush.InterpolationColors= cb; | ||
e.Graphics.FillRectangle(brush, this.ClientRectangle); | ||
} | ||
} | ||
} |
Oops, something went wrong.