dualzNZ 18 Newbie Poster
create a class called class1.cs

inside your public partial on both form1 and form 2 add the following
class1 myclass = new class1();


then you can pass information to your class by doing
class1.size = textbox1.text;

inside you class add the following
public static string size { get; set; }

then all you need to call on the passed variable on form2 is
label1.text = class1.size;

hope this helps
ddanbe commented: LIke! +14
dualzNZ 18 Newbie Poster

so when the button is clicked it sends the results to MSSQL table in your database, assuming its ADO.

pass the combobox data to a method

public method methodname()
{
    // run your population for your combobox here
}

on your button_click event add after your SQL INSERT STATEMENT, methodname();

this will first insert the data into the table then popluate the combox with your SELECT query dataset

ChrisHunter commented: How I would do it +4
dualzNZ 18 Newbie Poster

fixed thanks for your input i had to do the following

$outer = "../images/ranks/1.png";
	$src = imagecreatefrompng($outer);
	imagesavealpha($src, true);
	imagealphablending($src, true);

then to display it

imagecopy($im, $src, 0, 0, 0, 0, 75, 71);

instead of

imagecopymerge($im, $src, 287, 20, 0, 0, 75, 71, 100);