Ignore:
Timestamp:
Sep 24, 2009, 11:11:54 AM (12 years ago)
Author:
Matthäus Wander
Message:

Variable:

  • review and minor changes
Location:
trunk/CrypPlugins/Variable
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • trunk/CrypPlugins/Variable/Properties/AssemblyInfo.cs

    r461 r570  
    99[assembly: AssemblyDescription("")]
    1010[assembly: AssemblyConfiguration("")]
    11 [assembly: AssemblyCompany("Microsoft")]
     11[assembly: AssemblyCompany("")]
    1212[assembly: AssemblyProduct("Variable")]
    13 [assembly: AssemblyCopyright("Copyright © Microsoft 2009")]
     13[assembly: AssemblyCopyright("Copyright © 2009")]
    1414[assembly: AssemblyTrademark("")]
    1515[assembly: AssemblyCulture("")]
     
    3333// by using the '*' as shown below:
    3434// [assembly: AssemblyVersion("1.0.*")]
    35 [assembly: AssemblyVersion("1.0.0.0")]
    36 [assembly: AssemblyFileVersion("1.0.0.0")]
     35[assembly: AssemblyVersion("2.0.*")]
     36//[assembly: AssemblyFileVersion("1.0.0.0")]
  • trunk/CrypPlugins/Variable/VariableLoad.cs

    r513 r570  
    9898
    9999        public void Execute()
    100         {           
     100        {
     101            if (settings.VariableName == "")
     102                GuiLogMessage("The variable name may not be empty.", NotificationLevel.Error);
    101103        }
    102104
  • trunk/CrypPlugins/Variable/VariableSettings.cs

    r513 r570  
    3434            set
    3535            {
    36                 variableName = (String)value;
    37                 OnPropertyChanged("VariableName");
     36                if (variableName != value)
     37                {
     38                    hasChanges = true;
     39                    variableName = value;
     40                    OnPropertyChanged("VariableName");
     41                }
    3842            }
    3943        }
  • trunk/CrypPlugins/Variable/VariableStore.cs

    r513 r570  
    9292        public void Execute()
    9393        {
    94             if (settings.VariableName == "" || storeObject == null)
     94            if (settings.VariableName == "")
     95            {
     96                GuiLogMessage("The variable name may not be empty.", NotificationLevel.Error);
    9597                return;
     98            }
     99
     100            if (storeObject == null)
     101            {
     102                GuiLogMessage("Object is null, not passing forward.", NotificationLevel.Info);
     103                return;
     104            }
    96105
    97106            ProgressChanged(0.5, 1.0);
Note: See TracChangeset for help on using the changeset viewer.