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" /> <Reference Include="System.Xml" />
</ItemGroup> </ItemGroup>
<ItemGroup> <ItemGroup>
<Compile Include="Form1.cs"> <Compile Include="WidgetForm.cs">
<SubType>Form</SubType> <SubType>Form</SubType>
</Compile> </Compile>
<Compile Include="Form1.Designer.cs"> <Compile Include="WidgetForm.Designer.cs">
<DependentUpon>Form1.cs</DependentUpon> <DependentUpon>WidgetForm.cs</DependentUpon>
</Compile> </Compile>
<Compile Include="Program.cs" /> <Compile Include="Program.cs" />
<Compile Include="Properties\AssemblyInfo.cs" /> <Compile Include="Properties\AssemblyInfo.cs" />

View File

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

View File

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

View File

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