public ReturnValueDialog(string parameters)
 {
     InitializeComponent();
     returnValue             = new PHPValue(parameters);
     ReturnValueTextBox.Text = returnValue.ToString();
     PreviewKeyDown         += Dialog_KeyDown;
 }
Exemple #2
0
 public override bool Equals(PHPValue other)
 {
     if (!Object.Equals(other, null)) {
         if (other is Internals.Integer) {
             return ((Internals.Integer)other).value == this.value;
         }
         return this.value == (int)other;
     }
     return false;
 }