예제 #1
0
 private void Form2_FormClosed(object sender, FormClosedEventArgs e)
 {
     ListForm.Remove(this);
     foreach (var Temp in HisForm)
     {
         if (Temp.Key == this.Text)
         {
             HisForm.Remove(Temp.Key);
             break;
         }
     }
     HisForm.Add(this.Text, new BezierPoint(p1, p2, p3, p4));
 }
 private void Form2_FormClosed(object sender, FormClosedEventArgs e)
 {
     try
     {
         ListForm.Remove(this);
         foreach (var Temp in HisForm)
         {
             if (Temp.Key == SetDate.mode + SetDate.UseMode)
             {
                 HisForm.Remove(Temp.Key);
                 break;
             }
         }
         HisForm.Add(SetDate.mode + SetDate.UseMode, new BezierPoint(p1, p2, p3, p4));
     }
     catch (Exception) { }
 }