Added the possibility to create asymetrical populations and a crappy loading logo
This commit is contained in:
+38
-15
@@ -39,6 +39,7 @@ namespace PropagationRemasteredBeta
|
||||
this.chkbxSaveFiles = new System.Windows.Forms.CheckBox();
|
||||
this.tbxSaveFilePath = new System.Windows.Forms.TextBox();
|
||||
this.groupBox2 = new System.Windows.Forms.GroupBox();
|
||||
this.nupPopulationHeight = new System.Windows.Forms.NumericUpDown();
|
||||
this.label12 = new System.Windows.Forms.Label();
|
||||
this.btnRandomizeStats = new System.Windows.Forms.Button();
|
||||
this.nupCureTime = new System.Windows.Forms.NumericUpDown();
|
||||
@@ -55,18 +56,19 @@ namespace PropagationRemasteredBeta
|
||||
this.label3 = new System.Windows.Forms.Label();
|
||||
this.lblPopulationSizePrediction = new System.Windows.Forms.Label();
|
||||
this.label2 = new System.Windows.Forms.Label();
|
||||
this.nupPopulationSize = new System.Windows.Forms.NumericUpDown();
|
||||
this.nupPopulationWidth = new System.Windows.Forms.NumericUpDown();
|
||||
this.label1 = new System.Windows.Forms.Label();
|
||||
this.btnRunSimulation = new System.Windows.Forms.Button();
|
||||
this.btnOpenSimViewer = new System.Windows.Forms.Button();
|
||||
this.groupBox1.SuspendLayout();
|
||||
this.groupBox2.SuspendLayout();
|
||||
((System.ComponentModel.ISupportInitialize)(this.nupPopulationHeight)).BeginInit();
|
||||
((System.ComponentModel.ISupportInitialize)(this.nupCureTime)).BeginInit();
|
||||
((System.ComponentModel.ISupportInitialize)(this.nupImmunes)).BeginInit();
|
||||
((System.ComponentModel.ISupportInitialize)(this.nupInfecteds)).BeginInit();
|
||||
((System.ComponentModel.ISupportInitialize)(this.nupMortality)).BeginInit();
|
||||
((System.ComponentModel.ISupportInitialize)(this.nupInfectiosity)).BeginInit();
|
||||
((System.ComponentModel.ISupportInitialize)(this.nupPopulationSize)).BeginInit();
|
||||
((System.ComponentModel.ISupportInitialize)(this.nupPopulationWidth)).BeginInit();
|
||||
this.SuspendLayout();
|
||||
//
|
||||
// lblTitle
|
||||
@@ -166,6 +168,7 @@ namespace PropagationRemasteredBeta
|
||||
//
|
||||
// groupBox2
|
||||
//
|
||||
this.groupBox2.Controls.Add(this.nupPopulationHeight);
|
||||
this.groupBox2.Controls.Add(this.label12);
|
||||
this.groupBox2.Controls.Add(this.btnRandomizeStats);
|
||||
this.groupBox2.Controls.Add(this.nupCureTime);
|
||||
@@ -182,7 +185,7 @@ namespace PropagationRemasteredBeta
|
||||
this.groupBox2.Controls.Add(this.label3);
|
||||
this.groupBox2.Controls.Add(this.lblPopulationSizePrediction);
|
||||
this.groupBox2.Controls.Add(this.label2);
|
||||
this.groupBox2.Controls.Add(this.nupPopulationSize);
|
||||
this.groupBox2.Controls.Add(this.nupPopulationWidth);
|
||||
this.groupBox2.Controls.Add(this.label1);
|
||||
this.groupBox2.Font = new System.Drawing.Font("Verdana", 12F);
|
||||
this.groupBox2.Location = new System.Drawing.Point(12, 268);
|
||||
@@ -192,6 +195,24 @@ namespace PropagationRemasteredBeta
|
||||
this.groupBox2.TabStop = false;
|
||||
this.groupBox2.Text = "Simulation Settings";
|
||||
//
|
||||
// nupPopulationHeight
|
||||
//
|
||||
this.nupPopulationHeight.Location = new System.Drawing.Point(292, 69);
|
||||
this.nupPopulationHeight.Maximum = new decimal(new int[] {
|
||||
10000,
|
||||
0,
|
||||
0,
|
||||
0});
|
||||
this.nupPopulationHeight.Name = "nupPopulationHeight";
|
||||
this.nupPopulationHeight.Size = new System.Drawing.Size(236, 32);
|
||||
this.nupPopulationHeight.TabIndex = 22;
|
||||
this.nupPopulationHeight.Value = new decimal(new int[] {
|
||||
400,
|
||||
0,
|
||||
0,
|
||||
0});
|
||||
this.nupPopulationHeight.ValueChanged += new System.EventHandler(this.nupPopulationHeight_ValueChanged);
|
||||
//
|
||||
// label12
|
||||
//
|
||||
this.label12.AutoSize = true;
|
||||
@@ -355,32 +376,32 @@ namespace PropagationRemasteredBeta
|
||||
this.label2.TabIndex = 2;
|
||||
this.label2.Text = "Simulated individuals :";
|
||||
//
|
||||
// nupPopulationSize
|
||||
// nupPopulationWidth
|
||||
//
|
||||
this.nupPopulationSize.Location = new System.Drawing.Point(14, 69);
|
||||
this.nupPopulationSize.Maximum = new decimal(new int[] {
|
||||
this.nupPopulationWidth.Location = new System.Drawing.Point(14, 69);
|
||||
this.nupPopulationWidth.Maximum = new decimal(new int[] {
|
||||
10000,
|
||||
0,
|
||||
0,
|
||||
0});
|
||||
this.nupPopulationSize.Name = "nupPopulationSize";
|
||||
this.nupPopulationSize.Size = new System.Drawing.Size(514, 32);
|
||||
this.nupPopulationSize.TabIndex = 1;
|
||||
this.nupPopulationSize.Value = new decimal(new int[] {
|
||||
this.nupPopulationWidth.Name = "nupPopulationWidth";
|
||||
this.nupPopulationWidth.Size = new System.Drawing.Size(236, 32);
|
||||
this.nupPopulationWidth.TabIndex = 1;
|
||||
this.nupPopulationWidth.Value = new decimal(new int[] {
|
||||
400,
|
||||
0,
|
||||
0,
|
||||
0});
|
||||
this.nupPopulationSize.ValueChanged += new System.EventHandler(this.nupPopulationSize_ValueChanged);
|
||||
this.nupPopulationWidth.ValueChanged += new System.EventHandler(this.nupPopulationSize_ValueChanged);
|
||||
//
|
||||
// label1
|
||||
//
|
||||
this.label1.AutoSize = true;
|
||||
this.label1.Location = new System.Drawing.Point(9, 41);
|
||||
this.label1.Name = "label1";
|
||||
this.label1.Size = new System.Drawing.Size(71, 25);
|
||||
this.label1.Size = new System.Drawing.Size(217, 25);
|
||||
this.label1.TabIndex = 0;
|
||||
this.label1.Text = "Size :";
|
||||
this.label1.Text = "Size (width;height):";
|
||||
//
|
||||
// btnRunSimulation
|
||||
//
|
||||
@@ -423,12 +444,13 @@ namespace PropagationRemasteredBeta
|
||||
this.groupBox1.PerformLayout();
|
||||
this.groupBox2.ResumeLayout(false);
|
||||
this.groupBox2.PerformLayout();
|
||||
((System.ComponentModel.ISupportInitialize)(this.nupPopulationHeight)).EndInit();
|
||||
((System.ComponentModel.ISupportInitialize)(this.nupCureTime)).EndInit();
|
||||
((System.ComponentModel.ISupportInitialize)(this.nupImmunes)).EndInit();
|
||||
((System.ComponentModel.ISupportInitialize)(this.nupInfecteds)).EndInit();
|
||||
((System.ComponentModel.ISupportInitialize)(this.nupMortality)).EndInit();
|
||||
((System.ComponentModel.ISupportInitialize)(this.nupInfectiosity)).EndInit();
|
||||
((System.ComponentModel.ISupportInitialize)(this.nupPopulationSize)).EndInit();
|
||||
((System.ComponentModel.ISupportInitialize)(this.nupPopulationWidth)).EndInit();
|
||||
this.ResumeLayout(false);
|
||||
this.PerformLayout();
|
||||
|
||||
@@ -444,7 +466,7 @@ namespace PropagationRemasteredBeta
|
||||
private System.Windows.Forms.Label label1;
|
||||
private System.Windows.Forms.Label lblPopulationSizePrediction;
|
||||
private System.Windows.Forms.Label label2;
|
||||
private System.Windows.Forms.NumericUpDown nupPopulationSize;
|
||||
private System.Windows.Forms.NumericUpDown nupPopulationWidth;
|
||||
private System.Windows.Forms.NumericUpDown nupImmunes;
|
||||
private System.Windows.Forms.Label label5;
|
||||
private System.Windows.Forms.NumericUpDown nupInfecteds;
|
||||
@@ -466,5 +488,6 @@ namespace PropagationRemasteredBeta
|
||||
private System.Windows.Forms.Button btnRandomName;
|
||||
private System.Windows.Forms.Label label12;
|
||||
private System.Windows.Forms.Button btnRandomizeStats;
|
||||
private System.Windows.Forms.NumericUpDown nupPopulationHeight;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user