Beispiel #1
0
        private void listBoxCode_SelectionChanged(object sender, SelectionChangedEventArgs e)
        {
            CodeSelectDisplayDataModel dm = this.listBoxCode.SelectedItem as CodeSelectDisplayDataModel;

            DI.W.HasCodeFile(dm, (tf) => CodeViewWin.ShowBox(this.parent, dm), App.ShowErrMsg);
        }
Beispiel #2
0
        public static void ShowBox(Window parent, CodeSelectDisplayDataModel codeDataModel)
        {
            CodeViewWin win = new CodeViewWin(parent, codeDataModel);

            win.ShowDialog();
        }