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

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

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

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

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

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

            MessageBox.Show(itemText);
        }