Skip to content

Commit f2bafb3

Browse files
committed
Edit Form
1 parent d19056a commit f2bafb3

File tree

5 files changed

+10
-10
lines changed

5 files changed

+10
-10
lines changed

EditRevitFile/EditRevitFile.csproj

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -57,11 +57,11 @@
5757
</ItemGroup>
5858
<ItemGroup>
5959
<Compile Include="Compress\Compress.cs" />
60-
<Compile Include="Form1.cs">
60+
<Compile Include="MainForm.cs">
6161
<SubType>Form</SubType>
6262
</Compile>
63-
<Compile Include="Form1.Designer.cs">
64-
<DependentUpon>Form1.cs</DependentUpon>
63+
<Compile Include="MainForm.Designer.cs">
64+
<DependentUpon>MainForm.cs</DependentUpon>
6565
</Compile>
6666
<Compile Include="FormAux\FileEncoding.cs" />
6767
<Compile Include="FormAux\GetInfo.cs" />
@@ -73,8 +73,8 @@
7373
<Compile Include="Preview\PreviewEdit.cs" />
7474
<Compile Include="Program.cs" />
7575
<Compile Include="Properties\AssemblyInfo.cs" />
76-
<EmbeddedResource Include="Form1.resx">
77-
<DependentUpon>Form1.cs</DependentUpon>
76+
<EmbeddedResource Include="MainForm.resx">
77+
<DependentUpon>MainForm.cs</DependentUpon>
7878
</EmbeddedResource>
7979
<EmbeddedResource Include="Properties\Resources.resx">
8080
<Generator>ResXFileCodeGenerator</Generator>
Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,15 +6,15 @@
66

77
namespace EditRevitFile
88
{
9-
public partial class Form1 : Form
9+
public partial class MainForm : Form
1010
{
11-
public Form1()
11+
public MainForm()
1212
{
1313
InitializeComponent();
1414
GetInfoJson(this);
1515
}
1616

17-
public static void GetInfoJson(Form1 form)
17+
public static void GetInfoJson(MainForm form)
1818
{
1919
string fullFilePath = GetInfo.TempFile();
2020

EditRevitFile/Program.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ static void Main()
1616
{
1717
Application.EnableVisualStyles();
1818
Application.SetCompatibleTextRenderingDefault(false);
19-
Application.Run(new Form1());
19+
Application.Run(new MainForm());
2020
}
2121
}
2222
}

0 commit comments

Comments
 (0)