Exemplo n.º 1
0
        private void ImageViewerForm_Load(object sender, EventArgs e)
        {
            this.Text = item.Name + " (" + item.AssetType.ToString() + ")";

            InventoryImageConsole imageConsole = new InventoryImageConsole(this.client, this.netcom, this.item, this.imagecache);
            imageConsole.Dock = DockStyle.Fill;
            imageConsole.Location = new System.Drawing.Point(3, 8);
            imageConsole.ItemTreeNode = this.ItemTreeNode;//Pass the treeView1 node to InventoryImageConsole
            this.Controls.Add(imageConsole);
            this.Controls["InventoryImageConsole"].Show();
        }
Exemplo n.º 2
0
        private void ImageViewerForm_Load(object sender, EventArgs e)
        {
            this.Text = item.Name + " (" + item.AssetType.ToString() + ")";

            InventoryImageConsole imageConsole = new InventoryImageConsole(this.client, this.netcom, this.item, this.imagecache);

            imageConsole.Dock         = DockStyle.Fill;
            imageConsole.Location     = new System.Drawing.Point(3, 8);
            imageConsole.ItemTreeNode = this.ItemTreeNode;//Pass the treeView1 node to InventoryImageConsole
            this.Controls.Add(imageConsole);
            this.Controls["InventoryImageConsole"].Show();
        }