private void markerSelect_Click(object sender, EventArgs e) { PushPinPickerPopup popup = new PushPinPickerPopup(); popup.Location = PointToScreen(markerSelect.Location); popup.Top = popup.Top + 34; popup.ShowDialog(); layer.MarkerIndex = popup.SelectedIndex; markerSelect.Image = PushPin.GetPushPinBitmap(layer.MarkerIndex); }
private void domainList_DoubleClick(object sender, EventArgs e) { var val = (DomainValue)domainList.SelectedItem; var popup = new PushPinPickerPopup(); popup.Location = Cursor.Position; popup.SelectedIndex = val.MarkerIndex; popup.ShowDialog(); val.MarkerIndex = popup.SelectedIndex; domainList.Refresh(); }
private void domainList_DoubleClick(object sender, EventArgs e) { DomainValue val = (DomainValue)domainList.SelectedItem; PushPinPickerPopup popup = new PushPinPickerPopup(); popup.Location = Cursor.Position; popup.SelectedIndex = val.MarkerIndex; popup.ShowDialog(); val.MarkerIndex = popup.SelectedIndex; domainList.Refresh(); }
private void markerSelect_Click(object sender, EventArgs e) { var popup = new PushPinPickerPopup(); popup.Location = PointToScreen(markerSelect.Location); popup.Top = popup.Top + 34; popup.ShowDialog(); layer.MarkerIndex = popup.SelectedIndex; markerSelect.Image = PushPin.GetPushPinBitmap(layer.MarkerIndex); }