public ProfilerUploader() { InitializeComponent(); this.Closed += ProfilerUploader_Closed; Singletone = this; UpdateInterface(); }
public static void Start() { if (Navigator.Manager.NotDefined(MethodInfo.GetCurrentMethod())) { SpecialOmniboxProvider.Register(new SpecialOmniboxAction("ClientProfiler", () => true, win => { ProfilerUploader.OpenProfilerUploader(); })); } }
void ProfilerUploader_Closed(object sender, EventArgs e) { Singletone = null; }