예제 #1
0
        /// <summary>
        /// 调用显示提示信息
        /// </summary>
        /// <param name="element"></param>
        /// <param name="millisecond"></param>
        public async void Show(FrameworkElement element, string message, int millisecond)
        {
            ShowWithoutClose(element, message);
            await Task.Delay(millisecond);

            MyFlyout.Hide();
        }
예제 #2
0
 private void InnerFlyoutButton_Click(object sender, RoutedEventArgs e)
 {
     MyFlyout.Hide();
 }
예제 #3
0
 private void FlyoutButton_Tapped(object sender, TappedRoutedEventArgs e)
 {
     MyFlyout.Hide();
 }
 private void MyInnerFlyoutButton_OnClick(object sender, RoutedEventArgs e)
 {
     MyFlyout.Hide();
     // throw new NotImplementedException();
 }
예제 #5
0
 private void FlyoutBtn_Click(object sender, RoutedEventArgs e)
 {
     MyFlyout.Hide();
 }
예제 #6
0
 private void InnerFlyoutButton_Click(object sender, RoutedEventArgs e)
 {
     MyFlyout.Hide();
     Frame.Navigate(typeof(BlankPage1));
 }
 private void CancelButton_Click(object sender, RoutedEventArgs e)
 {
     MyFlyout.Hide();
 }