private void Save(string windowname)
        {
            if (windowname != "")
            {
                try
                {
                    Java.IO.File path = new Java.IO.File(App._dir, windowname);
                    if (!path.Exists())
                    {
                        path.Mkdirs();
                    }
                    else
                    {
                        MessageBox.Confirm(this, "警告", "该文件夹已存在,是否覆盖?", delegate
                        {
                            path.Mkdirs();
                        }, delegate { });
                    }

                    SavePics(path.ToString());

                    SaveResult.SaveGeologicalData(path.ToString());

                    SaveResult.SaveGeometricalData(path.ToString());

                    SaveResult.SaveStatisticalResult(path.ToString());

                    MessageBox.Show(this, "成功", "保存成功");
                }
                catch
                {
                    MessageBox.Show(this, "失败", "保存失败");
                }
            }
            else
            {
                MessageBox.Show(this, "注意", "测窗名称不能为空!");
            }
        }