Example #1
0
 public void Loaded()
 {
     foreach (TabPage tabPage in tabControl.TabPages)
     {
         IPublicInterfaceSettingUserControl iPublicInterfaceSettingUserControl = tabPage.Tag as IPublicInterfaceSettingUserControl;
         iPublicInterfaceSettingUserControl.Loaded();
     }
 }
Example #2
0
 public int Save()
 {
     foreach (TabPage tabPage in tabControl.TabPages)
     {
         IPublicInterfaceSettingUserControl iPublicInterfaceSettingUserControl = tabPage.Tag as IPublicInterfaceSettingUserControl;
         int i = iPublicInterfaceSettingUserControl.CheckInput();
         if (i < 0)
         {
             return(-1);
         }
     }
     return(1);
 }