亮度应用 [英] Brightness App

查看:73
本文介绍了亮度应用的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在寻找一个应用程序,我可以将亮度降低到低于"低"的应用程序。设置中的级别>亮度。

Hi, I'm looking to create an application in which i can lower the brightness below the "Low" level in Settings>Brightness.

此应用程序有一个滑块,当您用手指滑动时,亮度会越来越低(低于最低"低")。我正在使用Microsoft Expression Blend 4,我不知道如何让它改变亮度

This application has a slider in which when you slide it with your finger, the brightness gets lower and lower (below the minimum "low"). I am using Microsoft Expression Blend 4 and i dont know how to make it change the brightness

请帮忙!尽快回答

谢谢

推荐答案

我忘了提及,我是一个菜鸟这是因为我刚学会了c ++。我已经使用过GreenFoot和CodeBlocks

i forgot to mention, im sort of a noob at this as i have just learned c++. I've used GreenFoot and CodeBlocks

这里是我到目前为止的代码,但它没有做任何事情

here is the code i have so far but it doesnt do anything

命名空间TestAPP

{

    public partial class MainPage:PhoneApplicationPage

    {

        

         public MainPage()

        {

            InitializeComponent();

        }¥b $ b        
$


        private void onValChange(object sender,System.Windows.RoutedPropertyChangedEventArgs< double> e)

        {

   &NBSP;&NBSP;&NBSP; &NBSP;&NBSP;&NBSP;  双倍亮度;

   &NBSP;&NBSP;&NBSP; &NBSP;&NBSP;&NBSP;  亮度= 0;

   &NBSP;&NBSP;&NBSP; &NBSP;&NBSP;&NBSP;   brightness ++;

   &NBSP;&NBSP;&NBSP; &NBSP;&NBSP;&NBSP;  

       &NBSP;&NBSP;&NBSP;  

        }
    }
}

namespace TestAPP
{
    public partial class MainPage : PhoneApplicationPage
    {
        
        public MainPage()
        {
            InitializeComponent();
        }
        

        private void onValChange(object sender, System.Windows.RoutedPropertyChangedEventArgs<double> e)
        {
            double brightness;
            brightness=0;
            brightness++;
            
            
        }
    }
}


这篇关于亮度应用的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆