if (panel1.Contains(label1)) // if label1 is exist it shows label is exist if label2 is not exist then mean else part... how to identify it is not exist.
{
MessageBox.Show("Label 1 is Exist");
}
意思是說我的其他部分不工作,如果標籤不存在。如何查找標籤是否存在或不在Windows窗體面板
使用查找控件將會找到你想要的 –
你可以通過一個例子來解釋嗎 –