Our members are dedicated to PASSION and PURPOSE without drama!

Menu

Show posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.

Show posts Menu

Messages - VLS

#1321
Hello dear Stef, do you want to:


a) Visit the sites only.


b) Gamble with real money there.


They are two very different games.


You can always search for: <target country> + windows VPS


VPS = Virtual Private Server


Basically a slice of a dedicated server connected 24/7 to the net, which acts as your own computer.


Once logged to your VPS, the IP and everything else: cookies, files, registry, etc. are for all purposes the ones from the rented VPS server.


You become a "Ghost" to the casino.
#1322
Straight-up / Re: "Double trio" evolution
December 28, 2012, 03:30:53 AM

There are many other possible trio bets not covered by the standard betting locations.

Example:

Trio 1-5-9

[attachimg=1]

Trio 15-17-19

[attachimg=2]

Trio 24-27-30

[attachimg=3]




Each number has a exactly 4 possible trio bets it is the center of.

Example, for number 20:

Trio 16-20-24

[attachimg=4]

Trio 17-20-23

[attachimg=5]

Trio 18-20-22

[attachimg=6]

Trio 19-20-21

[attachimg=7]




In order to being able to spot all trios for every number we use our comprehensive triple-felt layout:

[attachimg=8]
#1323
Meta-selection / Re: Triple-Felt Matrix
December 28, 2012, 01:50:47 AM
Hello dear AMK,

Please keep an eye on the approaches "powered by Triple Felt" to see practical application.

i.e.

- Felt Twins Evolution.

- "Double trio" evolution.


The "evolution" part refers to evolving from only one felt to this triple matrix for a more complete picture of the possibilities.
#1324
Quote from: VLS on December 27, 2012, 11:15:10 PM
Every 37 spins skipped by a number from the time a roulette wheel starts operating must be "evened-out" by other cycles on which this number is spun more than once. This is, the clump.

Of course, the opposite of this is true. You could say for every extra appearance of a number in a 37-spin cycle, then a no-show must correspond.

The "Game necessity" global effect could be a "no-show" clump for a number. But unlike the open possibility of capturing a single hot number for a plus it's actually impossible to take of advantage this no-show clump, since covering 36 numbers is the break even point by payout.
#1325
QuoteI might add my 2 cents and add the idea of clumping being a "game necessity"

The most extreme case of course being the single number.

Since there are 36 other ways to land on a number, we see it's easy for a single number to be skipped in a set, and indeed we see several numbers commonly skipped on each set of 37 spins.

We could say the hot numbers phenomenon can function as a "game evener".


Every 37 spins skipped by a number from the time a roulette wheel starts operating must be "evened-out" by other cycles on which this number is spun more than once. This is, the clump.

It's the natural way of the game for small numerical groups.


Can we take advantage of the clumping phenomenon? That's another story, since for many people the game is such as being 1-spin long only hence clumping is not existing at all. The way of considering/viewing clumping being a matter of personal taste entirely.
#1326
I might add my 2 cents and add the idea of clumping being a "game necessity", which means the "global tendency" being to skip them since on a single spin there are more options for other numbers (not belonging to the small numerical group) to be spun... this is "countered" by the clumping of the numbers from the small numerical group, spinning several times in a cycle in order to obey the expected overall rate of shows, as dictated by the game's math.
#1327
Meta-selection / Re: Triple-Felt Matrix
December 27, 2012, 09:40:45 PM
For our practical use, we trim it to:


[attachimg=1]
#1328
Straight-up / Re: "Double trio" evolution
December 27, 2012, 09:35:27 PM
The most known example of a trio is the "street":

Example, street 1-2-3:

[attachimg=1]

When all numbers on a street are spun, we say the street "completed".

A completed trio is what we are considering for our bets here.

If street 1-2-3 and -say- street 16-17-18 completed, we have a double trio, in a vertical direction:

[attachimg=2]
#1329
Straight-up / Re: "Double trio" evolution
December 27, 2012, 06:49:51 PM
These are the numbers for Dec. 03:

[attachimg=1]


Download: [attachmini=2]
#1330
Horse & Greyhound Racing Forum / Re: LAYING TO LOSE
December 27, 2012, 05:27:52 PM
Thanks for the informative post. It'a appreciated  :nod:
#1332
Double-street / Re: Count Five
December 27, 2012, 12:54:17 PM
Thanks for sharing this with us Ignatus,

Do you work this with the "tweener" double-streets too?

I mean 4-9, 10-15, 16-21, 22-27, 28-33:

[attachimg=1]

And 1-36:

[attachimg=2]

Thanks.
#1333
Sports Betting Forum / Re: Low Risk Match Betting
December 26, 2012, 09:57:48 PM
Thanks for bringing this information to us here dear Max  :nod:
#1334
Archive / [RC] LastXSplits Release Candidate 1
December 26, 2012, 06:58:44 PM
Feature-complete release!

Download executable (.exe) file: [attachmini=2]

[attachimg=1]
If any tester could confirm it works in full on his/her system we can proceed to make it an official release :nod: :thumbsup:

This code-base gets to be forked into Last X numbers, last X streets, last X lines, last X quads...

Just need confirmation by fellow testers all features are usable.

Source:

Code (csharp) Select
using System;
using System.Collections;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Text;
using System.Windows.Forms;
using System.IO;
using System.Xml;
using System.Xml.XPath;


namespace LastXSplits_0_1
{
    public partial class Form1 : Form
    {
        /// <summary>
        /// Constructor
        /// </summary>
        public Form1()
        {
            // Initialization
            InitializeComponent();
        }


        // History implemented as stack (LIFO)
        Stack<int> history = new Stack<int>();


        // Redo implemented as stack too
        Stack<int> redo = new Stack<int>();


        // Splits as List of Split class
        List<Split> Splits = new List<Split>() { new Split(1, 0), new Split(2, 0), new Split(3, 0), new Split(1, 2), new Split(1, 4), new Split(2, 3), new Split(2, 5), new Split(3, 6), new Split(4, 5), new Split(4, 7), new Split(5, 6), new Split(5,, new Split(6, 9), new Split(7,, new Split(7, 10), new Split(8, 9), new Split(8, 11), new Split(9, 12), new Split(10, 11), new Split(10, 13), new Split(11, 12), new Split(11, 14), new Split(12, 15), new Split(13, 14), new Split(13, 16), new Split(14, 15), new Split(14, 17), new Split(15, 18), new Split(16, 17), new Split(16, 19), new Split(17, 18), new Split(17, 20), new Split(18, 21), new Split(19, 20), new Split(19, 22), new Split(20, 21), new Split(20, 23), new Split(21, 24), new Split(22, 23), new Split(22, 25), new Split(23, 24), new Split(23, 26), new Split(24, 27), new Split(25, 26), new Split(25, 28), new Split(26, 27), new Split(26, 29), new Split(27, 30), new Split(28, 29), new Split(28, 31), new Split(29, 30), new Split(29, 32), new Split(30, 33), new Split(31, 32), new Split(31, 34), new Split(32, 33), new Split(32, 35), new Split(33, 36), new Split(34, 35), new Split(35, 36) };


        // Counter as BindingList of SplitCount (bound to DataGridView in FormCount)
        BindingList<SplitCount> Counter = new BindingList<SplitCount>();


        // Instantiate history form
        Form fHistory = new FormHistory();


        // Instantiate counter form
        Form fCount = new FormCount();


        // Reference to DataGridView
        DataGridView dgvCount;


        // Reference to History ListBox
        ListBox lbHistory;


        // Global PictureBox Array
        PictureBox[] pbG;


        // XML settings Filename
        string xmlFile = Path.GetDirectoryName(Application.ExecutablePath) + "\\LastXSplits.xml";


        /// <summary>
        /// Program's entrypoint
        /// </summary>
        private void Form1_Load(object sender, EventArgs e)
        {
            // Declare control array
            PictureBox[] pbCtrl = { pb0, pb1, pb2, pb3, pb4, pb5, pb6, pb7, pb8, pb9, pb10, pb11, pb12, pb13, pb14, pb15, pb16, pb17, pb18, pb19, pb20, pb21, pb22, pb23, pb24, pb25, pb26, pb27, pb28, pb29, pb30, pb31, pb32, pb33, pb34, pb35, pb36 };


            // Assign references
            pbG = pbCtrl;


            // Attach events to each control
            foreach (PictureBox ctrl in pbCtrl)
            {
                // MouseLeave
                ctrl.MouseLeave += new EventHandler(PictureBox_MouseLeave);


                // MouseEnter
                ctrl.MouseEnter += new EventHandler(PictureBox_MouseEnter);


                // MouseDown
                ctrl.MouseDown += new MouseEventHandler(PictureBox_MouseDown);


                // MouseUp
                ctrl.MouseUp += new MouseEventHandler(PictureBox_MouseUp);


                // MouseClick
                ctrl.MouseClick += new MouseEventHandler(PictureBox_MouseClick);
            }


            // Set dgvCount
            dgvCount = (DataGridView)fCount.Controls["dgvCount"];


            // Prevent automatic generation of columns
            dgvCount.AutoGenerateColumns = false;


            // Add shows column
            DataGridViewTextBoxColumn showsColumn = new DataGridViewTextBoxColumn();
            showsColumn.DataPropertyName = "Shows";
            showsColumn.HeaderText = "Shows";
            showsColumn.Width = 50;
            showsColumn.DefaultCellStyle.Alignment = DataGridViewContentAlignment.MiddleCenter;
            showsColumn.DefaultCellStyle.Font = new Font(fileToolStripMenuItem.Font, fileToolStripMenuItem.Font.Style ^ FontStyle.Italic);
            dgvCount.Columns.Add(showsColumn);


            // Add splits column
            DataGridViewTextBoxColumn splitsColumn = new DataGridViewTextBoxColumn();
            splitsColumn.DataPropertyName = "Splits";
            splitsColumn.HeaderText = "Splits";
            showsColumn.DefaultCellStyle.Alignment = DataGridViewContentAlignment.MiddleCenter;
            splitsColumn.DefaultCellStyle.Font = new Font(fileToolStripMenuItem.Font, fileToolStripMenuItem.Font.Style ^ FontStyle.Italic);
            splitsColumn.AutoSizeMode = DataGridViewAutoSizeColumnMode.Fill;
            dgvCount.Columns.Add(splitsColumn);


            // Set dgvCount DataSource
            dgvCount.DataSource = Counter;


            // Set lbHistory
            lbHistory = (ListBox)fHistory.Controls["lbHistory"];


            // Show history form
            fHistory.Show();


            // Show counters form
            fCount.Show();


            // Check for XML file
            if (File.Exists(xmlFile))
            {
                // Set XPath Document               
                XPathDocument document = new XPathDocument(xmlFile);


                // Create XPath Navigator
                XPathNavigator navigator = document.CreateNavigator();


                // Process Options
                foreach (XPathNavigator section in navigator.Select("/LastXSplits/Options"))
                {
                    foreach (XPathNavigator node in section.SelectChildren(XPathNodeType.All))
                    {
                        // Toggle options
                        foreach (ToolStripMenuItem tsmi in optionsToolStripMenuItem.DropDownItems)
                        {
                            // Set CheckState
                            if (tsmi.Name == node.Name + "ToolStripMenuItem")
                            {
                                // Load from file
                                tsmi.CheckState = (node.InnerXml == "Checked" ? CheckState.Checked : CheckState.Unchecked);
                            }
                        }
                    }
                }


                // Coordinates
                if (saveCoordinatesToolStripMenuItem.Checked)
                {
                    // Process
                    foreach (XPathNavigator section in navigator.Select("/LastXSplits/Coordinates"))
                    {
                        foreach (XPathNavigator subsection in section.SelectChildren(XPathNodeType.All))
                        {
                            // Process forms
                            foreach (Form frm in Application.OpenForms)
                            {
                                // Match
                                if (frm.Name == subsection.Name)
                                {
                                    // Set X,Y
                                    foreach (XPathNavigator node in subsection.SelectChildren(XPathNodeType.All))
                                    {
                                        // X
                                        if (node.Name == "x")
                                        {
                                            frm.Left = Convert.ToInt32(node.InnerXml);
                                        }


                                        // Y
                                        if (node.Name == "y")
                                        {
                                            frm.Top = Convert.ToInt32(node.InnerXml);
                                        }
                                    }
                                }
                            }
                        }
                    }
                }


                // Last X value
                if (saveXToolStripMenuItem.Checked)
                {
                    // Set X
                    nudX.Value = Convert.ToInt32(navigator.SelectSingleNode("/LastXSplits/LastX/X").InnerXml);
                }
            }
            else
            {
                // Default options check state
                topmostToolStripMenuItem.Checked = true;
                saveCoordinatesToolStripMenuItem.Checked = true;
                saveXToolStripMenuItem.Checked = true;


                // Default "X"
                nudX.Value = 18;
            }
        }


        /// <summary>
        /// MouseEnter handler
        /// </summary>
        private void PictureBox_MouseEnter(object sender, System.EventArgs e)
        {
            // Show alpha-blended image
            ((PictureBox)sender).BackgroundImage = Properties.Resources.yellow_highlight_alpha_38x47;
        }


        /// <summary>
        /// MouseLeave handler
        /// </summary>
        private void PictureBox_MouseLeave(object sender, System.EventArgs e)
        {
            // Remove image
            ((PictureBox)sender).BackgroundImage = null;
        }


        /// <summary>
        /// MouseDown Handler
        /// </summary>
        private void PictureBox_MouseDown(object sender, MouseEventArgs e)
        {
            // Check for left button
            if (e.Button == System.Windows.Forms.MouseButtons.Left)
            {
                // Change cursor to hand
                ((PictureBox)sender).Cursor = Cursors.Hand;


                // Show blue alpha-blended image
                ((PictureBox)sender).BackgroundImage = Properties.Resources.blue_highlight_alpha_38x47;
            }
        }


        /// <summary>
        /// MouseUp Handler
        /// </summary>
        private void PictureBox_MouseUp(object sender, MouseEventArgs e)
        {
            // Show yellow alpha-blended image
            ((PictureBox)sender).BackgroundImage = Properties.Resources.yellow_highlight_alpha_38x47;


            // Change cursor back
            ((PictureBox)sender).Cursor = Cursors.Default;
        }


        /// <summary>
        /// MouseClick handler
        /// </summary>
        private void PictureBox_MouseClick(object sender, MouseEventArgs e)
        {
            /* Right click = UNDO */


            if (e.Button == System.Windows.Forms.MouseButtons.Right)
            {
                // Check there's history
                if (history.Count > 0)
                {
                    // Pop last one
                    history.Pop();


                    // Remove from history ListBox
                    lbHistory.Items.RemoveAt(0);
                }


                // Disable if no history
                if (history.Count == 0)
                {
                    // Disable
                    disable();
                }


                // Update
                update();


                // Halt flow
                return;
            }


            // Check sender
            if (!(sender is PictureBox))
            {
                // Halt flow too
                return;
            }


            /* Left click = add to history */


            // Snip number
            int number = Convert.ToInt32(((PictureBox)sender).Name.ToString().Substring(2));


            // Push onto history stack
            history.Push(number);


            // Add to history ListBox
            lbHistory.Items.Insert(0, number);


            // Enable on first item
            if (history.Count == 1)
            {
                enable();
            }


            // Disable redo if manual input
            if (redo.Count > 0 && e.Delta != 1)
            {
                // Reset stack
                redo.Clear();
               
                // Disable
                redoToolStripMenuItem.Enabled = false;
            }


            // Update
            update();
        }


        /// <summary>
        /// Disable MenuItem group
        /// </summary>
        private void disable()
        {
            // Disable undo
            undoToolStripMenuItem.Enabled = false;


            // Disable new
            newToolStripMenuItem.Enabled = false;


            // Disable save spins
            saveToolStripMenuItem.Enabled = false;
        }


        /// <summary>
        /// Enable MenuItem group
        /// </summary>
        private void enable()
        {
            // Enable undo
            undoToolStripMenuItem.Enabled = true;


            // Enable new
            newToolStripMenuItem.Enabled = true;


            // Enable save spins
            saveToolStripMenuItem.Enabled = true;
        }


        /// <summary>
        /// Update procedure
        /// </summary>
        private void update()
        {
            // Set dictionary of int, List<Split>
            Dictionary<int, List<Split>> SpD = new Dictionary<int, List<Split>>();


            // Reset every split counter
            foreach (Split sp in Splits)
            {
                // Zero it
                sp.count = 0;
            }


            // Set a count for iterations
            int iteration = 0;


            // Update X times
            foreach (int currentNumber in history)
            {
                // Rise iteration count
                ++iteration;


                // Update Splits list count
                foreach (Split sp in Splits)
                {
                    // If number in split matches input one
                    if (sp.n1 == currentNumber || sp.n2 == currentNumber)
                    {
                        // Rise one in .count
                        sp.count += 1;
                    }
                }


                // Check if must halt
                if (iteration == nudX.Value)
                {
                    // Time to break
                    break;
                }
            }


            // Set dictionary values
            foreach (Split sp in Splits)
            {
                // Account (or not) for unhit splits
                if (sp.count == 0 && !showUnhitSplitsToolStripMenuItem.Checked)
                {
                    // Unchecked, skip iteration
                    continue;
                }


                // Create dictionary entry if not present
                if (!SpD.ContainsKey(sp.count))
                {
                    // Add new list
                    SpD.Add(sp.count, new List<Split>() { sp });
                }
                else
                {
                    // Add split to index
                    SpD[sp.count].Add(sp);
                }
            }


            // Clear counter
            Counter.Clear();


            // Declare new int list
            List<int> intList = new List<int>();


            // Populate with dictionary keys
            foreach (KeyValuePair<int, List<Split>> kvp in SpD)
            {
                // Add key to list
                intList.Add(kvp.Key);
            }


            // Sort list
            intList.Sort();


            // Sync counter with dictionary using list
            for (int i = 0; i < intList.Count; ++i)
            {
                // Add to Counter
                Counter.Add(new SplitCount(intList[i], SpD[intList[i]]));
            }


            // Update status strip count
            tsslHistory.Text = history.Count.ToString();
        }


        /// <summary>
        /// Launch website in default browser
        /// </summary>
        private void websiteToolStripMenuItem_Click(object sender, EventArgs e)
        {
            // Open web
            LaunchSite();
        }


        /// <summary>
        /// Open website in default browser
        /// </summary>
        private void LaunchSite()
        {
            // Launch BetSelection.cc
            System.Diagnostics.Process.Start("http://betselection.cc");
        }


        /// <summary>
        /// Show about box
        /// </summary>
        private void aboutToolStripMenuItem_Click(object sender, EventArgs e)
        {
            // Message
            MessageBox.Show("Sponsored by WannaWin for the BetSelection.cc community." + Environment.NewLine + Environment.NewLine + "Coded by: Victor/VLS" + Environment.NewLine + Environment.NewLine + "Point your browser to [url=http://www.BetSelection.cc]www.BetSelection.cc[/url] for more releases!" + Environment.NewLine + Environment.NewLine + "(Dec. 2012)", "About Last X Splits", MessageBoxButtons.OK, MessageBoxIcon.Information, MessageBoxDefaultButton.Button1);
        }


        /// <summary>
        /// Account for unhit splits
        /// </summary>
        private void showUnhitSplitsToolStripMenuItem_Click(object sender, EventArgs e)
        {
            // Reverse checked status
            showUnhitSplitsToolStripMenuItem.Checked = !showUnhitSplitsToolStripMenuItem.Checked;


            // Perform an update
            update();
        }


        /// <summary>
        /// Act upon change of X
        /// </summary>
        private void nudX_ValueChanged(object sender, EventArgs e)
        {
            // Trigger update
            update();
        }


        /// <summary>
        /// Launch website when form is closed
        /// </summary>
        private void Form1_FormClosed(object sender, FormClosedEventArgs e)
        {
            // Open web
            LaunchSite();
        }


        /// <summary>
        /// Save XMl file right before closing
        /// </summary>
        private void Form1_FormClosing(object sender, FormClosingEventArgs e)
        {
            // Check for confirmation
            if (confirmOnExitToolStripMenuItem.Checked)
            {
                // Prompt user
                if (MessageBox.Show("Exit the program now?", "Confirm", MessageBoxButtons.YesNo, MessageBoxIcon.Question, MessageBoxDefaultButton.Button2) == DialogResult.No)
                {
                    // Cancel form close
                    e.Cancel = true;


                    // Exit procedure
                    return;
                }
            }


            // Instantiate XmlTextWriter
            XmlTextWriter writer = new XmlTextWriter(xmlFile, null);


            // Set formatting
            writer.Formatting = Formatting.Indented;
            writer.Indentation = 4;


            // Document start
            writer.WriteStartDocument();


            // Root start
            writer.WriteStartElement("LastXSplits");


            // Options start
            writer.WriteStartElement("Options");


            // Write options
            foreach (ToolStripMenuItem tsmi in optionsToolStripMenuItem.DropDownItems)
            {
                // Save checked status
                writer.WriteElementString(tsmi.Name.Replace("ToolStripMenuItem", ""), tsmi.CheckState.ToString());
            }


            // Options end
            writer.WriteEndElement();


            // Coordinates start
            writer.WriteStartElement("Coordinates");


            // Iterate through forms
            foreach (Form frm in Application.OpenForms)
            {
                // Current form start
                writer.WriteStartElement(frm.Name);


                // Save coordinates
                writer.WriteElementString("x", frm.Left.ToString());
                writer.WriteElementString("y", frm.Top.ToString());


                // Current form end
                writer.WriteEndElement();
            }


            // Coordinates end
            writer.WriteEndElement();


            // LastX start
            writer.WriteStartElement("LastX");


            // X value
            writer.WriteElementString("X", nudX.Value.ToString());


            // LastX end
            writer.WriteEndElement();


            // Root start
            writer.WriteEndElement();


            // Document end
            writer.WriteEndDocument();


            // Close writer
            writer.Close();
        }


        /// <summary>
        /// TopMost for all forms
        /// </summary>
        private void topmostToolStripMenuItem_Click(object sender, EventArgs e)
        {
            // Reverse checked
            topmostToolStripMenuItem.Checked = !topmostToolStripMenuItem.Checked;


            // Set TopMost in forms
            this.TopMost = topmostToolStripMenuItem.Checked;
            fCount.TopMost = topmostToolStripMenuItem.Checked;
            fHistory.TopMost = topmostToolStripMenuItem.Checked;
        }


        /// <summary>
        /// Exit program by file menu
        /// </summary>
        private void exitToolStripMenuItem_Click(object sender, EventArgs e)
        {
            // Close main form
            this.Close();
        }


        /// <summary>
        /// Toggles flag for saving coordinates
        /// </summary>
        private void saveCoordinatesToolStripMenuItem_Click(object sender, EventArgs e)
        {
            // Reverse
            saveCoordinatesToolStripMenuItem.Checked = !saveCoordinatesToolStripMenuItem.Checked;
        }


        /// <summary>
        /// Toggles flag for saving X
        /// </summary>
        private void saveXToolStripMenuItem_Click(object sender, EventArgs e)
        {
            // Reverse
            saveXToolStripMenuItem.Checked = !saveXToolStripMenuItem.Checked;
        }


        /// <summary>
        /// Undo by menu
        /// </summary>
        private void undoToolStripMenuItem_Click(object sender, EventArgs e)
        {
            // Add to undo stack
            redo.Push(history.Peek());


            // Trigger MouseClick
            PictureBox_MouseClick(sender, new MouseEventArgs(System.Windows.Forms.MouseButtons.Right, 1, 0, 0, 0));


            // Check redo menu state
            if (redoToolStripMenuItem.Enabled == false)
            {
                // Activate
                redoToolStripMenuItem.Enabled = true;
            }
        }


        /// <summary>
        /// Exit confirmation flag
        /// </summary>
        private void confirmOnExitToolStripMenuItem_Click(object sender, EventArgs e)
        {
            // Reverse
            confirmOnExitToolStripMenuItem.Checked = !confirmOnExitToolStripMenuItem.Checked;
        }


        /// <summary>
        /// Start new session by menu
        /// </summary>
        private void newToolStripMenuItem_Click(object sender, EventArgs e)
        {
            // Reset history
            history.Clear();


            // Reset history listbox
            lbHistory.Items.Clear();


            // Perform an update
            update();


            // Disable menu items
            disable();
        }


        /// <summary>
        /// Save history sipns
        /// </summary>
        private void saveToolStripMenuItem_Click(object sender, EventArgs e)
        {
            // Check there's something to save
            if (history.Count > 0)
            {
                // Instantiate SaveFileDialog
                SaveFileDialog sfd = new SaveFileDialog();


                // Set properties
                sfd.Filter = "Text Files|*.txt|All Files|*.*";
                sfd.Title = "Save an Image File";
               
                // Display dialog
                sfd.ShowDialog();


                // If there's a file
                if (sfd.FileName != "")
                {
                    // Stack enumerator
                    IEnumerator en = history.GetEnumerator();


                    // StringBuilder
                    StringBuilder sb = new StringBuilder();


                    // Transverse stack
                    while(en.MoveNext())
                    {
                        // Insert current with NewLine (for speed)
                        sb.Insert(0, en.Current.ToString() + Environment.NewLine);
                    }


                    // Remove last NewLine
                    sb.Remove(sb.ToString().LastIndexOf(Environment.NewLine), Environment.NewLine.Length);
                   
                    // Dump StringBuilder to file
                    File.WriteAllText(sfd.FileName, sb.ToString());
                }
            }
        }


        /// <summary>
        /// Redo menu
        /// </summary>
        private void redoToolStripMenuItem_Click(object sender, EventArgs e)
        {
            // Perform click on last
            foreach (PictureBox pb in pbG)
            {
                // Check if names match
                if (redo.Peek() == Convert.ToInt32(pb.Name.Remove(0, 2)))
                {
                    // Match
                    PictureBox_MouseClick(pb, new MouseEventArgs(System.Windows.Forms.MouseButtons.Left, 1, 0, 0, 1));


                    // Break for
                    break;
                }
            }


            // Pop last item
            redo.Pop();
           
            // Check for items
            if (redo.Count == 0)
            {
                // Disable
                redoToolStripMenuItem.Enabled = false;
            }
        }
    }


    /// <summary>
    /// Split class
    /// </summary>
    public class Split
    {
        // Count, First and second splits
        public int count, n1, n2;


        // Overloaded constructor
        public Split(int first, int second)
        {
            // Set first number
            n1 = first;


            // Set second number
            n2 = second;
        }
    }


    /// <summary>
    /// SplitCount Class
    /// </summary>
    public class SplitCount
    {
        // Shows
        public int _shows;


        // Splits
        public List<Split> _splits;


        /// <summary>
        /// Overloaded constructor
        /// </summary>
        /// <param name="shows">int for shows</param>
        /// <param name="splits">List of Split</param>
        public SplitCount(int shows, List<Split> splits)
        {
            _shows = shows;
            _splits = splits;
        }


        /// <summary>
        /// Shows property
        /// </summary>
        public int Shows
        {
            get { return _shows; }
            set { _shows = value; }
        }


        /// <summary>
        /// Splits property
        /// </summary>
        public string Splits
        {
            get
            {
                // Splits string
                string splits = "";


                // Populate splits string
                foreach (Split sp in _splits)
                {
                    // First number + second number + comma and space (added after every split for speed)
                    splits += sp.n1 + "-" + sp.n2 + ", ";
                }


                // Strip last comma and space
                splits = splits.Substring(0, splits.Length - 2);


                // Return processed string
                return splits;
            }
        }
    }
}
#1335
Archive / Re: [DEV] LastXSplits Release Candidate preview
December 26, 2012, 06:52:26 PM
It tracks last splits in a windows of "X" spins...

Last "X" splits  :)

This is superseeded by first release candidate:

http://betselection.cc/development/(rc)-lastxsplits-release-candidate-1/