Exemplo n.º 1
0
 private void updateVariables(MetaType oldType, MetaType newType)
 {
     if (oldType.FindVariableMismatches(newType).Count > 0)
     {
         MessageBox.Show(WARNING_TYPE_NOT_MATCHING, "Warning", MessageBoxButtons.OK, MessageBoxIcon.Warning);
         VariableUpdate form = new VariableUpdate(repository, (MetaClass)oldType, (MetaClass)newType);
         form.ShowDialog();
     }
 }
Exemplo n.º 2
0
 private void updateVariables(MetaType oldType, MetaType newType)
 {
     if (oldType.FindVariableMismatches(newType).Count > 0)
     {
         MessageBox.Show(WARNING_TYPE_NOT_MATCHING, "Warning", MessageBoxButtons.OK, MessageBoxIcon.Warning);
         VariableUpdate form = new VariableUpdate(repository, (MetaClass)oldType, (MetaClass)newType);
         form.ShowDialog();
     }
 }