public void show(DblRefIntEvent dealFunc = null, nullEvent disposeFunc = null, string path = null, int totalNum = 0)
        {
            UpanPath = path;
            total = totalNum;
            //lbDisOk.Visibility = Visibility.Hidden;
            btnConfirm.readOnly = true;
            readOnly = true;
            dealHandle = dealFunc;
            disposeHandle = disposeFunc;
            //pBar.Value = 0;
            //lbValue.Content = "0.0%";
            count = 0;
            //lstIprCtr.Clear();
            //for (int i = 0; i < 300; i++)
            //{
            //   lstIprCtr.Add( valmoWin.SIprCtrl.getUnitObj(i));
            //}
            //XmlDocument xmlDoc = new XmlDocument();
            //xmlDoc.Load("fileConf.xml");
            //XmlNode root = xmlDoc.SelectSingleNode("FileItems");//查找<bookstore>
            //foreach (XmlNode xn in root.ChildNodes)
            //{
            //    switch (xn.Name)
            //    {
            //        case "SysPr67":
            //            xnlSysPr67 = xn.ChildNodes;
            //            break;
            //        case "Normal":
            //            xnlNormal = xn.ChildNodes;
            //            break;
            //    }
            //}
            //exportCount = lstIprCtr.Count + xnlSysPr67.Count + xnlNormal.Count;
            //curStep = 0;

            //XmlTextWriter writer = new XmlTextWriter(prgDir + "\\" + fileName, System.Text.Encoding.UTF8);
            //writer.Formatting = Formatting.Indented;
            //writer.WriteStartDocument();
            //writer.WriteStartElement("ipr");
            //writer.WriteStartElement("param");
            //writer.WriteAttributeString("user", valmoWin.dv.users.curUser.name);
            //writer.WriteEndElement();//end of param
            ////saveIprFileFunc(writer);
            //writer.WriteEndElement();//end of ipr
            //writer.Close();
            tbDis.Text = "";
            dtLoad.Start();
            this.Visibility = Visibility.Visible;
        }
 public void show(DblRefIntEvent dealFunc = null, nullEvent disposeFunc = null, string path = null, int totalNum = 0)
 {
     UpanPath = path;
     total = totalNum;
     //lbDisOk.Visibility = Visibility.Hidden;
     btnConfirm.readOnly = true;
     readOnly = true;
     dealHandle = dealFunc;
     disposeHandle = disposeFunc;
     //pBar.Value = 0;
     //lbValue.Content = "0.0%";
     count = 0;
     dtLoad.Start();
     this.Visibility = Visibility.Visible;
 }