/// <summary>
 /// Raises the shared ExcelJoinClicked event
 /// </summary>
 public void Raise_ExcelJoin(object sender, FeatureSetEventArgs e)
 {
     if (ExcelJoinClicked != null) ExcelJoinClicked(sender, e);
 }
 private static void ExcelJoinClicked(object sender, FeatureSetEventArgs e)
 {
     JoinDialog jd = new JoinDialog(e.FeatureSet);
     if (jd.ShowDialog() != DialogResult.OK) return;
 }
Example #3
0
 /// <summary>
 /// The join excel.
 /// </summary>
 /// <param name="sender">
 /// The sender.
 /// </param>
 /// <param name="e">
 /// The e.
 /// </param>
 private void JoinExcel(object sender, EventArgs e)
 {
     // This one works slightly differently.  A new result featureset
     // is created, but only some of the time.  If the new result is
     // different from the original "EditCopy" then we should add the
     // result to the layer.  Otherwise, do nothing.
     FeatureSetEventArgs args = new FeatureSetEventArgs(DataSet);
     FeatureLayerEventSender.Instance.Raise_ExcelJoin(this, args);
 }