<Window x:Class="OPlanner.ExportPrintCourses" xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" Title="Export/Print Course Maps" Height="500" Width="600" WindowStartupLocation="CenterOwner">
    <Grid>
		<StackPanel>
			<StackPanel>
				<Label>Courses</Label>
				<ListBox Name="coursesBox" Height="200" SelectionMode="Extended" Width="400" HorizontalAlignment="Left"></ListBox>
			</StackPanel>
			<StackPanel>
				<StackPanel Margin="0,10,0,10">
					<Label FontWeight="Bold">Export</Label>
					<StackPanel Orientation="Horizontal" Margin="5,0,0,5">
						<Label>Format:</Label>
						<RadioButton Name="jpegButton" GroupName="formatGroup" IsChecked="True" Margin="5,0,5,0" VerticalAlignment="Center" Checked="jpegButton_Checked" Unchecked="jpegButton_Unchecked">Jpeg</RadioButton>
						<RadioButton Name="pngButton" GroupName="formatGroup" VerticalAlignment="Center">Png</RadioButton>
						<Label Margin="5,0,0,0">Dpi:</Label>
						<TextBox Width="60" Name="dpiBox"></TextBox>
						<StackPanel Orientation="Horizontal" Name="qualityPanel">
							<Label Margin="5,0,0,0">Quality:</Label>
							<TextBox Width="60" Name="qualityBox"></TextBox>
						</StackPanel>
					</StackPanel>
					<Button Name="exportButton" HorizontalAlignment="Left" Click="exportButton_Click" Margin="5,0,0,0">Export</Button>
				</StackPanel>
				<StackPanel>
					<Label FontWeight="Bold">Print</Label>
					<StackPanel Orientation="Horizontal">
						<Label Name="printerLabel">Printer:</Label>
						<Button Name="printerButton" Click="printerButton_Click">Printer Settings</Button>
					</StackPanel>
					<StackPanel Orientation="Horizontal" Margin="5,5,0,0">
						<Button Name="setPrintAreaButton" Click="setPrintAreaButton_Click">Set print area</Button>
						<Button Name="previewButton" Click="previewButton_Click" Margin="5,0,0,0">Print Preview</Button>
					</StackPanel>
				</StackPanel>
			</StackPanel>
		</StackPanel>
    </Grid>
</Window>
