Rename Form classes

This commit is contained in:
Victor 2013-10-07 18:10:31 +03:00
parent e0ed7a9b50
commit 37c6a237a5
4 changed files with 7 additions and 7 deletions

View File

@ -40,11 +40,11 @@
<Reference Include="System.Xml" />
</ItemGroup>
<ItemGroup>
<Compile Include="Form1.cs">
<Compile Include="WidgetForm.cs">
<SubType>Form</SubType>
</Compile>
<Compile Include="Form1.Designer.cs">
<DependentUpon>Form1.cs</DependentUpon>
<Compile Include="WidgetForm.Designer.cs">
<DependentUpon>WidgetForm.cs</DependentUpon>
</Compile>
<Compile Include="Program.cs" />
<Compile Include="Properties\AssemblyInfo.cs" />

View File

@ -11,7 +11,7 @@ namespace BatteryWidget {
static void Main() {
Application.EnableVisualStyles();
Application.SetCompatibleTextRenderingDefault(false);
Application.Run(new Form1());
Application.Run(new WidgetForm());
}
}
}

View File

@ -1,5 +1,5 @@
namespace BatteryWidget {
partial class Form1 {
partial class WidgetForm {
/// <summary>
/// Required designer variable.
/// </summary>

View File

@ -7,8 +7,8 @@ using System.Text;
using System.Windows.Forms;
namespace BatteryWidget {
public partial class Form1 : Form {
public Form1() {
public partial class WidgetForm : Form {
public WidgetForm() {
InitializeComponent();
}
}