나는 응용 프로그램을 이동 싶어요. 광학적 인 이유 때문에 프레임을 제거 했으므로 마치 프레임이있는 것처럼 응용 프로그램을 이동할 수 없습니다. 그림 2에서는이 프레임을보고이 프레임으로 이동하자마자이 프레임을 보았습니다. 보유한 Maustaste가 응용 프로그램을 이동할 수 있습니다. 내 응용 프로그램과 함께이 작업을 수행하고 싶습니다. 그림 1을 참조하십시오. 어떻게 할 수 있습니까? 다시 신청서를 제출할 수 있습니까? 예를 들어 흰색 캔버스를 눌러 이동할 수 있습니다.
<Window x:Name="windowsForm" x:Class="Vorschau.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:Vorschau"
mc:Ignorable="d"
Title="MainWindow" Height="514.583" Width="805.208" FontFamily="Century Gothic" WindowStartupLocation="CenterScreen" BorderThickness="0" ResizeMode="NoResize" WindowStyle="None" Icon="C:\Users\benutzer\Documents\Visual Studio 2015\Projects\Vorschau\Vorschau\img\coordinates.ico">
<Canvas HorizontalAlignment="Left" Height="60" VerticalAlignment="Top" Width="185" Background="#FFE57E31">
<Canvas Height="96" Canvas.Top="419" Width="185" Background="#FF2C373F">
<Label x:Name="lbCopyright" Content="© Name 2017" Canvas.Left="10" Canvas.Top="61" Width="121" Foreground="#FF1B1D1F"/>
</Canvas>
<Canvas Height="359" Canvas.Top="60" Width="185" Background="#FF37424A"/>
<Canvas Height="60" Canvas.Left="185" Width="610">
<Label x:Name="lbClose" Content="X" Canvas.Left="578" FontSize="20"/>
<Label x:Name="lbMinimize" Content="-" Canvas.Left="556" FontSize="22" Canvas.Top="-2"/>
</Canvas>
<Canvas Height="455" Canvas.Left="185" Canvas.Top="60" Width="618" Background="#FFD1CFD0"/>
<Image x:Name="image" Height="38" Canvas.Left="10" Canvas.Top="10" Width="38" Source="C:\Users\benutzer\Documents\Visual Studio 2015\Projects\Vorschau\Vorschau\img\coordinates64.png"/>
<Label x:Name="lbLogoname" Content="Vorschaukomponente" Canvas.Left="37" Canvas.Top="10" Width="143" FontWeight="Bold" Foreground="White"/>
</Canvas>
</Window>
참조 : http://stackoverflow.com/a/20623867/1136211 – Clemens