开发者

tabpages related

开发者 https://www.devze.com 2023-03-18 05:07 出处:网络
when I try to switch between the开发者_Go百科 tabs on Windows Form,it\'s not working one method.

when I try to switch between the开发者_Go百科 tabs on Windows Form,it's not working one method. the first method is clearing comboBoxes and the second method is adding to the inside of combobox those datas from SQL the moral of the story,I'm adding a new data and then I can't see it within another comboboxes

if (tabAna.SelectedTab == tabFormGuncelle)
        {
            CombolariTemizle();
            BaglantiHazirla();
        }

if (tabAna.SelectedTab == tabFormOnayla)
       {
           CombolariTemizle();
           BaglantiHazirla();
       }


I can only see that both codepaths are identical, i.e. both if-bodies are exactly the same. Possibly that's the reason?

0

精彩评论

暂无评论...
验证码 换一张
取 消