public override bool LaunchConfiguration() { CurvesDialog dialog = new CurvesDialog (); int response = dialog.Run (); if (response == (int)Gtk.ResponseType.Ok) { control_points = dialog.ControlPoints; mode = dialog.Mode; dialog.Destroy (); return true; } dialog.Destroy (); return false; }
public override bool LaunchConfiguration() { var dialog = new CurvesDialog (Data); dialog.Title = Text; dialog.Icon = PintaCore.Resources.GetIcon (Icon); int response = dialog.Run (); dialog.Destroy (); return (response == (int)Gtk.ResponseType.Ok); }