public FormAction(string text, string subtext, string name, int tabstop, FormActionVisibility visibility) { this.Enabled = true; this.Text = text; this.SubText = subtext; if (string.IsNullOrEmpty(name)) this.Name = this.Text; else this.Name = name; this.TabIndex = tabstop; this.Visibility = visibility; }
public FormAction(string text, string subtext, string name, int tabstop, FormActionVisibility visibility) { this.Enabled = true; this.Text = text; this.SubText = subtext; if (string.IsNullOrEmpty(name)) { this.Name = this.Text; } else { this.Name = name; } this.TabIndex = tabstop; this.Visibility = visibility; }