Esempio 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();
        }
Esempio 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();
        }