Skip to content
Snippets Groups Projects
Commit ad427b48 authored by Martin Hustoles's avatar Martin Hustoles
Browse files

Desktop app Init

parent e2701678
No related branches found
No related tags found
1 merge request!2Desktop app Init
Showing
with 178 additions and 0 deletions
File added
File added
File added
File added
File added

Microsoft Visual Studio Solution File, Format Version 12.00
# Visual Studio Version 17
VisualStudioVersion = 17.8.34511.84
MinimumVisualStudioVersion = 10.0.40219.1
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "InnoLabProjektDektopApp", "InnoLabProjektDektopApp\InnoLabProjektDektopApp.csproj", "{15CC0C64-9A22-49E6-A67B-AEB91AE03F7B}"
EndProject
Global
GlobalSection(SolutionConfigurationPlatforms) = preSolution
Debug|Any CPU = Debug|Any CPU
Release|Any CPU = Release|Any CPU
EndGlobalSection
GlobalSection(ProjectConfigurationPlatforms) = postSolution
{15CC0C64-9A22-49E6-A67B-AEB91AE03F7B}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{15CC0C64-9A22-49E6-A67B-AEB91AE03F7B}.Debug|Any CPU.Build.0 = Debug|Any CPU
{15CC0C64-9A22-49E6-A67B-AEB91AE03F7B}.Release|Any CPU.ActiveCfg = Release|Any CPU
{15CC0C64-9A22-49E6-A67B-AEB91AE03F7B}.Release|Any CPU.Build.0 = Release|Any CPU
EndGlobalSection
GlobalSection(SolutionProperties) = preSolution
HideSolutionNode = FALSE
EndGlobalSection
GlobalSection(ExtensibilityGlobals) = postSolution
SolutionGuid = {7A1ACC9D-0358-40A6-BF35-07AC418662EC}
EndGlobalSection
EndGlobal
<Application x:Class="InnoLabProjektDektopApp.App"
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
xmlns:local="clr-namespace:InnoLabProjektDektopApp"
StartupUri="Screens\Regulaer\01Overview.xaml">
<Application.Resources>
<ResourceDictionary>
<ResourceDictionary.MergedDictionaries>
<ResourceDictionary Source="Styles/Styles.xaml"/>
</ResourceDictionary.MergedDictionaries>
</ResourceDictionary>
</Application.Resources>
</Application>
using System.Configuration;
using System.Data;
using System.Windows;
namespace InnoLabProjektDektopApp
{
/// <summary>
/// Interaction logic for App.xaml
/// </summary>
public partial class App : Application
{
}
}
using System.Windows;
[assembly: ThemeInfo(
ResourceDictionaryLocation.None, //where theme specific resource dictionaries are located
//(used if a resource is not found in the page,
// or application resource dictionaries)
ResourceDictionaryLocation.SourceAssembly //where the generic resource dictionary is located
//(used if a resource is not found in the page,
// app, or any theme specific resource dictionaries)
)]
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
<OutputType>WinExe</OutputType>
<TargetFramework>net8.0-windows</TargetFramework>
<Nullable>enable</Nullable>
<ImplicitUsings>enable</ImplicitUsings>
<UseWPF>true</UseWPF>
</PropertyGroup>
<ItemGroup>
<Folder Include="API\" />
<Folder Include="Screens\FirstLaunch\" />
</ItemGroup>
</Project>
<?xml version="1.0" encoding="utf-8"?>
<Project ToolsVersion="Current" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<PropertyGroup />
<ItemGroup>
<ApplicationDefinition Update="App.xaml">
<SubType>Designer</SubType>
</ApplicationDefinition>
</ItemGroup>
<ItemGroup>
<Page Update="Screens\Regulaer\04Statistics.xaml">
<SubType>Designer</SubType>
</Page>
<Page Update="Screens\Regulaer\03End.xaml">
<SubType>Designer</SubType>
</Page>
<Page Update="Screens\Regulaer\02Session.xaml">
<SubType>Designer</SubType>
</Page>
<Page Update="Screens\Regulaer\01Overview.xaml">
<SubType>Designer</SubType>
</Page>
<Page Update="Styles\Styles.xaml">
<SubType>Designer</SubType>
</Page>
</ItemGroup>
</Project>
\ No newline at end of file
<Window x:Class="InnoLabProjektDektopApp.Overview"
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
xmlns:local="clr-namespace:InnoLabProjektDektopApp"
mc:Ignorable="d"
ResizeMode="CanMinimize"
Title="CoFlow" Height="550" Width="900">
<Grid>
<Rectangle Style="{StaticResource HeaderLine}" HorizontalAlignment="Center" Margin="0,35,0,0" VerticalAlignment="Top" Width="900" />
<Label Content="Logo" HorizontalAlignment="Left" Margin="10,4,0,0" VerticalAlignment="Top"/>
<Button Content="Option1" Style="{StaticResource TopMenuButon}" HorizontalAlignment="Right" Margin="0,4,160,0" VerticalAlignment="Top" Height="26" Width="56" Click="Option1_Click"/>
<Button Content="Option2" Style="{StaticResource TopMenuButon}" HorizontalAlignment="Right" Margin="0,4,100,0" VerticalAlignment="Top" Height="26" Width="55" Click="Option2_Click"/>
<Button Content="Option3" Style="{StaticResource TopMenuButon}" HorizontalAlignment="Right" Margin="0,4,40,0" VerticalAlignment="Top" Height="26" Width="55" Click="Option3_Click"/>
</Grid>
</Window>
using System.Text;
using System.Windows;
using System.Windows.Controls;
using System.Windows.Data;
using System.Windows.Documents;
using System.Windows.Input;
using System.Windows.Media;
using System.Windows.Media.Imaging;
using System.Windows.Navigation;
using System.Windows.Shapes;
namespace InnoLabProjektDektopApp
{
/// <summary>
/// Interaction logic for MainWindow.xaml
/// </summary>
public partial class Overview : Window
{
public Overview()
{
InitializeComponent();
}
private void Option1_Click(object sender, RoutedEventArgs e)
{
//this.Content = new AnotherWindow().Content;
}
private void Option2_Click(object sender, RoutedEventArgs e)
{
//this.Content = new AnotherWindow().Content;
}
private void Option3_Click(object sender, RoutedEventArgs e)
{
//this.Content = new AnotherWindow().Content;
}
}
}
\ No newline at end of file
<Window x:Class="InnoLabProjektDektopApp.Session"
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
xmlns:local="clr-namespace:InnoLabProjektDektopApp"
mc:Ignorable="d"
ResizeMode="CanMinimize"
Title="CoFlow" Height="550" Width="900">
<Grid>
<Rectangle Style="{StaticResource HeaderLine}" HorizontalAlignment="Center" Margin="0,35,0,0" VerticalAlignment="Top" Width="900" />
<Label Content="Logo" HorizontalAlignment="Left" Margin="10,4,0,0" VerticalAlignment="Top"/>
<Button Content="Option1" Style="{StaticResource TopMenuButon}" HorizontalAlignment="Right" Margin="0,4,160,0" VerticalAlignment="Top" Height="26" Width="56" Click="Option1_Click"/>
<Button Content="Option2" Style="{StaticResource TopMenuButon}" HorizontalAlignment="Right" Margin="0,4,100,0" VerticalAlignment="Top" Height="26" Width="55" Click="Option2_Click"/>
<Button Content="Option3" Style="{StaticResource TopMenuButon}" HorizontalAlignment="Right" Margin="0,4,40,0" VerticalAlignment="Top" Height="26" Width="55" Click="Option3_Click"/>
</Grid>
</Window>
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment