You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
|
using CircleSDK.Model; using Newtonsoft.Json; using System; using System.Collections.Generic; using System.IO; using System.Linq; using System.Reflection; using System.Threading; using System.Threading.Tasks; using CircleViewer.Dialogs; using CDPShared;
namespace CircleViewer { public class DetailsCmd { private CDPWorker _cdp;
string customerCode = "CIRCLE"; string appKey = "Dashboard"; string endUserId = "userman"; string secret = "2FDA4588-774B-4FA6-8B3D-6F08F5FA6E90";
public DetailsCmd() { _cdp = new CDPWorker(); while (!_cdp.Ready) { Thread.Sleep(250); } }
public void Display(string fileName) { using (LogMethod.Log(MethodBase.GetCurrentMethod().ReflectedType.Name + MethodBase.GetCurrentMethod().Name)) { string ext = Path.GetExtension(fileName).ToLower(); if (ext != ".cir") return;
FilePropertiesDlg dlg = new FilePropertiesDlg(_cdp, fileName); dlg.ShowDialog(); } } } }
|