Ejemplo n.º 1
0
        public ChangesPanel()
        {
            InitializeComponent();
            comboLanguage.SelectedIndex = 0;
            switch (th.GetSelectedLanguage())
            {
            case "default":
                comboLanguage.SelectedIndex = 1;
                break;

            case "de":
                comboLanguage.SelectedIndex = 2;
                break;

            case "es":
                comboLanguage.SelectedIndex = 3;
                break;

            case "ca":
                comboLanguage.SelectedIndex = 4;
                break;

            case "zh":
                comboLanguage.SelectedIndex = 5;
                break;
            }
            th.Translate(this);
            comboBoxAttackers.DataSource = new[] {
                th.TS("Random"),
                th.TS("Best CP"),
                th.TS("Favourites"),
                th.TS("Lower than defenders CP")
            };
            comboBoxAttackers.SelectedIndex = 0;
        }
Ejemplo n.º 2
0
 public PokemonsPanel()
 {
     InitializeComponent();
     th.Translate(this);
     BotSettings = new Settings();
     InitialzePokemonListView();
 }
Ejemplo n.º 3
0
 public EggsPanel()
 {
     //
     // The InitializeComponent() call is required for Windows Forms designer support.
     //
     InitializeComponent();
     th.Translate(this);
 }
Ejemplo n.º 4
0
 public SniperPanel()
 {
     //
     // The InitializeComponent() call is required for Windows Forms designer support.
     //
     InitializeComponent();
     IntializeComboLinks();
     th.Translate(this);
 }
Ejemplo n.º 5
0
 public Pokemons()
 {
     InitializeComponent();
     th.Translate(this);
     if (GlobalVars.EnableConsoleInTab)
     {
         this.TabControl1.Controls.Add(this.tpConsole);
         Logger.type = 1;
     }
     changesPanel1.Execute();
     changesPanel1.OnChangeLanguage = TranslateAll;
     webPanel1.AddButtonClick(new System.EventHandler(this.HideWebPanel));
     sniperPanel1.AddButtonClick(new System.EventHandler(this.AddLink));
     sniperPanel1.webBrowser = webPanel1.webBrowser1;
 }
Ejemplo n.º 6
0
        public TabbedSystem()
        {
            InitializeComponent();
            th.Translate(this);
            changesPanel1.Execute();
            changesPanel1.OnChangeLanguage = TranslateAll;
            webPanel1.AddButtonClick(new System.EventHandler(this.HideWebPanel));
            sniperPanel1.AddButtonClick(new System.EventHandler(this.AddLink));
            sniperPanel1.webBrowser = webPanel1.webBrowser1;
            webPanel1.ChangeURL("http://www.pokemaster.me/");

            if (!GlobalVars.EnableConsoleInTab)
            {
                loggerPanel1.Visible            = false;
                splitContainer1.Panel2Collapsed = true;
            }
        }
Ejemplo n.º 7
0
        public TabbedSystem()
        {
            InitializeComponent();
            th.Translate(this);
            changesPanel1.Execute();
            changesPanel1.OnChangeLanguage = TranslateAll;
            webPanel1.AddButtonClick(new System.EventHandler(this.HideWebPanel));
            sniperPanel1.AddButtonClick(new System.EventHandler(this.AddLink));
            sniperPanel1.webBrowser = webPanel1.webBrowser1;

            if (!GlobalVars.EnableConsoleInTab)
            {
                if (TabControl1.Contains(tpConsole))
                {
                    TabControl1.Controls.Remove(tpConsole);
                }
            }
        }
Ejemplo n.º 8
0
        public ItemsPanel()
        {
            //
            // The InitializeComponent() call is required for Windows Forms designer support.
            //
            InitializeComponent();

            th.Translate(this);

            this.chID.Text     = th.TS("#");
            this.chItem.Text   = th.TS("Item");
            this.chCount.Text  = th.TS("Count");
            this.chUnseen.Text = th.TS("Unseen");
        }
Ejemplo n.º 9
0
 public GameAspectSimulator()
 {
     //
     // The InitializeComponent() call is required for Windows Forms designer support.
     //
     InitializeComponent();
     th.Translate(this);
     locationPanel1.Init(true, 0, 0, 0);
     btnPicPokes.Parent  = locationPanel1.map;
     btnPicEggs.Parent   = locationPanel1.map;
     btnPicItems.Parent  = locationPanel1.map;
     btnPicConfig.Parent = locationPanel1.map;
     btnPicSnipe.Parent  = locationPanel1.map;
 }
Ejemplo n.º 10
0
        public ChangesPanel()
        {
            InitializeComponent();
            comboLanguage.SelectedIndex = 0;
            switch (th.GetSelectedLanguage())
            {
            case "default":
                comboLanguage.SelectedIndex = 1;
                break;

            case "de":
                comboLanguage.SelectedIndex = 2;
                break;

            case "es":
                comboLanguage.SelectedIndex = 3;
                break;

            case "ca":
                comboLanguage.SelectedIndex = 4;
                break;
            }
            th.Translate(this);
        }