diff options
author | Jose <jose@zeroc.com> | 2009-06-18 15:25:48 +0200 |
---|---|---|
committer | Jose <jose@zeroc.com> | 2009-06-18 15:25:48 +0200 |
commit | f434c838a1fe24dbda87e381c484669d30f68c0d (patch) | |
tree | 3ea317923d4b7e8260633c9d8b9fa96482dda7e6 /vsplugin/src/IceCsharpConfigurationDialog.cs | |
parent | Remove close button tool tip (diff) | |
download | ice-f434c838a1fe24dbda87e381c484669d30f68c0d.tar.bz2 ice-f434c838a1fe24dbda87e381c484669d30f68c0d.tar.xz ice-f434c838a1fe24dbda87e381c484669d30f68c0d.zip |
Fix to dialogs Close.
Diffstat (limited to 'vsplugin/src/IceCsharpConfigurationDialog.cs')
-rw-r--r-- | vsplugin/src/IceCsharpConfigurationDialog.cs | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/vsplugin/src/IceCsharpConfigurationDialog.cs b/vsplugin/src/IceCsharpConfigurationDialog.cs index 4d411ad585d..78f3eeeeb84 100644 --- a/vsplugin/src/IceCsharpConfigurationDialog.cs +++ b/vsplugin/src/IceCsharpConfigurationDialog.cs @@ -196,7 +196,7 @@ namespace Ice.VisualStudio chkIceStorm.Enabled = enabled;
}
- private void btnCancel_Click(object sender, EventArgs e)
+ private void formClosing(object sender, EventArgs e)
{
if(!_changed)
{
@@ -209,15 +209,20 @@ namespace Ice.VisualStudio _changed = true;
}
}
+
if(_changed)
{
System.Windows.Forms.Cursor c = Cursor.Current;
Cursor = Cursors.WaitCursor;
Builder builder = Connect.getBuilder();
builder.cleanProject(_project);
- builder.buildCSharpProject(_project, true);
+ builder.buildCppProject(_project, true);
Cursor = c;
}
+ }
+
+ private void btnCancel_Click(object sender, EventArgs e)
+ {
Close();
}
|