Skip to content

Commit d02f2be

Browse files
Renamed Form1.cs to MainForm.cs
1 parent 9c54326 commit d02f2be

9 files changed

+18
-18
lines changed

stand banner maker/Form1.Designer.cs stand banner maker/MainForm.Designer.cs

+2-2
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

stand banner maker/Form1.cs stand banner maker/MainForm.cs

+2-2
Original file line numberDiff line numberDiff line change
@@ -16,9 +16,9 @@
1616

1717
namespace stand_banner_maker
1818
{
19-
public partial class Form1 : BlinkForm
19+
public partial class MainForm : BlinkForm
2020
{
21-
public Form1()
21+
public MainForm()
2222
{
2323
textSettings = new textSettings(this);
2424
shadowSettings = new shadowSettings(this);
File renamed without changes.

stand banner maker/Program.cs

+1-1
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
}

stand banner maker/backgroundSettings.cs

+2-2
Original file line numberDiff line numberDiff line change
@@ -13,14 +13,14 @@ namespace stand_banner_maker
1313
{
1414
public partial class backgroundSettings : BlinkForm
1515
{
16-
public backgroundSettings(Form1 form)
16+
public backgroundSettings(MainForm form)
1717
{
1818
InitializeComponent();
1919

2020
mainForm = form;
2121
}
2222

23-
private Form1 mainForm;
23+
private MainForm mainForm;
2424

2525
Bitmap downSize(Bitmap bmp)
2626
{

stand banner maker/imageSettings.cs

+2-2
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ namespace stand_banner_maker
1313
{
1414
public partial class imageSettings : BlinkForm
1515
{
16-
public imageSettings(Form1 form)
16+
public imageSettings(MainForm form)
1717
{
1818
InitializeComponent();
1919

@@ -23,7 +23,7 @@ public imageSettings(Form1 form)
2323
height.Value = mainForm.ResultImageSize.Height;
2424
}
2525

26-
private Form1 mainForm;
26+
private MainForm mainForm;
2727

2828
Size ResizeKeepAspect(Size src, int maxWidth, int maxHeight, bool enlarge = false)
2929
{

stand banner maker/shadowSettings.cs

+2-2
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ namespace stand_banner_maker
1313
{
1414
public partial class shadowSettings : BlinkForm
1515
{
16-
public shadowSettings(Form1 form)
16+
public shadowSettings(MainForm form)
1717
{
1818
InitializeComponent();
1919

@@ -29,7 +29,7 @@ private void CheckBox1_CheckedChanged(object sender, EventArgs e)
2929
panel1.Enabled = checkBox1.Checked;
3030
}
3131

32-
private Form1 mainForm;
32+
private MainForm mainForm;
3333

3434
private void intensity_Scroll(object sender, EventArgs e)
3535
{

stand banner maker/stand banner maker.csproj

+5-5
Original file line numberDiff line numberDiff line change
@@ -197,11 +197,11 @@
197197
<Compile Include="backgroundSettings.Designer.cs">
198198
<DependentUpon>backgroundSettings.cs</DependentUpon>
199199
</Compile>
200-
<Compile Include="Form1.cs">
200+
<Compile Include="MainForm.cs">
201201
<SubType>Form</SubType>
202202
</Compile>
203-
<Compile Include="Form1.Designer.cs">
204-
<DependentUpon>Form1.cs</DependentUpon>
203+
<Compile Include="MainForm.Designer.cs">
204+
<DependentUpon>MainForm.cs</DependentUpon>
205205
</Compile>
206206
<Compile Include="GaussianBlur.cs" />
207207
<Compile Include="imageSettings.cs">
@@ -227,8 +227,8 @@
227227
<EmbeddedResource Include="backgroundSettings.resx">
228228
<DependentUpon>backgroundSettings.cs</DependentUpon>
229229
</EmbeddedResource>
230-
<EmbeddedResource Include="Form1.resx">
231-
<DependentUpon>Form1.cs</DependentUpon>
230+
<EmbeddedResource Include="MainForm.resx">
231+
<DependentUpon>MainForm.cs</DependentUpon>
232232
</EmbeddedResource>
233233
<EmbeddedResource Include="imageSettings.resx">
234234
<DependentUpon>imageSettings.cs</DependentUpon>

stand banner maker/textSettings.cs

+2-2
Original file line numberDiff line numberDiff line change
@@ -13,15 +13,15 @@ namespace stand_banner_maker
1313
{
1414
public partial class textSettings : BlinkForm
1515
{
16-
public textSettings(Form1 form)
16+
public textSettings(MainForm form)
1717
{
1818
InitializeComponent();
1919

2020
mainForm = form;
2121
blinkLabel2.Text = FontString(fontDialog1.Font);
2222
}
2323

24-
Form1 mainForm;
24+
MainForm mainForm;
2525

2626
private void comboBox1_SelectedIndexChanged(object sender, EventArgs e)
2727
{

0 commit comments

Comments
 (0)