public static void StaticUpdateStats(JsonObject stats) { if (ClassSingleton <StatsDialog> .IsActive()) { ClassSingleton <StatsDialog> .Instance.UpdateStats(stats); } }
public static void CloseIfOpen() { if (ClassSingleton <StatsDialog> .IsActive()) { ClassSingleton <StatsDialog> .Instance.CloseAndDispose(); } }
public static void BlocklistUpdateDone(int size) { if (ClassSingleton <RemoteSettingsDialog> .IsActive()) { ClassSingleton <RemoteSettingsDialog> .Instance.SetBlocklistUpdateDone(size); } }
public static void PortTestReplyArrived() { if (ClassSingleton <RemoteSettingsDialog> .IsActive()) { ClassSingleton <RemoteSettingsDialog> .Instance.SetPortTestReplyArrived(); } }
public void Run() { ClassSingleton a = ClassSingleton.Getinstancia; ClassSingleton b = new ClassSingleton(); ClassSingleton c = ClassSingleton.Getinstancia; }
private void button1_Click(object sender, EventArgs e) { ClassSingleton singleton = ClassSingleton.boxName(); MessageBox.Show(singleton.box(tBxBoxCode.Text)); }