Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- private void adxRibbonButton3_OnClick(object sender, IRibbonControl control, bool pressed)
- {
- object context = control.Context;
- if (context != null)
- {
- var explorer = context as Explorer;
- if (explorer != null)
- {
- var currView = explorer.CurrentView;
- }
- }
- else
- MessageBox.Show("context == null");
- Marshal.ReleaseComObject(context);
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement