//-------------------------------------------------------------------

  /// @brief コンストラクタ
  public SCFFApp(BindingSource entries, BindingSource layout_parameters) {
    interprocess_ = new scff_interprocess.Interprocess();
    directory_ = new viewmodel.Directory();
    message_ = new viewmodel.Message();

    // データソースを設定
    entries_ = entries;
    layout_parameters_ = layout_parameters;
    entries.DataSource = directory_.Entries;
    layout_parameters.DataSource = message_.LayoutParameters;

    resize_method_list_ =
        new List<KeyValuePair<scff_interprocess.SWScaleFlags,string>>(kResizeMethodSortedList);

    profiles_path_ = Application.UserAppDataPath + "\\profiles\\";
    profile_list_ = new BindingList<string>();
    known_types_ = new List<Type> {
      typeof(viewmodel.LayoutParameter)
    };
  }
        //-------------------------------------------------------------------
        /// @brief コンストラクタ
        public SCFFApp(BindingSource entries, BindingSource layout_parameters)
        {
            interprocess_ = new scff_interprocess.Interprocess();
            directory_ = new viewmodel.Directory();
            message_ = new viewmodel.Message();

            // データソースを設定
            entries_ = entries;
            layout_parameters_ = layout_parameters;
            entries.DataSource = directory_.Entries;
            layout_parameters.DataSource = message_.LayoutParameters;

            resize_method_list_ =
            new List<KeyValuePair<scff_interprocess.SWScaleFlags,string>>(kResizeMethodSortedList);

            profiles_path_ = Application.UserAppDataPath + "\\profiles\\";
            profile_list_ = new BindingList<string>();
            known_types_ = new List<Type> {
              typeof(viewmodel.LayoutParameter)
            };
        }