source: libpipi/trunk/ThePimp/src/ErrorWindow.cs @ 3145

Last change on this file since 3145 was 3039, checked in by Sam Hocevar, 14 years ago

ThePimp?: move source files to src/.

File size: 883 bytes
Line 
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
15using System;
16
17namespace ThePimp
18{
19    public partial class ErrorWindow : Gtk.Dialog
20    {
21        public ErrorWindow(string message)
22        {
23            this.Build();
24            this.message.Text = message;
25            this.Run();
26        }
27
28        protected virtual void OnButtonOkClicked (object sender, System.EventArgs e)
29        {
30            this.Destroy();
31        }
32    }
33}
Note: See TracBrowser for help on using the repository browser.