Posted
Hello. So I wanna make my executor multi api but i want the checkboxes on a diffrent wpf not on the main wpf.But the problem i face is when it comes to inject and execution cause the button doesnt know what checkbox(api) was selected to inject or execute.
Love And Thank You
SpaceSpiffer
https://media.discordapp.net/attachments/1013939973671624917/1027279180192292944/unknown.png
https://media.discordapp.net/attachments/1010670716062007347/1108945330847883274/image.png
Replied
so its pretty simple all you do is write code in like a few class files in c# and yea yea
Cancel
Post
Replied
Use the Settings.settings File to save the Values and read from them. Set the Type to int and the name to whatever you like to.
If you don't have it: Project Properties > Settings > Create Settings File.
This is how i set it up for me
https://cdn.discordapp.com/attachments/843944847491596401/845391382670868510/unknown.png
You can use this to write to the Settings
Properties.Settings.Default.API = 1; //1 represents the first api you are gonna use. you can use string as type too but int are easier imo
Properties.Settings.Default.Save()
Inside your Inject and Execute Buttons you are gonna use an switch statement to check what API is selected.
Pseudocode:
int API = Properties.Settings.Default.API;
switch(API)
{
case 1:
firstapi.inject(); //or execute
break;
case 2:
secondapi.Inject(); //or execute
break;
//and so on
}
Hope it helped, if you have questions dm me
Cancel
Post
Who's Deez?
Replied
simple tutorial
get radiobuttons then on the inject button add this code in
same goes for execute
if(radiobtnapi1.Checked == true)
{
//inject api1
}
if(radiobtnapi2.Checked == true)
{
//inject api2
}Cancel
Post
banan
Replied
@64220Thank You This Helped Alot.
Cancel
Post
Added
@66746Holy This Is Alot Thank You For Writing This All Out For Me.
Cancel
Post
Added
@60947This Was Really Helpful Thank You.
Cancel
Post
https://media.discordapp.net/attachments/1013939973671624917/1027279180192292944/unknown.png
https://media.discordapp.net/attachments/1010670716062007347/1108945330847883274/image.png
Who's Deez?
Users viewing this thread:
( Members: 0, Guests: 0, Total: 0 )
Cancel
Post