Ejemplo n.º 1
0
 public static bool ReadWriteWebCheckBox(bool wert, ref CheckBox formObjekt, TransportRichtungen inControlSchreiben)
 {
     if (inControlSchreiben == TransportRichtungen.InDasControl)
     {
         formObjekt.Checked = wert;
         return(wert);
     }
     return(formObjekt.Checked);
 }
Ejemplo n.º 2
0
 public static int ReadWriteWebTextBox(int wert, ref TextBox formObjekt, TransportRichtungen inControlSchreiben)
 {
     if (inControlSchreiben == TransportRichtungen.InDasControl)
     {
         formObjekt.Text = wert.ToString();
         return(wert);
     }
     return(int.Parse(formObjekt.Text));
 }
Ejemplo n.º 3
0
 public static string ReadWriteWebTextBox(
     string wert,
     ref TextBox formObjekt,
     TransportRichtungen inControlSchreiben)
 {
     if (inControlSchreiben != TransportRichtungen.InDasControl)
     {
         return(formObjekt.Text);
     }
     formObjekt.Text = wert;
     return(wert);
 }