Files
RevitTools/ScriptPad/MainWindow.xaml

28 lines
1.2 KiB
Plaintext
Raw Normal View History

2026-02-23 16:55:06 +08:00
<Window x:Class="ScriptPad.MainWindow"
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:ScriptPad"
mc:Ignorable="d"
Title="MainWindow" Height="450" Width="800" Closing="Window_Closing" UseLayoutRounding="True">
<Window.Resources>
<RoutedCommand x:Key="runCommand" />
</Window.Resources>
<Window.InputBindings>
<KeyBinding Key="F5" Command="{StaticResource runCommand}"/>
</Window.InputBindings>
<Window.CommandBindings>
<CommandBinding Command="{StaticResource runCommand}"
Executed="RunCommand_Executed"/>
</Window.CommandBindings>
<Grid>
<Grid.RowDefinitions>
<RowDefinition Height="*"></RowDefinition>
</Grid.RowDefinitions>
<TabControl Name="tc" SelectionChanged="TabControl_SelectionChanged" VerticalAlignment="Stretch" VerticalContentAlignment="Stretch">
<TabItem Header="+">
</TabItem>
</TabControl>
</Grid>
</Window>