public AddEditPropertyListNameDialog(PropertyListName propertyListName)
        {
            InitializeComponent();
            Title = "Edit Component Property List Entry";
            PropertyListName = propertyListName;

            mViewPropertyListName = new AddEditPropertyListNameViewModel(this, propertyListName, CommonUtils.Operation.Update);
        }
 public AddEditPropertyListNameDialog(int propertyListId)
 {
     InitializeComponent();
     var propertyListName = new PropertyListName { PropertyListId = propertyListId };
     mViewPropertyListName = new AddEditPropertyListNameViewModel(this, propertyListName, CommonUtils.Operation.Add);
 }