- 1
- 2
- 3
- 4
if (lvwUsers.SelectedItems[0].SubItems[1].Text != "" ||
lvwUsers.SelectedItems[0].SubItems[1].Text != string.Empty)
{
SecuritySettings.AuthenticationProtocol = ....
absolut 28.04.2011 16:01 # 0
Lure Of Chaos 28.04.2011 16:47 # 0
guest 29.04.2011 12:28 # 0
powerslave 01.05.2011 13:52 # 0
guest 03.05.2011 15:03 # 0
TauSigma 13.05.2013 16:58 # 0
А IsNullOrEmpty для .NET 2+
guest 06.05.2011 03:36 # 0
lvwUsers.SelectedItems.Count>0
и
lvwUsers.SelectedItems[0].SubItems.Count>0
до String.IsNullOrWhiteSpace() может и не дойти)