Developement

  • The application is developed with WPF, .NET Framework 4.0
  • All view parts are in MVVM with ViewModel First
    /// <summary>
    /// NotificationObject
    /// </summary>
    public class NotificationObject : INotifyPropertyChanged
    {
        #region NotifyPropertyChanged

        protected void RaisePropertyChanged(string propertyName)
        {
            if (PropertyChanged != null)
                PropertyChanged(this, new PropertyChangedEventArgs(propertyName));
        }

        public event PropertyChangedEventHandler PropertyChanged; 

        #endregion
    }

    /// <summary>
    /// ViewModel
    /// </summary>
    /// <typeparam name="TView"></typeparam>
    public abstract class ViewModel<TView> : NotificationObject where TView : FrameworkElement
    {
        #region View Property

        public TView View { get; protected set; }

        #endregion

        #region Constructor

        public ViewModel(Type element)
        {
            var elementView = (FrameworkElement)Activator.CreateInstance(element);

            if (elementView != null)
                elementView.DataContext = this;

            View = (TView)elementView;
        }

        #endregion
    }
  • Uses CSharpDomainContextGenerator (Microsoft.ServiceModel.DomainServices.Tools)
  • Uses an advanced TabItem
  • Uses a configuration file
  • Uses very nice Styles xD (thanks to Antoine Jonathan who adapted Silverlight JetPack Style (Demo) to WPF)

Solution

riagenerator_solution.png

Release

http://riagenerator.codeplex.com/releases/view/71224

Last edited Aug 10, 2011 at 10:34 AM by SpaaJ, version 16

Comments

No comments yet.