Пример #1
0
        public MultiRPCPage()
        {
            InitializeComponent();
            UpdateText();
            _MultiRPCPage = this;

            _preview = new RPCPreview(RPCPreview.ViewType.Blank, backgroundName: "Purple", foreground: Brushes.White);
            frmRPCPreview.Content = _preview;

            tbText1.Text             = App.Config.MultiRPC.Text1;
            tbText2.Text             = App.Config.MultiRPC.Text2;
            tbLargeText.Text         = App.Config.MultiRPC.LargeText;
            tbSmallText.Text         = App.Config.MultiRPC.SmallText;
            cbElapasedTime.IsChecked = App.Config.MultiRPC.ShowTime;
        }
Пример #2
0
        public MultiRPCPage()
        {
            InitializeComponent();
            UpdateText();
            _MultiRPCPage = this;

            _preview = new RPCPreview(RPCPreview.ViewType.Default2, backgroundName: "Purple", foreground: Brushes.White);
            frmRPCPreview.Content = _preview;

            tbText1.Text             = App.Config.MultiRPC.Text1;
            tbText2.Text             = App.Config.MultiRPC.Text2;
            tbLargeText.Text         = App.Config.MultiRPC.LargeText;
            tbSmallText.Text         = App.Config.MultiRPC.SmallText;
            cbElapasedTime.IsChecked = App.Config.MultiRPC.ShowTime;

            cbSmallKey.ItemsSource   = Data.MultiRPCImages.Keys;
            cbLargeKey.ItemsSource   = Data.MultiRPCImages.Keys;
            cbSmallKey.SelectedIndex = App.Config.MultiRPC.SmallKey;
            cbLargeKey.SelectedIndex = App.Config.MultiRPC.LargeKey;
        }