Skip to content

Commit

Permalink
Added OnShowPanel event handler
Browse files Browse the repository at this point in the history
  • Loading branch information
dalefugier committed Jul 30, 2018
1 parent c5f3dd1 commit 8883a4a
Showing 1 changed file with 8 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,14 @@ public SampleCsWpfPaneViewModel(uint documentSerialNumber)
SampleCsWpfPlugIn.Instance.SettingsSaved +=
(sender, args) => SettingsChangedMessage = $"SettingsSaved {++m_saved_count}";
m_use_multiple_counters = UseMultipleCounters == true;

Rhino.UI.Panels.Show += OnShowPanel;
}

private void OnShowPanel(object sender, Rhino.UI.ShowPanelEventArgs e)
{
var sn = e.DocumentSerialNumber;
// TOOD...
}

private int m_saved_count;
Expand Down

0 comments on commit 8883a4a

Please sign in to comment.