private void copyToolStripMenuItem_Click(object sender, EventArgs e) { if (listViewTypes.SelectedItems.Count > 0) { ListViewItem item = listViewTypes.SelectedItems[0]; COMRegistryViewer.CopyTextToClipboard(item.Text); } }
private void copyGuidToolStripMenuItem_Click(object sender, System.EventArgs e) { if (hexBox.CanCopy() && hexBox.SelectionLength == 16) { byte[] bytes = GetSelectedBytes(); COMRegistryViewer.CopyTextToClipboard(new Guid(bytes).FormatGuid()); } }
private void CopyGuid(COMRegistryViewer.CopyGuidType copy_type) { if (listViewTypes.SelectedItems.Count > 0) { ListViewItemWithIid item = (ListViewItemWithIid)listViewTypes.SelectedItems[0]; COMRegistryViewer.CopyGuidToClipboard(item.Iid, copy_type); } }
private void copyIPIDIIDToolStripMenuItem_Click(object sender, EventArgs e) { COMIPIDEntry ipid = GetSelectedIpid(); if (ipid != null) { COMRegistryViewer.CopyGuidToClipboard(ipid.Iid, COMRegistryViewer.CopyGuidType.CopyAsString); } }
private void copyCLSIDToolStripMenuItem_Click(object sender, EventArgs e) { COMProcessClassRegistration c = GetRegisteredClass(); if (c != null) { COMRegistryViewer.CopyGuidToClipboard(c.Clsid, COMRegistryViewer.CopyGuidType.CopyAsString); } }
private void CopyIID(ListView view, COMRegistryViewer.CopyGuidType type) { if (view != null && view.SelectedIndices.Count > 0) { ListViewItem item = view.SelectedItems[0]; Tuple <COMInterfaceInstance, COMInterfaceEntry> intf = item.Tag as Tuple <COMInterfaceInstance, COMInterfaceEntry>; COMRegistryViewer.CopyGuidToClipboard(intf.Item1.Iid, type); } }
private void copyStubPointerToolStripMenuItem_Click(object sender, EventArgs e) { COMIPIDEntry ipid = GetSelectedIpid(); if (ipid != null) { COMRegistryViewer.CopyTextToClipboard(String.Format("0x{0:X}", ipid.Stub.ToInt64())); } }
private void copyToolStripMenuItem_Click(object sender, EventArgs e) { ListView view = sender as ListView; if (view != null && view.SelectedIndices.Count > 0) { ListViewItem item = view.SelectedItems[0]; COMRegistryViewer.CopyTextToClipboard(item.Text); } }
private void copyToolStripMenuItem_Click(object sender, EventArgs e) { ListView list = sender as ListView; if (list != null && list.SelectedItems.Count > 0) { ListViewItem item = listViewInterfaces.SelectedItems[0]; COMRegistryViewer.CopyTextToClipboard(item.Text); } }
private void toClipboardToolStripMenuItem_Click(object sender, EventArgs e) { COMIPIDEntry ipid = GetSelectedIpid(); if (ipid != null) { var objref = $"objref:{Convert.ToBase64String(ipid.ToObjref())}:"; COMRegistryViewer.CopyTextToClipboard(objref); } }
private void CopyGuid(object sender, COMRegistryViewer.CopyGuidType copy_type) { ListView list = sender as ListView; if (list != null && list.SelectedItems.Count > 0) { ListViewItemWithGuid item = list.SelectedItems[0] as ListViewItemWithGuid; if (item != null) { COMRegistryViewer.CopyGuidToClipboard(item.Guid, copy_type); } } }
private void OpenView(COMRegistryViewer.DisplayMode mode) { HostControl(new COMRegistryViewer(COMRegistry.Instance, mode)); }
private void OpenView(COMRegistryViewer.DisplayMode mode) { COMRegistryViewer view = new COMRegistryViewer(m_comRegistry, mode); view.ShowHint = DockState.Document; view.Show(m_dockPanel); }
private void OpenView(COMRegistryViewer.DisplayMode mode) { HostControl(new COMRegistryViewer(m_registry, mode)); }