Inheritance: AbstractObjectEditor
Ejemplo n.º 1
0
            public EventCommandListboxInternal(EventCommandListbox parent)
            {
                this.parent = parent;
                this.SelectedItem = new List<object>();

                this.ContextMenuStrip = new EditContextMenuStrip(this);
                this.ContextMenuStrip.Items.Add(new System.Windows.Forms.ToolStripSeparator());
                this.ContextMenuStrip.Items.Add(new System.Windows.Forms.ToolStripMenuItem("复制全部为 UBB(&B)", null, delegate
                {
                    System.Windows.Forms.Clipboard.Clear();
                    System.Windows.Forms.Clipboard.SetText(ExportUBB(), System.Windows.Forms.TextDataFormat.UnicodeText);
                }));
            }
Ejemplo n.º 2
0
            public EventCommandListboxInternal(EventCommandListbox parent)
            {
                this.parent       = parent;
                this.SelectedItem = new List <object>();

                this.ContextMenuStrip = new EditContextMenuStrip(this);
                this.ContextMenuStrip.Items.Add(new System.Windows.Forms.ToolStripSeparator());
                this.ContextMenuStrip.Items.Add(new System.Windows.Forms.ToolStripMenuItem("复制全部为 UBB(&B)", null, delegate
                {
                    System.Windows.Forms.Clipboard.Clear();
                    System.Windows.Forms.Clipboard.SetText(ExportUBB(), System.Windows.Forms.TextDataFormat.UnicodeText);
                }));
            }