基本信息
源码名称:wpf+winform+touchable+touch 窗体应用完整源码 (含sqlserverce数据库)
源码大小:1.30M
文件格式:.zip
开发语言:C#
更新时间:2014-01-25
友情提示:(无需注册或充值,赞助后即可获取资源下载链接)
嘿,亲!知识可是无价之宝呢,但咱这精心整理的资料也耗费了不少心血呀。小小地破费一下,绝对物超所值哦!如有下载和支付问题,请联系我们QQ(微信同号):813200300
本次赞助数额为: 2 元×
微信扫码支付:2 元
×
请留下您的邮箱,我们将在2小时内将文件发到您的邮箱
源码介绍
/* Copyright (c) <2012>, Intel Corporation All Rights Reserved. The source code, information and material ("Material") contained herein is owned by Intel Corporation or its suppliers or licensors, and title to such Material remains with Intel Corporation or its suppliers or licensors. The Material contains proprietary information of Intel or its suppliers and licensors. The Material is protected by worldwide copyright laws and treaty provisions. No part of the Material may be used, copied, reproduced, modified, published, uploaded, posted, transmitted, distributed or disclosed in any way without Intel's prior express written permission. No license under any patent, copyright or other intellectual property rights in the Material is granted to or conferred upon you, either expressly, by implication, inducement, estoppel or otherwise. Any license under such intellectual property rights must be express and approved by Intel in writing. Unless otherwise agreed by Intel in writing, you may not remove or alter this notice or any other notice embedded in Materials by Intel or Intel’s suppliers or licensors in any way. */ using System; using System.Windows; using System.Windows.Controls.Ribbon; using System.Windows.Input; namespace UltrabookWPF { /// <summary> /// Interaction logic for MainWindow.xaml /// </summary> public partial class MainWindow : Window { public MainWindow() { InitializeComponent(); } System.Windows.Data.CollectionViewSource employeesViewSource; private void Window_Loaded_1(object sender, RoutedEventArgs e) { UltrabookWPF.UltrabookDBDataSet myDataSet = ((UltrabookWPF.UltrabookDBDataSet)(this.FindResource("UltrabookDataSet"))); // Load data into the table Employees. You can modify this code as needed. UltrabookDBDataSetTableAdapters.EmployeesTableAdapter myTableAdapter = new UltrabookDBDataSetTableAdapters.EmployeesTableAdapter(); myTableAdapter.Fill(myDataSet.Employees); employeesViewSource = ((System.Windows.Data.CollectionViewSource)(this.FindResource("employeesViewSource"))); employeesViewSource.View.MoveCurrentToFirst(); } private void cmdNotImplemented(object sender, RoutedEventArgs e) { var myBtn = sender as RibbonButton; MessageBox.Show("Not implemented [" myBtn.Label "]"); } private void cmdPrev_Click_1(object sender, RoutedEventArgs e) { employeesViewSource.View.MoveCurrentToPrevious(); } private void cmdNext_Click_1(object sender, RoutedEventArgs e) { employeesViewSource.View.MoveCurrentToNext(); } } }