Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- public partial class MainWindow
- {
- public readonly CrackerDetails CrackerStats = new CrackerDetails();
- public ComboSys ComboSystem = new ComboSys();
- public MainWindow()
- {
- InitializeComponent();
- DataContext = new
- {
- CrackerStats,
- ComboSystem
- };
- }
- private void Button_Click(object sender, RoutedEventArgs e)
- {
- switch (((Button) sender).Tag.ToString())
- {
- case "START":
- MessageBox.Show("START");
- break;
- case "STOP":
- MessageBox.Show("STOP");
- break;
- case "LOADCOMBOS":
- var openCombos = new OpenFileDialog
- {
- Filter = "Text files (*.txt)|*.txt|All files (*.*)|*.*",
- Title = "Open Combos!"
- };
- if (openCombos.ShowDialog() == true)
- ComboSystem.LoadCombos(openCombos.FileName);
- break;
- case "LOADPROXIES":
- MessageBox.Show("LOADPROXIES");
- break;
- }
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement