private void ButtonShowSelected2_Click(object sender, EventArgs e)
        {
            //method2
            string itemText = CmbDays.GetItemText(CmbDays.SelectedItem);

            MessageBox.Show(itemText);
        }
Esempio n. 2
0
        private void BtnShowSelectedMethod2_Click(object sender, EventArgs e)
        {
            //Method2
            var item = CmbDays.GetItemText(this.CmbDays.SelectedItem);

            MessageBox.Show(item);
        }
Esempio n. 3
0
        private void btnssm2_Click(object sender, EventArgs e)
        {
            var item = CmbDays.GetItemText(CmbDays.SelectedItem);

            MessageBox.Show(item);
        }
Esempio n. 4
0
        private void BtnShowSelectedMethod3_Click(object sender, EventArgs e)
        {
            string itemText = CmbDays.GetItemText(CmbDays.SelectedItem);

            MessageBox.Show(itemText); // add if
        }
Esempio n. 5
0
        private void button2_Click(object sender, EventArgs e)
        {
            string itemText = CmbDays.GetItemText(CmbDays.SelectedItem);

            MessageBox.Show(itemText);
        }
Esempio n. 6
0
        private void BtnShowSelected2(object sender, EventArgs e)
        {
            string itemText = CmbDays.GetItemText(CmbDays.SelectedItem);

            MessageBox.Show(itemText);
        }