Committing some uncommitted changes for clean

This commit is contained in:
Norbi Peti 2017-08-12 00:22:52 +02:00
parent dc4b23976f
commit 8c94a306fd
32 changed files with 611 additions and 333 deletions

436
.gitignore vendored
View file

@ -1,218 +1,218 @@
#################
## Eclipse
#################
*.pydevproject
.project
.metadata
bin/
tmp/
*.tmp
*.bak
*.swp
*~.nib
local.properties
.classpath
.settings/
.loadpath
# External tool builders
.externalToolBuilders/
# Locally stored "Eclipse launch configurations"
*.launch
# CDT-specific
.cproject
# PDT-specific
.buildpath
#################
## Visual Studio
#################
## Ignore Visual Studio temporary files, build results, and
## files generated by popular Visual Studio add-ons.
# User-specific files
*.suo
*.user
*.sln.docstates
*/.vs/
# Build results
[Dd]ebug/
[Rr]elease/
x64/
build/
[Bb]in/
[Oo]bj/
# MSTest test Results
[Tt]est[Rr]esult*/
[Bb]uild[Ll]og.*
*_i.c
*_p.c
*.ilk
*.meta
*.obj
*.pch
*.pdb
*.pgc
*.pgd
*.rsp
*.sbr
*.tlb
*.tli
*.tlh
*.tmp
*.tmp_proj
*.log
*.vspscc
*.vssscc
.builds
*.pidb
*.log
*.scc
# Visual C++ cache files
ipch/
*.aps
*.ncb
*.opensdf
*.sdf
*.cachefile
# Visual Studio profiler
*.psess
*.vsp
*.vspx
# Guidance Automation Toolkit
*.gpState
# ReSharper is a .NET coding add-in
_ReSharper*/
*.[Rr]e[Ss]harper
# TeamCity is a build add-in
_TeamCity*
# DotCover is a Code Coverage Tool
*.dotCover
# NCrunch
*.ncrunch*
.*crunch*.local.xml
# Installshield output folder
[Ee]xpress/
# DocProject is a documentation generator add-in
DocProject/buildhelp/
DocProject/Help/*.HxT
DocProject/Help/*.HxC
DocProject/Help/*.hhc
DocProject/Help/*.hhk
DocProject/Help/*.hhp
DocProject/Help/Html2
DocProject/Help/html
# Click-Once directory
publish/
# Publish Web Output
*.Publish.xml
*.pubxml
*.publishproj
# NuGet Packages Directory
## TODO: If you have NuGet Package Restore enabled, uncomment the next line
#packages/
# Windows Azure Build Output
csx
*.build.csdef
# Windows Store app package directory
AppPackages/
# Others
sql/
*.Cache
ClientBin/
[Ss]tyle[Cc]op.*
~$*
*~
*.dbmdl
*.[Pp]ublish.xml
*.pfx
*.publishsettings
# RIA/Silverlight projects
Generated_Code/
# Backup & report files from converting an old project file to a newer
# Visual Studio version. Backup files are not needed, because we have git ;-)
_UpgradeReport_Files/
Backup*/
UpgradeLog*.XML
UpgradeLog*.htm
# SQL Server files
App_Data/*.mdf
App_Data/*.ldf
#############
## Windows detritus
#############
# Windows image file caches
Thumbs.db
ehthumbs.db
# Folder config file
Desktop.ini
# Recycle Bin used on file shares
$RECYCLE.BIN/
# Mac crap
.DS_Store
#############
## Python
#############
*.py[cod]
# Packages
*.egg
*.egg-info
dist/
build/
eggs/
parts/
var/
sdist/
develop-eggs/
.installed.cfg
# Installer logs
pip-log.txt
# Unit test / coverage reports
.coverage
.tox
#Translations
*.mo
#Mr Developer
.mr.developer.cfg
#################
## Eclipse
#################
*.pydevproject
.project
.metadata
bin/
tmp/
*.tmp
*.bak
*.swp
*~.nib
local.properties
.classpath
.settings/
.loadpath
# External tool builders
.externalToolBuilders/
# Locally stored "Eclipse launch configurations"
*.launch
# CDT-specific
.cproject
# PDT-specific
.buildpath
#################
## Visual Studio
#################
## Ignore Visual Studio temporary files, build results, and
## files generated by popular Visual Studio add-ons.
# User-specific files
*.suo
*.user
*.sln.docstates
*/.vs/
# Build results
[Dd]ebug/
[Rr]elease/
x64/
build/
[Bb]in/
[Oo]bj/
# MSTest test Results
[Tt]est[Rr]esult*/
[Bb]uild[Ll]og.*
*_i.c
*_p.c
*.ilk
*.meta
*.obj
*.pch
*.pdb
*.pgc
*.pgd
*.rsp
*.sbr
*.tlb
*.tli
*.tlh
*.tmp
*.tmp_proj
*.log
*.vspscc
*.vssscc
.builds
*.pidb
*.log
*.scc
# Visual C++ cache files
ipch/
*.aps
*.ncb
*.opensdf
*.sdf
*.cachefile
# Visual Studio profiler
*.psess
*.vsp
*.vspx
# Guidance Automation Toolkit
*.gpState
# ReSharper is a .NET coding add-in
_ReSharper*/
*.[Rr]e[Ss]harper
# TeamCity is a build add-in
_TeamCity*
# DotCover is a Code Coverage Tool
*.dotCover
# NCrunch
*.ncrunch*
.*crunch*.local.xml
# Installshield output folder
[Ee]xpress/
# DocProject is a documentation generator add-in
DocProject/buildhelp/
DocProject/Help/*.HxT
DocProject/Help/*.HxC
DocProject/Help/*.hhc
DocProject/Help/*.hhk
DocProject/Help/*.hhp
DocProject/Help/Html2
DocProject/Help/html
# Click-Once directory
publish/
# Publish Web Output
*.Publish.xml
*.pubxml
*.publishproj
# NuGet Packages Directory
## TODO: If you have NuGet Package Restore enabled, uncomment the next line
#packages/
# Windows Azure Build Output
csx
*.build.csdef
# Windows Store app package directory
AppPackages/
# Others
sql/
*.Cache
ClientBin/
[Ss]tyle[Cc]op.*
~$*
*~
*.dbmdl
*.[Pp]ublish.xml
*.pfx
*.publishsettings
# RIA/Silverlight projects
Generated_Code/
# Backup & report files from converting an old project file to a newer
# Visual Studio version. Backup files are not needed, because we have git ;-)
_UpgradeReport_Files/
Backup*/
UpgradeLog*.XML
UpgradeLog*.htm
# SQL Server files
App_Data/*.mdf
App_Data/*.ldf
#############
## Windows detritus
#############
# Windows image file caches
Thumbs.db
ehthumbs.db
# Folder config file
Desktop.ini
# Recycle Bin used on file shares
$RECYCLE.BIN/
# Mac crap
.DS_Store
#############
## Python
#############
*.py[cod]
# Packages
*.egg
*.egg-info
dist/
build/
eggs/
parts/
var/
sdist/
develop-eggs/
.installed.cfg
# Installer logs
pip-log.txt
# Unit test / coverage reports
.coverage
.tox
#Translations
*.mo
#Mr Developer
.mr.developer.cfg

View file

@ -16,5 +16,4 @@ D:\Z - Norbi cucca\0 Projektek\MSGer.tk\0 Repository\Handwriting program\Handwri
D:\Z - Norbi cucca\0 Projektek\MSGer.tk\0 Repository\Handwriting program\Handwriting program\obj\Debug\Handwriting program.csproj.GenerateResource.Cache
D:\Z - Norbi cucca\0 Projektek\MSGer.tk\0 Repository\Handwriting program\Handwriting program\obj\Debug\Handwriting program.dll
D:\Z - Norbi cucca\0 Projektek\MSGer.tk\0 Repository\Handwriting program\Handwriting program\obj\Debug\Handwriting program.pdb
D:\Z - Norbi cucca\0 Projektek\MSGer.tk\0 Repository\Handwriting program\Handwriting program\bin\Debug\Handwriting program.dll.CodeAnalysisLog.xml
D:\Z - Norbi cucca\0 Projektek\MSGer.tk\0 Repository\Handwriting program\Handwriting program\bin\Debug\Handwriting program.dll.lastcodeanalysissucceeded
D:\Z - Norbi cucca\0 Projektek\MSGer.tk\0 Repository\Handwriting program\Handwriting program\obj\Debug\Handwriting program.csprojResolveAssemblyReference.cache

Binary file not shown.

View file

@ -15,9 +15,9 @@ namespace MSGer.tk
public Emoticons()
{
InitializeComponent();
label1.Text = Language.Translate(Language.StringID.Emoticons); //TODO: A ...-t a menüknél mindig adja hozzá
label1.Text = Language.Translate(Language.StringID.Emoticons);
this.Text = label1.Text;
addbtn.Text = Language.Translate(Language.StringID.Add); //TODO: A teljesen megegyező string-eket jelezze
addbtn.Text = Language.Translate(Language.StringID.Add);
removebtn.Text = Language.Translate(Language.StringID.Remove);
closebtn.Text = Language.Translate(Language.StringID.Close);
label2.Text = Language.Translate(Language.StringID.SelectImage);

View file

@ -132,7 +132,8 @@ namespace MSGer.tk
private void sendbtn_Click(object sender, EventArgs e)
{
//TODO: Hibajelentés
//TODO: Hibajelentés szerveroldalon
Networking.SendRequest(Networking.RequestType.ErrorReport, textBox1.Text, 0, false); //2015.08.28.
}
}
public enum ErrorType

View file

@ -0,0 +1,132 @@
namespace MSGer.tk
{
partial class LanguageEditorForm
{
/// <summary>
/// Required designer variable.
/// </summary>
private System.ComponentModel.IContainer components = null;
/// <summary>
/// Clean up any resources being used.
/// </summary>
/// <param name="disposing">true if managed resources should be disposed; otherwise, false.</param>
protected override void Dispose(bool disposing)
{
if (disposing && (components != null))
{
components.Dispose();
}
base.Dispose(disposing);
}
#region Windows Form Designer generated code
/// <summary>
/// Required method for Designer support - do not modify
/// the contents of this method with the code editor.
/// </summary>
private void InitializeComponent()
{
this.label1 = new System.Windows.Forms.Label();
this.listView1 = new System.Windows.Forms.ListView();
this.columnHeader1 = ((System.Windows.Forms.ColumnHeader)(new System.Windows.Forms.ColumnHeader()));
this.columnHeader2 = ((System.Windows.Forms.ColumnHeader)(new System.Windows.Forms.ColumnHeader()));
this.okbtn = new System.Windows.Forms.Button();
this.cancelbtn = new System.Windows.Forms.Button();
this.comboBox1 = new System.Windows.Forms.ComboBox();
this.SuspendLayout();
//
// label1
//
this.label1.AutoSize = true;
this.label1.Font = new System.Drawing.Font("Microsoft Sans Serif", 15.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(238)));
this.label1.Location = new System.Drawing.Point(8, 9);
this.label1.Name = "label1";
this.label1.Size = new System.Drawing.Size(213, 25);
this.label1.TabIndex = 0;
this.label1.Text = "LanguageEditorForm";
//
// listView1
//
this.listView1.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom)
| System.Windows.Forms.AnchorStyles.Left)
| System.Windows.Forms.AnchorStyles.Right)));
this.listView1.Columns.AddRange(new System.Windows.Forms.ColumnHeader[] {
this.columnHeader1,
this.columnHeader2});
this.listView1.Location = new System.Drawing.Point(13, 64);
this.listView1.Name = "listView1";
this.listView1.Size = new System.Drawing.Size(404, 255);
this.listView1.TabIndex = 1;
this.listView1.UseCompatibleStateImageBehavior = false;
//
// columnHeader1
//
this.columnHeader1.Text = "";
//
// columnHeader2
//
this.columnHeader2.Text = "";
//
// okbtn
//
this.okbtn.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right)));
this.okbtn.Location = new System.Drawing.Point(261, 347);
this.okbtn.Name = "okbtn";
this.okbtn.Size = new System.Drawing.Size(75, 23);
this.okbtn.TabIndex = 3;
this.okbtn.Text = "OK";
this.okbtn.UseVisualStyleBackColor = true;
//
// cancelbtn
//
this.cancelbtn.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right)));
this.cancelbtn.Location = new System.Drawing.Point(342, 347);
this.cancelbtn.Name = "cancelbtn";
this.cancelbtn.Size = new System.Drawing.Size(75, 23);
this.cancelbtn.TabIndex = 4;
this.cancelbtn.Text = "Mégse";
this.cancelbtn.UseVisualStyleBackColor = true;
//
// comboBox1
//
this.comboBox1.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left)
| System.Windows.Forms.AnchorStyles.Right)));
this.comboBox1.FormattingEnabled = true;
this.comboBox1.Items.AddRange(new object[] {
"Test",
"Testing"});
this.comboBox1.Location = new System.Drawing.Point(13, 37);
this.comboBox1.Name = "comboBox1";
this.comboBox1.Size = new System.Drawing.Size(208, 21);
this.comboBox1.TabIndex = 5;
//
// LanguageEditorForm
//
this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
this.ClientSize = new System.Drawing.Size(429, 382);
this.Controls.Add(this.comboBox1);
this.Controls.Add(this.cancelbtn);
this.Controls.Add(this.okbtn);
this.Controls.Add(this.listView1);
this.Controls.Add(this.label1);
this.Name = "LanguageEditorForm";
this.Text = "LanguageEditorForm";
this.ResumeLayout(false);
this.PerformLayout();
}
#endregion
private System.Windows.Forms.Label label1;
private System.Windows.Forms.ListView listView1;
private System.Windows.Forms.ColumnHeader columnHeader1;
private System.Windows.Forms.ColumnHeader columnHeader2;
private System.Windows.Forms.Button okbtn;
private System.Windows.Forms.Button cancelbtn;
private System.Windows.Forms.ComboBox comboBox1;
}
}

View file

@ -0,0 +1,44 @@
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Forms;
namespace MSGer.tk
{
public partial class LanguageEditorForm : Form
{
public LanguageEditorForm()
{
InitializeComponent();
this.Text = Language.Translate(Language.StringID.LanguageEditor);
label1.Text = this.Text;
domainUpDown1.Items.AddRange(Language.Languages);
listView1.Items.AddRange(Language.CurrentLanguage.Strings.Select(entry => new ListViewItem(new string[] { entry.Key, entry.Value })).ToArray());
cancelbtn.Text = Language.Translate(Language.StringID.Button_Cancel);
domainUpDown1.SelectedItemChanged += DomainUpDown1_SelectedItemChanged;
domainUpDown1.TextChanged += DomainUpDown1_TextChanged;
}
private void DomainUpDown1_TextChanged(object sender, EventArgs e)
{
var selectedlang = domainUpDown1.Items.OfType<Language>().FirstOrDefault(entry => entry.ToString() == domainUpDown1.Text);
if (selectedlang != null)
domainUpDown1.SelectedItem = selectedlang;
}
private void DomainUpDown1_SelectedItemChanged(object sender, EventArgs e)
{
throw new NotImplementedException();
}
private void domainUpDown1_Leave(object sender, EventArgs e)
{
throw new NotImplementedException();
}
}
}

View file

@ -0,0 +1,120 @@
<?xml version="1.0" encoding="utf-8"?>
<root>
<!--
Microsoft ResX Schema
Version 2.0
The primary goals of this format is to allow a simple XML format
that is mostly human readable. The generation and parsing of the
various data types are done through the TypeConverter classes
associated with the data types.
Example:
... ado.net/XML headers & schema ...
<resheader name="resmimetype">text/microsoft-resx</resheader>
<resheader name="version">2.0</resheader>
<resheader name="reader">System.Resources.ResXResourceReader, System.Windows.Forms, ...</resheader>
<resheader name="writer">System.Resources.ResXResourceWriter, System.Windows.Forms, ...</resheader>
<data name="Name1"><value>this is my long string</value><comment>this is a comment</comment></data>
<data name="Color1" type="System.Drawing.Color, System.Drawing">Blue</data>
<data name="Bitmap1" mimetype="application/x-microsoft.net.object.binary.base64">
<value>[base64 mime encoded serialized .NET Framework object]</value>
</data>
<data name="Icon1" type="System.Drawing.Icon, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
<value>[base64 mime encoded string representing a byte array form of the .NET Framework object]</value>
<comment>This is a comment</comment>
</data>
There are any number of "resheader" rows that contain simple
name/value pairs.
Each data row contains a name, and value. The row also contains a
type or mimetype. Type corresponds to a .NET class that support
text/value conversion through the TypeConverter architecture.
Classes that don't support this are serialized and stored with the
mimetype set.
The mimetype is used for serialized objects, and tells the
ResXResourceReader how to depersist the object. This is currently not
extensible. For a given mimetype the value must be set accordingly:
Note - application/x-microsoft.net.object.binary.base64 is the format
that the ResXResourceWriter will generate, however the reader can
read any of the formats listed below.
mimetype: application/x-microsoft.net.object.binary.base64
value : The object must be serialized with
: System.Runtime.Serialization.Formatters.Binary.BinaryFormatter
: and then encoded with base64 encoding.
mimetype: application/x-microsoft.net.object.soap.base64
value : The object must be serialized with
: System.Runtime.Serialization.Formatters.Soap.SoapFormatter
: and then encoded with base64 encoding.
mimetype: application/x-microsoft.net.object.bytearray.base64
value : The object must be serialized into a byte array
: using a System.ComponentModel.TypeConverter
: and then encoded with base64 encoding.
-->
<xsd:schema id="root" xmlns="" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:msdata="urn:schemas-microsoft-com:xml-msdata">
<xsd:import namespace="http://www.w3.org/XML/1998/namespace" />
<xsd:element name="root" msdata:IsDataSet="true">
<xsd:complexType>
<xsd:choice maxOccurs="unbounded">
<xsd:element name="metadata">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="value" type="xsd:string" minOccurs="0" />
</xsd:sequence>
<xsd:attribute name="name" use="required" type="xsd:string" />
<xsd:attribute name="type" type="xsd:string" />
<xsd:attribute name="mimetype" type="xsd:string" />
<xsd:attribute ref="xml:space" />
</xsd:complexType>
</xsd:element>
<xsd:element name="assembly">
<xsd:complexType>
<xsd:attribute name="alias" type="xsd:string" />
<xsd:attribute name="name" type="xsd:string" />
</xsd:complexType>
</xsd:element>
<xsd:element name="data">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
<xsd:element name="comment" type="xsd:string" minOccurs="0" msdata:Ordinal="2" />
</xsd:sequence>
<xsd:attribute name="name" type="xsd:string" use="required" msdata:Ordinal="1" />
<xsd:attribute name="type" type="xsd:string" msdata:Ordinal="3" />
<xsd:attribute name="mimetype" type="xsd:string" msdata:Ordinal="4" />
<xsd:attribute ref="xml:space" />
</xsd:complexType>
</xsd:element>
<xsd:element name="resheader">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
</xsd:sequence>
<xsd:attribute name="name" type="xsd:string" use="required" />
</xsd:complexType>
</xsd:element>
</xsd:choice>
</xsd:complexType>
</xsd:element>
</xsd:schema>
<resheader name="resmimetype">
<value>text/microsoft-resx</value>
</resheader>
<resheader name="version">
<value>2.0</value>
</resheader>
<resheader name="reader">
<value>System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
</resheader>
<resheader name="writer">
<value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
</resheader>
</root>

View file

@ -153,21 +153,27 @@ namespace MSGer.tk
private void linkLabel2_LinkClicked(object sender, LinkLabelLinkClickedEventArgs e)
{
if (textBox1.Text.Length == 0)
{ //TODO: Fordítás
MessageBox.Show("Nincs megadva felhasználónév."); //Translate!
{
//MessageBox.Show("Nincs megadva felhasználónév."); //Translate!
MessageBox.Show(Language.Translate(Language.StringID.NoUserNameForPasswordReset));
return;
}
if (MessageBox.Show("Új jelszót kérsz a megadott névhez?", "", MessageBoxButtons.YesNo) == DialogResult.Yes)
//if (MessageBox.Show("Új jelszót kérsz a megadott névhez?", "", MessageBoxButtons.YesNo) == DialogResult.Yes)
if (MessageBox.Show(Language.Translate(Language.StringID.DoYouWantNewPassword), "", MessageBoxButtons.YesNo) == DialogResult.Yes)
{
string ret = Networking.SendRequest(Networking.RequestType.ResetPass, textBox1.Text, 0, false);
if (ret == "nouser")
MessageBox.Show("A megadott felhasználó nem létezik.");
//MessageBox.Show("A megadott felhasználó nem létezik.");
MessageBox.Show(Language.Translate(Language.StringID.NonexistentUser));
else if (ret == "already")
MessageBox.Show("A link MÁR el lett küldve az E-mail címedre.");
//MessageBox.Show("A link MÁR el lett küldve az E-mail címedre.");
MessageBox.Show(Language.Translate(Language.StringID.LinkAlreadySent));
else if (ret == "sent")
MessageBox.Show("A link elküldve az E-mail címedre.");
//MessageBox.Show("A link elküldve az E-mail címedre.");
MessageBox.Show(Language.Translate(Language.StringID.LinkSent));
else if (ret.Contains("notsent"))
MessageBox.Show("A link NEM lett elküldve az E-mail címedre.\nHiba: " + ret.Remove(ret.IndexOf("notsent"), "notsent".Length + 1));
//MessageBox.Show("A link NEM lett elküldve az E-mail címedre.\nHiba: " + ret.Remove(ret.IndexOf("notsent"), "notsent".Length + 1));
MessageBox.Show(Language.Translate(Language.StringID.LinkNotSent)+"\n"+Language.Translate(Language.StringID.Error) + ret.Remove(ret.IndexOf("notsent"), "notsent".Length + 1));
else
MessageBox.Show("Ismeretlen hiba:\n" + ret);
}

View file

@ -228,7 +228,14 @@ namespace MSGer.tk
Text,
AreYouSure,
Handwriting,
FileReceived
FileReceived,
NoUserNameForPasswordReset,
DoYouWantNewPassword,
NonexistentUser,
LinkAlreadySent,
LinkSent,
LinkNotSent,
LanguageEditor
} //TODO: Egyszerűsíteni az azonosítókat, nagyjából jelentsék azt, amit, és semmi több (pl. ne Menu_File_...)
#endregion

View file

@ -162,6 +162,12 @@
<Compile Include="Forms\SettingsPanels\SettingsPanelPersonal.Designer.cs">
<DependentUpon>SettingsPanelPersonal.cs</DependentUpon>
</Compile>
<Compile Include="Forms\LanguageEditorForm.cs">
<SubType>Form</SubType>
</Compile>
<Compile Include="Forms\LanguageEditorForm.Designer.cs">
<DependentUpon>LanguageEditorForm.cs</DependentUpon>
</Compile>
<Compile Include="NativeMethods.cs" />
<Compile Include="TextBoxHelpers.cs" />
<Compile Include="Forms\ThemeDesigner.cs">
@ -314,6 +320,9 @@
<EmbeddedResource Include="Forms\ThemeDesigner.resx">
<DependentUpon>ThemeDesigner.cs</DependentUpon>
</EmbeddedResource>
<EmbeddedResource Include="Forms\LanguageEditorForm.resx">
<DependentUpon>LanguageEditorForm.cs</DependentUpon>
</EmbeddedResource>
<EmbeddedResource Include="Properties\Resources.resx">
<Generator>ResXFileCodeGenerator</Generator>
<LastGenOutput>Resources.Designer.cs</LastGenOutput>

View file

@ -1,26 +1,26 @@
using System;
using System.Collections.Generic;
using System.Linq;
using System.Runtime.InteropServices;
using System.Text;
using System.Threading.Tasks;
namespace MSGer.tk
{
internal class NativeMethods
{
[StructLayout(LayoutKind.Sequential)]
public struct MARGINS
{
public int Left;
public int Right;
public int Top;
public int Bottom;
}
[DllImport("dwmapi.dll", PreserveSig = false)]
public static extern void DwmExtendFrameIntoClientArea(IntPtr hwnd, ref MARGINS margins);
[DllImport("dwmapi.dll", PreserveSig = false)]
public static extern bool DwmIsCompositionEnabled();
}
}
using System;
using System.Collections.Generic;
using System.Linq;
using System.Runtime.InteropServices;
using System.Text;
using System.Threading.Tasks;
namespace MSGer.tk
{
internal class NativeMethods
{
[StructLayout(LayoutKind.Sequential)]
public struct MARGINS
{
public int Left;
public int Right;
public int Top;
public int Bottom;
}
[DllImport("dwmapi.dll", PreserveSig = false)]
public static extern void DwmExtendFrameIntoClientArea(IntPtr hwnd, ref MARGINS margins);
[DllImport("dwmapi.dll", PreserveSig = false)]
public static extern bool DwmIsCompositionEnabled();
}
}

View file

@ -26,7 +26,8 @@ namespace MSGer.tk
SetState,
IsPartner,
KeepActive,
CheckUser
CheckUser,
ErrorReport
}
public const string WebAddress = "http://msger.url.ph"; //TODO: HTTPS
private static int Tries = 0;

View file

@ -449,26 +449,15 @@ namespace MSGer.tk
UpdateTimer.Dispose(); //2015.08.23.
}
// TODO: free unmanaged resources (unmanaged objects) and override a finalizer below.
// TODO: set large fields to null.
disposedValue = true;
}
}
// TODO: override a finalizer only if Dispose(bool disposing) above has code to free unmanaged resources.
// ~UserInfo() {
// // Do not change this code. Put cleanup code in Dispose(bool disposing) above.
// Dispose(false);
// }
// This code added to correctly implement the disposable pattern.
public void Dispose()
{
// Do not change this code. Put cleanup code in Dispose(bool disposing) above.
Dispose(true);
// TODO: uncomment the following line if the finalizer is overridden above.
// GC.SuppressFinalize(this);
}
#endregion
}

View file

@ -1,28 +0,0 @@
<?xml version="1.0" encoding="utf-8"?>
<?xml-stylesheet type="text/xsl" href="c:\program files (x86)\microsoft visual studio 14.0\team tools\static analysis tools\fxcop\Xml\CodeAnalysisReport.xsl"?>
<FxCopReport Version="14.0">
<Localized>
<String Key="Category">Category</String>
<String Key="Certainty">Certainty</String>
<String Key="CollapseAll">Collapse All</String>
<String Key="CheckId">Check Id</String>
<String Key="Error">Error</String>
<String Key="Errors">error(s)</String>
<String Key="ExpandAll">Expand All</String>
<String Key="Help">Help</String>
<String Key="Line">Line</String>
<String Key="Messages">message(s)</String>
<String Key="LocationNotStoredInPdb">[Location not stored in Pdb]</String>
<String Key="Project">Project</String>
<String Key="Resolution">Resolution</String>
<String Key="Rule">Rule</String>
<String Key="RuleFile">Rule File</String>
<String Key="RuleDescription">Rule Description</String>
<String Key="Source">Source</String>
<String Key="Status">Status</String>
<String Key="Target">Target</String>
<String Key="Warning">Warning</String>
<String Key="Warnings">warning(s)</String>
<String Key="ReportTitle">Code Analysis Report</String>
</Localized>
</FxCopReport>

View file

@ -7,5 +7,4 @@ D:\Z - Norbi cucca\0 Projektek\MSGer.tk\0 Repository\MSGerTextBox\obj\Debug\MSGe
D:\Z - Norbi cucca\0 Projektek\MSGer.tk\0 Repository\MSGerTextBox\obj\Debug\MSGerTextBox.csproj.GenerateResource.Cache
D:\Z - Norbi cucca\0 Projektek\MSGer.tk\0 Repository\MSGerTextBox\obj\Debug\MSGerTextBox.exe
D:\Z - Norbi cucca\0 Projektek\MSGer.tk\0 Repository\MSGerTextBox\obj\Debug\MSGerTextBox.pdb
D:\Z - Norbi cucca\0 Projektek\MSGer.tk\0 Repository\MSGerTextBox\bin\Debug\MSGerTextBox.exe.CodeAnalysisLog.xml
D:\Z - Norbi cucca\0 Projektek\MSGer.tk\0 Repository\MSGerTextBox\bin\Debug\MSGerTextBox.exe.lastcodeanalysissucceeded
D:\Z - Norbi cucca\0 Projektek\MSGer.tk\0 Repository\MSGerTextBox\obj\Debug\MSGerTextBox.csprojResolveAssemblyReference.cache

View file

@ -1,17 +1,17 @@
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace SzNPProjects
{
public class ItemClickEventArgs : EventArgs
{ //2015.08.23.
public int ItemIndex { get; private set; }
public ItemClickEventArgs(int itemindex)
{
ItemIndex = itemindex;
}
}
}
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace SzNPProjects
{
public class ItemClickEventArgs : EventArgs
{ //2015.08.23.
public int ItemIndex { get; private set; }
public ItemClickEventArgs(int itemindex)
{
ItemIndex = itemindex;
}
}
}

View file

@ -12,5 +12,4 @@ D:\Z - Norbi cucca\0 Projektek\MSGer.tk\0 Repository\RichListView\RichListView\o
D:\Z - Norbi cucca\0 Projektek\MSGer.tk\0 Repository\RichListView\RichListView\obj\Debug\RichListView.csproj.GenerateResource.Cache
D:\Z - Norbi cucca\0 Projektek\MSGer.tk\0 Repository\RichListView\RichListView\obj\Debug\RichListView.dll
D:\Z - Norbi cucca\0 Projektek\MSGer.tk\0 Repository\RichListView\RichListView\obj\Debug\RichListView.pdb
D:\Z - Norbi cucca\0 Projektek\MSGer.tk\0 Repository\RichListView\RichListView\bin\Debug\RichListView.dll.CodeAnalysisLog.xml
D:\Z - Norbi cucca\0 Projektek\MSGer.tk\0 Repository\RichListView\RichListView\bin\Debug\RichListView.dll.lastcodeanalysissucceeded
D:\Z - Norbi cucca\0 Projektek\MSGer.tk\0 Repository\RichListView\RichListView\obj\Debug\RichListView.csprojResolveAssemblyReference.cache

View file

@ -1,14 +1,14 @@
using System;
using MSGer.tk;
public class Test : IScript
{
public void Load()
{
Console.WriteLine("Script Loaded!");
}
public void Unload()
{
Console.WriteLine("Script Unloaded!");
}
}
using System;
using MSGer.tk;
public class Test : IScript
{
public void Load()
{
Console.WriteLine("Script Loaded!");
}
public void Unload()
{
Console.WriteLine("Script Unloaded!");
}
}

View file

@ -1,4 +1,4 @@
v7.0 - 2015.07.05-06., 08.23.
v7.0 - 2015.07.05-06., 08.23-24., 08.26.
----
- A hangulatjelek ablaka bevonva a témarendszerbe
- Átállva Git-re