Beispiel #1
0
        public KeyChangerPage()
        {
            InitializeComponent();

            RWFile.ReadFile();
            ItemList.ItemsSource = KeyChangeManager.Instance.KeyChangeItemCollection;

            Window mainwin = Application.Current.MainWindow;

            ItemList.Height = mainwin.ActualHeight - 180;
            ItemList.Width  = mainwin.ActualWidth - 100;
        }
Beispiel #2
0
 private void Button_Save(object sender, RoutedEventArgs e)
 {
     RWFile.WriteFile();
 }