在宿主机里删除一个虚拟机关联的网卡、端口及桥1)、用ovs-vsctl命令查看宿主机的所有的桥信息[root@os-node4~]#ovs-vsctlshow169dc0d6-0c44-42df-9bd5-5e1f380a8704Bridgebr-intPortint-br-intInterfaceint-br-intPortphy-br-intInterfacephy-br-intPort"em2"Interface"em2"Po..
分类:
其他好文 时间:
2014-08-21 15:15:24
阅读次数:
321
创建一个类封装uitextfield和UIlabel (源代码.m文件)
#import "TLView.h"
@interface TLView ()
{
UILabel *_desLabel;
//左边的lable
UITextField *_textField;//右边的
}
@end
@implementatio...
分类:
移动开发 时间:
2014-08-21 13:28:14
阅读次数:
643
源代码(.m文件)
#import "TLView.h"
//本类的延展
@interface TLView ()
{
UILabel *_desLabel;
//左边的lable
UITextField *_textField;//右边的lable
}
@end
@implementation...
分类:
其他好文 时间:
2014-08-21 13:27:14
阅读次数:
165
重新加载网卡时出现的错误如下: 1 [root@vdb1 dev]# service network restart 2 Shutting down interface eth0: Device state: 3 (disconnected) 3 ...
分类:
Web程序 时间:
2014-08-21 12:54:54
阅读次数:
294
批量禁用隧道适配器:在CMD下分别执行如下三条命令。netsh interface teredo set state disable netsh interface 6to4 set state disable netsh interface isatap set state disable使用de...
分类:
其他好文 时间:
2014-08-21 12:51:34
阅读次数:
192
//注:只能实现简单的加减乘除,不可以连续运算#define kButton_Color [UIColor cyanColor]//定义键的背景颜色宏,便于更改颜色@interface YJAppDelegate ()
{
UIView *_containter;
UIButton *_numberButton;
UILabel *_label;
CGFloat n...
分类:
其他好文 时间:
2014-08-21 11:30:14
阅读次数:
605
源代码(.m文件)
#import "ZKJAppDelegate.h"
@interface
ZKJAppDelegate ()
@property (retain,nonatomic)
UIView *containView;
@property (retain,
nonatomic) UIButton *button;
@pr...
分类:
移动开发 时间:
2014-08-21 11:29:04
阅读次数:
427
@interface LTView : UIView
//1.是否采用安全模式
- (void)setSecureEntry:(BOOL)secureEntry;
//2.设置键盘的类型
- (void)setKeyBoardType:(UIKeyboardType)keyBoardType;
//3.设置textField代理
- (void)setDelegate:(id)delegate;
...
分类:
其他好文 时间:
2014-08-21 09:52:33
阅读次数:
232
一、MDI窗体的设计1.MDI简介MDI(Multiple Document Interface)就是所谓的多文档界面,与此对应就有单文档界面 (SDI), 它是微软公司从Windows 2.0下的MicrosoftExcel电子表格程序开始引入的,Excel电子表格用户有时需要同时操作多份表格,M...
#import "ViewController.h"@interface ViewController (){ UIView *view; UIView *view0; int i;}@end@implementation ViewController - (...
分类:
其他好文 时间:
2014-08-20 21:04:52
阅读次数:
144