Exemple #1
0
        public static void Language4_action_advwindow(AdvancedOptionWindow w)
        {
            w.AdvancedOptionWindowName.Title = "高级选项窗口";
            w.collertext.Text = "视频卡冷却器的旋转速度";

            w.cptext.Text   = "限制负载";
            w.advtext.Text  = "其他设置";
            w.save.Content  = "保存";
            w.reset.Content = "重新设置";
        }
Exemple #2
0
        public static void Language3_action_advwindow(AdvancedOptionWindow w)
        {
            w.AdvancedOptionWindowName.Title = "Erweitertes Optionen-Fenster";
            w.collertext.Text = "Rotationsgeschwindigkeit von Kühlern einer Grafikkarte";

            w.cptext.Text   = "Begrenzung der Last";
            w.advtext.Text  = "Zusätzliche Einstellungen";
            w.save.Content  = "Sparen";
            w.reset.Content = "Einstellungen zurücksetzen";
        }
Exemple #3
0
        public static void Language2_action_advwindow(AdvancedOptionWindow w)
        {
            w.AdvancedOptionWindowName.Title = "Окно дополнительных настроек";
            w.collertext.Text = "Скорость вращения кулеров видеокарты";

            w.cptext.Text   = "Ограничение нагрузки";
            w.advtext.Text  = "Дополнительные настройки";
            w.save.Content  = "Сохранить";
            w.reset.Content = "Сбросить настройки";
        }
Exemple #4
0
        //adv window option
        public static void Language1_action_advwindow(AdvancedOptionWindow w)
        {
            w.AdvancedOptionWindowName.Title = "Advanced options window";
            w.collertext.Text = "Speed of rotation of coolers of a video card";

            w.cptext.Text   = "Limiting the load";
            w.advtext.Text  = "Additional settings";
            w.save.Content  = "Save";
            w.reset.Content = "Reset settings";
        }
        private void advanceoption_button_Click(object sender, RoutedEventArgs e)
        {
            AdvancedOptionWindow advancedOptionWindow = new AdvancedOptionWindow();

            advancedOptionWindow.Owner = this;
            if (AdvancedOptionWindow.WindowOpened)
            {
                advancedOptionWindow.Show();
                AdvancedOptionWindow.WindowOpened = false;
            }
        }
        public static void Theme4_action_advwindow(AdvancedOptionWindow w)
        {
            w.AdvancedOptionWindowName.WindowTitleBrush = Brushes.MidnightBlue;
            w.collertext.Foreground = Brushes.White;

            w.cptext.Foreground     = Brushes.White;
            w.advtext.Foreground    = Brushes.White;
            w.advtextbox.Background = Brushes.SlateGray;
            w.advtextbox.Foreground = Brushes.White;
            w.cooler.Foreground     = Brushes.White;
            w.cp.Foreground         = Brushes.White;

            w.save.Background           = Brushes.Green;
            w.reset.Background          = Brushes.Blue;
            w.mainstackpanel.Background = Brushes.DarkSlateGray;
            w.save.Foreground           = Brushes.White;
            w.reset.Foreground          = Brushes.White;
        }
        public static void Theme3_action_advwindow(AdvancedOptionWindow w)
        {
            w.AdvancedOptionWindowName.WindowTitleBrush = Brushes.Firebrick;
            w.collertext.Foreground = Brushes.Black;

            w.cptext.Foreground     = Brushes.Black;
            w.advtext.Foreground    = Brushes.Black;
            w.advtextbox.Background = Brushes.LightSalmon;
            w.advtextbox.Foreground = Brushes.Black;
            w.cooler.Foreground     = Brushes.Black;
            w.cp.Foreground         = Brushes.Black;

            w.save.Background           = Brushes.LightGreen;
            w.reset.Background          = Brushes.LightBlue;
            w.mainstackpanel.Background = Brushes.PeachPuff;
            w.save.Foreground           = Brushes.Black;
            w.reset.Foreground          = Brushes.Black;
        }
        //AdvancedOptionWindow
        public static void Theme1_action_advwindow(AdvancedOptionWindow w)
        {
            w.AdvancedOptionWindowName.WindowTitleBrush = Brushes.DeepSkyBlue;
            w.collertext.Foreground = Brushes.Black;

            w.cptext.Foreground     = Brushes.Black;
            w.advtext.Foreground    = Brushes.Black;
            w.advtextbox.Background = Brushes.White;
            w.advtextbox.Foreground = Brushes.Black;
            w.cooler.Foreground     = Brushes.Black;
            w.cp.Foreground         = Brushes.Black;

            w.save.Background           = Brushes.LightGreen;
            w.reset.Background          = Brushes.LightBlue;
            w.mainstackpanel.Background = Brushes.White;
            w.save.Foreground           = Brushes.Black;
            w.reset.Foreground          = Brushes.Black;
        }
        public static void Theme2_action_advwindow(AdvancedOptionWindow w)
        {
            w.AdvancedOptionWindowName.WindowTitleBrush = Brushes.OliveDrab;
            w.collertext.Foreground = Brushes.Black;

            w.cptext.Foreground       = Brushes.Black;
            w.FirstSlider.BorderBrush = Brushes.LightGreen;
            w.advtext.Foreground      = Brushes.Black;
            w.advtextbox.Background   = Brushes.LightGreen;
            w.advtextbox.Foreground   = Brushes.Black;
            w.cooler.Foreground       = Brushes.Black;
            w.cp.Foreground           = Brushes.Black;

            w.save.Background           = Brushes.Green;
            w.reset.Background          = Brushes.LightBlue;
            w.mainstackpanel.Background = Brushes.LemonChiffon;
            w.save.Foreground           = Brushes.Black;
            w.reset.Foreground          = Brushes.Black;
        }
Exemple #10
0
        public static void Dbaction_action_advoption(AdvancedOptionWindow w, int value1, int value2, string str)
        {
            try
            {
                connection.Open();
            }
            catch (Exception ex)
            {
            }
            if (currentchoose != 0)
            {
                if (currentchoose == 1)
                {
                    SQLiteCommand command1 = new SQLiteCommand("UPDATE Options SET AdvancedOption = '-tt -" + value1 + " -li " + value2 + " " + str + "" + "' WHERE ID = " + currentchoose, connection);
                }
                else
                {
                    SQLiteCommand command1 = new SQLiteCommand("UPDATE Options SET AdvancedOption = '" + str + "' WHERE ID = " + currentchoose, connection);
                }
            }

            connection.Close();
        }