diff --git a/SamaPager_Client/Form1.Designer.cs b/SamaPager_Client/Form1.Designer.cs index df369ef..2fc5eb4 100644 --- a/SamaPager_Client/Form1.Designer.cs +++ b/SamaPager_Client/Form1.Designer.cs @@ -29,7 +29,11 @@ private void InitializeComponent() { this.components = new System.ComponentModel.Container(); + System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(Form1)); this.kryptonPanel1 = new Krypton.Toolkit.KryptonPanel(); + this.getDateBtn = new Krypton.Toolkit.KryptonButton(); + this.getTimeBtn = new Krypton.Toolkit.KryptonButton(); + this.kryptonListBox1 = new Krypton.Toolkit.KryptonListBox(); this.kryptonPictureBox1 = new Krypton.Toolkit.KryptonPictureBox(); this.sendBtn = new Krypton.Toolkit.KryptonButton(); this.kryptonStatusStrip1 = new Krypton.Toolkit.KryptonStatusStrip(); @@ -40,9 +44,6 @@ this.restartUDPClientToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); this.messageTxt = new Krypton.Toolkit.KryptonTextBox(); this.kryptonManager2 = new Krypton.Toolkit.KryptonManager(this.components); - this.kryptonListBox1 = new Krypton.Toolkit.KryptonListBox(); - this.getTimeBtn = new Krypton.Toolkit.KryptonButton(); - this.getDateBtn = new Krypton.Toolkit.KryptonButton(); ((System.ComponentModel.ISupportInitialize)(this.kryptonPanel1)).BeginInit(); this.kryptonPanel1.SuspendLayout(); ((System.ComponentModel.ISupportInitialize)(this.kryptonPictureBox1)).BeginInit(); @@ -60,61 +61,65 @@ this.kryptonPanel1.Controls.Add(this.kryptonStatusStrip1); this.kryptonPanel1.Controls.Add(this.menuStrip1); this.kryptonPanel1.Controls.Add(this.messageTxt); - this.kryptonPanel1.Dock = System.Windows.Forms.DockStyle.Fill; - this.kryptonPanel1.Location = new System.Drawing.Point(0, 0); + resources.ApplyResources(this.kryptonPanel1, "kryptonPanel1"); this.kryptonPanel1.Name = "kryptonPanel1"; - this.kryptonPanel1.Size = new System.Drawing.Size(644, 349); - this.kryptonPanel1.TabIndex = 0; + // + // getDateBtn + // + resources.ApplyResources(this.getDateBtn, "getDateBtn"); + this.getDateBtn.Name = "getDateBtn"; + this.getDateBtn.Values.DropDownArrowColor = System.Drawing.Color.Empty; + this.getDateBtn.Values.Text = resources.GetString("getDateBtn.Values.Text"); + this.getDateBtn.Click += new System.EventHandler(this.getDateBtn_Click); + // + // getTimeBtn + // + resources.ApplyResources(this.getTimeBtn, "getTimeBtn"); + this.getTimeBtn.Name = "getTimeBtn"; + this.getTimeBtn.Values.DropDownArrowColor = System.Drawing.Color.Empty; + this.getTimeBtn.Values.Text = resources.GetString("getTimeBtn.Values.Text"); + this.getTimeBtn.Click += new System.EventHandler(this.getTimeBtn_Click); + // + // kryptonListBox1 + // + resources.ApplyResources(this.kryptonListBox1, "kryptonListBox1"); + this.kryptonListBox1.Name = "kryptonListBox1"; // // kryptonPictureBox1 // this.kryptonPictureBox1.Image = global::SamaPager_Client.Properties.Resources.shalom; - this.kryptonPictureBox1.Location = new System.Drawing.Point(349, 134); + resources.ApplyResources(this.kryptonPictureBox1, "kryptonPictureBox1"); this.kryptonPictureBox1.Name = "kryptonPictureBox1"; - this.kryptonPictureBox1.Size = new System.Drawing.Size(278, 181); - this.kryptonPictureBox1.SizeMode = System.Windows.Forms.PictureBoxSizeMode.AutoSize; - this.kryptonPictureBox1.TabIndex = 3; this.kryptonPictureBox1.TabStop = false; // // sendBtn // - this.sendBtn.Location = new System.Drawing.Point(250, 248); + resources.ApplyResources(this.sendBtn, "sendBtn"); this.sendBtn.Name = "sendBtn"; - this.sendBtn.Size = new System.Drawing.Size(80, 67); - this.sendBtn.TabIndex = 2; this.sendBtn.Values.DropDownArrowColor = System.Drawing.Color.Empty; - this.sendBtn.Values.Text = "SEND"; + this.sendBtn.Values.Text = resources.GetString("sendBtn.Values.Text"); this.sendBtn.Click += new System.EventHandler(this.sendBtn_Click); // // kryptonStatusStrip1 // - this.kryptonStatusStrip1.Font = new System.Drawing.Font("Segoe UI", 9F); + resources.ApplyResources(this.kryptonStatusStrip1, "kryptonStatusStrip1"); this.kryptonStatusStrip1.Items.AddRange(new System.Windows.Forms.ToolStripItem[] { this.statusTxt}); - this.kryptonStatusStrip1.Location = new System.Drawing.Point(0, 327); this.kryptonStatusStrip1.Name = "kryptonStatusStrip1"; this.kryptonStatusStrip1.ProgressBars = null; this.kryptonStatusStrip1.RenderMode = System.Windows.Forms.ToolStripRenderMode.ManagerRenderMode; - this.kryptonStatusStrip1.Size = new System.Drawing.Size(644, 22); - this.kryptonStatusStrip1.TabIndex = 1; - this.kryptonStatusStrip1.Text = "kryptonStatusStrip1"; // // statusTxt // this.statusTxt.Name = "statusTxt"; - this.statusTxt.Size = new System.Drawing.Size(68, 17); - this.statusTxt.Text = "STATUS: Off"; + resources.ApplyResources(this.statusTxt, "statusTxt"); // // menuStrip1 // - this.menuStrip1.Font = new System.Drawing.Font("Segoe UI", 9F); + resources.ApplyResources(this.menuStrip1, "menuStrip1"); this.menuStrip1.Items.AddRange(new System.Windows.Forms.ToolStripItem[] { this.fileToolStripMenuItem}); - this.menuStrip1.Location = new System.Drawing.Point(0, 0); this.menuStrip1.Name = "menuStrip1"; - this.menuStrip1.Size = new System.Drawing.Size(644, 24); - this.menuStrip1.TabIndex = 4; - this.menuStrip1.Text = "menuStrip1"; // // fileToolStripMenuItem // @@ -122,74 +127,38 @@ this.changeDestinationAddressToolStripMenuItem, this.restartUDPClientToolStripMenuItem}); this.fileToolStripMenuItem.Name = "fileToolStripMenuItem"; - this.fileToolStripMenuItem.Size = new System.Drawing.Size(64, 20); - this.fileToolStripMenuItem.Text = "Network"; + resources.ApplyResources(this.fileToolStripMenuItem, "fileToolStripMenuItem"); // // changeDestinationAddressToolStripMenuItem // this.changeDestinationAddressToolStripMenuItem.Name = "changeDestinationAddressToolStripMenuItem"; - this.changeDestinationAddressToolStripMenuItem.Size = new System.Drawing.Size(220, 22); - this.changeDestinationAddressToolStripMenuItem.Text = "Change destination address"; + resources.ApplyResources(this.changeDestinationAddressToolStripMenuItem, "changeDestinationAddressToolStripMenuItem"); this.changeDestinationAddressToolStripMenuItem.Click += new System.EventHandler(this.changeDestinationAddressToolStripMenuItem_Click); // // restartUDPClientToolStripMenuItem // this.restartUDPClientToolStripMenuItem.Name = "restartUDPClientToolStripMenuItem"; - this.restartUDPClientToolStripMenuItem.Size = new System.Drawing.Size(220, 22); - this.restartUDPClientToolStripMenuItem.Text = "Restart UDP Client"; + resources.ApplyResources(this.restartUDPClientToolStripMenuItem, "restartUDPClientToolStripMenuItem"); this.restartUDPClientToolStripMenuItem.Click += new System.EventHandler(this.restartUDPClientToolStripMenuItem_Click); // // messageTxt // - this.messageTxt.Location = new System.Drawing.Point(12, 248); - this.messageTxt.Multiline = true; + resources.ApplyResources(this.messageTxt, "messageTxt"); this.messageTxt.Name = "messageTxt"; - this.messageTxt.Size = new System.Drawing.Size(232, 67); - this.messageTxt.TabIndex = 0; // // kryptonManager2 // this.kryptonManager2.GlobalPaletteMode = Krypton.Toolkit.PaletteMode.Office2010Silver; // - // kryptonListBox1 - // - this.kryptonListBox1.Location = new System.Drawing.Point(12, 27); - this.kryptonListBox1.Name = "kryptonListBox1"; - this.kryptonListBox1.Size = new System.Drawing.Size(318, 215); - this.kryptonListBox1.TabIndex = 5; - // - // getTimeBtn - // - this.getTimeBtn.Location = new System.Drawing.Point(349, 27); - this.getTimeBtn.Name = "getTimeBtn"; - this.getTimeBtn.Size = new System.Drawing.Size(278, 45); - this.getTimeBtn.TabIndex = 6; - this.getTimeBtn.Values.DropDownArrowColor = System.Drawing.Color.Empty; - this.getTimeBtn.Values.Text = "Get Time"; - this.getTimeBtn.Click += new System.EventHandler(this.getTimeBtn_Click); - // - // getDateBtn - // - this.getDateBtn.Location = new System.Drawing.Point(349, 78); - this.getDateBtn.Name = "getDateBtn"; - this.getDateBtn.Size = new System.Drawing.Size(278, 43); - this.getDateBtn.TabIndex = 7; - this.getDateBtn.Values.DropDownArrowColor = System.Drawing.Color.Empty; - this.getDateBtn.Values.Text = "Get Date"; - this.getDateBtn.Click += new System.EventHandler(this.getDateBtn_Click); - // // Form1 // - this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F); + resources.ApplyResources(this, "$this"); this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; - this.ClientSize = new System.Drawing.Size(644, 349); this.Controls.Add(this.kryptonPanel1); this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedSingle; this.MainMenuStrip = this.menuStrip1; this.MaximizeBox = false; this.Name = "Form1"; - this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen; - this.Text = "SamaPager Client"; this.Load += new System.EventHandler(this.Form1_Load); ((System.ComponentModel.ISupportInitialize)(this.kryptonPanel1)).EndInit(); this.kryptonPanel1.ResumeLayout(false); diff --git a/SamaPager_Client/Form1.it-IT.resx b/SamaPager_Client/Form1.it-IT.resx new file mode 100644 index 0000000..65b5c6e --- /dev/null +++ b/SamaPager_Client/Form1.it-IT.resx @@ -0,0 +1,167 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + 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 + + + Ottieni Data + + + Ottieni Ora + + + INVIA + + + + 0, 328 + + + 650, 22 + + + 650, 24 + + + 650, 350 + + + 42, 20 + + + Rete + + + 210, 22 + + + Cambia IP di destinazione + + + 210, 22 + + + Riavvia il socket UDP + + + 650, 350 + + + + Inherit + + \ No newline at end of file diff --git a/SamaPager_Client/Form1.resx b/SamaPager_Client/Form1.resx index a47cda5..2fc4295 100644 --- a/SamaPager_Client/Form1.resx +++ b/SamaPager_Client/Form1.resx @@ -117,13 +117,313 @@ System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + 349, 78 + + + 278, 43 + + + + 7 + + + Get Date + + + getDateBtn + + + Krypton.Toolkit.KryptonButton, Krypton.Toolkit, Version=95.25.8.235, Culture=neutral, PublicKeyToken=a87e673e9ecb6e8e + + + kryptonPanel1 + + + 0 + + + 349, 27 + + + 278, 45 + + + 6 + + + Get Time + + + getTimeBtn + + + Krypton.Toolkit.KryptonButton, Krypton.Toolkit, Version=95.25.8.235, Culture=neutral, PublicKeyToken=a87e673e9ecb6e8e + + + kryptonPanel1 + + + 1 + + + 12, 27 + + + 318, 215 + + + 5 + + + kryptonListBox1 + + + Krypton.Toolkit.KryptonListBox, Krypton.Toolkit, Version=95.25.8.235, Culture=neutral, PublicKeyToken=a87e673e9ecb6e8e + + + kryptonPanel1 + + + 2 + + + + NoControl + + + 349, 134 + + + 278, 181 + + + AutoSize + + + 3 + + + kryptonPictureBox1 + + + Krypton.Toolkit.KryptonPictureBox, Krypton.Toolkit, Version=95.25.8.235, Culture=neutral, PublicKeyToken=a87e673e9ecb6e8e + + + kryptonPanel1 + + + 3 + + + 250, 248 + + + 80, 67 + + + 2 + + + SEND + + + sendBtn + + + Krypton.Toolkit.KryptonButton, Krypton.Toolkit, Version=95.25.8.235, Culture=neutral, PublicKeyToken=a87e673e9ecb6e8e + + + kryptonPanel1 + + + 4 + 165, 17 + + Segoe UI, 9pt + + + 68, 17 + + + STATUS: Off + + + 0, 326 + + + 652, 22 + + + 1 + + + kryptonStatusStrip1 + + + kryptonStatusStrip1 + + + Krypton.Toolkit.KryptonStatusStrip, Krypton.Toolkit, Version=95.25.8.235, Culture=neutral, PublicKeyToken=a87e673e9ecb6e8e + + + kryptonPanel1 + + + 5 + 322, 17 + + Segoe UI, 9pt + + + 220, 22 + + + Change destination address + + + 220, 22 + + + Restart UDP Client + + + 64, 20 + + + Network + + + 0, 0 + + + 652, 24 + + + 4 + + + menuStrip1 + + + menuStrip1 + + + System.Windows.Forms.MenuStrip, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + kryptonPanel1 + + + 6 + + + 12, 248 + + + True + + + 232, 67 + + + 0 + + + messageTxt + + + Krypton.Toolkit.KryptonTextBox, Krypton.Toolkit, Version=95.25.8.235, Culture=neutral, PublicKeyToken=a87e673e9ecb6e8e + + + kryptonPanel1 + + + 7 + + + Fill + + + 0, 0 + + + 652, 348 + + + 0 + + + kryptonPanel1 + + + Krypton.Toolkit.KryptonPanel, Krypton.Toolkit, Version=95.25.8.235, Culture=neutral, PublicKeyToken=a87e673e9ecb6e8e + + + $this + + + 0 + 17, 17 + + True + + + 6, 13 + + + 652, 348 + + + CenterScreen + + + SamaPager Client + + + statusTxt + + + System.Windows.Forms.ToolStripStatusLabel, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + fileToolStripMenuItem + + + System.Windows.Forms.ToolStripMenuItem, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + changeDestinationAddressToolStripMenuItem + + + System.Windows.Forms.ToolStripMenuItem, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + restartUDPClientToolStripMenuItem + + + System.Windows.Forms.ToolStripMenuItem, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + kryptonManager2 + + + Krypton.Toolkit.KryptonManager, Krypton.Toolkit, Version=95.25.8.235, Culture=neutral, PublicKeyToken=a87e673e9ecb6e8e + + + Form1 + + + Krypton.Toolkit.KryptonForm, Krypton.Toolkit, Version=95.25.8.235, Culture=neutral, PublicKeyToken=a87e673e9ecb6e8e + \ No newline at end of file diff --git a/SamaPager_Client/SamaPager_Client.csproj b/SamaPager_Client/SamaPager_Client.csproj index bb6c64c..f596962 100644 --- a/SamaPager_Client/SamaPager_Client.csproj +++ b/SamaPager_Client/SamaPager_Client.csproj @@ -59,6 +59,9 @@ + + Form1.cs + Form1.cs