public void TestUnicode()
 {
     if (!NativeMethods.IsWindowUnicode(testDlg.Handle))
     {
         return;
     }
     NativeListBox listBox = new NativeListBox(testDlg.IdentifyFromDialogId(1037));
     Assert.AreEqual("𩸽", listBox.GetItemText(100));
     Assert.AreEqual(100, listBox.FindItem(0, "𩸽"));
 }
 public void TestFindItem()
 {
     NativeListBox listBox = new NativeListBox(testDlg.IdentifyFromDialogId(1037));
     Assert.AreEqual(2, listBox.FindItem(0, "2"));
     Assert.AreEqual(2, listBox.FindItem(2, "2"));
     Assert.AreEqual(-1, listBox.FindItem(3, "2"));
 }