// This is my Settings Dialog which should be displayed public class SettingsDialog { public SettingsDialog() { InitGUI(); } [Widget] Dialog dialogServerSettings; private void InitGUI() { Glade.XML gxml = new Glade.XML(null, "gnome-art.glade", "dialogServerSettings", null); gxml.Autoconnect(this); dialogServerSettings.Hide(); } public void Run() { dialogServerSettings.Run(); } } // And this is the function which opens the dialog private void ShowServerSettingsDialog() { SettingsDialog settingsDialog = new SettingsDialog(); settingsDialog.Run(); } // What is wrong?