C sharp help thread
 
Notifications
Clear all

C sharp help thread

Page 3 / 4

anxify
Posts: 203
(@anxify)
Reputable Member
Joined: 8 years ago

to alocate strings in executble you need go to view sub views and choose strings :p

You're a beast when it comes to ppc 😉

Reply
I Like Women
Posts: 1005
(@I Like Women)
Noble Member
Joined: 9 years ago

You're a beast when it comes to ppc 😉

Cyb3r & Krank are beast at PPC. But dw, I'll also learn it during my courses ;_;

Reply
Posts: 0
(@CroNoX)
New Member
Joined: 9 years ago

to alocate strings in executble you need go to view sub views and choose strings :p

yeah I know to do that, I mean for example how to find FPS for uncharted 3 etc or how to find some mods with strings and modify them

Reply
Posts: 0
(@CroNoX)
New Member
Joined: 9 years ago

Hello, does somebody know how to disable a tab from a tabcontrol? Example: I have a TabControl with 4 Tabs named Connect, Modz, Stats, Credits.

Let's say I want to block Modz and Stats Tabs if the tools isn't connected and attached to the PS3. Once PS3 is connected with ccapi or tmapi those 3 tabs can be used.

Reply
Cain532
Posts: 1280
Topic starter
(@cain532)
Noble Member
Joined: 10 years ago

Hello, does somebody know how to disable a tab from a tabcontrol? Example: I have a TabControl with 4 Tabs named Connect, Modz, Stats, Credits.

Let's say I want to block Modz and Stats Tabs if the tools isn't connected and attached to the PS3. Once PS3 is connected with ccapi or tmapi those 3 tabs can be used.

If you are writing his in C#, those tabs should have their own logical name inside the controller context. So click I side the tab as tho you were adding an item them go to properties to find the name. Then you could use a simple Boolean to check if you have a connection.

	Boolean Connection (SelectApi API = SelectAPI.TargetManager)
	{
	    PS3.ChangeAPI(API);
	Boolean state = PS3.ConnectTarget();
	    if (state) state = PS3.AttachTarget();
	return state;
	}
	Boolean Is_Connected;
	private void button1_Click(object sender, EventArgs e)
	Is_Connected = Connection();
	tab_Statz.Enabled = Is_Connected;
	}
	

Something like that maybe?

Did that on my phone so I wouldn't trust Copy/Pasting it haha

Reply
Page 3 / 4