/// <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();
 }