Пример #1
0
        private void BtnSearch_MouseLeftButtonDown(object sender, MouseButtonEventArgs e)
        {
            var winFileSearch = new WinFileSearch
            {
                DgdFile   = { Height = 432 },
                BtnSelect = { Visibility = Visibility.Collapsed }
            };

            winFileSearch.ShowDialog();
        }
Пример #2
0
        private void BtnSelectMainFile_Click(object sender, RoutedEventArgs e)
        {
            var winFileSearch = new WinFileSearch();

            winFileSearch.ShowDialog();
            if (winFileSearch.FileId == null || winFileSearch.FileId == 0)
            {
                return;
            }
            MainId            = winFileSearch.FileId;
            LblMarlik.Content = winFileSearch.Marlik;
        }