![](https://img-blog.csdnimg.cn/20201014180756930.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
C#
C#学习
酥酥~
不更新就是摆烂了
展开
-
【C#学习】文本字体、颜色操作
1、界面设计<Window x:Class="A._5._2_舒亚鹏_1912080085.MainWindow" 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原创 2022-04-25 12:03:45 · 3118 阅读 · 2 评论 -
【C#学习】Windows窗体设计练习
涉及知识:① 登录(在主窗体显示之前先显示登录窗体)② 弹窗③ 下拉列表1、登录界面设计<Window x:Class="A._5._1_1912080085_舒亚鹏.LoginForm" xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" xmlns.原创 2022-04-25 11:56:38 · 2288 阅读 · 0 评论 -
【C#学习】文本文件读写练习
1、界面设计<Window x:Class="A._4._2_文本文件读写练习.MainWindow" 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原创 2022-04-25 11:33:07 · 305 阅读 · 0 评论 -
【C#学习】泛型和LINQ查询
1、要被查询的类using System;using System.Collections.Generic;using System.Linq;using System.Text;using System.Threading.Tasks;namespace A._4._1_泛型和LINQ练习{ class Person { public string Name { get; set; } private int age; pub原创 2022-04-25 11:11:12 · 838 阅读 · 0 评论 -
【C#学习】计时器和随机数
1、获得随机整数和实数类C#中随机数没有那么灵活,可以根据自己的需要在此基础之上写一个随机实数=随机整数+随机小数using System;using System.Collections.Generic;using System.Linq;using System.Text;using System.Threading.Tasks;namespace A._3._2{ class RandomHelp { Random rm = new Random原创 2022-04-25 10:52:33 · 1867 阅读 · 0 评论 -
【C#学习】简单计算器
1、窗口设计<Window x:Class="A._2._2.MainWindow" 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"原创 2022-04-25 10:33:30 · 321 阅读 · 0 评论 -
【C#大作业】你画我猜——服务端实现
1、App.config配置文件##App.config<?xml version="1.0" encoding="utf-8" ?><configuration> <appSettings> <add key="aspnet:UseTaskFriendlySynchronizationContext" value="true" /> </appSettings> <system.web> <c原创 2022-04-22 00:32:52 · 1005 阅读 · 3 评论 -
【C#大作业】你画我猜——客户端代码实现
1、配置文件L:App.config<?xml version="1.0" encoding="utf-8" ?><configuration> <startup> <supportedRuntime version="v4.0" sku=".NETFramework,Version=v4.7.2" /> </startup> <system.serviceModel> &l原创 2022-04-22 00:39:01 · 1386 阅读 · 7 评论 -
【C#大作业】你画我猜——设计文档
1 系统功能说明该系统采用C/S架构,是一种可以联机进行你画我猜的游戏程序,玩家登录后,可选择进出房间,聊天,画图,猜图等功能。玩家首先用不可重名的用户名登录,之后会进入房间大厅,在大厅里玩家可以自由选择想进入的房间,也可以在大厅与其他玩家进行即时聊天。进入房间后,聊天窗口会提示玩家进出房间的消息并刷新玩家列表。第一个进入房间的玩家,会默认成为画题的一方,系统会给其作画题目;之后进入的玩家都是猜画的一方,仅能知晓题目的字数。玩家均有用户列表,退出房间,即时聊天功能。画家额外拥有刷新题目原创 2022-04-22 00:23:31 · 4782 阅读 · 5 评论