* minor changes (like an [em] BBcode)
* Trying to use OAuth2 Google Login
This commit is contained in:
parent
d1f76f4902
commit
3f41636719
32 changed files with 16285 additions and 119 deletions
|
|
@ -4,22 +4,33 @@ namespace SalesCatalog.Model
|
|||
{
|
||||
public class TextInput:FormInput
|
||||
{
|
||||
|
||||
#region implemented abstract members of FormInput
|
||||
private string tpe = null;
|
||||
public override string Type {
|
||||
get {
|
||||
return "text";
|
||||
return tpe;
|
||||
}
|
||||
}
|
||||
#endregion
|
||||
|
||||
public TextInput ()
|
||||
{
|
||||
tpe = "text";
|
||||
}
|
||||
|
||||
public TextInput (string txt)
|
||||
{
|
||||
tpe = "text";
|
||||
text = txt;
|
||||
}
|
||||
|
||||
public TextInput (string type, string txt)
|
||||
{
|
||||
tpe = type;
|
||||
text = txt;
|
||||
}
|
||||
|
||||
string text = null;
|
||||
|
||||
|
||||
|
|
@ -27,10 +38,12 @@ namespace SalesCatalog.Model
|
|||
{
|
||||
return t.text;
|
||||
}
|
||||
|
||||
public static implicit operator TextInput(string t)
|
||||
{
|
||||
return new TextInput(t);
|
||||
}
|
||||
|
||||
public string DefaultValue {
|
||||
get {
|
||||
return text;
|
||||
|
|
|
|||
Loading…
Reference in a new issue