private void searchedCompanyItemGrid_RightTapped(object sender, RightTappedRoutedEventArgs e) { SearchedCompanyListItem scli = (sender as Grid).DataContext as SearchedCompanyListItem; scciForClipboard = new SearchedCompanyClipboardItem(scli.RegNo, scli.Name, scli.EstDate, scli.LegPerson, scli.RegOrg); menuFlyout.ShowAt(searchedCompanyList, e.GetPosition(searchedCompanyList)); }
private void checkCompanyItemGrid_RightTapped(object sender, RightTappedRoutedEventArgs e) { CheckCompanyListItem ccli = (sender as Grid).DataContext as CheckCompanyListItem; scciForClipboard = new SearchedCompanyClipboardItem(ccli.RegNo, ccli.Name, ccli.Date, ccli.Result, ""); menuFlyout.ShowAt(checkCompanyList, e.GetPosition(checkCompanyList)); }
private void noticeItemGrid_RightTapped(object sender, RightTappedRoutedEventArgs e) { NoticeListItem nli = (sender as Grid).DataContext as NoticeListItem; scciForClipboard = new SearchedCompanyClipboardItem(nli.CompanyName, nli.NoticeName, nli.NoticeDate, "", ""); menuFlyout.ShowAt(noticeList, e.GetPosition(noticeList)); }
private void abnormalCompanyItemGrid_RightTapped(object sender, RightTappedRoutedEventArgs e) { AbnormalCompanyListItem acli = (sender as Grid).DataContext as AbnormalCompanyListItem; scciForClipboard = new SearchedCompanyClipboardItem(acli.RegNo, acli.Name, acli.Date, "", ""); menuFlyout.ShowAt(abnormalCompanyList, e.GetPosition(abnormalCompanyList)); }
private void menuFlyout_Closed(object sender, object e) { scciForClipboard = new SearchedCompanyClipboardItem("", "", "", "", ""); }