private void SetupCan_Click(object sender, EventArgs e) { canister = new AtmosContainer((double)CanisterVolume.Value, 1000 * (double)CanisterBreak.Value); UpdateDisplay(); }
public AtmosCan() { InitializeComponent(); canister = new AtmosContainer((double)CanisterVolume.Value, 1000 * (double)CanisterBreak.Value); UpdateDisplay(); }