Ejemplo n.º 1
0
        private void Form1_Load(object sender, EventArgs e)
        {
            InitializeControlValues();

            lbl_chainring_min.Visible   = true;
            lbl_chainring_max.Visible   = true;
            txtbx_chainring_max.Visible = true;
            chkbx_1plus.Checked         = true;

            cmbpbx_tyre_size.SelectedIndex = 0;
            lbl_diameter.Text = "Circumference = " + Sizes.bicycle(cmbpbx_tyre_size.Text) + "mm";
        }
Ejemplo n.º 2
0
        private void cmbpbx_tyre_size_SelectedIndexChanged(object sender, EventArgs e)
        {
            lbl_diameter.Text = "Circumference = " + Sizes.bicycle(cmbpbx_tyre_size.Text) + "mm";

            PopulateData(false);
        }