예제 #1
0
        private void mining_calc(object sender, RoutedEventArgs e)
        {
            MiningCalc miningCalc = new MiningCalc();

            miningCalc.Owner = this;
            if (MiningCalc.WindowOpened && MiningSpace.WindowOpened && OptionWindow.WindowOpened && TaskWindow.WindowOpened)
            {
                miningCalc.Show();
                MiningCalc.WindowOpened = false;
            }
        }
예제 #2
0
 public static void Theme3_action_calcwindow(MiningCalc w)
 {
     w.cryptobutton1.Background    = Brushes.Tomato;
     w.cryptobutton2.Background    = Brushes.Tomato;
     w.cryptobutton3.Background    = Brushes.Tomato;
     w.cryptobutton4.Background    = Brushes.Tomato;
     w.cryptobutton1.Foreground    = Brushes.White;
     w.cryptobutton2.Foreground    = Brushes.White;
     w.cryptobutton3.Foreground    = Brushes.White;
     w.cryptobutton4.Foreground    = Brushes.White;
     w.LeftStackpanel.Background   = Brushes.PeachPuff;
     w.RightStackpanel.Background  = Brushes.LightSalmon;
     w.choosencoin.Foreground      = Brushes.White;
     w.hashratetext.Foreground     = Brushes.White;
     w.wattstext.Foreground        = Brushes.White;
     w.cost_kwh_text.Foreground    = Brushes.White;
     w.fee_text.Foreground         = Brushes.White;
     w.calcbtn.Foreground          = Brushes.White;
     w.hashrate.Foreground         = Brushes.White;
     w.watts.Foreground            = Brushes.White;
     w.cost_kwh.Foreground         = Brushes.White;
     w.fee.Foreground              = Brushes.White;
     w.CalcWindow.WindowTitleBrush = Brushes.Firebrick;
     w.calcbtn.Background          = Brushes.Tomato;
     w.hashrate.Background         = Brushes.Tomato;
     w.watts.Background            = Brushes.Tomato;
     w.cost_kwh.Background         = Brushes.Tomato;
     w.fee.Background              = Brushes.Tomato;
     w.day.Foreground              = Brushes.White;
     w.dayprofit.Foreground        = Brushes.White;
     w.minedday.Foreground         = Brushes.White;
     w.powercostday.Foreground     = Brushes.White;
     w.week.Foreground             = Brushes.White;
     w.profitweek.Foreground       = Brushes.White;
     w.minedweek.Foreground        = Brushes.White;
     w.powercostweek.Foreground    = Brushes.White;
     w.month.Foreground            = Brushes.White;
     w.profitmonth.Foreground      = Brushes.White;
     w.minedmonth.Foreground       = Brushes.White;
     w.powercostmonth.Foreground   = Brushes.White;
 }
예제 #3
0
 public static void Theme4_action_calcwindow(MiningCalc w)
 {
     w.cryptobutton1.Background    = Brushes.DarkSlateGray;
     w.cryptobutton2.Background    = Brushes.DarkSlateGray;
     w.cryptobutton3.Background    = Brushes.DarkSlateGray;
     w.cryptobutton4.Background    = Brushes.DarkSlateGray;
     w.cryptobutton1.Foreground    = Brushes.White;
     w.cryptobutton2.Foreground    = Brushes.White;
     w.cryptobutton3.Foreground    = Brushes.White;
     w.cryptobutton4.Foreground    = Brushes.White;
     w.LeftStackpanel.Background   = Brushes.SlateGray;
     w.RightStackpanel.Background  = Brushes.DarkSlateGray;
     w.choosencoin.Foreground      = Brushes.White;
     w.hashratetext.Foreground     = Brushes.White;
     w.wattstext.Foreground        = Brushes.White;
     w.cost_kwh_text.Foreground    = Brushes.White;
     w.fee_text.Foreground         = Brushes.White;
     w.calcbtn.Foreground          = Brushes.White;
     w.hashrate.Foreground         = Brushes.White;
     w.watts.Foreground            = Brushes.White;
     w.cost_kwh.Foreground         = Brushes.White;
     w.fee.Foreground              = Brushes.White;
     w.CalcWindow.WindowTitleBrush = Brushes.MidnightBlue;
     w.calcbtn.Background          = Brushes.SlateGray;
     w.hashrate.Background         = Brushes.SlateGray;
     w.watts.Background            = Brushes.SlateGray;
     w.cost_kwh.Background         = Brushes.SlateGray;
     w.fee.Background              = Brushes.SlateGray;
     w.day.Foreground              = Brushes.White;
     w.dayprofit.Foreground        = Brushes.White;
     w.minedday.Foreground         = Brushes.White;
     w.powercostday.Foreground     = Brushes.White;
     w.week.Foreground             = Brushes.White;
     w.profitweek.Foreground       = Brushes.White;
     w.minedweek.Foreground        = Brushes.White;
     w.powercostweek.Foreground    = Brushes.White;
     w.month.Foreground            = Brushes.White;
     w.profitmonth.Foreground      = Brushes.White;
     w.minedmonth.Foreground       = Brushes.White;
     w.powercostmonth.Foreground   = Brushes.White;
 }
예제 #4
0
 public static void Theme2_action_calcwindow(MiningCalc w)
 {
     w.cryptobutton1.Background    = Brushes.LightGreen;
     w.cryptobutton2.Background    = Brushes.LightGreen;
     w.cryptobutton3.Background    = Brushes.LightGreen;
     w.cryptobutton4.Background    = Brushes.LightGreen;
     w.cryptobutton1.Foreground    = Brushes.Black;
     w.cryptobutton2.Foreground    = Brushes.Black;
     w.cryptobutton3.Foreground    = Brushes.Black;
     w.cryptobutton4.Foreground    = Brushes.Black;
     w.LeftStackpanel.Background   = Brushes.LemonChiffon;
     w.RightStackpanel.Background  = Brushes.PaleGoldenrod;
     w.choosencoin.Foreground      = Brushes.Black;
     w.hashratetext.Foreground     = Brushes.Black;
     w.wattstext.Foreground        = Brushes.Black;
     w.cost_kwh_text.Foreground    = Brushes.Black;
     w.fee_text.Foreground         = Brushes.Black;
     w.calcbtn.Foreground          = Brushes.Black;
     w.hashrate.Foreground         = Brushes.Black;
     w.watts.Foreground            = Brushes.Black;
     w.cost_kwh.Foreground         = Brushes.Black;
     w.fee.Foreground              = Brushes.Black;
     w.CalcWindow.WindowTitleBrush = Brushes.OliveDrab;
     w.calcbtn.Background          = Brushes.LightGreen;
     w.hashrate.Background         = Brushes.LightGreen;
     w.watts.Background            = Brushes.LightGreen;
     w.cost_kwh.Background         = Brushes.LightGreen;
     w.fee.Background              = Brushes.LightGreen;
     w.day.Foreground              = Brushes.Black;
     w.dayprofit.Foreground        = Brushes.Black;
     w.minedday.Foreground         = Brushes.Black;
     w.powercostday.Foreground     = Brushes.Black;
     w.week.Foreground             = Brushes.Black;
     w.profitweek.Foreground       = Brushes.Black;
     w.minedweek.Foreground        = Brushes.Black;
     w.powercostweek.Foreground    = Brushes.Black;
     w.month.Foreground            = Brushes.Black;
     w.profitmonth.Foreground      = Brushes.Black;
     w.minedmonth.Foreground       = Brushes.Black;
     w.powercostmonth.Foreground   = Brushes.Black;
 }
예제 #5
0
 public static void Language4_action_miningcalc(MiningCalc w)
 {
     langtmp              = "您选择的硬币: ";
     langtmp_calc1        = "每日利润 = ";
     langtmp_calc2        = "开采/天 = ";
     langtmp_calc3        = "电费/日 = ";
     langtmp_calc4        = "每周利润 = ";
     langtmp_calc5        = "开采/周 =";
     langtmp_calc6        = "电力成本/周 = ";
     langtmp_calc7        = "每月利润 = ";
     langtmp_calc8        = "开采/月 =";
     langtmp_calc9        = "电力成本/月 =";
     langtmp_calc10       = "哈希率 ";
     w.wattstext.Text     = "瓦特的耗电量:";
     w.cost_kwh_text.Text = "耗电量 $/kWh:";
     w.fee_text.Text      = "泳池费用%:";
     w.calcbtn.Content    = "计算";
     w.CalcWindow.Title   = "挖掘盈利能力计算器";
     w.day.Text           = "天";
     w.week.Text          = "周";
     w.month.Text         = "月";
 }
예제 #6
0
 public static void Language3_action_miningcalc(MiningCalc w)
 {
     langtmp              = "Ihre Wahl der Münze: ";
     langtmp_calc1        = "Gewinn pro Tag = ";
     langtmp_calc2        = "Abgebaut / Tag = ";
     langtmp_calc3        = "Stromkosten / Tag = ";
     langtmp_calc4        = "Gewinn pro Woche = ";
     langtmp_calc5        = "Abgebaut / Woche = ";
     langtmp_calc6        = "Stromkosten / Woche = ";
     langtmp_calc7        = "Gewinn pro Monat = ";
     langtmp_calc8        = "Abgebaut / Monat = ";
     langtmp_calc9        = "Stromkosten / Monat = ";
     langtmp_calc10       = "Hashrate im ";
     w.wattstext.Text     = "Stromverbrauch in Watt:";
     w.cost_kwh_text.Text = "Kosten Strom in $/kWh:";
     w.fee_text.Text      = "Poolgebühr in %:";
     w.calcbtn.Content    = "Berechnung";
     w.CalcWindow.Title   = "Mining-Rentabilitätsrechner";
     w.day.Text           = "Tag";
     w.week.Text          = "Woche";
     w.month.Text         = "Monat";
 }
예제 #7
0
 public static void Language2_action_miningcalc(MiningCalc w)
 {
     langtmp              = "Ваш выбор монеты: ";
     langtmp_calc1        = "Прибыль в день = ";
     langtmp_calc2        = "Добыто/День = ";
     langtmp_calc3        = "Стоимость энергии/День = ";
     langtmp_calc4        = "Прибыль в неделю = ";
     langtmp_calc5        = "Добыто/Неделя = ";
     langtmp_calc6        = "Стоимость энергии/Неделя = ";
     langtmp_calc7        = "Прибыль в месяц = ";
     langtmp_calc8        = "Добыто/Месяц = ";
     langtmp_calc9        = "Стоимость энергии/Месяц = ";
     langtmp_calc10       = "Хэшрейт в ";
     w.wattstext.Text     = "Укажите потребление в Ваттах:";
     w.cost_kwh_text.Text = "Стоимость энергии в $/Квт:";
     w.fee_text.Text      = "Комиссия пула в %:";
     w.calcbtn.Content    = "Подсчитать";
     w.CalcWindow.Title   = "Калькулятор доходности майнинга";
     w.day.Text           = "День";
     w.week.Text          = "Неделя";
     w.month.Text         = "Месяц";
 }
예제 #8
0
 public static void Language1_action_miningcalc(MiningCalc w)
 {
     langtmp              = "Your choice of coin: ";
     langtmp_calc1        = "Profit per day = ";
     langtmp_calc2        = "Mined/Day = ";
     langtmp_calc3        = "Power cost/Day = ";
     langtmp_calc4        = "Profit per week = ";
     langtmp_calc5        = "Mined/Week = ";
     langtmp_calc6        = "Power cost/Week = ";
     langtmp_calc7        = "Profit per month = ";
     langtmp_calc8        = "Mined/Month = ";
     langtmp_calc9        = "Power cost/Month = ";
     langtmp_calc10       = "Hash rate in ";
     w.wattstext.Text     = "Electricity consumption in Watts:";
     w.cost_kwh_text.Text = "Cost electricity in $/kWh:";
     w.fee_text.Text      = "Pool fee in %:";
     w.calcbtn.Content    = "Calculate";
     w.CalcWindow.Title   = "Mining profitability calculator";
     w.day.Text           = "Day";
     w.week.Text          = "Week";
     w.month.Text         = "Month";
 }