随笔分类 -  实例和作品

摘要:WPF布局的6种面板 WPF用于布局的面板主要有6个,StackPanel(栈面板)、WrapPanel(环绕面板)、DockPanel(停靠面板)、Canvas(画布)、Grid(网格面板)和 UniformGrid(均布网格)。一下详细介绍几种面板各自的特点: 1、StackPanel 栈面板, 阅读全文
posted @ 2021-11-19 09:26 bingxingc 编辑
摘要:C#设置本地网络(DNS、网关、子网掩码、IP) 如今网络在我们的生活工作中所起的作用越来越大,可以说离开了网络我们就无法正常的工作和生活。作为程序员我们写的程序大多数也会跟网络相关,而想要使用网络首先要将机器的网络配置设置好。而手动设置的方法显然很不可取,所以我们要让程序帮我们完成。下面是一个很常 阅读全文
posted @ 2021-11-08 21:47 bingxingc 编辑
摘要:import java.io.File; import java.util.Scanner; class Demo { public static void main(String[] args) throws Exception { Scanner sc = new Scanner(new File("d:\\abc.txt")); ... 阅读全文
posted @ 2018-05-28 22:43 bingxingc 编辑
摘要:using System;using System.Collections.Generic;using System.ComponentModel;using System.Data;using System.Drawing;using System.Linq;using System.Text;u 阅读全文
posted @ 2018-03-19 12:49 bingxingc 编辑
摘要://读取文本文件并返回内容不同的那一行 public static String different(String sOldFile, String sNewFile) { StreamReader srOld = new StreamReader(sOldFile); StreamReader s 阅读全文
posted @ 2018-03-19 02:57 bingxingc 编辑
摘要:无缝滚动 阅读全文
posted @ 2017-10-25 16:35 bingxingc 编辑
摘要:向 div 元素添加方框阴影: div{ box-shadow: 10px 10px 5px #888888; } http://css.doyoe.com/ 阅读全文
posted @ 2017-10-02 13:51 bingxingc 编辑
摘要:如何解决问题 例: 计算100以内的3的倍数的和? 1、如何获得100以内的数 2、如何判断是不是3的倍数 3、如何求和 阅读全文
posted @ 2017-08-20 02:28 bingxingc 编辑
摘要:判断输入是数字,还是字符串 方法一: 方法二: 阅读全文
posted @ 2017-08-20 01:32 bingxingc 编辑
摘要:删除txt文件里的 聊天记录的时间那一行 阅读全文
posted @ 2017-08-19 01:51 bingxingc 编辑
摘要:题目:(自己完成的) 输入一串字符串,计算看是不是包含f,r,i,e,n,d 并计算能组成 几个friend 版本2.0 版本3.0 阅读全文
posted @ 2017-08-18 22:14 bingxingc 编辑
摘要:HTML的布局 City Gallery Lodon Paris Tokyo Lodon Lodon is the capital city of England.It is the... 阅读全文
posted @ 2017-03-04 21:36 bingxingc 编辑
摘要:自己写的乘法算术表 阅读全文
posted @ 2017-02-14 00:45 bingxingc 编辑
摘要:public bool Contains(string value)如果值参数出现在此字符串内,或者值为空字符串(“”),则为true; 否则为false using System; class Example { public static void Main() { string s1 = "The quick brown fox jumps over th... 阅读全文
posted @ 2017-01-25 22:45 bingxingc 编辑

点击右上角即可分享
微信分享提示