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); }
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); }