Rename Form classes
This commit is contained in:
parent
e0ed7a9b50
commit
37c6a237a5
@ -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" />
|
||||
|
@ -11,7 +11,7 @@ namespace BatteryWidget {
|
||||
static void Main() {
|
||||
Application.EnableVisualStyles();
|
||||
Application.SetCompatibleTextRenderingDefault(false);
|
||||
Application.Run(new Form1());
|
||||
Application.Run(new WidgetForm());
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@ -1,5 +1,5 @@
|
||||
namespace BatteryWidget {
|
||||
partial class Form1 {
|
||||
partial class WidgetForm {
|
||||
/// <summary>
|
||||
/// Required designer variable.
|
||||
/// </summary>
|
@ -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();
|
||||
}
|
||||
}
|
Loading…
Reference in New Issue
Block a user