protected override void Run()
        {
            base.Run();

            dlgDatabaseConfiguration dlgDbConfig = new dlgDatabaseConfiguration();
            dlgDbConfig.Response += dialogResponde;
            dlgDbConfig.Run();
            dlgDbConfig.Destroy();
        }
Пример #2
0
    protected void OnButton17Clicked(object sender, System.EventArgs e)
    {
        dlgDatabaseConfiguration d = new dlgDatabaseConfiguration();

        d.Response += delegate {
            MessageDialog md = new MessageDialog(this, DialogFlags.Modal, MessageType.Info, ButtonsType.Close, "Test succeeded");
            md.Run();
            md.Destroy();
        };
        d.Run();
        d.Destroy();
    }