private void button1_Click(object sender, EventArgs e) { wc = new WarehouseController(); wc.OpenWarehouse(); var cell = wc.GetCell(2, 3, 4); wc.CloseWarehouse(); }