Exemplo n.º 1
0
        public void OpenWindow_3Way()
        {
            DefautlVariables DVar = new DefautlVariables();

            DVar.Stake    = FootballHedge.Properties.Settings.Default.DefaultStake;
            DVar.Opacity  = FootballHedge.Properties.Settings.Default.Transparency;
            DVar.ComBf    = 6.5;
            DVar.ComBook  = 1;
            DVar.BGBrush1 = new SolidColorBrush(Colors.LightGray);
            DVar.BGBrush2 = new SolidColorBrush(Colors.LightBlue);
            _3Way win = new _3Way(DVar);

            win.Show();
        }
Exemplo n.º 2
0
        private void Open3WayCalc()
        {
            DefautlVariables DVar = new DefautlVariables();

            DVar.Stake   = BetCalc.Properties.Settings.Default.DefaultStake;
            DVar.Opacity = BetCalc.Properties.Settings.Default.Transparency;
            DVar.ComBf   = BetCalc.Properties.Settings.Default.CommBf;
            DVar.ComBook = BetCalc.Properties.Settings.Default.CommBook;
            System.Drawing.Color color = BetCalc.Properties.Settings.Default.Color1;
            DVar.BGBrush1 = new SolidColorBrush(System.Windows.Media.Color.FromRgb(color.R, color.G, color.B));
            color         = BetCalc.Properties.Settings.Default.Color2;
            DVar.BGBrush2 = new SolidColorBrush(System.Windows.Media.Color.FromRgb(color.R, color.G, color.B));
            _3Way win = new _3Way(DVar);

            win.Show();
        }
Exemplo n.º 3
0
        public void OpenWindow_FreeBet(bool state, double koef1 = 2, double koef2 = 2)
        {
            DefautlVariables DVar = new DefautlVariables();

            DVar.State    = true;
            DVar.Stake    = FootballHedge.Properties.Settings.Default.DefaultStake;
            DVar.Opacity  = FootballHedge.Properties.Settings.Default.Transparency;
            DVar.ComBf    = 6.5;
            DVar.ComBook  = 1;
            DVar.BGBrush1 = new SolidColorBrush(Colors.LightGray);
            DVar.BGBrush2 = new SolidColorBrush(Colors.LightBlue);

            FreeBet win = new FreeBet(DVar);

            win.Show();
        }