Example #1
0
 private void ibGetStyle_Click(object sender, EventArgs e)
 {
     if (updataProcess.CheckGetXml())
     {
         this.Enabled = false;
         progressForm = new ProcessBar(updataProcess.Total_Num);
         progressForm.GetAllXml();
         MF_Manager.UpdataShouldDatas(MainF.bFileID.Text);
         MF_Manager.LoadShouldPadImage();
         MainF.lblTotalNeedleNumber.Text = MF_Manager.TotalNumber.ToString();
         MainF.picShapeImage.Image       = MF_Manager.GetShapeImage();
         this.Enabled = true;
     }
 }