private void Window_Loaded(object sender, RoutedEventArgs e)
        {
            InitComboBox();

            checkBox1.IsChecked = true;

            if (miRs232.IsChecked)
            {
                //communicate = new RS232Communication();
            }
            else
            {
            }

            loadXml.ShowListViewConfig();
        }
        private void Window_Loaded(object sender, RoutedEventArgs e)
        {
            InitComboBox();

            loadXml.ShowListViewConfig();
        }