//-------------------------------------------------------------------
        /// @brief コンストラクタ
        public AppImplementation()
        {
            // 初期化
            interprocess_ = null;

            // プロセス間通信に必要なオブジェクトの生成
            interprocess_ = new scff_interprocess.Interprocess();

            // リサイズ方法のリストを作成
            BuildResizeMethodList();
        }
예제 #2
0
  //-------------------------------------------------------------------

  /// @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)
    };
  }
예제 #3
0
        //-------------------------------------------------------------------
        /// @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)
            };
        }