Exemple #1
0
        /// <summary>
        /// auto code event
        /// </summary>
        private void Button_Click_AutoCode(object sender, RoutedEventArgs e)
        {
            var mainWindow = this.DataContext as MainWindowModel;

            if (mainWindow == null || string.IsNullOrWhiteSpace(_fullPath))
            {
                return;
            }

            IBaseInterface iChoose = DLLAccess.CreateBaseInterface(mainWindow.AssemblyFile, mainWindow.ClassNamespace);

            iChoose.AutoCode(_fullPath);
        }