Skip to content

Commit

Permalink
WinControl: update URLs
Browse files Browse the repository at this point in the history
  • Loading branch information
2mik committed Mar 31, 2021
1 parent 0f7461c commit 468d49e
Show file tree
Hide file tree
Showing 5 changed files with 23 additions and 54 deletions.
23 changes: 6 additions & 17 deletions Src/WinControl/WinControlSample/FrmAbout.cs
Original file line number Diff line number Diff line change
@@ -1,19 +1,5 @@
/*
* The about form.
* Developer:
* 2010, Mikhail Shiryaev
*
* Форма о программе.
* Разработчик:
* 2010, Ширяев Михаил
*/

using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Text;
using System;
using System.Diagnostics;
using System.Windows.Forms;

namespace WinControlSample
Expand All @@ -22,6 +8,9 @@ namespace WinControlSample
/// The about form.
/// <para>Форма о программе.</para>
/// </summary>
/// <remarks>
/// Author: Mikhail Shiryaev, 2010, 2021
/// </remarks>
public partial class FrmAbout : Form
{
public FrmAbout()
Expand All @@ -31,7 +20,7 @@ public FrmAbout()

private void lblLink_Click(object sender, EventArgs e)
{
System.Diagnostics.Process.Start("http://www.wincontrol.rapidscada.ru");
Process.Start(new ProcessStartInfo("https://github.com/2mik/wincontrol") { UseShellExecute = true });
Close();
}

Expand Down
23 changes: 6 additions & 17 deletions Src/WinControl/WinControlSample/FrmChild.cs
Original file line number Diff line number Diff line change
@@ -1,22 +1,8 @@
/*
* The child form.
* Developer:
* 2010, Mikhail Shiryaev
*
* Дочерняя форма.
* Разработчик:
* 2010, Ширяев Михаил
*/

using System;
using System.Collections.Generic;
using System.ComponentModel;
using System;
using System.Data;
using System.Drawing;
using System.Text;
using System.Windows.Forms;
using System.Resources;
using System.Globalization;
using System.Resources;
using System.Windows.Forms;
using WinControl;

namespace WinControlSample
Expand All @@ -25,6 +11,9 @@ namespace WinControlSample
/// The child form.
/// <para>Дочерняя форма</para>
/// </summary>
/// <remarks>
/// Author: Mikhail Shiryaev, 2010
/// </remarks>
public partial class FrmChild : Form, IChildForm
{
private string saveComplete;
Expand Down
25 changes: 8 additions & 17 deletions Src/WinControl/WinControlSample/FrmMain.cs
Original file line number Diff line number Diff line change
@@ -1,22 +1,10 @@
/*
* The main form.
* Developer:
* 2010, Mikhail Shiryaev
*
* Главная форма приложения.
* Разработчик:
* 2010, Ширяев Михаил
*/

using System;
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Text;
using System.Windows.Forms;
using System.Resources;
using System.Diagnostics;
using System.Globalization;
using System.Resources;
using System.Windows.Forms;
using WinControl;

namespace WinControlSample
Expand All @@ -25,6 +13,9 @@ namespace WinControlSample
/// The main form.
/// <para>Главная форма приложения.</para>
/// </summary>
/// <remarks>
/// Author: Mikhail Shiryaev, 2010, 2021
/// </remarks>
public partial class FrmMain : Form
{
/// <summary>
Expand Down Expand Up @@ -504,7 +495,7 @@ private void miHelpAbout_Click(object sender, EventArgs e)

private void lblStatusLink_Click(object sender, EventArgs e)
{
System.Diagnostics.Process.Start("http://www.wincontrol.rapidscada.ru");
Process.Start(new ProcessStartInfo(lblStatusLink.Text) { UseShellExecute = true });
}

private void winControl_ActiveFormChanged(object sender, EventArgs e)
Expand Down
4 changes: 2 additions & 2 deletions Src/WinControl/WinControlSample/FrmMain.resx
Original file line number Diff line number Diff line change
Expand Up @@ -478,13 +478,13 @@
<value>227, 17</value>
</data>
<data name="lblStatusText.Text" xml:space="preserve">
<value>Support the developer with a donation on</value>
<value>View on GitHub</value>
</data>
<data name="lblStatusLink.Size" type="System.Drawing.Size, System.Drawing.Primitives">
<value>168, 17</value>
</data>
<data name="lblStatusLink.Text" xml:space="preserve">
<value>www.wincontrol.rapidscada.ru</value>
<value>https://github.com/2mik/wincontrol</value>
</data>
<data name="statusMain.Location" type="System.Drawing.Point, System.Drawing.Primitives">
<value>0, 394</value>
Expand Down
2 changes: 1 addition & 1 deletion Src/WinControl/WinControlSample/FrmMain.ru-RU.resx
Original file line number Diff line number Diff line change
Expand Up @@ -403,7 +403,7 @@
<value>249, 17</value>
</data>
<data name="lblStatusText.Text" xml:space="preserve">
<value>Вы можете поблагодарить разработчика на</value>
<value>Посмотреть на GitHub</value>
</data>
<data name="ilTree.ImageStream" mimetype="application/x-microsoft.net.object.binary.base64">
<value>
Expand Down

0 comments on commit 468d49e

Please sign in to comment.