【2019-10-13】 04-注册页面完成--研发部内部分享

任务:在自己项目中还原下面的操作,并且了解业务逻辑(界面不是主要,有大概B数就行)。

一.登陆页面效果(可以自己创新):

04-01.png

二.项目结构:

04-02.png

三.登陆所用图片:

QQ背景图片.png
微信截图_20191017113925.png

四.xaml代码:

xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"

xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"

xmlns:d="http://schemas.microsoft.com/expression/blend/2008"

xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"

xmlns:local="clr-namespace:LoginWindows"

mc:Ignorable="d"

Title="Register"

Height="250"

Width="350"

WindowStyle="None"

WindowStartupLocation="CenterScreen"

ResizeMode="NoResize"

MouseLeftButtonDown="Window_MouseLeftButtonDown">

五.后台代码:

using System;

using System.Collections.Generic;

using System.Linq;

using System.Text;

using System.Threading.Tasks;

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.Shapes;

namespace LoginWindows

{

///

/// RegisterWindow.xaml 的交互逻辑

///

public partial class RegisterWindow : Window

{

public RegisterWindow()

{

InitializeComponent();

}

///

/// 窗体鼠标左键事件,设置为拖动

///

///

///

private void Window_MouseLeftButtonDown(object sender, MouseButtonEventArgs e)

{

this.DragMove();

}

///

/// 窗体最小化

///

///

///

private void Btn_min_Click(object sender, RoutedEventArgs e)

{

this.WindowState = WindowState.Minimized;

}

///

/// 窗体关闭

///

///

///

private void Btn_close_Click(object sender, RoutedEventArgs e)

{

this.Close();

}

///

/// 取消操作

///

///

///

private void Btn_cancer_Click(object sender, RoutedEventArgs e)

{

}

///

/// 注册操作

///

///

///

private void Btn_register_Click(object sender, RoutedEventArgs e)

{

}

}

}

明天早上进行第二次文档发部。

你可能感兴趣的:(【2019-10-13】 04-注册页面完成--研发部内部分享)