public void DeleteHardwareItem(HardwareItem hardwareitemToDelete)
        {
            itemsBaza db1 = new itemsBaza();

            db1.ReadItems();

            using (SQLiteCommand com = new SQLiteCommand(con))
            {
                com.CommandText = "DELETE FROM hardware_items WHERE (itemID ='" + hardwareitemToDelete.itemID + "');";

                com.ExecuteNonQuery();
                com.Dispose();
            }
        }
        public void DeleteMonitor(Monitor monitorToDelete)
        {
            itemsBaza db1 = new itemsBaza();

            db1.ReadItems();

            using (SQLiteCommand com = new SQLiteCommand(con))
            {
                com.CommandText = "DELETE FROM monitor_items WHERE (itemID ='" + monitorToDelete.itemID + "');";

                com.ExecuteNonQuery();
                com.Dispose();
            }
        }