예제 #1
0
 public void Save()
 {
     for (int i = 0; i < tcMain.Items.Count; i++)
     {
         BaseUserControl baseUserControl = ((TabItem)tcMain.Items[i]).Content as BaseUserControl;
         if (baseUserControl != null)
         {
             if (baseUserControl.isChange)
             {
                 baseUserControl.SaveFile();
             }
         }
     }
 }