找传奇、传世资源到传世资源站!

wpf 仿QQ2013登陆界面源码下载

8.5玩家评分(1人评分)
下载后可评
介绍 评论 失效链接反馈

仿QQ2013登陆界面 wpf 仿QQ2013登陆界面源码下载 C#语言基础-第1张wpf 仿QQ2013登陆界面源码下载 C#语言基础-第2张using System;using System.Collections.Generic;using System.Linq;using System.Text;using System.Windows;using System.Windows.Controls;using System.Windows.Data;using System.Windows.Documents;using System.Windows.Input;using System.Windows.Media;using System.Windows.Media.Imaging;using System.Windows.Navigation;using System.Windows.Shapes;using System.Windows.Media.Animation;using System.Windows.Threading;using System.Threading;namespace MusicPlayer{ /// <summary> /// MainWindow.xaml 的交互逻辑 /// </summary> public partial class MainWindow : Window { public MainWindow() { InitializeComponent(); } static void DoEvents() { DispatcherFrame frame = new DispatcherFrame(true); Dispatcher.CurrentDispatcher.BeginInvoke(DispatcherPriority.Background, (SendOrPostCallback)delegate(object arg) { DispatcherFrame fr = arg as DispatcherFrame; fr.Continue = false; }, frame); Dispatcher.PushFrame(frame); } private void Window_MouseDown(object sender, MouseButtonEventArgs e) { if (e.ChangedButton == MouseButton.Left) this.DragMove(); } private void Button_Click(object sender, RoutedEventArgs e) { Close(); } private void Button_Click_1(object sender, RoutedEventArgs e) { #region 隐藏无关控件 QQhead.Visibility = Visibility.Collapsed; textBox1.Visibility = Visibility.Collapsed; passwordBox1.Visibility = Visibility.Collapsed; checkBox2.Visibility = Visibility.Collapsed; checkBox1.Visibility = Visibility.Collapsed; qqLogo.Visibility = Visibility.Collapsed; textBlock1.Visibility = Visibility.Collapsed; textBlock2.Visibility = Visibility.Collapsed; qq.Visibility = Visibility.Visible; tb.Visibility = Visibility.Visible; #endregion //MessageBox.Show("欢迎使用QQ2013单机版"); Storyboard sb = Resources["sbClour"] as Storyboard; sb.Begin(); //DateTime time = DateTime.Now; //while (true) //{ // //DoEvents(); // //TimeSpan span = DateTime.Now - time; // //if (span.TotalMilliseconds > 2500) // //{ // // Window tk = new Talk(); // // tk.ShowDialog(); // //} //} } private void Window_Loaded(object sender, RoutedEventArgs e) { Storyboard sbd = Resources["sbCloud"] as Storyboard; sbd.Begin(); } }}

评论

发表评论必须先登陆, 您可以 登陆 或者 注册新账号 !


在线咨询: 问题反馈
客服QQ:174666394

有问题请留言,看到后及时答复