欢迎使用皮肤 Geek|

园龄:粉丝:关注:

08 2022 档案

【WPF】五、WPF绑定
摘要:<Window x:Class="WpfApp1.Window4" xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" xmlns:x="http://schemas.microsoft.com/winfx/2006/x
  • 109
  • 0
  • 0
    【WPF】四、数据模板
    摘要:<Window x:Class="WpfApp1.Window3" xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" xmlns:x="http://schemas.microsoft.com/winfx/2006/x
  • 49
  • 0
  • 0
    Python_for_else
    摘要:循环“自然”终结(循环条件为假)时 else 从句会被执行一次,而当循环是由 break 语句中断时,else子句就不被执行。与for语句相似,while语句中的else子句的语意是一样的∶else块在循环正常结束和循环条件不成立时被执行。 if __name__ == '__main__': fo
  • 16
  • 0
  • 0
    【WPF】三、控件模板
    摘要:【WPF】三、控件模板
  • 22
  • 0
  • 0
    【WPF】二、样式基础
    摘要:<Window x:Class="WpfApp1.MainWindow" xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" xmlns:x="http://schemas.microsoft.com/winfx/200
  • 37
  • 0
  • 0
    【WPF】一、布局基础
    摘要:<Window x:Class="WpfApp1.Window1" xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" xmlns:x="http://schemas.microsoft.com/winfx/2006/x
  • 34
  • 0
  • 0
    Python枚举用法_Enum
    摘要:# -*- coding: utf-8 -*- from enum import Enum, unique # 1. 枚举的定义 # 首先,定义枚举要导入enum模块。 # 枚举定义用class关键字,继承Enum类。 # 2. 如果要限制定义枚举时,不能定义相同值的成员。 # 可以使用装饰器@un
  • 456
  • 0
  • 0
    Python精简易懂yield解释
    摘要:精简易懂yield解释。 yield可以理解为return,但是区别于return的是yield之后,还可以继续执行接下来的一系列行为。 return后的内容无法执行了,并且yield返回的是生成器,return是返回的结果类型。 # -*- coding: utf-8 -*- def SayDuc
  • 52
  • 0
  • 0
    Python快速排序
    摘要:def quicksort(array): less = [] greater = [] if len(array) <= 1: return array pivot = array.pop() for x in array: if x <= pivot: less.append(x) else:
  • 13
  • 0
  • 0
    python切片索引循环每次去掉最后一个字符
    摘要:class Course9: def Test1(self=0): word = "This's a test" # print(type(word)) i = len(word) while i > 0: print(word[0:i - 1]) i -= 1 def Test2(self=Non
  • 128
  • 0
  • 0
    点击右上角即可分享
    微信分享提示
    深色
    回顶
    收起