Example #1
0
        public ScpForm()
        {
            InitializeComponent();
            ThemeUtil.SetTheme(lvDebug);

            Pad[0] = rbPad_1;
            Pad[1] = rbPad_2;
            Pad[2] = rbPad_3;
            Pad[3] = rbPad_4;
        }
Example #2
0
        public ScpForm()
        {
            InitializeComponent();

            AppDomain.CurrentDomain.UnhandledException += (sender, args) =>
            {
                Log.FatalFormat("An unhandled exception occured: {0}", args.ExceptionObject);
            };

            ThemeUtil.SetTheme(lvDebug);

            Pad[0] = rbPad_1;
            Pad[1] = rbPad_2;
            Pad[2] = rbPad_3;
            Pad[3] = rbPad_4;
        }
Example #3
0
 private void Button_Enter(object sender, EventArgs e)
 {
     ThemeUtil.UpdateFocus(((Button)sender).Handle);
 }
Example #4
0
 private void lvDebug_Enter(object sender, EventArgs e)
 {
     ThemeUtil.UpdateFocus(lvDebug.Handle);
 }