- 博客(7)
- 收藏
- 关注
转载 屏幕分辨率过高导致软件界面显示过小影响使用
本人电脑分辨率:3000 X 2000导致有些软件打开后界面显示过小,影响使用,后发现:1 选中软件右键 → 兼容性 → 更改搞DPI设置 → 勾选“替代高DPI缩放行为”,下拉选项选择“系统”,保存设置后,重新打开软件,显示正常转载于:https://www.cnblogs.com/CHUR/p/9668643.html...
2018-09-18 14:18:00 5496
转载 Python,报错NameError: name 'math' is not defined
1 #-*- coding : utf-8 -*-2 import math3 4 def move(x, y, step, angle=0):5 nx = x + step * math.cos(angle)6 ny = y - step * math.sin(angle)7 return nx, ny新建Python文件,保...
2018-06-11 21:12:00 10089
转载 Python,计算 ax^2 + bx + c = 0的根
1 #-*-coding : utf-8-*- 2 import math 3 4 def quadratic(a, b, c): 5 if not isinstance(a, (int, float)): 6 raise TypeError('a值,请输入整数或者浮点数!') 7 elif not isinstance(b...
2018-06-11 21:09:00 1932
转载 状态模式
1 using System; 2 using System.Collections.Generic; 3 using System.Linq; 4 using System.Text; 5 using System.Threading.Tasks; 6 7 namespace Club 8 { 9 class Pro...
2015-12-31 20:55:00 123
转载 装饰模式
1 using System; 2 using System.Collections.Generic; 3 using System.Linq; 4 using System.Text; 5 using System.Threading.Tasks; 6 7 namespace Decorate 8 { 9 class...
2015-12-23 13:19:00 88
转载 建造者模式
1 using System; 2 using System.Collections.Generic; 3 using System.Linq; 4 using System.Text; 5 using System.Threading.Tasks; 6 7 namespace KFC_MacDonald_Bulid 8 { ...
2015-12-06 17:09:00 73
转载 抽象工厂模式
UML图:using System;using System.Collections.Generic;using System.Linq;using System.Text;using System.Threading.Tasks;namespace KFCandM{ class Program { in...
2015-11-04 17:52:00 147
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人