コード例 #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();
     }
 }
コード例 #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();
     }
 }