private void SubscriptionSettingsRecycled(object sender, EventArgs e) { ManageForm.Dispose(); ManageForm = null; Configuration.Save(configuration_current); controller.SelectServerIndex(0); configuration_current.ResetRegularUpdate(); }
private void SubscriptionManagement(object sender, EventArgs e) { if (ManageForm == null) { ManageForm = new SubscriptionManagementForm(controller); ManageForm.FormClosed += SubscriptionSettingsRecycled; ManageForm.Show(); } ManageForm.Activate(); }
private void SubscriptionManagement(object sender, EventArgs e) { Configuration.Save(ConfigurationCurrent); if (Form_subscriptionManagement == null) { Form_subscriptionManagement = new SubscriptionManagementForm(controller); Form_subscriptionManagement.Show(); Form_subscriptionManagement.FormClosed += SubscriptionSettingsRecycled; } Form_subscriptionManagement.Activate(); }
private void SubscriptionManagement(object sender, EventArgs e) { configuration_current.StopRegularUpdate(); Configuration.Save(configuration_current); if (ManageForm == null) { ManageForm = new SubscriptionManagementForm(controller); ManageForm.Show(); ManageForm.FormClosed += SubscriptionSettingsRecycled; } ManageForm.Activate(); }
private void SubscriptionSettingsRecycled(object sender, EventArgs e) { ManageForm.Dispose(); ManageForm = null; }