Beispiel #1
0
        private void LeftClickAction(object o)
        {
            var translator = new TranslatorWindow();

            translator.Show();
            translator.Activate();
        }
Beispiel #2
0
        public MainWindow()
        {
            InitializeComponent();
            TWindow = new TranslatorWindow(this);
            TWindow.Show();
            TTWindow = new TranslatedTextWindow(this);
            TTWindow.Show();
            DataContext = this;
            SetLangs();

            Langs3InCB.SelectedItem = Default.Lang3In;
            Lang2OutTB.Text         = Default.Lang2Out;
            ThresholdSlider.Value   = Default.Threshold;
            IsAsItsCB.IsChecked     = Default.IsAsIs;
            FontSizeSlider.Value    = Default.OutFontSize;
        }