Esempio n. 1
0
 private void copyProgIDToolStripMenuItem_Click(object sender, EventArgs e)
 {
     if (listViewProgIDs.SelectedItems.Count > 0)
     {
         ListViewItem item = listViewProgIDs.SelectedItems[0];
         COMUtilities.CopyTextToClipboard(item.Text);
     }
 }
Esempio n. 2
0
 private void copyGuidToolStripMenuItem_Click(object sender, System.EventArgs e)
 {
     if (hexBox.CanCopy() && hexBox.SelectionLength == 16)
     {
         byte[] bytes = GetSelectedBytes();
         COMUtilities.CopyTextToClipboard(new Guid(bytes).FormatGuid());
     }
 }
Esempio n. 3
0
        private void copyStubPointerToolStripMenuItem_Click(object sender, EventArgs e)
        {
            COMIPIDEntry ipid = GetSelectedIpid();

            if (ipid != null)
            {
                COMUtilities.CopyTextToClipboard(String.Format("0x{0:X}", ipid.Stub.ToInt64()));
            }
        }
Esempio n. 4
0
        private void toClipboardToolStripMenuItem_Click(object sender, EventArgs e)
        {
            COMIPIDEntry ipid = GetSelectedIpid();

            if (ipid != null)
            {
                var objref = $"objref:{Convert.ToBase64String(ipid.ToObjref())}:";
                COMUtilities.CopyTextToClipboard(objref);
            }
        }
Esempio n. 5
0
        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];
                COMUtilities.CopyTextToClipboard(item.Text);
            }
        }
Esempio n. 6
0
        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];
                COMUtilities.CopyTextToClipboard(item.Text);
            }
        }