public void Stacksize_TextBox_TextChanged(object sender)
 {
     if (allowUpdater.IsUpdateAllowed)
     {
         int index = osTaskGrid.SelectedIndex;
         if ((index < osTaskGrid.Items.Count) && (index >= 0))
         {
             String newStackSize = (sender as TextBox).Text;
             if (NameUtils.IsNumerric(newStackSize))
             {
                 int stackSize;
                 if (int.TryParse(newStackSize, out stackSize))
                 {
                     AutosarApplication.GetInstance().OsTasks[index].StackSizeInBytes = stackSize;
                 }
             }
         }
     }
 }