forked from microsoft/WPF-Samples
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Modification of ExpenseItIntro.vbproj (microsoft#253)
* Modification of ExpenseItIntro.vbproj, adding it to GettingStarted.sln and WPFSamples.sln, removing GenerateAssemblyInfo settings from accessibility sample apps * removed assemblyInfo.cs files from accessibility projects * Renamed ExpenseItIntro vbproj to ExpenseItIntro2.vbproj, removed assemblyInfo.vb
- Loading branch information
Showing
20 changed files
with
124 additions
and
508 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
3 changes: 1 addition & 2 deletions
3
Getting Started/WalkthroughFirstWPFApp/csharp/ExpenseItIntro.csproj
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 2 additions & 0 deletions
2
Getting Started/WalkthroughFirstWPFApp/vb/Application.xaml.vb
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,5 @@ | ||
Imports System.Windows | ||
|
||
Namespace ExpenseIt9 | ||
''' <summary> | ||
''' Interaction logic for App.xaml | ||
|
31 changes: 17 additions & 14 deletions
31
Getting Started/WalkthroughFirstWPFApp/vb/ExpenseItHome.xaml.vb
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,20 +1,23 @@ | ||
Imports System.Windows | ||
Imports System.Windows.Controls | ||
|
||
Namespace ExpenseIt | ||
''' <summary> | ||
''' Interaction logic for ExpenseItHome.xaml | ||
''' </summary> | ||
Partial Public Class ExpenseItHome | ||
Inherits Page | ||
Public Sub New() | ||
InitializeComponent() | ||
End Sub | ||
''' <summary> | ||
''' Interaction logic for ExpenseItHome.xaml | ||
''' </summary> | ||
Partial Public Class ExpenseItHome | ||
Inherits Page | ||
Public Sub New() | ||
InitializeComponent() | ||
End Sub | ||
|
||
|
||
Private Sub Button_Click(ByVal sender As Object, ByVal e As RoutedEventArgs) | ||
' View Expense Report | ||
Dim expenseReportPage As New ExpenseReportPage(Me.peopleListBox.SelectedItem) | ||
Me.NavigationService.Navigate(expenseReportPage) | ||
Private Sub Button_Click(ByVal sender As Object, ByVal e As RoutedEventArgs) | ||
' View Expense Report | ||
Dim expenseReportPage As New ExpenseReportPage(Me.peopleListBox.SelectedItem) | ||
Me.NavigationService.Navigate(expenseReportPage) | ||
|
||
End Sub | ||
End Sub | ||
|
||
End Class | ||
End Class | ||
End Namespace |
20 changes: 0 additions & 20 deletions
20
Getting Started/WalkthroughFirstWPFApp/vb/ExpenseItIntro.sln
This file was deleted.
Oops, something went wrong.
148 changes: 0 additions & 148 deletions
148
Getting Started/WalkthroughFirstWPFApp/vb/ExpenseItIntro.vbproj
This file was deleted.
Oops, something went wrong.
25 changes: 25 additions & 0 deletions
25
Getting Started/WalkthroughFirstWPFApp/vb/ExpenseItIntro2.sln
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
|
||
Microsoft Visual Studio Solution File, Format Version 12.00 | ||
# Visual Studio Version 16 | ||
VisualStudioVersion = 16.0.29613.14 | ||
MinimumVisualStudioVersion = 10.0.40219.1 | ||
Project("{778DAE3C-4631-46EA-AA77-85C1314464D9}") = "ExpenseItIntro2", "ExpenseItIntro2.vbproj", "{270A838B-4FC0-4E19-9AD0-1AF088740203}" | ||
EndProject | ||
Global | ||
GlobalSection(SolutionConfigurationPlatforms) = preSolution | ||
Debug|Any CPU = Debug|Any CPU | ||
Release|Any CPU = Release|Any CPU | ||
EndGlobalSection | ||
GlobalSection(ProjectConfigurationPlatforms) = postSolution | ||
{270A838B-4FC0-4E19-9AD0-1AF088740203}.Debug|Any CPU.ActiveCfg = Release|Any CPU | ||
{270A838B-4FC0-4E19-9AD0-1AF088740203}.Debug|Any CPU.Build.0 = Release|Any CPU | ||
{270A838B-4FC0-4E19-9AD0-1AF088740203}.Release|Any CPU.ActiveCfg = Release|Any CPU | ||
{270A838B-4FC0-4E19-9AD0-1AF088740203}.Release|Any CPU.Build.0 = Release|Any CPU | ||
EndGlobalSection | ||
GlobalSection(SolutionProperties) = preSolution | ||
HideSolutionNode = FALSE | ||
EndGlobalSection | ||
GlobalSection(ExtensibilityGlobals) = postSolution | ||
SolutionGuid = {55B96E49-A987-4FCF-8683-DD7B781115EB} | ||
EndGlobalSection | ||
EndGlobal |
16 changes: 16 additions & 0 deletions
16
Getting Started/WalkthroughFirstWPFApp/vb/ExpenseItIntro2.vbproj
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
<Project Sdk="Microsoft.NET.Sdk.WindowsDesktop"> | ||
<PropertyGroup> | ||
<TargetFramework>netcoreapp3.0</TargetFramework> | ||
<UseWPF>true</UseWPF> | ||
<OutputType>WinExe</OutputType> | ||
<RootNamespace>ExpenseIt9</RootNamespace> | ||
<AssemblyName>ExpenseIt9</AssemblyName> | ||
<LangVersion>14.0</LangVersion> | ||
</PropertyGroup> | ||
<ItemGroup> | ||
<AppDesigner Include="Properties\" /> | ||
</ItemGroup> | ||
<ItemGroup> | ||
<Resource Include="watermark.png" /> | ||
</ItemGroup> | ||
</Project> |
32 changes: 17 additions & 15 deletions
32
Getting Started/WalkthroughFirstWPFApp/vb/ExpenseReportPage.xaml.vb
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,21 +1,23 @@ | ||
Imports System.Windows.Controls | ||
|
||
Namespace ExpenseIt | ||
''' <summary> | ||
''' Interaction logic for ExpenseReportPage.xaml | ||
''' </summary> | ||
''' <summary> | ||
''' Interaction logic for ExpenseReportPage.xaml | ||
''' </summary> | ||
|
||
Partial Public Class ExpenseReportPage | ||
Inherits Page | ||
Public Sub New() | ||
InitializeComponent() | ||
End Sub | ||
Partial Public Class ExpenseReportPage | ||
Inherits Page | ||
Public Sub New() | ||
InitializeComponent() | ||
End Sub | ||
|
||
' Custom constructor to pass expense report data | ||
Public Sub New(ByVal data As Object) | ||
Me.New() | ||
' Bind to expense report data. | ||
Me.DataContext = data | ||
End Sub | ||
' Custom constructor to pass expense report data | ||
Public Sub New(ByVal data As Object) | ||
Me.New() | ||
' Bind to expense report data. | ||
Me.DataContext = data | ||
End Sub | ||
|
||
End Class | ||
End Class | ||
|
||
End Namespace |
20 changes: 11 additions & 9 deletions
20
Getting Started/WalkthroughFirstWPFApp/vb/MainWindow.xaml.vb
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,11 +1,13 @@ | ||
Imports System.Windows.Navigation | ||
|
||
Namespace ExpenseIt | ||
''' <summary> | ||
''' Interaction logic for MainWindow.xaml | ||
''' </summary> | ||
Partial Public Class MainWindow | ||
Inherits NavigationWindow | ||
Public Sub New() | ||
InitializeComponent() | ||
End Sub | ||
End Class | ||
''' <summary> | ||
''' Interaction logic for MainWindow.xaml | ||
''' </summary> | ||
Partial Public Class MainWindow | ||
Inherits NavigationWindow | ||
Public Sub New() | ||
InitializeComponent() | ||
End Sub | ||
End Class | ||
End Namespace |
Oops, something went wrong.