genuineSwag

u/genuineSwag


r/DotA2•

There's many reasons why it sucks.

• Mainly because bots act different than players.

• But worse is 99% of time, you get idiot in your team who either uses force staff to kill you, or drops items out of courier from you.

1st reason isn't that bad(but after we get all tutorials done, bots will be useless), but 2nd one.. is worse than phantom cancer(which isn't that bad actually)

013

r/DotA2•

Since we can disconnect at "Waiting for Loaders" screen, without getting punishment, it could be easily abused, to get into same team with your friends.

10

r/dotnet•

I was asked to make program, which: After you select few rows in datagridview it checks if 1 or more was selected. If one, print two copies of report on one page(One report = half page) If more: Print two reports per page, printing as much as needed pages. Problem is, my code prints 4531456453 pages of same report(first and second row) :/

Basic example of code:

yPos = 0
Do While tmpI < mydatagridview.SelectedRows.Count - 1
    For Each selectedrow As DataGridViewRow In mydatagridview.SelectedRows
        Dim data as string = mydatagridview.SelectedRows(selectedrow.index).cells(1).value
        Dim data2 as string = mydatagridview.SelectedRows(selectedrow.index).cells
10

r/visualbasic•

So, here's basically what my program should do:

Check how much rows you selected in DataGridView If one: It does printDocument, with generating text used from database/datagridview.

If more than one: Print Two on one, and if there's three make new page.

Printing two on one is pretty easy, but how would I jump to next page? I've tryed googling etc, but

e.hasmorepages = true 

as I understand only tells there's more pages to print. So, how would I tell program/code to make new page? (Currently it prints all other info below page - YPos is > than pagesize height)

00