Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit 3c58ed7

Browse files
Created component and finalized demo
1 parent a6544f2 commit 3c58ed7

File tree

14 files changed

+456
-72
lines changed

14 files changed

+456
-72
lines changed

‎FileInterface/FileInterface/FileInterface.csproj‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@
1212
<TargetFrameworkVersion>v4.5.2</TargetFrameworkVersion>
1313
<FileAlignment>512</FileAlignment>
1414
<AutoGenerateBindingRedirects>true</AutoGenerateBindingRedirects>
15+
<AssemblyVersion>27.0.0.304</AssemblyVersion>
1516
</PropertyGroup>
1617
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
1718
<PlatformTarget>AnyCPU</PlatformTarget>

‎FileInterface/FileInterface/Form1.Designer.cs‎

Lines changed: 20 additions & 13 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

‎FileInterface/FileInterface/Form1.cs‎

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -46,5 +46,10 @@ private void NewApplicationFile()
4646
{
4747
fileInterface1.NewApplicationFile();
4848
}
49+
50+
private void fileInterface1_AppFileNameChanged(object sender, EventArgs e)
51+
{
52+
Text = System.IO.Path.GetFileName(fileInterface1.AppFileName);
53+
}
4954
}
5055
}

‎FileInterface/FileInterface/Form1.resx‎

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -239,6 +239,9 @@
239239
<value>254, 17</value>
240240
</metadata>
241241
<metadata name="fileInterface1.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
242-
<value>17, 17</value>
242+
<value>370, 17</value>
243+
</metadata>
244+
<metadata name="newFileGenerator1.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
245+
<value>492, 17</value>
243246
</metadata>
244247
</root>

‎FileInterface/FileInterface/Properties/AssemblyInfo.cs‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -32,5 +32,5 @@
3232
// You can specify all the values or you can default the Build and Revision Numbers
3333
// by using the '*' as shown below:
3434
// [assembly: AssemblyVersion("1.0.*")]
35-
[assembly: AssemblyVersion("1.0.0.0")]
36-
[assembly: AssemblyFileVersion("1.0.0.0")]
35+
[assembly: AssemblyVersion("27.0.0.304")]
36+
[assembly: AssemblyFileVersion("27.0.0.304")]
Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
using System;
2+
3+
namespace FileInterfaceControlLibrary
4+
{
5+
public class AppFileNameChangedEventArgs : EventArgs
6+
{
7+
public AppFileNameChangedEventArgs()
8+
{
9+
}
10+
11+
public string FileName { get; set; }
12+
}
13+
}
Lines changed: 12 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,21 @@
11
<?xml version="1.0" encoding="utf-8"?>
22
<ClassDiagram MajorVersion="1" MinorVersion="1">
3-
<Class Name="FileInterfaceControlLibrary.FileInterface">
3+
<Class Name="FileInterfaceControlLibrary.FileInterface"Collapsed="true">
44
<Position X="0.5" Y="0.5" Width="1.5" />
5-
<Compartments>
6-
<Compartment Name="Properties" Collapsed="true" />
7-
</Compartments>
85
<TypeIdentifier>
9-
<HashCode>BBAIAAAQBSBAAAEAAACAQAgDIAAIAAAAAAAAAAAAAhA=</HashCode>
6+
<HashCode>FRAAAKERBaBBICWEAICEQBgLIEgYAUAAJiAAAAQAkBA=</HashCode>
107
<FileName>FileInterface.cs</FileName>
118
</TypeIdentifier>
9+
<ShowAsAssociation>
10+
<Property Name="NewFilenameGenerator" />
11+
</ShowAsAssociation>
12+
</Class>
13+
<Class Name="FileInterfaceControlLibrary.NewFilenameGenerator">
14+
<Position X="7.5" Y="1.75" Width="1.5" />
15+
<TypeIdentifier>
16+
<HashCode>ACAAAAAAACAAAAAAAACAAAACAAIAAAAIAEEAAEAAAAA=</HashCode>
17+
<FileName>NewFilenameGenerator.cs</FileName>
18+
</TypeIdentifier>
1219
</Class>
1320
<Font Name="Segoe UI" Size="9" />
1421
</ClassDiagram>

‎FileInterface/FileInterfaceControlLibrary/FileInterface.Designer.cs‎

Lines changed: 9 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
(0)

AltStyle によって変換されたページ (->オリジナル) /