Jump to content

Check out our Community Blogs


Member Since 01 Jun 2012
Offline Last Active Jan 12 2015 12:00 AM

Posts I've Made

In Topic: Visual Studio C# 2010 Addons?

12 June 2012 - 11:51 PM

Telerik... from winform, web, silverlight, windows 8, mobile, reporting and refactoring

In Topic: Inline vs code behind

12 June 2012 - 09:54 PM

yeah, I also prefer code behind, easy to maintenance and more neater

In Topic: Tabcontrol

12 June 2012 - 09:45 PM


You can add two tabcontrol component, with the same size and location
set the first tabcontrol alignment property to left
add function on selecting event (for each tabcontrol), to bring front the control when they being selecting: Ex : tabcontrol1.BringToFront();

to add the icon on tab:
Drop an ImageList on the form and fill it with your icons.
Set the TabControl.ImageList property.
For each tab page, set the ImageIndex property

In Topic: Adding / Removing Startup Parameters

12 June 2012 - 09:17 PM

Hi Thryckz,

logicPwn is right, you should learn to use the Process class, it basically calling the external program(outside your project and adding the additional parameter on your code/program)

		Process myProcess = new Process();
			myProcess.StartInfo.FileName = "gameToRun.exe";
			//Do not receive an event when the process exits.
			myProcess.EnableRaisingEvents = false;
			// Parameters
			myProcess.StartInfo.Arguments = "/highresolution true /LevelStart 100";
			// Modify the following to hide / show the window
			myProcess.StartInfo.CreateNoWindow = false;
			myProcess.StartInfo.UseShellExecute = true;
			myProcess.StartInfo.WindowStyle = ProcessWindowStyle.Maximized;

			//Specify allocated memory
			myProcess.MaxWorkingSet = new IntPtr(2048);
			myProcess.MinWorkingSet = new IntPtr(2048);
		catch (Exception e)
			// Handle error here

but please aware, that the parameter should already exist in the external program

In Topic: How to decode Json Codes?

12 June 2012 - 09:03 PM


try Json.Net it should do all the trick.


Recommended from our users: Dynamic Network Monitoring from WhatsUp Gold from IPSwitch. Free Download