예제 #1
0
        //open inventory window
        private void OpenInventory()
        {
            var inventory = new InventoryWindow();

            inventory.TopLevel        = false;
            inventory.Visible         = true;
            inventory.FormBorderStyle = FormBorderStyle.None;
            inventory.Dock            = DockStyle.Fill;
            tabPage2.Controls.Add(inventory);
        }
예제 #2
0
        private void Stock_Click(object sender, EventArgs e)
        {
            var inventoryWindow = new InventoryWindow();

            inventoryWindow.ShowDialog();
        }