I can live with this solution. I tryed to make gray dashed line around canvas to represent You can drop something.
First I draw round rectangle and then make it dashed by adding spaces with background color.
Here’s my code from canvas paint event if someone knows better way of doing it
[code] Dim l_length As Integer = 40 // line length
Dim l_space As Integer = 20 // space between lines
Dim l_thick As Integer = 10 // line thickness
Dim l_curve As Integer = 40 // corner roundness
Dim l_color As Color = &CCCCCCC // line color
Dim xkpl As Integer = (me.Width - 2l_length) / (l_length + l_space) // count of lines to fit horizontally
Dim ykpl As Integer = (me.Height - 2l_length) / (l_length + l_space) // count of lines to fit vertically
Dim x_width As Integer = (me.Width - 2*l_length - (xkpl+1)l_space) / xkpl // actual length of this line
Dim y_width As Integer = (me.Height - 2l_length - (ykpl+1)*l_space) / ykpl // actual length of this line
g.PenWidth = l_thick
g.PenHeight = l_thick
g.ForeColor = l_color
g.DrawRoundRect(0,0,me.Width,me.Height,l_curve,l_curve) // draw round rectangle
g.ForeColor = self.BackColor // this has to be same as window backcolor
For i As Integer = 0 To xkpl // add horizontal spaces
g.FillRect(ix_width + il_space + l_length, 0, l_space, l_thick)
g.FillRect(ix_width + il_space + l_length, me.Height-l_thick, l_space, me.Height)
Next i
For i As Integer = 0 To ykpl // add vertical spaces
g.FillRect(0,iy_width + il_space + l_length, l_thick, l_space)
g.FillRect(me.Width-l_thick,iy_width + il_space + l_length, me.Width, l_space)
Next i[/code]