コード例 #1
0
        private void PreInitializeComponent()
        {
            string something;
            var    data_file = builder.read_file();

            sVK_ID        = data_file["uid"];
            sACCESS_TOKEN = data_file["token"];
            if (data_file.TryGetValue("library", out something) == true)
            {
                sFolderLib = data_file["library"];
            }
            lib_api = new NetworkApiVK(sVK_ID, sACCESS_TOKEN);
        }
コード例 #2
0
ファイル: Form1.cs プロジェクト: QAsMD/project_musicVK
 private void PreInitializeComponent()
 {
     string something;
     var data_file = builder.read_file();
     sVK_ID = data_file["uid"];
     sACCESS_TOKEN = data_file["token"];
     if (data_file.TryGetValue("library", out something) == true)
         sFolderLib = data_file["library"];
     lib_api = new NetworkApiVK(sVK_ID, sACCESS_TOKEN);
 }