protected virtual void OnSaveClicked(object sender, EventArgs e)
 {
     if (currentVisualizer == null || currentVisualizer.StoreValue(value))
     {
         Respond(Gtk.ResponseType.Ok);
     }
 }
 protected virtual void OnButtonOkClicked(object sender, System.EventArgs e)
 {
     if (value.IsReadOnly || currentVisualizer == null || currentVisualizer.StoreValue(value))
     {
         Respond(Gtk.ResponseType.Ok);
     }
 }
Esempio n. 3
0
        protected virtual void OnSaveClicked(object sender, EventArgs e)
        {
            bool saved = false;

            if (currentVisualizer == null || (saved = currentVisualizer.StoreValue(value)))
            {
                Respond(Gtk.ResponseType.Ok);

                if (saved)
                {
                    DebuggingService.NotifyVariableChanged();
                }
            }
        }