第七色在线视频,2021少妇久久久久久久久久,亚洲欧洲精品成人久久av18,亚洲国产精品特色大片观看完整版,孙宇晨将参加特朗普的晚宴

為了賬號(hào)安全,請(qǐng)及時(shí)綁定郵箱和手機(jī)立即綁定
已解決430363個(gè)問題,去搜搜看,總會(huì)有你想問的

打開彈出窗口時(shí),單擊一次時(shí)Windows標(biāo)題欄的“最小化”,“最大化”和“關(guān)閉”按鈕不起作用

打開彈出窗口時(shí),單擊一次時(shí)Windows標(biāo)題欄的“最小化”,“最大化”和“關(guān)閉”按鈕不起作用

C#
慕桂英3389331 2021-05-05 15:22:06
打開我的彈出窗口時(shí),第一次單擊“最小化”或“最大化”或“關(guān)閉”按鈕不起作用。第一次單擊這些標(biāo)題欄按鈕將關(guān)閉彈出菜單并移動(dòng)焦點(diǎn),然后在第二次單擊上最小化/最大化/關(guān)閉窗口工作。有什么辦法-我們可以在第一次單擊時(shí)激活這些標(biāo)題欄按鈕嗎?MainWindow.xaml<Button Height="54" Width="50" Margin="100,0,0,0" x:Name="btnNotification"  FontFamily="Segoe UI Symbol" FontSize="20" Content="&#x1f514;" Command="{Binding LoadNotification}" Click="btnNotification_Click"/><Popup Name="NotificationPopup" IsOpen="False" Closed="PopupClosed" StaysOpen="False" PlacementTarget="{Binding ElementName=btnNotification}" Placement="Bottom" VerticalOffset="20">    <Grid x:Name="PopUpGrid" Height="560" Width="360" Background="White">        <StackPanel Orientation="Vertical" HorizontalAlignment="Right">            <Button  BorderBrush="Transparent" BorderThickness="0" Background="White" >                <StackPanel Width="{Binding ActualWidth, ElementName=PopUpGrid}" Orientation="Vertical">                    <WrapPanel>                        <Rectangle Width="20"/>                        <TextBlock  Text="Notifications" Width="300" HorizontalAlignment="Left" VerticalAlignment="Top" FontSize="24" FontWeight="Light" />                        <Button Click="btnNotification_Click" >                            <StackPanel>                                <TextBlock Text="&#x2715;" Foreground="Black" FontWeight="ExtraLight"/>                            </StackPanel>                        </Button>                    </WrapPanel>                    <Grid>                            <!--Datagrid-->                    </Grid>                </StackPanel>            </Button>        </StackPanel>    </Grid></Popup>MainWindow.xaml.cspublic void PopupClosed(object sender, EventArgs e){    NotificationPopup.IsOpen = false;               }
查看完整描述

1 回答

  • 1 回答
  • 0 關(guān)注
  • 172 瀏覽

添加回答

舉報(bào)

0/150
提交
取消
微信客服

購課補(bǔ)貼
聯(lián)系客服咨詢優(yōu)惠詳情

幫助反饋 APP下載

慕課網(wǎng)APP
您的移動(dòng)學(xué)習(xí)伙伴

公眾號(hào)

掃描二維碼
關(guān)注慕課網(wǎng)微信公眾號(hào)