Esempio n. 1
0
        private void Window_Loaded(object sender, RoutedEventArgs e)
        {
            FontLoading floading = new FontLoading(fmamily);

            floading.Owner           = this;
            floading.FormCloseEvent += new FontLoading.FormCloseHandler(FontLoading_Closed);
            floading.ShowDialog();
            //FontListBox.ItemsSource = fontpathnamelist;
            //FontListBox.ItemsSource = fontlistkun();
        }
Esempio n. 2
0
 private void FontLoading_Closed(FontLoading sender, EventArgs e)
 {
     FontListBox.ItemsSource   = sender.FontPathNamelist;
     FontListBox.SelectedIndex = 0;
 }