Archives for: "April 2014"
iOS: Print "%" in Label
'%' is a function word in Objective C, such as '%d" to print a number, How to print a '%' in a string? that is easy, just '%%'
Codeself.txtPercent.text= [NSString stringWithFormat:@"%d%%", (int)sender.value]; more »
Tags: ios
SEO Tips: Let everyone know about your website
Submitting your website to the search engines and even buying CPC services are not enough for SEO. If you want your website to become popular, please don't be shy. You have to let everyone… more »
Tags: seo
WPF:Show and Hide Button
In Winform, to show and hide button is easy. There is a property calls visible in Button class. You just need to set it to be True and Hide. That is a simple bool type. In WPF, that is simple too, but that is not a simple bool type. That is Visibility… more »
Tags: wpf
WPF: How to access a control in style
Source:Open Clip Art Using Under Public Domain Attribution
I got a control in style template at one of my custom controls, Like this:
<Style TargetType="{x:Type advgenControls:CollapsibleControl}" x:Key="LeftPanel">… more »
Tags: wpf
WPF Error:cannot set name attribute value '{control}'
Source:Open Clip Art Using Under Public Domain Attribution
I found the wpf user control cannot have any child has a name attribute, such as:
<advgenControls:CollapsibleControl> <TreeView
x:Name="treeView"… more »
Web Design Companies have to go further
Nowadays, there are a lot of good tools to build websites such as wix and light cms. The users can choose a template. Then users can change their logo. If they need some new elements, they just need to drag and drop to there. That is very easy. Some… more »
Email Marketing
I have heard about a lot of email marketing. Some companies will give some rewards to anyone are happy to receive their marketing material. This way, the marketing material can go to a lot of different email box. My question more »
Phone Support is a "must" for web hosting
This morning, there are some problems of our company email. I am a bit worrying about that. Our company website and email service are in the same web hosting company. Then I phoned to their support hotline. The problem is small, Our email has been just… more »
IOS: Check Core Data Object is null
Code@property (nonatomic,retain) TipRecord*record; To check the object in the code above, that should check whether the object is nil. Codeif(self.record == nil) Please note that, that is a pointer. If it has not initialized yet, it will be nil, not… more »
Free Bootstrap Templates @ BootstrapZero
I found a good website for Bootstrap, BootstrapZero.. There are some starter kit to build a bootstrap website, such as a basic image slider website, admin console and silde bar website. Moreover, there are a number good free bootstap templates, such as… more »
Horizontal Stackpanel in WPF
Stackpanel is a useful layout control in WPF. If you have a set of elements need to sit side by side each other, this is your best option. For example, in my advgen contact manager, in the right hand side, there is a set of buttons. Thus, I placed a… more »
Tags: wpf
Styles in WPF
I have some styling in my WPF opensource project, AdvGen Contact Manager. That is similar with css, just state the class name like :
<Grid
Grid.Column="1"
Name="ContentPanel"
Style="{StaticResource BluePanel}"> more »