Example #1
0
        private void confirm_Click(object sender, EventArgs e)
        {
            BasementComponent com = this.owner as BasementComponent;

            com.solidGravity      = double.Parse(this.SG.Text);
            com.waterGravity      = double.Parse(this.WG.Text);
            com.solidWaterGravity = double.Parse(this.SWG.Text);
            com.deadLoad          = double.Parse(this.DL.Text);
            com.liveLoad          = double.Parse(this.LL.Text);
            com.deadLoadParam     = double.Parse(this.RG.Text);
            com.liveLoadParam     = double.Parse(this.RQ.Text);
            com.solidParam        = double.Parse(this.textBox1.Text);
            com.OnPingDocument().ScheduleSolution(1, doc => {
                com.ExpireSolution(false);
            });
            this.Close();
            this.Dispose();
        }
Example #2
0
 public BasementComponentAtrribute(BasementComponent owner) : base(owner)
 {
 }