Nevar pievienot vairāk kā 25 tēmas Tēmai ir jāsākas ar burtu vai ciparu, tā var saturēt domu zīmes ('-') un var būt līdz 35 simboliem gara.
 
 
 
 
 
 

34 rindas
883 B

  1. //
  2. // The Pimp The Pathetic Image Manipulation Program
  3. // Copyright (c) 2008 Sam Hocevar <sam@zoy.org>
  4. // All Rights Reserved
  5. //
  6. // $Id$
  7. //
  8. // This library is free software. It comes without any warranty, to
  9. // the extent permitted by applicable law. You can redistribute it
  10. // and/or modify it under the terms of the Do What The Fuck You Want
  11. // To Public License, Version 2, as published by Sam Hocevar. See
  12. // http://sam.zoy.org/wtfpl/COPYING for more details.
  13. //
  14. using System;
  15. namespace ThePimp
  16. {
  17. public partial class ErrorWindow : Gtk.Dialog
  18. {
  19. public ErrorWindow(string message)
  20. {
  21. this.Build();
  22. this.message.Text = message;
  23. this.Run();
  24. }
  25. protected virtual void OnButtonOkClicked (object sender, System.EventArgs e)
  26. {
  27. this.Destroy();
  28. }
  29. }
  30. }