Exemple #1
0
        public ClientForm()
        {
            InitializeComponent();
            UserInput.SetCueBanner("Username");
            PassInput.SetCueBanner("Password");
            PicInput.SetCueBanner("PIC");
            CharInput.SetCueBanner("Character");
            PacketInput.SetCueBanner("Enter packet to send...");
            DelayInput.SetCueBanner("Delay");
            InitializeProgress();

            client = new Client(this);
            PacketView.SetInput(PacketInput);
            RushView.SetClient(client);

            FmFunctions = new FreeMarketForm(this);

#if DEBUG
            /*Use this for testing account
            *  username.Text           = "";
            *  password.Text           = "";
            *  pic.Text                = "";
            *  character.Text          = "";
            *  world.SelectedIndex     = 0;
            *  channel.SelectedIndex   = 0;*/
#endif
            InitializeAccount();
        }
 public void EnterPassAndNext(string pass)
 {
     PassInput.PressKeys(pass);
     NextBtn.Click();
 }