Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
701 changes: 334 additions & 367 deletions VictorBush.Ego.NefsEdit/UI/EditorForm.Designer.cs

Large diffs are not rendered by default.

13 changes: 13 additions & 0 deletions VictorBush.Ego.NefsEdit/UI/EditorForm.cs
Original file line number Diff line number Diff line change
Expand Up @@ -127,8 +127,21 @@ private void EditorForm_Load(object sender, EventArgs e)

// Load settings
SettingsService.Load();

this.Shown += EditorForm_FirstShown;
}

// Launch the Open dialog when the editor is first shown
private void EditorForm_FirstShown(object sender, EventArgs e)
{
// Unsubscribe so it only runs once
this.Shown -= EditorForm_FirstShown;

// Simulate the user clicking File > Open
openMainMenuItem.PerformClick();
}


private void ExitToolStripMenuItem_Click(object sender, EventArgs e)
{
// Quit the application
Expand Down
3,913 changes: 3,885 additions & 28 deletions VictorBush.Ego.NefsEdit/UI/EditorForm.resx

Large diffs are not rendered by default.

986 changes: 486 additions & 500 deletions VictorBush.Ego.NefsEdit/UI/OpenFileForm.Designer.cs

Large diffs are not rendered by default.

3,919 changes: 3,918 additions & 1 deletion VictorBush.Ego.NefsEdit/UI/OpenFileForm.resx

Large diffs are not rendered by default.

3 changes: 3 additions & 0 deletions VictorBush.Ego.NefsEdit/VictorBush.Ego.NefsEdit.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,8 @@
<Nullable>enable</Nullable>

<Title>NeFS Edit</Title>

<ApplicationIcon>icon.ico</ApplicationIcon>
</PropertyGroup>
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
<CodeAnalysisRuleSet></CodeAnalysisRuleSet>
Expand All @@ -31,6 +33,7 @@
<PackageReference Include="DockPanelSuite.ThemeVS2015" />
</ItemGroup>
<ItemGroup>
<Content Include="icon.ico" />
<Content Include="Resources\question.ico" />
</ItemGroup>
</Project>
Binary file added VictorBush.Ego.NefsEdit/icon.ico
Binary file not shown.