Permalink
Browse files

nothing

  • Loading branch information...
Advansil
Advansil committed Apr 13, 2012
1 parent a3e853c commit aba302f0711e605e92906cc618d9d81ea38842e3
Showing with 19 additions and 16 deletions.
  1. +16 −16 ExcelApplication/ExcelApplication/Form1.Designer.cs
  2. +3 −0 ExcelApplication/ExcelApplication/Form1.cs

Some generated files are not rendered by default. Learn more.

Oops, something went wrong.
@@ -180,6 +180,7 @@ private void codeToolStripMenuItem_Click(object sender, EventArgs e)
private void saveToolStripMenuItem1_Click(object sender, EventArgs e)
{
+ btnLoadData.Enabled = false;
try
{
ExcelLib.IExcel tmp = ExcelLib.PreExcel.GetExcel(txtPath.Text);
@@ -216,6 +217,8 @@ private void saveToolStripMenuItem1_Click(object sender, EventArgs e)
if (tmp.Save(sheetName, array))
MessageBox.Show("File Save Success!", "Information", MessageBoxButtons.OK, MessageBoxIcon.Information);
tmp.Close();
+ txtPath.Text = "";
+ comboBox1.DataSource = null;
}
catch (Exception ex)
{

0 comments on commit aba302f

Please sign in to comment.