This repository has been archived by the owner on Jul 24, 2020. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #34 from haevg-rz/milestone-mvp-0.2
Milestone mvp 0.2
- Loading branch information
Showing
7 changed files
with
132 additions
and
5 deletions.
There are no files selected for viewing
46 changes: 46 additions & 0 deletions
46
Planungsboard.Presentation/UserControls/MenuUserControl.xaml
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,46 @@ | ||
<UserControl x:Class="Planungsboard.Presentation.MenuUserControl" | ||
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" | ||
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" | ||
xmlns:viewModels="clr-namespace:Planungsboard.Presentation.ViewModels"> | ||
|
||
<UserControl.Resources> | ||
<Style x:Key="BaseStyle" TargetType="FrameworkElement"> | ||
<Setter Property="Margin" Value="5,2.5,5,2.5" /> | ||
</Style> | ||
|
||
<Style x:Key="SideBarButtonStyle" TargetType="Button" BasedOn="{StaticResource BaseStyle}"> | ||
<Setter Property="Padding" Value="5,2.5,5,2.5" /> | ||
</Style> | ||
<Style x:Key="SideBarHintStyle" TargetType="TextBlock" BasedOn="{StaticResource BaseStyle}"> | ||
<Setter Property="FontSize" Value="8" /> | ||
<Setter Property="HorizontalAlignment" Value="Center" ></Setter> | ||
</Style> | ||
|
||
</UserControl.Resources> | ||
<Grid> | ||
<Grid.RowDefinitions> | ||
<RowDefinition Height="Auto" /> | ||
<RowDefinition Height="*" /> | ||
<RowDefinition Height="Auto"/> | ||
</Grid.RowDefinitions> | ||
<StackPanel Grid.Row="0"> | ||
<Button Content="Open On GitHib" FontSize="5" Style="{StaticResource SideBarButtonStyle}" CommandParameter="https://github.com/haevg-rz/Planungsboard/" /> | ||
<Rectangle Height="100"></Rectangle> | ||
<Button Content="New Team" Style="{StaticResource SideBarButtonStyle}" Command="{Binding Path=(viewModels:MainViewModel.NewTeamCommand)}" /> | ||
<Button Content="New Card" Style="{StaticResource SideBarButtonStyle}" /> | ||
|
||
<Separator Style="{StaticResource BaseStyle}" /> | ||
|
||
<Button Content="Save" Style="{StaticResource SideBarButtonStyle}" /> | ||
<Button Content="Load" Style="{StaticResource SideBarButtonStyle}" /> | ||
|
||
</StackPanel> | ||
|
||
<StackPanel Grid.Row="2"> | ||
<Button Content="Help" Style="{StaticResource SideBarButtonStyle}" /> | ||
<Button Content="Toogle Sidebar" Style="{StaticResource SideBarButtonStyle}" /> | ||
<TextBlock Text="0.0.0" Style="{StaticResource SideBarHintStyle}" /> | ||
</StackPanel> | ||
</Grid> | ||
|
||
</UserControl> |
12 changes: 12 additions & 0 deletions
12
Planungsboard.Presentation/UserControls/MenuUserControl.xaml.cs
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,12 @@ | ||
using System.Windows.Controls; | ||
|
||
namespace Planungsboard.Presentation | ||
{ | ||
public partial class MenuUserControl : UserControl | ||
{ | ||
public MenuUserControl() | ||
{ | ||
InitializeComponent(); | ||
} | ||
} | ||
} |
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
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
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
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,12 @@ | ||
<Window x:Class="Planungsboard.Presentation.Views.NewEntityWindows" | ||
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:Planungsboard.Presentation.Views" | ||
mc:Ignorable="d" | ||
Title="NewEntityWindows" Height="450" Width="800"> | ||
<Grid> | ||
|
||
</Grid> | ||
</Window> |
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,37 @@ | ||
using System; | ||
using System.Collections.Generic; | ||
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 Planungsboard.Presentation.Views | ||
{ | ||
/// <summary> | ||
/// Interaktionslogik für NewEntityWindows.xaml | ||
/// </summary> | ||
public partial class NewEntityWindows : Window | ||
{ | ||
public NewEntityWindows() | ||
{ | ||
InitializeComponent(); | ||
} | ||
|
||
} | ||
|
||
public class NewGenericEntityWindows<T> : NewEntityWindows | ||
{ | ||
public NewGenericEntityWindows() | ||
{ | ||
|
||
} | ||
|
||
public T Instance { get; set; } | ||
} | ||
} |