private void btnTestPopup1_Click(object sender, RoutedEventArgs e) { pop1.IsOpen = true; } private void btnOK1_Click(object sender, RoutedEventArgs e) { pop1.IsOpen = false; } private void btnCancel1_Click(object sender, RoutedEventArgs e) { pop1.IsOpen = false; } private void btnTestPopup2_Click(object sender, RoutedEventArgs e) { pop2.IsOpen = true; } private void btnOK2_Click(object sender, RoutedEventArgs e) { pop2.IsOpen = false; } private void btnCancel2_Click(object sender, RoutedEventArgs e) { pop2.IsOpen = false; } private void btnTestPopup3_Click(object sender, RoutedEventArgs e) { pop3.IsOpen = true; } private void btnOK3_Click(object sender, RoutedEventArgs e) { pop3.IsOpen = false; } private void btnCancel3_Click(object sender, RoutedEventArgs e) { pop3.IsOpen = false; } private void btnTestPopup4_Click(object sender, RoutedEventArgs e) { pop4.IsOpen = true; } private void btnOK4_Click(object sender, RoutedEventArgs e) { pop4.IsOpen = false; } private void btnCancel4_Click(object sender, RoutedEventArgs e) { pop4.IsOpen = false; }
WPF气泡样式弹窗效果代码分享(2)
内容版权声明:除非注明,否则皆为本站原创文章。