commit 7a2a792ddac307933478bf8becd028a1a2006176 Author: szatmari.norbert.peter Date: Fri Apr 25 21:18:16 2014 +0000 Import to Google Code: Most Closed Beta v1.0-v9.0 Less Closed Beta v1.0 diff --git a/Less Closed Beta/v1.0/Changelog.txt b/Less Closed Beta/v1.0/Changelog.txt new file mode 100644 index 0000000..d3ac379 --- /dev/null +++ b/Less Closed Beta/v1.0/Changelog.txt @@ -0,0 +1,25 @@ +Less Closed Beta - v1.0 - 2014.04.18., 19., 24., 25. +---- +- Nvjegy elksztve, csinostva +- Nyelvi fjlok kezelse, fordtsi lehetsg +- Kisebb hibajavtsok s mg: +-- "Hiba az ismerslista frisstsekor" zenet javtva, s ltalnostva +-- Most mr az aktulis idznnak megfelel idpontot rja az zeneteknl +-- A mveletek menbl indtott beszlgetsek most mr nem az ablak mgtt jelennek meg (kdtrendezs) +- Mindig legfell opci mkdkpes +- Belltsok +-- Automatikusan a kivlasztott menponthoz ugrik +-- Ennek kapcsn most mr egyltaln tudja a kliens az aktulis felhasznl informciit (nv, zenet, stb.) +-- Nv- s zenetvltoztats +- Frisstsellenrzs: Ha ksz lesz ez a verzi, erre fog hivatkozni (a PHP-bl) + +v2.0 Tervek: +---- +- Fjlklds +- Rich Text szvegdoboz hasznlata a nevek, szemlyes zenetek megjelenitshez +http://stackoverflow.com/questions/6168177/how-to-insert-image-in-a-textbox +http://www.codeproject.com/Articles/4544/Insert-Plain-Text-and-Images-into-RichTextBox-at-R +- ItemWordWrap csak nagy listanzetben +- Frissit/frissitsjelz +- Belltsok: Nv, zenet frisstse +- Nvjegy \ No newline at end of file diff --git a/Most Closed Beta/v2.0/Changelog.txt b/Most Closed Beta/v2.0/Changelog.txt new file mode 100644 index 0000000..be82881 --- /dev/null +++ b/Most Closed Beta/v2.0/Changelog.txt @@ -0,0 +1,9 @@ +v2.0 - 2014.02.13-15. +---- +- A bejelentkezs most mr a httrben trtnik, ezltal kzben hasznlhat a program +- A bejelentkezs megllithat +- Biztonsg nvelve: A klnbz mveletek elvgzsekor mostantl egy felhasznl-specifikus kdot is kr (a httrben) +- Mensor megtervezve +- Nvmdosits: MSGer.tk --> Live Messenger Plus - MSGer.tk +- Httrformzsok +- Kijelentkezs menpont mkdkpes diff --git a/Most Closed Beta/v2.0/MSGer.tk (C#)/App.config b/Most Closed Beta/v2.0/MSGer.tk (C#)/App.config new file mode 100644 index 0000000..01566ac --- /dev/null +++ b/Most Closed Beta/v2.0/MSGer.tk (C#)/App.config @@ -0,0 +1,18 @@ + + + + +
+ + + + + + + + + + + + + \ No newline at end of file diff --git a/Most Closed Beta/v2.0/MSGer.tk (C#)/Form1.Designer.cs b/Most Closed Beta/v2.0/MSGer.tk (C#)/Form1.Designer.cs new file mode 100644 index 0000000..d3d7697 --- /dev/null +++ b/Most Closed Beta/v2.0/MSGer.tk (C#)/Form1.Designer.cs @@ -0,0 +1,703 @@ +namespace MSGer.tk +{ + partial class MainForm + { + /// + /// Required designer variable. + /// + private System.ComponentModel.IContainer components = null; + + /// + /// Clean up any resources being used. + /// + /// true if managed resources should be disposed; otherwise, false. + protected override void Dispose(bool disposing) + { + if (disposing && (components != null)) + { + components.Dispose(); + } + base.Dispose(disposing); + } + + #region Windows Form Designer generated code + + /// + /// Required method for Designer support - do not modify + /// the contents of this method with the code editor. + /// + private void InitializeComponent() + { + this.components = new System.ComponentModel.Container(); + System.Windows.Forms.ListViewGroup listViewGroup1 = new System.Windows.Forms.ListViewGroup("Elérhető ismerősök", System.Windows.Forms.HorizontalAlignment.Left); + System.Windows.Forms.ListViewGroup listViewGroup2 = new System.Windows.Forms.ListViewGroup("Nem elérhető ismerősök", System.Windows.Forms.HorizontalAlignment.Left); + this.notifyIcon1 = new System.Windows.Forms.NotifyIcon(this.components); + 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.button1 = new System.Windows.Forms.Button(); + this.panel2 = new System.Windows.Forms.Panel(); + this.textBox1 = new System.Windows.Forms.TextBox(); + this.panel1 = new System.Windows.Forms.Panel(); + this.menuStrip1 = new System.Windows.Forms.MenuStrip(); + this.fájlToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); + this.kijelentkezésToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); + this.toolStripSeparator1 = new System.Windows.Forms.ToolStripSeparator(); + this.állapotToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); + this.elérhetőToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); + this.elfoglaltToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); + this.nincsAGépnélToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); + this.rejtveKapcsolódikToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); + this.toolStripSeparator2 = new System.Windows.Forms.ToolStripSeparator(); + this.fájlKüldéseToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); + this.beérkezettFájlokMappájánakMegnyitásaToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); + this.üzenetekElőzményeinekMegtekintéseToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); + this.toolStripSeparator3 = new System.Windows.Forms.ToolStripSeparator(); + this.bezárásToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); + this.toolStripSeparator4 = new System.Windows.Forms.ToolStripSeparator(); + this.kilépésToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); + this.ismerősökToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); + this.ismerősFelvételeToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); + this.ismerősSzerkesztéseToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); + this.ismerősTörléseToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); + this.toolStripSeparator5 = new System.Windows.Forms.ToolStripSeparator(); + this.csoportLétrehozásaToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); + this.toolStripSeparator6 = new System.Windows.Forms.ToolStripSeparator(); + this.kategóriaLétrehozásaToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); + this.kategóriaSzerkesztéseToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); + this.kategóriaTörléseToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); + this.műveletekToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); + this.azonnaliÜzenetKüldéseToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); + this.egyébKüldéseToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); + this.emailKüldéseToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); + this.fájlKüldéseToolStripMenuItem1 = new System.Windows.Forms.ToolStripMenuItem(); + this.toolStripSeparator7 = new System.Windows.Forms.ToolStripSeparator(); + this.ismerősSzámitógépénekFelhivásaToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); + this.videóhivásInditásaToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); + this.onlineFájlokMegtekintéseToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); + this.közösJátékToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); + this.távsegitségKéréseToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); + this.eszközökToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); + this.mindigLegfelülToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); + this.toolStripSeparator8 = new System.Windows.Forms.ToolStripSeparator(); + this.hangulatjelekToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); + this.megjelenitendőKépVáltásaToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); + this.háttérMódositásaToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); + this.toolStripSeparator9 = new System.Windows.Forms.ToolStripSeparator(); + this.hangokÉsVideóBeállitásaToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); + this.toolStripSeparator10 = new System.Windows.Forms.ToolStripSeparator(); + this.beállitásokToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); + this.súgóToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); + this.témakörökToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); + this.toolStripSeparator11 = new System.Windows.Forms.ToolStripSeparator(); + this.aSzolgáltatásÁllapotsaToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); + this.adatvédelmiNyilatkozatToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); + this.használatiFeltételekToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); + this.visszaélésBejelentéseToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); + this.toolStripSeparator12 = new System.Windows.Forms.ToolStripSeparator(); + this.segitsenAProgramTökéletesitésébenToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); + this.toolStripSeparator13 = new System.Windows.Forms.ToolStripSeparator(); + this.névjegyToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); + this.panel2.SuspendLayout(); + this.menuStrip1.SuspendLayout(); + this.SuspendLayout(); + // + // notifyIcon1 + // + this.notifyIcon1.Text = "notifyIcon1"; + this.notifyIcon1.Visible = true; + // + // listView1 + // + this.listView1.Activation = System.Windows.Forms.ItemActivation.OneClick; + this.listView1.AllowColumnReorder = true; + 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.BackColor = System.Drawing.Color.White; + this.listView1.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle; + this.listView1.Columns.AddRange(new System.Windows.Forms.ColumnHeader[] { + this.columnHeader1, + this.columnHeader2}); + listViewGroup1.Header = "Elérhető ismerősök"; + listViewGroup1.Name = "listViewGroup1"; + listViewGroup2.Header = "Nem elérhető ismerősök"; + listViewGroup2.Name = "listViewGroup2"; + this.listView1.Groups.AddRange(new System.Windows.Forms.ListViewGroup[] { + listViewGroup1, + listViewGroup2}); + this.listView1.HideSelection = false; + this.listView1.LabelWrap = false; + this.listView1.Location = new System.Drawing.Point(0, 130); + this.listView1.Name = "listView1"; + this.listView1.Size = new System.Drawing.Size(624, 312); + this.listView1.TabIndex = 1; + this.listView1.UseCompatibleStateImageBehavior = false; + this.listView1.View = System.Windows.Forms.View.Details; + // + // columnHeader1 + // + this.columnHeader1.Text = "Név"; + this.columnHeader1.Width = 150; + // + // columnHeader2 + // + this.columnHeader2.Text = "Személyes üzenet"; + this.columnHeader2.Width = 430; + // + // button1 + // + this.button1.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right))); + this.button1.FlatStyle = System.Windows.Forms.FlatStyle.Popup; + this.button1.Location = new System.Drawing.Point(519, 104); + this.button1.Name = "button1"; + this.button1.Size = new System.Drawing.Size(35, 23); + this.button1.TabIndex = 4; + this.button1.UseVisualStyleBackColor = true; + // + // panel2 + // + this.panel2.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left) + | System.Windows.Forms.AnchorStyles.Right))); + this.panel2.BackgroundImage = global::MSGer.tk.Properties.Resources.Keresősáv; + this.panel2.BackgroundImageLayout = System.Windows.Forms.ImageLayout.Stretch; + this.panel2.Controls.Add(this.textBox1); + this.panel2.Location = new System.Drawing.Point(0, 96); + this.panel2.Name = "panel2"; + this.panel2.Size = new System.Drawing.Size(513, 31); + this.panel2.TabIndex = 5; + // + // textBox1 + // + this.textBox1.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left) + | System.Windows.Forms.AnchorStyles.Right))); + this.textBox1.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(244)))), ((int)(((byte)(249)))), ((int)(((byte)(252))))); + this.textBox1.BorderStyle = System.Windows.Forms.BorderStyle.None; + this.textBox1.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(137)))), ((int)(((byte)(161)))), ((int)(((byte)(194))))); + this.textBox1.Location = new System.Drawing.Point(6, 8); + this.textBox1.Name = "textBox1"; + this.textBox1.Size = new System.Drawing.Size(504, 13); + this.textBox1.TabIndex = 3; + this.textBox1.Text = "Ismerősök keresése..."; + // + // panel1 + // + this.panel1.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left) + | System.Windows.Forms.AnchorStyles.Right))); + this.panel1.BackgroundImage = global::MSGer.tk.Properties.Resources.Blue_Wallpaper_HD_2; + this.panel1.BackgroundImageLayout = System.Windows.Forms.ImageLayout.Stretch; + this.panel1.Location = new System.Drawing.Point(0, 27); + this.panel1.Name = "panel1"; + this.panel1.Size = new System.Drawing.Size(624, 63); + this.panel1.TabIndex = 2; + // + // menuStrip1 + // + this.menuStrip1.BackColor = System.Drawing.Color.Black; + this.menuStrip1.BackgroundImage = global::MSGer.tk.Properties.Resources.Menü_2; + this.menuStrip1.Items.AddRange(new System.Windows.Forms.ToolStripItem[] { + this.fájlToolStripMenuItem, + this.ismerősökToolStripMenuItem, + this.műveletekToolStripMenuItem, + this.eszközökToolStripMenuItem, + this.súgóToolStripMenuItem}); + this.menuStrip1.Location = new System.Drawing.Point(0, 0); + this.menuStrip1.Name = "menuStrip1"; + this.menuStrip1.RenderMode = System.Windows.Forms.ToolStripRenderMode.System; + this.menuStrip1.Size = new System.Drawing.Size(624, 24); + this.menuStrip1.TabIndex = 0; + this.menuStrip1.Text = "menuStrip1"; + // + // fájlToolStripMenuItem + // + this.fájlToolStripMenuItem.DropDownItems.AddRange(new System.Windows.Forms.ToolStripItem[] { + this.kijelentkezésToolStripMenuItem, + this.toolStripSeparator1, + this.állapotToolStripMenuItem, + this.toolStripSeparator2, + this.fájlKüldéseToolStripMenuItem, + this.beérkezettFájlokMappájánakMegnyitásaToolStripMenuItem, + this.üzenetekElőzményeinekMegtekintéseToolStripMenuItem, + this.toolStripSeparator3, + this.bezárásToolStripMenuItem, + this.toolStripSeparator4, + this.kilépésToolStripMenuItem}); + this.fájlToolStripMenuItem.Name = "fájlToolStripMenuItem"; + this.fájlToolStripMenuItem.Size = new System.Drawing.Size(37, 20); + this.fájlToolStripMenuItem.Text = "Fájl"; + // + // kijelentkezésToolStripMenuItem + // + this.kijelentkezésToolStripMenuItem.Name = "kijelentkezésToolStripMenuItem"; + this.kijelentkezésToolStripMenuItem.Size = new System.Drawing.Size(292, 22); + this.kijelentkezésToolStripMenuItem.Text = "Kijelentkezés"; + this.kijelentkezésToolStripMenuItem.Click += new System.EventHandler(this.LogoutUser); + // + // toolStripSeparator1 + // + this.toolStripSeparator1.Name = "toolStripSeparator1"; + this.toolStripSeparator1.Size = new System.Drawing.Size(289, 6); + // + // állapotToolStripMenuItem + // + this.állapotToolStripMenuItem.DropDownItems.AddRange(new System.Windows.Forms.ToolStripItem[] { + this.elérhetőToolStripMenuItem, + this.elfoglaltToolStripMenuItem, + this.nincsAGépnélToolStripMenuItem, + this.rejtveKapcsolódikToolStripMenuItem}); + this.állapotToolStripMenuItem.Name = "állapotToolStripMenuItem"; + this.állapotToolStripMenuItem.Size = new System.Drawing.Size(292, 22); + this.állapotToolStripMenuItem.Text = "Állapot"; + // + // elérhetőToolStripMenuItem + // + this.elérhetőToolStripMenuItem.Name = "elérhetőToolStripMenuItem"; + this.elérhetőToolStripMenuItem.Size = new System.Drawing.Size(172, 22); + this.elérhetőToolStripMenuItem.Text = "Elérhető"; + // + // elfoglaltToolStripMenuItem + // + this.elfoglaltToolStripMenuItem.Name = "elfoglaltToolStripMenuItem"; + this.elfoglaltToolStripMenuItem.Size = new System.Drawing.Size(172, 22); + this.elfoglaltToolStripMenuItem.Text = "Elfoglalt"; + // + // nincsAGépnélToolStripMenuItem + // + this.nincsAGépnélToolStripMenuItem.Name = "nincsAGépnélToolStripMenuItem"; + this.nincsAGépnélToolStripMenuItem.Size = new System.Drawing.Size(172, 22); + this.nincsAGépnélToolStripMenuItem.Text = "Nincs a gépnél"; + // + // rejtveKapcsolódikToolStripMenuItem + // + this.rejtveKapcsolódikToolStripMenuItem.Name = "rejtveKapcsolódikToolStripMenuItem"; + this.rejtveKapcsolódikToolStripMenuItem.Size = new System.Drawing.Size(172, 22); + this.rejtveKapcsolódikToolStripMenuItem.Text = "Rejtve kapcsolódik"; + // + // toolStripSeparator2 + // + this.toolStripSeparator2.Name = "toolStripSeparator2"; + this.toolStripSeparator2.Size = new System.Drawing.Size(289, 6); + // + // fájlKüldéseToolStripMenuItem + // + this.fájlKüldéseToolStripMenuItem.Name = "fájlKüldéseToolStripMenuItem"; + this.fájlKüldéseToolStripMenuItem.Size = new System.Drawing.Size(292, 22); + this.fájlKüldéseToolStripMenuItem.Text = "Fájl küldése..."; + // + // beérkezettFájlokMappájánakMegnyitásaToolStripMenuItem + // + this.beérkezettFájlokMappájánakMegnyitásaToolStripMenuItem.Name = "beérkezettFájlokMappájánakMegnyitásaToolStripMenuItem"; + this.beérkezettFájlokMappájánakMegnyitásaToolStripMenuItem.Size = new System.Drawing.Size(292, 22); + this.beérkezettFájlokMappájánakMegnyitásaToolStripMenuItem.Text = "Beérkezett fájlok mappájának megnyitása"; + // + // üzenetekElőzményeinekMegtekintéseToolStripMenuItem + // + this.üzenetekElőzményeinekMegtekintéseToolStripMenuItem.Name = "üzenetekElőzményeinekMegtekintéseToolStripMenuItem"; + this.üzenetekElőzményeinekMegtekintéseToolStripMenuItem.Size = new System.Drawing.Size(292, 22); + this.üzenetekElőzményeinekMegtekintéseToolStripMenuItem.Text = "Üzenetek előzményeinek megtekintése..."; + // + // toolStripSeparator3 + // + this.toolStripSeparator3.Name = "toolStripSeparator3"; + this.toolStripSeparator3.Size = new System.Drawing.Size(289, 6); + // + // bezárásToolStripMenuItem + // + this.bezárásToolStripMenuItem.Name = "bezárásToolStripMenuItem"; + this.bezárásToolStripMenuItem.Size = new System.Drawing.Size(292, 22); + this.bezárásToolStripMenuItem.Text = "Bezárás"; + // + // toolStripSeparator4 + // + this.toolStripSeparator4.Name = "toolStripSeparator4"; + this.toolStripSeparator4.Size = new System.Drawing.Size(289, 6); + // + // kilépésToolStripMenuItem + // + this.kilépésToolStripMenuItem.Name = "kilépésToolStripMenuItem"; + this.kilépésToolStripMenuItem.Size = new System.Drawing.Size(292, 22); + this.kilépésToolStripMenuItem.Text = "Kilépés"; + // + // ismerősökToolStripMenuItem + // + this.ismerősökToolStripMenuItem.DropDownItems.AddRange(new System.Windows.Forms.ToolStripItem[] { + this.ismerősFelvételeToolStripMenuItem, + this.ismerősSzerkesztéseToolStripMenuItem, + this.ismerősTörléseToolStripMenuItem, + this.toolStripSeparator5, + this.csoportLétrehozásaToolStripMenuItem, + this.toolStripSeparator6, + this.kategóriaLétrehozásaToolStripMenuItem, + this.kategóriaSzerkesztéseToolStripMenuItem, + this.kategóriaTörléseToolStripMenuItem}); + this.ismerősökToolStripMenuItem.Name = "ismerősökToolStripMenuItem"; + this.ismerősökToolStripMenuItem.Size = new System.Drawing.Size(73, 20); + this.ismerősökToolStripMenuItem.Text = "Ismerősök"; + // + // ismerősFelvételeToolStripMenuItem + // + this.ismerősFelvételeToolStripMenuItem.Name = "ismerősFelvételeToolStripMenuItem"; + this.ismerősFelvételeToolStripMenuItem.Size = new System.Drawing.Size(199, 22); + this.ismerősFelvételeToolStripMenuItem.Text = "Ismerős felvétele..."; + // + // ismerősSzerkesztéseToolStripMenuItem + // + this.ismerősSzerkesztéseToolStripMenuItem.Name = "ismerősSzerkesztéseToolStripMenuItem"; + this.ismerősSzerkesztéseToolStripMenuItem.Size = new System.Drawing.Size(199, 22); + this.ismerősSzerkesztéseToolStripMenuItem.Text = "Ismerős szerkesztése..."; + // + // ismerősTörléseToolStripMenuItem + // + this.ismerősTörléseToolStripMenuItem.Name = "ismerősTörléseToolStripMenuItem"; + this.ismerősTörléseToolStripMenuItem.Size = new System.Drawing.Size(199, 22); + this.ismerősTörléseToolStripMenuItem.Text = "Ismerős törlése..."; + // + // toolStripSeparator5 + // + this.toolStripSeparator5.Name = "toolStripSeparator5"; + this.toolStripSeparator5.Size = new System.Drawing.Size(196, 6); + // + // csoportLétrehozásaToolStripMenuItem + // + this.csoportLétrehozásaToolStripMenuItem.Name = "csoportLétrehozásaToolStripMenuItem"; + this.csoportLétrehozásaToolStripMenuItem.Size = new System.Drawing.Size(199, 22); + this.csoportLétrehozásaToolStripMenuItem.Text = "Csoport létrehozása..."; + // + // toolStripSeparator6 + // + this.toolStripSeparator6.Name = "toolStripSeparator6"; + this.toolStripSeparator6.Size = new System.Drawing.Size(196, 6); + // + // kategóriaLétrehozásaToolStripMenuItem + // + this.kategóriaLétrehozásaToolStripMenuItem.Name = "kategóriaLétrehozásaToolStripMenuItem"; + this.kategóriaLétrehozásaToolStripMenuItem.Size = new System.Drawing.Size(199, 22); + this.kategóriaLétrehozásaToolStripMenuItem.Text = "Kategória létrehozása..."; + // + // kategóriaSzerkesztéseToolStripMenuItem + // + this.kategóriaSzerkesztéseToolStripMenuItem.Name = "kategóriaSzerkesztéseToolStripMenuItem"; + this.kategóriaSzerkesztéseToolStripMenuItem.Size = new System.Drawing.Size(199, 22); + this.kategóriaSzerkesztéseToolStripMenuItem.Text = "Kategória szerkesztése..."; + // + // kategóriaTörléseToolStripMenuItem + // + this.kategóriaTörléseToolStripMenuItem.Name = "kategóriaTörléseToolStripMenuItem"; + this.kategóriaTörléseToolStripMenuItem.Size = new System.Drawing.Size(199, 22); + this.kategóriaTörléseToolStripMenuItem.Text = "Kategória törlése..."; + // + // műveletekToolStripMenuItem + // + this.műveletekToolStripMenuItem.DropDownItems.AddRange(new System.Windows.Forms.ToolStripItem[] { + this.azonnaliÜzenetKüldéseToolStripMenuItem, + this.egyébKüldéseToolStripMenuItem, + this.toolStripSeparator7, + this.ismerősSzámitógépénekFelhivásaToolStripMenuItem, + this.videóhivásInditásaToolStripMenuItem, + this.onlineFájlokMegtekintéseToolStripMenuItem, + this.közösJátékToolStripMenuItem, + this.távsegitségKéréseToolStripMenuItem}); + this.műveletekToolStripMenuItem.Name = "műveletekToolStripMenuItem"; + this.műveletekToolStripMenuItem.Size = new System.Drawing.Size(74, 20); + this.műveletekToolStripMenuItem.Text = "Műveletek"; + // + // azonnaliÜzenetKüldéseToolStripMenuItem + // + this.azonnaliÜzenetKüldéseToolStripMenuItem.Name = "azonnaliÜzenetKüldéseToolStripMenuItem"; + this.azonnaliÜzenetKüldéseToolStripMenuItem.Size = new System.Drawing.Size(253, 22); + this.azonnaliÜzenetKüldéseToolStripMenuItem.Text = "Azonnali üzenet küldése..."; + // + // egyébKüldéseToolStripMenuItem + // + this.egyébKüldéseToolStripMenuItem.DropDownItems.AddRange(new System.Windows.Forms.ToolStripItem[] { + this.emailKüldéseToolStripMenuItem, + this.fájlKüldéseToolStripMenuItem1}); + this.egyébKüldéseToolStripMenuItem.Name = "egyébKüldéseToolStripMenuItem"; + this.egyébKüldéseToolStripMenuItem.Size = new System.Drawing.Size(253, 22); + this.egyébKüldéseToolStripMenuItem.Text = "Egyéb küldése"; + // + // emailKüldéseToolStripMenuItem + // + this.emailKüldéseToolStripMenuItem.Name = "emailKüldéseToolStripMenuItem"; + this.emailKüldéseToolStripMenuItem.Size = new System.Drawing.Size(160, 22); + this.emailKüldéseToolStripMenuItem.Text = "E-mail küldése..."; + // + // fájlKüldéseToolStripMenuItem1 + // + this.fájlKüldéseToolStripMenuItem1.Name = "fájlKüldéseToolStripMenuItem1"; + this.fájlKüldéseToolStripMenuItem1.Size = new System.Drawing.Size(160, 22); + this.fájlKüldéseToolStripMenuItem1.Text = "Fájl küldése..."; + // + // toolStripSeparator7 + // + this.toolStripSeparator7.Name = "toolStripSeparator7"; + this.toolStripSeparator7.Size = new System.Drawing.Size(250, 6); + // + // ismerősSzámitógépénekFelhivásaToolStripMenuItem + // + this.ismerősSzámitógépénekFelhivásaToolStripMenuItem.Name = "ismerősSzámitógépénekFelhivásaToolStripMenuItem"; + this.ismerősSzámitógépénekFelhivásaToolStripMenuItem.Size = new System.Drawing.Size(253, 22); + this.ismerősSzámitógépénekFelhivásaToolStripMenuItem.Text = "Ismerős számitógépének felhivása"; + // + // videóhivásInditásaToolStripMenuItem + // + this.videóhivásInditásaToolStripMenuItem.Name = "videóhivásInditásaToolStripMenuItem"; + this.videóhivásInditásaToolStripMenuItem.Size = new System.Drawing.Size(253, 22); + this.videóhivásInditásaToolStripMenuItem.Text = "Videóhivás inditása..."; + // + // onlineFájlokMegtekintéseToolStripMenuItem + // + this.onlineFájlokMegtekintéseToolStripMenuItem.Name = "onlineFájlokMegtekintéseToolStripMenuItem"; + this.onlineFájlokMegtekintéseToolStripMenuItem.Size = new System.Drawing.Size(253, 22); + this.onlineFájlokMegtekintéseToolStripMenuItem.Text = "Online fájlok megtekintése"; + // + // közösJátékToolStripMenuItem + // + this.közösJátékToolStripMenuItem.Name = "közösJátékToolStripMenuItem"; + this.közösJátékToolStripMenuItem.Size = new System.Drawing.Size(253, 22); + this.közösJátékToolStripMenuItem.Text = "Közös játék..."; + // + // távsegitségKéréseToolStripMenuItem + // + this.távsegitségKéréseToolStripMenuItem.Name = "távsegitségKéréseToolStripMenuItem"; + this.távsegitségKéréseToolStripMenuItem.Size = new System.Drawing.Size(253, 22); + this.távsegitségKéréseToolStripMenuItem.Text = "Távsegitség kérése..."; + // + // eszközökToolStripMenuItem + // + this.eszközökToolStripMenuItem.DropDownItems.AddRange(new System.Windows.Forms.ToolStripItem[] { + this.mindigLegfelülToolStripMenuItem, + this.toolStripSeparator8, + this.hangulatjelekToolStripMenuItem, + this.megjelenitendőKépVáltásaToolStripMenuItem, + this.háttérMódositásaToolStripMenuItem, + this.toolStripSeparator9, + this.hangokÉsVideóBeállitásaToolStripMenuItem, + this.toolStripSeparator10, + this.beállitásokToolStripMenuItem}); + this.eszközökToolStripMenuItem.Name = "eszközökToolStripMenuItem"; + this.eszközökToolStripMenuItem.Size = new System.Drawing.Size(66, 20); + this.eszközökToolStripMenuItem.Text = "Eszközök"; + // + // mindigLegfelülToolStripMenuItem + // + this.mindigLegfelülToolStripMenuItem.CheckOnClick = true; + this.mindigLegfelülToolStripMenuItem.Name = "mindigLegfelülToolStripMenuItem"; + this.mindigLegfelülToolStripMenuItem.Size = new System.Drawing.Size(227, 22); + this.mindigLegfelülToolStripMenuItem.Text = "Mindig legfelül"; + // + // toolStripSeparator8 + // + this.toolStripSeparator8.Name = "toolStripSeparator8"; + this.toolStripSeparator8.Size = new System.Drawing.Size(224, 6); + // + // hangulatjelekToolStripMenuItem + // + this.hangulatjelekToolStripMenuItem.Name = "hangulatjelekToolStripMenuItem"; + this.hangulatjelekToolStripMenuItem.Size = new System.Drawing.Size(227, 22); + this.hangulatjelekToolStripMenuItem.Text = "Hangulatjelek..."; + // + // megjelenitendőKépVáltásaToolStripMenuItem + // + this.megjelenitendőKépVáltásaToolStripMenuItem.Name = "megjelenitendőKépVáltásaToolStripMenuItem"; + this.megjelenitendőKépVáltásaToolStripMenuItem.Size = new System.Drawing.Size(227, 22); + this.megjelenitendőKépVáltásaToolStripMenuItem.Text = "Megjelenitendő kép váltása..."; + // + // háttérMódositásaToolStripMenuItem + // + this.háttérMódositásaToolStripMenuItem.Name = "háttérMódositásaToolStripMenuItem"; + this.háttérMódositásaToolStripMenuItem.Size = new System.Drawing.Size(227, 22); + this.háttérMódositásaToolStripMenuItem.Text = "Háttér módositása..."; + // + // toolStripSeparator9 + // + this.toolStripSeparator9.Name = "toolStripSeparator9"; + this.toolStripSeparator9.Size = new System.Drawing.Size(224, 6); + // + // hangokÉsVideóBeállitásaToolStripMenuItem + // + this.hangokÉsVideóBeállitásaToolStripMenuItem.Name = "hangokÉsVideóBeállitásaToolStripMenuItem"; + this.hangokÉsVideóBeállitásaToolStripMenuItem.Size = new System.Drawing.Size(227, 22); + this.hangokÉsVideóBeállitásaToolStripMenuItem.Text = "Hangok és videó beállitása..."; + // + // toolStripSeparator10 + // + this.toolStripSeparator10.Name = "toolStripSeparator10"; + this.toolStripSeparator10.Size = new System.Drawing.Size(224, 6); + // + // beállitásokToolStripMenuItem + // + this.beállitásokToolStripMenuItem.Name = "beállitásokToolStripMenuItem"; + this.beállitásokToolStripMenuItem.Size = new System.Drawing.Size(227, 22); + this.beállitásokToolStripMenuItem.Text = "Beállitások..."; + // + // súgóToolStripMenuItem + // + this.súgóToolStripMenuItem.DropDownItems.AddRange(new System.Windows.Forms.ToolStripItem[] { + this.témakörökToolStripMenuItem, + this.toolStripSeparator11, + this.aSzolgáltatásÁllapotsaToolStripMenuItem, + this.adatvédelmiNyilatkozatToolStripMenuItem, + this.használatiFeltételekToolStripMenuItem, + this.visszaélésBejelentéseToolStripMenuItem, + this.toolStripSeparator12, + this.segitsenAProgramTökéletesitésébenToolStripMenuItem, + this.toolStripSeparator13, + this.névjegyToolStripMenuItem}); + this.súgóToolStripMenuItem.Name = "súgóToolStripMenuItem"; + this.súgóToolStripMenuItem.Size = new System.Drawing.Size(46, 20); + this.súgóToolStripMenuItem.Text = "Súgó"; + // + // témakörökToolStripMenuItem + // + this.témakörökToolStripMenuItem.Name = "témakörökToolStripMenuItem"; + this.témakörökToolStripMenuItem.Size = new System.Drawing.Size(270, 22); + this.témakörökToolStripMenuItem.Text = "Témakörök"; + // + // toolStripSeparator11 + // + this.toolStripSeparator11.Name = "toolStripSeparator11"; + this.toolStripSeparator11.Size = new System.Drawing.Size(267, 6); + // + // aSzolgáltatásÁllapotsaToolStripMenuItem + // + this.aSzolgáltatásÁllapotsaToolStripMenuItem.Name = "aSzolgáltatásÁllapotsaToolStripMenuItem"; + this.aSzolgáltatásÁllapotsaToolStripMenuItem.Size = new System.Drawing.Size(270, 22); + this.aSzolgáltatásÁllapotsaToolStripMenuItem.Text = "A szolgáltatás állapota"; + // + // adatvédelmiNyilatkozatToolStripMenuItem + // + this.adatvédelmiNyilatkozatToolStripMenuItem.Name = "adatvédelmiNyilatkozatToolStripMenuItem"; + this.adatvédelmiNyilatkozatToolStripMenuItem.Size = new System.Drawing.Size(270, 22); + this.adatvédelmiNyilatkozatToolStripMenuItem.Text = "Adatvédelmi nyilatkozat"; + // + // használatiFeltételekToolStripMenuItem + // + this.használatiFeltételekToolStripMenuItem.Name = "használatiFeltételekToolStripMenuItem"; + this.használatiFeltételekToolStripMenuItem.Size = new System.Drawing.Size(270, 22); + this.használatiFeltételekToolStripMenuItem.Text = "Használati feltételek"; + // + // visszaélésBejelentéseToolStripMenuItem + // + this.visszaélésBejelentéseToolStripMenuItem.Name = "visszaélésBejelentéseToolStripMenuItem"; + this.visszaélésBejelentéseToolStripMenuItem.Size = new System.Drawing.Size(270, 22); + this.visszaélésBejelentéseToolStripMenuItem.Text = "Visszaélés bejelentése"; + // + // toolStripSeparator12 + // + this.toolStripSeparator12.Name = "toolStripSeparator12"; + this.toolStripSeparator12.Size = new System.Drawing.Size(267, 6); + // + // segitsenAProgramTökéletesitésébenToolStripMenuItem + // + this.segitsenAProgramTökéletesitésébenToolStripMenuItem.Name = "segitsenAProgramTökéletesitésébenToolStripMenuItem"; + this.segitsenAProgramTökéletesitésébenToolStripMenuItem.Size = new System.Drawing.Size(270, 22); + this.segitsenAProgramTökéletesitésébenToolStripMenuItem.Text = "Segitsen a program tökéletesitésében"; + // + // toolStripSeparator13 + // + this.toolStripSeparator13.Name = "toolStripSeparator13"; + this.toolStripSeparator13.Size = new System.Drawing.Size(267, 6); + // + // névjegyToolStripMenuItem + // + this.névjegyToolStripMenuItem.Name = "névjegyToolStripMenuItem"; + this.névjegyToolStripMenuItem.Size = new System.Drawing.Size(270, 22); + this.névjegyToolStripMenuItem.Text = "Névjegy"; + // + // MainForm + // + this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F); + this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; + this.BackColor = System.Drawing.Color.White; + this.ClientSize = new System.Drawing.Size(624, 442); + this.Controls.Add(this.panel2); + this.Controls.Add(this.button1); + this.Controls.Add(this.panel1); + this.Controls.Add(this.listView1); + this.Controls.Add(this.menuStrip1); + this.MainMenuStrip = this.menuStrip1; + this.Name = "MainForm"; + this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen; + this.Text = "Live Messenger Plus - MSGer.tk"; + this.panel2.ResumeLayout(false); + this.panel2.PerformLayout(); + this.menuStrip1.ResumeLayout(false); + this.menuStrip1.PerformLayout(); + this.ResumeLayout(false); + this.PerformLayout(); + + } + + #endregion + + private System.Windows.Forms.NotifyIcon notifyIcon1; + private System.Windows.Forms.MenuStrip menuStrip1; + private System.Windows.Forms.ListView listView1; + private System.Windows.Forms.ColumnHeader columnHeader1; + private System.Windows.Forms.ColumnHeader columnHeader2; + private System.Windows.Forms.ToolStripMenuItem fájlToolStripMenuItem; + private System.Windows.Forms.ToolStripMenuItem kijelentkezésToolStripMenuItem; + private System.Windows.Forms.ToolStripSeparator toolStripSeparator1; + private System.Windows.Forms.ToolStripMenuItem állapotToolStripMenuItem; + private System.Windows.Forms.ToolStripMenuItem elérhetőToolStripMenuItem; + private System.Windows.Forms.ToolStripMenuItem elfoglaltToolStripMenuItem; + private System.Windows.Forms.ToolStripMenuItem nincsAGépnélToolStripMenuItem; + private System.Windows.Forms.ToolStripMenuItem rejtveKapcsolódikToolStripMenuItem; + private System.Windows.Forms.ToolStripSeparator toolStripSeparator2; + private System.Windows.Forms.ToolStripMenuItem fájlKüldéseToolStripMenuItem; + private System.Windows.Forms.ToolStripMenuItem beérkezettFájlokMappájánakMegnyitásaToolStripMenuItem; + private System.Windows.Forms.ToolStripMenuItem üzenetekElőzményeinekMegtekintéseToolStripMenuItem; + private System.Windows.Forms.ToolStripSeparator toolStripSeparator3; + private System.Windows.Forms.ToolStripMenuItem bezárásToolStripMenuItem; + private System.Windows.Forms.ToolStripSeparator toolStripSeparator4; + private System.Windows.Forms.ToolStripMenuItem kilépésToolStripMenuItem; + private System.Windows.Forms.ToolStripMenuItem ismerősökToolStripMenuItem; + private System.Windows.Forms.ToolStripMenuItem ismerősFelvételeToolStripMenuItem; + private System.Windows.Forms.ToolStripMenuItem ismerősSzerkesztéseToolStripMenuItem; + private System.Windows.Forms.ToolStripMenuItem ismerősTörléseToolStripMenuItem; + private System.Windows.Forms.ToolStripSeparator toolStripSeparator5; + private System.Windows.Forms.ToolStripMenuItem csoportLétrehozásaToolStripMenuItem; + private System.Windows.Forms.ToolStripSeparator toolStripSeparator6; + private System.Windows.Forms.ToolStripMenuItem kategóriaLétrehozásaToolStripMenuItem; + private System.Windows.Forms.ToolStripMenuItem kategóriaSzerkesztéseToolStripMenuItem; + private System.Windows.Forms.ToolStripMenuItem kategóriaTörléseToolStripMenuItem; + private System.Windows.Forms.ToolStripMenuItem műveletekToolStripMenuItem; + private System.Windows.Forms.ToolStripMenuItem azonnaliÜzenetKüldéseToolStripMenuItem; + private System.Windows.Forms.ToolStripMenuItem egyébKüldéseToolStripMenuItem; + private System.Windows.Forms.ToolStripMenuItem emailKüldéseToolStripMenuItem; + private System.Windows.Forms.ToolStripMenuItem fájlKüldéseToolStripMenuItem1; + private System.Windows.Forms.ToolStripSeparator toolStripSeparator7; + private System.Windows.Forms.ToolStripMenuItem ismerősSzámitógépénekFelhivásaToolStripMenuItem; + private System.Windows.Forms.ToolStripMenuItem videóhivásInditásaToolStripMenuItem; + private System.Windows.Forms.ToolStripMenuItem onlineFájlokMegtekintéseToolStripMenuItem; + private System.Windows.Forms.ToolStripMenuItem közösJátékToolStripMenuItem; + private System.Windows.Forms.ToolStripMenuItem távsegitségKéréseToolStripMenuItem; + private System.Windows.Forms.ToolStripMenuItem eszközökToolStripMenuItem; + private System.Windows.Forms.ToolStripMenuItem mindigLegfelülToolStripMenuItem; + private System.Windows.Forms.ToolStripSeparator toolStripSeparator8; + private System.Windows.Forms.ToolStripMenuItem hangulatjelekToolStripMenuItem; + private System.Windows.Forms.ToolStripMenuItem megjelenitendőKépVáltásaToolStripMenuItem; + private System.Windows.Forms.ToolStripMenuItem háttérMódositásaToolStripMenuItem; + private System.Windows.Forms.ToolStripSeparator toolStripSeparator9; + private System.Windows.Forms.ToolStripMenuItem hangokÉsVideóBeállitásaToolStripMenuItem; + private System.Windows.Forms.ToolStripSeparator toolStripSeparator10; + private System.Windows.Forms.ToolStripMenuItem beállitásokToolStripMenuItem; + private System.Windows.Forms.ToolStripMenuItem súgóToolStripMenuItem; + private System.Windows.Forms.ToolStripMenuItem témakörökToolStripMenuItem; + private System.Windows.Forms.ToolStripSeparator toolStripSeparator11; + private System.Windows.Forms.ToolStripMenuItem aSzolgáltatásÁllapotsaToolStripMenuItem; + private System.Windows.Forms.ToolStripMenuItem adatvédelmiNyilatkozatToolStripMenuItem; + private System.Windows.Forms.ToolStripMenuItem használatiFeltételekToolStripMenuItem; + private System.Windows.Forms.ToolStripMenuItem visszaélésBejelentéseToolStripMenuItem; + private System.Windows.Forms.ToolStripSeparator toolStripSeparator12; + private System.Windows.Forms.ToolStripMenuItem segitsenAProgramTökéletesitésébenToolStripMenuItem; + private System.Windows.Forms.ToolStripSeparator toolStripSeparator13; + private System.Windows.Forms.ToolStripMenuItem névjegyToolStripMenuItem; + private System.Windows.Forms.Panel panel1; + private System.Windows.Forms.TextBox textBox1; + private System.Windows.Forms.Button button1; + private System.Windows.Forms.Panel panel2; + } +} + diff --git a/Most Closed Beta/v2.0/MSGer.tk (C#)/Form1.cs b/Most Closed Beta/v2.0/MSGer.tk (C#)/Form1.cs new file mode 100644 index 0000000..bd9851c --- /dev/null +++ b/Most Closed Beta/v2.0/MSGer.tk (C#)/Form1.cs @@ -0,0 +1,113 @@ +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; +using System.Net; +using System.IO; + +namespace MSGer.tk +{ + public partial class MainForm : Form + { + private LoginForm LoginDialog; + public MainForm() + { + InitializeComponent(); + this.Hide(); + //(new LoginForm()).ShowDialog(); + LoginDialog = new LoginForm(); + LoginDialog.ShowDialog(); + //LoginForm.Closeable = true; //Akárhogy is áll le (ha X-szel nyomja ki, akkor is), bezárja teljesen + //Nézzük, sikerült-e + if (Program.UserID == 0) + Close(); + //----------------------------------------------------------------------- + HttpWebRequest httpWReq = + (HttpWebRequest)WebRequest.Create("http://msger.tk/client.php"); + + ASCIIEncoding encoding = new ASCIIEncoding(); + string postData = "uid=" + Program.UserID; + postData += "&action=getlist"; + postData += "&key=cas1fe4a6feFEFEFE1616CE8099VFE1444cdasf48c1ase5dg"; + postData += "&code="+LoginForm.UserCode; //2014.02.13. + byte[] data = encoding.GetBytes(postData); + + httpWReq.Method = "POST"; + httpWReq.ContentType = "application/x-www-form-urlencoded"; + httpWReq.ContentLength = data.Length; + + using (Stream stream = httpWReq.GetRequestStream()) + { + stream.Write(data, 0, data.Length); + } + + //Lista betöltése folyamatban... + + HttpWebResponse response = (HttpWebResponse)httpWReq.GetResponse(); + + string responseString = new StreamReader(response.GetResponseStream()).ReadToEnd(); + + try + { + responseString = responseString.Remove(responseString.IndexOf('<')); + } + catch + { + } + + responseString = responseString.Remove(responseString.Length-1); + //----------------------------------------------------------------------- + //2014.02.13. - Kiváncsi vagyok, mit ir, hátha megtudom, mi a hiba --> Program: Uppercase - Weboldal: Lowercase + //MessageBox.Show(Program.UserID + ""); + //MessageBox.Show(responseString); + //Application.Exit(); + + + string[] row = responseString.Split('-'); +// var listViewItem = new ListViewItem(row); + for (int x = 0; x < row.Length; x+=3) + { + var listViewItem = new ListViewItem(row[x]); +// MessageBox.Show("Item létrehozva. Hozzáadás..."); //A sok ellenőrzés itt volt, és közben pedig a PHP-ban volt a hiba + listViewItem.SubItems.Add(row[x + 1]); + if (Convert.ToInt32(row[x + 2]) == 1) + listViewItem.Group = listView1.Groups["listViewGroup1"]; + else + listViewItem.Group = listView1.Groups["listViewGroup2"]; + listView1.Items.Add(listViewItem); +// MessageBox.Show("Hozzáadva."); + + /*MessageBox.Show("Row len: " + row.Length); + MessageBox.Show("Row: " + row[x]); + MessageBox.Show("ResponseString: " + responseString);*/ +// MessageBox.Show("User ID: " + Program.UserID); + //MessageBox.Show("Row[x]: " + row[x] + " Row[x+1]: " + row[x + 1] + " Row[x+2]: " + row[x + 2]); + this.Show(); +// MessageBox.Show("Stop! xD"); + if (x + 4 >= row.Length) +// MessageBox.Show("Túl sok"); + break; + } +// MessageBox.Show("ASD"); + } + + private void LogoutUser(object sender, EventArgs e) + { + this.Hide(); + Program.UserID = 0; + LoginForm.LButtonText = "Bejelentkezés"; + LoginForm.PassText = ""; + this.Invoke(new LoginForm.MyDelegate(LoginDialog.SetLoginValues)); + LoginDialog.ShowDialog(); + //Nézzük, sikerült-e + if (Program.UserID == 0) + Close(); + this.Show(); + } + } +} diff --git a/Most Closed Beta/v2.0/MSGer.tk (C#)/Form1.resx b/Most Closed Beta/v2.0/MSGer.tk (C#)/Form1.resx new file mode 100644 index 0000000..235588a --- /dev/null +++ b/Most Closed Beta/v2.0/MSGer.tk (C#)/Form1.resx @@ -0,0 +1,126 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + text/microsoft-resx + + + 2.0 + + + System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + 17, 17 + + + 130, 17 + + \ No newline at end of file diff --git a/Most Closed Beta/v2.0/MSGer.tk (C#)/Form2.Designer.cs b/Most Closed Beta/v2.0/MSGer.tk (C#)/Form2.Designer.cs new file mode 100644 index 0000000..0044d34 --- /dev/null +++ b/Most Closed Beta/v2.0/MSGer.tk (C#)/Form2.Designer.cs @@ -0,0 +1,132 @@ +namespace MSGer.tk +{ + partial class LoginForm + { + /// + /// Required designer variable. + /// + private System.ComponentModel.IContainer components = null; + + /// + /// Clean up any resources being used. + /// + /// true if managed resources should be disposed; otherwise, false. + protected override void Dispose(bool disposing) + { + if (disposing && (components != null)) + { + components.Dispose(); + } + base.Dispose(disposing); + } + + #region Windows Form Designer generated code + + /// + /// Required method for Designer support - do not modify + /// the contents of this method with the code editor. + /// + private void InitializeComponent() + { + this.label1 = new System.Windows.Forms.Label(); + this.label2 = new System.Windows.Forms.Label(); + this.textBox1 = new System.Windows.Forms.TextBox(); + this.label3 = new System.Windows.Forms.Label(); + this.textBox2 = new System.Windows.Forms.TextBox(); + this.button1 = new System.Windows.Forms.Button(); + this.SuspendLayout(); + // + // label1 + // + this.label1.AutoSize = true; + this.label1.Font = new System.Drawing.Font("Microsoft Sans Serif", 21.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(238))); + this.label1.ForeColor = System.Drawing.Color.Blue; + this.label1.Location = new System.Drawing.Point(13, 212); + this.label1.Name = "label1"; + this.label1.Size = new System.Drawing.Size(197, 33); + this.label1.TabIndex = 0; + this.label1.Text = "Bejelentkezés"; + // + // label2 + // + this.label2.AutoSize = true; + this.label2.Font = new System.Drawing.Font("Microsoft Sans Serif", 14.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(238))); + this.label2.Location = new System.Drawing.Point(19, 282); + this.label2.Name = "label2"; + this.label2.Size = new System.Drawing.Size(63, 24); + this.label2.TabIndex = 1; + this.label2.Text = "E-mail"; + // + // textBox1 + // + this.textBox1.AcceptsReturn = true; + this.textBox1.AcceptsTab = true; + this.textBox1.CharacterCasing = System.Windows.Forms.CharacterCasing.Lower; + this.textBox1.Location = new System.Drawing.Point(88, 285); + this.textBox1.Name = "textBox1"; + this.textBox1.Size = new System.Drawing.Size(294, 20); + this.textBox1.TabIndex = 2; + // + // label3 + // + this.label3.AutoSize = true; + this.label3.Font = new System.Drawing.Font("Microsoft Sans Serif", 14.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(238))); + this.label3.Location = new System.Drawing.Point(19, 311); + this.label3.Name = "label3"; + this.label3.Size = new System.Drawing.Size(63, 24); + this.label3.TabIndex = 3; + this.label3.Text = "Jelszó"; + // + // textBox2 + // + this.textBox2.AcceptsReturn = true; + this.textBox2.AcceptsTab = true; + this.textBox2.Location = new System.Drawing.Point(179, 315); + this.textBox2.Name = "textBox2"; + this.textBox2.PasswordChar = '→'; + this.textBox2.Size = new System.Drawing.Size(203, 20); + this.textBox2.TabIndex = 4; + // + // button1 + // + this.button1.Location = new System.Drawing.Point(235, 358); + this.button1.Name = "button1"; + this.button1.Size = new System.Drawing.Size(147, 23); + this.button1.TabIndex = 5; + this.button1.Text = "Bejelentkezés"; + this.button1.UseVisualStyleBackColor = true; + this.button1.Click += new System.EventHandler(this.button1_Click); + // + // LoginForm + // + this.AcceptButton = this.button1; + this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F); + this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; + this.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(150)))), ((int)(((byte)(200))))); + this.ClientSize = new System.Drawing.Size(394, 471); + this.Controls.Add(this.button1); + this.Controls.Add(this.textBox2); + this.Controls.Add(this.label3); + this.Controls.Add(this.textBox1); + this.Controls.Add(this.label2); + this.Controls.Add(this.label1); + this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedDialog; + this.MaximizeBox = false; + this.Name = "LoginForm"; + this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen; + this.Text = "Bejelentkezés"; + this.ResumeLayout(false); + this.PerformLayout(); + + } + + #endregion + + private System.Windows.Forms.Label label1; + private System.Windows.Forms.Label label2; + private System.Windows.Forms.TextBox textBox1; + private System.Windows.Forms.Label label3; + private System.Windows.Forms.TextBox textBox2; + private System.Windows.Forms.Button button1; + } +} \ No newline at end of file diff --git a/Most Closed Beta/v2.0/MSGer.tk (C#)/Form2.cs b/Most Closed Beta/v2.0/MSGer.tk (C#)/Form2.cs new file mode 100644 index 0000000..f7a784f --- /dev/null +++ b/Most Closed Beta/v2.0/MSGer.tk (C#)/Form2.cs @@ -0,0 +1,214 @@ +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; +using System.Net; +using System.IO; +using System.Security.Cryptography; +using System.Configuration; +using System.Threading; + +namespace MSGer.tk +{ + public partial class LoginForm : Form + { + public static string UserCode=""; //2014.02.13. + public static Thread LThread; //2014.02.14. + public LoginForm() + { + InitializeComponent(); + Thread.CurrentThread.Name = "Main Thread"; + + //LoginThread LoginT = new LoginThread(); //2014.02.14. - Csak szivás külön class-ba rakni + + textBox1.Text = Settings.Default.email; +// MessageBox.Show("Text: " + textBox1.Text); +// MessageBox.Show("Length: " + textBox1.TextLength); + if (textBox1.TextLength != 0) + { +// MessageBox.Show("A hossz nem nulla"); + textBox2.Focus(); + } + } + private void button1_Click(object sender, EventArgs e) + { + //Give required info to the LoginThread - 2014.02.13. - http://msdn.microsoft.com/en-us/library/aa645740(v=vs.71).aspx + /*LoginThread.LoginButton = button1; - In that tutorial you create a new class... It's not necessary + LoginThread.UserText = textBox1; + LoginThread.PassText = textBox2;*/ + + if(button1.Text=="Mégse") + { + StopLogin = true; + button1.Enabled = false; + int x = 0; + while (LThread.IsAlive) + { + if (x == 5000) + LThread.Abort(); + else + x++; + } + StopLogin = false; + button1.Text = "Bejelentkezés"; + button1.Enabled = true; + } + else + { + // Create the thread object, passing in the Alpha.Beta method + // via a ThreadStart delegate. This does not start the thread. + LThread = new Thread(new ThreadStart(LoginUser)); //2014.02.14. - LoginT.LoginUser + LThread.Name = "Login Thread"; + + // Start the thread + LThread.Start(); + + // Spin for a while waiting for the started thread to become + // alive: + while (!LThread.IsAlive) ; + + // Put the Main thread to sleep for 1 millisecond to allow oThread + // to do some work: + Thread.Sleep(1); + } + } + public delegate int MyDelegate(); + public int SetLoginValues() + { + //button1.Enabled = LButtonEnabled; + if (UserText.Length == 0) + UserText = textBox1.Text; + else + textBox1.Text = UserText; + + if (PassText.Length == 0) + PassText = textBox2.Text; + else + textBox2.Text = PassText; + + button1.Text = LButtonText; + if (Closeable) + { + Closeable = false; + Close(); + //Dispose(); + } + return 0; + } + /*} + public class LoginThread - 2014.02.14. + {*/ + /*public static Button LoginButton; + public static TextBox UserText; + public static TextBox PassText;*/ + //public static bool LButtonEnabled = true; //2014.02.14. + public static string UserText = ""; //2014.02.14. + public static string PassText = ""; + public static string LButtonText = ""; + public static bool Closeable = false; + public static bool StopLogin = false; + + //private EventWaitHandle wh = new AutoResetEvent(false); + + public void LoginUser() //2014.02.13. - Előtte a button1_Click-ben volt + { + //LButtonEnabled = false; + LButtonText = "Mégse"; + this.Invoke(new MyDelegate(SetLoginValues)); + + HttpWebRequest httpWReq = + (HttpWebRequest)WebRequest.Create("http://msger.tk/client.php"); + + ASCIIEncoding encoding = new ASCIIEncoding(); + string postData = "username=" + UserText; + postData += "&password=" + CalculateMD5Hash(PassText); + postData += "&key=cas1fe4a6feFEFEFE1616CE8099VFE1444cdasf48c1ase5dg"; + byte[] data = encoding.GetBytes(postData); + + httpWReq.Method = "POST"; + httpWReq.ContentType = "application/x-www-form-urlencoded"; + httpWReq.ContentLength = data.Length; + + if (StopLogin) + return; + + try //2014.02.15. 0:46 - Ha itt áll meg, hibát irhat + { + using (Stream stream = httpWReq.GetRequestStream()) + { + stream.Write(data, 0, data.Length); + } + } + catch + { + } + if (StopLogin) + return; + + //Bejelentkezés folyamatban... + + HttpWebResponse response = (HttpWebResponse)httpWReq.GetResponse(); + if (StopLogin) + return; + + string responseString = new StreamReader(response.GetResponseStream()).ReadToEnd(); + + try + { + responseString = responseString.Remove(responseString.IndexOf('<')); + } + catch + { + } + if (StopLogin) + return; + + if (String.Compare(responseString, "Fail") == 0) + { + //button1.Enabled = true; + LButtonText = "Bejelentkezés"; + this.Invoke(new MyDelegate(SetLoginValues)); + MessageBox.Show("Hiba: Helytelen felhasználónév, vagy jelszó.", "Hiba"); + } + else + { + //Elmenti az E-mail-t + Settings.Default.email = UserText; + // MessageBox.Show("TextBox: " + textBox1.Text); + // MessageBox.Show("Settings: " + Settings.Default.email); + Settings.Default.Save(); + //Bejelentkezés + Program.UserID = Convert.ToInt32(responseString); + //MessageBox.Show(CalculateMD5Hash(textBox2.Text)); //2014.02.13. - Teszt + LoginForm.UserCode = CalculateMD5Hash(CalculateMD5Hash(PassText).ToLower() + " Some text because why not " + Program.UserID).ToLower(); //2014.02.13. + //MessageBox.Show(UserCode); + Closeable = true; + this.Invoke(new MyDelegate(SetLoginValues)); + } + } + public string CalculateMD5Hash(string input) + { + // step 1, calculate MD5 hash from input + MD5 md5 = System.Security.Cryptography.MD5.Create(); + byte[] inputBytes = System.Text.Encoding.ASCII.GetBytes(input); + byte[] hash = md5.ComputeHash(inputBytes); + + // step 2, convert byte array to hex string + StringBuilder sb = new StringBuilder(); + for (int i = 0; i < hash.Length; i++) + { + sb.Append(hash[i].ToString("X2")); + } + return sb.ToString(); + } + /*public void StartWorking() + { + wh.Set(); + }*/ + } +} diff --git a/Most Closed Beta/v2.0/MSGer.tk (C#)/Form2.resx b/Most Closed Beta/v2.0/MSGer.tk (C#)/Form2.resx new file mode 100644 index 0000000..29dcb1b --- /dev/null +++ b/Most Closed Beta/v2.0/MSGer.tk (C#)/Form2.resx @@ -0,0 +1,120 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + text/microsoft-resx + + + 2.0 + + + System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + \ No newline at end of file diff --git a/Most Closed Beta/v2.0/MSGer.tk (C#)/MSGer.tk.csproj b/Most Closed Beta/v2.0/MSGer.tk (C#)/MSGer.tk.csproj new file mode 100644 index 0000000..a25be9c --- /dev/null +++ b/Most Closed Beta/v2.0/MSGer.tk (C#)/MSGer.tk.csproj @@ -0,0 +1,128 @@ + + + + + Debug + AnyCPU + {F60940C0-05FC-46C0-948E-6DBECBBE38DD} + WinExe + Properties + MSGer.tk + MSGer.tk + v4.5 + 512 + + + AnyCPU + true + full + false + bin\Debug\ + DEBUG;TRACE + prompt + 4 + + + AnyCPU + pdbonly + true + bin\Release\ + TRACE + prompt + 4 + + + + + + + + + + + + + + + + Form + + + Form1.cs + + + Form + + + Form2.cs + + + + + True + True + Resources.resx + + + + True + True + Settings.settings + + + Form1.cs + + + Form2.cs + + + ResXFileCodeGenerator + Resources.Designer.cs + + + SettingsSingleFileGenerator + Settings.Designer.cs + + + True + Settings.settings + True + + + SettingsSingleFileGenerator + Settings.Designer.cs + + + + + + + + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/Most Closed Beta/v2.0/MSGer.tk (C#)/MSGer.tk.sln b/Most Closed Beta/v2.0/MSGer.tk (C#)/MSGer.tk.sln new file mode 100644 index 0000000..8157d29 --- /dev/null +++ b/Most Closed Beta/v2.0/MSGer.tk (C#)/MSGer.tk.sln @@ -0,0 +1,20 @@ + +Microsoft Visual Studio Solution File, Format Version 12.00 +# Visual Studio Express 2012 for Windows Desktop +Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "MSGer.tk", "MSGer.tk.csproj", "{F60940C0-05FC-46C0-948E-6DBECBBE38DD}" +EndProject +Global + GlobalSection(SolutionConfigurationPlatforms) = preSolution + Debug|Any CPU = Debug|Any CPU + Release|Any CPU = Release|Any CPU + EndGlobalSection + GlobalSection(ProjectConfigurationPlatforms) = postSolution + {F60940C0-05FC-46C0-948E-6DBECBBE38DD}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {F60940C0-05FC-46C0-948E-6DBECBBE38DD}.Debug|Any CPU.Build.0 = Debug|Any CPU + {F60940C0-05FC-46C0-948E-6DBECBBE38DD}.Release|Any CPU.ActiveCfg = Release|Any CPU + {F60940C0-05FC-46C0-948E-6DBECBBE38DD}.Release|Any CPU.Build.0 = Release|Any CPU + EndGlobalSection + GlobalSection(SolutionProperties) = preSolution + HideSolutionNode = FALSE + EndGlobalSection +EndGlobal diff --git a/Most Closed Beta/v2.0/MSGer.tk (C#)/MSGer.tk.v11.suo b/Most Closed Beta/v2.0/MSGer.tk (C#)/MSGer.tk.v11.suo new file mode 100644 index 0000000..88974bf Binary files /dev/null and b/Most Closed Beta/v2.0/MSGer.tk (C#)/MSGer.tk.v11.suo differ diff --git a/Most Closed Beta/v2.0/MSGer.tk (C#)/MSGer.tk.v12.suo b/Most Closed Beta/v2.0/MSGer.tk (C#)/MSGer.tk.v12.suo new file mode 100644 index 0000000..26e5b2b Binary files /dev/null and b/Most Closed Beta/v2.0/MSGer.tk (C#)/MSGer.tk.v12.suo differ diff --git a/Most Closed Beta/v2.0/MSGer.tk (C#)/Program.cs b/Most Closed Beta/v2.0/MSGer.tk (C#)/Program.cs new file mode 100644 index 0000000..cda446c --- /dev/null +++ b/Most Closed Beta/v2.0/MSGer.tk (C#)/Program.cs @@ -0,0 +1,29 @@ +using System; +using System.Collections.Generic; +using System.Linq; +using System.Threading.Tasks; +using System.Windows.Forms; + +namespace MSGer.tk +{ + static class Program + { + /// + /// The main entry point for the application. + /// + [STAThread] + static void Main() + { + Application.EnableVisualStyles(); + Application.SetCompatibleTextRenderingDefault(false); + try + { + Application.Run(new MainForm()); + } + catch + { + } + } + public static int UserID = 0; + } +} diff --git a/Most Closed Beta/v2.0/MSGer.tk (C#)/Properties/AssemblyInfo.cs b/Most Closed Beta/v2.0/MSGer.tk (C#)/Properties/AssemblyInfo.cs new file mode 100644 index 0000000..044ccb6 --- /dev/null +++ b/Most Closed Beta/v2.0/MSGer.tk (C#)/Properties/AssemblyInfo.cs @@ -0,0 +1,36 @@ +using System.Reflection; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +// General Information about an assembly is controlled through the following +// set of attributes. Change these attribute values to modify the information +// associated with an assembly. +[assembly: AssemblyTitle("MSGer.tk")] +[assembly: AssemblyDescription("")] +[assembly: AssemblyConfiguration("")] +[assembly: AssemblyCompany("")] +[assembly: AssemblyProduct("MSGer.tk")] +[assembly: AssemblyCopyright("Copyright © 2013")] +[assembly: AssemblyTrademark("")] +[assembly: AssemblyCulture("")] + +// Setting ComVisible to false makes the types in this assembly not visible +// to COM components. If you need to access a type in this assembly from +// COM, set the ComVisible attribute to true on that type. +[assembly: ComVisible(false)] + +// The following GUID is for the ID of the typelib if this project is exposed to COM +[assembly: Guid("d2fdb449-71d7-425e-942b-516005de4cc8")] + +// Version information for an assembly consists of the following four values: +// +// Major Version +// Minor Version +// Build Number +// Revision +// +// You can specify all the values or you can default the Build and Revision Numbers +// by using the '*' as shown below: +// [assembly: AssemblyVersion("1.0.*")] +[assembly: AssemblyVersion("1.0.0.0")] +[assembly: AssemblyFileVersion("1.0.0.0")] diff --git a/Most Closed Beta/v2.0/MSGer.tk (C#)/Properties/Resources.Designer.cs b/Most Closed Beta/v2.0/MSGer.tk (C#)/Properties/Resources.Designer.cs new file mode 100644 index 0000000..f78e96f --- /dev/null +++ b/Most Closed Beta/v2.0/MSGer.tk (C#)/Properties/Resources.Designer.cs @@ -0,0 +1,93 @@ +//------------------------------------------------------------------------------ +// +// 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. +// +//------------------------------------------------------------------------------ + +namespace MSGer.tk.Properties { + using System; + + + /// + /// A strongly-typed resource class, for looking up localized strings, etc. + /// + // 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 Resources { + + private static global::System.Resources.ResourceManager resourceMan; + + private static global::System.Globalization.CultureInfo resourceCulture; + + [global::System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1811:AvoidUncalledPrivateCode")] + internal Resources() { + } + + /// + /// Returns the cached ResourceManager instance used by this class. + /// + [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("MSGer.tk.Properties.Resources", typeof(Resources).Assembly); + resourceMan = temp; + } + return resourceMan; + } + } + + /// + /// Overrides the current thread's CurrentUICulture property for all + /// resource lookups using this strongly typed resource class. + /// + [global::System.ComponentModel.EditorBrowsableAttribute(global::System.ComponentModel.EditorBrowsableState.Advanced)] + internal static global::System.Globalization.CultureInfo Culture { + get { + return resourceCulture; + } + set { + resourceCulture = value; + } + } + + /// + /// Looks up a localized resource of type System.Drawing.Bitmap. + /// + internal static System.Drawing.Bitmap Blue_Wallpaper_HD_2 { + get { + object obj = ResourceManager.GetObject("Blue-Wallpaper-HD 2", resourceCulture); + return ((System.Drawing.Bitmap)(obj)); + } + } + + /// + /// Looks up a localized resource of type System.Drawing.Bitmap. + /// + internal static System.Drawing.Bitmap Keresősáv { + get { + object obj = ResourceManager.GetObject("Keresősáv", resourceCulture); + return ((System.Drawing.Bitmap)(obj)); + } + } + + /// + /// Looks up a localized resource of type System.Drawing.Bitmap. + /// + internal static System.Drawing.Bitmap Menü_2 { + get { + object obj = ResourceManager.GetObject("Menü 2", resourceCulture); + return ((System.Drawing.Bitmap)(obj)); + } + } + } +} diff --git a/Most Closed Beta/v2.0/MSGer.tk (C#)/Properties/Resources.resx b/Most Closed Beta/v2.0/MSGer.tk (C#)/Properties/Resources.resx new file mode 100644 index 0000000..3630d9d --- /dev/null +++ b/Most Closed Beta/v2.0/MSGer.tk (C#)/Properties/Resources.resx @@ -0,0 +1,130 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + text/microsoft-resx + + + 2.0 + + + System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + + ..\Resources\Blue-Wallpaper-HD 21.jpg;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a + + + ..\Resources\Menü 22.jpg;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a + + + ..\Resources\Keresősáv.jpg;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a + + \ No newline at end of file diff --git a/Most Closed Beta/v2.0/MSGer.tk (C#)/Properties/Settings.Designer.cs b/Most Closed Beta/v2.0/MSGer.tk (C#)/Properties/Settings.Designer.cs new file mode 100644 index 0000000..c795cd2 --- /dev/null +++ b/Most Closed Beta/v2.0/MSGer.tk (C#)/Properties/Settings.Designer.cs @@ -0,0 +1,30 @@ +//------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// Runtime Version:4.0.30319.17929 +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +//------------------------------------------------------------------------------ + +namespace MSGer.tk.Properties +{ + + + [global::System.Runtime.CompilerServices.CompilerGeneratedAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.VisualStudio.Editors.SettingsDesigner.SettingsSingleFileGenerator", "11.0.0.0")] + internal sealed partial class Settings : global::System.Configuration.ApplicationSettingsBase + { + + private static Settings defaultInstance = ((Settings)(global::System.Configuration.ApplicationSettingsBase.Synchronized(new Settings()))); + + public static Settings Default + { + get + { + return defaultInstance; + } + } + } +} diff --git a/Most Closed Beta/v2.0/MSGer.tk (C#)/Properties/Settings.settings b/Most Closed Beta/v2.0/MSGer.tk (C#)/Properties/Settings.settings new file mode 100644 index 0000000..abf36c5 --- /dev/null +++ b/Most Closed Beta/v2.0/MSGer.tk (C#)/Properties/Settings.settings @@ -0,0 +1,7 @@ + + + + + + + diff --git a/Most Closed Beta/v2.0/MSGer.tk (C#)/Resources/Blue-Wallpaper-HD 2.jpg b/Most Closed Beta/v2.0/MSGer.tk (C#)/Resources/Blue-Wallpaper-HD 2.jpg new file mode 100644 index 0000000..2cf5782 Binary files /dev/null and b/Most Closed Beta/v2.0/MSGer.tk (C#)/Resources/Blue-Wallpaper-HD 2.jpg differ diff --git a/Most Closed Beta/v2.0/MSGer.tk (C#)/Resources/Blue-Wallpaper-HD 21.jpg b/Most Closed Beta/v2.0/MSGer.tk (C#)/Resources/Blue-Wallpaper-HD 21.jpg new file mode 100644 index 0000000..2cf5782 Binary files /dev/null and b/Most Closed Beta/v2.0/MSGer.tk (C#)/Resources/Blue-Wallpaper-HD 21.jpg differ diff --git a/Most Closed Beta/v2.0/MSGer.tk (C#)/Resources/Blue-Wallpaper-HD.jpg b/Most Closed Beta/v2.0/MSGer.tk (C#)/Resources/Blue-Wallpaper-HD.jpg new file mode 100644 index 0000000..38e9cbc Binary files /dev/null and b/Most Closed Beta/v2.0/MSGer.tk (C#)/Resources/Blue-Wallpaper-HD.jpg differ diff --git a/Most Closed Beta/v2.0/MSGer.tk (C#)/Resources/Keresősáv.jpg b/Most Closed Beta/v2.0/MSGer.tk (C#)/Resources/Keresősáv.jpg new file mode 100644 index 0000000..f54cf78 Binary files /dev/null and b/Most Closed Beta/v2.0/MSGer.tk (C#)/Resources/Keresősáv.jpg differ diff --git a/Most Closed Beta/v2.0/MSGer.tk (C#)/Resources/Menü 2.jpg b/Most Closed Beta/v2.0/MSGer.tk (C#)/Resources/Menü 2.jpg new file mode 100644 index 0000000..d4b1794 Binary files /dev/null and b/Most Closed Beta/v2.0/MSGer.tk (C#)/Resources/Menü 2.jpg differ diff --git a/Most Closed Beta/v2.0/MSGer.tk (C#)/Resources/Menü 21.jpg b/Most Closed Beta/v2.0/MSGer.tk (C#)/Resources/Menü 21.jpg new file mode 100644 index 0000000..d4b1794 Binary files /dev/null and b/Most Closed Beta/v2.0/MSGer.tk (C#)/Resources/Menü 21.jpg differ diff --git a/Most Closed Beta/v2.0/MSGer.tk (C#)/Resources/Menü 22.jpg b/Most Closed Beta/v2.0/MSGer.tk (C#)/Resources/Menü 22.jpg new file mode 100644 index 0000000..d4b1794 Binary files /dev/null and b/Most Closed Beta/v2.0/MSGer.tk (C#)/Resources/Menü 22.jpg differ diff --git a/Most Closed Beta/v2.0/MSGer.tk (C#)/Resources/Menü 3.jpg b/Most Closed Beta/v2.0/MSGer.tk (C#)/Resources/Menü 3.jpg new file mode 100644 index 0000000..a021f2f Binary files /dev/null and b/Most Closed Beta/v2.0/MSGer.tk (C#)/Resources/Menü 3.jpg differ diff --git a/Most Closed Beta/v2.0/MSGer.tk (C#)/Settings.Designer.cs b/Most Closed Beta/v2.0/MSGer.tk (C#)/Settings.Designer.cs new file mode 100644 index 0000000..d412bd3 --- /dev/null +++ b/Most Closed Beta/v2.0/MSGer.tk (C#)/Settings.Designer.cs @@ -0,0 +1,38 @@ +//------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// Runtime Version:4.0.30319.17929 +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +//------------------------------------------------------------------------------ + +namespace MSGer.tk { + + + [global::System.Runtime.CompilerServices.CompilerGeneratedAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.VisualStudio.Editors.SettingsDesigner.SettingsSingleFileGenerator", "11.0.0.0")] + internal sealed partial class Settings : global::System.Configuration.ApplicationSettingsBase { + + private static Settings defaultInstance = ((Settings)(global::System.Configuration.ApplicationSettingsBase.Synchronized(new Settings()))); + + public static Settings Default { + get { + return defaultInstance; + } + } + + [global::System.Configuration.UserScopedSettingAttribute()] + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.Configuration.DefaultSettingValueAttribute("")] + public string email { + get { + return ((string)(this["email"])); + } + set { + this["email"] = value; + } + } + } +} diff --git a/Most Closed Beta/v2.0/MSGer.tk (C#)/Settings.cs b/Most Closed Beta/v2.0/MSGer.tk (C#)/Settings.cs new file mode 100644 index 0000000..2cae8b2 --- /dev/null +++ b/Most Closed Beta/v2.0/MSGer.tk (C#)/Settings.cs @@ -0,0 +1,28 @@ +namespace MSGer.tk { + + + // This class allows you to handle specific events on the settings class: + // The SettingChanging event is raised before a setting's value is changed. + // The PropertyChanged event is raised after a setting's value is changed. + // The SettingsLoaded event is raised after the setting values are loaded. + // The SettingsSaving event is raised before the setting values are saved. + internal sealed partial class Settings { + + public Settings() { + // // To add event handlers for saving and changing settings, uncomment the lines below: + // + // this.SettingChanging += this.SettingChangingEventHandler; + // + // this.SettingsSaving += this.SettingsSavingEventHandler; + // + } + + private void SettingChangingEventHandler(object sender, System.Configuration.SettingChangingEventArgs e) { + // Add code to handle the SettingChangingEvent event here. + } + + private void SettingsSavingEventHandler(object sender, System.ComponentModel.CancelEventArgs e) { + // Add code to handle the SettingsSaving event here. + } + } +} diff --git a/Most Closed Beta/v2.0/MSGer.tk (C#)/Settings.settings b/Most Closed Beta/v2.0/MSGer.tk (C#)/Settings.settings new file mode 100644 index 0000000..b7c1c53 --- /dev/null +++ b/Most Closed Beta/v2.0/MSGer.tk (C#)/Settings.settings @@ -0,0 +1,9 @@ + + + + + + + + + \ No newline at end of file diff --git a/Most Closed Beta/v2.0/MSGer.tk (C#)/bin/Debug/MSGer.tk.exe b/Most Closed Beta/v2.0/MSGer.tk (C#)/bin/Debug/MSGer.tk.exe new file mode 100644 index 0000000..062b430 Binary files /dev/null and b/Most Closed Beta/v2.0/MSGer.tk (C#)/bin/Debug/MSGer.tk.exe differ diff --git a/Most Closed Beta/v2.0/MSGer.tk (C#)/bin/Debug/MSGer.tk.exe.config b/Most Closed Beta/v2.0/MSGer.tk (C#)/bin/Debug/MSGer.tk.exe.config new file mode 100644 index 0000000..01566ac --- /dev/null +++ b/Most Closed Beta/v2.0/MSGer.tk (C#)/bin/Debug/MSGer.tk.exe.config @@ -0,0 +1,18 @@ + + + + +
+ + + + + + + + + + + + + \ No newline at end of file diff --git a/Most Closed Beta/v2.0/MSGer.tk (C#)/bin/Debug/MSGer.tk.pdb b/Most Closed Beta/v2.0/MSGer.tk (C#)/bin/Debug/MSGer.tk.pdb new file mode 100644 index 0000000..db3ee3a Binary files /dev/null and b/Most Closed Beta/v2.0/MSGer.tk (C#)/bin/Debug/MSGer.tk.pdb differ diff --git a/Most Closed Beta/v2.0/MSGer.tk (C#)/bin/Debug/MSGer.tk.vshost.exe b/Most Closed Beta/v2.0/MSGer.tk (C#)/bin/Debug/MSGer.tk.vshost.exe new file mode 100644 index 0000000..c0dfecc Binary files /dev/null and b/Most Closed Beta/v2.0/MSGer.tk (C#)/bin/Debug/MSGer.tk.vshost.exe differ diff --git a/Most Closed Beta/v2.0/MSGer.tk (C#)/bin/Debug/MSGer.tk.vshost.exe.config b/Most Closed Beta/v2.0/MSGer.tk (C#)/bin/Debug/MSGer.tk.vshost.exe.config new file mode 100644 index 0000000..01566ac --- /dev/null +++ b/Most Closed Beta/v2.0/MSGer.tk (C#)/bin/Debug/MSGer.tk.vshost.exe.config @@ -0,0 +1,18 @@ + + + + +
+ + + + + + + + + + + + + \ No newline at end of file diff --git a/Most Closed Beta/v2.0/MSGer.tk (C#)/bin/Debug/MSGer.tk.vshost.exe.manifest b/Most Closed Beta/v2.0/MSGer.tk (C#)/bin/Debug/MSGer.tk.vshost.exe.manifest new file mode 100644 index 0000000..f96b1d6 --- /dev/null +++ b/Most Closed Beta/v2.0/MSGer.tk (C#)/bin/Debug/MSGer.tk.vshost.exe.manifest @@ -0,0 +1,11 @@ + + + + + + + + + + + diff --git a/Most Closed Beta/v2.0/MSGer.tk (C#)/bin/Release/MSGer.tk.exe b/Most Closed Beta/v2.0/MSGer.tk (C#)/bin/Release/MSGer.tk.exe new file mode 100644 index 0000000..ba5712d Binary files /dev/null and b/Most Closed Beta/v2.0/MSGer.tk (C#)/bin/Release/MSGer.tk.exe differ diff --git a/Most Closed Beta/v2.0/MSGer.tk (C#)/bin/Release/MSGer.tk.exe.config b/Most Closed Beta/v2.0/MSGer.tk (C#)/bin/Release/MSGer.tk.exe.config new file mode 100644 index 0000000..01566ac --- /dev/null +++ b/Most Closed Beta/v2.0/MSGer.tk (C#)/bin/Release/MSGer.tk.exe.config @@ -0,0 +1,18 @@ + + + + +
+ + + + + + + + + + + + + \ No newline at end of file diff --git a/Most Closed Beta/v2.0/MSGer.tk (C#)/bin/Release/MSGer.tk.pdb b/Most Closed Beta/v2.0/MSGer.tk (C#)/bin/Release/MSGer.tk.pdb new file mode 100644 index 0000000..0f86b2a Binary files /dev/null and b/Most Closed Beta/v2.0/MSGer.tk (C#)/bin/Release/MSGer.tk.pdb differ diff --git a/Most Closed Beta/v2.0/MSGer.tk (C#)/bin/Release/MSGer.tk.vshost.exe b/Most Closed Beta/v2.0/MSGer.tk (C#)/bin/Release/MSGer.tk.vshost.exe new file mode 100644 index 0000000..8c84517 Binary files /dev/null and b/Most Closed Beta/v2.0/MSGer.tk (C#)/bin/Release/MSGer.tk.vshost.exe differ diff --git a/Most Closed Beta/v2.0/MSGer.tk (C#)/bin/Release/MSGer.tk.vshost.exe.config b/Most Closed Beta/v2.0/MSGer.tk (C#)/bin/Release/MSGer.tk.vshost.exe.config new file mode 100644 index 0000000..01566ac --- /dev/null +++ b/Most Closed Beta/v2.0/MSGer.tk (C#)/bin/Release/MSGer.tk.vshost.exe.config @@ -0,0 +1,18 @@ + + + + +
+ + + + + + + + + + + + + \ No newline at end of file diff --git a/Most Closed Beta/v2.0/MSGer.tk (C#)/bin/Release/MSGer.tk.vshost.exe.manifest b/Most Closed Beta/v2.0/MSGer.tk (C#)/bin/Release/MSGer.tk.vshost.exe.manifest new file mode 100644 index 0000000..f96b1d6 --- /dev/null +++ b/Most Closed Beta/v2.0/MSGer.tk (C#)/bin/Release/MSGer.tk.vshost.exe.manifest @@ -0,0 +1,11 @@ + + + + + + + + + + + diff --git a/Most Closed Beta/v2.0/MSGer.tk (C#)/obj/Debug/DesignTimeResolveAssemblyReferences.cache b/Most Closed Beta/v2.0/MSGer.tk (C#)/obj/Debug/DesignTimeResolveAssemblyReferences.cache new file mode 100644 index 0000000..a11f25f Binary files /dev/null and b/Most Closed Beta/v2.0/MSGer.tk (C#)/obj/Debug/DesignTimeResolveAssemblyReferences.cache differ diff --git a/Most Closed Beta/v2.0/MSGer.tk (C#)/obj/Debug/DesignTimeResolveAssemblyReferencesInput.cache b/Most Closed Beta/v2.0/MSGer.tk (C#)/obj/Debug/DesignTimeResolveAssemblyReferencesInput.cache new file mode 100644 index 0000000..b97c32c Binary files /dev/null and b/Most Closed Beta/v2.0/MSGer.tk (C#)/obj/Debug/DesignTimeResolveAssemblyReferencesInput.cache differ diff --git a/Most Closed Beta/v2.0/MSGer.tk (C#)/obj/Debug/MSGer.tk.LoginForm.resources b/Most Closed Beta/v2.0/MSGer.tk (C#)/obj/Debug/MSGer.tk.LoginForm.resources new file mode 100644 index 0000000..6c05a97 Binary files /dev/null and b/Most Closed Beta/v2.0/MSGer.tk (C#)/obj/Debug/MSGer.tk.LoginForm.resources differ diff --git a/Most Closed Beta/v2.0/MSGer.tk (C#)/obj/Debug/MSGer.tk.MainForm.resources b/Most Closed Beta/v2.0/MSGer.tk (C#)/obj/Debug/MSGer.tk.MainForm.resources new file mode 100644 index 0000000..6c05a97 Binary files /dev/null and b/Most Closed Beta/v2.0/MSGer.tk (C#)/obj/Debug/MSGer.tk.MainForm.resources differ diff --git a/Most Closed Beta/v2.0/MSGer.tk (C#)/obj/Debug/MSGer.tk.Properties.Resources.resources b/Most Closed Beta/v2.0/MSGer.tk (C#)/obj/Debug/MSGer.tk.Properties.Resources.resources new file mode 100644 index 0000000..2c97ae5 Binary files /dev/null and b/Most Closed Beta/v2.0/MSGer.tk (C#)/obj/Debug/MSGer.tk.Properties.Resources.resources differ diff --git a/Most Closed Beta/v2.0/MSGer.tk (C#)/obj/Debug/MSGer.tk.csproj.FileListAbsolute.txt b/Most Closed Beta/v2.0/MSGer.tk (C#)/obj/Debug/MSGer.tk.csproj.FileListAbsolute.txt new file mode 100644 index 0000000..af57c34 --- /dev/null +++ b/Most Closed Beta/v2.0/MSGer.tk (C#)/obj/Debug/MSGer.tk.csproj.FileListAbsolute.txt @@ -0,0 +1,20 @@ +D:\Z - Norbi cucca\0 Projektek\MSGer.tk\MSGer.tk\bin\Debug\MSGer.tk.exe.config +D:\Z - Norbi cucca\0 Projektek\MSGer.tk\MSGer.tk\bin\Debug\MSGer.tk.exe +D:\Z - Norbi cucca\0 Projektek\MSGer.tk\MSGer.tk\bin\Debug\MSGer.tk.pdb +D:\Z - Norbi cucca\0 Projektek\MSGer.tk\MSGer.tk\obj\Debug\MSGer.tk.MainForm.resources +D:\Z - Norbi cucca\0 Projektek\MSGer.tk\MSGer.tk\obj\Debug\MSGer.tk.Properties.Resources.resources +D:\Z - Norbi cucca\0 Projektek\MSGer.tk\MSGer.tk\obj\Debug\MSGer.tk.csproj.GenerateResource.Cache +D:\Z - Norbi cucca\0 Projektek\MSGer.tk\MSGer.tk\obj\Debug\MSGer.tk.exe +D:\Z - Norbi cucca\0 Projektek\MSGer.tk\MSGer.tk\obj\Debug\MSGer.tk.pdb +D:\Z - Norbi cucca\0 Projektek\MSGer.tk\MSGer.tk\obj\Debug\MSGer.tk.LoginForm.resources +D:\Z - Norbi cucca\0 Projektek\MSGer.tk\MSGer.tk\obj\Debug\MSGer.tk.csprojResolveAssemblyReference.cache +D:\Z - Norbi cucca\0 Projektek\MSGer.tk\MSGer.tk (C#)\bin\Debug\MSGer.tk.exe.config +D:\Z - Norbi cucca\0 Projektek\MSGer.tk\MSGer.tk (C#)\obj\Debug\MSGer.tk.exe +D:\Z - Norbi cucca\0 Projektek\MSGer.tk\MSGer.tk (C#)\obj\Debug\MSGer.tk.pdb +D:\Z - Norbi cucca\0 Projektek\MSGer.tk\MSGer.tk (C#)\bin\Debug\MSGer.tk.exe +D:\Z - Norbi cucca\0 Projektek\MSGer.tk\MSGer.tk (C#)\bin\Debug\MSGer.tk.pdb +D:\Z - Norbi cucca\0 Projektek\MSGer.tk\MSGer.tk (C#)\obj\Debug\MSGer.tk.csprojResolveAssemblyReference.cache +D:\Z - Norbi cucca\0 Projektek\MSGer.tk\MSGer.tk (C#)\obj\Debug\MSGer.tk.MainForm.resources +D:\Z - Norbi cucca\0 Projektek\MSGer.tk\MSGer.tk (C#)\obj\Debug\MSGer.tk.LoginForm.resources +D:\Z - Norbi cucca\0 Projektek\MSGer.tk\MSGer.tk (C#)\obj\Debug\MSGer.tk.Properties.Resources.resources +D:\Z - Norbi cucca\0 Projektek\MSGer.tk\MSGer.tk (C#)\obj\Debug\MSGer.tk.csproj.GenerateResource.Cache diff --git a/Most Closed Beta/v2.0/MSGer.tk (C#)/obj/Debug/MSGer.tk.csproj.GenerateResource.Cache b/Most Closed Beta/v2.0/MSGer.tk (C#)/obj/Debug/MSGer.tk.csproj.GenerateResource.Cache new file mode 100644 index 0000000..ed6559e Binary files /dev/null and b/Most Closed Beta/v2.0/MSGer.tk (C#)/obj/Debug/MSGer.tk.csproj.GenerateResource.Cache differ diff --git a/Most Closed Beta/v2.0/MSGer.tk (C#)/obj/Debug/MSGer.tk.csprojResolveAssemblyReference.cache b/Most Closed Beta/v2.0/MSGer.tk (C#)/obj/Debug/MSGer.tk.csprojResolveAssemblyReference.cache new file mode 100644 index 0000000..f0ed9bd Binary files /dev/null and b/Most Closed Beta/v2.0/MSGer.tk (C#)/obj/Debug/MSGer.tk.csprojResolveAssemblyReference.cache differ diff --git a/Most Closed Beta/v2.0/MSGer.tk (C#)/obj/Debug/MSGer.tk.exe b/Most Closed Beta/v2.0/MSGer.tk (C#)/obj/Debug/MSGer.tk.exe new file mode 100644 index 0000000..062b430 Binary files /dev/null and b/Most Closed Beta/v2.0/MSGer.tk (C#)/obj/Debug/MSGer.tk.exe differ diff --git a/Most Closed Beta/v2.0/MSGer.tk (C#)/obj/Debug/MSGer.tk.pdb b/Most Closed Beta/v2.0/MSGer.tk (C#)/obj/Debug/MSGer.tk.pdb new file mode 100644 index 0000000..db3ee3a Binary files /dev/null and b/Most Closed Beta/v2.0/MSGer.tk (C#)/obj/Debug/MSGer.tk.pdb differ diff --git a/Most Closed Beta/v2.0/MSGer.tk (C#)/obj/Debug/TempPE/Properties.Resources.Designer.cs.dll b/Most Closed Beta/v2.0/MSGer.tk (C#)/obj/Debug/TempPE/Properties.Resources.Designer.cs.dll new file mode 100644 index 0000000..932c46c Binary files /dev/null and b/Most Closed Beta/v2.0/MSGer.tk (C#)/obj/Debug/TempPE/Properties.Resources.Designer.cs.dll differ diff --git a/Most Closed Beta/v2.0/MSGer.tk (C#)/obj/Debug/TemporaryGeneratedFile_036C0B5B-1481-4323-8D20-8F5ADCB23D92.cs b/Most Closed Beta/v2.0/MSGer.tk (C#)/obj/Debug/TemporaryGeneratedFile_036C0B5B-1481-4323-8D20-8F5ADCB23D92.cs new file mode 100644 index 0000000..e69de29 diff --git a/Most Closed Beta/v2.0/MSGer.tk (C#)/obj/Debug/TemporaryGeneratedFile_5937a670-0e60-4077-877b-f7221da3dda1.cs b/Most Closed Beta/v2.0/MSGer.tk (C#)/obj/Debug/TemporaryGeneratedFile_5937a670-0e60-4077-877b-f7221da3dda1.cs new file mode 100644 index 0000000..e69de29 diff --git a/Most Closed Beta/v2.0/MSGer.tk (C#)/obj/Debug/TemporaryGeneratedFile_E7A71F73-0F8D-4B9B-B56E-8E70B10BC5D3.cs b/Most Closed Beta/v2.0/MSGer.tk (C#)/obj/Debug/TemporaryGeneratedFile_E7A71F73-0F8D-4B9B-B56E-8E70B10BC5D3.cs new file mode 100644 index 0000000..e69de29 diff --git a/Most Closed Beta/v2.0/MSGer.tk (C#)/obj/Release/DesignTimeResolveAssemblyReferences.cache b/Most Closed Beta/v2.0/MSGer.tk (C#)/obj/Release/DesignTimeResolveAssemblyReferences.cache new file mode 100644 index 0000000..37a5636 Binary files /dev/null and b/Most Closed Beta/v2.0/MSGer.tk (C#)/obj/Release/DesignTimeResolveAssemblyReferences.cache differ diff --git a/Most Closed Beta/v2.0/MSGer.tk (C#)/obj/Release/DesignTimeResolveAssemblyReferencesInput.cache b/Most Closed Beta/v2.0/MSGer.tk (C#)/obj/Release/DesignTimeResolveAssemblyReferencesInput.cache new file mode 100644 index 0000000..4663684 Binary files /dev/null and b/Most Closed Beta/v2.0/MSGer.tk (C#)/obj/Release/DesignTimeResolveAssemblyReferencesInput.cache differ diff --git a/Most Closed Beta/v2.0/MSGer.tk (C#)/obj/Release/MSGer.tk.LoginForm.resources b/Most Closed Beta/v2.0/MSGer.tk (C#)/obj/Release/MSGer.tk.LoginForm.resources new file mode 100644 index 0000000..6c05a97 Binary files /dev/null and b/Most Closed Beta/v2.0/MSGer.tk (C#)/obj/Release/MSGer.tk.LoginForm.resources differ diff --git a/Most Closed Beta/v2.0/MSGer.tk (C#)/obj/Release/MSGer.tk.MainForm.resources b/Most Closed Beta/v2.0/MSGer.tk (C#)/obj/Release/MSGer.tk.MainForm.resources new file mode 100644 index 0000000..6c05a97 Binary files /dev/null and b/Most Closed Beta/v2.0/MSGer.tk (C#)/obj/Release/MSGer.tk.MainForm.resources differ diff --git a/Most Closed Beta/v2.0/MSGer.tk (C#)/obj/Release/MSGer.tk.Properties.Resources.resources b/Most Closed Beta/v2.0/MSGer.tk (C#)/obj/Release/MSGer.tk.Properties.Resources.resources new file mode 100644 index 0000000..6c05a97 Binary files /dev/null and b/Most Closed Beta/v2.0/MSGer.tk (C#)/obj/Release/MSGer.tk.Properties.Resources.resources differ diff --git a/Most Closed Beta/v2.0/MSGer.tk (C#)/obj/Release/MSGer.tk.csproj.FileListAbsolute.txt b/Most Closed Beta/v2.0/MSGer.tk (C#)/obj/Release/MSGer.tk.csproj.FileListAbsolute.txt new file mode 100644 index 0000000..b7b0098 --- /dev/null +++ b/Most Closed Beta/v2.0/MSGer.tk (C#)/obj/Release/MSGer.tk.csproj.FileListAbsolute.txt @@ -0,0 +1,9 @@ +D:\Z - Norbi cucca\0 Projektek\MSGer.tk\MSGer.tk\bin\Release\MSGer.tk.exe.config +D:\Z - Norbi cucca\0 Projektek\MSGer.tk\MSGer.tk\bin\Release\MSGer.tk.exe +D:\Z - Norbi cucca\0 Projektek\MSGer.tk\MSGer.tk\bin\Release\MSGer.tk.pdb +D:\Z - Norbi cucca\0 Projektek\MSGer.tk\MSGer.tk\obj\Release\MSGer.tk.MainForm.resources +D:\Z - Norbi cucca\0 Projektek\MSGer.tk\MSGer.tk\obj\Release\MSGer.tk.LoginForm.resources +D:\Z - Norbi cucca\0 Projektek\MSGer.tk\MSGer.tk\obj\Release\MSGer.tk.Properties.Resources.resources +D:\Z - Norbi cucca\0 Projektek\MSGer.tk\MSGer.tk\obj\Release\MSGer.tk.csproj.GenerateResource.Cache +D:\Z - Norbi cucca\0 Projektek\MSGer.tk\MSGer.tk\obj\Release\MSGer.tk.exe +D:\Z - Norbi cucca\0 Projektek\MSGer.tk\MSGer.tk\obj\Release\MSGer.tk.pdb diff --git a/Most Closed Beta/v2.0/MSGer.tk (C#)/obj/Release/MSGer.tk.csproj.GenerateResource.Cache b/Most Closed Beta/v2.0/MSGer.tk (C#)/obj/Release/MSGer.tk.csproj.GenerateResource.Cache new file mode 100644 index 0000000..ad1861f Binary files /dev/null and b/Most Closed Beta/v2.0/MSGer.tk (C#)/obj/Release/MSGer.tk.csproj.GenerateResource.Cache differ diff --git a/Most Closed Beta/v2.0/MSGer.tk (C#)/obj/Release/MSGer.tk.exe b/Most Closed Beta/v2.0/MSGer.tk (C#)/obj/Release/MSGer.tk.exe new file mode 100644 index 0000000..ba5712d Binary files /dev/null and b/Most Closed Beta/v2.0/MSGer.tk (C#)/obj/Release/MSGer.tk.exe differ diff --git a/Most Closed Beta/v2.0/MSGer.tk (C#)/obj/Release/MSGer.tk.pdb b/Most Closed Beta/v2.0/MSGer.tk (C#)/obj/Release/MSGer.tk.pdb new file mode 100644 index 0000000..0f86b2a Binary files /dev/null and b/Most Closed Beta/v2.0/MSGer.tk (C#)/obj/Release/MSGer.tk.pdb differ diff --git a/Most Closed Beta/v2.0/MSGer.tk (C#)/obj/Release/TemporaryGeneratedFile_036C0B5B-1481-4323-8D20-8F5ADCB23D92.cs b/Most Closed Beta/v2.0/MSGer.tk (C#)/obj/Release/TemporaryGeneratedFile_036C0B5B-1481-4323-8D20-8F5ADCB23D92.cs new file mode 100644 index 0000000..e69de29 diff --git a/Most Closed Beta/v2.0/MSGer.tk (C#)/obj/Release/TemporaryGeneratedFile_5937a670-0e60-4077-877b-f7221da3dda1.cs b/Most Closed Beta/v2.0/MSGer.tk (C#)/obj/Release/TemporaryGeneratedFile_5937a670-0e60-4077-877b-f7221da3dda1.cs new file mode 100644 index 0000000..e69de29 diff --git a/Most Closed Beta/v2.0/MSGer.tk (C#)/obj/Release/TemporaryGeneratedFile_E7A71F73-0F8D-4B9B-B56E-8E70B10BC5D3.cs b/Most Closed Beta/v2.0/MSGer.tk (C#)/obj/Release/TemporaryGeneratedFile_E7A71F73-0F8D-4B9B-B56E-8E70B10BC5D3.cs new file mode 100644 index 0000000..e69de29 diff --git a/Most Closed Beta/v3.0/Changelog.txt b/Most Closed Beta/v3.0/Changelog.txt new file mode 100644 index 0000000..244d05a --- /dev/null +++ b/Most Closed Beta/v3.0/Changelog.txt @@ -0,0 +1,6 @@ +v3.0 - 2014.02.15., 18. +---- +- Tbb felhasznl egyszerre val bejelentkezse +- llapotbellits +- Ismerslista javitva (most mr mkdik is) +- llapot mutatsa az ismerslistban diff --git a/Most Closed Beta/v3.0/MSGer.tk (C#)/App.config b/Most Closed Beta/v3.0/MSGer.tk (C#)/App.config new file mode 100644 index 0000000..01566ac --- /dev/null +++ b/Most Closed Beta/v3.0/MSGer.tk (C#)/App.config @@ -0,0 +1,18 @@ + + + + +
+ + + + + + + + + + + + + \ No newline at end of file diff --git a/Most Closed Beta/v3.0/MSGer.tk (C#)/Form1.Designer.cs b/Most Closed Beta/v3.0/MSGer.tk (C#)/Form1.Designer.cs new file mode 100644 index 0000000..e120b4c --- /dev/null +++ b/Most Closed Beta/v3.0/MSGer.tk (C#)/Form1.Designer.cs @@ -0,0 +1,717 @@ +namespace MSGer.tk +{ + partial class MainForm + { + /// + /// Required designer variable. + /// + private System.ComponentModel.IContainer components = null; + + /// + /// Clean up any resources being used. + /// + /// true if managed resources should be disposed; otherwise, false. + protected override void Dispose(bool disposing) + { + if (disposing && (components != null)) + { + components.Dispose(); + } + base.Dispose(disposing); + } + + #region Windows Form Designer generated code + + /// + /// Required method for Designer support - do not modify + /// the contents of this method with the code editor. + /// + private void InitializeComponent() + { + this.components = new System.ComponentModel.Container(); + System.Windows.Forms.ListViewGroup listViewGroup3 = new System.Windows.Forms.ListViewGroup("Elérhető ismerősök", System.Windows.Forms.HorizontalAlignment.Left); + System.Windows.Forms.ListViewGroup listViewGroup4 = new System.Windows.Forms.ListViewGroup("Nem elérhető ismerősök", System.Windows.Forms.HorizontalAlignment.Left); + this.notifyIcon1 = new System.Windows.Forms.NotifyIcon(this.components); + 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.button1 = new System.Windows.Forms.Button(); + this.panel2 = new System.Windows.Forms.Panel(); + this.textBox1 = new System.Windows.Forms.TextBox(); + this.panel1 = new System.Windows.Forms.Panel(); + this.menuStrip1 = new System.Windows.Forms.MenuStrip(); + this.fájlToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); + this.kijelentkezésToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); + this.toolStripMenuItem1 = new System.Windows.Forms.ToolStripMenuItem(); + this.toolStripSeparator1 = new System.Windows.Forms.ToolStripSeparator(); + this.állapotToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); + this.elérhetőToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); + this.elfoglaltToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); + this.nincsAGépnélToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); + this.rejtveKapcsolódikToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); + this.toolStripSeparator2 = new System.Windows.Forms.ToolStripSeparator(); + this.fájlKüldéseToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); + this.beérkezettFájlokMappájánakMegnyitásaToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); + this.üzenetekElőzményeinekMegtekintéseToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); + this.toolStripSeparator3 = new System.Windows.Forms.ToolStripSeparator(); + this.bezárásToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); + this.toolStripSeparator4 = new System.Windows.Forms.ToolStripSeparator(); + this.kilépésToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); + this.ismerősökToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); + this.ismerősFelvételeToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); + this.ismerősSzerkesztéseToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); + this.ismerősTörléseToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); + this.toolStripSeparator5 = new System.Windows.Forms.ToolStripSeparator(); + this.csoportLétrehozásaToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); + this.toolStripSeparator6 = new System.Windows.Forms.ToolStripSeparator(); + this.kategóriaLétrehozásaToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); + this.kategóriaSzerkesztéseToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); + this.kategóriaTörléseToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); + this.műveletekToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); + this.azonnaliÜzenetKüldéseToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); + this.egyébKüldéseToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); + this.emailKüldéseToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); + this.fájlKüldéseToolStripMenuItem1 = new System.Windows.Forms.ToolStripMenuItem(); + this.toolStripSeparator7 = new System.Windows.Forms.ToolStripSeparator(); + this.ismerősSzámitógépénekFelhivásaToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); + this.videóhivásInditásaToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); + this.onlineFájlokMegtekintéseToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); + this.közösJátékToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); + this.távsegitségKéréseToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); + this.eszközökToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); + this.mindigLegfelülToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); + this.toolStripSeparator8 = new System.Windows.Forms.ToolStripSeparator(); + this.hangulatjelekToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); + this.megjelenitendőKépVáltásaToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); + this.háttérMódositásaToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); + this.toolStripSeparator9 = new System.Windows.Forms.ToolStripSeparator(); + this.hangokÉsVideóBeállitásaToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); + this.toolStripSeparator10 = new System.Windows.Forms.ToolStripSeparator(); + this.beállitásokToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); + this.súgóToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); + this.témakörökToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); + this.toolStripSeparator11 = new System.Windows.Forms.ToolStripSeparator(); + this.aSzolgáltatásÁllapotsaToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); + this.adatvédelmiNyilatkozatToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); + this.használatiFeltételekToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); + this.visszaélésBejelentéseToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); + this.toolStripSeparator12 = new System.Windows.Forms.ToolStripSeparator(); + this.segitsenAProgramTökéletesitésébenToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); + this.toolStripSeparator13 = new System.Windows.Forms.ToolStripSeparator(); + this.névjegyToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); + this.panel2.SuspendLayout(); + this.menuStrip1.SuspendLayout(); + this.SuspendLayout(); + // + // notifyIcon1 + // + this.notifyIcon1.Text = "notifyIcon1"; + this.notifyIcon1.Visible = true; + // + // listView1 + // + this.listView1.Activation = System.Windows.Forms.ItemActivation.OneClick; + this.listView1.AllowColumnReorder = true; + 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.BackColor = System.Drawing.Color.White; + this.listView1.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle; + this.listView1.Columns.AddRange(new System.Windows.Forms.ColumnHeader[] { + this.columnHeader1, + this.columnHeader2}); + listViewGroup3.Header = "Elérhető ismerősök"; + listViewGroup3.Name = "listViewGroup1"; + listViewGroup4.Header = "Nem elérhető ismerősök"; + listViewGroup4.Name = "listViewGroup2"; + this.listView1.Groups.AddRange(new System.Windows.Forms.ListViewGroup[] { + listViewGroup3, + listViewGroup4}); + this.listView1.HideSelection = false; + this.listView1.LabelWrap = false; + this.listView1.Location = new System.Drawing.Point(0, 130); + this.listView1.Name = "listView1"; + this.listView1.Size = new System.Drawing.Size(624, 312); + this.listView1.TabIndex = 1; + this.listView1.UseCompatibleStateImageBehavior = false; + this.listView1.View = System.Windows.Forms.View.Details; + // + // columnHeader1 + // + this.columnHeader1.Text = "Név"; + this.columnHeader1.Width = 150; + // + // columnHeader2 + // + this.columnHeader2.Text = "Személyes üzenet"; + this.columnHeader2.Width = 430; + // + // button1 + // + this.button1.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right))); + this.button1.FlatStyle = System.Windows.Forms.FlatStyle.Popup; + this.button1.Location = new System.Drawing.Point(519, 104); + this.button1.Name = "button1"; + this.button1.Size = new System.Drawing.Size(35, 23); + this.button1.TabIndex = 4; + this.button1.UseVisualStyleBackColor = true; + // + // panel2 + // + this.panel2.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left) + | System.Windows.Forms.AnchorStyles.Right))); + this.panel2.BackgroundImage = global::MSGer.tk.Properties.Resources.Keresősáv; + this.panel2.BackgroundImageLayout = System.Windows.Forms.ImageLayout.Stretch; + this.panel2.Controls.Add(this.textBox1); + this.panel2.Location = new System.Drawing.Point(0, 96); + this.panel2.Name = "panel2"; + this.panel2.Size = new System.Drawing.Size(513, 31); + this.panel2.TabIndex = 5; + // + // textBox1 + // + this.textBox1.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left) + | System.Windows.Forms.AnchorStyles.Right))); + this.textBox1.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(244)))), ((int)(((byte)(249)))), ((int)(((byte)(252))))); + this.textBox1.BorderStyle = System.Windows.Forms.BorderStyle.None; + this.textBox1.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(137)))), ((int)(((byte)(161)))), ((int)(((byte)(194))))); + this.textBox1.Location = new System.Drawing.Point(6, 8); + this.textBox1.Name = "textBox1"; + this.textBox1.Size = new System.Drawing.Size(504, 13); + this.textBox1.TabIndex = 3; + this.textBox1.Text = "Ismerősök keresése..."; + // + // panel1 + // + this.panel1.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left) + | System.Windows.Forms.AnchorStyles.Right))); + this.panel1.BackgroundImage = global::MSGer.tk.Properties.Resources.Blue_Wallpaper_HD_2; + this.panel1.BackgroundImageLayout = System.Windows.Forms.ImageLayout.Stretch; + this.panel1.Location = new System.Drawing.Point(0, 27); + this.panel1.Name = "panel1"; + this.panel1.Size = new System.Drawing.Size(624, 63); + this.panel1.TabIndex = 2; + // + // menuStrip1 + // + this.menuStrip1.BackColor = System.Drawing.Color.Black; + this.menuStrip1.BackgroundImage = global::MSGer.tk.Properties.Resources.Menü_2; + this.menuStrip1.Items.AddRange(new System.Windows.Forms.ToolStripItem[] { + this.fájlToolStripMenuItem, + this.ismerősökToolStripMenuItem, + this.műveletekToolStripMenuItem, + this.eszközökToolStripMenuItem, + this.súgóToolStripMenuItem}); + this.menuStrip1.Location = new System.Drawing.Point(0, 0); + this.menuStrip1.Name = "menuStrip1"; + this.menuStrip1.RenderMode = System.Windows.Forms.ToolStripRenderMode.System; + this.menuStrip1.Size = new System.Drawing.Size(624, 24); + this.menuStrip1.TabIndex = 0; + this.menuStrip1.Text = "menuStrip1"; + // + // fájlToolStripMenuItem + // + this.fájlToolStripMenuItem.DropDownItems.AddRange(new System.Windows.Forms.ToolStripItem[] { + this.kijelentkezésToolStripMenuItem, + this.toolStripMenuItem1, + this.toolStripSeparator1, + this.állapotToolStripMenuItem, + this.toolStripSeparator2, + this.fájlKüldéseToolStripMenuItem, + this.beérkezettFájlokMappájánakMegnyitásaToolStripMenuItem, + this.üzenetekElőzményeinekMegtekintéseToolStripMenuItem, + this.toolStripSeparator3, + this.bezárásToolStripMenuItem, + this.toolStripSeparator4, + this.kilépésToolStripMenuItem}); + this.fájlToolStripMenuItem.Name = "fájlToolStripMenuItem"; + this.fájlToolStripMenuItem.Size = new System.Drawing.Size(37, 20); + this.fájlToolStripMenuItem.Text = "Fájl"; + // + // kijelentkezésToolStripMenuItem + // + this.kijelentkezésToolStripMenuItem.Name = "kijelentkezésToolStripMenuItem"; + this.kijelentkezésToolStripMenuItem.Size = new System.Drawing.Size(292, 22); + this.kijelentkezésToolStripMenuItem.Text = "Kijelentkezés"; + this.kijelentkezésToolStripMenuItem.Click += new System.EventHandler(this.LogoutUser); + // + // toolStripMenuItem1 + // + this.toolStripMenuItem1.Name = "toolStripMenuItem1"; + this.toolStripMenuItem1.Size = new System.Drawing.Size(292, 22); + this.toolStripMenuItem1.Text = "Újabb felhasználó bejelentkeztetése..."; + this.toolStripMenuItem1.Click += new System.EventHandler(this.LoginNewUser); + // + // toolStripSeparator1 + // + this.toolStripSeparator1.Name = "toolStripSeparator1"; + this.toolStripSeparator1.Size = new System.Drawing.Size(289, 6); + // + // állapotToolStripMenuItem + // + this.állapotToolStripMenuItem.DropDownItems.AddRange(new System.Windows.Forms.ToolStripItem[] { + this.elérhetőToolStripMenuItem, + this.elfoglaltToolStripMenuItem, + this.nincsAGépnélToolStripMenuItem, + this.rejtveKapcsolódikToolStripMenuItem}); + this.állapotToolStripMenuItem.Name = "állapotToolStripMenuItem"; + this.állapotToolStripMenuItem.Size = new System.Drawing.Size(292, 22); + this.állapotToolStripMenuItem.Text = "Állapot"; + // + // elérhetőToolStripMenuItem + // + this.elérhetőToolStripMenuItem.Name = "elérhetőToolStripMenuItem"; + this.elérhetőToolStripMenuItem.Size = new System.Drawing.Size(172, 22); + this.elérhetőToolStripMenuItem.Text = "Elérhető"; + this.elérhetőToolStripMenuItem.Click += new System.EventHandler(this.SetOnlineState); + // + // elfoglaltToolStripMenuItem + // + this.elfoglaltToolStripMenuItem.Name = "elfoglaltToolStripMenuItem"; + this.elfoglaltToolStripMenuItem.Size = new System.Drawing.Size(172, 22); + this.elfoglaltToolStripMenuItem.Text = "Elfoglalt"; + this.elfoglaltToolStripMenuItem.Click += new System.EventHandler(this.SetOnlineState); + // + // nincsAGépnélToolStripMenuItem + // + this.nincsAGépnélToolStripMenuItem.Name = "nincsAGépnélToolStripMenuItem"; + this.nincsAGépnélToolStripMenuItem.Size = new System.Drawing.Size(172, 22); + this.nincsAGépnélToolStripMenuItem.Text = "Nincs a gépnél"; + this.nincsAGépnélToolStripMenuItem.Click += new System.EventHandler(this.SetOnlineState); + // + // rejtveKapcsolódikToolStripMenuItem + // + this.rejtveKapcsolódikToolStripMenuItem.Name = "rejtveKapcsolódikToolStripMenuItem"; + this.rejtveKapcsolódikToolStripMenuItem.Size = new System.Drawing.Size(172, 22); + this.rejtveKapcsolódikToolStripMenuItem.Text = "Rejtve kapcsolódik"; + this.rejtveKapcsolódikToolStripMenuItem.Click += new System.EventHandler(this.SetOnlineState); + // + // toolStripSeparator2 + // + this.toolStripSeparator2.Name = "toolStripSeparator2"; + this.toolStripSeparator2.Size = new System.Drawing.Size(289, 6); + // + // fájlKüldéseToolStripMenuItem + // + this.fájlKüldéseToolStripMenuItem.Name = "fájlKüldéseToolStripMenuItem"; + this.fájlKüldéseToolStripMenuItem.Size = new System.Drawing.Size(292, 22); + this.fájlKüldéseToolStripMenuItem.Text = "Fájl küldése..."; + // + // beérkezettFájlokMappájánakMegnyitásaToolStripMenuItem + // + this.beérkezettFájlokMappájánakMegnyitásaToolStripMenuItem.Name = "beérkezettFájlokMappájánakMegnyitásaToolStripMenuItem"; + this.beérkezettFájlokMappájánakMegnyitásaToolStripMenuItem.Size = new System.Drawing.Size(292, 22); + this.beérkezettFájlokMappájánakMegnyitásaToolStripMenuItem.Text = "Beérkezett fájlok mappájának megnyitása"; + // + // üzenetekElőzményeinekMegtekintéseToolStripMenuItem + // + this.üzenetekElőzményeinekMegtekintéseToolStripMenuItem.Name = "üzenetekElőzményeinekMegtekintéseToolStripMenuItem"; + this.üzenetekElőzményeinekMegtekintéseToolStripMenuItem.Size = new System.Drawing.Size(292, 22); + this.üzenetekElőzményeinekMegtekintéseToolStripMenuItem.Text = "Üzenetek előzményeinek megtekintése..."; + // + // toolStripSeparator3 + // + this.toolStripSeparator3.Name = "toolStripSeparator3"; + this.toolStripSeparator3.Size = new System.Drawing.Size(289, 6); + // + // bezárásToolStripMenuItem + // + this.bezárásToolStripMenuItem.Name = "bezárásToolStripMenuItem"; + this.bezárásToolStripMenuItem.Size = new System.Drawing.Size(292, 22); + this.bezárásToolStripMenuItem.Text = "Bezárás"; + // + // toolStripSeparator4 + // + this.toolStripSeparator4.Name = "toolStripSeparator4"; + this.toolStripSeparator4.Size = new System.Drawing.Size(289, 6); + // + // kilépésToolStripMenuItem + // + this.kilépésToolStripMenuItem.Name = "kilépésToolStripMenuItem"; + this.kilépésToolStripMenuItem.Size = new System.Drawing.Size(292, 22); + this.kilépésToolStripMenuItem.Text = "Kilépés"; + // + // ismerősökToolStripMenuItem + // + this.ismerősökToolStripMenuItem.DropDownItems.AddRange(new System.Windows.Forms.ToolStripItem[] { + this.ismerősFelvételeToolStripMenuItem, + this.ismerősSzerkesztéseToolStripMenuItem, + this.ismerősTörléseToolStripMenuItem, + this.toolStripSeparator5, + this.csoportLétrehozásaToolStripMenuItem, + this.toolStripSeparator6, + this.kategóriaLétrehozásaToolStripMenuItem, + this.kategóriaSzerkesztéseToolStripMenuItem, + this.kategóriaTörléseToolStripMenuItem}); + this.ismerősökToolStripMenuItem.Name = "ismerősökToolStripMenuItem"; + this.ismerősökToolStripMenuItem.Size = new System.Drawing.Size(73, 20); + this.ismerősökToolStripMenuItem.Text = "Ismerősök"; + // + // ismerősFelvételeToolStripMenuItem + // + this.ismerősFelvételeToolStripMenuItem.Name = "ismerősFelvételeToolStripMenuItem"; + this.ismerősFelvételeToolStripMenuItem.Size = new System.Drawing.Size(199, 22); + this.ismerősFelvételeToolStripMenuItem.Text = "Ismerős felvétele..."; + // + // ismerősSzerkesztéseToolStripMenuItem + // + this.ismerősSzerkesztéseToolStripMenuItem.Name = "ismerősSzerkesztéseToolStripMenuItem"; + this.ismerősSzerkesztéseToolStripMenuItem.Size = new System.Drawing.Size(199, 22); + this.ismerősSzerkesztéseToolStripMenuItem.Text = "Ismerős szerkesztése..."; + // + // ismerősTörléseToolStripMenuItem + // + this.ismerősTörléseToolStripMenuItem.Name = "ismerősTörléseToolStripMenuItem"; + this.ismerősTörléseToolStripMenuItem.Size = new System.Drawing.Size(199, 22); + this.ismerősTörléseToolStripMenuItem.Text = "Ismerős törlése..."; + // + // toolStripSeparator5 + // + this.toolStripSeparator5.Name = "toolStripSeparator5"; + this.toolStripSeparator5.Size = new System.Drawing.Size(196, 6); + // + // csoportLétrehozásaToolStripMenuItem + // + this.csoportLétrehozásaToolStripMenuItem.Name = "csoportLétrehozásaToolStripMenuItem"; + this.csoportLétrehozásaToolStripMenuItem.Size = new System.Drawing.Size(199, 22); + this.csoportLétrehozásaToolStripMenuItem.Text = "Csoport létrehozása..."; + // + // toolStripSeparator6 + // + this.toolStripSeparator6.Name = "toolStripSeparator6"; + this.toolStripSeparator6.Size = new System.Drawing.Size(196, 6); + // + // kategóriaLétrehozásaToolStripMenuItem + // + this.kategóriaLétrehozásaToolStripMenuItem.Name = "kategóriaLétrehozásaToolStripMenuItem"; + this.kategóriaLétrehozásaToolStripMenuItem.Size = new System.Drawing.Size(199, 22); + this.kategóriaLétrehozásaToolStripMenuItem.Text = "Kategória létrehozása..."; + // + // kategóriaSzerkesztéseToolStripMenuItem + // + this.kategóriaSzerkesztéseToolStripMenuItem.Name = "kategóriaSzerkesztéseToolStripMenuItem"; + this.kategóriaSzerkesztéseToolStripMenuItem.Size = new System.Drawing.Size(199, 22); + this.kategóriaSzerkesztéseToolStripMenuItem.Text = "Kategória szerkesztése..."; + // + // kategóriaTörléseToolStripMenuItem + // + this.kategóriaTörléseToolStripMenuItem.Name = "kategóriaTörléseToolStripMenuItem"; + this.kategóriaTörléseToolStripMenuItem.Size = new System.Drawing.Size(199, 22); + this.kategóriaTörléseToolStripMenuItem.Text = "Kategória törlése..."; + // + // műveletekToolStripMenuItem + // + this.műveletekToolStripMenuItem.DropDownItems.AddRange(new System.Windows.Forms.ToolStripItem[] { + this.azonnaliÜzenetKüldéseToolStripMenuItem, + this.egyébKüldéseToolStripMenuItem, + this.toolStripSeparator7, + this.ismerősSzámitógépénekFelhivásaToolStripMenuItem, + this.videóhivásInditásaToolStripMenuItem, + this.onlineFájlokMegtekintéseToolStripMenuItem, + this.közösJátékToolStripMenuItem, + this.távsegitségKéréseToolStripMenuItem}); + this.műveletekToolStripMenuItem.Name = "műveletekToolStripMenuItem"; + this.műveletekToolStripMenuItem.Size = new System.Drawing.Size(74, 20); + this.műveletekToolStripMenuItem.Text = "Műveletek"; + // + // azonnaliÜzenetKüldéseToolStripMenuItem + // + this.azonnaliÜzenetKüldéseToolStripMenuItem.Name = "azonnaliÜzenetKüldéseToolStripMenuItem"; + this.azonnaliÜzenetKüldéseToolStripMenuItem.Size = new System.Drawing.Size(253, 22); + this.azonnaliÜzenetKüldéseToolStripMenuItem.Text = "Azonnali üzenet küldése..."; + // + // egyébKüldéseToolStripMenuItem + // + this.egyébKüldéseToolStripMenuItem.DropDownItems.AddRange(new System.Windows.Forms.ToolStripItem[] { + this.emailKüldéseToolStripMenuItem, + this.fájlKüldéseToolStripMenuItem1}); + this.egyébKüldéseToolStripMenuItem.Name = "egyébKüldéseToolStripMenuItem"; + this.egyébKüldéseToolStripMenuItem.Size = new System.Drawing.Size(253, 22); + this.egyébKüldéseToolStripMenuItem.Text = "Egyéb küldése"; + // + // emailKüldéseToolStripMenuItem + // + this.emailKüldéseToolStripMenuItem.Name = "emailKüldéseToolStripMenuItem"; + this.emailKüldéseToolStripMenuItem.Size = new System.Drawing.Size(160, 22); + this.emailKüldéseToolStripMenuItem.Text = "E-mail küldése..."; + // + // fájlKüldéseToolStripMenuItem1 + // + this.fájlKüldéseToolStripMenuItem1.Name = "fájlKüldéseToolStripMenuItem1"; + this.fájlKüldéseToolStripMenuItem1.Size = new System.Drawing.Size(160, 22); + this.fájlKüldéseToolStripMenuItem1.Text = "Fájl küldése..."; + // + // toolStripSeparator7 + // + this.toolStripSeparator7.Name = "toolStripSeparator7"; + this.toolStripSeparator7.Size = new System.Drawing.Size(250, 6); + // + // ismerősSzámitógépénekFelhivásaToolStripMenuItem + // + this.ismerősSzámitógépénekFelhivásaToolStripMenuItem.Name = "ismerősSzámitógépénekFelhivásaToolStripMenuItem"; + this.ismerősSzámitógépénekFelhivásaToolStripMenuItem.Size = new System.Drawing.Size(253, 22); + this.ismerősSzámitógépénekFelhivásaToolStripMenuItem.Text = "Ismerős számitógépének felhivása"; + // + // videóhivásInditásaToolStripMenuItem + // + this.videóhivásInditásaToolStripMenuItem.Name = "videóhivásInditásaToolStripMenuItem"; + this.videóhivásInditásaToolStripMenuItem.Size = new System.Drawing.Size(253, 22); + this.videóhivásInditásaToolStripMenuItem.Text = "Videóhivás inditása..."; + // + // onlineFájlokMegtekintéseToolStripMenuItem + // + this.onlineFájlokMegtekintéseToolStripMenuItem.Name = "onlineFájlokMegtekintéseToolStripMenuItem"; + this.onlineFájlokMegtekintéseToolStripMenuItem.Size = new System.Drawing.Size(253, 22); + this.onlineFájlokMegtekintéseToolStripMenuItem.Text = "Online fájlok megtekintése"; + // + // közösJátékToolStripMenuItem + // + this.közösJátékToolStripMenuItem.Name = "közösJátékToolStripMenuItem"; + this.közösJátékToolStripMenuItem.Size = new System.Drawing.Size(253, 22); + this.közösJátékToolStripMenuItem.Text = "Közös játék..."; + // + // távsegitségKéréseToolStripMenuItem + // + this.távsegitségKéréseToolStripMenuItem.Name = "távsegitségKéréseToolStripMenuItem"; + this.távsegitségKéréseToolStripMenuItem.Size = new System.Drawing.Size(253, 22); + this.távsegitségKéréseToolStripMenuItem.Text = "Távsegitség kérése..."; + // + // eszközökToolStripMenuItem + // + this.eszközökToolStripMenuItem.DropDownItems.AddRange(new System.Windows.Forms.ToolStripItem[] { + this.mindigLegfelülToolStripMenuItem, + this.toolStripSeparator8, + this.hangulatjelekToolStripMenuItem, + this.megjelenitendőKépVáltásaToolStripMenuItem, + this.háttérMódositásaToolStripMenuItem, + this.toolStripSeparator9, + this.hangokÉsVideóBeállitásaToolStripMenuItem, + this.toolStripSeparator10, + this.beállitásokToolStripMenuItem}); + this.eszközökToolStripMenuItem.Name = "eszközökToolStripMenuItem"; + this.eszközökToolStripMenuItem.Size = new System.Drawing.Size(66, 20); + this.eszközökToolStripMenuItem.Text = "Eszközök"; + // + // mindigLegfelülToolStripMenuItem + // + this.mindigLegfelülToolStripMenuItem.CheckOnClick = true; + this.mindigLegfelülToolStripMenuItem.Name = "mindigLegfelülToolStripMenuItem"; + this.mindigLegfelülToolStripMenuItem.Size = new System.Drawing.Size(227, 22); + this.mindigLegfelülToolStripMenuItem.Text = "Mindig legfelül"; + // + // toolStripSeparator8 + // + this.toolStripSeparator8.Name = "toolStripSeparator8"; + this.toolStripSeparator8.Size = new System.Drawing.Size(224, 6); + // + // hangulatjelekToolStripMenuItem + // + this.hangulatjelekToolStripMenuItem.Name = "hangulatjelekToolStripMenuItem"; + this.hangulatjelekToolStripMenuItem.Size = new System.Drawing.Size(227, 22); + this.hangulatjelekToolStripMenuItem.Text = "Hangulatjelek..."; + // + // megjelenitendőKépVáltásaToolStripMenuItem + // + this.megjelenitendőKépVáltásaToolStripMenuItem.Name = "megjelenitendőKépVáltásaToolStripMenuItem"; + this.megjelenitendőKépVáltásaToolStripMenuItem.Size = new System.Drawing.Size(227, 22); + this.megjelenitendőKépVáltásaToolStripMenuItem.Text = "Megjelenitendő kép váltása..."; + // + // háttérMódositásaToolStripMenuItem + // + this.háttérMódositásaToolStripMenuItem.Name = "háttérMódositásaToolStripMenuItem"; + this.háttérMódositásaToolStripMenuItem.Size = new System.Drawing.Size(227, 22); + this.háttérMódositásaToolStripMenuItem.Text = "Háttér módositása..."; + // + // toolStripSeparator9 + // + this.toolStripSeparator9.Name = "toolStripSeparator9"; + this.toolStripSeparator9.Size = new System.Drawing.Size(224, 6); + // + // hangokÉsVideóBeállitásaToolStripMenuItem + // + this.hangokÉsVideóBeállitásaToolStripMenuItem.Name = "hangokÉsVideóBeállitásaToolStripMenuItem"; + this.hangokÉsVideóBeállitásaToolStripMenuItem.Size = new System.Drawing.Size(227, 22); + this.hangokÉsVideóBeállitásaToolStripMenuItem.Text = "Hangok és videó beállitása..."; + // + // toolStripSeparator10 + // + this.toolStripSeparator10.Name = "toolStripSeparator10"; + this.toolStripSeparator10.Size = new System.Drawing.Size(224, 6); + // + // beállitásokToolStripMenuItem + // + this.beállitásokToolStripMenuItem.Name = "beállitásokToolStripMenuItem"; + this.beállitásokToolStripMenuItem.Size = new System.Drawing.Size(227, 22); + this.beállitásokToolStripMenuItem.Text = "Beállitások..."; + // + // súgóToolStripMenuItem + // + this.súgóToolStripMenuItem.DropDownItems.AddRange(new System.Windows.Forms.ToolStripItem[] { + this.témakörökToolStripMenuItem, + this.toolStripSeparator11, + this.aSzolgáltatásÁllapotsaToolStripMenuItem, + this.adatvédelmiNyilatkozatToolStripMenuItem, + this.használatiFeltételekToolStripMenuItem, + this.visszaélésBejelentéseToolStripMenuItem, + this.toolStripSeparator12, + this.segitsenAProgramTökéletesitésébenToolStripMenuItem, + this.toolStripSeparator13, + this.névjegyToolStripMenuItem}); + this.súgóToolStripMenuItem.Name = "súgóToolStripMenuItem"; + this.súgóToolStripMenuItem.Size = new System.Drawing.Size(46, 20); + this.súgóToolStripMenuItem.Text = "Súgó"; + // + // témakörökToolStripMenuItem + // + this.témakörökToolStripMenuItem.Name = "témakörökToolStripMenuItem"; + this.témakörökToolStripMenuItem.Size = new System.Drawing.Size(270, 22); + this.témakörökToolStripMenuItem.Text = "Témakörök"; + // + // toolStripSeparator11 + // + this.toolStripSeparator11.Name = "toolStripSeparator11"; + this.toolStripSeparator11.Size = new System.Drawing.Size(267, 6); + // + // aSzolgáltatásÁllapotsaToolStripMenuItem + // + this.aSzolgáltatásÁllapotsaToolStripMenuItem.Name = "aSzolgáltatásÁllapotsaToolStripMenuItem"; + this.aSzolgáltatásÁllapotsaToolStripMenuItem.Size = new System.Drawing.Size(270, 22); + this.aSzolgáltatásÁllapotsaToolStripMenuItem.Text = "A szolgáltatás állapota"; + // + // adatvédelmiNyilatkozatToolStripMenuItem + // + this.adatvédelmiNyilatkozatToolStripMenuItem.Name = "adatvédelmiNyilatkozatToolStripMenuItem"; + this.adatvédelmiNyilatkozatToolStripMenuItem.Size = new System.Drawing.Size(270, 22); + this.adatvédelmiNyilatkozatToolStripMenuItem.Text = "Adatvédelmi nyilatkozat"; + // + // használatiFeltételekToolStripMenuItem + // + this.használatiFeltételekToolStripMenuItem.Name = "használatiFeltételekToolStripMenuItem"; + this.használatiFeltételekToolStripMenuItem.Size = new System.Drawing.Size(270, 22); + this.használatiFeltételekToolStripMenuItem.Text = "Használati feltételek"; + // + // visszaélésBejelentéseToolStripMenuItem + // + this.visszaélésBejelentéseToolStripMenuItem.Name = "visszaélésBejelentéseToolStripMenuItem"; + this.visszaélésBejelentéseToolStripMenuItem.Size = new System.Drawing.Size(270, 22); + this.visszaélésBejelentéseToolStripMenuItem.Text = "Visszaélés bejelentése"; + // + // toolStripSeparator12 + // + this.toolStripSeparator12.Name = "toolStripSeparator12"; + this.toolStripSeparator12.Size = new System.Drawing.Size(267, 6); + // + // segitsenAProgramTökéletesitésébenToolStripMenuItem + // + this.segitsenAProgramTökéletesitésébenToolStripMenuItem.Name = "segitsenAProgramTökéletesitésébenToolStripMenuItem"; + this.segitsenAProgramTökéletesitésébenToolStripMenuItem.Size = new System.Drawing.Size(270, 22); + this.segitsenAProgramTökéletesitésébenToolStripMenuItem.Text = "Segitsen a program tökéletesitésében"; + // + // toolStripSeparator13 + // + this.toolStripSeparator13.Name = "toolStripSeparator13"; + this.toolStripSeparator13.Size = new System.Drawing.Size(267, 6); + // + // névjegyToolStripMenuItem + // + this.névjegyToolStripMenuItem.Name = "névjegyToolStripMenuItem"; + this.névjegyToolStripMenuItem.Size = new System.Drawing.Size(270, 22); + this.névjegyToolStripMenuItem.Text = "Névjegy"; + // + // MainForm + // + this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F); + this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; + this.BackColor = System.Drawing.Color.White; + this.ClientSize = new System.Drawing.Size(624, 442); + this.Controls.Add(this.panel2); + this.Controls.Add(this.button1); + this.Controls.Add(this.panel1); + this.Controls.Add(this.listView1); + this.Controls.Add(this.menuStrip1); + this.MainMenuStrip = this.menuStrip1; + this.Name = "MainForm"; + this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen; + this.Text = "Live Messenger Plus - MSGer.tk"; + this.panel2.ResumeLayout(false); + this.panel2.PerformLayout(); + this.menuStrip1.ResumeLayout(false); + this.menuStrip1.PerformLayout(); + this.ResumeLayout(false); + this.PerformLayout(); + + } + + #endregion + + private System.Windows.Forms.NotifyIcon notifyIcon1; + private System.Windows.Forms.MenuStrip menuStrip1; + private System.Windows.Forms.ListView listView1; + private System.Windows.Forms.ColumnHeader columnHeader1; + private System.Windows.Forms.ColumnHeader columnHeader2; + private System.Windows.Forms.ToolStripMenuItem fájlToolStripMenuItem; + private System.Windows.Forms.ToolStripMenuItem kijelentkezésToolStripMenuItem; + private System.Windows.Forms.ToolStripSeparator toolStripSeparator1; + private System.Windows.Forms.ToolStripMenuItem állapotToolStripMenuItem; + private System.Windows.Forms.ToolStripMenuItem elérhetőToolStripMenuItem; + private System.Windows.Forms.ToolStripMenuItem elfoglaltToolStripMenuItem; + private System.Windows.Forms.ToolStripMenuItem nincsAGépnélToolStripMenuItem; + private System.Windows.Forms.ToolStripMenuItem rejtveKapcsolódikToolStripMenuItem; + private System.Windows.Forms.ToolStripSeparator toolStripSeparator2; + private System.Windows.Forms.ToolStripMenuItem fájlKüldéseToolStripMenuItem; + private System.Windows.Forms.ToolStripMenuItem beérkezettFájlokMappájánakMegnyitásaToolStripMenuItem; + private System.Windows.Forms.ToolStripMenuItem üzenetekElőzményeinekMegtekintéseToolStripMenuItem; + private System.Windows.Forms.ToolStripSeparator toolStripSeparator3; + private System.Windows.Forms.ToolStripMenuItem bezárásToolStripMenuItem; + private System.Windows.Forms.ToolStripSeparator toolStripSeparator4; + private System.Windows.Forms.ToolStripMenuItem kilépésToolStripMenuItem; + private System.Windows.Forms.ToolStripMenuItem ismerősökToolStripMenuItem; + private System.Windows.Forms.ToolStripMenuItem ismerősFelvételeToolStripMenuItem; + private System.Windows.Forms.ToolStripMenuItem ismerősSzerkesztéseToolStripMenuItem; + private System.Windows.Forms.ToolStripMenuItem ismerősTörléseToolStripMenuItem; + private System.Windows.Forms.ToolStripSeparator toolStripSeparator5; + private System.Windows.Forms.ToolStripMenuItem csoportLétrehozásaToolStripMenuItem; + private System.Windows.Forms.ToolStripSeparator toolStripSeparator6; + private System.Windows.Forms.ToolStripMenuItem kategóriaLétrehozásaToolStripMenuItem; + private System.Windows.Forms.ToolStripMenuItem kategóriaSzerkesztéseToolStripMenuItem; + private System.Windows.Forms.ToolStripMenuItem kategóriaTörléseToolStripMenuItem; + private System.Windows.Forms.ToolStripMenuItem műveletekToolStripMenuItem; + private System.Windows.Forms.ToolStripMenuItem azonnaliÜzenetKüldéseToolStripMenuItem; + private System.Windows.Forms.ToolStripMenuItem egyébKüldéseToolStripMenuItem; + private System.Windows.Forms.ToolStripMenuItem emailKüldéseToolStripMenuItem; + private System.Windows.Forms.ToolStripMenuItem fájlKüldéseToolStripMenuItem1; + private System.Windows.Forms.ToolStripSeparator toolStripSeparator7; + private System.Windows.Forms.ToolStripMenuItem ismerősSzámitógépénekFelhivásaToolStripMenuItem; + private System.Windows.Forms.ToolStripMenuItem videóhivásInditásaToolStripMenuItem; + private System.Windows.Forms.ToolStripMenuItem onlineFájlokMegtekintéseToolStripMenuItem; + private System.Windows.Forms.ToolStripMenuItem közösJátékToolStripMenuItem; + private System.Windows.Forms.ToolStripMenuItem távsegitségKéréseToolStripMenuItem; + private System.Windows.Forms.ToolStripMenuItem eszközökToolStripMenuItem; + private System.Windows.Forms.ToolStripMenuItem mindigLegfelülToolStripMenuItem; + private System.Windows.Forms.ToolStripSeparator toolStripSeparator8; + private System.Windows.Forms.ToolStripMenuItem hangulatjelekToolStripMenuItem; + private System.Windows.Forms.ToolStripMenuItem megjelenitendőKépVáltásaToolStripMenuItem; + private System.Windows.Forms.ToolStripMenuItem háttérMódositásaToolStripMenuItem; + private System.Windows.Forms.ToolStripSeparator toolStripSeparator9; + private System.Windows.Forms.ToolStripMenuItem hangokÉsVideóBeállitásaToolStripMenuItem; + private System.Windows.Forms.ToolStripSeparator toolStripSeparator10; + private System.Windows.Forms.ToolStripMenuItem beállitásokToolStripMenuItem; + private System.Windows.Forms.ToolStripMenuItem súgóToolStripMenuItem; + private System.Windows.Forms.ToolStripMenuItem témakörökToolStripMenuItem; + private System.Windows.Forms.ToolStripSeparator toolStripSeparator11; + private System.Windows.Forms.ToolStripMenuItem aSzolgáltatásÁllapotsaToolStripMenuItem; + private System.Windows.Forms.ToolStripMenuItem adatvédelmiNyilatkozatToolStripMenuItem; + private System.Windows.Forms.ToolStripMenuItem használatiFeltételekToolStripMenuItem; + private System.Windows.Forms.ToolStripMenuItem visszaélésBejelentéseToolStripMenuItem; + private System.Windows.Forms.ToolStripSeparator toolStripSeparator12; + private System.Windows.Forms.ToolStripMenuItem segitsenAProgramTökéletesitésébenToolStripMenuItem; + private System.Windows.Forms.ToolStripSeparator toolStripSeparator13; + private System.Windows.Forms.ToolStripMenuItem névjegyToolStripMenuItem; + private System.Windows.Forms.Panel panel1; + private System.Windows.Forms.TextBox textBox1; + private System.Windows.Forms.Button button1; + private System.Windows.Forms.Panel panel2; + private System.Windows.Forms.ToolStripMenuItem toolStripMenuItem1; + } +} + diff --git a/Most Closed Beta/v3.0/MSGer.tk (C#)/Form1.cs b/Most Closed Beta/v3.0/MSGer.tk (C#)/Form1.cs new file mode 100644 index 0000000..64f2dd8 --- /dev/null +++ b/Most Closed Beta/v3.0/MSGer.tk (C#)/Form1.cs @@ -0,0 +1,149 @@ +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; +using System.Net; +using System.IO; + +namespace MSGer.tk +{ + public partial class MainForm : Form + { + private LoginForm LoginDialog; + public MainForm() + { + InitializeComponent(); + this.Hide(); + //(new LoginForm()).ShowDialog(); + LoginDialog = new LoginForm(); + LoginDialog.ShowDialog(); + //LoginForm.Closeable = true; //Akárhogy is áll le (ha X-szel nyomja ki, akkor is), bezárja teljesen + //Nézzük, sikerült-e + if (UserInfo.UserID == 0) + Close(); + this.Show(); + //----------------------------------------------------------------------- + HttpWebRequest httpWReq = + (HttpWebRequest)WebRequest.Create("http://msger.tk/client.php"); + + ASCIIEncoding encoding = new ASCIIEncoding(); + string postData = "uid=" + UserInfo.UserID; + postData += "&action=getlist"; + postData += "&key=cas1fe4a6feFEFEFE1616CE8099VFE1444cdasf48c1ase5dg"; + postData += "&code="+LoginForm.UserCode; //2014.02.13. + byte[] data = encoding.GetBytes(postData); + + httpWReq.Method = "POST"; + httpWReq.ContentType = "application/x-www-form-urlencoded"; + httpWReq.ContentLength = data.Length; + + using (Stream stream = httpWReq.GetRequestStream()) + { + stream.Write(data, 0, data.Length); + } + + //Lista betöltése folyamatban... + + HttpWebResponse response = (HttpWebResponse)httpWReq.GetResponse(); + + string responseString = new StreamReader(response.GetResponseStream()).ReadToEnd(); + + try + { + responseString = responseString.Remove(responseString.IndexOf('<')); + } + catch + { + } + + MessageBox.Show(responseString); + responseString = responseString.Remove(responseString.Length-3); //-1-gyel nem változik láthatóan (szókőz?) - 2014.02.18. + MessageBox.Show(responseString); + //----------------------------------------------------------------------- + //2014.02.13. - Kiváncsi vagyok, mit ir, hátha megtudom, mi a hiba --> Program: Uppercase - Weboldal: Lowercase + //MessageBox.Show(UserInfo.UserID + ""); + //MessageBox.Show(responseString); + //Application.Exit(); + + + string[] row = responseString.Split('-'); +// var listViewItem = new ListViewItem(row); + for (int x = 0; x < row.Length; x+=3) + { + string state = ""; + if (row[x + 2] == "1") + state = " (Elérhető)"; + if (row[x + 2] == "2") + state = " (Elfoglalt)"; + if (row[x + 2] == "3") + state = " (Nincs a gépnél)"; + var listViewItem = new ListViewItem(row[x]+state); +// MessageBox.Show("Item létrehozva. Hozzáadás..."); //A sok ellenőrzés itt volt, és közben pedig a PHP-ban volt a hiba + listViewItem.SubItems.Add(row[x + 1]); + if (Convert.ToInt32(row[x + 2]) != 0 && Convert.ToInt32(row[x + 2]) != 4) //2014.02.17. - Előtte: ==1 -- 2014.02.18. - !=4 + listViewItem.Group = listView1.Groups["listViewGroup1"]; + else + listViewItem.Group = listView1.Groups["listViewGroup2"]; + listView1.Items.Add(listViewItem); +// MessageBox.Show("Hozzáadva."); + + /*MessageBox.Show("Row len: " + row.Length); + MessageBox.Show("Row: " + row[x]); + MessageBox.Show("ResponseString: " + responseString);*/ +// MessageBox.Show("User ID: " + UserInfo.UserID); + //MessageBox.Show("Row[x]: " + row[x] + " Row[x+1]: " + row[x + 1] + " Row[x+2]: " + row[x + 2]); + this.Show(); +// MessageBox.Show("Stop! xD"); + if (x + 4 >= row.Length) +// MessageBox.Show("Túl sok"); + break; + } +// MessageBox.Show("ASD"); + } + + private void LogoutUser(object sender, EventArgs e) + { + this.Hide(); + UserInfo.UserID = 0; + LoginForm.LButtonText = "Bejelentkezés"; + LoginForm.PassText = ""; + this.Invoke(new LoginForm.MyDelegate(LoginDialog.SetLoginValues)); + LoginDialog.ShowDialog(); + //Nézzük, sikerült-e + if (UserInfo.UserID == 0) + Close(); + this.Show(); + } + + private void LoginNewUser(object sender, EventArgs e) + { + System.Diagnostics.Process.Start("MSGer.tk.exe"); + } + + private void SetOnlineState(object sender, EventArgs e) + { + //MessageBox.Show(sender.ToString()); - 2014.02.17. + int state = 0; + if (sender == elérhetőToolStripMenuItem) + state = 1; + if (sender == elfoglaltToolStripMenuItem) + state = 2; + if (sender == nincsAGépnélToolStripMenuItem) + state = 3; + if (sender == rejtveKapcsolódikToolStripMenuItem) + state = 4; + //HTTP + //Networking.SendRequest("setstate", state + ""); - Csináltam neki funkciót, ezért az if részhez felesleges új változó, berakom oda - 2014.02.18. 21:18 + + //MessageBox.Show(responseString); + //MessageBox.Show(responseString.Length + " vs " + "Success".Length); + if (Networking.SendRequest("setstate", state + "") != "Success") + MessageBox.Show("Hiba történt az állapot beállitása során."); //2014.02.17. + } + } +} diff --git a/Most Closed Beta/v3.0/MSGer.tk (C#)/Form1.resx b/Most Closed Beta/v3.0/MSGer.tk (C#)/Form1.resx new file mode 100644 index 0000000..235588a --- /dev/null +++ b/Most Closed Beta/v3.0/MSGer.tk (C#)/Form1.resx @@ -0,0 +1,126 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + text/microsoft-resx + + + 2.0 + + + System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + 17, 17 + + + 130, 17 + + \ No newline at end of file diff --git a/Most Closed Beta/v3.0/MSGer.tk (C#)/Form2.Designer.cs b/Most Closed Beta/v3.0/MSGer.tk (C#)/Form2.Designer.cs new file mode 100644 index 0000000..0044d34 --- /dev/null +++ b/Most Closed Beta/v3.0/MSGer.tk (C#)/Form2.Designer.cs @@ -0,0 +1,132 @@ +namespace MSGer.tk +{ + partial class LoginForm + { + /// + /// Required designer variable. + /// + private System.ComponentModel.IContainer components = null; + + /// + /// Clean up any resources being used. + /// + /// true if managed resources should be disposed; otherwise, false. + protected override void Dispose(bool disposing) + { + if (disposing && (components != null)) + { + components.Dispose(); + } + base.Dispose(disposing); + } + + #region Windows Form Designer generated code + + /// + /// Required method for Designer support - do not modify + /// the contents of this method with the code editor. + /// + private void InitializeComponent() + { + this.label1 = new System.Windows.Forms.Label(); + this.label2 = new System.Windows.Forms.Label(); + this.textBox1 = new System.Windows.Forms.TextBox(); + this.label3 = new System.Windows.Forms.Label(); + this.textBox2 = new System.Windows.Forms.TextBox(); + this.button1 = new System.Windows.Forms.Button(); + this.SuspendLayout(); + // + // label1 + // + this.label1.AutoSize = true; + this.label1.Font = new System.Drawing.Font("Microsoft Sans Serif", 21.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(238))); + this.label1.ForeColor = System.Drawing.Color.Blue; + this.label1.Location = new System.Drawing.Point(13, 212); + this.label1.Name = "label1"; + this.label1.Size = new System.Drawing.Size(197, 33); + this.label1.TabIndex = 0; + this.label1.Text = "Bejelentkezés"; + // + // label2 + // + this.label2.AutoSize = true; + this.label2.Font = new System.Drawing.Font("Microsoft Sans Serif", 14.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(238))); + this.label2.Location = new System.Drawing.Point(19, 282); + this.label2.Name = "label2"; + this.label2.Size = new System.Drawing.Size(63, 24); + this.label2.TabIndex = 1; + this.label2.Text = "E-mail"; + // + // textBox1 + // + this.textBox1.AcceptsReturn = true; + this.textBox1.AcceptsTab = true; + this.textBox1.CharacterCasing = System.Windows.Forms.CharacterCasing.Lower; + this.textBox1.Location = new System.Drawing.Point(88, 285); + this.textBox1.Name = "textBox1"; + this.textBox1.Size = new System.Drawing.Size(294, 20); + this.textBox1.TabIndex = 2; + // + // label3 + // + this.label3.AutoSize = true; + this.label3.Font = new System.Drawing.Font("Microsoft Sans Serif", 14.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(238))); + this.label3.Location = new System.Drawing.Point(19, 311); + this.label3.Name = "label3"; + this.label3.Size = new System.Drawing.Size(63, 24); + this.label3.TabIndex = 3; + this.label3.Text = "Jelszó"; + // + // textBox2 + // + this.textBox2.AcceptsReturn = true; + this.textBox2.AcceptsTab = true; + this.textBox2.Location = new System.Drawing.Point(179, 315); + this.textBox2.Name = "textBox2"; + this.textBox2.PasswordChar = '→'; + this.textBox2.Size = new System.Drawing.Size(203, 20); + this.textBox2.TabIndex = 4; + // + // button1 + // + this.button1.Location = new System.Drawing.Point(235, 358); + this.button1.Name = "button1"; + this.button1.Size = new System.Drawing.Size(147, 23); + this.button1.TabIndex = 5; + this.button1.Text = "Bejelentkezés"; + this.button1.UseVisualStyleBackColor = true; + this.button1.Click += new System.EventHandler(this.button1_Click); + // + // LoginForm + // + this.AcceptButton = this.button1; + this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F); + this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; + this.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(150)))), ((int)(((byte)(200))))); + this.ClientSize = new System.Drawing.Size(394, 471); + this.Controls.Add(this.button1); + this.Controls.Add(this.textBox2); + this.Controls.Add(this.label3); + this.Controls.Add(this.textBox1); + this.Controls.Add(this.label2); + this.Controls.Add(this.label1); + this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedDialog; + this.MaximizeBox = false; + this.Name = "LoginForm"; + this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen; + this.Text = "Bejelentkezés"; + this.ResumeLayout(false); + this.PerformLayout(); + + } + + #endregion + + private System.Windows.Forms.Label label1; + private System.Windows.Forms.Label label2; + private System.Windows.Forms.TextBox textBox1; + private System.Windows.Forms.Label label3; + private System.Windows.Forms.TextBox textBox2; + private System.Windows.Forms.Button button1; + } +} \ No newline at end of file diff --git a/Most Closed Beta/v3.0/MSGer.tk (C#)/Form2.cs b/Most Closed Beta/v3.0/MSGer.tk (C#)/Form2.cs new file mode 100644 index 0000000..76a6e57 --- /dev/null +++ b/Most Closed Beta/v3.0/MSGer.tk (C#)/Form2.cs @@ -0,0 +1,214 @@ +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; +using System.Net; +using System.IO; +using System.Security.Cryptography; +using System.Configuration; +using System.Threading; + +namespace MSGer.tk +{ + public partial class LoginForm : Form + { + public static string UserCode=""; //2014.02.13. + public static Thread LThread; //2014.02.14. + public LoginForm() + { + InitializeComponent(); + Thread.CurrentThread.Name = "Main Thread"; + + //LoginThread LoginT = new LoginThread(); //2014.02.14. - Csak szivás külön class-ba rakni + + textBox1.Text = Settings.Default.email; +// MessageBox.Show("Text: " + textBox1.Text); +// MessageBox.Show("Length: " + textBox1.TextLength); + if (textBox1.TextLength != 0) + { +// MessageBox.Show("A hossz nem nulla"); + textBox2.Focus(); + } + } + private void button1_Click(object sender, EventArgs e) + { + //Give required info to the LoginThread - 2014.02.13. - http://msdn.microsoft.com/en-us/library/aa645740(v=vs.71).aspx + /*LoginThread.LoginButton = button1; - In that tutorial you create a new class... It's not necessary + LoginThread.UserText = textBox1; + LoginThread.PassText = textBox2;*/ + + if(button1.Text=="Mégse") + { + StopLogin = true; + button1.Enabled = false; + int x = 0; + while (LThread.IsAlive) + { + if (x == 5000) + LThread.Abort(); + else + x++; + } + StopLogin = false; + button1.Text = "Bejelentkezés"; + button1.Enabled = true; + } + else + { + // Create the thread object, passing in the Alpha.Beta method + // via a ThreadStart delegate. This does not start the thread. + LThread = new Thread(new ThreadStart(LoginUser)); //2014.02.14. - LoginT.LoginUser + LThread.Name = "Login Thread"; + + // Start the thread + LThread.Start(); + + // Spin for a while waiting for the started thread to become + // alive: + while (!LThread.IsAlive) ; + + // Put the Main thread to sleep for 1 millisecond to allow oThread + // to do some work: + Thread.Sleep(1); + } + } + public delegate int MyDelegate(); + public int SetLoginValues() + { + //button1.Enabled = LButtonEnabled; + if (UserText.Length == 0) + UserText = textBox1.Text; + else + textBox1.Text = UserText; + + if (PassText.Length == 0) + PassText = textBox2.Text; + else + textBox2.Text = PassText; + + button1.Text = LButtonText; + if (Closeable) + { + Closeable = false; + Close(); + //Dispose(); + } + return 0; + } + /*} + public class LoginThread - 2014.02.14. + {*/ + /*public static Button LoginButton; + public static TextBox UserText; + public static TextBox PassText;*/ + //public static bool LButtonEnabled = true; //2014.02.14. + public static string UserText = ""; //2014.02.14. + public static string PassText = ""; + public static string LButtonText = ""; + public static bool Closeable = false; + public static bool StopLogin = false; + + //private EventWaitHandle wh = new AutoResetEvent(false); + + public void LoginUser() //2014.02.13. - Előtte a button1_Click-ben volt + { + //LButtonEnabled = false; + LButtonText = "Mégse"; + this.Invoke(new MyDelegate(SetLoginValues)); + + HttpWebRequest httpWReq = + (HttpWebRequest)WebRequest.Create("http://msger.tk/client.php"); + + ASCIIEncoding encoding = new ASCIIEncoding(); + string postData = "username=" + UserText; + postData += "&password=" + CalculateMD5Hash(PassText); + postData += "&key=cas1fe4a6feFEFEFE1616CE8099VFE1444cdasf48c1ase5dg"; + byte[] data = encoding.GetBytes(postData); + + httpWReq.Method = "POST"; + httpWReq.ContentType = "application/x-www-form-urlencoded"; + httpWReq.ContentLength = data.Length; + + if (StopLogin) + return; + + try //2014.02.15. 0:46 - Ha itt áll meg, hibát irhat + { + using (Stream stream = httpWReq.GetRequestStream()) + { + stream.Write(data, 0, data.Length); + } + } + catch + { + } + if (StopLogin) + return; + + //Bejelentkezés folyamatban... + + HttpWebResponse response = (HttpWebResponse)httpWReq.GetResponse(); + if (StopLogin) + return; + + string responseString = new StreamReader(response.GetResponseStream()).ReadToEnd(); + + try + { + responseString = responseString.Remove(responseString.IndexOf('<')); + } + catch + { + } + if (StopLogin) + return; + + if (String.Compare(responseString, "Fail") == 0) + { + //button1.Enabled = true; + LButtonText = "Bejelentkezés"; + this.Invoke(new MyDelegate(SetLoginValues)); + MessageBox.Show("Hiba: Helytelen felhasználónév, vagy jelszó.", "Hiba"); + } + else + { + //Elmenti az E-mail-t + Settings.Default.email = UserText; + // MessageBox.Show("TextBox: " + textBox1.Text); + // MessageBox.Show("Settings: " + Settings.Default.email); + Settings.Default.Save(); + //Bejelentkezés + UserInfo.UserID = Convert.ToInt32(responseString); + //MessageBox.Show(CalculateMD5Hash(textBox2.Text)); //2014.02.13. - Teszt + LoginForm.UserCode = CalculateMD5Hash(CalculateMD5Hash(PassText).ToLower() + " Some text because why not " + UserInfo.UserID).ToLower(); //2014.02.13. + //MessageBox.Show(UserCode); + Closeable = true; + this.Invoke(new MyDelegate(SetLoginValues)); + } + } + public string CalculateMD5Hash(string input) + { + // step 1, calculate MD5 hash from input + MD5 md5 = System.Security.Cryptography.MD5.Create(); + byte[] inputBytes = System.Text.Encoding.ASCII.GetBytes(input); + byte[] hash = md5.ComputeHash(inputBytes); + + // step 2, convert byte array to hex string + StringBuilder sb = new StringBuilder(); + for (int i = 0; i < hash.Length; i++) + { + sb.Append(hash[i].ToString("X2")); + } + return sb.ToString(); + } + /*public void StartWorking() + { + wh.Set(); + }*/ + } +} diff --git a/Most Closed Beta/v3.0/MSGer.tk (C#)/Form2.resx b/Most Closed Beta/v3.0/MSGer.tk (C#)/Form2.resx new file mode 100644 index 0000000..29dcb1b --- /dev/null +++ b/Most Closed Beta/v3.0/MSGer.tk (C#)/Form2.resx @@ -0,0 +1,120 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + text/microsoft-resx + + + 2.0 + + + System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + \ No newline at end of file diff --git a/Most Closed Beta/v3.0/MSGer.tk (C#)/MSGer.tk.csproj b/Most Closed Beta/v3.0/MSGer.tk (C#)/MSGer.tk.csproj new file mode 100644 index 0000000..d5d9503 --- /dev/null +++ b/Most Closed Beta/v3.0/MSGer.tk (C#)/MSGer.tk.csproj @@ -0,0 +1,129 @@ + + + + + Debug + AnyCPU + {F60940C0-05FC-46C0-948E-6DBECBBE38DD} + WinExe + Properties + MSGer.tk + MSGer.tk + v4.5 + 512 + + + AnyCPU + true + full + false + bin\Debug\ + DEBUG;TRACE + prompt + 4 + + + AnyCPU + pdbonly + true + bin\Release\ + TRACE + prompt + 4 + + + + + + + + + + + + + + + + Form + + + Form1.cs + + + Form + + + Form2.cs + + + + + True + True + Resources.resx + + + + True + True + Settings.settings + + + + Form1.cs + + + Form2.cs + + + ResXFileCodeGenerator + Resources.Designer.cs + + + SettingsSingleFileGenerator + Settings.Designer.cs + + + True + Settings.settings + True + + + SettingsSingleFileGenerator + Settings.Designer.cs + + + + + + + + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/Most Closed Beta/v3.0/MSGer.tk (C#)/MSGer.tk.sln b/Most Closed Beta/v3.0/MSGer.tk (C#)/MSGer.tk.sln new file mode 100644 index 0000000..8157d29 --- /dev/null +++ b/Most Closed Beta/v3.0/MSGer.tk (C#)/MSGer.tk.sln @@ -0,0 +1,20 @@ + +Microsoft Visual Studio Solution File, Format Version 12.00 +# Visual Studio Express 2012 for Windows Desktop +Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "MSGer.tk", "MSGer.tk.csproj", "{F60940C0-05FC-46C0-948E-6DBECBBE38DD}" +EndProject +Global + GlobalSection(SolutionConfigurationPlatforms) = preSolution + Debug|Any CPU = Debug|Any CPU + Release|Any CPU = Release|Any CPU + EndGlobalSection + GlobalSection(ProjectConfigurationPlatforms) = postSolution + {F60940C0-05FC-46C0-948E-6DBECBBE38DD}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {F60940C0-05FC-46C0-948E-6DBECBBE38DD}.Debug|Any CPU.Build.0 = Debug|Any CPU + {F60940C0-05FC-46C0-948E-6DBECBBE38DD}.Release|Any CPU.ActiveCfg = Release|Any CPU + {F60940C0-05FC-46C0-948E-6DBECBBE38DD}.Release|Any CPU.Build.0 = Release|Any CPU + EndGlobalSection + GlobalSection(SolutionProperties) = preSolution + HideSolutionNode = FALSE + EndGlobalSection +EndGlobal diff --git a/Most Closed Beta/v3.0/MSGer.tk (C#)/MSGer.tk.v11.suo b/Most Closed Beta/v3.0/MSGer.tk (C#)/MSGer.tk.v11.suo new file mode 100644 index 0000000..88974bf Binary files /dev/null and b/Most Closed Beta/v3.0/MSGer.tk (C#)/MSGer.tk.v11.suo differ diff --git a/Most Closed Beta/v3.0/MSGer.tk (C#)/MSGer.tk.v12.suo b/Most Closed Beta/v3.0/MSGer.tk (C#)/MSGer.tk.v12.suo new file mode 100644 index 0000000..cd1e0bb Binary files /dev/null and b/Most Closed Beta/v3.0/MSGer.tk (C#)/MSGer.tk.v12.suo differ diff --git a/Most Closed Beta/v3.0/MSGer.tk (C#)/Program.cs b/Most Closed Beta/v3.0/MSGer.tk (C#)/Program.cs new file mode 100644 index 0000000..65775ed --- /dev/null +++ b/Most Closed Beta/v3.0/MSGer.tk (C#)/Program.cs @@ -0,0 +1,74 @@ +using System; +using System.Collections.Generic; +using System.IO; +using System.Linq; +using System.Net; +using System.Text; +using System.Threading.Tasks; +using System.Windows.Forms; + +namespace MSGer.tk +{ + static class Program + { + /// + /// The main entry point for the application. + /// + [STAThread] + static void Main() + { + Application.EnableVisualStyles(); + Application.SetCompatibleTextRenderingDefault(false); + try + { + Application.Run(new MainForm()); + } + catch + { + } + } + } + static class Networking + { + public static string SendRequest(string action, string data) //2014.02.18. + { + HttpWebRequest httpWReq = + (HttpWebRequest)WebRequest.Create("http://msger.tk/client.php"); + + ASCIIEncoding encoding = new ASCIIEncoding(); + string postData = "uid=" + UserInfo.UserID; + postData += "&action=" + action; + postData += "&key=cas1fe4a6feFEFEFE1616CE8099VFE1444cdasf48c1ase5dg"; + postData += "&code=" + LoginForm.UserCode; //2014.02.13. + postData += "&data=" + data; //2014.02.13. + byte[] datax = encoding.GetBytes(postData); + + httpWReq.Method = "POST"; + httpWReq.ContentType = "application/x-www-form-urlencoded"; + httpWReq.ContentLength = datax.Length; + + using (Stream stream = httpWReq.GetRequestStream()) + { + stream.Write(datax, 0, datax.Length); + } + + //Lista betöltése folyamatban... + + HttpWebResponse response = (HttpWebResponse)httpWReq.GetResponse(); + + string responseString = new StreamReader(response.GetResponseStream()).ReadToEnd(); + + try + { + responseString = responseString.Remove(responseString.IndexOf('<')); + } + catch + { + } + + responseString = responseString.Remove(responseString.Length - 2); //A -1 nem elég + + return responseString; + } + } +} diff --git a/Most Closed Beta/v3.0/MSGer.tk (C#)/Properties/AssemblyInfo.cs b/Most Closed Beta/v3.0/MSGer.tk (C#)/Properties/AssemblyInfo.cs new file mode 100644 index 0000000..044ccb6 --- /dev/null +++ b/Most Closed Beta/v3.0/MSGer.tk (C#)/Properties/AssemblyInfo.cs @@ -0,0 +1,36 @@ +using System.Reflection; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +// General Information about an assembly is controlled through the following +// set of attributes. Change these attribute values to modify the information +// associated with an assembly. +[assembly: AssemblyTitle("MSGer.tk")] +[assembly: AssemblyDescription("")] +[assembly: AssemblyConfiguration("")] +[assembly: AssemblyCompany("")] +[assembly: AssemblyProduct("MSGer.tk")] +[assembly: AssemblyCopyright("Copyright © 2013")] +[assembly: AssemblyTrademark("")] +[assembly: AssemblyCulture("")] + +// Setting ComVisible to false makes the types in this assembly not visible +// to COM components. If you need to access a type in this assembly from +// COM, set the ComVisible attribute to true on that type. +[assembly: ComVisible(false)] + +// The following GUID is for the ID of the typelib if this project is exposed to COM +[assembly: Guid("d2fdb449-71d7-425e-942b-516005de4cc8")] + +// Version information for an assembly consists of the following four values: +// +// Major Version +// Minor Version +// Build Number +// Revision +// +// You can specify all the values or you can default the Build and Revision Numbers +// by using the '*' as shown below: +// [assembly: AssemblyVersion("1.0.*")] +[assembly: AssemblyVersion("1.0.0.0")] +[assembly: AssemblyFileVersion("1.0.0.0")] diff --git a/Most Closed Beta/v3.0/MSGer.tk (C#)/Properties/Resources.Designer.cs b/Most Closed Beta/v3.0/MSGer.tk (C#)/Properties/Resources.Designer.cs new file mode 100644 index 0000000..f78e96f --- /dev/null +++ b/Most Closed Beta/v3.0/MSGer.tk (C#)/Properties/Resources.Designer.cs @@ -0,0 +1,93 @@ +//------------------------------------------------------------------------------ +// +// 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. +// +//------------------------------------------------------------------------------ + +namespace MSGer.tk.Properties { + using System; + + + /// + /// A strongly-typed resource class, for looking up localized strings, etc. + /// + // 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 Resources { + + private static global::System.Resources.ResourceManager resourceMan; + + private static global::System.Globalization.CultureInfo resourceCulture; + + [global::System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1811:AvoidUncalledPrivateCode")] + internal Resources() { + } + + /// + /// Returns the cached ResourceManager instance used by this class. + /// + [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("MSGer.tk.Properties.Resources", typeof(Resources).Assembly); + resourceMan = temp; + } + return resourceMan; + } + } + + /// + /// Overrides the current thread's CurrentUICulture property for all + /// resource lookups using this strongly typed resource class. + /// + [global::System.ComponentModel.EditorBrowsableAttribute(global::System.ComponentModel.EditorBrowsableState.Advanced)] + internal static global::System.Globalization.CultureInfo Culture { + get { + return resourceCulture; + } + set { + resourceCulture = value; + } + } + + /// + /// Looks up a localized resource of type System.Drawing.Bitmap. + /// + internal static System.Drawing.Bitmap Blue_Wallpaper_HD_2 { + get { + object obj = ResourceManager.GetObject("Blue-Wallpaper-HD 2", resourceCulture); + return ((System.Drawing.Bitmap)(obj)); + } + } + + /// + /// Looks up a localized resource of type System.Drawing.Bitmap. + /// + internal static System.Drawing.Bitmap Keresősáv { + get { + object obj = ResourceManager.GetObject("Keresősáv", resourceCulture); + return ((System.Drawing.Bitmap)(obj)); + } + } + + /// + /// Looks up a localized resource of type System.Drawing.Bitmap. + /// + internal static System.Drawing.Bitmap Menü_2 { + get { + object obj = ResourceManager.GetObject("Menü 2", resourceCulture); + return ((System.Drawing.Bitmap)(obj)); + } + } + } +} diff --git a/Most Closed Beta/v3.0/MSGer.tk (C#)/Properties/Resources.resx b/Most Closed Beta/v3.0/MSGer.tk (C#)/Properties/Resources.resx new file mode 100644 index 0000000..3630d9d --- /dev/null +++ b/Most Closed Beta/v3.0/MSGer.tk (C#)/Properties/Resources.resx @@ -0,0 +1,130 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + text/microsoft-resx + + + 2.0 + + + System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + + ..\Resources\Blue-Wallpaper-HD 21.jpg;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a + + + ..\Resources\Menü 22.jpg;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a + + + ..\Resources\Keresősáv.jpg;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a + + \ No newline at end of file diff --git a/Most Closed Beta/v3.0/MSGer.tk (C#)/Properties/Settings.Designer.cs b/Most Closed Beta/v3.0/MSGer.tk (C#)/Properties/Settings.Designer.cs new file mode 100644 index 0000000..c795cd2 --- /dev/null +++ b/Most Closed Beta/v3.0/MSGer.tk (C#)/Properties/Settings.Designer.cs @@ -0,0 +1,30 @@ +//------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// Runtime Version:4.0.30319.17929 +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +//------------------------------------------------------------------------------ + +namespace MSGer.tk.Properties +{ + + + [global::System.Runtime.CompilerServices.CompilerGeneratedAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.VisualStudio.Editors.SettingsDesigner.SettingsSingleFileGenerator", "11.0.0.0")] + internal sealed partial class Settings : global::System.Configuration.ApplicationSettingsBase + { + + private static Settings defaultInstance = ((Settings)(global::System.Configuration.ApplicationSettingsBase.Synchronized(new Settings()))); + + public static Settings Default + { + get + { + return defaultInstance; + } + } + } +} diff --git a/Most Closed Beta/v3.0/MSGer.tk (C#)/Properties/Settings.settings b/Most Closed Beta/v3.0/MSGer.tk (C#)/Properties/Settings.settings new file mode 100644 index 0000000..abf36c5 --- /dev/null +++ b/Most Closed Beta/v3.0/MSGer.tk (C#)/Properties/Settings.settings @@ -0,0 +1,7 @@ + + + + + + + diff --git a/Most Closed Beta/v3.0/MSGer.tk (C#)/Resources/Blue-Wallpaper-HD 2.jpg b/Most Closed Beta/v3.0/MSGer.tk (C#)/Resources/Blue-Wallpaper-HD 2.jpg new file mode 100644 index 0000000..2cf5782 Binary files /dev/null and b/Most Closed Beta/v3.0/MSGer.tk (C#)/Resources/Blue-Wallpaper-HD 2.jpg differ diff --git a/Most Closed Beta/v3.0/MSGer.tk (C#)/Resources/Blue-Wallpaper-HD 21.jpg b/Most Closed Beta/v3.0/MSGer.tk (C#)/Resources/Blue-Wallpaper-HD 21.jpg new file mode 100644 index 0000000..2cf5782 Binary files /dev/null and b/Most Closed Beta/v3.0/MSGer.tk (C#)/Resources/Blue-Wallpaper-HD 21.jpg differ diff --git a/Most Closed Beta/v3.0/MSGer.tk (C#)/Resources/Blue-Wallpaper-HD.jpg b/Most Closed Beta/v3.0/MSGer.tk (C#)/Resources/Blue-Wallpaper-HD.jpg new file mode 100644 index 0000000..38e9cbc Binary files /dev/null and b/Most Closed Beta/v3.0/MSGer.tk (C#)/Resources/Blue-Wallpaper-HD.jpg differ diff --git a/Most Closed Beta/v3.0/MSGer.tk (C#)/Resources/Keresősáv.jpg b/Most Closed Beta/v3.0/MSGer.tk (C#)/Resources/Keresősáv.jpg new file mode 100644 index 0000000..f54cf78 Binary files /dev/null and b/Most Closed Beta/v3.0/MSGer.tk (C#)/Resources/Keresősáv.jpg differ diff --git a/Most Closed Beta/v3.0/MSGer.tk (C#)/Resources/Menü 2.jpg b/Most Closed Beta/v3.0/MSGer.tk (C#)/Resources/Menü 2.jpg new file mode 100644 index 0000000..d4b1794 Binary files /dev/null and b/Most Closed Beta/v3.0/MSGer.tk (C#)/Resources/Menü 2.jpg differ diff --git a/Most Closed Beta/v3.0/MSGer.tk (C#)/Resources/Menü 21.jpg b/Most Closed Beta/v3.0/MSGer.tk (C#)/Resources/Menü 21.jpg new file mode 100644 index 0000000..d4b1794 Binary files /dev/null and b/Most Closed Beta/v3.0/MSGer.tk (C#)/Resources/Menü 21.jpg differ diff --git a/Most Closed Beta/v3.0/MSGer.tk (C#)/Resources/Menü 22.jpg b/Most Closed Beta/v3.0/MSGer.tk (C#)/Resources/Menü 22.jpg new file mode 100644 index 0000000..d4b1794 Binary files /dev/null and b/Most Closed Beta/v3.0/MSGer.tk (C#)/Resources/Menü 22.jpg differ diff --git a/Most Closed Beta/v3.0/MSGer.tk (C#)/Resources/Menü 3.jpg b/Most Closed Beta/v3.0/MSGer.tk (C#)/Resources/Menü 3.jpg new file mode 100644 index 0000000..a021f2f Binary files /dev/null and b/Most Closed Beta/v3.0/MSGer.tk (C#)/Resources/Menü 3.jpg differ diff --git a/Most Closed Beta/v3.0/MSGer.tk (C#)/Settings.Designer.cs b/Most Closed Beta/v3.0/MSGer.tk (C#)/Settings.Designer.cs new file mode 100644 index 0000000..d412bd3 --- /dev/null +++ b/Most Closed Beta/v3.0/MSGer.tk (C#)/Settings.Designer.cs @@ -0,0 +1,38 @@ +//------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// Runtime Version:4.0.30319.17929 +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +//------------------------------------------------------------------------------ + +namespace MSGer.tk { + + + [global::System.Runtime.CompilerServices.CompilerGeneratedAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.VisualStudio.Editors.SettingsDesigner.SettingsSingleFileGenerator", "11.0.0.0")] + internal sealed partial class Settings : global::System.Configuration.ApplicationSettingsBase { + + private static Settings defaultInstance = ((Settings)(global::System.Configuration.ApplicationSettingsBase.Synchronized(new Settings()))); + + public static Settings Default { + get { + return defaultInstance; + } + } + + [global::System.Configuration.UserScopedSettingAttribute()] + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.Configuration.DefaultSettingValueAttribute("")] + public string email { + get { + return ((string)(this["email"])); + } + set { + this["email"] = value; + } + } + } +} diff --git a/Most Closed Beta/v3.0/MSGer.tk (C#)/Settings.cs b/Most Closed Beta/v3.0/MSGer.tk (C#)/Settings.cs new file mode 100644 index 0000000..2cae8b2 --- /dev/null +++ b/Most Closed Beta/v3.0/MSGer.tk (C#)/Settings.cs @@ -0,0 +1,28 @@ +namespace MSGer.tk { + + + // This class allows you to handle specific events on the settings class: + // The SettingChanging event is raised before a setting's value is changed. + // The PropertyChanged event is raised after a setting's value is changed. + // The SettingsLoaded event is raised after the setting values are loaded. + // The SettingsSaving event is raised before the setting values are saved. + internal sealed partial class Settings { + + public Settings() { + // // To add event handlers for saving and changing settings, uncomment the lines below: + // + // this.SettingChanging += this.SettingChangingEventHandler; + // + // this.SettingsSaving += this.SettingsSavingEventHandler; + // + } + + private void SettingChangingEventHandler(object sender, System.Configuration.SettingChangingEventArgs e) { + // Add code to handle the SettingChangingEvent event here. + } + + private void SettingsSavingEventHandler(object sender, System.ComponentModel.CancelEventArgs e) { + // Add code to handle the SettingsSaving event here. + } + } +} diff --git a/Most Closed Beta/v3.0/MSGer.tk (C#)/Settings.settings b/Most Closed Beta/v3.0/MSGer.tk (C#)/Settings.settings new file mode 100644 index 0000000..b7c1c53 --- /dev/null +++ b/Most Closed Beta/v3.0/MSGer.tk (C#)/Settings.settings @@ -0,0 +1,9 @@ + + + + + + + + + \ No newline at end of file diff --git a/Most Closed Beta/v3.0/MSGer.tk (C#)/UserInfo.cs b/Most Closed Beta/v3.0/MSGer.tk (C#)/UserInfo.cs new file mode 100644 index 0000000..b567f76 --- /dev/null +++ b/Most Closed Beta/v3.0/MSGer.tk (C#)/UserInfo.cs @@ -0,0 +1,13 @@ +using System; +using System.Collections.Generic; +using System.Linq; +using System.Text; +using System.Threading.Tasks; + +namespace MSGer.tk +{ + class UserInfo + { + public static int UserID = 0; + } +} diff --git a/Most Closed Beta/v3.0/MSGer.tk (C#)/bin/Debug/MSGer.tk.exe b/Most Closed Beta/v3.0/MSGer.tk (C#)/bin/Debug/MSGer.tk.exe new file mode 100644 index 0000000..bc434fb Binary files /dev/null and b/Most Closed Beta/v3.0/MSGer.tk (C#)/bin/Debug/MSGer.tk.exe differ diff --git a/Most Closed Beta/v3.0/MSGer.tk (C#)/bin/Debug/MSGer.tk.exe.config b/Most Closed Beta/v3.0/MSGer.tk (C#)/bin/Debug/MSGer.tk.exe.config new file mode 100644 index 0000000..01566ac --- /dev/null +++ b/Most Closed Beta/v3.0/MSGer.tk (C#)/bin/Debug/MSGer.tk.exe.config @@ -0,0 +1,18 @@ + + + + +
+ + + + + + + + + + + + + \ No newline at end of file diff --git a/Most Closed Beta/v3.0/MSGer.tk (C#)/bin/Debug/MSGer.tk.pdb b/Most Closed Beta/v3.0/MSGer.tk (C#)/bin/Debug/MSGer.tk.pdb new file mode 100644 index 0000000..4195655 Binary files /dev/null and b/Most Closed Beta/v3.0/MSGer.tk (C#)/bin/Debug/MSGer.tk.pdb differ diff --git a/Most Closed Beta/v3.0/MSGer.tk (C#)/bin/Debug/MSGer.tk.vshost.exe b/Most Closed Beta/v3.0/MSGer.tk (C#)/bin/Debug/MSGer.tk.vshost.exe new file mode 100644 index 0000000..c0dfecc Binary files /dev/null and b/Most Closed Beta/v3.0/MSGer.tk (C#)/bin/Debug/MSGer.tk.vshost.exe differ diff --git a/Most Closed Beta/v3.0/MSGer.tk (C#)/bin/Debug/MSGer.tk.vshost.exe.config b/Most Closed Beta/v3.0/MSGer.tk (C#)/bin/Debug/MSGer.tk.vshost.exe.config new file mode 100644 index 0000000..01566ac --- /dev/null +++ b/Most Closed Beta/v3.0/MSGer.tk (C#)/bin/Debug/MSGer.tk.vshost.exe.config @@ -0,0 +1,18 @@ + + + + +
+ + + + + + + + + + + + + \ No newline at end of file diff --git a/Most Closed Beta/v3.0/MSGer.tk (C#)/bin/Debug/MSGer.tk.vshost.exe.manifest b/Most Closed Beta/v3.0/MSGer.tk (C#)/bin/Debug/MSGer.tk.vshost.exe.manifest new file mode 100644 index 0000000..f96b1d6 --- /dev/null +++ b/Most Closed Beta/v3.0/MSGer.tk (C#)/bin/Debug/MSGer.tk.vshost.exe.manifest @@ -0,0 +1,11 @@ + + + + + + + + + + + diff --git a/Most Closed Beta/v3.0/MSGer.tk (C#)/bin/Release/MSGer.tk.exe b/Most Closed Beta/v3.0/MSGer.tk (C#)/bin/Release/MSGer.tk.exe new file mode 100644 index 0000000..ba5712d Binary files /dev/null and b/Most Closed Beta/v3.0/MSGer.tk (C#)/bin/Release/MSGer.tk.exe differ diff --git a/Most Closed Beta/v3.0/MSGer.tk (C#)/bin/Release/MSGer.tk.exe.config b/Most Closed Beta/v3.0/MSGer.tk (C#)/bin/Release/MSGer.tk.exe.config new file mode 100644 index 0000000..01566ac --- /dev/null +++ b/Most Closed Beta/v3.0/MSGer.tk (C#)/bin/Release/MSGer.tk.exe.config @@ -0,0 +1,18 @@ + + + + +
+ + + + + + + + + + + + + \ No newline at end of file diff --git a/Most Closed Beta/v3.0/MSGer.tk (C#)/bin/Release/MSGer.tk.pdb b/Most Closed Beta/v3.0/MSGer.tk (C#)/bin/Release/MSGer.tk.pdb new file mode 100644 index 0000000..0f86b2a Binary files /dev/null and b/Most Closed Beta/v3.0/MSGer.tk (C#)/bin/Release/MSGer.tk.pdb differ diff --git a/Most Closed Beta/v3.0/MSGer.tk (C#)/bin/Release/MSGer.tk.vshost.exe b/Most Closed Beta/v3.0/MSGer.tk (C#)/bin/Release/MSGer.tk.vshost.exe new file mode 100644 index 0000000..8c84517 Binary files /dev/null and b/Most Closed Beta/v3.0/MSGer.tk (C#)/bin/Release/MSGer.tk.vshost.exe differ diff --git a/Most Closed Beta/v3.0/MSGer.tk (C#)/bin/Release/MSGer.tk.vshost.exe.config b/Most Closed Beta/v3.0/MSGer.tk (C#)/bin/Release/MSGer.tk.vshost.exe.config new file mode 100644 index 0000000..01566ac --- /dev/null +++ b/Most Closed Beta/v3.0/MSGer.tk (C#)/bin/Release/MSGer.tk.vshost.exe.config @@ -0,0 +1,18 @@ + + + + +
+ + + + + + + + + + + + + \ No newline at end of file diff --git a/Most Closed Beta/v3.0/MSGer.tk (C#)/bin/Release/MSGer.tk.vshost.exe.manifest b/Most Closed Beta/v3.0/MSGer.tk (C#)/bin/Release/MSGer.tk.vshost.exe.manifest new file mode 100644 index 0000000..f96b1d6 --- /dev/null +++ b/Most Closed Beta/v3.0/MSGer.tk (C#)/bin/Release/MSGer.tk.vshost.exe.manifest @@ -0,0 +1,11 @@ + + + + + + + + + + + diff --git a/Most Closed Beta/v3.0/MSGer.tk (C#)/obj/Debug/DesignTimeResolveAssemblyReferences.cache b/Most Closed Beta/v3.0/MSGer.tk (C#)/obj/Debug/DesignTimeResolveAssemblyReferences.cache new file mode 100644 index 0000000..a11f25f Binary files /dev/null and b/Most Closed Beta/v3.0/MSGer.tk (C#)/obj/Debug/DesignTimeResolveAssemblyReferences.cache differ diff --git a/Most Closed Beta/v3.0/MSGer.tk (C#)/obj/Debug/DesignTimeResolveAssemblyReferencesInput.cache b/Most Closed Beta/v3.0/MSGer.tk (C#)/obj/Debug/DesignTimeResolveAssemblyReferencesInput.cache new file mode 100644 index 0000000..b97c32c Binary files /dev/null and b/Most Closed Beta/v3.0/MSGer.tk (C#)/obj/Debug/DesignTimeResolveAssemblyReferencesInput.cache differ diff --git a/Most Closed Beta/v3.0/MSGer.tk (C#)/obj/Debug/MSGer.tk.LoginForm.resources b/Most Closed Beta/v3.0/MSGer.tk (C#)/obj/Debug/MSGer.tk.LoginForm.resources new file mode 100644 index 0000000..6c05a97 Binary files /dev/null and b/Most Closed Beta/v3.0/MSGer.tk (C#)/obj/Debug/MSGer.tk.LoginForm.resources differ diff --git a/Most Closed Beta/v3.0/MSGer.tk (C#)/obj/Debug/MSGer.tk.MainForm.resources b/Most Closed Beta/v3.0/MSGer.tk (C#)/obj/Debug/MSGer.tk.MainForm.resources new file mode 100644 index 0000000..6c05a97 Binary files /dev/null and b/Most Closed Beta/v3.0/MSGer.tk (C#)/obj/Debug/MSGer.tk.MainForm.resources differ diff --git a/Most Closed Beta/v3.0/MSGer.tk (C#)/obj/Debug/MSGer.tk.Properties.Resources.resources b/Most Closed Beta/v3.0/MSGer.tk (C#)/obj/Debug/MSGer.tk.Properties.Resources.resources new file mode 100644 index 0000000..2c97ae5 Binary files /dev/null and b/Most Closed Beta/v3.0/MSGer.tk (C#)/obj/Debug/MSGer.tk.Properties.Resources.resources differ diff --git a/Most Closed Beta/v3.0/MSGer.tk (C#)/obj/Debug/MSGer.tk.csproj.FileListAbsolute.txt b/Most Closed Beta/v3.0/MSGer.tk (C#)/obj/Debug/MSGer.tk.csproj.FileListAbsolute.txt new file mode 100644 index 0000000..af57c34 --- /dev/null +++ b/Most Closed Beta/v3.0/MSGer.tk (C#)/obj/Debug/MSGer.tk.csproj.FileListAbsolute.txt @@ -0,0 +1,20 @@ +D:\Z - Norbi cucca\0 Projektek\MSGer.tk\MSGer.tk\bin\Debug\MSGer.tk.exe.config +D:\Z - Norbi cucca\0 Projektek\MSGer.tk\MSGer.tk\bin\Debug\MSGer.tk.exe +D:\Z - Norbi cucca\0 Projektek\MSGer.tk\MSGer.tk\bin\Debug\MSGer.tk.pdb +D:\Z - Norbi cucca\0 Projektek\MSGer.tk\MSGer.tk\obj\Debug\MSGer.tk.MainForm.resources +D:\Z - Norbi cucca\0 Projektek\MSGer.tk\MSGer.tk\obj\Debug\MSGer.tk.Properties.Resources.resources +D:\Z - Norbi cucca\0 Projektek\MSGer.tk\MSGer.tk\obj\Debug\MSGer.tk.csproj.GenerateResource.Cache +D:\Z - Norbi cucca\0 Projektek\MSGer.tk\MSGer.tk\obj\Debug\MSGer.tk.exe +D:\Z - Norbi cucca\0 Projektek\MSGer.tk\MSGer.tk\obj\Debug\MSGer.tk.pdb +D:\Z - Norbi cucca\0 Projektek\MSGer.tk\MSGer.tk\obj\Debug\MSGer.tk.LoginForm.resources +D:\Z - Norbi cucca\0 Projektek\MSGer.tk\MSGer.tk\obj\Debug\MSGer.tk.csprojResolveAssemblyReference.cache +D:\Z - Norbi cucca\0 Projektek\MSGer.tk\MSGer.tk (C#)\bin\Debug\MSGer.tk.exe.config +D:\Z - Norbi cucca\0 Projektek\MSGer.tk\MSGer.tk (C#)\obj\Debug\MSGer.tk.exe +D:\Z - Norbi cucca\0 Projektek\MSGer.tk\MSGer.tk (C#)\obj\Debug\MSGer.tk.pdb +D:\Z - Norbi cucca\0 Projektek\MSGer.tk\MSGer.tk (C#)\bin\Debug\MSGer.tk.exe +D:\Z - Norbi cucca\0 Projektek\MSGer.tk\MSGer.tk (C#)\bin\Debug\MSGer.tk.pdb +D:\Z - Norbi cucca\0 Projektek\MSGer.tk\MSGer.tk (C#)\obj\Debug\MSGer.tk.csprojResolveAssemblyReference.cache +D:\Z - Norbi cucca\0 Projektek\MSGer.tk\MSGer.tk (C#)\obj\Debug\MSGer.tk.MainForm.resources +D:\Z - Norbi cucca\0 Projektek\MSGer.tk\MSGer.tk (C#)\obj\Debug\MSGer.tk.LoginForm.resources +D:\Z - Norbi cucca\0 Projektek\MSGer.tk\MSGer.tk (C#)\obj\Debug\MSGer.tk.Properties.Resources.resources +D:\Z - Norbi cucca\0 Projektek\MSGer.tk\MSGer.tk (C#)\obj\Debug\MSGer.tk.csproj.GenerateResource.Cache diff --git a/Most Closed Beta/v3.0/MSGer.tk (C#)/obj/Debug/MSGer.tk.csproj.GenerateResource.Cache b/Most Closed Beta/v3.0/MSGer.tk (C#)/obj/Debug/MSGer.tk.csproj.GenerateResource.Cache new file mode 100644 index 0000000..6a3e2f7 Binary files /dev/null and b/Most Closed Beta/v3.0/MSGer.tk (C#)/obj/Debug/MSGer.tk.csproj.GenerateResource.Cache differ diff --git a/Most Closed Beta/v3.0/MSGer.tk (C#)/obj/Debug/MSGer.tk.csprojResolveAssemblyReference.cache b/Most Closed Beta/v3.0/MSGer.tk (C#)/obj/Debug/MSGer.tk.csprojResolveAssemblyReference.cache new file mode 100644 index 0000000..f0ed9bd Binary files /dev/null and b/Most Closed Beta/v3.0/MSGer.tk (C#)/obj/Debug/MSGer.tk.csprojResolveAssemblyReference.cache differ diff --git a/Most Closed Beta/v3.0/MSGer.tk (C#)/obj/Debug/MSGer.tk.exe b/Most Closed Beta/v3.0/MSGer.tk (C#)/obj/Debug/MSGer.tk.exe new file mode 100644 index 0000000..bc434fb Binary files /dev/null and b/Most Closed Beta/v3.0/MSGer.tk (C#)/obj/Debug/MSGer.tk.exe differ diff --git a/Most Closed Beta/v3.0/MSGer.tk (C#)/obj/Debug/MSGer.tk.pdb b/Most Closed Beta/v3.0/MSGer.tk (C#)/obj/Debug/MSGer.tk.pdb new file mode 100644 index 0000000..4195655 Binary files /dev/null and b/Most Closed Beta/v3.0/MSGer.tk (C#)/obj/Debug/MSGer.tk.pdb differ diff --git a/Most Closed Beta/v3.0/MSGer.tk (C#)/obj/Debug/TempPE/Properties.Resources.Designer.cs.dll b/Most Closed Beta/v3.0/MSGer.tk (C#)/obj/Debug/TempPE/Properties.Resources.Designer.cs.dll new file mode 100644 index 0000000..932c46c Binary files /dev/null and b/Most Closed Beta/v3.0/MSGer.tk (C#)/obj/Debug/TempPE/Properties.Resources.Designer.cs.dll differ diff --git a/Most Closed Beta/v3.0/MSGer.tk (C#)/obj/Debug/TemporaryGeneratedFile_036C0B5B-1481-4323-8D20-8F5ADCB23D92.cs b/Most Closed Beta/v3.0/MSGer.tk (C#)/obj/Debug/TemporaryGeneratedFile_036C0B5B-1481-4323-8D20-8F5ADCB23D92.cs new file mode 100644 index 0000000..e69de29 diff --git a/Most Closed Beta/v3.0/MSGer.tk (C#)/obj/Debug/TemporaryGeneratedFile_5937a670-0e60-4077-877b-f7221da3dda1.cs b/Most Closed Beta/v3.0/MSGer.tk (C#)/obj/Debug/TemporaryGeneratedFile_5937a670-0e60-4077-877b-f7221da3dda1.cs new file mode 100644 index 0000000..e69de29 diff --git a/Most Closed Beta/v3.0/MSGer.tk (C#)/obj/Debug/TemporaryGeneratedFile_E7A71F73-0F8D-4B9B-B56E-8E70B10BC5D3.cs b/Most Closed Beta/v3.0/MSGer.tk (C#)/obj/Debug/TemporaryGeneratedFile_E7A71F73-0F8D-4B9B-B56E-8E70B10BC5D3.cs new file mode 100644 index 0000000..e69de29 diff --git a/Most Closed Beta/v3.0/MSGer.tk (C#)/obj/Release/DesignTimeResolveAssemblyReferences.cache b/Most Closed Beta/v3.0/MSGer.tk (C#)/obj/Release/DesignTimeResolveAssemblyReferences.cache new file mode 100644 index 0000000..37a5636 Binary files /dev/null and b/Most Closed Beta/v3.0/MSGer.tk (C#)/obj/Release/DesignTimeResolveAssemblyReferences.cache differ diff --git a/Most Closed Beta/v3.0/MSGer.tk (C#)/obj/Release/DesignTimeResolveAssemblyReferencesInput.cache b/Most Closed Beta/v3.0/MSGer.tk (C#)/obj/Release/DesignTimeResolveAssemblyReferencesInput.cache new file mode 100644 index 0000000..4663684 Binary files /dev/null and b/Most Closed Beta/v3.0/MSGer.tk (C#)/obj/Release/DesignTimeResolveAssemblyReferencesInput.cache differ diff --git a/Most Closed Beta/v3.0/MSGer.tk (C#)/obj/Release/MSGer.tk.LoginForm.resources b/Most Closed Beta/v3.0/MSGer.tk (C#)/obj/Release/MSGer.tk.LoginForm.resources new file mode 100644 index 0000000..6c05a97 Binary files /dev/null and b/Most Closed Beta/v3.0/MSGer.tk (C#)/obj/Release/MSGer.tk.LoginForm.resources differ diff --git a/Most Closed Beta/v3.0/MSGer.tk (C#)/obj/Release/MSGer.tk.MainForm.resources b/Most Closed Beta/v3.0/MSGer.tk (C#)/obj/Release/MSGer.tk.MainForm.resources new file mode 100644 index 0000000..6c05a97 Binary files /dev/null and b/Most Closed Beta/v3.0/MSGer.tk (C#)/obj/Release/MSGer.tk.MainForm.resources differ diff --git a/Most Closed Beta/v3.0/MSGer.tk (C#)/obj/Release/MSGer.tk.Properties.Resources.resources b/Most Closed Beta/v3.0/MSGer.tk (C#)/obj/Release/MSGer.tk.Properties.Resources.resources new file mode 100644 index 0000000..6c05a97 Binary files /dev/null and b/Most Closed Beta/v3.0/MSGer.tk (C#)/obj/Release/MSGer.tk.Properties.Resources.resources differ diff --git a/Most Closed Beta/v3.0/MSGer.tk (C#)/obj/Release/MSGer.tk.csproj.FileListAbsolute.txt b/Most Closed Beta/v3.0/MSGer.tk (C#)/obj/Release/MSGer.tk.csproj.FileListAbsolute.txt new file mode 100644 index 0000000..b7b0098 --- /dev/null +++ b/Most Closed Beta/v3.0/MSGer.tk (C#)/obj/Release/MSGer.tk.csproj.FileListAbsolute.txt @@ -0,0 +1,9 @@ +D:\Z - Norbi cucca\0 Projektek\MSGer.tk\MSGer.tk\bin\Release\MSGer.tk.exe.config +D:\Z - Norbi cucca\0 Projektek\MSGer.tk\MSGer.tk\bin\Release\MSGer.tk.exe +D:\Z - Norbi cucca\0 Projektek\MSGer.tk\MSGer.tk\bin\Release\MSGer.tk.pdb +D:\Z - Norbi cucca\0 Projektek\MSGer.tk\MSGer.tk\obj\Release\MSGer.tk.MainForm.resources +D:\Z - Norbi cucca\0 Projektek\MSGer.tk\MSGer.tk\obj\Release\MSGer.tk.LoginForm.resources +D:\Z - Norbi cucca\0 Projektek\MSGer.tk\MSGer.tk\obj\Release\MSGer.tk.Properties.Resources.resources +D:\Z - Norbi cucca\0 Projektek\MSGer.tk\MSGer.tk\obj\Release\MSGer.tk.csproj.GenerateResource.Cache +D:\Z - Norbi cucca\0 Projektek\MSGer.tk\MSGer.tk\obj\Release\MSGer.tk.exe +D:\Z - Norbi cucca\0 Projektek\MSGer.tk\MSGer.tk\obj\Release\MSGer.tk.pdb diff --git a/Most Closed Beta/v3.0/MSGer.tk (C#)/obj/Release/MSGer.tk.csproj.GenerateResource.Cache b/Most Closed Beta/v3.0/MSGer.tk (C#)/obj/Release/MSGer.tk.csproj.GenerateResource.Cache new file mode 100644 index 0000000..ad1861f Binary files /dev/null and b/Most Closed Beta/v3.0/MSGer.tk (C#)/obj/Release/MSGer.tk.csproj.GenerateResource.Cache differ diff --git a/Most Closed Beta/v3.0/MSGer.tk (C#)/obj/Release/MSGer.tk.exe b/Most Closed Beta/v3.0/MSGer.tk (C#)/obj/Release/MSGer.tk.exe new file mode 100644 index 0000000..ba5712d Binary files /dev/null and b/Most Closed Beta/v3.0/MSGer.tk (C#)/obj/Release/MSGer.tk.exe differ diff --git a/Most Closed Beta/v3.0/MSGer.tk (C#)/obj/Release/MSGer.tk.pdb b/Most Closed Beta/v3.0/MSGer.tk (C#)/obj/Release/MSGer.tk.pdb new file mode 100644 index 0000000..0f86b2a Binary files /dev/null and b/Most Closed Beta/v3.0/MSGer.tk (C#)/obj/Release/MSGer.tk.pdb differ diff --git a/Most Closed Beta/v3.0/MSGer.tk (C#)/obj/Release/TemporaryGeneratedFile_036C0B5B-1481-4323-8D20-8F5ADCB23D92.cs b/Most Closed Beta/v3.0/MSGer.tk (C#)/obj/Release/TemporaryGeneratedFile_036C0B5B-1481-4323-8D20-8F5ADCB23D92.cs new file mode 100644 index 0000000..e69de29 diff --git a/Most Closed Beta/v3.0/MSGer.tk (C#)/obj/Release/TemporaryGeneratedFile_5937a670-0e60-4077-877b-f7221da3dda1.cs b/Most Closed Beta/v3.0/MSGer.tk (C#)/obj/Release/TemporaryGeneratedFile_5937a670-0e60-4077-877b-f7221da3dda1.cs new file mode 100644 index 0000000..e69de29 diff --git a/Most Closed Beta/v3.0/MSGer.tk (C#)/obj/Release/TemporaryGeneratedFile_E7A71F73-0F8D-4B9B-B56E-8E70B10BC5D3.cs b/Most Closed Beta/v3.0/MSGer.tk (C#)/obj/Release/TemporaryGeneratedFile_E7A71F73-0F8D-4B9B-B56E-8E70B10BC5D3.cs new file mode 100644 index 0000000..e69de29 diff --git a/Most Closed Beta/v4.0/Changelog.txt b/Most Closed Beta/v4.0/Changelog.txt new file mode 100644 index 0000000..76c8091 --- /dev/null +++ b/Most Closed Beta/v4.0/Changelog.txt @@ -0,0 +1,17 @@ +v4.0 - 2014.02.22., 25., 28. +---- +- Kls ttervezve - j listanzet +- Megjegyzsbe tett kdok trlve +- Partnerkivlaszts fjlkldshez, zenetkldshez, egyb mveletekhez +- MainForm s LoginForm fjljai tnevezve a form nevnek megfelelen (eltte: Form1 s Form2) +- A partnerlista hasznlja a ltrehozott partnerImages kplistt - Hasznos lesz a partnerek kpeinek megjelenitshez +- Hibs jelsz utn nem lehetett bejelentkezni, javitva + +v5.0 Tervek: +---- +- Thread a lista frissitshez +- Jobb klikk listk +- Fjlklds, zenetklds (fjlklds: fjlvlaszts, majd zenetklds) +- Rich Text szvegdoboz hasznlata a nevek, szemlyes zenetek megjelenitshez +http://stackoverflow.com/questions/6168177/how-to-insert-image-in-a-textbox +http://www.codeproject.com/Articles/4544/Insert-Plain-Text-and-Images-into-RichTextBox-at-R diff --git a/Most Closed Beta/v4.0/MSGer.tk (C#)/App.config b/Most Closed Beta/v4.0/MSGer.tk (C#)/App.config new file mode 100644 index 0000000..01566ac --- /dev/null +++ b/Most Closed Beta/v4.0/MSGer.tk (C#)/App.config @@ -0,0 +1,18 @@ + + + + +
+ + + + + + + + + + + + + \ No newline at end of file diff --git a/Most Closed Beta/v4.0/MSGer.tk (C#)/LoginForm.Designer.cs b/Most Closed Beta/v4.0/MSGer.tk (C#)/LoginForm.Designer.cs new file mode 100644 index 0000000..0044d34 --- /dev/null +++ b/Most Closed Beta/v4.0/MSGer.tk (C#)/LoginForm.Designer.cs @@ -0,0 +1,132 @@ +namespace MSGer.tk +{ + partial class LoginForm + { + /// + /// Required designer variable. + /// + private System.ComponentModel.IContainer components = null; + + /// + /// Clean up any resources being used. + /// + /// true if managed resources should be disposed; otherwise, false. + protected override void Dispose(bool disposing) + { + if (disposing && (components != null)) + { + components.Dispose(); + } + base.Dispose(disposing); + } + + #region Windows Form Designer generated code + + /// + /// Required method for Designer support - do not modify + /// the contents of this method with the code editor. + /// + private void InitializeComponent() + { + this.label1 = new System.Windows.Forms.Label(); + this.label2 = new System.Windows.Forms.Label(); + this.textBox1 = new System.Windows.Forms.TextBox(); + this.label3 = new System.Windows.Forms.Label(); + this.textBox2 = new System.Windows.Forms.TextBox(); + this.button1 = new System.Windows.Forms.Button(); + this.SuspendLayout(); + // + // label1 + // + this.label1.AutoSize = true; + this.label1.Font = new System.Drawing.Font("Microsoft Sans Serif", 21.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(238))); + this.label1.ForeColor = System.Drawing.Color.Blue; + this.label1.Location = new System.Drawing.Point(13, 212); + this.label1.Name = "label1"; + this.label1.Size = new System.Drawing.Size(197, 33); + this.label1.TabIndex = 0; + this.label1.Text = "Bejelentkezés"; + // + // label2 + // + this.label2.AutoSize = true; + this.label2.Font = new System.Drawing.Font("Microsoft Sans Serif", 14.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(238))); + this.label2.Location = new System.Drawing.Point(19, 282); + this.label2.Name = "label2"; + this.label2.Size = new System.Drawing.Size(63, 24); + this.label2.TabIndex = 1; + this.label2.Text = "E-mail"; + // + // textBox1 + // + this.textBox1.AcceptsReturn = true; + this.textBox1.AcceptsTab = true; + this.textBox1.CharacterCasing = System.Windows.Forms.CharacterCasing.Lower; + this.textBox1.Location = new System.Drawing.Point(88, 285); + this.textBox1.Name = "textBox1"; + this.textBox1.Size = new System.Drawing.Size(294, 20); + this.textBox1.TabIndex = 2; + // + // label3 + // + this.label3.AutoSize = true; + this.label3.Font = new System.Drawing.Font("Microsoft Sans Serif", 14.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(238))); + this.label3.Location = new System.Drawing.Point(19, 311); + this.label3.Name = "label3"; + this.label3.Size = new System.Drawing.Size(63, 24); + this.label3.TabIndex = 3; + this.label3.Text = "Jelszó"; + // + // textBox2 + // + this.textBox2.AcceptsReturn = true; + this.textBox2.AcceptsTab = true; + this.textBox2.Location = new System.Drawing.Point(179, 315); + this.textBox2.Name = "textBox2"; + this.textBox2.PasswordChar = '→'; + this.textBox2.Size = new System.Drawing.Size(203, 20); + this.textBox2.TabIndex = 4; + // + // button1 + // + this.button1.Location = new System.Drawing.Point(235, 358); + this.button1.Name = "button1"; + this.button1.Size = new System.Drawing.Size(147, 23); + this.button1.TabIndex = 5; + this.button1.Text = "Bejelentkezés"; + this.button1.UseVisualStyleBackColor = true; + this.button1.Click += new System.EventHandler(this.button1_Click); + // + // LoginForm + // + this.AcceptButton = this.button1; + this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F); + this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; + this.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(150)))), ((int)(((byte)(200))))); + this.ClientSize = new System.Drawing.Size(394, 471); + this.Controls.Add(this.button1); + this.Controls.Add(this.textBox2); + this.Controls.Add(this.label3); + this.Controls.Add(this.textBox1); + this.Controls.Add(this.label2); + this.Controls.Add(this.label1); + this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedDialog; + this.MaximizeBox = false; + this.Name = "LoginForm"; + this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen; + this.Text = "Bejelentkezés"; + this.ResumeLayout(false); + this.PerformLayout(); + + } + + #endregion + + private System.Windows.Forms.Label label1; + private System.Windows.Forms.Label label2; + private System.Windows.Forms.TextBox textBox1; + private System.Windows.Forms.Label label3; + private System.Windows.Forms.TextBox textBox2; + private System.Windows.Forms.Button button1; + } +} \ No newline at end of file diff --git a/Most Closed Beta/v4.0/MSGer.tk (C#)/LoginForm.cs b/Most Closed Beta/v4.0/MSGer.tk (C#)/LoginForm.cs new file mode 100644 index 0000000..9250799 --- /dev/null +++ b/Most Closed Beta/v4.0/MSGer.tk (C#)/LoginForm.cs @@ -0,0 +1,187 @@ +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; +using System.Net; +using System.IO; +using System.Security.Cryptography; +using System.Configuration; +using System.Threading; + +namespace MSGer.tk +{ + public partial class LoginForm : Form + { + public static string UserCode=""; + public static Thread LThread; + public LoginForm() + { + InitializeComponent(); + Thread.CurrentThread.Name = "Main Thread"; + + textBox1.Text = Settings.Default.email; + if (textBox1.TextLength != 0) + { + textBox2.Focus(); + } + } + private void button1_Click(object sender, EventArgs e) + { + if(button1.Text=="Mégse") + { + StopLogin = true; + button1.Enabled = false; + int x = 0; + while (LThread.IsAlive) + { + if (x == 5000) + LThread.Abort(); + else + x++; + } + StopLogin = false; + button1.Text = "Bejelentkezés"; + button1.Enabled = true; + } + else + { + // Create the thread object, passing in the Alpha.Beta method + // via a ThreadStart delegate. This does not start the thread. + LThread = new Thread(new ThreadStart(LoginUser)); + LThread.Name = "Login Thread"; + + // Start the thread + LThread.Start(); + + // Spin for a while waiting for the started thread to become + // alive: + while (!LThread.IsAlive) ; + + // Put the Main thread to sleep for 1 millisecond to allow oThread + // to do some work: + Thread.Sleep(1); + } + } + public delegate int MyDelegate(); + public int SetLoginValues() + { + if (UserText.Length == 0) + UserText = textBox1.Text; + else + textBox1.Text = UserText; + + if (PassText.Length == 0) + PassText = textBox2.Text; + else + textBox2.Text = PassText; + + button1.Text = LButtonText; + if (Closeable) + { + Closeable = false; + Close(); + } + return 0; + } + public static string UserText = ""; //2014.02.14. + public static string PassText = ""; + public static string LButtonText = ""; + public static bool Closeable = false; + public static bool StopLogin = false; + + public void LoginUser() + { + //Állitson vissza minden változót, hogy újra belerakja az értekeket - 2014.02.28. + UserText = ""; + PassText = ""; + // + LButtonText = "Mégse"; + this.Invoke(new MyDelegate(SetLoginValues)); + + HttpWebRequest httpWReq = + (HttpWebRequest)WebRequest.Create("http://msger.tk/client.php"); + + ASCIIEncoding encoding = new ASCIIEncoding(); + string postData = "username=" + UserText; + postData += "&password=" + CalculateMD5Hash(PassText); + postData += "&key=cas1fe4a6feFEFEFE1616CE8099VFE1444cdasf48c1ase5dg"; + byte[] data = encoding.GetBytes(postData); + + httpWReq.Method = "POST"; + httpWReq.ContentType = "application/x-www-form-urlencoded"; + httpWReq.ContentLength = data.Length; + + if (StopLogin) + return; + + try //Ha itt áll meg, hibát irhat + { + using (Stream stream = httpWReq.GetRequestStream()) + { + stream.Write(data, 0, data.Length); + } + } + catch + { + } + if (StopLogin) + return; + + //Bejelentkezés folyamatban... + + HttpWebResponse response = (HttpWebResponse)httpWReq.GetResponse(); + if (StopLogin) + return; + + string responseString = new StreamReader(response.GetResponseStream()).ReadToEnd(); + + try + { + responseString = responseString.Remove(responseString.IndexOf('<')); + } + catch + { + } + if (StopLogin) + return; + + if (String.Compare(responseString, "Fail") == 0) + { + LButtonText = "Bejelentkezés"; + this.Invoke(new MyDelegate(SetLoginValues)); + MessageBox.Show("Hiba: Helytelen felhasználónév, vagy jelszó.", "Hiba"); + } + else + { + //Elmenti az E-mail-t + Settings.Default.email = UserText; + Settings.Default.Save(); + //Bejelentkezés + UserInfo.UserID = Convert.ToInt32(responseString); + LoginForm.UserCode = CalculateMD5Hash(CalculateMD5Hash(PassText).ToLower() + " Some text because why not " + UserInfo.UserID).ToLower(); + Closeable = true; + this.Invoke(new MyDelegate(SetLoginValues)); + } + } + public string CalculateMD5Hash(string input) + { + // step 1, calculate MD5 hash from input + MD5 md5 = System.Security.Cryptography.MD5.Create(); + byte[] inputBytes = System.Text.Encoding.ASCII.GetBytes(input); + byte[] hash = md5.ComputeHash(inputBytes); + + // step 2, convert byte array to hex string + StringBuilder sb = new StringBuilder(); + for (int i = 0; i < hash.Length; i++) + { + sb.Append(hash[i].ToString("X2")); + } + return sb.ToString(); + } + } +} diff --git a/Most Closed Beta/v4.0/MSGer.tk (C#)/LoginForm.resx b/Most Closed Beta/v4.0/MSGer.tk (C#)/LoginForm.resx new file mode 100644 index 0000000..29dcb1b --- /dev/null +++ b/Most Closed Beta/v4.0/MSGer.tk (C#)/LoginForm.resx @@ -0,0 +1,120 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + text/microsoft-resx + + + 2.0 + + + System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + \ No newline at end of file diff --git a/Most Closed Beta/v4.0/MSGer.tk (C#)/MSGer.tk.csproj b/Most Closed Beta/v4.0/MSGer.tk (C#)/MSGer.tk.csproj new file mode 100644 index 0000000..6ab3ac6 --- /dev/null +++ b/Most Closed Beta/v4.0/MSGer.tk (C#)/MSGer.tk.csproj @@ -0,0 +1,146 @@ + + + + + Debug + AnyCPU + {F60940C0-05FC-46C0-948E-6DBECBBE38DD} + WinExe + Properties + MSGer.tk + MSGer.tk + v4.5 + 512 + + + AnyCPU + true + full + false + bin\Debug\ + DEBUG;TRACE + prompt + 4 + + + AnyCPU + pdbonly + true + bin\Release\ + TRACE + prompt + 4 + + + + C:\Users\Norbi\Downloads\GlacialListSource13\ListView\bin\Debug\GlacialList.dll + + + + + + + + + + + + + + + + Form + + + MainForm.cs + + + Form + + + LoginForm.cs + + + + + True + True + Resources.resx + + + Form + + + SelectPartnerForm.cs + + + + True + True + Settings.settings + + + + + MainForm.cs + + + LoginForm.cs + + + ResXFileCodeGenerator + Resources.Designer.cs + + + SelectPartnerForm.cs + + + SettingsSingleFileGenerator + Settings.Designer.cs + + + True + Settings.settings + True + + + SettingsSingleFileGenerator + Settings.Designer.cs + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/Most Closed Beta/v4.0/MSGer.tk (C#)/MSGer.tk.sln b/Most Closed Beta/v4.0/MSGer.tk (C#)/MSGer.tk.sln new file mode 100644 index 0000000..8157d29 --- /dev/null +++ b/Most Closed Beta/v4.0/MSGer.tk (C#)/MSGer.tk.sln @@ -0,0 +1,20 @@ + +Microsoft Visual Studio Solution File, Format Version 12.00 +# Visual Studio Express 2012 for Windows Desktop +Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "MSGer.tk", "MSGer.tk.csproj", "{F60940C0-05FC-46C0-948E-6DBECBBE38DD}" +EndProject +Global + GlobalSection(SolutionConfigurationPlatforms) = preSolution + Debug|Any CPU = Debug|Any CPU + Release|Any CPU = Release|Any CPU + EndGlobalSection + GlobalSection(ProjectConfigurationPlatforms) = postSolution + {F60940C0-05FC-46C0-948E-6DBECBBE38DD}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {F60940C0-05FC-46C0-948E-6DBECBBE38DD}.Debug|Any CPU.Build.0 = Debug|Any CPU + {F60940C0-05FC-46C0-948E-6DBECBBE38DD}.Release|Any CPU.ActiveCfg = Release|Any CPU + {F60940C0-05FC-46C0-948E-6DBECBBE38DD}.Release|Any CPU.Build.0 = Release|Any CPU + EndGlobalSection + GlobalSection(SolutionProperties) = preSolution + HideSolutionNode = FALSE + EndGlobalSection +EndGlobal diff --git a/Most Closed Beta/v4.0/MSGer.tk (C#)/MSGer.tk.v11.suo b/Most Closed Beta/v4.0/MSGer.tk (C#)/MSGer.tk.v11.suo new file mode 100644 index 0000000..88974bf Binary files /dev/null and b/Most Closed Beta/v4.0/MSGer.tk (C#)/MSGer.tk.v11.suo differ diff --git a/Most Closed Beta/v4.0/MSGer.tk (C#)/MSGer.tk.v12.suo b/Most Closed Beta/v4.0/MSGer.tk (C#)/MSGer.tk.v12.suo new file mode 100644 index 0000000..35bcfd5 Binary files /dev/null and b/Most Closed Beta/v4.0/MSGer.tk (C#)/MSGer.tk.v12.suo differ diff --git a/Most Closed Beta/v4.0/MSGer.tk (C#)/MainForm.Designer.cs b/Most Closed Beta/v4.0/MSGer.tk (C#)/MainForm.Designer.cs new file mode 100644 index 0000000..93d5c80 --- /dev/null +++ b/Most Closed Beta/v4.0/MSGer.tk (C#)/MainForm.Designer.cs @@ -0,0 +1,747 @@ +namespace MSGer.tk +{ + partial class MainForm + { + /// + /// Required designer variable. + /// + private System.ComponentModel.IContainer components = null; + + /// + /// Clean up any resources being used. + /// + /// true if managed resources should be disposed; otherwise, false. + protected override void Dispose(bool disposing) + { + if (disposing && (components != null)) + { + components.Dispose(); + } + base.Dispose(disposing); + } + + #region Windows Form Designer generated code + + /// + /// Required method for Designer support - do not modify + /// the contents of this method with the code editor. + /// + private void InitializeComponent() + { + this.components = new System.ComponentModel.Container(); + GlacialComponents.Controls.GLColumn glColumn3 = new GlacialComponents.Controls.GLColumn(); + GlacialComponents.Controls.GLColumn glColumn4 = new GlacialComponents.Controls.GLColumn(); + this.notifyIcon1 = new System.Windows.Forms.NotifyIcon(this.components); + this.button1 = new System.Windows.Forms.Button(); + this.panel2 = new System.Windows.Forms.Panel(); + this.textBox1 = new System.Windows.Forms.TextBox(); + this.panel1 = new System.Windows.Forms.Panel(); + this.menuStrip1 = new System.Windows.Forms.MenuStrip(); + this.fájlToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); + this.kijelentkezésToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); + this.toolStripMenuItem1 = new System.Windows.Forms.ToolStripMenuItem(); + this.toolStripSeparator1 = new System.Windows.Forms.ToolStripSeparator(); + this.állapotToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); + this.elérhetőToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); + this.elfoglaltToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); + this.nincsAGépnélToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); + this.rejtveKapcsolódikToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); + this.toolStripSeparator2 = new System.Windows.Forms.ToolStripSeparator(); + this.fájlKüldéseToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); + this.beérkezettFájlokMappájánakMegnyitásaToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); + this.üzenetekElőzményeinekMegtekintéseToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); + this.toolStripSeparator3 = new System.Windows.Forms.ToolStripSeparator(); + this.bezárásToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); + this.toolStripSeparator4 = new System.Windows.Forms.ToolStripSeparator(); + this.kilépésToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); + this.ismerősökToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); + this.ismerősFelvételeToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); + this.ismerősSzerkesztéseToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); + this.ismerősTörléseToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); + this.toolStripSeparator5 = new System.Windows.Forms.ToolStripSeparator(); + this.csoportLétrehozásaToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); + this.toolStripSeparator6 = new System.Windows.Forms.ToolStripSeparator(); + this.kategóriaLétrehozásaToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); + this.kategóriaSzerkesztéseToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); + this.kategóriaTörléseToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); + this.műveletekToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); + this.azonnaliÜzenetKüldéseToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); + this.egyébKüldéseToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); + this.emailKüldéseToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); + this.fájlKüldéseToolStripMenuItem1 = new System.Windows.Forms.ToolStripMenuItem(); + this.toolStripSeparator7 = new System.Windows.Forms.ToolStripSeparator(); + this.ismerősSzámitógépénekFelhivásaToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); + this.videóhivásInditásaToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); + this.onlineFájlokMegtekintéseToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); + this.közösJátékToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); + this.távsegitségKéréseToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); + this.eszközökToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); + this.mindigLegfelülToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); + this.toolStripSeparator8 = new System.Windows.Forms.ToolStripSeparator(); + this.hangulatjelekToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); + this.megjelenitendőKépVáltásaToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); + this.háttérMódositásaToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); + this.toolStripSeparator9 = new System.Windows.Forms.ToolStripSeparator(); + this.hangokÉsVideóBeállitásaToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); + this.toolStripSeparator10 = new System.Windows.Forms.ToolStripSeparator(); + this.beállitásokToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); + this.súgóToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); + this.témakörökToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); + this.toolStripSeparator11 = new System.Windows.Forms.ToolStripSeparator(); + this.aSzolgáltatásÁllapotsaToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); + this.adatvédelmiNyilatkozatToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); + this.használatiFeltételekToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); + this.visszaélésBejelentéseToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); + this.toolStripSeparator12 = new System.Windows.Forms.ToolStripSeparator(); + this.segitsenAProgramTökéletesitésébenToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); + this.toolStripSeparator13 = new System.Windows.Forms.ToolStripSeparator(); + this.névjegyToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); + this.contactList = new GlacialComponents.Controls.GlacialList(); + this.partnerImages = new System.Windows.Forms.ImageList(this.components); + this.panel2.SuspendLayout(); + this.menuStrip1.SuspendLayout(); + this.SuspendLayout(); + // + // notifyIcon1 + // + this.notifyIcon1.Text = "notifyIcon1"; + this.notifyIcon1.Visible = true; + // + // button1 + // + this.button1.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right))); + this.button1.FlatStyle = System.Windows.Forms.FlatStyle.Popup; + this.button1.Location = new System.Drawing.Point(519, 104); + this.button1.Name = "button1"; + this.button1.Size = new System.Drawing.Size(35, 23); + this.button1.TabIndex = 4; + this.button1.UseVisualStyleBackColor = true; + // + // panel2 + // + this.panel2.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left) + | System.Windows.Forms.AnchorStyles.Right))); + this.panel2.BackgroundImage = global::MSGer.tk.Properties.Resources.Keresősáv; + this.panel2.BackgroundImageLayout = System.Windows.Forms.ImageLayout.Stretch; + this.panel2.Controls.Add(this.textBox1); + this.panel2.Location = new System.Drawing.Point(0, 96); + this.panel2.Name = "panel2"; + this.panel2.Size = new System.Drawing.Size(513, 31); + this.panel2.TabIndex = 5; + // + // textBox1 + // + this.textBox1.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left) + | System.Windows.Forms.AnchorStyles.Right))); + this.textBox1.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(244)))), ((int)(((byte)(249)))), ((int)(((byte)(252))))); + this.textBox1.BorderStyle = System.Windows.Forms.BorderStyle.None; + this.textBox1.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(137)))), ((int)(((byte)(161)))), ((int)(((byte)(194))))); + this.textBox1.Location = new System.Drawing.Point(6, 8); + this.textBox1.Name = "textBox1"; + this.textBox1.Size = new System.Drawing.Size(504, 13); + this.textBox1.TabIndex = 3; + this.textBox1.Text = "Ismerősök keresése..."; + // + // panel1 + // + this.panel1.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left) + | System.Windows.Forms.AnchorStyles.Right))); + this.panel1.BackgroundImage = global::MSGer.tk.Properties.Resources.Blue_Wallpaper_HD_2; + this.panel1.BackgroundImageLayout = System.Windows.Forms.ImageLayout.Stretch; + this.panel1.Location = new System.Drawing.Point(0, 27); + this.panel1.Name = "panel1"; + this.panel1.Size = new System.Drawing.Size(624, 63); + this.panel1.TabIndex = 2; + // + // menuStrip1 + // + this.menuStrip1.BackColor = System.Drawing.Color.Black; + this.menuStrip1.BackgroundImage = global::MSGer.tk.Properties.Resources.Menü_2; + this.menuStrip1.Items.AddRange(new System.Windows.Forms.ToolStripItem[] { + this.fájlToolStripMenuItem, + this.ismerősökToolStripMenuItem, + this.műveletekToolStripMenuItem, + this.eszközökToolStripMenuItem, + this.súgóToolStripMenuItem}); + this.menuStrip1.Location = new System.Drawing.Point(0, 0); + this.menuStrip1.Name = "menuStrip1"; + this.menuStrip1.RenderMode = System.Windows.Forms.ToolStripRenderMode.System; + this.menuStrip1.Size = new System.Drawing.Size(624, 24); + this.menuStrip1.TabIndex = 0; + this.menuStrip1.Text = "menuStrip1"; + // + // fájlToolStripMenuItem + // + this.fájlToolStripMenuItem.DropDownItems.AddRange(new System.Windows.Forms.ToolStripItem[] { + this.kijelentkezésToolStripMenuItem, + this.toolStripMenuItem1, + this.toolStripSeparator1, + this.állapotToolStripMenuItem, + this.toolStripSeparator2, + this.fájlKüldéseToolStripMenuItem, + this.beérkezettFájlokMappájánakMegnyitásaToolStripMenuItem, + this.üzenetekElőzményeinekMegtekintéseToolStripMenuItem, + this.toolStripSeparator3, + this.bezárásToolStripMenuItem, + this.toolStripSeparator4, + this.kilépésToolStripMenuItem}); + this.fájlToolStripMenuItem.Name = "fájlToolStripMenuItem"; + this.fájlToolStripMenuItem.Size = new System.Drawing.Size(37, 20); + this.fájlToolStripMenuItem.Text = "Fájl"; + // + // kijelentkezésToolStripMenuItem + // + this.kijelentkezésToolStripMenuItem.Name = "kijelentkezésToolStripMenuItem"; + this.kijelentkezésToolStripMenuItem.Size = new System.Drawing.Size(292, 22); + this.kijelentkezésToolStripMenuItem.Text = "Kijelentkezés"; + this.kijelentkezésToolStripMenuItem.Click += new System.EventHandler(this.LogoutUser); + // + // toolStripMenuItem1 + // + this.toolStripMenuItem1.Name = "toolStripMenuItem1"; + this.toolStripMenuItem1.Size = new System.Drawing.Size(292, 22); + this.toolStripMenuItem1.Text = "Újabb felhasználó bejelentkeztetése..."; + this.toolStripMenuItem1.Click += new System.EventHandler(this.LoginNewUser); + // + // toolStripSeparator1 + // + this.toolStripSeparator1.Name = "toolStripSeparator1"; + this.toolStripSeparator1.Size = new System.Drawing.Size(289, 6); + // + // állapotToolStripMenuItem + // + this.állapotToolStripMenuItem.DropDownItems.AddRange(new System.Windows.Forms.ToolStripItem[] { + this.elérhetőToolStripMenuItem, + this.elfoglaltToolStripMenuItem, + this.nincsAGépnélToolStripMenuItem, + this.rejtveKapcsolódikToolStripMenuItem}); + this.állapotToolStripMenuItem.Name = "állapotToolStripMenuItem"; + this.állapotToolStripMenuItem.Size = new System.Drawing.Size(292, 22); + this.állapotToolStripMenuItem.Text = "Állapot"; + // + // elérhetőToolStripMenuItem + // + this.elérhetőToolStripMenuItem.Name = "elérhetőToolStripMenuItem"; + this.elérhetőToolStripMenuItem.Size = new System.Drawing.Size(172, 22); + this.elérhetőToolStripMenuItem.Text = "Elérhető"; + this.elérhetőToolStripMenuItem.Click += new System.EventHandler(this.SetOnlineState); + // + // elfoglaltToolStripMenuItem + // + this.elfoglaltToolStripMenuItem.Name = "elfoglaltToolStripMenuItem"; + this.elfoglaltToolStripMenuItem.Size = new System.Drawing.Size(172, 22); + this.elfoglaltToolStripMenuItem.Text = "Elfoglalt"; + this.elfoglaltToolStripMenuItem.Click += new System.EventHandler(this.SetOnlineState); + // + // nincsAGépnélToolStripMenuItem + // + this.nincsAGépnélToolStripMenuItem.Name = "nincsAGépnélToolStripMenuItem"; + this.nincsAGépnélToolStripMenuItem.Size = new System.Drawing.Size(172, 22); + this.nincsAGépnélToolStripMenuItem.Text = "Nincs a gépnél"; + this.nincsAGépnélToolStripMenuItem.Click += new System.EventHandler(this.SetOnlineState); + // + // rejtveKapcsolódikToolStripMenuItem + // + this.rejtveKapcsolódikToolStripMenuItem.Name = "rejtveKapcsolódikToolStripMenuItem"; + this.rejtveKapcsolódikToolStripMenuItem.Size = new System.Drawing.Size(172, 22); + this.rejtveKapcsolódikToolStripMenuItem.Text = "Rejtve kapcsolódik"; + this.rejtveKapcsolódikToolStripMenuItem.Click += new System.EventHandler(this.SetOnlineState); + // + // toolStripSeparator2 + // + this.toolStripSeparator2.Name = "toolStripSeparator2"; + this.toolStripSeparator2.Size = new System.Drawing.Size(289, 6); + // + // fájlKüldéseToolStripMenuItem + // + this.fájlKüldéseToolStripMenuItem.Name = "fájlKüldéseToolStripMenuItem"; + this.fájlKüldéseToolStripMenuItem.Size = new System.Drawing.Size(292, 22); + this.fájlKüldéseToolStripMenuItem.Text = "Fájl küldése..."; + this.fájlKüldéseToolStripMenuItem.Click += new System.EventHandler(this.SelectPartner); + // + // beérkezettFájlokMappájánakMegnyitásaToolStripMenuItem + // + this.beérkezettFájlokMappájánakMegnyitásaToolStripMenuItem.Name = "beérkezettFájlokMappájánakMegnyitásaToolStripMenuItem"; + this.beérkezettFájlokMappájánakMegnyitásaToolStripMenuItem.Size = new System.Drawing.Size(292, 22); + this.beérkezettFájlokMappájánakMegnyitásaToolStripMenuItem.Text = "Beérkezett fájlok mappájának megnyitása"; + // + // üzenetekElőzményeinekMegtekintéseToolStripMenuItem + // + this.üzenetekElőzményeinekMegtekintéseToolStripMenuItem.Name = "üzenetekElőzményeinekMegtekintéseToolStripMenuItem"; + this.üzenetekElőzményeinekMegtekintéseToolStripMenuItem.Size = new System.Drawing.Size(292, 22); + this.üzenetekElőzményeinekMegtekintéseToolStripMenuItem.Text = "Üzenetek előzményeinek megtekintése..."; + // + // toolStripSeparator3 + // + this.toolStripSeparator3.Name = "toolStripSeparator3"; + this.toolStripSeparator3.Size = new System.Drawing.Size(289, 6); + // + // bezárásToolStripMenuItem + // + this.bezárásToolStripMenuItem.Name = "bezárásToolStripMenuItem"; + this.bezárásToolStripMenuItem.Size = new System.Drawing.Size(292, 22); + this.bezárásToolStripMenuItem.Text = "Bezárás"; + // + // toolStripSeparator4 + // + this.toolStripSeparator4.Name = "toolStripSeparator4"; + this.toolStripSeparator4.Size = new System.Drawing.Size(289, 6); + // + // kilépésToolStripMenuItem + // + this.kilépésToolStripMenuItem.Name = "kilépésToolStripMenuItem"; + this.kilépésToolStripMenuItem.Size = new System.Drawing.Size(292, 22); + this.kilépésToolStripMenuItem.Text = "Kilépés"; + // + // ismerősökToolStripMenuItem + // + this.ismerősökToolStripMenuItem.DropDownItems.AddRange(new System.Windows.Forms.ToolStripItem[] { + this.ismerősFelvételeToolStripMenuItem, + this.ismerősSzerkesztéseToolStripMenuItem, + this.ismerősTörléseToolStripMenuItem, + this.toolStripSeparator5, + this.csoportLétrehozásaToolStripMenuItem, + this.toolStripSeparator6, + this.kategóriaLétrehozásaToolStripMenuItem, + this.kategóriaSzerkesztéseToolStripMenuItem, + this.kategóriaTörléseToolStripMenuItem}); + this.ismerősökToolStripMenuItem.Name = "ismerősökToolStripMenuItem"; + this.ismerősökToolStripMenuItem.Size = new System.Drawing.Size(73, 20); + this.ismerősökToolStripMenuItem.Text = "Ismerősök"; + // + // ismerősFelvételeToolStripMenuItem + // + this.ismerősFelvételeToolStripMenuItem.Name = "ismerősFelvételeToolStripMenuItem"; + this.ismerősFelvételeToolStripMenuItem.Size = new System.Drawing.Size(199, 22); + this.ismerősFelvételeToolStripMenuItem.Text = "Ismerős felvétele..."; + // + // ismerősSzerkesztéseToolStripMenuItem + // + this.ismerősSzerkesztéseToolStripMenuItem.Name = "ismerősSzerkesztéseToolStripMenuItem"; + this.ismerősSzerkesztéseToolStripMenuItem.Size = new System.Drawing.Size(199, 22); + this.ismerősSzerkesztéseToolStripMenuItem.Text = "Ismerős szerkesztése..."; + // + // ismerősTörléseToolStripMenuItem + // + this.ismerősTörléseToolStripMenuItem.Name = "ismerősTörléseToolStripMenuItem"; + this.ismerősTörléseToolStripMenuItem.Size = new System.Drawing.Size(199, 22); + this.ismerősTörléseToolStripMenuItem.Text = "Ismerős törlése..."; + // + // toolStripSeparator5 + // + this.toolStripSeparator5.Name = "toolStripSeparator5"; + this.toolStripSeparator5.Size = new System.Drawing.Size(196, 6); + // + // csoportLétrehozásaToolStripMenuItem + // + this.csoportLétrehozásaToolStripMenuItem.Name = "csoportLétrehozásaToolStripMenuItem"; + this.csoportLétrehozásaToolStripMenuItem.Size = new System.Drawing.Size(199, 22); + this.csoportLétrehozásaToolStripMenuItem.Text = "Csoport létrehozása..."; + // + // toolStripSeparator6 + // + this.toolStripSeparator6.Name = "toolStripSeparator6"; + this.toolStripSeparator6.Size = new System.Drawing.Size(196, 6); + // + // kategóriaLétrehozásaToolStripMenuItem + // + this.kategóriaLétrehozásaToolStripMenuItem.Name = "kategóriaLétrehozásaToolStripMenuItem"; + this.kategóriaLétrehozásaToolStripMenuItem.Size = new System.Drawing.Size(199, 22); + this.kategóriaLétrehozásaToolStripMenuItem.Text = "Kategória létrehozása..."; + // + // kategóriaSzerkesztéseToolStripMenuItem + // + this.kategóriaSzerkesztéseToolStripMenuItem.Name = "kategóriaSzerkesztéseToolStripMenuItem"; + this.kategóriaSzerkesztéseToolStripMenuItem.Size = new System.Drawing.Size(199, 22); + this.kategóriaSzerkesztéseToolStripMenuItem.Text = "Kategória szerkesztése..."; + // + // kategóriaTörléseToolStripMenuItem + // + this.kategóriaTörléseToolStripMenuItem.Name = "kategóriaTörléseToolStripMenuItem"; + this.kategóriaTörléseToolStripMenuItem.Size = new System.Drawing.Size(199, 22); + this.kategóriaTörléseToolStripMenuItem.Text = "Kategória törlése..."; + // + // műveletekToolStripMenuItem + // + this.műveletekToolStripMenuItem.DropDownItems.AddRange(new System.Windows.Forms.ToolStripItem[] { + this.azonnaliÜzenetKüldéseToolStripMenuItem, + this.egyébKüldéseToolStripMenuItem, + this.toolStripSeparator7, + this.ismerősSzámitógépénekFelhivásaToolStripMenuItem, + this.videóhivásInditásaToolStripMenuItem, + this.onlineFájlokMegtekintéseToolStripMenuItem, + this.közösJátékToolStripMenuItem, + this.távsegitségKéréseToolStripMenuItem}); + this.műveletekToolStripMenuItem.Name = "műveletekToolStripMenuItem"; + this.műveletekToolStripMenuItem.Size = new System.Drawing.Size(74, 20); + this.műveletekToolStripMenuItem.Text = "Műveletek"; + // + // azonnaliÜzenetKüldéseToolStripMenuItem + // + this.azonnaliÜzenetKüldéseToolStripMenuItem.Name = "azonnaliÜzenetKüldéseToolStripMenuItem"; + this.azonnaliÜzenetKüldéseToolStripMenuItem.Size = new System.Drawing.Size(253, 22); + this.azonnaliÜzenetKüldéseToolStripMenuItem.Text = "Azonnali üzenet küldése..."; + this.azonnaliÜzenetKüldéseToolStripMenuItem.Click += new System.EventHandler(this.SelectPartner); + // + // egyébKüldéseToolStripMenuItem + // + this.egyébKüldéseToolStripMenuItem.DropDownItems.AddRange(new System.Windows.Forms.ToolStripItem[] { + this.emailKüldéseToolStripMenuItem, + this.fájlKüldéseToolStripMenuItem1}); + this.egyébKüldéseToolStripMenuItem.Name = "egyébKüldéseToolStripMenuItem"; + this.egyébKüldéseToolStripMenuItem.Size = new System.Drawing.Size(253, 22); + this.egyébKüldéseToolStripMenuItem.Text = "Egyéb küldése"; + // + // emailKüldéseToolStripMenuItem + // + this.emailKüldéseToolStripMenuItem.Name = "emailKüldéseToolStripMenuItem"; + this.emailKüldéseToolStripMenuItem.Size = new System.Drawing.Size(160, 22); + this.emailKüldéseToolStripMenuItem.Text = "E-mail küldése..."; + // + // fájlKüldéseToolStripMenuItem1 + // + this.fájlKüldéseToolStripMenuItem1.Name = "fájlKüldéseToolStripMenuItem1"; + this.fájlKüldéseToolStripMenuItem1.Size = new System.Drawing.Size(160, 22); + this.fájlKüldéseToolStripMenuItem1.Text = "Fájl küldése..."; + // + // toolStripSeparator7 + // + this.toolStripSeparator7.Name = "toolStripSeparator7"; + this.toolStripSeparator7.Size = new System.Drawing.Size(250, 6); + // + // ismerősSzámitógépénekFelhivásaToolStripMenuItem + // + this.ismerősSzámitógépénekFelhivásaToolStripMenuItem.Name = "ismerősSzámitógépénekFelhivásaToolStripMenuItem"; + this.ismerősSzámitógépénekFelhivásaToolStripMenuItem.Size = new System.Drawing.Size(253, 22); + this.ismerősSzámitógépénekFelhivásaToolStripMenuItem.Text = "Ismerős számitógépének felhivása"; + // + // videóhivásInditásaToolStripMenuItem + // + this.videóhivásInditásaToolStripMenuItem.Name = "videóhivásInditásaToolStripMenuItem"; + this.videóhivásInditásaToolStripMenuItem.Size = new System.Drawing.Size(253, 22); + this.videóhivásInditásaToolStripMenuItem.Text = "Videóhivás inditása..."; + // + // onlineFájlokMegtekintéseToolStripMenuItem + // + this.onlineFájlokMegtekintéseToolStripMenuItem.Name = "onlineFájlokMegtekintéseToolStripMenuItem"; + this.onlineFájlokMegtekintéseToolStripMenuItem.Size = new System.Drawing.Size(253, 22); + this.onlineFájlokMegtekintéseToolStripMenuItem.Text = "Online fájlok megtekintése"; + // + // közösJátékToolStripMenuItem + // + this.közösJátékToolStripMenuItem.Name = "közösJátékToolStripMenuItem"; + this.közösJátékToolStripMenuItem.Size = new System.Drawing.Size(253, 22); + this.közösJátékToolStripMenuItem.Text = "Közös játék..."; + // + // távsegitségKéréseToolStripMenuItem + // + this.távsegitségKéréseToolStripMenuItem.Name = "távsegitségKéréseToolStripMenuItem"; + this.távsegitségKéréseToolStripMenuItem.Size = new System.Drawing.Size(253, 22); + this.távsegitségKéréseToolStripMenuItem.Text = "Távsegitség kérése..."; + // + // eszközökToolStripMenuItem + // + this.eszközökToolStripMenuItem.DropDownItems.AddRange(new System.Windows.Forms.ToolStripItem[] { + this.mindigLegfelülToolStripMenuItem, + this.toolStripSeparator8, + this.hangulatjelekToolStripMenuItem, + this.megjelenitendőKépVáltásaToolStripMenuItem, + this.háttérMódositásaToolStripMenuItem, + this.toolStripSeparator9, + this.hangokÉsVideóBeállitásaToolStripMenuItem, + this.toolStripSeparator10, + this.beállitásokToolStripMenuItem}); + this.eszközökToolStripMenuItem.Name = "eszközökToolStripMenuItem"; + this.eszközökToolStripMenuItem.Size = new System.Drawing.Size(66, 20); + this.eszközökToolStripMenuItem.Text = "Eszközök"; + // + // mindigLegfelülToolStripMenuItem + // + this.mindigLegfelülToolStripMenuItem.CheckOnClick = true; + this.mindigLegfelülToolStripMenuItem.Name = "mindigLegfelülToolStripMenuItem"; + this.mindigLegfelülToolStripMenuItem.Size = new System.Drawing.Size(227, 22); + this.mindigLegfelülToolStripMenuItem.Text = "Mindig legfelül"; + // + // toolStripSeparator8 + // + this.toolStripSeparator8.Name = "toolStripSeparator8"; + this.toolStripSeparator8.Size = new System.Drawing.Size(224, 6); + // + // hangulatjelekToolStripMenuItem + // + this.hangulatjelekToolStripMenuItem.Name = "hangulatjelekToolStripMenuItem"; + this.hangulatjelekToolStripMenuItem.Size = new System.Drawing.Size(227, 22); + this.hangulatjelekToolStripMenuItem.Text = "Hangulatjelek..."; + // + // megjelenitendőKépVáltásaToolStripMenuItem + // + this.megjelenitendőKépVáltásaToolStripMenuItem.Name = "megjelenitendőKépVáltásaToolStripMenuItem"; + this.megjelenitendőKépVáltásaToolStripMenuItem.Size = new System.Drawing.Size(227, 22); + this.megjelenitendőKépVáltásaToolStripMenuItem.Text = "Megjelenitendő kép váltása..."; + // + // háttérMódositásaToolStripMenuItem + // + this.háttérMódositásaToolStripMenuItem.Name = "háttérMódositásaToolStripMenuItem"; + this.háttérMódositásaToolStripMenuItem.Size = new System.Drawing.Size(227, 22); + this.háttérMódositásaToolStripMenuItem.Text = "Háttér módositása..."; + // + // toolStripSeparator9 + // + this.toolStripSeparator9.Name = "toolStripSeparator9"; + this.toolStripSeparator9.Size = new System.Drawing.Size(224, 6); + // + // hangokÉsVideóBeállitásaToolStripMenuItem + // + this.hangokÉsVideóBeállitásaToolStripMenuItem.Name = "hangokÉsVideóBeállitásaToolStripMenuItem"; + this.hangokÉsVideóBeállitásaToolStripMenuItem.Size = new System.Drawing.Size(227, 22); + this.hangokÉsVideóBeállitásaToolStripMenuItem.Text = "Hangok és videó beállitása..."; + // + // toolStripSeparator10 + // + this.toolStripSeparator10.Name = "toolStripSeparator10"; + this.toolStripSeparator10.Size = new System.Drawing.Size(224, 6); + // + // beállitásokToolStripMenuItem + // + this.beállitásokToolStripMenuItem.Name = "beállitásokToolStripMenuItem"; + this.beállitásokToolStripMenuItem.Size = new System.Drawing.Size(227, 22); + this.beállitásokToolStripMenuItem.Text = "Beállitások..."; + // + // súgóToolStripMenuItem + // + this.súgóToolStripMenuItem.DropDownItems.AddRange(new System.Windows.Forms.ToolStripItem[] { + this.témakörökToolStripMenuItem, + this.toolStripSeparator11, + this.aSzolgáltatásÁllapotsaToolStripMenuItem, + this.adatvédelmiNyilatkozatToolStripMenuItem, + this.használatiFeltételekToolStripMenuItem, + this.visszaélésBejelentéseToolStripMenuItem, + this.toolStripSeparator12, + this.segitsenAProgramTökéletesitésébenToolStripMenuItem, + this.toolStripSeparator13, + this.névjegyToolStripMenuItem}); + this.súgóToolStripMenuItem.Name = "súgóToolStripMenuItem"; + this.súgóToolStripMenuItem.Size = new System.Drawing.Size(46, 20); + this.súgóToolStripMenuItem.Text = "Súgó"; + // + // témakörökToolStripMenuItem + // + this.témakörökToolStripMenuItem.Name = "témakörökToolStripMenuItem"; + this.témakörökToolStripMenuItem.Size = new System.Drawing.Size(270, 22); + this.témakörökToolStripMenuItem.Text = "Témakörök"; + // + // toolStripSeparator11 + // + this.toolStripSeparator11.Name = "toolStripSeparator11"; + this.toolStripSeparator11.Size = new System.Drawing.Size(267, 6); + // + // aSzolgáltatásÁllapotsaToolStripMenuItem + // + this.aSzolgáltatásÁllapotsaToolStripMenuItem.Name = "aSzolgáltatásÁllapotsaToolStripMenuItem"; + this.aSzolgáltatásÁllapotsaToolStripMenuItem.Size = new System.Drawing.Size(270, 22); + this.aSzolgáltatásÁllapotsaToolStripMenuItem.Text = "A szolgáltatás állapota"; + // + // adatvédelmiNyilatkozatToolStripMenuItem + // + this.adatvédelmiNyilatkozatToolStripMenuItem.Name = "adatvédelmiNyilatkozatToolStripMenuItem"; + this.adatvédelmiNyilatkozatToolStripMenuItem.Size = new System.Drawing.Size(270, 22); + this.adatvédelmiNyilatkozatToolStripMenuItem.Text = "Adatvédelmi nyilatkozat"; + // + // használatiFeltételekToolStripMenuItem + // + this.használatiFeltételekToolStripMenuItem.Name = "használatiFeltételekToolStripMenuItem"; + this.használatiFeltételekToolStripMenuItem.Size = new System.Drawing.Size(270, 22); + this.használatiFeltételekToolStripMenuItem.Text = "Használati feltételek"; + // + // visszaélésBejelentéseToolStripMenuItem + // + this.visszaélésBejelentéseToolStripMenuItem.Name = "visszaélésBejelentéseToolStripMenuItem"; + this.visszaélésBejelentéseToolStripMenuItem.Size = new System.Drawing.Size(270, 22); + this.visszaélésBejelentéseToolStripMenuItem.Text = "Visszaélés bejelentése"; + // + // toolStripSeparator12 + // + this.toolStripSeparator12.Name = "toolStripSeparator12"; + this.toolStripSeparator12.Size = new System.Drawing.Size(267, 6); + // + // segitsenAProgramTökéletesitésébenToolStripMenuItem + // + this.segitsenAProgramTökéletesitésébenToolStripMenuItem.Name = "segitsenAProgramTökéletesitésébenToolStripMenuItem"; + this.segitsenAProgramTökéletesitésébenToolStripMenuItem.Size = new System.Drawing.Size(270, 22); + this.segitsenAProgramTökéletesitésébenToolStripMenuItem.Text = "Segitsen a program tökéletesitésében"; + // + // toolStripSeparator13 + // + this.toolStripSeparator13.Name = "toolStripSeparator13"; + this.toolStripSeparator13.Size = new System.Drawing.Size(267, 6); + // + // névjegyToolStripMenuItem + // + this.névjegyToolStripMenuItem.Name = "névjegyToolStripMenuItem"; + this.névjegyToolStripMenuItem.Size = new System.Drawing.Size(270, 22); + this.névjegyToolStripMenuItem.Text = "Névjegy"; + // + // contactList + // + this.contactList.AllowColumnResize = false; + this.contactList.AllowMultiselect = true; + this.contactList.AlternateBackground = System.Drawing.Color.DarkGreen; + this.contactList.AlternatingColors = false; + this.contactList.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.contactList.AutoHeight = true; + this.contactList.BackColor = System.Drawing.Color.LightSkyBlue; + this.contactList.BackgroundStretchToFit = true; + glColumn3.ActivatedEmbeddedType = GlacialComponents.Controls.GLActivatedEmbeddedTypes.None; + glColumn3.CheckBoxes = false; + glColumn3.ImageIndex = -1; + glColumn3.Name = "Image"; + glColumn3.NumericSort = false; + glColumn3.Text = ""; + glColumn3.TextAlignment = System.Drawing.ContentAlignment.MiddleLeft; + glColumn3.Width = 100; + glColumn4.ActivatedEmbeddedType = GlacialComponents.Controls.GLActivatedEmbeddedTypes.None; + glColumn4.CheckBoxes = false; + glColumn4.ImageIndex = -1; + glColumn4.Name = "Name"; + glColumn4.NumericSort = false; + glColumn4.Text = ""; + glColumn4.TextAlignment = System.Drawing.ContentAlignment.MiddleLeft; + glColumn4.Width = 400; + this.contactList.Columns.AddRange(new GlacialComponents.Controls.GLColumn[] { + glColumn3, + glColumn4}); + this.contactList.ControlStyle = GlacialComponents.Controls.GLControlStyles.Normal; + this.contactList.ForeColor = System.Drawing.Color.Black; + this.contactList.FullRowSelect = true; + this.contactList.GridColor = System.Drawing.Color.LightGray; + this.contactList.GridLines = GlacialComponents.Controls.GLGridLines.gridHorizontal; + this.contactList.GridLineStyle = GlacialComponents.Controls.GLGridLineStyles.gridNone; + this.contactList.GridTypes = GlacialComponents.Controls.GLGridTypes.gridOnExists; + this.contactList.HeaderHeight = 0; + this.contactList.HeaderVisible = false; + this.contactList.HeaderWordWrap = false; + this.contactList.HotColumnTracking = false; + this.contactList.HotItemTracking = false; + this.contactList.HotTrackingColor = System.Drawing.Color.LightGray; + this.contactList.HoverEvents = false; + this.contactList.HoverTime = 1; + this.contactList.ImageList = null; + this.contactList.ItemHeight = 17; + this.contactList.ItemWordWrap = false; + this.contactList.Location = new System.Drawing.Point(0, 133); + this.contactList.Name = "contactList"; + this.contactList.Selectable = true; + this.contactList.SelectedTextColor = System.Drawing.Color.White; + this.contactList.SelectionColor = System.Drawing.Color.DarkBlue; + this.contactList.ShowBorder = false; + this.contactList.ShowFocusRect = false; + this.contactList.Size = new System.Drawing.Size(624, 312); + this.contactList.SortType = GlacialComponents.Controls.SortTypes.InsertionSort; + this.contactList.SuperFlatHeaderColor = System.Drawing.Color.White; + this.contactList.TabIndex = 6; + this.contactList.Text = "contactList"; + // + // partnerImages + // + this.partnerImages.ColorDepth = System.Windows.Forms.ColorDepth.Depth8Bit; + this.partnerImages.ImageSize = new System.Drawing.Size(16, 16); + this.partnerImages.TransparentColor = System.Drawing.Color.Transparent; + // + // MainForm + // + this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F); + this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; + this.BackColor = System.Drawing.Color.LightSkyBlue; + this.ClientSize = new System.Drawing.Size(624, 442); + this.Controls.Add(this.contactList); + this.Controls.Add(this.panel2); + this.Controls.Add(this.button1); + this.Controls.Add(this.panel1); + this.Controls.Add(this.menuStrip1); + this.MainMenuStrip = this.menuStrip1; + this.Name = "MainForm"; + this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen; + this.Text = "Live Messenger Plus - MSGer.tk"; + this.panel2.ResumeLayout(false); + this.panel2.PerformLayout(); + this.menuStrip1.ResumeLayout(false); + this.menuStrip1.PerformLayout(); + this.ResumeLayout(false); + this.PerformLayout(); + + } + + #endregion + + private System.Windows.Forms.NotifyIcon notifyIcon1; + private System.Windows.Forms.MenuStrip menuStrip1; + private System.Windows.Forms.ToolStripMenuItem fájlToolStripMenuItem; + private System.Windows.Forms.ToolStripMenuItem kijelentkezésToolStripMenuItem; + private System.Windows.Forms.ToolStripSeparator toolStripSeparator1; + private System.Windows.Forms.ToolStripMenuItem állapotToolStripMenuItem; + private System.Windows.Forms.ToolStripMenuItem elérhetőToolStripMenuItem; + private System.Windows.Forms.ToolStripMenuItem elfoglaltToolStripMenuItem; + private System.Windows.Forms.ToolStripMenuItem nincsAGépnélToolStripMenuItem; + private System.Windows.Forms.ToolStripMenuItem rejtveKapcsolódikToolStripMenuItem; + private System.Windows.Forms.ToolStripSeparator toolStripSeparator2; + private System.Windows.Forms.ToolStripMenuItem fájlKüldéseToolStripMenuItem; + private System.Windows.Forms.ToolStripMenuItem beérkezettFájlokMappájánakMegnyitásaToolStripMenuItem; + private System.Windows.Forms.ToolStripMenuItem üzenetekElőzményeinekMegtekintéseToolStripMenuItem; + private System.Windows.Forms.ToolStripSeparator toolStripSeparator3; + private System.Windows.Forms.ToolStripMenuItem bezárásToolStripMenuItem; + private System.Windows.Forms.ToolStripSeparator toolStripSeparator4; + private System.Windows.Forms.ToolStripMenuItem kilépésToolStripMenuItem; + private System.Windows.Forms.ToolStripMenuItem ismerősökToolStripMenuItem; + private System.Windows.Forms.ToolStripMenuItem ismerősFelvételeToolStripMenuItem; + private System.Windows.Forms.ToolStripMenuItem ismerősSzerkesztéseToolStripMenuItem; + private System.Windows.Forms.ToolStripMenuItem ismerősTörléseToolStripMenuItem; + private System.Windows.Forms.ToolStripSeparator toolStripSeparator5; + private System.Windows.Forms.ToolStripMenuItem csoportLétrehozásaToolStripMenuItem; + private System.Windows.Forms.ToolStripSeparator toolStripSeparator6; + private System.Windows.Forms.ToolStripMenuItem kategóriaLétrehozásaToolStripMenuItem; + private System.Windows.Forms.ToolStripMenuItem kategóriaSzerkesztéseToolStripMenuItem; + private System.Windows.Forms.ToolStripMenuItem kategóriaTörléseToolStripMenuItem; + private System.Windows.Forms.ToolStripMenuItem műveletekToolStripMenuItem; + private System.Windows.Forms.ToolStripMenuItem azonnaliÜzenetKüldéseToolStripMenuItem; + private System.Windows.Forms.ToolStripMenuItem egyébKüldéseToolStripMenuItem; + private System.Windows.Forms.ToolStripMenuItem emailKüldéseToolStripMenuItem; + private System.Windows.Forms.ToolStripMenuItem fájlKüldéseToolStripMenuItem1; + private System.Windows.Forms.ToolStripSeparator toolStripSeparator7; + private System.Windows.Forms.ToolStripMenuItem ismerősSzámitógépénekFelhivásaToolStripMenuItem; + private System.Windows.Forms.ToolStripMenuItem videóhivásInditásaToolStripMenuItem; + private System.Windows.Forms.ToolStripMenuItem onlineFájlokMegtekintéseToolStripMenuItem; + private System.Windows.Forms.ToolStripMenuItem közösJátékToolStripMenuItem; + private System.Windows.Forms.ToolStripMenuItem távsegitségKéréseToolStripMenuItem; + private System.Windows.Forms.ToolStripMenuItem eszközökToolStripMenuItem; + private System.Windows.Forms.ToolStripMenuItem mindigLegfelülToolStripMenuItem; + private System.Windows.Forms.ToolStripSeparator toolStripSeparator8; + private System.Windows.Forms.ToolStripMenuItem hangulatjelekToolStripMenuItem; + private System.Windows.Forms.ToolStripMenuItem megjelenitendőKépVáltásaToolStripMenuItem; + private System.Windows.Forms.ToolStripMenuItem háttérMódositásaToolStripMenuItem; + private System.Windows.Forms.ToolStripSeparator toolStripSeparator9; + private System.Windows.Forms.ToolStripMenuItem hangokÉsVideóBeállitásaToolStripMenuItem; + private System.Windows.Forms.ToolStripSeparator toolStripSeparator10; + private System.Windows.Forms.ToolStripMenuItem beállitásokToolStripMenuItem; + private System.Windows.Forms.ToolStripMenuItem súgóToolStripMenuItem; + private System.Windows.Forms.ToolStripMenuItem témakörökToolStripMenuItem; + private System.Windows.Forms.ToolStripSeparator toolStripSeparator11; + private System.Windows.Forms.ToolStripMenuItem aSzolgáltatásÁllapotsaToolStripMenuItem; + private System.Windows.Forms.ToolStripMenuItem adatvédelmiNyilatkozatToolStripMenuItem; + private System.Windows.Forms.ToolStripMenuItem használatiFeltételekToolStripMenuItem; + private System.Windows.Forms.ToolStripMenuItem visszaélésBejelentéseToolStripMenuItem; + private System.Windows.Forms.ToolStripSeparator toolStripSeparator12; + private System.Windows.Forms.ToolStripMenuItem segitsenAProgramTökéletesitésébenToolStripMenuItem; + private System.Windows.Forms.ToolStripSeparator toolStripSeparator13; + private System.Windows.Forms.ToolStripMenuItem névjegyToolStripMenuItem; + private System.Windows.Forms.TextBox textBox1; + private System.Windows.Forms.Button button1; + private System.Windows.Forms.Panel panel2; + private System.Windows.Forms.ToolStripMenuItem toolStripMenuItem1; + private System.Windows.Forms.Panel panel1; + private GlacialComponents.Controls.GlacialList contactList; + private System.Windows.Forms.ImageList partnerImages; + } +} + diff --git a/Most Closed Beta/v4.0/MSGer.tk (C#)/MainForm.cs b/Most Closed Beta/v4.0/MSGer.tk (C#)/MainForm.cs new file mode 100644 index 0000000..037bf1c --- /dev/null +++ b/Most Closed Beta/v4.0/MSGer.tk (C#)/MainForm.cs @@ -0,0 +1,114 @@ +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; +using System.Net; +using System.IO; +using GlacialComponents.Controls; + +namespace MSGer.tk +{ + public partial class MainForm : Form + { + private LoginForm LoginDialog; + //public static object SelectPartnerSender = null; + public static ToolStripMenuItem SelectPartnerSender = null; + public MainForm() + { + InitializeComponent(); + this.Hide(); + LoginDialog = new LoginForm(); + LoginDialog.ShowDialog(); + //Nézzük, sikerült-e + if (UserInfo.UserID == 0) + Close(); + this.Show(); + + string[] row = Networking.SendRequest("getlist", "", 3).Split('-'); //Lekéri a listát, és különválogatja egyben - 2014.02.28. + for (int x = 0; x < row.Length; x+=3) + { + string state = ""; + MessageBox.Show("0: " + row[x] + " 1: " + row[x + 1] + " 2: " + row[x + 2]); + if (row[x + 2] == "1") + state = " (Elérhető)"; + if (row[x + 2] == "2") + state = " (Elfoglalt)"; + if (row[x + 2] == "3") + state = " (Nincs a gépnél)"; + var listViewItem = new GLItem(contactList); + //listViewItem.SubItems.Add(row[x]); + //listViewItem.SubItems.Add(row[x + 1] + state); //1. oszlop: Kép; 2. oszlop: Név - Üzenet + listViewItem.SubItems[1].Text = row[x] + " " + state + " - " + row[x + 1]; + contactList.Items.Add(listViewItem); + /*if (Convert.ToInt32(row[x + 2]) != 0 && Convert.ToInt32(row[x + 2]) != 4) + listViewItem.Group = listView1.Groups["listViewGroup1"]; + else + listViewItem.Group = listView1.Groups["listViewGroup2"]; + listView1.Items.Add(listViewItem);*/ + this.Show(); + if (x + 4 >= row.Length) + break; + } + } + + private void LogoutUser(object sender, EventArgs e) + { + this.Hide(); + UserInfo.UserID = 0; + LoginForm.LButtonText = "Bejelentkezés"; + LoginForm.PassText = ""; + this.Invoke(new LoginForm.MyDelegate(LoginDialog.SetLoginValues)); + LoginDialog.ShowDialog(); + //Nézzük, sikerült-e + if (UserInfo.UserID == 0) + Close(); + this.Show(); + } + + private void LoginNewUser(object sender, EventArgs e) + { + System.Diagnostics.Process.Start("MSGer.tk.exe"); + } + + private void SetOnlineState(object sender, EventArgs e) + { + int state = 0; + if (sender == elérhetőToolStripMenuItem) + state = 1; + if (sender == elfoglaltToolStripMenuItem) + state = 2; + if (sender == nincsAGépnélToolStripMenuItem) + state = 3; + if (sender == rejtveKapcsolódikToolStripMenuItem) + state = 4; + //HTTP + if (Networking.SendRequest("setstate", state + "", 2) != "Success") + MessageBox.Show("Hiba történt az állapot beállitása során."); + } + + private void SelectPartner(object sender, EventArgs e) + { + SelectPartnerSender = (ToolStripMenuItem)sender; + DialogResult dr = new DialogResult(); + dr = (new SelectPartnerForm()).ShowDialog(); + if (dr == DialogResult.OK) + { + if (SelectPartnerSender == fájlKüldéseToolStripMenuItem) + { + ; + } + if (SelectPartnerSender == azonnaliÜzenetKüldéseToolStripMenuItem) + { + ; + } + } + /*else if (dr == DialogResult.Cancel) + ;*/ + } + } +} diff --git a/Most Closed Beta/v4.0/MSGer.tk (C#)/MainForm.resx b/Most Closed Beta/v4.0/MSGer.tk (C#)/MainForm.resx new file mode 100644 index 0000000..0cc15b2 --- /dev/null +++ b/Most Closed Beta/v4.0/MSGer.tk (C#)/MainForm.resx @@ -0,0 +1,126 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + WLM 2009 Logo base64-encoded probably - Spent hours on the correct sed command + + + System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + 17, 17 + + + 130, 17 + + + 245, 17 + + \ No newline at end of file diff --git a/Most Closed Beta/v4.0/MSGer.tk (C#)/Program.cs b/Most Closed Beta/v4.0/MSGer.tk (C#)/Program.cs new file mode 100644 index 0000000..9e86e89 --- /dev/null +++ b/Most Closed Beta/v4.0/MSGer.tk (C#)/Program.cs @@ -0,0 +1,74 @@ +using System; +using System.Collections.Generic; +using System.IO; +using System.Linq; +using System.Net; +using System.Text; +using System.Threading.Tasks; +using System.Windows.Forms; + +namespace MSGer.tk +{ + static class Program + { + /// + /// The main entry point for the application. + /// + [STAThread] + static void Main() + { + Application.EnableVisualStyles(); + Application.SetCompatibleTextRenderingDefault(false); + try + { + Application.Run(new MainForm()); + } + catch + { + } + } + } + static class Networking + { + public static string SendRequest(string action, string data, int remnum) //2014.02.18. + { + HttpWebRequest httpWReq = + (HttpWebRequest)WebRequest.Create("http://msger.tk/client.php"); + + ASCIIEncoding encoding = new ASCIIEncoding(); + string postData = "uid=" + UserInfo.UserID; + postData += "&action=" + action; + postData += "&key=cas1fe4a6feFEFEFE1616CE8099VFE1444cdasf48c1ase5dg"; + postData += "&code=" + LoginForm.UserCode; //2014.02.13. + postData += "&data=" + data; //2014.02.13. + byte[] datax = encoding.GetBytes(postData); + + httpWReq.Method = "POST"; + httpWReq.ContentType = "application/x-www-form-urlencoded"; + httpWReq.ContentLength = datax.Length; + + using (Stream stream = httpWReq.GetRequestStream()) + { + stream.Write(datax, 0, datax.Length); + } + + //Lista betöltése folyamatban... + + HttpWebResponse response = (HttpWebResponse)httpWReq.GetResponse(); + + string responseString = new StreamReader(response.GetResponseStream()).ReadToEnd(); + + try + { + responseString = responseString.Remove(responseString.IndexOf('<')); + } + catch + { + } + + responseString = responseString.Remove(responseString.Length - remnum); //A -1 nem elég + + return responseString; + } + } +} diff --git a/Most Closed Beta/v4.0/MSGer.tk (C#)/Properties/AssemblyInfo.cs b/Most Closed Beta/v4.0/MSGer.tk (C#)/Properties/AssemblyInfo.cs new file mode 100644 index 0000000..044ccb6 --- /dev/null +++ b/Most Closed Beta/v4.0/MSGer.tk (C#)/Properties/AssemblyInfo.cs @@ -0,0 +1,36 @@ +using System.Reflection; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +// General Information about an assembly is controlled through the following +// set of attributes. Change these attribute values to modify the information +// associated with an assembly. +[assembly: AssemblyTitle("MSGer.tk")] +[assembly: AssemblyDescription("")] +[assembly: AssemblyConfiguration("")] +[assembly: AssemblyCompany("")] +[assembly: AssemblyProduct("MSGer.tk")] +[assembly: AssemblyCopyright("Copyright © 2013")] +[assembly: AssemblyTrademark("")] +[assembly: AssemblyCulture("")] + +// Setting ComVisible to false makes the types in this assembly not visible +// to COM components. If you need to access a type in this assembly from +// COM, set the ComVisible attribute to true on that type. +[assembly: ComVisible(false)] + +// The following GUID is for the ID of the typelib if this project is exposed to COM +[assembly: Guid("d2fdb449-71d7-425e-942b-516005de4cc8")] + +// Version information for an assembly consists of the following four values: +// +// Major Version +// Minor Version +// Build Number +// Revision +// +// You can specify all the values or you can default the Build and Revision Numbers +// by using the '*' as shown below: +// [assembly: AssemblyVersion("1.0.*")] +[assembly: AssemblyVersion("1.0.0.0")] +[assembly: AssemblyFileVersion("1.0.0.0")] diff --git a/Most Closed Beta/v4.0/MSGer.tk (C#)/Properties/Resources.Designer.cs b/Most Closed Beta/v4.0/MSGer.tk (C#)/Properties/Resources.Designer.cs new file mode 100644 index 0000000..4c92e1d --- /dev/null +++ b/Most Closed Beta/v4.0/MSGer.tk (C#)/Properties/Resources.Designer.cs @@ -0,0 +1,103 @@ +//------------------------------------------------------------------------------ +// +// 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. +// +//------------------------------------------------------------------------------ + +namespace MSGer.tk.Properties { + using System; + + + /// + /// A strongly-typed resource class, for looking up localized strings, etc. + /// + // 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 Resources { + + private static global::System.Resources.ResourceManager resourceMan; + + private static global::System.Globalization.CultureInfo resourceCulture; + + [global::System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1811:AvoidUncalledPrivateCode")] + internal Resources() { + } + + /// + /// Returns the cached ResourceManager instance used by this class. + /// + [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("MSGer.tk.Properties.Resources", typeof(Resources).Assembly); + resourceMan = temp; + } + return resourceMan; + } + } + + /// + /// Overrides the current thread's CurrentUICulture property for all + /// resource lookups using this strongly typed resource class. + /// + [global::System.ComponentModel.EditorBrowsableAttribute(global::System.ComponentModel.EditorBrowsableState.Advanced)] + internal static global::System.Globalization.CultureInfo Culture { + get { + return resourceCulture; + } + set { + resourceCulture = value; + } + } + + /// + /// Looks up a localized resource of type System.Drawing.Bitmap. + /// + internal static System.Drawing.Bitmap Blue_Wallpaper_HD { + get { + object obj = ResourceManager.GetObject("Blue-Wallpaper-HD", resourceCulture); + return ((System.Drawing.Bitmap)(obj)); + } + } + + /// + /// Looks up a localized resource of type System.Drawing.Bitmap. + /// + internal static System.Drawing.Bitmap Blue_Wallpaper_HD_2 { + get { + object obj = ResourceManager.GetObject("Blue-Wallpaper-HD 2", resourceCulture); + return ((System.Drawing.Bitmap)(obj)); + } + } + + /// + /// Looks up a localized resource of type System.Drawing.Bitmap. + /// + internal static System.Drawing.Bitmap Keresősáv { + get { + object obj = ResourceManager.GetObject("Keresősáv", resourceCulture); + return ((System.Drawing.Bitmap)(obj)); + } + } + + /// + /// Looks up a localized resource of type System.Drawing.Bitmap. + /// + internal static System.Drawing.Bitmap Menü_2 { + get { + object obj = ResourceManager.GetObject("Menü 2", resourceCulture); + return ((System.Drawing.Bitmap)(obj)); + } + } + } +} diff --git a/Most Closed Beta/v4.0/MSGer.tk (C#)/Properties/Resources.resx b/Most Closed Beta/v4.0/MSGer.tk (C#)/Properties/Resources.resx new file mode 100644 index 0000000..7ac27db --- /dev/null +++ b/Most Closed Beta/v4.0/MSGer.tk (C#)/Properties/Resources.resx @@ -0,0 +1,133 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + text/microsoft-resx + + + 2.0 + + + System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + + ..\Resources\Keresősáv.jpg;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a + + + ..\Resources\Blue-Wallpaper-HD 21.jpg;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a + + + ..\Resources\Menü 22.jpg;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a + + + ..\Resources\Blue-Wallpaper-HD1.jpg;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a + + \ No newline at end of file diff --git a/Most Closed Beta/v4.0/MSGer.tk (C#)/Properties/Settings.Designer.cs b/Most Closed Beta/v4.0/MSGer.tk (C#)/Properties/Settings.Designer.cs new file mode 100644 index 0000000..c795cd2 --- /dev/null +++ b/Most Closed Beta/v4.0/MSGer.tk (C#)/Properties/Settings.Designer.cs @@ -0,0 +1,30 @@ +//------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// Runtime Version:4.0.30319.17929 +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +//------------------------------------------------------------------------------ + +namespace MSGer.tk.Properties +{ + + + [global::System.Runtime.CompilerServices.CompilerGeneratedAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.VisualStudio.Editors.SettingsDesigner.SettingsSingleFileGenerator", "11.0.0.0")] + internal sealed partial class Settings : global::System.Configuration.ApplicationSettingsBase + { + + private static Settings defaultInstance = ((Settings)(global::System.Configuration.ApplicationSettingsBase.Synchronized(new Settings()))); + + public static Settings Default + { + get + { + return defaultInstance; + } + } + } +} diff --git a/Most Closed Beta/v4.0/MSGer.tk (C#)/Properties/Settings.settings b/Most Closed Beta/v4.0/MSGer.tk (C#)/Properties/Settings.settings new file mode 100644 index 0000000..abf36c5 --- /dev/null +++ b/Most Closed Beta/v4.0/MSGer.tk (C#)/Properties/Settings.settings @@ -0,0 +1,7 @@ + + + + + + + diff --git a/Most Closed Beta/v4.0/MSGer.tk (C#)/Resources/Blue-Wallpaper-HD 2.jpg b/Most Closed Beta/v4.0/MSGer.tk (C#)/Resources/Blue-Wallpaper-HD 2.jpg new file mode 100644 index 0000000..2cf5782 Binary files /dev/null and b/Most Closed Beta/v4.0/MSGer.tk (C#)/Resources/Blue-Wallpaper-HD 2.jpg differ diff --git a/Most Closed Beta/v4.0/MSGer.tk (C#)/Resources/Blue-Wallpaper-HD 21.jpg b/Most Closed Beta/v4.0/MSGer.tk (C#)/Resources/Blue-Wallpaper-HD 21.jpg new file mode 100644 index 0000000..2cf5782 Binary files /dev/null and b/Most Closed Beta/v4.0/MSGer.tk (C#)/Resources/Blue-Wallpaper-HD 21.jpg differ diff --git a/Most Closed Beta/v4.0/MSGer.tk (C#)/Resources/Blue-Wallpaper-HD.jpg b/Most Closed Beta/v4.0/MSGer.tk (C#)/Resources/Blue-Wallpaper-HD.jpg new file mode 100644 index 0000000..38e9cbc Binary files /dev/null and b/Most Closed Beta/v4.0/MSGer.tk (C#)/Resources/Blue-Wallpaper-HD.jpg differ diff --git a/Most Closed Beta/v4.0/MSGer.tk (C#)/Resources/Blue-Wallpaper-HD1.jpg b/Most Closed Beta/v4.0/MSGer.tk (C#)/Resources/Blue-Wallpaper-HD1.jpg new file mode 100644 index 0000000..38e9cbc Binary files /dev/null and b/Most Closed Beta/v4.0/MSGer.tk (C#)/Resources/Blue-Wallpaper-HD1.jpg differ diff --git a/Most Closed Beta/v4.0/MSGer.tk (C#)/Resources/Keresősáv.jpg b/Most Closed Beta/v4.0/MSGer.tk (C#)/Resources/Keresősáv.jpg new file mode 100644 index 0000000..f54cf78 Binary files /dev/null and b/Most Closed Beta/v4.0/MSGer.tk (C#)/Resources/Keresősáv.jpg differ diff --git a/Most Closed Beta/v4.0/MSGer.tk (C#)/Resources/Menü 2.jpg b/Most Closed Beta/v4.0/MSGer.tk (C#)/Resources/Menü 2.jpg new file mode 100644 index 0000000..d4b1794 Binary files /dev/null and b/Most Closed Beta/v4.0/MSGer.tk (C#)/Resources/Menü 2.jpg differ diff --git a/Most Closed Beta/v4.0/MSGer.tk (C#)/Resources/Menü 21.jpg b/Most Closed Beta/v4.0/MSGer.tk (C#)/Resources/Menü 21.jpg new file mode 100644 index 0000000..d4b1794 Binary files /dev/null and b/Most Closed Beta/v4.0/MSGer.tk (C#)/Resources/Menü 21.jpg differ diff --git a/Most Closed Beta/v4.0/MSGer.tk (C#)/Resources/Menü 22.jpg b/Most Closed Beta/v4.0/MSGer.tk (C#)/Resources/Menü 22.jpg new file mode 100644 index 0000000..d4b1794 Binary files /dev/null and b/Most Closed Beta/v4.0/MSGer.tk (C#)/Resources/Menü 22.jpg differ diff --git a/Most Closed Beta/v4.0/MSGer.tk (C#)/Resources/Menü 3.jpg b/Most Closed Beta/v4.0/MSGer.tk (C#)/Resources/Menü 3.jpg new file mode 100644 index 0000000..a021f2f Binary files /dev/null and b/Most Closed Beta/v4.0/MSGer.tk (C#)/Resources/Menü 3.jpg differ diff --git a/Most Closed Beta/v4.0/MSGer.tk (C#)/SelectPartnerForm.Designer.cs b/Most Closed Beta/v4.0/MSGer.tk (C#)/SelectPartnerForm.Designer.cs new file mode 100644 index 0000000..d3952a9 --- /dev/null +++ b/Most Closed Beta/v4.0/MSGer.tk (C#)/SelectPartnerForm.Designer.cs @@ -0,0 +1,143 @@ +namespace MSGer.tk +{ + partial class SelectPartnerForm + { + /// + /// Required designer variable. + /// + private System.ComponentModel.IContainer components = null; + + /// + /// Clean up any resources being used. + /// + /// true if managed resources should be disposed; otherwise, false. + protected override void Dispose(bool disposing) + { + if (disposing && (components != null)) + { + components.Dispose(); + } + base.Dispose(disposing); + } + + #region Windows Form Designer generated code + + /// + /// Required method for Designer support - do not modify + /// the contents of this method with the code editor. + /// + private void InitializeComponent() + { + this.partnerList = new GlacialComponents.Controls.GlacialList(); + this.selectedPartners = new System.Windows.Forms.TextBox(); + this.okbtn = new System.Windows.Forms.Button(); + this.cancelbtn = new System.Windows.Forms.Button(); + this.titleText = new System.Windows.Forms.Label(); + this.SuspendLayout(); + // + // partnerList + // + this.partnerList.AllowColumnResize = true; + this.partnerList.AllowMultiselect = false; + this.partnerList.AlternateBackground = System.Drawing.Color.DarkGreen; + this.partnerList.AlternatingColors = false; + this.partnerList.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.partnerList.AutoHeight = true; + this.partnerList.BackColor = System.Drawing.SystemColors.ControlLightLight; + this.partnerList.BackgroundStretchToFit = true; + this.partnerList.ControlStyle = GlacialComponents.Controls.GLControlStyles.Normal; + this.partnerList.FullRowSelect = true; + this.partnerList.GridColor = System.Drawing.Color.LightGray; + this.partnerList.GridLines = GlacialComponents.Controls.GLGridLines.gridBoth; + this.partnerList.GridLineStyle = GlacialComponents.Controls.GLGridLineStyles.gridSolid; + this.partnerList.GridTypes = GlacialComponents.Controls.GLGridTypes.gridOnExists; + this.partnerList.HeaderHeight = 0; + this.partnerList.HeaderVisible = false; + this.partnerList.HeaderWordWrap = false; + this.partnerList.HotColumnTracking = false; + this.partnerList.HotItemTracking = false; + this.partnerList.HotTrackingColor = System.Drawing.Color.LightGray; + this.partnerList.HoverEvents = false; + this.partnerList.HoverTime = 1; + this.partnerList.ImageList = null; + this.partnerList.ItemHeight = 18; + this.partnerList.ItemWordWrap = false; + this.partnerList.Location = new System.Drawing.Point(13, 26); + this.partnerList.Name = "partnerList"; + this.partnerList.Selectable = true; + this.partnerList.SelectedTextColor = System.Drawing.Color.White; + this.partnerList.SelectionColor = System.Drawing.Color.DarkBlue; + this.partnerList.ShowBorder = true; + this.partnerList.ShowFocusRect = false; + this.partnerList.Size = new System.Drawing.Size(359, 286); + this.partnerList.SortType = GlacialComponents.Controls.SortTypes.InsertionSort; + this.partnerList.SuperFlatHeaderColor = System.Drawing.Color.White; + this.partnerList.TabIndex = 0; + // + // selectedPartners + // + this.selectedPartners.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left) + | System.Windows.Forms.AnchorStyles.Right))); + this.selectedPartners.Location = new System.Drawing.Point(13, 319); + this.selectedPartners.Multiline = true; + this.selectedPartners.Name = "selectedPartners"; + this.selectedPartners.Size = new System.Drawing.Size(359, 103); + this.selectedPartners.TabIndex = 1; + // + // okbtn + // + this.okbtn.DialogResult = System.Windows.Forms.DialogResult.OK; + this.okbtn.Location = new System.Drawing.Point(215, 428); + this.okbtn.Name = "okbtn"; + this.okbtn.Size = new System.Drawing.Size(75, 23); + this.okbtn.TabIndex = 2; + this.okbtn.Text = "OK"; + this.okbtn.UseVisualStyleBackColor = true; + // + // cancelbtn + // + this.cancelbtn.DialogResult = System.Windows.Forms.DialogResult.Cancel; + this.cancelbtn.Location = new System.Drawing.Point(297, 429); + this.cancelbtn.Name = "cancelbtn"; + this.cancelbtn.Size = new System.Drawing.Size(75, 23); + this.cancelbtn.TabIndex = 3; + this.cancelbtn.Text = "Mégse"; + this.cancelbtn.UseVisualStyleBackColor = true; + // + // titleText + // + this.titleText.AutoSize = true; + this.titleText.Location = new System.Drawing.Point(13, 7); + this.titleText.Name = "titleText"; + this.titleText.Size = new System.Drawing.Size(53, 13); + this.titleText.TabIndex = 4; + this.titleText.Text = "Unknown"; + // + // SelectPartnerForm + // + this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F); + this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; + this.ClientSize = new System.Drawing.Size(384, 462); + this.Controls.Add(this.titleText); + this.Controls.Add(this.cancelbtn); + this.Controls.Add(this.okbtn); + this.Controls.Add(this.selectedPartners); + this.Controls.Add(this.partnerList); + this.Name = "SelectPartnerForm"; + this.Text = "SelectPartnerForm"; + this.ResumeLayout(false); + this.PerformLayout(); + + } + + #endregion + + private GlacialComponents.Controls.GlacialList partnerList; + private System.Windows.Forms.TextBox selectedPartners; + private System.Windows.Forms.Button okbtn; + private System.Windows.Forms.Button cancelbtn; + private System.Windows.Forms.Label titleText; + } +} \ No newline at end of file diff --git a/Most Closed Beta/v4.0/MSGer.tk (C#)/SelectPartnerForm.cs b/Most Closed Beta/v4.0/MSGer.tk (C#)/SelectPartnerForm.cs new file mode 100644 index 0000000..1113ff5 --- /dev/null +++ b/Most Closed Beta/v4.0/MSGer.tk (C#)/SelectPartnerForm.cs @@ -0,0 +1,25 @@ +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 SelectPartnerForm : Form + { + public SelectPartnerForm() + { + InitializeComponent(); + //this.Text = MainForm.SelectPartnerSender.ToString(); + //titleText.Text = MainForm.SelectPartnerSender.ToString(); + this.Text = MainForm.SelectPartnerSender.Text; //2014.02.28. + titleText.Text = MainForm.SelectPartnerSender.Text; + + } + } +} diff --git a/Most Closed Beta/v4.0/MSGer.tk (C#)/SelectPartnerForm.resx b/Most Closed Beta/v4.0/MSGer.tk (C#)/SelectPartnerForm.resx new file mode 100644 index 0000000..29dcb1b --- /dev/null +++ b/Most Closed Beta/v4.0/MSGer.tk (C#)/SelectPartnerForm.resx @@ -0,0 +1,120 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + text/microsoft-resx + + + 2.0 + + + System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + \ No newline at end of file diff --git a/Most Closed Beta/v4.0/MSGer.tk (C#)/Settings.Designer.cs b/Most Closed Beta/v4.0/MSGer.tk (C#)/Settings.Designer.cs new file mode 100644 index 0000000..d412bd3 --- /dev/null +++ b/Most Closed Beta/v4.0/MSGer.tk (C#)/Settings.Designer.cs @@ -0,0 +1,38 @@ +//------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// Runtime Version:4.0.30319.17929 +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +//------------------------------------------------------------------------------ + +namespace MSGer.tk { + + + [global::System.Runtime.CompilerServices.CompilerGeneratedAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.VisualStudio.Editors.SettingsDesigner.SettingsSingleFileGenerator", "11.0.0.0")] + internal sealed partial class Settings : global::System.Configuration.ApplicationSettingsBase { + + private static Settings defaultInstance = ((Settings)(global::System.Configuration.ApplicationSettingsBase.Synchronized(new Settings()))); + + public static Settings Default { + get { + return defaultInstance; + } + } + + [global::System.Configuration.UserScopedSettingAttribute()] + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.Configuration.DefaultSettingValueAttribute("")] + public string email { + get { + return ((string)(this["email"])); + } + set { + this["email"] = value; + } + } + } +} diff --git a/Most Closed Beta/v4.0/MSGer.tk (C#)/Settings.cs b/Most Closed Beta/v4.0/MSGer.tk (C#)/Settings.cs new file mode 100644 index 0000000..2cae8b2 --- /dev/null +++ b/Most Closed Beta/v4.0/MSGer.tk (C#)/Settings.cs @@ -0,0 +1,28 @@ +namespace MSGer.tk { + + + // This class allows you to handle specific events on the settings class: + // The SettingChanging event is raised before a setting's value is changed. + // The PropertyChanged event is raised after a setting's value is changed. + // The SettingsLoaded event is raised after the setting values are loaded. + // The SettingsSaving event is raised before the setting values are saved. + internal sealed partial class Settings { + + public Settings() { + // // To add event handlers for saving and changing settings, uncomment the lines below: + // + // this.SettingChanging += this.SettingChangingEventHandler; + // + // this.SettingsSaving += this.SettingsSavingEventHandler; + // + } + + private void SettingChangingEventHandler(object sender, System.Configuration.SettingChangingEventArgs e) { + // Add code to handle the SettingChangingEvent event here. + } + + private void SettingsSavingEventHandler(object sender, System.ComponentModel.CancelEventArgs e) { + // Add code to handle the SettingsSaving event here. + } + } +} diff --git a/Most Closed Beta/v4.0/MSGer.tk (C#)/Settings.settings b/Most Closed Beta/v4.0/MSGer.tk (C#)/Settings.settings new file mode 100644 index 0000000..b7c1c53 --- /dev/null +++ b/Most Closed Beta/v4.0/MSGer.tk (C#)/Settings.settings @@ -0,0 +1,9 @@ + + + + + + + + + \ No newline at end of file diff --git a/Most Closed Beta/v4.0/MSGer.tk (C#)/TextFormat.cs b/Most Closed Beta/v4.0/MSGer.tk (C#)/TextFormat.cs new file mode 100644 index 0000000..e65551d --- /dev/null +++ b/Most Closed Beta/v4.0/MSGer.tk (C#)/TextFormat.cs @@ -0,0 +1,13 @@ +using System; +using System.Collections.Generic; +using System.Linq; +using System.Text; +using System.Threading.Tasks; + +namespace MSGer.tk +{ + class TextFormat + { + + } +} diff --git a/Most Closed Beta/v4.0/MSGer.tk (C#)/UserInfo.cs b/Most Closed Beta/v4.0/MSGer.tk (C#)/UserInfo.cs new file mode 100644 index 0000000..b567f76 --- /dev/null +++ b/Most Closed Beta/v4.0/MSGer.tk (C#)/UserInfo.cs @@ -0,0 +1,13 @@ +using System; +using System.Collections.Generic; +using System.Linq; +using System.Text; +using System.Threading.Tasks; + +namespace MSGer.tk +{ + class UserInfo + { + public static int UserID = 0; + } +} diff --git a/Most Closed Beta/v4.0/MSGer.tk (C#)/bin/Debug/GlacialList.dll b/Most Closed Beta/v4.0/MSGer.tk (C#)/bin/Debug/GlacialList.dll new file mode 100644 index 0000000..6652693 Binary files /dev/null and b/Most Closed Beta/v4.0/MSGer.tk (C#)/bin/Debug/GlacialList.dll differ diff --git a/Most Closed Beta/v4.0/MSGer.tk (C#)/bin/Debug/GlacialList.pdb b/Most Closed Beta/v4.0/MSGer.tk (C#)/bin/Debug/GlacialList.pdb new file mode 100644 index 0000000..ee239c7 Binary files /dev/null and b/Most Closed Beta/v4.0/MSGer.tk (C#)/bin/Debug/GlacialList.pdb differ diff --git a/Most Closed Beta/v4.0/MSGer.tk (C#)/bin/Debug/Khendys.Controls.ExRichTextBox.dll b/Most Closed Beta/v4.0/MSGer.tk (C#)/bin/Debug/Khendys.Controls.ExRichTextBox.dll new file mode 100644 index 0000000..a7d76f2 Binary files /dev/null and b/Most Closed Beta/v4.0/MSGer.tk (C#)/bin/Debug/Khendys.Controls.ExRichTextBox.dll differ diff --git a/Most Closed Beta/v4.0/MSGer.tk (C#)/bin/Debug/Khendys.Controls.ExRichTextBox.pdb b/Most Closed Beta/v4.0/MSGer.tk (C#)/bin/Debug/Khendys.Controls.ExRichTextBox.pdb new file mode 100644 index 0000000..29136fb Binary files /dev/null and b/Most Closed Beta/v4.0/MSGer.tk (C#)/bin/Debug/Khendys.Controls.ExRichTextBox.pdb differ diff --git a/Most Closed Beta/v4.0/MSGer.tk (C#)/bin/Debug/MSGer.tk.exe b/Most Closed Beta/v4.0/MSGer.tk (C#)/bin/Debug/MSGer.tk.exe new file mode 100644 index 0000000..dd5c367 Binary files /dev/null and b/Most Closed Beta/v4.0/MSGer.tk (C#)/bin/Debug/MSGer.tk.exe differ diff --git a/Most Closed Beta/v4.0/MSGer.tk (C#)/bin/Debug/MSGer.tk.exe.config b/Most Closed Beta/v4.0/MSGer.tk (C#)/bin/Debug/MSGer.tk.exe.config new file mode 100644 index 0000000..01566ac --- /dev/null +++ b/Most Closed Beta/v4.0/MSGer.tk (C#)/bin/Debug/MSGer.tk.exe.config @@ -0,0 +1,18 @@ + + + + +
+ + + + + + + + + + + + + \ No newline at end of file diff --git a/Most Closed Beta/v4.0/MSGer.tk (C#)/bin/Debug/MSGer.tk.pdb b/Most Closed Beta/v4.0/MSGer.tk (C#)/bin/Debug/MSGer.tk.pdb new file mode 100644 index 0000000..1674a79 Binary files /dev/null and b/Most Closed Beta/v4.0/MSGer.tk (C#)/bin/Debug/MSGer.tk.pdb differ diff --git a/Most Closed Beta/v4.0/MSGer.tk (C#)/bin/Debug/MSGer.tk.vshost.exe b/Most Closed Beta/v4.0/MSGer.tk (C#)/bin/Debug/MSGer.tk.vshost.exe new file mode 100644 index 0000000..c0dfecc Binary files /dev/null and b/Most Closed Beta/v4.0/MSGer.tk (C#)/bin/Debug/MSGer.tk.vshost.exe differ diff --git a/Most Closed Beta/v4.0/MSGer.tk (C#)/bin/Debug/MSGer.tk.vshost.exe.config b/Most Closed Beta/v4.0/MSGer.tk (C#)/bin/Debug/MSGer.tk.vshost.exe.config new file mode 100644 index 0000000..01566ac --- /dev/null +++ b/Most Closed Beta/v4.0/MSGer.tk (C#)/bin/Debug/MSGer.tk.vshost.exe.config @@ -0,0 +1,18 @@ + + + + +
+ + + + + + + + + + + + + \ No newline at end of file diff --git a/Most Closed Beta/v4.0/MSGer.tk (C#)/bin/Debug/MSGer.tk.vshost.exe.manifest b/Most Closed Beta/v4.0/MSGer.tk (C#)/bin/Debug/MSGer.tk.vshost.exe.manifest new file mode 100644 index 0000000..f96b1d6 --- /dev/null +++ b/Most Closed Beta/v4.0/MSGer.tk (C#)/bin/Debug/MSGer.tk.vshost.exe.manifest @@ -0,0 +1,11 @@ + + + + + + + + + + + diff --git a/Most Closed Beta/v4.0/MSGer.tk (C#)/bin/Release/MSGer.tk.exe b/Most Closed Beta/v4.0/MSGer.tk (C#)/bin/Release/MSGer.tk.exe new file mode 100644 index 0000000..ba5712d Binary files /dev/null and b/Most Closed Beta/v4.0/MSGer.tk (C#)/bin/Release/MSGer.tk.exe differ diff --git a/Most Closed Beta/v4.0/MSGer.tk (C#)/bin/Release/MSGer.tk.exe.config b/Most Closed Beta/v4.0/MSGer.tk (C#)/bin/Release/MSGer.tk.exe.config new file mode 100644 index 0000000..01566ac --- /dev/null +++ b/Most Closed Beta/v4.0/MSGer.tk (C#)/bin/Release/MSGer.tk.exe.config @@ -0,0 +1,18 @@ + + + + +
+ + + + + + + + + + + + + \ No newline at end of file diff --git a/Most Closed Beta/v4.0/MSGer.tk (C#)/bin/Release/MSGer.tk.pdb b/Most Closed Beta/v4.0/MSGer.tk (C#)/bin/Release/MSGer.tk.pdb new file mode 100644 index 0000000..0f86b2a Binary files /dev/null and b/Most Closed Beta/v4.0/MSGer.tk (C#)/bin/Release/MSGer.tk.pdb differ diff --git a/Most Closed Beta/v4.0/MSGer.tk (C#)/bin/Release/MSGer.tk.vshost.exe b/Most Closed Beta/v4.0/MSGer.tk (C#)/bin/Release/MSGer.tk.vshost.exe new file mode 100644 index 0000000..8c84517 Binary files /dev/null and b/Most Closed Beta/v4.0/MSGer.tk (C#)/bin/Release/MSGer.tk.vshost.exe differ diff --git a/Most Closed Beta/v4.0/MSGer.tk (C#)/bin/Release/MSGer.tk.vshost.exe.config b/Most Closed Beta/v4.0/MSGer.tk (C#)/bin/Release/MSGer.tk.vshost.exe.config new file mode 100644 index 0000000..01566ac --- /dev/null +++ b/Most Closed Beta/v4.0/MSGer.tk (C#)/bin/Release/MSGer.tk.vshost.exe.config @@ -0,0 +1,18 @@ + + + + +
+ + + + + + + + + + + + + \ No newline at end of file diff --git a/Most Closed Beta/v4.0/MSGer.tk (C#)/bin/Release/MSGer.tk.vshost.exe.manifest b/Most Closed Beta/v4.0/MSGer.tk (C#)/bin/Release/MSGer.tk.vshost.exe.manifest new file mode 100644 index 0000000..f96b1d6 --- /dev/null +++ b/Most Closed Beta/v4.0/MSGer.tk (C#)/bin/Release/MSGer.tk.vshost.exe.manifest @@ -0,0 +1,11 @@ + + + + + + + + + + + diff --git a/Most Closed Beta/v4.0/MSGer.tk (C#)/obj/Debug/DesignTimeResolveAssemblyReferences.cache b/Most Closed Beta/v4.0/MSGer.tk (C#)/obj/Debug/DesignTimeResolveAssemblyReferences.cache new file mode 100644 index 0000000..4b0a26f Binary files /dev/null and b/Most Closed Beta/v4.0/MSGer.tk (C#)/obj/Debug/DesignTimeResolveAssemblyReferences.cache differ diff --git a/Most Closed Beta/v4.0/MSGer.tk (C#)/obj/Debug/DesignTimeResolveAssemblyReferencesInput.cache b/Most Closed Beta/v4.0/MSGer.tk (C#)/obj/Debug/DesignTimeResolveAssemblyReferencesInput.cache new file mode 100644 index 0000000..3ba10aa Binary files /dev/null and b/Most Closed Beta/v4.0/MSGer.tk (C#)/obj/Debug/DesignTimeResolveAssemblyReferencesInput.cache differ diff --git a/Most Closed Beta/v4.0/MSGer.tk (C#)/obj/Debug/MSGer.tk.LoginForm.resources b/Most Closed Beta/v4.0/MSGer.tk (C#)/obj/Debug/MSGer.tk.LoginForm.resources new file mode 100644 index 0000000..6c05a97 Binary files /dev/null and b/Most Closed Beta/v4.0/MSGer.tk (C#)/obj/Debug/MSGer.tk.LoginForm.resources differ diff --git a/Most Closed Beta/v4.0/MSGer.tk (C#)/obj/Debug/MSGer.tk.MainForm.resources b/Most Closed Beta/v4.0/MSGer.tk (C#)/obj/Debug/MSGer.tk.MainForm.resources new file mode 100644 index 0000000..6c05a97 Binary files /dev/null and b/Most Closed Beta/v4.0/MSGer.tk (C#)/obj/Debug/MSGer.tk.MainForm.resources differ diff --git a/Most Closed Beta/v4.0/MSGer.tk (C#)/obj/Debug/MSGer.tk.Properties.Resources.resources b/Most Closed Beta/v4.0/MSGer.tk (C#)/obj/Debug/MSGer.tk.Properties.Resources.resources new file mode 100644 index 0000000..2e7eded Binary files /dev/null and b/Most Closed Beta/v4.0/MSGer.tk (C#)/obj/Debug/MSGer.tk.Properties.Resources.resources differ diff --git a/Most Closed Beta/v4.0/MSGer.tk (C#)/obj/Debug/MSGer.tk.SelectPartnerForm.resources b/Most Closed Beta/v4.0/MSGer.tk (C#)/obj/Debug/MSGer.tk.SelectPartnerForm.resources new file mode 100644 index 0000000..6c05a97 Binary files /dev/null and b/Most Closed Beta/v4.0/MSGer.tk (C#)/obj/Debug/MSGer.tk.SelectPartnerForm.resources differ diff --git a/Most Closed Beta/v4.0/MSGer.tk (C#)/obj/Debug/MSGer.tk.csproj.FileListAbsolute.txt b/Most Closed Beta/v4.0/MSGer.tk (C#)/obj/Debug/MSGer.tk.csproj.FileListAbsolute.txt new file mode 100644 index 0000000..f345748 --- /dev/null +++ b/Most Closed Beta/v4.0/MSGer.tk (C#)/obj/Debug/MSGer.tk.csproj.FileListAbsolute.txt @@ -0,0 +1,23 @@ +D:\Z - Norbi cucca\0 Projektek\MSGer.tk\MSGer.tk\bin\Debug\MSGer.tk.exe.config +D:\Z - Norbi cucca\0 Projektek\MSGer.tk\MSGer.tk\bin\Debug\MSGer.tk.exe +D:\Z - Norbi cucca\0 Projektek\MSGer.tk\MSGer.tk\bin\Debug\MSGer.tk.pdb +D:\Z - Norbi cucca\0 Projektek\MSGer.tk\MSGer.tk\obj\Debug\MSGer.tk.MainForm.resources +D:\Z - Norbi cucca\0 Projektek\MSGer.tk\MSGer.tk\obj\Debug\MSGer.tk.Properties.Resources.resources +D:\Z - Norbi cucca\0 Projektek\MSGer.tk\MSGer.tk\obj\Debug\MSGer.tk.csproj.GenerateResource.Cache +D:\Z - Norbi cucca\0 Projektek\MSGer.tk\MSGer.tk\obj\Debug\MSGer.tk.exe +D:\Z - Norbi cucca\0 Projektek\MSGer.tk\MSGer.tk\obj\Debug\MSGer.tk.pdb +D:\Z - Norbi cucca\0 Projektek\MSGer.tk\MSGer.tk\obj\Debug\MSGer.tk.LoginForm.resources +D:\Z - Norbi cucca\0 Projektek\MSGer.tk\MSGer.tk\obj\Debug\MSGer.tk.csprojResolveAssemblyReference.cache +D:\Z - Norbi cucca\0 Projektek\MSGer.tk\MSGer.tk (C#)\bin\Debug\MSGer.tk.exe.config +D:\Z - Norbi cucca\0 Projektek\MSGer.tk\MSGer.tk (C#)\obj\Debug\MSGer.tk.exe +D:\Z - Norbi cucca\0 Projektek\MSGer.tk\MSGer.tk (C#)\obj\Debug\MSGer.tk.pdb +D:\Z - Norbi cucca\0 Projektek\MSGer.tk\MSGer.tk (C#)\bin\Debug\MSGer.tk.exe +D:\Z - Norbi cucca\0 Projektek\MSGer.tk\MSGer.tk (C#)\bin\Debug\MSGer.tk.pdb +D:\Z - Norbi cucca\0 Projektek\MSGer.tk\MSGer.tk (C#)\obj\Debug\MSGer.tk.MainForm.resources +D:\Z - Norbi cucca\0 Projektek\MSGer.tk\MSGer.tk (C#)\obj\Debug\MSGer.tk.LoginForm.resources +D:\Z - Norbi cucca\0 Projektek\MSGer.tk\MSGer.tk (C#)\obj\Debug\MSGer.tk.Properties.Resources.resources +D:\Z - Norbi cucca\0 Projektek\MSGer.tk\MSGer.tk (C#)\obj\Debug\MSGer.tk.csproj.GenerateResource.Cache +D:\Z - Norbi cucca\0 Projektek\MSGer.tk\MSGer.tk (C#)\obj\Debug\MSGer.tk.csprojResolveAssemblyReference.cache +D:\Z - Norbi cucca\0 Projektek\MSGer.tk\MSGer.tk (C#)\bin\Debug\GlacialList.dll +D:\Z - Norbi cucca\0 Projektek\MSGer.tk\MSGer.tk (C#)\bin\Debug\GlacialList.pdb +D:\Z - Norbi cucca\0 Projektek\MSGer.tk\MSGer.tk (C#)\obj\Debug\MSGer.tk.SelectPartnerForm.resources diff --git a/Most Closed Beta/v4.0/MSGer.tk (C#)/obj/Debug/MSGer.tk.csproj.GenerateResource.Cache b/Most Closed Beta/v4.0/MSGer.tk (C#)/obj/Debug/MSGer.tk.csproj.GenerateResource.Cache new file mode 100644 index 0000000..1f5dd15 Binary files /dev/null and b/Most Closed Beta/v4.0/MSGer.tk (C#)/obj/Debug/MSGer.tk.csproj.GenerateResource.Cache differ diff --git a/Most Closed Beta/v4.0/MSGer.tk (C#)/obj/Debug/MSGer.tk.csprojResolveAssemblyReference.cache b/Most Closed Beta/v4.0/MSGer.tk (C#)/obj/Debug/MSGer.tk.csprojResolveAssemblyReference.cache new file mode 100644 index 0000000..002afb1 Binary files /dev/null and b/Most Closed Beta/v4.0/MSGer.tk (C#)/obj/Debug/MSGer.tk.csprojResolveAssemblyReference.cache differ diff --git a/Most Closed Beta/v4.0/MSGer.tk (C#)/obj/Debug/MSGer.tk.exe b/Most Closed Beta/v4.0/MSGer.tk (C#)/obj/Debug/MSGer.tk.exe new file mode 100644 index 0000000..dd5c367 Binary files /dev/null and b/Most Closed Beta/v4.0/MSGer.tk (C#)/obj/Debug/MSGer.tk.exe differ diff --git a/Most Closed Beta/v4.0/MSGer.tk (C#)/obj/Debug/MSGer.tk.pdb b/Most Closed Beta/v4.0/MSGer.tk (C#)/obj/Debug/MSGer.tk.pdb new file mode 100644 index 0000000..1674a79 Binary files /dev/null and b/Most Closed Beta/v4.0/MSGer.tk (C#)/obj/Debug/MSGer.tk.pdb differ diff --git a/Most Closed Beta/v4.0/MSGer.tk (C#)/obj/Debug/TempPE/Properties.Resources.Designer.cs.dll b/Most Closed Beta/v4.0/MSGer.tk (C#)/obj/Debug/TempPE/Properties.Resources.Designer.cs.dll new file mode 100644 index 0000000..dafe2e9 Binary files /dev/null and b/Most Closed Beta/v4.0/MSGer.tk (C#)/obj/Debug/TempPE/Properties.Resources.Designer.cs.dll differ diff --git a/Most Closed Beta/v4.0/MSGer.tk (C#)/obj/Debug/TemporaryGeneratedFile_036C0B5B-1481-4323-8D20-8F5ADCB23D92.cs b/Most Closed Beta/v4.0/MSGer.tk (C#)/obj/Debug/TemporaryGeneratedFile_036C0B5B-1481-4323-8D20-8F5ADCB23D92.cs new file mode 100644 index 0000000..e69de29 diff --git a/Most Closed Beta/v4.0/MSGer.tk (C#)/obj/Debug/TemporaryGeneratedFile_5937a670-0e60-4077-877b-f7221da3dda1.cs b/Most Closed Beta/v4.0/MSGer.tk (C#)/obj/Debug/TemporaryGeneratedFile_5937a670-0e60-4077-877b-f7221da3dda1.cs new file mode 100644 index 0000000..e69de29 diff --git a/Most Closed Beta/v4.0/MSGer.tk (C#)/obj/Debug/TemporaryGeneratedFile_E7A71F73-0F8D-4B9B-B56E-8E70B10BC5D3.cs b/Most Closed Beta/v4.0/MSGer.tk (C#)/obj/Debug/TemporaryGeneratedFile_E7A71F73-0F8D-4B9B-B56E-8E70B10BC5D3.cs new file mode 100644 index 0000000..e69de29 diff --git a/Most Closed Beta/v4.0/MSGer.tk (C#)/obj/Release/DesignTimeResolveAssemblyReferences.cache b/Most Closed Beta/v4.0/MSGer.tk (C#)/obj/Release/DesignTimeResolveAssemblyReferences.cache new file mode 100644 index 0000000..37a5636 Binary files /dev/null and b/Most Closed Beta/v4.0/MSGer.tk (C#)/obj/Release/DesignTimeResolveAssemblyReferences.cache differ diff --git a/Most Closed Beta/v4.0/MSGer.tk (C#)/obj/Release/DesignTimeResolveAssemblyReferencesInput.cache b/Most Closed Beta/v4.0/MSGer.tk (C#)/obj/Release/DesignTimeResolveAssemblyReferencesInput.cache new file mode 100644 index 0000000..4663684 Binary files /dev/null and b/Most Closed Beta/v4.0/MSGer.tk (C#)/obj/Release/DesignTimeResolveAssemblyReferencesInput.cache differ diff --git a/Most Closed Beta/v4.0/MSGer.tk (C#)/obj/Release/MSGer.tk.LoginForm.resources b/Most Closed Beta/v4.0/MSGer.tk (C#)/obj/Release/MSGer.tk.LoginForm.resources new file mode 100644 index 0000000..6c05a97 Binary files /dev/null and b/Most Closed Beta/v4.0/MSGer.tk (C#)/obj/Release/MSGer.tk.LoginForm.resources differ diff --git a/Most Closed Beta/v4.0/MSGer.tk (C#)/obj/Release/MSGer.tk.MainForm.resources b/Most Closed Beta/v4.0/MSGer.tk (C#)/obj/Release/MSGer.tk.MainForm.resources new file mode 100644 index 0000000..6c05a97 Binary files /dev/null and b/Most Closed Beta/v4.0/MSGer.tk (C#)/obj/Release/MSGer.tk.MainForm.resources differ diff --git a/Most Closed Beta/v4.0/MSGer.tk (C#)/obj/Release/MSGer.tk.Properties.Resources.resources b/Most Closed Beta/v4.0/MSGer.tk (C#)/obj/Release/MSGer.tk.Properties.Resources.resources new file mode 100644 index 0000000..6c05a97 Binary files /dev/null and b/Most Closed Beta/v4.0/MSGer.tk (C#)/obj/Release/MSGer.tk.Properties.Resources.resources differ diff --git a/Most Closed Beta/v4.0/MSGer.tk (C#)/obj/Release/MSGer.tk.csproj.FileListAbsolute.txt b/Most Closed Beta/v4.0/MSGer.tk (C#)/obj/Release/MSGer.tk.csproj.FileListAbsolute.txt new file mode 100644 index 0000000..b7b0098 --- /dev/null +++ b/Most Closed Beta/v4.0/MSGer.tk (C#)/obj/Release/MSGer.tk.csproj.FileListAbsolute.txt @@ -0,0 +1,9 @@ +D:\Z - Norbi cucca\0 Projektek\MSGer.tk\MSGer.tk\bin\Release\MSGer.tk.exe.config +D:\Z - Norbi cucca\0 Projektek\MSGer.tk\MSGer.tk\bin\Release\MSGer.tk.exe +D:\Z - Norbi cucca\0 Projektek\MSGer.tk\MSGer.tk\bin\Release\MSGer.tk.pdb +D:\Z - Norbi cucca\0 Projektek\MSGer.tk\MSGer.tk\obj\Release\MSGer.tk.MainForm.resources +D:\Z - Norbi cucca\0 Projektek\MSGer.tk\MSGer.tk\obj\Release\MSGer.tk.LoginForm.resources +D:\Z - Norbi cucca\0 Projektek\MSGer.tk\MSGer.tk\obj\Release\MSGer.tk.Properties.Resources.resources +D:\Z - Norbi cucca\0 Projektek\MSGer.tk\MSGer.tk\obj\Release\MSGer.tk.csproj.GenerateResource.Cache +D:\Z - Norbi cucca\0 Projektek\MSGer.tk\MSGer.tk\obj\Release\MSGer.tk.exe +D:\Z - Norbi cucca\0 Projektek\MSGer.tk\MSGer.tk\obj\Release\MSGer.tk.pdb diff --git a/Most Closed Beta/v4.0/MSGer.tk (C#)/obj/Release/MSGer.tk.csproj.GenerateResource.Cache b/Most Closed Beta/v4.0/MSGer.tk (C#)/obj/Release/MSGer.tk.csproj.GenerateResource.Cache new file mode 100644 index 0000000..ad1861f Binary files /dev/null and b/Most Closed Beta/v4.0/MSGer.tk (C#)/obj/Release/MSGer.tk.csproj.GenerateResource.Cache differ diff --git a/Most Closed Beta/v4.0/MSGer.tk (C#)/obj/Release/MSGer.tk.exe b/Most Closed Beta/v4.0/MSGer.tk (C#)/obj/Release/MSGer.tk.exe new file mode 100644 index 0000000..ba5712d Binary files /dev/null and b/Most Closed Beta/v4.0/MSGer.tk (C#)/obj/Release/MSGer.tk.exe differ diff --git a/Most Closed Beta/v4.0/MSGer.tk (C#)/obj/Release/MSGer.tk.pdb b/Most Closed Beta/v4.0/MSGer.tk (C#)/obj/Release/MSGer.tk.pdb new file mode 100644 index 0000000..0f86b2a Binary files /dev/null and b/Most Closed Beta/v4.0/MSGer.tk (C#)/obj/Release/MSGer.tk.pdb differ diff --git a/Most Closed Beta/v4.0/MSGer.tk (C#)/obj/Release/TemporaryGeneratedFile_036C0B5B-1481-4323-8D20-8F5ADCB23D92.cs b/Most Closed Beta/v4.0/MSGer.tk (C#)/obj/Release/TemporaryGeneratedFile_036C0B5B-1481-4323-8D20-8F5ADCB23D92.cs new file mode 100644 index 0000000..e69de29 diff --git a/Most Closed Beta/v4.0/MSGer.tk (C#)/obj/Release/TemporaryGeneratedFile_5937a670-0e60-4077-877b-f7221da3dda1.cs b/Most Closed Beta/v4.0/MSGer.tk (C#)/obj/Release/TemporaryGeneratedFile_5937a670-0e60-4077-877b-f7221da3dda1.cs new file mode 100644 index 0000000..e69de29 diff --git a/Most Closed Beta/v4.0/MSGer.tk (C#)/obj/Release/TemporaryGeneratedFile_E7A71F73-0F8D-4B9B-B56E-8E70B10BC5D3.cs b/Most Closed Beta/v4.0/MSGer.tk (C#)/obj/Release/TemporaryGeneratedFile_E7A71F73-0F8D-4B9B-B56E-8E70B10BC5D3.cs new file mode 100644 index 0000000..e69de29 diff --git a/Most Closed Beta/v5.0/Changelog.txt b/Most Closed Beta/v5.0/Changelog.txt new file mode 100644 index 0000000..f44bda0 --- /dev/null +++ b/Most Closed Beta/v5.0/Changelog.txt @@ -0,0 +1,24 @@ +v5.0 - 2014.02.28., 2014.03.01., 05., 07. +---- +- Bellitsok hozzadva (csak a httrben mg): Profilkpek, s azok lthatsga (brki lthatja, vagy csak a partnerek) +- Kpmegjelenit rendszer kidolgozva - A bellit rendszer nlkl nem annyira hasznlhat - Mg +-- Kszenll a bellithatsgra: A listanzet oszlopszlessgnek s elemmagassgnak llitsval nzetet lehet majd vltani +- Listafrissit thread (akadsmentesen frissiti a listt a httrben 5 msodpercenknt; kikapcsolskor legfeljebb 5 msodpercig futhat mg a program emiatt a httrben) +-- Lthat, ahogy betlti egyesvel a kpeket; frissitskor megsznik a kijells - Taln bellithat lesz, ha szksges +- Kezeli, ha nem elrhet a szerver; rszletes informcit ir, ha ilyenkor llitod le a bejelentkezst +- A keressv trli az "Ismersk keresse..." szveget, ha aktiv lesz, ha inaktiv, akkor pedig visszairja - Ms szveggel nem teszi +- Jobb klikk-men elkszitve (nincs alapbl listaelemenknt) +- zenetklds elkezdve +- Egy specilis karakter nem hasznlhat (eddig a ktjel volt, mdositva) +- A partnerlista betltse alatt nem hasznlhat (kijelentkezs utn sem) +- Kdrendezs; flbehagyva - Tl sok van mr ebben a verziban + +v6.0 Tervek: +---- +- Meghivrendszer +- Fjlklds, zenetklds (fjlklds: fjlvlaszts, majd zenetklds) +- Rich Text szvegdoboz hasznlata a nevek, szemlyes zenetek megjelenitshez +http://stackoverflow.com/questions/6168177/how-to-insert-image-in-a-textbox +http://www.codeproject.com/Articles/4544/Insert-Plain-Text-and-Images-into-RichTextBox-at-R +- ItemWordWrap csak nagy listanzetben +- Rszletes partnerinformcitrols (most csak a listanztbe rakja) diff --git a/Most Closed Beta/v5.0/MSGer.tk (C#)/App.config b/Most Closed Beta/v5.0/MSGer.tk (C#)/App.config new file mode 100644 index 0000000..484ca80 --- /dev/null +++ b/Most Closed Beta/v5.0/MSGer.tk (C#)/App.config @@ -0,0 +1,21 @@ + + + + +
+ + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/Most Closed Beta/v5.0/MSGer.tk (C#)/ChatForm.Designer.cs b/Most Closed Beta/v5.0/MSGer.tk (C#)/ChatForm.Designer.cs new file mode 100644 index 0000000..6b4c9b7 --- /dev/null +++ b/Most Closed Beta/v5.0/MSGer.tk (C#)/ChatForm.Designer.cs @@ -0,0 +1,47 @@ +namespace MSGer.tk +{ + partial class ChatForm + { + /// + /// Required designer variable. + /// + private System.ComponentModel.IContainer components = null; + + /// + /// Clean up any resources being used. + /// + /// true if managed resources should be disposed; otherwise, false. + protected override void Dispose(bool disposing) + { + if (disposing && (components != null)) + { + components.Dispose(); + } + base.Dispose(disposing); + } + + #region Windows Form Designer generated code + + /// + /// Required method for Designer support - do not modify + /// the contents of this method with the code editor. + /// + private void InitializeComponent() + { + this.SuspendLayout(); + // + // ChatForm + // + this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F); + this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; + this.ClientSize = new System.Drawing.Size(564, 422); + this.Name = "ChatForm"; + this.Text = "ChatForm"; + this.Load += new System.EventHandler(this.ChatForm_Load); + this.ResumeLayout(false); + + } + + #endregion + } +} \ No newline at end of file diff --git a/Most Closed Beta/v5.0/MSGer.tk (C#)/ChatForm.cs b/Most Closed Beta/v5.0/MSGer.tk (C#)/ChatForm.cs new file mode 100644 index 0000000..24edef0 --- /dev/null +++ b/Most Closed Beta/v5.0/MSGer.tk (C#)/ChatForm.cs @@ -0,0 +1,33 @@ +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 ChatForm : Form + {/* 2014.03.07. A partnerinformáció birtokolja a chatablakot, és nem forditva + public int ChatPartner + { + get; + set; + }*/ + public ChatForm() + { + InitializeComponent(); + //Amint létrehozom, ez a kód lefut - Nem számit, hogy megjelenik-e + } + + private void ChatForm_Load(object sender, EventArgs e) + { + //MessageBox.Show(ChatPartner + ""); + //ChatPartner = 2; + //MessageBox.Show(ChatPartner + ""); + } + } +} diff --git a/Most Closed Beta/v5.0/MSGer.tk (C#)/ChatForm.resx b/Most Closed Beta/v5.0/MSGer.tk (C#)/ChatForm.resx new file mode 100644 index 0000000..29dcb1b --- /dev/null +++ b/Most Closed Beta/v5.0/MSGer.tk (C#)/ChatForm.resx @@ -0,0 +1,120 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + text/microsoft-resx + + + 2.0 + + + System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + \ No newline at end of file diff --git a/Most Closed Beta/v5.0/MSGer.tk (C#)/CurrentUser.cs b/Most Closed Beta/v5.0/MSGer.tk (C#)/CurrentUser.cs new file mode 100644 index 0000000..1293794 --- /dev/null +++ b/Most Closed Beta/v5.0/MSGer.tk (C#)/CurrentUser.cs @@ -0,0 +1,74 @@ +using System; +using System.Collections.Generic; +using System.IO; +using System.Linq; +using System.Text; +using System.Threading.Tasks; + +namespace MSGer.tk +{ + class CurrentUser + { + /* + * 2014.03.05. + * Információátrendezés: Property-k használata; Minden felhasználóhoz egy-egy User class + * Ez a class használható lenne az aktuális felhsaználó információinak tárolására + */ + public static int UserID = 0; + public static int[] PartnerIDs = new int[1024]; + public static int[] PicUpdateTime = new int[1024]; + public static string GetPartnerImage(int id) + { + /* + * Szükséges információk az adatbázisban: + * - Felhasználó képe a users táblában + * - A legutóbbi képváltás dátuma + * Ebből megállapitja a program, hogy le kell-e tölteni. + * Eltárol helyileg is egy dátumot, és ha már frissitette egyszer a képet (újabb a helyi dátum, mint az adatbázisban), + * akkor nem csinál semmit. Ha régebbi, akkor a partner azóta frissitette, tehát szükséges a letöltés. + */ + string str = Networking.SendRequest("getimage", PartnerIDs[id] + "+" + PicUpdateTime[PartnerIDs[id]], 2); //SetVars + /* + * Ez a funkció automatikusan elküldi a bejelentkezett felhasználó azonositóját, + * a PHP szkript pedig leellenőrzi, hogy egymásnak partnerei-e, ezáltal nem nézheti meg akárki akárkinek a profilképét + * (pedig a legtöbb helyen igy van, de szerintem jobb igy; lehet, hogy beállithatóvá teszem) + */ + if (str == "Fail") + { + return "noimage.png"; + } + else + { //Mentse el a képet + string tmp = Path.GetTempPath(); + if (!Directory.Exists(tmp + "\\MSGer.tk\\pictures")) + Directory.CreateDirectory(tmp + "\\MSGer.tk\\pictures"); + File.WriteAllText(tmp + "\\MSGer.tk\\pictures\\" + PartnerIDs[id] + ".png", str); + } + return "noimage.png"; + } + public static void InitVars() + { + if (Settings.Default.picupdatetime.Length == 0) + { + for (int x = 0; x < 1024; x++) + PicUpdateTime[x] = 0; //Ha nem nyúlunk hozzá, alapesetben régebbinek veszi a dátumot, ezáltal letölti + } + else + { + PicUpdateTime = Settings.Default.picupdatetime.Split(',').Select(s => Int32.Parse(s)).ToArray(); + } + } + public static void SetVars() + { + for (int x = 0; x < PicUpdateTime.Length; x++) + { + if (Settings.Default.picupdatetime.Length == 0) + PicUpdateTime[x] = 0; //Ha nem nyúlunk hozzá, alapesetben régebbinek veszi a dátumot, ezáltal letölti + else + { + Settings.Default.picupdatetime = String.Join(",", PicUpdateTime.Select(i => i.ToString()).ToArray()); + } + } + } + } +} diff --git a/Most Closed Beta/v5.0/MSGer.tk (C#)/LoginForm.Designer.cs b/Most Closed Beta/v5.0/MSGer.tk (C#)/LoginForm.Designer.cs new file mode 100644 index 0000000..0044d34 --- /dev/null +++ b/Most Closed Beta/v5.0/MSGer.tk (C#)/LoginForm.Designer.cs @@ -0,0 +1,132 @@ +namespace MSGer.tk +{ + partial class LoginForm + { + /// + /// Required designer variable. + /// + private System.ComponentModel.IContainer components = null; + + /// + /// Clean up any resources being used. + /// + /// true if managed resources should be disposed; otherwise, false. + protected override void Dispose(bool disposing) + { + if (disposing && (components != null)) + { + components.Dispose(); + } + base.Dispose(disposing); + } + + #region Windows Form Designer generated code + + /// + /// Required method for Designer support - do not modify + /// the contents of this method with the code editor. + /// + private void InitializeComponent() + { + this.label1 = new System.Windows.Forms.Label(); + this.label2 = new System.Windows.Forms.Label(); + this.textBox1 = new System.Windows.Forms.TextBox(); + this.label3 = new System.Windows.Forms.Label(); + this.textBox2 = new System.Windows.Forms.TextBox(); + this.button1 = new System.Windows.Forms.Button(); + this.SuspendLayout(); + // + // label1 + // + this.label1.AutoSize = true; + this.label1.Font = new System.Drawing.Font("Microsoft Sans Serif", 21.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(238))); + this.label1.ForeColor = System.Drawing.Color.Blue; + this.label1.Location = new System.Drawing.Point(13, 212); + this.label1.Name = "label1"; + this.label1.Size = new System.Drawing.Size(197, 33); + this.label1.TabIndex = 0; + this.label1.Text = "Bejelentkezés"; + // + // label2 + // + this.label2.AutoSize = true; + this.label2.Font = new System.Drawing.Font("Microsoft Sans Serif", 14.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(238))); + this.label2.Location = new System.Drawing.Point(19, 282); + this.label2.Name = "label2"; + this.label2.Size = new System.Drawing.Size(63, 24); + this.label2.TabIndex = 1; + this.label2.Text = "E-mail"; + // + // textBox1 + // + this.textBox1.AcceptsReturn = true; + this.textBox1.AcceptsTab = true; + this.textBox1.CharacterCasing = System.Windows.Forms.CharacterCasing.Lower; + this.textBox1.Location = new System.Drawing.Point(88, 285); + this.textBox1.Name = "textBox1"; + this.textBox1.Size = new System.Drawing.Size(294, 20); + this.textBox1.TabIndex = 2; + // + // label3 + // + this.label3.AutoSize = true; + this.label3.Font = new System.Drawing.Font("Microsoft Sans Serif", 14.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(238))); + this.label3.Location = new System.Drawing.Point(19, 311); + this.label3.Name = "label3"; + this.label3.Size = new System.Drawing.Size(63, 24); + this.label3.TabIndex = 3; + this.label3.Text = "Jelszó"; + // + // textBox2 + // + this.textBox2.AcceptsReturn = true; + this.textBox2.AcceptsTab = true; + this.textBox2.Location = new System.Drawing.Point(179, 315); + this.textBox2.Name = "textBox2"; + this.textBox2.PasswordChar = '→'; + this.textBox2.Size = new System.Drawing.Size(203, 20); + this.textBox2.TabIndex = 4; + // + // button1 + // + this.button1.Location = new System.Drawing.Point(235, 358); + this.button1.Name = "button1"; + this.button1.Size = new System.Drawing.Size(147, 23); + this.button1.TabIndex = 5; + this.button1.Text = "Bejelentkezés"; + this.button1.UseVisualStyleBackColor = true; + this.button1.Click += new System.EventHandler(this.button1_Click); + // + // LoginForm + // + this.AcceptButton = this.button1; + this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F); + this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; + this.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(150)))), ((int)(((byte)(200))))); + this.ClientSize = new System.Drawing.Size(394, 471); + this.Controls.Add(this.button1); + this.Controls.Add(this.textBox2); + this.Controls.Add(this.label3); + this.Controls.Add(this.textBox1); + this.Controls.Add(this.label2); + this.Controls.Add(this.label1); + this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedDialog; + this.MaximizeBox = false; + this.Name = "LoginForm"; + this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen; + this.Text = "Bejelentkezés"; + this.ResumeLayout(false); + this.PerformLayout(); + + } + + #endregion + + private System.Windows.Forms.Label label1; + private System.Windows.Forms.Label label2; + private System.Windows.Forms.TextBox textBox1; + private System.Windows.Forms.Label label3; + private System.Windows.Forms.TextBox textBox2; + private System.Windows.Forms.Button button1; + } +} \ No newline at end of file diff --git a/Most Closed Beta/v5.0/MSGer.tk (C#)/LoginForm.cs b/Most Closed Beta/v5.0/MSGer.tk (C#)/LoginForm.cs new file mode 100644 index 0000000..94cef05 --- /dev/null +++ b/Most Closed Beta/v5.0/MSGer.tk (C#)/LoginForm.cs @@ -0,0 +1,213 @@ +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; +using System.Net; +using System.IO; +using System.Security.Cryptography; +using System.Configuration; +using System.Threading; + +namespace MSGer.tk +{ + public partial class LoginForm : Form + { + public static string UserCode=""; + public static Thread LThread; + public LoginForm() + { + InitializeComponent(); + Thread.CurrentThread.Name = "Main Thread"; + + textBox1.Text = Settings.Default.email; + if (textBox1.TextLength != 0) + { + textBox2.Focus(); + } + } + private void button1_Click(object sender, EventArgs e) + { + if(button1.Text=="Mégse") + { + ResetAfterLogin(); + } + else + { + try + { + if (LThread.IsAlive) + { + MessageBox.Show("Még fut a bejelentkező folyamat. Próbáld újra kb. 10 másodperc múlva.\nEzt a hibát általában szerverhiba okozza. Ilyenkor hiába állitod le a bejelentkezést, az tovább próbálkozik.", "Hiba"); + return; + } + } + catch + { + } + // Create the thread object, passing in the Alpha.Beta method + // via a ThreadStart delegate. This does not start the thread. + LThread = new Thread(new ThreadStart(LoginUser)); + LThread.Name = "Login Thread"; + + // Start the thread + LThread.Start(); + + // Spin for a while waiting for the started thread to become + // alive: + while (!LThread.IsAlive) ; + + // Put the Main thread to sleep for 1 millisecond to allow oThread + // to do some work: + Thread.Sleep(1); + } + } + public delegate int MyDelegate(); + public int SetLoginValues() + { + if (UserText.Length == 0) + UserText = textBox1.Text; + else + textBox1.Text = UserText; + + if (PassText.Length == 0) + PassText = textBox2.Text; + else + textBox2.Text = PassText; + + button1.Text = LButtonText; + if (Closeable) + { + Closeable = false; + Close(); + } + return 0; + } + public int ResetAfterLogin() + { + StopLogin = true; + button1.Enabled = false; + /*int x = 0; + while (LThread.IsAlive) + { + if (x == 5000) + LThread.Abort(); + else + x++; + }*/ + //StopLogin = false; + button1.Text = "Bejelentkezés"; + button1.Enabled = true; + return 0; + } + public static string UserText = ""; //2014.02.14. + public static string PassText = ""; + public static string LButtonText = ""; + public static bool Closeable = false; + public static bool StopLogin = false; + + public void LoginUser() + { + //Állitson vissza minden változót, hogy újra belerakja az értekeket - 2014.02.28. + UserText = ""; + PassText = ""; + // + LButtonText = "Mégse"; + this.Invoke(new MyDelegate(SetLoginValues)); + + HttpWebRequest httpWReq = + (HttpWebRequest)WebRequest.Create("http://msger.tk/client.php"); + + ASCIIEncoding encoding = new ASCIIEncoding(); + string postData = "username=" + UserText; + postData += "&password=" + CalculateMD5Hash(PassText); + postData += "&key=cas1fe4a6feFEFEFE1616CE8099VFE1444cdasf48c1ase5dg"; + byte[] data = encoding.GetBytes(postData); + + httpWReq.Method = "POST"; + httpWReq.ContentType = "application/x-www-form-urlencoded"; + httpWReq.ContentLength = data.Length; + + if (StopLogin) + { + StopLogin = false; + return; + } + try + { + using (Stream stream = httpWReq.GetRequestStream()) + { + stream.Write(data, 0, data.Length); + } + } + catch + { + if (!StopLogin) + { + MessageBox.Show("Nem sikerült csatlakozni a szerverhez.", "Hiba"); + this.Invoke(new MyDelegate(ResetAfterLogin)); + } + } + if (StopLogin) + { + StopLogin = false; + return; + } + + //Bejelentkezés folyamatban... + HttpWebResponse response = (HttpWebResponse)httpWReq.GetResponse(); + if (StopLogin) + { + StopLogin = false; + return; + } + + string responseString = new StreamReader(response.GetResponseStream()).ReadToEnd(); + + try + { + responseString = responseString.Remove(responseString.IndexOf('<')); + } + catch + { + } + + if (String.Compare(responseString, "Fail") == 0) + { + LButtonText = "Bejelentkezés"; + this.Invoke(new MyDelegate(SetLoginValues)); + MessageBox.Show("Hiba: Helytelen felhasználónév, vagy jelszó.", "Hiba"); + } + else + { + //Elmenti az E-mail-t + Settings.Default.email = UserText; + Settings.Default.Save(); + //Bejelentkezés + CurrentUser.UserID = Convert.ToInt32(responseString); + LoginForm.UserCode = CalculateMD5Hash(CalculateMD5Hash(PassText).ToLower() + " Some text because why not " + CurrentUser.UserID).ToLower(); + Closeable = true; + this.Invoke(new MyDelegate(SetLoginValues)); + } + } + public string CalculateMD5Hash(string input) + { + // step 1, calculate MD5 hash from input + MD5 md5 = System.Security.Cryptography.MD5.Create(); + byte[] inputBytes = System.Text.Encoding.ASCII.GetBytes(input); + byte[] hash = md5.ComputeHash(inputBytes); + + // step 2, convert byte array to hex string + StringBuilder sb = new StringBuilder(); + for (int i = 0; i < hash.Length; i++) + { + sb.Append(hash[i].ToString("X2")); + } + return sb.ToString(); + } + } +} diff --git a/Most Closed Beta/v5.0/MSGer.tk (C#)/LoginForm.resx b/Most Closed Beta/v5.0/MSGer.tk (C#)/LoginForm.resx new file mode 100644 index 0000000..29dcb1b --- /dev/null +++ b/Most Closed Beta/v5.0/MSGer.tk (C#)/LoginForm.resx @@ -0,0 +1,120 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + text/microsoft-resx + + + 2.0 + + + System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + \ No newline at end of file diff --git a/Most Closed Beta/v5.0/MSGer.tk (C#)/MSGer.tk.csproj b/Most Closed Beta/v5.0/MSGer.tk (C#)/MSGer.tk.csproj new file mode 100644 index 0000000..cf063de --- /dev/null +++ b/Most Closed Beta/v5.0/MSGer.tk (C#)/MSGer.tk.csproj @@ -0,0 +1,159 @@ + + + + + Debug + AnyCPU + {F60940C0-05FC-46C0-948E-6DBECBBE38DD} + WinExe + Properties + MSGer.tk + MSGer.tk + v4.5 + 512 + + + AnyCPU + true + full + false + bin\Debug\ + DEBUG;TRACE + prompt + 4 + + + AnyCPU + pdbonly + true + bin\Release\ + TRACE + prompt + 4 + + + + C:\Users\Norbi\Downloads\GlacialListSource13\ListView\bin\Debug\GlacialList.dll + + + False + C:\Users\Norbi\Downloads\ExRichTextBox_src\ExRichTextBox\bin\Debug\Khendys.Controls.ExRichTextBox.dll + + + + + + + + + + + + + + + + Form + + + ChatForm.cs + + + + Form + + + MainForm.cs + + + Form + + + LoginForm.cs + + + + + True + True + Resources.resx + + + Form + + + SelectPartnerForm.cs + + + + True + True + Settings.settings + + + + ChatForm.cs + + + MainForm.cs + + + LoginForm.cs + + + ResXFileCodeGenerator + Resources.Designer.cs + + + SelectPartnerForm.cs + + + SettingsSingleFileGenerator + Settings.Designer.cs + + + True + Settings.settings + True + + + SettingsSingleFileGenerator + Settings.Designer.cs + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/Most Closed Beta/v5.0/MSGer.tk (C#)/MSGer.tk.sln b/Most Closed Beta/v5.0/MSGer.tk (C#)/MSGer.tk.sln new file mode 100644 index 0000000..8157d29 --- /dev/null +++ b/Most Closed Beta/v5.0/MSGer.tk (C#)/MSGer.tk.sln @@ -0,0 +1,20 @@ + +Microsoft Visual Studio Solution File, Format Version 12.00 +# Visual Studio Express 2012 for Windows Desktop +Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "MSGer.tk", "MSGer.tk.csproj", "{F60940C0-05FC-46C0-948E-6DBECBBE38DD}" +EndProject +Global + GlobalSection(SolutionConfigurationPlatforms) = preSolution + Debug|Any CPU = Debug|Any CPU + Release|Any CPU = Release|Any CPU + EndGlobalSection + GlobalSection(ProjectConfigurationPlatforms) = postSolution + {F60940C0-05FC-46C0-948E-6DBECBBE38DD}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {F60940C0-05FC-46C0-948E-6DBECBBE38DD}.Debug|Any CPU.Build.0 = Debug|Any CPU + {F60940C0-05FC-46C0-948E-6DBECBBE38DD}.Release|Any CPU.ActiveCfg = Release|Any CPU + {F60940C0-05FC-46C0-948E-6DBECBBE38DD}.Release|Any CPU.Build.0 = Release|Any CPU + EndGlobalSection + GlobalSection(SolutionProperties) = preSolution + HideSolutionNode = FALSE + EndGlobalSection +EndGlobal diff --git a/Most Closed Beta/v5.0/MSGer.tk (C#)/MSGer.tk.v11.suo b/Most Closed Beta/v5.0/MSGer.tk (C#)/MSGer.tk.v11.suo new file mode 100644 index 0000000..88974bf Binary files /dev/null and b/Most Closed Beta/v5.0/MSGer.tk (C#)/MSGer.tk.v11.suo differ diff --git a/Most Closed Beta/v5.0/MSGer.tk (C#)/MSGer.tk.v12.suo b/Most Closed Beta/v5.0/MSGer.tk (C#)/MSGer.tk.v12.suo new file mode 100644 index 0000000..673ead5 Binary files /dev/null and b/Most Closed Beta/v5.0/MSGer.tk (C#)/MSGer.tk.v12.suo differ diff --git a/Most Closed Beta/v5.0/MSGer.tk (C#)/MainForm.Designer.cs b/Most Closed Beta/v5.0/MSGer.tk (C#)/MainForm.Designer.cs new file mode 100644 index 0000000..10bd3d2 --- /dev/null +++ b/Most Closed Beta/v5.0/MSGer.tk (C#)/MainForm.Designer.cs @@ -0,0 +1,876 @@ +namespace MSGer.tk +{ + partial class MainForm + { + /// + /// Required designer variable. + /// + private System.ComponentModel.IContainer components = null; + + /// + /// Clean up any resources being used. + /// + /// true if managed resources should be disposed; otherwise, false. + protected override void Dispose(bool disposing) + { + if (disposing && (components != null)) + { + components.Dispose(); + } + base.Dispose(disposing); + } + + #region Windows Form Designer generated code + + /// + /// Required method for Designer support - do not modify + /// the contents of this method with the code editor. + /// + private void InitializeComponent() + { + this.components = new System.ComponentModel.Container(); + GlacialComponents.Controls.GLColumn glColumn3 = new GlacialComponents.Controls.GLColumn(); + GlacialComponents.Controls.GLColumn glColumn4 = new GlacialComponents.Controls.GLColumn(); + this.notifyIcon1 = new System.Windows.Forms.NotifyIcon(this.components); + this.button1 = new System.Windows.Forms.Button(); + this.panel2 = new System.Windows.Forms.Panel(); + this.textBox1 = new System.Windows.Forms.TextBox(); + this.panel1 = new System.Windows.Forms.Panel(); + this.menuStrip1 = new System.Windows.Forms.MenuStrip(); + this.fájlToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); + this.kijelentkezésToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); + this.toolStripMenuItem1 = new System.Windows.Forms.ToolStripMenuItem(); + this.toolStripSeparator1 = new System.Windows.Forms.ToolStripSeparator(); + this.állapotToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); + this.elérhetőToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); + this.elfoglaltToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); + this.nincsAGépnélToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); + this.rejtveKapcsolódikToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); + this.toolStripSeparator2 = new System.Windows.Forms.ToolStripSeparator(); + this.fájlKüldéseToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); + this.beérkezettFájlokMappájánakMegnyitásaToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); + this.üzenetekElőzményeinekMegtekintéseToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); + this.toolStripSeparator3 = new System.Windows.Forms.ToolStripSeparator(); + this.bezárásToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); + this.toolStripSeparator4 = new System.Windows.Forms.ToolStripSeparator(); + this.kilépésToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); + this.ismerősökToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); + this.ismerősFelvételeToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); + this.ismerősSzerkesztéseToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); + this.ismerősTörléseToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); + this.toolStripSeparator5 = new System.Windows.Forms.ToolStripSeparator(); + this.csoportLétrehozásaToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); + this.toolStripSeparator6 = new System.Windows.Forms.ToolStripSeparator(); + this.kategóriaLétrehozásaToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); + this.kategóriaSzerkesztéseToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); + this.kategóriaTörléseToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); + this.műveletekToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); + this.azonnaliÜzenetKüldéseToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); + this.egyébKüldéseToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); + this.emailKüldéseToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); + this.fájlKüldéseToolStripMenuItem1 = new System.Windows.Forms.ToolStripMenuItem(); + this.toolStripSeparator7 = new System.Windows.Forms.ToolStripSeparator(); + this.ismerősSzámitógépénekFelhivásaToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); + this.videóhivásInditásaToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); + this.onlineFájlokMegtekintéseToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); + this.közösJátékToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); + this.távsegitségKéréseToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); + this.eszközökToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); + this.mindigLegfelülToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); + this.toolStripSeparator8 = new System.Windows.Forms.ToolStripSeparator(); + this.hangulatjelekToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); + this.megjelenitendőKépVáltásaToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); + this.háttérMódositásaToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); + this.toolStripSeparator9 = new System.Windows.Forms.ToolStripSeparator(); + this.hangokÉsVideóBeállitásaToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); + this.toolStripSeparator10 = new System.Windows.Forms.ToolStripSeparator(); + this.beállitásokToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); + this.súgóToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); + this.témakörökToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); + this.toolStripSeparator11 = new System.Windows.Forms.ToolStripSeparator(); + this.aSzolgáltatásÁllapotsaToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); + this.adatvédelmiNyilatkozatToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); + this.használatiFeltételekToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); + this.visszaélésBejelentéseToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); + this.toolStripSeparator12 = new System.Windows.Forms.ToolStripSeparator(); + this.segitsenAProgramTökéletesitésébenToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); + this.toolStripSeparator13 = new System.Windows.Forms.ToolStripSeparator(); + this.névjegyToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); + this.contactList = new GlacialComponents.Controls.GlacialList(); + this.partnerImages = new System.Windows.Forms.ImageList(this.components); + this.partnerMenu = new System.Windows.Forms.ContextMenuStrip(this.components); + this.üzenetküldésToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); + this.emailKüldéseemailToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); + this.információToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); + this.ismerősLetiltásaToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); + this.ismerősTörléseToolStripMenuItem1 = new System.Windows.Forms.ToolStripMenuItem(); + this.toolStripSeparator14 = new System.Windows.Forms.ToolStripSeparator(); + this.becenévSzerkesztéseToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); + this.toolStripSeparator15 = new System.Windows.Forms.ToolStripSeparator(); + this.eseményértesitésekToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); + this.toolStripSeparator16 = new System.Windows.Forms.ToolStripSeparator(); + this.beszélgetésnaplóMegnyitásaToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); + this.toolStripSeparator17 = new System.Windows.Forms.ToolStripSeparator(); + this.toolStripMenuItem2 = new System.Windows.Forms.ToolStripMenuItem(); + this.panel2.SuspendLayout(); + this.menuStrip1.SuspendLayout(); + this.partnerMenu.SuspendLayout(); + this.SuspendLayout(); + // + // notifyIcon1 + // + this.notifyIcon1.Text = "notifyIcon1"; + this.notifyIcon1.Visible = true; + // + // button1 + // + this.button1.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right))); + this.button1.FlatStyle = System.Windows.Forms.FlatStyle.Popup; + this.button1.Location = new System.Drawing.Point(519, 104); + this.button1.Name = "button1"; + this.button1.Size = new System.Drawing.Size(35, 23); + this.button1.TabIndex = 4; + this.button1.UseVisualStyleBackColor = true; + // + // panel2 + // + this.panel2.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left) + | System.Windows.Forms.AnchorStyles.Right))); + this.panel2.BackgroundImage = global::MSGer.tk.Properties.Resources.Keresősáv; + this.panel2.BackgroundImageLayout = System.Windows.Forms.ImageLayout.Stretch; + this.panel2.Controls.Add(this.textBox1); + this.panel2.Location = new System.Drawing.Point(0, 96); + this.panel2.Name = "panel2"; + this.panel2.Size = new System.Drawing.Size(513, 31); + this.panel2.TabIndex = 5; + // + // textBox1 + // + this.textBox1.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left) + | System.Windows.Forms.AnchorStyles.Right))); + this.textBox1.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(244)))), ((int)(((byte)(249)))), ((int)(((byte)(252))))); + this.textBox1.BorderStyle = System.Windows.Forms.BorderStyle.None; + this.textBox1.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(137)))), ((int)(((byte)(161)))), ((int)(((byte)(194))))); + this.textBox1.Location = new System.Drawing.Point(6, 8); + this.textBox1.Name = "textBox1"; + this.textBox1.Size = new System.Drawing.Size(504, 13); + this.textBox1.TabIndex = 3; + this.textBox1.Text = "Ismerősök keresése..."; + this.textBox1.Enter += new System.EventHandler(this.ClearSearchBar); + this.textBox1.Leave += new System.EventHandler(this.PutTextInSearchBar); + // + // panel1 + // + this.panel1.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left) + | System.Windows.Forms.AnchorStyles.Right))); + this.panel1.BackgroundImage = global::MSGer.tk.Properties.Resources.Blue_Wallpaper_HD_2; + this.panel1.BackgroundImageLayout = System.Windows.Forms.ImageLayout.Stretch; + this.panel1.Location = new System.Drawing.Point(0, 27); + this.panel1.Name = "panel1"; + this.panel1.Size = new System.Drawing.Size(624, 63); + this.panel1.TabIndex = 2; + // + // menuStrip1 + // + this.menuStrip1.BackColor = System.Drawing.Color.Black; + this.menuStrip1.BackgroundImage = global::MSGer.tk.Properties.Resources.Menü_2; + this.menuStrip1.Items.AddRange(new System.Windows.Forms.ToolStripItem[] { + this.fájlToolStripMenuItem, + this.ismerősökToolStripMenuItem, + this.műveletekToolStripMenuItem, + this.eszközökToolStripMenuItem, + this.súgóToolStripMenuItem}); + this.menuStrip1.Location = new System.Drawing.Point(0, 0); + this.menuStrip1.Name = "menuStrip1"; + this.menuStrip1.RenderMode = System.Windows.Forms.ToolStripRenderMode.System; + this.menuStrip1.Size = new System.Drawing.Size(624, 24); + this.menuStrip1.TabIndex = 0; + this.menuStrip1.Text = "menuStrip1"; + // + // fájlToolStripMenuItem + // + this.fájlToolStripMenuItem.DropDownItems.AddRange(new System.Windows.Forms.ToolStripItem[] { + this.kijelentkezésToolStripMenuItem, + this.toolStripMenuItem1, + this.toolStripSeparator1, + this.állapotToolStripMenuItem, + this.toolStripSeparator2, + this.fájlKüldéseToolStripMenuItem, + this.beérkezettFájlokMappájánakMegnyitásaToolStripMenuItem, + this.üzenetekElőzményeinekMegtekintéseToolStripMenuItem, + this.toolStripSeparator3, + this.bezárásToolStripMenuItem, + this.toolStripSeparator4, + this.kilépésToolStripMenuItem}); + this.fájlToolStripMenuItem.Name = "fájlToolStripMenuItem"; + this.fájlToolStripMenuItem.Size = new System.Drawing.Size(37, 20); + this.fájlToolStripMenuItem.Text = "Fájl"; + // + // kijelentkezésToolStripMenuItem + // + this.kijelentkezésToolStripMenuItem.Name = "kijelentkezésToolStripMenuItem"; + this.kijelentkezésToolStripMenuItem.Size = new System.Drawing.Size(292, 22); + this.kijelentkezésToolStripMenuItem.Text = "Kijelentkezés"; + this.kijelentkezésToolStripMenuItem.Click += new System.EventHandler(this.LogoutUser); + // + // toolStripMenuItem1 + // + this.toolStripMenuItem1.Name = "toolStripMenuItem1"; + this.toolStripMenuItem1.Size = new System.Drawing.Size(292, 22); + this.toolStripMenuItem1.Text = "Újabb felhasználó bejelentkeztetése..."; + this.toolStripMenuItem1.Click += new System.EventHandler(this.LoginNewUser); + // + // toolStripSeparator1 + // + this.toolStripSeparator1.Name = "toolStripSeparator1"; + this.toolStripSeparator1.Size = new System.Drawing.Size(289, 6); + // + // állapotToolStripMenuItem + // + this.állapotToolStripMenuItem.DropDownItems.AddRange(new System.Windows.Forms.ToolStripItem[] { + this.elérhetőToolStripMenuItem, + this.elfoglaltToolStripMenuItem, + this.nincsAGépnélToolStripMenuItem, + this.rejtveKapcsolódikToolStripMenuItem}); + this.állapotToolStripMenuItem.Name = "állapotToolStripMenuItem"; + this.állapotToolStripMenuItem.Size = new System.Drawing.Size(292, 22); + this.állapotToolStripMenuItem.Text = "Állapot"; + // + // elérhetőToolStripMenuItem + // + this.elérhetőToolStripMenuItem.Name = "elérhetőToolStripMenuItem"; + this.elérhetőToolStripMenuItem.Size = new System.Drawing.Size(172, 22); + this.elérhetőToolStripMenuItem.Text = "Elérhető"; + this.elérhetőToolStripMenuItem.Click += new System.EventHandler(this.SetOnlineState); + // + // elfoglaltToolStripMenuItem + // + this.elfoglaltToolStripMenuItem.Name = "elfoglaltToolStripMenuItem"; + this.elfoglaltToolStripMenuItem.Size = new System.Drawing.Size(172, 22); + this.elfoglaltToolStripMenuItem.Text = "Elfoglalt"; + this.elfoglaltToolStripMenuItem.Click += new System.EventHandler(this.SetOnlineState); + // + // nincsAGépnélToolStripMenuItem + // + this.nincsAGépnélToolStripMenuItem.Name = "nincsAGépnélToolStripMenuItem"; + this.nincsAGépnélToolStripMenuItem.Size = new System.Drawing.Size(172, 22); + this.nincsAGépnélToolStripMenuItem.Text = "Nincs a gépnél"; + this.nincsAGépnélToolStripMenuItem.Click += new System.EventHandler(this.SetOnlineState); + // + // rejtveKapcsolódikToolStripMenuItem + // + this.rejtveKapcsolódikToolStripMenuItem.Name = "rejtveKapcsolódikToolStripMenuItem"; + this.rejtveKapcsolódikToolStripMenuItem.Size = new System.Drawing.Size(172, 22); + this.rejtveKapcsolódikToolStripMenuItem.Text = "Rejtve kapcsolódik"; + this.rejtveKapcsolódikToolStripMenuItem.Click += new System.EventHandler(this.SetOnlineState); + // + // toolStripSeparator2 + // + this.toolStripSeparator2.Name = "toolStripSeparator2"; + this.toolStripSeparator2.Size = new System.Drawing.Size(289, 6); + // + // fájlKüldéseToolStripMenuItem + // + this.fájlKüldéseToolStripMenuItem.Name = "fájlKüldéseToolStripMenuItem"; + this.fájlKüldéseToolStripMenuItem.Size = new System.Drawing.Size(292, 22); + this.fájlKüldéseToolStripMenuItem.Text = "Fájl küldése..."; + this.fájlKüldéseToolStripMenuItem.Click += new System.EventHandler(this.SelectPartner); + // + // beérkezettFájlokMappájánakMegnyitásaToolStripMenuItem + // + this.beérkezettFájlokMappájánakMegnyitásaToolStripMenuItem.Name = "beérkezettFájlokMappájánakMegnyitásaToolStripMenuItem"; + this.beérkezettFájlokMappájánakMegnyitásaToolStripMenuItem.Size = new System.Drawing.Size(292, 22); + this.beérkezettFájlokMappájánakMegnyitásaToolStripMenuItem.Text = "Beérkezett fájlok mappájának megnyitása"; + // + // üzenetekElőzményeinekMegtekintéseToolStripMenuItem + // + this.üzenetekElőzményeinekMegtekintéseToolStripMenuItem.Name = "üzenetekElőzményeinekMegtekintéseToolStripMenuItem"; + this.üzenetekElőzményeinekMegtekintéseToolStripMenuItem.Size = new System.Drawing.Size(292, 22); + this.üzenetekElőzményeinekMegtekintéseToolStripMenuItem.Text = "Üzenetek előzményeinek megtekintése..."; + // + // toolStripSeparator3 + // + this.toolStripSeparator3.Name = "toolStripSeparator3"; + this.toolStripSeparator3.Size = new System.Drawing.Size(289, 6); + // + // bezárásToolStripMenuItem + // + this.bezárásToolStripMenuItem.Name = "bezárásToolStripMenuItem"; + this.bezárásToolStripMenuItem.Size = new System.Drawing.Size(292, 22); + this.bezárásToolStripMenuItem.Text = "Bezárás"; + // + // toolStripSeparator4 + // + this.toolStripSeparator4.Name = "toolStripSeparator4"; + this.toolStripSeparator4.Size = new System.Drawing.Size(289, 6); + // + // kilépésToolStripMenuItem + // + this.kilépésToolStripMenuItem.Name = "kilépésToolStripMenuItem"; + this.kilépésToolStripMenuItem.Size = new System.Drawing.Size(292, 22); + this.kilépésToolStripMenuItem.Text = "Kilépés"; + // + // ismerősökToolStripMenuItem + // + this.ismerősökToolStripMenuItem.DropDownItems.AddRange(new System.Windows.Forms.ToolStripItem[] { + this.ismerősFelvételeToolStripMenuItem, + this.ismerősSzerkesztéseToolStripMenuItem, + this.ismerősTörléseToolStripMenuItem, + this.toolStripSeparator5, + this.csoportLétrehozásaToolStripMenuItem, + this.toolStripSeparator6, + this.kategóriaLétrehozásaToolStripMenuItem, + this.kategóriaSzerkesztéseToolStripMenuItem, + this.kategóriaTörléseToolStripMenuItem}); + this.ismerősökToolStripMenuItem.Name = "ismerősökToolStripMenuItem"; + this.ismerősökToolStripMenuItem.Size = new System.Drawing.Size(73, 20); + this.ismerősökToolStripMenuItem.Text = "Ismerősök"; + // + // ismerősFelvételeToolStripMenuItem + // + this.ismerősFelvételeToolStripMenuItem.Name = "ismerősFelvételeToolStripMenuItem"; + this.ismerősFelvételeToolStripMenuItem.Size = new System.Drawing.Size(199, 22); + this.ismerősFelvételeToolStripMenuItem.Text = "Ismerős felvétele..."; + // + // ismerősSzerkesztéseToolStripMenuItem + // + this.ismerősSzerkesztéseToolStripMenuItem.Name = "ismerősSzerkesztéseToolStripMenuItem"; + this.ismerősSzerkesztéseToolStripMenuItem.Size = new System.Drawing.Size(199, 22); + this.ismerősSzerkesztéseToolStripMenuItem.Text = "Ismerős szerkesztése..."; + // + // ismerősTörléseToolStripMenuItem + // + this.ismerősTörléseToolStripMenuItem.Name = "ismerősTörléseToolStripMenuItem"; + this.ismerősTörléseToolStripMenuItem.Size = new System.Drawing.Size(199, 22); + this.ismerősTörléseToolStripMenuItem.Text = "Ismerős törlése..."; + // + // toolStripSeparator5 + // + this.toolStripSeparator5.Name = "toolStripSeparator5"; + this.toolStripSeparator5.Size = new System.Drawing.Size(196, 6); + // + // csoportLétrehozásaToolStripMenuItem + // + this.csoportLétrehozásaToolStripMenuItem.Name = "csoportLétrehozásaToolStripMenuItem"; + this.csoportLétrehozásaToolStripMenuItem.Size = new System.Drawing.Size(199, 22); + this.csoportLétrehozásaToolStripMenuItem.Text = "Csoport létrehozása..."; + // + // toolStripSeparator6 + // + this.toolStripSeparator6.Name = "toolStripSeparator6"; + this.toolStripSeparator6.Size = new System.Drawing.Size(196, 6); + // + // kategóriaLétrehozásaToolStripMenuItem + // + this.kategóriaLétrehozásaToolStripMenuItem.Name = "kategóriaLétrehozásaToolStripMenuItem"; + this.kategóriaLétrehozásaToolStripMenuItem.Size = new System.Drawing.Size(199, 22); + this.kategóriaLétrehozásaToolStripMenuItem.Text = "Kategória létrehozása..."; + // + // kategóriaSzerkesztéseToolStripMenuItem + // + this.kategóriaSzerkesztéseToolStripMenuItem.Name = "kategóriaSzerkesztéseToolStripMenuItem"; + this.kategóriaSzerkesztéseToolStripMenuItem.Size = new System.Drawing.Size(199, 22); + this.kategóriaSzerkesztéseToolStripMenuItem.Text = "Kategória szerkesztése..."; + // + // kategóriaTörléseToolStripMenuItem + // + this.kategóriaTörléseToolStripMenuItem.Name = "kategóriaTörléseToolStripMenuItem"; + this.kategóriaTörléseToolStripMenuItem.Size = new System.Drawing.Size(199, 22); + this.kategóriaTörléseToolStripMenuItem.Text = "Kategória törlése..."; + // + // műveletekToolStripMenuItem + // + this.műveletekToolStripMenuItem.DropDownItems.AddRange(new System.Windows.Forms.ToolStripItem[] { + this.azonnaliÜzenetKüldéseToolStripMenuItem, + this.egyébKüldéseToolStripMenuItem, + this.toolStripSeparator7, + this.ismerősSzámitógépénekFelhivásaToolStripMenuItem, + this.videóhivásInditásaToolStripMenuItem, + this.onlineFájlokMegtekintéseToolStripMenuItem, + this.közösJátékToolStripMenuItem, + this.távsegitségKéréseToolStripMenuItem}); + this.műveletekToolStripMenuItem.Name = "műveletekToolStripMenuItem"; + this.műveletekToolStripMenuItem.Size = new System.Drawing.Size(74, 20); + this.műveletekToolStripMenuItem.Text = "Műveletek"; + // + // azonnaliÜzenetKüldéseToolStripMenuItem + // + this.azonnaliÜzenetKüldéseToolStripMenuItem.Name = "azonnaliÜzenetKüldéseToolStripMenuItem"; + this.azonnaliÜzenetKüldéseToolStripMenuItem.Size = new System.Drawing.Size(253, 22); + this.azonnaliÜzenetKüldéseToolStripMenuItem.Text = "Azonnali üzenet küldése..."; + this.azonnaliÜzenetKüldéseToolStripMenuItem.Click += new System.EventHandler(this.SelectPartner); + // + // egyébKüldéseToolStripMenuItem + // + this.egyébKüldéseToolStripMenuItem.DropDownItems.AddRange(new System.Windows.Forms.ToolStripItem[] { + this.emailKüldéseToolStripMenuItem, + this.fájlKüldéseToolStripMenuItem1}); + this.egyébKüldéseToolStripMenuItem.Name = "egyébKüldéseToolStripMenuItem"; + this.egyébKüldéseToolStripMenuItem.Size = new System.Drawing.Size(253, 22); + this.egyébKüldéseToolStripMenuItem.Text = "Egyéb küldése"; + // + // emailKüldéseToolStripMenuItem + // + this.emailKüldéseToolStripMenuItem.Name = "emailKüldéseToolStripMenuItem"; + this.emailKüldéseToolStripMenuItem.Size = new System.Drawing.Size(160, 22); + this.emailKüldéseToolStripMenuItem.Text = "E-mail küldése..."; + // + // fájlKüldéseToolStripMenuItem1 + // + this.fájlKüldéseToolStripMenuItem1.Name = "fájlKüldéseToolStripMenuItem1"; + this.fájlKüldéseToolStripMenuItem1.Size = new System.Drawing.Size(160, 22); + this.fájlKüldéseToolStripMenuItem1.Text = "Fájl küldése..."; + // + // toolStripSeparator7 + // + this.toolStripSeparator7.Name = "toolStripSeparator7"; + this.toolStripSeparator7.Size = new System.Drawing.Size(250, 6); + // + // ismerősSzámitógépénekFelhivásaToolStripMenuItem + // + this.ismerősSzámitógépénekFelhivásaToolStripMenuItem.Name = "ismerősSzámitógépénekFelhivásaToolStripMenuItem"; + this.ismerősSzámitógépénekFelhivásaToolStripMenuItem.Size = new System.Drawing.Size(253, 22); + this.ismerősSzámitógépénekFelhivásaToolStripMenuItem.Text = "Ismerős számitógépének felhivása"; + // + // videóhivásInditásaToolStripMenuItem + // + this.videóhivásInditásaToolStripMenuItem.Name = "videóhivásInditásaToolStripMenuItem"; + this.videóhivásInditásaToolStripMenuItem.Size = new System.Drawing.Size(253, 22); + this.videóhivásInditásaToolStripMenuItem.Text = "Videóhivás inditása..."; + // + // onlineFájlokMegtekintéseToolStripMenuItem + // + this.onlineFájlokMegtekintéseToolStripMenuItem.Name = "onlineFájlokMegtekintéseToolStripMenuItem"; + this.onlineFájlokMegtekintéseToolStripMenuItem.Size = new System.Drawing.Size(253, 22); + this.onlineFájlokMegtekintéseToolStripMenuItem.Text = "Online fájlok megtekintése"; + // + // közösJátékToolStripMenuItem + // + this.közösJátékToolStripMenuItem.Name = "közösJátékToolStripMenuItem"; + this.közösJátékToolStripMenuItem.Size = new System.Drawing.Size(253, 22); + this.közösJátékToolStripMenuItem.Text = "Közös játék..."; + // + // távsegitségKéréseToolStripMenuItem + // + this.távsegitségKéréseToolStripMenuItem.Name = "távsegitségKéréseToolStripMenuItem"; + this.távsegitségKéréseToolStripMenuItem.Size = new System.Drawing.Size(253, 22); + this.távsegitségKéréseToolStripMenuItem.Text = "Távsegitség kérése..."; + // + // eszközökToolStripMenuItem + // + this.eszközökToolStripMenuItem.DropDownItems.AddRange(new System.Windows.Forms.ToolStripItem[] { + this.mindigLegfelülToolStripMenuItem, + this.toolStripSeparator8, + this.hangulatjelekToolStripMenuItem, + this.megjelenitendőKépVáltásaToolStripMenuItem, + this.háttérMódositásaToolStripMenuItem, + this.toolStripSeparator9, + this.hangokÉsVideóBeállitásaToolStripMenuItem, + this.toolStripSeparator10, + this.beállitásokToolStripMenuItem}); + this.eszközökToolStripMenuItem.Name = "eszközökToolStripMenuItem"; + this.eszközökToolStripMenuItem.Size = new System.Drawing.Size(66, 20); + this.eszközökToolStripMenuItem.Text = "Eszközök"; + // + // mindigLegfelülToolStripMenuItem + // + this.mindigLegfelülToolStripMenuItem.CheckOnClick = true; + this.mindigLegfelülToolStripMenuItem.Name = "mindigLegfelülToolStripMenuItem"; + this.mindigLegfelülToolStripMenuItem.Size = new System.Drawing.Size(227, 22); + this.mindigLegfelülToolStripMenuItem.Text = "Mindig legfelül"; + // + // toolStripSeparator8 + // + this.toolStripSeparator8.Name = "toolStripSeparator8"; + this.toolStripSeparator8.Size = new System.Drawing.Size(224, 6); + // + // hangulatjelekToolStripMenuItem + // + this.hangulatjelekToolStripMenuItem.Name = "hangulatjelekToolStripMenuItem"; + this.hangulatjelekToolStripMenuItem.Size = new System.Drawing.Size(227, 22); + this.hangulatjelekToolStripMenuItem.Text = "Hangulatjelek..."; + // + // megjelenitendőKépVáltásaToolStripMenuItem + // + this.megjelenitendőKépVáltásaToolStripMenuItem.Name = "megjelenitendőKépVáltásaToolStripMenuItem"; + this.megjelenitendőKépVáltásaToolStripMenuItem.Size = new System.Drawing.Size(227, 22); + this.megjelenitendőKépVáltásaToolStripMenuItem.Text = "Megjelenitendő kép váltása..."; + // + // háttérMódositásaToolStripMenuItem + // + this.háttérMódositásaToolStripMenuItem.Name = "háttérMódositásaToolStripMenuItem"; + this.háttérMódositásaToolStripMenuItem.Size = new System.Drawing.Size(227, 22); + this.háttérMódositásaToolStripMenuItem.Text = "Háttér módositása..."; + // + // toolStripSeparator9 + // + this.toolStripSeparator9.Name = "toolStripSeparator9"; + this.toolStripSeparator9.Size = new System.Drawing.Size(224, 6); + // + // hangokÉsVideóBeállitásaToolStripMenuItem + // + this.hangokÉsVideóBeállitásaToolStripMenuItem.Name = "hangokÉsVideóBeállitásaToolStripMenuItem"; + this.hangokÉsVideóBeállitásaToolStripMenuItem.Size = new System.Drawing.Size(227, 22); + this.hangokÉsVideóBeállitásaToolStripMenuItem.Text = "Hangok és videó beállitása..."; + // + // toolStripSeparator10 + // + this.toolStripSeparator10.Name = "toolStripSeparator10"; + this.toolStripSeparator10.Size = new System.Drawing.Size(224, 6); + // + // beállitásokToolStripMenuItem + // + this.beállitásokToolStripMenuItem.Name = "beállitásokToolStripMenuItem"; + this.beállitásokToolStripMenuItem.Size = new System.Drawing.Size(227, 22); + this.beállitásokToolStripMenuItem.Text = "Beállitások..."; + // + // súgóToolStripMenuItem + // + this.súgóToolStripMenuItem.DropDownItems.AddRange(new System.Windows.Forms.ToolStripItem[] { + this.témakörökToolStripMenuItem, + this.toolStripSeparator11, + this.aSzolgáltatásÁllapotsaToolStripMenuItem, + this.adatvédelmiNyilatkozatToolStripMenuItem, + this.használatiFeltételekToolStripMenuItem, + this.visszaélésBejelentéseToolStripMenuItem, + this.toolStripSeparator12, + this.segitsenAProgramTökéletesitésébenToolStripMenuItem, + this.toolStripSeparator13, + this.névjegyToolStripMenuItem}); + this.súgóToolStripMenuItem.Name = "súgóToolStripMenuItem"; + this.súgóToolStripMenuItem.Size = new System.Drawing.Size(46, 20); + this.súgóToolStripMenuItem.Text = "Súgó"; + // + // témakörökToolStripMenuItem + // + this.témakörökToolStripMenuItem.Name = "témakörökToolStripMenuItem"; + this.témakörökToolStripMenuItem.Size = new System.Drawing.Size(270, 22); + this.témakörökToolStripMenuItem.Text = "Témakörök"; + // + // toolStripSeparator11 + // + this.toolStripSeparator11.Name = "toolStripSeparator11"; + this.toolStripSeparator11.Size = new System.Drawing.Size(267, 6); + // + // aSzolgáltatásÁllapotsaToolStripMenuItem + // + this.aSzolgáltatásÁllapotsaToolStripMenuItem.Name = "aSzolgáltatásÁllapotsaToolStripMenuItem"; + this.aSzolgáltatásÁllapotsaToolStripMenuItem.Size = new System.Drawing.Size(270, 22); + this.aSzolgáltatásÁllapotsaToolStripMenuItem.Text = "A szolgáltatás állapota"; + // + // adatvédelmiNyilatkozatToolStripMenuItem + // + this.adatvédelmiNyilatkozatToolStripMenuItem.Name = "adatvédelmiNyilatkozatToolStripMenuItem"; + this.adatvédelmiNyilatkozatToolStripMenuItem.Size = new System.Drawing.Size(270, 22); + this.adatvédelmiNyilatkozatToolStripMenuItem.Text = "Adatvédelmi nyilatkozat"; + // + // használatiFeltételekToolStripMenuItem + // + this.használatiFeltételekToolStripMenuItem.Name = "használatiFeltételekToolStripMenuItem"; + this.használatiFeltételekToolStripMenuItem.Size = new System.Drawing.Size(270, 22); + this.használatiFeltételekToolStripMenuItem.Text = "Használati feltételek"; + // + // visszaélésBejelentéseToolStripMenuItem + // + this.visszaélésBejelentéseToolStripMenuItem.Name = "visszaélésBejelentéseToolStripMenuItem"; + this.visszaélésBejelentéseToolStripMenuItem.Size = new System.Drawing.Size(270, 22); + this.visszaélésBejelentéseToolStripMenuItem.Text = "Visszaélés bejelentése"; + // + // toolStripSeparator12 + // + this.toolStripSeparator12.Name = "toolStripSeparator12"; + this.toolStripSeparator12.Size = new System.Drawing.Size(267, 6); + // + // segitsenAProgramTökéletesitésébenToolStripMenuItem + // + this.segitsenAProgramTökéletesitésébenToolStripMenuItem.Name = "segitsenAProgramTökéletesitésébenToolStripMenuItem"; + this.segitsenAProgramTökéletesitésébenToolStripMenuItem.Size = new System.Drawing.Size(270, 22); + this.segitsenAProgramTökéletesitésébenToolStripMenuItem.Text = "Segitsen a program tökéletesitésében"; + // + // toolStripSeparator13 + // + this.toolStripSeparator13.Name = "toolStripSeparator13"; + this.toolStripSeparator13.Size = new System.Drawing.Size(267, 6); + // + // névjegyToolStripMenuItem + // + this.névjegyToolStripMenuItem.Name = "névjegyToolStripMenuItem"; + this.névjegyToolStripMenuItem.Size = new System.Drawing.Size(270, 22); + this.névjegyToolStripMenuItem.Text = "Névjegy"; + // + // contactList + // + this.contactList.AllowColumnResize = false; + this.contactList.AllowMultiselect = false; + this.contactList.AlternateBackground = System.Drawing.Color.DarkGreen; + this.contactList.AlternatingColors = false; + this.contactList.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.contactList.AutoHeight = false; + this.contactList.BackColor = System.Drawing.Color.LightSkyBlue; + this.contactList.BackgroundStretchToFit = true; + glColumn3.ActivatedEmbeddedType = GlacialComponents.Controls.GLActivatedEmbeddedTypes.None; + glColumn3.CheckBoxes = false; + glColumn3.ImageIndex = -1; + glColumn3.Name = "Image"; + glColumn3.NumericSort = false; + glColumn3.Text = ""; + glColumn3.TextAlignment = System.Drawing.ContentAlignment.MiddleLeft; + glColumn3.Width = 100; + glColumn4.ActivatedEmbeddedType = GlacialComponents.Controls.GLActivatedEmbeddedTypes.None; + glColumn4.CheckBoxes = false; + glColumn4.ImageIndex = -1; + glColumn4.Name = "Name"; + glColumn4.NumericSort = false; + glColumn4.Text = ""; + glColumn4.TextAlignment = System.Drawing.ContentAlignment.MiddleLeft; + glColumn4.Width = 400; + this.contactList.Columns.AddRange(new GlacialComponents.Controls.GLColumn[] { + glColumn3, + glColumn4}); + this.contactList.ControlStyle = GlacialComponents.Controls.GLControlStyles.Normal; + this.contactList.ForeColor = System.Drawing.Color.Black; + this.contactList.FullRowSelect = true; + this.contactList.GridColor = System.Drawing.Color.LightGray; + this.contactList.GridLines = GlacialComponents.Controls.GLGridLines.gridHorizontal; + this.contactList.GridLineStyle = GlacialComponents.Controls.GLGridLineStyles.gridNone; + this.contactList.GridTypes = GlacialComponents.Controls.GLGridTypes.gridOnExists; + this.contactList.HeaderHeight = 0; + this.contactList.HeaderVisible = false; + this.contactList.HeaderWordWrap = false; + this.contactList.HotColumnTracking = false; + this.contactList.HotItemTracking = true; + this.contactList.HotTrackingColor = System.Drawing.Color.LightGray; + this.contactList.HoverEvents = false; + this.contactList.HoverTime = 1; + this.contactList.ImageList = null; + this.contactList.ItemHeight = 60; + this.contactList.ItemWordWrap = true; + this.contactList.Location = new System.Drawing.Point(0, 133); + this.contactList.Name = "contactList"; + this.contactList.Selectable = true; + this.contactList.SelectedTextColor = System.Drawing.Color.White; + this.contactList.SelectionColor = System.Drawing.Color.DarkBlue; + this.contactList.ShowBorder = false; + this.contactList.ShowFocusRect = false; + this.contactList.Size = new System.Drawing.Size(624, 312); + this.contactList.SortType = GlacialComponents.Controls.SortTypes.InsertionSort; + this.contactList.SuperFlatHeaderColor = System.Drawing.Color.White; + this.contactList.TabIndex = 6; + this.contactList.Text = "contactList"; + this.contactList.DoubleClick += new System.EventHandler(this.OpenSendMessage); + this.contactList.MouseClick += new System.Windows.Forms.MouseEventHandler(this.ContactItemRightClick); + // + // partnerImages + // + this.partnerImages.ColorDepth = System.Windows.Forms.ColorDepth.Depth8Bit; + this.partnerImages.ImageSize = new System.Drawing.Size(16, 16); + this.partnerImages.TransparentColor = System.Drawing.Color.Transparent; + // + // partnerMenu + // + this.partnerMenu.Items.AddRange(new System.Windows.Forms.ToolStripItem[] { + this.üzenetküldésToolStripMenuItem, + this.emailKüldéseemailToolStripMenuItem, + this.toolStripMenuItem2, + this.információToolStripMenuItem, + this.toolStripSeparator14, + this.ismerősLetiltásaToolStripMenuItem, + this.ismerősTörléseToolStripMenuItem1, + this.toolStripSeparator15, + this.becenévSzerkesztéseToolStripMenuItem, + this.toolStripSeparator16, + this.eseményértesitésekToolStripMenuItem, + this.toolStripSeparator17, + this.beszélgetésnaplóMegnyitásaToolStripMenuItem}); + this.partnerMenu.Name = "partnerMenu"; + this.partnerMenu.RenderMode = System.Windows.Forms.ToolStripRenderMode.System; + this.partnerMenu.Size = new System.Drawing.Size(238, 248); + // + // üzenetküldésToolStripMenuItem + // + this.üzenetküldésToolStripMenuItem.Name = "üzenetküldésToolStripMenuItem"; + this.üzenetküldésToolStripMenuItem.Size = new System.Drawing.Size(237, 22); + this.üzenetküldésToolStripMenuItem.Text = "Üzenetküldés"; + this.üzenetküldésToolStripMenuItem.Click += new System.EventHandler(this.OpenSendMessage); + // + // emailKüldéseemailToolStripMenuItem + // + this.emailKüldéseemailToolStripMenuItem.Name = "emailKüldéseemailToolStripMenuItem"; + this.emailKüldéseemailToolStripMenuItem.Size = new System.Drawing.Size(237, 22); + this.emailKüldéseemailToolStripMenuItem.Text = "E-mail küldése (email)"; + // + // információToolStripMenuItem + // + this.információToolStripMenuItem.Name = "információToolStripMenuItem"; + this.információToolStripMenuItem.Size = new System.Drawing.Size(237, 22); + this.információToolStripMenuItem.Text = "Információ"; + // + // ismerősLetiltásaToolStripMenuItem + // + this.ismerősLetiltásaToolStripMenuItem.Name = "ismerősLetiltásaToolStripMenuItem"; + this.ismerősLetiltásaToolStripMenuItem.Size = new System.Drawing.Size(237, 22); + this.ismerősLetiltásaToolStripMenuItem.Text = "Ismerős letiltása"; + // + // ismerősTörléseToolStripMenuItem1 + // + this.ismerősTörléseToolStripMenuItem1.Name = "ismerősTörléseToolStripMenuItem1"; + this.ismerősTörléseToolStripMenuItem1.Size = new System.Drawing.Size(237, 22); + this.ismerősTörléseToolStripMenuItem1.Text = "Ismerős törlése"; + // + // toolStripSeparator14 + // + this.toolStripSeparator14.Name = "toolStripSeparator14"; + this.toolStripSeparator14.Size = new System.Drawing.Size(234, 6); + // + // becenévSzerkesztéseToolStripMenuItem + // + this.becenévSzerkesztéseToolStripMenuItem.Name = "becenévSzerkesztéseToolStripMenuItem"; + this.becenévSzerkesztéseToolStripMenuItem.Size = new System.Drawing.Size(237, 22); + this.becenévSzerkesztéseToolStripMenuItem.Text = "Becenév szerkesztése"; + // + // toolStripSeparator15 + // + this.toolStripSeparator15.Name = "toolStripSeparator15"; + this.toolStripSeparator15.Size = new System.Drawing.Size(234, 6); + // + // eseményértesitésekToolStripMenuItem + // + this.eseményértesitésekToolStripMenuItem.Name = "eseményértesitésekToolStripMenuItem"; + this.eseményértesitésekToolStripMenuItem.Size = new System.Drawing.Size(237, 22); + this.eseményértesitésekToolStripMenuItem.Text = "Eseményértesitések"; + // + // toolStripSeparator16 + // + this.toolStripSeparator16.Name = "toolStripSeparator16"; + this.toolStripSeparator16.Size = new System.Drawing.Size(234, 6); + // + // beszélgetésnaplóMegnyitásaToolStripMenuItem + // + this.beszélgetésnaplóMegnyitásaToolStripMenuItem.Name = "beszélgetésnaplóMegnyitásaToolStripMenuItem"; + this.beszélgetésnaplóMegnyitásaToolStripMenuItem.Size = new System.Drawing.Size(237, 22); + this.beszélgetésnaplóMegnyitásaToolStripMenuItem.Text = "Beszélgetésnapló megnyitása..."; + // + // toolStripSeparator17 + // + this.toolStripSeparator17.Name = "toolStripSeparator17"; + this.toolStripSeparator17.Size = new System.Drawing.Size(234, 6); + // + // toolStripMenuItem2 + // + this.toolStripMenuItem2.Name = "toolStripMenuItem2"; + this.toolStripMenuItem2.Size = new System.Drawing.Size(237, 22); + this.toolStripMenuItem2.Text = "E-mail másolása"; + // + // MainForm + // + this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F); + this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; + this.BackColor = System.Drawing.Color.LightSkyBlue; + this.ClientSize = new System.Drawing.Size(624, 442); + this.Controls.Add(this.contactList); + this.Controls.Add(this.panel2); + this.Controls.Add(this.button1); + this.Controls.Add(this.panel1); + this.Controls.Add(this.menuStrip1); + this.MainMenuStrip = this.menuStrip1; + this.Name = "MainForm"; + this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen; + this.Text = "Live Messenger Plus - MSGer.tk"; + this.panel2.ResumeLayout(false); + this.panel2.PerformLayout(); + this.menuStrip1.ResumeLayout(false); + this.menuStrip1.PerformLayout(); + this.partnerMenu.ResumeLayout(false); + this.ResumeLayout(false); + this.PerformLayout(); + + } + + #endregion + + private System.Windows.Forms.NotifyIcon notifyIcon1; + private System.Windows.Forms.MenuStrip menuStrip1; + private System.Windows.Forms.ToolStripMenuItem fájlToolStripMenuItem; + private System.Windows.Forms.ToolStripMenuItem kijelentkezésToolStripMenuItem; + private System.Windows.Forms.ToolStripSeparator toolStripSeparator1; + private System.Windows.Forms.ToolStripMenuItem állapotToolStripMenuItem; + private System.Windows.Forms.ToolStripMenuItem elérhetőToolStripMenuItem; + private System.Windows.Forms.ToolStripMenuItem elfoglaltToolStripMenuItem; + private System.Windows.Forms.ToolStripMenuItem nincsAGépnélToolStripMenuItem; + private System.Windows.Forms.ToolStripMenuItem rejtveKapcsolódikToolStripMenuItem; + private System.Windows.Forms.ToolStripSeparator toolStripSeparator2; + private System.Windows.Forms.ToolStripMenuItem fájlKüldéseToolStripMenuItem; + private System.Windows.Forms.ToolStripMenuItem beérkezettFájlokMappájánakMegnyitásaToolStripMenuItem; + private System.Windows.Forms.ToolStripMenuItem üzenetekElőzményeinekMegtekintéseToolStripMenuItem; + private System.Windows.Forms.ToolStripSeparator toolStripSeparator3; + private System.Windows.Forms.ToolStripMenuItem bezárásToolStripMenuItem; + private System.Windows.Forms.ToolStripSeparator toolStripSeparator4; + private System.Windows.Forms.ToolStripMenuItem kilépésToolStripMenuItem; + private System.Windows.Forms.ToolStripMenuItem ismerősökToolStripMenuItem; + private System.Windows.Forms.ToolStripMenuItem ismerősFelvételeToolStripMenuItem; + private System.Windows.Forms.ToolStripMenuItem ismerősSzerkesztéseToolStripMenuItem; + private System.Windows.Forms.ToolStripMenuItem ismerősTörléseToolStripMenuItem; + private System.Windows.Forms.ToolStripSeparator toolStripSeparator5; + private System.Windows.Forms.ToolStripMenuItem csoportLétrehozásaToolStripMenuItem; + private System.Windows.Forms.ToolStripSeparator toolStripSeparator6; + private System.Windows.Forms.ToolStripMenuItem kategóriaLétrehozásaToolStripMenuItem; + private System.Windows.Forms.ToolStripMenuItem kategóriaSzerkesztéseToolStripMenuItem; + private System.Windows.Forms.ToolStripMenuItem kategóriaTörléseToolStripMenuItem; + private System.Windows.Forms.ToolStripMenuItem műveletekToolStripMenuItem; + private System.Windows.Forms.ToolStripMenuItem azonnaliÜzenetKüldéseToolStripMenuItem; + private System.Windows.Forms.ToolStripMenuItem egyébKüldéseToolStripMenuItem; + private System.Windows.Forms.ToolStripMenuItem emailKüldéseToolStripMenuItem; + private System.Windows.Forms.ToolStripMenuItem fájlKüldéseToolStripMenuItem1; + private System.Windows.Forms.ToolStripSeparator toolStripSeparator7; + private System.Windows.Forms.ToolStripMenuItem ismerősSzámitógépénekFelhivásaToolStripMenuItem; + private System.Windows.Forms.ToolStripMenuItem videóhivásInditásaToolStripMenuItem; + private System.Windows.Forms.ToolStripMenuItem onlineFájlokMegtekintéseToolStripMenuItem; + private System.Windows.Forms.ToolStripMenuItem közösJátékToolStripMenuItem; + private System.Windows.Forms.ToolStripMenuItem távsegitségKéréseToolStripMenuItem; + private System.Windows.Forms.ToolStripMenuItem eszközökToolStripMenuItem; + private System.Windows.Forms.ToolStripMenuItem mindigLegfelülToolStripMenuItem; + private System.Windows.Forms.ToolStripSeparator toolStripSeparator8; + private System.Windows.Forms.ToolStripMenuItem hangulatjelekToolStripMenuItem; + private System.Windows.Forms.ToolStripMenuItem megjelenitendőKépVáltásaToolStripMenuItem; + private System.Windows.Forms.ToolStripMenuItem háttérMódositásaToolStripMenuItem; + private System.Windows.Forms.ToolStripSeparator toolStripSeparator9; + private System.Windows.Forms.ToolStripMenuItem hangokÉsVideóBeállitásaToolStripMenuItem; + private System.Windows.Forms.ToolStripSeparator toolStripSeparator10; + private System.Windows.Forms.ToolStripMenuItem beállitásokToolStripMenuItem; + private System.Windows.Forms.ToolStripMenuItem súgóToolStripMenuItem; + private System.Windows.Forms.ToolStripMenuItem témakörökToolStripMenuItem; + private System.Windows.Forms.ToolStripSeparator toolStripSeparator11; + private System.Windows.Forms.ToolStripMenuItem aSzolgáltatásÁllapotsaToolStripMenuItem; + private System.Windows.Forms.ToolStripMenuItem adatvédelmiNyilatkozatToolStripMenuItem; + private System.Windows.Forms.ToolStripMenuItem használatiFeltételekToolStripMenuItem; + private System.Windows.Forms.ToolStripMenuItem visszaélésBejelentéseToolStripMenuItem; + private System.Windows.Forms.ToolStripSeparator toolStripSeparator12; + private System.Windows.Forms.ToolStripMenuItem segitsenAProgramTökéletesitésébenToolStripMenuItem; + private System.Windows.Forms.ToolStripSeparator toolStripSeparator13; + private System.Windows.Forms.ToolStripMenuItem névjegyToolStripMenuItem; + private System.Windows.Forms.TextBox textBox1; + private System.Windows.Forms.Button button1; + private System.Windows.Forms.Panel panel2; + private System.Windows.Forms.ToolStripMenuItem toolStripMenuItem1; + private System.Windows.Forms.Panel panel1; + private System.Windows.Forms.ImageList partnerImages; + private GlacialComponents.Controls.GlacialList contactList; + private System.Windows.Forms.ContextMenuStrip partnerMenu; + private System.Windows.Forms.ToolStripMenuItem üzenetküldésToolStripMenuItem; + private System.Windows.Forms.ToolStripMenuItem emailKüldéseemailToolStripMenuItem; + private System.Windows.Forms.ToolStripMenuItem toolStripMenuItem2; + private System.Windows.Forms.ToolStripMenuItem információToolStripMenuItem; + private System.Windows.Forms.ToolStripSeparator toolStripSeparator14; + private System.Windows.Forms.ToolStripMenuItem ismerősLetiltásaToolStripMenuItem; + private System.Windows.Forms.ToolStripMenuItem ismerősTörléseToolStripMenuItem1; + private System.Windows.Forms.ToolStripSeparator toolStripSeparator15; + private System.Windows.Forms.ToolStripMenuItem becenévSzerkesztéseToolStripMenuItem; + private System.Windows.Forms.ToolStripSeparator toolStripSeparator16; + private System.Windows.Forms.ToolStripMenuItem eseményértesitésekToolStripMenuItem; + private System.Windows.Forms.ToolStripSeparator toolStripSeparator17; + private System.Windows.Forms.ToolStripMenuItem beszélgetésnaplóMegnyitásaToolStripMenuItem; + } +} + diff --git a/Most Closed Beta/v5.0/MSGer.tk (C#)/MainForm.cs b/Most Closed Beta/v5.0/MSGer.tk (C#)/MainForm.cs new file mode 100644 index 0000000..7b39a50 --- /dev/null +++ b/Most Closed Beta/v5.0/MSGer.tk (C#)/MainForm.cs @@ -0,0 +1,242 @@ +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; +using System.Net; +using System.IO; +using GlacialComponents.Controls; +using Khendys.Controls; +using System.Threading; + +namespace MSGer.tk +{ + public partial class MainForm : Form + { + private LoginForm LoginDialog; + public static Thread LThread; + public static Thread MainThread = null; + public static bool PartnerListThreadActive = true; + //public static object SelectPartnerSender = null; + public static ToolStripMenuItem SelectPartnerSender = null; + public MainForm() + { + InitializeComponent(); + Settings.Default.Reload(); + CurrentUser.InitVars(); + contactList.Columns[0].Width = contactList.ItemHeight; //2014.02.28. + this.Hide(); + LoginDialog = new LoginForm(); + LoginDialog.ShowDialog(); + //Nézzük, sikerült-e + if (CurrentUser.UserID == 0) + Close(); + this.Show(); + contactList.Enabled = false; //2014.03.05. + contactList.Items.Add("Betöltés..."); //2014.03.05. + MainThread = Thread.CurrentThread; + + // Create the thread object, passing in the Alpha.Beta method + // via a ThreadStart delegate. This does not start the thread. + LThread = new Thread(new ThreadStart(UpdatePartnerList)); + LThread.Name = "Update Partner List"; + + // Start the thread + LThread.Start(); + } + + private void LogoutUser(object sender, EventArgs e) + { + this.Hide(); + CurrentUser.UserID = 0; + LoginForm.LButtonText = "Bejelentkezés"; + LoginForm.PassText = ""; + this.Invoke(new LoginForm.MyDelegate(LoginDialog.SetLoginValues)); + PartnerListThreadActive = false; + LoginDialog.ShowDialog(); + //Nézzük, sikerült-e + if (CurrentUser.UserID == 0) + Close(); + contactList.Items.Clear(); //2014.03.05. + contactList.Enabled = false; //2014.03.05. + contactList.Items.Add("Betöltés..."); //2014.03.05. + this.Show(); + PartnerListThreadActive = true; //2014.02.28. - Törli, majd újra létrehozza a listafrissitő thread-et, ha újra bejelentkezett + // Create the thread object, passing in the Alpha.Beta method + // via a ThreadStart delegate. This does not start the thread. + LThread = new Thread(new ThreadStart(UpdatePartnerList)); + LThread.Name = "Update Partner List"; + + // Start the thread + LThread.Start(); + } + + private void LoginNewUser(object sender, EventArgs e) + { + System.Diagnostics.Process.Start("MSGer.tk.exe"); + } + + private void SetOnlineState(object sender, EventArgs e) + { + int state = 0; + if (sender == elérhetőToolStripMenuItem) + state = 1; + if (sender == elfoglaltToolStripMenuItem) + state = 2; + if (sender == nincsAGépnélToolStripMenuItem) + state = 3; + if (sender == rejtveKapcsolódikToolStripMenuItem) + state = 4; + //HTTP + if (Networking.SendRequest("setstate", state + "", 2) != "Success") + MessageBox.Show("Hiba történt az állapot beállitása során."); + } + + private void SelectPartner(object sender, EventArgs e) + { + SelectPartnerSender = (ToolStripMenuItem)sender; + DialogResult dr = new DialogResult(); + dr = (new SelectPartnerForm()).ShowDialog(); + if (dr == DialogResult.OK) + { + if (SelectPartnerSender == fájlKüldéseToolStripMenuItem) + { + ; + } + if (SelectPartnerSender == azonnaliÜzenetKüldéseToolStripMenuItem) + { + ; + } + } + /*else if (dr == DialogResult.Cancel) + ;*/ + } + public int UpdateContactList() //2014.03.01. + { + //contactList.Update(); //2014.03.01. + //contactList.Invalidate(true); //2014.03.01. + contactList.Refresh(); + contactList.Enabled = true; //2014.03.05. - A thread első futásához kell + return 0; + } + public delegate int MyDelegate(); + public void UpdatePartnerList() + { + while (PartnerListThreadActive && MainThread.IsAlive) + { + string[] row = Networking.SendRequest("getlist", "", 3).Split('ͦ'); //Lekéri a listát, és különválogatja egyben - 2014.02.28. + //contactList.Items.Clear(); + GLItem[] listViewItem=new GLItem[1024]; + int i = 0; + for (int x = 0; x < row.Length; x += 4) //Ezt az egyetlen számot (x+=3) kell módositani, és máris alkalmazkodott a hozzáadott adathoz + { + //MessageBox.Show(row[x] + "-" + row[x + 1] + "-" + row[x + 2] + "-" + row[x + 3]); + string state = ""; + if (row[x + 2] == "1") + state = " (Elérhető)"; + if (row[x + 2] == "2") + state = " (Elfoglalt)"; + if (row[x + 2] == "3") + state = " (Nincs a gépnél)"; + //var listViewItem = new GLItem(contactList); + listViewItem[i] = new GLItem(); + //ExRichTextBox item = new ExRichTextBox(); + PictureBox item = new PictureBox(); + try + { + //item.InsertImage(Image.FromFile(CurrentUser.GetPartnerImage(Int32.Parse(row[x + 3])))); //SetVars + item.ImageLocation = CurrentUser.GetPartnerImage(Int32.Parse(row[x + 3])); + } + catch + { + MessageBox.Show("Az alap profilkép nem található.", "Hiba"); + } + // Set the size of the PictureBox control. + //item.Size = new System.Drawing.Size(contactList.ItemHeight, contactList.ItemHeight); + + // Set the SizeMode property to the StretchImage value. This + // will enlarge the image as needed to fit into + // the PictureBox. + item.SizeMode = PictureBoxSizeMode.StretchImage; + + listViewItem[i].SubItems[0].Control = item; + listViewItem[i].SubItems[1].Text = row[x] + " " + state + "\n" + row[x + 1]; + //contactList.Items.Add(listViewItem[i]); + /*if (Convert.ToInt32(row[x + 2]) != 0 && Convert.ToInt32(row[x + 2]) != 4) + listViewItem.Group = listView1.Groups["listViewGroup1"]; + else + listViewItem.Group = listView1.Groups["listViewGroup2"]; + listView1.Items.Add(listViewItem);*/ + if (x + 4 >= row.Length) + break; + i++; + } + contactList.Items.Clear(); + try + { + contactList.Items.AddRange(listViewItem); //2014.03.01. + } + catch + { + } + try + { //Ha már leállt a program, hibát ir + this.Invoke(new MyDelegate(UpdateContactList)); + } + catch + { + } + Thread.Sleep(5000); + } + } + + private void ClearSearchBar(object sender, EventArgs e) + { + if(textBox1.Text=="Ismerősök keresése...") + textBox1.Clear(); + } + + private void PutTextInSearchBar(object sender, EventArgs e) + { + if (textBox1.Text == "") + textBox1.Text = "Ismerősök keresése..."; + } + public static int RightClickedPartner = -1; + private void ContactItemRightClick(object sender, MouseEventArgs e) + { + //MessageBox.Show(contactList.HotItemIndex + ""); + if (e.Button != MouseButtons.Right || contactList.HotItemIndex>=contactList.Items.Count) + { //Igy nem reagál arra sem, ha üres területre kattintunk + return; + } + contactList.Items[contactList.HotItemIndex].Selected = true; + RightClickedPartner = contactList.HotItemIndex; + partnerMenu.Show(Cursor.Position); + } + ChatForm[] ChatWindow=new ChatForm[1024]; + private void OpenSendMessage(object sender, EventArgs e) //2014.03.02. 0:17 + { + int tmp = contactList.HotItemIndex; + //MessageBox.Show(RightClickedPartner + " " + contactList.HotItemIndex); + if (RightClickedPartner == -1) + RightClickedPartner = tmp; + //MessageBox.Show(RightClickedPartner + " " + contactList.HotItemIndex + "\n" + contactList.Items.Count + "\n" + tmp); + //MessageBox.Show("Üzenetküldés:\n" + contactList.Items[RightClickedPartner].SubItems[1].Text); + //Üzenetküldő form + if (ChatWindow[RightClickedPartner] == null || ChatWindow[RightClickedPartner].IsDisposed) + ChatWindow[RightClickedPartner] = new ChatForm(); + //MessageBox.Show("Form "+RightClickedPartner); + //ChatWindow[RightClickedPartner].ChatPartner = RightClickedPartner; + UserInfo test = new UserInfo(); + test.ChatWindow = new ChatForm(); + //MessageBox.Show("Form Property " + ChatWindow[RightClickedPartner].ChatPartner); + ChatWindow[RightClickedPartner].Show(); + + //RightClickedPartner = -1; - A form bezárásakor állitsa vissza + } + } +} diff --git a/Most Closed Beta/v5.0/MSGer.tk (C#)/MainForm.resx b/Most Closed Beta/v5.0/MSGer.tk (C#)/MainForm.resx new file mode 100644 index 0000000..246e1f8 --- /dev/null +++ b/Most Closed Beta/v5.0/MSGer.tk (C#)/MainForm.resx @@ -0,0 +1,129 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + WLM 2009 Logo base64-encoded probably - Spent hours on the correct sed command + + + System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + 17, 17 + + + 130, 17 + + + 245, 17 + + + 375, 17 + + \ No newline at end of file diff --git a/Most Closed Beta/v5.0/MSGer.tk (C#)/Program.cs b/Most Closed Beta/v5.0/MSGer.tk (C#)/Program.cs new file mode 100644 index 0000000..3d7ebd9 --- /dev/null +++ b/Most Closed Beta/v5.0/MSGer.tk (C#)/Program.cs @@ -0,0 +1,74 @@ +using System; +using System.Collections.Generic; +using System.IO; +using System.Linq; +using System.Net; +using System.Text; +using System.Threading.Tasks; +using System.Windows.Forms; + +namespace MSGer.tk +{ + static class Program + { + /// + /// The main entry point for the application. + /// + [STAThread] + static void Main() + { + Application.EnableVisualStyles(); + Application.SetCompatibleTextRenderingDefault(false); + try + { + Application.Run(new MainForm()); + } + catch + { + } + } + } + static class Networking + { + public static string SendRequest(string action, string data, int remnum) //2014.02.18. + { + HttpWebRequest httpWReq = + (HttpWebRequest)WebRequest.Create("http://msger.tk/client.php"); + + ASCIIEncoding encoding = new ASCIIEncoding(); + string postData = "uid=" + CurrentUser.UserID; + postData += "&action=" + action; + postData += "&key=cas1fe4a6feFEFEFE1616CE8099VFE1444cdasf48c1ase5dg"; + postData += "&code=" + LoginForm.UserCode; //2014.02.13. + postData += "&data=" + data; //2014.02.13. + byte[] datax = encoding.GetBytes(postData); + + httpWReq.Method = "POST"; + httpWReq.ContentType = "application/x-www-form-urlencoded"; + httpWReq.ContentLength = datax.Length; + + using (Stream stream = httpWReq.GetRequestStream()) + { + stream.Write(datax, 0, datax.Length); + } + + //Lista betöltése folyamatban... + + HttpWebResponse response = (HttpWebResponse)httpWReq.GetResponse(); + + string responseString = new StreamReader(response.GetResponseStream()).ReadToEnd(); + + try + { + responseString = responseString.Remove(responseString.IndexOf('<')); + } + catch + { + } + + responseString = responseString.Remove(responseString.Length - remnum); //A -1 nem elég + + return responseString; + } + } +} diff --git a/Most Closed Beta/v5.0/MSGer.tk (C#)/Properties/AssemblyInfo.cs b/Most Closed Beta/v5.0/MSGer.tk (C#)/Properties/AssemblyInfo.cs new file mode 100644 index 0000000..044ccb6 --- /dev/null +++ b/Most Closed Beta/v5.0/MSGer.tk (C#)/Properties/AssemblyInfo.cs @@ -0,0 +1,36 @@ +using System.Reflection; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +// General Information about an assembly is controlled through the following +// set of attributes. Change these attribute values to modify the information +// associated with an assembly. +[assembly: AssemblyTitle("MSGer.tk")] +[assembly: AssemblyDescription("")] +[assembly: AssemblyConfiguration("")] +[assembly: AssemblyCompany("")] +[assembly: AssemblyProduct("MSGer.tk")] +[assembly: AssemblyCopyright("Copyright © 2013")] +[assembly: AssemblyTrademark("")] +[assembly: AssemblyCulture("")] + +// Setting ComVisible to false makes the types in this assembly not visible +// to COM components. If you need to access a type in this assembly from +// COM, set the ComVisible attribute to true on that type. +[assembly: ComVisible(false)] + +// The following GUID is for the ID of the typelib if this project is exposed to COM +[assembly: Guid("d2fdb449-71d7-425e-942b-516005de4cc8")] + +// Version information for an assembly consists of the following four values: +// +// Major Version +// Minor Version +// Build Number +// Revision +// +// You can specify all the values or you can default the Build and Revision Numbers +// by using the '*' as shown below: +// [assembly: AssemblyVersion("1.0.*")] +[assembly: AssemblyVersion("1.0.0.0")] +[assembly: AssemblyFileVersion("1.0.0.0")] diff --git a/Most Closed Beta/v5.0/MSGer.tk (C#)/Properties/Resources.Designer.cs b/Most Closed Beta/v5.0/MSGer.tk (C#)/Properties/Resources.Designer.cs new file mode 100644 index 0000000..4c92e1d --- /dev/null +++ b/Most Closed Beta/v5.0/MSGer.tk (C#)/Properties/Resources.Designer.cs @@ -0,0 +1,103 @@ +//------------------------------------------------------------------------------ +// +// 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. +// +//------------------------------------------------------------------------------ + +namespace MSGer.tk.Properties { + using System; + + + /// + /// A strongly-typed resource class, for looking up localized strings, etc. + /// + // 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 Resources { + + private static global::System.Resources.ResourceManager resourceMan; + + private static global::System.Globalization.CultureInfo resourceCulture; + + [global::System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1811:AvoidUncalledPrivateCode")] + internal Resources() { + } + + /// + /// Returns the cached ResourceManager instance used by this class. + /// + [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("MSGer.tk.Properties.Resources", typeof(Resources).Assembly); + resourceMan = temp; + } + return resourceMan; + } + } + + /// + /// Overrides the current thread's CurrentUICulture property for all + /// resource lookups using this strongly typed resource class. + /// + [global::System.ComponentModel.EditorBrowsableAttribute(global::System.ComponentModel.EditorBrowsableState.Advanced)] + internal static global::System.Globalization.CultureInfo Culture { + get { + return resourceCulture; + } + set { + resourceCulture = value; + } + } + + /// + /// Looks up a localized resource of type System.Drawing.Bitmap. + /// + internal static System.Drawing.Bitmap Blue_Wallpaper_HD { + get { + object obj = ResourceManager.GetObject("Blue-Wallpaper-HD", resourceCulture); + return ((System.Drawing.Bitmap)(obj)); + } + } + + /// + /// Looks up a localized resource of type System.Drawing.Bitmap. + /// + internal static System.Drawing.Bitmap Blue_Wallpaper_HD_2 { + get { + object obj = ResourceManager.GetObject("Blue-Wallpaper-HD 2", resourceCulture); + return ((System.Drawing.Bitmap)(obj)); + } + } + + /// + /// Looks up a localized resource of type System.Drawing.Bitmap. + /// + internal static System.Drawing.Bitmap Keresősáv { + get { + object obj = ResourceManager.GetObject("Keresősáv", resourceCulture); + return ((System.Drawing.Bitmap)(obj)); + } + } + + /// + /// Looks up a localized resource of type System.Drawing.Bitmap. + /// + internal static System.Drawing.Bitmap Menü_2 { + get { + object obj = ResourceManager.GetObject("Menü 2", resourceCulture); + return ((System.Drawing.Bitmap)(obj)); + } + } + } +} diff --git a/Most Closed Beta/v5.0/MSGer.tk (C#)/Properties/Resources.resx b/Most Closed Beta/v5.0/MSGer.tk (C#)/Properties/Resources.resx new file mode 100644 index 0000000..7ac27db --- /dev/null +++ b/Most Closed Beta/v5.0/MSGer.tk (C#)/Properties/Resources.resx @@ -0,0 +1,133 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + text/microsoft-resx + + + 2.0 + + + System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + + ..\Resources\Keresősáv.jpg;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a + + + ..\Resources\Blue-Wallpaper-HD 21.jpg;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a + + + ..\Resources\Menü 22.jpg;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a + + + ..\Resources\Blue-Wallpaper-HD1.jpg;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a + + \ No newline at end of file diff --git a/Most Closed Beta/v5.0/MSGer.tk (C#)/Properties/Settings.Designer.cs b/Most Closed Beta/v5.0/MSGer.tk (C#)/Properties/Settings.Designer.cs new file mode 100644 index 0000000..c795cd2 --- /dev/null +++ b/Most Closed Beta/v5.0/MSGer.tk (C#)/Properties/Settings.Designer.cs @@ -0,0 +1,30 @@ +//------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// Runtime Version:4.0.30319.17929 +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +//------------------------------------------------------------------------------ + +namespace MSGer.tk.Properties +{ + + + [global::System.Runtime.CompilerServices.CompilerGeneratedAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.VisualStudio.Editors.SettingsDesigner.SettingsSingleFileGenerator", "11.0.0.0")] + internal sealed partial class Settings : global::System.Configuration.ApplicationSettingsBase + { + + private static Settings defaultInstance = ((Settings)(global::System.Configuration.ApplicationSettingsBase.Synchronized(new Settings()))); + + public static Settings Default + { + get + { + return defaultInstance; + } + } + } +} diff --git a/Most Closed Beta/v5.0/MSGer.tk (C#)/Properties/Settings.settings b/Most Closed Beta/v5.0/MSGer.tk (C#)/Properties/Settings.settings new file mode 100644 index 0000000..abf36c5 --- /dev/null +++ b/Most Closed Beta/v5.0/MSGer.tk (C#)/Properties/Settings.settings @@ -0,0 +1,7 @@ + + + + + + + diff --git a/Most Closed Beta/v5.0/MSGer.tk (C#)/Resources/Blue-Wallpaper-HD 2.jpg b/Most Closed Beta/v5.0/MSGer.tk (C#)/Resources/Blue-Wallpaper-HD 2.jpg new file mode 100644 index 0000000..2cf5782 Binary files /dev/null and b/Most Closed Beta/v5.0/MSGer.tk (C#)/Resources/Blue-Wallpaper-HD 2.jpg differ diff --git a/Most Closed Beta/v5.0/MSGer.tk (C#)/Resources/Blue-Wallpaper-HD 21.jpg b/Most Closed Beta/v5.0/MSGer.tk (C#)/Resources/Blue-Wallpaper-HD 21.jpg new file mode 100644 index 0000000..2cf5782 Binary files /dev/null and b/Most Closed Beta/v5.0/MSGer.tk (C#)/Resources/Blue-Wallpaper-HD 21.jpg differ diff --git a/Most Closed Beta/v5.0/MSGer.tk (C#)/Resources/Blue-Wallpaper-HD.jpg b/Most Closed Beta/v5.0/MSGer.tk (C#)/Resources/Blue-Wallpaper-HD.jpg new file mode 100644 index 0000000..38e9cbc Binary files /dev/null and b/Most Closed Beta/v5.0/MSGer.tk (C#)/Resources/Blue-Wallpaper-HD.jpg differ diff --git a/Most Closed Beta/v5.0/MSGer.tk (C#)/Resources/Blue-Wallpaper-HD1.jpg b/Most Closed Beta/v5.0/MSGer.tk (C#)/Resources/Blue-Wallpaper-HD1.jpg new file mode 100644 index 0000000..38e9cbc Binary files /dev/null and b/Most Closed Beta/v5.0/MSGer.tk (C#)/Resources/Blue-Wallpaper-HD1.jpg differ diff --git a/Most Closed Beta/v5.0/MSGer.tk (C#)/Resources/Keresősáv.jpg b/Most Closed Beta/v5.0/MSGer.tk (C#)/Resources/Keresősáv.jpg new file mode 100644 index 0000000..f54cf78 Binary files /dev/null and b/Most Closed Beta/v5.0/MSGer.tk (C#)/Resources/Keresősáv.jpg differ diff --git a/Most Closed Beta/v5.0/MSGer.tk (C#)/Resources/Menü 2.jpg b/Most Closed Beta/v5.0/MSGer.tk (C#)/Resources/Menü 2.jpg new file mode 100644 index 0000000..d4b1794 Binary files /dev/null and b/Most Closed Beta/v5.0/MSGer.tk (C#)/Resources/Menü 2.jpg differ diff --git a/Most Closed Beta/v5.0/MSGer.tk (C#)/Resources/Menü 21.jpg b/Most Closed Beta/v5.0/MSGer.tk (C#)/Resources/Menü 21.jpg new file mode 100644 index 0000000..d4b1794 Binary files /dev/null and b/Most Closed Beta/v5.0/MSGer.tk (C#)/Resources/Menü 21.jpg differ diff --git a/Most Closed Beta/v5.0/MSGer.tk (C#)/Resources/Menü 22.jpg b/Most Closed Beta/v5.0/MSGer.tk (C#)/Resources/Menü 22.jpg new file mode 100644 index 0000000..d4b1794 Binary files /dev/null and b/Most Closed Beta/v5.0/MSGer.tk (C#)/Resources/Menü 22.jpg differ diff --git a/Most Closed Beta/v5.0/MSGer.tk (C#)/Resources/Menü 3.jpg b/Most Closed Beta/v5.0/MSGer.tk (C#)/Resources/Menü 3.jpg new file mode 100644 index 0000000..a021f2f Binary files /dev/null and b/Most Closed Beta/v5.0/MSGer.tk (C#)/Resources/Menü 3.jpg differ diff --git a/Most Closed Beta/v5.0/MSGer.tk (C#)/SelectPartnerForm.Designer.cs b/Most Closed Beta/v5.0/MSGer.tk (C#)/SelectPartnerForm.Designer.cs new file mode 100644 index 0000000..d3952a9 --- /dev/null +++ b/Most Closed Beta/v5.0/MSGer.tk (C#)/SelectPartnerForm.Designer.cs @@ -0,0 +1,143 @@ +namespace MSGer.tk +{ + partial class SelectPartnerForm + { + /// + /// Required designer variable. + /// + private System.ComponentModel.IContainer components = null; + + /// + /// Clean up any resources being used. + /// + /// true if managed resources should be disposed; otherwise, false. + protected override void Dispose(bool disposing) + { + if (disposing && (components != null)) + { + components.Dispose(); + } + base.Dispose(disposing); + } + + #region Windows Form Designer generated code + + /// + /// Required method for Designer support - do not modify + /// the contents of this method with the code editor. + /// + private void InitializeComponent() + { + this.partnerList = new GlacialComponents.Controls.GlacialList(); + this.selectedPartners = new System.Windows.Forms.TextBox(); + this.okbtn = new System.Windows.Forms.Button(); + this.cancelbtn = new System.Windows.Forms.Button(); + this.titleText = new System.Windows.Forms.Label(); + this.SuspendLayout(); + // + // partnerList + // + this.partnerList.AllowColumnResize = true; + this.partnerList.AllowMultiselect = false; + this.partnerList.AlternateBackground = System.Drawing.Color.DarkGreen; + this.partnerList.AlternatingColors = false; + this.partnerList.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.partnerList.AutoHeight = true; + this.partnerList.BackColor = System.Drawing.SystemColors.ControlLightLight; + this.partnerList.BackgroundStretchToFit = true; + this.partnerList.ControlStyle = GlacialComponents.Controls.GLControlStyles.Normal; + this.partnerList.FullRowSelect = true; + this.partnerList.GridColor = System.Drawing.Color.LightGray; + this.partnerList.GridLines = GlacialComponents.Controls.GLGridLines.gridBoth; + this.partnerList.GridLineStyle = GlacialComponents.Controls.GLGridLineStyles.gridSolid; + this.partnerList.GridTypes = GlacialComponents.Controls.GLGridTypes.gridOnExists; + this.partnerList.HeaderHeight = 0; + this.partnerList.HeaderVisible = false; + this.partnerList.HeaderWordWrap = false; + this.partnerList.HotColumnTracking = false; + this.partnerList.HotItemTracking = false; + this.partnerList.HotTrackingColor = System.Drawing.Color.LightGray; + this.partnerList.HoverEvents = false; + this.partnerList.HoverTime = 1; + this.partnerList.ImageList = null; + this.partnerList.ItemHeight = 18; + this.partnerList.ItemWordWrap = false; + this.partnerList.Location = new System.Drawing.Point(13, 26); + this.partnerList.Name = "partnerList"; + this.partnerList.Selectable = true; + this.partnerList.SelectedTextColor = System.Drawing.Color.White; + this.partnerList.SelectionColor = System.Drawing.Color.DarkBlue; + this.partnerList.ShowBorder = true; + this.partnerList.ShowFocusRect = false; + this.partnerList.Size = new System.Drawing.Size(359, 286); + this.partnerList.SortType = GlacialComponents.Controls.SortTypes.InsertionSort; + this.partnerList.SuperFlatHeaderColor = System.Drawing.Color.White; + this.partnerList.TabIndex = 0; + // + // selectedPartners + // + this.selectedPartners.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left) + | System.Windows.Forms.AnchorStyles.Right))); + this.selectedPartners.Location = new System.Drawing.Point(13, 319); + this.selectedPartners.Multiline = true; + this.selectedPartners.Name = "selectedPartners"; + this.selectedPartners.Size = new System.Drawing.Size(359, 103); + this.selectedPartners.TabIndex = 1; + // + // okbtn + // + this.okbtn.DialogResult = System.Windows.Forms.DialogResult.OK; + this.okbtn.Location = new System.Drawing.Point(215, 428); + this.okbtn.Name = "okbtn"; + this.okbtn.Size = new System.Drawing.Size(75, 23); + this.okbtn.TabIndex = 2; + this.okbtn.Text = "OK"; + this.okbtn.UseVisualStyleBackColor = true; + // + // cancelbtn + // + this.cancelbtn.DialogResult = System.Windows.Forms.DialogResult.Cancel; + this.cancelbtn.Location = new System.Drawing.Point(297, 429); + this.cancelbtn.Name = "cancelbtn"; + this.cancelbtn.Size = new System.Drawing.Size(75, 23); + this.cancelbtn.TabIndex = 3; + this.cancelbtn.Text = "Mégse"; + this.cancelbtn.UseVisualStyleBackColor = true; + // + // titleText + // + this.titleText.AutoSize = true; + this.titleText.Location = new System.Drawing.Point(13, 7); + this.titleText.Name = "titleText"; + this.titleText.Size = new System.Drawing.Size(53, 13); + this.titleText.TabIndex = 4; + this.titleText.Text = "Unknown"; + // + // SelectPartnerForm + // + this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F); + this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; + this.ClientSize = new System.Drawing.Size(384, 462); + this.Controls.Add(this.titleText); + this.Controls.Add(this.cancelbtn); + this.Controls.Add(this.okbtn); + this.Controls.Add(this.selectedPartners); + this.Controls.Add(this.partnerList); + this.Name = "SelectPartnerForm"; + this.Text = "SelectPartnerForm"; + this.ResumeLayout(false); + this.PerformLayout(); + + } + + #endregion + + private GlacialComponents.Controls.GlacialList partnerList; + private System.Windows.Forms.TextBox selectedPartners; + private System.Windows.Forms.Button okbtn; + private System.Windows.Forms.Button cancelbtn; + private System.Windows.Forms.Label titleText; + } +} \ No newline at end of file diff --git a/Most Closed Beta/v5.0/MSGer.tk (C#)/SelectPartnerForm.cs b/Most Closed Beta/v5.0/MSGer.tk (C#)/SelectPartnerForm.cs new file mode 100644 index 0000000..1113ff5 --- /dev/null +++ b/Most Closed Beta/v5.0/MSGer.tk (C#)/SelectPartnerForm.cs @@ -0,0 +1,25 @@ +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 SelectPartnerForm : Form + { + public SelectPartnerForm() + { + InitializeComponent(); + //this.Text = MainForm.SelectPartnerSender.ToString(); + //titleText.Text = MainForm.SelectPartnerSender.ToString(); + this.Text = MainForm.SelectPartnerSender.Text; //2014.02.28. + titleText.Text = MainForm.SelectPartnerSender.Text; + + } + } +} diff --git a/Most Closed Beta/v5.0/MSGer.tk (C#)/SelectPartnerForm.resx b/Most Closed Beta/v5.0/MSGer.tk (C#)/SelectPartnerForm.resx new file mode 100644 index 0000000..29dcb1b --- /dev/null +++ b/Most Closed Beta/v5.0/MSGer.tk (C#)/SelectPartnerForm.resx @@ -0,0 +1,120 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + text/microsoft-resx + + + 2.0 + + + System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + \ No newline at end of file diff --git a/Most Closed Beta/v5.0/MSGer.tk (C#)/Settings.Designer.cs b/Most Closed Beta/v5.0/MSGer.tk (C#)/Settings.Designer.cs new file mode 100644 index 0000000..150d5ee --- /dev/null +++ b/Most Closed Beta/v5.0/MSGer.tk (C#)/Settings.Designer.cs @@ -0,0 +1,50 @@ +//------------------------------------------------------------------------------ +// +// 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. +// +//------------------------------------------------------------------------------ + +namespace MSGer.tk { + + + [global::System.Runtime.CompilerServices.CompilerGeneratedAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.VisualStudio.Editors.SettingsDesigner.SettingsSingleFileGenerator", "12.0.0.0")] + internal sealed partial class Settings : global::System.Configuration.ApplicationSettingsBase { + + private static Settings defaultInstance = ((Settings)(global::System.Configuration.ApplicationSettingsBase.Synchronized(new Settings()))); + + public static Settings Default { + get { + return defaultInstance; + } + } + + [global::System.Configuration.UserScopedSettingAttribute()] + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.Configuration.DefaultSettingValueAttribute("")] + public string email { + get { + return ((string)(this["email"])); + } + set { + this["email"] = value; + } + } + + [global::System.Configuration.UserScopedSettingAttribute()] + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.Configuration.DefaultSettingValueAttribute("")] + public string picupdatetime { + get { + return ((string)(this["picupdatetime"])); + } + set { + this["picupdatetime"] = value; + } + } + } +} diff --git a/Most Closed Beta/v5.0/MSGer.tk (C#)/Settings.cs b/Most Closed Beta/v5.0/MSGer.tk (C#)/Settings.cs new file mode 100644 index 0000000..2cae8b2 --- /dev/null +++ b/Most Closed Beta/v5.0/MSGer.tk (C#)/Settings.cs @@ -0,0 +1,28 @@ +namespace MSGer.tk { + + + // This class allows you to handle specific events on the settings class: + // The SettingChanging event is raised before a setting's value is changed. + // The PropertyChanged event is raised after a setting's value is changed. + // The SettingsLoaded event is raised after the setting values are loaded. + // The SettingsSaving event is raised before the setting values are saved. + internal sealed partial class Settings { + + public Settings() { + // // To add event handlers for saving and changing settings, uncomment the lines below: + // + // this.SettingChanging += this.SettingChangingEventHandler; + // + // this.SettingsSaving += this.SettingsSavingEventHandler; + // + } + + private void SettingChangingEventHandler(object sender, System.Configuration.SettingChangingEventArgs e) { + // Add code to handle the SettingChangingEvent event here. + } + + private void SettingsSavingEventHandler(object sender, System.ComponentModel.CancelEventArgs e) { + // Add code to handle the SettingsSaving event here. + } + } +} diff --git a/Most Closed Beta/v5.0/MSGer.tk (C#)/Settings.settings b/Most Closed Beta/v5.0/MSGer.tk (C#)/Settings.settings new file mode 100644 index 0000000..10beda8 --- /dev/null +++ b/Most Closed Beta/v5.0/MSGer.tk (C#)/Settings.settings @@ -0,0 +1,12 @@ + + + + + + + + + + + + \ No newline at end of file diff --git a/Most Closed Beta/v5.0/MSGer.tk (C#)/UserInfo.cs b/Most Closed Beta/v5.0/MSGer.tk (C#)/UserInfo.cs new file mode 100644 index 0000000..d2f12a8 --- /dev/null +++ b/Most Closed Beta/v5.0/MSGer.tk (C#)/UserInfo.cs @@ -0,0 +1,23 @@ +using System; +using System.Collections.Generic; +using System.Linq; +using System.Text; +using System.Threading.Tasks; +using System.IO; + +namespace MSGer.tk +{ + public partial class UserInfo + { + /* + * 2014.03.07. + * Az összes szükséges felhasználó szükséges adatai + */ + public ChatForm ChatWindow { get; set; } + public int UserID { get; set; } + public UserInfo() + { + ChatWindow = null; + } + } +} diff --git a/Most Closed Beta/v5.0/MSGer.tk (C#)/bin/Debug/GlacialList.dll b/Most Closed Beta/v5.0/MSGer.tk (C#)/bin/Debug/GlacialList.dll new file mode 100644 index 0000000..6652693 Binary files /dev/null and b/Most Closed Beta/v5.0/MSGer.tk (C#)/bin/Debug/GlacialList.dll differ diff --git a/Most Closed Beta/v5.0/MSGer.tk (C#)/bin/Debug/GlacialList.pdb b/Most Closed Beta/v5.0/MSGer.tk (C#)/bin/Debug/GlacialList.pdb new file mode 100644 index 0000000..ee239c7 Binary files /dev/null and b/Most Closed Beta/v5.0/MSGer.tk (C#)/bin/Debug/GlacialList.pdb differ diff --git a/Most Closed Beta/v5.0/MSGer.tk (C#)/bin/Debug/Khendys.Controls.ExRichTextBox.dll b/Most Closed Beta/v5.0/MSGer.tk (C#)/bin/Debug/Khendys.Controls.ExRichTextBox.dll new file mode 100644 index 0000000..1851254 Binary files /dev/null and b/Most Closed Beta/v5.0/MSGer.tk (C#)/bin/Debug/Khendys.Controls.ExRichTextBox.dll differ diff --git a/Most Closed Beta/v5.0/MSGer.tk (C#)/bin/Debug/Khendys.Controls.ExRichTextBox.pdb b/Most Closed Beta/v5.0/MSGer.tk (C#)/bin/Debug/Khendys.Controls.ExRichTextBox.pdb new file mode 100644 index 0000000..1610b6d Binary files /dev/null and b/Most Closed Beta/v5.0/MSGer.tk (C#)/bin/Debug/Khendys.Controls.ExRichTextBox.pdb differ diff --git a/Most Closed Beta/v5.0/MSGer.tk (C#)/bin/Debug/MSGer.tk.exe b/Most Closed Beta/v5.0/MSGer.tk (C#)/bin/Debug/MSGer.tk.exe new file mode 100644 index 0000000..d66d4b1 Binary files /dev/null and b/Most Closed Beta/v5.0/MSGer.tk (C#)/bin/Debug/MSGer.tk.exe differ diff --git a/Most Closed Beta/v5.0/MSGer.tk (C#)/bin/Debug/MSGer.tk.exe.config b/Most Closed Beta/v5.0/MSGer.tk (C#)/bin/Debug/MSGer.tk.exe.config new file mode 100644 index 0000000..484ca80 --- /dev/null +++ b/Most Closed Beta/v5.0/MSGer.tk (C#)/bin/Debug/MSGer.tk.exe.config @@ -0,0 +1,21 @@ + + + + +
+ + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/Most Closed Beta/v5.0/MSGer.tk (C#)/bin/Debug/MSGer.tk.pdb b/Most Closed Beta/v5.0/MSGer.tk (C#)/bin/Debug/MSGer.tk.pdb new file mode 100644 index 0000000..03d0f1a Binary files /dev/null and b/Most Closed Beta/v5.0/MSGer.tk (C#)/bin/Debug/MSGer.tk.pdb differ diff --git a/Most Closed Beta/v5.0/MSGer.tk (C#)/bin/Debug/MSGer.tk.vshost.exe b/Most Closed Beta/v5.0/MSGer.tk (C#)/bin/Debug/MSGer.tk.vshost.exe new file mode 100644 index 0000000..c0dfecc Binary files /dev/null and b/Most Closed Beta/v5.0/MSGer.tk (C#)/bin/Debug/MSGer.tk.vshost.exe differ diff --git a/Most Closed Beta/v5.0/MSGer.tk (C#)/bin/Debug/MSGer.tk.vshost.exe.config b/Most Closed Beta/v5.0/MSGer.tk (C#)/bin/Debug/MSGer.tk.vshost.exe.config new file mode 100644 index 0000000..484ca80 --- /dev/null +++ b/Most Closed Beta/v5.0/MSGer.tk (C#)/bin/Debug/MSGer.tk.vshost.exe.config @@ -0,0 +1,21 @@ + + + + +
+ + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/Most Closed Beta/v5.0/MSGer.tk (C#)/bin/Debug/MSGer.tk.vshost.exe.manifest b/Most Closed Beta/v5.0/MSGer.tk (C#)/bin/Debug/MSGer.tk.vshost.exe.manifest new file mode 100644 index 0000000..f96b1d6 --- /dev/null +++ b/Most Closed Beta/v5.0/MSGer.tk (C#)/bin/Debug/MSGer.tk.vshost.exe.manifest @@ -0,0 +1,11 @@ + + + + + + + + + + + diff --git a/Most Closed Beta/v5.0/MSGer.tk (C#)/bin/Debug/noimage.png b/Most Closed Beta/v5.0/MSGer.tk (C#)/bin/Debug/noimage.png new file mode 100644 index 0000000..7519e19 Binary files /dev/null and b/Most Closed Beta/v5.0/MSGer.tk (C#)/bin/Debug/noimage.png differ diff --git a/Most Closed Beta/v5.0/MSGer.tk (C#)/bin/Release/MSGer.tk.exe b/Most Closed Beta/v5.0/MSGer.tk (C#)/bin/Release/MSGer.tk.exe new file mode 100644 index 0000000..ba5712d Binary files /dev/null and b/Most Closed Beta/v5.0/MSGer.tk (C#)/bin/Release/MSGer.tk.exe differ diff --git a/Most Closed Beta/v5.0/MSGer.tk (C#)/bin/Release/MSGer.tk.exe.config b/Most Closed Beta/v5.0/MSGer.tk (C#)/bin/Release/MSGer.tk.exe.config new file mode 100644 index 0000000..01566ac --- /dev/null +++ b/Most Closed Beta/v5.0/MSGer.tk (C#)/bin/Release/MSGer.tk.exe.config @@ -0,0 +1,18 @@ + + + + +
+ + + + + + + + + + + + + \ No newline at end of file diff --git a/Most Closed Beta/v5.0/MSGer.tk (C#)/bin/Release/MSGer.tk.pdb b/Most Closed Beta/v5.0/MSGer.tk (C#)/bin/Release/MSGer.tk.pdb new file mode 100644 index 0000000..0f86b2a Binary files /dev/null and b/Most Closed Beta/v5.0/MSGer.tk (C#)/bin/Release/MSGer.tk.pdb differ diff --git a/Most Closed Beta/v5.0/MSGer.tk (C#)/bin/Release/MSGer.tk.vshost.exe b/Most Closed Beta/v5.0/MSGer.tk (C#)/bin/Release/MSGer.tk.vshost.exe new file mode 100644 index 0000000..8c84517 Binary files /dev/null and b/Most Closed Beta/v5.0/MSGer.tk (C#)/bin/Release/MSGer.tk.vshost.exe differ diff --git a/Most Closed Beta/v5.0/MSGer.tk (C#)/bin/Release/MSGer.tk.vshost.exe.config b/Most Closed Beta/v5.0/MSGer.tk (C#)/bin/Release/MSGer.tk.vshost.exe.config new file mode 100644 index 0000000..01566ac --- /dev/null +++ b/Most Closed Beta/v5.0/MSGer.tk (C#)/bin/Release/MSGer.tk.vshost.exe.config @@ -0,0 +1,18 @@ + + + + +
+ + + + + + + + + + + + + \ No newline at end of file diff --git a/Most Closed Beta/v5.0/MSGer.tk (C#)/bin/Release/MSGer.tk.vshost.exe.manifest b/Most Closed Beta/v5.0/MSGer.tk (C#)/bin/Release/MSGer.tk.vshost.exe.manifest new file mode 100644 index 0000000..f96b1d6 --- /dev/null +++ b/Most Closed Beta/v5.0/MSGer.tk (C#)/bin/Release/MSGer.tk.vshost.exe.manifest @@ -0,0 +1,11 @@ + + + + + + + + + + + diff --git a/Most Closed Beta/v5.0/MSGer.tk (C#)/obj/Debug/DesignTimeResolveAssemblyReferences.cache b/Most Closed Beta/v5.0/MSGer.tk (C#)/obj/Debug/DesignTimeResolveAssemblyReferences.cache new file mode 100644 index 0000000..e873066 Binary files /dev/null and b/Most Closed Beta/v5.0/MSGer.tk (C#)/obj/Debug/DesignTimeResolveAssemblyReferences.cache differ diff --git a/Most Closed Beta/v5.0/MSGer.tk (C#)/obj/Debug/DesignTimeResolveAssemblyReferencesInput.cache b/Most Closed Beta/v5.0/MSGer.tk (C#)/obj/Debug/DesignTimeResolveAssemblyReferencesInput.cache new file mode 100644 index 0000000..d9845b3 Binary files /dev/null and b/Most Closed Beta/v5.0/MSGer.tk (C#)/obj/Debug/DesignTimeResolveAssemblyReferencesInput.cache differ diff --git a/Most Closed Beta/v5.0/MSGer.tk (C#)/obj/Debug/MSGer.tk.ChatForm.resources b/Most Closed Beta/v5.0/MSGer.tk (C#)/obj/Debug/MSGer.tk.ChatForm.resources new file mode 100644 index 0000000..6c05a97 Binary files /dev/null and b/Most Closed Beta/v5.0/MSGer.tk (C#)/obj/Debug/MSGer.tk.ChatForm.resources differ diff --git a/Most Closed Beta/v5.0/MSGer.tk (C#)/obj/Debug/MSGer.tk.LoginForm.resources b/Most Closed Beta/v5.0/MSGer.tk (C#)/obj/Debug/MSGer.tk.LoginForm.resources new file mode 100644 index 0000000..6c05a97 Binary files /dev/null and b/Most Closed Beta/v5.0/MSGer.tk (C#)/obj/Debug/MSGer.tk.LoginForm.resources differ diff --git a/Most Closed Beta/v5.0/MSGer.tk (C#)/obj/Debug/MSGer.tk.MainForm.resources b/Most Closed Beta/v5.0/MSGer.tk (C#)/obj/Debug/MSGer.tk.MainForm.resources new file mode 100644 index 0000000..6c05a97 Binary files /dev/null and b/Most Closed Beta/v5.0/MSGer.tk (C#)/obj/Debug/MSGer.tk.MainForm.resources differ diff --git a/Most Closed Beta/v5.0/MSGer.tk (C#)/obj/Debug/MSGer.tk.Properties.Resources.resources b/Most Closed Beta/v5.0/MSGer.tk (C#)/obj/Debug/MSGer.tk.Properties.Resources.resources new file mode 100644 index 0000000..2e7eded Binary files /dev/null and b/Most Closed Beta/v5.0/MSGer.tk (C#)/obj/Debug/MSGer.tk.Properties.Resources.resources differ diff --git a/Most Closed Beta/v5.0/MSGer.tk (C#)/obj/Debug/MSGer.tk.SelectPartnerForm.resources b/Most Closed Beta/v5.0/MSGer.tk (C#)/obj/Debug/MSGer.tk.SelectPartnerForm.resources new file mode 100644 index 0000000..6c05a97 Binary files /dev/null and b/Most Closed Beta/v5.0/MSGer.tk (C#)/obj/Debug/MSGer.tk.SelectPartnerForm.resources differ diff --git a/Most Closed Beta/v5.0/MSGer.tk (C#)/obj/Debug/MSGer.tk.csproj.FileListAbsolute.txt b/Most Closed Beta/v5.0/MSGer.tk (C#)/obj/Debug/MSGer.tk.csproj.FileListAbsolute.txt new file mode 100644 index 0000000..ddcc15d --- /dev/null +++ b/Most Closed Beta/v5.0/MSGer.tk (C#)/obj/Debug/MSGer.tk.csproj.FileListAbsolute.txt @@ -0,0 +1,26 @@ +D:\Z - Norbi cucca\0 Projektek\MSGer.tk\MSGer.tk\bin\Debug\MSGer.tk.exe.config +D:\Z - Norbi cucca\0 Projektek\MSGer.tk\MSGer.tk\bin\Debug\MSGer.tk.exe +D:\Z - Norbi cucca\0 Projektek\MSGer.tk\MSGer.tk\bin\Debug\MSGer.tk.pdb +D:\Z - Norbi cucca\0 Projektek\MSGer.tk\MSGer.tk\obj\Debug\MSGer.tk.MainForm.resources +D:\Z - Norbi cucca\0 Projektek\MSGer.tk\MSGer.tk\obj\Debug\MSGer.tk.Properties.Resources.resources +D:\Z - Norbi cucca\0 Projektek\MSGer.tk\MSGer.tk\obj\Debug\MSGer.tk.csproj.GenerateResource.Cache +D:\Z - Norbi cucca\0 Projektek\MSGer.tk\MSGer.tk\obj\Debug\MSGer.tk.exe +D:\Z - Norbi cucca\0 Projektek\MSGer.tk\MSGer.tk\obj\Debug\MSGer.tk.pdb +D:\Z - Norbi cucca\0 Projektek\MSGer.tk\MSGer.tk\obj\Debug\MSGer.tk.LoginForm.resources +D:\Z - Norbi cucca\0 Projektek\MSGer.tk\MSGer.tk\obj\Debug\MSGer.tk.csprojResolveAssemblyReference.cache +D:\Z - Norbi cucca\0 Projektek\MSGer.tk\MSGer.tk (C#)\bin\Debug\MSGer.tk.exe.config +D:\Z - Norbi cucca\0 Projektek\MSGer.tk\MSGer.tk (C#)\obj\Debug\MSGer.tk.exe +D:\Z - Norbi cucca\0 Projektek\MSGer.tk\MSGer.tk (C#)\obj\Debug\MSGer.tk.pdb +D:\Z - Norbi cucca\0 Projektek\MSGer.tk\MSGer.tk (C#)\bin\Debug\MSGer.tk.exe +D:\Z - Norbi cucca\0 Projektek\MSGer.tk\MSGer.tk (C#)\bin\Debug\MSGer.tk.pdb +D:\Z - Norbi cucca\0 Projektek\MSGer.tk\MSGer.tk (C#)\obj\Debug\MSGer.tk.MainForm.resources +D:\Z - Norbi cucca\0 Projektek\MSGer.tk\MSGer.tk (C#)\obj\Debug\MSGer.tk.LoginForm.resources +D:\Z - Norbi cucca\0 Projektek\MSGer.tk\MSGer.tk (C#)\obj\Debug\MSGer.tk.Properties.Resources.resources +D:\Z - Norbi cucca\0 Projektek\MSGer.tk\MSGer.tk (C#)\obj\Debug\MSGer.tk.csproj.GenerateResource.Cache +D:\Z - Norbi cucca\0 Projektek\MSGer.tk\MSGer.tk (C#)\obj\Debug\MSGer.tk.csprojResolveAssemblyReference.cache +D:\Z - Norbi cucca\0 Projektek\MSGer.tk\MSGer.tk (C#)\bin\Debug\GlacialList.dll +D:\Z - Norbi cucca\0 Projektek\MSGer.tk\MSGer.tk (C#)\bin\Debug\GlacialList.pdb +D:\Z - Norbi cucca\0 Projektek\MSGer.tk\MSGer.tk (C#)\obj\Debug\MSGer.tk.SelectPartnerForm.resources +D:\Z - Norbi cucca\0 Projektek\MSGer.tk\MSGer.tk (C#)\bin\Debug\Khendys.Controls.ExRichTextBox.dll +D:\Z - Norbi cucca\0 Projektek\MSGer.tk\MSGer.tk (C#)\bin\Debug\Khendys.Controls.ExRichTextBox.pdb +D:\Z - Norbi cucca\0 Projektek\MSGer.tk\MSGer.tk (C#)\obj\Debug\MSGer.tk.ChatForm.resources diff --git a/Most Closed Beta/v5.0/MSGer.tk (C#)/obj/Debug/MSGer.tk.csproj.GenerateResource.Cache b/Most Closed Beta/v5.0/MSGer.tk (C#)/obj/Debug/MSGer.tk.csproj.GenerateResource.Cache new file mode 100644 index 0000000..572e548 Binary files /dev/null and b/Most Closed Beta/v5.0/MSGer.tk (C#)/obj/Debug/MSGer.tk.csproj.GenerateResource.Cache differ diff --git a/Most Closed Beta/v5.0/MSGer.tk (C#)/obj/Debug/MSGer.tk.csprojResolveAssemblyReference.cache b/Most Closed Beta/v5.0/MSGer.tk (C#)/obj/Debug/MSGer.tk.csprojResolveAssemblyReference.cache new file mode 100644 index 0000000..ac76ae5 Binary files /dev/null and b/Most Closed Beta/v5.0/MSGer.tk (C#)/obj/Debug/MSGer.tk.csprojResolveAssemblyReference.cache differ diff --git a/Most Closed Beta/v5.0/MSGer.tk (C#)/obj/Debug/MSGer.tk.exe b/Most Closed Beta/v5.0/MSGer.tk (C#)/obj/Debug/MSGer.tk.exe new file mode 100644 index 0000000..d66d4b1 Binary files /dev/null and b/Most Closed Beta/v5.0/MSGer.tk (C#)/obj/Debug/MSGer.tk.exe differ diff --git a/Most Closed Beta/v5.0/MSGer.tk (C#)/obj/Debug/MSGer.tk.pdb b/Most Closed Beta/v5.0/MSGer.tk (C#)/obj/Debug/MSGer.tk.pdb new file mode 100644 index 0000000..03d0f1a Binary files /dev/null and b/Most Closed Beta/v5.0/MSGer.tk (C#)/obj/Debug/MSGer.tk.pdb differ diff --git a/Most Closed Beta/v5.0/MSGer.tk (C#)/obj/Debug/TempPE/Properties.Resources.Designer.cs.dll b/Most Closed Beta/v5.0/MSGer.tk (C#)/obj/Debug/TempPE/Properties.Resources.Designer.cs.dll new file mode 100644 index 0000000..8bbac29 Binary files /dev/null and b/Most Closed Beta/v5.0/MSGer.tk (C#)/obj/Debug/TempPE/Properties.Resources.Designer.cs.dll differ diff --git a/Most Closed Beta/v5.0/MSGer.tk (C#)/obj/Debug/TemporaryGeneratedFile_036C0B5B-1481-4323-8D20-8F5ADCB23D92.cs b/Most Closed Beta/v5.0/MSGer.tk (C#)/obj/Debug/TemporaryGeneratedFile_036C0B5B-1481-4323-8D20-8F5ADCB23D92.cs new file mode 100644 index 0000000..e69de29 diff --git a/Most Closed Beta/v5.0/MSGer.tk (C#)/obj/Debug/TemporaryGeneratedFile_5937a670-0e60-4077-877b-f7221da3dda1.cs b/Most Closed Beta/v5.0/MSGer.tk (C#)/obj/Debug/TemporaryGeneratedFile_5937a670-0e60-4077-877b-f7221da3dda1.cs new file mode 100644 index 0000000..e69de29 diff --git a/Most Closed Beta/v5.0/MSGer.tk (C#)/obj/Debug/TemporaryGeneratedFile_E7A71F73-0F8D-4B9B-B56E-8E70B10BC5D3.cs b/Most Closed Beta/v5.0/MSGer.tk (C#)/obj/Debug/TemporaryGeneratedFile_E7A71F73-0F8D-4B9B-B56E-8E70B10BC5D3.cs new file mode 100644 index 0000000..e69de29 diff --git a/Most Closed Beta/v5.0/MSGer.tk (C#)/obj/Release/DesignTimeResolveAssemblyReferences.cache b/Most Closed Beta/v5.0/MSGer.tk (C#)/obj/Release/DesignTimeResolveAssemblyReferences.cache new file mode 100644 index 0000000..37a5636 Binary files /dev/null and b/Most Closed Beta/v5.0/MSGer.tk (C#)/obj/Release/DesignTimeResolveAssemblyReferences.cache differ diff --git a/Most Closed Beta/v5.0/MSGer.tk (C#)/obj/Release/DesignTimeResolveAssemblyReferencesInput.cache b/Most Closed Beta/v5.0/MSGer.tk (C#)/obj/Release/DesignTimeResolveAssemblyReferencesInput.cache new file mode 100644 index 0000000..4663684 Binary files /dev/null and b/Most Closed Beta/v5.0/MSGer.tk (C#)/obj/Release/DesignTimeResolveAssemblyReferencesInput.cache differ diff --git a/Most Closed Beta/v5.0/MSGer.tk (C#)/obj/Release/MSGer.tk.LoginForm.resources b/Most Closed Beta/v5.0/MSGer.tk (C#)/obj/Release/MSGer.tk.LoginForm.resources new file mode 100644 index 0000000..6c05a97 Binary files /dev/null and b/Most Closed Beta/v5.0/MSGer.tk (C#)/obj/Release/MSGer.tk.LoginForm.resources differ diff --git a/Most Closed Beta/v5.0/MSGer.tk (C#)/obj/Release/MSGer.tk.MainForm.resources b/Most Closed Beta/v5.0/MSGer.tk (C#)/obj/Release/MSGer.tk.MainForm.resources new file mode 100644 index 0000000..6c05a97 Binary files /dev/null and b/Most Closed Beta/v5.0/MSGer.tk (C#)/obj/Release/MSGer.tk.MainForm.resources differ diff --git a/Most Closed Beta/v5.0/MSGer.tk (C#)/obj/Release/MSGer.tk.Properties.Resources.resources b/Most Closed Beta/v5.0/MSGer.tk (C#)/obj/Release/MSGer.tk.Properties.Resources.resources new file mode 100644 index 0000000..6c05a97 Binary files /dev/null and b/Most Closed Beta/v5.0/MSGer.tk (C#)/obj/Release/MSGer.tk.Properties.Resources.resources differ diff --git a/Most Closed Beta/v5.0/MSGer.tk (C#)/obj/Release/MSGer.tk.csproj.FileListAbsolute.txt b/Most Closed Beta/v5.0/MSGer.tk (C#)/obj/Release/MSGer.tk.csproj.FileListAbsolute.txt new file mode 100644 index 0000000..b7b0098 --- /dev/null +++ b/Most Closed Beta/v5.0/MSGer.tk (C#)/obj/Release/MSGer.tk.csproj.FileListAbsolute.txt @@ -0,0 +1,9 @@ +D:\Z - Norbi cucca\0 Projektek\MSGer.tk\MSGer.tk\bin\Release\MSGer.tk.exe.config +D:\Z - Norbi cucca\0 Projektek\MSGer.tk\MSGer.tk\bin\Release\MSGer.tk.exe +D:\Z - Norbi cucca\0 Projektek\MSGer.tk\MSGer.tk\bin\Release\MSGer.tk.pdb +D:\Z - Norbi cucca\0 Projektek\MSGer.tk\MSGer.tk\obj\Release\MSGer.tk.MainForm.resources +D:\Z - Norbi cucca\0 Projektek\MSGer.tk\MSGer.tk\obj\Release\MSGer.tk.LoginForm.resources +D:\Z - Norbi cucca\0 Projektek\MSGer.tk\MSGer.tk\obj\Release\MSGer.tk.Properties.Resources.resources +D:\Z - Norbi cucca\0 Projektek\MSGer.tk\MSGer.tk\obj\Release\MSGer.tk.csproj.GenerateResource.Cache +D:\Z - Norbi cucca\0 Projektek\MSGer.tk\MSGer.tk\obj\Release\MSGer.tk.exe +D:\Z - Norbi cucca\0 Projektek\MSGer.tk\MSGer.tk\obj\Release\MSGer.tk.pdb diff --git a/Most Closed Beta/v5.0/MSGer.tk (C#)/obj/Release/MSGer.tk.csproj.GenerateResource.Cache b/Most Closed Beta/v5.0/MSGer.tk (C#)/obj/Release/MSGer.tk.csproj.GenerateResource.Cache new file mode 100644 index 0000000..ad1861f Binary files /dev/null and b/Most Closed Beta/v5.0/MSGer.tk (C#)/obj/Release/MSGer.tk.csproj.GenerateResource.Cache differ diff --git a/Most Closed Beta/v5.0/MSGer.tk (C#)/obj/Release/MSGer.tk.exe b/Most Closed Beta/v5.0/MSGer.tk (C#)/obj/Release/MSGer.tk.exe new file mode 100644 index 0000000..ba5712d Binary files /dev/null and b/Most Closed Beta/v5.0/MSGer.tk (C#)/obj/Release/MSGer.tk.exe differ diff --git a/Most Closed Beta/v5.0/MSGer.tk (C#)/obj/Release/MSGer.tk.pdb b/Most Closed Beta/v5.0/MSGer.tk (C#)/obj/Release/MSGer.tk.pdb new file mode 100644 index 0000000..0f86b2a Binary files /dev/null and b/Most Closed Beta/v5.0/MSGer.tk (C#)/obj/Release/MSGer.tk.pdb differ diff --git a/Most Closed Beta/v5.0/MSGer.tk (C#)/obj/Release/TemporaryGeneratedFile_036C0B5B-1481-4323-8D20-8F5ADCB23D92.cs b/Most Closed Beta/v5.0/MSGer.tk (C#)/obj/Release/TemporaryGeneratedFile_036C0B5B-1481-4323-8D20-8F5ADCB23D92.cs new file mode 100644 index 0000000..e69de29 diff --git a/Most Closed Beta/v5.0/MSGer.tk (C#)/obj/Release/TemporaryGeneratedFile_5937a670-0e60-4077-877b-f7221da3dda1.cs b/Most Closed Beta/v5.0/MSGer.tk (C#)/obj/Release/TemporaryGeneratedFile_5937a670-0e60-4077-877b-f7221da3dda1.cs new file mode 100644 index 0000000..e69de29 diff --git a/Most Closed Beta/v5.0/MSGer.tk (C#)/obj/Release/TemporaryGeneratedFile_E7A71F73-0F8D-4B9B-B56E-8E70B10BC5D3.cs b/Most Closed Beta/v5.0/MSGer.tk (C#)/obj/Release/TemporaryGeneratedFile_E7A71F73-0F8D-4B9B-B56E-8E70B10BC5D3.cs new file mode 100644 index 0000000..e69de29 diff --git a/Most Closed Beta/v6.0/Changelog.txt b/Most Closed Beta/v6.0/Changelog.txt new file mode 100644 index 0000000..7fa1912 --- /dev/null +++ b/Most Closed Beta/v6.0/Changelog.txt @@ -0,0 +1,32 @@ +v6.0 - 2014.03.07., 11., 13., 14., 19. +---- +- Felhasznl- s partnerinformcik csoportositva class-okba +-- Most mr kpes tbb partner adatait kln kezelni (eddig a partnerlista betltsig hasznlta) +- ChatForm +-- Egy hiba kijavitsnak mellkhatsaknt egyedli jsor-karakter trlsre kerl (Shift+Enter gy, hogy nincs semmi beirva) +- Hibakezels javitva +-- Valami oknl fogva kezeltem a f ablak sszes hibjt, ezrt nem kaptam rla feltn visszajelzst +-- Ha nem tallhatak a szksges DLL-ek, kiirja +-- Ha bezrjuk a bejelentkezablakot, a f ablak most mr bezrul rendesen (eddig prblt tovbbhaladni, de mr nem ltezett a form) +-- A program lellitsakor csak a lista trlsbl add hibt kezeli, a tbbit rhagyja a f hibakezelnek +-- A partnerek azonositja mostantl bellitdik (UserInfo.Partners[x].Number) +-- Leellenrzi, ha nem tallhat a "nincs kp" kp (eltte csak megprblta berakni, de igazbl nem jelzett vissza hibt) +-- ErrorHandling osztly +- Bejelentkezablak talakitva +-- Adtam egy kis leirst +-- 90%-os lthatsg - Nmi tltszsgot adtam hozz +-- Az E-mail mez most mr elfogad nagybetket is a felhasznlnevek miatt (elfogad felhasznlneveket is most mr) +-- Most mr bejelentkezs nlkl is tud parancsokat kldeni a Networking.SendRequest() +- Ismers meghivsa +-- Teljesen mkdkpes ablak +- Regisztrci (meghivtam magam, regisztrltam, bejelentkeztem) + +v7.0 Tervek: +---- +- Karakterkdols helyrehozsa (taln megoldottam mr) +- Fjl/zenetklds +- Rich Text szvegdoboz hasznlata a nevek, szemlyes zenetek megjelenitshez +http://stackoverflow.com/questions/6168177/how-to-insert-image-in-a-textbox +http://www.codeproject.com/Articles/4544/Insert-Plain-Text-and-Images-into-RichTextBox-at-R +- ItemWordWrap csak nagy listanzetben +- Rszletes partnerinformcitrols (most csak a listanztbe rakja) diff --git a/Most Closed Beta/v6.0/MSGer.tk (C#)/App.config b/Most Closed Beta/v6.0/MSGer.tk (C#)/App.config new file mode 100644 index 0000000..484ca80 --- /dev/null +++ b/Most Closed Beta/v6.0/MSGer.tk (C#)/App.config @@ -0,0 +1,21 @@ + + + + +
+ + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/Most Closed Beta/v6.0/MSGer.tk (C#)/ChatForm.Designer.cs b/Most Closed Beta/v6.0/MSGer.tk (C#)/ChatForm.Designer.cs new file mode 100644 index 0000000..83675a0 --- /dev/null +++ b/Most Closed Beta/v6.0/MSGer.tk (C#)/ChatForm.Designer.cs @@ -0,0 +1,93 @@ +namespace MSGer.tk +{ + partial class ChatForm + { + /// + /// Required designer variable. + /// + private System.ComponentModel.IContainer components = null; + + /// + /// Clean up any resources being used. + /// + /// true if managed resources should be disposed; otherwise, false. + protected override void Dispose(bool disposing) + { + if (disposing && (components != null)) + { + components.Dispose(); + } + base.Dispose(disposing); + } + + #region Windows Form Designer generated code + + /// + /// Required method for Designer support - do not modify + /// the contents of this method with the code editor. + /// + private void InitializeComponent() + { + this.messageTextBox = new Khendys.Controls.ExRichTextBox(); + this.recentMsgTextBox = new Khendys.Controls.ExRichTextBox(); + this.SuspendLayout(); + // + // messageTextBox + // + this.messageTextBox.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left) + | System.Windows.Forms.AnchorStyles.Right))); + this.messageTextBox.BackColor = System.Drawing.Color.White; + this.messageTextBox.BorderStyle = System.Windows.Forms.BorderStyle.None; + this.messageTextBox.DetectUrls = false; + this.messageTextBox.ForeColor = System.Drawing.Color.Black; + this.messageTextBox.HiglightColor = Khendys.Controls.RtfColor.White; + this.messageTextBox.Location = new System.Drawing.Point(147, 310); + this.messageTextBox.Name = "messageTextBox"; + this.messageTextBox.ScrollBars = System.Windows.Forms.RichTextBoxScrollBars.Vertical; + this.messageTextBox.Size = new System.Drawing.Size(418, 75); + this.messageTextBox.TabIndex = 0; + this.messageTextBox.Text = ""; + this.messageTextBox.TextColor = Khendys.Controls.RtfColor.Black; + this.messageTextBox.TextChanged += new System.EventHandler(this.MessageTextChanged); + this.messageTextBox.KeyDown += new System.Windows.Forms.KeyEventHandler(this.SendMessage); + // + // recentMsgTextBox + // + this.recentMsgTextBox.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.recentMsgTextBox.BackColor = System.Drawing.Color.White; + this.recentMsgTextBox.BorderStyle = System.Windows.Forms.BorderStyle.None; + this.recentMsgTextBox.ForeColor = System.Drawing.Color.Black; + this.recentMsgTextBox.HiglightColor = Khendys.Controls.RtfColor.White; + this.recentMsgTextBox.Location = new System.Drawing.Point(147, 63); + this.recentMsgTextBox.Name = "recentMsgTextBox"; + this.recentMsgTextBox.ReadOnly = true; + this.recentMsgTextBox.ScrollBars = System.Windows.Forms.RichTextBoxScrollBars.Vertical; + this.recentMsgTextBox.Size = new System.Drawing.Size(418, 241); + this.recentMsgTextBox.TabIndex = 1; + this.recentMsgTextBox.Text = ""; + this.recentMsgTextBox.TextColor = Khendys.Controls.RtfColor.Black; + this.recentMsgTextBox.LinkClicked += new System.Windows.Forms.LinkClickedEventHandler(this.OpenLink); + // + // ChatForm + // + this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F); + this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; + this.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(150)))), ((int)(((byte)(200))))); + this.ClientSize = new System.Drawing.Size(564, 422); + this.Controls.Add(this.recentMsgTextBox); + this.Controls.Add(this.messageTextBox); + this.Name = "ChatForm"; + this.Text = "Beszélgetés"; + this.Load += new System.EventHandler(this.ChatForm_Load); + this.ResumeLayout(false); + + } + + #endregion + + private Khendys.Controls.ExRichTextBox messageTextBox; + private Khendys.Controls.ExRichTextBox recentMsgTextBox; + } +} \ No newline at end of file diff --git a/Most Closed Beta/v6.0/MSGer.tk (C#)/ChatForm.cs b/Most Closed Beta/v6.0/MSGer.tk (C#)/ChatForm.cs new file mode 100644 index 0000000..e760259 --- /dev/null +++ b/Most Closed Beta/v6.0/MSGer.tk (C#)/ChatForm.cs @@ -0,0 +1,63 @@ +using System; +using System.Collections.Generic; +using System.ComponentModel; +using System.Data; +using System.Diagnostics; +using System.Drawing; +using System.Linq; +using System.Text; +using System.Threading.Tasks; +using System.Windows.Forms; + +namespace MSGer.tk +{ + public partial class ChatForm : Form + {/* 2014.03.07. A partnerinformáció birtokolja a chatablakot, és nem forditva; bár a partnerinformáció indexszáma változhat + public int ChatPartner + { + get; + set; + }*/ + public ChatForm() + { + InitializeComponent(); + //Amint létrehozom, ez a kód lefut - Nem számit, hogy megjelenik-e + } + + private void ChatForm_Load(object sender, EventArgs e) + { + //MessageBox.Show(ChatPartner + ""); + //ChatPartner = 2; + //MessageBox.Show(ChatPartner + ""); + } + + private void SendMessage(object sender, KeyEventArgs e) + { + if (e.KeyCode != Keys.Enter || e.Shift) + return; + messageTextBox.ReadOnly = true; + //Networking.SendRequest("sendmessage", messageTextBox.Text, 2); //Még nincs kész a PHP - 2014.03.08. 0:01 + /* + * 2014.03.08. 0:03 + * A fenti kódra válaszul a másik felhasználó esetleges új válaszát is irja be; tehát frissitse az üzeneteket + * Az üzenetellenőrző thread folyamatosan fusson, amint végrehajtotta a parancsokat, kezdje újra (nincs Thread.Sleep) + */ + recentMsgTextBox.AppendText("Üzenet:\n"); + recentMsgTextBox.AppendText(messageTextBox.Text + "\n"); + messageTextBox.Focus(); + messageTextBox.Text = ""; + messageTextBox.ReadOnly = false; + } + + private void MessageTextChanged(object sender, EventArgs e) + { + if (messageTextBox.Text == "\n") + messageTextBox.Text = ""; + } + + private void OpenLink(object sender, LinkClickedEventArgs e) + { + Process.Start(e.LinkText); + } + } +} diff --git a/Most Closed Beta/v6.0/MSGer.tk (C#)/ChatForm.resx b/Most Closed Beta/v6.0/MSGer.tk (C#)/ChatForm.resx new file mode 100644 index 0000000..29dcb1b --- /dev/null +++ b/Most Closed Beta/v6.0/MSGer.tk (C#)/ChatForm.resx @@ -0,0 +1,120 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + text/microsoft-resx + + + 2.0 + + + System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + \ No newline at end of file diff --git a/Most Closed Beta/v6.0/MSGer.tk (C#)/CurrentUser.cs b/Most Closed Beta/v6.0/MSGer.tk (C#)/CurrentUser.cs new file mode 100644 index 0000000..4aeb535 --- /dev/null +++ b/Most Closed Beta/v6.0/MSGer.tk (C#)/CurrentUser.cs @@ -0,0 +1,20 @@ +using System; +using System.Collections.Generic; +using System.IO; +using System.Linq; +using System.Text; +using System.Threading.Tasks; + +namespace MSGer.tk +{ + public static class CurrentUser + { + /* + * 2014.03.05. + * Információátrendezés: Property-k használata; Minden felhasználóhoz egy-egy User class + * Ez a class használható lenne az aktuális felhsaználó információinak tárolására + */ + public static int UserID = 0; + //public static int[] PartnerIDs = new int[1024]; + } +} diff --git a/Most Closed Beta/v6.0/MSGer.tk (C#)/ErrorHandling.cs b/Most Closed Beta/v6.0/MSGer.tk (C#)/ErrorHandling.cs new file mode 100644 index 0000000..83f535d --- /dev/null +++ b/Most Closed Beta/v6.0/MSGer.tk (C#)/ErrorHandling.cs @@ -0,0 +1,41 @@ +using System; +using System.Collections.Generic; +using System.Linq; +using System.Text; +using System.Threading.Tasks; +using System.Windows.Forms; + +namespace MSGer.tk +{ + class ErrorHandling + { + public static void FormError(Form fname, Exception e) + { + MessageBox.Show(e.GetType().ToString()); + if (fname == Program.MainF) + { + switch (e.GetType().ToString()) + { + case "System.NullReferenceException": + MessageBox.Show("lol"); + break; + default: + MessageBox.Show("Ismeretlen hiba történt (" + e.GetType().ToString() + ")!\n\nForrás: " + e.Source + "\nA hibaüzenet: \n" + e.Message + "\nEnnél a műveletnél: " + e.TargetSite); + break; + } + } + else if(fname==MainForm.LoginDialog) + { + switch (e.GetType().ToString()) + { + case "System.NullReferenceException": + MessageBox.Show("lol"); + break; + default: + MessageBox.Show("Ismeretlen hiba történt (" + e.GetType().ToString() + ")!\n\nForrás: " + e.Source + "\nA hibaüzenet: \n" + e.Message + "\nEnnél a műveletnél: " + e.TargetSite); + break; + } + } + } + } +} diff --git a/Most Closed Beta/v6.0/MSGer.tk (C#)/InvitePartner.Designer.cs b/Most Closed Beta/v6.0/MSGer.tk (C#)/InvitePartner.Designer.cs new file mode 100644 index 0000000..a917272 --- /dev/null +++ b/Most Closed Beta/v6.0/MSGer.tk (C#)/InvitePartner.Designer.cs @@ -0,0 +1,162 @@ +namespace MSGer.tk +{ + partial class InvitePartner + { + /// + /// Required designer variable. + /// + private System.ComponentModel.IContainer components = null; + + /// + /// Clean up any resources being used. + /// + /// true if managed resources should be disposed; otherwise, false. + protected override void Dispose(bool disposing) + { + if (disposing && (components != null)) + { + components.Dispose(); + } + base.Dispose(disposing); + } + + #region Windows Form Designer generated code + + /// + /// Required method for Designer support - do not modify + /// the contents of this method with the code editor. + /// + private void InitializeComponent() + { + this.label1 = new System.Windows.Forms.Label(); + this.label2 = new System.Windows.Forms.Label(); + this.textBox1 = new System.Windows.Forms.TextBox(); + this.listBox1 = new System.Windows.Forms.ListBox(); + this.addbtn = new System.Windows.Forms.Button(); + this.removebtn = new System.Windows.Forms.Button(); + this.copybtn = new System.Windows.Forms.Button(); + this.label3 = new System.Windows.Forms.Label(); + this.SuspendLayout(); + // + // label1 + // + this.label1.AutoSize = true; + this.label1.Font = new System.Drawing.Font("Microsoft Sans Serif", 14.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(238))); + this.label1.ForeColor = System.Drawing.Color.Blue; + this.label1.Location = new System.Drawing.Point(13, 13); + this.label1.Name = "label1"; + this.label1.Size = new System.Drawing.Size(189, 24); + this.label1.TabIndex = 0; + this.label1.Text = "Ismerős meghívása"; + // + // label2 + // + this.label2.AutoSize = true; + this.label2.Font = new System.Drawing.Font("Microsoft Sans Serif", 14.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(238))); + this.label2.Location = new System.Drawing.Point(17, 53); + this.label2.Name = "label2"; + this.label2.Size = new System.Drawing.Size(98, 24); + this.label2.TabIndex = 1; + this.label2.Text = "Letöltőlink:"; + // + // textBox1 + // + this.textBox1.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left) + | System.Windows.Forms.AnchorStyles.Right))); + this.textBox1.BackColor = System.Drawing.Color.White; + this.textBox1.Location = new System.Drawing.Point(21, 90); + this.textBox1.Name = "textBox1"; + this.textBox1.ReadOnly = true; + this.textBox1.Size = new System.Drawing.Size(382, 20); + this.textBox1.TabIndex = 2; + this.textBox1.Text = "http://msger.tk/download.php"; + // + // listBox1 + // + this.listBox1.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.listBox1.BackColor = System.Drawing.Color.White; + this.listBox1.FormattingEnabled = true; + this.listBox1.Location = new System.Drawing.Point(21, 163); + this.listBox1.Name = "listBox1"; + this.listBox1.Size = new System.Drawing.Size(379, 173); + this.listBox1.TabIndex = 6; + // + // addbtn + // + this.addbtn.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left))); + this.addbtn.Location = new System.Drawing.Point(21, 343); + this.addbtn.Name = "addbtn"; + this.addbtn.Size = new System.Drawing.Size(75, 23); + this.addbtn.TabIndex = 7; + this.addbtn.Text = "Hozzáadás"; + this.addbtn.UseVisualStyleBackColor = true; + this.addbtn.Click += new System.EventHandler(this.addbtn_Click); + // + // removebtn + // + this.removebtn.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left))); + this.removebtn.Location = new System.Drawing.Point(102, 343); + this.removebtn.Name = "removebtn"; + this.removebtn.Size = new System.Drawing.Size(75, 23); + this.removebtn.TabIndex = 8; + this.removebtn.Text = "Eltávolítás"; + this.removebtn.UseVisualStyleBackColor = true; + this.removebtn.Click += new System.EventHandler(this.removebtn_Click); + // + // copybtn + // + this.copybtn.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right))); + this.copybtn.Location = new System.Drawing.Point(292, 343); + this.copybtn.Name = "copybtn"; + this.copybtn.Size = new System.Drawing.Size(108, 23); + this.copybtn.TabIndex = 9; + this.copybtn.Text = "Kód másolása"; + this.copybtn.UseVisualStyleBackColor = true; + this.copybtn.Click += new System.EventHandler(this.copybtn_Click); + // + // label3 + // + this.label3.AutoSize = true; + this.label3.Font = new System.Drawing.Font("Microsoft Sans Serif", 14.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(238))); + this.label3.Location = new System.Drawing.Point(17, 125); + this.label3.Name = "label3"; + this.label3.Size = new System.Drawing.Size(64, 24); + this.label3.TabIndex = 10; + this.label3.Text = "Kódok"; + // + // InvitePartner + // + this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F); + this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; + this.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(150)))), ((int)(((byte)(200))))); + this.ClientSize = new System.Drawing.Size(415, 449); + this.Controls.Add(this.label3); + this.Controls.Add(this.copybtn); + this.Controls.Add(this.removebtn); + this.Controls.Add(this.addbtn); + this.Controls.Add(this.listBox1); + this.Controls.Add(this.textBox1); + this.Controls.Add(this.label2); + this.Controls.Add(this.label1); + this.Name = "InvitePartner"; + this.Text = "Ismerős meghivása"; + this.Load += new System.EventHandler(this.InvitePartner_Load); + this.ResumeLayout(false); + this.PerformLayout(); + + } + + #endregion + + private System.Windows.Forms.Label label1; + private System.Windows.Forms.Label label2; + private System.Windows.Forms.TextBox textBox1; + private System.Windows.Forms.ListBox listBox1; + private System.Windows.Forms.Button addbtn; + private System.Windows.Forms.Button removebtn; + private System.Windows.Forms.Button copybtn; + private System.Windows.Forms.Label label3; + } +} \ No newline at end of file diff --git a/Most Closed Beta/v6.0/MSGer.tk (C#)/InvitePartner.cs b/Most Closed Beta/v6.0/MSGer.tk (C#)/InvitePartner.cs new file mode 100644 index 0000000..a171aba --- /dev/null +++ b/Most Closed Beta/v6.0/MSGer.tk (C#)/InvitePartner.cs @@ -0,0 +1,71 @@ +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 InvitePartner : Form + { + string[] Codes=new string[1024]; + public InvitePartner() + { + InitializeComponent(); + } + + private void InvitePartner_Load(object sender, EventArgs e) + { + RefreshList(); + } + + private void addbtn_Click(object sender, EventArgs e) + { + string res = Networking.SendRequest("addcode", "", 0, true); + if (res.Substring(0, "Fail".Length) == "Fail") + MessageBox.Show("A kódgenerálás sikertelen.\n\n" + res, "Hiba"); + else + RefreshList(); + } + + public void RefreshList() + { + listBox1.Items.Clear(); + string[] response = Networking.SendRequest("getcodes", "", 0, true).Split('ͦ'); + int x = 0; + for (int i = 0; i+1 < response.Length; i += 2) + { + if (Int32.Parse(response[i + 1]) == 1) + listBox1.Items.Add("Elfogadott - " + response[i]); + else if (Int32.Parse(response[i + 1]) == 0) + listBox1.Items.Add("Visszaigazolásra vár - " + response[i]); + else MessageBox.Show("Hiba:\n" + response[i] + "\n" + response[i + 1]); + Codes[x] = response[i]; + x++; + } + } + + private void removebtn_Click(object sender, EventArgs e) + { + if (listBox1.SelectedIndex == -1) + return; + //MessageBox.Show(listBox1.Items[listBox1.SelectedIndex].ToString()); + string res = Networking.SendRequest("remcode", Codes[listBox1.SelectedIndex], 0, true); + if (res.Substring(0, "Fail".Length) == "Fail") + MessageBox.Show("A kód törlése sikertelen.\n\n" + res, "Hiba"); + //else listBox1.Items.Add(res); + else RefreshList(); + } + + private void copybtn_Click(object sender, EventArgs e) + { + if (listBox1.SelectedIndex == -1) + return; + Clipboard.SetText(Codes[listBox1.SelectedIndex]); + } + } +} diff --git a/Most Closed Beta/v6.0/MSGer.tk (C#)/InvitePartner.resx b/Most Closed Beta/v6.0/MSGer.tk (C#)/InvitePartner.resx new file mode 100644 index 0000000..29dcb1b --- /dev/null +++ b/Most Closed Beta/v6.0/MSGer.tk (C#)/InvitePartner.resx @@ -0,0 +1,120 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + text/microsoft-resx + + + 2.0 + + + System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + \ No newline at end of file diff --git a/Most Closed Beta/v6.0/MSGer.tk (C#)/LoginForm.Designer.cs b/Most Closed Beta/v6.0/MSGer.tk (C#)/LoginForm.Designer.cs new file mode 100644 index 0000000..b5b748f --- /dev/null +++ b/Most Closed Beta/v6.0/MSGer.tk (C#)/LoginForm.Designer.cs @@ -0,0 +1,172 @@ +namespace MSGer.tk +{ + partial class LoginForm + { + /// + /// Required designer variable. + /// + private System.ComponentModel.IContainer components = null; + + /// + /// Clean up any resources being used. + /// + /// true if managed resources should be disposed; otherwise, false. + protected override void Dispose(bool disposing) + { + if (disposing && (components != null)) + { + components.Dispose(); + } + base.Dispose(disposing); + } + + #region Windows Form Designer generated code + + /// + /// Required method for Designer support - do not modify + /// the contents of this method with the code editor. + /// + private void InitializeComponent() + { + System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(LoginForm)); + this.label1 = new System.Windows.Forms.Label(); + this.label2 = new System.Windows.Forms.Label(); + this.textBox1 = new System.Windows.Forms.TextBox(); + this.label3 = new System.Windows.Forms.Label(); + this.textBox2 = new System.Windows.Forms.TextBox(); + this.button1 = new System.Windows.Forms.Button(); + this.textBox3 = new System.Windows.Forms.TextBox(); + this.linkLabel1 = new System.Windows.Forms.LinkLabel(); + this.SuspendLayout(); + // + // label1 + // + this.label1.AutoSize = true; + this.label1.Font = new System.Drawing.Font("Microsoft Sans Serif", 21.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(238))); + this.label1.ForeColor = System.Drawing.Color.Blue; + this.label1.Location = new System.Drawing.Point(12, 9); + this.label1.Name = "label1"; + this.label1.Size = new System.Drawing.Size(197, 33); + this.label1.TabIndex = 0; + this.label1.Text = "Bejelentkezés"; + // + // label2 + // + this.label2.AutoSize = true; + this.label2.Font = new System.Drawing.Font("Microsoft Sans Serif", 14.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(238))); + this.label2.Location = new System.Drawing.Point(19, 77); + this.label2.Name = "label2"; + this.label2.Size = new System.Drawing.Size(63, 24); + this.label2.TabIndex = 1; + this.label2.Text = "E-mail"; + // + // textBox1 + // + this.textBox1.AcceptsReturn = true; + this.textBox1.AcceptsTab = true; + this.textBox1.Location = new System.Drawing.Point(88, 80); + this.textBox1.Name = "textBox1"; + this.textBox1.Size = new System.Drawing.Size(294, 20); + this.textBox1.TabIndex = 2; + // + // label3 + // + this.label3.AutoSize = true; + this.label3.Font = new System.Drawing.Font("Microsoft Sans Serif", 14.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(238))); + this.label3.Location = new System.Drawing.Point(19, 106); + this.label3.Name = "label3"; + this.label3.Size = new System.Drawing.Size(63, 24); + this.label3.TabIndex = 3; + this.label3.Text = "Jelszó"; + // + // textBox2 + // + this.textBox2.AcceptsReturn = true; + this.textBox2.AcceptsTab = true; + this.textBox2.Location = new System.Drawing.Point(179, 110); + this.textBox2.Name = "textBox2"; + this.textBox2.PasswordChar = '→'; + this.textBox2.Size = new System.Drawing.Size(203, 20); + this.textBox2.TabIndex = 4; + // + // button1 + // + this.button1.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(238))); + this.button1.Location = new System.Drawing.Point(235, 153); + this.button1.Name = "button1"; + this.button1.Size = new System.Drawing.Size(147, 23); + this.button1.TabIndex = 5; + this.button1.Text = "Bejelentkezés"; + this.button1.UseVisualStyleBackColor = true; + this.button1.Click += new System.EventHandler(this.button1_Click); + // + // textBox3 + // + this.textBox3.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.textBox3.BackColor = System.Drawing.Color.SteelBlue; + this.textBox3.BorderStyle = System.Windows.Forms.BorderStyle.None; + this.textBox3.ForeColor = System.Drawing.Color.White; + this.textBox3.Location = new System.Drawing.Point(13, 198); + this.textBox3.Multiline = true; + this.textBox3.Name = "textBox3"; + this.textBox3.ReadOnly = true; + this.textBox3.Size = new System.Drawing.Size(369, 261); + this.textBox3.TabIndex = 6; + this.textBox3.Text = resources.GetString("textBox3.Text"); + this.textBox3.TextAlign = System.Windows.Forms.HorizontalAlignment.Center; + // + // linkLabel1 + // + this.linkLabel1.AutoSize = true; + this.linkLabel1.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(238))); + this.linkLabel1.LinkBehavior = System.Windows.Forms.LinkBehavior.HoverUnderline; + this.linkLabel1.LinkColor = System.Drawing.Color.Blue; + this.linkLabel1.Location = new System.Drawing.Point(23, 162); + this.linkLabel1.Name = "linkLabel1"; + this.linkLabel1.Size = new System.Drawing.Size(77, 13); + this.linkLabel1.TabIndex = 7; + this.linkLabel1.TabStop = true; + this.linkLabel1.Text = "Regisztráció"; + this.linkLabel1.VisitedLinkColor = System.Drawing.Color.Blue; + this.linkLabel1.LinkClicked += new System.Windows.Forms.LinkLabelLinkClickedEventHandler(this.RegistrateLink); + // + // LoginForm + // + this.AcceptButton = this.button1; + this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F); + this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; + this.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(150)))), ((int)(((byte)(200))))); + this.ClientSize = new System.Drawing.Size(394, 471); + this.Controls.Add(this.linkLabel1); + this.Controls.Add(this.textBox3); + this.Controls.Add(this.button1); + this.Controls.Add(this.textBox2); + this.Controls.Add(this.label3); + this.Controls.Add(this.textBox1); + this.Controls.Add(this.label2); + this.Controls.Add(this.label1); + this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedDialog; + this.MaximizeBox = false; + this.Name = "LoginForm"; + this.Opacity = 0.9D; + this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen; + this.Text = "Bejelentkezés"; + this.ResumeLayout(false); + this.PerformLayout(); + + } + + #endregion + + private System.Windows.Forms.Label label1; + private System.Windows.Forms.Label label2; + private System.Windows.Forms.TextBox textBox1; + private System.Windows.Forms.Label label3; + private System.Windows.Forms.TextBox textBox2; + private System.Windows.Forms.Button button1; + private System.Windows.Forms.TextBox textBox3; + private System.Windows.Forms.LinkLabel linkLabel1; + } +} \ No newline at end of file diff --git a/Most Closed Beta/v6.0/MSGer.tk (C#)/LoginForm.RegistrationForm.Designer.cs b/Most Closed Beta/v6.0/MSGer.tk (C#)/LoginForm.RegistrationForm.Designer.cs new file mode 100644 index 0000000..1651435 --- /dev/null +++ b/Most Closed Beta/v6.0/MSGer.tk (C#)/LoginForm.RegistrationForm.Designer.cs @@ -0,0 +1,175 @@ +namespace MSGer.tk +{ + partial class LoginForm_RegistrationForm + { + /// + /// Required designer variable. + /// + private System.ComponentModel.IContainer components = null; + + /// + /// Clean up any resources being used. + /// + /// true if managed resources should be disposed; otherwise, false. + protected override void Dispose(bool disposing) + { + if (disposing && (components != null)) + { + components.Dispose(); + } + base.Dispose(disposing); + } + + #region Windows Form Designer generated code + + /// + /// Required method for Designer support - do not modify + /// the contents of this method with the code editor. + /// + private void InitializeComponent() + { + this.label1 = new System.Windows.Forms.Label(); + this.label2 = new System.Windows.Forms.Label(); + this.label3 = new System.Windows.Forms.Label(); + this.label4 = new System.Windows.Forms.Label(); + this.label5 = new System.Windows.Forms.Label(); + this.codeText = new System.Windows.Forms.TextBox(); + this.userText = new System.Windows.Forms.TextBox(); + this.passText = new System.Windows.Forms.TextBox(); + this.emailText = new System.Windows.Forms.TextBox(); + this.registerButton = new System.Windows.Forms.Button(); + this.SuspendLayout(); + // + // label1 + // + this.label1.AutoSize = true; + this.label1.Font = new System.Drawing.Font("Microsoft Sans Serif", 14.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(238))); + this.label1.ForeColor = System.Drawing.Color.Blue; + this.label1.Location = new System.Drawing.Point(13, 13); + this.label1.Name = "label1"; + this.label1.Size = new System.Drawing.Size(124, 24); + this.label1.TabIndex = 0; + this.label1.Text = "Regisztráció"; + // + // label2 + // + this.label2.AutoSize = true; + this.label2.Font = new System.Drawing.Font("Microsoft Sans Serif", 14.25F); + this.label2.Location = new System.Drawing.Point(17, 58); + this.label2.Name = "label2"; + this.label2.Size = new System.Drawing.Size(44, 24); + this.label2.TabIndex = 1; + this.label2.Text = "Kód"; + // + // label3 + // + this.label3.AutoSize = true; + this.label3.Font = new System.Drawing.Font("Microsoft Sans Serif", 14.25F); + this.label3.Location = new System.Drawing.Point(17, 92); + this.label3.Name = "label3"; + this.label3.Size = new System.Drawing.Size(143, 24); + this.label3.TabIndex = 2; + this.label3.Text = "Felhasználónév"; + // + // label4 + // + this.label4.AutoSize = true; + this.label4.Font = new System.Drawing.Font("Microsoft Sans Serif", 14.25F); + this.label4.Location = new System.Drawing.Point(17, 125); + this.label4.Name = "label4"; + this.label4.Size = new System.Drawing.Size(63, 24); + this.label4.TabIndex = 3; + this.label4.Text = "Jelszó"; + // + // label5 + // + this.label5.AutoSize = true; + this.label5.Font = new System.Drawing.Font("Microsoft Sans Serif", 14.25F); + this.label5.Location = new System.Drawing.Point(17, 160); + this.label5.Name = "label5"; + this.label5.Size = new System.Drawing.Size(63, 24); + this.label5.TabIndex = 4; + this.label5.Text = "E-mail"; + // + // codeText + // + this.codeText.Location = new System.Drawing.Point(86, 63); + this.codeText.Name = "codeText"; + this.codeText.Size = new System.Drawing.Size(358, 20); + this.codeText.TabIndex = 6; + // + // userText + // + this.userText.Location = new System.Drawing.Point(166, 97); + this.userText.Name = "userText"; + this.userText.Size = new System.Drawing.Size(278, 20); + this.userText.TabIndex = 7; + // + // passText + // + this.passText.Location = new System.Drawing.Point(166, 130); + this.passText.Name = "passText"; + this.passText.PasswordChar = '→'; + this.passText.Size = new System.Drawing.Size(278, 20); + this.passText.TabIndex = 8; + // + // emailText + // + this.emailText.Location = new System.Drawing.Point(86, 165); + this.emailText.Name = "emailText"; + this.emailText.Size = new System.Drawing.Size(358, 20); + this.emailText.TabIndex = 9; + // + // registerButton + // + this.registerButton.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(238))); + this.registerButton.Location = new System.Drawing.Point(17, 220); + this.registerButton.Name = "registerButton"; + this.registerButton.Size = new System.Drawing.Size(427, 23); + this.registerButton.TabIndex = 10; + this.registerButton.Text = "Regisztráció"; + this.registerButton.UseVisualStyleBackColor = true; + this.registerButton.Click += new System.EventHandler(this.registerButton_Click); + // + // LoginForm_RegistrationForm + // + this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F); + this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; + this.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(150)))), ((int)(((byte)(200))))); + this.ClientSize = new System.Drawing.Size(469, 356); + this.Controls.Add(this.registerButton); + this.Controls.Add(this.emailText); + this.Controls.Add(this.passText); + this.Controls.Add(this.userText); + this.Controls.Add(this.codeText); + this.Controls.Add(this.label5); + this.Controls.Add(this.label4); + this.Controls.Add(this.label3); + this.Controls.Add(this.label2); + this.Controls.Add(this.label1); + this.MaximizeBox = false; + this.MinimizeBox = false; + this.Name = "LoginForm_RegistrationForm"; + this.ShowIcon = false; + this.ShowInTaskbar = false; + this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen; + this.Text = "Regisztráció"; + this.ResumeLayout(false); + this.PerformLayout(); + + } + + #endregion + + private System.Windows.Forms.Label label1; + private System.Windows.Forms.Label label2; + private System.Windows.Forms.Label label3; + private System.Windows.Forms.Label label4; + private System.Windows.Forms.Label label5; + private System.Windows.Forms.TextBox codeText; + private System.Windows.Forms.TextBox userText; + private System.Windows.Forms.TextBox passText; + private System.Windows.Forms.TextBox emailText; + private System.Windows.Forms.Button registerButton; + } +} \ No newline at end of file diff --git a/Most Closed Beta/v6.0/MSGer.tk (C#)/LoginForm.RegistrationForm.cs b/Most Closed Beta/v6.0/MSGer.tk (C#)/LoginForm.RegistrationForm.cs new file mode 100644 index 0000000..fe7f8cc --- /dev/null +++ b/Most Closed Beta/v6.0/MSGer.tk (C#)/LoginForm.RegistrationForm.cs @@ -0,0 +1,62 @@ +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 LoginForm_RegistrationForm : Form + { + public LoginForm_RegistrationForm() + { + InitializeComponent(); + } + + private void registerButton_Click(object sender, EventArgs e) + { + registerButton.Enabled = false; + if (codeText.TextLength == 0 || userText.TextLength == 0 || passText.TextLength == 0 || emailText.TextLength == 0) + { + MessageBox.Show("Minden mezőt tölts ki.", "Hiba"); + registerButton.Enabled = true; + return; + } + string response = Networking.SendRequest("register", codeText.Text + "ͦ" + userText.Text + "ͦ" + LoginForm.CalculateMD5Hash(passText.Text) + "ͦ" + emailText.Text, 2, false); + if(response=="code") + { + MessageBox.Show("A megadott kód nem létezik vagy már felhasználták.", "Hiba"); + registerButton.Enabled = true; + } + else if (response == "uname") + { + MessageBox.Show("A felhasználónév már foglalt.", "Hiba"); + registerButton.Enabled = true; + } + else if (response == "ulen") + { + MessageBox.Show("A felhasználónév hossza nem megfelelő. (Min. 4 karakter)", "Hiba"); + registerButton.Enabled = true; + } + else if (response == "plen") + { + MessageBox.Show("A jelszó hossza nem megfelelő. (Min. 6 karakter)", "Hiba"); + registerButton.Enabled = true; + } + else if (response == "Success!") + { + MessageBox.Show("Sikeres regisztráció.\nÜdv a közösségben!"); + Close(); + } + else + { + MessageBox.Show("Ismeretlen hiba:\n" + response); + registerButton.Enabled = true; + } + } + } +} diff --git a/Most Closed Beta/v6.0/MSGer.tk (C#)/LoginForm.RegistrationForm.resx b/Most Closed Beta/v6.0/MSGer.tk (C#)/LoginForm.RegistrationForm.resx new file mode 100644 index 0000000..29dcb1b --- /dev/null +++ b/Most Closed Beta/v6.0/MSGer.tk (C#)/LoginForm.RegistrationForm.resx @@ -0,0 +1,120 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + text/microsoft-resx + + + 2.0 + + + System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + \ No newline at end of file diff --git a/Most Closed Beta/v6.0/MSGer.tk (C#)/LoginForm.cs b/Most Closed Beta/v6.0/MSGer.tk (C#)/LoginForm.cs new file mode 100644 index 0000000..71670cd --- /dev/null +++ b/Most Closed Beta/v6.0/MSGer.tk (C#)/LoginForm.cs @@ -0,0 +1,218 @@ +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; +using System.Net; +using System.IO; +using System.Security.Cryptography; +using System.Configuration; +using System.Threading; + +namespace MSGer.tk +{ + public partial class LoginForm : Form + { + public static string UserCode=""; + public static Thread LThread; + public LoginForm() + { + InitializeComponent(); + Thread.CurrentThread.Name = "Main Thread"; + + textBox1.Text = Settings.Default.email; + if (textBox1.TextLength != 0) + { + textBox2.Focus(); + } + } + private void button1_Click(object sender, EventArgs e) + { + if(button1.Text=="Mégse") + { + ResetAfterLogin(); + } + else + { + try + { + if (LThread.IsAlive) + { + MessageBox.Show("Még fut a bejelentkező folyamat. Próbáld újra kb. 10 másodperc múlva.\nEzt a hibát általában szerverhiba okozza. Ilyenkor hiába állitod le a bejelentkezést, az tovább próbálkozik.", "Hiba"); + return; + } + } + catch + { + } + // Create the thread object, passing in the Alpha.Beta method + // via a ThreadStart delegate. This does not start the thread. + LThread = new Thread(new ThreadStart(LoginUser)); + LThread.Name = "Login Thread"; + + // Start the thread + LThread.Start(); + + // Spin for a while waiting for the started thread to become + // alive: + while (!LThread.IsAlive) ; + + // Put the Main thread to sleep for 1 millisecond to allow oThread + // to do some work: + Thread.Sleep(1); + } + } + public delegate int MyDelegate(); + public int SetLoginValues() + { + if (UserText.Length == 0) + UserText = textBox1.Text; + else + textBox1.Text = UserText; + + if (PassText.Length == 0) + PassText = textBox2.Text; + else + textBox2.Text = PassText; + + button1.Text = LButtonText; + if (Closeable) + { + Closeable = false; + Close(); + } + return 0; + } + public int ResetAfterLogin() + { + StopLogin = true; + button1.Enabled = false; + /*int x = 0; + while (LThread.IsAlive) + { + if (x == 5000) + LThread.Abort(); + else + x++; + }*/ + //StopLogin = false; + button1.Text = "Bejelentkezés"; + button1.Enabled = true; + return 0; + } + public static string UserText = ""; //2014.02.14. + public static string PassText = ""; + public static string LButtonText = ""; + public static bool Closeable = false; + public static bool StopLogin = false; + + public void LoginUser() + { + //Állitson vissza minden változót, hogy újra belerakja az értekeket - 2014.02.28. + UserText = ""; + PassText = ""; + // + LButtonText = "Mégse"; + this.Invoke(new MyDelegate(SetLoginValues)); + + HttpWebRequest httpWReq = + (HttpWebRequest)WebRequest.Create("http://msger.tk/client.php"); + + ASCIIEncoding encoding = new ASCIIEncoding(); + string postData = "username=" + UserText; + postData += "&password=" + CalculateMD5Hash(PassText); + postData += "&key=cas1fe4a6feFEFEFE1616CE8099VFE1444cdasf48c1ase5dg"; + byte[] data = encoding.GetBytes(postData); + + httpWReq.Method = "POST"; + httpWReq.ContentType = "application/x-www-form-urlencoded"; + httpWReq.ContentLength = data.Length; + + if (StopLogin) + { + StopLogin = false; + return; + } + try + { + using (Stream stream = httpWReq.GetRequestStream()) + { + stream.Write(data, 0, data.Length); + } + } + catch + { + if (!StopLogin) + { + MessageBox.Show("Nem sikerült csatlakozni a szerverhez.", "Hiba"); + this.Invoke(new MyDelegate(ResetAfterLogin)); + } + } + if (StopLogin) + { + StopLogin = false; + return; + } + + //Bejelentkezés folyamatban... + HttpWebResponse response = (HttpWebResponse)httpWReq.GetResponse(); + if (StopLogin) + { + StopLogin = false; + return; + } + + string responseString = new StreamReader(response.GetResponseStream()).ReadToEnd(); + + try + { + responseString = responseString.Remove(responseString.IndexOf('<')); + } + catch + { + } + + if (String.Compare(responseString, "Fail") == 0) + { + LButtonText = "Bejelentkezés"; + this.Invoke(new MyDelegate(SetLoginValues)); + MessageBox.Show("Hiba: Helytelen felhasználónév, vagy jelszó.", "Hiba"); + } + else + { + //Elmenti az E-mail-t + Settings.Default.email = UserText; + Settings.Default.Save(); + //Bejelentkezés + CurrentUser.UserID = Convert.ToInt32(responseString); + LoginForm.UserCode = CalculateMD5Hash(CalculateMD5Hash(PassText).ToLower() + " Some text because why not " + CurrentUser.UserID).ToLower(); + Closeable = true; + this.Invoke(new MyDelegate(SetLoginValues)); + } + } + public static string CalculateMD5Hash(string input) + { + // step 1, calculate MD5 hash from input + MD5 md5 = System.Security.Cryptography.MD5.Create(); + byte[] inputBytes = System.Text.Encoding.ASCII.GetBytes(input); + byte[] hash = md5.ComputeHash(inputBytes); + + // step 2, convert byte array to hex string + StringBuilder sb = new StringBuilder(); + for (int i = 0; i < hash.Length; i++) + { + sb.Append(hash[i].ToString("X2")); + } + return sb.ToString(); + } + + private void RegistrateLink(object sender, LinkLabelLinkClickedEventArgs e) + { + (new LoginForm_RegistrationForm()).ShowDialog(); + } + } +} diff --git a/Most Closed Beta/v6.0/MSGer.tk (C#)/LoginForm.resx b/Most Closed Beta/v6.0/MSGer.tk (C#)/LoginForm.resx new file mode 100644 index 0000000..7938e5e --- /dev/null +++ b/Most Closed Beta/v6.0/MSGer.tk (C#)/LoginForm.resx @@ -0,0 +1,125 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + text/microsoft-resx + + + 2.0 + + + System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + Az e-mail helyett használható a felhasználóneved is. + +Ha nem tudsz bejelentkezni, próbáld meg újrainditani a programot. Ha az sem segít, és nem a felhasználóneveddel/jelszavaddal van a probléma, akkor jelentsd a problémát. + + \ No newline at end of file diff --git a/Most Closed Beta/v6.0/MSGer.tk (C#)/MSGer.tk.csproj b/Most Closed Beta/v6.0/MSGer.tk (C#)/MSGer.tk.csproj new file mode 100644 index 0000000..dc60725 --- /dev/null +++ b/Most Closed Beta/v6.0/MSGer.tk (C#)/MSGer.tk.csproj @@ -0,0 +1,178 @@ + + + + + Debug + AnyCPU + {F60940C0-05FC-46C0-948E-6DBECBBE38DD} + WinExe + Properties + MSGer.tk + MSGer.tk + v4.5 + 512 + + + AnyCPU + true + full + false + bin\Debug\ + DEBUG;TRACE + prompt + 4 + + + AnyCPU + pdbonly + true + bin\Release\ + TRACE + prompt + 4 + + + + C:\Users\Norbi\Downloads\GlacialListSource13\ListView\bin\Debug\GlacialList.dll + + + False + C:\Users\Norbi\Downloads\ExRichTextBox_src\ExRichTextBox\bin\Debug\Khendys.Controls.ExRichTextBox.dll + + + + + + + + + + + + + + + + Form + + + ChatForm.cs + + + + + Form + + + InvitePartner.cs + + + Form + + + LoginForm.RegistrationForm.cs + + + Form + + + MainForm.cs + + + Form + + + LoginForm.cs + + + + + True + True + Resources.resx + + + Form + + + SelectPartnerForm.cs + + + + True + True + Settings.settings + + + + ChatForm.cs + + + InvitePartner.cs + + + LoginForm.RegistrationForm.cs + + + MainForm.cs + + + LoginForm.cs + + + ResXFileCodeGenerator + Resources.Designer.cs + + + SelectPartnerForm.cs + + + SettingsSingleFileGenerator + Settings.Designer.cs + + + True + Settings.settings + True + + + SettingsSingleFileGenerator + Settings.Designer.cs + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/Most Closed Beta/v6.0/MSGer.tk (C#)/MSGer.tk.sln b/Most Closed Beta/v6.0/MSGer.tk (C#)/MSGer.tk.sln new file mode 100644 index 0000000..8157d29 --- /dev/null +++ b/Most Closed Beta/v6.0/MSGer.tk (C#)/MSGer.tk.sln @@ -0,0 +1,20 @@ + +Microsoft Visual Studio Solution File, Format Version 12.00 +# Visual Studio Express 2012 for Windows Desktop +Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "MSGer.tk", "MSGer.tk.csproj", "{F60940C0-05FC-46C0-948E-6DBECBBE38DD}" +EndProject +Global + GlobalSection(SolutionConfigurationPlatforms) = preSolution + Debug|Any CPU = Debug|Any CPU + Release|Any CPU = Release|Any CPU + EndGlobalSection + GlobalSection(ProjectConfigurationPlatforms) = postSolution + {F60940C0-05FC-46C0-948E-6DBECBBE38DD}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {F60940C0-05FC-46C0-948E-6DBECBBE38DD}.Debug|Any CPU.Build.0 = Debug|Any CPU + {F60940C0-05FC-46C0-948E-6DBECBBE38DD}.Release|Any CPU.ActiveCfg = Release|Any CPU + {F60940C0-05FC-46C0-948E-6DBECBBE38DD}.Release|Any CPU.Build.0 = Release|Any CPU + EndGlobalSection + GlobalSection(SolutionProperties) = preSolution + HideSolutionNode = FALSE + EndGlobalSection +EndGlobal diff --git a/Most Closed Beta/v6.0/MSGer.tk (C#)/MSGer.tk.v11.suo b/Most Closed Beta/v6.0/MSGer.tk (C#)/MSGer.tk.v11.suo new file mode 100644 index 0000000..88974bf Binary files /dev/null and b/Most Closed Beta/v6.0/MSGer.tk (C#)/MSGer.tk.v11.suo differ diff --git a/Most Closed Beta/v6.0/MSGer.tk (C#)/MSGer.tk.v12.suo b/Most Closed Beta/v6.0/MSGer.tk (C#)/MSGer.tk.v12.suo new file mode 100644 index 0000000..9a9a5ab Binary files /dev/null and b/Most Closed Beta/v6.0/MSGer.tk (C#)/MSGer.tk.v12.suo differ diff --git a/Most Closed Beta/v6.0/MSGer.tk (C#)/MainForm.Designer.cs b/Most Closed Beta/v6.0/MSGer.tk (C#)/MainForm.Designer.cs new file mode 100644 index 0000000..3b21bb8 --- /dev/null +++ b/Most Closed Beta/v6.0/MSGer.tk (C#)/MainForm.Designer.cs @@ -0,0 +1,914 @@ +namespace MSGer.tk +{ + partial class MainForm + { + /// + /// Required designer variable. + /// + private System.ComponentModel.IContainer components = null; + + /// + /// Clean up any resources being used. + /// + /// true if managed resources should be disposed; otherwise, false. + protected override void Dispose(bool disposing) + { + if (disposing && (components != null)) + { + components.Dispose(); + } + base.Dispose(disposing); + } + + #region Windows Form Designer generated code + + /// + /// Required method for Designer support - do not modify + /// the contents of this method with the code editor. + /// + private void InitializeComponent() + { + this.components = new System.ComponentModel.Container(); + GlacialComponents.Controls.GLColumn glColumn1 = new GlacialComponents.Controls.GLColumn(); + GlacialComponents.Controls.GLColumn glColumn2 = new GlacialComponents.Controls.GLColumn(); + GlacialComponents.Controls.GLItem glItem1 = new GlacialComponents.Controls.GLItem(); + GlacialComponents.Controls.GLSubItem glSubItem1 = new GlacialComponents.Controls.GLSubItem(); + GlacialComponents.Controls.GLSubItem glSubItem2 = new GlacialComponents.Controls.GLSubItem(); + this.notifyIcon1 = new System.Windows.Forms.NotifyIcon(this.components); + this.button1 = new System.Windows.Forms.Button(); + this.panel2 = new System.Windows.Forms.Panel(); + this.textBox1 = new System.Windows.Forms.TextBox(); + this.panel1 = new System.Windows.Forms.Panel(); + this.menuStrip1 = new System.Windows.Forms.MenuStrip(); + this.fájlToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); + this.kijelentkezésToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); + this.toolStripMenuItem1 = new System.Windows.Forms.ToolStripMenuItem(); + this.toolStripSeparator1 = new System.Windows.Forms.ToolStripSeparator(); + this.állapotToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); + this.elérhetőToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); + this.elfoglaltToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); + this.nincsAGépnélToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); + this.rejtveKapcsolódikToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); + this.toolStripSeparator2 = new System.Windows.Forms.ToolStripSeparator(); + this.fájlKüldéseToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); + this.beérkezettFájlokMappájánakMegnyitásaToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); + this.üzenetekElőzményeinekMegtekintéseToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); + this.toolStripSeparator3 = new System.Windows.Forms.ToolStripSeparator(); + this.bezárásToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); + this.toolStripSeparator4 = new System.Windows.Forms.ToolStripSeparator(); + this.kilépésToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); + this.ismerősökToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); + this.ismerősFelvételeToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); + this.ismerősSzerkesztéseToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); + this.ismerősTörléseToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); + this.toolStripSeparator5 = new System.Windows.Forms.ToolStripSeparator(); + this.csoportLétrehozásaToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); + this.toolStripSeparator6 = new System.Windows.Forms.ToolStripSeparator(); + this.kategóriaLétrehozásaToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); + this.kategóriaSzerkesztéseToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); + this.kategóriaTörléseToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); + this.műveletekToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); + this.azonnaliÜzenetKüldéseToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); + this.egyébKüldéseToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); + this.emailKüldéseToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); + this.fájlKüldéseToolStripMenuItem1 = new System.Windows.Forms.ToolStripMenuItem(); + this.toolStripSeparator7 = new System.Windows.Forms.ToolStripSeparator(); + this.ismerősSzámitógépénekFelhivásaToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); + this.videóhivásInditásaToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); + this.onlineFájlokMegtekintéseToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); + this.közösJátékToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); + this.távsegitségKéréseToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); + this.eszközökToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); + this.mindigLegfelülToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); + this.toolStripSeparator8 = new System.Windows.Forms.ToolStripSeparator(); + this.hangulatjelekToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); + this.megjelenitendőKépVáltásaToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); + this.háttérMódositásaToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); + this.toolStripSeparator9 = new System.Windows.Forms.ToolStripSeparator(); + this.hangokÉsVideóBeállitásaToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); + this.toolStripSeparator10 = new System.Windows.Forms.ToolStripSeparator(); + this.beállitásokToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); + this.súgóToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); + this.témakörökToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); + this.toolStripSeparator11 = new System.Windows.Forms.ToolStripSeparator(); + this.aSzolgáltatásÁllapotsaToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); + this.adatvédelmiNyilatkozatToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); + this.használatiFeltételekToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); + this.visszaélésBejelentéseToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); + this.toolStripSeparator12 = new System.Windows.Forms.ToolStripSeparator(); + this.segitsenAProgramTökéletesitésébenToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); + this.toolStripSeparator13 = new System.Windows.Forms.ToolStripSeparator(); + this.névjegyToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); + this.contactList = new GlacialComponents.Controls.GlacialList(); + this.partnerImages = new System.Windows.Forms.ImageList(this.components); + this.partnerMenu = new System.Windows.Forms.ContextMenuStrip(this.components); + this.üzenetküldésToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); + this.emailKüldéseemailToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); + this.toolStripMenuItem2 = new System.Windows.Forms.ToolStripMenuItem(); + this.információToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); + this.toolStripSeparator14 = new System.Windows.Forms.ToolStripSeparator(); + this.ismerősLetiltásaToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); + this.ismerősTörléseToolStripMenuItem1 = new System.Windows.Forms.ToolStripMenuItem(); + this.toolStripSeparator15 = new System.Windows.Forms.ToolStripSeparator(); + this.becenévSzerkesztéseToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); + this.toolStripSeparator16 = new System.Windows.Forms.ToolStripSeparator(); + this.eseményértesitésekToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); + this.toolStripSeparator17 = new System.Windows.Forms.ToolStripSeparator(); + this.beszélgetésnaplóMegnyitásaToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); + this.toolStripMenuItem3 = new System.Windows.Forms.ToolStripMenuItem(); + this.panel2.SuspendLayout(); + this.menuStrip1.SuspendLayout(); + this.partnerMenu.SuspendLayout(); + this.SuspendLayout(); + // + // notifyIcon1 + // + this.notifyIcon1.Text = "notifyIcon1"; + this.notifyIcon1.Visible = true; + // + // button1 + // + this.button1.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right))); + this.button1.FlatStyle = System.Windows.Forms.FlatStyle.Popup; + this.button1.Location = new System.Drawing.Point(519, 104); + this.button1.Name = "button1"; + this.button1.Size = new System.Drawing.Size(35, 23); + this.button1.TabIndex = 4; + this.button1.UseVisualStyleBackColor = true; + // + // panel2 + // + this.panel2.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left) + | System.Windows.Forms.AnchorStyles.Right))); + this.panel2.BackgroundImage = global::MSGer.tk.Properties.Resources.Keresősáv; + this.panel2.BackgroundImageLayout = System.Windows.Forms.ImageLayout.Stretch; + this.panel2.Controls.Add(this.textBox1); + this.panel2.Location = new System.Drawing.Point(0, 96); + this.panel2.Name = "panel2"; + this.panel2.Size = new System.Drawing.Size(513, 31); + this.panel2.TabIndex = 5; + // + // textBox1 + // + this.textBox1.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left) + | System.Windows.Forms.AnchorStyles.Right))); + this.textBox1.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(244)))), ((int)(((byte)(249)))), ((int)(((byte)(252))))); + this.textBox1.BorderStyle = System.Windows.Forms.BorderStyle.None; + this.textBox1.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(137)))), ((int)(((byte)(161)))), ((int)(((byte)(194))))); + this.textBox1.Location = new System.Drawing.Point(6, 8); + this.textBox1.Name = "textBox1"; + this.textBox1.Size = new System.Drawing.Size(504, 13); + this.textBox1.TabIndex = 3; + this.textBox1.Text = "Ismerősök keresése..."; + this.textBox1.Enter += new System.EventHandler(this.ClearSearchBar); + this.textBox1.Leave += new System.EventHandler(this.PutTextInSearchBar); + // + // panel1 + // + this.panel1.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left) + | System.Windows.Forms.AnchorStyles.Right))); + this.panel1.BackgroundImage = global::MSGer.tk.Properties.Resources.Blue_Wallpaper_HD_2; + this.panel1.BackgroundImageLayout = System.Windows.Forms.ImageLayout.Stretch; + this.panel1.Location = new System.Drawing.Point(0, 27); + this.panel1.Name = "panel1"; + this.panel1.Size = new System.Drawing.Size(624, 63); + this.panel1.TabIndex = 2; + // + // menuStrip1 + // + this.menuStrip1.BackColor = System.Drawing.Color.Black; + this.menuStrip1.BackgroundImage = global::MSGer.tk.Properties.Resources.Menü_2; + this.menuStrip1.Items.AddRange(new System.Windows.Forms.ToolStripItem[] { + this.fájlToolStripMenuItem, + this.ismerősökToolStripMenuItem, + this.műveletekToolStripMenuItem, + this.eszközökToolStripMenuItem, + this.súgóToolStripMenuItem}); + this.menuStrip1.Location = new System.Drawing.Point(0, 0); + this.menuStrip1.Name = "menuStrip1"; + this.menuStrip1.RenderMode = System.Windows.Forms.ToolStripRenderMode.System; + this.menuStrip1.Size = new System.Drawing.Size(624, 24); + this.menuStrip1.TabIndex = 0; + this.menuStrip1.Text = "menuStrip1"; + // + // fájlToolStripMenuItem + // + this.fájlToolStripMenuItem.DropDownItems.AddRange(new System.Windows.Forms.ToolStripItem[] { + this.kijelentkezésToolStripMenuItem, + this.toolStripMenuItem1, + this.toolStripSeparator1, + this.állapotToolStripMenuItem, + this.toolStripSeparator2, + this.fájlKüldéseToolStripMenuItem, + this.beérkezettFájlokMappájánakMegnyitásaToolStripMenuItem, + this.üzenetekElőzményeinekMegtekintéseToolStripMenuItem, + this.toolStripSeparator3, + this.bezárásToolStripMenuItem, + this.toolStripSeparator4, + this.kilépésToolStripMenuItem}); + this.fájlToolStripMenuItem.Name = "fájlToolStripMenuItem"; + this.fájlToolStripMenuItem.Size = new System.Drawing.Size(37, 20); + this.fájlToolStripMenuItem.Text = "Fájl"; + // + // kijelentkezésToolStripMenuItem + // + this.kijelentkezésToolStripMenuItem.Name = "kijelentkezésToolStripMenuItem"; + this.kijelentkezésToolStripMenuItem.Size = new System.Drawing.Size(292, 22); + this.kijelentkezésToolStripMenuItem.Text = "Kijelentkezés"; + this.kijelentkezésToolStripMenuItem.Click += new System.EventHandler(this.LogoutUser); + // + // toolStripMenuItem1 + // + this.toolStripMenuItem1.Name = "toolStripMenuItem1"; + this.toolStripMenuItem1.Size = new System.Drawing.Size(292, 22); + this.toolStripMenuItem1.Text = "Újabb felhasználó bejelentkeztetése..."; + this.toolStripMenuItem1.Click += new System.EventHandler(this.LoginNewUser); + // + // toolStripSeparator1 + // + this.toolStripSeparator1.Name = "toolStripSeparator1"; + this.toolStripSeparator1.Size = new System.Drawing.Size(289, 6); + // + // állapotToolStripMenuItem + // + this.állapotToolStripMenuItem.DropDownItems.AddRange(new System.Windows.Forms.ToolStripItem[] { + this.elérhetőToolStripMenuItem, + this.elfoglaltToolStripMenuItem, + this.nincsAGépnélToolStripMenuItem, + this.rejtveKapcsolódikToolStripMenuItem}); + this.állapotToolStripMenuItem.Name = "állapotToolStripMenuItem"; + this.állapotToolStripMenuItem.Size = new System.Drawing.Size(292, 22); + this.állapotToolStripMenuItem.Text = "Állapot"; + // + // elérhetőToolStripMenuItem + // + this.elérhetőToolStripMenuItem.Name = "elérhetőToolStripMenuItem"; + this.elérhetőToolStripMenuItem.Size = new System.Drawing.Size(172, 22); + this.elérhetőToolStripMenuItem.Text = "Elérhető"; + this.elérhetőToolStripMenuItem.Click += new System.EventHandler(this.SetOnlineState); + // + // elfoglaltToolStripMenuItem + // + this.elfoglaltToolStripMenuItem.Name = "elfoglaltToolStripMenuItem"; + this.elfoglaltToolStripMenuItem.Size = new System.Drawing.Size(172, 22); + this.elfoglaltToolStripMenuItem.Text = "Elfoglalt"; + this.elfoglaltToolStripMenuItem.Click += new System.EventHandler(this.SetOnlineState); + // + // nincsAGépnélToolStripMenuItem + // + this.nincsAGépnélToolStripMenuItem.Name = "nincsAGépnélToolStripMenuItem"; + this.nincsAGépnélToolStripMenuItem.Size = new System.Drawing.Size(172, 22); + this.nincsAGépnélToolStripMenuItem.Text = "Nincs a gépnél"; + this.nincsAGépnélToolStripMenuItem.Click += new System.EventHandler(this.SetOnlineState); + // + // rejtveKapcsolódikToolStripMenuItem + // + this.rejtveKapcsolódikToolStripMenuItem.Name = "rejtveKapcsolódikToolStripMenuItem"; + this.rejtveKapcsolódikToolStripMenuItem.Size = new System.Drawing.Size(172, 22); + this.rejtveKapcsolódikToolStripMenuItem.Text = "Rejtve kapcsolódik"; + this.rejtveKapcsolódikToolStripMenuItem.Click += new System.EventHandler(this.SetOnlineState); + // + // toolStripSeparator2 + // + this.toolStripSeparator2.Name = "toolStripSeparator2"; + this.toolStripSeparator2.Size = new System.Drawing.Size(289, 6); + // + // fájlKüldéseToolStripMenuItem + // + this.fájlKüldéseToolStripMenuItem.Name = "fájlKüldéseToolStripMenuItem"; + this.fájlKüldéseToolStripMenuItem.Size = new System.Drawing.Size(292, 22); + this.fájlKüldéseToolStripMenuItem.Text = "Fájl küldése..."; + this.fájlKüldéseToolStripMenuItem.Click += new System.EventHandler(this.SelectPartner); + // + // beérkezettFájlokMappájánakMegnyitásaToolStripMenuItem + // + this.beérkezettFájlokMappájánakMegnyitásaToolStripMenuItem.Name = "beérkezettFájlokMappájánakMegnyitásaToolStripMenuItem"; + this.beérkezettFájlokMappájánakMegnyitásaToolStripMenuItem.Size = new System.Drawing.Size(292, 22); + this.beérkezettFájlokMappájánakMegnyitásaToolStripMenuItem.Text = "Beérkezett fájlok mappájának megnyitása"; + // + // üzenetekElőzményeinekMegtekintéseToolStripMenuItem + // + this.üzenetekElőzményeinekMegtekintéseToolStripMenuItem.Name = "üzenetekElőzményeinekMegtekintéseToolStripMenuItem"; + this.üzenetekElőzményeinekMegtekintéseToolStripMenuItem.Size = new System.Drawing.Size(292, 22); + this.üzenetekElőzményeinekMegtekintéseToolStripMenuItem.Text = "Üzenetek előzményeinek megtekintése..."; + // + // toolStripSeparator3 + // + this.toolStripSeparator3.Name = "toolStripSeparator3"; + this.toolStripSeparator3.Size = new System.Drawing.Size(289, 6); + // + // bezárásToolStripMenuItem + // + this.bezárásToolStripMenuItem.Name = "bezárásToolStripMenuItem"; + this.bezárásToolStripMenuItem.Size = new System.Drawing.Size(292, 22); + this.bezárásToolStripMenuItem.Text = "Bezárás"; + // + // toolStripSeparator4 + // + this.toolStripSeparator4.Name = "toolStripSeparator4"; + this.toolStripSeparator4.Size = new System.Drawing.Size(289, 6); + // + // kilépésToolStripMenuItem + // + this.kilépésToolStripMenuItem.Name = "kilépésToolStripMenuItem"; + this.kilépésToolStripMenuItem.Size = new System.Drawing.Size(292, 22); + this.kilépésToolStripMenuItem.Text = "Kilépés"; + // + // ismerősökToolStripMenuItem + // + this.ismerősökToolStripMenuItem.DropDownItems.AddRange(new System.Windows.Forms.ToolStripItem[] { + this.ismerősFelvételeToolStripMenuItem, + this.ismerősSzerkesztéseToolStripMenuItem, + this.ismerősTörléseToolStripMenuItem, + this.toolStripMenuItem3, + this.toolStripSeparator5, + this.csoportLétrehozásaToolStripMenuItem, + this.toolStripSeparator6, + this.kategóriaLétrehozásaToolStripMenuItem, + this.kategóriaSzerkesztéseToolStripMenuItem, + this.kategóriaTörléseToolStripMenuItem}); + this.ismerősökToolStripMenuItem.Name = "ismerősökToolStripMenuItem"; + this.ismerősökToolStripMenuItem.Size = new System.Drawing.Size(73, 20); + this.ismerősökToolStripMenuItem.Text = "Ismerősök"; + // + // ismerősFelvételeToolStripMenuItem + // + this.ismerősFelvételeToolStripMenuItem.Name = "ismerősFelvételeToolStripMenuItem"; + this.ismerősFelvételeToolStripMenuItem.Size = new System.Drawing.Size(199, 22); + this.ismerősFelvételeToolStripMenuItem.Text = "Ismerős felvétele..."; + // + // ismerősSzerkesztéseToolStripMenuItem + // + this.ismerősSzerkesztéseToolStripMenuItem.Name = "ismerősSzerkesztéseToolStripMenuItem"; + this.ismerősSzerkesztéseToolStripMenuItem.Size = new System.Drawing.Size(199, 22); + this.ismerősSzerkesztéseToolStripMenuItem.Text = "Ismerős szerkesztése..."; + // + // ismerősTörléseToolStripMenuItem + // + this.ismerősTörléseToolStripMenuItem.Name = "ismerősTörléseToolStripMenuItem"; + this.ismerősTörléseToolStripMenuItem.Size = new System.Drawing.Size(199, 22); + this.ismerősTörléseToolStripMenuItem.Text = "Ismerős törlése..."; + // + // toolStripSeparator5 + // + this.toolStripSeparator5.Name = "toolStripSeparator5"; + this.toolStripSeparator5.Size = new System.Drawing.Size(196, 6); + // + // csoportLétrehozásaToolStripMenuItem + // + this.csoportLétrehozásaToolStripMenuItem.Name = "csoportLétrehozásaToolStripMenuItem"; + this.csoportLétrehozásaToolStripMenuItem.Size = new System.Drawing.Size(199, 22); + this.csoportLétrehozásaToolStripMenuItem.Text = "Csoport létrehozása..."; + // + // toolStripSeparator6 + // + this.toolStripSeparator6.Name = "toolStripSeparator6"; + this.toolStripSeparator6.Size = new System.Drawing.Size(196, 6); + // + // kategóriaLétrehozásaToolStripMenuItem + // + this.kategóriaLétrehozásaToolStripMenuItem.Name = "kategóriaLétrehozásaToolStripMenuItem"; + this.kategóriaLétrehozásaToolStripMenuItem.Size = new System.Drawing.Size(199, 22); + this.kategóriaLétrehozásaToolStripMenuItem.Text = "Kategória létrehozása..."; + // + // kategóriaSzerkesztéseToolStripMenuItem + // + this.kategóriaSzerkesztéseToolStripMenuItem.Name = "kategóriaSzerkesztéseToolStripMenuItem"; + this.kategóriaSzerkesztéseToolStripMenuItem.Size = new System.Drawing.Size(199, 22); + this.kategóriaSzerkesztéseToolStripMenuItem.Text = "Kategória szerkesztése..."; + // + // kategóriaTörléseToolStripMenuItem + // + this.kategóriaTörléseToolStripMenuItem.Name = "kategóriaTörléseToolStripMenuItem"; + this.kategóriaTörléseToolStripMenuItem.Size = new System.Drawing.Size(199, 22); + this.kategóriaTörléseToolStripMenuItem.Text = "Kategória törlése..."; + // + // műveletekToolStripMenuItem + // + this.műveletekToolStripMenuItem.DropDownItems.AddRange(new System.Windows.Forms.ToolStripItem[] { + this.azonnaliÜzenetKüldéseToolStripMenuItem, + this.egyébKüldéseToolStripMenuItem, + this.toolStripSeparator7, + this.ismerősSzámitógépénekFelhivásaToolStripMenuItem, + this.videóhivásInditásaToolStripMenuItem, + this.onlineFájlokMegtekintéseToolStripMenuItem, + this.közösJátékToolStripMenuItem, + this.távsegitségKéréseToolStripMenuItem}); + this.műveletekToolStripMenuItem.Name = "műveletekToolStripMenuItem"; + this.műveletekToolStripMenuItem.Size = new System.Drawing.Size(74, 20); + this.műveletekToolStripMenuItem.Text = "Műveletek"; + // + // azonnaliÜzenetKüldéseToolStripMenuItem + // + this.azonnaliÜzenetKüldéseToolStripMenuItem.Name = "azonnaliÜzenetKüldéseToolStripMenuItem"; + this.azonnaliÜzenetKüldéseToolStripMenuItem.Size = new System.Drawing.Size(253, 22); + this.azonnaliÜzenetKüldéseToolStripMenuItem.Text = "Azonnali üzenet küldése..."; + this.azonnaliÜzenetKüldéseToolStripMenuItem.Click += new System.EventHandler(this.SelectPartner); + // + // egyébKüldéseToolStripMenuItem + // + this.egyébKüldéseToolStripMenuItem.DropDownItems.AddRange(new System.Windows.Forms.ToolStripItem[] { + this.emailKüldéseToolStripMenuItem, + this.fájlKüldéseToolStripMenuItem1}); + this.egyébKüldéseToolStripMenuItem.Name = "egyébKüldéseToolStripMenuItem"; + this.egyébKüldéseToolStripMenuItem.Size = new System.Drawing.Size(253, 22); + this.egyébKüldéseToolStripMenuItem.Text = "Egyéb küldése"; + // + // emailKüldéseToolStripMenuItem + // + this.emailKüldéseToolStripMenuItem.Name = "emailKüldéseToolStripMenuItem"; + this.emailKüldéseToolStripMenuItem.Size = new System.Drawing.Size(160, 22); + this.emailKüldéseToolStripMenuItem.Text = "E-mail küldése..."; + // + // fájlKüldéseToolStripMenuItem1 + // + this.fájlKüldéseToolStripMenuItem1.Name = "fájlKüldéseToolStripMenuItem1"; + this.fájlKüldéseToolStripMenuItem1.Size = new System.Drawing.Size(160, 22); + this.fájlKüldéseToolStripMenuItem1.Text = "Fájl küldése..."; + // + // toolStripSeparator7 + // + this.toolStripSeparator7.Name = "toolStripSeparator7"; + this.toolStripSeparator7.Size = new System.Drawing.Size(250, 6); + // + // ismerősSzámitógépénekFelhivásaToolStripMenuItem + // + this.ismerősSzámitógépénekFelhivásaToolStripMenuItem.Name = "ismerősSzámitógépénekFelhivásaToolStripMenuItem"; + this.ismerősSzámitógépénekFelhivásaToolStripMenuItem.Size = new System.Drawing.Size(253, 22); + this.ismerősSzámitógépénekFelhivásaToolStripMenuItem.Text = "Ismerős számitógépének felhivása"; + // + // videóhivásInditásaToolStripMenuItem + // + this.videóhivásInditásaToolStripMenuItem.Name = "videóhivásInditásaToolStripMenuItem"; + this.videóhivásInditásaToolStripMenuItem.Size = new System.Drawing.Size(253, 22); + this.videóhivásInditásaToolStripMenuItem.Text = "Videóhivás inditása..."; + // + // onlineFájlokMegtekintéseToolStripMenuItem + // + this.onlineFájlokMegtekintéseToolStripMenuItem.Name = "onlineFájlokMegtekintéseToolStripMenuItem"; + this.onlineFájlokMegtekintéseToolStripMenuItem.Size = new System.Drawing.Size(253, 22); + this.onlineFájlokMegtekintéseToolStripMenuItem.Text = "Online fájlok megtekintése"; + // + // közösJátékToolStripMenuItem + // + this.közösJátékToolStripMenuItem.Name = "közösJátékToolStripMenuItem"; + this.közösJátékToolStripMenuItem.Size = new System.Drawing.Size(253, 22); + this.közösJátékToolStripMenuItem.Text = "Közös játék..."; + // + // távsegitségKéréseToolStripMenuItem + // + this.távsegitségKéréseToolStripMenuItem.Name = "távsegitségKéréseToolStripMenuItem"; + this.távsegitségKéréseToolStripMenuItem.Size = new System.Drawing.Size(253, 22); + this.távsegitségKéréseToolStripMenuItem.Text = "Távsegitség kérése..."; + // + // eszközökToolStripMenuItem + // + this.eszközökToolStripMenuItem.DropDownItems.AddRange(new System.Windows.Forms.ToolStripItem[] { + this.mindigLegfelülToolStripMenuItem, + this.toolStripSeparator8, + this.hangulatjelekToolStripMenuItem, + this.megjelenitendőKépVáltásaToolStripMenuItem, + this.háttérMódositásaToolStripMenuItem, + this.toolStripSeparator9, + this.hangokÉsVideóBeállitásaToolStripMenuItem, + this.toolStripSeparator10, + this.beállitásokToolStripMenuItem}); + this.eszközökToolStripMenuItem.Name = "eszközökToolStripMenuItem"; + this.eszközökToolStripMenuItem.Size = new System.Drawing.Size(66, 20); + this.eszközökToolStripMenuItem.Text = "Eszközök"; + // + // mindigLegfelülToolStripMenuItem + // + this.mindigLegfelülToolStripMenuItem.CheckOnClick = true; + this.mindigLegfelülToolStripMenuItem.Name = "mindigLegfelülToolStripMenuItem"; + this.mindigLegfelülToolStripMenuItem.Size = new System.Drawing.Size(227, 22); + this.mindigLegfelülToolStripMenuItem.Text = "Mindig legfelül"; + // + // toolStripSeparator8 + // + this.toolStripSeparator8.Name = "toolStripSeparator8"; + this.toolStripSeparator8.Size = new System.Drawing.Size(224, 6); + // + // hangulatjelekToolStripMenuItem + // + this.hangulatjelekToolStripMenuItem.Name = "hangulatjelekToolStripMenuItem"; + this.hangulatjelekToolStripMenuItem.Size = new System.Drawing.Size(227, 22); + this.hangulatjelekToolStripMenuItem.Text = "Hangulatjelek..."; + // + // megjelenitendőKépVáltásaToolStripMenuItem + // + this.megjelenitendőKépVáltásaToolStripMenuItem.Name = "megjelenitendőKépVáltásaToolStripMenuItem"; + this.megjelenitendőKépVáltásaToolStripMenuItem.Size = new System.Drawing.Size(227, 22); + this.megjelenitendőKépVáltásaToolStripMenuItem.Text = "Megjelenitendő kép váltása..."; + // + // háttérMódositásaToolStripMenuItem + // + this.háttérMódositásaToolStripMenuItem.Name = "háttérMódositásaToolStripMenuItem"; + this.háttérMódositásaToolStripMenuItem.Size = new System.Drawing.Size(227, 22); + this.háttérMódositásaToolStripMenuItem.Text = "Háttér módositása..."; + // + // toolStripSeparator9 + // + this.toolStripSeparator9.Name = "toolStripSeparator9"; + this.toolStripSeparator9.Size = new System.Drawing.Size(224, 6); + // + // hangokÉsVideóBeállitásaToolStripMenuItem + // + this.hangokÉsVideóBeállitásaToolStripMenuItem.Name = "hangokÉsVideóBeállitásaToolStripMenuItem"; + this.hangokÉsVideóBeállitásaToolStripMenuItem.Size = new System.Drawing.Size(227, 22); + this.hangokÉsVideóBeállitásaToolStripMenuItem.Text = "Hangok és videó beállitása..."; + // + // toolStripSeparator10 + // + this.toolStripSeparator10.Name = "toolStripSeparator10"; + this.toolStripSeparator10.Size = new System.Drawing.Size(224, 6); + // + // beállitásokToolStripMenuItem + // + this.beállitásokToolStripMenuItem.Name = "beállitásokToolStripMenuItem"; + this.beállitásokToolStripMenuItem.Size = new System.Drawing.Size(227, 22); + this.beállitásokToolStripMenuItem.Text = "Beállitások..."; + // + // súgóToolStripMenuItem + // + this.súgóToolStripMenuItem.DropDownItems.AddRange(new System.Windows.Forms.ToolStripItem[] { + this.témakörökToolStripMenuItem, + this.toolStripSeparator11, + this.aSzolgáltatásÁllapotsaToolStripMenuItem, + this.adatvédelmiNyilatkozatToolStripMenuItem, + this.használatiFeltételekToolStripMenuItem, + this.visszaélésBejelentéseToolStripMenuItem, + this.toolStripSeparator12, + this.segitsenAProgramTökéletesitésébenToolStripMenuItem, + this.toolStripSeparator13, + this.névjegyToolStripMenuItem}); + this.súgóToolStripMenuItem.Name = "súgóToolStripMenuItem"; + this.súgóToolStripMenuItem.Size = new System.Drawing.Size(46, 20); + this.súgóToolStripMenuItem.Text = "Súgó"; + // + // témakörökToolStripMenuItem + // + this.témakörökToolStripMenuItem.Name = "témakörökToolStripMenuItem"; + this.témakörökToolStripMenuItem.Size = new System.Drawing.Size(270, 22); + this.témakörökToolStripMenuItem.Text = "Témakörök"; + // + // toolStripSeparator11 + // + this.toolStripSeparator11.Name = "toolStripSeparator11"; + this.toolStripSeparator11.Size = new System.Drawing.Size(267, 6); + // + // aSzolgáltatásÁllapotsaToolStripMenuItem + // + this.aSzolgáltatásÁllapotsaToolStripMenuItem.Name = "aSzolgáltatásÁllapotsaToolStripMenuItem"; + this.aSzolgáltatásÁllapotsaToolStripMenuItem.Size = new System.Drawing.Size(270, 22); + this.aSzolgáltatásÁllapotsaToolStripMenuItem.Text = "A szolgáltatás állapota"; + // + // adatvédelmiNyilatkozatToolStripMenuItem + // + this.adatvédelmiNyilatkozatToolStripMenuItem.Name = "adatvédelmiNyilatkozatToolStripMenuItem"; + this.adatvédelmiNyilatkozatToolStripMenuItem.Size = new System.Drawing.Size(270, 22); + this.adatvédelmiNyilatkozatToolStripMenuItem.Text = "Adatvédelmi nyilatkozat"; + // + // használatiFeltételekToolStripMenuItem + // + this.használatiFeltételekToolStripMenuItem.Name = "használatiFeltételekToolStripMenuItem"; + this.használatiFeltételekToolStripMenuItem.Size = new System.Drawing.Size(270, 22); + this.használatiFeltételekToolStripMenuItem.Text = "Használati feltételek"; + // + // visszaélésBejelentéseToolStripMenuItem + // + this.visszaélésBejelentéseToolStripMenuItem.Name = "visszaélésBejelentéseToolStripMenuItem"; + this.visszaélésBejelentéseToolStripMenuItem.Size = new System.Drawing.Size(270, 22); + this.visszaélésBejelentéseToolStripMenuItem.Text = "Visszaélés bejelentése"; + // + // toolStripSeparator12 + // + this.toolStripSeparator12.Name = "toolStripSeparator12"; + this.toolStripSeparator12.Size = new System.Drawing.Size(267, 6); + // + // segitsenAProgramTökéletesitésébenToolStripMenuItem + // + this.segitsenAProgramTökéletesitésébenToolStripMenuItem.Name = "segitsenAProgramTökéletesitésébenToolStripMenuItem"; + this.segitsenAProgramTökéletesitésébenToolStripMenuItem.Size = new System.Drawing.Size(270, 22); + this.segitsenAProgramTökéletesitésébenToolStripMenuItem.Text = "Segitsen a program tökéletesitésében"; + // + // toolStripSeparator13 + // + this.toolStripSeparator13.Name = "toolStripSeparator13"; + this.toolStripSeparator13.Size = new System.Drawing.Size(267, 6); + // + // névjegyToolStripMenuItem + // + this.névjegyToolStripMenuItem.Name = "névjegyToolStripMenuItem"; + this.névjegyToolStripMenuItem.Size = new System.Drawing.Size(270, 22); + this.névjegyToolStripMenuItem.Text = "Névjegy"; + // + // contactList + // + this.contactList.AllowColumnResize = false; + this.contactList.AllowMultiselect = false; + this.contactList.AlternateBackground = System.Drawing.Color.DarkGreen; + this.contactList.AlternatingColors = false; + this.contactList.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.contactList.AutoHeight = false; + this.contactList.BackColor = System.Drawing.Color.LightSkyBlue; + this.contactList.BackgroundStretchToFit = true; + glColumn1.ActivatedEmbeddedType = GlacialComponents.Controls.GLActivatedEmbeddedTypes.None; + glColumn1.CheckBoxes = false; + glColumn1.ImageIndex = -1; + glColumn1.Name = "Image"; + glColumn1.NumericSort = false; + glColumn1.Text = ""; + glColumn1.TextAlignment = System.Drawing.ContentAlignment.MiddleLeft; + glColumn1.Width = 100; + glColumn2.ActivatedEmbeddedType = GlacialComponents.Controls.GLActivatedEmbeddedTypes.None; + glColumn2.CheckBoxes = false; + glColumn2.ImageIndex = -1; + glColumn2.Name = "Name"; + glColumn2.NumericSort = false; + glColumn2.Text = ""; + glColumn2.TextAlignment = System.Drawing.ContentAlignment.MiddleLeft; + glColumn2.Width = 400; + this.contactList.Columns.AddRange(new GlacialComponents.Controls.GLColumn[] { + glColumn1, + glColumn2}); + this.contactList.ControlStyle = GlacialComponents.Controls.GLControlStyles.Normal; + this.contactList.ForeColor = System.Drawing.Color.Black; + this.contactList.FullRowSelect = true; + this.contactList.GridColor = System.Drawing.Color.LightGray; + this.contactList.GridLines = GlacialComponents.Controls.GLGridLines.gridHorizontal; + this.contactList.GridLineStyle = GlacialComponents.Controls.GLGridLineStyles.gridNone; + this.contactList.GridTypes = GlacialComponents.Controls.GLGridTypes.gridOnExists; + this.contactList.HeaderHeight = 0; + this.contactList.HeaderVisible = false; + this.contactList.HeaderWordWrap = false; + this.contactList.HotColumnTracking = false; + this.contactList.HotItemTracking = true; + this.contactList.HotTrackingColor = System.Drawing.Color.LightGray; + this.contactList.HoverEvents = false; + this.contactList.HoverTime = 1; + this.contactList.ImageList = null; + this.contactList.ItemHeight = 60; + glItem1.BackColor = System.Drawing.Color.White; + glItem1.ForeColor = System.Drawing.Color.Black; + glItem1.RowBorderColor = System.Drawing.Color.Black; + glItem1.RowBorderSize = 0; + glSubItem1.BackColor = System.Drawing.Color.Empty; + glSubItem1.Checked = false; + glSubItem1.ForceText = false; + glSubItem1.ForeColor = System.Drawing.Color.Black; + glSubItem1.ImageAlignment = System.Windows.Forms.HorizontalAlignment.Left; + glSubItem1.ImageIndex = -1; + glSubItem1.Text = "Betöltés..."; + glSubItem2.BackColor = System.Drawing.Color.Empty; + glSubItem2.Checked = false; + glSubItem2.ForceText = false; + glSubItem2.ForeColor = System.Drawing.Color.Black; + glSubItem2.ImageAlignment = System.Windows.Forms.HorizontalAlignment.Left; + glSubItem2.ImageIndex = -1; + glSubItem2.Text = ""; + glItem1.SubItems.AddRange(new GlacialComponents.Controls.GLSubItem[] { + glSubItem1, + glSubItem2}); + glItem1.Text = "Betöltés..."; + this.contactList.Items.AddRange(new GlacialComponents.Controls.GLItem[] { + glItem1}); + this.contactList.ItemWordWrap = true; + this.contactList.Location = new System.Drawing.Point(0, 133); + this.contactList.Name = "contactList"; + this.contactList.Selectable = true; + this.contactList.SelectedTextColor = System.Drawing.Color.White; + this.contactList.SelectionColor = System.Drawing.Color.DarkBlue; + this.contactList.ShowBorder = false; + this.contactList.ShowFocusRect = false; + this.contactList.Size = new System.Drawing.Size(624, 312); + this.contactList.SortType = GlacialComponents.Controls.SortTypes.InsertionSort; + this.contactList.SuperFlatHeaderColor = System.Drawing.Color.White; + this.contactList.TabIndex = 6; + this.contactList.Text = "contactList"; + this.contactList.DoubleClick += new System.EventHandler(this.OpenSendMessage); + this.contactList.MouseClick += new System.Windows.Forms.MouseEventHandler(this.ContactItemRightClick); + // + // partnerImages + // + this.partnerImages.ColorDepth = System.Windows.Forms.ColorDepth.Depth8Bit; + this.partnerImages.ImageSize = new System.Drawing.Size(16, 16); + this.partnerImages.TransparentColor = System.Drawing.Color.Transparent; + // + // partnerMenu + // + this.partnerMenu.Items.AddRange(new System.Windows.Forms.ToolStripItem[] { + this.üzenetküldésToolStripMenuItem, + this.emailKüldéseemailToolStripMenuItem, + this.toolStripMenuItem2, + this.információToolStripMenuItem, + this.toolStripSeparator14, + this.ismerősLetiltásaToolStripMenuItem, + this.ismerősTörléseToolStripMenuItem1, + this.toolStripSeparator15, + this.becenévSzerkesztéseToolStripMenuItem, + this.toolStripSeparator16, + this.eseményértesitésekToolStripMenuItem, + this.toolStripSeparator17, + this.beszélgetésnaplóMegnyitásaToolStripMenuItem}); + this.partnerMenu.Name = "partnerMenu"; + this.partnerMenu.RenderMode = System.Windows.Forms.ToolStripRenderMode.System; + this.partnerMenu.Size = new System.Drawing.Size(238, 226); + // + // üzenetküldésToolStripMenuItem + // + this.üzenetküldésToolStripMenuItem.Name = "üzenetküldésToolStripMenuItem"; + this.üzenetküldésToolStripMenuItem.Size = new System.Drawing.Size(237, 22); + this.üzenetküldésToolStripMenuItem.Text = "Üzenetküldés"; + this.üzenetküldésToolStripMenuItem.Click += new System.EventHandler(this.OpenSendMessage); + // + // emailKüldéseemailToolStripMenuItem + // + this.emailKüldéseemailToolStripMenuItem.Name = "emailKüldéseemailToolStripMenuItem"; + this.emailKüldéseemailToolStripMenuItem.Size = new System.Drawing.Size(237, 22); + this.emailKüldéseemailToolStripMenuItem.Text = "E-mail küldése (email)"; + // + // toolStripMenuItem2 + // + this.toolStripMenuItem2.Name = "toolStripMenuItem2"; + this.toolStripMenuItem2.Size = new System.Drawing.Size(237, 22); + this.toolStripMenuItem2.Text = "E-mail másolása"; + // + // információToolStripMenuItem + // + this.információToolStripMenuItem.Name = "információToolStripMenuItem"; + this.információToolStripMenuItem.Size = new System.Drawing.Size(237, 22); + this.információToolStripMenuItem.Text = "Információ"; + // + // toolStripSeparator14 + // + this.toolStripSeparator14.Name = "toolStripSeparator14"; + this.toolStripSeparator14.Size = new System.Drawing.Size(234, 6); + // + // ismerősLetiltásaToolStripMenuItem + // + this.ismerősLetiltásaToolStripMenuItem.Name = "ismerősLetiltásaToolStripMenuItem"; + this.ismerősLetiltásaToolStripMenuItem.Size = new System.Drawing.Size(237, 22); + this.ismerősLetiltásaToolStripMenuItem.Text = "Ismerős letiltása"; + // + // ismerősTörléseToolStripMenuItem1 + // + this.ismerősTörléseToolStripMenuItem1.Name = "ismerősTörléseToolStripMenuItem1"; + this.ismerősTörléseToolStripMenuItem1.Size = new System.Drawing.Size(237, 22); + this.ismerősTörléseToolStripMenuItem1.Text = "Ismerős törlése"; + // + // toolStripSeparator15 + // + this.toolStripSeparator15.Name = "toolStripSeparator15"; + this.toolStripSeparator15.Size = new System.Drawing.Size(234, 6); + // + // becenévSzerkesztéseToolStripMenuItem + // + this.becenévSzerkesztéseToolStripMenuItem.Name = "becenévSzerkesztéseToolStripMenuItem"; + this.becenévSzerkesztéseToolStripMenuItem.Size = new System.Drawing.Size(237, 22); + this.becenévSzerkesztéseToolStripMenuItem.Text = "Becenév szerkesztése"; + // + // toolStripSeparator16 + // + this.toolStripSeparator16.Name = "toolStripSeparator16"; + this.toolStripSeparator16.Size = new System.Drawing.Size(234, 6); + // + // eseményértesitésekToolStripMenuItem + // + this.eseményértesitésekToolStripMenuItem.Name = "eseményértesitésekToolStripMenuItem"; + this.eseményértesitésekToolStripMenuItem.Size = new System.Drawing.Size(237, 22); + this.eseményértesitésekToolStripMenuItem.Text = "Eseményértesitések"; + // + // toolStripSeparator17 + // + this.toolStripSeparator17.Name = "toolStripSeparator17"; + this.toolStripSeparator17.Size = new System.Drawing.Size(234, 6); + // + // beszélgetésnaplóMegnyitásaToolStripMenuItem + // + this.beszélgetésnaplóMegnyitásaToolStripMenuItem.Name = "beszélgetésnaplóMegnyitásaToolStripMenuItem"; + this.beszélgetésnaplóMegnyitásaToolStripMenuItem.Size = new System.Drawing.Size(237, 22); + this.beszélgetésnaplóMegnyitásaToolStripMenuItem.Text = "Beszélgetésnapló megnyitása..."; + // + // toolStripMenuItem3 + // + this.toolStripMenuItem3.Name = "toolStripMenuItem3"; + this.toolStripMenuItem3.Size = new System.Drawing.Size(199, 22); + this.toolStripMenuItem3.Text = "Ismerős meghivása..."; + this.toolStripMenuItem3.Click += new System.EventHandler(this.InvitePartner); + // + // MainForm + // + this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F); + this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; + this.BackColor = System.Drawing.Color.LightSkyBlue; + this.ClientSize = new System.Drawing.Size(624, 442); + this.Controls.Add(this.contactList); + this.Controls.Add(this.panel2); + this.Controls.Add(this.button1); + this.Controls.Add(this.panel1); + this.Controls.Add(this.menuStrip1); + this.MainMenuStrip = this.menuStrip1; + this.Name = "MainForm"; + this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen; + this.Text = "Live Messenger Plus - MSGer.tk"; + this.Load += new System.EventHandler(this.OnMainFormLoad); + this.panel2.ResumeLayout(false); + this.panel2.PerformLayout(); + this.menuStrip1.ResumeLayout(false); + this.menuStrip1.PerformLayout(); + this.partnerMenu.ResumeLayout(false); + this.ResumeLayout(false); + this.PerformLayout(); + + } + + #endregion + + private System.Windows.Forms.NotifyIcon notifyIcon1; + private System.Windows.Forms.MenuStrip menuStrip1; + private System.Windows.Forms.ToolStripMenuItem fájlToolStripMenuItem; + private System.Windows.Forms.ToolStripMenuItem kijelentkezésToolStripMenuItem; + private System.Windows.Forms.ToolStripSeparator toolStripSeparator1; + private System.Windows.Forms.ToolStripMenuItem állapotToolStripMenuItem; + private System.Windows.Forms.ToolStripMenuItem elérhetőToolStripMenuItem; + private System.Windows.Forms.ToolStripMenuItem elfoglaltToolStripMenuItem; + private System.Windows.Forms.ToolStripMenuItem nincsAGépnélToolStripMenuItem; + private System.Windows.Forms.ToolStripMenuItem rejtveKapcsolódikToolStripMenuItem; + private System.Windows.Forms.ToolStripSeparator toolStripSeparator2; + private System.Windows.Forms.ToolStripMenuItem fájlKüldéseToolStripMenuItem; + private System.Windows.Forms.ToolStripMenuItem beérkezettFájlokMappájánakMegnyitásaToolStripMenuItem; + private System.Windows.Forms.ToolStripMenuItem üzenetekElőzményeinekMegtekintéseToolStripMenuItem; + private System.Windows.Forms.ToolStripSeparator toolStripSeparator3; + private System.Windows.Forms.ToolStripMenuItem bezárásToolStripMenuItem; + private System.Windows.Forms.ToolStripSeparator toolStripSeparator4; + private System.Windows.Forms.ToolStripMenuItem kilépésToolStripMenuItem; + private System.Windows.Forms.ToolStripMenuItem ismerősökToolStripMenuItem; + private System.Windows.Forms.ToolStripMenuItem ismerősFelvételeToolStripMenuItem; + private System.Windows.Forms.ToolStripMenuItem ismerősSzerkesztéseToolStripMenuItem; + private System.Windows.Forms.ToolStripMenuItem ismerősTörléseToolStripMenuItem; + private System.Windows.Forms.ToolStripSeparator toolStripSeparator5; + private System.Windows.Forms.ToolStripMenuItem csoportLétrehozásaToolStripMenuItem; + private System.Windows.Forms.ToolStripSeparator toolStripSeparator6; + private System.Windows.Forms.ToolStripMenuItem kategóriaLétrehozásaToolStripMenuItem; + private System.Windows.Forms.ToolStripMenuItem kategóriaSzerkesztéseToolStripMenuItem; + private System.Windows.Forms.ToolStripMenuItem kategóriaTörléseToolStripMenuItem; + private System.Windows.Forms.ToolStripMenuItem műveletekToolStripMenuItem; + private System.Windows.Forms.ToolStripMenuItem azonnaliÜzenetKüldéseToolStripMenuItem; + private System.Windows.Forms.ToolStripMenuItem egyébKüldéseToolStripMenuItem; + private System.Windows.Forms.ToolStripMenuItem emailKüldéseToolStripMenuItem; + private System.Windows.Forms.ToolStripMenuItem fájlKüldéseToolStripMenuItem1; + private System.Windows.Forms.ToolStripSeparator toolStripSeparator7; + private System.Windows.Forms.ToolStripMenuItem ismerősSzámitógépénekFelhivásaToolStripMenuItem; + private System.Windows.Forms.ToolStripMenuItem videóhivásInditásaToolStripMenuItem; + private System.Windows.Forms.ToolStripMenuItem onlineFájlokMegtekintéseToolStripMenuItem; + private System.Windows.Forms.ToolStripMenuItem közösJátékToolStripMenuItem; + private System.Windows.Forms.ToolStripMenuItem távsegitségKéréseToolStripMenuItem; + private System.Windows.Forms.ToolStripMenuItem eszközökToolStripMenuItem; + private System.Windows.Forms.ToolStripMenuItem mindigLegfelülToolStripMenuItem; + private System.Windows.Forms.ToolStripSeparator toolStripSeparator8; + private System.Windows.Forms.ToolStripMenuItem hangulatjelekToolStripMenuItem; + private System.Windows.Forms.ToolStripMenuItem megjelenitendőKépVáltásaToolStripMenuItem; + private System.Windows.Forms.ToolStripMenuItem háttérMódositásaToolStripMenuItem; + private System.Windows.Forms.ToolStripSeparator toolStripSeparator9; + private System.Windows.Forms.ToolStripMenuItem hangokÉsVideóBeállitásaToolStripMenuItem; + private System.Windows.Forms.ToolStripSeparator toolStripSeparator10; + private System.Windows.Forms.ToolStripMenuItem beállitásokToolStripMenuItem; + private System.Windows.Forms.ToolStripMenuItem súgóToolStripMenuItem; + private System.Windows.Forms.ToolStripMenuItem témakörökToolStripMenuItem; + private System.Windows.Forms.ToolStripSeparator toolStripSeparator11; + private System.Windows.Forms.ToolStripMenuItem aSzolgáltatásÁllapotsaToolStripMenuItem; + private System.Windows.Forms.ToolStripMenuItem adatvédelmiNyilatkozatToolStripMenuItem; + private System.Windows.Forms.ToolStripMenuItem használatiFeltételekToolStripMenuItem; + private System.Windows.Forms.ToolStripMenuItem visszaélésBejelentéseToolStripMenuItem; + private System.Windows.Forms.ToolStripSeparator toolStripSeparator12; + private System.Windows.Forms.ToolStripMenuItem segitsenAProgramTökéletesitésébenToolStripMenuItem; + private System.Windows.Forms.ToolStripSeparator toolStripSeparator13; + private System.Windows.Forms.ToolStripMenuItem névjegyToolStripMenuItem; + private System.Windows.Forms.TextBox textBox1; + private System.Windows.Forms.Button button1; + private System.Windows.Forms.Panel panel2; + private System.Windows.Forms.ToolStripMenuItem toolStripMenuItem1; + private System.Windows.Forms.Panel panel1; + private System.Windows.Forms.ImageList partnerImages; + private GlacialComponents.Controls.GlacialList contactList; + private System.Windows.Forms.ContextMenuStrip partnerMenu; + private System.Windows.Forms.ToolStripMenuItem üzenetküldésToolStripMenuItem; + private System.Windows.Forms.ToolStripMenuItem emailKüldéseemailToolStripMenuItem; + private System.Windows.Forms.ToolStripMenuItem toolStripMenuItem2; + private System.Windows.Forms.ToolStripMenuItem információToolStripMenuItem; + private System.Windows.Forms.ToolStripSeparator toolStripSeparator14; + private System.Windows.Forms.ToolStripMenuItem ismerősLetiltásaToolStripMenuItem; + private System.Windows.Forms.ToolStripMenuItem ismerősTörléseToolStripMenuItem1; + private System.Windows.Forms.ToolStripSeparator toolStripSeparator15; + private System.Windows.Forms.ToolStripMenuItem becenévSzerkesztéseToolStripMenuItem; + private System.Windows.Forms.ToolStripSeparator toolStripSeparator16; + private System.Windows.Forms.ToolStripMenuItem eseményértesitésekToolStripMenuItem; + private System.Windows.Forms.ToolStripSeparator toolStripSeparator17; + private System.Windows.Forms.ToolStripMenuItem beszélgetésnaplóMegnyitásaToolStripMenuItem; + private System.Windows.Forms.ToolStripMenuItem toolStripMenuItem3; + } +} + diff --git a/Most Closed Beta/v6.0/MSGer.tk (C#)/MainForm.cs b/Most Closed Beta/v6.0/MSGer.tk (C#)/MainForm.cs new file mode 100644 index 0000000..2705c4e --- /dev/null +++ b/Most Closed Beta/v6.0/MSGer.tk (C#)/MainForm.cs @@ -0,0 +1,287 @@ +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; +using System.Net; +using System.IO; +using GlacialComponents.Controls; +using Khendys.Controls; +using System.Threading; + +namespace MSGer.tk +{ + public partial class MainForm : Form + { + public static LoginForm LoginDialog; + public static Thread LThread; + public static Thread MainThread = null; + public static bool PartnerListThreadActive = true; + //public static object SelectPartnerSender = null; + public static ToolStripMenuItem SelectPartnerSender = null; + public MainForm() + { + InitializeComponent(); + //Settings.Default.Reload(); + //CurrentUser.InitVars(); + contactList.Columns[0].Width = contactList.ItemHeight; //2014.02.28. + this.Hide(); + try + { + LoginDialog = new LoginForm(); + LoginDialog.ShowDialog(); + //NullReferenceException a = null; + //throw a; + } + catch (Exception e) + { + ErrorHandling.FormError(LoginDialog, e); + } + //Nézzük, sikerült-e + if (CurrentUser.UserID != 0) + { + //this.Show(); + contactList.Enabled = false; //2014.03.05. + //contactList.Items.Add("Betöltés..."); //2014.03.05. + MainThread = Thread.CurrentThread; + + // Create the thread object, passing in the Alpha.Beta method + // via a ThreadStart delegate. This does not start the thread. + LThread = new Thread(new ThreadStart(UpdatePartnerList)); + LThread.Name = "Update Partner List"; + + // Start the thread + LThread.Start(); + } + } + + private void LogoutUser(object sender, EventArgs e) + { + this.Hide(); + // + UserInfo.Partners = new UserInfo[1024]; //Újabb tömböt rendel hozzá, ezért a régi jó esetben törlésre kerül - 2014.03.11. + //Type lol = sender.GetType(); + //MessageBox.Show("Just some stuff:\n" + lol.ToString()); + //lol = lol.GetType(); + //MessageBox.Show("Just some stuff:\n" + lol.ToString()); //System.RuntimeType + // + CurrentUser.UserID = 0; + LoginForm.LButtonText = "Bejelentkezés"; + LoginForm.PassText = ""; + this.Invoke(new LoginForm.MyDelegate(LoginDialog.SetLoginValues)); + PartnerListThreadActive = false; + LoginDialog.ShowDialog(); + //Nézzük, sikerült-e + if (CurrentUser.UserID == 0) + Close(); + contactList.Items.Clear(); //2014.03.05. + contactList.Enabled = false; //2014.03.05. + contactList.Items.Add("Betöltés..."); //2014.03.05. + this.Show(); + PartnerListThreadActive = true; //2014.02.28. - Törli, majd újra létrehozza a listafrissitő thread-et, ha újra bejelentkezett + // Create the thread object, passing in the Alpha.Beta method + // via a ThreadStart delegate. This does not start the thread. + LThread = new Thread(new ThreadStart(UpdatePartnerList)); + LThread.Name = "Update Partner List"; + + // Start the thread + LThread.Start(); + } + + private void LoginNewUser(object sender, EventArgs e) + { + System.Diagnostics.Process.Start("MSGer.tk.exe"); + } + + private void SetOnlineState(object sender, EventArgs e) + { + int state = 0; + if (sender == elérhetőToolStripMenuItem) + state = 1; + if (sender == elfoglaltToolStripMenuItem) + state = 2; + if (sender == nincsAGépnélToolStripMenuItem) + state = 3; + if (sender == rejtveKapcsolódikToolStripMenuItem) + state = 4; + //HTTP + if (Networking.SendRequest("setstate", state + "", 2, true) != "Success") + MessageBox.Show("Hiba történt az állapot beállitása során."); + } + + private void SelectPartner(object sender, EventArgs e) + { + SelectPartnerSender = (ToolStripMenuItem)sender; + DialogResult dr = new DialogResult(); + dr = (new SelectPartnerForm()).ShowDialog(); + if (dr == DialogResult.OK) + { + if (SelectPartnerSender == fájlKüldéseToolStripMenuItem) + { + ; + } + if (SelectPartnerSender == azonnaliÜzenetKüldéseToolStripMenuItem) + { + ; + } + } + /*else if (dr == DialogResult.Cancel) + ;*/ + } + public int UpdateContactList() //2014.03.01. + { + //contactList.Update(); //2014.03.01. + //contactList.Invalidate(true); //2014.03.01. + contactList.Refresh(); + contactList.Enabled = true; //2014.03.05. - A thread első futásához kell + return 0; + } + public delegate int MyDelegate(); + public void UpdatePartnerList() + { + while (PartnerListThreadActive && MainThread.IsAlive) + { + string[] row = Networking.SendRequest("getlist", "", 3, true).Split('ͦ'); //Lekéri a listát, és különválogatja egyben - 2014.02.28. + //contactList.Items.Clear(); + GLItem[] listViewItem=new GLItem[1024]; + int i = 0; + int[] tmp; + if (Settings.Default.picupdatetime.Length == 0) + tmp = new int[1024]; + else + tmp = Settings.Default.picupdatetime.Split(',').Select(s => Int32.Parse(s)).ToArray(); + UserInfo[] tmpuser=UserInfo.Partners; //Tömbrendezés - Első igazán bonyolult művelet (a többihez csak a parancsokat nem ismertem) - 2014.03.07. + for (int x = 0; x < row.Length; x += 6) //Ezt az egyetlen számot (x+=3) kell módositani, és máris alkalmazkodott a hozzáadott adathoz + { + if (row.Length < 5) //2014.03.19. - Ha nincs ismerőse + break; + for (int y = 0; y < UserInfo.Partners.Length; y++) + { + if(UserInfo.Partners[y]!=null && Int32.Parse(row[x+3])==UserInfo.Partners[y].UserID) //Ha null az értéke, már nem is ellenőrzi a másik feltételt + { //Átrendezi a tömböt az új sorrendbe - Ha változott - 2014.03.07. + tmpuser[i] = UserInfo.Partners[y]; + tmpuser[i].Number = i; //És elmenti az új helyét - 2014.03.13. + } + } + if (tmpuser[i] == null) + { + tmpuser[i] = new UserInfo(); + } + tmpuser[i].UserID = Int32.Parse(row[x + 3]); //Beállitja az ID-ket + tmpuser[i].Number = i; + tmpuser[i].Name = row[x]; + tmpuser[i].Message = row[x + 1]; + tmpuser[i].State = row[x + 2]; + tmpuser[i].UserName = row[x + 4]; + tmpuser[i].Email = row[x + 5]; + /*if (tmp == null) - Ha tmp==null, akkor az alábbi utasitás sem fog tudni lefutni... + tmp[i] = 0; //Beállitja 0-ra, ha nincs még elmentve*/ + string state = ""; + if (row[x + 2] == "1") + state = " (Elérhető)"; + if (row[x + 2] == "2") + state = " (Elfoglalt)"; + if (row[x + 2] == "3") + state = " (Nincs a gépnél)"; + listViewItem[i] = new GLItem(); + PictureBox item = new PictureBox(); + tmpuser[i].PicUpdateTime = tmp[i]; + string imgpath = tmpuser[i].GetImage(); + if (imgpath!="noimage.png" || File.Exists("noimage.png")) //2014.03.13. + item.ImageLocation = imgpath; + else + MessageBox.Show("Az alap profilkép nem található.\nMásold be a noimage.png-t, vagy telepitsd újra a programot.\n(Ez az üzenet minden egyes ismerősödnél megjelenik.)", "Hiba"); + item.SizeMode = PictureBoxSizeMode.StretchImage; + + listViewItem[i].SubItems[0].Control = item; + listViewItem[i].SubItems[1].Text = row[x] + " " + state + "\n" + row[x + 1]; + i++; + } + Settings.Default.picupdatetime = String.Join(",", tmp.Select(ix => ix.ToString()).ToArray()); + UserInfo.Partners = tmpuser; + contactList.Items.Clear(); + try + { + contactList.Items.AddRange(listViewItem); //2014.03.01. + } + catch(ObjectDisposedException) + { + break; + } + catch (NullReferenceException) + { + //Mindig megtörténik - A tömb mérete miatt + } + try + { //Ha már leállt a program, hibát ir + this.Invoke(new MyDelegate(UpdateContactList)); + } + catch (ObjectDisposedException) + { + break; + } + catch (InvalidOperationException) + { + break; + } + Thread.Sleep(5000); + } + } + + private void ClearSearchBar(object sender, EventArgs e) + { + if(textBox1.Text=="Ismerősök keresése...") + textBox1.Clear(); + } + + private void PutTextInSearchBar(object sender, EventArgs e) + { + if (textBox1.Text == "") + textBox1.Text = "Ismerősök keresése..."; + } + public static int RightClickedPartner = -1; + private void ContactItemRightClick(object sender, MouseEventArgs e) + { + if (e.Button != MouseButtons.Right || contactList.HotItemIndex>=contactList.Items.Count) + { //Igy nem reagál arra sem, ha üres területre kattintunk + return; + } + contactList.Items[contactList.HotItemIndex].Selected = true; + RightClickedPartner = contactList.HotItemIndex; + partnerMenu.Show(Cursor.Position); + } + ChatForm[] ChatWindow=new ChatForm[1024]; + private void OpenSendMessage(object sender, EventArgs e) //2014.03.02. 0:17 + { + int tmp = contactList.HotItemIndex; + if (RightClickedPartner == -1) + RightClickedPartner = tmp; + //Üzenetküldő form + /*if (ChatWindow[RightClickedPartner] == null || ChatWindow[RightClickedPartner].IsDisposed) + ChatWindow[RightClickedPartner] = new ChatForm(); + UserInfo test = new UserInfo(); + test.ChatWindow = new ChatForm(); + ChatWindow[RightClickedPartner].Show();*/ + if (UserInfo.Partners[RightClickedPartner].ChatWindow == null || UserInfo.Partners[RightClickedPartner].ChatWindow.IsDisposed) + UserInfo.Partners[RightClickedPartner].ChatWindow = new ChatForm(); + UserInfo.Partners[RightClickedPartner].ChatWindow.Show(); + + //RightClickedPartner = -1; - A form bezárásakor állitsa vissza + } + + private void OnMainFormLoad(object sender, EventArgs e) + { + if (CurrentUser.UserID == 0) + Close(); + } + + private void InvitePartner(object sender, EventArgs e) + { + (new InvitePartner()).ShowDialog(); + } + } +} diff --git a/Most Closed Beta/v6.0/MSGer.tk (C#)/MainForm.resx b/Most Closed Beta/v6.0/MSGer.tk (C#)/MainForm.resx new file mode 100644 index 0000000..246e1f8 --- /dev/null +++ b/Most Closed Beta/v6.0/MSGer.tk (C#)/MainForm.resx @@ -0,0 +1,129 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + WLM 2009 Logo base64-encoded probably - Spent hours on the correct sed command + + + System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + 17, 17 + + + 130, 17 + + + 245, 17 + + + 375, 17 + + \ No newline at end of file diff --git a/Most Closed Beta/v6.0/MSGer.tk (C#)/Program.cs b/Most Closed Beta/v6.0/MSGer.tk (C#)/Program.cs new file mode 100644 index 0000000..a45954d --- /dev/null +++ b/Most Closed Beta/v6.0/MSGer.tk (C#)/Program.cs @@ -0,0 +1,85 @@ +using System; +using System.Collections.Generic; +using System.IO; +using System.Linq; +using System.Net; +using System.Text; +using System.Threading.Tasks; +using System.Windows.Forms; + +namespace MSGer.tk +{ + static class Program + { + /// + /// The main entry point for the application. + /// + public static MainForm MainF; + [STAThread] + static void Main() + { + Application.EnableVisualStyles(); + Application.SetCompatibleTextRenderingDefault(false); + try + { + Application.Run(MainF = new MainForm()); + } + catch(FileNotFoundException e) + { + //MessageBox.Show(e.GetType().ToString()); + MessageBox.Show("Egy fájl nem található.\nA fájl neve:\n" + e.FileName+"\nEnnél a műveletnél: "+e.TargetSite); + + } + catch(Exception e) + { + ErrorHandling.FormError(MainF, e); + } + } + } + static class Networking + { + public static string SendRequest(string action, string data, int remnum, bool loggedin) //2014.02.18. + { + HttpWebRequest httpWReq = + (HttpWebRequest)WebRequest.Create("http://msger.tk/client.php"); + + ASCIIEncoding encoding = new ASCIIEncoding(); + string postData = "action=" + action; + if (loggedin) //2014.03.14. + postData += "&uid=" + CurrentUser.UserID; + postData += "&key=cas1fe4a6feFEFEFE1616CE8099VFE1444cdasf48c1ase5dg"; + if (loggedin) //2014.03.14. + postData += "&code=" + LoginForm.UserCode; //2014.02.13. + postData += "&data=" + Uri.EscapeUriString(data); //2014.02.13. + byte[] datax = encoding.GetBytes(postData); + + httpWReq.Method = "POST"; + httpWReq.ContentType = "application/x-www-form-urlencoded"; + httpWReq.ContentLength = datax.Length; + + using (Stream stream = httpWReq.GetRequestStream()) + { + stream.Write(datax, 0, datax.Length); + } + + //Lista betöltése folyamatban... + + HttpWebResponse response = (HttpWebResponse)httpWReq.GetResponse(); + + string responseString = new StreamReader(response.GetResponseStream()).ReadToEnd(); + + try + { + responseString = responseString.Remove(responseString.IndexOf('<')); + } + catch + { + } + + if (remnum>0 && responseString.Length-remnum>0) //Felt. 2014.03.14. + responseString = responseString.Remove(responseString.Length - remnum); //A -1 nem elég + + return responseString; + } + } +} diff --git a/Most Closed Beta/v6.0/MSGer.tk (C#)/Properties/AssemblyInfo.cs b/Most Closed Beta/v6.0/MSGer.tk (C#)/Properties/AssemblyInfo.cs new file mode 100644 index 0000000..044ccb6 --- /dev/null +++ b/Most Closed Beta/v6.0/MSGer.tk (C#)/Properties/AssemblyInfo.cs @@ -0,0 +1,36 @@ +using System.Reflection; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +// General Information about an assembly is controlled through the following +// set of attributes. Change these attribute values to modify the information +// associated with an assembly. +[assembly: AssemblyTitle("MSGer.tk")] +[assembly: AssemblyDescription("")] +[assembly: AssemblyConfiguration("")] +[assembly: AssemblyCompany("")] +[assembly: AssemblyProduct("MSGer.tk")] +[assembly: AssemblyCopyright("Copyright © 2013")] +[assembly: AssemblyTrademark("")] +[assembly: AssemblyCulture("")] + +// Setting ComVisible to false makes the types in this assembly not visible +// to COM components. If you need to access a type in this assembly from +// COM, set the ComVisible attribute to true on that type. +[assembly: ComVisible(false)] + +// The following GUID is for the ID of the typelib if this project is exposed to COM +[assembly: Guid("d2fdb449-71d7-425e-942b-516005de4cc8")] + +// Version information for an assembly consists of the following four values: +// +// Major Version +// Minor Version +// Build Number +// Revision +// +// You can specify all the values or you can default the Build and Revision Numbers +// by using the '*' as shown below: +// [assembly: AssemblyVersion("1.0.*")] +[assembly: AssemblyVersion("1.0.0.0")] +[assembly: AssemblyFileVersion("1.0.0.0")] diff --git a/Most Closed Beta/v6.0/MSGer.tk (C#)/Properties/Resources.Designer.cs b/Most Closed Beta/v6.0/MSGer.tk (C#)/Properties/Resources.Designer.cs new file mode 100644 index 0000000..4c92e1d --- /dev/null +++ b/Most Closed Beta/v6.0/MSGer.tk (C#)/Properties/Resources.Designer.cs @@ -0,0 +1,103 @@ +//------------------------------------------------------------------------------ +// +// 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. +// +//------------------------------------------------------------------------------ + +namespace MSGer.tk.Properties { + using System; + + + /// + /// A strongly-typed resource class, for looking up localized strings, etc. + /// + // 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 Resources { + + private static global::System.Resources.ResourceManager resourceMan; + + private static global::System.Globalization.CultureInfo resourceCulture; + + [global::System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1811:AvoidUncalledPrivateCode")] + internal Resources() { + } + + /// + /// Returns the cached ResourceManager instance used by this class. + /// + [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("MSGer.tk.Properties.Resources", typeof(Resources).Assembly); + resourceMan = temp; + } + return resourceMan; + } + } + + /// + /// Overrides the current thread's CurrentUICulture property for all + /// resource lookups using this strongly typed resource class. + /// + [global::System.ComponentModel.EditorBrowsableAttribute(global::System.ComponentModel.EditorBrowsableState.Advanced)] + internal static global::System.Globalization.CultureInfo Culture { + get { + return resourceCulture; + } + set { + resourceCulture = value; + } + } + + /// + /// Looks up a localized resource of type System.Drawing.Bitmap. + /// + internal static System.Drawing.Bitmap Blue_Wallpaper_HD { + get { + object obj = ResourceManager.GetObject("Blue-Wallpaper-HD", resourceCulture); + return ((System.Drawing.Bitmap)(obj)); + } + } + + /// + /// Looks up a localized resource of type System.Drawing.Bitmap. + /// + internal static System.Drawing.Bitmap Blue_Wallpaper_HD_2 { + get { + object obj = ResourceManager.GetObject("Blue-Wallpaper-HD 2", resourceCulture); + return ((System.Drawing.Bitmap)(obj)); + } + } + + /// + /// Looks up a localized resource of type System.Drawing.Bitmap. + /// + internal static System.Drawing.Bitmap Keresősáv { + get { + object obj = ResourceManager.GetObject("Keresősáv", resourceCulture); + return ((System.Drawing.Bitmap)(obj)); + } + } + + /// + /// Looks up a localized resource of type System.Drawing.Bitmap. + /// + internal static System.Drawing.Bitmap Menü_2 { + get { + object obj = ResourceManager.GetObject("Menü 2", resourceCulture); + return ((System.Drawing.Bitmap)(obj)); + } + } + } +} diff --git a/Most Closed Beta/v6.0/MSGer.tk (C#)/Properties/Resources.resx b/Most Closed Beta/v6.0/MSGer.tk (C#)/Properties/Resources.resx new file mode 100644 index 0000000..7ac27db --- /dev/null +++ b/Most Closed Beta/v6.0/MSGer.tk (C#)/Properties/Resources.resx @@ -0,0 +1,133 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + text/microsoft-resx + + + 2.0 + + + System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + + ..\Resources\Keresősáv.jpg;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a + + + ..\Resources\Blue-Wallpaper-HD 21.jpg;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a + + + ..\Resources\Menü 22.jpg;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a + + + ..\Resources\Blue-Wallpaper-HD1.jpg;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a + + \ No newline at end of file diff --git a/Most Closed Beta/v6.0/MSGer.tk (C#)/Properties/Settings.Designer.cs b/Most Closed Beta/v6.0/MSGer.tk (C#)/Properties/Settings.Designer.cs new file mode 100644 index 0000000..c795cd2 --- /dev/null +++ b/Most Closed Beta/v6.0/MSGer.tk (C#)/Properties/Settings.Designer.cs @@ -0,0 +1,30 @@ +//------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// Runtime Version:4.0.30319.17929 +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +//------------------------------------------------------------------------------ + +namespace MSGer.tk.Properties +{ + + + [global::System.Runtime.CompilerServices.CompilerGeneratedAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.VisualStudio.Editors.SettingsDesigner.SettingsSingleFileGenerator", "11.0.0.0")] + internal sealed partial class Settings : global::System.Configuration.ApplicationSettingsBase + { + + private static Settings defaultInstance = ((Settings)(global::System.Configuration.ApplicationSettingsBase.Synchronized(new Settings()))); + + public static Settings Default + { + get + { + return defaultInstance; + } + } + } +} diff --git a/Most Closed Beta/v6.0/MSGer.tk (C#)/Properties/Settings.settings b/Most Closed Beta/v6.0/MSGer.tk (C#)/Properties/Settings.settings new file mode 100644 index 0000000..abf36c5 --- /dev/null +++ b/Most Closed Beta/v6.0/MSGer.tk (C#)/Properties/Settings.settings @@ -0,0 +1,7 @@ + + + + + + + diff --git a/Most Closed Beta/v6.0/MSGer.tk (C#)/Resources/Blue-Wallpaper-HD 2.jpg b/Most Closed Beta/v6.0/MSGer.tk (C#)/Resources/Blue-Wallpaper-HD 2.jpg new file mode 100644 index 0000000..2cf5782 Binary files /dev/null and b/Most Closed Beta/v6.0/MSGer.tk (C#)/Resources/Blue-Wallpaper-HD 2.jpg differ diff --git a/Most Closed Beta/v6.0/MSGer.tk (C#)/Resources/Blue-Wallpaper-HD 21.jpg b/Most Closed Beta/v6.0/MSGer.tk (C#)/Resources/Blue-Wallpaper-HD 21.jpg new file mode 100644 index 0000000..2cf5782 Binary files /dev/null and b/Most Closed Beta/v6.0/MSGer.tk (C#)/Resources/Blue-Wallpaper-HD 21.jpg differ diff --git a/Most Closed Beta/v6.0/MSGer.tk (C#)/Resources/Blue-Wallpaper-HD.jpg b/Most Closed Beta/v6.0/MSGer.tk (C#)/Resources/Blue-Wallpaper-HD.jpg new file mode 100644 index 0000000..38e9cbc Binary files /dev/null and b/Most Closed Beta/v6.0/MSGer.tk (C#)/Resources/Blue-Wallpaper-HD.jpg differ diff --git a/Most Closed Beta/v6.0/MSGer.tk (C#)/Resources/Blue-Wallpaper-HD1.jpg b/Most Closed Beta/v6.0/MSGer.tk (C#)/Resources/Blue-Wallpaper-HD1.jpg new file mode 100644 index 0000000..38e9cbc Binary files /dev/null and b/Most Closed Beta/v6.0/MSGer.tk (C#)/Resources/Blue-Wallpaper-HD1.jpg differ diff --git a/Most Closed Beta/v6.0/MSGer.tk (C#)/Resources/Keresősáv.jpg b/Most Closed Beta/v6.0/MSGer.tk (C#)/Resources/Keresősáv.jpg new file mode 100644 index 0000000..f54cf78 Binary files /dev/null and b/Most Closed Beta/v6.0/MSGer.tk (C#)/Resources/Keresősáv.jpg differ diff --git a/Most Closed Beta/v6.0/MSGer.tk (C#)/Resources/Menü 2.jpg b/Most Closed Beta/v6.0/MSGer.tk (C#)/Resources/Menü 2.jpg new file mode 100644 index 0000000..d4b1794 Binary files /dev/null and b/Most Closed Beta/v6.0/MSGer.tk (C#)/Resources/Menü 2.jpg differ diff --git a/Most Closed Beta/v6.0/MSGer.tk (C#)/Resources/Menü 21.jpg b/Most Closed Beta/v6.0/MSGer.tk (C#)/Resources/Menü 21.jpg new file mode 100644 index 0000000..d4b1794 Binary files /dev/null and b/Most Closed Beta/v6.0/MSGer.tk (C#)/Resources/Menü 21.jpg differ diff --git a/Most Closed Beta/v6.0/MSGer.tk (C#)/Resources/Menü 22.jpg b/Most Closed Beta/v6.0/MSGer.tk (C#)/Resources/Menü 22.jpg new file mode 100644 index 0000000..d4b1794 Binary files /dev/null and b/Most Closed Beta/v6.0/MSGer.tk (C#)/Resources/Menü 22.jpg differ diff --git a/Most Closed Beta/v6.0/MSGer.tk (C#)/Resources/Menü 3.jpg b/Most Closed Beta/v6.0/MSGer.tk (C#)/Resources/Menü 3.jpg new file mode 100644 index 0000000..a021f2f Binary files /dev/null and b/Most Closed Beta/v6.0/MSGer.tk (C#)/Resources/Menü 3.jpg differ diff --git a/Most Closed Beta/v6.0/MSGer.tk (C#)/SelectPartnerForm.Designer.cs b/Most Closed Beta/v6.0/MSGer.tk (C#)/SelectPartnerForm.Designer.cs new file mode 100644 index 0000000..ffca8eb --- /dev/null +++ b/Most Closed Beta/v6.0/MSGer.tk (C#)/SelectPartnerForm.Designer.cs @@ -0,0 +1,178 @@ +namespace MSGer.tk +{ + partial class SelectPartnerForm + { + /// + /// Required designer variable. + /// + private System.ComponentModel.IContainer components = null; + + /// + /// Clean up any resources being used. + /// + /// true if managed resources should be disposed; otherwise, false. + protected override void Dispose(bool disposing) + { + if (disposing && (components != null)) + { + components.Dispose(); + } + base.Dispose(disposing); + } + + #region Windows Form Designer generated code + + /// + /// Required method for Designer support - do not modify + /// the contents of this method with the code editor. + /// + private void InitializeComponent() + { + GlacialComponents.Controls.GLColumn glColumn2 = new GlacialComponents.Controls.GLColumn(); + GlacialComponents.Controls.GLItem glItem2 = new GlacialComponents.Controls.GLItem(); + GlacialComponents.Controls.GLSubItem glSubItem2 = new GlacialComponents.Controls.GLSubItem(); + this.partnerList = new GlacialComponents.Controls.GlacialList(); + this.selectedPartners = new System.Windows.Forms.TextBox(); + this.okbtn = new System.Windows.Forms.Button(); + this.cancelbtn = new System.Windows.Forms.Button(); + this.titleText = new System.Windows.Forms.Label(); + this.SuspendLayout(); + // + // partnerList + // + this.partnerList.AllowColumnResize = false; + this.partnerList.AllowMultiselect = true; + this.partnerList.AlternateBackground = System.Drawing.Color.DarkGreen; + this.partnerList.AlternatingColors = false; + this.partnerList.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.partnerList.AutoHeight = true; + this.partnerList.BackColor = System.Drawing.SystemColors.ControlLightLight; + this.partnerList.BackgroundStretchToFit = true; + glColumn2.ActivatedEmbeddedType = GlacialComponents.Controls.GLActivatedEmbeddedTypes.None; + glColumn2.CheckBoxes = true; + glColumn2.ImageIndex = -1; + glColumn2.Name = "PartnerName"; + glColumn2.NumericSort = false; + glColumn2.Text = ""; + glColumn2.TextAlignment = System.Drawing.ContentAlignment.MiddleLeft; + glColumn2.Width = 100; + this.partnerList.Columns.AddRange(new GlacialComponents.Controls.GLColumn[] { + glColumn2}); + this.partnerList.ControlStyle = GlacialComponents.Controls.GLControlStyles.Normal; + this.partnerList.ForeColor = System.Drawing.Color.Black; + this.partnerList.FullRowSelect = true; + this.partnerList.GridColor = System.Drawing.Color.LightGray; + this.partnerList.GridLines = GlacialComponents.Controls.GLGridLines.gridBoth; + this.partnerList.GridLineStyle = GlacialComponents.Controls.GLGridLineStyles.gridNone; + this.partnerList.GridTypes = GlacialComponents.Controls.GLGridTypes.gridOnExists; + this.partnerList.HeaderHeight = 0; + this.partnerList.HeaderVisible = false; + this.partnerList.HeaderWordWrap = false; + this.partnerList.HotColumnTracking = false; + this.partnerList.HotItemTracking = true; + this.partnerList.HotTrackingColor = System.Drawing.Color.LightGray; + this.partnerList.HoverEvents = false; + this.partnerList.HoverTime = 1; + this.partnerList.ImageList = null; + this.partnerList.ItemHeight = 17; + glItem2.BackColor = System.Drawing.Color.White; + glItem2.ForeColor = System.Drawing.Color.Black; + glItem2.RowBorderColor = System.Drawing.Color.Black; + glItem2.RowBorderSize = 0; + glSubItem2.BackColor = System.Drawing.Color.Empty; + glSubItem2.Checked = false; + glSubItem2.ForceText = false; + glSubItem2.ForeColor = System.Drawing.Color.Black; + glSubItem2.ImageAlignment = System.Windows.Forms.HorizontalAlignment.Left; + glSubItem2.ImageIndex = -1; + glSubItem2.Text = "Test"; + glItem2.SubItems.AddRange(new GlacialComponents.Controls.GLSubItem[] { + glSubItem2}); + glItem2.Text = "Test"; + this.partnerList.Items.AddRange(new GlacialComponents.Controls.GLItem[] { + glItem2}); + this.partnerList.ItemWordWrap = false; + this.partnerList.Location = new System.Drawing.Point(13, 26); + this.partnerList.Name = "partnerList"; + this.partnerList.Selectable = true; + this.partnerList.SelectedTextColor = System.Drawing.Color.White; + this.partnerList.SelectionColor = System.Drawing.Color.DarkBlue; + this.partnerList.ShowBorder = true; + this.partnerList.ShowFocusRect = true; + this.partnerList.Size = new System.Drawing.Size(359, 286); + this.partnerList.SortType = GlacialComponents.Controls.SortTypes.InsertionSort; + this.partnerList.SuperFlatHeaderColor = System.Drawing.Color.White; + this.partnerList.TabIndex = 0; + this.partnerList.Click += new System.EventHandler(this.ItemClicked); + this.partnerList.DoubleClick += new System.EventHandler(this.ItemDoubleClick); + // + // selectedPartners + // + this.selectedPartners.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left) + | System.Windows.Forms.AnchorStyles.Right))); + this.selectedPartners.Location = new System.Drawing.Point(13, 319); + this.selectedPartners.Multiline = true; + this.selectedPartners.Name = "selectedPartners"; + this.selectedPartners.Size = new System.Drawing.Size(359, 103); + this.selectedPartners.TabIndex = 1; + // + // okbtn + // + this.okbtn.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right))); + this.okbtn.DialogResult = System.Windows.Forms.DialogResult.OK; + this.okbtn.Location = new System.Drawing.Point(215, 428); + this.okbtn.Name = "okbtn"; + this.okbtn.Size = new System.Drawing.Size(75, 23); + this.okbtn.TabIndex = 2; + 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.DialogResult = System.Windows.Forms.DialogResult.Cancel; + this.cancelbtn.Location = new System.Drawing.Point(297, 429); + this.cancelbtn.Name = "cancelbtn"; + this.cancelbtn.Size = new System.Drawing.Size(75, 23); + this.cancelbtn.TabIndex = 3; + this.cancelbtn.Text = "Mégse"; + this.cancelbtn.UseVisualStyleBackColor = true; + // + // titleText + // + this.titleText.AutoSize = true; + this.titleText.Location = new System.Drawing.Point(13, 7); + this.titleText.Name = "titleText"; + this.titleText.Size = new System.Drawing.Size(53, 13); + this.titleText.TabIndex = 4; + this.titleText.Text = "Unknown"; + // + // SelectPartnerForm + // + this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F); + this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; + this.ClientSize = new System.Drawing.Size(384, 462); + this.Controls.Add(this.titleText); + this.Controls.Add(this.cancelbtn); + this.Controls.Add(this.okbtn); + this.Controls.Add(this.selectedPartners); + this.Controls.Add(this.partnerList); + this.Name = "SelectPartnerForm"; + this.Text = "Partnerválasztás"; + this.ResizeEnd += new System.EventHandler(this.FormResizeFinish); + this.ResumeLayout(false); + this.PerformLayout(); + + } + + #endregion + + private GlacialComponents.Controls.GlacialList partnerList; + private System.Windows.Forms.TextBox selectedPartners; + private System.Windows.Forms.Button okbtn; + private System.Windows.Forms.Button cancelbtn; + private System.Windows.Forms.Label titleText; + } +} \ No newline at end of file diff --git a/Most Closed Beta/v6.0/MSGer.tk (C#)/SelectPartnerForm.cs b/Most Closed Beta/v6.0/MSGer.tk (C#)/SelectPartnerForm.cs new file mode 100644 index 0000000..4423a02 --- /dev/null +++ b/Most Closed Beta/v6.0/MSGer.tk (C#)/SelectPartnerForm.cs @@ -0,0 +1,91 @@ +using GlacialComponents.Controls; +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 SelectPartnerForm : Form + { + public SelectPartnerForm() + { + InitializeComponent(); + //this.Text = MainForm.SelectPartnerSender.ToString(); + //titleText.Text = MainForm.SelectPartnerSender.ToString(); + this.Text = MainForm.SelectPartnerSender.Text; //2014.02.28. + titleText.Text = MainForm.SelectPartnerSender.Text; + + partnerList.Items.Clear(); + for(int x=0; x<1024; x++) + { + //MessageBox.Show(x + ""); + try + { + //MessageBox.Show("Hozzáadás"); + //GLItem item = new GLItem(partnerList); + //item.Text = UserInfo.Partners[x].Name; + partnerList.Items.Add(UserInfo.Partners[x].UserName); + //MessageBox.Show("Hozzáadva"); + } + catch (NullReferenceException) + { + break; + } + catch (Exception e) + { + MessageBox.Show(e.Message); + break; + } + } + partnerList.Columns[0].Width = partnerList.ClientSize.Width-5; + } + + private void FormResizeFinish(object sender, EventArgs e) + { + partnerList.Columns[0].Width = partnerList.ClientSize.Width-5; + } + + private void ItemClicked(object sender, EventArgs e) + { + for (int i = 0; i < partnerList.Items.Count; i++) + { + if(partnerList.Items[i].SubItems[0].Checked) + { + int p = selectedPartners.Text.IndexOf(partnerList.Items[i].SubItems[0].Text + ";"); + if (p == -1) + { + /*if (selectedPartners.Text.Length != 0) + selectedPartners.Text += "; " + partnerList.Items[i].SubItems[0].Text; + else + selectedPartners.Text = partnerList.Items[i].SubItems[0].Text;*/ + selectedPartners.Text += partnerList.Items[i].SubItems[0].Text + ";"; + } + } + else + { + //MessageBox.Show(selectedPartners.Text.IndexOf(partnerList.Items[i].SubItems[0].Text)+""); + int p = selectedPartners.Text.IndexOf(partnerList.Items[i].SubItems[0].Text + ";"); + if (p != -1) //Eltávolitja a nem kiválasztott partner előfordulását a listából - Megcsinálom visszafelé is + selectedPartners.Text = selectedPartners.Text.Remove(p, partnerList.Items[i].SubItems[0].Text.Length+1); //Eltávolitja a ;-t is + } + } + } + + private void ItemDoubleClick(object sender, EventArgs e) + { + int a = partnerList.HotItemIndex; + //MessageBox.Show("DoubleClick"); + if (partnerList.Items[a].SubItems[0].Checked) + partnerList.Items[a].SubItems[0].Checked = false; + else + partnerList.Items[a].SubItems[0].Checked = true; + ItemClicked(sender, e); + } + } +} diff --git a/Most Closed Beta/v6.0/MSGer.tk (C#)/SelectPartnerForm.resx b/Most Closed Beta/v6.0/MSGer.tk (C#)/SelectPartnerForm.resx new file mode 100644 index 0000000..29dcb1b --- /dev/null +++ b/Most Closed Beta/v6.0/MSGer.tk (C#)/SelectPartnerForm.resx @@ -0,0 +1,120 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + text/microsoft-resx + + + 2.0 + + + System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + \ No newline at end of file diff --git a/Most Closed Beta/v6.0/MSGer.tk (C#)/Settings.Designer.cs b/Most Closed Beta/v6.0/MSGer.tk (C#)/Settings.Designer.cs new file mode 100644 index 0000000..150d5ee --- /dev/null +++ b/Most Closed Beta/v6.0/MSGer.tk (C#)/Settings.Designer.cs @@ -0,0 +1,50 @@ +//------------------------------------------------------------------------------ +// +// 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. +// +//------------------------------------------------------------------------------ + +namespace MSGer.tk { + + + [global::System.Runtime.CompilerServices.CompilerGeneratedAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.VisualStudio.Editors.SettingsDesigner.SettingsSingleFileGenerator", "12.0.0.0")] + internal sealed partial class Settings : global::System.Configuration.ApplicationSettingsBase { + + private static Settings defaultInstance = ((Settings)(global::System.Configuration.ApplicationSettingsBase.Synchronized(new Settings()))); + + public static Settings Default { + get { + return defaultInstance; + } + } + + [global::System.Configuration.UserScopedSettingAttribute()] + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.Configuration.DefaultSettingValueAttribute("")] + public string email { + get { + return ((string)(this["email"])); + } + set { + this["email"] = value; + } + } + + [global::System.Configuration.UserScopedSettingAttribute()] + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.Configuration.DefaultSettingValueAttribute("")] + public string picupdatetime { + get { + return ((string)(this["picupdatetime"])); + } + set { + this["picupdatetime"] = value; + } + } + } +} diff --git a/Most Closed Beta/v6.0/MSGer.tk (C#)/Settings.cs b/Most Closed Beta/v6.0/MSGer.tk (C#)/Settings.cs new file mode 100644 index 0000000..2cae8b2 --- /dev/null +++ b/Most Closed Beta/v6.0/MSGer.tk (C#)/Settings.cs @@ -0,0 +1,28 @@ +namespace MSGer.tk { + + + // This class allows you to handle specific events on the settings class: + // The SettingChanging event is raised before a setting's value is changed. + // The PropertyChanged event is raised after a setting's value is changed. + // The SettingsLoaded event is raised after the setting values are loaded. + // The SettingsSaving event is raised before the setting values are saved. + internal sealed partial class Settings { + + public Settings() { + // // To add event handlers for saving and changing settings, uncomment the lines below: + // + // this.SettingChanging += this.SettingChangingEventHandler; + // + // this.SettingsSaving += this.SettingsSavingEventHandler; + // + } + + private void SettingChangingEventHandler(object sender, System.Configuration.SettingChangingEventArgs e) { + // Add code to handle the SettingChangingEvent event here. + } + + private void SettingsSavingEventHandler(object sender, System.ComponentModel.CancelEventArgs e) { + // Add code to handle the SettingsSaving event here. + } + } +} diff --git a/Most Closed Beta/v6.0/MSGer.tk (C#)/Settings.settings b/Most Closed Beta/v6.0/MSGer.tk (C#)/Settings.settings new file mode 100644 index 0000000..10beda8 --- /dev/null +++ b/Most Closed Beta/v6.0/MSGer.tk (C#)/Settings.settings @@ -0,0 +1,12 @@ + + + + + + + + + + + + \ No newline at end of file diff --git a/Most Closed Beta/v6.0/MSGer.tk (C#)/UserInfo.cs b/Most Closed Beta/v6.0/MSGer.tk (C#)/UserInfo.cs new file mode 100644 index 0000000..a2ffd37 --- /dev/null +++ b/Most Closed Beta/v6.0/MSGer.tk (C#)/UserInfo.cs @@ -0,0 +1,75 @@ +using System; +using System.Collections.Generic; +using System.Linq; +using System.Text; +using System.Threading.Tasks; +using System.IO; + +namespace MSGer.tk +{ + public partial class UserInfo + { + /* + * 2014.03.07. + * Az összes szükséges felhasználó szükséges adatai + */ + public ChatForm ChatWindow { get; set; } + public int UserID { get; set; } + public int Number { get; set; } //Nem tudom egyszerűen meghatározni a tömbbeli helyét + public static UserInfo[] Partners = new UserInfo[1024]; + public string Name { get; set; } + public string Message { get; set; } + public string State { get; set; } + public string UserName { get; set; } + public string Email { get; set; } + public UserInfo() + { + + } + public int PicUpdateTime = 0; + public string GetImage() + { + /* + * Szükséges információk az adatbázisban: + * - Felhasználó képe a users táblában + * - A legutóbbi képváltás dátuma + * Ebből megállapitja a program, hogy le kell-e tölteni. + * Eltárol helyileg is egy dátumot, és ha már frissitette egyszer a képet (újabb a helyi dátum, mint az adatbázisban), + * akkor nem csinál semmit. Ha régebbi, akkor a partner azóta frissitette, tehát szükséges a letöltés. + */ + string str = Networking.SendRequest("getimage", Number + "ͦ" + PicUpdateTime, 2, true); //SetVars + /* + * Ez a funkció automatikusan elküldi a bejelentkezett felhasználó azonositóját, + * a PHP szkript pedig leellenőrzi, hogy egymásnak partnerei-e, ezáltal nem nézheti meg akárki akárkinek a profilképét + * (pedig a legtöbb helyen igy van, de szerintem jobb igy; lehet, hogy beállithatóvá teszem) + */ + if (str == "Fail") + { + return "noimage.png"; + } + else + { //Mentse el a képet + string tmp = Path.GetTempPath(); + if (!Directory.Exists(tmp + "\\MSGer.tk\\pictures")) + Directory.CreateDirectory(tmp + "\\MSGer.tk\\pictures"); + File.WriteAllText(tmp + "\\MSGer.tk\\pictures\\" + Number + ".png", str); + } + return "noimage.png"; + } + /*public static void InitVars() //Az adott felhasználó profilozásakor adja át a helyileg tárolt információkat + { + }*/ + /*public static void SetVars() + { + for (int x = 0; x < PicUpdateTime.Length; x++) + { + if (Settings.Default.picupdatetime.Length == 0) + PicUpdateTime[x] = 0; //Ha nem nyúlunk hozzá, alapesetben régebbinek veszi a dátumot, ezáltal letölti + else + { + Settings.Default.picupdatetime = String.Join(",", PicUpdateTime.Select(i => i.ToString()).ToArray()); + } + } + }*/ + } +} diff --git a/Most Closed Beta/v6.0/MSGer.tk (C#)/bin/Debug/GlacialList.dll b/Most Closed Beta/v6.0/MSGer.tk (C#)/bin/Debug/GlacialList.dll new file mode 100644 index 0000000..6652693 Binary files /dev/null and b/Most Closed Beta/v6.0/MSGer.tk (C#)/bin/Debug/GlacialList.dll differ diff --git a/Most Closed Beta/v6.0/MSGer.tk (C#)/bin/Debug/GlacialList.pdb b/Most Closed Beta/v6.0/MSGer.tk (C#)/bin/Debug/GlacialList.pdb new file mode 100644 index 0000000..ee239c7 Binary files /dev/null and b/Most Closed Beta/v6.0/MSGer.tk (C#)/bin/Debug/GlacialList.pdb differ diff --git a/Most Closed Beta/v6.0/MSGer.tk (C#)/bin/Debug/Khendys.Controls.ExRichTextBox.dll b/Most Closed Beta/v6.0/MSGer.tk (C#)/bin/Debug/Khendys.Controls.ExRichTextBox.dll new file mode 100644 index 0000000..1851254 Binary files /dev/null and b/Most Closed Beta/v6.0/MSGer.tk (C#)/bin/Debug/Khendys.Controls.ExRichTextBox.dll differ diff --git a/Most Closed Beta/v6.0/MSGer.tk (C#)/bin/Debug/Khendys.Controls.ExRichTextBox.pdb b/Most Closed Beta/v6.0/MSGer.tk (C#)/bin/Debug/Khendys.Controls.ExRichTextBox.pdb new file mode 100644 index 0000000..1610b6d Binary files /dev/null and b/Most Closed Beta/v6.0/MSGer.tk (C#)/bin/Debug/Khendys.Controls.ExRichTextBox.pdb differ diff --git a/Most Closed Beta/v6.0/MSGer.tk (C#)/bin/Debug/MSGer.tk.exe b/Most Closed Beta/v6.0/MSGer.tk (C#)/bin/Debug/MSGer.tk.exe new file mode 100644 index 0000000..fad76d2 Binary files /dev/null and b/Most Closed Beta/v6.0/MSGer.tk (C#)/bin/Debug/MSGer.tk.exe differ diff --git a/Most Closed Beta/v6.0/MSGer.tk (C#)/bin/Debug/MSGer.tk.exe.config b/Most Closed Beta/v6.0/MSGer.tk (C#)/bin/Debug/MSGer.tk.exe.config new file mode 100644 index 0000000..484ca80 --- /dev/null +++ b/Most Closed Beta/v6.0/MSGer.tk (C#)/bin/Debug/MSGer.tk.exe.config @@ -0,0 +1,21 @@ + + + + +
+ + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/Most Closed Beta/v6.0/MSGer.tk (C#)/bin/Debug/MSGer.tk.pdb b/Most Closed Beta/v6.0/MSGer.tk (C#)/bin/Debug/MSGer.tk.pdb new file mode 100644 index 0000000..7a4fce2 Binary files /dev/null and b/Most Closed Beta/v6.0/MSGer.tk (C#)/bin/Debug/MSGer.tk.pdb differ diff --git a/Most Closed Beta/v6.0/MSGer.tk (C#)/bin/Debug/MSGer.tk.vshost.exe b/Most Closed Beta/v6.0/MSGer.tk (C#)/bin/Debug/MSGer.tk.vshost.exe new file mode 100644 index 0000000..c0dfecc Binary files /dev/null and b/Most Closed Beta/v6.0/MSGer.tk (C#)/bin/Debug/MSGer.tk.vshost.exe differ diff --git a/Most Closed Beta/v6.0/MSGer.tk (C#)/bin/Debug/MSGer.tk.vshost.exe.config b/Most Closed Beta/v6.0/MSGer.tk (C#)/bin/Debug/MSGer.tk.vshost.exe.config new file mode 100644 index 0000000..484ca80 --- /dev/null +++ b/Most Closed Beta/v6.0/MSGer.tk (C#)/bin/Debug/MSGer.tk.vshost.exe.config @@ -0,0 +1,21 @@ + + + + +
+ + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/Most Closed Beta/v6.0/MSGer.tk (C#)/bin/Debug/MSGer.tk.vshost.exe.manifest b/Most Closed Beta/v6.0/MSGer.tk (C#)/bin/Debug/MSGer.tk.vshost.exe.manifest new file mode 100644 index 0000000..f96b1d6 --- /dev/null +++ b/Most Closed Beta/v6.0/MSGer.tk (C#)/bin/Debug/MSGer.tk.vshost.exe.manifest @@ -0,0 +1,11 @@ + + + + + + + + + + + diff --git a/Most Closed Beta/v6.0/MSGer.tk (C#)/bin/Debug/noimage.png b/Most Closed Beta/v6.0/MSGer.tk (C#)/bin/Debug/noimage.png new file mode 100644 index 0000000..7519e19 Binary files /dev/null and b/Most Closed Beta/v6.0/MSGer.tk (C#)/bin/Debug/noimage.png differ diff --git a/Most Closed Beta/v6.0/MSGer.tk (C#)/bin/Release/MSGer.tk.exe b/Most Closed Beta/v6.0/MSGer.tk (C#)/bin/Release/MSGer.tk.exe new file mode 100644 index 0000000..ba5712d Binary files /dev/null and b/Most Closed Beta/v6.0/MSGer.tk (C#)/bin/Release/MSGer.tk.exe differ diff --git a/Most Closed Beta/v6.0/MSGer.tk (C#)/bin/Release/MSGer.tk.exe.config b/Most Closed Beta/v6.0/MSGer.tk (C#)/bin/Release/MSGer.tk.exe.config new file mode 100644 index 0000000..01566ac --- /dev/null +++ b/Most Closed Beta/v6.0/MSGer.tk (C#)/bin/Release/MSGer.tk.exe.config @@ -0,0 +1,18 @@ + + + + +
+ + + + + + + + + + + + + \ No newline at end of file diff --git a/Most Closed Beta/v6.0/MSGer.tk (C#)/bin/Release/MSGer.tk.pdb b/Most Closed Beta/v6.0/MSGer.tk (C#)/bin/Release/MSGer.tk.pdb new file mode 100644 index 0000000..0f86b2a Binary files /dev/null and b/Most Closed Beta/v6.0/MSGer.tk (C#)/bin/Release/MSGer.tk.pdb differ diff --git a/Most Closed Beta/v6.0/MSGer.tk (C#)/bin/Release/MSGer.tk.vshost.exe b/Most Closed Beta/v6.0/MSGer.tk (C#)/bin/Release/MSGer.tk.vshost.exe new file mode 100644 index 0000000..8c84517 Binary files /dev/null and b/Most Closed Beta/v6.0/MSGer.tk (C#)/bin/Release/MSGer.tk.vshost.exe differ diff --git a/Most Closed Beta/v6.0/MSGer.tk (C#)/bin/Release/MSGer.tk.vshost.exe.config b/Most Closed Beta/v6.0/MSGer.tk (C#)/bin/Release/MSGer.tk.vshost.exe.config new file mode 100644 index 0000000..01566ac --- /dev/null +++ b/Most Closed Beta/v6.0/MSGer.tk (C#)/bin/Release/MSGer.tk.vshost.exe.config @@ -0,0 +1,18 @@ + + + + +
+ + + + + + + + + + + + + \ No newline at end of file diff --git a/Most Closed Beta/v6.0/MSGer.tk (C#)/bin/Release/MSGer.tk.vshost.exe.manifest b/Most Closed Beta/v6.0/MSGer.tk (C#)/bin/Release/MSGer.tk.vshost.exe.manifest new file mode 100644 index 0000000..f96b1d6 --- /dev/null +++ b/Most Closed Beta/v6.0/MSGer.tk (C#)/bin/Release/MSGer.tk.vshost.exe.manifest @@ -0,0 +1,11 @@ + + + + + + + + + + + diff --git a/Most Closed Beta/v6.0/MSGer.tk (C#)/obj/Debug/DesignTimeResolveAssemblyReferences.cache b/Most Closed Beta/v6.0/MSGer.tk (C#)/obj/Debug/DesignTimeResolveAssemblyReferences.cache new file mode 100644 index 0000000..e873066 Binary files /dev/null and b/Most Closed Beta/v6.0/MSGer.tk (C#)/obj/Debug/DesignTimeResolveAssemblyReferences.cache differ diff --git a/Most Closed Beta/v6.0/MSGer.tk (C#)/obj/Debug/DesignTimeResolveAssemblyReferencesInput.cache b/Most Closed Beta/v6.0/MSGer.tk (C#)/obj/Debug/DesignTimeResolveAssemblyReferencesInput.cache new file mode 100644 index 0000000..d9845b3 Binary files /dev/null and b/Most Closed Beta/v6.0/MSGer.tk (C#)/obj/Debug/DesignTimeResolveAssemblyReferencesInput.cache differ diff --git a/Most Closed Beta/v6.0/MSGer.tk (C#)/obj/Debug/MSGer.tk.ChatForm.resources b/Most Closed Beta/v6.0/MSGer.tk (C#)/obj/Debug/MSGer.tk.ChatForm.resources new file mode 100644 index 0000000..6c05a97 Binary files /dev/null and b/Most Closed Beta/v6.0/MSGer.tk (C#)/obj/Debug/MSGer.tk.ChatForm.resources differ diff --git a/Most Closed Beta/v6.0/MSGer.tk (C#)/obj/Debug/MSGer.tk.InvitePartner.resources b/Most Closed Beta/v6.0/MSGer.tk (C#)/obj/Debug/MSGer.tk.InvitePartner.resources new file mode 100644 index 0000000..6c05a97 Binary files /dev/null and b/Most Closed Beta/v6.0/MSGer.tk (C#)/obj/Debug/MSGer.tk.InvitePartner.resources differ diff --git a/Most Closed Beta/v6.0/MSGer.tk (C#)/obj/Debug/MSGer.tk.LoginForm.resources b/Most Closed Beta/v6.0/MSGer.tk (C#)/obj/Debug/MSGer.tk.LoginForm.resources new file mode 100644 index 0000000..62b9f73 Binary files /dev/null and b/Most Closed Beta/v6.0/MSGer.tk (C#)/obj/Debug/MSGer.tk.LoginForm.resources differ diff --git a/Most Closed Beta/v6.0/MSGer.tk (C#)/obj/Debug/MSGer.tk.LoginForm_RegistrationForm.resources b/Most Closed Beta/v6.0/MSGer.tk (C#)/obj/Debug/MSGer.tk.LoginForm_RegistrationForm.resources new file mode 100644 index 0000000..6c05a97 Binary files /dev/null and b/Most Closed Beta/v6.0/MSGer.tk (C#)/obj/Debug/MSGer.tk.LoginForm_RegistrationForm.resources differ diff --git a/Most Closed Beta/v6.0/MSGer.tk (C#)/obj/Debug/MSGer.tk.MainForm.resources b/Most Closed Beta/v6.0/MSGer.tk (C#)/obj/Debug/MSGer.tk.MainForm.resources new file mode 100644 index 0000000..6c05a97 Binary files /dev/null and b/Most Closed Beta/v6.0/MSGer.tk (C#)/obj/Debug/MSGer.tk.MainForm.resources differ diff --git a/Most Closed Beta/v6.0/MSGer.tk (C#)/obj/Debug/MSGer.tk.Properties.Resources.resources b/Most Closed Beta/v6.0/MSGer.tk (C#)/obj/Debug/MSGer.tk.Properties.Resources.resources new file mode 100644 index 0000000..2e7eded Binary files /dev/null and b/Most Closed Beta/v6.0/MSGer.tk (C#)/obj/Debug/MSGer.tk.Properties.Resources.resources differ diff --git a/Most Closed Beta/v6.0/MSGer.tk (C#)/obj/Debug/MSGer.tk.SelectPartnerForm.resources b/Most Closed Beta/v6.0/MSGer.tk (C#)/obj/Debug/MSGer.tk.SelectPartnerForm.resources new file mode 100644 index 0000000..6c05a97 Binary files /dev/null and b/Most Closed Beta/v6.0/MSGer.tk (C#)/obj/Debug/MSGer.tk.SelectPartnerForm.resources differ diff --git a/Most Closed Beta/v6.0/MSGer.tk (C#)/obj/Debug/MSGer.tk.csproj.FileListAbsolute.txt b/Most Closed Beta/v6.0/MSGer.tk (C#)/obj/Debug/MSGer.tk.csproj.FileListAbsolute.txt new file mode 100644 index 0000000..d68fd9b --- /dev/null +++ b/Most Closed Beta/v6.0/MSGer.tk (C#)/obj/Debug/MSGer.tk.csproj.FileListAbsolute.txt @@ -0,0 +1,28 @@ +D:\Z - Norbi cucca\0 Projektek\MSGer.tk\MSGer.tk\bin\Debug\MSGer.tk.exe.config +D:\Z - Norbi cucca\0 Projektek\MSGer.tk\MSGer.tk\bin\Debug\MSGer.tk.exe +D:\Z - Norbi cucca\0 Projektek\MSGer.tk\MSGer.tk\bin\Debug\MSGer.tk.pdb +D:\Z - Norbi cucca\0 Projektek\MSGer.tk\MSGer.tk\obj\Debug\MSGer.tk.MainForm.resources +D:\Z - Norbi cucca\0 Projektek\MSGer.tk\MSGer.tk\obj\Debug\MSGer.tk.Properties.Resources.resources +D:\Z - Norbi cucca\0 Projektek\MSGer.tk\MSGer.tk\obj\Debug\MSGer.tk.csproj.GenerateResource.Cache +D:\Z - Norbi cucca\0 Projektek\MSGer.tk\MSGer.tk\obj\Debug\MSGer.tk.exe +D:\Z - Norbi cucca\0 Projektek\MSGer.tk\MSGer.tk\obj\Debug\MSGer.tk.pdb +D:\Z - Norbi cucca\0 Projektek\MSGer.tk\MSGer.tk\obj\Debug\MSGer.tk.LoginForm.resources +D:\Z - Norbi cucca\0 Projektek\MSGer.tk\MSGer.tk\obj\Debug\MSGer.tk.csprojResolveAssemblyReference.cache +D:\Z - Norbi cucca\0 Projektek\MSGer.tk\MSGer.tk (C#)\bin\Debug\MSGer.tk.exe.config +D:\Z - Norbi cucca\0 Projektek\MSGer.tk\MSGer.tk (C#)\obj\Debug\MSGer.tk.exe +D:\Z - Norbi cucca\0 Projektek\MSGer.tk\MSGer.tk (C#)\obj\Debug\MSGer.tk.pdb +D:\Z - Norbi cucca\0 Projektek\MSGer.tk\MSGer.tk (C#)\bin\Debug\MSGer.tk.exe +D:\Z - Norbi cucca\0 Projektek\MSGer.tk\MSGer.tk (C#)\bin\Debug\MSGer.tk.pdb +D:\Z - Norbi cucca\0 Projektek\MSGer.tk\MSGer.tk (C#)\obj\Debug\MSGer.tk.MainForm.resources +D:\Z - Norbi cucca\0 Projektek\MSGer.tk\MSGer.tk (C#)\obj\Debug\MSGer.tk.LoginForm.resources +D:\Z - Norbi cucca\0 Projektek\MSGer.tk\MSGer.tk (C#)\obj\Debug\MSGer.tk.Properties.Resources.resources +D:\Z - Norbi cucca\0 Projektek\MSGer.tk\MSGer.tk (C#)\obj\Debug\MSGer.tk.csproj.GenerateResource.Cache +D:\Z - Norbi cucca\0 Projektek\MSGer.tk\MSGer.tk (C#)\obj\Debug\MSGer.tk.csprojResolveAssemblyReference.cache +D:\Z - Norbi cucca\0 Projektek\MSGer.tk\MSGer.tk (C#)\bin\Debug\GlacialList.dll +D:\Z - Norbi cucca\0 Projektek\MSGer.tk\MSGer.tk (C#)\bin\Debug\GlacialList.pdb +D:\Z - Norbi cucca\0 Projektek\MSGer.tk\MSGer.tk (C#)\obj\Debug\MSGer.tk.SelectPartnerForm.resources +D:\Z - Norbi cucca\0 Projektek\MSGer.tk\MSGer.tk (C#)\bin\Debug\Khendys.Controls.ExRichTextBox.dll +D:\Z - Norbi cucca\0 Projektek\MSGer.tk\MSGer.tk (C#)\bin\Debug\Khendys.Controls.ExRichTextBox.pdb +D:\Z - Norbi cucca\0 Projektek\MSGer.tk\MSGer.tk (C#)\obj\Debug\MSGer.tk.ChatForm.resources +D:\Z - Norbi cucca\0 Projektek\MSGer.tk\MSGer.tk (C#)\obj\Debug\MSGer.tk.LoginForm_RegistrationForm.resources +D:\Z - Norbi cucca\0 Projektek\MSGer.tk\MSGer.tk (C#)\obj\Debug\MSGer.tk.InvitePartner.resources diff --git a/Most Closed Beta/v6.0/MSGer.tk (C#)/obj/Debug/MSGer.tk.csproj.GenerateResource.Cache b/Most Closed Beta/v6.0/MSGer.tk (C#)/obj/Debug/MSGer.tk.csproj.GenerateResource.Cache new file mode 100644 index 0000000..73f6e62 Binary files /dev/null and b/Most Closed Beta/v6.0/MSGer.tk (C#)/obj/Debug/MSGer.tk.csproj.GenerateResource.Cache differ diff --git a/Most Closed Beta/v6.0/MSGer.tk (C#)/obj/Debug/MSGer.tk.csprojResolveAssemblyReference.cache b/Most Closed Beta/v6.0/MSGer.tk (C#)/obj/Debug/MSGer.tk.csprojResolveAssemblyReference.cache new file mode 100644 index 0000000..ac76ae5 Binary files /dev/null and b/Most Closed Beta/v6.0/MSGer.tk (C#)/obj/Debug/MSGer.tk.csprojResolveAssemblyReference.cache differ diff --git a/Most Closed Beta/v6.0/MSGer.tk (C#)/obj/Debug/MSGer.tk.exe b/Most Closed Beta/v6.0/MSGer.tk (C#)/obj/Debug/MSGer.tk.exe new file mode 100644 index 0000000..fad76d2 Binary files /dev/null and b/Most Closed Beta/v6.0/MSGer.tk (C#)/obj/Debug/MSGer.tk.exe differ diff --git a/Most Closed Beta/v6.0/MSGer.tk (C#)/obj/Debug/MSGer.tk.pdb b/Most Closed Beta/v6.0/MSGer.tk (C#)/obj/Debug/MSGer.tk.pdb new file mode 100644 index 0000000..7a4fce2 Binary files /dev/null and b/Most Closed Beta/v6.0/MSGer.tk (C#)/obj/Debug/MSGer.tk.pdb differ diff --git a/Most Closed Beta/v6.0/MSGer.tk (C#)/obj/Debug/TempPE/Properties.Resources.Designer.cs.dll b/Most Closed Beta/v6.0/MSGer.tk (C#)/obj/Debug/TempPE/Properties.Resources.Designer.cs.dll new file mode 100644 index 0000000..8bbac29 Binary files /dev/null and b/Most Closed Beta/v6.0/MSGer.tk (C#)/obj/Debug/TempPE/Properties.Resources.Designer.cs.dll differ diff --git a/Most Closed Beta/v6.0/MSGer.tk (C#)/obj/Debug/TemporaryGeneratedFile_036C0B5B-1481-4323-8D20-8F5ADCB23D92.cs b/Most Closed Beta/v6.0/MSGer.tk (C#)/obj/Debug/TemporaryGeneratedFile_036C0B5B-1481-4323-8D20-8F5ADCB23D92.cs new file mode 100644 index 0000000..e69de29 diff --git a/Most Closed Beta/v6.0/MSGer.tk (C#)/obj/Debug/TemporaryGeneratedFile_5937a670-0e60-4077-877b-f7221da3dda1.cs b/Most Closed Beta/v6.0/MSGer.tk (C#)/obj/Debug/TemporaryGeneratedFile_5937a670-0e60-4077-877b-f7221da3dda1.cs new file mode 100644 index 0000000..e69de29 diff --git a/Most Closed Beta/v6.0/MSGer.tk (C#)/obj/Debug/TemporaryGeneratedFile_E7A71F73-0F8D-4B9B-B56E-8E70B10BC5D3.cs b/Most Closed Beta/v6.0/MSGer.tk (C#)/obj/Debug/TemporaryGeneratedFile_E7A71F73-0F8D-4B9B-B56E-8E70B10BC5D3.cs new file mode 100644 index 0000000..e69de29 diff --git a/Most Closed Beta/v6.0/MSGer.tk (C#)/obj/Release/DesignTimeResolveAssemblyReferences.cache b/Most Closed Beta/v6.0/MSGer.tk (C#)/obj/Release/DesignTimeResolveAssemblyReferences.cache new file mode 100644 index 0000000..37a5636 Binary files /dev/null and b/Most Closed Beta/v6.0/MSGer.tk (C#)/obj/Release/DesignTimeResolveAssemblyReferences.cache differ diff --git a/Most Closed Beta/v6.0/MSGer.tk (C#)/obj/Release/DesignTimeResolveAssemblyReferencesInput.cache b/Most Closed Beta/v6.0/MSGer.tk (C#)/obj/Release/DesignTimeResolveAssemblyReferencesInput.cache new file mode 100644 index 0000000..4663684 Binary files /dev/null and b/Most Closed Beta/v6.0/MSGer.tk (C#)/obj/Release/DesignTimeResolveAssemblyReferencesInput.cache differ diff --git a/Most Closed Beta/v6.0/MSGer.tk (C#)/obj/Release/MSGer.tk.LoginForm.resources b/Most Closed Beta/v6.0/MSGer.tk (C#)/obj/Release/MSGer.tk.LoginForm.resources new file mode 100644 index 0000000..6c05a97 Binary files /dev/null and b/Most Closed Beta/v6.0/MSGer.tk (C#)/obj/Release/MSGer.tk.LoginForm.resources differ diff --git a/Most Closed Beta/v6.0/MSGer.tk (C#)/obj/Release/MSGer.tk.MainForm.resources b/Most Closed Beta/v6.0/MSGer.tk (C#)/obj/Release/MSGer.tk.MainForm.resources new file mode 100644 index 0000000..6c05a97 Binary files /dev/null and b/Most Closed Beta/v6.0/MSGer.tk (C#)/obj/Release/MSGer.tk.MainForm.resources differ diff --git a/Most Closed Beta/v6.0/MSGer.tk (C#)/obj/Release/MSGer.tk.Properties.Resources.resources b/Most Closed Beta/v6.0/MSGer.tk (C#)/obj/Release/MSGer.tk.Properties.Resources.resources new file mode 100644 index 0000000..6c05a97 Binary files /dev/null and b/Most Closed Beta/v6.0/MSGer.tk (C#)/obj/Release/MSGer.tk.Properties.Resources.resources differ diff --git a/Most Closed Beta/v6.0/MSGer.tk (C#)/obj/Release/MSGer.tk.csproj.FileListAbsolute.txt b/Most Closed Beta/v6.0/MSGer.tk (C#)/obj/Release/MSGer.tk.csproj.FileListAbsolute.txt new file mode 100644 index 0000000..b7b0098 --- /dev/null +++ b/Most Closed Beta/v6.0/MSGer.tk (C#)/obj/Release/MSGer.tk.csproj.FileListAbsolute.txt @@ -0,0 +1,9 @@ +D:\Z - Norbi cucca\0 Projektek\MSGer.tk\MSGer.tk\bin\Release\MSGer.tk.exe.config +D:\Z - Norbi cucca\0 Projektek\MSGer.tk\MSGer.tk\bin\Release\MSGer.tk.exe +D:\Z - Norbi cucca\0 Projektek\MSGer.tk\MSGer.tk\bin\Release\MSGer.tk.pdb +D:\Z - Norbi cucca\0 Projektek\MSGer.tk\MSGer.tk\obj\Release\MSGer.tk.MainForm.resources +D:\Z - Norbi cucca\0 Projektek\MSGer.tk\MSGer.tk\obj\Release\MSGer.tk.LoginForm.resources +D:\Z - Norbi cucca\0 Projektek\MSGer.tk\MSGer.tk\obj\Release\MSGer.tk.Properties.Resources.resources +D:\Z - Norbi cucca\0 Projektek\MSGer.tk\MSGer.tk\obj\Release\MSGer.tk.csproj.GenerateResource.Cache +D:\Z - Norbi cucca\0 Projektek\MSGer.tk\MSGer.tk\obj\Release\MSGer.tk.exe +D:\Z - Norbi cucca\0 Projektek\MSGer.tk\MSGer.tk\obj\Release\MSGer.tk.pdb diff --git a/Most Closed Beta/v6.0/MSGer.tk (C#)/obj/Release/MSGer.tk.csproj.GenerateResource.Cache b/Most Closed Beta/v6.0/MSGer.tk (C#)/obj/Release/MSGer.tk.csproj.GenerateResource.Cache new file mode 100644 index 0000000..ad1861f Binary files /dev/null and b/Most Closed Beta/v6.0/MSGer.tk (C#)/obj/Release/MSGer.tk.csproj.GenerateResource.Cache differ diff --git a/Most Closed Beta/v6.0/MSGer.tk (C#)/obj/Release/MSGer.tk.exe b/Most Closed Beta/v6.0/MSGer.tk (C#)/obj/Release/MSGer.tk.exe new file mode 100644 index 0000000..ba5712d Binary files /dev/null and b/Most Closed Beta/v6.0/MSGer.tk (C#)/obj/Release/MSGer.tk.exe differ diff --git a/Most Closed Beta/v6.0/MSGer.tk (C#)/obj/Release/MSGer.tk.pdb b/Most Closed Beta/v6.0/MSGer.tk (C#)/obj/Release/MSGer.tk.pdb new file mode 100644 index 0000000..0f86b2a Binary files /dev/null and b/Most Closed Beta/v6.0/MSGer.tk (C#)/obj/Release/MSGer.tk.pdb differ diff --git a/Most Closed Beta/v6.0/MSGer.tk (C#)/obj/Release/TemporaryGeneratedFile_036C0B5B-1481-4323-8D20-8F5ADCB23D92.cs b/Most Closed Beta/v6.0/MSGer.tk (C#)/obj/Release/TemporaryGeneratedFile_036C0B5B-1481-4323-8D20-8F5ADCB23D92.cs new file mode 100644 index 0000000..e69de29 diff --git a/Most Closed Beta/v6.0/MSGer.tk (C#)/obj/Release/TemporaryGeneratedFile_5937a670-0e60-4077-877b-f7221da3dda1.cs b/Most Closed Beta/v6.0/MSGer.tk (C#)/obj/Release/TemporaryGeneratedFile_5937a670-0e60-4077-877b-f7221da3dda1.cs new file mode 100644 index 0000000..e69de29 diff --git a/Most Closed Beta/v6.0/MSGer.tk (C#)/obj/Release/TemporaryGeneratedFile_E7A71F73-0F8D-4B9B-B56E-8E70B10BC5D3.cs b/Most Closed Beta/v6.0/MSGer.tk (C#)/obj/Release/TemporaryGeneratedFile_E7A71F73-0F8D-4B9B-B56E-8E70B10BC5D3.cs new file mode 100644 index 0000000..e69de29 diff --git a/Most Closed Beta/v7.0/Changelog.txt b/Most Closed Beta/v7.0/Changelog.txt new file mode 100644 index 0000000..876d319 --- /dev/null +++ b/Most Closed Beta/v7.0/Changelog.txt @@ -0,0 +1,18 @@ +v7.0 - 2014.03.19., 21., (s valamikor kztte is) 31., 04.02. +---- +- zenetfrissit thread +-- Chatablakonknt egy-egy thread +- Chatablak folytatva +-- Ha nem ir be zenetet, nem kldi el +- A partner kivlasztsa mkdik +- Tmbk talakitva listkk: csak annyi helyet hasznlnak, amennyi szksges, s nincs korlt (eddig 1024-re llitottam) +- A beszlgetablak most mr kpes tbb emberes beszlgets ltrehozsra is (csak a httrben, vizulisan mg nem lthat) +- Bejelentkezskori hibakezels javitva: Most mr bontja a kapcsolatot, ha a Mgse gombra kattintunk (eddig vrni kellett, hogy feladja) +- A bejelentkezablak bezrsakor rendesen lell +- Bejelentkezs kzben kikapcsolja a regisztrcilinket +- A regisztrci Enterrel is elvgezhet (nem csak a gombra kattintva) +- Hosztvlts (000webhost.com --> hostinger.hu) +-- Gyorsabb FTP, remlhetleg nem lesznek folyamatos IP-vltozsok +-- Most mr nem szksges automatikusan odairt HTML-kdok trlsre +-- Regisztrloldal eltvolitva - Meghivtam sajt magam az IAMTHEADMIN kddal +- Most mr megjegyzi az sszes eddigi bejelentkezett E-mail-t, ezeltt csak a legutbbit rizte meg diff --git a/Most Closed Beta/v7.0/Character Sets - Character Encoding Issues [Web Application Component Toolkit].url b/Most Closed Beta/v7.0/Character Sets - Character Encoding Issues [Web Application Component Toolkit].url new file mode 100644 index 0000000..42c95df --- /dev/null +++ b/Most Closed Beta/v7.0/Character Sets - Character Encoding Issues [Web Application Component Toolkit].url @@ -0,0 +1,2 @@ +[InternetShortcut] +URL=http://www.phpwact.org/php/i18n/charsets diff --git a/Most Closed Beta/v7.0/MSGer.tk (C#)/App.config b/Most Closed Beta/v7.0/MSGer.tk (C#)/App.config new file mode 100644 index 0000000..484ca80 --- /dev/null +++ b/Most Closed Beta/v7.0/MSGer.tk (C#)/App.config @@ -0,0 +1,21 @@ + + + + +
+ + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/Most Closed Beta/v7.0/MSGer.tk (C#)/ChatForm.Designer.cs b/Most Closed Beta/v7.0/MSGer.tk (C#)/ChatForm.Designer.cs new file mode 100644 index 0000000..3baff8d --- /dev/null +++ b/Most Closed Beta/v7.0/MSGer.tk (C#)/ChatForm.Designer.cs @@ -0,0 +1,146 @@ +namespace MSGer.tk +{ + partial class ChatForm + { + /// + /// Required designer variable. + /// + private System.ComponentModel.IContainer components = null; + + /// + /// Clean up any resources being used. + /// + /// true if managed resources should be disposed; otherwise, false. + protected override void Dispose(bool disposing) + { + if (disposing && (components != null)) + { + components.Dispose(); + } + base.Dispose(disposing); + } + + #region Windows Form Designer generated code + + /// + /// Required method for Designer support - do not modify + /// the contents of this method with the code editor. + /// + private void InitializeComponent() + { + this.messageTextBox = new Khendys.Controls.ExRichTextBox(); + this.recentMsgTextBox = new Khendys.Controls.ExRichTextBox(); + this.panel1 = new System.Windows.Forms.Panel(); + this.panel2 = new System.Windows.Forms.Panel(); + this.partnerMsg = new System.Windows.Forms.Label(); + this.partnerName = new System.Windows.Forms.Label(); + this.panel2.SuspendLayout(); + this.SuspendLayout(); + // + // messageTextBox + // + this.messageTextBox.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left) + | System.Windows.Forms.AnchorStyles.Right))); + this.messageTextBox.BackColor = System.Drawing.Color.White; + this.messageTextBox.BorderStyle = System.Windows.Forms.BorderStyle.None; + this.messageTextBox.DetectUrls = false; + this.messageTextBox.ForeColor = System.Drawing.Color.Black; + this.messageTextBox.HiglightColor = Khendys.Controls.RtfColor.White; + this.messageTextBox.Location = new System.Drawing.Point(147, 310); + this.messageTextBox.Name = "messageTextBox"; + this.messageTextBox.ScrollBars = System.Windows.Forms.RichTextBoxScrollBars.Vertical; + this.messageTextBox.Size = new System.Drawing.Size(418, 75); + this.messageTextBox.TabIndex = 0; + this.messageTextBox.Text = ""; + this.messageTextBox.TextColor = Khendys.Controls.RtfColor.Black; + this.messageTextBox.TextChanged += new System.EventHandler(this.MessageTextChanged); + this.messageTextBox.KeyDown += new System.Windows.Forms.KeyEventHandler(this.SendMessage); + // + // recentMsgTextBox + // + this.recentMsgTextBox.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.recentMsgTextBox.BackColor = System.Drawing.Color.White; + this.recentMsgTextBox.BorderStyle = System.Windows.Forms.BorderStyle.None; + this.recentMsgTextBox.ForeColor = System.Drawing.Color.Black; + this.recentMsgTextBox.HiglightColor = Khendys.Controls.RtfColor.White; + this.recentMsgTextBox.Location = new System.Drawing.Point(147, 76); + this.recentMsgTextBox.Name = "recentMsgTextBox"; + this.recentMsgTextBox.ReadOnly = true; + this.recentMsgTextBox.ScrollBars = System.Windows.Forms.RichTextBoxScrollBars.Vertical; + this.recentMsgTextBox.Size = new System.Drawing.Size(418, 228); + this.recentMsgTextBox.TabIndex = 1; + this.recentMsgTextBox.Text = ""; + this.recentMsgTextBox.TextColor = Khendys.Controls.RtfColor.Black; + this.recentMsgTextBox.LinkClicked += new System.Windows.Forms.LinkClickedEventHandler(this.OpenLink); + // + // panel1 + // + this.panel1.Dock = System.Windows.Forms.DockStyle.Left; + this.panel1.Location = new System.Drawing.Point(0, 0); + this.panel1.Name = "panel1"; + this.panel1.Size = new System.Drawing.Size(141, 422); + this.panel1.TabIndex = 3; + // + // panel2 + // + this.panel2.Controls.Add(this.partnerMsg); + this.panel2.Controls.Add(this.partnerName); + this.panel2.Dock = System.Windows.Forms.DockStyle.Top; + this.panel2.Location = new System.Drawing.Point(141, 0); + this.panel2.Name = "panel2"; + this.panel2.Size = new System.Drawing.Size(423, 70); + this.panel2.TabIndex = 4; + // + // partnerMsg + // + this.partnerMsg.AutoSize = true; + this.partnerMsg.ForeColor = System.Drawing.Color.Black; + this.partnerMsg.Location = new System.Drawing.Point(9, 38); + this.partnerMsg.Name = "partnerMsg"; + this.partnerMsg.Size = new System.Drawing.Size(60, 13); + this.partnerMsg.TabIndex = 1; + this.partnerMsg.Text = "partnerMsg"; + // + // partnerName + // + this.partnerName.AutoSize = true; + this.partnerName.Font = new System.Drawing.Font("Microsoft Sans Serif", 15.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(238))); + this.partnerName.ForeColor = System.Drawing.Color.Black; + this.partnerName.Location = new System.Drawing.Point(7, 13); + this.partnerName.Name = "partnerName"; + this.partnerName.Size = new System.Drawing.Size(136, 25); + this.partnerName.TabIndex = 0; + this.partnerName.Text = "partnerName"; + // + // ChatForm + // + this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F); + this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; + this.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(150)))), ((int)(((byte)(200))))); + this.ClientSize = new System.Drawing.Size(564, 422); + this.Controls.Add(this.panel2); + this.Controls.Add(this.panel1); + this.Controls.Add(this.recentMsgTextBox); + this.Controls.Add(this.messageTextBox); + this.Name = "ChatForm"; + this.Text = "Beszélgetés"; + this.FormClosing += new System.Windows.Forms.FormClosingEventHandler(this.ChatForm_FormClosing); + this.Load += new System.EventHandler(this.ChatForm_Load); + this.panel2.ResumeLayout(false); + this.panel2.PerformLayout(); + this.ResumeLayout(false); + + } + + #endregion + + private Khendys.Controls.ExRichTextBox messageTextBox; + private Khendys.Controls.ExRichTextBox recentMsgTextBox; + private System.Windows.Forms.Panel panel1; + private System.Windows.Forms.Panel panel2; + private System.Windows.Forms.Label partnerMsg; + private System.Windows.Forms.Label partnerName; + } +} \ No newline at end of file diff --git a/Most Closed Beta/v7.0/MSGer.tk (C#)/ChatForm.cs b/Most Closed Beta/v7.0/MSGer.tk (C#)/ChatForm.cs new file mode 100644 index 0000000..f281463 --- /dev/null +++ b/Most Closed Beta/v7.0/MSGer.tk (C#)/ChatForm.cs @@ -0,0 +1,173 @@ +using System; +using System.Collections.Generic; +using System.ComponentModel; +using System.Data; +using System.Diagnostics; +using System.Drawing; +using System.Linq; +using System.Text; +using System.Threading; +using System.Threading.Tasks; +using System.Windows.Forms; + +namespace MSGer.tk +{ + public partial class ChatForm : Form + {/* 2014.03.07. A partnerinformáció birtokolja a chatablakot, és nem forditva; bár a partnerinformáció indexszáma változhat + public int ChatPartner + { + get; + set; + }*/ + //public int ChatPartner = -1; //Csak kell, a könnyebb kezelésért + //public int[] MultiChat = new int[1024]; + //public static ChatForm[] ChatWindows=new ChatForm[1024]; + public static List ChatWindows = new List(); + public List ChatPartners = new List(); + public List PendingMessages = new List(); + public int LastCheck = 0; + public Thread UpdateT; + public ChatForm() + { + InitializeComponent(); + //Amint létrehozom, ez a kód lefut - Nem számit, hogy megjelenik-e + } + + private void ChatForm_Load(object sender, EventArgs e) + { + //MessageBox.Show(ChatPartner + ""); + //ChatPartner = 2; + //MessageBox.Show(ChatPartner + ""); + /* + for (int i = 0; i < UserInfo.Partners.Length; i++) + { + if(UserInfo.Partners[i]!=null && UserInfo.Partners[i].ChatWindow==this) + { + ChatPartner = i; + break; + } + }*/ + /*if (ChatPartner == -1) + MessageBox.Show("Hiba: Az ablakot létrehozó partner nem található.");*/ + if (ChatPartners.Count == 0) + MessageBox.Show("Hiba: Az ablakot létrehozó partner nem található."); + if (ChatPartners.Count == 1) + { + //MessageBox.Show("ChatPartner: " + ChatPartners[0]); + partnerName.Text = UserInfo.Partners[ChatPartners[0]].Name; + partnerMsg.Text = UserInfo.Partners[ChatPartners[0]].Message; + UpdateT = new Thread(new ThreadStart(UpdateMessages)); + UpdateT.Name = "Message Update Thread (" + partnerName.Text + ")"; + UpdateT.Start(); + } + } + + private void SendMessage(object sender, KeyEventArgs e) + { + if (e.KeyCode != Keys.Enter || e.Shift || messageTextBox.Text.Length==0) + return; + messageTextBox.ReadOnly = true; + //Networking.SendRequest("sendmessage", messageTextBox.Text, 2); //Még nincs kész a PHP - 2014.03.08. 0:01 + /* + * 2014.03.08. 0:03 + * A fenti kódra válaszul a másik felhasználó esetleges új válaszát is irja be; tehát frissitse az üzeneteket + * Az üzenetellenőrző thread folyamatosan fusson, amint végrehajtotta a parancsokat, kezdje újra (nincs Thread.Sleep) + * + * 2014.03.19. + * Csinálja úgy, mint a képeknél, hogy a legutóbbi üzenetlekérés dátumához igazodjon, és csak a legújabb üzeneteket + * töltse le + */ + //recentMsgTextBox.AppendText("Üzenet:\n"); + //recentMsgTextBox.AppendText(messageTextBox.Text + "\n"); + PendingMessages.Add(messageTextBox.Text); + messageTextBox.Focus(); + messageTextBox.Text = ""; + messageTextBox.ReadOnly = false; + } + + private void MessageTextChanged(object sender, EventArgs e) + { + if (messageTextBox.Text == "\n") + messageTextBox.Text = ""; + } + + private void OpenLink(object sender, LinkClickedEventArgs e) + { + Process.Start(e.LinkText); + } + public void UpdateMessages() + { + /* + * 2014.03.21. + * updatemessages: küldje el, hogy mikor kapott utoljára üzenetet ÉS az új üzeneteket, + * a szerver pedig először válaszoljon a szerinte aktuális időponttal, + * majd küldje el az annál újabb üzeneteket + * getrecentmessages: ezt csak önmagában küldje, + * a szerver pedig válaszoljon a legutóbbi x üzenettel, + * ahol x egy beállitható szám (alapból 10) + * ---- + * Az új üzeneteket egy listában tárolja, majd amikor továbbitja őket, törölje a listából fokozatosan + * (ahogy összeállitja a karakterláncot, mindig törölje azt az üzenetet a listából + */ + //while(UserInfo.Partners[ChatPartner].ChatWindow.IsDisposed && MainForm.MainThread.IsAlive) + while (!ChatForm.ChatWindows[ChatPartners[0]].IsDisposed && MainForm.MainThread.IsAlive) + { + /*MessageBox.Show(String.Concat(PendingMessages.ToArray())); + PendingMessages.Clear();*/ + //Thread.Sleep(2000); + string tmpstring = ""; + tmpstring += LastCheck + "ͦ"; + for (int i = 0; i < ChatPartners.Count; i++) + { + tmpstring += ChatPartners[i]; + if (i + 1 < ChatPartners.Count) + tmpstring += ","; //Több emberrel is beszélhet + } + tmpstring += "ͦ"; //2014.03.27. + //int count = PendingMessages.Count; //Külön kell tennem, mert máskülönben folyamatosan csökken, és ezért a... Hoppá... While kell... + //for(int i=0; i0) + { + tmpstring += PendingMessages[0] + "ͦ"; //Nem az i-nél tevékenykedik, hanem a 0-nál + PendingMessages.RemoveAt(0); + MessageBox.Show("tmpstring: " + tmpstring); + } + //MessageBox.Show("tmpstring: " + tmpstring); + //MessageBox.Show("Length: " + tmpstring.Length); + //MessageBox.Show("tmpstring encoded: " + Uri.EscapeUriString(tmpstring)); + if(tmpstring.Length>0) + { //Küldje el a lekérést + string[] response = Networking.SendRequest("updatemessages", tmpstring, 2, true).Split('ͦ'); + if (response == null || response.Length == 0 || response[0] == "Fail") + MessageBox.Show("Az üzenetek frissitése sikertelen."); + //0 - Frissitési idő; 1 - Üzenetküldő; 2 - Üzenet; 3 - Üzenetküldés időpontja + if (response[0] != "NoChange") + { + if (Int32.TryParse(response[0], out LastCheck) == false) + { + MessageBox.Show("Hiba:\n" + response[0]); + continue; + } + //LastCheck = Int32.Parse(response[0]); + recentMsgTextBox.AppendText(response[1] + " üzenete (" + response[3] + "):\n" + response[2]); + } + } + } + } + + private void ChatForm_FormClosing(object sender, FormClosingEventArgs e) + { + for(int i=0; i + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + text/microsoft-resx + + + 2.0 + + + System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + \ No newline at end of file diff --git a/Most Closed Beta/v7.0/MSGer.tk (C#)/CurrentUser.cs b/Most Closed Beta/v7.0/MSGer.tk (C#)/CurrentUser.cs new file mode 100644 index 0000000..4aeb535 --- /dev/null +++ b/Most Closed Beta/v7.0/MSGer.tk (C#)/CurrentUser.cs @@ -0,0 +1,20 @@ +using System; +using System.Collections.Generic; +using System.IO; +using System.Linq; +using System.Text; +using System.Threading.Tasks; + +namespace MSGer.tk +{ + public static class CurrentUser + { + /* + * 2014.03.05. + * Információátrendezés: Property-k használata; Minden felhasználóhoz egy-egy User class + * Ez a class használható lenne az aktuális felhsaználó információinak tárolására + */ + public static int UserID = 0; + //public static int[] PartnerIDs = new int[1024]; + } +} diff --git a/Most Closed Beta/v7.0/MSGer.tk (C#)/ErrorHandling.cs b/Most Closed Beta/v7.0/MSGer.tk (C#)/ErrorHandling.cs new file mode 100644 index 0000000..83f535d --- /dev/null +++ b/Most Closed Beta/v7.0/MSGer.tk (C#)/ErrorHandling.cs @@ -0,0 +1,41 @@ +using System; +using System.Collections.Generic; +using System.Linq; +using System.Text; +using System.Threading.Tasks; +using System.Windows.Forms; + +namespace MSGer.tk +{ + class ErrorHandling + { + public static void FormError(Form fname, Exception e) + { + MessageBox.Show(e.GetType().ToString()); + if (fname == Program.MainF) + { + switch (e.GetType().ToString()) + { + case "System.NullReferenceException": + MessageBox.Show("lol"); + break; + default: + MessageBox.Show("Ismeretlen hiba történt (" + e.GetType().ToString() + ")!\n\nForrás: " + e.Source + "\nA hibaüzenet: \n" + e.Message + "\nEnnél a műveletnél: " + e.TargetSite); + break; + } + } + else if(fname==MainForm.LoginDialog) + { + switch (e.GetType().ToString()) + { + case "System.NullReferenceException": + MessageBox.Show("lol"); + break; + default: + MessageBox.Show("Ismeretlen hiba történt (" + e.GetType().ToString() + ")!\n\nForrás: " + e.Source + "\nA hibaüzenet: \n" + e.Message + "\nEnnél a műveletnél: " + e.TargetSite); + break; + } + } + } + } +} diff --git a/Most Closed Beta/v7.0/MSGer.tk (C#)/InvitePartner.Designer.cs b/Most Closed Beta/v7.0/MSGer.tk (C#)/InvitePartner.Designer.cs new file mode 100644 index 0000000..a917272 --- /dev/null +++ b/Most Closed Beta/v7.0/MSGer.tk (C#)/InvitePartner.Designer.cs @@ -0,0 +1,162 @@ +namespace MSGer.tk +{ + partial class InvitePartner + { + /// + /// Required designer variable. + /// + private System.ComponentModel.IContainer components = null; + + /// + /// Clean up any resources being used. + /// + /// true if managed resources should be disposed; otherwise, false. + protected override void Dispose(bool disposing) + { + if (disposing && (components != null)) + { + components.Dispose(); + } + base.Dispose(disposing); + } + + #region Windows Form Designer generated code + + /// + /// Required method for Designer support - do not modify + /// the contents of this method with the code editor. + /// + private void InitializeComponent() + { + this.label1 = new System.Windows.Forms.Label(); + this.label2 = new System.Windows.Forms.Label(); + this.textBox1 = new System.Windows.Forms.TextBox(); + this.listBox1 = new System.Windows.Forms.ListBox(); + this.addbtn = new System.Windows.Forms.Button(); + this.removebtn = new System.Windows.Forms.Button(); + this.copybtn = new System.Windows.Forms.Button(); + this.label3 = new System.Windows.Forms.Label(); + this.SuspendLayout(); + // + // label1 + // + this.label1.AutoSize = true; + this.label1.Font = new System.Drawing.Font("Microsoft Sans Serif", 14.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(238))); + this.label1.ForeColor = System.Drawing.Color.Blue; + this.label1.Location = new System.Drawing.Point(13, 13); + this.label1.Name = "label1"; + this.label1.Size = new System.Drawing.Size(189, 24); + this.label1.TabIndex = 0; + this.label1.Text = "Ismerős meghívása"; + // + // label2 + // + this.label2.AutoSize = true; + this.label2.Font = new System.Drawing.Font("Microsoft Sans Serif", 14.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(238))); + this.label2.Location = new System.Drawing.Point(17, 53); + this.label2.Name = "label2"; + this.label2.Size = new System.Drawing.Size(98, 24); + this.label2.TabIndex = 1; + this.label2.Text = "Letöltőlink:"; + // + // textBox1 + // + this.textBox1.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left) + | System.Windows.Forms.AnchorStyles.Right))); + this.textBox1.BackColor = System.Drawing.Color.White; + this.textBox1.Location = new System.Drawing.Point(21, 90); + this.textBox1.Name = "textBox1"; + this.textBox1.ReadOnly = true; + this.textBox1.Size = new System.Drawing.Size(382, 20); + this.textBox1.TabIndex = 2; + this.textBox1.Text = "http://msger.tk/download.php"; + // + // listBox1 + // + this.listBox1.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.listBox1.BackColor = System.Drawing.Color.White; + this.listBox1.FormattingEnabled = true; + this.listBox1.Location = new System.Drawing.Point(21, 163); + this.listBox1.Name = "listBox1"; + this.listBox1.Size = new System.Drawing.Size(379, 173); + this.listBox1.TabIndex = 6; + // + // addbtn + // + this.addbtn.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left))); + this.addbtn.Location = new System.Drawing.Point(21, 343); + this.addbtn.Name = "addbtn"; + this.addbtn.Size = new System.Drawing.Size(75, 23); + this.addbtn.TabIndex = 7; + this.addbtn.Text = "Hozzáadás"; + this.addbtn.UseVisualStyleBackColor = true; + this.addbtn.Click += new System.EventHandler(this.addbtn_Click); + // + // removebtn + // + this.removebtn.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left))); + this.removebtn.Location = new System.Drawing.Point(102, 343); + this.removebtn.Name = "removebtn"; + this.removebtn.Size = new System.Drawing.Size(75, 23); + this.removebtn.TabIndex = 8; + this.removebtn.Text = "Eltávolítás"; + this.removebtn.UseVisualStyleBackColor = true; + this.removebtn.Click += new System.EventHandler(this.removebtn_Click); + // + // copybtn + // + this.copybtn.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right))); + this.copybtn.Location = new System.Drawing.Point(292, 343); + this.copybtn.Name = "copybtn"; + this.copybtn.Size = new System.Drawing.Size(108, 23); + this.copybtn.TabIndex = 9; + this.copybtn.Text = "Kód másolása"; + this.copybtn.UseVisualStyleBackColor = true; + this.copybtn.Click += new System.EventHandler(this.copybtn_Click); + // + // label3 + // + this.label3.AutoSize = true; + this.label3.Font = new System.Drawing.Font("Microsoft Sans Serif", 14.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(238))); + this.label3.Location = new System.Drawing.Point(17, 125); + this.label3.Name = "label3"; + this.label3.Size = new System.Drawing.Size(64, 24); + this.label3.TabIndex = 10; + this.label3.Text = "Kódok"; + // + // InvitePartner + // + this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F); + this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; + this.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(150)))), ((int)(((byte)(200))))); + this.ClientSize = new System.Drawing.Size(415, 449); + this.Controls.Add(this.label3); + this.Controls.Add(this.copybtn); + this.Controls.Add(this.removebtn); + this.Controls.Add(this.addbtn); + this.Controls.Add(this.listBox1); + this.Controls.Add(this.textBox1); + this.Controls.Add(this.label2); + this.Controls.Add(this.label1); + this.Name = "InvitePartner"; + this.Text = "Ismerős meghivása"; + this.Load += new System.EventHandler(this.InvitePartner_Load); + this.ResumeLayout(false); + this.PerformLayout(); + + } + + #endregion + + private System.Windows.Forms.Label label1; + private System.Windows.Forms.Label label2; + private System.Windows.Forms.TextBox textBox1; + private System.Windows.Forms.ListBox listBox1; + private System.Windows.Forms.Button addbtn; + private System.Windows.Forms.Button removebtn; + private System.Windows.Forms.Button copybtn; + private System.Windows.Forms.Label label3; + } +} \ No newline at end of file diff --git a/Most Closed Beta/v7.0/MSGer.tk (C#)/InvitePartner.cs b/Most Closed Beta/v7.0/MSGer.tk (C#)/InvitePartner.cs new file mode 100644 index 0000000..12b1f99 --- /dev/null +++ b/Most Closed Beta/v7.0/MSGer.tk (C#)/InvitePartner.cs @@ -0,0 +1,72 @@ +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 InvitePartner : Form + { + //string[] Codes=new string[1024]; + List Codes = new List(); + public InvitePartner() + { + InitializeComponent(); + } + + private void InvitePartner_Load(object sender, EventArgs e) + { + RefreshList(); + } + + private void addbtn_Click(object sender, EventArgs e) + { + string res = Networking.SendRequest("addcode", "", 0, true); + if (res.Substring(0, "Fail".Length) == "Fail") + MessageBox.Show("A kódgenerálás sikertelen.\n\n" + res, "Hiba"); + else + RefreshList(); + } + + public void RefreshList() + { + listBox1.Items.Clear(); + string[] response = Networking.SendRequest("getcodes", "", 0, true).Split('ͦ'); + int x = 0; + for (int i = 0; i+1 < response.Length; i += 2) + { + if (Int32.Parse(response[i + 1]) == 1) + listBox1.Items.Add("Elfogadott - " + response[i]); + else if (Int32.Parse(response[i + 1]) == 0) + listBox1.Items.Add("Visszaigazolásra vár - " + response[i]); + else MessageBox.Show("Hiba:\n" + response[i] + "\n" + response[i + 1]); + Codes[x] = response[i]; + x++; + } + } + + private void removebtn_Click(object sender, EventArgs e) + { + if (listBox1.SelectedIndex == -1) + return; + //MessageBox.Show(listBox1.Items[listBox1.SelectedIndex].ToString()); + string res = Networking.SendRequest("remcode", Codes[listBox1.SelectedIndex], 0, true); + if (res.Substring(0, "Fail".Length) == "Fail") + MessageBox.Show("A kód törlése sikertelen.\n\n" + res, "Hiba"); + //else listBox1.Items.Add(res); + else RefreshList(); + } + + private void copybtn_Click(object sender, EventArgs e) + { + if (listBox1.SelectedIndex == -1) + return; + Clipboard.SetText(Codes[listBox1.SelectedIndex]); + } + } +} diff --git a/Most Closed Beta/v7.0/MSGer.tk (C#)/InvitePartner.resx b/Most Closed Beta/v7.0/MSGer.tk (C#)/InvitePartner.resx new file mode 100644 index 0000000..29dcb1b --- /dev/null +++ b/Most Closed Beta/v7.0/MSGer.tk (C#)/InvitePartner.resx @@ -0,0 +1,120 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + text/microsoft-resx + + + 2.0 + + + System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + \ No newline at end of file diff --git a/Most Closed Beta/v7.0/MSGer.tk (C#)/LoginForm.Designer.cs b/Most Closed Beta/v7.0/MSGer.tk (C#)/LoginForm.Designer.cs new file mode 100644 index 0000000..c208db7 --- /dev/null +++ b/Most Closed Beta/v7.0/MSGer.tk (C#)/LoginForm.Designer.cs @@ -0,0 +1,175 @@ +namespace MSGer.tk +{ + partial class LoginForm + { + /// + /// Required designer variable. + /// + private System.ComponentModel.IContainer components = null; + + /// + /// Clean up any resources being used. + /// + /// true if managed resources should be disposed; otherwise, false. + protected override void Dispose(bool disposing) + { + if (disposing && (components != null)) + { + components.Dispose(); + } + base.Dispose(disposing); + } + + #region Windows Form Designer generated code + + /// + /// Required method for Designer support - do not modify + /// the contents of this method with the code editor. + /// + private void InitializeComponent() + { + System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(LoginForm)); + this.label1 = new System.Windows.Forms.Label(); + this.label2 = new System.Windows.Forms.Label(); + this.textBox1 = new System.Windows.Forms.TextBox(); + this.label3 = new System.Windows.Forms.Label(); + this.textBox2 = new System.Windows.Forms.TextBox(); + this.button1 = new System.Windows.Forms.Button(); + this.textBox3 = new System.Windows.Forms.TextBox(); + this.linkLabel1 = new System.Windows.Forms.LinkLabel(); + this.SuspendLayout(); + // + // label1 + // + this.label1.AutoSize = true; + this.label1.Font = new System.Drawing.Font("Microsoft Sans Serif", 21.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(238))); + this.label1.ForeColor = System.Drawing.Color.Blue; + this.label1.Location = new System.Drawing.Point(12, 9); + this.label1.Name = "label1"; + this.label1.Size = new System.Drawing.Size(197, 33); + this.label1.TabIndex = 0; + this.label1.Text = "Bejelentkezés"; + // + // label2 + // + this.label2.AutoSize = true; + this.label2.Font = new System.Drawing.Font("Microsoft Sans Serif", 14.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(238))); + this.label2.Location = new System.Drawing.Point(19, 77); + this.label2.Name = "label2"; + this.label2.Size = new System.Drawing.Size(63, 24); + this.label2.TabIndex = 1; + this.label2.Text = "E-mail"; + // + // textBox1 + // + this.textBox1.AcceptsReturn = true; + this.textBox1.AcceptsTab = true; + this.textBox1.AutoCompleteMode = System.Windows.Forms.AutoCompleteMode.SuggestAppend; + this.textBox1.AutoCompleteSource = System.Windows.Forms.AutoCompleteSource.CustomSource; + this.textBox1.Location = new System.Drawing.Point(88, 80); + this.textBox1.Name = "textBox1"; + this.textBox1.Size = new System.Drawing.Size(294, 20); + this.textBox1.TabIndex = 2; + // + // label3 + // + this.label3.AutoSize = true; + this.label3.Font = new System.Drawing.Font("Microsoft Sans Serif", 14.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(238))); + this.label3.Location = new System.Drawing.Point(19, 106); + this.label3.Name = "label3"; + this.label3.Size = new System.Drawing.Size(63, 24); + this.label3.TabIndex = 3; + this.label3.Text = "Jelszó"; + // + // textBox2 + // + this.textBox2.AcceptsReturn = true; + this.textBox2.AcceptsTab = true; + this.textBox2.Location = new System.Drawing.Point(179, 110); + this.textBox2.Name = "textBox2"; + this.textBox2.PasswordChar = '→'; + this.textBox2.Size = new System.Drawing.Size(203, 20); + this.textBox2.TabIndex = 4; + // + // button1 + // + this.button1.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(238))); + this.button1.Location = new System.Drawing.Point(235, 153); + this.button1.Name = "button1"; + this.button1.Size = new System.Drawing.Size(147, 23); + this.button1.TabIndex = 5; + this.button1.Text = "Bejelentkezés"; + this.button1.UseVisualStyleBackColor = true; + this.button1.Click += new System.EventHandler(this.button1_Click); + // + // textBox3 + // + this.textBox3.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.textBox3.BackColor = System.Drawing.Color.SteelBlue; + this.textBox3.BorderStyle = System.Windows.Forms.BorderStyle.None; + this.textBox3.ForeColor = System.Drawing.Color.White; + this.textBox3.Location = new System.Drawing.Point(13, 198); + this.textBox3.Multiline = true; + this.textBox3.Name = "textBox3"; + this.textBox3.ReadOnly = true; + this.textBox3.Size = new System.Drawing.Size(369, 261); + this.textBox3.TabIndex = 6; + this.textBox3.Text = resources.GetString("textBox3.Text"); + this.textBox3.TextAlign = System.Windows.Forms.HorizontalAlignment.Center; + // + // linkLabel1 + // + this.linkLabel1.AutoSize = true; + this.linkLabel1.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(238))); + this.linkLabel1.LinkBehavior = System.Windows.Forms.LinkBehavior.HoverUnderline; + this.linkLabel1.LinkColor = System.Drawing.Color.Blue; + this.linkLabel1.Location = new System.Drawing.Point(23, 162); + this.linkLabel1.Name = "linkLabel1"; + this.linkLabel1.Size = new System.Drawing.Size(77, 13); + this.linkLabel1.TabIndex = 7; + this.linkLabel1.TabStop = true; + this.linkLabel1.Text = "Regisztráció"; + this.linkLabel1.VisitedLinkColor = System.Drawing.Color.Blue; + this.linkLabel1.LinkClicked += new System.Windows.Forms.LinkLabelLinkClickedEventHandler(this.RegistrateLink); + // + // LoginForm + // + this.AcceptButton = this.button1; + this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F); + this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; + this.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(150)))), ((int)(((byte)(200))))); + this.ClientSize = new System.Drawing.Size(394, 471); + this.Controls.Add(this.linkLabel1); + this.Controls.Add(this.textBox3); + this.Controls.Add(this.button1); + this.Controls.Add(this.textBox2); + this.Controls.Add(this.label3); + this.Controls.Add(this.textBox1); + this.Controls.Add(this.label2); + this.Controls.Add(this.label1); + this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedDialog; + this.MaximizeBox = false; + this.Name = "LoginForm"; + this.Opacity = 0.9D; + this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen; + this.Text = "Bejelentkezés"; + this.FormClosing += new System.Windows.Forms.FormClosingEventHandler(this.LoginForm_FormClosing); + this.ResumeLayout(false); + this.PerformLayout(); + + } + + #endregion + + private System.Windows.Forms.Label label1; + private System.Windows.Forms.Label label2; + private System.Windows.Forms.TextBox textBox1; + private System.Windows.Forms.Label label3; + private System.Windows.Forms.TextBox textBox2; + private System.Windows.Forms.Button button1; + private System.Windows.Forms.TextBox textBox3; + private System.Windows.Forms.LinkLabel linkLabel1; + } +} \ No newline at end of file diff --git a/Most Closed Beta/v7.0/MSGer.tk (C#)/LoginForm.RegistrationForm.Designer.cs b/Most Closed Beta/v7.0/MSGer.tk (C#)/LoginForm.RegistrationForm.Designer.cs new file mode 100644 index 0000000..6bfb4b3 --- /dev/null +++ b/Most Closed Beta/v7.0/MSGer.tk (C#)/LoginForm.RegistrationForm.Designer.cs @@ -0,0 +1,176 @@ +namespace MSGer.tk +{ + partial class LoginForm_RegistrationForm + { + /// + /// Required designer variable. + /// + private System.ComponentModel.IContainer components = null; + + /// + /// Clean up any resources being used. + /// + /// true if managed resources should be disposed; otherwise, false. + protected override void Dispose(bool disposing) + { + if (disposing && (components != null)) + { + components.Dispose(); + } + base.Dispose(disposing); + } + + #region Windows Form Designer generated code + + /// + /// Required method for Designer support - do not modify + /// the contents of this method with the code editor. + /// + private void InitializeComponent() + { + this.label1 = new System.Windows.Forms.Label(); + this.label2 = new System.Windows.Forms.Label(); + this.label3 = new System.Windows.Forms.Label(); + this.label4 = new System.Windows.Forms.Label(); + this.label5 = new System.Windows.Forms.Label(); + this.codeText = new System.Windows.Forms.TextBox(); + this.userText = new System.Windows.Forms.TextBox(); + this.passText = new System.Windows.Forms.TextBox(); + this.emailText = new System.Windows.Forms.TextBox(); + this.registerButton = new System.Windows.Forms.Button(); + this.SuspendLayout(); + // + // label1 + // + this.label1.AutoSize = true; + this.label1.Font = new System.Drawing.Font("Microsoft Sans Serif", 14.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(238))); + this.label1.ForeColor = System.Drawing.Color.Blue; + this.label1.Location = new System.Drawing.Point(13, 13); + this.label1.Name = "label1"; + this.label1.Size = new System.Drawing.Size(124, 24); + this.label1.TabIndex = 0; + this.label1.Text = "Regisztráció"; + // + // label2 + // + this.label2.AutoSize = true; + this.label2.Font = new System.Drawing.Font("Microsoft Sans Serif", 14.25F); + this.label2.Location = new System.Drawing.Point(17, 58); + this.label2.Name = "label2"; + this.label2.Size = new System.Drawing.Size(44, 24); + this.label2.TabIndex = 1; + this.label2.Text = "Kód"; + // + // label3 + // + this.label3.AutoSize = true; + this.label3.Font = new System.Drawing.Font("Microsoft Sans Serif", 14.25F); + this.label3.Location = new System.Drawing.Point(17, 92); + this.label3.Name = "label3"; + this.label3.Size = new System.Drawing.Size(143, 24); + this.label3.TabIndex = 2; + this.label3.Text = "Felhasználónév"; + // + // label4 + // + this.label4.AutoSize = true; + this.label4.Font = new System.Drawing.Font("Microsoft Sans Serif", 14.25F); + this.label4.Location = new System.Drawing.Point(17, 125); + this.label4.Name = "label4"; + this.label4.Size = new System.Drawing.Size(63, 24); + this.label4.TabIndex = 3; + this.label4.Text = "Jelszó"; + // + // label5 + // + this.label5.AutoSize = true; + this.label5.Font = new System.Drawing.Font("Microsoft Sans Serif", 14.25F); + this.label5.Location = new System.Drawing.Point(17, 160); + this.label5.Name = "label5"; + this.label5.Size = new System.Drawing.Size(63, 24); + this.label5.TabIndex = 4; + this.label5.Text = "E-mail"; + // + // codeText + // + this.codeText.Location = new System.Drawing.Point(86, 63); + this.codeText.Name = "codeText"; + this.codeText.Size = new System.Drawing.Size(358, 20); + this.codeText.TabIndex = 6; + // + // userText + // + this.userText.Location = new System.Drawing.Point(166, 97); + this.userText.Name = "userText"; + this.userText.Size = new System.Drawing.Size(278, 20); + this.userText.TabIndex = 7; + // + // passText + // + this.passText.Location = new System.Drawing.Point(166, 130); + this.passText.Name = "passText"; + this.passText.PasswordChar = '→'; + this.passText.Size = new System.Drawing.Size(278, 20); + this.passText.TabIndex = 8; + // + // emailText + // + this.emailText.Location = new System.Drawing.Point(86, 165); + this.emailText.Name = "emailText"; + this.emailText.Size = new System.Drawing.Size(358, 20); + this.emailText.TabIndex = 9; + // + // registerButton + // + this.registerButton.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(238))); + this.registerButton.Location = new System.Drawing.Point(17, 220); + this.registerButton.Name = "registerButton"; + this.registerButton.Size = new System.Drawing.Size(427, 23); + this.registerButton.TabIndex = 10; + this.registerButton.Text = "Regisztráció"; + this.registerButton.UseVisualStyleBackColor = true; + this.registerButton.Click += new System.EventHandler(this.registerButton_Click); + // + // LoginForm_RegistrationForm + // + this.AcceptButton = this.registerButton; + this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F); + this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; + this.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(150)))), ((int)(((byte)(200))))); + this.ClientSize = new System.Drawing.Size(469, 356); + this.Controls.Add(this.registerButton); + this.Controls.Add(this.emailText); + this.Controls.Add(this.passText); + this.Controls.Add(this.userText); + this.Controls.Add(this.codeText); + this.Controls.Add(this.label5); + this.Controls.Add(this.label4); + this.Controls.Add(this.label3); + this.Controls.Add(this.label2); + this.Controls.Add(this.label1); + this.MaximizeBox = false; + this.MinimizeBox = false; + this.Name = "LoginForm_RegistrationForm"; + this.ShowIcon = false; + this.ShowInTaskbar = false; + this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen; + this.Text = "Regisztráció"; + this.ResumeLayout(false); + this.PerformLayout(); + + } + + #endregion + + private System.Windows.Forms.Label label1; + private System.Windows.Forms.Label label2; + private System.Windows.Forms.Label label3; + private System.Windows.Forms.Label label4; + private System.Windows.Forms.Label label5; + private System.Windows.Forms.TextBox codeText; + private System.Windows.Forms.TextBox userText; + private System.Windows.Forms.TextBox passText; + private System.Windows.Forms.TextBox emailText; + private System.Windows.Forms.Button registerButton; + } +} \ No newline at end of file diff --git a/Most Closed Beta/v7.0/MSGer.tk (C#)/LoginForm.RegistrationForm.cs b/Most Closed Beta/v7.0/MSGer.tk (C#)/LoginForm.RegistrationForm.cs new file mode 100644 index 0000000..327cdcc --- /dev/null +++ b/Most Closed Beta/v7.0/MSGer.tk (C#)/LoginForm.RegistrationForm.cs @@ -0,0 +1,64 @@ +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 LoginForm_RegistrationForm : Form + { + public LoginForm_RegistrationForm() + { + InitializeComponent(); + } + + private void registerButton_Click(object sender, EventArgs e) + { + registerButton.Enabled = false; + if (codeText.TextLength == 0 || userText.TextLength == 0 || passText.TextLength == 0 || emailText.TextLength == 0) + { + MessageBox.Show("Minden mezőt tölts ki.", "Hiba"); + registerButton.Enabled = true; + return; + } + MessageBox.Show(codeText.Text + "ͦ" + userText.Text + "ͦ" + LoginForm.CalculateMD5Hash(passText.Text) + "ͦ" + emailText.Text); + MessageBox.Show(Uri.EscapeUriString(codeText.Text + "ͦ" + userText.Text + "ͦ" + LoginForm.CalculateMD5Hash(passText.Text) + "ͦ" + emailText.Text)); + string response = Networking.SendRequest("register", codeText.Text + "ͦ" + userText.Text + "ͦ" + LoginForm.CalculateMD5Hash(passText.Text) + "ͦ" + emailText.Text, 2, false); + if(response=="code") + { + MessageBox.Show("A megadott kód nem létezik vagy már felhasználták.", "Hiba"); + registerButton.Enabled = true; + } + else if (response == "uname") + { + MessageBox.Show("A felhasználónév már foglalt.", "Hiba"); + registerButton.Enabled = true; + } + else if (response == "ulen") + { + MessageBox.Show("A felhasználónév hossza nem megfelelő. (Min. 4 karakter)", "Hiba"); + registerButton.Enabled = true; + } + else if (response == "plen") + { + MessageBox.Show("A jelszó hossza nem megfelelő. (Min. 6 karakter)", "Hiba"); + registerButton.Enabled = true; + } + else if (response == "Success!") + { + MessageBox.Show("Sikeres regisztráció.\nÜdv a közösségben!"); + Close(); + } + else + { + MessageBox.Show("Ismeretlen hiba:\n" + response); + registerButton.Enabled = true; + } + } + } +} diff --git a/Most Closed Beta/v7.0/MSGer.tk (C#)/LoginForm.RegistrationForm.resx b/Most Closed Beta/v7.0/MSGer.tk (C#)/LoginForm.RegistrationForm.resx new file mode 100644 index 0000000..29dcb1b --- /dev/null +++ b/Most Closed Beta/v7.0/MSGer.tk (C#)/LoginForm.RegistrationForm.resx @@ -0,0 +1,120 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + text/microsoft-resx + + + 2.0 + + + System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + \ No newline at end of file diff --git a/Most Closed Beta/v7.0/MSGer.tk (C#)/LoginForm.cs b/Most Closed Beta/v7.0/MSGer.tk (C#)/LoginForm.cs new file mode 100644 index 0000000..4a1b717 --- /dev/null +++ b/Most Closed Beta/v7.0/MSGer.tk (C#)/LoginForm.cs @@ -0,0 +1,272 @@ +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; +using System.Net; +using System.IO; +using System.Security.Cryptography; +using System.Configuration; +using System.Threading; + +namespace MSGer.tk +{ + public partial class LoginForm : Form + { + public static string UserCode=""; + public static Thread LThread; + public LoginForm() + { + InitializeComponent(); + Thread.CurrentThread.Name = "Main Thread"; + + //textBox1.Text = Settings.Default.email; + /*if (textBox1.TextLength != 0) - Nem is volt hatása itt + { + textBox2.Focus(); + }*/ + List tmp; //E-mail - 2014.04.02. + if (Settings.Default.email.Length != 0) + tmp = Settings.Default.email.Split(',').ToList(); + else tmp = new List(); + textBox1.Text = tmp[0]; + textBox1.AutoCompleteCustomSource.AddRange(tmp.ToArray()); + } + private void button1_Click(object sender, EventArgs e) + { + if(button1.Text=="Mégse") + { + ResetAfterLogin(); + } + else + { + try + { + if (LThread.IsAlive) + { + //MessageBox.Show("Még fut a bejelentkező folyamat. Próbáld újra kb. 10 másodperc múlva.\nEzt a hibát általában szerverhiba okozza. Ilyenkor hiába állitod le a bejelentkezést, az tovább próbálkozik.", "Hiba"); + //2014.03.27. - Ne csináljon semmit - Elvégre ilyen nem fordulhat elő sokáig most már + return; + } + } + catch + { + } + // Create the thread object, passing in the Alpha.Beta method + // via a ThreadStart delegate. This does not start the thread. + LThread = new Thread(new ThreadStart(LoginUser)); + LThread.Name = "Login Thread"; + + // Start the thread + LThread.Start(); + + // Spin for a while waiting for the started thread to become + // alive: + while (!LThread.IsAlive) ; + + // Put the Main thread to sleep for 1 millisecond to allow oThread + // to do some work: + Thread.Sleep(1); + } + } + public delegate int MyDelegate(); + public int SetLoginValues() + { + if (UserText.Length == 0) + UserText = textBox1.Text; + else + textBox1.Text = UserText; + + if (PassText.Length == 0) + PassText = textBox2.Text; + else + textBox2.Text = PassText; + + button1.Text = LButtonText; + linkLabel1.Enabled = RegistLinkEn; //2014.03.27. + if (Closeable) + { + Closeable = false; + Close(); + } + return 0; + } + public int ResetAfterLogin() + { + //StopLogin = true; + Request.Abort(); + button1.Enabled = false; + /*int x = 0; + while (LThread.IsAlive) + { + if (x == 5000) + LThread.Abort(); + else + x++; + }*/ + //StopLogin = false; + button1.Text = "Bejelentkezés"; + button1.Enabled = true; + linkLabel1.Enabled = true; + return 0; + } + public static string UserText = ""; //2014.02.14. + public static string PassText = ""; + public static string LButtonText = ""; + public static bool RegistLinkEn = true; + public static bool Closeable = false; + //public static bool StopLogin = false; + public static HttpWebRequest Request; //2014.03.27. - A megállitáshoz + + public void LoginUser() + { + //Állitson vissza minden változót, hogy újra belerakja az értekeket - 2014.02.28. + UserText = ""; + PassText = ""; + RegistLinkEn = false; //2014.03.27. + LButtonText = "Mégse"; + this.Invoke(new MyDelegate(SetLoginValues)); + + //HttpWebRequest httpWReq = + // (HttpWebRequest)WebRequest.Create("http://msger.tk/client.php"); + HttpWebRequest httpWReq = + (HttpWebRequest)WebRequest.Create("http://msger.url.ph/client.php"); + + Request = httpWReq; //2014.03.27. + + ASCIIEncoding encoding = new ASCIIEncoding(); + string postData = "username=" + UserText; + postData += "&password=" + CalculateMD5Hash(PassText); + postData += "&key=cas1fe4a6feFEFEFE1616CE8099VFE1444cdasf48c1ase5dg"; + byte[] data = encoding.GetBytes(postData); + + httpWReq.Method = "POST"; + httpWReq.ContentType = "application/x-www-form-urlencoded"; + httpWReq.ContentLength = data.Length; + + /*if (StopLogin) + { + StopLogin = false; + return; + }*/ + + try + { + using (Stream stream = httpWReq.GetRequestStream()) + { + stream.Write(data, 0, data.Length); + } + } + catch (WebException e) + { + //if (!StopLogin) + //{ + if (e.Status != WebExceptionStatus.RequestCanceled) + { + MessageBox.Show("Nem sikerült csatlakozni a szerverhez.\n" + e.Message, "Hiba"); + this.Invoke(new MyDelegate(ResetAfterLogin)); + return; + } + else + { + return; + } + //} + } + /*if (StopLogin) + { + StopLogin = false; + return; + }*/ + + //Bejelentkezés folyamatban... + HttpWebResponse response; + try + { + response = (HttpWebResponse)httpWReq.GetResponse(); + } + catch (WebException e) + { + if (e.Status != WebExceptionStatus.RequestCanceled) + { + MessageBox.Show("Nem sikerült csatlakozni a szerverhez.\n" + e.Message, "Hiba"); + this.Invoke(new MyDelegate(ResetAfterLogin)); + return; + } + else + { + return; + } + } + /*if (StopLogin) + { + StopLogin = false; + return; + }*/ + + string responseString = new StreamReader(response.GetResponseStream()).ReadToEnd(); + + try + { + responseString = responseString.Remove(responseString.IndexOf('<')); + } + catch + { + } + + if (String.Compare(responseString, "Fail") == 0) + { + //LButtonText = "Bejelentkezés"; + //this.Invoke(new MyDelegate(SetLoginValues)); + this.Invoke(new MyDelegate(ResetAfterLogin)); + MessageBox.Show("Hiba: Helytelen felhasználónév, vagy jelszó.", "Hiba"); + } + else + { + //Elmenti az E-mail-t + //Settings.Default.email = UserText; + if (!Settings.Default.email.Contains(UserText)) + Settings.Default.email += "," + UserText; + Settings.Default.Save(); + //Bejelentkezés + CurrentUser.UserID = Convert.ToInt32(responseString); //Régebben ezt találtam, most meg az Int32.Parse-t... (2014.04.02.) + LoginForm.UserCode = CalculateMD5Hash(CalculateMD5Hash(PassText).ToLower() + " Some text because why not " + CurrentUser.UserID).ToLower(); + Closeable = true; + this.Invoke(new MyDelegate(SetLoginValues)); + } + } + public static string CalculateMD5Hash(string input) + { + // step 1, calculate MD5 hash from input + MD5 md5 = System.Security.Cryptography.MD5.Create(); + byte[] inputBytes = System.Text.Encoding.ASCII.GetBytes(input); + byte[] hash = md5.ComputeHash(inputBytes); + + // step 2, convert byte array to hex string + StringBuilder sb = new StringBuilder(); + for (int i = 0; i < hash.Length; i++) + { + sb.Append(hash[i].ToString("X2")); + } + return sb.ToString(); + } + + private void RegistrateLink(object sender, LinkLabelLinkClickedEventArgs e) + { + (new LoginForm_RegistrationForm()).ShowDialog(); + } + + private void LoginForm_FormClosing(object sender, FormClosingEventArgs e) + { + if (LThread != null && LThread.IsAlive) + { + LThread.Abort(); //2014.03.27. - Na vajon kell-e más + Request.Abort(); //2014.03.27. - Kell... Ez + } + } + } +} diff --git a/Most Closed Beta/v7.0/MSGer.tk (C#)/LoginForm.resx b/Most Closed Beta/v7.0/MSGer.tk (C#)/LoginForm.resx new file mode 100644 index 0000000..7938e5e --- /dev/null +++ b/Most Closed Beta/v7.0/MSGer.tk (C#)/LoginForm.resx @@ -0,0 +1,125 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + text/microsoft-resx + + + 2.0 + + + System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + Az e-mail helyett használható a felhasználóneved is. + +Ha nem tudsz bejelentkezni, próbáld meg újrainditani a programot. Ha az sem segít, és nem a felhasználóneveddel/jelszavaddal van a probléma, akkor jelentsd a problémát. + + \ No newline at end of file diff --git a/Most Closed Beta/v7.0/MSGer.tk (C#)/MSGer.tk.csproj b/Most Closed Beta/v7.0/MSGer.tk (C#)/MSGer.tk.csproj new file mode 100644 index 0000000..dc60725 --- /dev/null +++ b/Most Closed Beta/v7.0/MSGer.tk (C#)/MSGer.tk.csproj @@ -0,0 +1,178 @@ + + + + + Debug + AnyCPU + {F60940C0-05FC-46C0-948E-6DBECBBE38DD} + WinExe + Properties + MSGer.tk + MSGer.tk + v4.5 + 512 + + + AnyCPU + true + full + false + bin\Debug\ + DEBUG;TRACE + prompt + 4 + + + AnyCPU + pdbonly + true + bin\Release\ + TRACE + prompt + 4 + + + + C:\Users\Norbi\Downloads\GlacialListSource13\ListView\bin\Debug\GlacialList.dll + + + False + C:\Users\Norbi\Downloads\ExRichTextBox_src\ExRichTextBox\bin\Debug\Khendys.Controls.ExRichTextBox.dll + + + + + + + + + + + + + + + + Form + + + ChatForm.cs + + + + + Form + + + InvitePartner.cs + + + Form + + + LoginForm.RegistrationForm.cs + + + Form + + + MainForm.cs + + + Form + + + LoginForm.cs + + + + + True + True + Resources.resx + + + Form + + + SelectPartnerForm.cs + + + + True + True + Settings.settings + + + + ChatForm.cs + + + InvitePartner.cs + + + LoginForm.RegistrationForm.cs + + + MainForm.cs + + + LoginForm.cs + + + ResXFileCodeGenerator + Resources.Designer.cs + + + SelectPartnerForm.cs + + + SettingsSingleFileGenerator + Settings.Designer.cs + + + True + Settings.settings + True + + + SettingsSingleFileGenerator + Settings.Designer.cs + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/Most Closed Beta/v7.0/MSGer.tk (C#)/MSGer.tk.sln b/Most Closed Beta/v7.0/MSGer.tk (C#)/MSGer.tk.sln new file mode 100644 index 0000000..8157d29 --- /dev/null +++ b/Most Closed Beta/v7.0/MSGer.tk (C#)/MSGer.tk.sln @@ -0,0 +1,20 @@ + +Microsoft Visual Studio Solution File, Format Version 12.00 +# Visual Studio Express 2012 for Windows Desktop +Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "MSGer.tk", "MSGer.tk.csproj", "{F60940C0-05FC-46C0-948E-6DBECBBE38DD}" +EndProject +Global + GlobalSection(SolutionConfigurationPlatforms) = preSolution + Debug|Any CPU = Debug|Any CPU + Release|Any CPU = Release|Any CPU + EndGlobalSection + GlobalSection(ProjectConfigurationPlatforms) = postSolution + {F60940C0-05FC-46C0-948E-6DBECBBE38DD}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {F60940C0-05FC-46C0-948E-6DBECBBE38DD}.Debug|Any CPU.Build.0 = Debug|Any CPU + {F60940C0-05FC-46C0-948E-6DBECBBE38DD}.Release|Any CPU.ActiveCfg = Release|Any CPU + {F60940C0-05FC-46C0-948E-6DBECBBE38DD}.Release|Any CPU.Build.0 = Release|Any CPU + EndGlobalSection + GlobalSection(SolutionProperties) = preSolution + HideSolutionNode = FALSE + EndGlobalSection +EndGlobal diff --git a/Most Closed Beta/v7.0/MSGer.tk (C#)/MSGer.tk.v11.suo b/Most Closed Beta/v7.0/MSGer.tk (C#)/MSGer.tk.v11.suo new file mode 100644 index 0000000..88974bf Binary files /dev/null and b/Most Closed Beta/v7.0/MSGer.tk (C#)/MSGer.tk.v11.suo differ diff --git a/Most Closed Beta/v7.0/MSGer.tk (C#)/MSGer.tk.v12.suo b/Most Closed Beta/v7.0/MSGer.tk (C#)/MSGer.tk.v12.suo new file mode 100644 index 0000000..ddcc458 Binary files /dev/null and b/Most Closed Beta/v7.0/MSGer.tk (C#)/MSGer.tk.v12.suo differ diff --git a/Most Closed Beta/v7.0/MSGer.tk (C#)/MainForm.Designer.cs b/Most Closed Beta/v7.0/MSGer.tk (C#)/MainForm.Designer.cs new file mode 100644 index 0000000..3b21bb8 --- /dev/null +++ b/Most Closed Beta/v7.0/MSGer.tk (C#)/MainForm.Designer.cs @@ -0,0 +1,914 @@ +namespace MSGer.tk +{ + partial class MainForm + { + /// + /// Required designer variable. + /// + private System.ComponentModel.IContainer components = null; + + /// + /// Clean up any resources being used. + /// + /// true if managed resources should be disposed; otherwise, false. + protected override void Dispose(bool disposing) + { + if (disposing && (components != null)) + { + components.Dispose(); + } + base.Dispose(disposing); + } + + #region Windows Form Designer generated code + + /// + /// Required method for Designer support - do not modify + /// the contents of this method with the code editor. + /// + private void InitializeComponent() + { + this.components = new System.ComponentModel.Container(); + GlacialComponents.Controls.GLColumn glColumn1 = new GlacialComponents.Controls.GLColumn(); + GlacialComponents.Controls.GLColumn glColumn2 = new GlacialComponents.Controls.GLColumn(); + GlacialComponents.Controls.GLItem glItem1 = new GlacialComponents.Controls.GLItem(); + GlacialComponents.Controls.GLSubItem glSubItem1 = new GlacialComponents.Controls.GLSubItem(); + GlacialComponents.Controls.GLSubItem glSubItem2 = new GlacialComponents.Controls.GLSubItem(); + this.notifyIcon1 = new System.Windows.Forms.NotifyIcon(this.components); + this.button1 = new System.Windows.Forms.Button(); + this.panel2 = new System.Windows.Forms.Panel(); + this.textBox1 = new System.Windows.Forms.TextBox(); + this.panel1 = new System.Windows.Forms.Panel(); + this.menuStrip1 = new System.Windows.Forms.MenuStrip(); + this.fájlToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); + this.kijelentkezésToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); + this.toolStripMenuItem1 = new System.Windows.Forms.ToolStripMenuItem(); + this.toolStripSeparator1 = new System.Windows.Forms.ToolStripSeparator(); + this.állapotToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); + this.elérhetőToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); + this.elfoglaltToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); + this.nincsAGépnélToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); + this.rejtveKapcsolódikToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); + this.toolStripSeparator2 = new System.Windows.Forms.ToolStripSeparator(); + this.fájlKüldéseToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); + this.beérkezettFájlokMappájánakMegnyitásaToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); + this.üzenetekElőzményeinekMegtekintéseToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); + this.toolStripSeparator3 = new System.Windows.Forms.ToolStripSeparator(); + this.bezárásToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); + this.toolStripSeparator4 = new System.Windows.Forms.ToolStripSeparator(); + this.kilépésToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); + this.ismerősökToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); + this.ismerősFelvételeToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); + this.ismerősSzerkesztéseToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); + this.ismerősTörléseToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); + this.toolStripSeparator5 = new System.Windows.Forms.ToolStripSeparator(); + this.csoportLétrehozásaToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); + this.toolStripSeparator6 = new System.Windows.Forms.ToolStripSeparator(); + this.kategóriaLétrehozásaToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); + this.kategóriaSzerkesztéseToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); + this.kategóriaTörléseToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); + this.műveletekToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); + this.azonnaliÜzenetKüldéseToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); + this.egyébKüldéseToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); + this.emailKüldéseToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); + this.fájlKüldéseToolStripMenuItem1 = new System.Windows.Forms.ToolStripMenuItem(); + this.toolStripSeparator7 = new System.Windows.Forms.ToolStripSeparator(); + this.ismerősSzámitógépénekFelhivásaToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); + this.videóhivásInditásaToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); + this.onlineFájlokMegtekintéseToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); + this.közösJátékToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); + this.távsegitségKéréseToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); + this.eszközökToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); + this.mindigLegfelülToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); + this.toolStripSeparator8 = new System.Windows.Forms.ToolStripSeparator(); + this.hangulatjelekToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); + this.megjelenitendőKépVáltásaToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); + this.háttérMódositásaToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); + this.toolStripSeparator9 = new System.Windows.Forms.ToolStripSeparator(); + this.hangokÉsVideóBeállitásaToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); + this.toolStripSeparator10 = new System.Windows.Forms.ToolStripSeparator(); + this.beállitásokToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); + this.súgóToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); + this.témakörökToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); + this.toolStripSeparator11 = new System.Windows.Forms.ToolStripSeparator(); + this.aSzolgáltatásÁllapotsaToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); + this.adatvédelmiNyilatkozatToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); + this.használatiFeltételekToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); + this.visszaélésBejelentéseToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); + this.toolStripSeparator12 = new System.Windows.Forms.ToolStripSeparator(); + this.segitsenAProgramTökéletesitésébenToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); + this.toolStripSeparator13 = new System.Windows.Forms.ToolStripSeparator(); + this.névjegyToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); + this.contactList = new GlacialComponents.Controls.GlacialList(); + this.partnerImages = new System.Windows.Forms.ImageList(this.components); + this.partnerMenu = new System.Windows.Forms.ContextMenuStrip(this.components); + this.üzenetküldésToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); + this.emailKüldéseemailToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); + this.toolStripMenuItem2 = new System.Windows.Forms.ToolStripMenuItem(); + this.információToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); + this.toolStripSeparator14 = new System.Windows.Forms.ToolStripSeparator(); + this.ismerősLetiltásaToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); + this.ismerősTörléseToolStripMenuItem1 = new System.Windows.Forms.ToolStripMenuItem(); + this.toolStripSeparator15 = new System.Windows.Forms.ToolStripSeparator(); + this.becenévSzerkesztéseToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); + this.toolStripSeparator16 = new System.Windows.Forms.ToolStripSeparator(); + this.eseményértesitésekToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); + this.toolStripSeparator17 = new System.Windows.Forms.ToolStripSeparator(); + this.beszélgetésnaplóMegnyitásaToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); + this.toolStripMenuItem3 = new System.Windows.Forms.ToolStripMenuItem(); + this.panel2.SuspendLayout(); + this.menuStrip1.SuspendLayout(); + this.partnerMenu.SuspendLayout(); + this.SuspendLayout(); + // + // notifyIcon1 + // + this.notifyIcon1.Text = "notifyIcon1"; + this.notifyIcon1.Visible = true; + // + // button1 + // + this.button1.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right))); + this.button1.FlatStyle = System.Windows.Forms.FlatStyle.Popup; + this.button1.Location = new System.Drawing.Point(519, 104); + this.button1.Name = "button1"; + this.button1.Size = new System.Drawing.Size(35, 23); + this.button1.TabIndex = 4; + this.button1.UseVisualStyleBackColor = true; + // + // panel2 + // + this.panel2.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left) + | System.Windows.Forms.AnchorStyles.Right))); + this.panel2.BackgroundImage = global::MSGer.tk.Properties.Resources.Keresősáv; + this.panel2.BackgroundImageLayout = System.Windows.Forms.ImageLayout.Stretch; + this.panel2.Controls.Add(this.textBox1); + this.panel2.Location = new System.Drawing.Point(0, 96); + this.panel2.Name = "panel2"; + this.panel2.Size = new System.Drawing.Size(513, 31); + this.panel2.TabIndex = 5; + // + // textBox1 + // + this.textBox1.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left) + | System.Windows.Forms.AnchorStyles.Right))); + this.textBox1.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(244)))), ((int)(((byte)(249)))), ((int)(((byte)(252))))); + this.textBox1.BorderStyle = System.Windows.Forms.BorderStyle.None; + this.textBox1.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(137)))), ((int)(((byte)(161)))), ((int)(((byte)(194))))); + this.textBox1.Location = new System.Drawing.Point(6, 8); + this.textBox1.Name = "textBox1"; + this.textBox1.Size = new System.Drawing.Size(504, 13); + this.textBox1.TabIndex = 3; + this.textBox1.Text = "Ismerősök keresése..."; + this.textBox1.Enter += new System.EventHandler(this.ClearSearchBar); + this.textBox1.Leave += new System.EventHandler(this.PutTextInSearchBar); + // + // panel1 + // + this.panel1.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left) + | System.Windows.Forms.AnchorStyles.Right))); + this.panel1.BackgroundImage = global::MSGer.tk.Properties.Resources.Blue_Wallpaper_HD_2; + this.panel1.BackgroundImageLayout = System.Windows.Forms.ImageLayout.Stretch; + this.panel1.Location = new System.Drawing.Point(0, 27); + this.panel1.Name = "panel1"; + this.panel1.Size = new System.Drawing.Size(624, 63); + this.panel1.TabIndex = 2; + // + // menuStrip1 + // + this.menuStrip1.BackColor = System.Drawing.Color.Black; + this.menuStrip1.BackgroundImage = global::MSGer.tk.Properties.Resources.Menü_2; + this.menuStrip1.Items.AddRange(new System.Windows.Forms.ToolStripItem[] { + this.fájlToolStripMenuItem, + this.ismerősökToolStripMenuItem, + this.műveletekToolStripMenuItem, + this.eszközökToolStripMenuItem, + this.súgóToolStripMenuItem}); + this.menuStrip1.Location = new System.Drawing.Point(0, 0); + this.menuStrip1.Name = "menuStrip1"; + this.menuStrip1.RenderMode = System.Windows.Forms.ToolStripRenderMode.System; + this.menuStrip1.Size = new System.Drawing.Size(624, 24); + this.menuStrip1.TabIndex = 0; + this.menuStrip1.Text = "menuStrip1"; + // + // fájlToolStripMenuItem + // + this.fájlToolStripMenuItem.DropDownItems.AddRange(new System.Windows.Forms.ToolStripItem[] { + this.kijelentkezésToolStripMenuItem, + this.toolStripMenuItem1, + this.toolStripSeparator1, + this.állapotToolStripMenuItem, + this.toolStripSeparator2, + this.fájlKüldéseToolStripMenuItem, + this.beérkezettFájlokMappájánakMegnyitásaToolStripMenuItem, + this.üzenetekElőzményeinekMegtekintéseToolStripMenuItem, + this.toolStripSeparator3, + this.bezárásToolStripMenuItem, + this.toolStripSeparator4, + this.kilépésToolStripMenuItem}); + this.fájlToolStripMenuItem.Name = "fájlToolStripMenuItem"; + this.fájlToolStripMenuItem.Size = new System.Drawing.Size(37, 20); + this.fájlToolStripMenuItem.Text = "Fájl"; + // + // kijelentkezésToolStripMenuItem + // + this.kijelentkezésToolStripMenuItem.Name = "kijelentkezésToolStripMenuItem"; + this.kijelentkezésToolStripMenuItem.Size = new System.Drawing.Size(292, 22); + this.kijelentkezésToolStripMenuItem.Text = "Kijelentkezés"; + this.kijelentkezésToolStripMenuItem.Click += new System.EventHandler(this.LogoutUser); + // + // toolStripMenuItem1 + // + this.toolStripMenuItem1.Name = "toolStripMenuItem1"; + this.toolStripMenuItem1.Size = new System.Drawing.Size(292, 22); + this.toolStripMenuItem1.Text = "Újabb felhasználó bejelentkeztetése..."; + this.toolStripMenuItem1.Click += new System.EventHandler(this.LoginNewUser); + // + // toolStripSeparator1 + // + this.toolStripSeparator1.Name = "toolStripSeparator1"; + this.toolStripSeparator1.Size = new System.Drawing.Size(289, 6); + // + // állapotToolStripMenuItem + // + this.állapotToolStripMenuItem.DropDownItems.AddRange(new System.Windows.Forms.ToolStripItem[] { + this.elérhetőToolStripMenuItem, + this.elfoglaltToolStripMenuItem, + this.nincsAGépnélToolStripMenuItem, + this.rejtveKapcsolódikToolStripMenuItem}); + this.állapotToolStripMenuItem.Name = "állapotToolStripMenuItem"; + this.állapotToolStripMenuItem.Size = new System.Drawing.Size(292, 22); + this.állapotToolStripMenuItem.Text = "Állapot"; + // + // elérhetőToolStripMenuItem + // + this.elérhetőToolStripMenuItem.Name = "elérhetőToolStripMenuItem"; + this.elérhetőToolStripMenuItem.Size = new System.Drawing.Size(172, 22); + this.elérhetőToolStripMenuItem.Text = "Elérhető"; + this.elérhetőToolStripMenuItem.Click += new System.EventHandler(this.SetOnlineState); + // + // elfoglaltToolStripMenuItem + // + this.elfoglaltToolStripMenuItem.Name = "elfoglaltToolStripMenuItem"; + this.elfoglaltToolStripMenuItem.Size = new System.Drawing.Size(172, 22); + this.elfoglaltToolStripMenuItem.Text = "Elfoglalt"; + this.elfoglaltToolStripMenuItem.Click += new System.EventHandler(this.SetOnlineState); + // + // nincsAGépnélToolStripMenuItem + // + this.nincsAGépnélToolStripMenuItem.Name = "nincsAGépnélToolStripMenuItem"; + this.nincsAGépnélToolStripMenuItem.Size = new System.Drawing.Size(172, 22); + this.nincsAGépnélToolStripMenuItem.Text = "Nincs a gépnél"; + this.nincsAGépnélToolStripMenuItem.Click += new System.EventHandler(this.SetOnlineState); + // + // rejtveKapcsolódikToolStripMenuItem + // + this.rejtveKapcsolódikToolStripMenuItem.Name = "rejtveKapcsolódikToolStripMenuItem"; + this.rejtveKapcsolódikToolStripMenuItem.Size = new System.Drawing.Size(172, 22); + this.rejtveKapcsolódikToolStripMenuItem.Text = "Rejtve kapcsolódik"; + this.rejtveKapcsolódikToolStripMenuItem.Click += new System.EventHandler(this.SetOnlineState); + // + // toolStripSeparator2 + // + this.toolStripSeparator2.Name = "toolStripSeparator2"; + this.toolStripSeparator2.Size = new System.Drawing.Size(289, 6); + // + // fájlKüldéseToolStripMenuItem + // + this.fájlKüldéseToolStripMenuItem.Name = "fájlKüldéseToolStripMenuItem"; + this.fájlKüldéseToolStripMenuItem.Size = new System.Drawing.Size(292, 22); + this.fájlKüldéseToolStripMenuItem.Text = "Fájl küldése..."; + this.fájlKüldéseToolStripMenuItem.Click += new System.EventHandler(this.SelectPartner); + // + // beérkezettFájlokMappájánakMegnyitásaToolStripMenuItem + // + this.beérkezettFájlokMappájánakMegnyitásaToolStripMenuItem.Name = "beérkezettFájlokMappájánakMegnyitásaToolStripMenuItem"; + this.beérkezettFájlokMappájánakMegnyitásaToolStripMenuItem.Size = new System.Drawing.Size(292, 22); + this.beérkezettFájlokMappájánakMegnyitásaToolStripMenuItem.Text = "Beérkezett fájlok mappájának megnyitása"; + // + // üzenetekElőzményeinekMegtekintéseToolStripMenuItem + // + this.üzenetekElőzményeinekMegtekintéseToolStripMenuItem.Name = "üzenetekElőzményeinekMegtekintéseToolStripMenuItem"; + this.üzenetekElőzményeinekMegtekintéseToolStripMenuItem.Size = new System.Drawing.Size(292, 22); + this.üzenetekElőzményeinekMegtekintéseToolStripMenuItem.Text = "Üzenetek előzményeinek megtekintése..."; + // + // toolStripSeparator3 + // + this.toolStripSeparator3.Name = "toolStripSeparator3"; + this.toolStripSeparator3.Size = new System.Drawing.Size(289, 6); + // + // bezárásToolStripMenuItem + // + this.bezárásToolStripMenuItem.Name = "bezárásToolStripMenuItem"; + this.bezárásToolStripMenuItem.Size = new System.Drawing.Size(292, 22); + this.bezárásToolStripMenuItem.Text = "Bezárás"; + // + // toolStripSeparator4 + // + this.toolStripSeparator4.Name = "toolStripSeparator4"; + this.toolStripSeparator4.Size = new System.Drawing.Size(289, 6); + // + // kilépésToolStripMenuItem + // + this.kilépésToolStripMenuItem.Name = "kilépésToolStripMenuItem"; + this.kilépésToolStripMenuItem.Size = new System.Drawing.Size(292, 22); + this.kilépésToolStripMenuItem.Text = "Kilépés"; + // + // ismerősökToolStripMenuItem + // + this.ismerősökToolStripMenuItem.DropDownItems.AddRange(new System.Windows.Forms.ToolStripItem[] { + this.ismerősFelvételeToolStripMenuItem, + this.ismerősSzerkesztéseToolStripMenuItem, + this.ismerősTörléseToolStripMenuItem, + this.toolStripMenuItem3, + this.toolStripSeparator5, + this.csoportLétrehozásaToolStripMenuItem, + this.toolStripSeparator6, + this.kategóriaLétrehozásaToolStripMenuItem, + this.kategóriaSzerkesztéseToolStripMenuItem, + this.kategóriaTörléseToolStripMenuItem}); + this.ismerősökToolStripMenuItem.Name = "ismerősökToolStripMenuItem"; + this.ismerősökToolStripMenuItem.Size = new System.Drawing.Size(73, 20); + this.ismerősökToolStripMenuItem.Text = "Ismerősök"; + // + // ismerősFelvételeToolStripMenuItem + // + this.ismerősFelvételeToolStripMenuItem.Name = "ismerősFelvételeToolStripMenuItem"; + this.ismerősFelvételeToolStripMenuItem.Size = new System.Drawing.Size(199, 22); + this.ismerősFelvételeToolStripMenuItem.Text = "Ismerős felvétele..."; + // + // ismerősSzerkesztéseToolStripMenuItem + // + this.ismerősSzerkesztéseToolStripMenuItem.Name = "ismerősSzerkesztéseToolStripMenuItem"; + this.ismerősSzerkesztéseToolStripMenuItem.Size = new System.Drawing.Size(199, 22); + this.ismerősSzerkesztéseToolStripMenuItem.Text = "Ismerős szerkesztése..."; + // + // ismerősTörléseToolStripMenuItem + // + this.ismerősTörléseToolStripMenuItem.Name = "ismerősTörléseToolStripMenuItem"; + this.ismerősTörléseToolStripMenuItem.Size = new System.Drawing.Size(199, 22); + this.ismerősTörléseToolStripMenuItem.Text = "Ismerős törlése..."; + // + // toolStripSeparator5 + // + this.toolStripSeparator5.Name = "toolStripSeparator5"; + this.toolStripSeparator5.Size = new System.Drawing.Size(196, 6); + // + // csoportLétrehozásaToolStripMenuItem + // + this.csoportLétrehozásaToolStripMenuItem.Name = "csoportLétrehozásaToolStripMenuItem"; + this.csoportLétrehozásaToolStripMenuItem.Size = new System.Drawing.Size(199, 22); + this.csoportLétrehozásaToolStripMenuItem.Text = "Csoport létrehozása..."; + // + // toolStripSeparator6 + // + this.toolStripSeparator6.Name = "toolStripSeparator6"; + this.toolStripSeparator6.Size = new System.Drawing.Size(196, 6); + // + // kategóriaLétrehozásaToolStripMenuItem + // + this.kategóriaLétrehozásaToolStripMenuItem.Name = "kategóriaLétrehozásaToolStripMenuItem"; + this.kategóriaLétrehozásaToolStripMenuItem.Size = new System.Drawing.Size(199, 22); + this.kategóriaLétrehozásaToolStripMenuItem.Text = "Kategória létrehozása..."; + // + // kategóriaSzerkesztéseToolStripMenuItem + // + this.kategóriaSzerkesztéseToolStripMenuItem.Name = "kategóriaSzerkesztéseToolStripMenuItem"; + this.kategóriaSzerkesztéseToolStripMenuItem.Size = new System.Drawing.Size(199, 22); + this.kategóriaSzerkesztéseToolStripMenuItem.Text = "Kategória szerkesztése..."; + // + // kategóriaTörléseToolStripMenuItem + // + this.kategóriaTörléseToolStripMenuItem.Name = "kategóriaTörléseToolStripMenuItem"; + this.kategóriaTörléseToolStripMenuItem.Size = new System.Drawing.Size(199, 22); + this.kategóriaTörléseToolStripMenuItem.Text = "Kategória törlése..."; + // + // műveletekToolStripMenuItem + // + this.műveletekToolStripMenuItem.DropDownItems.AddRange(new System.Windows.Forms.ToolStripItem[] { + this.azonnaliÜzenetKüldéseToolStripMenuItem, + this.egyébKüldéseToolStripMenuItem, + this.toolStripSeparator7, + this.ismerősSzámitógépénekFelhivásaToolStripMenuItem, + this.videóhivásInditásaToolStripMenuItem, + this.onlineFájlokMegtekintéseToolStripMenuItem, + this.közösJátékToolStripMenuItem, + this.távsegitségKéréseToolStripMenuItem}); + this.műveletekToolStripMenuItem.Name = "műveletekToolStripMenuItem"; + this.műveletekToolStripMenuItem.Size = new System.Drawing.Size(74, 20); + this.műveletekToolStripMenuItem.Text = "Műveletek"; + // + // azonnaliÜzenetKüldéseToolStripMenuItem + // + this.azonnaliÜzenetKüldéseToolStripMenuItem.Name = "azonnaliÜzenetKüldéseToolStripMenuItem"; + this.azonnaliÜzenetKüldéseToolStripMenuItem.Size = new System.Drawing.Size(253, 22); + this.azonnaliÜzenetKüldéseToolStripMenuItem.Text = "Azonnali üzenet küldése..."; + this.azonnaliÜzenetKüldéseToolStripMenuItem.Click += new System.EventHandler(this.SelectPartner); + // + // egyébKüldéseToolStripMenuItem + // + this.egyébKüldéseToolStripMenuItem.DropDownItems.AddRange(new System.Windows.Forms.ToolStripItem[] { + this.emailKüldéseToolStripMenuItem, + this.fájlKüldéseToolStripMenuItem1}); + this.egyébKüldéseToolStripMenuItem.Name = "egyébKüldéseToolStripMenuItem"; + this.egyébKüldéseToolStripMenuItem.Size = new System.Drawing.Size(253, 22); + this.egyébKüldéseToolStripMenuItem.Text = "Egyéb küldése"; + // + // emailKüldéseToolStripMenuItem + // + this.emailKüldéseToolStripMenuItem.Name = "emailKüldéseToolStripMenuItem"; + this.emailKüldéseToolStripMenuItem.Size = new System.Drawing.Size(160, 22); + this.emailKüldéseToolStripMenuItem.Text = "E-mail küldése..."; + // + // fájlKüldéseToolStripMenuItem1 + // + this.fájlKüldéseToolStripMenuItem1.Name = "fájlKüldéseToolStripMenuItem1"; + this.fájlKüldéseToolStripMenuItem1.Size = new System.Drawing.Size(160, 22); + this.fájlKüldéseToolStripMenuItem1.Text = "Fájl küldése..."; + // + // toolStripSeparator7 + // + this.toolStripSeparator7.Name = "toolStripSeparator7"; + this.toolStripSeparator7.Size = new System.Drawing.Size(250, 6); + // + // ismerősSzámitógépénekFelhivásaToolStripMenuItem + // + this.ismerősSzámitógépénekFelhivásaToolStripMenuItem.Name = "ismerősSzámitógépénekFelhivásaToolStripMenuItem"; + this.ismerősSzámitógépénekFelhivásaToolStripMenuItem.Size = new System.Drawing.Size(253, 22); + this.ismerősSzámitógépénekFelhivásaToolStripMenuItem.Text = "Ismerős számitógépének felhivása"; + // + // videóhivásInditásaToolStripMenuItem + // + this.videóhivásInditásaToolStripMenuItem.Name = "videóhivásInditásaToolStripMenuItem"; + this.videóhivásInditásaToolStripMenuItem.Size = new System.Drawing.Size(253, 22); + this.videóhivásInditásaToolStripMenuItem.Text = "Videóhivás inditása..."; + // + // onlineFájlokMegtekintéseToolStripMenuItem + // + this.onlineFájlokMegtekintéseToolStripMenuItem.Name = "onlineFájlokMegtekintéseToolStripMenuItem"; + this.onlineFájlokMegtekintéseToolStripMenuItem.Size = new System.Drawing.Size(253, 22); + this.onlineFájlokMegtekintéseToolStripMenuItem.Text = "Online fájlok megtekintése"; + // + // közösJátékToolStripMenuItem + // + this.közösJátékToolStripMenuItem.Name = "közösJátékToolStripMenuItem"; + this.közösJátékToolStripMenuItem.Size = new System.Drawing.Size(253, 22); + this.közösJátékToolStripMenuItem.Text = "Közös játék..."; + // + // távsegitségKéréseToolStripMenuItem + // + this.távsegitségKéréseToolStripMenuItem.Name = "távsegitségKéréseToolStripMenuItem"; + this.távsegitségKéréseToolStripMenuItem.Size = new System.Drawing.Size(253, 22); + this.távsegitségKéréseToolStripMenuItem.Text = "Távsegitség kérése..."; + // + // eszközökToolStripMenuItem + // + this.eszközökToolStripMenuItem.DropDownItems.AddRange(new System.Windows.Forms.ToolStripItem[] { + this.mindigLegfelülToolStripMenuItem, + this.toolStripSeparator8, + this.hangulatjelekToolStripMenuItem, + this.megjelenitendőKépVáltásaToolStripMenuItem, + this.háttérMódositásaToolStripMenuItem, + this.toolStripSeparator9, + this.hangokÉsVideóBeállitásaToolStripMenuItem, + this.toolStripSeparator10, + this.beállitásokToolStripMenuItem}); + this.eszközökToolStripMenuItem.Name = "eszközökToolStripMenuItem"; + this.eszközökToolStripMenuItem.Size = new System.Drawing.Size(66, 20); + this.eszközökToolStripMenuItem.Text = "Eszközök"; + // + // mindigLegfelülToolStripMenuItem + // + this.mindigLegfelülToolStripMenuItem.CheckOnClick = true; + this.mindigLegfelülToolStripMenuItem.Name = "mindigLegfelülToolStripMenuItem"; + this.mindigLegfelülToolStripMenuItem.Size = new System.Drawing.Size(227, 22); + this.mindigLegfelülToolStripMenuItem.Text = "Mindig legfelül"; + // + // toolStripSeparator8 + // + this.toolStripSeparator8.Name = "toolStripSeparator8"; + this.toolStripSeparator8.Size = new System.Drawing.Size(224, 6); + // + // hangulatjelekToolStripMenuItem + // + this.hangulatjelekToolStripMenuItem.Name = "hangulatjelekToolStripMenuItem"; + this.hangulatjelekToolStripMenuItem.Size = new System.Drawing.Size(227, 22); + this.hangulatjelekToolStripMenuItem.Text = "Hangulatjelek..."; + // + // megjelenitendőKépVáltásaToolStripMenuItem + // + this.megjelenitendőKépVáltásaToolStripMenuItem.Name = "megjelenitendőKépVáltásaToolStripMenuItem"; + this.megjelenitendőKépVáltásaToolStripMenuItem.Size = new System.Drawing.Size(227, 22); + this.megjelenitendőKépVáltásaToolStripMenuItem.Text = "Megjelenitendő kép váltása..."; + // + // háttérMódositásaToolStripMenuItem + // + this.háttérMódositásaToolStripMenuItem.Name = "háttérMódositásaToolStripMenuItem"; + this.háttérMódositásaToolStripMenuItem.Size = new System.Drawing.Size(227, 22); + this.háttérMódositásaToolStripMenuItem.Text = "Háttér módositása..."; + // + // toolStripSeparator9 + // + this.toolStripSeparator9.Name = "toolStripSeparator9"; + this.toolStripSeparator9.Size = new System.Drawing.Size(224, 6); + // + // hangokÉsVideóBeállitásaToolStripMenuItem + // + this.hangokÉsVideóBeállitásaToolStripMenuItem.Name = "hangokÉsVideóBeállitásaToolStripMenuItem"; + this.hangokÉsVideóBeállitásaToolStripMenuItem.Size = new System.Drawing.Size(227, 22); + this.hangokÉsVideóBeállitásaToolStripMenuItem.Text = "Hangok és videó beállitása..."; + // + // toolStripSeparator10 + // + this.toolStripSeparator10.Name = "toolStripSeparator10"; + this.toolStripSeparator10.Size = new System.Drawing.Size(224, 6); + // + // beállitásokToolStripMenuItem + // + this.beállitásokToolStripMenuItem.Name = "beállitásokToolStripMenuItem"; + this.beállitásokToolStripMenuItem.Size = new System.Drawing.Size(227, 22); + this.beállitásokToolStripMenuItem.Text = "Beállitások..."; + // + // súgóToolStripMenuItem + // + this.súgóToolStripMenuItem.DropDownItems.AddRange(new System.Windows.Forms.ToolStripItem[] { + this.témakörökToolStripMenuItem, + this.toolStripSeparator11, + this.aSzolgáltatásÁllapotsaToolStripMenuItem, + this.adatvédelmiNyilatkozatToolStripMenuItem, + this.használatiFeltételekToolStripMenuItem, + this.visszaélésBejelentéseToolStripMenuItem, + this.toolStripSeparator12, + this.segitsenAProgramTökéletesitésébenToolStripMenuItem, + this.toolStripSeparator13, + this.névjegyToolStripMenuItem}); + this.súgóToolStripMenuItem.Name = "súgóToolStripMenuItem"; + this.súgóToolStripMenuItem.Size = new System.Drawing.Size(46, 20); + this.súgóToolStripMenuItem.Text = "Súgó"; + // + // témakörökToolStripMenuItem + // + this.témakörökToolStripMenuItem.Name = "témakörökToolStripMenuItem"; + this.témakörökToolStripMenuItem.Size = new System.Drawing.Size(270, 22); + this.témakörökToolStripMenuItem.Text = "Témakörök"; + // + // toolStripSeparator11 + // + this.toolStripSeparator11.Name = "toolStripSeparator11"; + this.toolStripSeparator11.Size = new System.Drawing.Size(267, 6); + // + // aSzolgáltatásÁllapotsaToolStripMenuItem + // + this.aSzolgáltatásÁllapotsaToolStripMenuItem.Name = "aSzolgáltatásÁllapotsaToolStripMenuItem"; + this.aSzolgáltatásÁllapotsaToolStripMenuItem.Size = new System.Drawing.Size(270, 22); + this.aSzolgáltatásÁllapotsaToolStripMenuItem.Text = "A szolgáltatás állapota"; + // + // adatvédelmiNyilatkozatToolStripMenuItem + // + this.adatvédelmiNyilatkozatToolStripMenuItem.Name = "adatvédelmiNyilatkozatToolStripMenuItem"; + this.adatvédelmiNyilatkozatToolStripMenuItem.Size = new System.Drawing.Size(270, 22); + this.adatvédelmiNyilatkozatToolStripMenuItem.Text = "Adatvédelmi nyilatkozat"; + // + // használatiFeltételekToolStripMenuItem + // + this.használatiFeltételekToolStripMenuItem.Name = "használatiFeltételekToolStripMenuItem"; + this.használatiFeltételekToolStripMenuItem.Size = new System.Drawing.Size(270, 22); + this.használatiFeltételekToolStripMenuItem.Text = "Használati feltételek"; + // + // visszaélésBejelentéseToolStripMenuItem + // + this.visszaélésBejelentéseToolStripMenuItem.Name = "visszaélésBejelentéseToolStripMenuItem"; + this.visszaélésBejelentéseToolStripMenuItem.Size = new System.Drawing.Size(270, 22); + this.visszaélésBejelentéseToolStripMenuItem.Text = "Visszaélés bejelentése"; + // + // toolStripSeparator12 + // + this.toolStripSeparator12.Name = "toolStripSeparator12"; + this.toolStripSeparator12.Size = new System.Drawing.Size(267, 6); + // + // segitsenAProgramTökéletesitésébenToolStripMenuItem + // + this.segitsenAProgramTökéletesitésébenToolStripMenuItem.Name = "segitsenAProgramTökéletesitésébenToolStripMenuItem"; + this.segitsenAProgramTökéletesitésébenToolStripMenuItem.Size = new System.Drawing.Size(270, 22); + this.segitsenAProgramTökéletesitésébenToolStripMenuItem.Text = "Segitsen a program tökéletesitésében"; + // + // toolStripSeparator13 + // + this.toolStripSeparator13.Name = "toolStripSeparator13"; + this.toolStripSeparator13.Size = new System.Drawing.Size(267, 6); + // + // névjegyToolStripMenuItem + // + this.névjegyToolStripMenuItem.Name = "névjegyToolStripMenuItem"; + this.névjegyToolStripMenuItem.Size = new System.Drawing.Size(270, 22); + this.névjegyToolStripMenuItem.Text = "Névjegy"; + // + // contactList + // + this.contactList.AllowColumnResize = false; + this.contactList.AllowMultiselect = false; + this.contactList.AlternateBackground = System.Drawing.Color.DarkGreen; + this.contactList.AlternatingColors = false; + this.contactList.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.contactList.AutoHeight = false; + this.contactList.BackColor = System.Drawing.Color.LightSkyBlue; + this.contactList.BackgroundStretchToFit = true; + glColumn1.ActivatedEmbeddedType = GlacialComponents.Controls.GLActivatedEmbeddedTypes.None; + glColumn1.CheckBoxes = false; + glColumn1.ImageIndex = -1; + glColumn1.Name = "Image"; + glColumn1.NumericSort = false; + glColumn1.Text = ""; + glColumn1.TextAlignment = System.Drawing.ContentAlignment.MiddleLeft; + glColumn1.Width = 100; + glColumn2.ActivatedEmbeddedType = GlacialComponents.Controls.GLActivatedEmbeddedTypes.None; + glColumn2.CheckBoxes = false; + glColumn2.ImageIndex = -1; + glColumn2.Name = "Name"; + glColumn2.NumericSort = false; + glColumn2.Text = ""; + glColumn2.TextAlignment = System.Drawing.ContentAlignment.MiddleLeft; + glColumn2.Width = 400; + this.contactList.Columns.AddRange(new GlacialComponents.Controls.GLColumn[] { + glColumn1, + glColumn2}); + this.contactList.ControlStyle = GlacialComponents.Controls.GLControlStyles.Normal; + this.contactList.ForeColor = System.Drawing.Color.Black; + this.contactList.FullRowSelect = true; + this.contactList.GridColor = System.Drawing.Color.LightGray; + this.contactList.GridLines = GlacialComponents.Controls.GLGridLines.gridHorizontal; + this.contactList.GridLineStyle = GlacialComponents.Controls.GLGridLineStyles.gridNone; + this.contactList.GridTypes = GlacialComponents.Controls.GLGridTypes.gridOnExists; + this.contactList.HeaderHeight = 0; + this.contactList.HeaderVisible = false; + this.contactList.HeaderWordWrap = false; + this.contactList.HotColumnTracking = false; + this.contactList.HotItemTracking = true; + this.contactList.HotTrackingColor = System.Drawing.Color.LightGray; + this.contactList.HoverEvents = false; + this.contactList.HoverTime = 1; + this.contactList.ImageList = null; + this.contactList.ItemHeight = 60; + glItem1.BackColor = System.Drawing.Color.White; + glItem1.ForeColor = System.Drawing.Color.Black; + glItem1.RowBorderColor = System.Drawing.Color.Black; + glItem1.RowBorderSize = 0; + glSubItem1.BackColor = System.Drawing.Color.Empty; + glSubItem1.Checked = false; + glSubItem1.ForceText = false; + glSubItem1.ForeColor = System.Drawing.Color.Black; + glSubItem1.ImageAlignment = System.Windows.Forms.HorizontalAlignment.Left; + glSubItem1.ImageIndex = -1; + glSubItem1.Text = "Betöltés..."; + glSubItem2.BackColor = System.Drawing.Color.Empty; + glSubItem2.Checked = false; + glSubItem2.ForceText = false; + glSubItem2.ForeColor = System.Drawing.Color.Black; + glSubItem2.ImageAlignment = System.Windows.Forms.HorizontalAlignment.Left; + glSubItem2.ImageIndex = -1; + glSubItem2.Text = ""; + glItem1.SubItems.AddRange(new GlacialComponents.Controls.GLSubItem[] { + glSubItem1, + glSubItem2}); + glItem1.Text = "Betöltés..."; + this.contactList.Items.AddRange(new GlacialComponents.Controls.GLItem[] { + glItem1}); + this.contactList.ItemWordWrap = true; + this.contactList.Location = new System.Drawing.Point(0, 133); + this.contactList.Name = "contactList"; + this.contactList.Selectable = true; + this.contactList.SelectedTextColor = System.Drawing.Color.White; + this.contactList.SelectionColor = System.Drawing.Color.DarkBlue; + this.contactList.ShowBorder = false; + this.contactList.ShowFocusRect = false; + this.contactList.Size = new System.Drawing.Size(624, 312); + this.contactList.SortType = GlacialComponents.Controls.SortTypes.InsertionSort; + this.contactList.SuperFlatHeaderColor = System.Drawing.Color.White; + this.contactList.TabIndex = 6; + this.contactList.Text = "contactList"; + this.contactList.DoubleClick += new System.EventHandler(this.OpenSendMessage); + this.contactList.MouseClick += new System.Windows.Forms.MouseEventHandler(this.ContactItemRightClick); + // + // partnerImages + // + this.partnerImages.ColorDepth = System.Windows.Forms.ColorDepth.Depth8Bit; + this.partnerImages.ImageSize = new System.Drawing.Size(16, 16); + this.partnerImages.TransparentColor = System.Drawing.Color.Transparent; + // + // partnerMenu + // + this.partnerMenu.Items.AddRange(new System.Windows.Forms.ToolStripItem[] { + this.üzenetküldésToolStripMenuItem, + this.emailKüldéseemailToolStripMenuItem, + this.toolStripMenuItem2, + this.információToolStripMenuItem, + this.toolStripSeparator14, + this.ismerősLetiltásaToolStripMenuItem, + this.ismerősTörléseToolStripMenuItem1, + this.toolStripSeparator15, + this.becenévSzerkesztéseToolStripMenuItem, + this.toolStripSeparator16, + this.eseményértesitésekToolStripMenuItem, + this.toolStripSeparator17, + this.beszélgetésnaplóMegnyitásaToolStripMenuItem}); + this.partnerMenu.Name = "partnerMenu"; + this.partnerMenu.RenderMode = System.Windows.Forms.ToolStripRenderMode.System; + this.partnerMenu.Size = new System.Drawing.Size(238, 226); + // + // üzenetküldésToolStripMenuItem + // + this.üzenetküldésToolStripMenuItem.Name = "üzenetküldésToolStripMenuItem"; + this.üzenetküldésToolStripMenuItem.Size = new System.Drawing.Size(237, 22); + this.üzenetküldésToolStripMenuItem.Text = "Üzenetküldés"; + this.üzenetküldésToolStripMenuItem.Click += new System.EventHandler(this.OpenSendMessage); + // + // emailKüldéseemailToolStripMenuItem + // + this.emailKüldéseemailToolStripMenuItem.Name = "emailKüldéseemailToolStripMenuItem"; + this.emailKüldéseemailToolStripMenuItem.Size = new System.Drawing.Size(237, 22); + this.emailKüldéseemailToolStripMenuItem.Text = "E-mail küldése (email)"; + // + // toolStripMenuItem2 + // + this.toolStripMenuItem2.Name = "toolStripMenuItem2"; + this.toolStripMenuItem2.Size = new System.Drawing.Size(237, 22); + this.toolStripMenuItem2.Text = "E-mail másolása"; + // + // információToolStripMenuItem + // + this.információToolStripMenuItem.Name = "információToolStripMenuItem"; + this.információToolStripMenuItem.Size = new System.Drawing.Size(237, 22); + this.információToolStripMenuItem.Text = "Információ"; + // + // toolStripSeparator14 + // + this.toolStripSeparator14.Name = "toolStripSeparator14"; + this.toolStripSeparator14.Size = new System.Drawing.Size(234, 6); + // + // ismerősLetiltásaToolStripMenuItem + // + this.ismerősLetiltásaToolStripMenuItem.Name = "ismerősLetiltásaToolStripMenuItem"; + this.ismerősLetiltásaToolStripMenuItem.Size = new System.Drawing.Size(237, 22); + this.ismerősLetiltásaToolStripMenuItem.Text = "Ismerős letiltása"; + // + // ismerősTörléseToolStripMenuItem1 + // + this.ismerősTörléseToolStripMenuItem1.Name = "ismerősTörléseToolStripMenuItem1"; + this.ismerősTörléseToolStripMenuItem1.Size = new System.Drawing.Size(237, 22); + this.ismerősTörléseToolStripMenuItem1.Text = "Ismerős törlése"; + // + // toolStripSeparator15 + // + this.toolStripSeparator15.Name = "toolStripSeparator15"; + this.toolStripSeparator15.Size = new System.Drawing.Size(234, 6); + // + // becenévSzerkesztéseToolStripMenuItem + // + this.becenévSzerkesztéseToolStripMenuItem.Name = "becenévSzerkesztéseToolStripMenuItem"; + this.becenévSzerkesztéseToolStripMenuItem.Size = new System.Drawing.Size(237, 22); + this.becenévSzerkesztéseToolStripMenuItem.Text = "Becenév szerkesztése"; + // + // toolStripSeparator16 + // + this.toolStripSeparator16.Name = "toolStripSeparator16"; + this.toolStripSeparator16.Size = new System.Drawing.Size(234, 6); + // + // eseményértesitésekToolStripMenuItem + // + this.eseményértesitésekToolStripMenuItem.Name = "eseményértesitésekToolStripMenuItem"; + this.eseményértesitésekToolStripMenuItem.Size = new System.Drawing.Size(237, 22); + this.eseményértesitésekToolStripMenuItem.Text = "Eseményértesitések"; + // + // toolStripSeparator17 + // + this.toolStripSeparator17.Name = "toolStripSeparator17"; + this.toolStripSeparator17.Size = new System.Drawing.Size(234, 6); + // + // beszélgetésnaplóMegnyitásaToolStripMenuItem + // + this.beszélgetésnaplóMegnyitásaToolStripMenuItem.Name = "beszélgetésnaplóMegnyitásaToolStripMenuItem"; + this.beszélgetésnaplóMegnyitásaToolStripMenuItem.Size = new System.Drawing.Size(237, 22); + this.beszélgetésnaplóMegnyitásaToolStripMenuItem.Text = "Beszélgetésnapló megnyitása..."; + // + // toolStripMenuItem3 + // + this.toolStripMenuItem3.Name = "toolStripMenuItem3"; + this.toolStripMenuItem3.Size = new System.Drawing.Size(199, 22); + this.toolStripMenuItem3.Text = "Ismerős meghivása..."; + this.toolStripMenuItem3.Click += new System.EventHandler(this.InvitePartner); + // + // MainForm + // + this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F); + this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; + this.BackColor = System.Drawing.Color.LightSkyBlue; + this.ClientSize = new System.Drawing.Size(624, 442); + this.Controls.Add(this.contactList); + this.Controls.Add(this.panel2); + this.Controls.Add(this.button1); + this.Controls.Add(this.panel1); + this.Controls.Add(this.menuStrip1); + this.MainMenuStrip = this.menuStrip1; + this.Name = "MainForm"; + this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen; + this.Text = "Live Messenger Plus - MSGer.tk"; + this.Load += new System.EventHandler(this.OnMainFormLoad); + this.panel2.ResumeLayout(false); + this.panel2.PerformLayout(); + this.menuStrip1.ResumeLayout(false); + this.menuStrip1.PerformLayout(); + this.partnerMenu.ResumeLayout(false); + this.ResumeLayout(false); + this.PerformLayout(); + + } + + #endregion + + private System.Windows.Forms.NotifyIcon notifyIcon1; + private System.Windows.Forms.MenuStrip menuStrip1; + private System.Windows.Forms.ToolStripMenuItem fájlToolStripMenuItem; + private System.Windows.Forms.ToolStripMenuItem kijelentkezésToolStripMenuItem; + private System.Windows.Forms.ToolStripSeparator toolStripSeparator1; + private System.Windows.Forms.ToolStripMenuItem állapotToolStripMenuItem; + private System.Windows.Forms.ToolStripMenuItem elérhetőToolStripMenuItem; + private System.Windows.Forms.ToolStripMenuItem elfoglaltToolStripMenuItem; + private System.Windows.Forms.ToolStripMenuItem nincsAGépnélToolStripMenuItem; + private System.Windows.Forms.ToolStripMenuItem rejtveKapcsolódikToolStripMenuItem; + private System.Windows.Forms.ToolStripSeparator toolStripSeparator2; + private System.Windows.Forms.ToolStripMenuItem fájlKüldéseToolStripMenuItem; + private System.Windows.Forms.ToolStripMenuItem beérkezettFájlokMappájánakMegnyitásaToolStripMenuItem; + private System.Windows.Forms.ToolStripMenuItem üzenetekElőzményeinekMegtekintéseToolStripMenuItem; + private System.Windows.Forms.ToolStripSeparator toolStripSeparator3; + private System.Windows.Forms.ToolStripMenuItem bezárásToolStripMenuItem; + private System.Windows.Forms.ToolStripSeparator toolStripSeparator4; + private System.Windows.Forms.ToolStripMenuItem kilépésToolStripMenuItem; + private System.Windows.Forms.ToolStripMenuItem ismerősökToolStripMenuItem; + private System.Windows.Forms.ToolStripMenuItem ismerősFelvételeToolStripMenuItem; + private System.Windows.Forms.ToolStripMenuItem ismerősSzerkesztéseToolStripMenuItem; + private System.Windows.Forms.ToolStripMenuItem ismerősTörléseToolStripMenuItem; + private System.Windows.Forms.ToolStripSeparator toolStripSeparator5; + private System.Windows.Forms.ToolStripMenuItem csoportLétrehozásaToolStripMenuItem; + private System.Windows.Forms.ToolStripSeparator toolStripSeparator6; + private System.Windows.Forms.ToolStripMenuItem kategóriaLétrehozásaToolStripMenuItem; + private System.Windows.Forms.ToolStripMenuItem kategóriaSzerkesztéseToolStripMenuItem; + private System.Windows.Forms.ToolStripMenuItem kategóriaTörléseToolStripMenuItem; + private System.Windows.Forms.ToolStripMenuItem műveletekToolStripMenuItem; + private System.Windows.Forms.ToolStripMenuItem azonnaliÜzenetKüldéseToolStripMenuItem; + private System.Windows.Forms.ToolStripMenuItem egyébKüldéseToolStripMenuItem; + private System.Windows.Forms.ToolStripMenuItem emailKüldéseToolStripMenuItem; + private System.Windows.Forms.ToolStripMenuItem fájlKüldéseToolStripMenuItem1; + private System.Windows.Forms.ToolStripSeparator toolStripSeparator7; + private System.Windows.Forms.ToolStripMenuItem ismerősSzámitógépénekFelhivásaToolStripMenuItem; + private System.Windows.Forms.ToolStripMenuItem videóhivásInditásaToolStripMenuItem; + private System.Windows.Forms.ToolStripMenuItem onlineFájlokMegtekintéseToolStripMenuItem; + private System.Windows.Forms.ToolStripMenuItem közösJátékToolStripMenuItem; + private System.Windows.Forms.ToolStripMenuItem távsegitségKéréseToolStripMenuItem; + private System.Windows.Forms.ToolStripMenuItem eszközökToolStripMenuItem; + private System.Windows.Forms.ToolStripMenuItem mindigLegfelülToolStripMenuItem; + private System.Windows.Forms.ToolStripSeparator toolStripSeparator8; + private System.Windows.Forms.ToolStripMenuItem hangulatjelekToolStripMenuItem; + private System.Windows.Forms.ToolStripMenuItem megjelenitendőKépVáltásaToolStripMenuItem; + private System.Windows.Forms.ToolStripMenuItem háttérMódositásaToolStripMenuItem; + private System.Windows.Forms.ToolStripSeparator toolStripSeparator9; + private System.Windows.Forms.ToolStripMenuItem hangokÉsVideóBeállitásaToolStripMenuItem; + private System.Windows.Forms.ToolStripSeparator toolStripSeparator10; + private System.Windows.Forms.ToolStripMenuItem beállitásokToolStripMenuItem; + private System.Windows.Forms.ToolStripMenuItem súgóToolStripMenuItem; + private System.Windows.Forms.ToolStripMenuItem témakörökToolStripMenuItem; + private System.Windows.Forms.ToolStripSeparator toolStripSeparator11; + private System.Windows.Forms.ToolStripMenuItem aSzolgáltatásÁllapotsaToolStripMenuItem; + private System.Windows.Forms.ToolStripMenuItem adatvédelmiNyilatkozatToolStripMenuItem; + private System.Windows.Forms.ToolStripMenuItem használatiFeltételekToolStripMenuItem; + private System.Windows.Forms.ToolStripMenuItem visszaélésBejelentéseToolStripMenuItem; + private System.Windows.Forms.ToolStripSeparator toolStripSeparator12; + private System.Windows.Forms.ToolStripMenuItem segitsenAProgramTökéletesitésébenToolStripMenuItem; + private System.Windows.Forms.ToolStripSeparator toolStripSeparator13; + private System.Windows.Forms.ToolStripMenuItem névjegyToolStripMenuItem; + private System.Windows.Forms.TextBox textBox1; + private System.Windows.Forms.Button button1; + private System.Windows.Forms.Panel panel2; + private System.Windows.Forms.ToolStripMenuItem toolStripMenuItem1; + private System.Windows.Forms.Panel panel1; + private System.Windows.Forms.ImageList partnerImages; + private GlacialComponents.Controls.GlacialList contactList; + private System.Windows.Forms.ContextMenuStrip partnerMenu; + private System.Windows.Forms.ToolStripMenuItem üzenetküldésToolStripMenuItem; + private System.Windows.Forms.ToolStripMenuItem emailKüldéseemailToolStripMenuItem; + private System.Windows.Forms.ToolStripMenuItem toolStripMenuItem2; + private System.Windows.Forms.ToolStripMenuItem információToolStripMenuItem; + private System.Windows.Forms.ToolStripSeparator toolStripSeparator14; + private System.Windows.Forms.ToolStripMenuItem ismerősLetiltásaToolStripMenuItem; + private System.Windows.Forms.ToolStripMenuItem ismerősTörléseToolStripMenuItem1; + private System.Windows.Forms.ToolStripSeparator toolStripSeparator15; + private System.Windows.Forms.ToolStripMenuItem becenévSzerkesztéseToolStripMenuItem; + private System.Windows.Forms.ToolStripSeparator toolStripSeparator16; + private System.Windows.Forms.ToolStripMenuItem eseményértesitésekToolStripMenuItem; + private System.Windows.Forms.ToolStripSeparator toolStripSeparator17; + private System.Windows.Forms.ToolStripMenuItem beszélgetésnaplóMegnyitásaToolStripMenuItem; + private System.Windows.Forms.ToolStripMenuItem toolStripMenuItem3; + } +} + diff --git a/Most Closed Beta/v7.0/MSGer.tk (C#)/MainForm.cs b/Most Closed Beta/v7.0/MSGer.tk (C#)/MainForm.cs new file mode 100644 index 0000000..dd900c3 --- /dev/null +++ b/Most Closed Beta/v7.0/MSGer.tk (C#)/MainForm.cs @@ -0,0 +1,326 @@ +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; +using System.Net; +using System.IO; +using GlacialComponents.Controls; +using Khendys.Controls; +using System.Threading; + +namespace MSGer.tk +{ + public partial class MainForm : Form + { + public static LoginForm LoginDialog; + public static Thread LThread; + public static Thread MainThread = null; + public static bool PartnerListThreadActive = true; + //public static object SelectPartnerSender = null; + public static ToolStripMenuItem SelectPartnerSender = null; + public MainForm() + { + InitializeComponent(); + //Settings.Default.Reload(); + //CurrentUser.InitVars(); + contactList.Columns[0].Width = contactList.ItemHeight; //2014.02.28. + this.Hide(); + try + { + LoginDialog = new LoginForm(); + LoginDialog.ShowDialog(); + //NullReferenceException a = null; + //throw a; + } + catch (Exception e) + { + ErrorHandling.FormError(LoginDialog, e); + } + //Nézzük, sikerült-e + if (CurrentUser.UserID != 0) + { + //this.Show(); + contactList.Enabled = false; //2014.03.05. + //contactList.Items.Add("Betöltés..."); //2014.03.05. + MainThread = Thread.CurrentThread; + + // Create the thread object, passing in the Alpha.Beta method + // via a ThreadStart delegate. This does not start the thread. + LThread = new Thread(new ThreadStart(UpdatePartnerList)); + LThread.Name = "Update Partner List"; + + // Start the thread + LThread.Start(); + } + } + + private void LogoutUser(object sender, EventArgs e) + { + this.Hide(); + // + //UserInfo.Partners = new UserInfo[1024]; //Újabb tömböt rendel hozzá, ezért a régi jó esetben törlésre kerül - 2014.03.11. + //UserInfo.Partners = new List(); + UserInfo.Partners.Clear(); + //Type lol = sender.GetType(); + //MessageBox.Show("Just some stuff:\n" + lol.ToString()); + //lol = lol.GetType(); + //MessageBox.Show("Just some stuff:\n" + lol.ToString()); //System.RuntimeType + // + CurrentUser.UserID = 0; + LoginForm.LButtonText = "Bejelentkezés"; + LoginForm.PassText = ""; + this.Invoke(new LoginForm.MyDelegate(LoginDialog.SetLoginValues)); + PartnerListThreadActive = false; + LoginDialog.ShowDialog(); + //Nézzük, sikerült-e + if (CurrentUser.UserID == 0) + Close(); + contactList.Items.Clear(); //2014.03.05. + contactList.Enabled = false; //2014.03.05. + contactList.Items.Add("Betöltés..."); //2014.03.05. + this.Show(); + PartnerListThreadActive = true; //2014.02.28. - Törli, majd újra létrehozza a listafrissitő thread-et, ha újra bejelentkezett + // Create the thread object, passing in the Alpha.Beta method + // via a ThreadStart delegate. This does not start the thread. + LThread = new Thread(new ThreadStart(UpdatePartnerList)); + LThread.Name = "Update Partner List"; + + // Start the thread + LThread.Start(); + } + + private void LoginNewUser(object sender, EventArgs e) + { + System.Diagnostics.Process.Start("MSGer.tk.exe"); + } + + private void SetOnlineState(object sender, EventArgs e) + { + int state = 0; + if (sender == elérhetőToolStripMenuItem) + state = 1; + if (sender == elfoglaltToolStripMenuItem) + state = 2; + if (sender == nincsAGépnélToolStripMenuItem) + state = 3; + if (sender == rejtveKapcsolódikToolStripMenuItem) + state = 4; + //HTTP + if (Networking.SendRequest("setstate", state + "", 2, true) != "Success") + MessageBox.Show("Hiba történt az állapot beállitása során."); + } + + private void SelectPartner(object sender, EventArgs e) + { + SelectPartnerSender = (ToolStripMenuItem)sender; + DialogResult dr = new DialogResult(); + dr = (new SelectPartnerForm()).ShowDialog(); + if (dr == DialogResult.OK) + { + if (SelectPartnerSender == fájlKüldéseToolStripMenuItem) + { + ; + } + if (SelectPartnerSender == azonnaliÜzenetKüldéseToolStripMenuItem) + { + ; + } + } + /*else if (dr == DialogResult.Cancel) + ;*/ + } + public int UpdateContactList() //2014.03.01. + { + //contactList.Update(); //2014.03.01. + //contactList.Invalidate(true); //2014.03.01. + contactList.Refresh(); + contactList.Enabled = true; //2014.03.05. - A thread első futásához kell + return 0; + } + public delegate int MyDelegate(); + public void UpdatePartnerList() + { + while (PartnerListThreadActive && MainThread.IsAlive) + { + string[] row = Networking.SendRequest("getlist", "", 3, true).Split('ͦ'); //Lekéri a listát, és különválogatja egyben - 2014.02.28. + //contactList.Items.Clear(); + //GLItem[] listViewItem=new GLItem[1024]; + List listViewItem = new List(); + int i = 0; + //int[] tmp; + //if (Settings.Default.picupdatetime.Length == 0) + //tmp = new int[1024]; + //else + //tmp = Settings.Default.picupdatetime.Split(',').Select(s => Int32.Parse(s)).ToArray(); + List tmp; + if (Settings.Default.picupdatetime.Length != 0) + tmp = Settings.Default.picupdatetime.Split(',').Select(s => Int32.Parse(s)).ToList(); + else tmp = new List(); + //UserInfo[] tmpuser = UserInfo.Partners; //Tömbrendezés - Első igazán bonyolult művelet (a többihez csak a parancsokat nem ismertem) - 2014.03.07. + List tmpuser = UserInfo.Partners; + for (int x = 0; x < row.Length; x += 6) //Ezt az egyetlen számot (x+=3) kell módositani, és máris alkalmazkodott a hozzáadott adathoz + { + if (row.Length < 5) //2014.03.19. - Ha nincs ismerőse + break; + for (int y = 0; y < UserInfo.Partners.Count; y++) + { + if(UserInfo.Partners[y]!=null && Int32.Parse(row[x+3])==UserInfo.Partners[y].UserID) //Ha null az értéke, már nem is ellenőrzi a másik feltételt + { //Átrendezi a tömböt az új sorrendbe - Ha változott - 2014.03.07. + tmpuser[i] = UserInfo.Partners[y]; + tmpuser[i].Number = i; //És elmenti az új helyét - 2014.03.13. + } + } + //if (tmpuser[i] == null) + if(i>=tmpuser.Count) + { + //tmpuser[i] = new UserInfo(); + tmpuser.Add(new UserInfo()); + } + tmpuser[i].UserID = Int32.Parse(row[x + 3]); //Beállitja az ID-ket + tmpuser[i].Number = i; + tmpuser[i].Name = row[x]; + tmpuser[i].Message = row[x + 1]; + tmpuser[i].State = row[x + 2]; + tmpuser[i].UserName = row[x + 4]; + tmpuser[i].Email = row[x + 5]; + /*if (tmp == null) - Ha tmp==null, akkor az alábbi utasitás sem fog tudni lefutni... + tmp[i] = 0; //Beállitja 0-ra, ha nincs még elmentve*/ + string state = ""; + if (row[x + 2] == "1") + state = " (Elérhető)"; + if (row[x + 2] == "2") + state = " (Elfoglalt)"; + if (row[x + 2] == "3") + state = " (Nincs a gépnél)"; + //listViewItem[i] = new GLItem(); + listViewItem.Add(new GLItem()); + PictureBox item = new PictureBox(); + tmpuser[i].PicUpdateTime = tmp[i]; + string imgpath = tmpuser[i].GetImage(); + if (imgpath!="noimage.png" || File.Exists("noimage.png")) //2014.03.13. + item.ImageLocation = imgpath; + else + MessageBox.Show("Az alap profilkép nem található.\nMásold be a noimage.png-t, vagy telepitsd újra a programot.\n(Ez az üzenet minden egyes ismerősödnél megjelenik.)", "Hiba"); + item.SizeMode = PictureBoxSizeMode.StretchImage; + + listViewItem[i].SubItems[0].Control = item; + listViewItem[i].SubItems[1].Text = row[x] + " " + state + "\n" + row[x + 1]; + i++; + } + Settings.Default.picupdatetime = String.Join(",", tmp.Select(ix => ix.ToString()).ToArray()); + UserInfo.Partners = tmpuser; + contactList.Items.Clear(); + try + { + contactList.Items.AddRange(listViewItem.ToArray()); //2014.03.01. - ToArray: 2014.03.21. + } + catch(ObjectDisposedException) + { + break; + } + /*catch (NullReferenceException) + { + //Mindig megtörténik - A tömb mérete miatt + * 2014.03.21. - Array -> List + * Most már nem szabad megtörténnie + }*/ + try + { //Ha már leállt a program, hibát ir + this.Invoke(new MyDelegate(UpdateContactList)); + } + catch (ObjectDisposedException) + { + break; + } + catch (InvalidOperationException) + { + break; + } + Thread.Sleep(5000); + } + } + + private void ClearSearchBar(object sender, EventArgs e) + { + if(textBox1.Text=="Ismerősök keresése...") + textBox1.Clear(); + } + + private void PutTextInSearchBar(object sender, EventArgs e) + { + if (textBox1.Text == "") + textBox1.Text = "Ismerősök keresése..."; + } + public static int RightClickedPartner = -1; + private void ContactItemRightClick(object sender, MouseEventArgs e) + { + if (e.Button != MouseButtons.Right || contactList.HotItemIndex>=contactList.Items.Count) + { //Igy nem reagál arra sem, ha üres területre kattintunk + return; + } + contactList.Items[contactList.HotItemIndex].Selected = true; + RightClickedPartner = contactList.HotItemIndex; + partnerMenu.Show(Cursor.Position); + } + //ChatForm[] ChatWindow=new ChatForm[1024]; + private void OpenSendMessage(object sender, EventArgs e) //2014.03.02. 0:17 + { + int tmp = contactList.HotItemIndex; + if (RightClickedPartner == -1) + RightClickedPartner = tmp; + //Üzenetküldő form + /*if (ChatWindow[RightClickedPartner] == null || ChatWindow[RightClickedPartner].IsDisposed) + ChatWindow[RightClickedPartner] = new ChatForm(); + UserInfo test = new UserInfo(); + test.ChatWindow = new ChatForm(); + ChatWindow[RightClickedPartner].Show();*/ + /*if (UserInfo.Partners[RightClickedPartner].ChatWindow.MultiChat == null && (UserInfo.Partners[RightClickedPartner].ChatWindow == null || UserInfo.Partners[RightClickedPartner].ChatWindow.IsDisposed)) + UserInfo.Partners[RightClickedPartner].ChatWindow = new ChatForm(); + //A MultiChat-hoz nem nyúlunk, ezáltal sima beszélgetés lesz + UserInfo.Partners[RightClickedPartner].ChatWindow.ChatPartner = RightClickedPartner; + UserInfo.Partners[RightClickedPartner].ChatWindow.Show();*/ + int ChatNum = -1; + for (int i = 0; i < ChatForm.ChatWindows.Count; i++) + { + if (ChatForm.ChatWindows[i].ChatPartners.Count==1 && ChatForm.ChatWindows[i].ChatPartners.Contains(RightClickedPartner)) + { //Vele, és csak vele beszél + ChatNum = i; + break; + } + } + if(ChatNum==-1) + { //Nincs még chatablaka + ChatForm.ChatWindows.Add(new ChatForm()); + ChatForm.ChatWindows[ChatForm.ChatWindows.Count - 1].ChatPartners.Add(RightClickedPartner); + ChatForm.ChatWindows[ChatForm.ChatWindows.Count - 1].Show(); + } + else + { + ChatForm.ChatWindows[ChatNum].Show(); + } + /*if (UserInfo.Partners[RightClickedPartner].ChatWindow.MultiChat == null && (UserInfo.Partners[RightClickedPartner].ChatWindow == null || UserInfo.Partners[RightClickedPartner].ChatWindow.IsDisposed)) + UserInfo.Partners[RightClickedPartner].ChatWindow = new ChatForm(); + //A MultiChat-hoz nem nyúlunk, ezáltal sima beszélgetés lesz + UserInfo.Partners[RightClickedPartner].ChatWindow.ChatPartner = RightClickedPartner; + UserInfo.Partners[RightClickedPartner].ChatWindow.Show();*/ + + RightClickedPartner = -1; // A form bezárásakor állitsa vissza - Inkább ne; Azóta átalakitottam + } + + private void OnMainFormLoad(object sender, EventArgs e) + { + if (CurrentUser.UserID == 0) + Close(); + } + + private void InvitePartner(object sender, EventArgs e) + { + (new InvitePartner()).ShowDialog(); + } + } +} diff --git a/Most Closed Beta/v7.0/MSGer.tk (C#)/MainForm.resx b/Most Closed Beta/v7.0/MSGer.tk (C#)/MainForm.resx new file mode 100644 index 0000000..246e1f8 --- /dev/null +++ b/Most Closed Beta/v7.0/MSGer.tk (C#)/MainForm.resx @@ -0,0 +1,129 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + WLM 2009 Logo base64-encoded probably - Spent hours on the correct sed command + + + System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + 17, 17 + + + 130, 17 + + + 245, 17 + + + 375, 17 + + \ No newline at end of file diff --git a/Most Closed Beta/v7.0/MSGer.tk (C#)/Program.cs b/Most Closed Beta/v7.0/MSGer.tk (C#)/Program.cs new file mode 100644 index 0000000..da3019e --- /dev/null +++ b/Most Closed Beta/v7.0/MSGer.tk (C#)/Program.cs @@ -0,0 +1,90 @@ +using System; +using System.Collections.Generic; +using System.IO; +using System.Linq; +using System.Net; +using System.Text; +using System.Threading.Tasks; +using System.Windows.Forms; + +namespace MSGer.tk +{ + static class Program + { + /// + /// The main entry point for the application. + /// + public static MainForm MainF; + [STAThread] + static void Main() + { + Application.EnableVisualStyles(); + Application.SetCompatibleTextRenderingDefault(false); + try + { + Application.Run(MainF = new MainForm()); + } + catch(FileNotFoundException e) + { + //MessageBox.Show(e.GetType().ToString()); + MessageBox.Show("Egy fájl nem található.\nA fájl neve:\n" + e.FileName+"\nEnnél a műveletnél: "+e.TargetSite); + + } + catch(Exception e) + { + ErrorHandling.FormError(MainF, e); + } + } + } + static class Networking + { + //public static HttpWebRequest Request; //2014.03.27. - A megállitáshoz + public static string SendRequest(string action, string data, int remnum, bool loggedin) //2014.02.18. + { + //HttpWebRequest httpWReq = + // (HttpWebRequest)WebRequest.Create("http://msger.tk/client.php"); + HttpWebRequest httpWReq = + (HttpWebRequest)WebRequest.Create("http://msger.url.ph/client.php"); + + ASCIIEncoding encoding = new ASCIIEncoding(); + string postData = "action=" + action; + if (loggedin) //2014.03.14. + postData += "&uid=" + CurrentUser.UserID; + postData += "&key=cas1fe4a6feFEFEFE1616CE8099VFE1444cdasf48c1ase5dg"; + if (loggedin) //2014.03.14. + postData += "&code=" + LoginForm.UserCode; //2014.02.13. + postData += "&data=" + Uri.EscapeUriString(data); //2014.02.13. + byte[] datax = encoding.GetBytes(postData); + + httpWReq.Method = "POST"; + httpWReq.ContentType = "application/x-www-form-urlencoded"; + httpWReq.ContentLength = datax.Length; + + //MessageBox.Show(postData); + + using (Stream stream = httpWReq.GetRequestStream()) + { + stream.Write(datax, 0, datax.Length); + } + + //Lista betöltése folyamatban... + + HttpWebResponse response = (HttpWebResponse)httpWReq.GetResponse(); + + string responseString = new StreamReader(response.GetResponseStream()).ReadToEnd(); + + try + { + responseString = responseString.Remove(responseString.IndexOf('<')); + } + catch + { + } + + //if (remnum>0 && responseString.Length-remnum>0) //Felt. 2014.03.14. + // responseString = responseString.Remove(responseString.Length - remnum); //A -1 nem elég + + return responseString; + } + } +} diff --git a/Most Closed Beta/v7.0/MSGer.tk (C#)/Properties/AssemblyInfo.cs b/Most Closed Beta/v7.0/MSGer.tk (C#)/Properties/AssemblyInfo.cs new file mode 100644 index 0000000..044ccb6 --- /dev/null +++ b/Most Closed Beta/v7.0/MSGer.tk (C#)/Properties/AssemblyInfo.cs @@ -0,0 +1,36 @@ +using System.Reflection; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +// General Information about an assembly is controlled through the following +// set of attributes. Change these attribute values to modify the information +// associated with an assembly. +[assembly: AssemblyTitle("MSGer.tk")] +[assembly: AssemblyDescription("")] +[assembly: AssemblyConfiguration("")] +[assembly: AssemblyCompany("")] +[assembly: AssemblyProduct("MSGer.tk")] +[assembly: AssemblyCopyright("Copyright © 2013")] +[assembly: AssemblyTrademark("")] +[assembly: AssemblyCulture("")] + +// Setting ComVisible to false makes the types in this assembly not visible +// to COM components. If you need to access a type in this assembly from +// COM, set the ComVisible attribute to true on that type. +[assembly: ComVisible(false)] + +// The following GUID is for the ID of the typelib if this project is exposed to COM +[assembly: Guid("d2fdb449-71d7-425e-942b-516005de4cc8")] + +// Version information for an assembly consists of the following four values: +// +// Major Version +// Minor Version +// Build Number +// Revision +// +// You can specify all the values or you can default the Build and Revision Numbers +// by using the '*' as shown below: +// [assembly: AssemblyVersion("1.0.*")] +[assembly: AssemblyVersion("1.0.0.0")] +[assembly: AssemblyFileVersion("1.0.0.0")] diff --git a/Most Closed Beta/v7.0/MSGer.tk (C#)/Properties/Resources.Designer.cs b/Most Closed Beta/v7.0/MSGer.tk (C#)/Properties/Resources.Designer.cs new file mode 100644 index 0000000..4c92e1d --- /dev/null +++ b/Most Closed Beta/v7.0/MSGer.tk (C#)/Properties/Resources.Designer.cs @@ -0,0 +1,103 @@ +//------------------------------------------------------------------------------ +// +// 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. +// +//------------------------------------------------------------------------------ + +namespace MSGer.tk.Properties { + using System; + + + /// + /// A strongly-typed resource class, for looking up localized strings, etc. + /// + // 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 Resources { + + private static global::System.Resources.ResourceManager resourceMan; + + private static global::System.Globalization.CultureInfo resourceCulture; + + [global::System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1811:AvoidUncalledPrivateCode")] + internal Resources() { + } + + /// + /// Returns the cached ResourceManager instance used by this class. + /// + [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("MSGer.tk.Properties.Resources", typeof(Resources).Assembly); + resourceMan = temp; + } + return resourceMan; + } + } + + /// + /// Overrides the current thread's CurrentUICulture property for all + /// resource lookups using this strongly typed resource class. + /// + [global::System.ComponentModel.EditorBrowsableAttribute(global::System.ComponentModel.EditorBrowsableState.Advanced)] + internal static global::System.Globalization.CultureInfo Culture { + get { + return resourceCulture; + } + set { + resourceCulture = value; + } + } + + /// + /// Looks up a localized resource of type System.Drawing.Bitmap. + /// + internal static System.Drawing.Bitmap Blue_Wallpaper_HD { + get { + object obj = ResourceManager.GetObject("Blue-Wallpaper-HD", resourceCulture); + return ((System.Drawing.Bitmap)(obj)); + } + } + + /// + /// Looks up a localized resource of type System.Drawing.Bitmap. + /// + internal static System.Drawing.Bitmap Blue_Wallpaper_HD_2 { + get { + object obj = ResourceManager.GetObject("Blue-Wallpaper-HD 2", resourceCulture); + return ((System.Drawing.Bitmap)(obj)); + } + } + + /// + /// Looks up a localized resource of type System.Drawing.Bitmap. + /// + internal static System.Drawing.Bitmap Keresősáv { + get { + object obj = ResourceManager.GetObject("Keresősáv", resourceCulture); + return ((System.Drawing.Bitmap)(obj)); + } + } + + /// + /// Looks up a localized resource of type System.Drawing.Bitmap. + /// + internal static System.Drawing.Bitmap Menü_2 { + get { + object obj = ResourceManager.GetObject("Menü 2", resourceCulture); + return ((System.Drawing.Bitmap)(obj)); + } + } + } +} diff --git a/Most Closed Beta/v7.0/MSGer.tk (C#)/Properties/Resources.resx b/Most Closed Beta/v7.0/MSGer.tk (C#)/Properties/Resources.resx new file mode 100644 index 0000000..7ac27db --- /dev/null +++ b/Most Closed Beta/v7.0/MSGer.tk (C#)/Properties/Resources.resx @@ -0,0 +1,133 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + text/microsoft-resx + + + 2.0 + + + System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + + ..\Resources\Keresősáv.jpg;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a + + + ..\Resources\Blue-Wallpaper-HD 21.jpg;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a + + + ..\Resources\Menü 22.jpg;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a + + + ..\Resources\Blue-Wallpaper-HD1.jpg;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a + + \ No newline at end of file diff --git a/Most Closed Beta/v7.0/MSGer.tk (C#)/Properties/Settings.Designer.cs b/Most Closed Beta/v7.0/MSGer.tk (C#)/Properties/Settings.Designer.cs new file mode 100644 index 0000000..c795cd2 --- /dev/null +++ b/Most Closed Beta/v7.0/MSGer.tk (C#)/Properties/Settings.Designer.cs @@ -0,0 +1,30 @@ +//------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// Runtime Version:4.0.30319.17929 +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +//------------------------------------------------------------------------------ + +namespace MSGer.tk.Properties +{ + + + [global::System.Runtime.CompilerServices.CompilerGeneratedAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.VisualStudio.Editors.SettingsDesigner.SettingsSingleFileGenerator", "11.0.0.0")] + internal sealed partial class Settings : global::System.Configuration.ApplicationSettingsBase + { + + private static Settings defaultInstance = ((Settings)(global::System.Configuration.ApplicationSettingsBase.Synchronized(new Settings()))); + + public static Settings Default + { + get + { + return defaultInstance; + } + } + } +} diff --git a/Most Closed Beta/v7.0/MSGer.tk (C#)/Properties/Settings.settings b/Most Closed Beta/v7.0/MSGer.tk (C#)/Properties/Settings.settings new file mode 100644 index 0000000..abf36c5 --- /dev/null +++ b/Most Closed Beta/v7.0/MSGer.tk (C#)/Properties/Settings.settings @@ -0,0 +1,7 @@ + + + + + + + diff --git a/Most Closed Beta/v7.0/MSGer.tk (C#)/Resources/Blue-Wallpaper-HD 2.jpg b/Most Closed Beta/v7.0/MSGer.tk (C#)/Resources/Blue-Wallpaper-HD 2.jpg new file mode 100644 index 0000000..2cf5782 Binary files /dev/null and b/Most Closed Beta/v7.0/MSGer.tk (C#)/Resources/Blue-Wallpaper-HD 2.jpg differ diff --git a/Most Closed Beta/v7.0/MSGer.tk (C#)/Resources/Blue-Wallpaper-HD 21.jpg b/Most Closed Beta/v7.0/MSGer.tk (C#)/Resources/Blue-Wallpaper-HD 21.jpg new file mode 100644 index 0000000..2cf5782 Binary files /dev/null and b/Most Closed Beta/v7.0/MSGer.tk (C#)/Resources/Blue-Wallpaper-HD 21.jpg differ diff --git a/Most Closed Beta/v7.0/MSGer.tk (C#)/Resources/Blue-Wallpaper-HD.jpg b/Most Closed Beta/v7.0/MSGer.tk (C#)/Resources/Blue-Wallpaper-HD.jpg new file mode 100644 index 0000000..38e9cbc Binary files /dev/null and b/Most Closed Beta/v7.0/MSGer.tk (C#)/Resources/Blue-Wallpaper-HD.jpg differ diff --git a/Most Closed Beta/v7.0/MSGer.tk (C#)/Resources/Blue-Wallpaper-HD1.jpg b/Most Closed Beta/v7.0/MSGer.tk (C#)/Resources/Blue-Wallpaper-HD1.jpg new file mode 100644 index 0000000..38e9cbc Binary files /dev/null and b/Most Closed Beta/v7.0/MSGer.tk (C#)/Resources/Blue-Wallpaper-HD1.jpg differ diff --git a/Most Closed Beta/v7.0/MSGer.tk (C#)/Resources/Keresősáv.jpg b/Most Closed Beta/v7.0/MSGer.tk (C#)/Resources/Keresősáv.jpg new file mode 100644 index 0000000..f54cf78 Binary files /dev/null and b/Most Closed Beta/v7.0/MSGer.tk (C#)/Resources/Keresősáv.jpg differ diff --git a/Most Closed Beta/v7.0/MSGer.tk (C#)/Resources/Menü 2.jpg b/Most Closed Beta/v7.0/MSGer.tk (C#)/Resources/Menü 2.jpg new file mode 100644 index 0000000..d4b1794 Binary files /dev/null and b/Most Closed Beta/v7.0/MSGer.tk (C#)/Resources/Menü 2.jpg differ diff --git a/Most Closed Beta/v7.0/MSGer.tk (C#)/Resources/Menü 21.jpg b/Most Closed Beta/v7.0/MSGer.tk (C#)/Resources/Menü 21.jpg new file mode 100644 index 0000000..d4b1794 Binary files /dev/null and b/Most Closed Beta/v7.0/MSGer.tk (C#)/Resources/Menü 21.jpg differ diff --git a/Most Closed Beta/v7.0/MSGer.tk (C#)/Resources/Menü 22.jpg b/Most Closed Beta/v7.0/MSGer.tk (C#)/Resources/Menü 22.jpg new file mode 100644 index 0000000..d4b1794 Binary files /dev/null and b/Most Closed Beta/v7.0/MSGer.tk (C#)/Resources/Menü 22.jpg differ diff --git a/Most Closed Beta/v7.0/MSGer.tk (C#)/Resources/Menü 3.jpg b/Most Closed Beta/v7.0/MSGer.tk (C#)/Resources/Menü 3.jpg new file mode 100644 index 0000000..a021f2f Binary files /dev/null and b/Most Closed Beta/v7.0/MSGer.tk (C#)/Resources/Menü 3.jpg differ diff --git a/Most Closed Beta/v7.0/MSGer.tk (C#)/SelectPartnerForm.Designer.cs b/Most Closed Beta/v7.0/MSGer.tk (C#)/SelectPartnerForm.Designer.cs new file mode 100644 index 0000000..7ee9f55 --- /dev/null +++ b/Most Closed Beta/v7.0/MSGer.tk (C#)/SelectPartnerForm.Designer.cs @@ -0,0 +1,179 @@ +namespace MSGer.tk +{ + partial class SelectPartnerForm + { + /// + /// Required designer variable. + /// + private System.ComponentModel.IContainer components = null; + + /// + /// Clean up any resources being used. + /// + /// true if managed resources should be disposed; otherwise, false. + protected override void Dispose(bool disposing) + { + if (disposing && (components != null)) + { + components.Dispose(); + } + base.Dispose(disposing); + } + + #region Windows Form Designer generated code + + /// + /// Required method for Designer support - do not modify + /// the contents of this method with the code editor. + /// + private void InitializeComponent() + { + GlacialComponents.Controls.GLColumn glColumn1 = new GlacialComponents.Controls.GLColumn(); + GlacialComponents.Controls.GLItem glItem1 = new GlacialComponents.Controls.GLItem(); + GlacialComponents.Controls.GLSubItem glSubItem1 = new GlacialComponents.Controls.GLSubItem(); + this.partnerList = new GlacialComponents.Controls.GlacialList(); + this.selectedPartners = new System.Windows.Forms.TextBox(); + this.okbtn = new System.Windows.Forms.Button(); + this.cancelbtn = new System.Windows.Forms.Button(); + this.titleText = new System.Windows.Forms.Label(); + this.SuspendLayout(); + // + // partnerList + // + this.partnerList.AllowColumnResize = false; + this.partnerList.AllowMultiselect = true; + this.partnerList.AlternateBackground = System.Drawing.Color.DarkGreen; + this.partnerList.AlternatingColors = false; + this.partnerList.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.partnerList.AutoHeight = true; + this.partnerList.BackColor = System.Drawing.SystemColors.ControlLightLight; + this.partnerList.BackgroundStretchToFit = true; + glColumn1.ActivatedEmbeddedType = GlacialComponents.Controls.GLActivatedEmbeddedTypes.None; + glColumn1.CheckBoxes = true; + glColumn1.ImageIndex = -1; + glColumn1.Name = "PartnerName"; + glColumn1.NumericSort = false; + glColumn1.Text = ""; + glColumn1.TextAlignment = System.Drawing.ContentAlignment.MiddleLeft; + glColumn1.Width = 100; + this.partnerList.Columns.AddRange(new GlacialComponents.Controls.GLColumn[] { + glColumn1}); + this.partnerList.ControlStyle = GlacialComponents.Controls.GLControlStyles.Normal; + this.partnerList.ForeColor = System.Drawing.Color.Black; + this.partnerList.FullRowSelect = true; + this.partnerList.GridColor = System.Drawing.Color.LightGray; + this.partnerList.GridLines = GlacialComponents.Controls.GLGridLines.gridBoth; + this.partnerList.GridLineStyle = GlacialComponents.Controls.GLGridLineStyles.gridNone; + this.partnerList.GridTypes = GlacialComponents.Controls.GLGridTypes.gridOnExists; + this.partnerList.HeaderHeight = 0; + this.partnerList.HeaderVisible = false; + this.partnerList.HeaderWordWrap = false; + this.partnerList.HotColumnTracking = false; + this.partnerList.HotItemTracking = true; + this.partnerList.HotTrackingColor = System.Drawing.Color.LightGray; + this.partnerList.HoverEvents = false; + this.partnerList.HoverTime = 1; + this.partnerList.ImageList = null; + this.partnerList.ItemHeight = 17; + glItem1.BackColor = System.Drawing.Color.White; + glItem1.ForeColor = System.Drawing.Color.Black; + glItem1.RowBorderColor = System.Drawing.Color.Black; + glItem1.RowBorderSize = 0; + glSubItem1.BackColor = System.Drawing.Color.Empty; + glSubItem1.Checked = false; + glSubItem1.ForceText = false; + glSubItem1.ForeColor = System.Drawing.Color.Black; + glSubItem1.ImageAlignment = System.Windows.Forms.HorizontalAlignment.Left; + glSubItem1.ImageIndex = -1; + glSubItem1.Text = "Test"; + glItem1.SubItems.AddRange(new GlacialComponents.Controls.GLSubItem[] { + glSubItem1}); + glItem1.Text = "Test"; + this.partnerList.Items.AddRange(new GlacialComponents.Controls.GLItem[] { + glItem1}); + this.partnerList.ItemWordWrap = false; + this.partnerList.Location = new System.Drawing.Point(13, 26); + this.partnerList.Name = "partnerList"; + this.partnerList.Selectable = true; + this.partnerList.SelectedTextColor = System.Drawing.Color.White; + this.partnerList.SelectionColor = System.Drawing.Color.DarkBlue; + this.partnerList.ShowBorder = true; + this.partnerList.ShowFocusRect = true; + this.partnerList.Size = new System.Drawing.Size(359, 286); + this.partnerList.SortType = GlacialComponents.Controls.SortTypes.InsertionSort; + this.partnerList.SuperFlatHeaderColor = System.Drawing.Color.White; + this.partnerList.TabIndex = 0; + this.partnerList.Click += new System.EventHandler(this.ItemClicked); + this.partnerList.DoubleClick += new System.EventHandler(this.ItemDoubleClick); + // + // selectedPartners + // + this.selectedPartners.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left) + | System.Windows.Forms.AnchorStyles.Right))); + this.selectedPartners.Location = new System.Drawing.Point(13, 319); + this.selectedPartners.Multiline = true; + this.selectedPartners.Name = "selectedPartners"; + this.selectedPartners.Size = new System.Drawing.Size(359, 103); + this.selectedPartners.TabIndex = 1; + // + // okbtn + // + this.okbtn.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right))); + this.okbtn.DialogResult = System.Windows.Forms.DialogResult.OK; + this.okbtn.Location = new System.Drawing.Point(215, 428); + this.okbtn.Name = "okbtn"; + this.okbtn.Size = new System.Drawing.Size(75, 23); + this.okbtn.TabIndex = 2; + this.okbtn.Text = "OK"; + this.okbtn.UseVisualStyleBackColor = true; + this.okbtn.Click += new System.EventHandler(this.okbtn_Click); + // + // cancelbtn + // + this.cancelbtn.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right))); + this.cancelbtn.DialogResult = System.Windows.Forms.DialogResult.Cancel; + this.cancelbtn.Location = new System.Drawing.Point(297, 429); + this.cancelbtn.Name = "cancelbtn"; + this.cancelbtn.Size = new System.Drawing.Size(75, 23); + this.cancelbtn.TabIndex = 3; + this.cancelbtn.Text = "Mégse"; + this.cancelbtn.UseVisualStyleBackColor = true; + // + // titleText + // + this.titleText.AutoSize = true; + this.titleText.Location = new System.Drawing.Point(13, 7); + this.titleText.Name = "titleText"; + this.titleText.Size = new System.Drawing.Size(53, 13); + this.titleText.TabIndex = 4; + this.titleText.Text = "Unknown"; + // + // SelectPartnerForm + // + this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F); + this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; + this.ClientSize = new System.Drawing.Size(384, 462); + this.Controls.Add(this.titleText); + this.Controls.Add(this.cancelbtn); + this.Controls.Add(this.okbtn); + this.Controls.Add(this.selectedPartners); + this.Controls.Add(this.partnerList); + this.Name = "SelectPartnerForm"; + this.Text = "Partnerválasztás"; + this.ResizeEnd += new System.EventHandler(this.FormResizeFinish); + this.ResumeLayout(false); + this.PerformLayout(); + + } + + #endregion + + private GlacialComponents.Controls.GlacialList partnerList; + private System.Windows.Forms.TextBox selectedPartners; + private System.Windows.Forms.Button okbtn; + private System.Windows.Forms.Button cancelbtn; + private System.Windows.Forms.Label titleText; + } +} \ No newline at end of file diff --git a/Most Closed Beta/v7.0/MSGer.tk (C#)/SelectPartnerForm.cs b/Most Closed Beta/v7.0/MSGer.tk (C#)/SelectPartnerForm.cs new file mode 100644 index 0000000..3d73128 --- /dev/null +++ b/Most Closed Beta/v7.0/MSGer.tk (C#)/SelectPartnerForm.cs @@ -0,0 +1,126 @@ +using GlacialComponents.Controls; +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 SelectPartnerForm : Form + { + public SelectPartnerForm() + { + InitializeComponent(); + //this.Text = MainForm.SelectPartnerSender.ToString(); + //titleText.Text = MainForm.SelectPartnerSender.ToString(); + this.Text = MainForm.SelectPartnerSender.Text; //2014.02.28. + titleText.Text = MainForm.SelectPartnerSender.Text; + + partnerList.Items.Clear(); + //for (int x = 0; x < 1024; x++) + for (int x = 0; x < UserInfo.Partners.Count; x++) //Partners + { + //MessageBox.Show(x + ""); + try + { + //MessageBox.Show("Hozzáadás"); + //GLItem item = new GLItem(partnerList); + //item.Text = UserInfo.Partners[x].Name; + partnerList.Items.Add(UserInfo.Partners[x].UserName); + //MessageBox.Show("Hozzáadva"); + } + catch (NullReferenceException) + { + break; + } + catch (Exception e) + { + MessageBox.Show(e.Message); + break; + } + } + partnerList.Columns[0].Width = partnerList.ClientSize.Width-5; + } + + private void FormResizeFinish(object sender, EventArgs e) + { + partnerList.Columns[0].Width = partnerList.ClientSize.Width-5; + } + + private void ItemClicked(object sender, EventArgs e) + { + for (int i = 0; i < partnerList.Items.Count; i++) + { + if(partnerList.Items[i].SubItems[0].Checked) + { + int p = selectedPartners.Text.IndexOf(partnerList.Items[i].SubItems[0].Text + ";"); + if (p == -1) + { + /*if (selectedPartners.Text.Length != 0) + selectedPartners.Text += "; " + partnerList.Items[i].SubItems[0].Text; + else + selectedPartners.Text = partnerList.Items[i].SubItems[0].Text;*/ + selectedPartners.Text += partnerList.Items[i].SubItems[0].Text + ";"; + } + } + else + { + //MessageBox.Show(selectedPartners.Text.IndexOf(partnerList.Items[i].SubItems[0].Text)+""); + int p = selectedPartners.Text.IndexOf(partnerList.Items[i].SubItems[0].Text + ";"); + if (p != -1) //Eltávolitja a nem kiválasztott partner előfordulását a listából - Megcsinálom visszafelé is + selectedPartners.Text = selectedPartners.Text.Remove(p, partnerList.Items[i].SubItems[0].Text.Length+1); //Eltávolitja a ;-t is + } + } + } + + private void ItemDoubleClick(object sender, EventArgs e) + { + int a = partnerList.HotItemIndex; + //MessageBox.Show("DoubleClick"); + if (partnerList.Items[a].SubItems[0].Checked) + partnerList.Items[a].SubItems[0].Checked = false; + else + partnerList.Items[a].SubItems[0].Checked = true; + ItemClicked(sender, e); + } + + private void okbtn_Click(object sender, EventArgs e) + { + /*for (int i = 0; i < partnerList.Items.Count; i++) + { + if (partnerList.Items[i].SubItems[0].Checked) + { + //if (UserInfo.Partners[i].ChatWindow.MultiChat != null && true) + // ; //Át kell gondolnom a rendszert a többfelhasználós chat miatt - 2014.03.21. + } + }*/ + while(selectedPartners.Text.Contains(' ')) + { //Eltávolitja a szóközöket + int x=selectedPartners.Text.IndexOf(' '); + selectedPartners.Text.Remove(x, 1); + } + string[] partners = selectedPartners.Text.Split(';'); + ChatForm tmpchat = new ChatForm(); + for (int i = 0; i < partners.Length; i++) + { + for(int j=0; j + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + text/microsoft-resx + + + 2.0 + + + System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + \ No newline at end of file diff --git a/Most Closed Beta/v7.0/MSGer.tk (C#)/Settings.Designer.cs b/Most Closed Beta/v7.0/MSGer.tk (C#)/Settings.Designer.cs new file mode 100644 index 0000000..150d5ee --- /dev/null +++ b/Most Closed Beta/v7.0/MSGer.tk (C#)/Settings.Designer.cs @@ -0,0 +1,50 @@ +//------------------------------------------------------------------------------ +// +// 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. +// +//------------------------------------------------------------------------------ + +namespace MSGer.tk { + + + [global::System.Runtime.CompilerServices.CompilerGeneratedAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.VisualStudio.Editors.SettingsDesigner.SettingsSingleFileGenerator", "12.0.0.0")] + internal sealed partial class Settings : global::System.Configuration.ApplicationSettingsBase { + + private static Settings defaultInstance = ((Settings)(global::System.Configuration.ApplicationSettingsBase.Synchronized(new Settings()))); + + public static Settings Default { + get { + return defaultInstance; + } + } + + [global::System.Configuration.UserScopedSettingAttribute()] + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.Configuration.DefaultSettingValueAttribute("")] + public string email { + get { + return ((string)(this["email"])); + } + set { + this["email"] = value; + } + } + + [global::System.Configuration.UserScopedSettingAttribute()] + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.Configuration.DefaultSettingValueAttribute("")] + public string picupdatetime { + get { + return ((string)(this["picupdatetime"])); + } + set { + this["picupdatetime"] = value; + } + } + } +} diff --git a/Most Closed Beta/v7.0/MSGer.tk (C#)/Settings.cs b/Most Closed Beta/v7.0/MSGer.tk (C#)/Settings.cs new file mode 100644 index 0000000..2cae8b2 --- /dev/null +++ b/Most Closed Beta/v7.0/MSGer.tk (C#)/Settings.cs @@ -0,0 +1,28 @@ +namespace MSGer.tk { + + + // This class allows you to handle specific events on the settings class: + // The SettingChanging event is raised before a setting's value is changed. + // The PropertyChanged event is raised after a setting's value is changed. + // The SettingsLoaded event is raised after the setting values are loaded. + // The SettingsSaving event is raised before the setting values are saved. + internal sealed partial class Settings { + + public Settings() { + // // To add event handlers for saving and changing settings, uncomment the lines below: + // + // this.SettingChanging += this.SettingChangingEventHandler; + // + // this.SettingsSaving += this.SettingsSavingEventHandler; + // + } + + private void SettingChangingEventHandler(object sender, System.Configuration.SettingChangingEventArgs e) { + // Add code to handle the SettingChangingEvent event here. + } + + private void SettingsSavingEventHandler(object sender, System.ComponentModel.CancelEventArgs e) { + // Add code to handle the SettingsSaving event here. + } + } +} diff --git a/Most Closed Beta/v7.0/MSGer.tk (C#)/Settings.settings b/Most Closed Beta/v7.0/MSGer.tk (C#)/Settings.settings new file mode 100644 index 0000000..10beda8 --- /dev/null +++ b/Most Closed Beta/v7.0/MSGer.tk (C#)/Settings.settings @@ -0,0 +1,12 @@ + + + + + + + + + + + + \ No newline at end of file diff --git a/Most Closed Beta/v7.0/MSGer.tk (C#)/UserInfo.cs b/Most Closed Beta/v7.0/MSGer.tk (C#)/UserInfo.cs new file mode 100644 index 0000000..74cd2fd --- /dev/null +++ b/Most Closed Beta/v7.0/MSGer.tk (C#)/UserInfo.cs @@ -0,0 +1,77 @@ +using System; +using System.Collections.Generic; +using System.Linq; +using System.Text; +using System.Threading.Tasks; +using System.IO; + +namespace MSGer.tk +{ + public partial class UserInfo + { + /* + * 2014.03.07. + * Az összes szükséges felhasználó szükséges adatai + */ + //public ChatForm ChatWindow { get; set; } + public int ChatID { get; set; } + public int UserID { get; set; } + public int Number { get; set; } //Nem tudom egyszerűen meghatározni a tömbbeli helyét + //public static UserInfo[] Partners = new UserInfo[1024]; + public static List Partners = new List(); + public string Name { get; set; } + public string Message { get; set; } + public string State { get; set; } + public string UserName { get; set; } + public string Email { get; set; } + public UserInfo() + { + + } + public int PicUpdateTime = 0; + public string GetImage() + { + /* + * Szükséges információk az adatbázisban: + * - Felhasználó képe a users táblában + * - A legutóbbi képváltás dátuma + * Ebből megállapitja a program, hogy le kell-e tölteni. + * Eltárol helyileg is egy dátumot, és ha már frissitette egyszer a képet (újabb a helyi dátum, mint az adatbázisban), + * akkor nem csinál semmit. Ha régebbi, akkor a partner azóta frissitette, tehát szükséges a letöltés. + */ + string str = Networking.SendRequest("getimage", Number + "ͦ" + PicUpdateTime, 2, true); //SetVars + /* + * Ez a funkció automatikusan elküldi a bejelentkezett felhasználó azonositóját, + * a PHP szkript pedig leellenőrzi, hogy egymásnak partnerei-e, ezáltal nem nézheti meg akárki akárkinek a profilképét + * (pedig a legtöbb helyen igy van, de szerintem jobb igy; lehet, hogy beállithatóvá teszem) + */ + if (str == "Fail") + { + return "noimage.png"; + } + else + { //Mentse el a képet + string tmp = Path.GetTempPath(); + if (!Directory.Exists(tmp + "\\MSGer.tk\\pictures")) + Directory.CreateDirectory(tmp + "\\MSGer.tk\\pictures"); + File.WriteAllText(tmp + "\\MSGer.tk\\pictures\\" + Number + ".png", str); + } + return "noimage.png"; + } + /*public static void InitVars() //Az adott felhasználó profilozásakor adja át a helyileg tárolt információkat + { + }*/ + /*public static void SetVars() + { + for (int x = 0; x < PicUpdateTime.Length; x++) + { + if (Settings.Default.picupdatetime.Length == 0) + PicUpdateTime[x] = 0; //Ha nem nyúlunk hozzá, alapesetben régebbinek veszi a dátumot, ezáltal letölti + else + { + Settings.Default.picupdatetime = String.Join(",", PicUpdateTime.Select(i => i.ToString()).ToArray()); + } + } + }*/ + } +} diff --git a/Most Closed Beta/v7.0/MSGer.tk (C#)/bin/Debug/GlacialList.dll b/Most Closed Beta/v7.0/MSGer.tk (C#)/bin/Debug/GlacialList.dll new file mode 100644 index 0000000..6652693 Binary files /dev/null and b/Most Closed Beta/v7.0/MSGer.tk (C#)/bin/Debug/GlacialList.dll differ diff --git a/Most Closed Beta/v7.0/MSGer.tk (C#)/bin/Debug/GlacialList.pdb b/Most Closed Beta/v7.0/MSGer.tk (C#)/bin/Debug/GlacialList.pdb new file mode 100644 index 0000000..ee239c7 Binary files /dev/null and b/Most Closed Beta/v7.0/MSGer.tk (C#)/bin/Debug/GlacialList.pdb differ diff --git a/Most Closed Beta/v7.0/MSGer.tk (C#)/bin/Debug/Khendys.Controls.ExRichTextBox.dll b/Most Closed Beta/v7.0/MSGer.tk (C#)/bin/Debug/Khendys.Controls.ExRichTextBox.dll new file mode 100644 index 0000000..1851254 Binary files /dev/null and b/Most Closed Beta/v7.0/MSGer.tk (C#)/bin/Debug/Khendys.Controls.ExRichTextBox.dll differ diff --git a/Most Closed Beta/v7.0/MSGer.tk (C#)/bin/Debug/Khendys.Controls.ExRichTextBox.pdb b/Most Closed Beta/v7.0/MSGer.tk (C#)/bin/Debug/Khendys.Controls.ExRichTextBox.pdb new file mode 100644 index 0000000..1610b6d Binary files /dev/null and b/Most Closed Beta/v7.0/MSGer.tk (C#)/bin/Debug/Khendys.Controls.ExRichTextBox.pdb differ diff --git a/Most Closed Beta/v7.0/MSGer.tk (C#)/bin/Debug/MSGer.tk.exe b/Most Closed Beta/v7.0/MSGer.tk (C#)/bin/Debug/MSGer.tk.exe new file mode 100644 index 0000000..1bc211d Binary files /dev/null and b/Most Closed Beta/v7.0/MSGer.tk (C#)/bin/Debug/MSGer.tk.exe differ diff --git a/Most Closed Beta/v7.0/MSGer.tk (C#)/bin/Debug/MSGer.tk.exe.config b/Most Closed Beta/v7.0/MSGer.tk (C#)/bin/Debug/MSGer.tk.exe.config new file mode 100644 index 0000000..484ca80 --- /dev/null +++ b/Most Closed Beta/v7.0/MSGer.tk (C#)/bin/Debug/MSGer.tk.exe.config @@ -0,0 +1,21 @@ + + + + +
+ + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/Most Closed Beta/v7.0/MSGer.tk (C#)/bin/Debug/MSGer.tk.pdb b/Most Closed Beta/v7.0/MSGer.tk (C#)/bin/Debug/MSGer.tk.pdb new file mode 100644 index 0000000..b8d8477 Binary files /dev/null and b/Most Closed Beta/v7.0/MSGer.tk (C#)/bin/Debug/MSGer.tk.pdb differ diff --git a/Most Closed Beta/v7.0/MSGer.tk (C#)/bin/Debug/MSGer.tk.vshost.exe b/Most Closed Beta/v7.0/MSGer.tk (C#)/bin/Debug/MSGer.tk.vshost.exe new file mode 100644 index 0000000..c0dfecc Binary files /dev/null and b/Most Closed Beta/v7.0/MSGer.tk (C#)/bin/Debug/MSGer.tk.vshost.exe differ diff --git a/Most Closed Beta/v7.0/MSGer.tk (C#)/bin/Debug/MSGer.tk.vshost.exe.config b/Most Closed Beta/v7.0/MSGer.tk (C#)/bin/Debug/MSGer.tk.vshost.exe.config new file mode 100644 index 0000000..484ca80 --- /dev/null +++ b/Most Closed Beta/v7.0/MSGer.tk (C#)/bin/Debug/MSGer.tk.vshost.exe.config @@ -0,0 +1,21 @@ + + + + +
+ + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/Most Closed Beta/v7.0/MSGer.tk (C#)/bin/Debug/MSGer.tk.vshost.exe.manifest b/Most Closed Beta/v7.0/MSGer.tk (C#)/bin/Debug/MSGer.tk.vshost.exe.manifest new file mode 100644 index 0000000..f96b1d6 --- /dev/null +++ b/Most Closed Beta/v7.0/MSGer.tk (C#)/bin/Debug/MSGer.tk.vshost.exe.manifest @@ -0,0 +1,11 @@ + + + + + + + + + + + diff --git a/Most Closed Beta/v7.0/MSGer.tk (C#)/bin/Debug/noimage.png b/Most Closed Beta/v7.0/MSGer.tk (C#)/bin/Debug/noimage.png new file mode 100644 index 0000000..7519e19 Binary files /dev/null and b/Most Closed Beta/v7.0/MSGer.tk (C#)/bin/Debug/noimage.png differ diff --git a/Most Closed Beta/v7.0/MSGer.tk (C#)/bin/Release/MSGer.tk.exe b/Most Closed Beta/v7.0/MSGer.tk (C#)/bin/Release/MSGer.tk.exe new file mode 100644 index 0000000..ba5712d Binary files /dev/null and b/Most Closed Beta/v7.0/MSGer.tk (C#)/bin/Release/MSGer.tk.exe differ diff --git a/Most Closed Beta/v7.0/MSGer.tk (C#)/bin/Release/MSGer.tk.exe.config b/Most Closed Beta/v7.0/MSGer.tk (C#)/bin/Release/MSGer.tk.exe.config new file mode 100644 index 0000000..01566ac --- /dev/null +++ b/Most Closed Beta/v7.0/MSGer.tk (C#)/bin/Release/MSGer.tk.exe.config @@ -0,0 +1,18 @@ + + + + +
+ + + + + + + + + + + + + \ No newline at end of file diff --git a/Most Closed Beta/v7.0/MSGer.tk (C#)/bin/Release/MSGer.tk.pdb b/Most Closed Beta/v7.0/MSGer.tk (C#)/bin/Release/MSGer.tk.pdb new file mode 100644 index 0000000..0f86b2a Binary files /dev/null and b/Most Closed Beta/v7.0/MSGer.tk (C#)/bin/Release/MSGer.tk.pdb differ diff --git a/Most Closed Beta/v7.0/MSGer.tk (C#)/bin/Release/MSGer.tk.vshost.exe b/Most Closed Beta/v7.0/MSGer.tk (C#)/bin/Release/MSGer.tk.vshost.exe new file mode 100644 index 0000000..8c84517 Binary files /dev/null and b/Most Closed Beta/v7.0/MSGer.tk (C#)/bin/Release/MSGer.tk.vshost.exe differ diff --git a/Most Closed Beta/v7.0/MSGer.tk (C#)/bin/Release/MSGer.tk.vshost.exe.config b/Most Closed Beta/v7.0/MSGer.tk (C#)/bin/Release/MSGer.tk.vshost.exe.config new file mode 100644 index 0000000..01566ac --- /dev/null +++ b/Most Closed Beta/v7.0/MSGer.tk (C#)/bin/Release/MSGer.tk.vshost.exe.config @@ -0,0 +1,18 @@ + + + + +
+ + + + + + + + + + + + + \ No newline at end of file diff --git a/Most Closed Beta/v7.0/MSGer.tk (C#)/bin/Release/MSGer.tk.vshost.exe.manifest b/Most Closed Beta/v7.0/MSGer.tk (C#)/bin/Release/MSGer.tk.vshost.exe.manifest new file mode 100644 index 0000000..f96b1d6 --- /dev/null +++ b/Most Closed Beta/v7.0/MSGer.tk (C#)/bin/Release/MSGer.tk.vshost.exe.manifest @@ -0,0 +1,11 @@ + + + + + + + + + + + diff --git a/Most Closed Beta/v7.0/MSGer.tk (C#)/obj/Debug/DesignTimeResolveAssemblyReferences.cache b/Most Closed Beta/v7.0/MSGer.tk (C#)/obj/Debug/DesignTimeResolveAssemblyReferences.cache new file mode 100644 index 0000000..e873066 Binary files /dev/null and b/Most Closed Beta/v7.0/MSGer.tk (C#)/obj/Debug/DesignTimeResolveAssemblyReferences.cache differ diff --git a/Most Closed Beta/v7.0/MSGer.tk (C#)/obj/Debug/DesignTimeResolveAssemblyReferencesInput.cache b/Most Closed Beta/v7.0/MSGer.tk (C#)/obj/Debug/DesignTimeResolveAssemblyReferencesInput.cache new file mode 100644 index 0000000..d9845b3 Binary files /dev/null and b/Most Closed Beta/v7.0/MSGer.tk (C#)/obj/Debug/DesignTimeResolveAssemblyReferencesInput.cache differ diff --git a/Most Closed Beta/v7.0/MSGer.tk (C#)/obj/Debug/MSGer.tk.ChatForm.resources b/Most Closed Beta/v7.0/MSGer.tk (C#)/obj/Debug/MSGer.tk.ChatForm.resources new file mode 100644 index 0000000..6c05a97 Binary files /dev/null and b/Most Closed Beta/v7.0/MSGer.tk (C#)/obj/Debug/MSGer.tk.ChatForm.resources differ diff --git a/Most Closed Beta/v7.0/MSGer.tk (C#)/obj/Debug/MSGer.tk.InvitePartner.resources b/Most Closed Beta/v7.0/MSGer.tk (C#)/obj/Debug/MSGer.tk.InvitePartner.resources new file mode 100644 index 0000000..6c05a97 Binary files /dev/null and b/Most Closed Beta/v7.0/MSGer.tk (C#)/obj/Debug/MSGer.tk.InvitePartner.resources differ diff --git a/Most Closed Beta/v7.0/MSGer.tk (C#)/obj/Debug/MSGer.tk.LoginForm.resources b/Most Closed Beta/v7.0/MSGer.tk (C#)/obj/Debug/MSGer.tk.LoginForm.resources new file mode 100644 index 0000000..62b9f73 Binary files /dev/null and b/Most Closed Beta/v7.0/MSGer.tk (C#)/obj/Debug/MSGer.tk.LoginForm.resources differ diff --git a/Most Closed Beta/v7.0/MSGer.tk (C#)/obj/Debug/MSGer.tk.LoginForm_RegistrationForm.resources b/Most Closed Beta/v7.0/MSGer.tk (C#)/obj/Debug/MSGer.tk.LoginForm_RegistrationForm.resources new file mode 100644 index 0000000..6c05a97 Binary files /dev/null and b/Most Closed Beta/v7.0/MSGer.tk (C#)/obj/Debug/MSGer.tk.LoginForm_RegistrationForm.resources differ diff --git a/Most Closed Beta/v7.0/MSGer.tk (C#)/obj/Debug/MSGer.tk.MainForm.resources b/Most Closed Beta/v7.0/MSGer.tk (C#)/obj/Debug/MSGer.tk.MainForm.resources new file mode 100644 index 0000000..6c05a97 Binary files /dev/null and b/Most Closed Beta/v7.0/MSGer.tk (C#)/obj/Debug/MSGer.tk.MainForm.resources differ diff --git a/Most Closed Beta/v7.0/MSGer.tk (C#)/obj/Debug/MSGer.tk.Properties.Resources.resources b/Most Closed Beta/v7.0/MSGer.tk (C#)/obj/Debug/MSGer.tk.Properties.Resources.resources new file mode 100644 index 0000000..2e7eded Binary files /dev/null and b/Most Closed Beta/v7.0/MSGer.tk (C#)/obj/Debug/MSGer.tk.Properties.Resources.resources differ diff --git a/Most Closed Beta/v7.0/MSGer.tk (C#)/obj/Debug/MSGer.tk.SelectPartnerForm.resources b/Most Closed Beta/v7.0/MSGer.tk (C#)/obj/Debug/MSGer.tk.SelectPartnerForm.resources new file mode 100644 index 0000000..6c05a97 Binary files /dev/null and b/Most Closed Beta/v7.0/MSGer.tk (C#)/obj/Debug/MSGer.tk.SelectPartnerForm.resources differ diff --git a/Most Closed Beta/v7.0/MSGer.tk (C#)/obj/Debug/MSGer.tk.csproj.FileListAbsolute.txt b/Most Closed Beta/v7.0/MSGer.tk (C#)/obj/Debug/MSGer.tk.csproj.FileListAbsolute.txt new file mode 100644 index 0000000..d68fd9b --- /dev/null +++ b/Most Closed Beta/v7.0/MSGer.tk (C#)/obj/Debug/MSGer.tk.csproj.FileListAbsolute.txt @@ -0,0 +1,28 @@ +D:\Z - Norbi cucca\0 Projektek\MSGer.tk\MSGer.tk\bin\Debug\MSGer.tk.exe.config +D:\Z - Norbi cucca\0 Projektek\MSGer.tk\MSGer.tk\bin\Debug\MSGer.tk.exe +D:\Z - Norbi cucca\0 Projektek\MSGer.tk\MSGer.tk\bin\Debug\MSGer.tk.pdb +D:\Z - Norbi cucca\0 Projektek\MSGer.tk\MSGer.tk\obj\Debug\MSGer.tk.MainForm.resources +D:\Z - Norbi cucca\0 Projektek\MSGer.tk\MSGer.tk\obj\Debug\MSGer.tk.Properties.Resources.resources +D:\Z - Norbi cucca\0 Projektek\MSGer.tk\MSGer.tk\obj\Debug\MSGer.tk.csproj.GenerateResource.Cache +D:\Z - Norbi cucca\0 Projektek\MSGer.tk\MSGer.tk\obj\Debug\MSGer.tk.exe +D:\Z - Norbi cucca\0 Projektek\MSGer.tk\MSGer.tk\obj\Debug\MSGer.tk.pdb +D:\Z - Norbi cucca\0 Projektek\MSGer.tk\MSGer.tk\obj\Debug\MSGer.tk.LoginForm.resources +D:\Z - Norbi cucca\0 Projektek\MSGer.tk\MSGer.tk\obj\Debug\MSGer.tk.csprojResolveAssemblyReference.cache +D:\Z - Norbi cucca\0 Projektek\MSGer.tk\MSGer.tk (C#)\bin\Debug\MSGer.tk.exe.config +D:\Z - Norbi cucca\0 Projektek\MSGer.tk\MSGer.tk (C#)\obj\Debug\MSGer.tk.exe +D:\Z - Norbi cucca\0 Projektek\MSGer.tk\MSGer.tk (C#)\obj\Debug\MSGer.tk.pdb +D:\Z - Norbi cucca\0 Projektek\MSGer.tk\MSGer.tk (C#)\bin\Debug\MSGer.tk.exe +D:\Z - Norbi cucca\0 Projektek\MSGer.tk\MSGer.tk (C#)\bin\Debug\MSGer.tk.pdb +D:\Z - Norbi cucca\0 Projektek\MSGer.tk\MSGer.tk (C#)\obj\Debug\MSGer.tk.MainForm.resources +D:\Z - Norbi cucca\0 Projektek\MSGer.tk\MSGer.tk (C#)\obj\Debug\MSGer.tk.LoginForm.resources +D:\Z - Norbi cucca\0 Projektek\MSGer.tk\MSGer.tk (C#)\obj\Debug\MSGer.tk.Properties.Resources.resources +D:\Z - Norbi cucca\0 Projektek\MSGer.tk\MSGer.tk (C#)\obj\Debug\MSGer.tk.csproj.GenerateResource.Cache +D:\Z - Norbi cucca\0 Projektek\MSGer.tk\MSGer.tk (C#)\obj\Debug\MSGer.tk.csprojResolveAssemblyReference.cache +D:\Z - Norbi cucca\0 Projektek\MSGer.tk\MSGer.tk (C#)\bin\Debug\GlacialList.dll +D:\Z - Norbi cucca\0 Projektek\MSGer.tk\MSGer.tk (C#)\bin\Debug\GlacialList.pdb +D:\Z - Norbi cucca\0 Projektek\MSGer.tk\MSGer.tk (C#)\obj\Debug\MSGer.tk.SelectPartnerForm.resources +D:\Z - Norbi cucca\0 Projektek\MSGer.tk\MSGer.tk (C#)\bin\Debug\Khendys.Controls.ExRichTextBox.dll +D:\Z - Norbi cucca\0 Projektek\MSGer.tk\MSGer.tk (C#)\bin\Debug\Khendys.Controls.ExRichTextBox.pdb +D:\Z - Norbi cucca\0 Projektek\MSGer.tk\MSGer.tk (C#)\obj\Debug\MSGer.tk.ChatForm.resources +D:\Z - Norbi cucca\0 Projektek\MSGer.tk\MSGer.tk (C#)\obj\Debug\MSGer.tk.LoginForm_RegistrationForm.resources +D:\Z - Norbi cucca\0 Projektek\MSGer.tk\MSGer.tk (C#)\obj\Debug\MSGer.tk.InvitePartner.resources diff --git a/Most Closed Beta/v7.0/MSGer.tk (C#)/obj/Debug/MSGer.tk.csproj.GenerateResource.Cache b/Most Closed Beta/v7.0/MSGer.tk (C#)/obj/Debug/MSGer.tk.csproj.GenerateResource.Cache new file mode 100644 index 0000000..b0ce9ad Binary files /dev/null and b/Most Closed Beta/v7.0/MSGer.tk (C#)/obj/Debug/MSGer.tk.csproj.GenerateResource.Cache differ diff --git a/Most Closed Beta/v7.0/MSGer.tk (C#)/obj/Debug/MSGer.tk.csprojResolveAssemblyReference.cache b/Most Closed Beta/v7.0/MSGer.tk (C#)/obj/Debug/MSGer.tk.csprojResolveAssemblyReference.cache new file mode 100644 index 0000000..ac76ae5 Binary files /dev/null and b/Most Closed Beta/v7.0/MSGer.tk (C#)/obj/Debug/MSGer.tk.csprojResolveAssemblyReference.cache differ diff --git a/Most Closed Beta/v7.0/MSGer.tk (C#)/obj/Debug/MSGer.tk.exe b/Most Closed Beta/v7.0/MSGer.tk (C#)/obj/Debug/MSGer.tk.exe new file mode 100644 index 0000000..1bc211d Binary files /dev/null and b/Most Closed Beta/v7.0/MSGer.tk (C#)/obj/Debug/MSGer.tk.exe differ diff --git a/Most Closed Beta/v7.0/MSGer.tk (C#)/obj/Debug/MSGer.tk.pdb b/Most Closed Beta/v7.0/MSGer.tk (C#)/obj/Debug/MSGer.tk.pdb new file mode 100644 index 0000000..b8d8477 Binary files /dev/null and b/Most Closed Beta/v7.0/MSGer.tk (C#)/obj/Debug/MSGer.tk.pdb differ diff --git a/Most Closed Beta/v7.0/MSGer.tk (C#)/obj/Debug/TempPE/Properties.Resources.Designer.cs.dll b/Most Closed Beta/v7.0/MSGer.tk (C#)/obj/Debug/TempPE/Properties.Resources.Designer.cs.dll new file mode 100644 index 0000000..8bbac29 Binary files /dev/null and b/Most Closed Beta/v7.0/MSGer.tk (C#)/obj/Debug/TempPE/Properties.Resources.Designer.cs.dll differ diff --git a/Most Closed Beta/v7.0/MSGer.tk (C#)/obj/Debug/TemporaryGeneratedFile_036C0B5B-1481-4323-8D20-8F5ADCB23D92.cs b/Most Closed Beta/v7.0/MSGer.tk (C#)/obj/Debug/TemporaryGeneratedFile_036C0B5B-1481-4323-8D20-8F5ADCB23D92.cs new file mode 100644 index 0000000..e69de29 diff --git a/Most Closed Beta/v7.0/MSGer.tk (C#)/obj/Debug/TemporaryGeneratedFile_5937a670-0e60-4077-877b-f7221da3dda1.cs b/Most Closed Beta/v7.0/MSGer.tk (C#)/obj/Debug/TemporaryGeneratedFile_5937a670-0e60-4077-877b-f7221da3dda1.cs new file mode 100644 index 0000000..e69de29 diff --git a/Most Closed Beta/v7.0/MSGer.tk (C#)/obj/Debug/TemporaryGeneratedFile_E7A71F73-0F8D-4B9B-B56E-8E70B10BC5D3.cs b/Most Closed Beta/v7.0/MSGer.tk (C#)/obj/Debug/TemporaryGeneratedFile_E7A71F73-0F8D-4B9B-B56E-8E70B10BC5D3.cs new file mode 100644 index 0000000..e69de29 diff --git a/Most Closed Beta/v7.0/MSGer.tk (C#)/obj/Release/DesignTimeResolveAssemblyReferences.cache b/Most Closed Beta/v7.0/MSGer.tk (C#)/obj/Release/DesignTimeResolveAssemblyReferences.cache new file mode 100644 index 0000000..37a5636 Binary files /dev/null and b/Most Closed Beta/v7.0/MSGer.tk (C#)/obj/Release/DesignTimeResolveAssemblyReferences.cache differ diff --git a/Most Closed Beta/v7.0/MSGer.tk (C#)/obj/Release/DesignTimeResolveAssemblyReferencesInput.cache b/Most Closed Beta/v7.0/MSGer.tk (C#)/obj/Release/DesignTimeResolveAssemblyReferencesInput.cache new file mode 100644 index 0000000..4663684 Binary files /dev/null and b/Most Closed Beta/v7.0/MSGer.tk (C#)/obj/Release/DesignTimeResolveAssemblyReferencesInput.cache differ diff --git a/Most Closed Beta/v7.0/MSGer.tk (C#)/obj/Release/MSGer.tk.LoginForm.resources b/Most Closed Beta/v7.0/MSGer.tk (C#)/obj/Release/MSGer.tk.LoginForm.resources new file mode 100644 index 0000000..6c05a97 Binary files /dev/null and b/Most Closed Beta/v7.0/MSGer.tk (C#)/obj/Release/MSGer.tk.LoginForm.resources differ diff --git a/Most Closed Beta/v7.0/MSGer.tk (C#)/obj/Release/MSGer.tk.MainForm.resources b/Most Closed Beta/v7.0/MSGer.tk (C#)/obj/Release/MSGer.tk.MainForm.resources new file mode 100644 index 0000000..6c05a97 Binary files /dev/null and b/Most Closed Beta/v7.0/MSGer.tk (C#)/obj/Release/MSGer.tk.MainForm.resources differ diff --git a/Most Closed Beta/v7.0/MSGer.tk (C#)/obj/Release/MSGer.tk.Properties.Resources.resources b/Most Closed Beta/v7.0/MSGer.tk (C#)/obj/Release/MSGer.tk.Properties.Resources.resources new file mode 100644 index 0000000..6c05a97 Binary files /dev/null and b/Most Closed Beta/v7.0/MSGer.tk (C#)/obj/Release/MSGer.tk.Properties.Resources.resources differ diff --git a/Most Closed Beta/v7.0/MSGer.tk (C#)/obj/Release/MSGer.tk.csproj.FileListAbsolute.txt b/Most Closed Beta/v7.0/MSGer.tk (C#)/obj/Release/MSGer.tk.csproj.FileListAbsolute.txt new file mode 100644 index 0000000..b7b0098 --- /dev/null +++ b/Most Closed Beta/v7.0/MSGer.tk (C#)/obj/Release/MSGer.tk.csproj.FileListAbsolute.txt @@ -0,0 +1,9 @@ +D:\Z - Norbi cucca\0 Projektek\MSGer.tk\MSGer.tk\bin\Release\MSGer.tk.exe.config +D:\Z - Norbi cucca\0 Projektek\MSGer.tk\MSGer.tk\bin\Release\MSGer.tk.exe +D:\Z - Norbi cucca\0 Projektek\MSGer.tk\MSGer.tk\bin\Release\MSGer.tk.pdb +D:\Z - Norbi cucca\0 Projektek\MSGer.tk\MSGer.tk\obj\Release\MSGer.tk.MainForm.resources +D:\Z - Norbi cucca\0 Projektek\MSGer.tk\MSGer.tk\obj\Release\MSGer.tk.LoginForm.resources +D:\Z - Norbi cucca\0 Projektek\MSGer.tk\MSGer.tk\obj\Release\MSGer.tk.Properties.Resources.resources +D:\Z - Norbi cucca\0 Projektek\MSGer.tk\MSGer.tk\obj\Release\MSGer.tk.csproj.GenerateResource.Cache +D:\Z - Norbi cucca\0 Projektek\MSGer.tk\MSGer.tk\obj\Release\MSGer.tk.exe +D:\Z - Norbi cucca\0 Projektek\MSGer.tk\MSGer.tk\obj\Release\MSGer.tk.pdb diff --git a/Most Closed Beta/v7.0/MSGer.tk (C#)/obj/Release/MSGer.tk.csproj.GenerateResource.Cache b/Most Closed Beta/v7.0/MSGer.tk (C#)/obj/Release/MSGer.tk.csproj.GenerateResource.Cache new file mode 100644 index 0000000..ad1861f Binary files /dev/null and b/Most Closed Beta/v7.0/MSGer.tk (C#)/obj/Release/MSGer.tk.csproj.GenerateResource.Cache differ diff --git a/Most Closed Beta/v7.0/MSGer.tk (C#)/obj/Release/MSGer.tk.exe b/Most Closed Beta/v7.0/MSGer.tk (C#)/obj/Release/MSGer.tk.exe new file mode 100644 index 0000000..ba5712d Binary files /dev/null and b/Most Closed Beta/v7.0/MSGer.tk (C#)/obj/Release/MSGer.tk.exe differ diff --git a/Most Closed Beta/v7.0/MSGer.tk (C#)/obj/Release/MSGer.tk.pdb b/Most Closed Beta/v7.0/MSGer.tk (C#)/obj/Release/MSGer.tk.pdb new file mode 100644 index 0000000..0f86b2a Binary files /dev/null and b/Most Closed Beta/v7.0/MSGer.tk (C#)/obj/Release/MSGer.tk.pdb differ diff --git a/Most Closed Beta/v7.0/MSGer.tk (C#)/obj/Release/TemporaryGeneratedFile_036C0B5B-1481-4323-8D20-8F5ADCB23D92.cs b/Most Closed Beta/v7.0/MSGer.tk (C#)/obj/Release/TemporaryGeneratedFile_036C0B5B-1481-4323-8D20-8F5ADCB23D92.cs new file mode 100644 index 0000000..e69de29 diff --git a/Most Closed Beta/v7.0/MSGer.tk (C#)/obj/Release/TemporaryGeneratedFile_5937a670-0e60-4077-877b-f7221da3dda1.cs b/Most Closed Beta/v7.0/MSGer.tk (C#)/obj/Release/TemporaryGeneratedFile_5937a670-0e60-4077-877b-f7221da3dda1.cs new file mode 100644 index 0000000..e69de29 diff --git a/Most Closed Beta/v7.0/MSGer.tk (C#)/obj/Release/TemporaryGeneratedFile_E7A71F73-0F8D-4B9B-B56E-8E70B10BC5D3.cs b/Most Closed Beta/v7.0/MSGer.tk (C#)/obj/Release/TemporaryGeneratedFile_E7A71F73-0F8D-4B9B-B56E-8E70B10BC5D3.cs new file mode 100644 index 0000000..e69de29 diff --git a/Most Closed Beta/v8.0/Changelog.txt b/Most Closed Beta/v8.0/Changelog.txt new file mode 100644 index 0000000..c81b32d --- /dev/null +++ b/Most Closed Beta/v8.0/Changelog.txt @@ -0,0 +1,37 @@ +v8.0 - 2014.04.02., 04., 05., 10., 11. +---- + +InvitePartner: +- "Elfogadott kdok elrejtse" opci hozzadva + +LoginForm: +- Elkldi a felhasznl nevt is az azonositjval egytt bejelentkezskor + +ChatForm: +- zenetklds ksz +- Minden j zenetnl letekeri az zenethez + +MainForm: +- A kijelentkezs most mr tnylegesen frissti a felhasznl llapott + +Hibajavitsok: +- Ha olyan helyen kattintasz dupln, ahol nincs ismersd a listban, most mr nem reagl r (eddig felmutatott egy sima chatablakot) +- Valamirt a UserCode generlsa kzben kisbetss alakitottam eddig a jelszt, s most a hoszttal egytt a jelszavamat is vltoztattam itt, ezrt talltam r +- Nem trol kln tmbt a kdoknak az ismers meghivsa ablaknl +- Csak visszaigazolsra vr kdot lehet trlni, hogy vletlenl ne trldjn (technikai okok miatt is) +- A kdgenerlst beleraktam egy do-while szerkezetbe, hogy leellenrizze, hogy hasznlva van-e mr a generlt kd +- A Main Thread-et a MainForm nevezi el +- A bejelentkezablakot minden bejelentkezskor trli, majd kijelentkezskor jra ltrehozza; ezrt thelyeztem nmi kdot +- A kdmsols az egsz szveget msolta, most mr csak a kdot +- A PHP nem minden esetben irt ki minden informcit, ezrt a program hibt jelzett, ha elfogadottnak jelltem az ismerettsget +- Hibt jelzett, ha bezrtam a chatablakot, javitva (ChatWindows.Count!=0) + +v9.0 Tervek: +---- +- Fjlklds +- Rich Text szvegdoboz hasznlata a nevek, szemlyes zenetek megjelenitshez +http://stackoverflow.com/questions/6168177/how-to-insert-image-in-a-textbox +http://www.codeproject.com/Articles/4544/Insert-Plain-Text-and-Images-into-RichTextBox-at-R +- ItemWordWrap csak nagy listanzetben +- Frissit/frissitsjelz +- Belltsok: Nv, zenet frisstse diff --git a/Most Closed Beta/v8.0/MSGer.tk (C#)/App.config b/Most Closed Beta/v8.0/MSGer.tk (C#)/App.config new file mode 100644 index 0000000..484ca80 --- /dev/null +++ b/Most Closed Beta/v8.0/MSGer.tk (C#)/App.config @@ -0,0 +1,21 @@ + + + + +
+ + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/Most Closed Beta/v8.0/MSGer.tk (C#)/ChatForm.Designer.cs b/Most Closed Beta/v8.0/MSGer.tk (C#)/ChatForm.Designer.cs new file mode 100644 index 0000000..fa26a21 --- /dev/null +++ b/Most Closed Beta/v8.0/MSGer.tk (C#)/ChatForm.Designer.cs @@ -0,0 +1,158 @@ +namespace MSGer.tk +{ + partial class ChatForm + { + /// + /// Required designer variable. + /// + private System.ComponentModel.IContainer components = null; + + /// + /// Clean up any resources being used. + /// + /// true if managed resources should be disposed; otherwise, false. + protected override void Dispose(bool disposing) + { + if (disposing && (components != null)) + { + components.Dispose(); + } + base.Dispose(disposing); + } + + #region Windows Form Designer generated code + + /// + /// Required method for Designer support - do not modify + /// the contents of this method with the code editor. + /// + private void InitializeComponent() + { + this.messageTextBox = new Khendys.Controls.ExRichTextBox(); + this.recentMsgTextBox = new Khendys.Controls.ExRichTextBox(); + this.panel1 = new System.Windows.Forms.Panel(); + this.panel2 = new System.Windows.Forms.Panel(); + this.statusLabel = new System.Windows.Forms.Label(); + this.partnerMsg = new System.Windows.Forms.Label(); + this.partnerName = new System.Windows.Forms.Label(); + this.panel2.SuspendLayout(); + this.SuspendLayout(); + // + // messageTextBox + // + this.messageTextBox.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left) + | System.Windows.Forms.AnchorStyles.Right))); + this.messageTextBox.BackColor = System.Drawing.Color.White; + this.messageTextBox.BorderStyle = System.Windows.Forms.BorderStyle.None; + this.messageTextBox.DetectUrls = false; + this.messageTextBox.ForeColor = System.Drawing.Color.Black; + this.messageTextBox.HiglightColor = Khendys.Controls.RtfColor.White; + this.messageTextBox.Location = new System.Drawing.Point(147, 310); + this.messageTextBox.Name = "messageTextBox"; + this.messageTextBox.ScrollBars = System.Windows.Forms.RichTextBoxScrollBars.Vertical; + this.messageTextBox.Size = new System.Drawing.Size(418, 75); + this.messageTextBox.TabIndex = 0; + this.messageTextBox.Text = ""; + this.messageTextBox.TextColor = Khendys.Controls.RtfColor.Black; + this.messageTextBox.TextChanged += new System.EventHandler(this.MessageTextChanged); + this.messageTextBox.KeyDown += new System.Windows.Forms.KeyEventHandler(this.SendMessage); + // + // recentMsgTextBox + // + this.recentMsgTextBox.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.recentMsgTextBox.BackColor = System.Drawing.Color.White; + this.recentMsgTextBox.BorderStyle = System.Windows.Forms.BorderStyle.None; + this.recentMsgTextBox.ForeColor = System.Drawing.Color.Black; + this.recentMsgTextBox.HiglightColor = Khendys.Controls.RtfColor.White; + this.recentMsgTextBox.Location = new System.Drawing.Point(147, 76); + this.recentMsgTextBox.Name = "recentMsgTextBox"; + this.recentMsgTextBox.ReadOnly = true; + this.recentMsgTextBox.ScrollBars = System.Windows.Forms.RichTextBoxScrollBars.Vertical; + this.recentMsgTextBox.Size = new System.Drawing.Size(418, 228); + this.recentMsgTextBox.TabIndex = 1; + this.recentMsgTextBox.Text = ""; + this.recentMsgTextBox.TextColor = Khendys.Controls.RtfColor.Black; + this.recentMsgTextBox.LinkClicked += new System.Windows.Forms.LinkClickedEventHandler(this.OpenLink); + // + // panel1 + // + this.panel1.Dock = System.Windows.Forms.DockStyle.Left; + this.panel1.Location = new System.Drawing.Point(0, 0); + this.panel1.Name = "panel1"; + this.panel1.Size = new System.Drawing.Size(141, 422); + this.panel1.TabIndex = 3; + // + // panel2 + // + this.panel2.Controls.Add(this.statusLabel); + this.panel2.Controls.Add(this.partnerMsg); + this.panel2.Controls.Add(this.partnerName); + this.panel2.Dock = System.Windows.Forms.DockStyle.Top; + this.panel2.Location = new System.Drawing.Point(141, 0); + this.panel2.Name = "panel2"; + this.panel2.Size = new System.Drawing.Size(423, 70); + this.panel2.TabIndex = 4; + // + // statusLabel + // + this.statusLabel.AutoSize = true; + this.statusLabel.Location = new System.Drawing.Point(9, 51); + this.statusLabel.Name = "statusLabel"; + this.statusLabel.Size = new System.Drawing.Size(39, 13); + this.statusLabel.TabIndex = 2; + this.statusLabel.Text = "Állapot"; + // + // partnerMsg + // + this.partnerMsg.AutoSize = true; + this.partnerMsg.ForeColor = System.Drawing.Color.Black; + this.partnerMsg.Location = new System.Drawing.Point(9, 38); + this.partnerMsg.Name = "partnerMsg"; + this.partnerMsg.Size = new System.Drawing.Size(60, 13); + this.partnerMsg.TabIndex = 1; + this.partnerMsg.Text = "partnerMsg"; + // + // partnerName + // + this.partnerName.AutoSize = true; + this.partnerName.Font = new System.Drawing.Font("Microsoft Sans Serif", 15.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(238))); + this.partnerName.ForeColor = System.Drawing.Color.Black; + this.partnerName.Location = new System.Drawing.Point(7, 13); + this.partnerName.Name = "partnerName"; + this.partnerName.Size = new System.Drawing.Size(136, 25); + this.partnerName.TabIndex = 0; + this.partnerName.Text = "partnerName"; + // + // ChatForm + // + this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F); + this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; + this.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(150)))), ((int)(((byte)(200))))); + this.ClientSize = new System.Drawing.Size(564, 422); + this.Controls.Add(this.panel2); + this.Controls.Add(this.panel1); + this.Controls.Add(this.recentMsgTextBox); + this.Controls.Add(this.messageTextBox); + this.Name = "ChatForm"; + this.Text = "Beszélgetés"; + this.FormClosing += new System.Windows.Forms.FormClosingEventHandler(this.ChatForm_FormClosing); + this.Load += new System.EventHandler(this.ChatForm_Load); + this.panel2.ResumeLayout(false); + this.panel2.PerformLayout(); + this.ResumeLayout(false); + + } + + #endregion + + private Khendys.Controls.ExRichTextBox messageTextBox; + private Khendys.Controls.ExRichTextBox recentMsgTextBox; + private System.Windows.Forms.Panel panel1; + private System.Windows.Forms.Panel panel2; + public System.Windows.Forms.Label partnerMsg; + public System.Windows.Forms.Label partnerName; + public System.Windows.Forms.Label statusLabel; + } +} \ No newline at end of file diff --git a/Most Closed Beta/v8.0/MSGer.tk (C#)/ChatForm.cs b/Most Closed Beta/v8.0/MSGer.tk (C#)/ChatForm.cs new file mode 100644 index 0000000..586dd74 --- /dev/null +++ b/Most Closed Beta/v8.0/MSGer.tk (C#)/ChatForm.cs @@ -0,0 +1,225 @@ +using System; +using System.Collections.Generic; +using System.ComponentModel; +using System.Data; +using System.Diagnostics; +using System.Drawing; +using System.Globalization; +using System.Linq; +using System.Text; +using System.Threading; +using System.Threading.Tasks; +using System.Windows.Forms; + +namespace MSGer.tk +{ + public partial class ChatForm : Form + {/* 2014.03.07. A partnerinformáció birtokolja a chatablakot, és nem forditva; bár a partnerinformáció indexszáma változhat + public int ChatPartner + { + get; + set; + }*/ + //public int ChatPartner = -1; //Csak kell, a könnyebb kezelésért + //public int[] MultiChat = new int[1024]; + //public static ChatForm[] ChatWindows=new ChatForm[1024]; + public static List ChatWindows = new List(); + public List ChatPartners = new List(); + public List PendingMessages = new List(); + //public double LastCheck = 0; + public Thread UpdateT; + public ChatForm() + { + InitializeComponent(); + //Amint létrehozom, ez a kód lefut - Nem számit, hogy megjelenik-e + } + + private void ChatForm_Load(object sender, EventArgs e) + { + //MessageBox.Show(ChatPartner + ""); + //ChatPartner = 2; + //MessageBox.Show(ChatPartner + ""); + /* + for (int i = 0; i < UserInfo.Partners.Length; i++) + { + if(UserInfo.Partners[i]!=null && UserInfo.Partners[i].ChatWindow==this) + { + ChatPartner = i; + break; + } + }*/ + /*if (ChatPartner == -1) + MessageBox.Show("Hiba: Az ablakot létrehozó partner nem található.");*/ + if (ChatPartners.Count == 0) + MessageBox.Show("Hiba: Az ablakot létrehozó partner nem található."); + if (ChatPartners.Count == 1) + { + //MessageBox.Show("ChatPartner: " + ChatPartners[0]); + partnerName.Text = UserInfo.Partners[ChatPartners[0]].Name; + partnerMsg.Text = UserInfo.Partners[ChatPartners[0]].Message; + switch(UserInfo.Partners[ChatPartners[0]].State) + { + case "0": + { + statusLabel.Text = "Nem elérhető"; + break; + } + case "1": + { + statusLabel.Text = "Elérhető"; + break; + } + case "2": + { + statusLabel.Text = "Elfoglalt"; + break; + } + case "3": + { + statusLabel.Text = "Nincs a gépnél"; + break; + } + } + UpdateT = new Thread(new ThreadStart(UpdateMessages)); + UpdateT.Name = "Message Update Thread (" + partnerName.Text + ")"; + UpdateT.Start(); + } + } + + private void SendMessage(object sender, KeyEventArgs e) + { + if (e.KeyCode != Keys.Enter || e.Shift || messageTextBox.Text.Length==0) + return; + messageTextBox.ReadOnly = true; + //Networking.SendRequest("sendmessage", messageTextBox.Text, 2); //Még nincs kész a PHP - 2014.03.08. 0:01 + /* + * 2014.03.08. 0:03 + * A fenti kódra válaszul a másik felhasználó esetleges új válaszát is irja be; tehát frissitse az üzeneteket + * Az üzenetellenőrző thread folyamatosan fusson, amint végrehajtotta a parancsokat, kezdje újra (nincs Thread.Sleep) + * + * 2014.03.19. + * Csinálja úgy, mint a képeknél, hogy a legutóbbi üzenetlekérés dátumához igazodjon, és csak a legújabb üzeneteket + * töltse le + */ + //recentMsgTextBox.AppendText("Üzenet:\n"); + //recentMsgTextBox.AppendText(messageTextBox.Text + "\n"); + PendingMessages.Add(messageTextBox.Text); + messageTextBox.Focus(); + messageTextBox.Text = ""; + messageTextBox.ReadOnly = false; + } + + private void MessageTextChanged(object sender, EventArgs e) + { + if (messageTextBox.Text == "\n") + messageTextBox.Text = ""; + } + + private void OpenLink(object sender, LinkClickedEventArgs e) + { + Process.Start(e.LinkText); + } + public void UpdateMessages() + { + /* + * 2014.03.21. + * updatemessages: küldje el, hogy mikor kapott utoljára üzenetet ÉS az új üzeneteket, + * a szerver pedig először válaszoljon a szerinte aktuális időponttal, + * majd küldje el az annál újabb üzeneteket + * getrecentmessages: ezt csak önmagában küldje, + * a szerver pedig válaszoljon a legutóbbi x üzenettel, + * ahol x egy beállitható szám (alapból 10) + * ---- + * Az új üzeneteket egy listában tárolja, majd amikor továbbitja őket, törölje a listából fokozatosan + * (ahogy összeállitja a karakterláncot, mindig törölje azt az üzenetet a listából + */ + //while(UserInfo.Partners[ChatPartner].ChatWindow.IsDisposed && MainForm.MainThread.IsAlive) + //while (!ChatForm.ChatWindows[ChatPartners[0]].IsDisposed && MainForm.MainThread.IsAlive) + while (ChatWindows.Count != 0 && !this.IsDisposed && MainForm.MainThread.IsAlive) + { + try + { + /*MessageBox.Show(String.Concat(PendingMessages.ToArray())); + PendingMessages.Clear();*/ + //Thread.Sleep(2000); + string tmpstring = ""; + //tmpstring += LastCheck.ToString(CultureInfo.InvariantCulture) + "ͦ"; + for (int i = 0; i < ChatPartners.Count; i++) + { + tmpstring += UserInfo.Partners[ChatPartners[i]].UserID; + if (i + 1 < ChatPartners.Count) + tmpstring += ","; //Több emberrel is beszélhet + } + tmpstring += "ͦ"; //2014.03.27. + //int count = PendingMessages.Count; //Külön kell tennem, mert máskülönben folyamatosan csökken, és ezért a... Hoppá... While kell... + //for(int i=0; i 0) + { + tmpstring += PendingMessages[0] + "ͦ"; //Nem az i-nél tevékenykedik, hanem a 0-nál + PendingMessages.RemoveAt(0); + //MessageBox.Show("tmpstring: " + tmpstring); + } + //MessageBox.Show("tmpstring: " + tmpstring); + //MessageBox.Show("Length: " + tmpstring.Length); + //MessageBox.Show("tmpstring encoded: " + Uri.EscapeUriString(tmpstring)); + if (tmpstring.Length > 0) + { //Küldje el a lekérést + string[] response = Networking.SendRequest("updatemessages", tmpstring, 0, true).Split('ͦ'); + if (response == null || response.Length == 0 || response[0] == "Fail") + MessageBox.Show("Az üzenetek frissitése sikertelen."); + //0 - Frissitési idő; 1 - Üzenetküldő; 2 - Üzenet; 3 - Üzenetküldés időpontja + if (response[0] != "NoChange") + { + //if (double.TryParse(response[0], out LastCheck) == false) + /*try + { + LastCheck = double.Parse(response[0], CultureInfo.InvariantCulture); + } + catch + { + MessageBox.Show("Hiba:\n" + response[0]); + }*/ + //LastCheck = Int32.Parse(response[0]); + //recentMsgTextBox.AppendText(response[1] + " üzenete (" + response[3] + "):\n" + response[2]); + for (int x = 0; x + 2 < response.Length; x += 3) + { + //TMessage = "\n" + ((Int32.Parse(response[x + 1]) == CurrentUser.UserID) ? CurrentUser.Name : UserInfo.Partners[Int32.Parse(response[x + 1])].Name) + " üzenete (" + Program.UnixTimeToDateTime(response[x + 3]).ToString("yyyy.MM.dd. HH:mm:ss") + "):\n" + response[x + 2]; + TMessage = "\n" + ((Int32.Parse(response[x]) == CurrentUser.UserID) ? CurrentUser.Name : UserInfo.Partners[Int32.Parse(response[x])].Name) + " üzenete (" + Program.UnixTimeToDateTime(response[x + 2]).ToString("yyyy.MM.dd. HH:mm:ss") + "):\n" + response[x + 1]; + this.Invoke(new LoginForm.MyDelegate(SetThreadValues)); + } + } + } + } + catch(InvalidOperationException) + { + break; + } + } + } + + private void ChatForm_FormClosing(object sender, FormClosingEventArgs e) + { + //for(int i=0; i + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + text/microsoft-resx + + + 2.0 + + + System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + \ No newline at end of file diff --git a/Most Closed Beta/v8.0/MSGer.tk (C#)/CurrentUser.cs b/Most Closed Beta/v8.0/MSGer.tk (C#)/CurrentUser.cs new file mode 100644 index 0000000..1c0130f --- /dev/null +++ b/Most Closed Beta/v8.0/MSGer.tk (C#)/CurrentUser.cs @@ -0,0 +1,21 @@ +using System; +using System.Collections.Generic; +using System.IO; +using System.Linq; +using System.Text; +using System.Threading.Tasks; + +namespace MSGer.tk +{ + public static class CurrentUser + { + /* + * 2014.03.05. + * Információátrendezés: Property-k használata; Minden felhasználóhoz egy-egy User class + * Ez a class használható lenne az aktuális felhsaználó információinak tárolására + */ + public static int UserID = 0; + //public static int[] PartnerIDs = new int[1024]; + public static string Name = ""; + } +} diff --git a/Most Closed Beta/v8.0/MSGer.tk (C#)/ErrorHandling.cs b/Most Closed Beta/v8.0/MSGer.tk (C#)/ErrorHandling.cs new file mode 100644 index 0000000..83f535d --- /dev/null +++ b/Most Closed Beta/v8.0/MSGer.tk (C#)/ErrorHandling.cs @@ -0,0 +1,41 @@ +using System; +using System.Collections.Generic; +using System.Linq; +using System.Text; +using System.Threading.Tasks; +using System.Windows.Forms; + +namespace MSGer.tk +{ + class ErrorHandling + { + public static void FormError(Form fname, Exception e) + { + MessageBox.Show(e.GetType().ToString()); + if (fname == Program.MainF) + { + switch (e.GetType().ToString()) + { + case "System.NullReferenceException": + MessageBox.Show("lol"); + break; + default: + MessageBox.Show("Ismeretlen hiba történt (" + e.GetType().ToString() + ")!\n\nForrás: " + e.Source + "\nA hibaüzenet: \n" + e.Message + "\nEnnél a műveletnél: " + e.TargetSite); + break; + } + } + else if(fname==MainForm.LoginDialog) + { + switch (e.GetType().ToString()) + { + case "System.NullReferenceException": + MessageBox.Show("lol"); + break; + default: + MessageBox.Show("Ismeretlen hiba történt (" + e.GetType().ToString() + ")!\n\nForrás: " + e.Source + "\nA hibaüzenet: \n" + e.Message + "\nEnnél a műveletnél: " + e.TargetSite); + break; + } + } + } + } +} diff --git a/Most Closed Beta/v8.0/MSGer.tk (C#)/InvitePartner.Designer.cs b/Most Closed Beta/v8.0/MSGer.tk (C#)/InvitePartner.Designer.cs new file mode 100644 index 0000000..52b9303 --- /dev/null +++ b/Most Closed Beta/v8.0/MSGer.tk (C#)/InvitePartner.Designer.cs @@ -0,0 +1,176 @@ +namespace MSGer.tk +{ + partial class InvitePartner + { + /// + /// Required designer variable. + /// + private System.ComponentModel.IContainer components = null; + + /// + /// Clean up any resources being used. + /// + /// true if managed resources should be disposed; otherwise, false. + protected override void Dispose(bool disposing) + { + if (disposing && (components != null)) + { + components.Dispose(); + } + base.Dispose(disposing); + } + + #region Windows Form Designer generated code + + /// + /// Required method for Designer support - do not modify + /// the contents of this method with the code editor. + /// + private void InitializeComponent() + { + this.label1 = new System.Windows.Forms.Label(); + this.label2 = new System.Windows.Forms.Label(); + this.textBox1 = new System.Windows.Forms.TextBox(); + this.listBox1 = new System.Windows.Forms.ListBox(); + this.addbtn = new System.Windows.Forms.Button(); + this.removebtn = new System.Windows.Forms.Button(); + this.copybtn = new System.Windows.Forms.Button(); + this.label3 = new System.Windows.Forms.Label(); + this.hideAccepted = new System.Windows.Forms.CheckBox(); + this.SuspendLayout(); + // + // label1 + // + this.label1.AutoSize = true; + this.label1.Font = new System.Drawing.Font("Microsoft Sans Serif", 14.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(238))); + this.label1.ForeColor = System.Drawing.Color.Blue; + this.label1.Location = new System.Drawing.Point(13, 13); + this.label1.Name = "label1"; + this.label1.Size = new System.Drawing.Size(189, 24); + this.label1.TabIndex = 0; + this.label1.Text = "Ismerős meghívása"; + // + // label2 + // + this.label2.AutoSize = true; + this.label2.Font = new System.Drawing.Font("Microsoft Sans Serif", 14.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(238))); + this.label2.Location = new System.Drawing.Point(17, 53); + this.label2.Name = "label2"; + this.label2.Size = new System.Drawing.Size(98, 24); + this.label2.TabIndex = 1; + this.label2.Text = "Letöltőlink:"; + // + // textBox1 + // + this.textBox1.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left) + | System.Windows.Forms.AnchorStyles.Right))); + this.textBox1.BackColor = System.Drawing.Color.White; + this.textBox1.Location = new System.Drawing.Point(21, 90); + this.textBox1.Name = "textBox1"; + this.textBox1.ReadOnly = true; + this.textBox1.Size = new System.Drawing.Size(382, 20); + this.textBox1.TabIndex = 2; + this.textBox1.Text = "http://msger.tk/download.php"; + // + // listBox1 + // + this.listBox1.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.listBox1.BackColor = System.Drawing.Color.White; + this.listBox1.FormattingEnabled = true; + this.listBox1.Location = new System.Drawing.Point(21, 163); + this.listBox1.Name = "listBox1"; + this.listBox1.Size = new System.Drawing.Size(379, 173); + this.listBox1.TabIndex = 6; + // + // addbtn + // + this.addbtn.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left))); + this.addbtn.Location = new System.Drawing.Point(21, 343); + this.addbtn.Name = "addbtn"; + this.addbtn.Size = new System.Drawing.Size(75, 23); + this.addbtn.TabIndex = 7; + this.addbtn.Text = "Hozzáadás"; + this.addbtn.UseVisualStyleBackColor = true; + this.addbtn.Click += new System.EventHandler(this.addbtn_Click); + // + // removebtn + // + this.removebtn.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left))); + this.removebtn.Location = new System.Drawing.Point(102, 343); + this.removebtn.Name = "removebtn"; + this.removebtn.Size = new System.Drawing.Size(75, 23); + this.removebtn.TabIndex = 8; + this.removebtn.Text = "Eltávolítás"; + this.removebtn.UseVisualStyleBackColor = true; + this.removebtn.Click += new System.EventHandler(this.removebtn_Click); + // + // copybtn + // + this.copybtn.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right))); + this.copybtn.Location = new System.Drawing.Point(292, 343); + this.copybtn.Name = "copybtn"; + this.copybtn.Size = new System.Drawing.Size(108, 23); + this.copybtn.TabIndex = 9; + this.copybtn.Text = "Kód másolása"; + this.copybtn.UseVisualStyleBackColor = true; + this.copybtn.Click += new System.EventHandler(this.copybtn_Click); + // + // label3 + // + this.label3.AutoSize = true; + this.label3.Font = new System.Drawing.Font("Microsoft Sans Serif", 14.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(238))); + this.label3.Location = new System.Drawing.Point(17, 125); + this.label3.Name = "label3"; + this.label3.Size = new System.Drawing.Size(64, 24); + this.label3.TabIndex = 10; + this.label3.Text = "Kódok"; + // + // hideAccepted + // + this.hideAccepted.AutoSize = true; + this.hideAccepted.Location = new System.Drawing.Point(251, 132); + this.hideAccepted.Name = "hideAccepted"; + this.hideAccepted.Size = new System.Drawing.Size(149, 17); + this.hideAccepted.TabIndex = 11; + this.hideAccepted.Text = "Elfogadott kódok elrejtése"; + this.hideAccepted.UseVisualStyleBackColor = true; + this.hideAccepted.CheckedChanged += new System.EventHandler(this.hideAccepted_CheckedChanged); + // + // InvitePartner + // + this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F); + this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; + this.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(150)))), ((int)(((byte)(200))))); + this.ClientSize = new System.Drawing.Size(415, 449); + this.Controls.Add(this.hideAccepted); + this.Controls.Add(this.label3); + this.Controls.Add(this.copybtn); + this.Controls.Add(this.removebtn); + this.Controls.Add(this.addbtn); + this.Controls.Add(this.listBox1); + this.Controls.Add(this.textBox1); + this.Controls.Add(this.label2); + this.Controls.Add(this.label1); + this.Name = "InvitePartner"; + this.Text = "Ismerős meghivása"; + this.Load += new System.EventHandler(this.InvitePartner_Load); + this.ResumeLayout(false); + this.PerformLayout(); + + } + + #endregion + + private System.Windows.Forms.Label label1; + private System.Windows.Forms.Label label2; + private System.Windows.Forms.TextBox textBox1; + private System.Windows.Forms.ListBox listBox1; + private System.Windows.Forms.Button addbtn; + private System.Windows.Forms.Button removebtn; + private System.Windows.Forms.Button copybtn; + private System.Windows.Forms.Label label3; + private System.Windows.Forms.CheckBox hideAccepted; + } +} \ No newline at end of file diff --git a/Most Closed Beta/v8.0/MSGer.tk (C#)/InvitePartner.cs b/Most Closed Beta/v8.0/MSGer.tk (C#)/InvitePartner.cs new file mode 100644 index 0000000..e31eb6a --- /dev/null +++ b/Most Closed Beta/v8.0/MSGer.tk (C#)/InvitePartner.cs @@ -0,0 +1,82 @@ +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 InvitePartner : Form + { + //string[] Codes=new string[1024]; + //List Codes = new List(); + public InvitePartner() + { + InitializeComponent(); + } + + private void InvitePartner_Load(object sender, EventArgs e) + { + RefreshList(); + } + + private void addbtn_Click(object sender, EventArgs e) + { + string res = Networking.SendRequest("addcode", "", 0, true); + if (res.Length<"Fail".Length || res.Substring(0, "Fail".Length) == "Fail") + MessageBox.Show("A kódgenerálás sikertelen.\n\n" + res, "Hiba"); + else + RefreshList(); + } + + public void RefreshList() + { + listBox1.Items.Clear(); + string[] response = Networking.SendRequest("getcodes", "", 0, true).Split('ͦ'); + int x = 0; + for (int i = 0; i+1 < response.Length; i += 2) + { + if (Int32.Parse(response[i + 1]) == 1) + { + if (!hideAccepted.Checked) + listBox1.Items.Add("Elfogadott - " + response[i]); + } + else if (Int32.Parse(response[i + 1]) == 0) + listBox1.Items.Add("Visszaigazolásra vár - " + response[i]); + else MessageBox.Show("Hiba:\n" + response[i] + "\n" + response[i + 1]); + //Codes[x] = response[i]; + x++; + } + } + + private void removebtn_Click(object sender, EventArgs e) + { + if (listBox1.SelectedIndex == -1) + return; + //MessageBox.Show(listBox1.Items[listBox1.SelectedIndex].ToString()); + //string res = Networking.SendRequest("remcode", Codes[listBox1.SelectedIndex], 0, true); + string res = Networking.SendRequest("remcode", listBox1.SelectedItem.ToString().Remove(0, listBox1.SelectedItem.ToString().IndexOf(" - ") + " - ".Length), 0, true); + if (res.Substring(0, "Fail".Length) == "Fail") + MessageBox.Show("A kód törlése sikertelen.\n\n" + res, "Hiba"); + //else listBox1.Items.Add(res); + else RefreshList(); + } + + private void copybtn_Click(object sender, EventArgs e) + { + if (listBox1.SelectedIndex == -1) + return; + //Clipboard.SetText(Codes[listBox1.SelectedIndex]); + Clipboard.SetText(listBox1.SelectedItem.ToString().Remove(0, listBox1.SelectedItem.ToString().IndexOf(" - ") + " - ".Length)); + } + + private void hideAccepted_CheckedChanged(object sender, EventArgs e) + { + RefreshList(); + } + } +} diff --git a/Most Closed Beta/v8.0/MSGer.tk (C#)/InvitePartner.resx b/Most Closed Beta/v8.0/MSGer.tk (C#)/InvitePartner.resx new file mode 100644 index 0000000..29dcb1b --- /dev/null +++ b/Most Closed Beta/v8.0/MSGer.tk (C#)/InvitePartner.resx @@ -0,0 +1,120 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + text/microsoft-resx + + + 2.0 + + + System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + \ No newline at end of file diff --git a/Most Closed Beta/v8.0/MSGer.tk (C#)/LoginForm.Designer.cs b/Most Closed Beta/v8.0/MSGer.tk (C#)/LoginForm.Designer.cs new file mode 100644 index 0000000..cfb1f90 --- /dev/null +++ b/Most Closed Beta/v8.0/MSGer.tk (C#)/LoginForm.Designer.cs @@ -0,0 +1,176 @@ +namespace MSGer.tk +{ + partial class LoginForm + { + /// + /// Required designer variable. + /// + private System.ComponentModel.IContainer components = null; + + /// + /// Clean up any resources being used. + /// + /// true if managed resources should be disposed; otherwise, false. + protected override void Dispose(bool disposing) + { + if (disposing && (components != null)) + { + components.Dispose(); + } + base.Dispose(disposing); + } + + #region Windows Form Designer generated code + + /// + /// Required method for Designer support - do not modify + /// the contents of this method with the code editor. + /// + private void InitializeComponent() + { + System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(LoginForm)); + this.label1 = new System.Windows.Forms.Label(); + this.label2 = new System.Windows.Forms.Label(); + this.textBox1 = new System.Windows.Forms.TextBox(); + this.label3 = new System.Windows.Forms.Label(); + this.textBox2 = new System.Windows.Forms.TextBox(); + this.button1 = new System.Windows.Forms.Button(); + this.textBox3 = new System.Windows.Forms.TextBox(); + this.linkLabel1 = new System.Windows.Forms.LinkLabel(); + this.SuspendLayout(); + // + // label1 + // + this.label1.AutoSize = true; + this.label1.Font = new System.Drawing.Font("Microsoft Sans Serif", 21.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(238))); + this.label1.ForeColor = System.Drawing.Color.Blue; + this.label1.Location = new System.Drawing.Point(12, 9); + this.label1.Name = "label1"; + this.label1.Size = new System.Drawing.Size(197, 33); + this.label1.TabIndex = 0; + this.label1.Text = "Bejelentkezés"; + // + // label2 + // + this.label2.AutoSize = true; + this.label2.Font = new System.Drawing.Font("Microsoft Sans Serif", 14.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(238))); + this.label2.Location = new System.Drawing.Point(19, 77); + this.label2.Name = "label2"; + this.label2.Size = new System.Drawing.Size(63, 24); + this.label2.TabIndex = 1; + this.label2.Text = "E-mail"; + // + // textBox1 + // + this.textBox1.AcceptsReturn = true; + this.textBox1.AcceptsTab = true; + this.textBox1.AutoCompleteMode = System.Windows.Forms.AutoCompleteMode.SuggestAppend; + this.textBox1.AutoCompleteSource = System.Windows.Forms.AutoCompleteSource.CustomSource; + this.textBox1.Location = new System.Drawing.Point(88, 80); + this.textBox1.Name = "textBox1"; + this.textBox1.Size = new System.Drawing.Size(294, 20); + this.textBox1.TabIndex = 2; + // + // label3 + // + this.label3.AutoSize = true; + this.label3.Font = new System.Drawing.Font("Microsoft Sans Serif", 14.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(238))); + this.label3.Location = new System.Drawing.Point(19, 106); + this.label3.Name = "label3"; + this.label3.Size = new System.Drawing.Size(63, 24); + this.label3.TabIndex = 3; + this.label3.Text = "Jelszó"; + // + // textBox2 + // + this.textBox2.AcceptsReturn = true; + this.textBox2.AcceptsTab = true; + this.textBox2.Location = new System.Drawing.Point(179, 110); + this.textBox2.Name = "textBox2"; + this.textBox2.PasswordChar = '→'; + this.textBox2.Size = new System.Drawing.Size(203, 20); + this.textBox2.TabIndex = 4; + // + // button1 + // + this.button1.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(238))); + this.button1.Location = new System.Drawing.Point(235, 153); + this.button1.Name = "button1"; + this.button1.Size = new System.Drawing.Size(147, 23); + this.button1.TabIndex = 5; + this.button1.Text = "Bejelentkezés"; + this.button1.UseVisualStyleBackColor = true; + this.button1.Click += new System.EventHandler(this.button1_Click); + // + // textBox3 + // + this.textBox3.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.textBox3.BackColor = System.Drawing.Color.SteelBlue; + this.textBox3.BorderStyle = System.Windows.Forms.BorderStyle.None; + this.textBox3.ForeColor = System.Drawing.Color.White; + this.textBox3.Location = new System.Drawing.Point(13, 198); + this.textBox3.Multiline = true; + this.textBox3.Name = "textBox3"; + this.textBox3.ReadOnly = true; + this.textBox3.Size = new System.Drawing.Size(369, 261); + this.textBox3.TabIndex = 6; + this.textBox3.Text = resources.GetString("textBox3.Text"); + this.textBox3.TextAlign = System.Windows.Forms.HorizontalAlignment.Center; + // + // linkLabel1 + // + this.linkLabel1.AutoSize = true; + this.linkLabel1.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(238))); + this.linkLabel1.LinkBehavior = System.Windows.Forms.LinkBehavior.HoverUnderline; + this.linkLabel1.LinkColor = System.Drawing.Color.Blue; + this.linkLabel1.Location = new System.Drawing.Point(23, 162); + this.linkLabel1.Name = "linkLabel1"; + this.linkLabel1.Size = new System.Drawing.Size(77, 13); + this.linkLabel1.TabIndex = 7; + this.linkLabel1.TabStop = true; + this.linkLabel1.Text = "Regisztráció"; + this.linkLabel1.VisitedLinkColor = System.Drawing.Color.Blue; + this.linkLabel1.LinkClicked += new System.Windows.Forms.LinkLabelLinkClickedEventHandler(this.RegistrateLink); + // + // LoginForm + // + this.AcceptButton = this.button1; + this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F); + this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; + this.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(150)))), ((int)(((byte)(200))))); + this.ClientSize = new System.Drawing.Size(394, 471); + this.Controls.Add(this.linkLabel1); + this.Controls.Add(this.textBox3); + this.Controls.Add(this.button1); + this.Controls.Add(this.textBox2); + this.Controls.Add(this.label3); + this.Controls.Add(this.textBox1); + this.Controls.Add(this.label2); + this.Controls.Add(this.label1); + this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedDialog; + this.MaximizeBox = false; + this.Name = "LoginForm"; + this.Opacity = 0.9D; + this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen; + this.Text = "Bejelentkezés"; + this.FormClosing += new System.Windows.Forms.FormClosingEventHandler(this.LoginForm_FormClosing); + this.Load += new System.EventHandler(this.LoginForm_Load); + this.ResumeLayout(false); + this.PerformLayout(); + + } + + #endregion + + private System.Windows.Forms.Label label1; + private System.Windows.Forms.Label label2; + private System.Windows.Forms.TextBox textBox1; + private System.Windows.Forms.Label label3; + private System.Windows.Forms.TextBox textBox2; + private System.Windows.Forms.Button button1; + private System.Windows.Forms.TextBox textBox3; + private System.Windows.Forms.LinkLabel linkLabel1; + } +} \ No newline at end of file diff --git a/Most Closed Beta/v8.0/MSGer.tk (C#)/LoginForm.RegistrationForm.Designer.cs b/Most Closed Beta/v8.0/MSGer.tk (C#)/LoginForm.RegistrationForm.Designer.cs new file mode 100644 index 0000000..6bfb4b3 --- /dev/null +++ b/Most Closed Beta/v8.0/MSGer.tk (C#)/LoginForm.RegistrationForm.Designer.cs @@ -0,0 +1,176 @@ +namespace MSGer.tk +{ + partial class LoginForm_RegistrationForm + { + /// + /// Required designer variable. + /// + private System.ComponentModel.IContainer components = null; + + /// + /// Clean up any resources being used. + /// + /// true if managed resources should be disposed; otherwise, false. + protected override void Dispose(bool disposing) + { + if (disposing && (components != null)) + { + components.Dispose(); + } + base.Dispose(disposing); + } + + #region Windows Form Designer generated code + + /// + /// Required method for Designer support - do not modify + /// the contents of this method with the code editor. + /// + private void InitializeComponent() + { + this.label1 = new System.Windows.Forms.Label(); + this.label2 = new System.Windows.Forms.Label(); + this.label3 = new System.Windows.Forms.Label(); + this.label4 = new System.Windows.Forms.Label(); + this.label5 = new System.Windows.Forms.Label(); + this.codeText = new System.Windows.Forms.TextBox(); + this.userText = new System.Windows.Forms.TextBox(); + this.passText = new System.Windows.Forms.TextBox(); + this.emailText = new System.Windows.Forms.TextBox(); + this.registerButton = new System.Windows.Forms.Button(); + this.SuspendLayout(); + // + // label1 + // + this.label1.AutoSize = true; + this.label1.Font = new System.Drawing.Font("Microsoft Sans Serif", 14.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(238))); + this.label1.ForeColor = System.Drawing.Color.Blue; + this.label1.Location = new System.Drawing.Point(13, 13); + this.label1.Name = "label1"; + this.label1.Size = new System.Drawing.Size(124, 24); + this.label1.TabIndex = 0; + this.label1.Text = "Regisztráció"; + // + // label2 + // + this.label2.AutoSize = true; + this.label2.Font = new System.Drawing.Font("Microsoft Sans Serif", 14.25F); + this.label2.Location = new System.Drawing.Point(17, 58); + this.label2.Name = "label2"; + this.label2.Size = new System.Drawing.Size(44, 24); + this.label2.TabIndex = 1; + this.label2.Text = "Kód"; + // + // label3 + // + this.label3.AutoSize = true; + this.label3.Font = new System.Drawing.Font("Microsoft Sans Serif", 14.25F); + this.label3.Location = new System.Drawing.Point(17, 92); + this.label3.Name = "label3"; + this.label3.Size = new System.Drawing.Size(143, 24); + this.label3.TabIndex = 2; + this.label3.Text = "Felhasználónév"; + // + // label4 + // + this.label4.AutoSize = true; + this.label4.Font = new System.Drawing.Font("Microsoft Sans Serif", 14.25F); + this.label4.Location = new System.Drawing.Point(17, 125); + this.label4.Name = "label4"; + this.label4.Size = new System.Drawing.Size(63, 24); + this.label4.TabIndex = 3; + this.label4.Text = "Jelszó"; + // + // label5 + // + this.label5.AutoSize = true; + this.label5.Font = new System.Drawing.Font("Microsoft Sans Serif", 14.25F); + this.label5.Location = new System.Drawing.Point(17, 160); + this.label5.Name = "label5"; + this.label5.Size = new System.Drawing.Size(63, 24); + this.label5.TabIndex = 4; + this.label5.Text = "E-mail"; + // + // codeText + // + this.codeText.Location = new System.Drawing.Point(86, 63); + this.codeText.Name = "codeText"; + this.codeText.Size = new System.Drawing.Size(358, 20); + this.codeText.TabIndex = 6; + // + // userText + // + this.userText.Location = new System.Drawing.Point(166, 97); + this.userText.Name = "userText"; + this.userText.Size = new System.Drawing.Size(278, 20); + this.userText.TabIndex = 7; + // + // passText + // + this.passText.Location = new System.Drawing.Point(166, 130); + this.passText.Name = "passText"; + this.passText.PasswordChar = '→'; + this.passText.Size = new System.Drawing.Size(278, 20); + this.passText.TabIndex = 8; + // + // emailText + // + this.emailText.Location = new System.Drawing.Point(86, 165); + this.emailText.Name = "emailText"; + this.emailText.Size = new System.Drawing.Size(358, 20); + this.emailText.TabIndex = 9; + // + // registerButton + // + this.registerButton.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(238))); + this.registerButton.Location = new System.Drawing.Point(17, 220); + this.registerButton.Name = "registerButton"; + this.registerButton.Size = new System.Drawing.Size(427, 23); + this.registerButton.TabIndex = 10; + this.registerButton.Text = "Regisztráció"; + this.registerButton.UseVisualStyleBackColor = true; + this.registerButton.Click += new System.EventHandler(this.registerButton_Click); + // + // LoginForm_RegistrationForm + // + this.AcceptButton = this.registerButton; + this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F); + this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; + this.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(150)))), ((int)(((byte)(200))))); + this.ClientSize = new System.Drawing.Size(469, 356); + this.Controls.Add(this.registerButton); + this.Controls.Add(this.emailText); + this.Controls.Add(this.passText); + this.Controls.Add(this.userText); + this.Controls.Add(this.codeText); + this.Controls.Add(this.label5); + this.Controls.Add(this.label4); + this.Controls.Add(this.label3); + this.Controls.Add(this.label2); + this.Controls.Add(this.label1); + this.MaximizeBox = false; + this.MinimizeBox = false; + this.Name = "LoginForm_RegistrationForm"; + this.ShowIcon = false; + this.ShowInTaskbar = false; + this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen; + this.Text = "Regisztráció"; + this.ResumeLayout(false); + this.PerformLayout(); + + } + + #endregion + + private System.Windows.Forms.Label label1; + private System.Windows.Forms.Label label2; + private System.Windows.Forms.Label label3; + private System.Windows.Forms.Label label4; + private System.Windows.Forms.Label label5; + private System.Windows.Forms.TextBox codeText; + private System.Windows.Forms.TextBox userText; + private System.Windows.Forms.TextBox passText; + private System.Windows.Forms.TextBox emailText; + private System.Windows.Forms.Button registerButton; + } +} \ No newline at end of file diff --git a/Most Closed Beta/v8.0/MSGer.tk (C#)/LoginForm.RegistrationForm.cs b/Most Closed Beta/v8.0/MSGer.tk (C#)/LoginForm.RegistrationForm.cs new file mode 100644 index 0000000..2d9862a --- /dev/null +++ b/Most Closed Beta/v8.0/MSGer.tk (C#)/LoginForm.RegistrationForm.cs @@ -0,0 +1,64 @@ +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 LoginForm_RegistrationForm : Form + { + public LoginForm_RegistrationForm() + { + InitializeComponent(); + } + + private void registerButton_Click(object sender, EventArgs e) + { + registerButton.Enabled = false; + if (codeText.TextLength == 0 || userText.TextLength == 0 || passText.TextLength == 0 || emailText.TextLength == 0) + { + MessageBox.Show("Minden mezőt tölts ki.", "Hiba"); + registerButton.Enabled = true; + return; + } + //MessageBox.Show(codeText.Text + "ͦ" + userText.Text + "ͦ" + LoginForm.CalculateMD5Hash(passText.Text) + "ͦ" + emailText.Text); + //MessageBox.Show(Uri.EscapeUriString(codeText.Text + "ͦ" + userText.Text + "ͦ" + LoginForm.CalculateMD5Hash(passText.Text) + "ͦ" + emailText.Text)); + string response = Networking.SendRequest("register", codeText.Text + "ͦ" + userText.Text + "ͦ" + LoginForm.CalculateMD5Hash(passText.Text) + "ͦ" + emailText.Text, 2, false); + if(response=="code") + { + MessageBox.Show("A megadott kód nem létezik vagy már felhasználták.", "Hiba"); + registerButton.Enabled = true; + } + else if (response == "uname") + { + MessageBox.Show("A felhasználónév már foglalt.", "Hiba"); + registerButton.Enabled = true; + } + else if (response == "ulen") + { + MessageBox.Show("A felhasználónév hossza nem megfelelő. (Min. 4 karakter)", "Hiba"); + registerButton.Enabled = true; + } + else if (response == "plen") + { + MessageBox.Show("A jelszó hossza nem megfelelő. (Min. 6 karakter)", "Hiba"); + registerButton.Enabled = true; + } + else if (response == "Success!") + { + MessageBox.Show("Sikeres regisztráció.\nÜdv a közösségben!"); + Close(); + } + else + { + MessageBox.Show("Ismeretlen hiba:\n" + response); + registerButton.Enabled = true; + } + } + } +} diff --git a/Most Closed Beta/v8.0/MSGer.tk (C#)/LoginForm.RegistrationForm.resx b/Most Closed Beta/v8.0/MSGer.tk (C#)/LoginForm.RegistrationForm.resx new file mode 100644 index 0000000..29dcb1b --- /dev/null +++ b/Most Closed Beta/v8.0/MSGer.tk (C#)/LoginForm.RegistrationForm.resx @@ -0,0 +1,120 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + text/microsoft-resx + + + 2.0 + + + System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + \ No newline at end of file diff --git a/Most Closed Beta/v8.0/MSGer.tk (C#)/LoginForm.cs b/Most Closed Beta/v8.0/MSGer.tk (C#)/LoginForm.cs new file mode 100644 index 0000000..b9bee79 --- /dev/null +++ b/Most Closed Beta/v8.0/MSGer.tk (C#)/LoginForm.cs @@ -0,0 +1,283 @@ +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; +using System.Net; +using System.IO; +using System.Security.Cryptography; +using System.Configuration; +using System.Threading; + +namespace MSGer.tk +{ + public partial class LoginForm : Form + { + public static string UserCode=""; + public static Thread LThread; + private void LoginForm_Load(object sender, EventArgs e) + { + //textBox1.Text = Settings.Default.email; + /*if (textBox1.TextLength != 0) - Nem is volt hatása itt + { + textBox2.Focus(); + }*/ + List tmp; //E-mail - 2014.04.02. + if (Settings.Default.email.Length != 0) + tmp = Settings.Default.email.Split(',').ToList(); + else tmp = new List(); + textBox1.Text = tmp[0]; + textBox1.AutoCompleteCustomSource.AddRange(tmp.ToArray()); + } + public LoginForm() + { + InitializeComponent(); + } + private void button1_Click(object sender, EventArgs e) + { + if(button1.Text=="Mégse") + { + ResetAfterLogin(); + } + else + { + try + { + if (LThread.IsAlive) + { + //MessageBox.Show("Még fut a bejelentkező folyamat. Próbáld újra kb. 10 másodperc múlva.\nEzt a hibát általában szerverhiba okozza. Ilyenkor hiába állitod le a bejelentkezést, az tovább próbálkozik.", "Hiba"); + //2014.03.27. - Ne csináljon semmit - Elvégre ilyen nem fordulhat elő sokáig most már + return; + } + } + catch + { + } + // Create the thread object, passing in the Alpha.Beta method + // via a ThreadStart delegate. This does not start the thread. + LThread = new Thread(new ThreadStart(LoginUser)); + LThread.Name = "Login Thread"; + + // Start the thread + LThread.Start(); + + // Spin for a while waiting for the started thread to become + // alive: + while (!LThread.IsAlive) ; + + // Put the Main thread to sleep for 1 millisecond to allow oThread + // to do some work: + Thread.Sleep(1); + } + } + public delegate int MyDelegate(); + public int SetLoginValues() + { + if (UserText.Length == 0) + UserText = textBox1.Text; + else + textBox1.Text = UserText; + + if (PassText.Length == 0) + PassText = textBox2.Text; + else + textBox2.Text = PassText; + + button1.Text = LButtonText; + linkLabel1.Enabled = RegistLinkEn; //2014.03.27. + if (Closeable) + { + Closeable = false; + //Close(); + Dispose(); //2014.04.04. + } + return 0; + } + public int ResetAfterLogin() + { + //StopLogin = true; + Request.Abort(); + button1.Enabled = false; + /*int x = 0; + while (LThread.IsAlive) + { + if (x == 5000) + LThread.Abort(); + else + x++; + }*/ + //StopLogin = false; + button1.Text = "Bejelentkezés"; + button1.Enabled = true; + linkLabel1.Enabled = true; + return 0; + } + public static string UserText = ""; //2014.02.14. + public static string PassText = ""; + public static string LButtonText = ""; + public static bool RegistLinkEn = true; + public static bool Closeable = false; + //public static bool StopLogin = false; + public static HttpWebRequest Request; //2014.03.27. - A megállitáshoz + + public void LoginUser() + { + //Állitson vissza minden változót, hogy újra belerakja az értekeket - 2014.02.28. + UserText = ""; + PassText = ""; + RegistLinkEn = false; //2014.03.27. + LButtonText = "Mégse"; + this.Invoke(new MyDelegate(SetLoginValues)); + + //HttpWebRequest httpWReq = + // (HttpWebRequest)WebRequest.Create("http://msger.tk/client.php"); + HttpWebRequest httpWReq = + (HttpWebRequest)WebRequest.Create("http://msger.url.ph/client.php"); + + Request = httpWReq; //2014.03.27. + + ASCIIEncoding encoding = new ASCIIEncoding(); + string postData = "username=" + UserText; + postData += "&password=" + CalculateMD5Hash(PassText); + postData += "&key=cas1fe4a6feFEFEFE1616CE8099VFE1444cdasf48c1ase5dg"; + byte[] data = encoding.GetBytes(postData); + + httpWReq.Method = "POST"; + httpWReq.ContentType = "application/x-www-form-urlencoded"; + httpWReq.ContentLength = data.Length; + + /*if (StopLogin) + { + StopLogin = false; + return; + }*/ + + try + { + using (Stream stream = httpWReq.GetRequestStream()) + { + stream.Write(data, 0, data.Length); + } + } + catch (WebException e) + { + //if (!StopLogin) + //{ + if (e.Status != WebExceptionStatus.RequestCanceled) + { + MessageBox.Show("Nem sikerült csatlakozni a szerverhez.\n" + e.Message, "Hiba"); + this.Invoke(new MyDelegate(ResetAfterLogin)); + return; + } + else + { + return; + } + //} + } + /*if (StopLogin) + { + StopLogin = false; + return; + }*/ + + //Bejelentkezés folyamatban... + HttpWebResponse response; + try + { + response = (HttpWebResponse)httpWReq.GetResponse(); + } + catch (WebException e) + { + if (e.Status != WebExceptionStatus.RequestCanceled) + { + MessageBox.Show("Nem sikerült csatlakozni a szerverhez.\n" + e.Message, "Hiba"); + this.Invoke(new MyDelegate(ResetAfterLogin)); + return; + } + else + { + return; + } + } + /*if (StopLogin) + { + StopLogin = false; + return; + }*/ + + string responseString = new StreamReader(response.GetResponseStream()).ReadToEnd(); + + try + { + if (responseString[0] == '<') + { + this.Invoke(new MyDelegate(ResetAfterLogin)); + MessageBox.Show("Hiba:\n" + responseString); + return; + } + else + responseString = responseString.Remove(responseString.IndexOf('<')); + } + catch + { + } + + if (String.Compare(responseString, "Fail") == 0) + { + //LButtonText = "Bejelentkezés"; + //this.Invoke(new MyDelegate(SetLoginValues)); + this.Invoke(new MyDelegate(ResetAfterLogin)); + MessageBox.Show("Hiba: Helytelen felhasználónév, vagy jelszó.", "Hiba"); + } + else + { + //Elmenti az E-mail-t + //Settings.Default.email = UserText; + if (!Settings.Default.email.Contains(UserText)) + Settings.Default.email += "," + UserText; + Settings.Default.Save(); + //Bejelentkezés + string[] respstr = responseString.Split('ͦ'); + CurrentUser.UserID = Convert.ToInt32(respstr[0]); //Régebben ezt találtam, most meg az Int32.Parse-t... (2014.04.02.) + CurrentUser.Name = respstr[1]; //2014.04.04. + LoginForm.UserCode = CalculateMD5Hash(CalculateMD5Hash(PassText) + " Some text because why not " + CurrentUser.UserID).ToLower(); + Closeable = true; + this.Invoke(new MyDelegate(SetLoginValues)); + } + } + public static string CalculateMD5Hash(string input) + { + // step 1, calculate MD5 hash from input + MD5 md5 = System.Security.Cryptography.MD5.Create(); + byte[] inputBytes = System.Text.Encoding.ASCII.GetBytes(input); + byte[] hash = md5.ComputeHash(inputBytes); + + // step 2, convert byte array to hex string + StringBuilder sb = new StringBuilder(); + for (int i = 0; i < hash.Length; i++) + { + sb.Append(hash[i].ToString("X2")); + } + return sb.ToString(); + } + + private void RegistrateLink(object sender, LinkLabelLinkClickedEventArgs e) + { + (new LoginForm_RegistrationForm()).ShowDialog(); + } + + private void LoginForm_FormClosing(object sender, FormClosingEventArgs e) + { + if (LThread != null && LThread.IsAlive) + { + LThread.Abort(); //2014.03.27. - Na vajon kell-e más + Request.Abort(); //2014.03.27. - Kell... Ez + } + } + } +} diff --git a/Most Closed Beta/v8.0/MSGer.tk (C#)/LoginForm.resx b/Most Closed Beta/v8.0/MSGer.tk (C#)/LoginForm.resx new file mode 100644 index 0000000..7938e5e --- /dev/null +++ b/Most Closed Beta/v8.0/MSGer.tk (C#)/LoginForm.resx @@ -0,0 +1,125 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + text/microsoft-resx + + + 2.0 + + + System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + Az e-mail helyett használható a felhasználóneved is. + +Ha nem tudsz bejelentkezni, próbáld meg újrainditani a programot. Ha az sem segít, és nem a felhasználóneveddel/jelszavaddal van a probléma, akkor jelentsd a problémát. + + \ No newline at end of file diff --git a/Most Closed Beta/v8.0/MSGer.tk (C#)/MSGer.tk.csproj b/Most Closed Beta/v8.0/MSGer.tk (C#)/MSGer.tk.csproj new file mode 100644 index 0000000..dc60725 --- /dev/null +++ b/Most Closed Beta/v8.0/MSGer.tk (C#)/MSGer.tk.csproj @@ -0,0 +1,178 @@ + + + + + Debug + AnyCPU + {F60940C0-05FC-46C0-948E-6DBECBBE38DD} + WinExe + Properties + MSGer.tk + MSGer.tk + v4.5 + 512 + + + AnyCPU + true + full + false + bin\Debug\ + DEBUG;TRACE + prompt + 4 + + + AnyCPU + pdbonly + true + bin\Release\ + TRACE + prompt + 4 + + + + C:\Users\Norbi\Downloads\GlacialListSource13\ListView\bin\Debug\GlacialList.dll + + + False + C:\Users\Norbi\Downloads\ExRichTextBox_src\ExRichTextBox\bin\Debug\Khendys.Controls.ExRichTextBox.dll + + + + + + + + + + + + + + + + Form + + + ChatForm.cs + + + + + Form + + + InvitePartner.cs + + + Form + + + LoginForm.RegistrationForm.cs + + + Form + + + MainForm.cs + + + Form + + + LoginForm.cs + + + + + True + True + Resources.resx + + + Form + + + SelectPartnerForm.cs + + + + True + True + Settings.settings + + + + ChatForm.cs + + + InvitePartner.cs + + + LoginForm.RegistrationForm.cs + + + MainForm.cs + + + LoginForm.cs + + + ResXFileCodeGenerator + Resources.Designer.cs + + + SelectPartnerForm.cs + + + SettingsSingleFileGenerator + Settings.Designer.cs + + + True + Settings.settings + True + + + SettingsSingleFileGenerator + Settings.Designer.cs + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/Most Closed Beta/v8.0/MSGer.tk (C#)/MSGer.tk.sln b/Most Closed Beta/v8.0/MSGer.tk (C#)/MSGer.tk.sln new file mode 100644 index 0000000..8157d29 --- /dev/null +++ b/Most Closed Beta/v8.0/MSGer.tk (C#)/MSGer.tk.sln @@ -0,0 +1,20 @@ + +Microsoft Visual Studio Solution File, Format Version 12.00 +# Visual Studio Express 2012 for Windows Desktop +Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "MSGer.tk", "MSGer.tk.csproj", "{F60940C0-05FC-46C0-948E-6DBECBBE38DD}" +EndProject +Global + GlobalSection(SolutionConfigurationPlatforms) = preSolution + Debug|Any CPU = Debug|Any CPU + Release|Any CPU = Release|Any CPU + EndGlobalSection + GlobalSection(ProjectConfigurationPlatforms) = postSolution + {F60940C0-05FC-46C0-948E-6DBECBBE38DD}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {F60940C0-05FC-46C0-948E-6DBECBBE38DD}.Debug|Any CPU.Build.0 = Debug|Any CPU + {F60940C0-05FC-46C0-948E-6DBECBBE38DD}.Release|Any CPU.ActiveCfg = Release|Any CPU + {F60940C0-05FC-46C0-948E-6DBECBBE38DD}.Release|Any CPU.Build.0 = Release|Any CPU + EndGlobalSection + GlobalSection(SolutionProperties) = preSolution + HideSolutionNode = FALSE + EndGlobalSection +EndGlobal diff --git a/Most Closed Beta/v8.0/MSGer.tk (C#)/MSGer.tk.v11.suo b/Most Closed Beta/v8.0/MSGer.tk (C#)/MSGer.tk.v11.suo new file mode 100644 index 0000000..88974bf Binary files /dev/null and b/Most Closed Beta/v8.0/MSGer.tk (C#)/MSGer.tk.v11.suo differ diff --git a/Most Closed Beta/v8.0/MSGer.tk (C#)/MSGer.tk.v12.suo b/Most Closed Beta/v8.0/MSGer.tk (C#)/MSGer.tk.v12.suo new file mode 100644 index 0000000..acd5cdf Binary files /dev/null and b/Most Closed Beta/v8.0/MSGer.tk (C#)/MSGer.tk.v12.suo differ diff --git a/Most Closed Beta/v8.0/MSGer.tk (C#)/MainForm.Designer.cs b/Most Closed Beta/v8.0/MSGer.tk (C#)/MainForm.Designer.cs new file mode 100644 index 0000000..ac79b4d --- /dev/null +++ b/Most Closed Beta/v8.0/MSGer.tk (C#)/MainForm.Designer.cs @@ -0,0 +1,914 @@ +namespace MSGer.tk +{ + partial class MainForm + { + /// + /// Required designer variable. + /// + private System.ComponentModel.IContainer components = null; + + /// + /// Clean up any resources being used. + /// + /// true if managed resources should be disposed; otherwise, false. + protected override void Dispose(bool disposing) + { + if (disposing && (components != null)) + { + components.Dispose(); + } + base.Dispose(disposing); + } + + #region Windows Form Designer generated code + + /// + /// Required method for Designer support - do not modify + /// the contents of this method with the code editor. + /// + private void InitializeComponent() + { + this.components = new System.ComponentModel.Container(); + GlacialComponents.Controls.GLColumn glColumn3 = new GlacialComponents.Controls.GLColumn(); + GlacialComponents.Controls.GLColumn glColumn4 = new GlacialComponents.Controls.GLColumn(); + GlacialComponents.Controls.GLItem glItem2 = new GlacialComponents.Controls.GLItem(); + GlacialComponents.Controls.GLSubItem glSubItem3 = new GlacialComponents.Controls.GLSubItem(); + GlacialComponents.Controls.GLSubItem glSubItem4 = new GlacialComponents.Controls.GLSubItem(); + this.notifyIcon1 = new System.Windows.Forms.NotifyIcon(this.components); + this.button1 = new System.Windows.Forms.Button(); + this.panel2 = new System.Windows.Forms.Panel(); + this.textBox1 = new System.Windows.Forms.TextBox(); + this.panel1 = new System.Windows.Forms.Panel(); + this.menuStrip1 = new System.Windows.Forms.MenuStrip(); + this.fájlToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); + this.kijelentkezésToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); + this.toolStripMenuItem1 = new System.Windows.Forms.ToolStripMenuItem(); + this.toolStripSeparator1 = new System.Windows.Forms.ToolStripSeparator(); + this.állapotToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); + this.elérhetőToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); + this.elfoglaltToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); + this.nincsAGépnélToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); + this.rejtveKapcsolódikToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); + this.toolStripSeparator2 = new System.Windows.Forms.ToolStripSeparator(); + this.fájlKüldéseToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); + this.beérkezettFájlokMappájánakMegnyitásaToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); + this.üzenetekElőzményeinekMegtekintéseToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); + this.toolStripSeparator3 = new System.Windows.Forms.ToolStripSeparator(); + this.bezárásToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); + this.toolStripSeparator4 = new System.Windows.Forms.ToolStripSeparator(); + this.kilépésToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); + this.ismerősökToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); + this.ismerősFelvételeToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); + this.ismerősSzerkesztéseToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); + this.ismerősTörléseToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); + this.toolStripMenuItem3 = new System.Windows.Forms.ToolStripMenuItem(); + this.toolStripSeparator5 = new System.Windows.Forms.ToolStripSeparator(); + this.csoportLétrehozásaToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); + this.toolStripSeparator6 = new System.Windows.Forms.ToolStripSeparator(); + this.kategóriaLétrehozásaToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); + this.kategóriaSzerkesztéseToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); + this.kategóriaTörléseToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); + this.műveletekToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); + this.azonnaliÜzenetKüldéseToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); + this.egyébKüldéseToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); + this.emailKüldéseToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); + this.fájlKüldéseToolStripMenuItem1 = new System.Windows.Forms.ToolStripMenuItem(); + this.toolStripSeparator7 = new System.Windows.Forms.ToolStripSeparator(); + this.ismerősSzámitógépénekFelhivásaToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); + this.videóhivásInditásaToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); + this.onlineFájlokMegtekintéseToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); + this.közösJátékToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); + this.távsegitségKéréseToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); + this.eszközökToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); + this.mindigLegfelülToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); + this.toolStripSeparator8 = new System.Windows.Forms.ToolStripSeparator(); + this.hangulatjelekToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); + this.megjelenitendőKépVáltásaToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); + this.háttérMódositásaToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); + this.toolStripSeparator9 = new System.Windows.Forms.ToolStripSeparator(); + this.hangokÉsVideóBeállitásaToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); + this.toolStripSeparator10 = new System.Windows.Forms.ToolStripSeparator(); + this.beállitásokToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); + this.súgóToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); + this.témakörökToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); + this.toolStripSeparator11 = new System.Windows.Forms.ToolStripSeparator(); + this.aSzolgáltatásÁllapotsaToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); + this.adatvédelmiNyilatkozatToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); + this.használatiFeltételekToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); + this.visszaélésBejelentéseToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); + this.toolStripSeparator12 = new System.Windows.Forms.ToolStripSeparator(); + this.segitsenAProgramTökéletesitésébenToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); + this.toolStripSeparator13 = new System.Windows.Forms.ToolStripSeparator(); + this.névjegyToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); + this.contactList = new GlacialComponents.Controls.GlacialList(); + this.partnerImages = new System.Windows.Forms.ImageList(this.components); + this.partnerMenu = new System.Windows.Forms.ContextMenuStrip(this.components); + this.üzenetküldésToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); + this.emailKüldéseemailToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); + this.toolStripMenuItem2 = new System.Windows.Forms.ToolStripMenuItem(); + this.információToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); + this.toolStripSeparator14 = new System.Windows.Forms.ToolStripSeparator(); + this.ismerősLetiltásaToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); + this.ismerősTörléseToolStripMenuItem1 = new System.Windows.Forms.ToolStripMenuItem(); + this.toolStripSeparator15 = new System.Windows.Forms.ToolStripSeparator(); + this.becenévSzerkesztéseToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); + this.toolStripSeparator16 = new System.Windows.Forms.ToolStripSeparator(); + this.eseményértesitésekToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); + this.toolStripSeparator17 = new System.Windows.Forms.ToolStripSeparator(); + this.beszélgetésnaplóMegnyitásaToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); + this.panel2.SuspendLayout(); + this.menuStrip1.SuspendLayout(); + this.partnerMenu.SuspendLayout(); + this.SuspendLayout(); + // + // notifyIcon1 + // + this.notifyIcon1.Text = "notifyIcon1"; + this.notifyIcon1.Visible = true; + // + // button1 + // + this.button1.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right))); + this.button1.FlatStyle = System.Windows.Forms.FlatStyle.Popup; + this.button1.Location = new System.Drawing.Point(519, 104); + this.button1.Name = "button1"; + this.button1.Size = new System.Drawing.Size(35, 23); + this.button1.TabIndex = 4; + this.button1.UseVisualStyleBackColor = true; + // + // panel2 + // + this.panel2.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left) + | System.Windows.Forms.AnchorStyles.Right))); + this.panel2.BackgroundImage = global::MSGer.tk.Properties.Resources.Keresősáv; + this.panel2.BackgroundImageLayout = System.Windows.Forms.ImageLayout.Stretch; + this.panel2.Controls.Add(this.textBox1); + this.panel2.Location = new System.Drawing.Point(0, 96); + this.panel2.Name = "panel2"; + this.panel2.Size = new System.Drawing.Size(513, 31); + this.panel2.TabIndex = 5; + // + // textBox1 + // + this.textBox1.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left) + | System.Windows.Forms.AnchorStyles.Right))); + this.textBox1.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(244)))), ((int)(((byte)(249)))), ((int)(((byte)(252))))); + this.textBox1.BorderStyle = System.Windows.Forms.BorderStyle.None; + this.textBox1.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(137)))), ((int)(((byte)(161)))), ((int)(((byte)(194))))); + this.textBox1.Location = new System.Drawing.Point(6, 8); + this.textBox1.Name = "textBox1"; + this.textBox1.Size = new System.Drawing.Size(504, 13); + this.textBox1.TabIndex = 3; + this.textBox1.Text = "Ismerősök keresése..."; + this.textBox1.Enter += new System.EventHandler(this.ClearSearchBar); + this.textBox1.Leave += new System.EventHandler(this.PutTextInSearchBar); + // + // panel1 + // + this.panel1.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left) + | System.Windows.Forms.AnchorStyles.Right))); + this.panel1.BackgroundImage = global::MSGer.tk.Properties.Resources.Blue_Wallpaper_HD_2; + this.panel1.BackgroundImageLayout = System.Windows.Forms.ImageLayout.Stretch; + this.panel1.Location = new System.Drawing.Point(0, 27); + this.panel1.Name = "panel1"; + this.panel1.Size = new System.Drawing.Size(624, 63); + this.panel1.TabIndex = 2; + // + // menuStrip1 + // + this.menuStrip1.BackColor = System.Drawing.Color.Black; + this.menuStrip1.BackgroundImage = global::MSGer.tk.Properties.Resources.Menü_2; + this.menuStrip1.Items.AddRange(new System.Windows.Forms.ToolStripItem[] { + this.fájlToolStripMenuItem, + this.ismerősökToolStripMenuItem, + this.műveletekToolStripMenuItem, + this.eszközökToolStripMenuItem, + this.súgóToolStripMenuItem}); + this.menuStrip1.Location = new System.Drawing.Point(0, 0); + this.menuStrip1.Name = "menuStrip1"; + this.menuStrip1.RenderMode = System.Windows.Forms.ToolStripRenderMode.System; + this.menuStrip1.Size = new System.Drawing.Size(624, 24); + this.menuStrip1.TabIndex = 0; + this.menuStrip1.Text = "menuStrip1"; + // + // fájlToolStripMenuItem + // + this.fájlToolStripMenuItem.DropDownItems.AddRange(new System.Windows.Forms.ToolStripItem[] { + this.kijelentkezésToolStripMenuItem, + this.toolStripMenuItem1, + this.toolStripSeparator1, + this.állapotToolStripMenuItem, + this.toolStripSeparator2, + this.fájlKüldéseToolStripMenuItem, + this.beérkezettFájlokMappájánakMegnyitásaToolStripMenuItem, + this.üzenetekElőzményeinekMegtekintéseToolStripMenuItem, + this.toolStripSeparator3, + this.bezárásToolStripMenuItem, + this.toolStripSeparator4, + this.kilépésToolStripMenuItem}); + this.fájlToolStripMenuItem.Name = "fájlToolStripMenuItem"; + this.fájlToolStripMenuItem.Size = new System.Drawing.Size(37, 20); + this.fájlToolStripMenuItem.Text = "Fájl"; + // + // kijelentkezésToolStripMenuItem + // + this.kijelentkezésToolStripMenuItem.Name = "kijelentkezésToolStripMenuItem"; + this.kijelentkezésToolStripMenuItem.Size = new System.Drawing.Size(292, 22); + this.kijelentkezésToolStripMenuItem.Text = "Kijelentkezés"; + this.kijelentkezésToolStripMenuItem.Click += new System.EventHandler(this.LogoutUser); + // + // toolStripMenuItem1 + // + this.toolStripMenuItem1.Name = "toolStripMenuItem1"; + this.toolStripMenuItem1.Size = new System.Drawing.Size(292, 22); + this.toolStripMenuItem1.Text = "Újabb felhasználó bejelentkeztetése..."; + this.toolStripMenuItem1.Click += new System.EventHandler(this.LoginNewUser); + // + // toolStripSeparator1 + // + this.toolStripSeparator1.Name = "toolStripSeparator1"; + this.toolStripSeparator1.Size = new System.Drawing.Size(289, 6); + // + // állapotToolStripMenuItem + // + this.állapotToolStripMenuItem.DropDownItems.AddRange(new System.Windows.Forms.ToolStripItem[] { + this.elérhetőToolStripMenuItem, + this.elfoglaltToolStripMenuItem, + this.nincsAGépnélToolStripMenuItem, + this.rejtveKapcsolódikToolStripMenuItem}); + this.állapotToolStripMenuItem.Name = "állapotToolStripMenuItem"; + this.állapotToolStripMenuItem.Size = new System.Drawing.Size(292, 22); + this.állapotToolStripMenuItem.Text = "Állapot"; + // + // elérhetőToolStripMenuItem + // + this.elérhetőToolStripMenuItem.Name = "elérhetőToolStripMenuItem"; + this.elérhetőToolStripMenuItem.Size = new System.Drawing.Size(172, 22); + this.elérhetőToolStripMenuItem.Text = "Elérhető"; + this.elérhetőToolStripMenuItem.Click += new System.EventHandler(this.SetOnlineState); + // + // elfoglaltToolStripMenuItem + // + this.elfoglaltToolStripMenuItem.Name = "elfoglaltToolStripMenuItem"; + this.elfoglaltToolStripMenuItem.Size = new System.Drawing.Size(172, 22); + this.elfoglaltToolStripMenuItem.Text = "Elfoglalt"; + this.elfoglaltToolStripMenuItem.Click += new System.EventHandler(this.SetOnlineState); + // + // nincsAGépnélToolStripMenuItem + // + this.nincsAGépnélToolStripMenuItem.Name = "nincsAGépnélToolStripMenuItem"; + this.nincsAGépnélToolStripMenuItem.Size = new System.Drawing.Size(172, 22); + this.nincsAGépnélToolStripMenuItem.Text = "Nincs a gépnél"; + this.nincsAGépnélToolStripMenuItem.Click += new System.EventHandler(this.SetOnlineState); + // + // rejtveKapcsolódikToolStripMenuItem + // + this.rejtveKapcsolódikToolStripMenuItem.Name = "rejtveKapcsolódikToolStripMenuItem"; + this.rejtveKapcsolódikToolStripMenuItem.Size = new System.Drawing.Size(172, 22); + this.rejtveKapcsolódikToolStripMenuItem.Text = "Rejtve kapcsolódik"; + this.rejtveKapcsolódikToolStripMenuItem.Click += new System.EventHandler(this.SetOnlineState); + // + // toolStripSeparator2 + // + this.toolStripSeparator2.Name = "toolStripSeparator2"; + this.toolStripSeparator2.Size = new System.Drawing.Size(289, 6); + // + // fájlKüldéseToolStripMenuItem + // + this.fájlKüldéseToolStripMenuItem.Name = "fájlKüldéseToolStripMenuItem"; + this.fájlKüldéseToolStripMenuItem.Size = new System.Drawing.Size(292, 22); + this.fájlKüldéseToolStripMenuItem.Text = "Fájl küldése..."; + this.fájlKüldéseToolStripMenuItem.Click += new System.EventHandler(this.SelectPartner); + // + // beérkezettFájlokMappájánakMegnyitásaToolStripMenuItem + // + this.beérkezettFájlokMappájánakMegnyitásaToolStripMenuItem.Name = "beérkezettFájlokMappájánakMegnyitásaToolStripMenuItem"; + this.beérkezettFájlokMappájánakMegnyitásaToolStripMenuItem.Size = new System.Drawing.Size(292, 22); + this.beérkezettFájlokMappájánakMegnyitásaToolStripMenuItem.Text = "Beérkezett fájlok mappájának megnyitása"; + // + // üzenetekElőzményeinekMegtekintéseToolStripMenuItem + // + this.üzenetekElőzményeinekMegtekintéseToolStripMenuItem.Name = "üzenetekElőzményeinekMegtekintéseToolStripMenuItem"; + this.üzenetekElőzményeinekMegtekintéseToolStripMenuItem.Size = new System.Drawing.Size(292, 22); + this.üzenetekElőzményeinekMegtekintéseToolStripMenuItem.Text = "Üzenetek előzményeinek megtekintése..."; + // + // toolStripSeparator3 + // + this.toolStripSeparator3.Name = "toolStripSeparator3"; + this.toolStripSeparator3.Size = new System.Drawing.Size(289, 6); + // + // bezárásToolStripMenuItem + // + this.bezárásToolStripMenuItem.Name = "bezárásToolStripMenuItem"; + this.bezárásToolStripMenuItem.Size = new System.Drawing.Size(292, 22); + this.bezárásToolStripMenuItem.Text = "Bezárás"; + // + // toolStripSeparator4 + // + this.toolStripSeparator4.Name = "toolStripSeparator4"; + this.toolStripSeparator4.Size = new System.Drawing.Size(289, 6); + // + // kilépésToolStripMenuItem + // + this.kilépésToolStripMenuItem.Name = "kilépésToolStripMenuItem"; + this.kilépésToolStripMenuItem.Size = new System.Drawing.Size(292, 22); + this.kilépésToolStripMenuItem.Text = "Kilépés"; + // + // ismerősökToolStripMenuItem + // + this.ismerősökToolStripMenuItem.DropDownItems.AddRange(new System.Windows.Forms.ToolStripItem[] { + this.ismerősFelvételeToolStripMenuItem, + this.ismerősSzerkesztéseToolStripMenuItem, + this.ismerősTörléseToolStripMenuItem, + this.toolStripMenuItem3, + this.toolStripSeparator5, + this.csoportLétrehozásaToolStripMenuItem, + this.toolStripSeparator6, + this.kategóriaLétrehozásaToolStripMenuItem, + this.kategóriaSzerkesztéseToolStripMenuItem, + this.kategóriaTörléseToolStripMenuItem}); + this.ismerősökToolStripMenuItem.Name = "ismerősökToolStripMenuItem"; + this.ismerősökToolStripMenuItem.Size = new System.Drawing.Size(73, 20); + this.ismerősökToolStripMenuItem.Text = "Ismerősök"; + // + // ismerősFelvételeToolStripMenuItem + // + this.ismerősFelvételeToolStripMenuItem.Name = "ismerősFelvételeToolStripMenuItem"; + this.ismerősFelvételeToolStripMenuItem.Size = new System.Drawing.Size(199, 22); + this.ismerősFelvételeToolStripMenuItem.Text = "Ismerős felvétele..."; + // + // ismerősSzerkesztéseToolStripMenuItem + // + this.ismerősSzerkesztéseToolStripMenuItem.Name = "ismerősSzerkesztéseToolStripMenuItem"; + this.ismerősSzerkesztéseToolStripMenuItem.Size = new System.Drawing.Size(199, 22); + this.ismerősSzerkesztéseToolStripMenuItem.Text = "Ismerős szerkesztése..."; + // + // ismerősTörléseToolStripMenuItem + // + this.ismerősTörléseToolStripMenuItem.Name = "ismerősTörléseToolStripMenuItem"; + this.ismerősTörléseToolStripMenuItem.Size = new System.Drawing.Size(199, 22); + this.ismerősTörléseToolStripMenuItem.Text = "Ismerős törlése..."; + // + // toolStripMenuItem3 + // + this.toolStripMenuItem3.Name = "toolStripMenuItem3"; + this.toolStripMenuItem3.Size = new System.Drawing.Size(199, 22); + this.toolStripMenuItem3.Text = "Ismerős meghivása..."; + this.toolStripMenuItem3.Click += new System.EventHandler(this.InvitePartner); + // + // toolStripSeparator5 + // + this.toolStripSeparator5.Name = "toolStripSeparator5"; + this.toolStripSeparator5.Size = new System.Drawing.Size(196, 6); + // + // csoportLétrehozásaToolStripMenuItem + // + this.csoportLétrehozásaToolStripMenuItem.Name = "csoportLétrehozásaToolStripMenuItem"; + this.csoportLétrehozásaToolStripMenuItem.Size = new System.Drawing.Size(199, 22); + this.csoportLétrehozásaToolStripMenuItem.Text = "Csoport létrehozása..."; + // + // toolStripSeparator6 + // + this.toolStripSeparator6.Name = "toolStripSeparator6"; + this.toolStripSeparator6.Size = new System.Drawing.Size(196, 6); + // + // kategóriaLétrehozásaToolStripMenuItem + // + this.kategóriaLétrehozásaToolStripMenuItem.Name = "kategóriaLétrehozásaToolStripMenuItem"; + this.kategóriaLétrehozásaToolStripMenuItem.Size = new System.Drawing.Size(199, 22); + this.kategóriaLétrehozásaToolStripMenuItem.Text = "Kategória létrehozása..."; + // + // kategóriaSzerkesztéseToolStripMenuItem + // + this.kategóriaSzerkesztéseToolStripMenuItem.Name = "kategóriaSzerkesztéseToolStripMenuItem"; + this.kategóriaSzerkesztéseToolStripMenuItem.Size = new System.Drawing.Size(199, 22); + this.kategóriaSzerkesztéseToolStripMenuItem.Text = "Kategória szerkesztése..."; + // + // kategóriaTörléseToolStripMenuItem + // + this.kategóriaTörléseToolStripMenuItem.Name = "kategóriaTörléseToolStripMenuItem"; + this.kategóriaTörléseToolStripMenuItem.Size = new System.Drawing.Size(199, 22); + this.kategóriaTörléseToolStripMenuItem.Text = "Kategória törlése..."; + // + // műveletekToolStripMenuItem + // + this.műveletekToolStripMenuItem.DropDownItems.AddRange(new System.Windows.Forms.ToolStripItem[] { + this.azonnaliÜzenetKüldéseToolStripMenuItem, + this.egyébKüldéseToolStripMenuItem, + this.toolStripSeparator7, + this.ismerősSzámitógépénekFelhivásaToolStripMenuItem, + this.videóhivásInditásaToolStripMenuItem, + this.onlineFájlokMegtekintéseToolStripMenuItem, + this.közösJátékToolStripMenuItem, + this.távsegitségKéréseToolStripMenuItem}); + this.műveletekToolStripMenuItem.Name = "műveletekToolStripMenuItem"; + this.műveletekToolStripMenuItem.Size = new System.Drawing.Size(74, 20); + this.műveletekToolStripMenuItem.Text = "Műveletek"; + // + // azonnaliÜzenetKüldéseToolStripMenuItem + // + this.azonnaliÜzenetKüldéseToolStripMenuItem.Name = "azonnaliÜzenetKüldéseToolStripMenuItem"; + this.azonnaliÜzenetKüldéseToolStripMenuItem.Size = new System.Drawing.Size(253, 22); + this.azonnaliÜzenetKüldéseToolStripMenuItem.Text = "Azonnali üzenet küldése..."; + this.azonnaliÜzenetKüldéseToolStripMenuItem.Click += new System.EventHandler(this.SelectPartner); + // + // egyébKüldéseToolStripMenuItem + // + this.egyébKüldéseToolStripMenuItem.DropDownItems.AddRange(new System.Windows.Forms.ToolStripItem[] { + this.emailKüldéseToolStripMenuItem, + this.fájlKüldéseToolStripMenuItem1}); + this.egyébKüldéseToolStripMenuItem.Name = "egyébKüldéseToolStripMenuItem"; + this.egyébKüldéseToolStripMenuItem.Size = new System.Drawing.Size(253, 22); + this.egyébKüldéseToolStripMenuItem.Text = "Egyéb küldése"; + // + // emailKüldéseToolStripMenuItem + // + this.emailKüldéseToolStripMenuItem.Name = "emailKüldéseToolStripMenuItem"; + this.emailKüldéseToolStripMenuItem.Size = new System.Drawing.Size(160, 22); + this.emailKüldéseToolStripMenuItem.Text = "E-mail küldése..."; + // + // fájlKüldéseToolStripMenuItem1 + // + this.fájlKüldéseToolStripMenuItem1.Name = "fájlKüldéseToolStripMenuItem1"; + this.fájlKüldéseToolStripMenuItem1.Size = new System.Drawing.Size(160, 22); + this.fájlKüldéseToolStripMenuItem1.Text = "Fájl küldése..."; + // + // toolStripSeparator7 + // + this.toolStripSeparator7.Name = "toolStripSeparator7"; + this.toolStripSeparator7.Size = new System.Drawing.Size(250, 6); + // + // ismerősSzámitógépénekFelhivásaToolStripMenuItem + // + this.ismerősSzámitógépénekFelhivásaToolStripMenuItem.Name = "ismerősSzámitógépénekFelhivásaToolStripMenuItem"; + this.ismerősSzámitógépénekFelhivásaToolStripMenuItem.Size = new System.Drawing.Size(253, 22); + this.ismerősSzámitógépénekFelhivásaToolStripMenuItem.Text = "Ismerős számitógépének felhivása"; + // + // videóhivásInditásaToolStripMenuItem + // + this.videóhivásInditásaToolStripMenuItem.Name = "videóhivásInditásaToolStripMenuItem"; + this.videóhivásInditásaToolStripMenuItem.Size = new System.Drawing.Size(253, 22); + this.videóhivásInditásaToolStripMenuItem.Text = "Videóhivás inditása..."; + // + // onlineFájlokMegtekintéseToolStripMenuItem + // + this.onlineFájlokMegtekintéseToolStripMenuItem.Name = "onlineFájlokMegtekintéseToolStripMenuItem"; + this.onlineFájlokMegtekintéseToolStripMenuItem.Size = new System.Drawing.Size(253, 22); + this.onlineFájlokMegtekintéseToolStripMenuItem.Text = "Online fájlok megtekintése"; + // + // közösJátékToolStripMenuItem + // + this.közösJátékToolStripMenuItem.Name = "közösJátékToolStripMenuItem"; + this.közösJátékToolStripMenuItem.Size = new System.Drawing.Size(253, 22); + this.közösJátékToolStripMenuItem.Text = "Közös játék..."; + // + // távsegitségKéréseToolStripMenuItem + // + this.távsegitségKéréseToolStripMenuItem.Name = "távsegitségKéréseToolStripMenuItem"; + this.távsegitségKéréseToolStripMenuItem.Size = new System.Drawing.Size(253, 22); + this.távsegitségKéréseToolStripMenuItem.Text = "Távsegitség kérése..."; + // + // eszközökToolStripMenuItem + // + this.eszközökToolStripMenuItem.DropDownItems.AddRange(new System.Windows.Forms.ToolStripItem[] { + this.mindigLegfelülToolStripMenuItem, + this.toolStripSeparator8, + this.hangulatjelekToolStripMenuItem, + this.megjelenitendőKépVáltásaToolStripMenuItem, + this.háttérMódositásaToolStripMenuItem, + this.toolStripSeparator9, + this.hangokÉsVideóBeállitásaToolStripMenuItem, + this.toolStripSeparator10, + this.beállitásokToolStripMenuItem}); + this.eszközökToolStripMenuItem.Name = "eszközökToolStripMenuItem"; + this.eszközökToolStripMenuItem.Size = new System.Drawing.Size(66, 20); + this.eszközökToolStripMenuItem.Text = "Eszközök"; + // + // mindigLegfelülToolStripMenuItem + // + this.mindigLegfelülToolStripMenuItem.CheckOnClick = true; + this.mindigLegfelülToolStripMenuItem.Name = "mindigLegfelülToolStripMenuItem"; + this.mindigLegfelülToolStripMenuItem.Size = new System.Drawing.Size(227, 22); + this.mindigLegfelülToolStripMenuItem.Text = "Mindig legfelül"; + // + // toolStripSeparator8 + // + this.toolStripSeparator8.Name = "toolStripSeparator8"; + this.toolStripSeparator8.Size = new System.Drawing.Size(224, 6); + // + // hangulatjelekToolStripMenuItem + // + this.hangulatjelekToolStripMenuItem.Name = "hangulatjelekToolStripMenuItem"; + this.hangulatjelekToolStripMenuItem.Size = new System.Drawing.Size(227, 22); + this.hangulatjelekToolStripMenuItem.Text = "Hangulatjelek..."; + // + // megjelenitendőKépVáltásaToolStripMenuItem + // + this.megjelenitendőKépVáltásaToolStripMenuItem.Name = "megjelenitendőKépVáltásaToolStripMenuItem"; + this.megjelenitendőKépVáltásaToolStripMenuItem.Size = new System.Drawing.Size(227, 22); + this.megjelenitendőKépVáltásaToolStripMenuItem.Text = "Megjelenitendő kép váltása..."; + // + // háttérMódositásaToolStripMenuItem + // + this.háttérMódositásaToolStripMenuItem.Name = "háttérMódositásaToolStripMenuItem"; + this.háttérMódositásaToolStripMenuItem.Size = new System.Drawing.Size(227, 22); + this.háttérMódositásaToolStripMenuItem.Text = "Háttér módositása..."; + // + // toolStripSeparator9 + // + this.toolStripSeparator9.Name = "toolStripSeparator9"; + this.toolStripSeparator9.Size = new System.Drawing.Size(224, 6); + // + // hangokÉsVideóBeállitásaToolStripMenuItem + // + this.hangokÉsVideóBeállitásaToolStripMenuItem.Name = "hangokÉsVideóBeállitásaToolStripMenuItem"; + this.hangokÉsVideóBeállitásaToolStripMenuItem.Size = new System.Drawing.Size(227, 22); + this.hangokÉsVideóBeállitásaToolStripMenuItem.Text = "Hangok és videó beállitása..."; + // + // toolStripSeparator10 + // + this.toolStripSeparator10.Name = "toolStripSeparator10"; + this.toolStripSeparator10.Size = new System.Drawing.Size(224, 6); + // + // beállitásokToolStripMenuItem + // + this.beállitásokToolStripMenuItem.Name = "beállitásokToolStripMenuItem"; + this.beállitásokToolStripMenuItem.Size = new System.Drawing.Size(227, 22); + this.beállitásokToolStripMenuItem.Text = "Beállitások..."; + // + // súgóToolStripMenuItem + // + this.súgóToolStripMenuItem.DropDownItems.AddRange(new System.Windows.Forms.ToolStripItem[] { + this.témakörökToolStripMenuItem, + this.toolStripSeparator11, + this.aSzolgáltatásÁllapotsaToolStripMenuItem, + this.adatvédelmiNyilatkozatToolStripMenuItem, + this.használatiFeltételekToolStripMenuItem, + this.visszaélésBejelentéseToolStripMenuItem, + this.toolStripSeparator12, + this.segitsenAProgramTökéletesitésébenToolStripMenuItem, + this.toolStripSeparator13, + this.névjegyToolStripMenuItem}); + this.súgóToolStripMenuItem.Name = "súgóToolStripMenuItem"; + this.súgóToolStripMenuItem.Size = new System.Drawing.Size(46, 20); + this.súgóToolStripMenuItem.Text = "Súgó"; + // + // témakörökToolStripMenuItem + // + this.témakörökToolStripMenuItem.Name = "témakörökToolStripMenuItem"; + this.témakörökToolStripMenuItem.Size = new System.Drawing.Size(270, 22); + this.témakörökToolStripMenuItem.Text = "Témakörök"; + // + // toolStripSeparator11 + // + this.toolStripSeparator11.Name = "toolStripSeparator11"; + this.toolStripSeparator11.Size = new System.Drawing.Size(267, 6); + // + // aSzolgáltatásÁllapotsaToolStripMenuItem + // + this.aSzolgáltatásÁllapotsaToolStripMenuItem.Name = "aSzolgáltatásÁllapotsaToolStripMenuItem"; + this.aSzolgáltatásÁllapotsaToolStripMenuItem.Size = new System.Drawing.Size(270, 22); + this.aSzolgáltatásÁllapotsaToolStripMenuItem.Text = "A szolgáltatás állapota"; + // + // adatvédelmiNyilatkozatToolStripMenuItem + // + this.adatvédelmiNyilatkozatToolStripMenuItem.Name = "adatvédelmiNyilatkozatToolStripMenuItem"; + this.adatvédelmiNyilatkozatToolStripMenuItem.Size = new System.Drawing.Size(270, 22); + this.adatvédelmiNyilatkozatToolStripMenuItem.Text = "Adatvédelmi nyilatkozat"; + // + // használatiFeltételekToolStripMenuItem + // + this.használatiFeltételekToolStripMenuItem.Name = "használatiFeltételekToolStripMenuItem"; + this.használatiFeltételekToolStripMenuItem.Size = new System.Drawing.Size(270, 22); + this.használatiFeltételekToolStripMenuItem.Text = "Használati feltételek"; + // + // visszaélésBejelentéseToolStripMenuItem + // + this.visszaélésBejelentéseToolStripMenuItem.Name = "visszaélésBejelentéseToolStripMenuItem"; + this.visszaélésBejelentéseToolStripMenuItem.Size = new System.Drawing.Size(270, 22); + this.visszaélésBejelentéseToolStripMenuItem.Text = "Visszaélés bejelentése"; + // + // toolStripSeparator12 + // + this.toolStripSeparator12.Name = "toolStripSeparator12"; + this.toolStripSeparator12.Size = new System.Drawing.Size(267, 6); + // + // segitsenAProgramTökéletesitésébenToolStripMenuItem + // + this.segitsenAProgramTökéletesitésébenToolStripMenuItem.Name = "segitsenAProgramTökéletesitésébenToolStripMenuItem"; + this.segitsenAProgramTökéletesitésébenToolStripMenuItem.Size = new System.Drawing.Size(270, 22); + this.segitsenAProgramTökéletesitésébenToolStripMenuItem.Text = "Segitsen a program tökéletesitésében"; + // + // toolStripSeparator13 + // + this.toolStripSeparator13.Name = "toolStripSeparator13"; + this.toolStripSeparator13.Size = new System.Drawing.Size(267, 6); + // + // névjegyToolStripMenuItem + // + this.névjegyToolStripMenuItem.Name = "névjegyToolStripMenuItem"; + this.névjegyToolStripMenuItem.Size = new System.Drawing.Size(270, 22); + this.névjegyToolStripMenuItem.Text = "Névjegy"; + // + // contactList + // + this.contactList.AllowColumnResize = false; + this.contactList.AllowMultiselect = false; + this.contactList.AlternateBackground = System.Drawing.Color.DarkGreen; + this.contactList.AlternatingColors = false; + this.contactList.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.contactList.AutoHeight = false; + this.contactList.BackColor = System.Drawing.Color.LightSkyBlue; + this.contactList.BackgroundStretchToFit = true; + glColumn3.ActivatedEmbeddedType = GlacialComponents.Controls.GLActivatedEmbeddedTypes.None; + glColumn3.CheckBoxes = false; + glColumn3.ImageIndex = -1; + glColumn3.Name = "Image"; + glColumn3.NumericSort = false; + glColumn3.Text = ""; + glColumn3.TextAlignment = System.Drawing.ContentAlignment.MiddleLeft; + glColumn3.Width = 100; + glColumn4.ActivatedEmbeddedType = GlacialComponents.Controls.GLActivatedEmbeddedTypes.None; + glColumn4.CheckBoxes = false; + glColumn4.ImageIndex = -1; + glColumn4.Name = "Name"; + glColumn4.NumericSort = false; + glColumn4.Text = ""; + glColumn4.TextAlignment = System.Drawing.ContentAlignment.MiddleLeft; + glColumn4.Width = 400; + this.contactList.Columns.AddRange(new GlacialComponents.Controls.GLColumn[] { + glColumn3, + glColumn4}); + this.contactList.ControlStyle = GlacialComponents.Controls.GLControlStyles.Normal; + this.contactList.ForeColor = System.Drawing.Color.Black; + this.contactList.FullRowSelect = true; + this.contactList.GridColor = System.Drawing.Color.LightGray; + this.contactList.GridLines = GlacialComponents.Controls.GLGridLines.gridHorizontal; + this.contactList.GridLineStyle = GlacialComponents.Controls.GLGridLineStyles.gridNone; + this.contactList.GridTypes = GlacialComponents.Controls.GLGridTypes.gridOnExists; + this.contactList.HeaderHeight = 0; + this.contactList.HeaderVisible = false; + this.contactList.HeaderWordWrap = false; + this.contactList.HotColumnTracking = false; + this.contactList.HotItemTracking = true; + this.contactList.HotTrackingColor = System.Drawing.Color.LightGray; + this.contactList.HoverEvents = false; + this.contactList.HoverTime = 1; + this.contactList.ImageList = null; + this.contactList.ItemHeight = 60; + glItem2.BackColor = System.Drawing.Color.White; + glItem2.ForeColor = System.Drawing.Color.Black; + glItem2.RowBorderColor = System.Drawing.Color.Black; + glItem2.RowBorderSize = 0; + glSubItem3.BackColor = System.Drawing.Color.Empty; + glSubItem3.Checked = false; + glSubItem3.ForceText = false; + glSubItem3.ForeColor = System.Drawing.Color.Black; + glSubItem3.ImageAlignment = System.Windows.Forms.HorizontalAlignment.Left; + glSubItem3.ImageIndex = -1; + glSubItem3.Text = "Betöltés..."; + glSubItem4.BackColor = System.Drawing.Color.Empty; + glSubItem4.Checked = false; + glSubItem4.ForceText = false; + glSubItem4.ForeColor = System.Drawing.Color.Black; + glSubItem4.ImageAlignment = System.Windows.Forms.HorizontalAlignment.Left; + glSubItem4.ImageIndex = -1; + glSubItem4.Text = ""; + glItem2.SubItems.AddRange(new GlacialComponents.Controls.GLSubItem[] { + glSubItem3, + glSubItem4}); + glItem2.Text = "Betöltés..."; + this.contactList.Items.AddRange(new GlacialComponents.Controls.GLItem[] { + glItem2}); + this.contactList.ItemWordWrap = true; + this.contactList.Location = new System.Drawing.Point(0, 133); + this.contactList.Name = "contactList"; + this.contactList.Selectable = true; + this.contactList.SelectedTextColor = System.Drawing.Color.White; + this.contactList.SelectionColor = System.Drawing.Color.DarkBlue; + this.contactList.ShowBorder = false; + this.contactList.ShowFocusRect = false; + this.contactList.Size = new System.Drawing.Size(624, 312); + this.contactList.SortType = GlacialComponents.Controls.SortTypes.InsertionSort; + this.contactList.SuperFlatHeaderColor = System.Drawing.Color.White; + this.contactList.TabIndex = 6; + this.contactList.Text = "contactList"; + this.contactList.DoubleClick += new System.EventHandler(this.OpenSendMessage); + this.contactList.MouseClick += new System.Windows.Forms.MouseEventHandler(this.ContactItemRightClick); + // + // partnerImages + // + this.partnerImages.ColorDepth = System.Windows.Forms.ColorDepth.Depth8Bit; + this.partnerImages.ImageSize = new System.Drawing.Size(16, 16); + this.partnerImages.TransparentColor = System.Drawing.Color.Transparent; + // + // partnerMenu + // + this.partnerMenu.Items.AddRange(new System.Windows.Forms.ToolStripItem[] { + this.üzenetküldésToolStripMenuItem, + this.emailKüldéseemailToolStripMenuItem, + this.toolStripMenuItem2, + this.információToolStripMenuItem, + this.toolStripSeparator14, + this.ismerősLetiltásaToolStripMenuItem, + this.ismerősTörléseToolStripMenuItem1, + this.toolStripSeparator15, + this.becenévSzerkesztéseToolStripMenuItem, + this.toolStripSeparator16, + this.eseményértesitésekToolStripMenuItem, + this.toolStripSeparator17, + this.beszélgetésnaplóMegnyitásaToolStripMenuItem}); + this.partnerMenu.Name = "partnerMenu"; + this.partnerMenu.RenderMode = System.Windows.Forms.ToolStripRenderMode.System; + this.partnerMenu.Size = new System.Drawing.Size(238, 226); + // + // üzenetküldésToolStripMenuItem + // + this.üzenetküldésToolStripMenuItem.Name = "üzenetküldésToolStripMenuItem"; + this.üzenetküldésToolStripMenuItem.Size = new System.Drawing.Size(237, 22); + this.üzenetküldésToolStripMenuItem.Text = "Üzenetküldés"; + this.üzenetküldésToolStripMenuItem.Click += new System.EventHandler(this.OpenSendMessage); + // + // emailKüldéseemailToolStripMenuItem + // + this.emailKüldéseemailToolStripMenuItem.Name = "emailKüldéseemailToolStripMenuItem"; + this.emailKüldéseemailToolStripMenuItem.Size = new System.Drawing.Size(237, 22); + this.emailKüldéseemailToolStripMenuItem.Text = "E-mail küldése (email)"; + // + // toolStripMenuItem2 + // + this.toolStripMenuItem2.Name = "toolStripMenuItem2"; + this.toolStripMenuItem2.Size = new System.Drawing.Size(237, 22); + this.toolStripMenuItem2.Text = "E-mail másolása"; + // + // információToolStripMenuItem + // + this.információToolStripMenuItem.Name = "információToolStripMenuItem"; + this.információToolStripMenuItem.Size = new System.Drawing.Size(237, 22); + this.információToolStripMenuItem.Text = "Információ"; + // + // toolStripSeparator14 + // + this.toolStripSeparator14.Name = "toolStripSeparator14"; + this.toolStripSeparator14.Size = new System.Drawing.Size(234, 6); + // + // ismerősLetiltásaToolStripMenuItem + // + this.ismerősLetiltásaToolStripMenuItem.Name = "ismerősLetiltásaToolStripMenuItem"; + this.ismerősLetiltásaToolStripMenuItem.Size = new System.Drawing.Size(237, 22); + this.ismerősLetiltásaToolStripMenuItem.Text = "Ismerős letiltása"; + // + // ismerősTörléseToolStripMenuItem1 + // + this.ismerősTörléseToolStripMenuItem1.Name = "ismerősTörléseToolStripMenuItem1"; + this.ismerősTörléseToolStripMenuItem1.Size = new System.Drawing.Size(237, 22); + this.ismerősTörléseToolStripMenuItem1.Text = "Ismerős törlése"; + // + // toolStripSeparator15 + // + this.toolStripSeparator15.Name = "toolStripSeparator15"; + this.toolStripSeparator15.Size = new System.Drawing.Size(234, 6); + // + // becenévSzerkesztéseToolStripMenuItem + // + this.becenévSzerkesztéseToolStripMenuItem.Name = "becenévSzerkesztéseToolStripMenuItem"; + this.becenévSzerkesztéseToolStripMenuItem.Size = new System.Drawing.Size(237, 22); + this.becenévSzerkesztéseToolStripMenuItem.Text = "Becenév szerkesztése"; + // + // toolStripSeparator16 + // + this.toolStripSeparator16.Name = "toolStripSeparator16"; + this.toolStripSeparator16.Size = new System.Drawing.Size(234, 6); + // + // eseményértesitésekToolStripMenuItem + // + this.eseményértesitésekToolStripMenuItem.Name = "eseményértesitésekToolStripMenuItem"; + this.eseményértesitésekToolStripMenuItem.Size = new System.Drawing.Size(237, 22); + this.eseményértesitésekToolStripMenuItem.Text = "Eseményértesitések"; + // + // toolStripSeparator17 + // + this.toolStripSeparator17.Name = "toolStripSeparator17"; + this.toolStripSeparator17.Size = new System.Drawing.Size(234, 6); + // + // beszélgetésnaplóMegnyitásaToolStripMenuItem + // + this.beszélgetésnaplóMegnyitásaToolStripMenuItem.Name = "beszélgetésnaplóMegnyitásaToolStripMenuItem"; + this.beszélgetésnaplóMegnyitásaToolStripMenuItem.Size = new System.Drawing.Size(237, 22); + this.beszélgetésnaplóMegnyitásaToolStripMenuItem.Text = "Beszélgetésnapló megnyitása..."; + // + // MainForm + // + this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F); + this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; + this.BackColor = System.Drawing.Color.LightSkyBlue; + this.ClientSize = new System.Drawing.Size(624, 442); + this.Controls.Add(this.contactList); + this.Controls.Add(this.panel2); + this.Controls.Add(this.button1); + this.Controls.Add(this.panel1); + this.Controls.Add(this.menuStrip1); + this.MainMenuStrip = this.menuStrip1; + this.Name = "MainForm"; + this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen; + this.Text = "Live Messenger Plus - MSGer.tk"; + this.Load += new System.EventHandler(this.OnMainFormLoad); + this.panel2.ResumeLayout(false); + this.panel2.PerformLayout(); + this.menuStrip1.ResumeLayout(false); + this.menuStrip1.PerformLayout(); + this.partnerMenu.ResumeLayout(false); + this.ResumeLayout(false); + this.PerformLayout(); + + } + + #endregion + + private System.Windows.Forms.NotifyIcon notifyIcon1; + private System.Windows.Forms.MenuStrip menuStrip1; + private System.Windows.Forms.ToolStripMenuItem fájlToolStripMenuItem; + private System.Windows.Forms.ToolStripMenuItem kijelentkezésToolStripMenuItem; + private System.Windows.Forms.ToolStripSeparator toolStripSeparator1; + private System.Windows.Forms.ToolStripMenuItem állapotToolStripMenuItem; + private System.Windows.Forms.ToolStripMenuItem elérhetőToolStripMenuItem; + private System.Windows.Forms.ToolStripMenuItem elfoglaltToolStripMenuItem; + private System.Windows.Forms.ToolStripMenuItem nincsAGépnélToolStripMenuItem; + private System.Windows.Forms.ToolStripMenuItem rejtveKapcsolódikToolStripMenuItem; + private System.Windows.Forms.ToolStripSeparator toolStripSeparator2; + private System.Windows.Forms.ToolStripMenuItem fájlKüldéseToolStripMenuItem; + private System.Windows.Forms.ToolStripMenuItem beérkezettFájlokMappájánakMegnyitásaToolStripMenuItem; + private System.Windows.Forms.ToolStripMenuItem üzenetekElőzményeinekMegtekintéseToolStripMenuItem; + private System.Windows.Forms.ToolStripSeparator toolStripSeparator3; + private System.Windows.Forms.ToolStripMenuItem bezárásToolStripMenuItem; + private System.Windows.Forms.ToolStripSeparator toolStripSeparator4; + private System.Windows.Forms.ToolStripMenuItem kilépésToolStripMenuItem; + private System.Windows.Forms.ToolStripMenuItem ismerősökToolStripMenuItem; + private System.Windows.Forms.ToolStripMenuItem ismerősFelvételeToolStripMenuItem; + private System.Windows.Forms.ToolStripMenuItem ismerősSzerkesztéseToolStripMenuItem; + private System.Windows.Forms.ToolStripMenuItem ismerősTörléseToolStripMenuItem; + private System.Windows.Forms.ToolStripSeparator toolStripSeparator5; + private System.Windows.Forms.ToolStripMenuItem csoportLétrehozásaToolStripMenuItem; + private System.Windows.Forms.ToolStripSeparator toolStripSeparator6; + private System.Windows.Forms.ToolStripMenuItem kategóriaLétrehozásaToolStripMenuItem; + private System.Windows.Forms.ToolStripMenuItem kategóriaSzerkesztéseToolStripMenuItem; + private System.Windows.Forms.ToolStripMenuItem kategóriaTörléseToolStripMenuItem; + private System.Windows.Forms.ToolStripMenuItem műveletekToolStripMenuItem; + private System.Windows.Forms.ToolStripMenuItem azonnaliÜzenetKüldéseToolStripMenuItem; + private System.Windows.Forms.ToolStripMenuItem egyébKüldéseToolStripMenuItem; + private System.Windows.Forms.ToolStripMenuItem emailKüldéseToolStripMenuItem; + private System.Windows.Forms.ToolStripMenuItem fájlKüldéseToolStripMenuItem1; + private System.Windows.Forms.ToolStripSeparator toolStripSeparator7; + private System.Windows.Forms.ToolStripMenuItem ismerősSzámitógépénekFelhivásaToolStripMenuItem; + private System.Windows.Forms.ToolStripMenuItem videóhivásInditásaToolStripMenuItem; + private System.Windows.Forms.ToolStripMenuItem onlineFájlokMegtekintéseToolStripMenuItem; + private System.Windows.Forms.ToolStripMenuItem közösJátékToolStripMenuItem; + private System.Windows.Forms.ToolStripMenuItem távsegitségKéréseToolStripMenuItem; + private System.Windows.Forms.ToolStripMenuItem eszközökToolStripMenuItem; + private System.Windows.Forms.ToolStripMenuItem mindigLegfelülToolStripMenuItem; + private System.Windows.Forms.ToolStripSeparator toolStripSeparator8; + private System.Windows.Forms.ToolStripMenuItem hangulatjelekToolStripMenuItem; + private System.Windows.Forms.ToolStripMenuItem megjelenitendőKépVáltásaToolStripMenuItem; + private System.Windows.Forms.ToolStripMenuItem háttérMódositásaToolStripMenuItem; + private System.Windows.Forms.ToolStripSeparator toolStripSeparator9; + private System.Windows.Forms.ToolStripMenuItem hangokÉsVideóBeállitásaToolStripMenuItem; + private System.Windows.Forms.ToolStripSeparator toolStripSeparator10; + private System.Windows.Forms.ToolStripMenuItem beállitásokToolStripMenuItem; + private System.Windows.Forms.ToolStripMenuItem súgóToolStripMenuItem; + private System.Windows.Forms.ToolStripMenuItem témakörökToolStripMenuItem; + private System.Windows.Forms.ToolStripSeparator toolStripSeparator11; + private System.Windows.Forms.ToolStripMenuItem aSzolgáltatásÁllapotsaToolStripMenuItem; + private System.Windows.Forms.ToolStripMenuItem adatvédelmiNyilatkozatToolStripMenuItem; + private System.Windows.Forms.ToolStripMenuItem használatiFeltételekToolStripMenuItem; + private System.Windows.Forms.ToolStripMenuItem visszaélésBejelentéseToolStripMenuItem; + private System.Windows.Forms.ToolStripSeparator toolStripSeparator12; + private System.Windows.Forms.ToolStripMenuItem segitsenAProgramTökéletesitésébenToolStripMenuItem; + private System.Windows.Forms.ToolStripSeparator toolStripSeparator13; + private System.Windows.Forms.ToolStripMenuItem névjegyToolStripMenuItem; + private System.Windows.Forms.TextBox textBox1; + private System.Windows.Forms.Button button1; + private System.Windows.Forms.Panel panel2; + private System.Windows.Forms.ToolStripMenuItem toolStripMenuItem1; + private System.Windows.Forms.Panel panel1; + private System.Windows.Forms.ImageList partnerImages; + private GlacialComponents.Controls.GlacialList contactList; + private System.Windows.Forms.ContextMenuStrip partnerMenu; + private System.Windows.Forms.ToolStripMenuItem üzenetküldésToolStripMenuItem; + private System.Windows.Forms.ToolStripMenuItem emailKüldéseemailToolStripMenuItem; + private System.Windows.Forms.ToolStripMenuItem toolStripMenuItem2; + private System.Windows.Forms.ToolStripMenuItem információToolStripMenuItem; + private System.Windows.Forms.ToolStripSeparator toolStripSeparator14; + private System.Windows.Forms.ToolStripMenuItem ismerősLetiltásaToolStripMenuItem; + private System.Windows.Forms.ToolStripMenuItem ismerősTörléseToolStripMenuItem1; + private System.Windows.Forms.ToolStripSeparator toolStripSeparator15; + private System.Windows.Forms.ToolStripMenuItem becenévSzerkesztéseToolStripMenuItem; + private System.Windows.Forms.ToolStripSeparator toolStripSeparator16; + private System.Windows.Forms.ToolStripMenuItem eseményértesitésekToolStripMenuItem; + private System.Windows.Forms.ToolStripSeparator toolStripSeparator17; + private System.Windows.Forms.ToolStripMenuItem beszélgetésnaplóMegnyitásaToolStripMenuItem; + private System.Windows.Forms.ToolStripMenuItem toolStripMenuItem3; + } +} + diff --git a/Most Closed Beta/v8.0/MSGer.tk (C#)/MainForm.cs b/Most Closed Beta/v8.0/MSGer.tk (C#)/MainForm.cs new file mode 100644 index 0000000..3f89922 --- /dev/null +++ b/Most Closed Beta/v8.0/MSGer.tk (C#)/MainForm.cs @@ -0,0 +1,331 @@ +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; +using System.Net; +using System.IO; +using GlacialComponents.Controls; +using Khendys.Controls; +using System.Threading; + +namespace MSGer.tk +{ + public partial class MainForm : Form + { + public static LoginForm LoginDialog; + public static Thread LThread; + public static Thread MainThread = null; + public static bool PartnerListThreadActive = true; + //public static object SelectPartnerSender = null; + public static ToolStripMenuItem SelectPartnerSender = null; + public MainForm() + { + InitializeComponent(); + Thread.CurrentThread.Name = "Main Thread"; + //Settings.Default.Reload(); + //CurrentUser.InitVars(); + contactList.Columns[0].Width = contactList.ItemHeight; //2014.02.28. + this.Hide(); + try + { + LoginDialog = new LoginForm(); + LoginDialog.ShowDialog(); + //NullReferenceException a = null; + //throw a; + } + catch (Exception e) + { + ErrorHandling.FormError(LoginDialog, e); + } + //Nézzük, sikerült-e + if (CurrentUser.UserID != 0) + { + //this.Show(); + contactList.Enabled = false; //2014.03.05. + //contactList.Items.Add("Betöltés..."); //2014.03.05. + MainThread = Thread.CurrentThread; + + // Create the thread object, passing in the Alpha.Beta method + // via a ThreadStart delegate. This does not start the thread. + LThread = new Thread(new ThreadStart(UpdatePartnerList)); + LThread.Name = "Update Partner List"; + + // Start the thread + LThread.Start(); + } + } + + private void LogoutUser(object sender, EventArgs e) + { + this.Hide(); + // + //UserInfo.Partners = new UserInfo[1024]; //Újabb tömböt rendel hozzá, ezért a régi jó esetben törlésre kerül - 2014.03.11. + //UserInfo.Partners = new List(); + UserInfo.Partners.Clear(); + //Type lol = sender.GetType(); + //MessageBox.Show("Just some stuff:\n" + lol.ToString()); + //lol = lol.GetType(); + //MessageBox.Show("Just some stuff:\n" + lol.ToString()); //System.RuntimeType + // + SetOnlineState(null, null); //2014.04.11. - Erre nincs beállitva, ezért automatikusan 0-ra, azaz kijelentkeztetettre állítja az állapotát + CurrentUser.UserID = 0; + /*LoginForm.LButtonText = "Bejelentkezés"; + LoginForm.PassText = "";*/ + //this.Invoke(new LoginForm.MyDelegate(LoginDialog.SetLoginValues)); + PartnerListThreadActive = false; + LoginDialog = new LoginForm(); //2014.04.04. + LoginDialog.ShowDialog(); + //Nézzük, sikerült-e + if (CurrentUser.UserID == 0) + Close(); + contactList.Items.Clear(); //2014.03.05. + contactList.Enabled = false; //2014.03.05. + contactList.Items.Add("Betöltés..."); //2014.03.05. + this.Show(); + PartnerListThreadActive = true; //2014.02.28. - Törli, majd újra létrehozza a listafrissitő thread-et, ha újra bejelentkezett + // Create the thread object, passing in the Alpha.Beta method + // via a ThreadStart delegate. This does not start the thread. + LThread = new Thread(new ThreadStart(UpdatePartnerList)); + LThread.Name = "Update Partner List"; + + // Start the thread + LThread.Start(); + } + + private void LoginNewUser(object sender, EventArgs e) + { + System.Diagnostics.Process.Start("MSGer.tk.exe"); + } + + private void SetOnlineState(object sender, EventArgs e) + { + int state = 0; + if (sender == elérhetőToolStripMenuItem) + state = 1; + if (sender == elfoglaltToolStripMenuItem) + state = 2; + if (sender == nincsAGépnélToolStripMenuItem) + state = 3; + if (sender == rejtveKapcsolódikToolStripMenuItem) + state = 4; + //HTTP + if (Networking.SendRequest("setstate", state + "", 0, true) != "Success") + MessageBox.Show("Hiba történt az állapot beállitása során."); + } + + private void SelectPartner(object sender, EventArgs e) + { + SelectPartnerSender = (ToolStripMenuItem)sender; + DialogResult dr = new DialogResult(); + dr = (new SelectPartnerForm()).ShowDialog(); + if (dr == DialogResult.OK) + { + if (SelectPartnerSender == fájlKüldéseToolStripMenuItem) + { + ; + } + if (SelectPartnerSender == azonnaliÜzenetKüldéseToolStripMenuItem) + { + ; + } + } + /*else if (dr == DialogResult.Cancel) + ;*/ + } + public int UpdateContactList() //2014.03.01. + { + //contactList.Update(); //2014.03.01. + //contactList.Invalidate(true); //2014.03.01. + contactList.Refresh(); + contactList.Enabled = true; //2014.03.05. - A thread első futásához kell + return 0; + } + public delegate int MyDelegate(); + public void UpdatePartnerList() + { + while (PartnerListThreadActive && MainThread.IsAlive) + { + string[] row = Networking.SendRequest("getlist", "", 0, true).Split('ͦ'); //Lekéri a listát, és különválogatja egyben - 2014.02.28. + //contactList.Items.Clear(); + //GLItem[] listViewItem=new GLItem[1024]; + List listViewItem = new List(); + int i = 0; + //int[] tmp; + //if (Settings.Default.picupdatetime.Length == 0) + //tmp = new int[1024]; + //else + //tmp = Settings.Default.picupdatetime.Split(',').Select(s => Int32.Parse(s)).ToArray(); + List tmp; + if (Settings.Default.picupdatetime.Length != 0) + tmp = Settings.Default.picupdatetime.Split(',').Select(s => Int32.Parse(s)).ToList(); + else tmp = new List(); + //UserInfo[] tmpuser = UserInfo.Partners; //Tömbrendezés - Első igazán bonyolult művelet (a többihez csak a parancsokat nem ismertem) - 2014.03.07. + List tmpuser = UserInfo.Partners; + for (int x = 0; x < row.Length-1; x += 6) //Ezt az egyetlen számot (x+=3) kell módositani, és máris alkalmazkodott a hozzáadott adathoz + { //-1: 2014.04.04. - A végére is odarak egy elválasztó jelet, ami miatt eggyel több elem lesz a tömbben + if (row.Length < 5) //2014.03.19. - Ha nincs ismerőse + break; + for (int y = 0; y < UserInfo.Partners.Count; y++) + { + if(UserInfo.Partners[y]!=null && Int32.Parse(row[x+3])==UserInfo.Partners[y].UserID) //Ha null az értéke, már nem is ellenőrzi a másik feltételt + { //Átrendezi a tömböt az új sorrendbe - Ha változott - 2014.03.07. + tmpuser[i] = UserInfo.Partners[y]; + tmpuser[i].Number = i; //És elmenti az új helyét - 2014.03.13. + } + } + //if (tmpuser[i] == null) + if(i>=tmpuser.Count) + { + //tmpuser[i] = new UserInfo(); + tmpuser.Add(new UserInfo()); + } + tmpuser[i].UserID = Int32.Parse(row[x + 3]); //Beállitja az ID-ket + tmpuser[i].Number = i; + tmpuser[i].Name = row[x]; + tmpuser[i].Message = row[x + 1]; + tmpuser[i].State = row[x + 2]; + tmpuser[i].UserName = row[x + 4]; + tmpuser[i].Email = row[x + 5]; + /*if (tmp == null) - Ha tmp==null, akkor az alábbi utasitás sem fog tudni lefutni... + tmp[i] = 0; //Beállitja 0-ra, ha nincs még elmentve*/ + string state = ""; + if (row[x + 2] == "1") + state = " (Elérhető)"; + if (row[x + 2] == "2") + state = " (Elfoglalt)"; + if (row[x + 2] == "3") + state = " (Nincs a gépnél)"; + //listViewItem[i] = new GLItem(); + listViewItem.Add(new GLItem()); + PictureBox item = new PictureBox(); + tmpuser[i].PicUpdateTime = tmp[i]; + string imgpath = tmpuser[i].GetImage(); + if (imgpath!="noimage.png" || File.Exists("noimage.png")) //2014.03.13. + item.ImageLocation = imgpath; + else + MessageBox.Show("Az alap profilkép nem található.\nMásold be a noimage.png-t, vagy telepitsd újra a programot.\n(Ez az üzenet minden egyes ismerősödnél megjelenik.)", "Hiba"); + item.SizeMode = PictureBoxSizeMode.StretchImage; + + listViewItem[i].SubItems[0].Control = item; + listViewItem[i].SubItems[1].Text = row[x] + " " + state + "\n" + row[x + 1]; + i++; + } + Settings.Default.picupdatetime = String.Join(",", tmp.Select(ix => ix.ToString()).ToArray()); + UserInfo.Partners = tmpuser; + contactList.Items.Clear(); + try + { + contactList.Items.AddRange(listViewItem.ToArray()); //2014.03.01. - ToArray: 2014.03.21. + } + catch(ObjectDisposedException) + { + break; + } + /*catch (NullReferenceException) + { + //Mindig megtörténik - A tömb mérete miatt + * 2014.03.21. - Array -> List + * Most már nem szabad megtörténnie + }*/ + try + { //Ha már leállt a program, hibát ir + this.Invoke(new MyDelegate(UpdateContactList)); + } + catch (ObjectDisposedException) + { + break; + } + catch (InvalidOperationException) + { + break; + } + Thread.Sleep(5000); + } + } + + private void ClearSearchBar(object sender, EventArgs e) + { + if(textBox1.Text=="Ismerősök keresése...") + textBox1.Clear(); + } + + private void PutTextInSearchBar(object sender, EventArgs e) + { + if (textBox1.Text == "") + textBox1.Text = "Ismerősök keresése..."; + } + public static int RightClickedPartner = -1; + private void ContactItemRightClick(object sender, MouseEventArgs e) + { + if (e.Button != MouseButtons.Right || contactList.HotItemIndex>=contactList.Items.Count) + { //Igy nem reagál arra sem, ha üres területre kattintunk + return; + } + contactList.Items[contactList.HotItemIndex].Selected = true; + RightClickedPartner = contactList.HotItemIndex; + partnerMenu.Show(Cursor.Position); + } + //ChatForm[] ChatWindow=new ChatForm[1024]; + private void OpenSendMessage(object sender, EventArgs e) //2014.03.02. 0:17 + { + int tmp = contactList.HotItemIndex; + if (RightClickedPartner == -1) + RightClickedPartner = tmp; + if (RightClickedPartner == -1 || RightClickedPartner >= contactList.Items.Count) + return; + //Üzenetküldő form + /*if (ChatWindow[RightClickedPartner] == null || ChatWindow[RightClickedPartner].IsDisposed) + ChatWindow[RightClickedPartner] = new ChatForm(); + UserInfo test = new UserInfo(); + test.ChatWindow = new ChatForm(); + ChatWindow[RightClickedPartner].Show();*/ + /*if (UserInfo.Partners[RightClickedPartner].ChatWindow.MultiChat == null && (UserInfo.Partners[RightClickedPartner].ChatWindow == null || UserInfo.Partners[RightClickedPartner].ChatWindow.IsDisposed)) + UserInfo.Partners[RightClickedPartner].ChatWindow = new ChatForm(); + //A MultiChat-hoz nem nyúlunk, ezáltal sima beszélgetés lesz + UserInfo.Partners[RightClickedPartner].ChatWindow.ChatPartner = RightClickedPartner; + UserInfo.Partners[RightClickedPartner].ChatWindow.Show();*/ + int ChatNum = -1; + for (int i = 0; i < ChatForm.ChatWindows.Count; i++) + { + if (ChatForm.ChatWindows[i].ChatPartners.Count==1 && ChatForm.ChatWindows[i].ChatPartners.Contains(RightClickedPartner)) + { //Vele, és csak vele beszél + ChatNum = i; + break; + } + } + if(ChatNum==-1) + { //Nincs még chatablaka + ChatForm.ChatWindows.Add(new ChatForm()); + ChatForm.ChatWindows[ChatForm.ChatWindows.Count - 1].ChatPartners.Add(RightClickedPartner); + ChatForm.ChatWindows[ChatForm.ChatWindows.Count - 1].Show(); + } + else + { + ChatForm.ChatWindows[ChatNum].Show(); + } + /*if (UserInfo.Partners[RightClickedPartner].ChatWindow.MultiChat == null && (UserInfo.Partners[RightClickedPartner].ChatWindow == null || UserInfo.Partners[RightClickedPartner].ChatWindow.IsDisposed)) + UserInfo.Partners[RightClickedPartner].ChatWindow = new ChatForm(); + //A MultiChat-hoz nem nyúlunk, ezáltal sima beszélgetés lesz + UserInfo.Partners[RightClickedPartner].ChatWindow.ChatPartner = RightClickedPartner; + UserInfo.Partners[RightClickedPartner].ChatWindow.Show();*/ + + RightClickedPartner = -1; // A form bezárásakor állitsa vissza - Inkább ne; Azóta átalakitottam + } + + private void OnMainFormLoad(object sender, EventArgs e) + { + if (CurrentUser.UserID == 0) + Close(); + } + + private void InvitePartner(object sender, EventArgs e) + { + (new InvitePartner()).ShowDialog(); + } + } +} diff --git a/Most Closed Beta/v8.0/MSGer.tk (C#)/MainForm.resx b/Most Closed Beta/v8.0/MSGer.tk (C#)/MainForm.resx new file mode 100644 index 0000000..246e1f8 --- /dev/null +++ b/Most Closed Beta/v8.0/MSGer.tk (C#)/MainForm.resx @@ -0,0 +1,129 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + WLM 2009 Logo base64-encoded probably - Spent hours on the correct sed command + + + System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + 17, 17 + + + 130, 17 + + + 245, 17 + + + 375, 17 + + \ No newline at end of file diff --git a/Most Closed Beta/v8.0/MSGer.tk (C#)/Program.cs b/Most Closed Beta/v8.0/MSGer.tk (C#)/Program.cs new file mode 100644 index 0000000..cbec69b --- /dev/null +++ b/Most Closed Beta/v8.0/MSGer.tk (C#)/Program.cs @@ -0,0 +1,133 @@ +using System; +using System.Collections.Generic; +using System.Globalization; +using System.IO; +using System.Linq; +using System.Net; +using System.Text; +using System.Threading.Tasks; +using System.Windows.Forms; + +namespace MSGer.tk +{ + static class Program + { + /// + /// The main entry point for the application. + /// + public static MainForm MainF; + [STAThread] + static void Main() + { + Application.EnableVisualStyles(); + Application.SetCompatibleTextRenderingDefault(false); + try + { + Application.Run(MainF = new MainForm()); + } + catch(FileNotFoundException e) + { + //MessageBox.Show(e.GetType().ToString()); + MessageBox.Show("Egy fájl nem található.\nA fájl neve:\n" + e.FileName+"\nEnnél a műveletnél: "+e.TargetSite); + + } + catch(Exception e) + { + ErrorHandling.FormError(MainF, e); + } + } + + private static readonly DateTime Epoch = new DateTime(1970, 1, 1, 0, 0, 0, + DateTimeKind.Utc); + + public static DateTime UnixTimeToDateTime(string text) + { + double seconds = double.Parse(text, CultureInfo.InvariantCulture); + return Epoch.AddSeconds(seconds); + } + } + static class Networking + { + //public static HttpWebRequest Request; //2014.03.27. - A megállitáshoz + public static string SendRequest(string action, string data, int remnum, bool loggedin) //2014.02.18. + { + //HttpWebRequest httpWReq = + // (HttpWebRequest)WebRequest.Create("http://msger.tk/client.php"); + HttpWebRequest httpWReq = + (HttpWebRequest)WebRequest.Create("http://msger.url.ph/client.php"); + + ASCIIEncoding encoding = new ASCIIEncoding(); + string postData = "action=" + action; + if (loggedin) //2014.03.14. + postData += "&uid=" + CurrentUser.UserID; + postData += "&key=cas1fe4a6feFEFEFE1616CE8099VFE1444cdasf48c1ase5dg"; + if (loggedin) //2014.03.14. + postData += "&code=" + LoginForm.UserCode; //2014.02.13. + postData += "&data=" + Uri.EscapeUriString(data); //2014.02.13. + byte[] datax = encoding.GetBytes(postData); + + httpWReq.Method = "POST"; + httpWReq.ContentType = "application/x-www-form-urlencoded"; + httpWReq.ContentLength = datax.Length; + + //MessageBox.Show(postData); + + using (Stream stream = httpWReq.GetRequestStream()) + { + stream.Write(datax, 0, datax.Length); + } + + //Lista betöltése folyamatban... + + HttpWebResponse response; + + try + { + response = (HttpWebResponse)httpWReq.GetResponse(); + } + catch (Exception e) + { + MessageBox.Show("Hiba az ismerőslista frissítésekor:\n", e.Message); + //return null; + return SendRequest(action, data, remnum, loggedin); //Újrapróbálkozik + } + string responseString; + responseString = new StreamReader(response.GetResponseStream()).ReadToEnd(); + + /*try + { + responseString = responseString.Remove(responseString.IndexOf('<')); + } + catch + { + }*/ + + //if (remnum>0 && responseString.Length-remnum>0) //Felt. 2014.03.14. + // responseString = responseString.Remove(responseString.Length - remnum); //A -1 nem elég + + return responseString; + } + } + class ThreadSetVar + { //2014.04.11. + private Control SetVarTarget; + private string SetVarValue; + private delegate void SetVarDelegate(); + public ThreadSetVar(Control variable, object value, Control sender) + { + if (value is String) + { + SetVarTarget = variable; + SetVarValue = (string)value; + sender.Invoke(new SetVarDelegate(IntThreadSetVar)); + } + } + private void IntThreadSetVar() + { //Belső meghívás + if (SetVarValue is String) + { + SetVarTarget.Text = (string)SetVarValue; + } + } + } +} diff --git a/Most Closed Beta/v8.0/MSGer.tk (C#)/Properties/AssemblyInfo.cs b/Most Closed Beta/v8.0/MSGer.tk (C#)/Properties/AssemblyInfo.cs new file mode 100644 index 0000000..044ccb6 --- /dev/null +++ b/Most Closed Beta/v8.0/MSGer.tk (C#)/Properties/AssemblyInfo.cs @@ -0,0 +1,36 @@ +using System.Reflection; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +// General Information about an assembly is controlled through the following +// set of attributes. Change these attribute values to modify the information +// associated with an assembly. +[assembly: AssemblyTitle("MSGer.tk")] +[assembly: AssemblyDescription("")] +[assembly: AssemblyConfiguration("")] +[assembly: AssemblyCompany("")] +[assembly: AssemblyProduct("MSGer.tk")] +[assembly: AssemblyCopyright("Copyright © 2013")] +[assembly: AssemblyTrademark("")] +[assembly: AssemblyCulture("")] + +// Setting ComVisible to false makes the types in this assembly not visible +// to COM components. If you need to access a type in this assembly from +// COM, set the ComVisible attribute to true on that type. +[assembly: ComVisible(false)] + +// The following GUID is for the ID of the typelib if this project is exposed to COM +[assembly: Guid("d2fdb449-71d7-425e-942b-516005de4cc8")] + +// Version information for an assembly consists of the following four values: +// +// Major Version +// Minor Version +// Build Number +// Revision +// +// You can specify all the values or you can default the Build and Revision Numbers +// by using the '*' as shown below: +// [assembly: AssemblyVersion("1.0.*")] +[assembly: AssemblyVersion("1.0.0.0")] +[assembly: AssemblyFileVersion("1.0.0.0")] diff --git a/Most Closed Beta/v8.0/MSGer.tk (C#)/Properties/Resources.Designer.cs b/Most Closed Beta/v8.0/MSGer.tk (C#)/Properties/Resources.Designer.cs new file mode 100644 index 0000000..4c92e1d --- /dev/null +++ b/Most Closed Beta/v8.0/MSGer.tk (C#)/Properties/Resources.Designer.cs @@ -0,0 +1,103 @@ +//------------------------------------------------------------------------------ +// +// 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. +// +//------------------------------------------------------------------------------ + +namespace MSGer.tk.Properties { + using System; + + + /// + /// A strongly-typed resource class, for looking up localized strings, etc. + /// + // 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 Resources { + + private static global::System.Resources.ResourceManager resourceMan; + + private static global::System.Globalization.CultureInfo resourceCulture; + + [global::System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1811:AvoidUncalledPrivateCode")] + internal Resources() { + } + + /// + /// Returns the cached ResourceManager instance used by this class. + /// + [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("MSGer.tk.Properties.Resources", typeof(Resources).Assembly); + resourceMan = temp; + } + return resourceMan; + } + } + + /// + /// Overrides the current thread's CurrentUICulture property for all + /// resource lookups using this strongly typed resource class. + /// + [global::System.ComponentModel.EditorBrowsableAttribute(global::System.ComponentModel.EditorBrowsableState.Advanced)] + internal static global::System.Globalization.CultureInfo Culture { + get { + return resourceCulture; + } + set { + resourceCulture = value; + } + } + + /// + /// Looks up a localized resource of type System.Drawing.Bitmap. + /// + internal static System.Drawing.Bitmap Blue_Wallpaper_HD { + get { + object obj = ResourceManager.GetObject("Blue-Wallpaper-HD", resourceCulture); + return ((System.Drawing.Bitmap)(obj)); + } + } + + /// + /// Looks up a localized resource of type System.Drawing.Bitmap. + /// + internal static System.Drawing.Bitmap Blue_Wallpaper_HD_2 { + get { + object obj = ResourceManager.GetObject("Blue-Wallpaper-HD 2", resourceCulture); + return ((System.Drawing.Bitmap)(obj)); + } + } + + /// + /// Looks up a localized resource of type System.Drawing.Bitmap. + /// + internal static System.Drawing.Bitmap Keresősáv { + get { + object obj = ResourceManager.GetObject("Keresősáv", resourceCulture); + return ((System.Drawing.Bitmap)(obj)); + } + } + + /// + /// Looks up a localized resource of type System.Drawing.Bitmap. + /// + internal static System.Drawing.Bitmap Menü_2 { + get { + object obj = ResourceManager.GetObject("Menü 2", resourceCulture); + return ((System.Drawing.Bitmap)(obj)); + } + } + } +} diff --git a/Most Closed Beta/v8.0/MSGer.tk (C#)/Properties/Resources.resx b/Most Closed Beta/v8.0/MSGer.tk (C#)/Properties/Resources.resx new file mode 100644 index 0000000..7ac27db --- /dev/null +++ b/Most Closed Beta/v8.0/MSGer.tk (C#)/Properties/Resources.resx @@ -0,0 +1,133 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + text/microsoft-resx + + + 2.0 + + + System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + + ..\Resources\Keresősáv.jpg;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a + + + ..\Resources\Blue-Wallpaper-HD 21.jpg;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a + + + ..\Resources\Menü 22.jpg;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a + + + ..\Resources\Blue-Wallpaper-HD1.jpg;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a + + \ No newline at end of file diff --git a/Most Closed Beta/v8.0/MSGer.tk (C#)/Properties/Settings.Designer.cs b/Most Closed Beta/v8.0/MSGer.tk (C#)/Properties/Settings.Designer.cs new file mode 100644 index 0000000..c795cd2 --- /dev/null +++ b/Most Closed Beta/v8.0/MSGer.tk (C#)/Properties/Settings.Designer.cs @@ -0,0 +1,30 @@ +//------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// Runtime Version:4.0.30319.17929 +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +//------------------------------------------------------------------------------ + +namespace MSGer.tk.Properties +{ + + + [global::System.Runtime.CompilerServices.CompilerGeneratedAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.VisualStudio.Editors.SettingsDesigner.SettingsSingleFileGenerator", "11.0.0.0")] + internal sealed partial class Settings : global::System.Configuration.ApplicationSettingsBase + { + + private static Settings defaultInstance = ((Settings)(global::System.Configuration.ApplicationSettingsBase.Synchronized(new Settings()))); + + public static Settings Default + { + get + { + return defaultInstance; + } + } + } +} diff --git a/Most Closed Beta/v8.0/MSGer.tk (C#)/Properties/Settings.settings b/Most Closed Beta/v8.0/MSGer.tk (C#)/Properties/Settings.settings new file mode 100644 index 0000000..abf36c5 --- /dev/null +++ b/Most Closed Beta/v8.0/MSGer.tk (C#)/Properties/Settings.settings @@ -0,0 +1,7 @@ + + + + + + + diff --git a/Most Closed Beta/v8.0/MSGer.tk (C#)/Resources/Blue-Wallpaper-HD 2.jpg b/Most Closed Beta/v8.0/MSGer.tk (C#)/Resources/Blue-Wallpaper-HD 2.jpg new file mode 100644 index 0000000..2cf5782 Binary files /dev/null and b/Most Closed Beta/v8.0/MSGer.tk (C#)/Resources/Blue-Wallpaper-HD 2.jpg differ diff --git a/Most Closed Beta/v8.0/MSGer.tk (C#)/Resources/Blue-Wallpaper-HD 21.jpg b/Most Closed Beta/v8.0/MSGer.tk (C#)/Resources/Blue-Wallpaper-HD 21.jpg new file mode 100644 index 0000000..2cf5782 Binary files /dev/null and b/Most Closed Beta/v8.0/MSGer.tk (C#)/Resources/Blue-Wallpaper-HD 21.jpg differ diff --git a/Most Closed Beta/v8.0/MSGer.tk (C#)/Resources/Blue-Wallpaper-HD.jpg b/Most Closed Beta/v8.0/MSGer.tk (C#)/Resources/Blue-Wallpaper-HD.jpg new file mode 100644 index 0000000..38e9cbc Binary files /dev/null and b/Most Closed Beta/v8.0/MSGer.tk (C#)/Resources/Blue-Wallpaper-HD.jpg differ diff --git a/Most Closed Beta/v8.0/MSGer.tk (C#)/Resources/Blue-Wallpaper-HD1.jpg b/Most Closed Beta/v8.0/MSGer.tk (C#)/Resources/Blue-Wallpaper-HD1.jpg new file mode 100644 index 0000000..38e9cbc Binary files /dev/null and b/Most Closed Beta/v8.0/MSGer.tk (C#)/Resources/Blue-Wallpaper-HD1.jpg differ diff --git a/Most Closed Beta/v8.0/MSGer.tk (C#)/Resources/Keresősáv.jpg b/Most Closed Beta/v8.0/MSGer.tk (C#)/Resources/Keresősáv.jpg new file mode 100644 index 0000000..f54cf78 Binary files /dev/null and b/Most Closed Beta/v8.0/MSGer.tk (C#)/Resources/Keresősáv.jpg differ diff --git a/Most Closed Beta/v8.0/MSGer.tk (C#)/Resources/Menü 2.jpg b/Most Closed Beta/v8.0/MSGer.tk (C#)/Resources/Menü 2.jpg new file mode 100644 index 0000000..d4b1794 Binary files /dev/null and b/Most Closed Beta/v8.0/MSGer.tk (C#)/Resources/Menü 2.jpg differ diff --git a/Most Closed Beta/v8.0/MSGer.tk (C#)/Resources/Menü 21.jpg b/Most Closed Beta/v8.0/MSGer.tk (C#)/Resources/Menü 21.jpg new file mode 100644 index 0000000..d4b1794 Binary files /dev/null and b/Most Closed Beta/v8.0/MSGer.tk (C#)/Resources/Menü 21.jpg differ diff --git a/Most Closed Beta/v8.0/MSGer.tk (C#)/Resources/Menü 22.jpg b/Most Closed Beta/v8.0/MSGer.tk (C#)/Resources/Menü 22.jpg new file mode 100644 index 0000000..d4b1794 Binary files /dev/null and b/Most Closed Beta/v8.0/MSGer.tk (C#)/Resources/Menü 22.jpg differ diff --git a/Most Closed Beta/v8.0/MSGer.tk (C#)/Resources/Menü 3.jpg b/Most Closed Beta/v8.0/MSGer.tk (C#)/Resources/Menü 3.jpg new file mode 100644 index 0000000..a021f2f Binary files /dev/null and b/Most Closed Beta/v8.0/MSGer.tk (C#)/Resources/Menü 3.jpg differ diff --git a/Most Closed Beta/v8.0/MSGer.tk (C#)/SelectPartnerForm.Designer.cs b/Most Closed Beta/v8.0/MSGer.tk (C#)/SelectPartnerForm.Designer.cs new file mode 100644 index 0000000..7ee9f55 --- /dev/null +++ b/Most Closed Beta/v8.0/MSGer.tk (C#)/SelectPartnerForm.Designer.cs @@ -0,0 +1,179 @@ +namespace MSGer.tk +{ + partial class SelectPartnerForm + { + /// + /// Required designer variable. + /// + private System.ComponentModel.IContainer components = null; + + /// + /// Clean up any resources being used. + /// + /// true if managed resources should be disposed; otherwise, false. + protected override void Dispose(bool disposing) + { + if (disposing && (components != null)) + { + components.Dispose(); + } + base.Dispose(disposing); + } + + #region Windows Form Designer generated code + + /// + /// Required method for Designer support - do not modify + /// the contents of this method with the code editor. + /// + private void InitializeComponent() + { + GlacialComponents.Controls.GLColumn glColumn1 = new GlacialComponents.Controls.GLColumn(); + GlacialComponents.Controls.GLItem glItem1 = new GlacialComponents.Controls.GLItem(); + GlacialComponents.Controls.GLSubItem glSubItem1 = new GlacialComponents.Controls.GLSubItem(); + this.partnerList = new GlacialComponents.Controls.GlacialList(); + this.selectedPartners = new System.Windows.Forms.TextBox(); + this.okbtn = new System.Windows.Forms.Button(); + this.cancelbtn = new System.Windows.Forms.Button(); + this.titleText = new System.Windows.Forms.Label(); + this.SuspendLayout(); + // + // partnerList + // + this.partnerList.AllowColumnResize = false; + this.partnerList.AllowMultiselect = true; + this.partnerList.AlternateBackground = System.Drawing.Color.DarkGreen; + this.partnerList.AlternatingColors = false; + this.partnerList.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.partnerList.AutoHeight = true; + this.partnerList.BackColor = System.Drawing.SystemColors.ControlLightLight; + this.partnerList.BackgroundStretchToFit = true; + glColumn1.ActivatedEmbeddedType = GlacialComponents.Controls.GLActivatedEmbeddedTypes.None; + glColumn1.CheckBoxes = true; + glColumn1.ImageIndex = -1; + glColumn1.Name = "PartnerName"; + glColumn1.NumericSort = false; + glColumn1.Text = ""; + glColumn1.TextAlignment = System.Drawing.ContentAlignment.MiddleLeft; + glColumn1.Width = 100; + this.partnerList.Columns.AddRange(new GlacialComponents.Controls.GLColumn[] { + glColumn1}); + this.partnerList.ControlStyle = GlacialComponents.Controls.GLControlStyles.Normal; + this.partnerList.ForeColor = System.Drawing.Color.Black; + this.partnerList.FullRowSelect = true; + this.partnerList.GridColor = System.Drawing.Color.LightGray; + this.partnerList.GridLines = GlacialComponents.Controls.GLGridLines.gridBoth; + this.partnerList.GridLineStyle = GlacialComponents.Controls.GLGridLineStyles.gridNone; + this.partnerList.GridTypes = GlacialComponents.Controls.GLGridTypes.gridOnExists; + this.partnerList.HeaderHeight = 0; + this.partnerList.HeaderVisible = false; + this.partnerList.HeaderWordWrap = false; + this.partnerList.HotColumnTracking = false; + this.partnerList.HotItemTracking = true; + this.partnerList.HotTrackingColor = System.Drawing.Color.LightGray; + this.partnerList.HoverEvents = false; + this.partnerList.HoverTime = 1; + this.partnerList.ImageList = null; + this.partnerList.ItemHeight = 17; + glItem1.BackColor = System.Drawing.Color.White; + glItem1.ForeColor = System.Drawing.Color.Black; + glItem1.RowBorderColor = System.Drawing.Color.Black; + glItem1.RowBorderSize = 0; + glSubItem1.BackColor = System.Drawing.Color.Empty; + glSubItem1.Checked = false; + glSubItem1.ForceText = false; + glSubItem1.ForeColor = System.Drawing.Color.Black; + glSubItem1.ImageAlignment = System.Windows.Forms.HorizontalAlignment.Left; + glSubItem1.ImageIndex = -1; + glSubItem1.Text = "Test"; + glItem1.SubItems.AddRange(new GlacialComponents.Controls.GLSubItem[] { + glSubItem1}); + glItem1.Text = "Test"; + this.partnerList.Items.AddRange(new GlacialComponents.Controls.GLItem[] { + glItem1}); + this.partnerList.ItemWordWrap = false; + this.partnerList.Location = new System.Drawing.Point(13, 26); + this.partnerList.Name = "partnerList"; + this.partnerList.Selectable = true; + this.partnerList.SelectedTextColor = System.Drawing.Color.White; + this.partnerList.SelectionColor = System.Drawing.Color.DarkBlue; + this.partnerList.ShowBorder = true; + this.partnerList.ShowFocusRect = true; + this.partnerList.Size = new System.Drawing.Size(359, 286); + this.partnerList.SortType = GlacialComponents.Controls.SortTypes.InsertionSort; + this.partnerList.SuperFlatHeaderColor = System.Drawing.Color.White; + this.partnerList.TabIndex = 0; + this.partnerList.Click += new System.EventHandler(this.ItemClicked); + this.partnerList.DoubleClick += new System.EventHandler(this.ItemDoubleClick); + // + // selectedPartners + // + this.selectedPartners.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left) + | System.Windows.Forms.AnchorStyles.Right))); + this.selectedPartners.Location = new System.Drawing.Point(13, 319); + this.selectedPartners.Multiline = true; + this.selectedPartners.Name = "selectedPartners"; + this.selectedPartners.Size = new System.Drawing.Size(359, 103); + this.selectedPartners.TabIndex = 1; + // + // okbtn + // + this.okbtn.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right))); + this.okbtn.DialogResult = System.Windows.Forms.DialogResult.OK; + this.okbtn.Location = new System.Drawing.Point(215, 428); + this.okbtn.Name = "okbtn"; + this.okbtn.Size = new System.Drawing.Size(75, 23); + this.okbtn.TabIndex = 2; + this.okbtn.Text = "OK"; + this.okbtn.UseVisualStyleBackColor = true; + this.okbtn.Click += new System.EventHandler(this.okbtn_Click); + // + // cancelbtn + // + this.cancelbtn.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right))); + this.cancelbtn.DialogResult = System.Windows.Forms.DialogResult.Cancel; + this.cancelbtn.Location = new System.Drawing.Point(297, 429); + this.cancelbtn.Name = "cancelbtn"; + this.cancelbtn.Size = new System.Drawing.Size(75, 23); + this.cancelbtn.TabIndex = 3; + this.cancelbtn.Text = "Mégse"; + this.cancelbtn.UseVisualStyleBackColor = true; + // + // titleText + // + this.titleText.AutoSize = true; + this.titleText.Location = new System.Drawing.Point(13, 7); + this.titleText.Name = "titleText"; + this.titleText.Size = new System.Drawing.Size(53, 13); + this.titleText.TabIndex = 4; + this.titleText.Text = "Unknown"; + // + // SelectPartnerForm + // + this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F); + this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; + this.ClientSize = new System.Drawing.Size(384, 462); + this.Controls.Add(this.titleText); + this.Controls.Add(this.cancelbtn); + this.Controls.Add(this.okbtn); + this.Controls.Add(this.selectedPartners); + this.Controls.Add(this.partnerList); + this.Name = "SelectPartnerForm"; + this.Text = "Partnerválasztás"; + this.ResizeEnd += new System.EventHandler(this.FormResizeFinish); + this.ResumeLayout(false); + this.PerformLayout(); + + } + + #endregion + + private GlacialComponents.Controls.GlacialList partnerList; + private System.Windows.Forms.TextBox selectedPartners; + private System.Windows.Forms.Button okbtn; + private System.Windows.Forms.Button cancelbtn; + private System.Windows.Forms.Label titleText; + } +} \ No newline at end of file diff --git a/Most Closed Beta/v8.0/MSGer.tk (C#)/SelectPartnerForm.cs b/Most Closed Beta/v8.0/MSGer.tk (C#)/SelectPartnerForm.cs new file mode 100644 index 0000000..3d73128 --- /dev/null +++ b/Most Closed Beta/v8.0/MSGer.tk (C#)/SelectPartnerForm.cs @@ -0,0 +1,126 @@ +using GlacialComponents.Controls; +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 SelectPartnerForm : Form + { + public SelectPartnerForm() + { + InitializeComponent(); + //this.Text = MainForm.SelectPartnerSender.ToString(); + //titleText.Text = MainForm.SelectPartnerSender.ToString(); + this.Text = MainForm.SelectPartnerSender.Text; //2014.02.28. + titleText.Text = MainForm.SelectPartnerSender.Text; + + partnerList.Items.Clear(); + //for (int x = 0; x < 1024; x++) + for (int x = 0; x < UserInfo.Partners.Count; x++) //Partners + { + //MessageBox.Show(x + ""); + try + { + //MessageBox.Show("Hozzáadás"); + //GLItem item = new GLItem(partnerList); + //item.Text = UserInfo.Partners[x].Name; + partnerList.Items.Add(UserInfo.Partners[x].UserName); + //MessageBox.Show("Hozzáadva"); + } + catch (NullReferenceException) + { + break; + } + catch (Exception e) + { + MessageBox.Show(e.Message); + break; + } + } + partnerList.Columns[0].Width = partnerList.ClientSize.Width-5; + } + + private void FormResizeFinish(object sender, EventArgs e) + { + partnerList.Columns[0].Width = partnerList.ClientSize.Width-5; + } + + private void ItemClicked(object sender, EventArgs e) + { + for (int i = 0; i < partnerList.Items.Count; i++) + { + if(partnerList.Items[i].SubItems[0].Checked) + { + int p = selectedPartners.Text.IndexOf(partnerList.Items[i].SubItems[0].Text + ";"); + if (p == -1) + { + /*if (selectedPartners.Text.Length != 0) + selectedPartners.Text += "; " + partnerList.Items[i].SubItems[0].Text; + else + selectedPartners.Text = partnerList.Items[i].SubItems[0].Text;*/ + selectedPartners.Text += partnerList.Items[i].SubItems[0].Text + ";"; + } + } + else + { + //MessageBox.Show(selectedPartners.Text.IndexOf(partnerList.Items[i].SubItems[0].Text)+""); + int p = selectedPartners.Text.IndexOf(partnerList.Items[i].SubItems[0].Text + ";"); + if (p != -1) //Eltávolitja a nem kiválasztott partner előfordulását a listából - Megcsinálom visszafelé is + selectedPartners.Text = selectedPartners.Text.Remove(p, partnerList.Items[i].SubItems[0].Text.Length+1); //Eltávolitja a ;-t is + } + } + } + + private void ItemDoubleClick(object sender, EventArgs e) + { + int a = partnerList.HotItemIndex; + //MessageBox.Show("DoubleClick"); + if (partnerList.Items[a].SubItems[0].Checked) + partnerList.Items[a].SubItems[0].Checked = false; + else + partnerList.Items[a].SubItems[0].Checked = true; + ItemClicked(sender, e); + } + + private void okbtn_Click(object sender, EventArgs e) + { + /*for (int i = 0; i < partnerList.Items.Count; i++) + { + if (partnerList.Items[i].SubItems[0].Checked) + { + //if (UserInfo.Partners[i].ChatWindow.MultiChat != null && true) + // ; //Át kell gondolnom a rendszert a többfelhasználós chat miatt - 2014.03.21. + } + }*/ + while(selectedPartners.Text.Contains(' ')) + { //Eltávolitja a szóközöket + int x=selectedPartners.Text.IndexOf(' '); + selectedPartners.Text.Remove(x, 1); + } + string[] partners = selectedPartners.Text.Split(';'); + ChatForm tmpchat = new ChatForm(); + for (int i = 0; i < partners.Length; i++) + { + for(int j=0; j + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + text/microsoft-resx + + + 2.0 + + + System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + \ No newline at end of file diff --git a/Most Closed Beta/v8.0/MSGer.tk (C#)/Settings.Designer.cs b/Most Closed Beta/v8.0/MSGer.tk (C#)/Settings.Designer.cs new file mode 100644 index 0000000..150d5ee --- /dev/null +++ b/Most Closed Beta/v8.0/MSGer.tk (C#)/Settings.Designer.cs @@ -0,0 +1,50 @@ +//------------------------------------------------------------------------------ +// +// 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. +// +//------------------------------------------------------------------------------ + +namespace MSGer.tk { + + + [global::System.Runtime.CompilerServices.CompilerGeneratedAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.VisualStudio.Editors.SettingsDesigner.SettingsSingleFileGenerator", "12.0.0.0")] + internal sealed partial class Settings : global::System.Configuration.ApplicationSettingsBase { + + private static Settings defaultInstance = ((Settings)(global::System.Configuration.ApplicationSettingsBase.Synchronized(new Settings()))); + + public static Settings Default { + get { + return defaultInstance; + } + } + + [global::System.Configuration.UserScopedSettingAttribute()] + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.Configuration.DefaultSettingValueAttribute("")] + public string email { + get { + return ((string)(this["email"])); + } + set { + this["email"] = value; + } + } + + [global::System.Configuration.UserScopedSettingAttribute()] + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.Configuration.DefaultSettingValueAttribute("")] + public string picupdatetime { + get { + return ((string)(this["picupdatetime"])); + } + set { + this["picupdatetime"] = value; + } + } + } +} diff --git a/Most Closed Beta/v8.0/MSGer.tk (C#)/Settings.cs b/Most Closed Beta/v8.0/MSGer.tk (C#)/Settings.cs new file mode 100644 index 0000000..2cae8b2 --- /dev/null +++ b/Most Closed Beta/v8.0/MSGer.tk (C#)/Settings.cs @@ -0,0 +1,28 @@ +namespace MSGer.tk { + + + // This class allows you to handle specific events on the settings class: + // The SettingChanging event is raised before a setting's value is changed. + // The PropertyChanged event is raised after a setting's value is changed. + // The SettingsLoaded event is raised after the setting values are loaded. + // The SettingsSaving event is raised before the setting values are saved. + internal sealed partial class Settings { + + public Settings() { + // // To add event handlers for saving and changing settings, uncomment the lines below: + // + // this.SettingChanging += this.SettingChangingEventHandler; + // + // this.SettingsSaving += this.SettingsSavingEventHandler; + // + } + + private void SettingChangingEventHandler(object sender, System.Configuration.SettingChangingEventArgs e) { + // Add code to handle the SettingChangingEvent event here. + } + + private void SettingsSavingEventHandler(object sender, System.ComponentModel.CancelEventArgs e) { + // Add code to handle the SettingsSaving event here. + } + } +} diff --git a/Most Closed Beta/v8.0/MSGer.tk (C#)/Settings.settings b/Most Closed Beta/v8.0/MSGer.tk (C#)/Settings.settings new file mode 100644 index 0000000..10beda8 --- /dev/null +++ b/Most Closed Beta/v8.0/MSGer.tk (C#)/Settings.settings @@ -0,0 +1,12 @@ + + + + + + + + + + + + \ No newline at end of file diff --git a/Most Closed Beta/v8.0/MSGer.tk (C#)/UserInfo.cs b/Most Closed Beta/v8.0/MSGer.tk (C#)/UserInfo.cs new file mode 100644 index 0000000..f6e3d99 --- /dev/null +++ b/Most Closed Beta/v8.0/MSGer.tk (C#)/UserInfo.cs @@ -0,0 +1,129 @@ +using System; +using System.Collections.Generic; +using System.Linq; +using System.Text; +using System.Threading.Tasks; +using System.IO; + +namespace MSGer.tk +{ + public partial class UserInfo + { + /* + * 2014.03.07. + * Az összes szükséges felhasználó szükséges adatai + */ + //public ChatForm ChatWindow { get; set; } + public int ChatID { get; set; } + public int UserID { get; set; } + public int Number { get; set; } //Nem tudom egyszerűen meghatározni a tömbbeli helyét + //public static UserInfo[] Partners = new UserInfo[1024]; + public static List Partners = new List(); + private string name; + public string Name + { + get + { + //return Name; + return name; + } + set + { + name = value; + if (ChatForm.ChatWindows != null && Number < ChatForm.ChatWindows.Count && ChatForm.ChatWindows[Number] != null && !ChatForm.ChatWindows[Number].IsDisposed) + { + //ChatForm + //ChatForm.ChatWindows[Number].partnerName.Text = value; + new ThreadSetVar(ChatForm.ChatWindows[Number].partnerName, value, Program.MainF); + } + } + } + private string message; + public string Message + { + get + { + return message; + } + set + { + message = value; + if (ChatForm.ChatWindows != null && Number < ChatForm.ChatWindows.Count && ChatForm.ChatWindows[Number] != null && !ChatForm.ChatWindows[Number].IsDisposed) + { + //ChatForm + //ChatForm.ChatWindows[Number].partnerMsg.Text = value; + new ThreadSetVar(ChatForm.ChatWindows[Number].partnerMsg, value, Program.MainF); + } + } + } + private string state; + public string State + { + get + { + return state; + } + set + { + state = value; + if (ChatForm.ChatWindows != null && Number < ChatForm.ChatWindows.Count && ChatForm.ChatWindows[Number] != null && !ChatForm.ChatWindows[Number].IsDisposed) + { + //ChatForm + //ChatForm.ChatWindows[Number].statusLabel.Text = value; + new ThreadSetVar(ChatForm.ChatWindows[Number].statusLabel, value, Program.MainF); + } + } + } + public string UserName { get; set; } + public string Email { get; set; } + public UserInfo() + { + + } + public int PicUpdateTime = 0; + public string GetImage() + { + /* + * Szükséges információk az adatbázisban: + * - Felhasználó képe a users táblában + * - A legutóbbi képváltás dátuma + * Ebből megállapitja a program, hogy le kell-e tölteni. + * Eltárol helyileg is egy dátumot, és ha már frissitette egyszer a képet (újabb a helyi dátum, mint az adatbázisban), + * akkor nem csinál semmit. Ha régebbi, akkor a partner azóta frissitette, tehát szükséges a letöltés. + */ + string str = Networking.SendRequest("getimage", Number + "ͦ" + PicUpdateTime, 2, true); //SetVars + /* + * Ez a funkció automatikusan elküldi a bejelentkezett felhasználó azonositóját, + * a PHP szkript pedig leellenőrzi, hogy egymásnak partnerei-e, ezáltal nem nézheti meg akárki akárkinek a profilképét + * (pedig a legtöbb helyen igy van, de szerintem jobb igy; lehet, hogy beállithatóvá teszem) + */ + if (str == "Fail") + { + return "noimage.png"; + } + else + { //Mentse el a képet + string tmp = Path.GetTempPath(); + if (!Directory.Exists(tmp + "\\MSGer.tk\\pictures")) + Directory.CreateDirectory(tmp + "\\MSGer.tk\\pictures"); + File.WriteAllText(tmp + "\\MSGer.tk\\pictures\\" + Number + ".png", str); + } + return "noimage.png"; + } + /*public static void InitVars() //Az adott felhasználó profilozásakor adja át a helyileg tárolt információkat + { + }*/ + /*public static void SetVars() + { + for (int x = 0; x < PicUpdateTime.Length; x++) + { + if (Settings.Default.picupdatetime.Length == 0) + PicUpdateTime[x] = 0; //Ha nem nyúlunk hozzá, alapesetben régebbinek veszi a dátumot, ezáltal letölti + else + { + Settings.Default.picupdatetime = String.Join(",", PicUpdateTime.Select(i => i.ToString()).ToArray()); + } + } + }*/ + } +} diff --git a/Most Closed Beta/v8.0/MSGer.tk (C#)/bin/Debug/GlacialList.dll b/Most Closed Beta/v8.0/MSGer.tk (C#)/bin/Debug/GlacialList.dll new file mode 100644 index 0000000..6652693 Binary files /dev/null and b/Most Closed Beta/v8.0/MSGer.tk (C#)/bin/Debug/GlacialList.dll differ diff --git a/Most Closed Beta/v8.0/MSGer.tk (C#)/bin/Debug/GlacialList.pdb b/Most Closed Beta/v8.0/MSGer.tk (C#)/bin/Debug/GlacialList.pdb new file mode 100644 index 0000000..ee239c7 Binary files /dev/null and b/Most Closed Beta/v8.0/MSGer.tk (C#)/bin/Debug/GlacialList.pdb differ diff --git a/Most Closed Beta/v8.0/MSGer.tk (C#)/bin/Debug/Khendys.Controls.ExRichTextBox.dll b/Most Closed Beta/v8.0/MSGer.tk (C#)/bin/Debug/Khendys.Controls.ExRichTextBox.dll new file mode 100644 index 0000000..1851254 Binary files /dev/null and b/Most Closed Beta/v8.0/MSGer.tk (C#)/bin/Debug/Khendys.Controls.ExRichTextBox.dll differ diff --git a/Most Closed Beta/v8.0/MSGer.tk (C#)/bin/Debug/Khendys.Controls.ExRichTextBox.pdb b/Most Closed Beta/v8.0/MSGer.tk (C#)/bin/Debug/Khendys.Controls.ExRichTextBox.pdb new file mode 100644 index 0000000..1610b6d Binary files /dev/null and b/Most Closed Beta/v8.0/MSGer.tk (C#)/bin/Debug/Khendys.Controls.ExRichTextBox.pdb differ diff --git a/Most Closed Beta/v8.0/MSGer.tk (C#)/bin/Debug/MSGer.tk.exe b/Most Closed Beta/v8.0/MSGer.tk (C#)/bin/Debug/MSGer.tk.exe new file mode 100644 index 0000000..101919d Binary files /dev/null and b/Most Closed Beta/v8.0/MSGer.tk (C#)/bin/Debug/MSGer.tk.exe differ diff --git a/Most Closed Beta/v8.0/MSGer.tk (C#)/bin/Debug/MSGer.tk.exe.config b/Most Closed Beta/v8.0/MSGer.tk (C#)/bin/Debug/MSGer.tk.exe.config new file mode 100644 index 0000000..484ca80 --- /dev/null +++ b/Most Closed Beta/v8.0/MSGer.tk (C#)/bin/Debug/MSGer.tk.exe.config @@ -0,0 +1,21 @@ + + + + +
+ + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/Most Closed Beta/v8.0/MSGer.tk (C#)/bin/Debug/MSGer.tk.pdb b/Most Closed Beta/v8.0/MSGer.tk (C#)/bin/Debug/MSGer.tk.pdb new file mode 100644 index 0000000..c6c132f Binary files /dev/null and b/Most Closed Beta/v8.0/MSGer.tk (C#)/bin/Debug/MSGer.tk.pdb differ diff --git a/Most Closed Beta/v8.0/MSGer.tk (C#)/bin/Debug/MSGer.tk.vshost.exe b/Most Closed Beta/v8.0/MSGer.tk (C#)/bin/Debug/MSGer.tk.vshost.exe new file mode 100644 index 0000000..c0dfecc Binary files /dev/null and b/Most Closed Beta/v8.0/MSGer.tk (C#)/bin/Debug/MSGer.tk.vshost.exe differ diff --git a/Most Closed Beta/v8.0/MSGer.tk (C#)/bin/Debug/MSGer.tk.vshost.exe.config b/Most Closed Beta/v8.0/MSGer.tk (C#)/bin/Debug/MSGer.tk.vshost.exe.config new file mode 100644 index 0000000..484ca80 --- /dev/null +++ b/Most Closed Beta/v8.0/MSGer.tk (C#)/bin/Debug/MSGer.tk.vshost.exe.config @@ -0,0 +1,21 @@ + + + + +
+ + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/Most Closed Beta/v8.0/MSGer.tk (C#)/bin/Debug/MSGer.tk.vshost.exe.manifest b/Most Closed Beta/v8.0/MSGer.tk (C#)/bin/Debug/MSGer.tk.vshost.exe.manifest new file mode 100644 index 0000000..f96b1d6 --- /dev/null +++ b/Most Closed Beta/v8.0/MSGer.tk (C#)/bin/Debug/MSGer.tk.vshost.exe.manifest @@ -0,0 +1,11 @@ + + + + + + + + + + + diff --git a/Most Closed Beta/v8.0/MSGer.tk (C#)/bin/Debug/noimage.png b/Most Closed Beta/v8.0/MSGer.tk (C#)/bin/Debug/noimage.png new file mode 100644 index 0000000..7519e19 Binary files /dev/null and b/Most Closed Beta/v8.0/MSGer.tk (C#)/bin/Debug/noimage.png differ diff --git a/Most Closed Beta/v8.0/MSGer.tk (C#)/bin/Release/MSGer.tk.exe b/Most Closed Beta/v8.0/MSGer.tk (C#)/bin/Release/MSGer.tk.exe new file mode 100644 index 0000000..ba5712d Binary files /dev/null and b/Most Closed Beta/v8.0/MSGer.tk (C#)/bin/Release/MSGer.tk.exe differ diff --git a/Most Closed Beta/v8.0/MSGer.tk (C#)/bin/Release/MSGer.tk.exe.config b/Most Closed Beta/v8.0/MSGer.tk (C#)/bin/Release/MSGer.tk.exe.config new file mode 100644 index 0000000..01566ac --- /dev/null +++ b/Most Closed Beta/v8.0/MSGer.tk (C#)/bin/Release/MSGer.tk.exe.config @@ -0,0 +1,18 @@ + + + + +
+ + + + + + + + + + + + + \ No newline at end of file diff --git a/Most Closed Beta/v8.0/MSGer.tk (C#)/bin/Release/MSGer.tk.pdb b/Most Closed Beta/v8.0/MSGer.tk (C#)/bin/Release/MSGer.tk.pdb new file mode 100644 index 0000000..0f86b2a Binary files /dev/null and b/Most Closed Beta/v8.0/MSGer.tk (C#)/bin/Release/MSGer.tk.pdb differ diff --git a/Most Closed Beta/v8.0/MSGer.tk (C#)/bin/Release/MSGer.tk.vshost.exe b/Most Closed Beta/v8.0/MSGer.tk (C#)/bin/Release/MSGer.tk.vshost.exe new file mode 100644 index 0000000..8c84517 Binary files /dev/null and b/Most Closed Beta/v8.0/MSGer.tk (C#)/bin/Release/MSGer.tk.vshost.exe differ diff --git a/Most Closed Beta/v8.0/MSGer.tk (C#)/bin/Release/MSGer.tk.vshost.exe.config b/Most Closed Beta/v8.0/MSGer.tk (C#)/bin/Release/MSGer.tk.vshost.exe.config new file mode 100644 index 0000000..01566ac --- /dev/null +++ b/Most Closed Beta/v8.0/MSGer.tk (C#)/bin/Release/MSGer.tk.vshost.exe.config @@ -0,0 +1,18 @@ + + + + +
+ + + + + + + + + + + + + \ No newline at end of file diff --git a/Most Closed Beta/v8.0/MSGer.tk (C#)/bin/Release/MSGer.tk.vshost.exe.manifest b/Most Closed Beta/v8.0/MSGer.tk (C#)/bin/Release/MSGer.tk.vshost.exe.manifest new file mode 100644 index 0000000..f96b1d6 --- /dev/null +++ b/Most Closed Beta/v8.0/MSGer.tk (C#)/bin/Release/MSGer.tk.vshost.exe.manifest @@ -0,0 +1,11 @@ + + + + + + + + + + + diff --git a/Most Closed Beta/v8.0/MSGer.tk (C#)/obj/Debug/DesignTimeResolveAssemblyReferences.cache b/Most Closed Beta/v8.0/MSGer.tk (C#)/obj/Debug/DesignTimeResolveAssemblyReferences.cache new file mode 100644 index 0000000..e873066 Binary files /dev/null and b/Most Closed Beta/v8.0/MSGer.tk (C#)/obj/Debug/DesignTimeResolveAssemblyReferences.cache differ diff --git a/Most Closed Beta/v8.0/MSGer.tk (C#)/obj/Debug/DesignTimeResolveAssemblyReferencesInput.cache b/Most Closed Beta/v8.0/MSGer.tk (C#)/obj/Debug/DesignTimeResolveAssemblyReferencesInput.cache new file mode 100644 index 0000000..d9845b3 Binary files /dev/null and b/Most Closed Beta/v8.0/MSGer.tk (C#)/obj/Debug/DesignTimeResolveAssemblyReferencesInput.cache differ diff --git a/Most Closed Beta/v8.0/MSGer.tk (C#)/obj/Debug/MSGer.tk.ChatForm.resources b/Most Closed Beta/v8.0/MSGer.tk (C#)/obj/Debug/MSGer.tk.ChatForm.resources new file mode 100644 index 0000000..6c05a97 Binary files /dev/null and b/Most Closed Beta/v8.0/MSGer.tk (C#)/obj/Debug/MSGer.tk.ChatForm.resources differ diff --git a/Most Closed Beta/v8.0/MSGer.tk (C#)/obj/Debug/MSGer.tk.InvitePartner.resources b/Most Closed Beta/v8.0/MSGer.tk (C#)/obj/Debug/MSGer.tk.InvitePartner.resources new file mode 100644 index 0000000..6c05a97 Binary files /dev/null and b/Most Closed Beta/v8.0/MSGer.tk (C#)/obj/Debug/MSGer.tk.InvitePartner.resources differ diff --git a/Most Closed Beta/v8.0/MSGer.tk (C#)/obj/Debug/MSGer.tk.LoginForm.resources b/Most Closed Beta/v8.0/MSGer.tk (C#)/obj/Debug/MSGer.tk.LoginForm.resources new file mode 100644 index 0000000..62b9f73 Binary files /dev/null and b/Most Closed Beta/v8.0/MSGer.tk (C#)/obj/Debug/MSGer.tk.LoginForm.resources differ diff --git a/Most Closed Beta/v8.0/MSGer.tk (C#)/obj/Debug/MSGer.tk.LoginForm_RegistrationForm.resources b/Most Closed Beta/v8.0/MSGer.tk (C#)/obj/Debug/MSGer.tk.LoginForm_RegistrationForm.resources new file mode 100644 index 0000000..6c05a97 Binary files /dev/null and b/Most Closed Beta/v8.0/MSGer.tk (C#)/obj/Debug/MSGer.tk.LoginForm_RegistrationForm.resources differ diff --git a/Most Closed Beta/v8.0/MSGer.tk (C#)/obj/Debug/MSGer.tk.MainForm.resources b/Most Closed Beta/v8.0/MSGer.tk (C#)/obj/Debug/MSGer.tk.MainForm.resources new file mode 100644 index 0000000..6c05a97 Binary files /dev/null and b/Most Closed Beta/v8.0/MSGer.tk (C#)/obj/Debug/MSGer.tk.MainForm.resources differ diff --git a/Most Closed Beta/v8.0/MSGer.tk (C#)/obj/Debug/MSGer.tk.Properties.Resources.resources b/Most Closed Beta/v8.0/MSGer.tk (C#)/obj/Debug/MSGer.tk.Properties.Resources.resources new file mode 100644 index 0000000..2e7eded Binary files /dev/null and b/Most Closed Beta/v8.0/MSGer.tk (C#)/obj/Debug/MSGer.tk.Properties.Resources.resources differ diff --git a/Most Closed Beta/v8.0/MSGer.tk (C#)/obj/Debug/MSGer.tk.SelectPartnerForm.resources b/Most Closed Beta/v8.0/MSGer.tk (C#)/obj/Debug/MSGer.tk.SelectPartnerForm.resources new file mode 100644 index 0000000..6c05a97 Binary files /dev/null and b/Most Closed Beta/v8.0/MSGer.tk (C#)/obj/Debug/MSGer.tk.SelectPartnerForm.resources differ diff --git a/Most Closed Beta/v8.0/MSGer.tk (C#)/obj/Debug/MSGer.tk.csproj.FileListAbsolute.txt b/Most Closed Beta/v8.0/MSGer.tk (C#)/obj/Debug/MSGer.tk.csproj.FileListAbsolute.txt new file mode 100644 index 0000000..d68fd9b --- /dev/null +++ b/Most Closed Beta/v8.0/MSGer.tk (C#)/obj/Debug/MSGer.tk.csproj.FileListAbsolute.txt @@ -0,0 +1,28 @@ +D:\Z - Norbi cucca\0 Projektek\MSGer.tk\MSGer.tk\bin\Debug\MSGer.tk.exe.config +D:\Z - Norbi cucca\0 Projektek\MSGer.tk\MSGer.tk\bin\Debug\MSGer.tk.exe +D:\Z - Norbi cucca\0 Projektek\MSGer.tk\MSGer.tk\bin\Debug\MSGer.tk.pdb +D:\Z - Norbi cucca\0 Projektek\MSGer.tk\MSGer.tk\obj\Debug\MSGer.tk.MainForm.resources +D:\Z - Norbi cucca\0 Projektek\MSGer.tk\MSGer.tk\obj\Debug\MSGer.tk.Properties.Resources.resources +D:\Z - Norbi cucca\0 Projektek\MSGer.tk\MSGer.tk\obj\Debug\MSGer.tk.csproj.GenerateResource.Cache +D:\Z - Norbi cucca\0 Projektek\MSGer.tk\MSGer.tk\obj\Debug\MSGer.tk.exe +D:\Z - Norbi cucca\0 Projektek\MSGer.tk\MSGer.tk\obj\Debug\MSGer.tk.pdb +D:\Z - Norbi cucca\0 Projektek\MSGer.tk\MSGer.tk\obj\Debug\MSGer.tk.LoginForm.resources +D:\Z - Norbi cucca\0 Projektek\MSGer.tk\MSGer.tk\obj\Debug\MSGer.tk.csprojResolveAssemblyReference.cache +D:\Z - Norbi cucca\0 Projektek\MSGer.tk\MSGer.tk (C#)\bin\Debug\MSGer.tk.exe.config +D:\Z - Norbi cucca\0 Projektek\MSGer.tk\MSGer.tk (C#)\obj\Debug\MSGer.tk.exe +D:\Z - Norbi cucca\0 Projektek\MSGer.tk\MSGer.tk (C#)\obj\Debug\MSGer.tk.pdb +D:\Z - Norbi cucca\0 Projektek\MSGer.tk\MSGer.tk (C#)\bin\Debug\MSGer.tk.exe +D:\Z - Norbi cucca\0 Projektek\MSGer.tk\MSGer.tk (C#)\bin\Debug\MSGer.tk.pdb +D:\Z - Norbi cucca\0 Projektek\MSGer.tk\MSGer.tk (C#)\obj\Debug\MSGer.tk.MainForm.resources +D:\Z - Norbi cucca\0 Projektek\MSGer.tk\MSGer.tk (C#)\obj\Debug\MSGer.tk.LoginForm.resources +D:\Z - Norbi cucca\0 Projektek\MSGer.tk\MSGer.tk (C#)\obj\Debug\MSGer.tk.Properties.Resources.resources +D:\Z - Norbi cucca\0 Projektek\MSGer.tk\MSGer.tk (C#)\obj\Debug\MSGer.tk.csproj.GenerateResource.Cache +D:\Z - Norbi cucca\0 Projektek\MSGer.tk\MSGer.tk (C#)\obj\Debug\MSGer.tk.csprojResolveAssemblyReference.cache +D:\Z - Norbi cucca\0 Projektek\MSGer.tk\MSGer.tk (C#)\bin\Debug\GlacialList.dll +D:\Z - Norbi cucca\0 Projektek\MSGer.tk\MSGer.tk (C#)\bin\Debug\GlacialList.pdb +D:\Z - Norbi cucca\0 Projektek\MSGer.tk\MSGer.tk (C#)\obj\Debug\MSGer.tk.SelectPartnerForm.resources +D:\Z - Norbi cucca\0 Projektek\MSGer.tk\MSGer.tk (C#)\bin\Debug\Khendys.Controls.ExRichTextBox.dll +D:\Z - Norbi cucca\0 Projektek\MSGer.tk\MSGer.tk (C#)\bin\Debug\Khendys.Controls.ExRichTextBox.pdb +D:\Z - Norbi cucca\0 Projektek\MSGer.tk\MSGer.tk (C#)\obj\Debug\MSGer.tk.ChatForm.resources +D:\Z - Norbi cucca\0 Projektek\MSGer.tk\MSGer.tk (C#)\obj\Debug\MSGer.tk.LoginForm_RegistrationForm.resources +D:\Z - Norbi cucca\0 Projektek\MSGer.tk\MSGer.tk (C#)\obj\Debug\MSGer.tk.InvitePartner.resources diff --git a/Most Closed Beta/v8.0/MSGer.tk (C#)/obj/Debug/MSGer.tk.csproj.GenerateResource.Cache b/Most Closed Beta/v8.0/MSGer.tk (C#)/obj/Debug/MSGer.tk.csproj.GenerateResource.Cache new file mode 100644 index 0000000..991e949 Binary files /dev/null and b/Most Closed Beta/v8.0/MSGer.tk (C#)/obj/Debug/MSGer.tk.csproj.GenerateResource.Cache differ diff --git a/Most Closed Beta/v8.0/MSGer.tk (C#)/obj/Debug/MSGer.tk.csprojResolveAssemblyReference.cache b/Most Closed Beta/v8.0/MSGer.tk (C#)/obj/Debug/MSGer.tk.csprojResolveAssemblyReference.cache new file mode 100644 index 0000000..ac76ae5 Binary files /dev/null and b/Most Closed Beta/v8.0/MSGer.tk (C#)/obj/Debug/MSGer.tk.csprojResolveAssemblyReference.cache differ diff --git a/Most Closed Beta/v8.0/MSGer.tk (C#)/obj/Debug/MSGer.tk.exe b/Most Closed Beta/v8.0/MSGer.tk (C#)/obj/Debug/MSGer.tk.exe new file mode 100644 index 0000000..101919d Binary files /dev/null and b/Most Closed Beta/v8.0/MSGer.tk (C#)/obj/Debug/MSGer.tk.exe differ diff --git a/Most Closed Beta/v8.0/MSGer.tk (C#)/obj/Debug/MSGer.tk.pdb b/Most Closed Beta/v8.0/MSGer.tk (C#)/obj/Debug/MSGer.tk.pdb new file mode 100644 index 0000000..c6c132f Binary files /dev/null and b/Most Closed Beta/v8.0/MSGer.tk (C#)/obj/Debug/MSGer.tk.pdb differ diff --git a/Most Closed Beta/v8.0/MSGer.tk (C#)/obj/Debug/TempPE/Properties.Resources.Designer.cs.dll b/Most Closed Beta/v8.0/MSGer.tk (C#)/obj/Debug/TempPE/Properties.Resources.Designer.cs.dll new file mode 100644 index 0000000..48bfb43 Binary files /dev/null and b/Most Closed Beta/v8.0/MSGer.tk (C#)/obj/Debug/TempPE/Properties.Resources.Designer.cs.dll differ diff --git a/Most Closed Beta/v8.0/MSGer.tk (C#)/obj/Debug/TemporaryGeneratedFile_036C0B5B-1481-4323-8D20-8F5ADCB23D92.cs b/Most Closed Beta/v8.0/MSGer.tk (C#)/obj/Debug/TemporaryGeneratedFile_036C0B5B-1481-4323-8D20-8F5ADCB23D92.cs new file mode 100644 index 0000000..e69de29 diff --git a/Most Closed Beta/v8.0/MSGer.tk (C#)/obj/Debug/TemporaryGeneratedFile_5937a670-0e60-4077-877b-f7221da3dda1.cs b/Most Closed Beta/v8.0/MSGer.tk (C#)/obj/Debug/TemporaryGeneratedFile_5937a670-0e60-4077-877b-f7221da3dda1.cs new file mode 100644 index 0000000..e69de29 diff --git a/Most Closed Beta/v8.0/MSGer.tk (C#)/obj/Debug/TemporaryGeneratedFile_E7A71F73-0F8D-4B9B-B56E-8E70B10BC5D3.cs b/Most Closed Beta/v8.0/MSGer.tk (C#)/obj/Debug/TemporaryGeneratedFile_E7A71F73-0F8D-4B9B-B56E-8E70B10BC5D3.cs new file mode 100644 index 0000000..e69de29 diff --git a/Most Closed Beta/v8.0/MSGer.tk (C#)/obj/Release/DesignTimeResolveAssemblyReferences.cache b/Most Closed Beta/v8.0/MSGer.tk (C#)/obj/Release/DesignTimeResolveAssemblyReferences.cache new file mode 100644 index 0000000..37a5636 Binary files /dev/null and b/Most Closed Beta/v8.0/MSGer.tk (C#)/obj/Release/DesignTimeResolveAssemblyReferences.cache differ diff --git a/Most Closed Beta/v8.0/MSGer.tk (C#)/obj/Release/DesignTimeResolveAssemblyReferencesInput.cache b/Most Closed Beta/v8.0/MSGer.tk (C#)/obj/Release/DesignTimeResolveAssemblyReferencesInput.cache new file mode 100644 index 0000000..4663684 Binary files /dev/null and b/Most Closed Beta/v8.0/MSGer.tk (C#)/obj/Release/DesignTimeResolveAssemblyReferencesInput.cache differ diff --git a/Most Closed Beta/v8.0/MSGer.tk (C#)/obj/Release/MSGer.tk.LoginForm.resources b/Most Closed Beta/v8.0/MSGer.tk (C#)/obj/Release/MSGer.tk.LoginForm.resources new file mode 100644 index 0000000..6c05a97 Binary files /dev/null and b/Most Closed Beta/v8.0/MSGer.tk (C#)/obj/Release/MSGer.tk.LoginForm.resources differ diff --git a/Most Closed Beta/v8.0/MSGer.tk (C#)/obj/Release/MSGer.tk.MainForm.resources b/Most Closed Beta/v8.0/MSGer.tk (C#)/obj/Release/MSGer.tk.MainForm.resources new file mode 100644 index 0000000..6c05a97 Binary files /dev/null and b/Most Closed Beta/v8.0/MSGer.tk (C#)/obj/Release/MSGer.tk.MainForm.resources differ diff --git a/Most Closed Beta/v8.0/MSGer.tk (C#)/obj/Release/MSGer.tk.Properties.Resources.resources b/Most Closed Beta/v8.0/MSGer.tk (C#)/obj/Release/MSGer.tk.Properties.Resources.resources new file mode 100644 index 0000000..6c05a97 Binary files /dev/null and b/Most Closed Beta/v8.0/MSGer.tk (C#)/obj/Release/MSGer.tk.Properties.Resources.resources differ diff --git a/Most Closed Beta/v8.0/MSGer.tk (C#)/obj/Release/MSGer.tk.csproj.FileListAbsolute.txt b/Most Closed Beta/v8.0/MSGer.tk (C#)/obj/Release/MSGer.tk.csproj.FileListAbsolute.txt new file mode 100644 index 0000000..b7b0098 --- /dev/null +++ b/Most Closed Beta/v8.0/MSGer.tk (C#)/obj/Release/MSGer.tk.csproj.FileListAbsolute.txt @@ -0,0 +1,9 @@ +D:\Z - Norbi cucca\0 Projektek\MSGer.tk\MSGer.tk\bin\Release\MSGer.tk.exe.config +D:\Z - Norbi cucca\0 Projektek\MSGer.tk\MSGer.tk\bin\Release\MSGer.tk.exe +D:\Z - Norbi cucca\0 Projektek\MSGer.tk\MSGer.tk\bin\Release\MSGer.tk.pdb +D:\Z - Norbi cucca\0 Projektek\MSGer.tk\MSGer.tk\obj\Release\MSGer.tk.MainForm.resources +D:\Z - Norbi cucca\0 Projektek\MSGer.tk\MSGer.tk\obj\Release\MSGer.tk.LoginForm.resources +D:\Z - Norbi cucca\0 Projektek\MSGer.tk\MSGer.tk\obj\Release\MSGer.tk.Properties.Resources.resources +D:\Z - Norbi cucca\0 Projektek\MSGer.tk\MSGer.tk\obj\Release\MSGer.tk.csproj.GenerateResource.Cache +D:\Z - Norbi cucca\0 Projektek\MSGer.tk\MSGer.tk\obj\Release\MSGer.tk.exe +D:\Z - Norbi cucca\0 Projektek\MSGer.tk\MSGer.tk\obj\Release\MSGer.tk.pdb diff --git a/Most Closed Beta/v8.0/MSGer.tk (C#)/obj/Release/MSGer.tk.csproj.GenerateResource.Cache b/Most Closed Beta/v8.0/MSGer.tk (C#)/obj/Release/MSGer.tk.csproj.GenerateResource.Cache new file mode 100644 index 0000000..ad1861f Binary files /dev/null and b/Most Closed Beta/v8.0/MSGer.tk (C#)/obj/Release/MSGer.tk.csproj.GenerateResource.Cache differ diff --git a/Most Closed Beta/v8.0/MSGer.tk (C#)/obj/Release/MSGer.tk.exe b/Most Closed Beta/v8.0/MSGer.tk (C#)/obj/Release/MSGer.tk.exe new file mode 100644 index 0000000..ba5712d Binary files /dev/null and b/Most Closed Beta/v8.0/MSGer.tk (C#)/obj/Release/MSGer.tk.exe differ diff --git a/Most Closed Beta/v8.0/MSGer.tk (C#)/obj/Release/MSGer.tk.pdb b/Most Closed Beta/v8.0/MSGer.tk (C#)/obj/Release/MSGer.tk.pdb new file mode 100644 index 0000000..0f86b2a Binary files /dev/null and b/Most Closed Beta/v8.0/MSGer.tk (C#)/obj/Release/MSGer.tk.pdb differ diff --git a/Most Closed Beta/v8.0/MSGer.tk (C#)/obj/Release/TemporaryGeneratedFile_036C0B5B-1481-4323-8D20-8F5ADCB23D92.cs b/Most Closed Beta/v8.0/MSGer.tk (C#)/obj/Release/TemporaryGeneratedFile_036C0B5B-1481-4323-8D20-8F5ADCB23D92.cs new file mode 100644 index 0000000..e69de29 diff --git a/Most Closed Beta/v8.0/MSGer.tk (C#)/obj/Release/TemporaryGeneratedFile_5937a670-0e60-4077-877b-f7221da3dda1.cs b/Most Closed Beta/v8.0/MSGer.tk (C#)/obj/Release/TemporaryGeneratedFile_5937a670-0e60-4077-877b-f7221da3dda1.cs new file mode 100644 index 0000000..e69de29 diff --git a/Most Closed Beta/v8.0/MSGer.tk (C#)/obj/Release/TemporaryGeneratedFile_E7A71F73-0F8D-4B9B-B56E-8E70B10BC5D3.cs b/Most Closed Beta/v8.0/MSGer.tk (C#)/obj/Release/TemporaryGeneratedFile_E7A71F73-0F8D-4B9B-B56E-8E70B10BC5D3.cs new file mode 100644 index 0000000..e69de29 diff --git a/Most Closed Beta/v9.0/Changelog.txt b/Most Closed Beta/v9.0/Changelog.txt new file mode 100644 index 0000000..eba2e78 --- /dev/null +++ b/Most Closed Beta/v9.0/Changelog.txt @@ -0,0 +1,25 @@ +v9.0 - 2014.04.11., 12., 13., 15., 17., 18. +---- +- Most mr a bejelentkezs is frissti az llapotot (elfelejtettem az elz verziba belerakni) +- Bezrskor kijelentkezs +- Tlcaikon elksztve +- rtestrendszer elkezdve +- Elmenti az ablak llst (teljes kpernys, kis mret vagy norml) + +Hibajavtsok: +- A helyes chatablakot hozza be minden esetben (rossz ID-t hasznlt) +- Az ismerslistban a nevekre ismt kattintva a beszlgetablak eltrbe kerl +- A partnerkivlasztssal kapcsolatos tszervezsek (UserInfo, ChatForm) - Most mr minden alkalommal frisst minden nevet mindenhol... --> Tbb ismers kivlasztsa nem ajnlott +- (thelyeztem az egyedi control-okat a gpemen, s az ezzel okozott Designer hibt tbb rig prbltam javtani) +- Kilps javtva (ha nincs bejelentkezve, nem prbl meg kijelentkezni bezrskor) + +Less Closed Beta v1.0 Tervek: +---- +- Fjlklds +- Rich Text szvegdoboz hasznlata a nevek, szemlyes zenetek megjelenitshez +http://stackoverflow.com/questions/6168177/how-to-insert-image-in-a-textbox +http://www.codeproject.com/Articles/4544/Insert-Plain-Text-and-Images-into-RichTextBox-at-R +- ItemWordWrap csak nagy listanzetben +- Frissit/frissitsjelz +- Belltsok: Nv, zenet frisstse +- Nvjegy diff --git a/Most Closed Beta/v9.0/MSGer.tk (C#)/AddPartner.Designer.cs b/Most Closed Beta/v9.0/MSGer.tk (C#)/AddPartner.Designer.cs new file mode 100644 index 0000000..a98e0e6 --- /dev/null +++ b/Most Closed Beta/v9.0/MSGer.tk (C#)/AddPartner.Designer.cs @@ -0,0 +1,173 @@ +namespace MSGer.tk +{ + partial class AddPartner + { + /// + /// Required designer variable. + /// + private System.ComponentModel.IContainer components = null; + + /// + /// Clean up any resources being used. + /// + /// true if managed resources should be disposed; otherwise, false. + protected override void Dispose(bool disposing) + { + if (disposing && (components != null)) + { + components.Dispose(); + } + base.Dispose(disposing); + } + + #region Windows Form Designer generated code + + /// + /// Required method for Designer support - do not modify + /// the contents of this method with the code editor. + /// + private void InitializeComponent() + { + GlacialComponents.Controls.GLColumn glColumn1 = new GlacialComponents.Controls.GLColumn(); + this.label1 = new System.Windows.Forms.Label(); + this.label2 = new System.Windows.Forms.Label(); + this.nameText = new System.Windows.Forms.TextBox(); + this.searchbtn = new System.Windows.Forms.Button(); + this.glacialList1 = new GlacialComponents.Controls.GlacialList(); + this.gobtn = new System.Windows.Forms.Button(); + 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.ForeColor = System.Drawing.Color.Blue; + this.label1.Location = new System.Drawing.Point(13, 13); + this.label1.Name = "label1"; + this.label1.Size = new System.Drawing.Size(174, 25); + this.label1.TabIndex = 0; + this.label1.Text = "Ismerős felvétele"; + // + // label2 + // + this.label2.AutoSize = true; + this.label2.Font = new System.Drawing.Font("Microsoft Sans Serif", 9.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(238))); + this.label2.ForeColor = System.Drawing.Color.Black; + this.label2.Location = new System.Drawing.Point(18, 86); + this.label2.Name = "label2"; + this.label2.Size = new System.Drawing.Size(174, 16); + this.label2.TabIndex = 1; + this.label2.Text = "Név/E-mail/Felhasználónév"; + // + // nameText + // + this.nameText.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left) + | System.Windows.Forms.AnchorStyles.Right))); + this.nameText.Location = new System.Drawing.Point(18, 106); + this.nameText.Name = "nameText"; + this.nameText.Size = new System.Drawing.Size(270, 20); + this.nameText.TabIndex = 2; + // + // searchbtn + // + this.searchbtn.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right))); + this.searchbtn.Location = new System.Drawing.Point(297, 104); + this.searchbtn.Name = "searchbtn"; + this.searchbtn.Size = new System.Drawing.Size(75, 23); + this.searchbtn.TabIndex = 3; + this.searchbtn.Text = "Keresés"; + this.searchbtn.UseVisualStyleBackColor = true; + this.searchbtn.Click += new System.EventHandler(this.searchbtn_Click); + // + // glacialList1 + // + this.glacialList1.AllowColumnResize = true; + this.glacialList1.AllowMultiselect = false; + this.glacialList1.AlternateBackground = System.Drawing.Color.DarkGreen; + this.glacialList1.AlternatingColors = false; + this.glacialList1.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.glacialList1.AutoHeight = true; + this.glacialList1.BackColor = System.Drawing.SystemColors.ControlLightLight; + this.glacialList1.BackgroundStretchToFit = true; + glColumn1.ActivatedEmbeddedType = GlacialComponents.Controls.GLActivatedEmbeddedTypes.None; + glColumn1.CheckBoxes = false; + glColumn1.ImageIndex = -1; + glColumn1.Name = "UserName"; + glColumn1.NumericSort = false; + glColumn1.Text = "Felhasználónév"; + glColumn1.TextAlignment = System.Drawing.ContentAlignment.MiddleCenter; + glColumn1.Width = 200; + this.glacialList1.Columns.AddRange(new GlacialComponents.Controls.GLColumn[] { + glColumn1}); + this.glacialList1.ControlStyle = GlacialComponents.Controls.GLControlStyles.Normal; + this.glacialList1.FullRowSelect = true; + this.glacialList1.GridColor = System.Drawing.Color.LightGray; + this.glacialList1.GridLines = GlacialComponents.Controls.GLGridLines.gridBoth; + this.glacialList1.GridLineStyle = GlacialComponents.Controls.GLGridLineStyles.gridSolid; + this.glacialList1.GridTypes = GlacialComponents.Controls.GLGridTypes.gridOnExists; + this.glacialList1.HeaderHeight = 22; + this.glacialList1.HeaderVisible = true; + this.glacialList1.HeaderWordWrap = false; + this.glacialList1.HotColumnTracking = false; + this.glacialList1.HotItemTracking = true; + this.glacialList1.HotTrackingColor = System.Drawing.Color.LightGray; + this.glacialList1.HoverEvents = false; + this.glacialList1.HoverTime = 1; + this.glacialList1.ImageList = null; + this.glacialList1.ItemHeight = 17; + this.glacialList1.ItemWordWrap = false; + this.glacialList1.Location = new System.Drawing.Point(18, 152); + this.glacialList1.Name = "glacialList1"; + this.glacialList1.Selectable = true; + this.glacialList1.SelectedTextColor = System.Drawing.Color.White; + this.glacialList1.SelectionColor = System.Drawing.Color.DarkBlue; + this.glacialList1.ShowBorder = true; + this.glacialList1.ShowFocusRect = false; + this.glacialList1.Size = new System.Drawing.Size(354, 272); + this.glacialList1.SortType = GlacialComponents.Controls.SortTypes.InsertionSort; + this.glacialList1.SuperFlatHeaderColor = System.Drawing.Color.White; + this.glacialList1.TabIndex = 4; + this.glacialList1.Text = "glacialList1"; + this.glacialList1.Click += new System.EventHandler(this.glacialList1_Click); + // + // gobtn + // + this.gobtn.Location = new System.Drawing.Point(297, 427); + this.gobtn.Name = "gobtn"; + this.gobtn.Size = new System.Drawing.Size(75, 23); + this.gobtn.TabIndex = 5; + this.gobtn.Text = "Felvétel"; + this.gobtn.UseVisualStyleBackColor = true; + this.gobtn.Click += new System.EventHandler(this.gobtn_Click); + // + // AddPartner + // + this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F); + this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; + this.BackColor = System.Drawing.Color.LightSkyBlue; + this.ClientSize = new System.Drawing.Size(384, 462); + this.Controls.Add(this.gobtn); + this.Controls.Add(this.glacialList1); + this.Controls.Add(this.searchbtn); + this.Controls.Add(this.nameText); + this.Controls.Add(this.label2); + this.Controls.Add(this.label1); + this.Name = "AddPartner"; + this.Text = "Ismerős felvétele"; + this.ResumeLayout(false); + this.PerformLayout(); + + } + + #endregion + + private System.Windows.Forms.Label label1; + private System.Windows.Forms.Label label2; + private System.Windows.Forms.TextBox nameText; + private System.Windows.Forms.Button searchbtn; + private GlacialComponents.Controls.GlacialList glacialList1; + private System.Windows.Forms.Button gobtn; + } +} \ No newline at end of file diff --git a/Most Closed Beta/v9.0/MSGer.tk (C#)/AddPartner.cs b/Most Closed Beta/v9.0/MSGer.tk (C#)/AddPartner.cs new file mode 100644 index 0000000..c39965f --- /dev/null +++ b/Most Closed Beta/v9.0/MSGer.tk (C#)/AddPartner.cs @@ -0,0 +1,73 @@ +using GlacialComponents.Controls; +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 AddPartner : Form + { + public AddPartner() + { + InitializeComponent(); + } + + string[] username; + int[] uid; + string[] message; + int[] online; + string[] shownname; + string[] email; + + private void searchbtn_Click(object sender, EventArgs e) + { + glacialList1.Items.Clear(); + string[] people = Networking.SendRequest("findpeople", nameText.Text, 0, true).Split('ͦ'); //2014.04.18. 0:07 - Még nem készítettem el + for (int x = 0, y = 0; x + 5 < people.Length; x += 6, y++) + { + username = new string[people.Length / 6]; + uid = new int[people.Length / 6]; + message = new string[people.Length / 6]; + online = new int[people.Length / 6]; + shownname = new string[people.Length / 6]; + email = new string[people.Length / 6]; + + username[y] = people[x]; + uid[y] = Int32.Parse(people[x + 1]); + message[y] = people[x + 2]; + online[y] = Int32.Parse(people[x + 3]); + shownname[y] = people[x + 4]; + email[y] = people[x + 5]; + + glacialList1.Items.Add(username[y]); + } + } + + private void glacialList1_Click(object sender, EventArgs e) + { + int item = glacialList1.HotItemIndex; + if (item >= glacialList1.Items.Count) + return; + //2014.04.18. - Partnerinformáció mutatása + } + + private void gobtn_Click(object sender, EventArgs e) + { + if (glacialList1.SelectedItems.Count == 0) + return; + //MessageBox.Show(glacialList1.SelectedItems[0].ToString()); + string username = ((GLItem)glacialList1.SelectedItems[0]).Text; + string response = Networking.SendRequest("adduser", username, 0, true); + if (Networking.SendRequest("adduser", username, 0, true) == "Success") + MessageBox.Show("Felhasználó felvéve az ismerőseid közé."); + else + MessageBox.Show("Nem sikerült felvenni a felhasználót az ismerőseid közé.\nLehet, hogy már felvetted, vagy valami hiba történt.\n(" + response + ")"); + } + } +} diff --git a/Most Closed Beta/v9.0/MSGer.tk (C#)/AddPartner.resx b/Most Closed Beta/v9.0/MSGer.tk (C#)/AddPartner.resx new file mode 100644 index 0000000..29dcb1b --- /dev/null +++ b/Most Closed Beta/v9.0/MSGer.tk (C#)/AddPartner.resx @@ -0,0 +1,120 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + text/microsoft-resx + + + 2.0 + + + System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + \ No newline at end of file diff --git a/Most Closed Beta/v9.0/MSGer.tk (C#)/App.config b/Most Closed Beta/v9.0/MSGer.tk (C#)/App.config new file mode 100644 index 0000000..66b4f52 --- /dev/null +++ b/Most Closed Beta/v9.0/MSGer.tk (C#)/App.config @@ -0,0 +1,24 @@ + + + + +
+ + + + + + + + + + + + + + + 0 + + + + \ No newline at end of file diff --git a/Most Closed Beta/v9.0/MSGer.tk (C#)/ChatForm.Designer.cs b/Most Closed Beta/v9.0/MSGer.tk (C#)/ChatForm.Designer.cs new file mode 100644 index 0000000..fa26a21 --- /dev/null +++ b/Most Closed Beta/v9.0/MSGer.tk (C#)/ChatForm.Designer.cs @@ -0,0 +1,158 @@ +namespace MSGer.tk +{ + partial class ChatForm + { + /// + /// Required designer variable. + /// + private System.ComponentModel.IContainer components = null; + + /// + /// Clean up any resources being used. + /// + /// true if managed resources should be disposed; otherwise, false. + protected override void Dispose(bool disposing) + { + if (disposing && (components != null)) + { + components.Dispose(); + } + base.Dispose(disposing); + } + + #region Windows Form Designer generated code + + /// + /// Required method for Designer support - do not modify + /// the contents of this method with the code editor. + /// + private void InitializeComponent() + { + this.messageTextBox = new Khendys.Controls.ExRichTextBox(); + this.recentMsgTextBox = new Khendys.Controls.ExRichTextBox(); + this.panel1 = new System.Windows.Forms.Panel(); + this.panel2 = new System.Windows.Forms.Panel(); + this.statusLabel = new System.Windows.Forms.Label(); + this.partnerMsg = new System.Windows.Forms.Label(); + this.partnerName = new System.Windows.Forms.Label(); + this.panel2.SuspendLayout(); + this.SuspendLayout(); + // + // messageTextBox + // + this.messageTextBox.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left) + | System.Windows.Forms.AnchorStyles.Right))); + this.messageTextBox.BackColor = System.Drawing.Color.White; + this.messageTextBox.BorderStyle = System.Windows.Forms.BorderStyle.None; + this.messageTextBox.DetectUrls = false; + this.messageTextBox.ForeColor = System.Drawing.Color.Black; + this.messageTextBox.HiglightColor = Khendys.Controls.RtfColor.White; + this.messageTextBox.Location = new System.Drawing.Point(147, 310); + this.messageTextBox.Name = "messageTextBox"; + this.messageTextBox.ScrollBars = System.Windows.Forms.RichTextBoxScrollBars.Vertical; + this.messageTextBox.Size = new System.Drawing.Size(418, 75); + this.messageTextBox.TabIndex = 0; + this.messageTextBox.Text = ""; + this.messageTextBox.TextColor = Khendys.Controls.RtfColor.Black; + this.messageTextBox.TextChanged += new System.EventHandler(this.MessageTextChanged); + this.messageTextBox.KeyDown += new System.Windows.Forms.KeyEventHandler(this.SendMessage); + // + // recentMsgTextBox + // + this.recentMsgTextBox.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.recentMsgTextBox.BackColor = System.Drawing.Color.White; + this.recentMsgTextBox.BorderStyle = System.Windows.Forms.BorderStyle.None; + this.recentMsgTextBox.ForeColor = System.Drawing.Color.Black; + this.recentMsgTextBox.HiglightColor = Khendys.Controls.RtfColor.White; + this.recentMsgTextBox.Location = new System.Drawing.Point(147, 76); + this.recentMsgTextBox.Name = "recentMsgTextBox"; + this.recentMsgTextBox.ReadOnly = true; + this.recentMsgTextBox.ScrollBars = System.Windows.Forms.RichTextBoxScrollBars.Vertical; + this.recentMsgTextBox.Size = new System.Drawing.Size(418, 228); + this.recentMsgTextBox.TabIndex = 1; + this.recentMsgTextBox.Text = ""; + this.recentMsgTextBox.TextColor = Khendys.Controls.RtfColor.Black; + this.recentMsgTextBox.LinkClicked += new System.Windows.Forms.LinkClickedEventHandler(this.OpenLink); + // + // panel1 + // + this.panel1.Dock = System.Windows.Forms.DockStyle.Left; + this.panel1.Location = new System.Drawing.Point(0, 0); + this.panel1.Name = "panel1"; + this.panel1.Size = new System.Drawing.Size(141, 422); + this.panel1.TabIndex = 3; + // + // panel2 + // + this.panel2.Controls.Add(this.statusLabel); + this.panel2.Controls.Add(this.partnerMsg); + this.panel2.Controls.Add(this.partnerName); + this.panel2.Dock = System.Windows.Forms.DockStyle.Top; + this.panel2.Location = new System.Drawing.Point(141, 0); + this.panel2.Name = "panel2"; + this.panel2.Size = new System.Drawing.Size(423, 70); + this.panel2.TabIndex = 4; + // + // statusLabel + // + this.statusLabel.AutoSize = true; + this.statusLabel.Location = new System.Drawing.Point(9, 51); + this.statusLabel.Name = "statusLabel"; + this.statusLabel.Size = new System.Drawing.Size(39, 13); + this.statusLabel.TabIndex = 2; + this.statusLabel.Text = "Állapot"; + // + // partnerMsg + // + this.partnerMsg.AutoSize = true; + this.partnerMsg.ForeColor = System.Drawing.Color.Black; + this.partnerMsg.Location = new System.Drawing.Point(9, 38); + this.partnerMsg.Name = "partnerMsg"; + this.partnerMsg.Size = new System.Drawing.Size(60, 13); + this.partnerMsg.TabIndex = 1; + this.partnerMsg.Text = "partnerMsg"; + // + // partnerName + // + this.partnerName.AutoSize = true; + this.partnerName.Font = new System.Drawing.Font("Microsoft Sans Serif", 15.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(238))); + this.partnerName.ForeColor = System.Drawing.Color.Black; + this.partnerName.Location = new System.Drawing.Point(7, 13); + this.partnerName.Name = "partnerName"; + this.partnerName.Size = new System.Drawing.Size(136, 25); + this.partnerName.TabIndex = 0; + this.partnerName.Text = "partnerName"; + // + // ChatForm + // + this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F); + this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; + this.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(150)))), ((int)(((byte)(200))))); + this.ClientSize = new System.Drawing.Size(564, 422); + this.Controls.Add(this.panel2); + this.Controls.Add(this.panel1); + this.Controls.Add(this.recentMsgTextBox); + this.Controls.Add(this.messageTextBox); + this.Name = "ChatForm"; + this.Text = "Beszélgetés"; + this.FormClosing += new System.Windows.Forms.FormClosingEventHandler(this.ChatForm_FormClosing); + this.Load += new System.EventHandler(this.ChatForm_Load); + this.panel2.ResumeLayout(false); + this.panel2.PerformLayout(); + this.ResumeLayout(false); + + } + + #endregion + + private Khendys.Controls.ExRichTextBox messageTextBox; + private Khendys.Controls.ExRichTextBox recentMsgTextBox; + private System.Windows.Forms.Panel panel1; + private System.Windows.Forms.Panel panel2; + public System.Windows.Forms.Label partnerMsg; + public System.Windows.Forms.Label partnerName; + public System.Windows.Forms.Label statusLabel; + } +} \ No newline at end of file diff --git a/Most Closed Beta/v9.0/MSGer.tk (C#)/ChatForm.cs b/Most Closed Beta/v9.0/MSGer.tk (C#)/ChatForm.cs new file mode 100644 index 0000000..586dd74 --- /dev/null +++ b/Most Closed Beta/v9.0/MSGer.tk (C#)/ChatForm.cs @@ -0,0 +1,225 @@ +using System; +using System.Collections.Generic; +using System.ComponentModel; +using System.Data; +using System.Diagnostics; +using System.Drawing; +using System.Globalization; +using System.Linq; +using System.Text; +using System.Threading; +using System.Threading.Tasks; +using System.Windows.Forms; + +namespace MSGer.tk +{ + public partial class ChatForm : Form + {/* 2014.03.07. A partnerinformáció birtokolja a chatablakot, és nem forditva; bár a partnerinformáció indexszáma változhat + public int ChatPartner + { + get; + set; + }*/ + //public int ChatPartner = -1; //Csak kell, a könnyebb kezelésért + //public int[] MultiChat = new int[1024]; + //public static ChatForm[] ChatWindows=new ChatForm[1024]; + public static List ChatWindows = new List(); + public List ChatPartners = new List(); + public List PendingMessages = new List(); + //public double LastCheck = 0; + public Thread UpdateT; + public ChatForm() + { + InitializeComponent(); + //Amint létrehozom, ez a kód lefut - Nem számit, hogy megjelenik-e + } + + private void ChatForm_Load(object sender, EventArgs e) + { + //MessageBox.Show(ChatPartner + ""); + //ChatPartner = 2; + //MessageBox.Show(ChatPartner + ""); + /* + for (int i = 0; i < UserInfo.Partners.Length; i++) + { + if(UserInfo.Partners[i]!=null && UserInfo.Partners[i].ChatWindow==this) + { + ChatPartner = i; + break; + } + }*/ + /*if (ChatPartner == -1) + MessageBox.Show("Hiba: Az ablakot létrehozó partner nem található.");*/ + if (ChatPartners.Count == 0) + MessageBox.Show("Hiba: Az ablakot létrehozó partner nem található."); + if (ChatPartners.Count == 1) + { + //MessageBox.Show("ChatPartner: " + ChatPartners[0]); + partnerName.Text = UserInfo.Partners[ChatPartners[0]].Name; + partnerMsg.Text = UserInfo.Partners[ChatPartners[0]].Message; + switch(UserInfo.Partners[ChatPartners[0]].State) + { + case "0": + { + statusLabel.Text = "Nem elérhető"; + break; + } + case "1": + { + statusLabel.Text = "Elérhető"; + break; + } + case "2": + { + statusLabel.Text = "Elfoglalt"; + break; + } + case "3": + { + statusLabel.Text = "Nincs a gépnél"; + break; + } + } + UpdateT = new Thread(new ThreadStart(UpdateMessages)); + UpdateT.Name = "Message Update Thread (" + partnerName.Text + ")"; + UpdateT.Start(); + } + } + + private void SendMessage(object sender, KeyEventArgs e) + { + if (e.KeyCode != Keys.Enter || e.Shift || messageTextBox.Text.Length==0) + return; + messageTextBox.ReadOnly = true; + //Networking.SendRequest("sendmessage", messageTextBox.Text, 2); //Még nincs kész a PHP - 2014.03.08. 0:01 + /* + * 2014.03.08. 0:03 + * A fenti kódra válaszul a másik felhasználó esetleges új válaszát is irja be; tehát frissitse az üzeneteket + * Az üzenetellenőrző thread folyamatosan fusson, amint végrehajtotta a parancsokat, kezdje újra (nincs Thread.Sleep) + * + * 2014.03.19. + * Csinálja úgy, mint a képeknél, hogy a legutóbbi üzenetlekérés dátumához igazodjon, és csak a legújabb üzeneteket + * töltse le + */ + //recentMsgTextBox.AppendText("Üzenet:\n"); + //recentMsgTextBox.AppendText(messageTextBox.Text + "\n"); + PendingMessages.Add(messageTextBox.Text); + messageTextBox.Focus(); + messageTextBox.Text = ""; + messageTextBox.ReadOnly = false; + } + + private void MessageTextChanged(object sender, EventArgs e) + { + if (messageTextBox.Text == "\n") + messageTextBox.Text = ""; + } + + private void OpenLink(object sender, LinkClickedEventArgs e) + { + Process.Start(e.LinkText); + } + public void UpdateMessages() + { + /* + * 2014.03.21. + * updatemessages: küldje el, hogy mikor kapott utoljára üzenetet ÉS az új üzeneteket, + * a szerver pedig először válaszoljon a szerinte aktuális időponttal, + * majd küldje el az annál újabb üzeneteket + * getrecentmessages: ezt csak önmagában küldje, + * a szerver pedig válaszoljon a legutóbbi x üzenettel, + * ahol x egy beállitható szám (alapból 10) + * ---- + * Az új üzeneteket egy listában tárolja, majd amikor továbbitja őket, törölje a listából fokozatosan + * (ahogy összeállitja a karakterláncot, mindig törölje azt az üzenetet a listából + */ + //while(UserInfo.Partners[ChatPartner].ChatWindow.IsDisposed && MainForm.MainThread.IsAlive) + //while (!ChatForm.ChatWindows[ChatPartners[0]].IsDisposed && MainForm.MainThread.IsAlive) + while (ChatWindows.Count != 0 && !this.IsDisposed && MainForm.MainThread.IsAlive) + { + try + { + /*MessageBox.Show(String.Concat(PendingMessages.ToArray())); + PendingMessages.Clear();*/ + //Thread.Sleep(2000); + string tmpstring = ""; + //tmpstring += LastCheck.ToString(CultureInfo.InvariantCulture) + "ͦ"; + for (int i = 0; i < ChatPartners.Count; i++) + { + tmpstring += UserInfo.Partners[ChatPartners[i]].UserID; + if (i + 1 < ChatPartners.Count) + tmpstring += ","; //Több emberrel is beszélhet + } + tmpstring += "ͦ"; //2014.03.27. + //int count = PendingMessages.Count; //Külön kell tennem, mert máskülönben folyamatosan csökken, és ezért a... Hoppá... While kell... + //for(int i=0; i 0) + { + tmpstring += PendingMessages[0] + "ͦ"; //Nem az i-nél tevékenykedik, hanem a 0-nál + PendingMessages.RemoveAt(0); + //MessageBox.Show("tmpstring: " + tmpstring); + } + //MessageBox.Show("tmpstring: " + tmpstring); + //MessageBox.Show("Length: " + tmpstring.Length); + //MessageBox.Show("tmpstring encoded: " + Uri.EscapeUriString(tmpstring)); + if (tmpstring.Length > 0) + { //Küldje el a lekérést + string[] response = Networking.SendRequest("updatemessages", tmpstring, 0, true).Split('ͦ'); + if (response == null || response.Length == 0 || response[0] == "Fail") + MessageBox.Show("Az üzenetek frissitése sikertelen."); + //0 - Frissitési idő; 1 - Üzenetküldő; 2 - Üzenet; 3 - Üzenetküldés időpontja + if (response[0] != "NoChange") + { + //if (double.TryParse(response[0], out LastCheck) == false) + /*try + { + LastCheck = double.Parse(response[0], CultureInfo.InvariantCulture); + } + catch + { + MessageBox.Show("Hiba:\n" + response[0]); + }*/ + //LastCheck = Int32.Parse(response[0]); + //recentMsgTextBox.AppendText(response[1] + " üzenete (" + response[3] + "):\n" + response[2]); + for (int x = 0; x + 2 < response.Length; x += 3) + { + //TMessage = "\n" + ((Int32.Parse(response[x + 1]) == CurrentUser.UserID) ? CurrentUser.Name : UserInfo.Partners[Int32.Parse(response[x + 1])].Name) + " üzenete (" + Program.UnixTimeToDateTime(response[x + 3]).ToString("yyyy.MM.dd. HH:mm:ss") + "):\n" + response[x + 2]; + TMessage = "\n" + ((Int32.Parse(response[x]) == CurrentUser.UserID) ? CurrentUser.Name : UserInfo.Partners[Int32.Parse(response[x])].Name) + " üzenete (" + Program.UnixTimeToDateTime(response[x + 2]).ToString("yyyy.MM.dd. HH:mm:ss") + "):\n" + response[x + 1]; + this.Invoke(new LoginForm.MyDelegate(SetThreadValues)); + } + } + } + } + catch(InvalidOperationException) + { + break; + } + } + } + + private void ChatForm_FormClosing(object sender, FormClosingEventArgs e) + { + //for(int i=0; i + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + text/microsoft-resx + + + 2.0 + + + System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + \ No newline at end of file diff --git a/Most Closed Beta/v9.0/MSGer.tk (C#)/CurrentUser.cs b/Most Closed Beta/v9.0/MSGer.tk (C#)/CurrentUser.cs new file mode 100644 index 0000000..1c0130f --- /dev/null +++ b/Most Closed Beta/v9.0/MSGer.tk (C#)/CurrentUser.cs @@ -0,0 +1,21 @@ +using System; +using System.Collections.Generic; +using System.IO; +using System.Linq; +using System.Text; +using System.Threading.Tasks; + +namespace MSGer.tk +{ + public static class CurrentUser + { + /* + * 2014.03.05. + * Információátrendezés: Property-k használata; Minden felhasználóhoz egy-egy User class + * Ez a class használható lenne az aktuális felhsaználó információinak tárolására + */ + public static int UserID = 0; + //public static int[] PartnerIDs = new int[1024]; + public static string Name = ""; + } +} diff --git a/Most Closed Beta/v9.0/MSGer.tk (C#)/ErrorHandling.cs b/Most Closed Beta/v9.0/MSGer.tk (C#)/ErrorHandling.cs new file mode 100644 index 0000000..83f535d --- /dev/null +++ b/Most Closed Beta/v9.0/MSGer.tk (C#)/ErrorHandling.cs @@ -0,0 +1,41 @@ +using System; +using System.Collections.Generic; +using System.Linq; +using System.Text; +using System.Threading.Tasks; +using System.Windows.Forms; + +namespace MSGer.tk +{ + class ErrorHandling + { + public static void FormError(Form fname, Exception e) + { + MessageBox.Show(e.GetType().ToString()); + if (fname == Program.MainF) + { + switch (e.GetType().ToString()) + { + case "System.NullReferenceException": + MessageBox.Show("lol"); + break; + default: + MessageBox.Show("Ismeretlen hiba történt (" + e.GetType().ToString() + ")!\n\nForrás: " + e.Source + "\nA hibaüzenet: \n" + e.Message + "\nEnnél a műveletnél: " + e.TargetSite); + break; + } + } + else if(fname==MainForm.LoginDialog) + { + switch (e.GetType().ToString()) + { + case "System.NullReferenceException": + MessageBox.Show("lol"); + break; + default: + MessageBox.Show("Ismeretlen hiba történt (" + e.GetType().ToString() + ")!\n\nForrás: " + e.Source + "\nA hibaüzenet: \n" + e.Message + "\nEnnél a műveletnél: " + e.TargetSite); + break; + } + } + } + } +} diff --git a/Most Closed Beta/v9.0/MSGer.tk (C#)/InvitePartner.Designer.cs b/Most Closed Beta/v9.0/MSGer.tk (C#)/InvitePartner.Designer.cs new file mode 100644 index 0000000..52b9303 --- /dev/null +++ b/Most Closed Beta/v9.0/MSGer.tk (C#)/InvitePartner.Designer.cs @@ -0,0 +1,176 @@ +namespace MSGer.tk +{ + partial class InvitePartner + { + /// + /// Required designer variable. + /// + private System.ComponentModel.IContainer components = null; + + /// + /// Clean up any resources being used. + /// + /// true if managed resources should be disposed; otherwise, false. + protected override void Dispose(bool disposing) + { + if (disposing && (components != null)) + { + components.Dispose(); + } + base.Dispose(disposing); + } + + #region Windows Form Designer generated code + + /// + /// Required method for Designer support - do not modify + /// the contents of this method with the code editor. + /// + private void InitializeComponent() + { + this.label1 = new System.Windows.Forms.Label(); + this.label2 = new System.Windows.Forms.Label(); + this.textBox1 = new System.Windows.Forms.TextBox(); + this.listBox1 = new System.Windows.Forms.ListBox(); + this.addbtn = new System.Windows.Forms.Button(); + this.removebtn = new System.Windows.Forms.Button(); + this.copybtn = new System.Windows.Forms.Button(); + this.label3 = new System.Windows.Forms.Label(); + this.hideAccepted = new System.Windows.Forms.CheckBox(); + this.SuspendLayout(); + // + // label1 + // + this.label1.AutoSize = true; + this.label1.Font = new System.Drawing.Font("Microsoft Sans Serif", 14.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(238))); + this.label1.ForeColor = System.Drawing.Color.Blue; + this.label1.Location = new System.Drawing.Point(13, 13); + this.label1.Name = "label1"; + this.label1.Size = new System.Drawing.Size(189, 24); + this.label1.TabIndex = 0; + this.label1.Text = "Ismerős meghívása"; + // + // label2 + // + this.label2.AutoSize = true; + this.label2.Font = new System.Drawing.Font("Microsoft Sans Serif", 14.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(238))); + this.label2.Location = new System.Drawing.Point(17, 53); + this.label2.Name = "label2"; + this.label2.Size = new System.Drawing.Size(98, 24); + this.label2.TabIndex = 1; + this.label2.Text = "Letöltőlink:"; + // + // textBox1 + // + this.textBox1.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left) + | System.Windows.Forms.AnchorStyles.Right))); + this.textBox1.BackColor = System.Drawing.Color.White; + this.textBox1.Location = new System.Drawing.Point(21, 90); + this.textBox1.Name = "textBox1"; + this.textBox1.ReadOnly = true; + this.textBox1.Size = new System.Drawing.Size(382, 20); + this.textBox1.TabIndex = 2; + this.textBox1.Text = "http://msger.tk/download.php"; + // + // listBox1 + // + this.listBox1.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.listBox1.BackColor = System.Drawing.Color.White; + this.listBox1.FormattingEnabled = true; + this.listBox1.Location = new System.Drawing.Point(21, 163); + this.listBox1.Name = "listBox1"; + this.listBox1.Size = new System.Drawing.Size(379, 173); + this.listBox1.TabIndex = 6; + // + // addbtn + // + this.addbtn.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left))); + this.addbtn.Location = new System.Drawing.Point(21, 343); + this.addbtn.Name = "addbtn"; + this.addbtn.Size = new System.Drawing.Size(75, 23); + this.addbtn.TabIndex = 7; + this.addbtn.Text = "Hozzáadás"; + this.addbtn.UseVisualStyleBackColor = true; + this.addbtn.Click += new System.EventHandler(this.addbtn_Click); + // + // removebtn + // + this.removebtn.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left))); + this.removebtn.Location = new System.Drawing.Point(102, 343); + this.removebtn.Name = "removebtn"; + this.removebtn.Size = new System.Drawing.Size(75, 23); + this.removebtn.TabIndex = 8; + this.removebtn.Text = "Eltávolítás"; + this.removebtn.UseVisualStyleBackColor = true; + this.removebtn.Click += new System.EventHandler(this.removebtn_Click); + // + // copybtn + // + this.copybtn.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right))); + this.copybtn.Location = new System.Drawing.Point(292, 343); + this.copybtn.Name = "copybtn"; + this.copybtn.Size = new System.Drawing.Size(108, 23); + this.copybtn.TabIndex = 9; + this.copybtn.Text = "Kód másolása"; + this.copybtn.UseVisualStyleBackColor = true; + this.copybtn.Click += new System.EventHandler(this.copybtn_Click); + // + // label3 + // + this.label3.AutoSize = true; + this.label3.Font = new System.Drawing.Font("Microsoft Sans Serif", 14.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(238))); + this.label3.Location = new System.Drawing.Point(17, 125); + this.label3.Name = "label3"; + this.label3.Size = new System.Drawing.Size(64, 24); + this.label3.TabIndex = 10; + this.label3.Text = "Kódok"; + // + // hideAccepted + // + this.hideAccepted.AutoSize = true; + this.hideAccepted.Location = new System.Drawing.Point(251, 132); + this.hideAccepted.Name = "hideAccepted"; + this.hideAccepted.Size = new System.Drawing.Size(149, 17); + this.hideAccepted.TabIndex = 11; + this.hideAccepted.Text = "Elfogadott kódok elrejtése"; + this.hideAccepted.UseVisualStyleBackColor = true; + this.hideAccepted.CheckedChanged += new System.EventHandler(this.hideAccepted_CheckedChanged); + // + // InvitePartner + // + this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F); + this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; + this.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(150)))), ((int)(((byte)(200))))); + this.ClientSize = new System.Drawing.Size(415, 449); + this.Controls.Add(this.hideAccepted); + this.Controls.Add(this.label3); + this.Controls.Add(this.copybtn); + this.Controls.Add(this.removebtn); + this.Controls.Add(this.addbtn); + this.Controls.Add(this.listBox1); + this.Controls.Add(this.textBox1); + this.Controls.Add(this.label2); + this.Controls.Add(this.label1); + this.Name = "InvitePartner"; + this.Text = "Ismerős meghivása"; + this.Load += new System.EventHandler(this.InvitePartner_Load); + this.ResumeLayout(false); + this.PerformLayout(); + + } + + #endregion + + private System.Windows.Forms.Label label1; + private System.Windows.Forms.Label label2; + private System.Windows.Forms.TextBox textBox1; + private System.Windows.Forms.ListBox listBox1; + private System.Windows.Forms.Button addbtn; + private System.Windows.Forms.Button removebtn; + private System.Windows.Forms.Button copybtn; + private System.Windows.Forms.Label label3; + private System.Windows.Forms.CheckBox hideAccepted; + } +} \ No newline at end of file diff --git a/Most Closed Beta/v9.0/MSGer.tk (C#)/InvitePartner.cs b/Most Closed Beta/v9.0/MSGer.tk (C#)/InvitePartner.cs new file mode 100644 index 0000000..e31eb6a --- /dev/null +++ b/Most Closed Beta/v9.0/MSGer.tk (C#)/InvitePartner.cs @@ -0,0 +1,82 @@ +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 InvitePartner : Form + { + //string[] Codes=new string[1024]; + //List Codes = new List(); + public InvitePartner() + { + InitializeComponent(); + } + + private void InvitePartner_Load(object sender, EventArgs e) + { + RefreshList(); + } + + private void addbtn_Click(object sender, EventArgs e) + { + string res = Networking.SendRequest("addcode", "", 0, true); + if (res.Length<"Fail".Length || res.Substring(0, "Fail".Length) == "Fail") + MessageBox.Show("A kódgenerálás sikertelen.\n\n" + res, "Hiba"); + else + RefreshList(); + } + + public void RefreshList() + { + listBox1.Items.Clear(); + string[] response = Networking.SendRequest("getcodes", "", 0, true).Split('ͦ'); + int x = 0; + for (int i = 0; i+1 < response.Length; i += 2) + { + if (Int32.Parse(response[i + 1]) == 1) + { + if (!hideAccepted.Checked) + listBox1.Items.Add("Elfogadott - " + response[i]); + } + else if (Int32.Parse(response[i + 1]) == 0) + listBox1.Items.Add("Visszaigazolásra vár - " + response[i]); + else MessageBox.Show("Hiba:\n" + response[i] + "\n" + response[i + 1]); + //Codes[x] = response[i]; + x++; + } + } + + private void removebtn_Click(object sender, EventArgs e) + { + if (listBox1.SelectedIndex == -1) + return; + //MessageBox.Show(listBox1.Items[listBox1.SelectedIndex].ToString()); + //string res = Networking.SendRequest("remcode", Codes[listBox1.SelectedIndex], 0, true); + string res = Networking.SendRequest("remcode", listBox1.SelectedItem.ToString().Remove(0, listBox1.SelectedItem.ToString().IndexOf(" - ") + " - ".Length), 0, true); + if (res.Substring(0, "Fail".Length) == "Fail") + MessageBox.Show("A kód törlése sikertelen.\n\n" + res, "Hiba"); + //else listBox1.Items.Add(res); + else RefreshList(); + } + + private void copybtn_Click(object sender, EventArgs e) + { + if (listBox1.SelectedIndex == -1) + return; + //Clipboard.SetText(Codes[listBox1.SelectedIndex]); + Clipboard.SetText(listBox1.SelectedItem.ToString().Remove(0, listBox1.SelectedItem.ToString().IndexOf(" - ") + " - ".Length)); + } + + private void hideAccepted_CheckedChanged(object sender, EventArgs e) + { + RefreshList(); + } + } +} diff --git a/Most Closed Beta/v9.0/MSGer.tk (C#)/InvitePartner.resx b/Most Closed Beta/v9.0/MSGer.tk (C#)/InvitePartner.resx new file mode 100644 index 0000000..29dcb1b --- /dev/null +++ b/Most Closed Beta/v9.0/MSGer.tk (C#)/InvitePartner.resx @@ -0,0 +1,120 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + text/microsoft-resx + + + 2.0 + + + System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + \ No newline at end of file diff --git a/Most Closed Beta/v9.0/MSGer.tk (C#)/LoginForm.Designer.cs b/Most Closed Beta/v9.0/MSGer.tk (C#)/LoginForm.Designer.cs new file mode 100644 index 0000000..cfb1f90 --- /dev/null +++ b/Most Closed Beta/v9.0/MSGer.tk (C#)/LoginForm.Designer.cs @@ -0,0 +1,176 @@ +namespace MSGer.tk +{ + partial class LoginForm + { + /// + /// Required designer variable. + /// + private System.ComponentModel.IContainer components = null; + + /// + /// Clean up any resources being used. + /// + /// true if managed resources should be disposed; otherwise, false. + protected override void Dispose(bool disposing) + { + if (disposing && (components != null)) + { + components.Dispose(); + } + base.Dispose(disposing); + } + + #region Windows Form Designer generated code + + /// + /// Required method for Designer support - do not modify + /// the contents of this method with the code editor. + /// + private void InitializeComponent() + { + System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(LoginForm)); + this.label1 = new System.Windows.Forms.Label(); + this.label2 = new System.Windows.Forms.Label(); + this.textBox1 = new System.Windows.Forms.TextBox(); + this.label3 = new System.Windows.Forms.Label(); + this.textBox2 = new System.Windows.Forms.TextBox(); + this.button1 = new System.Windows.Forms.Button(); + this.textBox3 = new System.Windows.Forms.TextBox(); + this.linkLabel1 = new System.Windows.Forms.LinkLabel(); + this.SuspendLayout(); + // + // label1 + // + this.label1.AutoSize = true; + this.label1.Font = new System.Drawing.Font("Microsoft Sans Serif", 21.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(238))); + this.label1.ForeColor = System.Drawing.Color.Blue; + this.label1.Location = new System.Drawing.Point(12, 9); + this.label1.Name = "label1"; + this.label1.Size = new System.Drawing.Size(197, 33); + this.label1.TabIndex = 0; + this.label1.Text = "Bejelentkezés"; + // + // label2 + // + this.label2.AutoSize = true; + this.label2.Font = new System.Drawing.Font("Microsoft Sans Serif", 14.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(238))); + this.label2.Location = new System.Drawing.Point(19, 77); + this.label2.Name = "label2"; + this.label2.Size = new System.Drawing.Size(63, 24); + this.label2.TabIndex = 1; + this.label2.Text = "E-mail"; + // + // textBox1 + // + this.textBox1.AcceptsReturn = true; + this.textBox1.AcceptsTab = true; + this.textBox1.AutoCompleteMode = System.Windows.Forms.AutoCompleteMode.SuggestAppend; + this.textBox1.AutoCompleteSource = System.Windows.Forms.AutoCompleteSource.CustomSource; + this.textBox1.Location = new System.Drawing.Point(88, 80); + this.textBox1.Name = "textBox1"; + this.textBox1.Size = new System.Drawing.Size(294, 20); + this.textBox1.TabIndex = 2; + // + // label3 + // + this.label3.AutoSize = true; + this.label3.Font = new System.Drawing.Font("Microsoft Sans Serif", 14.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(238))); + this.label3.Location = new System.Drawing.Point(19, 106); + this.label3.Name = "label3"; + this.label3.Size = new System.Drawing.Size(63, 24); + this.label3.TabIndex = 3; + this.label3.Text = "Jelszó"; + // + // textBox2 + // + this.textBox2.AcceptsReturn = true; + this.textBox2.AcceptsTab = true; + this.textBox2.Location = new System.Drawing.Point(179, 110); + this.textBox2.Name = "textBox2"; + this.textBox2.PasswordChar = '→'; + this.textBox2.Size = new System.Drawing.Size(203, 20); + this.textBox2.TabIndex = 4; + // + // button1 + // + this.button1.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(238))); + this.button1.Location = new System.Drawing.Point(235, 153); + this.button1.Name = "button1"; + this.button1.Size = new System.Drawing.Size(147, 23); + this.button1.TabIndex = 5; + this.button1.Text = "Bejelentkezés"; + this.button1.UseVisualStyleBackColor = true; + this.button1.Click += new System.EventHandler(this.button1_Click); + // + // textBox3 + // + this.textBox3.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.textBox3.BackColor = System.Drawing.Color.SteelBlue; + this.textBox3.BorderStyle = System.Windows.Forms.BorderStyle.None; + this.textBox3.ForeColor = System.Drawing.Color.White; + this.textBox3.Location = new System.Drawing.Point(13, 198); + this.textBox3.Multiline = true; + this.textBox3.Name = "textBox3"; + this.textBox3.ReadOnly = true; + this.textBox3.Size = new System.Drawing.Size(369, 261); + this.textBox3.TabIndex = 6; + this.textBox3.Text = resources.GetString("textBox3.Text"); + this.textBox3.TextAlign = System.Windows.Forms.HorizontalAlignment.Center; + // + // linkLabel1 + // + this.linkLabel1.AutoSize = true; + this.linkLabel1.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(238))); + this.linkLabel1.LinkBehavior = System.Windows.Forms.LinkBehavior.HoverUnderline; + this.linkLabel1.LinkColor = System.Drawing.Color.Blue; + this.linkLabel1.Location = new System.Drawing.Point(23, 162); + this.linkLabel1.Name = "linkLabel1"; + this.linkLabel1.Size = new System.Drawing.Size(77, 13); + this.linkLabel1.TabIndex = 7; + this.linkLabel1.TabStop = true; + this.linkLabel1.Text = "Regisztráció"; + this.linkLabel1.VisitedLinkColor = System.Drawing.Color.Blue; + this.linkLabel1.LinkClicked += new System.Windows.Forms.LinkLabelLinkClickedEventHandler(this.RegistrateLink); + // + // LoginForm + // + this.AcceptButton = this.button1; + this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F); + this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; + this.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(150)))), ((int)(((byte)(200))))); + this.ClientSize = new System.Drawing.Size(394, 471); + this.Controls.Add(this.linkLabel1); + this.Controls.Add(this.textBox3); + this.Controls.Add(this.button1); + this.Controls.Add(this.textBox2); + this.Controls.Add(this.label3); + this.Controls.Add(this.textBox1); + this.Controls.Add(this.label2); + this.Controls.Add(this.label1); + this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedDialog; + this.MaximizeBox = false; + this.Name = "LoginForm"; + this.Opacity = 0.9D; + this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen; + this.Text = "Bejelentkezés"; + this.FormClosing += new System.Windows.Forms.FormClosingEventHandler(this.LoginForm_FormClosing); + this.Load += new System.EventHandler(this.LoginForm_Load); + this.ResumeLayout(false); + this.PerformLayout(); + + } + + #endregion + + private System.Windows.Forms.Label label1; + private System.Windows.Forms.Label label2; + private System.Windows.Forms.TextBox textBox1; + private System.Windows.Forms.Label label3; + private System.Windows.Forms.TextBox textBox2; + private System.Windows.Forms.Button button1; + private System.Windows.Forms.TextBox textBox3; + private System.Windows.Forms.LinkLabel linkLabel1; + } +} \ No newline at end of file diff --git a/Most Closed Beta/v9.0/MSGer.tk (C#)/LoginForm.RegistrationForm.Designer.cs b/Most Closed Beta/v9.0/MSGer.tk (C#)/LoginForm.RegistrationForm.Designer.cs new file mode 100644 index 0000000..6bfb4b3 --- /dev/null +++ b/Most Closed Beta/v9.0/MSGer.tk (C#)/LoginForm.RegistrationForm.Designer.cs @@ -0,0 +1,176 @@ +namespace MSGer.tk +{ + partial class LoginForm_RegistrationForm + { + /// + /// Required designer variable. + /// + private System.ComponentModel.IContainer components = null; + + /// + /// Clean up any resources being used. + /// + /// true if managed resources should be disposed; otherwise, false. + protected override void Dispose(bool disposing) + { + if (disposing && (components != null)) + { + components.Dispose(); + } + base.Dispose(disposing); + } + + #region Windows Form Designer generated code + + /// + /// Required method for Designer support - do not modify + /// the contents of this method with the code editor. + /// + private void InitializeComponent() + { + this.label1 = new System.Windows.Forms.Label(); + this.label2 = new System.Windows.Forms.Label(); + this.label3 = new System.Windows.Forms.Label(); + this.label4 = new System.Windows.Forms.Label(); + this.label5 = new System.Windows.Forms.Label(); + this.codeText = new System.Windows.Forms.TextBox(); + this.userText = new System.Windows.Forms.TextBox(); + this.passText = new System.Windows.Forms.TextBox(); + this.emailText = new System.Windows.Forms.TextBox(); + this.registerButton = new System.Windows.Forms.Button(); + this.SuspendLayout(); + // + // label1 + // + this.label1.AutoSize = true; + this.label1.Font = new System.Drawing.Font("Microsoft Sans Serif", 14.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(238))); + this.label1.ForeColor = System.Drawing.Color.Blue; + this.label1.Location = new System.Drawing.Point(13, 13); + this.label1.Name = "label1"; + this.label1.Size = new System.Drawing.Size(124, 24); + this.label1.TabIndex = 0; + this.label1.Text = "Regisztráció"; + // + // label2 + // + this.label2.AutoSize = true; + this.label2.Font = new System.Drawing.Font("Microsoft Sans Serif", 14.25F); + this.label2.Location = new System.Drawing.Point(17, 58); + this.label2.Name = "label2"; + this.label2.Size = new System.Drawing.Size(44, 24); + this.label2.TabIndex = 1; + this.label2.Text = "Kód"; + // + // label3 + // + this.label3.AutoSize = true; + this.label3.Font = new System.Drawing.Font("Microsoft Sans Serif", 14.25F); + this.label3.Location = new System.Drawing.Point(17, 92); + this.label3.Name = "label3"; + this.label3.Size = new System.Drawing.Size(143, 24); + this.label3.TabIndex = 2; + this.label3.Text = "Felhasználónév"; + // + // label4 + // + this.label4.AutoSize = true; + this.label4.Font = new System.Drawing.Font("Microsoft Sans Serif", 14.25F); + this.label4.Location = new System.Drawing.Point(17, 125); + this.label4.Name = "label4"; + this.label4.Size = new System.Drawing.Size(63, 24); + this.label4.TabIndex = 3; + this.label4.Text = "Jelszó"; + // + // label5 + // + this.label5.AutoSize = true; + this.label5.Font = new System.Drawing.Font("Microsoft Sans Serif", 14.25F); + this.label5.Location = new System.Drawing.Point(17, 160); + this.label5.Name = "label5"; + this.label5.Size = new System.Drawing.Size(63, 24); + this.label5.TabIndex = 4; + this.label5.Text = "E-mail"; + // + // codeText + // + this.codeText.Location = new System.Drawing.Point(86, 63); + this.codeText.Name = "codeText"; + this.codeText.Size = new System.Drawing.Size(358, 20); + this.codeText.TabIndex = 6; + // + // userText + // + this.userText.Location = new System.Drawing.Point(166, 97); + this.userText.Name = "userText"; + this.userText.Size = new System.Drawing.Size(278, 20); + this.userText.TabIndex = 7; + // + // passText + // + this.passText.Location = new System.Drawing.Point(166, 130); + this.passText.Name = "passText"; + this.passText.PasswordChar = '→'; + this.passText.Size = new System.Drawing.Size(278, 20); + this.passText.TabIndex = 8; + // + // emailText + // + this.emailText.Location = new System.Drawing.Point(86, 165); + this.emailText.Name = "emailText"; + this.emailText.Size = new System.Drawing.Size(358, 20); + this.emailText.TabIndex = 9; + // + // registerButton + // + this.registerButton.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(238))); + this.registerButton.Location = new System.Drawing.Point(17, 220); + this.registerButton.Name = "registerButton"; + this.registerButton.Size = new System.Drawing.Size(427, 23); + this.registerButton.TabIndex = 10; + this.registerButton.Text = "Regisztráció"; + this.registerButton.UseVisualStyleBackColor = true; + this.registerButton.Click += new System.EventHandler(this.registerButton_Click); + // + // LoginForm_RegistrationForm + // + this.AcceptButton = this.registerButton; + this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F); + this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; + this.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(150)))), ((int)(((byte)(200))))); + this.ClientSize = new System.Drawing.Size(469, 356); + this.Controls.Add(this.registerButton); + this.Controls.Add(this.emailText); + this.Controls.Add(this.passText); + this.Controls.Add(this.userText); + this.Controls.Add(this.codeText); + this.Controls.Add(this.label5); + this.Controls.Add(this.label4); + this.Controls.Add(this.label3); + this.Controls.Add(this.label2); + this.Controls.Add(this.label1); + this.MaximizeBox = false; + this.MinimizeBox = false; + this.Name = "LoginForm_RegistrationForm"; + this.ShowIcon = false; + this.ShowInTaskbar = false; + this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen; + this.Text = "Regisztráció"; + this.ResumeLayout(false); + this.PerformLayout(); + + } + + #endregion + + private System.Windows.Forms.Label label1; + private System.Windows.Forms.Label label2; + private System.Windows.Forms.Label label3; + private System.Windows.Forms.Label label4; + private System.Windows.Forms.Label label5; + private System.Windows.Forms.TextBox codeText; + private System.Windows.Forms.TextBox userText; + private System.Windows.Forms.TextBox passText; + private System.Windows.Forms.TextBox emailText; + private System.Windows.Forms.Button registerButton; + } +} \ No newline at end of file diff --git a/Most Closed Beta/v9.0/MSGer.tk (C#)/LoginForm.RegistrationForm.cs b/Most Closed Beta/v9.0/MSGer.tk (C#)/LoginForm.RegistrationForm.cs new file mode 100644 index 0000000..2d9862a --- /dev/null +++ b/Most Closed Beta/v9.0/MSGer.tk (C#)/LoginForm.RegistrationForm.cs @@ -0,0 +1,64 @@ +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 LoginForm_RegistrationForm : Form + { + public LoginForm_RegistrationForm() + { + InitializeComponent(); + } + + private void registerButton_Click(object sender, EventArgs e) + { + registerButton.Enabled = false; + if (codeText.TextLength == 0 || userText.TextLength == 0 || passText.TextLength == 0 || emailText.TextLength == 0) + { + MessageBox.Show("Minden mezőt tölts ki.", "Hiba"); + registerButton.Enabled = true; + return; + } + //MessageBox.Show(codeText.Text + "ͦ" + userText.Text + "ͦ" + LoginForm.CalculateMD5Hash(passText.Text) + "ͦ" + emailText.Text); + //MessageBox.Show(Uri.EscapeUriString(codeText.Text + "ͦ" + userText.Text + "ͦ" + LoginForm.CalculateMD5Hash(passText.Text) + "ͦ" + emailText.Text)); + string response = Networking.SendRequest("register", codeText.Text + "ͦ" + userText.Text + "ͦ" + LoginForm.CalculateMD5Hash(passText.Text) + "ͦ" + emailText.Text, 2, false); + if(response=="code") + { + MessageBox.Show("A megadott kód nem létezik vagy már felhasználták.", "Hiba"); + registerButton.Enabled = true; + } + else if (response == "uname") + { + MessageBox.Show("A felhasználónév már foglalt.", "Hiba"); + registerButton.Enabled = true; + } + else if (response == "ulen") + { + MessageBox.Show("A felhasználónév hossza nem megfelelő. (Min. 4 karakter)", "Hiba"); + registerButton.Enabled = true; + } + else if (response == "plen") + { + MessageBox.Show("A jelszó hossza nem megfelelő. (Min. 6 karakter)", "Hiba"); + registerButton.Enabled = true; + } + else if (response == "Success!") + { + MessageBox.Show("Sikeres regisztráció.\nÜdv a közösségben!"); + Close(); + } + else + { + MessageBox.Show("Ismeretlen hiba:\n" + response); + registerButton.Enabled = true; + } + } + } +} diff --git a/Most Closed Beta/v9.0/MSGer.tk (C#)/LoginForm.RegistrationForm.resx b/Most Closed Beta/v9.0/MSGer.tk (C#)/LoginForm.RegistrationForm.resx new file mode 100644 index 0000000..29dcb1b --- /dev/null +++ b/Most Closed Beta/v9.0/MSGer.tk (C#)/LoginForm.RegistrationForm.resx @@ -0,0 +1,120 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + text/microsoft-resx + + + 2.0 + + + System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + \ No newline at end of file diff --git a/Most Closed Beta/v9.0/MSGer.tk (C#)/LoginForm.cs b/Most Closed Beta/v9.0/MSGer.tk (C#)/LoginForm.cs new file mode 100644 index 0000000..d638a00 --- /dev/null +++ b/Most Closed Beta/v9.0/MSGer.tk (C#)/LoginForm.cs @@ -0,0 +1,247 @@ +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; +using System.Net; +using System.IO; +using System.Security.Cryptography; +using System.Configuration; +using System.Threading; + +namespace MSGer.tk +{ + public partial class LoginForm : Form + { + public static string UserCode=""; + public static Thread LThread; + private void LoginForm_Load(object sender, EventArgs e) + { + List tmp; //E-mail - 2014.04.02. + if (Settings.Default.email.Length != 0) + tmp = Settings.Default.email.Split(',').ToList(); + else tmp = new List(); + textBox1.Text = tmp[0]; + textBox1.AutoCompleteCustomSource.AddRange(tmp.ToArray()); + } + public LoginForm() + { + InitializeComponent(); + } + private void button1_Click(object sender, EventArgs e) + { + if(button1.Text=="Mégse") + { + ResetAfterLogin(); + } + else + { + try + { + if (LThread.IsAlive) + { + //2014.03.27. - Ne csináljon semmit - Elvégre ilyen nem fordulhat elő sokáig most már + return; + } + } + catch + { + } + // Create the thread object, passing in the Alpha.Beta method + // via a ThreadStart delegate. This does not start the thread. + LThread = new Thread(new ThreadStart(LoginUser)); + LThread.Name = "Login Thread"; + + // Start the thread + LThread.Start(); + + // Spin for a while waiting for the started thread to become + // alive: + while (!LThread.IsAlive) ; + + // Put the Main thread to sleep for 1 millisecond to allow oThread + // to do some work: + Thread.Sleep(1); + } + } + public delegate int MyDelegate(); + public int SetLoginValues() + { + if (UserText.Length == 0) + UserText = textBox1.Text; + else + textBox1.Text = UserText; + + if (PassText.Length == 0) + PassText = textBox2.Text; + else + textBox2.Text = PassText; + + button1.Text = LButtonText; + linkLabel1.Enabled = RegistLinkEn; //2014.03.27. + if (Closeable) + { + Closeable = false; + Dispose(); //2014.04.04. + } + return 0; + } + public int ResetAfterLogin() + { + Request.Abort(); + button1.Enabled = false; + button1.Text = "Bejelentkezés"; + button1.Enabled = true; + linkLabel1.Enabled = true; + return 0; + } + public static string UserText = ""; //2014.02.14. + public static string PassText = ""; + public static string LButtonText = ""; + public static bool RegistLinkEn = true; + public static bool Closeable = false; + public static HttpWebRequest Request; //2014.03.27. - A megállitáshoz + + public void LoginUser() + { + //Állitson vissza minden változót, hogy újra belerakja az értekeket - 2014.02.28. + UserText = ""; + PassText = ""; + RegistLinkEn = false; //2014.03.27. + LButtonText = "Mégse"; + this.Invoke(new MyDelegate(SetLoginValues)); + + //HttpWebRequest httpWReq = + // (HttpWebRequest)WebRequest.Create("http://msger.tk/client.php"); + HttpWebRequest httpWReq = + (HttpWebRequest)WebRequest.Create("http://msger.url.ph/client.php"); + + Request = httpWReq; //2014.03.27. + + ASCIIEncoding encoding = new ASCIIEncoding(); + string postData = "username=" + UserText; + postData += "&password=" + CalculateMD5Hash(PassText); + postData += "&key=cas1fe4a6feFEFEFE1616CE8099VFE1444cdasf48c1ase5dg"; + byte[] data = encoding.GetBytes(postData); + + httpWReq.Method = "POST"; + httpWReq.ContentType = "application/x-www-form-urlencoded"; + httpWReq.ContentLength = data.Length; + + try + { + using (Stream stream = httpWReq.GetRequestStream()) + { + stream.Write(data, 0, data.Length); + } + } + catch (WebException e) + { + if (e.Status != WebExceptionStatus.RequestCanceled) + { + MessageBox.Show("Nem sikerült csatlakozni a szerverhez.\n" + e.Message, "Hiba"); + this.Invoke(new MyDelegate(ResetAfterLogin)); + return; + } + else + { + return; + } + } + + //Bejelentkezés folyamatban... + HttpWebResponse response; + try + { + response = (HttpWebResponse)httpWReq.GetResponse(); + } + catch (WebException e) + { + if (e.Status != WebExceptionStatus.RequestCanceled) + { + MessageBox.Show("Nem sikerült csatlakozni a szerverhez.\n" + e.Message, "Hiba"); + this.Invoke(new MyDelegate(ResetAfterLogin)); + return; + } + else + { + return; + } + } + + string responseString = new StreamReader(response.GetResponseStream()).ReadToEnd(); + + try + { + if (responseString[0] == '<') + { + this.Invoke(new MyDelegate(ResetAfterLogin)); + MessageBox.Show("Hiba:\n" + responseString); + return; + } + else + responseString = responseString.Remove(responseString.IndexOf('<')); + } + catch + { + } + + if (String.Compare(responseString, "Fail") == 0) + { + this.Invoke(new MyDelegate(ResetAfterLogin)); + MessageBox.Show("Hiba: Helytelen felhasználónév, vagy jelszó.", "Hiba"); + } + else + { + + + //Elmenti az E-mail-t + if (!Settings.Default.email.Contains(UserText)) + Settings.Default.email += "," + UserText; + Settings.Default.Save(); + //Bejelentkezés + string[] respstr = responseString.Split('ͦ'); + CurrentUser.UserID = Convert.ToInt32(respstr[0]); //Régebben ezt találtam, most meg az Int32.Parse-t... (2014.04.02.) + CurrentUser.Name = respstr[1]; //2014.04.04. + LoginForm.UserCode = CalculateMD5Hash(CalculateMD5Hash(PassText) + " Some text because why not " + CurrentUser.UserID).ToLower(); + Closeable = true; + this.Invoke(new MyDelegate(SetLoginValues)); + } + } + public static string CalculateMD5Hash(string input) + { + // step 1, calculate MD5 hash from input + MD5 md5 = System.Security.Cryptography.MD5.Create(); + byte[] inputBytes = System.Text.Encoding.ASCII.GetBytes(input); + byte[] hash = md5.ComputeHash(inputBytes); + + // step 2, convert byte array to hex string + StringBuilder sb = new StringBuilder(); + for (int i = 0; i < hash.Length; i++) + { + sb.Append(hash[i].ToString("X2")); + } + return sb.ToString(); + } + + private void RegistrateLink(object sender, LinkLabelLinkClickedEventArgs e) + { + (new LoginForm_RegistrationForm()).ShowDialog(); + } + + private void LoginForm_FormClosing(object sender, FormClosingEventArgs e) + { + if (LThread != null && LThread.IsAlive) + { + LThread.Abort(); //2014.03.27. - Na vajon kell-e más + Request.Abort(); //2014.03.27. - Kell... Ez + } + if (CurrentUser.UserID == 0) + Program.Exit(); + } + } +} diff --git a/Most Closed Beta/v9.0/MSGer.tk (C#)/LoginForm.resx b/Most Closed Beta/v9.0/MSGer.tk (C#)/LoginForm.resx new file mode 100644 index 0000000..7938e5e --- /dev/null +++ b/Most Closed Beta/v9.0/MSGer.tk (C#)/LoginForm.resx @@ -0,0 +1,125 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + text/microsoft-resx + + + 2.0 + + + System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + Az e-mail helyett használható a felhasználóneved is. + +Ha nem tudsz bejelentkezni, próbáld meg újrainditani a programot. Ha az sem segít, és nem a felhasználóneveddel/jelszavaddal van a probléma, akkor jelentsd a problémát. + + \ No newline at end of file diff --git a/Most Closed Beta/v9.0/MSGer.tk (C#)/MSGer.tk.csproj b/Most Closed Beta/v9.0/MSGer.tk (C#)/MSGer.tk.csproj new file mode 100644 index 0000000..de85ddf --- /dev/null +++ b/Most Closed Beta/v9.0/MSGer.tk (C#)/MSGer.tk.csproj @@ -0,0 +1,200 @@ + + + + + Debug + AnyCPU + {F60940C0-05FC-46C0-948E-6DBECBBE38DD} + WinExe + Properties + MSGer.tk + MSGer.tk + v4.5 + 512 + + + AnyCPU + true + full + false + bin\Debug\ + DEBUG;TRACE + prompt + 4 + + + AnyCPU + pdbonly + true + bin\Release\ + TRACE + prompt + 4 + + + + D:\Downloads\GlacialListSource13\ListView\bin\Debug\GlacialList.dll + + + False + D:\Downloads\ExRichTextBox_src\ExRichTextBox\bin\Debug\Khendys.Controls.ExRichTextBox.dll + + + + + + + + + + + + + + + + Form + + + AddPartner.cs + + + Form + + + ChatForm.cs + + + + + Form + + + InvitePartner.cs + + + Form + + + LoginForm.RegistrationForm.cs + + + Form + + + MainForm.cs + + + Form + + + LoginForm.cs + + + Form + + + Notifier.cs + + + + + + True + True + Resources.resx + + + Form + + + SelectPartnerForm.cs + + + + True + True + Settings.settings + + + Form + + + + AddPartner.cs + + + ChatForm.cs + + + InvitePartner.cs + + + LoginForm.RegistrationForm.cs + + + MainForm.cs + + + LoginForm.cs + + + Notifier.cs + + + ResXFileCodeGenerator + Resources.Designer.cs + + + SelectPartnerForm.cs + + + SettingsSingleFileGenerator + Settings.Designer.cs + + + True + Settings.settings + True + + + SettingsSingleFileGenerator + Settings.Designer.cs + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/Most Closed Beta/v9.0/MSGer.tk (C#)/MSGer.tk.sln b/Most Closed Beta/v9.0/MSGer.tk (C#)/MSGer.tk.sln new file mode 100644 index 0000000..8157d29 --- /dev/null +++ b/Most Closed Beta/v9.0/MSGer.tk (C#)/MSGer.tk.sln @@ -0,0 +1,20 @@ + +Microsoft Visual Studio Solution File, Format Version 12.00 +# Visual Studio Express 2012 for Windows Desktop +Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "MSGer.tk", "MSGer.tk.csproj", "{F60940C0-05FC-46C0-948E-6DBECBBE38DD}" +EndProject +Global + GlobalSection(SolutionConfigurationPlatforms) = preSolution + Debug|Any CPU = Debug|Any CPU + Release|Any CPU = Release|Any CPU + EndGlobalSection + GlobalSection(ProjectConfigurationPlatforms) = postSolution + {F60940C0-05FC-46C0-948E-6DBECBBE38DD}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {F60940C0-05FC-46C0-948E-6DBECBBE38DD}.Debug|Any CPU.Build.0 = Debug|Any CPU + {F60940C0-05FC-46C0-948E-6DBECBBE38DD}.Release|Any CPU.ActiveCfg = Release|Any CPU + {F60940C0-05FC-46C0-948E-6DBECBBE38DD}.Release|Any CPU.Build.0 = Release|Any CPU + EndGlobalSection + GlobalSection(SolutionProperties) = preSolution + HideSolutionNode = FALSE + EndGlobalSection +EndGlobal diff --git a/Most Closed Beta/v9.0/MSGer.tk (C#)/MSGer.tk.v11.suo b/Most Closed Beta/v9.0/MSGer.tk (C#)/MSGer.tk.v11.suo new file mode 100644 index 0000000..88974bf Binary files /dev/null and b/Most Closed Beta/v9.0/MSGer.tk (C#)/MSGer.tk.v11.suo differ diff --git a/Most Closed Beta/v9.0/MSGer.tk (C#)/MSGer.tk.v12.suo b/Most Closed Beta/v9.0/MSGer.tk (C#)/MSGer.tk.v12.suo new file mode 100644 index 0000000..87222d8 Binary files /dev/null and b/Most Closed Beta/v9.0/MSGer.tk (C#)/MSGer.tk.v12.suo differ diff --git a/Most Closed Beta/v9.0/MSGer.tk (C#)/MainForm.Designer.cs b/Most Closed Beta/v9.0/MSGer.tk (C#)/MainForm.Designer.cs new file mode 100644 index 0000000..d06435c --- /dev/null +++ b/Most Closed Beta/v9.0/MSGer.tk (C#)/MainForm.Designer.cs @@ -0,0 +1,971 @@ +namespace MSGer.tk +{ + partial class MainForm + { + /// + /// Required designer variable. + /// + private System.ComponentModel.IContainer components = null; + + /// + /// Clean up any resources being used. + /// + /// true if managed resources should be disposed; otherwise, false. + protected override void Dispose(bool disposing) + { + if (disposing && (components != null)) + { + components.Dispose(); + } + base.Dispose(disposing); + } + + #region Windows Form Designer generated code + + /// + /// Required method for Designer support - do not modify + /// the contents of this method with the code editor. + /// + private void InitializeComponent() + { + this.components = new System.ComponentModel.Container(); + System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(MainForm)); + GlacialComponents.Controls.GLColumn glColumn1 = new GlacialComponents.Controls.GLColumn(); + GlacialComponents.Controls.GLColumn glColumn2 = new GlacialComponents.Controls.GLColumn(); + GlacialComponents.Controls.GLItem glItem1 = new GlacialComponents.Controls.GLItem(); + GlacialComponents.Controls.GLSubItem glSubItem1 = new GlacialComponents.Controls.GLSubItem(); + GlacialComponents.Controls.GLSubItem glSubItem2 = new GlacialComponents.Controls.GLSubItem(); + this.notifyIcon1 = new System.Windows.Forms.NotifyIcon(this.components); + this.iconMenu = new System.Windows.Forms.ContextMenuStrip(this.components); + this.toolStripMenuItem4 = new System.Windows.Forms.ToolStripMenuItem(); + this.toolStripSeparator18 = new System.Windows.Forms.ToolStripSeparator(); + this.toolStripMenuItem8 = new System.Windows.Forms.ToolStripMenuItem(); + this.toolStripMenuItem9 = new System.Windows.Forms.ToolStripMenuItem(); + this.button1 = new System.Windows.Forms.Button(); + this.panel2 = new System.Windows.Forms.Panel(); + this.textBox1 = new System.Windows.Forms.TextBox(); + this.panel1 = new System.Windows.Forms.Panel(); + this.menuStrip1 = new System.Windows.Forms.MenuStrip(); + this.fájlToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); + this.kijelentkezésToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); + this.toolStripMenuItem1 = new System.Windows.Forms.ToolStripMenuItem(); + this.toolStripSeparator1 = new System.Windows.Forms.ToolStripSeparator(); + this.állapotToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); + this.elérhetőToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); + this.elfoglaltToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); + this.nincsAGépnélToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); + this.rejtveKapcsolódikToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); + this.toolStripSeparator2 = new System.Windows.Forms.ToolStripSeparator(); + this.fájlKüldéseToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); + this.beérkezettFájlokMappájánakMegnyitásaToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); + this.üzenetekElőzményeinekMegtekintéseToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); + this.toolStripSeparator3 = new System.Windows.Forms.ToolStripSeparator(); + this.bezárásToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); + this.toolStripSeparator4 = new System.Windows.Forms.ToolStripSeparator(); + this.kilépésToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); + this.ismerősökToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); + this.ismerősFelvételeToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); + this.ismerősSzerkesztéseToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); + this.ismerősTörléseToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); + this.toolStripMenuItem3 = new System.Windows.Forms.ToolStripMenuItem(); + this.toolStripSeparator5 = new System.Windows.Forms.ToolStripSeparator(); + this.csoportLétrehozásaToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); + this.toolStripSeparator6 = new System.Windows.Forms.ToolStripSeparator(); + this.kategóriaLétrehozásaToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); + this.kategóriaSzerkesztéseToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); + this.kategóriaTörléseToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); + this.műveletekToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); + this.azonnaliÜzenetKüldéseToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); + this.egyébKüldéseToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); + this.emailKüldéseToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); + this.fájlKüldéseToolStripMenuItem1 = new System.Windows.Forms.ToolStripMenuItem(); + this.toolStripSeparator7 = new System.Windows.Forms.ToolStripSeparator(); + this.ismerősSzámitógépénekFelhivásaToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); + this.videóhivásInditásaToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); + this.onlineFájlokMegtekintéseToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); + this.közösJátékToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); + this.távsegitségKéréseToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); + this.eszközökToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); + this.mindigLegfelülToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); + this.toolStripSeparator8 = new System.Windows.Forms.ToolStripSeparator(); + this.hangulatjelekToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); + this.megjelenitendőKépVáltásaToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); + this.háttérMódositásaToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); + this.toolStripSeparator9 = new System.Windows.Forms.ToolStripSeparator(); + this.hangokÉsVideóBeállitásaToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); + this.toolStripSeparator10 = new System.Windows.Forms.ToolStripSeparator(); + this.beállitásokToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); + this.súgóToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); + this.témakörökToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); + this.toolStripSeparator11 = new System.Windows.Forms.ToolStripSeparator(); + this.aSzolgáltatásÁllapotsaToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); + this.adatvédelmiNyilatkozatToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); + this.használatiFeltételekToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); + this.visszaélésBejelentéseToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); + this.toolStripSeparator12 = new System.Windows.Forms.ToolStripSeparator(); + this.segitsenAProgramTökéletesitésébenToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); + this.toolStripSeparator13 = new System.Windows.Forms.ToolStripSeparator(); + this.névjegyToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); + this.contactList = new GlacialComponents.Controls.GlacialList(); + this.partnerImages = new System.Windows.Forms.ImageList(this.components); + this.partnerMenu = new System.Windows.Forms.ContextMenuStrip(this.components); + this.üzenetküldésToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); + this.emailKüldéseemailToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); + this.toolStripMenuItem2 = new System.Windows.Forms.ToolStripMenuItem(); + this.információToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); + this.toolStripSeparator14 = new System.Windows.Forms.ToolStripSeparator(); + this.ismerősLetiltásaToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); + this.ismerősTörléseToolStripMenuItem1 = new System.Windows.Forms.ToolStripMenuItem(); + this.toolStripSeparator15 = new System.Windows.Forms.ToolStripSeparator(); + this.becenévSzerkesztéseToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); + this.toolStripSeparator16 = new System.Windows.Forms.ToolStripSeparator(); + this.eseményértesitésekToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); + this.toolStripSeparator17 = new System.Windows.Forms.ToolStripSeparator(); + this.beszélgetésnaplóMegnyitásaToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); + this.iconMenu.SuspendLayout(); + this.panel2.SuspendLayout(); + this.menuStrip1.SuspendLayout(); + this.partnerMenu.SuspendLayout(); + this.SuspendLayout(); + // + // notifyIcon1 + // + this.notifyIcon1.ContextMenuStrip = this.iconMenu; + this.notifyIcon1.Icon = ((System.Drawing.Icon)(resources.GetObject("notifyIcon1.Icon"))); + this.notifyIcon1.Text = "MSGer.tk"; + this.notifyIcon1.Visible = true; + this.notifyIcon1.DoubleClick += new System.EventHandler(this.toolStripMenuItem4_Click); + // + // iconMenu + // + this.iconMenu.Items.AddRange(new System.Windows.Forms.ToolStripItem[] { + this.toolStripMenuItem4, + this.toolStripSeparator18, + this.toolStripMenuItem8, + this.toolStripMenuItem9}); + this.iconMenu.Name = "partnerMenu"; + this.iconMenu.RenderMode = System.Windows.Forms.ToolStripRenderMode.System; + this.iconMenu.Size = new System.Drawing.Size(153, 98); + // + // toolStripMenuItem4 + // + this.toolStripMenuItem4.Font = new System.Drawing.Font("Segoe UI", 9F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(238))); + this.toolStripMenuItem4.Name = "toolStripMenuItem4"; + this.toolStripMenuItem4.Size = new System.Drawing.Size(152, 22); + this.toolStripMenuItem4.Text = "Megjelenítés"; + this.toolStripMenuItem4.Click += new System.EventHandler(this.toolStripMenuItem4_Click); + // + // toolStripSeparator18 + // + this.toolStripSeparator18.Name = "toolStripSeparator18"; + this.toolStripSeparator18.Size = new System.Drawing.Size(149, 6); + // + // toolStripMenuItem8 + // + this.toolStripMenuItem8.Name = "toolStripMenuItem8"; + this.toolStripMenuItem8.Size = new System.Drawing.Size(152, 22); + this.toolStripMenuItem8.Text = "Kijelentkezés"; + this.toolStripMenuItem8.Click += new System.EventHandler(this.LogoutUser); + // + // toolStripMenuItem9 + // + this.toolStripMenuItem9.Name = "toolStripMenuItem9"; + this.toolStripMenuItem9.Size = new System.Drawing.Size(152, 22); + this.toolStripMenuItem9.Text = "Kilépés"; + this.toolStripMenuItem9.Click += new System.EventHandler(this.ExitProgram); + // + // button1 + // + this.button1.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right))); + this.button1.FlatStyle = System.Windows.Forms.FlatStyle.Popup; + this.button1.Location = new System.Drawing.Point(519, 104); + this.button1.Name = "button1"; + this.button1.Size = new System.Drawing.Size(35, 23); + this.button1.TabIndex = 4; + this.button1.UseVisualStyleBackColor = true; + // + // panel2 + // + this.panel2.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left) + | System.Windows.Forms.AnchorStyles.Right))); + this.panel2.BackgroundImage = global::MSGer.tk.Properties.Resources.Keresősáv; + this.panel2.BackgroundImageLayout = System.Windows.Forms.ImageLayout.Stretch; + this.panel2.Controls.Add(this.textBox1); + this.panel2.Location = new System.Drawing.Point(0, 96); + this.panel2.Name = "panel2"; + this.panel2.Size = new System.Drawing.Size(513, 31); + this.panel2.TabIndex = 5; + // + // textBox1 + // + this.textBox1.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left) + | System.Windows.Forms.AnchorStyles.Right))); + this.textBox1.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(244)))), ((int)(((byte)(249)))), ((int)(((byte)(252))))); + this.textBox1.BorderStyle = System.Windows.Forms.BorderStyle.None; + this.textBox1.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(137)))), ((int)(((byte)(161)))), ((int)(((byte)(194))))); + this.textBox1.Location = new System.Drawing.Point(6, 8); + this.textBox1.Name = "textBox1"; + this.textBox1.Size = new System.Drawing.Size(504, 13); + this.textBox1.TabIndex = 3; + this.textBox1.Text = "Ismerősök keresése..."; + this.textBox1.Enter += new System.EventHandler(this.ClearSearchBar); + this.textBox1.Leave += new System.EventHandler(this.PutTextInSearchBar); + // + // panel1 + // + this.panel1.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left) + | System.Windows.Forms.AnchorStyles.Right))); + this.panel1.BackgroundImage = global::MSGer.tk.Properties.Resources.Blue_Wallpaper_HD_2; + this.panel1.BackgroundImageLayout = System.Windows.Forms.ImageLayout.Stretch; + this.panel1.Location = new System.Drawing.Point(0, 27); + this.panel1.Name = "panel1"; + this.panel1.Size = new System.Drawing.Size(624, 63); + this.panel1.TabIndex = 2; + // + // menuStrip1 + // + this.menuStrip1.BackColor = System.Drawing.Color.Black; + this.menuStrip1.BackgroundImage = global::MSGer.tk.Properties.Resources.Menü_2; + this.menuStrip1.Items.AddRange(new System.Windows.Forms.ToolStripItem[] { + this.fájlToolStripMenuItem, + this.ismerősökToolStripMenuItem, + this.műveletekToolStripMenuItem, + this.eszközökToolStripMenuItem, + this.súgóToolStripMenuItem}); + this.menuStrip1.Location = new System.Drawing.Point(0, 0); + this.menuStrip1.Name = "menuStrip1"; + this.menuStrip1.RenderMode = System.Windows.Forms.ToolStripRenderMode.System; + this.menuStrip1.Size = new System.Drawing.Size(624, 24); + this.menuStrip1.TabIndex = 0; + this.menuStrip1.Text = "menuStrip1"; + // + // fájlToolStripMenuItem + // + this.fájlToolStripMenuItem.DropDownItems.AddRange(new System.Windows.Forms.ToolStripItem[] { + this.kijelentkezésToolStripMenuItem, + this.toolStripMenuItem1, + this.toolStripSeparator1, + this.állapotToolStripMenuItem, + this.toolStripSeparator2, + this.fájlKüldéseToolStripMenuItem, + this.beérkezettFájlokMappájánakMegnyitásaToolStripMenuItem, + this.üzenetekElőzményeinekMegtekintéseToolStripMenuItem, + this.toolStripSeparator3, + this.bezárásToolStripMenuItem, + this.toolStripSeparator4, + this.kilépésToolStripMenuItem}); + this.fájlToolStripMenuItem.Name = "fájlToolStripMenuItem"; + this.fájlToolStripMenuItem.Size = new System.Drawing.Size(37, 20); + this.fájlToolStripMenuItem.Text = "Fájl"; + // + // kijelentkezésToolStripMenuItem + // + this.kijelentkezésToolStripMenuItem.Name = "kijelentkezésToolStripMenuItem"; + this.kijelentkezésToolStripMenuItem.Size = new System.Drawing.Size(292, 22); + this.kijelentkezésToolStripMenuItem.Text = "Kijelentkezés"; + this.kijelentkezésToolStripMenuItem.Click += new System.EventHandler(this.LogoutUser); + // + // toolStripMenuItem1 + // + this.toolStripMenuItem1.Name = "toolStripMenuItem1"; + this.toolStripMenuItem1.Size = new System.Drawing.Size(292, 22); + this.toolStripMenuItem1.Text = "Újabb felhasználó bejelentkeztetése..."; + this.toolStripMenuItem1.Click += new System.EventHandler(this.LoginNewUser); + // + // toolStripSeparator1 + // + this.toolStripSeparator1.Name = "toolStripSeparator1"; + this.toolStripSeparator1.Size = new System.Drawing.Size(289, 6); + // + // állapotToolStripMenuItem + // + this.állapotToolStripMenuItem.DropDownItems.AddRange(new System.Windows.Forms.ToolStripItem[] { + this.elérhetőToolStripMenuItem, + this.elfoglaltToolStripMenuItem, + this.nincsAGépnélToolStripMenuItem, + this.rejtveKapcsolódikToolStripMenuItem}); + this.állapotToolStripMenuItem.Name = "állapotToolStripMenuItem"; + this.állapotToolStripMenuItem.Size = new System.Drawing.Size(292, 22); + this.állapotToolStripMenuItem.Text = "Állapot"; + // + // elérhetőToolStripMenuItem + // + this.elérhetőToolStripMenuItem.Name = "elérhetőToolStripMenuItem"; + this.elérhetőToolStripMenuItem.Size = new System.Drawing.Size(172, 22); + this.elérhetőToolStripMenuItem.Text = "Elérhető"; + this.elérhetőToolStripMenuItem.Click += new System.EventHandler(this.SetOnlineState); + // + // elfoglaltToolStripMenuItem + // + this.elfoglaltToolStripMenuItem.Name = "elfoglaltToolStripMenuItem"; + this.elfoglaltToolStripMenuItem.Size = new System.Drawing.Size(172, 22); + this.elfoglaltToolStripMenuItem.Text = "Elfoglalt"; + this.elfoglaltToolStripMenuItem.Click += new System.EventHandler(this.SetOnlineState); + // + // nincsAGépnélToolStripMenuItem + // + this.nincsAGépnélToolStripMenuItem.Name = "nincsAGépnélToolStripMenuItem"; + this.nincsAGépnélToolStripMenuItem.Size = new System.Drawing.Size(172, 22); + this.nincsAGépnélToolStripMenuItem.Text = "Nincs a gépnél"; + this.nincsAGépnélToolStripMenuItem.Click += new System.EventHandler(this.SetOnlineState); + // + // rejtveKapcsolódikToolStripMenuItem + // + this.rejtveKapcsolódikToolStripMenuItem.Name = "rejtveKapcsolódikToolStripMenuItem"; + this.rejtveKapcsolódikToolStripMenuItem.Size = new System.Drawing.Size(172, 22); + this.rejtveKapcsolódikToolStripMenuItem.Text = "Rejtve kapcsolódik"; + this.rejtveKapcsolódikToolStripMenuItem.Click += new System.EventHandler(this.SetOnlineState); + // + // toolStripSeparator2 + // + this.toolStripSeparator2.Name = "toolStripSeparator2"; + this.toolStripSeparator2.Size = new System.Drawing.Size(289, 6); + // + // fájlKüldéseToolStripMenuItem + // + this.fájlKüldéseToolStripMenuItem.Name = "fájlKüldéseToolStripMenuItem"; + this.fájlKüldéseToolStripMenuItem.Size = new System.Drawing.Size(292, 22); + this.fájlKüldéseToolStripMenuItem.Text = "Fájl küldése..."; + this.fájlKüldéseToolStripMenuItem.Click += new System.EventHandler(this.SelectPartner); + // + // beérkezettFájlokMappájánakMegnyitásaToolStripMenuItem + // + this.beérkezettFájlokMappájánakMegnyitásaToolStripMenuItem.Name = "beérkezettFájlokMappájánakMegnyitásaToolStripMenuItem"; + this.beérkezettFájlokMappájánakMegnyitásaToolStripMenuItem.Size = new System.Drawing.Size(292, 22); + this.beérkezettFájlokMappájánakMegnyitásaToolStripMenuItem.Text = "Beérkezett fájlok mappájának megnyitása"; + // + // üzenetekElőzményeinekMegtekintéseToolStripMenuItem + // + this.üzenetekElőzményeinekMegtekintéseToolStripMenuItem.Name = "üzenetekElőzményeinekMegtekintéseToolStripMenuItem"; + this.üzenetekElőzményeinekMegtekintéseToolStripMenuItem.Size = new System.Drawing.Size(292, 22); + this.üzenetekElőzményeinekMegtekintéseToolStripMenuItem.Text = "Üzenetek előzményeinek megtekintése..."; + // + // toolStripSeparator3 + // + this.toolStripSeparator3.Name = "toolStripSeparator3"; + this.toolStripSeparator3.Size = new System.Drawing.Size(289, 6); + // + // bezárásToolStripMenuItem + // + this.bezárásToolStripMenuItem.Name = "bezárásToolStripMenuItem"; + this.bezárásToolStripMenuItem.Size = new System.Drawing.Size(292, 22); + this.bezárásToolStripMenuItem.Text = "Bezárás"; + // + // toolStripSeparator4 + // + this.toolStripSeparator4.Name = "toolStripSeparator4"; + this.toolStripSeparator4.Size = new System.Drawing.Size(289, 6); + // + // kilépésToolStripMenuItem + // + this.kilépésToolStripMenuItem.Name = "kilépésToolStripMenuItem"; + this.kilépésToolStripMenuItem.Size = new System.Drawing.Size(292, 22); + this.kilépésToolStripMenuItem.Text = "Kilépés"; + this.kilépésToolStripMenuItem.Click += new System.EventHandler(this.ExitProgram); + // + // ismerősökToolStripMenuItem + // + this.ismerősökToolStripMenuItem.DropDownItems.AddRange(new System.Windows.Forms.ToolStripItem[] { + this.ismerősFelvételeToolStripMenuItem, + this.ismerősSzerkesztéseToolStripMenuItem, + this.ismerősTörléseToolStripMenuItem, + this.toolStripMenuItem3, + this.toolStripSeparator5, + this.csoportLétrehozásaToolStripMenuItem, + this.toolStripSeparator6, + this.kategóriaLétrehozásaToolStripMenuItem, + this.kategóriaSzerkesztéseToolStripMenuItem, + this.kategóriaTörléseToolStripMenuItem}); + this.ismerősökToolStripMenuItem.Name = "ismerősökToolStripMenuItem"; + this.ismerősökToolStripMenuItem.Size = new System.Drawing.Size(73, 20); + this.ismerősökToolStripMenuItem.Text = "Ismerősök"; + // + // ismerősFelvételeToolStripMenuItem + // + this.ismerősFelvételeToolStripMenuItem.Name = "ismerősFelvételeToolStripMenuItem"; + this.ismerősFelvételeToolStripMenuItem.Size = new System.Drawing.Size(199, 22); + this.ismerősFelvételeToolStripMenuItem.Text = "Ismerős felvétele..."; + this.ismerősFelvételeToolStripMenuItem.Click += new System.EventHandler(this.ismerősFelvételeToolStripMenuItem_Click); + // + // ismerősSzerkesztéseToolStripMenuItem + // + this.ismerősSzerkesztéseToolStripMenuItem.Name = "ismerősSzerkesztéseToolStripMenuItem"; + this.ismerősSzerkesztéseToolStripMenuItem.Size = new System.Drawing.Size(199, 22); + this.ismerősSzerkesztéseToolStripMenuItem.Text = "Ismerős szerkesztése..."; + // + // ismerősTörléseToolStripMenuItem + // + this.ismerősTörléseToolStripMenuItem.Name = "ismerősTörléseToolStripMenuItem"; + this.ismerősTörléseToolStripMenuItem.Size = new System.Drawing.Size(199, 22); + this.ismerősTörléseToolStripMenuItem.Text = "Ismerős törlése..."; + // + // toolStripMenuItem3 + // + this.toolStripMenuItem3.Name = "toolStripMenuItem3"; + this.toolStripMenuItem3.Size = new System.Drawing.Size(199, 22); + this.toolStripMenuItem3.Text = "Ismerős meghivása..."; + this.toolStripMenuItem3.Click += new System.EventHandler(this.InvitePartner); + // + // toolStripSeparator5 + // + this.toolStripSeparator5.Name = "toolStripSeparator5"; + this.toolStripSeparator5.Size = new System.Drawing.Size(196, 6); + // + // csoportLétrehozásaToolStripMenuItem + // + this.csoportLétrehozásaToolStripMenuItem.Name = "csoportLétrehozásaToolStripMenuItem"; + this.csoportLétrehozásaToolStripMenuItem.Size = new System.Drawing.Size(199, 22); + this.csoportLétrehozásaToolStripMenuItem.Text = "Csoport létrehozása..."; + // + // toolStripSeparator6 + // + this.toolStripSeparator6.Name = "toolStripSeparator6"; + this.toolStripSeparator6.Size = new System.Drawing.Size(196, 6); + // + // kategóriaLétrehozásaToolStripMenuItem + // + this.kategóriaLétrehozásaToolStripMenuItem.Name = "kategóriaLétrehozásaToolStripMenuItem"; + this.kategóriaLétrehozásaToolStripMenuItem.Size = new System.Drawing.Size(199, 22); + this.kategóriaLétrehozásaToolStripMenuItem.Text = "Kategória létrehozása..."; + // + // kategóriaSzerkesztéseToolStripMenuItem + // + this.kategóriaSzerkesztéseToolStripMenuItem.Name = "kategóriaSzerkesztéseToolStripMenuItem"; + this.kategóriaSzerkesztéseToolStripMenuItem.Size = new System.Drawing.Size(199, 22); + this.kategóriaSzerkesztéseToolStripMenuItem.Text = "Kategória szerkesztése..."; + // + // kategóriaTörléseToolStripMenuItem + // + this.kategóriaTörléseToolStripMenuItem.Name = "kategóriaTörléseToolStripMenuItem"; + this.kategóriaTörléseToolStripMenuItem.Size = new System.Drawing.Size(199, 22); + this.kategóriaTörléseToolStripMenuItem.Text = "Kategória törlése..."; + // + // műveletekToolStripMenuItem + // + this.műveletekToolStripMenuItem.DropDownItems.AddRange(new System.Windows.Forms.ToolStripItem[] { + this.azonnaliÜzenetKüldéseToolStripMenuItem, + this.egyébKüldéseToolStripMenuItem, + this.toolStripSeparator7, + this.ismerősSzámitógépénekFelhivásaToolStripMenuItem, + this.videóhivásInditásaToolStripMenuItem, + this.onlineFájlokMegtekintéseToolStripMenuItem, + this.közösJátékToolStripMenuItem, + this.távsegitségKéréseToolStripMenuItem}); + this.műveletekToolStripMenuItem.Name = "műveletekToolStripMenuItem"; + this.műveletekToolStripMenuItem.Size = new System.Drawing.Size(74, 20); + this.műveletekToolStripMenuItem.Text = "Műveletek"; + // + // azonnaliÜzenetKüldéseToolStripMenuItem + // + this.azonnaliÜzenetKüldéseToolStripMenuItem.Name = "azonnaliÜzenetKüldéseToolStripMenuItem"; + this.azonnaliÜzenetKüldéseToolStripMenuItem.Size = new System.Drawing.Size(253, 22); + this.azonnaliÜzenetKüldéseToolStripMenuItem.Text = "Azonnali üzenet küldése..."; + this.azonnaliÜzenetKüldéseToolStripMenuItem.Click += new System.EventHandler(this.SelectPartner); + // + // egyébKüldéseToolStripMenuItem + // + this.egyébKüldéseToolStripMenuItem.DropDownItems.AddRange(new System.Windows.Forms.ToolStripItem[] { + this.emailKüldéseToolStripMenuItem, + this.fájlKüldéseToolStripMenuItem1}); + this.egyébKüldéseToolStripMenuItem.Name = "egyébKüldéseToolStripMenuItem"; + this.egyébKüldéseToolStripMenuItem.Size = new System.Drawing.Size(253, 22); + this.egyébKüldéseToolStripMenuItem.Text = "Egyéb küldése"; + // + // emailKüldéseToolStripMenuItem + // + this.emailKüldéseToolStripMenuItem.Name = "emailKüldéseToolStripMenuItem"; + this.emailKüldéseToolStripMenuItem.Size = new System.Drawing.Size(160, 22); + this.emailKüldéseToolStripMenuItem.Text = "E-mail küldése..."; + // + // fájlKüldéseToolStripMenuItem1 + // + this.fájlKüldéseToolStripMenuItem1.Name = "fájlKüldéseToolStripMenuItem1"; + this.fájlKüldéseToolStripMenuItem1.Size = new System.Drawing.Size(160, 22); + this.fájlKüldéseToolStripMenuItem1.Text = "Fájl küldése..."; + // + // toolStripSeparator7 + // + this.toolStripSeparator7.Name = "toolStripSeparator7"; + this.toolStripSeparator7.Size = new System.Drawing.Size(250, 6); + // + // ismerősSzámitógépénekFelhivásaToolStripMenuItem + // + this.ismerősSzámitógépénekFelhivásaToolStripMenuItem.Name = "ismerősSzámitógépénekFelhivásaToolStripMenuItem"; + this.ismerősSzámitógépénekFelhivásaToolStripMenuItem.Size = new System.Drawing.Size(253, 22); + this.ismerősSzámitógépénekFelhivásaToolStripMenuItem.Text = "Ismerős számitógépének felhivása"; + // + // videóhivásInditásaToolStripMenuItem + // + this.videóhivásInditásaToolStripMenuItem.Name = "videóhivásInditásaToolStripMenuItem"; + this.videóhivásInditásaToolStripMenuItem.Size = new System.Drawing.Size(253, 22); + this.videóhivásInditásaToolStripMenuItem.Text = "Videóhivás inditása..."; + // + // onlineFájlokMegtekintéseToolStripMenuItem + // + this.onlineFájlokMegtekintéseToolStripMenuItem.Name = "onlineFájlokMegtekintéseToolStripMenuItem"; + this.onlineFájlokMegtekintéseToolStripMenuItem.Size = new System.Drawing.Size(253, 22); + this.onlineFájlokMegtekintéseToolStripMenuItem.Text = "Online fájlok megtekintése"; + // + // közösJátékToolStripMenuItem + // + this.közösJátékToolStripMenuItem.Name = "közösJátékToolStripMenuItem"; + this.közösJátékToolStripMenuItem.Size = new System.Drawing.Size(253, 22); + this.közösJátékToolStripMenuItem.Text = "Közös játék..."; + // + // távsegitségKéréseToolStripMenuItem + // + this.távsegitségKéréseToolStripMenuItem.Name = "távsegitségKéréseToolStripMenuItem"; + this.távsegitségKéréseToolStripMenuItem.Size = new System.Drawing.Size(253, 22); + this.távsegitségKéréseToolStripMenuItem.Text = "Távsegitség kérése..."; + // + // eszközökToolStripMenuItem + // + this.eszközökToolStripMenuItem.DropDownItems.AddRange(new System.Windows.Forms.ToolStripItem[] { + this.mindigLegfelülToolStripMenuItem, + this.toolStripSeparator8, + this.hangulatjelekToolStripMenuItem, + this.megjelenitendőKépVáltásaToolStripMenuItem, + this.háttérMódositásaToolStripMenuItem, + this.toolStripSeparator9, + this.hangokÉsVideóBeállitásaToolStripMenuItem, + this.toolStripSeparator10, + this.beállitásokToolStripMenuItem}); + this.eszközökToolStripMenuItem.Name = "eszközökToolStripMenuItem"; + this.eszközökToolStripMenuItem.Size = new System.Drawing.Size(66, 20); + this.eszközökToolStripMenuItem.Text = "Eszközök"; + // + // mindigLegfelülToolStripMenuItem + // + this.mindigLegfelülToolStripMenuItem.CheckOnClick = true; + this.mindigLegfelülToolStripMenuItem.Name = "mindigLegfelülToolStripMenuItem"; + this.mindigLegfelülToolStripMenuItem.Size = new System.Drawing.Size(227, 22); + this.mindigLegfelülToolStripMenuItem.Text = "Mindig legfelül"; + // + // toolStripSeparator8 + // + this.toolStripSeparator8.Name = "toolStripSeparator8"; + this.toolStripSeparator8.Size = new System.Drawing.Size(224, 6); + // + // hangulatjelekToolStripMenuItem + // + this.hangulatjelekToolStripMenuItem.Name = "hangulatjelekToolStripMenuItem"; + this.hangulatjelekToolStripMenuItem.Size = new System.Drawing.Size(227, 22); + this.hangulatjelekToolStripMenuItem.Text = "Hangulatjelek..."; + // + // megjelenitendőKépVáltásaToolStripMenuItem + // + this.megjelenitendőKépVáltásaToolStripMenuItem.Name = "megjelenitendőKépVáltásaToolStripMenuItem"; + this.megjelenitendőKépVáltásaToolStripMenuItem.Size = new System.Drawing.Size(227, 22); + this.megjelenitendőKépVáltásaToolStripMenuItem.Text = "Megjelenitendő kép váltása..."; + // + // háttérMódositásaToolStripMenuItem + // + this.háttérMódositásaToolStripMenuItem.Name = "háttérMódositásaToolStripMenuItem"; + this.háttérMódositásaToolStripMenuItem.Size = new System.Drawing.Size(227, 22); + this.háttérMódositásaToolStripMenuItem.Text = "Háttér módositása..."; + // + // toolStripSeparator9 + // + this.toolStripSeparator9.Name = "toolStripSeparator9"; + this.toolStripSeparator9.Size = new System.Drawing.Size(224, 6); + // + // hangokÉsVideóBeállitásaToolStripMenuItem + // + this.hangokÉsVideóBeállitásaToolStripMenuItem.Name = "hangokÉsVideóBeállitásaToolStripMenuItem"; + this.hangokÉsVideóBeállitásaToolStripMenuItem.Size = new System.Drawing.Size(227, 22); + this.hangokÉsVideóBeállitásaToolStripMenuItem.Text = "Hangok és videó beállitása..."; + // + // toolStripSeparator10 + // + this.toolStripSeparator10.Name = "toolStripSeparator10"; + this.toolStripSeparator10.Size = new System.Drawing.Size(224, 6); + // + // beállitásokToolStripMenuItem + // + this.beállitásokToolStripMenuItem.Name = "beállitásokToolStripMenuItem"; + this.beállitásokToolStripMenuItem.Size = new System.Drawing.Size(227, 22); + this.beállitásokToolStripMenuItem.Text = "Beállitások..."; + // + // súgóToolStripMenuItem + // + this.súgóToolStripMenuItem.DropDownItems.AddRange(new System.Windows.Forms.ToolStripItem[] { + this.témakörökToolStripMenuItem, + this.toolStripSeparator11, + this.aSzolgáltatásÁllapotsaToolStripMenuItem, + this.adatvédelmiNyilatkozatToolStripMenuItem, + this.használatiFeltételekToolStripMenuItem, + this.visszaélésBejelentéseToolStripMenuItem, + this.toolStripSeparator12, + this.segitsenAProgramTökéletesitésébenToolStripMenuItem, + this.toolStripSeparator13, + this.névjegyToolStripMenuItem}); + this.súgóToolStripMenuItem.Name = "súgóToolStripMenuItem"; + this.súgóToolStripMenuItem.Size = new System.Drawing.Size(46, 20); + this.súgóToolStripMenuItem.Text = "Súgó"; + // + // témakörökToolStripMenuItem + // + this.témakörökToolStripMenuItem.Name = "témakörökToolStripMenuItem"; + this.témakörökToolStripMenuItem.Size = new System.Drawing.Size(270, 22); + this.témakörökToolStripMenuItem.Text = "Témakörök"; + // + // toolStripSeparator11 + // + this.toolStripSeparator11.Name = "toolStripSeparator11"; + this.toolStripSeparator11.Size = new System.Drawing.Size(267, 6); + // + // aSzolgáltatásÁllapotsaToolStripMenuItem + // + this.aSzolgáltatásÁllapotsaToolStripMenuItem.Name = "aSzolgáltatásÁllapotsaToolStripMenuItem"; + this.aSzolgáltatásÁllapotsaToolStripMenuItem.Size = new System.Drawing.Size(270, 22); + this.aSzolgáltatásÁllapotsaToolStripMenuItem.Text = "A szolgáltatás állapota"; + // + // adatvédelmiNyilatkozatToolStripMenuItem + // + this.adatvédelmiNyilatkozatToolStripMenuItem.Name = "adatvédelmiNyilatkozatToolStripMenuItem"; + this.adatvédelmiNyilatkozatToolStripMenuItem.Size = new System.Drawing.Size(270, 22); + this.adatvédelmiNyilatkozatToolStripMenuItem.Text = "Adatvédelmi nyilatkozat"; + // + // használatiFeltételekToolStripMenuItem + // + this.használatiFeltételekToolStripMenuItem.Name = "használatiFeltételekToolStripMenuItem"; + this.használatiFeltételekToolStripMenuItem.Size = new System.Drawing.Size(270, 22); + this.használatiFeltételekToolStripMenuItem.Text = "Használati feltételek"; + // + // visszaélésBejelentéseToolStripMenuItem + // + this.visszaélésBejelentéseToolStripMenuItem.Name = "visszaélésBejelentéseToolStripMenuItem"; + this.visszaélésBejelentéseToolStripMenuItem.Size = new System.Drawing.Size(270, 22); + this.visszaélésBejelentéseToolStripMenuItem.Text = "Visszaélés bejelentése"; + // + // toolStripSeparator12 + // + this.toolStripSeparator12.Name = "toolStripSeparator12"; + this.toolStripSeparator12.Size = new System.Drawing.Size(267, 6); + // + // segitsenAProgramTökéletesitésébenToolStripMenuItem + // + this.segitsenAProgramTökéletesitésébenToolStripMenuItem.Name = "segitsenAProgramTökéletesitésébenToolStripMenuItem"; + this.segitsenAProgramTökéletesitésébenToolStripMenuItem.Size = new System.Drawing.Size(270, 22); + this.segitsenAProgramTökéletesitésébenToolStripMenuItem.Text = "Segitsen a program tökéletesitésében"; + // + // toolStripSeparator13 + // + this.toolStripSeparator13.Name = "toolStripSeparator13"; + this.toolStripSeparator13.Size = new System.Drawing.Size(267, 6); + // + // névjegyToolStripMenuItem + // + this.névjegyToolStripMenuItem.Name = "névjegyToolStripMenuItem"; + this.névjegyToolStripMenuItem.Size = new System.Drawing.Size(270, 22); + this.névjegyToolStripMenuItem.Text = "Névjegy"; + // + // contactList + // + this.contactList.AllowColumnResize = false; + this.contactList.AllowMultiselect = false; + this.contactList.AlternateBackground = System.Drawing.Color.DarkGreen; + this.contactList.AlternatingColors = false; + this.contactList.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.contactList.AutoHeight = false; + this.contactList.BackColor = System.Drawing.Color.LightSkyBlue; + this.contactList.BackgroundStretchToFit = true; + glColumn1.ActivatedEmbeddedType = GlacialComponents.Controls.GLActivatedEmbeddedTypes.None; + glColumn1.CheckBoxes = false; + glColumn1.ImageIndex = -1; + glColumn1.Name = "Image"; + glColumn1.NumericSort = false; + glColumn1.Text = ""; + glColumn1.TextAlignment = System.Drawing.ContentAlignment.MiddleLeft; + glColumn1.Width = 100; + glColumn2.ActivatedEmbeddedType = GlacialComponents.Controls.GLActivatedEmbeddedTypes.None; + glColumn2.CheckBoxes = false; + glColumn2.ImageIndex = -1; + glColumn2.Name = "Name"; + glColumn2.NumericSort = false; + glColumn2.Text = ""; + glColumn2.TextAlignment = System.Drawing.ContentAlignment.MiddleLeft; + glColumn2.Width = 400; + this.contactList.Columns.AddRange(new GlacialComponents.Controls.GLColumn[] { + glColumn1, + glColumn2}); + this.contactList.ControlStyle = GlacialComponents.Controls.GLControlStyles.Normal; + this.contactList.ForeColor = System.Drawing.Color.Black; + this.contactList.FullRowSelect = true; + this.contactList.GridColor = System.Drawing.Color.LightGray; + this.contactList.GridLines = GlacialComponents.Controls.GLGridLines.gridHorizontal; + this.contactList.GridLineStyle = GlacialComponents.Controls.GLGridLineStyles.gridNone; + this.contactList.GridTypes = GlacialComponents.Controls.GLGridTypes.gridOnExists; + this.contactList.HeaderHeight = 0; + this.contactList.HeaderVisible = false; + this.contactList.HeaderWordWrap = false; + this.contactList.HotColumnTracking = false; + this.contactList.HotItemTracking = true; + this.contactList.HotTrackingColor = System.Drawing.Color.LightGray; + this.contactList.HoverEvents = false; + this.contactList.HoverTime = 1; + this.contactList.ImageList = null; + this.contactList.ItemHeight = 60; + glItem1.BackColor = System.Drawing.Color.White; + glItem1.ForeColor = System.Drawing.Color.Black; + glItem1.RowBorderColor = System.Drawing.Color.Black; + glItem1.RowBorderSize = 0; + glSubItem1.BackColor = System.Drawing.Color.Empty; + glSubItem1.Checked = false; + glSubItem1.ForceText = false; + glSubItem1.ForeColor = System.Drawing.Color.Black; + glSubItem1.ImageAlignment = System.Windows.Forms.HorizontalAlignment.Left; + glSubItem1.ImageIndex = -1; + glSubItem1.Text = "Betöltés..."; + glSubItem2.BackColor = System.Drawing.Color.Empty; + glSubItem2.Checked = false; + glSubItem2.ForceText = false; + glSubItem2.ForeColor = System.Drawing.Color.Black; + glSubItem2.ImageAlignment = System.Windows.Forms.HorizontalAlignment.Left; + glSubItem2.ImageIndex = -1; + glSubItem2.Text = ""; + glItem1.SubItems.AddRange(new GlacialComponents.Controls.GLSubItem[] { + glSubItem1, + glSubItem2}); + glItem1.Text = "Betöltés..."; + this.contactList.Items.AddRange(new GlacialComponents.Controls.GLItem[] { + glItem1}); + this.contactList.ItemWordWrap = true; + this.contactList.Location = new System.Drawing.Point(0, 133); + this.contactList.Name = "contactList"; + this.contactList.Selectable = true; + this.contactList.SelectedTextColor = System.Drawing.Color.White; + this.contactList.SelectionColor = System.Drawing.Color.DarkBlue; + this.contactList.ShowBorder = false; + this.contactList.ShowFocusRect = false; + this.contactList.Size = new System.Drawing.Size(624, 312); + this.contactList.SortType = GlacialComponents.Controls.SortTypes.InsertionSort; + this.contactList.SuperFlatHeaderColor = System.Drawing.Color.White; + this.contactList.TabIndex = 6; + this.contactList.Text = "contactList"; + this.contactList.DoubleClick += new System.EventHandler(this.OpenSendMessage); + this.contactList.MouseClick += new System.Windows.Forms.MouseEventHandler(this.ContactItemRightClick); + // + // partnerImages + // + this.partnerImages.ColorDepth = System.Windows.Forms.ColorDepth.Depth8Bit; + this.partnerImages.ImageSize = new System.Drawing.Size(16, 16); + this.partnerImages.TransparentColor = System.Drawing.Color.Transparent; + // + // partnerMenu + // + this.partnerMenu.Items.AddRange(new System.Windows.Forms.ToolStripItem[] { + this.üzenetküldésToolStripMenuItem, + this.emailKüldéseemailToolStripMenuItem, + this.toolStripMenuItem2, + this.információToolStripMenuItem, + this.toolStripSeparator14, + this.ismerősLetiltásaToolStripMenuItem, + this.ismerősTörléseToolStripMenuItem1, + this.toolStripSeparator15, + this.becenévSzerkesztéseToolStripMenuItem, + this.toolStripSeparator16, + this.eseményértesitésekToolStripMenuItem, + this.toolStripSeparator17, + this.beszélgetésnaplóMegnyitásaToolStripMenuItem}); + this.partnerMenu.Name = "partnerMenu"; + this.partnerMenu.RenderMode = System.Windows.Forms.ToolStripRenderMode.System; + this.partnerMenu.Size = new System.Drawing.Size(238, 226); + // + // üzenetküldésToolStripMenuItem + // + this.üzenetküldésToolStripMenuItem.Name = "üzenetküldésToolStripMenuItem"; + this.üzenetküldésToolStripMenuItem.Size = new System.Drawing.Size(237, 22); + this.üzenetküldésToolStripMenuItem.Text = "Üzenetküldés"; + this.üzenetküldésToolStripMenuItem.Click += new System.EventHandler(this.OpenSendMessage); + // + // emailKüldéseemailToolStripMenuItem + // + this.emailKüldéseemailToolStripMenuItem.Name = "emailKüldéseemailToolStripMenuItem"; + this.emailKüldéseemailToolStripMenuItem.Size = new System.Drawing.Size(237, 22); + this.emailKüldéseemailToolStripMenuItem.Text = "E-mail küldése (email)"; + // + // toolStripMenuItem2 + // + this.toolStripMenuItem2.Name = "toolStripMenuItem2"; + this.toolStripMenuItem2.Size = new System.Drawing.Size(237, 22); + this.toolStripMenuItem2.Text = "E-mail másolása"; + // + // információToolStripMenuItem + // + this.információToolStripMenuItem.Name = "információToolStripMenuItem"; + this.információToolStripMenuItem.Size = new System.Drawing.Size(237, 22); + this.információToolStripMenuItem.Text = "Információ"; + // + // toolStripSeparator14 + // + this.toolStripSeparator14.Name = "toolStripSeparator14"; + this.toolStripSeparator14.Size = new System.Drawing.Size(234, 6); + // + // ismerősLetiltásaToolStripMenuItem + // + this.ismerősLetiltásaToolStripMenuItem.Name = "ismerősLetiltásaToolStripMenuItem"; + this.ismerősLetiltásaToolStripMenuItem.Size = new System.Drawing.Size(237, 22); + this.ismerősLetiltásaToolStripMenuItem.Text = "Ismerős letiltása"; + // + // ismerősTörléseToolStripMenuItem1 + // + this.ismerősTörléseToolStripMenuItem1.Name = "ismerősTörléseToolStripMenuItem1"; + this.ismerősTörléseToolStripMenuItem1.Size = new System.Drawing.Size(237, 22); + this.ismerősTörléseToolStripMenuItem1.Text = "Ismerős törlése"; + // + // toolStripSeparator15 + // + this.toolStripSeparator15.Name = "toolStripSeparator15"; + this.toolStripSeparator15.Size = new System.Drawing.Size(234, 6); + // + // becenévSzerkesztéseToolStripMenuItem + // + this.becenévSzerkesztéseToolStripMenuItem.Name = "becenévSzerkesztéseToolStripMenuItem"; + this.becenévSzerkesztéseToolStripMenuItem.Size = new System.Drawing.Size(237, 22); + this.becenévSzerkesztéseToolStripMenuItem.Text = "Becenév szerkesztése"; + // + // toolStripSeparator16 + // + this.toolStripSeparator16.Name = "toolStripSeparator16"; + this.toolStripSeparator16.Size = new System.Drawing.Size(234, 6); + // + // eseményértesitésekToolStripMenuItem + // + this.eseményértesitésekToolStripMenuItem.Name = "eseményértesitésekToolStripMenuItem"; + this.eseményértesitésekToolStripMenuItem.Size = new System.Drawing.Size(237, 22); + this.eseményértesitésekToolStripMenuItem.Text = "Eseményértesitések"; + // + // toolStripSeparator17 + // + this.toolStripSeparator17.Name = "toolStripSeparator17"; + this.toolStripSeparator17.Size = new System.Drawing.Size(234, 6); + // + // beszélgetésnaplóMegnyitásaToolStripMenuItem + // + this.beszélgetésnaplóMegnyitásaToolStripMenuItem.Name = "beszélgetésnaplóMegnyitásaToolStripMenuItem"; + this.beszélgetésnaplóMegnyitásaToolStripMenuItem.Size = new System.Drawing.Size(237, 22); + this.beszélgetésnaplóMegnyitásaToolStripMenuItem.Text = "Beszélgetésnapló megnyitása..."; + // + // MainForm + // + this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F); + this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; + this.BackColor = System.Drawing.Color.LightSkyBlue; + this.ClientSize = new System.Drawing.Size(624, 442); + this.Controls.Add(this.contactList); + this.Controls.Add(this.panel2); + this.Controls.Add(this.button1); + this.Controls.Add(this.panel1); + this.Controls.Add(this.menuStrip1); + this.MainMenuStrip = this.menuStrip1; + this.Name = "MainForm"; + this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen; + this.Text = "Live Messenger Plus - MSGer.tk"; + this.FormClosing += new System.Windows.Forms.FormClosingEventHandler(this.BeforeExit); + this.Load += new System.EventHandler(this.OnMainFormLoad); + this.iconMenu.ResumeLayout(false); + this.panel2.ResumeLayout(false); + this.panel2.PerformLayout(); + this.menuStrip1.ResumeLayout(false); + this.menuStrip1.PerformLayout(); + this.partnerMenu.ResumeLayout(false); + this.ResumeLayout(false); + this.PerformLayout(); + + } + + #endregion + + private System.Windows.Forms.NotifyIcon notifyIcon1; + private System.Windows.Forms.MenuStrip menuStrip1; + private System.Windows.Forms.ToolStripMenuItem fájlToolStripMenuItem; + private System.Windows.Forms.ToolStripMenuItem kijelentkezésToolStripMenuItem; + private System.Windows.Forms.ToolStripSeparator toolStripSeparator1; + private System.Windows.Forms.ToolStripMenuItem állapotToolStripMenuItem; + private System.Windows.Forms.ToolStripMenuItem elérhetőToolStripMenuItem; + private System.Windows.Forms.ToolStripMenuItem elfoglaltToolStripMenuItem; + private System.Windows.Forms.ToolStripMenuItem nincsAGépnélToolStripMenuItem; + private System.Windows.Forms.ToolStripMenuItem rejtveKapcsolódikToolStripMenuItem; + private System.Windows.Forms.ToolStripSeparator toolStripSeparator2; + private System.Windows.Forms.ToolStripMenuItem fájlKüldéseToolStripMenuItem; + private System.Windows.Forms.ToolStripMenuItem beérkezettFájlokMappájánakMegnyitásaToolStripMenuItem; + private System.Windows.Forms.ToolStripMenuItem üzenetekElőzményeinekMegtekintéseToolStripMenuItem; + private System.Windows.Forms.ToolStripSeparator toolStripSeparator3; + private System.Windows.Forms.ToolStripMenuItem bezárásToolStripMenuItem; + private System.Windows.Forms.ToolStripSeparator toolStripSeparator4; + private System.Windows.Forms.ToolStripMenuItem kilépésToolStripMenuItem; + private System.Windows.Forms.ToolStripMenuItem ismerősökToolStripMenuItem; + private System.Windows.Forms.ToolStripMenuItem ismerősFelvételeToolStripMenuItem; + private System.Windows.Forms.ToolStripMenuItem ismerősSzerkesztéseToolStripMenuItem; + private System.Windows.Forms.ToolStripMenuItem ismerősTörléseToolStripMenuItem; + private System.Windows.Forms.ToolStripSeparator toolStripSeparator5; + private System.Windows.Forms.ToolStripMenuItem csoportLétrehozásaToolStripMenuItem; + private System.Windows.Forms.ToolStripSeparator toolStripSeparator6; + private System.Windows.Forms.ToolStripMenuItem kategóriaLétrehozásaToolStripMenuItem; + private System.Windows.Forms.ToolStripMenuItem kategóriaSzerkesztéseToolStripMenuItem; + private System.Windows.Forms.ToolStripMenuItem kategóriaTörléseToolStripMenuItem; + private System.Windows.Forms.ToolStripMenuItem műveletekToolStripMenuItem; + private System.Windows.Forms.ToolStripMenuItem azonnaliÜzenetKüldéseToolStripMenuItem; + private System.Windows.Forms.ToolStripMenuItem egyébKüldéseToolStripMenuItem; + private System.Windows.Forms.ToolStripMenuItem emailKüldéseToolStripMenuItem; + private System.Windows.Forms.ToolStripMenuItem fájlKüldéseToolStripMenuItem1; + private System.Windows.Forms.ToolStripSeparator toolStripSeparator7; + private System.Windows.Forms.ToolStripMenuItem ismerősSzámitógépénekFelhivásaToolStripMenuItem; + private System.Windows.Forms.ToolStripMenuItem videóhivásInditásaToolStripMenuItem; + private System.Windows.Forms.ToolStripMenuItem onlineFájlokMegtekintéseToolStripMenuItem; + private System.Windows.Forms.ToolStripMenuItem közösJátékToolStripMenuItem; + private System.Windows.Forms.ToolStripMenuItem távsegitségKéréseToolStripMenuItem; + private System.Windows.Forms.ToolStripMenuItem eszközökToolStripMenuItem; + private System.Windows.Forms.ToolStripMenuItem mindigLegfelülToolStripMenuItem; + private System.Windows.Forms.ToolStripSeparator toolStripSeparator8; + private System.Windows.Forms.ToolStripMenuItem hangulatjelekToolStripMenuItem; + private System.Windows.Forms.ToolStripMenuItem megjelenitendőKépVáltásaToolStripMenuItem; + private System.Windows.Forms.ToolStripMenuItem háttérMódositásaToolStripMenuItem; + private System.Windows.Forms.ToolStripSeparator toolStripSeparator9; + private System.Windows.Forms.ToolStripMenuItem hangokÉsVideóBeállitásaToolStripMenuItem; + private System.Windows.Forms.ToolStripSeparator toolStripSeparator10; + private System.Windows.Forms.ToolStripMenuItem beállitásokToolStripMenuItem; + private System.Windows.Forms.ToolStripMenuItem súgóToolStripMenuItem; + private System.Windows.Forms.ToolStripMenuItem témakörökToolStripMenuItem; + private System.Windows.Forms.ToolStripSeparator toolStripSeparator11; + private System.Windows.Forms.ToolStripMenuItem aSzolgáltatásÁllapotsaToolStripMenuItem; + private System.Windows.Forms.ToolStripMenuItem adatvédelmiNyilatkozatToolStripMenuItem; + private System.Windows.Forms.ToolStripMenuItem használatiFeltételekToolStripMenuItem; + private System.Windows.Forms.ToolStripMenuItem visszaélésBejelentéseToolStripMenuItem; + private System.Windows.Forms.ToolStripSeparator toolStripSeparator12; + private System.Windows.Forms.ToolStripMenuItem segitsenAProgramTökéletesitésébenToolStripMenuItem; + private System.Windows.Forms.ToolStripSeparator toolStripSeparator13; + private System.Windows.Forms.ToolStripMenuItem névjegyToolStripMenuItem; + private System.Windows.Forms.TextBox textBox1; + private System.Windows.Forms.Button button1; + private System.Windows.Forms.Panel panel2; + private System.Windows.Forms.ToolStripMenuItem toolStripMenuItem1; + private System.Windows.Forms.Panel panel1; + private System.Windows.Forms.ImageList partnerImages; + private GlacialComponents.Controls.GlacialList contactList; + private System.Windows.Forms.ContextMenuStrip partnerMenu; + private System.Windows.Forms.ToolStripMenuItem üzenetküldésToolStripMenuItem; + private System.Windows.Forms.ToolStripMenuItem emailKüldéseemailToolStripMenuItem; + private System.Windows.Forms.ToolStripMenuItem toolStripMenuItem2; + private System.Windows.Forms.ToolStripMenuItem információToolStripMenuItem; + private System.Windows.Forms.ToolStripSeparator toolStripSeparator14; + private System.Windows.Forms.ToolStripMenuItem ismerősLetiltásaToolStripMenuItem; + private System.Windows.Forms.ToolStripMenuItem ismerősTörléseToolStripMenuItem1; + private System.Windows.Forms.ToolStripSeparator toolStripSeparator15; + private System.Windows.Forms.ToolStripMenuItem becenévSzerkesztéseToolStripMenuItem; + private System.Windows.Forms.ToolStripSeparator toolStripSeparator16; + private System.Windows.Forms.ToolStripMenuItem eseményértesitésekToolStripMenuItem; + private System.Windows.Forms.ToolStripSeparator toolStripSeparator17; + private System.Windows.Forms.ToolStripMenuItem beszélgetésnaplóMegnyitásaToolStripMenuItem; + private System.Windows.Forms.ToolStripMenuItem toolStripMenuItem3; + private System.Windows.Forms.ContextMenuStrip iconMenu; + private System.Windows.Forms.ToolStripSeparator toolStripSeparator18; + public System.Windows.Forms.ToolStripMenuItem toolStripMenuItem4; + public System.Windows.Forms.ToolStripMenuItem toolStripMenuItem8; + public System.Windows.Forms.ToolStripMenuItem toolStripMenuItem9; + } +} + diff --git a/Most Closed Beta/v9.0/MSGer.tk (C#)/MainForm.cs b/Most Closed Beta/v9.0/MSGer.tk (C#)/MainForm.cs new file mode 100644 index 0000000..96a8e6a --- /dev/null +++ b/Most Closed Beta/v9.0/MSGer.tk (C#)/MainForm.cs @@ -0,0 +1,350 @@ +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; +using System.Net; +using System.IO; +using GlacialComponents.Controls; +using Khendys.Controls; +using System.Threading; +using CustomUIControls; + +namespace MSGer.tk +{ + public partial class MainForm : Form + { + public static LoginForm LoginDialog; + public static Thread LThread; + public static Thread MainThread = null; + public static bool PartnerListThreadActive = true; + public static ToolStripMenuItem SelectPartnerSender = null; + //public static TaskbarNotifier taskbarNotifier; + public static Notifier taskbarNotifier; + public MainForm() + { + InitializeComponent(); + Thread.CurrentThread.Name = "Main Thread"; + contactList.Columns[0].Width = contactList.ItemHeight; //2014.02.28. + //this.Hide(); + toolStripMenuItem4.Enabled = false; //2014.04.12. + toolStripMenuItem8.Enabled = false; //2014.04.12. + if (Settings.Default.windowstate == 1) //2014.04.18. + this.WindowState = FormWindowState.Maximized; + else if (Settings.Default.windowstate == 2) + this.WindowState = FormWindowState.Minimized; + else if (Settings.Default.windowstate == 3) + this.WindowState = FormWindowState.Normal; + try + { + LoginDialog = new LoginForm(); + LoginDialog.ShowDialog(); + } + catch (Exception e) + { + ErrorHandling.FormError(LoginDialog, e); + } + //Nézzük, sikerült-e + if (CurrentUser.UserID != 0) + { + contactList.Enabled = false; //2014.03.05. + MainThread = Thread.CurrentThread; + + // Create the thread object, passing in the Alpha.Beta method + // via a ThreadStart delegate. This does not start the thread. + LThread = new Thread(new ThreadStart(UpdatePartnerList)); + LThread.Name = "Update Partner List"; + + // Start the thread + LThread.Start(); + + /*taskbarNotifier = new TaskbarNotifier(); + //if (File.Exists("skin.bmp")) //Kötelező megadni! + if (!File.Exists("popup-bg.bmp")) + MessageBox.Show("Hiba: Hiányzik a popup-bg.bmp fájl."); + if (!File.Exists("close.bmp")) + MessageBox.Show("Hiba: Hiányzik a close.bmp fájl."); + taskbarNotifier.SetBackgroundBitmap("popup-bg.bmp", + Color.FromArgb(255, 0, 255)); + //if (File.Exists("close.bmp")) //Kötelező megadni! + taskbarNotifier.SetCloseBitmap("close.bmp", + Color.FromArgb(255, 0, 255), new Point(180, 10)); + taskbarNotifier.TitleRectangle = new Rectangle(40, 9, 70, 25); + taskbarNotifier.ContentRectangle = new Rectangle(8, 41, 133, 68); + taskbarNotifier.TitleClick += new EventHandler(PopupClick); + taskbarNotifier.ContentClick += new EventHandler(PopupClick); + taskbarNotifier.CloseClick += new EventHandler(PopupCloseClick); + taskbarNotifier.Show("Bejelentkezés", "Sikeresen bejelentkeztél a programba.", 500, 5000, 500);*/ + + taskbarNotifier = new Notifier("popup-bg.bmp", Color.FromArgb(255, 0, 255), "close.bmp", 5000); + taskbarNotifier.Show("Teszt cím", "Teszt tartalom\nMásodik sor"); + + toolStripMenuItem4.Enabled = true; //2014.04.12. + toolStripMenuItem8.Enabled = true; //2014.04.12. + } + } + + private void PopupCloseClick(object sender, EventArgs e) + { + //throw new NotImplementedException(); + MessageBox.Show("Close"); + } + + private void PopupClick(object sender, EventArgs e) + { + //throw new NotImplementedException(); + MessageBox.Show("Click"); + } + + private void LogoutUser(object sender, EventArgs e) + { + this.Hide(); + toolStripMenuItem4.Enabled = false; //2014.04.12. + toolStripMenuItem8.Enabled = false; //2014.04.12. + SetOnlineState(null, null); //2014.04.11. - Erre nincs beállitva, ezért automatikusan 0-ra, azaz kijelentkeztetettre állítja az állapotát + CurrentUser.UserID = 0; + PartnerListThreadActive = false; + LoginDialog = new LoginForm(); //2014.04.04. + LoginDialog.ShowDialog(); + //Nézzük, sikerült-e + if (CurrentUser.UserID == 0) + Close(); + toolStripMenuItem4.Enabled = true; //2014.04.12. + toolStripMenuItem8.Enabled = true; //2014.04.12. + contactList.Items.Clear(); //2014.03.05. + contactList.Enabled = false; //2014.03.05. + contactList.Items.Add("Betöltés..."); //2014.03.05. + this.Show(); + PartnerListThreadActive = true; //2014.02.28. - Törli, majd újra létrehozza a listafrissitő thread-et, ha újra bejelentkezett + // Create the thread object, passing in the Alpha.Beta method + // via a ThreadStart delegate. This does not start the thread. + LThread = new Thread(new ThreadStart(UpdatePartnerList)); + LThread.Name = "Update Partner List"; + + // Start the thread + LThread.Start(); + } + + private void LoginNewUser(object sender, EventArgs e) + { + System.Diagnostics.Process.Start("MSGer.tk.exe"); + } + + public void SetOnlineState(object sender, EventArgs e) + { + int state = 0; + if (sender == elérhetőToolStripMenuItem) + state = 1; + if (sender == elfoglaltToolStripMenuItem) + state = 2; + if (sender == nincsAGépnélToolStripMenuItem) + state = 3; + if (sender == rejtveKapcsolódikToolStripMenuItem) + state = 4; + //HTTP + if (Networking.SendRequest("setstate", state + "", 0, true) != "Success") + MessageBox.Show("Hiba történt az állapot beállitása során."); + } + + private void SelectPartner(object sender, EventArgs e) + { + SelectPartnerSender = (ToolStripMenuItem)sender; + DialogResult dr = new DialogResult(); + dr = (new SelectPartnerForm()).ShowDialog(); + if (dr == DialogResult.OK) + { + if (SelectPartnerSender == fájlKüldéseToolStripMenuItem) + { + ; + } + if (SelectPartnerSender == azonnaliÜzenetKüldéseToolStripMenuItem) + { + ; + } + } + } + public int UpdateContactList() //2014.03.01. + { + contactList.Refresh(); + contactList.Enabled = true; //2014.03.05. - A thread első futásához kell + return 0; + } + public delegate int MyDelegate(); + public void UpdatePartnerList() + { + while (PartnerListThreadActive && MainThread.IsAlive) + { + string[] row = Networking.SendRequest("getlist", "", 0, true).Split('ͦ'); //Lekéri a listát, és különválogatja egyben - 2014.02.28. + List listViewItem = new List(); + List tmp; + if (Settings.Default.picupdatetime.Length != 0) + tmp = Settings.Default.picupdatetime.Split(',').Select(s => Int32.Parse(s)).ToList(); + else tmp = new List(); + List tmpuser = UserInfo.Partners; + int i = 0; + for (int x = 0; x < row.Length-1; x += 6) //Ezt az egyetlen számot (x+=3) kell módositani, és máris alkalmazkodott a hozzáadott adathoz + { //-1: 2014.04.04. - A végére is odarak egy elválasztó jelet, ami miatt eggyel több elem lesz a tömbben + if (row.Length < 5) //2014.03.19. - Ha nincs ismerőse + break; + for (int y = 0; y < UserInfo.Partners.Count; y++) + { + if(UserInfo.Partners[y]!=null && Int32.Parse(row[x+3])==UserInfo.Partners[y].UserID) //Ha null az értéke, már nem is ellenőrzi a másik feltételt + { //Átrendezi a tömböt az új sorrendbe - Ha változott - 2014.03.07. + tmpuser[i] = UserInfo.Partners[y]; + tmpuser[i].ListID = i; //És elmenti az új helyét - 2014.03.13. + } + } + if(i>=tmpuser.Count) + { + tmpuser.Add(new UserInfo()); + } + tmpuser[i].UserID = Int32.Parse(row[x + 3]); //Beállitja az ID-ket + tmpuser[i].ListID = i; + tmpuser[i].Name = row[x]; + tmpuser[i].Message = row[x + 1]; + tmpuser[i].State = row[x + 2]; + tmpuser[i].UserName = row[x + 4]; + tmpuser[i].Email = row[x + 5]; + string state = ""; + if (row[x + 2] == "1") + state = " (Elérhető)"; + if (row[x + 2] == "2") + state = " (Elfoglalt)"; + if (row[x + 2] == "3") + state = " (Nincs a gépnél)"; + listViewItem.Add(new GLItem()); + PictureBox item = new PictureBox(); + tmpuser[i].PicUpdateTime = tmp[i]; + string imgpath = tmpuser[i].GetImage(); + if (imgpath!="noimage.png" || File.Exists("noimage.png")) //2014.03.13. + item.ImageLocation = imgpath; + else + MessageBox.Show("Az alap profilkép nem található.\nMásold be a noimage.png-t, vagy telepitsd újra a programot.\n(Ez az üzenet minden egyes ismerősödnél megjelenik.)", "Hiba"); + item.SizeMode = PictureBoxSizeMode.StretchImage; + + listViewItem[i].SubItems[0].Control = item; + listViewItem[i].SubItems[1].Text = row[x] + " " + state + "\n" + row[x + 1]; + i++; + } + Settings.Default.picupdatetime = String.Join(",", tmp.Select(ix => ix.ToString()).ToArray()); + UserInfo.Partners = tmpuser; + contactList.Items.Clear(); + try + { + contactList.Items.AddRange(listViewItem.ToArray()); //2014.03.01. - ToArray: 2014.03.21. + } + catch(ObjectDisposedException) + { + break; + } + try + { //Ha már leállt a program, hibát ir + this.Invoke(new MyDelegate(UpdateContactList)); + } + catch (ObjectDisposedException) + { + break; + } + catch (InvalidOperationException) + { + break; + } + Thread.Sleep(5000); + } + } + + private void ClearSearchBar(object sender, EventArgs e) + { + if(textBox1.Text=="Ismerősök keresése...") + textBox1.Clear(); + } + + private void PutTextInSearchBar(object sender, EventArgs e) + { + if (textBox1.Text == "") + textBox1.Text = "Ismerősök keresése..."; + } + public static int RightClickedPartner = -1; + private void ContactItemRightClick(object sender, MouseEventArgs e) + { + if (e.Button != MouseButtons.Right || contactList.HotItemIndex>=contactList.Items.Count) + { //Igy nem reagál arra sem, ha üres területre kattintunk + return; + } + contactList.Items[contactList.HotItemIndex].Selected = true; + RightClickedPartner = contactList.HotItemIndex; + partnerMenu.Show(Cursor.Position); + } + private void OpenSendMessage(object sender, EventArgs e) //2014.03.02. 0:17 + { + int tmp = contactList.HotItemIndex; + if (RightClickedPartner == -1) + RightClickedPartner = tmp; + if (RightClickedPartner == -1 || RightClickedPartner >= contactList.Items.Count) + return; + //Üzenetküldő form + int ChatNum = -1; + for (int i = 0; i < ChatForm.ChatWindows.Count; i++) + { + if (ChatForm.ChatWindows[i].ChatPartners.Count==1 && ChatForm.ChatWindows[i].ChatPartners.Contains(RightClickedPartner)) + { //Vele, és csak vele beszél + ChatNum = i; + break; + } + } + if(ChatNum==-1) + { //Nincs még chatablaka + ChatForm.ChatWindows.Add(new ChatForm()); + ChatForm.ChatWindows[ChatForm.ChatWindows.Count - 1].ChatPartners.Add(RightClickedPartner); + ChatForm.ChatWindows[ChatForm.ChatWindows.Count - 1].Show(); + } + else + { + ChatForm.ChatWindows[ChatNum].Show(); + ChatForm.ChatWindows[ChatNum].Focus(); + } + + RightClickedPartner = -1; + } + + private void OnMainFormLoad(object sender, EventArgs e) + { + if (CurrentUser.UserID == 0) + Program.Exit(); + } + + private void InvitePartner(object sender, EventArgs e) + { + (new InvitePartner()).ShowDialog(); + } + + private void BeforeExit(object sender, FormClosingEventArgs e) + { + e.Cancel = true; + this.Hide(); + } + + private void toolStripMenuItem4_Click(object sender, EventArgs e) + { + if (CurrentUser.UserID != 0) //2014.04.18. + { + this.Show(); + this.Focus(); + } + } + + private void ExitProgram(object sender, EventArgs e) + { + Program.Exit(); + } + + private void ismerősFelvételeToolStripMenuItem_Click(object sender, EventArgs e) + { + (new AddPartner()).ShowDialog(); + } + } +} diff --git a/Most Closed Beta/v9.0/MSGer.tk (C#)/MainForm.resx b/Most Closed Beta/v9.0/MSGer.tk (C#)/MainForm.resx new file mode 100644 index 0000000..4ec6651 --- /dev/null +++ b/Most Closed Beta/v9.0/MSGer.tk (C#)/MainForm.resx @@ -0,0 +1,136 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + WLM 2009 Logo base64-encoded probably - Spent hours on the correct sed command + + + System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + 17, 17 + + + 530, 17 + + + + WLM 2009 Logo base64-encoded probably - Spent hours on the correct sed command + + + 130, 17 + + + 245, 17 + + + 375, 17 + + \ No newline at end of file diff --git a/Most Closed Beta/v9.0/MSGer.tk (C#)/Notifier.Designer.cs b/Most Closed Beta/v9.0/MSGer.tk (C#)/Notifier.Designer.cs new file mode 100644 index 0000000..3bf3a18 --- /dev/null +++ b/Most Closed Beta/v9.0/MSGer.tk (C#)/Notifier.Designer.cs @@ -0,0 +1,96 @@ +namespace MSGer.tk +{ + partial class Notifier + { + /// + /// Required designer variable. + /// + private System.ComponentModel.IContainer components = null; + + /// + /// Clean up any resources being used. + /// + /// true if managed resources should be disposed; otherwise, false. + protected override void Dispose(bool disposing) + { + if (disposing && (components != null)) + { + components.Dispose(); + } + base.Dispose(disposing); + } + + #region Windows Form Designer generated code + + /// + /// Required method for Designer support - do not modify + /// the contents of this method with the code editor. + /// + private void InitializeComponent() + { + this.CloseButton = new System.Windows.Forms.PictureBox(); + this.Title = new System.Windows.Forms.Label(); + this.Content = new System.Windows.Forms.Label(); + ((System.ComponentModel.ISupportInitialize)(this.CloseButton)).BeginInit(); + this.SuspendLayout(); + // + // CloseButton + // + this.CloseButton.Location = new System.Drawing.Point(241, 12); + this.CloseButton.Name = "CloseButton"; + this.CloseButton.Size = new System.Drawing.Size(31, 28); + this.CloseButton.TabIndex = 0; + this.CloseButton.TabStop = false; + // + // Title + // + this.Title.AutoSize = true; + this.Title.Location = new System.Drawing.Point(35, 26); + this.Title.Name = "Title"; + this.Title.Size = new System.Drawing.Size(33, 13); + this.Title.TabIndex = 1; + this.Title.Text = "Teszt"; + // + // Content + // + this.Content.AutoSize = true; + this.Content.Location = new System.Drawing.Point(12, 58); + this.Content.Name = "Content"; + this.Content.Size = new System.Drawing.Size(33, 26); + this.Content.TabIndex = 2; + this.Content.Text = "Teszt\r\nAsd"; + // + // Notifier + // + this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F); + this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; + this.BackColor = System.Drawing.Color.White; + this.ClientSize = new System.Drawing.Size(284, 262); + this.ControlBox = false; + this.Controls.Add(this.Content); + this.Controls.Add(this.Title); + this.Controls.Add(this.CloseButton); + this.Cursor = System.Windows.Forms.Cursors.Hand; + this.ForeColor = System.Drawing.Color.Black; + this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.None; + this.MaximizeBox = false; + this.MinimizeBox = false; + this.Name = "Notifier"; + this.ShowIcon = false; + this.ShowInTaskbar = false; + this.StartPosition = System.Windows.Forms.FormStartPosition.Manual; + this.TopMost = true; + this.WindowState = System.Windows.Forms.FormWindowState.Minimized; + ((System.ComponentModel.ISupportInitialize)(this.CloseButton)).EndInit(); + this.ResumeLayout(false); + this.PerformLayout(); + + } + + #endregion + + private System.Windows.Forms.PictureBox CloseButton; + private System.Windows.Forms.Label Title; + private System.Windows.Forms.Label Content; + } +} \ No newline at end of file diff --git a/Most Closed Beta/v9.0/MSGer.tk (C#)/Notifier.cs b/Most Closed Beta/v9.0/MSGer.tk (C#)/Notifier.cs new file mode 100644 index 0000000..bc6bbd6 --- /dev/null +++ b/Most Closed Beta/v9.0/MSGer.tk (C#)/Notifier.cs @@ -0,0 +1,61 @@ +using System; +using System.Collections.Generic; +using System.ComponentModel; +using System.Data; +using System.Drawing; +using System.IO; +using System.Linq; +using System.Text; +using System.Threading.Tasks; +using System.Windows.Forms; + +namespace MSGer.tk +{ + public partial class Notifier : Form + { //2014.04.15. + private Rectangle WorkAreaRectangle; + private Timer NotifierTimer; + public Notifier(string background, Color TransparentColor, string closebutton, int waittime) //waittime: 2014.04.17. + { + if (!File.Exists(background)) + throw new FileNotFoundException("A megadott háttér nem található."); + if (!File.Exists(closebutton)) + throw new FileNotFoundException("A megadott bezáró ikon nem található."); + InitializeComponent(); + this.BackgroundImage = Image.FromFile(background); + this.TransparencyKey = TransparentColor; + CloseButton.ImageLocation = closebutton; + this.Show(); + this.Hide(); + NotifierTimer = new Timer(); + NotifierTimer.Interval = waittime; + NotifierTimer.Tick += NotifierTimer_Tick; + } + + void NotifierTimer_Tick(object sender, EventArgs e) + { + NotifierTimer.Stop(); + this.Hide(); + } + + public Notifier(Image background, Color TransparentColor, Image closebutton) + { + InitializeComponent(); + this.BackgroundImage = background; + this.TransparencyKey = TransparentColor; + CloseButton.Image = closebutton; + this.Show(); + this.Hide(); + } + public void Show(string title, string content) //(kép) - 2014.04.15. + { + WorkAreaRectangle = Screen.GetWorkingArea(WorkAreaRectangle); //2014.04.17. + Title.Text = title; + Content.Text = content; + this.WindowState = FormWindowState.Normal; + SetBounds(WorkAreaRectangle.Right - BackgroundImage.Width - 17, WorkAreaRectangle.Bottom - 1, BackgroundImage.Width, 0); + this.Show(); + NotifierTimer.Start(); + } + } +} diff --git a/Most Closed Beta/v9.0/MSGer.tk (C#)/Notifier.resx b/Most Closed Beta/v9.0/MSGer.tk (C#)/Notifier.resx new file mode 100644 index 0000000..29dcb1b --- /dev/null +++ b/Most Closed Beta/v9.0/MSGer.tk (C#)/Notifier.resx @@ -0,0 +1,120 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + text/microsoft-resx + + + 2.0 + + + System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + \ No newline at end of file diff --git a/Most Closed Beta/v9.0/MSGer.tk (C#)/Program.cs b/Most Closed Beta/v9.0/MSGer.tk (C#)/Program.cs new file mode 100644 index 0000000..274493a --- /dev/null +++ b/Most Closed Beta/v9.0/MSGer.tk (C#)/Program.cs @@ -0,0 +1,140 @@ +using System; +using System.Collections.Generic; +using System.Globalization; +using System.IO; +using System.Linq; +using System.Net; +using System.Text; +using System.Threading.Tasks; +using System.Windows.Forms; + +namespace MSGer.tk +{ + static class Program + { + /// + /// The main entry point for the application. + /// + public static MainForm MainF; + [STAThread] + static void Main() + { + Application.EnableVisualStyles(); + Application.SetCompatibleTextRenderingDefault(false); + try + { + MainF = new MainForm(); + Application.Run(MainF); + } + catch(FileNotFoundException e) + { + MessageBox.Show("Egy fájl nem található.\nA fájl neve:\n" + e.FileName+"\nEnnél a műveletnél: "+e.TargetSite); + + } + catch(Exception e) + { + ErrorHandling.FormError(MainF, e); + } + } + + private static readonly DateTime Epoch = new DateTime(1970, 1, 1, 0, 0, 0, + DateTimeKind.Utc); + + public static DateTime UnixTimeToDateTime(string text) + { + double seconds = double.Parse(text, CultureInfo.InvariantCulture); + return Epoch.AddSeconds(seconds); + } + + public static void Exit() + { //2014.04.12. + if (MainF != null) + { + MainF.Hide(); + MainF.toolStripMenuItem4.Enabled = false; //2014.04.12. + MainF.toolStripMenuItem8.Enabled = false; //2014.04.12. + if (CurrentUser.UserID != 0) //2014.04.18. + MainF.SetOnlineState(null, null); //2014.04.12. + if (MainF.WindowState == FormWindowState.Maximized) //2014.04.18. + Settings.Default.windowstate = 1; + else if (MainF.WindowState == FormWindowState.Minimized) + Settings.Default.windowstate = 2; + else if (MainF.WindowState == FormWindowState.Normal) + Settings.Default.windowstate = 3; + Settings.Default.Save(); + } + CurrentUser.UserID = 0; + Application.Exit(); + Application.ExitThread(); + MessageBox.Show("Hiba: Nem sikerült leállítani a programot."); + } + } + static class Networking + { + public static string SendRequest(string action, string data, int remnum, bool loggedin) //2014.02.18. + { + //HttpWebRequest httpWReq = + // (HttpWebRequest)WebRequest.Create("http://msger.tk/client.php"); + HttpWebRequest httpWReq = + (HttpWebRequest)WebRequest.Create("http://msger.url.ph/client.php"); + + ASCIIEncoding encoding = new ASCIIEncoding(); + string postData = "action=" + action; + if (loggedin) //2014.03.14. + postData += "&uid=" + CurrentUser.UserID; + postData += "&key=cas1fe4a6feFEFEFE1616CE8099VFE1444cdasf48c1ase5dg"; + if (loggedin) //2014.03.14. + postData += "&code=" + LoginForm.UserCode; //2014.02.13. + postData += "&data=" + Uri.EscapeUriString(data); //2014.02.13. + byte[] datax = encoding.GetBytes(postData); + + httpWReq.Method = "POST"; + httpWReq.ContentType = "application/x-www-form-urlencoded"; + httpWReq.ContentLength = datax.Length; + + using (Stream stream = httpWReq.GetRequestStream()) + { + stream.Write(datax, 0, datax.Length); + } + + //Lista betöltése folyamatban... + + HttpWebResponse response; + + try + { + response = (HttpWebResponse)httpWReq.GetResponse(); + } + catch (Exception e) + { + MessageBox.Show("Hiba az ismerőslista frissítésekor:\n", e.Message); + return SendRequest(action, data, remnum, loggedin); //Újrapróbálkozik + } + string responseString; + responseString = new StreamReader(response.GetResponseStream()).ReadToEnd(); + return responseString; + } + } + class ThreadSetVar + { //2014.04.11. + private Control SetVarTarget; + private string SetVarValue; + private delegate void SetVarDelegate(); + public ThreadSetVar(Control variable, object value, Control sender) + { + if (value is String) + { + SetVarTarget = variable; + SetVarValue = (string)value; + sender.Invoke(new SetVarDelegate(IntThreadSetVar)); + } + } + private void IntThreadSetVar() + { //Belső meghívás + if (SetVarValue is String) + { + SetVarTarget.Text = (string)SetVarValue; + } + } + } +} diff --git a/Most Closed Beta/v9.0/MSGer.tk (C#)/Properties/AssemblyInfo.cs b/Most Closed Beta/v9.0/MSGer.tk (C#)/Properties/AssemblyInfo.cs new file mode 100644 index 0000000..044ccb6 --- /dev/null +++ b/Most Closed Beta/v9.0/MSGer.tk (C#)/Properties/AssemblyInfo.cs @@ -0,0 +1,36 @@ +using System.Reflection; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +// General Information about an assembly is controlled through the following +// set of attributes. Change these attribute values to modify the information +// associated with an assembly. +[assembly: AssemblyTitle("MSGer.tk")] +[assembly: AssemblyDescription("")] +[assembly: AssemblyConfiguration("")] +[assembly: AssemblyCompany("")] +[assembly: AssemblyProduct("MSGer.tk")] +[assembly: AssemblyCopyright("Copyright © 2013")] +[assembly: AssemblyTrademark("")] +[assembly: AssemblyCulture("")] + +// Setting ComVisible to false makes the types in this assembly not visible +// to COM components. If you need to access a type in this assembly from +// COM, set the ComVisible attribute to true on that type. +[assembly: ComVisible(false)] + +// The following GUID is for the ID of the typelib if this project is exposed to COM +[assembly: Guid("d2fdb449-71d7-425e-942b-516005de4cc8")] + +// Version information for an assembly consists of the following four values: +// +// Major Version +// Minor Version +// Build Number +// Revision +// +// You can specify all the values or you can default the Build and Revision Numbers +// by using the '*' as shown below: +// [assembly: AssemblyVersion("1.0.*")] +[assembly: AssemblyVersion("1.0.0.0")] +[assembly: AssemblyFileVersion("1.0.0.0")] diff --git a/Most Closed Beta/v9.0/MSGer.tk (C#)/Properties/Resources.Designer.cs b/Most Closed Beta/v9.0/MSGer.tk (C#)/Properties/Resources.Designer.cs new file mode 100644 index 0000000..4c92e1d --- /dev/null +++ b/Most Closed Beta/v9.0/MSGer.tk (C#)/Properties/Resources.Designer.cs @@ -0,0 +1,103 @@ +//------------------------------------------------------------------------------ +// +// 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. +// +//------------------------------------------------------------------------------ + +namespace MSGer.tk.Properties { + using System; + + + /// + /// A strongly-typed resource class, for looking up localized strings, etc. + /// + // 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 Resources { + + private static global::System.Resources.ResourceManager resourceMan; + + private static global::System.Globalization.CultureInfo resourceCulture; + + [global::System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1811:AvoidUncalledPrivateCode")] + internal Resources() { + } + + /// + /// Returns the cached ResourceManager instance used by this class. + /// + [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("MSGer.tk.Properties.Resources", typeof(Resources).Assembly); + resourceMan = temp; + } + return resourceMan; + } + } + + /// + /// Overrides the current thread's CurrentUICulture property for all + /// resource lookups using this strongly typed resource class. + /// + [global::System.ComponentModel.EditorBrowsableAttribute(global::System.ComponentModel.EditorBrowsableState.Advanced)] + internal static global::System.Globalization.CultureInfo Culture { + get { + return resourceCulture; + } + set { + resourceCulture = value; + } + } + + /// + /// Looks up a localized resource of type System.Drawing.Bitmap. + /// + internal static System.Drawing.Bitmap Blue_Wallpaper_HD { + get { + object obj = ResourceManager.GetObject("Blue-Wallpaper-HD", resourceCulture); + return ((System.Drawing.Bitmap)(obj)); + } + } + + /// + /// Looks up a localized resource of type System.Drawing.Bitmap. + /// + internal static System.Drawing.Bitmap Blue_Wallpaper_HD_2 { + get { + object obj = ResourceManager.GetObject("Blue-Wallpaper-HD 2", resourceCulture); + return ((System.Drawing.Bitmap)(obj)); + } + } + + /// + /// Looks up a localized resource of type System.Drawing.Bitmap. + /// + internal static System.Drawing.Bitmap Keresősáv { + get { + object obj = ResourceManager.GetObject("Keresősáv", resourceCulture); + return ((System.Drawing.Bitmap)(obj)); + } + } + + /// + /// Looks up a localized resource of type System.Drawing.Bitmap. + /// + internal static System.Drawing.Bitmap Menü_2 { + get { + object obj = ResourceManager.GetObject("Menü 2", resourceCulture); + return ((System.Drawing.Bitmap)(obj)); + } + } + } +} diff --git a/Most Closed Beta/v9.0/MSGer.tk (C#)/Properties/Resources.resx b/Most Closed Beta/v9.0/MSGer.tk (C#)/Properties/Resources.resx new file mode 100644 index 0000000..7ac27db --- /dev/null +++ b/Most Closed Beta/v9.0/MSGer.tk (C#)/Properties/Resources.resx @@ -0,0 +1,133 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + text/microsoft-resx + + + 2.0 + + + System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + + ..\Resources\Keresősáv.jpg;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a + + + ..\Resources\Blue-Wallpaper-HD 21.jpg;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a + + + ..\Resources\Menü 22.jpg;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a + + + ..\Resources\Blue-Wallpaper-HD1.jpg;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a + + \ No newline at end of file diff --git a/Most Closed Beta/v9.0/MSGer.tk (C#)/Properties/Settings.Designer.cs b/Most Closed Beta/v9.0/MSGer.tk (C#)/Properties/Settings.Designer.cs new file mode 100644 index 0000000..c795cd2 --- /dev/null +++ b/Most Closed Beta/v9.0/MSGer.tk (C#)/Properties/Settings.Designer.cs @@ -0,0 +1,30 @@ +//------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// Runtime Version:4.0.30319.17929 +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +//------------------------------------------------------------------------------ + +namespace MSGer.tk.Properties +{ + + + [global::System.Runtime.CompilerServices.CompilerGeneratedAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.VisualStudio.Editors.SettingsDesigner.SettingsSingleFileGenerator", "11.0.0.0")] + internal sealed partial class Settings : global::System.Configuration.ApplicationSettingsBase + { + + private static Settings defaultInstance = ((Settings)(global::System.Configuration.ApplicationSettingsBase.Synchronized(new Settings()))); + + public static Settings Default + { + get + { + return defaultInstance; + } + } + } +} diff --git a/Most Closed Beta/v9.0/MSGer.tk (C#)/Properties/Settings.settings b/Most Closed Beta/v9.0/MSGer.tk (C#)/Properties/Settings.settings new file mode 100644 index 0000000..abf36c5 --- /dev/null +++ b/Most Closed Beta/v9.0/MSGer.tk (C#)/Properties/Settings.settings @@ -0,0 +1,7 @@ + + + + + + + diff --git a/Most Closed Beta/v9.0/MSGer.tk (C#)/Resources/Blue-Wallpaper-HD 2.jpg b/Most Closed Beta/v9.0/MSGer.tk (C#)/Resources/Blue-Wallpaper-HD 2.jpg new file mode 100644 index 0000000..2cf5782 Binary files /dev/null and b/Most Closed Beta/v9.0/MSGer.tk (C#)/Resources/Blue-Wallpaper-HD 2.jpg differ diff --git a/Most Closed Beta/v9.0/MSGer.tk (C#)/Resources/Blue-Wallpaper-HD 21.jpg b/Most Closed Beta/v9.0/MSGer.tk (C#)/Resources/Blue-Wallpaper-HD 21.jpg new file mode 100644 index 0000000..2cf5782 Binary files /dev/null and b/Most Closed Beta/v9.0/MSGer.tk (C#)/Resources/Blue-Wallpaper-HD 21.jpg differ diff --git a/Most Closed Beta/v9.0/MSGer.tk (C#)/Resources/Blue-Wallpaper-HD.jpg b/Most Closed Beta/v9.0/MSGer.tk (C#)/Resources/Blue-Wallpaper-HD.jpg new file mode 100644 index 0000000..38e9cbc Binary files /dev/null and b/Most Closed Beta/v9.0/MSGer.tk (C#)/Resources/Blue-Wallpaper-HD.jpg differ diff --git a/Most Closed Beta/v9.0/MSGer.tk (C#)/Resources/Blue-Wallpaper-HD1.jpg b/Most Closed Beta/v9.0/MSGer.tk (C#)/Resources/Blue-Wallpaper-HD1.jpg new file mode 100644 index 0000000..38e9cbc Binary files /dev/null and b/Most Closed Beta/v9.0/MSGer.tk (C#)/Resources/Blue-Wallpaper-HD1.jpg differ diff --git a/Most Closed Beta/v9.0/MSGer.tk (C#)/Resources/Keresősáv.jpg b/Most Closed Beta/v9.0/MSGer.tk (C#)/Resources/Keresősáv.jpg new file mode 100644 index 0000000..f54cf78 Binary files /dev/null and b/Most Closed Beta/v9.0/MSGer.tk (C#)/Resources/Keresősáv.jpg differ diff --git a/Most Closed Beta/v9.0/MSGer.tk (C#)/Resources/Menü 2.jpg b/Most Closed Beta/v9.0/MSGer.tk (C#)/Resources/Menü 2.jpg new file mode 100644 index 0000000..d4b1794 Binary files /dev/null and b/Most Closed Beta/v9.0/MSGer.tk (C#)/Resources/Menü 2.jpg differ diff --git a/Most Closed Beta/v9.0/MSGer.tk (C#)/Resources/Menü 21.jpg b/Most Closed Beta/v9.0/MSGer.tk (C#)/Resources/Menü 21.jpg new file mode 100644 index 0000000..d4b1794 Binary files /dev/null and b/Most Closed Beta/v9.0/MSGer.tk (C#)/Resources/Menü 21.jpg differ diff --git a/Most Closed Beta/v9.0/MSGer.tk (C#)/Resources/Menü 22.jpg b/Most Closed Beta/v9.0/MSGer.tk (C#)/Resources/Menü 22.jpg new file mode 100644 index 0000000..d4b1794 Binary files /dev/null and b/Most Closed Beta/v9.0/MSGer.tk (C#)/Resources/Menü 22.jpg differ diff --git a/Most Closed Beta/v9.0/MSGer.tk (C#)/Resources/Menü 3.jpg b/Most Closed Beta/v9.0/MSGer.tk (C#)/Resources/Menü 3.jpg new file mode 100644 index 0000000..a021f2f Binary files /dev/null and b/Most Closed Beta/v9.0/MSGer.tk (C#)/Resources/Menü 3.jpg differ diff --git a/Most Closed Beta/v9.0/MSGer.tk (C#)/SelectPartnerForm.Designer.cs b/Most Closed Beta/v9.0/MSGer.tk (C#)/SelectPartnerForm.Designer.cs new file mode 100644 index 0000000..578fd72 --- /dev/null +++ b/Most Closed Beta/v9.0/MSGer.tk (C#)/SelectPartnerForm.Designer.cs @@ -0,0 +1,180 @@ +namespace MSGer.tk +{ + partial class SelectPartnerForm + { + /// + /// Required designer variable. + /// + private System.ComponentModel.IContainer components = null; + + /// + /// Clean up any resources being used. + /// + /// true if managed resources should be disposed; otherwise, false. + protected override void Dispose(bool disposing) + { + if (disposing && (components != null)) + { + components.Dispose(); + } + base.Dispose(disposing); + } + + #region Windows Form Designer generated code + + /// + /// Required method for Designer support - do not modify + /// the contents of this method with the code editor. + /// + private void InitializeComponent() + { + GlacialComponents.Controls.GLColumn glColumn1 = new GlacialComponents.Controls.GLColumn(); + GlacialComponents.Controls.GLItem glItem1 = new GlacialComponents.Controls.GLItem(); + GlacialComponents.Controls.GLSubItem glSubItem1 = new GlacialComponents.Controls.GLSubItem(); + this.partnerList = new GlacialComponents.Controls.GlacialList(); + this.selectedPartners = new System.Windows.Forms.TextBox(); + this.okbtn = new System.Windows.Forms.Button(); + this.cancelbtn = new System.Windows.Forms.Button(); + this.titleText = new System.Windows.Forms.Label(); + this.SuspendLayout(); + // + // partnerList + // + this.partnerList.AllowColumnResize = false; + this.partnerList.AllowMultiselect = true; + this.partnerList.AlternateBackground = System.Drawing.Color.DarkGreen; + this.partnerList.AlternatingColors = false; + this.partnerList.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.partnerList.AutoHeight = true; + this.partnerList.BackColor = System.Drawing.SystemColors.ControlLightLight; + this.partnerList.BackgroundStretchToFit = true; + glColumn1.ActivatedEmbeddedType = GlacialComponents.Controls.GLActivatedEmbeddedTypes.None; + glColumn1.CheckBoxes = true; + glColumn1.ImageIndex = -1; + glColumn1.Name = "PartnerName"; + glColumn1.NumericSort = false; + glColumn1.Text = ""; + glColumn1.TextAlignment = System.Drawing.ContentAlignment.MiddleLeft; + glColumn1.Width = 100; + this.partnerList.Columns.AddRange(new GlacialComponents.Controls.GLColumn[] { + glColumn1}); + this.partnerList.ControlStyle = GlacialComponents.Controls.GLControlStyles.Normal; + this.partnerList.ForeColor = System.Drawing.Color.Black; + this.partnerList.FullRowSelect = true; + this.partnerList.GridColor = System.Drawing.Color.LightGray; + this.partnerList.GridLines = GlacialComponents.Controls.GLGridLines.gridBoth; + this.partnerList.GridLineStyle = GlacialComponents.Controls.GLGridLineStyles.gridNone; + this.partnerList.GridTypes = GlacialComponents.Controls.GLGridTypes.gridOnExists; + this.partnerList.HeaderHeight = 0; + this.partnerList.HeaderVisible = false; + this.partnerList.HeaderWordWrap = false; + this.partnerList.HotColumnTracking = false; + this.partnerList.HotItemTracking = true; + this.partnerList.HotTrackingColor = System.Drawing.Color.LightGray; + this.partnerList.HoverEvents = false; + this.partnerList.HoverTime = 1; + this.partnerList.ImageList = null; + this.partnerList.ItemHeight = 17; + glItem1.BackColor = System.Drawing.Color.White; + glItem1.ForeColor = System.Drawing.Color.Black; + glItem1.RowBorderColor = System.Drawing.Color.Black; + glItem1.RowBorderSize = 0; + glSubItem1.BackColor = System.Drawing.Color.Empty; + glSubItem1.Checked = false; + glSubItem1.ForceText = false; + glSubItem1.ForeColor = System.Drawing.Color.Black; + glSubItem1.ImageAlignment = System.Windows.Forms.HorizontalAlignment.Left; + glSubItem1.ImageIndex = -1; + glSubItem1.Text = "Test"; + glItem1.SubItems.AddRange(new GlacialComponents.Controls.GLSubItem[] { + glSubItem1}); + glItem1.Text = "Test"; + this.partnerList.Items.AddRange(new GlacialComponents.Controls.GLItem[] { + glItem1}); + this.partnerList.ItemWordWrap = false; + this.partnerList.Location = new System.Drawing.Point(13, 26); + this.partnerList.Name = "partnerList"; + this.partnerList.Selectable = true; + this.partnerList.SelectedTextColor = System.Drawing.Color.White; + this.partnerList.SelectionColor = System.Drawing.Color.DarkBlue; + this.partnerList.ShowBorder = true; + this.partnerList.ShowFocusRect = true; + this.partnerList.Size = new System.Drawing.Size(359, 286); + this.partnerList.SortType = GlacialComponents.Controls.SortTypes.InsertionSort; + this.partnerList.SuperFlatHeaderColor = System.Drawing.Color.White; + this.partnerList.TabIndex = 0; + this.partnerList.Click += new System.EventHandler(this.ItemClicked); + this.partnerList.DoubleClick += new System.EventHandler(this.ItemDoubleClick); + // + // selectedPartners + // + this.selectedPartners.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left) + | System.Windows.Forms.AnchorStyles.Right))); + this.selectedPartners.Location = new System.Drawing.Point(13, 319); + this.selectedPartners.Multiline = true; + this.selectedPartners.Name = "selectedPartners"; + this.selectedPartners.Size = new System.Drawing.Size(359, 103); + this.selectedPartners.TabIndex = 1; + // + // okbtn + // + this.okbtn.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right))); + this.okbtn.DialogResult = System.Windows.Forms.DialogResult.OK; + this.okbtn.Location = new System.Drawing.Point(215, 428); + this.okbtn.Name = "okbtn"; + this.okbtn.Size = new System.Drawing.Size(75, 23); + this.okbtn.TabIndex = 2; + this.okbtn.Text = "OK"; + this.okbtn.UseVisualStyleBackColor = true; + this.okbtn.Click += new System.EventHandler(this.okbtn_Click); + // + // cancelbtn + // + this.cancelbtn.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right))); + this.cancelbtn.DialogResult = System.Windows.Forms.DialogResult.Cancel; + this.cancelbtn.Location = new System.Drawing.Point(297, 429); + this.cancelbtn.Name = "cancelbtn"; + this.cancelbtn.Size = new System.Drawing.Size(75, 23); + this.cancelbtn.TabIndex = 3; + this.cancelbtn.Text = "Mégse"; + this.cancelbtn.UseVisualStyleBackColor = true; + // + // titleText + // + this.titleText.AutoSize = true; + this.titleText.Location = new System.Drawing.Point(13, 7); + this.titleText.Name = "titleText"; + this.titleText.Size = new System.Drawing.Size(53, 13); + this.titleText.TabIndex = 4; + this.titleText.Text = "Unknown"; + // + // SelectPartnerForm + // + this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F); + this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; + this.BackColor = System.Drawing.Color.LightSkyBlue; + this.ClientSize = new System.Drawing.Size(384, 462); + this.Controls.Add(this.titleText); + this.Controls.Add(this.cancelbtn); + this.Controls.Add(this.okbtn); + this.Controls.Add(this.selectedPartners); + this.Controls.Add(this.partnerList); + this.Name = "SelectPartnerForm"; + this.Text = "Partnerválasztás"; + this.ResizeEnd += new System.EventHandler(this.FormResizeFinish); + this.ResumeLayout(false); + this.PerformLayout(); + + } + + #endregion + + private GlacialComponents.Controls.GlacialList partnerList; + private System.Windows.Forms.TextBox selectedPartners; + private System.Windows.Forms.Button okbtn; + private System.Windows.Forms.Button cancelbtn; + private System.Windows.Forms.Label titleText; + } +} \ No newline at end of file diff --git a/Most Closed Beta/v9.0/MSGer.tk (C#)/SelectPartnerForm.cs b/Most Closed Beta/v9.0/MSGer.tk (C#)/SelectPartnerForm.cs new file mode 100644 index 0000000..c168cb4 --- /dev/null +++ b/Most Closed Beta/v9.0/MSGer.tk (C#)/SelectPartnerForm.cs @@ -0,0 +1,132 @@ +using GlacialComponents.Controls; +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 SelectPartnerForm : Form + { + public SelectPartnerForm() + { + InitializeComponent(); + //this.Text = MainForm.SelectPartnerSender.ToString(); + //titleText.Text = MainForm.SelectPartnerSender.ToString(); + this.Text = MainForm.SelectPartnerSender.Text; //2014.02.28. + titleText.Text = MainForm.SelectPartnerSender.Text; + + partnerList.Items.Clear(); + //for (int x = 0; x < 1024; x++) + for (int x = 0; x < UserInfo.Partners.Count; x++) //Partners + { + //MessageBox.Show(x + ""); + try + { + //MessageBox.Show("Hozzáadás"); + //GLItem item = new GLItem(partnerList); + //item.Text = UserInfo.Partners[x].Name; + partnerList.Items.Add(UserInfo.Partners[x].UserName); + //MessageBox.Show("Hozzáadva"); + } + catch (NullReferenceException) + { + break; + } + catch (Exception e) + { + MessageBox.Show(e.Message); + break; + } + } + partnerList.Columns[0].Width = partnerList.ClientSize.Width-5; + } + + private void FormResizeFinish(object sender, EventArgs e) + { + partnerList.Columns[0].Width = partnerList.ClientSize.Width-5; + } + + private void ItemClicked(object sender, EventArgs e) + { + for (int i = 0; i < partnerList.Items.Count; i++) + { + if(partnerList.Items[i].SubItems[0].Checked) + { + int p = selectedPartners.Text.IndexOf(partnerList.Items[i].SubItems[0].Text + ";"); + if (p == -1) + { + /*if (selectedPartners.Text.Length != 0) + selectedPartners.Text += "; " + partnerList.Items[i].SubItems[0].Text; + else + selectedPartners.Text = partnerList.Items[i].SubItems[0].Text;*/ + selectedPartners.Text += partnerList.Items[i].SubItems[0].Text + ";"; + } + } + else + { + //MessageBox.Show(selectedPartners.Text.IndexOf(partnerList.Items[i].SubItems[0].Text)+""); + int p = selectedPartners.Text.IndexOf(partnerList.Items[i].SubItems[0].Text + ";"); + if (p != -1) //Eltávolitja a nem kiválasztott partner előfordulását a listából - Megcsinálom visszafelé is + selectedPartners.Text = selectedPartners.Text.Remove(p, partnerList.Items[i].SubItems[0].Text.Length+1); //Eltávolitja a ;-t is + } + } + } + + private void ItemDoubleClick(object sender, EventArgs e) + { + int a = partnerList.HotItemIndex; + //MessageBox.Show("DoubleClick"); + if (partnerList.Items[a].SubItems[0].Checked) + partnerList.Items[a].SubItems[0].Checked = false; + else + partnerList.Items[a].SubItems[0].Checked = true; + ItemClicked(sender, e); + } + + private void okbtn_Click(object sender, EventArgs e) + { + /*for (int i = 0; i < partnerList.Items.Count; i++) + { + if (partnerList.Items[i].SubItems[0].Checked) + { + //if (UserInfo.Partners[i].ChatWindow.MultiChat != null && true) + // ; //Át kell gondolnom a rendszert a többfelhasználós chat miatt - 2014.03.21. + } + }*/ + while(selectedPartners.Text.Contains(' ')) + { //Eltávolitja a szóközöket + int x=selectedPartners.Text.IndexOf(' '); + selectedPartners.Text.Remove(x, 1); + } + string[] partners = selectedPartners.Text.Split(';'); + ChatForm tmpchat = new ChatForm(); + for (int i = 0; i < partners.Length; i++) + { + if (partners[i] != "") //2014.04.17. + { + for (int j = 0; j < UserInfo.Partners.Count; j++) + { + int tmp; //2014.04.17. + if (!Int32.TryParse(partners[i], out tmp)) + tmp = -1; + if (UserInfo.Partners[j].UserName == partners[i] || UserInfo.Partners[j].Email == partners[i] || UserInfo.Partners[j].UserID == tmp) + { //Egyezik a név, E-mail vagy ID - UserName: 2014.04.17. + tmpchat.ChatPartners.Add(j); //A Partners-beli indexét adja meg + } + } + } + } + if (tmpchat.ChatPartners.Count != 0) + { + ChatForm.ChatWindows.Add(tmpchat); + tmpchat.Show(); + } + } + } +} diff --git a/Most Closed Beta/v9.0/MSGer.tk (C#)/SelectPartnerForm.resx b/Most Closed Beta/v9.0/MSGer.tk (C#)/SelectPartnerForm.resx new file mode 100644 index 0000000..29dcb1b --- /dev/null +++ b/Most Closed Beta/v9.0/MSGer.tk (C#)/SelectPartnerForm.resx @@ -0,0 +1,120 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + text/microsoft-resx + + + 2.0 + + + System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + \ No newline at end of file diff --git a/Most Closed Beta/v9.0/MSGer.tk (C#)/Settings.Designer.cs b/Most Closed Beta/v9.0/MSGer.tk (C#)/Settings.Designer.cs new file mode 100644 index 0000000..277ffd5 --- /dev/null +++ b/Most Closed Beta/v9.0/MSGer.tk (C#)/Settings.Designer.cs @@ -0,0 +1,62 @@ +//------------------------------------------------------------------------------ +// +// 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. +// +//------------------------------------------------------------------------------ + +namespace MSGer.tk { + + + [global::System.Runtime.CompilerServices.CompilerGeneratedAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.VisualStudio.Editors.SettingsDesigner.SettingsSingleFileGenerator", "12.0.0.0")] + internal sealed partial class Settings : global::System.Configuration.ApplicationSettingsBase { + + private static Settings defaultInstance = ((Settings)(global::System.Configuration.ApplicationSettingsBase.Synchronized(new Settings()))); + + public static Settings Default { + get { + return defaultInstance; + } + } + + [global::System.Configuration.UserScopedSettingAttribute()] + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.Configuration.DefaultSettingValueAttribute("")] + public string email { + get { + return ((string)(this["email"])); + } + set { + this["email"] = value; + } + } + + [global::System.Configuration.UserScopedSettingAttribute()] + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.Configuration.DefaultSettingValueAttribute("")] + public string picupdatetime { + get { + return ((string)(this["picupdatetime"])); + } + set { + this["picupdatetime"] = value; + } + } + + [global::System.Configuration.UserScopedSettingAttribute()] + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.Configuration.DefaultSettingValueAttribute("0")] + public int windowstate { + get { + return ((int)(this["windowstate"])); + } + set { + this["windowstate"] = value; + } + } + } +} diff --git a/Most Closed Beta/v9.0/MSGer.tk (C#)/Settings.cs b/Most Closed Beta/v9.0/MSGer.tk (C#)/Settings.cs new file mode 100644 index 0000000..2cae8b2 --- /dev/null +++ b/Most Closed Beta/v9.0/MSGer.tk (C#)/Settings.cs @@ -0,0 +1,28 @@ +namespace MSGer.tk { + + + // This class allows you to handle specific events on the settings class: + // The SettingChanging event is raised before a setting's value is changed. + // The PropertyChanged event is raised after a setting's value is changed. + // The SettingsLoaded event is raised after the setting values are loaded. + // The SettingsSaving event is raised before the setting values are saved. + internal sealed partial class Settings { + + public Settings() { + // // To add event handlers for saving and changing settings, uncomment the lines below: + // + // this.SettingChanging += this.SettingChangingEventHandler; + // + // this.SettingsSaving += this.SettingsSavingEventHandler; + // + } + + private void SettingChangingEventHandler(object sender, System.Configuration.SettingChangingEventArgs e) { + // Add code to handle the SettingChangingEvent event here. + } + + private void SettingsSavingEventHandler(object sender, System.ComponentModel.CancelEventArgs e) { + // Add code to handle the SettingsSaving event here. + } + } +} diff --git a/Most Closed Beta/v9.0/MSGer.tk (C#)/Settings.settings b/Most Closed Beta/v9.0/MSGer.tk (C#)/Settings.settings new file mode 100644 index 0000000..7e8e103 --- /dev/null +++ b/Most Closed Beta/v9.0/MSGer.tk (C#)/Settings.settings @@ -0,0 +1,15 @@ + + + + + + + + + + + + 0 + + + \ No newline at end of file diff --git a/Most Closed Beta/v9.0/MSGer.tk (C#)/TaskbarNotifier.cs b/Most Closed Beta/v9.0/MSGer.tk (C#)/TaskbarNotifier.cs new file mode 100644 index 0000000..d5c9b1c --- /dev/null +++ b/Most Closed Beta/v9.0/MSGer.tk (C#)/TaskbarNotifier.cs @@ -0,0 +1,774 @@ +// C# TaskbarNotifier Class v1.0 +// by John O'Byrne - 02 december 2002 +// 01 april 2003 : Small fix in the OnMouseUp handler +// 11 january 2003 : Patrick Vanden Driessche added a few enhancements +// Small Enhancements/Bugfix +// Small bugfix: When Content text measures larger than the corresponding ContentRectangle +// the focus rectangle was not correctly drawn. This has been solved. +// Added KeepVisibleOnMouseOver +// Added ReShowOnMouseOver +// Added If the Title or Content are too long to fit in the corresponding Rectangles, +// the text is truncateed and the ellipses are appended (StringTrimming). + +using System; +using System.Drawing; +using System.Drawing.Imaging; +using System.Drawing.Drawing2D; +using System.Windows.Forms; +using System.Runtime.InteropServices; + +namespace CustomUIControls +{ + /// + /// TaskbarNotifier allows to display MSN style/Skinned instant messaging popups + /// + public class TaskbarNotifier : System.Windows.Forms.Form + { + #region TaskbarNotifier Protected Members + protected Bitmap BackgroundBitmap = null; + protected Bitmap CloseBitmap = null; + protected Point CloseBitmapLocation; + protected Size CloseBitmapSize; + protected Rectangle RealTitleRectangle; + protected Rectangle RealContentRectangle; + protected Rectangle WorkAreaRectangle; + protected Timer timer = new Timer(); + protected TaskbarStates taskbarState = TaskbarStates.hidden; + protected string titleText; + protected string contentText; + protected Color normalTitleColor = Color.FromArgb(255,0,0); + protected Color hoverTitleColor = Color.FromArgb(255,0,0); + protected Color normalContentColor = Color.FromArgb(0,0,0); + protected Color hoverContentColor = Color.FromArgb(0,0,0x66); + protected Font normalTitleFont = new Font("Arial",12,FontStyle.Regular,GraphicsUnit.Pixel); + protected Font hoverTitleFont = new Font("Arial",12,FontStyle.Bold,GraphicsUnit.Pixel); + protected Font normalContentFont = new Font("Arial",11,FontStyle.Regular,GraphicsUnit.Pixel); + protected Font hoverContentFont = new Font("Arial",11,FontStyle.Regular,GraphicsUnit.Pixel); + protected int nShowEvents; + protected int nHideEvents; + protected int nVisibleEvents; + protected int nIncrementShow; + protected int nIncrementHide; + protected bool bIsMouseOverPopup = false; + protected bool bIsMouseOverClose = false; + protected bool bIsMouseOverContent = false; + protected bool bIsMouseOverTitle = false; + protected bool bIsMouseDown = false; + protected bool bKeepVisibleOnMouseOver = true; // Added Rev 002 + protected bool bReShowOnMouseOver = false; // Added Rev 002 + #endregion + + #region TaskbarNotifier Public Members + public Rectangle TitleRectangle; + public Rectangle ContentRectangle; + public bool TitleClickable = false; + public bool ContentClickable = true; + public bool CloseClickable = true; + public bool EnableSelectionRectangle = true; + public event EventHandler CloseClick = null; + public event EventHandler TitleClick = null; + public event EventHandler ContentClick = null; + #endregion + + #region TaskbarNotifier Enums + /// + /// List of the different popup animation status + /// + public enum TaskbarStates + { + hidden = 0, + appearing = 1, + visible = 2, + disappearing = 3 + } + #endregion + + #region TaskbarNotifier Constructor + /// + /// The Constructor for TaskbarNotifier + /// + public TaskbarNotifier() + { + // Window Style + FormBorderStyle = FormBorderStyle.None; + WindowState = FormWindowState.Minimized; + base.Show(); + base.Hide(); + WindowState = FormWindowState.Normal; + ShowInTaskbar = false; + TopMost = true; + MaximizeBox = false; + MinimizeBox = false; + ControlBox = false; + + timer.Enabled = true; + timer.Tick += new EventHandler(OnTimer); + } + #endregion + + #region TaskbarNotifier Properties + /// + /// Get the current TaskbarState (hidden, showing, visible, hiding) + /// + public TaskbarStates TaskbarState + { + get + { + return taskbarState; + } + } + + /// + /// Get/Set the popup Title Text + /// + public string TitleText + { + get + { + return titleText; + } + set + { + titleText=value; + Refresh(); + } + } + + /// + /// Get/Set the popup Content Text + /// + public string ContentText + { + get + { + return contentText; + } + set + { + contentText=value; + Refresh(); + } + } + + /// + /// Get/Set the Normal Title Color + /// + public Color NormalTitleColor + { + get + { + return normalTitleColor; + } + set + { + normalTitleColor = value; + Refresh(); + } + } + + /// + /// Get/Set the Hover Title Color + /// + public Color HoverTitleColor + { + get + { + return hoverTitleColor; + } + set + { + hoverTitleColor = value; + Refresh(); + } + } + + /// + /// Get/Set the Normal Content Color + /// + public Color NormalContentColor + { + get + { + return normalContentColor; + } + set + { + normalContentColor = value; + Refresh(); + } + } + + /// + /// Get/Set the Hover Content Color + /// + public Color HoverContentColor + { + get + { + return hoverContentColor; + } + set + { + hoverContentColor = value; + Refresh(); + } + } + + /// + /// Get/Set the Normal Title Font + /// + public Font NormalTitleFont + { + get + { + return normalTitleFont; + } + set + { + normalTitleFont = value; + Refresh(); + } + } + + /// + /// Get/Set the Hover Title Font + /// + public Font HoverTitleFont + { + get + { + return hoverTitleFont; + } + set + { + hoverTitleFont = value; + Refresh(); + } + } + + /// + /// Get/Set the Normal Content Font + /// + public Font NormalContentFont + { + get + { + return normalContentFont; + } + set + { + normalContentFont = value; + Refresh(); + } + } + + /// + /// Get/Set the Hover Content Font + /// + public Font HoverContentFont + { + get + { + return hoverContentFont; + } + set + { + hoverContentFont = value; + Refresh(); + } + } + + /// + /// Indicates if the popup should remain visible when the mouse pointer is over it. + /// Added Rev 002 + /// + public bool KeepVisibleOnMousOver + { + get + { + return bKeepVisibleOnMouseOver; + } + set + { + bKeepVisibleOnMouseOver=value; + } + } + + /// + /// Indicates if the popup should appear again when mouse moves over it while it's disappearing. + /// Added Rev 002 + /// + public bool ReShowOnMouseOver + { + get + { + return bReShowOnMouseOver; + } + set + { + bReShowOnMouseOver=value; + } + } + + #endregion + + #region TaskbarNotifier Public Methods + //[DllImport("user32.dll")] + //private static extern Boolean ShowWindow(IntPtr hWnd,Int32 nCmdShow); + /// + /// Displays the popup for a certain amount of time + /// + /// The string which will be shown as the title of the popup + /// The string which will be shown as the content of the popup + /// Duration of the showing animation (in milliseconds) + /// Duration of the visible state before collapsing (in milliseconds) + /// Duration of the hiding animation (in milliseconds) + /// Nothing + public void Show(string strTitle, string strContent, int nTimeToShow, int nTimeToStay, int nTimeToHide) + { + WorkAreaRectangle = Screen.GetWorkingArea(WorkAreaRectangle); + titleText = strTitle; + contentText = strContent; + nVisibleEvents = nTimeToStay; + CalculateMouseRectangles(); + + // We calculate the pixel increment and the timer value for the showing animation + int nEvents; + if (nTimeToShow > 10) + { + nEvents = Math.Min((nTimeToShow / 10), BackgroundBitmap.Height); + nShowEvents = nTimeToShow / nEvents; + nIncrementShow = BackgroundBitmap.Height / nEvents; + } + else + { + nShowEvents = 10; + nIncrementShow = BackgroundBitmap.Height; + } + + // We calculate the pixel increment and the timer value for the hiding animation + if( nTimeToHide > 10) + { + nEvents = Math.Min((nTimeToHide / 10), BackgroundBitmap.Height); + nHideEvents = nTimeToHide / nEvents; + nIncrementHide = BackgroundBitmap.Height / nEvents; + } + else + { + nHideEvents = 10; + nIncrementHide = BackgroundBitmap.Height; + } + + switch (taskbarState) + { + case TaskbarStates.hidden: + taskbarState = TaskbarStates.appearing; + SetBounds(WorkAreaRectangle.Right-BackgroundBitmap.Width-17, WorkAreaRectangle.Bottom-1, BackgroundBitmap.Width, 0); + timer.Interval = nShowEvents; + timer.Start(); + // We Show the popup without stealing focus + //ShowWindow(this.Handle, 4); + Show(); //2014.04.13. + break; + + case TaskbarStates.appearing: + Refresh(); + break; + + case TaskbarStates.visible: + timer.Stop(); + timer.Interval = nVisibleEvents; + timer.Start(); + Refresh(); + break; + + case TaskbarStates.disappearing: + timer.Stop(); + taskbarState = TaskbarStates.visible; + SetBounds(WorkAreaRectangle.Right-BackgroundBitmap.Width-17, WorkAreaRectangle.Bottom-BackgroundBitmap.Height-1, BackgroundBitmap.Width, BackgroundBitmap.Height); + timer.Interval = nVisibleEvents; + timer.Start(); + Refresh(); + break; + } + } + + /// + /// Hides the popup + /// + /// Nothing + public new void Hide() + { + if (taskbarState != TaskbarStates.hidden) + { + timer.Stop(); + taskbarState = TaskbarStates.hidden; + base.Hide(); + } + } + + /// + /// Sets the background bitmap and its transparency color + /// + /// Path of the Background Bitmap on the disk + /// Color of the Bitmap which won't be visible + /// Nothing + public void SetBackgroundBitmap(string strFilename, Color transparencyColor) + { + BackgroundBitmap = new Bitmap(strFilename); + Width = BackgroundBitmap.Width; + Height = BackgroundBitmap.Height; + Region = BitmapToRegion(BackgroundBitmap, transparencyColor); + } + + /// + /// Sets the background bitmap and its transparency color + /// + /// Image/Bitmap object which represents the Background Bitmap + /// Color of the Bitmap which won't be visible + /// Nothing + public void SetBackgroundBitmap(Image image, Color transparencyColor) + { + BackgroundBitmap = new Bitmap(image); + Width = BackgroundBitmap.Width; + Height = BackgroundBitmap.Height; + Region = BitmapToRegion(BackgroundBitmap, transparencyColor); + } + + /// + /// Sets the 3-State Close Button bitmap, its transparency color and its coordinates + /// + /// Path of the 3-state Close button Bitmap on the disk (width must a multiple of 3) + /// Color of the Bitmap which won't be visible + /// Location of the close button on the popup + /// Nothing + public void SetCloseBitmap(string strFilename, Color transparencyColor, Point position) + { + CloseBitmap = new Bitmap(strFilename); + CloseBitmap.MakeTransparent(transparencyColor); + CloseBitmapSize = new Size(CloseBitmap.Width/3, CloseBitmap.Height); + CloseBitmapLocation = position; + } + + /// + /// Sets the 3-State Close Button bitmap, its transparency color and its coordinates + /// + /// Image/Bitmap object which represents the 3-state Close button Bitmap (width must be a multiple of 3) + /// Color of the Bitmap which won't be visible + /// /// Location of the close button on the popup + /// Nothing + public void SetCloseBitmap(Image image, Color transparencyColor, Point position) + { + CloseBitmap = new Bitmap(image); + CloseBitmap.MakeTransparent(transparencyColor); + CloseBitmapSize = new Size(CloseBitmap.Width/3, CloseBitmap.Height); + CloseBitmapLocation = position; + } + #endregion + + #region TaskbarNotifier Protected Methods + protected void DrawCloseButton(Graphics grfx) + { + if (CloseBitmap != null) + { + Rectangle rectDest = new Rectangle(CloseBitmapLocation, CloseBitmapSize); + Rectangle rectSrc; + + if (bIsMouseOverClose) + { + if (bIsMouseDown) + rectSrc = new Rectangle(new Point(CloseBitmapSize.Width*2, 0), CloseBitmapSize); + else + rectSrc = new Rectangle(new Point(CloseBitmapSize.Width, 0), CloseBitmapSize); + } + else + rectSrc = new Rectangle(new Point(0, 0), CloseBitmapSize); + + + grfx.DrawImage(CloseBitmap, rectDest, rectSrc, GraphicsUnit.Pixel); + } + } + + protected void DrawText(Graphics grfx) + { + if (titleText != null && titleText.Length != 0) + { + StringFormat sf = new StringFormat(); + sf.Alignment = StringAlignment.Near; + sf.LineAlignment = StringAlignment.Center; + sf.FormatFlags = StringFormatFlags.NoWrap; + sf.Trimming = StringTrimming.EllipsisCharacter; // Added Rev 002 + if (bIsMouseOverTitle) + grfx.DrawString(titleText, hoverTitleFont, new SolidBrush(hoverTitleColor), TitleRectangle, sf); + else + grfx.DrawString(titleText, normalTitleFont, new SolidBrush(normalTitleColor), TitleRectangle, sf); + } + + if (contentText != null && contentText.Length != 0) + { + StringFormat sf = new StringFormat(); + sf.Alignment = StringAlignment.Center; + sf.LineAlignment = StringAlignment.Center; + sf.FormatFlags = StringFormatFlags.MeasureTrailingSpaces; + sf.Trimming = StringTrimming.Word; // Added Rev 002 + + if (bIsMouseOverContent) + { + grfx.DrawString(contentText, hoverContentFont, new SolidBrush(hoverContentColor), ContentRectangle, sf); + if (EnableSelectionRectangle) + ControlPaint.DrawBorder3D(grfx, RealContentRectangle, Border3DStyle.Etched, Border3DSide.Top | Border3DSide.Bottom | Border3DSide.Left | Border3DSide.Right); + + } + else + grfx.DrawString(contentText, normalContentFont, new SolidBrush(normalContentColor), ContentRectangle, sf); + } + } + + protected void CalculateMouseRectangles() + { + Graphics grfx = CreateGraphics(); + StringFormat sf = new StringFormat(); + sf.Alignment = StringAlignment.Center; + sf.LineAlignment = StringAlignment.Center; + sf.FormatFlags = StringFormatFlags.MeasureTrailingSpaces; + SizeF sizefTitle = grfx.MeasureString(titleText, hoverTitleFont, TitleRectangle.Width, sf); + SizeF sizefContent = grfx.MeasureString(contentText, hoverContentFont, ContentRectangle.Width, sf); + grfx.Dispose(); + + // Added Rev 002 + //We should check if the title size really fits inside the pre-defined title rectangle + if (sizefTitle.Height > TitleRectangle.Height) + { + RealTitleRectangle = new Rectangle(TitleRectangle.Left, TitleRectangle.Top, TitleRectangle.Width , TitleRectangle.Height ); + } + else + { + RealTitleRectangle = new Rectangle(TitleRectangle.Left, TitleRectangle.Top, (int)sizefTitle.Width, (int)sizefTitle.Height); + } + RealTitleRectangle.Inflate(0,2); + + // Added Rev 002 + //We should check if the Content size really fits inside the pre-defined Content rectangle + if (sizefContent.Height > ContentRectangle.Height) + { + RealContentRectangle = new Rectangle((ContentRectangle.Width-(int)sizefContent.Width)/2+ContentRectangle.Left, ContentRectangle.Top, (int)sizefContent.Width, ContentRectangle.Height ); + } + else + { + RealContentRectangle = new Rectangle((ContentRectangle.Width-(int)sizefContent.Width)/2+ContentRectangle.Left, (ContentRectangle.Height-(int)sizefContent.Height)/2+ContentRectangle.Top, (int)sizefContent.Width, (int)sizefContent.Height); + } + RealContentRectangle.Inflate(0,2); + } + + protected Region BitmapToRegion(Bitmap bitmap, Color transparencyColor) + { + if (bitmap == null) + throw new ArgumentNullException("Bitmap", "Bitmap cannot be null!"); + + int height = bitmap.Height; + int width = bitmap.Width; + + GraphicsPath path = new GraphicsPath(); + + for (int j=0; j CloseBitmapLocation.X) && (mea.X < CloseBitmapLocation.X + CloseBitmapSize.Width) && (mea.Y > CloseBitmapLocation.Y) && (mea.Y < CloseBitmapLocation.Y + CloseBitmapSize.Height) && CloseClickable ) + { + if (!bIsMouseOverClose) + { + bIsMouseOverClose = true; + bIsMouseOverTitle = false; + bIsMouseOverContent = false; + Cursor = Cursors.Hand; + bContentModified = true; + } + } + else if (RealContentRectangle.Contains(new Point(mea.X, mea.Y)) && ContentClickable) + { + if (!bIsMouseOverContent) + { + bIsMouseOverClose = false; + bIsMouseOverTitle = false; + bIsMouseOverContent = true; + Cursor = Cursors.Hand; + bContentModified = true; + } + } + else if (RealTitleRectangle.Contains(new Point(mea.X, mea.Y)) && TitleClickable) + { + if (!bIsMouseOverTitle) + { + bIsMouseOverClose = false; + bIsMouseOverTitle = true; + bIsMouseOverContent = false; + Cursor = Cursors.Hand; + bContentModified = true; + } + } + else + { + if (bIsMouseOverClose || bIsMouseOverTitle || bIsMouseOverContent) + bContentModified = true; + + bIsMouseOverClose = false; + bIsMouseOverTitle = false; + bIsMouseOverContent = false; + Cursor = Cursors.Default; + } + + if (bContentModified) + Refresh(); + } + + protected override void OnMouseDown(MouseEventArgs mea) + { + base.OnMouseDown(mea); + bIsMouseDown = true; + + if (bIsMouseOverClose) + Refresh(); + } + + protected override void OnMouseUp(MouseEventArgs mea) + { + base.OnMouseUp(mea); + bIsMouseDown = false; + + if (bIsMouseOverClose) + { + Hide(); + + if (CloseClick != null) + CloseClick(this, new EventArgs()); + } + else if (bIsMouseOverTitle) + { + if (TitleClick != null) + TitleClick(this, new EventArgs()); + } + else if (bIsMouseOverContent) + { + if (ContentClick != null) + ContentClick(this, new EventArgs()); + } + } + + protected override void OnPaintBackground(PaintEventArgs pea) + { + Graphics grfx = pea.Graphics; + grfx.PageUnit = GraphicsUnit.Pixel; + + Graphics offScreenGraphics; + Bitmap offscreenBitmap; + + offscreenBitmap = new Bitmap(BackgroundBitmap.Width, BackgroundBitmap.Height); + offScreenGraphics = Graphics.FromImage(offscreenBitmap); + + if (BackgroundBitmap != null) + { + offScreenGraphics.DrawImage(BackgroundBitmap, 0, 0, BackgroundBitmap.Width, BackgroundBitmap.Height); + } + + DrawCloseButton(offScreenGraphics); + DrawText(offScreenGraphics); + + grfx.DrawImage(offscreenBitmap, 0, 0); + } + #endregion + + //Tallt javtsok + protected override bool ShowWithoutActivation + { + get { return true; } + } + } +} diff --git a/Most Closed Beta/v9.0/MSGer.tk (C#)/UserInfo.cs b/Most Closed Beta/v9.0/MSGer.tk (C#)/UserInfo.cs new file mode 100644 index 0000000..955fc74 --- /dev/null +++ b/Most Closed Beta/v9.0/MSGer.tk (C#)/UserInfo.cs @@ -0,0 +1,149 @@ +using System; +using System.Collections.Generic; +using System.Linq; +using System.Text; +using System.Threading.Tasks; +using System.IO; + +namespace MSGer.tk +{ + public partial class UserInfo + { + /* + * 2014.03.07. + * Az összes szükséges felhasználó szükséges adatai + */ + //public int ChatID { get; set; } //A chatablakának azonosítója + public int UserID { get; set; } //Az egész rendszerben egyedi azonosítója + public int ListID { get; set; } //A listabeli azonosítója + public static List Partners = new List(); + private string name; + public string Name + { + get + { + return name; + } + set + { + name = value; + List list=GetChatWindows(); + for (int i = 0; i < list.Count; i++) + { + //if (ChatForm.ChatWindows != null && ChatID < ChatForm.ChatWindows.Count && ChatForm.ChatWindows[ChatID] != null && !ChatForm.ChatWindows[ChatID].IsDisposed) + if (ChatForm.ChatWindows != null && ChatForm.ChatWindows[list[i]] != null && !ChatForm.ChatWindows[list[i]].IsDisposed) + { //ChatForm + new ThreadSetVar(ChatForm.ChatWindows[list[i]].partnerName, value, Program.MainF); + } + } + } + } + private string message; + public string Message + { + get + { + return message; + } + set + { + message = value; + List list = GetChatWindows(); + for (int i = 0; i < list.Count; i++) + { + //if (ChatForm.ChatWindows != null && ChatID < ChatForm.ChatWindows.Count && ChatForm.ChatWindows[ChatID] != null && !ChatForm.ChatWindows[ChatID].IsDisposed) + if (ChatForm.ChatWindows != null && ChatForm.ChatWindows[list[i]] != null && !ChatForm.ChatWindows[list[i]].IsDisposed) + { //ChatForm + new ThreadSetVar(ChatForm.ChatWindows[list[i]].partnerMsg, value, Program.MainF); + } + } + } + } + private string state; + public string State + { + get + { + return state; + } + set + { + state = value; + List list = GetChatWindows(); + for (int i = 0; i < list.Count; i++) + { + //if (ChatForm.ChatWindows != null && ChatID < ChatForm.ChatWindows.Count && ChatForm.ChatWindows[ChatID] != null && !ChatForm.ChatWindows[ChatID].IsDisposed) + if (ChatForm.ChatWindows != null && ChatForm.ChatWindows[list[i]] != null && !ChatForm.ChatWindows[list[i]].IsDisposed) + { //ChatForm + string tmp = "Hiba"; + switch (value) + { + case "0": + tmp = "Nem elérhető"; + break; + case "1": + tmp = "Elérhető"; + break; + case "2": + tmp = "Elfoglalt"; + break; + case "3": + tmp = "Nincs a gépnél"; + break; + } + new ThreadSetVar(ChatForm.ChatWindows[list[i]].statusLabel, tmp, Program.MainF); + } + } + } + } + public string UserName { get; set; } + public string Email { get; set; } + + public UserInfo() + { + + } + public int PicUpdateTime = 0; + public string GetImage() + { + /* + * Szükséges információk az adatbázisban: + * - Felhasználó képe a users táblában + * - A legutóbbi képváltás dátuma + * Ebből megállapitja a program, hogy le kell-e tölteni. + * Eltárol helyileg is egy dátumot, és ha már frissitette egyszer a képet (újabb a helyi dátum, mint az adatbázisban), + * akkor nem csinál semmit. Ha régebbi, akkor a partner azóta frissitette, tehát szükséges a letöltés. + */ + string str = Networking.SendRequest("getimage", UserID + "ͦ" + PicUpdateTime, 2, true); //SetVars + /* + * Ez a funkció automatikusan elküldi a bejelentkezett felhasználó azonositóját, + * a PHP szkript pedig leellenőrzi, hogy egymásnak partnerei-e, ezáltal nem nézheti meg akárki akárkinek a profilképét + * (pedig a legtöbb helyen igy van, de szerintem jobb igy; lehet, hogy beállithatóvá teszem) + */ + if (str == "Fail") + { + return "noimage.png"; + } + else + { //Mentse el a képet + string tmp = Path.GetTempPath(); + if (!Directory.Exists(tmp + "\\MSGer.tk\\pictures")) + Directory.CreateDirectory(tmp + "\\MSGer.tk\\pictures"); + File.WriteAllText(tmp + "\\MSGer.tk\\pictures\\" + ListID + ".png", str); + } + return "noimage.png"; + } + public List GetChatWindows() + { + List retlist = new List(); + for(int x=0; x + + + + Category + Certainty + Collapse All + Check Id + Error + error(s) + Expand All + Help + Line + message(s) + [Location not stored in Pdb] + Project + Resolution + Rule + Rule File + Rule Description + Source + Status + Target + Warning + warning(s) + Code Analysis Report + + diff --git a/Most Closed Beta/v9.0/MSGer.tk (C#)/bin/Debug/MSGer.tk.exe.config b/Most Closed Beta/v9.0/MSGer.tk (C#)/bin/Debug/MSGer.tk.exe.config new file mode 100644 index 0000000..66b4f52 --- /dev/null +++ b/Most Closed Beta/v9.0/MSGer.tk (C#)/bin/Debug/MSGer.tk.exe.config @@ -0,0 +1,24 @@ + + + + +
+ + + + + + + + + + + + + + + 0 + + + + \ No newline at end of file diff --git a/Most Closed Beta/v9.0/MSGer.tk (C#)/bin/Debug/MSGer.tk.pdb b/Most Closed Beta/v9.0/MSGer.tk (C#)/bin/Debug/MSGer.tk.pdb new file mode 100644 index 0000000..41a5136 Binary files /dev/null and b/Most Closed Beta/v9.0/MSGer.tk (C#)/bin/Debug/MSGer.tk.pdb differ diff --git a/Most Closed Beta/v9.0/MSGer.tk (C#)/bin/Debug/MSGer.tk.vshost.exe b/Most Closed Beta/v9.0/MSGer.tk (C#)/bin/Debug/MSGer.tk.vshost.exe new file mode 100644 index 0000000..c0dfecc Binary files /dev/null and b/Most Closed Beta/v9.0/MSGer.tk (C#)/bin/Debug/MSGer.tk.vshost.exe differ diff --git a/Most Closed Beta/v9.0/MSGer.tk (C#)/bin/Debug/MSGer.tk.vshost.exe.config b/Most Closed Beta/v9.0/MSGer.tk (C#)/bin/Debug/MSGer.tk.vshost.exe.config new file mode 100644 index 0000000..66b4f52 --- /dev/null +++ b/Most Closed Beta/v9.0/MSGer.tk (C#)/bin/Debug/MSGer.tk.vshost.exe.config @@ -0,0 +1,24 @@ + + + + +
+ + + + + + + + + + + + + + + 0 + + + + \ No newline at end of file diff --git a/Most Closed Beta/v9.0/MSGer.tk (C#)/bin/Debug/MSGer.tk.vshost.exe.manifest b/Most Closed Beta/v9.0/MSGer.tk (C#)/bin/Debug/MSGer.tk.vshost.exe.manifest new file mode 100644 index 0000000..f96b1d6 --- /dev/null +++ b/Most Closed Beta/v9.0/MSGer.tk (C#)/bin/Debug/MSGer.tk.vshost.exe.manifest @@ -0,0 +1,11 @@ + + + + + + + + + + + diff --git a/Most Closed Beta/v9.0/MSGer.tk (C#)/bin/Debug/close.bmp b/Most Closed Beta/v9.0/MSGer.tk (C#)/bin/Debug/close.bmp new file mode 100644 index 0000000..8677d1e Binary files /dev/null and b/Most Closed Beta/v9.0/MSGer.tk (C#)/bin/Debug/close.bmp differ diff --git a/Most Closed Beta/v9.0/MSGer.tk (C#)/bin/Debug/noimage.png b/Most Closed Beta/v9.0/MSGer.tk (C#)/bin/Debug/noimage.png new file mode 100644 index 0000000..7519e19 Binary files /dev/null and b/Most Closed Beta/v9.0/MSGer.tk (C#)/bin/Debug/noimage.png differ diff --git a/Most Closed Beta/v9.0/MSGer.tk (C#)/bin/Debug/popup-bg.bmp b/Most Closed Beta/v9.0/MSGer.tk (C#)/bin/Debug/popup-bg.bmp new file mode 100644 index 0000000..07c9dca Binary files /dev/null and b/Most Closed Beta/v9.0/MSGer.tk (C#)/bin/Debug/popup-bg.bmp differ diff --git a/Most Closed Beta/v9.0/MSGer.tk (C#)/bin/Release/MSGer.tk.exe b/Most Closed Beta/v9.0/MSGer.tk (C#)/bin/Release/MSGer.tk.exe new file mode 100644 index 0000000..ba5712d Binary files /dev/null and b/Most Closed Beta/v9.0/MSGer.tk (C#)/bin/Release/MSGer.tk.exe differ diff --git a/Most Closed Beta/v9.0/MSGer.tk (C#)/bin/Release/MSGer.tk.exe.config b/Most Closed Beta/v9.0/MSGer.tk (C#)/bin/Release/MSGer.tk.exe.config new file mode 100644 index 0000000..01566ac --- /dev/null +++ b/Most Closed Beta/v9.0/MSGer.tk (C#)/bin/Release/MSGer.tk.exe.config @@ -0,0 +1,18 @@ + + + + +
+ + + + + + + + + + + + + \ No newline at end of file diff --git a/Most Closed Beta/v9.0/MSGer.tk (C#)/bin/Release/MSGer.tk.pdb b/Most Closed Beta/v9.0/MSGer.tk (C#)/bin/Release/MSGer.tk.pdb new file mode 100644 index 0000000..0f86b2a Binary files /dev/null and b/Most Closed Beta/v9.0/MSGer.tk (C#)/bin/Release/MSGer.tk.pdb differ diff --git a/Most Closed Beta/v9.0/MSGer.tk (C#)/bin/Release/MSGer.tk.vshost.exe b/Most Closed Beta/v9.0/MSGer.tk (C#)/bin/Release/MSGer.tk.vshost.exe new file mode 100644 index 0000000..8c84517 Binary files /dev/null and b/Most Closed Beta/v9.0/MSGer.tk (C#)/bin/Release/MSGer.tk.vshost.exe differ diff --git a/Most Closed Beta/v9.0/MSGer.tk (C#)/bin/Release/MSGer.tk.vshost.exe.config b/Most Closed Beta/v9.0/MSGer.tk (C#)/bin/Release/MSGer.tk.vshost.exe.config new file mode 100644 index 0000000..01566ac --- /dev/null +++ b/Most Closed Beta/v9.0/MSGer.tk (C#)/bin/Release/MSGer.tk.vshost.exe.config @@ -0,0 +1,18 @@ + + + + +
+ + + + + + + + + + + + + \ No newline at end of file diff --git a/Most Closed Beta/v9.0/MSGer.tk (C#)/bin/Release/MSGer.tk.vshost.exe.manifest b/Most Closed Beta/v9.0/MSGer.tk (C#)/bin/Release/MSGer.tk.vshost.exe.manifest new file mode 100644 index 0000000..f96b1d6 --- /dev/null +++ b/Most Closed Beta/v9.0/MSGer.tk (C#)/bin/Release/MSGer.tk.vshost.exe.manifest @@ -0,0 +1,11 @@ + + + + + + + + + + + diff --git a/Most Closed Beta/v9.0/MSGer.tk (C#)/obj/Debug/DesignTimeResolveAssemblyReferences.cache b/Most Closed Beta/v9.0/MSGer.tk (C#)/obj/Debug/DesignTimeResolveAssemblyReferences.cache new file mode 100644 index 0000000..e3238dd Binary files /dev/null and b/Most Closed Beta/v9.0/MSGer.tk (C#)/obj/Debug/DesignTimeResolveAssemblyReferences.cache differ diff --git a/Most Closed Beta/v9.0/MSGer.tk (C#)/obj/Debug/DesignTimeResolveAssemblyReferencesInput.cache b/Most Closed Beta/v9.0/MSGer.tk (C#)/obj/Debug/DesignTimeResolveAssemblyReferencesInput.cache new file mode 100644 index 0000000..12dc0a7 Binary files /dev/null and b/Most Closed Beta/v9.0/MSGer.tk (C#)/obj/Debug/DesignTimeResolveAssemblyReferencesInput.cache differ diff --git a/Most Closed Beta/v9.0/MSGer.tk (C#)/obj/Debug/MSGer.tk.AddPartner.resources b/Most Closed Beta/v9.0/MSGer.tk (C#)/obj/Debug/MSGer.tk.AddPartner.resources new file mode 100644 index 0000000..6c05a97 Binary files /dev/null and b/Most Closed Beta/v9.0/MSGer.tk (C#)/obj/Debug/MSGer.tk.AddPartner.resources differ diff --git a/Most Closed Beta/v9.0/MSGer.tk (C#)/obj/Debug/MSGer.tk.ChatForm.resources b/Most Closed Beta/v9.0/MSGer.tk (C#)/obj/Debug/MSGer.tk.ChatForm.resources new file mode 100644 index 0000000..6c05a97 Binary files /dev/null and b/Most Closed Beta/v9.0/MSGer.tk (C#)/obj/Debug/MSGer.tk.ChatForm.resources differ diff --git a/Most Closed Beta/v9.0/MSGer.tk (C#)/obj/Debug/MSGer.tk.InvitePartner.resources b/Most Closed Beta/v9.0/MSGer.tk (C#)/obj/Debug/MSGer.tk.InvitePartner.resources new file mode 100644 index 0000000..6c05a97 Binary files /dev/null and b/Most Closed Beta/v9.0/MSGer.tk (C#)/obj/Debug/MSGer.tk.InvitePartner.resources differ diff --git a/Most Closed Beta/v9.0/MSGer.tk (C#)/obj/Debug/MSGer.tk.LoginForm.resources b/Most Closed Beta/v9.0/MSGer.tk (C#)/obj/Debug/MSGer.tk.LoginForm.resources new file mode 100644 index 0000000..62b9f73 Binary files /dev/null and b/Most Closed Beta/v9.0/MSGer.tk (C#)/obj/Debug/MSGer.tk.LoginForm.resources differ diff --git a/Most Closed Beta/v9.0/MSGer.tk (C#)/obj/Debug/MSGer.tk.LoginForm_RegistrationForm.resources b/Most Closed Beta/v9.0/MSGer.tk (C#)/obj/Debug/MSGer.tk.LoginForm_RegistrationForm.resources new file mode 100644 index 0000000..6c05a97 Binary files /dev/null and b/Most Closed Beta/v9.0/MSGer.tk (C#)/obj/Debug/MSGer.tk.LoginForm_RegistrationForm.resources differ diff --git a/Most Closed Beta/v9.0/MSGer.tk (C#)/obj/Debug/MSGer.tk.MainForm.resources b/Most Closed Beta/v9.0/MSGer.tk (C#)/obj/Debug/MSGer.tk.MainForm.resources new file mode 100644 index 0000000..d664d05 Binary files /dev/null and b/Most Closed Beta/v9.0/MSGer.tk (C#)/obj/Debug/MSGer.tk.MainForm.resources differ diff --git a/Most Closed Beta/v9.0/MSGer.tk (C#)/obj/Debug/MSGer.tk.Notifier.resources b/Most Closed Beta/v9.0/MSGer.tk (C#)/obj/Debug/MSGer.tk.Notifier.resources new file mode 100644 index 0000000..6c05a97 Binary files /dev/null and b/Most Closed Beta/v9.0/MSGer.tk (C#)/obj/Debug/MSGer.tk.Notifier.resources differ diff --git a/Most Closed Beta/v9.0/MSGer.tk (C#)/obj/Debug/MSGer.tk.Properties.Resources.resources b/Most Closed Beta/v9.0/MSGer.tk (C#)/obj/Debug/MSGer.tk.Properties.Resources.resources new file mode 100644 index 0000000..2e7eded Binary files /dev/null and b/Most Closed Beta/v9.0/MSGer.tk (C#)/obj/Debug/MSGer.tk.Properties.Resources.resources differ diff --git a/Most Closed Beta/v9.0/MSGer.tk (C#)/obj/Debug/MSGer.tk.SelectPartnerForm.resources b/Most Closed Beta/v9.0/MSGer.tk (C#)/obj/Debug/MSGer.tk.SelectPartnerForm.resources new file mode 100644 index 0000000..6c05a97 Binary files /dev/null and b/Most Closed Beta/v9.0/MSGer.tk (C#)/obj/Debug/MSGer.tk.SelectPartnerForm.resources differ diff --git a/Most Closed Beta/v9.0/MSGer.tk (C#)/obj/Debug/MSGer.tk.csproj.FileListAbsolute.txt b/Most Closed Beta/v9.0/MSGer.tk (C#)/obj/Debug/MSGer.tk.csproj.FileListAbsolute.txt new file mode 100644 index 0000000..8441eab --- /dev/null +++ b/Most Closed Beta/v9.0/MSGer.tk (C#)/obj/Debug/MSGer.tk.csproj.FileListAbsolute.txt @@ -0,0 +1,20 @@ +D:\Z - Norbi cucca\0 Projektek\MSGer.tk\MSGer.tk (C#)\bin\Debug\MSGer.tk.exe.config +D:\Z - Norbi cucca\0 Projektek\MSGer.tk\MSGer.tk (C#)\bin\Debug\MSGer.tk.exe +D:\Z - Norbi cucca\0 Projektek\MSGer.tk\MSGer.tk (C#)\bin\Debug\MSGer.tk.pdb +D:\Z - Norbi cucca\0 Projektek\MSGer.tk\MSGer.tk (C#)\obj\Debug\MSGer.tk.csprojResolveAssemblyReference.cache +D:\Z - Norbi cucca\0 Projektek\MSGer.tk\MSGer.tk (C#)\obj\Debug\MSGer.tk.ChatForm.resources +D:\Z - Norbi cucca\0 Projektek\MSGer.tk\MSGer.tk (C#)\obj\Debug\MSGer.tk.InvitePartner.resources +D:\Z - Norbi cucca\0 Projektek\MSGer.tk\MSGer.tk (C#)\obj\Debug\MSGer.tk.LoginForm_RegistrationForm.resources +D:\Z - Norbi cucca\0 Projektek\MSGer.tk\MSGer.tk (C#)\obj\Debug\MSGer.tk.MainForm.resources +D:\Z - Norbi cucca\0 Projektek\MSGer.tk\MSGer.tk (C#)\obj\Debug\MSGer.tk.LoginForm.resources +D:\Z - Norbi cucca\0 Projektek\MSGer.tk\MSGer.tk (C#)\obj\Debug\MSGer.tk.Notifier.resources +D:\Z - Norbi cucca\0 Projektek\MSGer.tk\MSGer.tk (C#)\obj\Debug\MSGer.tk.Properties.Resources.resources +D:\Z - Norbi cucca\0 Projektek\MSGer.tk\MSGer.tk (C#)\obj\Debug\MSGer.tk.SelectPartnerForm.resources +D:\Z - Norbi cucca\0 Projektek\MSGer.tk\MSGer.tk (C#)\obj\Debug\MSGer.tk.csproj.GenerateResource.Cache +D:\Z - Norbi cucca\0 Projektek\MSGer.tk\MSGer.tk (C#)\obj\Debug\MSGer.tk.exe +D:\Z - Norbi cucca\0 Projektek\MSGer.tk\MSGer.tk (C#)\obj\Debug\MSGer.tk.pdb +D:\Z - Norbi cucca\0 Projektek\MSGer.tk\MSGer.tk (C#)\bin\Debug\GlacialList.dll +D:\Z - Norbi cucca\0 Projektek\MSGer.tk\MSGer.tk (C#)\bin\Debug\Khendys.Controls.ExRichTextBox.dll +D:\Z - Norbi cucca\0 Projektek\MSGer.tk\MSGer.tk (C#)\bin\Debug\GlacialList.pdb +D:\Z - Norbi cucca\0 Projektek\MSGer.tk\MSGer.tk (C#)\bin\Debug\Khendys.Controls.ExRichTextBox.pdb +D:\Z - Norbi cucca\0 Projektek\MSGer.tk\MSGer.tk (C#)\obj\Debug\MSGer.tk.AddPartner.resources diff --git a/Most Closed Beta/v9.0/MSGer.tk (C#)/obj/Debug/MSGer.tk.csproj.GenerateResource.Cache b/Most Closed Beta/v9.0/MSGer.tk (C#)/obj/Debug/MSGer.tk.csproj.GenerateResource.Cache new file mode 100644 index 0000000..dc716f0 Binary files /dev/null and b/Most Closed Beta/v9.0/MSGer.tk (C#)/obj/Debug/MSGer.tk.csproj.GenerateResource.Cache differ diff --git a/Most Closed Beta/v9.0/MSGer.tk (C#)/obj/Debug/MSGer.tk.csprojResolveAssemblyReference.cache b/Most Closed Beta/v9.0/MSGer.tk (C#)/obj/Debug/MSGer.tk.csprojResolveAssemblyReference.cache new file mode 100644 index 0000000..2a371cf Binary files /dev/null and b/Most Closed Beta/v9.0/MSGer.tk (C#)/obj/Debug/MSGer.tk.csprojResolveAssemblyReference.cache differ diff --git a/Most Closed Beta/v9.0/MSGer.tk (C#)/obj/Debug/MSGer.tk.exe b/Most Closed Beta/v9.0/MSGer.tk (C#)/obj/Debug/MSGer.tk.exe new file mode 100644 index 0000000..eda3058 Binary files /dev/null and b/Most Closed Beta/v9.0/MSGer.tk (C#)/obj/Debug/MSGer.tk.exe differ diff --git a/Most Closed Beta/v9.0/MSGer.tk (C#)/obj/Debug/MSGer.tk.pdb b/Most Closed Beta/v9.0/MSGer.tk (C#)/obj/Debug/MSGer.tk.pdb new file mode 100644 index 0000000..41a5136 Binary files /dev/null and b/Most Closed Beta/v9.0/MSGer.tk (C#)/obj/Debug/MSGer.tk.pdb differ diff --git a/Most Closed Beta/v9.0/MSGer.tk (C#)/obj/Debug/TempPE/Properties.Resources.Designer.cs.dll b/Most Closed Beta/v9.0/MSGer.tk (C#)/obj/Debug/TempPE/Properties.Resources.Designer.cs.dll new file mode 100644 index 0000000..1d6f3a7 Binary files /dev/null and b/Most Closed Beta/v9.0/MSGer.tk (C#)/obj/Debug/TempPE/Properties.Resources.Designer.cs.dll differ diff --git a/Most Closed Beta/v9.0/MSGer.tk (C#)/obj/Debug/TemporaryGeneratedFile_036C0B5B-1481-4323-8D20-8F5ADCB23D92.cs b/Most Closed Beta/v9.0/MSGer.tk (C#)/obj/Debug/TemporaryGeneratedFile_036C0B5B-1481-4323-8D20-8F5ADCB23D92.cs new file mode 100644 index 0000000..e69de29 diff --git a/Most Closed Beta/v9.0/MSGer.tk (C#)/obj/Debug/TemporaryGeneratedFile_5937a670-0e60-4077-877b-f7221da3dda1.cs b/Most Closed Beta/v9.0/MSGer.tk (C#)/obj/Debug/TemporaryGeneratedFile_5937a670-0e60-4077-877b-f7221da3dda1.cs new file mode 100644 index 0000000..e69de29 diff --git a/Most Closed Beta/v9.0/MSGer.tk (C#)/obj/Debug/TemporaryGeneratedFile_E7A71F73-0F8D-4B9B-B56E-8E70B10BC5D3.cs b/Most Closed Beta/v9.0/MSGer.tk (C#)/obj/Debug/TemporaryGeneratedFile_E7A71F73-0F8D-4B9B-B56E-8E70B10BC5D3.cs new file mode 100644 index 0000000..e69de29 diff --git a/Most Closed Beta/Összefoglaló.txt b/Most Closed Beta/Összefoglaló.txt new file mode 100644 index 0000000..b24b1c7 --- /dev/null +++ b/Most Closed Beta/Összefoglaló.txt @@ -0,0 +1,7 @@ +Most Closed Beta - v1.0-v9.0 +-------- +2013.08.08.-2014.04.18. + +Igazn csak februrban kezdtem el dolgozni rajta, ezrt nincs 1.0-s verzi, nem tudtam, mit vltoztattam rajta, ezrt nem hagytam meg. Februr ta, kt hnap alatt olyan fejldst rt el ez a program velem egytt, amit nem gondoltam, hogy ilyen hamar megtrtnik. Vge az els tesztel idszaknak a hrombl. Mostantl beveszek msokat is a tesztelsbe, aktvan hasznlom a programot akkor is, ha nem fejlesztem. + +Rengeteget rtam mr ebbe a programba, s mg sok kd vr arra, hogy belerjam...