示例#1
0
 /// <summary>
 /// Get an instance of the problem characteristics.
 /// </summary>
 /// <returns>The problem characteristics.</returns>
 public static ProblemCharacteristics GetInstance()
 {
     if (instance == null)
     {
         instance = new ProblemCharacteristics();
     }
     return(instance);
 }
 /// <summary>
 /// Get an instance of the problem characteristics.
 /// </summary>
 /// <returns>The problem characteristics.</returns>
 public static ProblemCharacteristics GetInstance()
 {
     if (instance == null)
     {
         instance = new ProblemCharacteristics();
     }
     return instance;
 }
 /// <summary>
 /// Set this window's basic properties.
 /// </summary>
 private void Initialize()
 {
     problemCharacteristics = ProblemCharacteristics.GetInstance();
     this.Title = "Desired Problem Characteristics";
     MakeCheckboxes();
     this.MaxHeight = 600;
     this.MaxWidth = 800;
     this.Closed += new EventHandler(UpdateOnClose);
 }