Exemplo n.º 1
0
        public void EnsureSubscriptionForm(SubscriptionControl.ActivePage page)
        {
            if (!AccountStatus.Instance.isAuthorized)
                OpenLoginDialog();

            var form = EnsureForm(typeof(SubscriptionForm));
            ((IMdiNonChartWindow)form).WindowInnerTabPageIndex = (int)page;
        }
Exemplo n.º 2
0
 public void ShowSubscriptionDialogSafe(SubscriptionControl.ActivePage page)
 {
     Invoke(new Action<SubscriptionControl.ActivePage>(EnsureSubscriptionForm), page);
 }
 private void OnPageTargeted(SubscriptionControl.ActivePage page)
 {
     if (pageTargeted != null)
         pageTargeted(page);
     Close();
 }