public static bool EditStringHandler (StringFormData data)
 {
     EditString form = new EditString(data.Value);
     if (form.ShowDialog() == DialogResult.OK) {
         data.Value = form.StringValue;
         return true;
     }
     else
         return false;
 }
Exemple #2
0
        public static bool EditStringHandler(StringFormData data)
        {
            var form = new EditString(data.Value);

            if (form.ShowDialog() == DialogResult.OK)
            {
                data.Value = form.StringValue;
                return(true);
            }
            return(false);
        }