What do you want to save?
Add Code snippet
New code examples
-
VBA 2021-10-02 01:48:03
move player with keyboard with boundaries vb.net
'Note: before I did the code, I added 2 labels, 4 timers '(names are "tmrRight", "tmrleft", "tmrUp", and "tmrDown") 'and 3 pictureboxes (one of which is named "pbPlayer") 'the 2 labels and 2 pictureboxe... Add solution -
-
C# 2021-09-16 00:15:02
how to set picturebox width with form width in c#
private void Form1_Resize(object sender, System.EventArgs e) { Control control = (Control)sender; double percentage = 0.7; int width = control.Size.Width; //width = (int)Math.Round(test*perc); imagewidth 70% of form width int heigth =... Add solution
Best helpers
Ranking is empty