Exemplo n.º 1
0
        private void ConnectToArchive(MenuAction action)
        {
            if (!BaseFormManager.CloseAll(true))
            {
                return;
            }
            //bool archiveConnection = false;
            if (action.MenuItem != null && action.MenuItem is BarCheckItem)
            {
                if (!BaseFormManager.ArchiveMode)
                {
                    if (!ConnectToArchiveDatabase())
                    {
                        ConnectToStanadardDatabase();
                    }
                }
                else
                {
                    ConnectToStanadardDatabase();
                }
            }

            ReloadMenu();
            MenuAction a = MenuActionManager.Instance.FindAction("MenuConnectToArchive");

            if (a != null && a.MenuItem != null && a.MenuItem is BarCheckItem)
            {
                (a.MenuItem as BarCheckItem).Checked = BaseFormManager.ArchiveMode;
            }
        }
Exemplo n.º 2
0
        //[Ignore]
        public void LookupPanelTestWithLayout()
        {
            var panel = new TestLookupPanelUI();

            panel.LoadData();
            BaseFormManager.ShowSimpleFormModal(panel);
        }
Exemplo n.º 3
0
 /// <summary>
 /// Типовое действие "Закрыть форму"
 /// </summary>
 private void ActionCloseForm(DialogResult result = DialogResult.Cancel)
 {
     if (ParentLayout.ParentBasePanel != null)
     {
         BaseFormManager.Close(ParentLayout.ParentBasePanel as IApplicationForm, result);
     }
 }
Exemplo n.º 4
0
        public MainForm()
        {
            InitializeComponent();
            BaseFormManager.Init(this);
            BaseFormManager.MainBarManager = barManager1;
            MenuActionManager.Instance     = new MenuActionManager(this, barManager1, tbToolbar, EidssUserContext.User)
            {
                ItemsStorage = EidssMenu.Instance
            };
            WindowState = FormWindowState.Maximized;
            Text        = WinClientContext.ApplicationCaption;
            ToolTipController.InitTooltipController();
            DefaultBarAndDockingController1.InitBarAppearance();
            tbToolbar.Appearance.InitAppearance();
            Dbg.Debug("Application thread ID: {0}", Thread.CurrentThread.ManagedThreadId);
            DefaultLookAndFeel1.LookAndFeel.SkinName = BaseSettings.SkinName; // "SkinsTest_Money Twins";
            SetStyle(ControlStyles.AllPaintingInWmPaint, true);
            SetStyle(ControlStyles.OptimizedDoubleBuffer, true);

            //AUM
            UpdateMessenger     = new UpdateMessenger(new ConnectionCredentials());
            TimerUpdateListener = UpdateMessenger.CreateTimerListener();
            TimerUpdateListener.SynchronizingObject = this;
            TimerUpdateListener.Elapsed            += TimerUpdateListener_Elapsed;
            TimerExit = UpdateMessenger.CreateTimerExit();
            TimerExit.SynchronizingObject = this;
            TimerExit.Elapsed            += TimerExit_Elapsed;
        }
Exemplo n.º 5
0
        //[Ignore]
        public void SamplesCheckInPanelTest()
        {
            var panel = new SamplesCheckIn(EIDSS.HACode.Human, false);

            panel.LoadData();
            BaseFormManager.ShowSimpleFormModal(panel);
        }
Exemplo n.º 6
0
        public void TestMethod1()
        {
            DbManagerFactory.SetSqlFactory(Config.GetSetting("TestConnectionString", ""));
            long?id = null;

            BaseFormManager.ShowNormal(typeof(TestPanelUI), ref id);
        }
Exemplo n.º 7
0
 private void SuccessLogin()
 {
     Splash.ShowSplash();
     Config.ReloadSettings();
     DialogResult = DialogResult.OK;
     BaseFormManager.Close(this, DialogResult.OK);
 }
Exemplo n.º 8
0
        public void ShowButtonsRightTest()
        {
            TestTable testTable = TestTable.CreateInstance();

            TestTable.Accessor accessor = TestTable.Accessor.Instance(null);
            //наполняем тестовыми действиями
            accessor.Actions.Add(new ActionMetaItem("Action1", ActionTypes.Action, true, null, null, null, null, null));
            accessor.Actions.Add(new ActionMetaItem("Action2", ActionTypes.Action, true, null, null, null, null, null));
            accessor.Actions.Add(new ActionMetaItem("Action3", ActionTypes.Action, true, null, null, null, null, null));
            accessor.Actions.Add(new ActionMetaItem("Action4", ActionTypes.Action, true, null, null, null, null, null));
            accessor.Actions.Add(new ActionMetaItem("Action7", ActionTypes.Action, true, null, null, null, null, null));

            /*
             * accessor.Actions.Add(new ActionMetaItem("Action1", "This is action 1", "icon 1", "tooltip 1", String.Empty, String.Empty, String.Empty, String.Empty, null, ActionsAlignment.Left, ActionsPanelType.Main, ActionsAppType.All, true,
             *                                      true, false, null, null, null, ActionTypes.Action, ActionTypes.Action, ActionTypes.Unknown, String.Empty));
             * accessor.Actions.Add(new ActionMetaItem("Action2", "test2", "icon 2", "tooltip 2", String.Empty, String.Empty, String.Empty, String.Empty, null, ActionsAlignment.Right, ActionsPanelType.Main, ActionsAppType.All, true, true, false,
             *                                      null, null, null, ActionTypes.Action, ActionTypes.Action, ActionTypes.Unknown, String.Empty));
             * accessor.Actions.Add(new ActionMetaItem("Action3", "This is action 3", "icon 3", "tooltip 3", String.Empty, String.Empty, String.Empty, String.Empty, null, ActionsAlignment.Left, ActionsPanelType.Main, ActionsAppType.All, true,
             *                                      true, false, null, null, null, ActionTypes.Action, ActionTypes.Action, ActionTypes.Unknown, String.Empty));
             * accessor.Actions.Add(new ActionMetaItem("Action4", "This is action 4", "icon 4", "tooltip 4", String.Empty, String.Empty, String.Empty, String.Empty, null, ActionsAlignment.Right, ActionsPanelType.Main, ActionsAppType.All, true,
             *                                      true, false, null, null, null, ActionTypes.Action, ActionTypes.Action, ActionTypes.Unknown, String.Empty));
             *
             * accessor.Actions.Add(new ActionMetaItem("Action7", "Some another action 7", "icon 7", "tooltip 7", String.Empty, String.Empty, String.Empty, String.Empty, null, ActionsAlignment.Left, ActionsPanelType.Top, ActionsAppType.All, true,
             *                                      true, false, null, null, null, ActionTypes.Action, ActionTypes.Action, ActionTypes.Unknown, String.Empty));
             */
            var     pn        = SetTestPanelUIBO(testTable);
            ILayout container = pn.GetLayout();

            container.AddActions(pn, testTable);
            BaseFormManager.ShowSimpleFormModal(pn);
        }
Exemplo n.º 9
0
        public void VectorDetailShowTest()
        {
            var    panel = new VectorDetail();
            object id    = null;

            panel.LoadData(ref id);
            BaseFormManager.ShowSimpleFormModal(panel);
        }
Exemplo n.º 10
0
        //[Ignore]
        public void VsSessionListPanelTest()
        {
            var panel = new VsSessionListPanel();

            panel.LoadData();
            BaseFormManager.ShowSimpleFormModal(panel);
            //Control container = panel.Activate();
            //BaseListPanelUITest.ShowControlOnForm(container);
        }
Exemplo n.º 11
0
        public void VsSessionDetailShowTest()
        {
            //BaseDetailPanelTest.ShowControlOnForm((new VsSessionDetail()).Activate());

            var    panel = new VsSessionDetail();
            object id    = null;

            panel.LoadData(ref id);
            BaseFormManager.ShowSimpleFormModal(panel);
        }
Exemplo n.º 12
0
 public void ShowErrorThreadSafeTest()
 {
     using (var owner = new Form())
     {
         owner.Show();
         BaseFormManager.Init(owner);
         var ex = new Exception("Test Exception");
         ErrorForm.ShowErrorThreadSafe(ex);
     }
 }
Exemplo n.º 13
0
        public void ShowAdvancedLayoutWithActionGroups()
        {
            var testTable = TestTable.CreateInstance();

            var pn = new TestPanelAdvancedWithActionGroups {
                BusinessObject = testTable
            };

            BaseFormManager.ShowSimpleFormModal(pn);
        }
Exemplo n.º 14
0
        private void cmdChangePassword_Click(Object sender, EventArgs e)
        {
            InitConnection();

            var form = new ChangePasswordForm
            {
                txtOrganization = { Text = txtOrganization.Text },
                txtUserName     = { Text = txtUserName.Text }
            };

            BaseFormManager.ShowModal(form, this);
        }
Exemplo n.º 15
0
 // [Ignore]
 public void LookupPanelTestWithLayoutWithPermissions()
 {
     //показ листовой формы с учётом полномочий
     TestUserContext.Init();
     using (ModelUserContext context = ModelUserContext.Instance)
     {
         //Lookup2ListItem bo = Lookup2ListItem.CreateInstance();
         var panel = new TestLookupPanelUI();
         panel.LoadData();
         BaseFormManager.ShowSimpleFormModal(panel);
     }
     TestUserContext.Clear();
 }
Exemplo n.º 16
0
 /// <summary>
 /// Show map customization form
 /// </summary>
 public static void ShowMapCustomization()
 {
     using (new TemporaryWaitCursor())
         try
         {
             var customizeMapForm = new CustomizeMapForm();
             BaseFormManager.ShowModal(customizeMapForm, BaseFormManager.MainForm);
         }
         catch (Exception ex)
         {
             if (BaseSettings.ThrowExceptionOnError)
             {
                 throw;
             }
             ErrorForm.ShowError(ex);
         }
 }
Exemplo n.º 17
0
 private void MainForm_FormClosing(object sender, FormClosingEventArgs e)
 {
     if (m_AskForExit &&
         WinUtils.ConfirmMessage(EidssMessages.Get("msgCloseApp", "Close application?"),
                                 EidssMessages.Get("lbCloseAppCaption", "Close Application")) == false)
     {
         e.Cancel = true;
     }
     if (e.Cancel == false)
     {
         if (!BaseFormManager.CloseAll(true))
         {
             e.Cancel = true;
         }
     }
     if (e.Cancel == false)
     {
         ExitApp(false);
     }
 }
Exemplo n.º 18
0
        public void FFPresenterWindowTest()
        {
            var session = VsSessionTest.GetTestSession();

            Assert.IsNotNull(session);
            Assert.IsTrue(session.Vectors.Count > 0);
            var vector = session.Vectors[0];

            Assert.IsNotNull(vector.FFPresenter);
            //задаём тип вектора

            var ffPresenter = new EIDSS4FF.FFPresenter(vector.FFPresenter)
            {
                Sizable = true
            };
            object id = null;

            ffPresenter.ShowFlexibleForm();
            BaseFormManager.ShowModal(ffPresenter, null, ref id, null, null, 500, 400);
        }
Exemplo n.º 19
0
        public void ShowAdvancedLayoutTest()
        {
            TestTable testTable = TestTable.CreateInstance();
            //TestTable.Accessor accessor = TestTable.Accessor.Instance(null);
            ////наполняем тестовыми действиями
            //accessor.Actions.Add(new ActionMetaItem("Action1", "This is action 1", "icon 1", ActionsAlignment.Left, ActionsPanelType.Main, true, true, false, null, null, ActionTypes.Action));
            //accessor.Actions.Add(new ActionMetaItem("Action2", "test2", "icon 2", ActionsAlignment.Right, ActionsPanelType.Main, true, true, false, null, null, ActionTypes.Action));
            //accessor.Actions.Add(new ActionMetaItem("Action3", "This is action 3", "icon 3", ActionsAlignment.Left, ActionsPanelType.Main, true, true, false, null, null, ActionTypes.Action));
            //accessor.Actions.Add(new ActionMetaItem("Action4", "This is action 4", "icon 4", ActionsAlignment.Right, ActionsPanelType.Main, true, true, false, null, null, ActionTypes.Action));

            //accessor.Actions.Add(new ActionMetaItem("Action7", "Some another action 7", "icon 7", ActionsAlignment.Left, ActionsPanelType.Top, true, true, false, null, null, ActionTypes.Action));
            //accessor.Actions.Add(new ActionMetaItem("Action8", "Some another action 8", "icon 8", ActionsAlignment.Right, ActionsPanelType.Top, true, true, false, null, null, ActionTypes.Action));
            //accessor.Actions.Add(new ActionMetaItem("Action9", "Some another action 9", "icon 9", ActionsAlignment.Left, ActionsPanelType.Top, true, true, false, null, null, ActionTypes.Action));
            //accessor.Actions.Add(new ActionMetaItem("Action10", "Some another action 10", "icon 10", ActionsAlignment.Right, ActionsPanelType.Top, true, true, false, null, null, ActionTypes.Action));

            var pn = new TestPanelAdvancedUI {
                BusinessObject = testTable
            };
            ILayout container = pn.GetLayout();

            container.AddActions(pn, testTable);
            BaseFormManager.ShowSimpleFormModal(pn);
        }
Exemplo n.º 20
0
 //[Ignore]
 public void OutbreakListPanelTest()
 {
     BaseFormManager.ShowSimpleFormModal(new OutbreakListPanel());
 }
Exemplo n.º 21
0
        public void ResetLanguage(string langID)
        {
            if (Localizer.SupportedLanguages.ContainsKey(langID) == false)
            {
                langID = Localizer.lngEn;
            }
            if (m_LangageInitialized && ModelUserContext.CurrentLanguage == langID)
            {
                return;
            }
            if (!BaseFormManager.CloseNonListForms(true))
            {
                return;
            }
            //if (BaseForm.SaveAllOpenedForms == false)
            //{
            //    return;
            //}
            Cursor = Cursors.WaitCursor;
            try
            {
                Enabled = false;
                //BaseForm.SetEnabled(false);
                SuspendLayout();
                ModelUserContext.CurrentLanguage = langID;
                //Thread.CurrentThread.CurrentUICulture.TwoLetterISOLanguageName
                if (LookupCache.Language != langID)
                {
                    LookupCache.Reload();
                }

                langID = CustomCultureHelper.GetCustomCultureName(langID);
                var cultureInfo = new CultureInfo(langID);
                EidssSiteContext.Instance.UpdateDateTimeFormat(cultureInfo);

                //EidssSiteContext.Instance.Clear();
                if (m_LangageInitialized)
                {
                    EidssEventLog.Instance.CreateEvent(EventType.ClientUILanguageChanged, null, null);
                }
                m_LangageInitialized = true;

                Thread.CurrentThread.CurrentUICulture = cultureInfo;
                Thread.CurrentThread.CurrentCulture   = cultureInfo;
                WinClientContext.InitFont();
                CommonResourcesCache.Reset();
                ToolTipController.InitTooltipController();
                DefaultBarAndDockingController1.InitBarAppearance();
                tbToolbar.Appearance.InitAppearance();
                tbMenu.Appearance.InitAppearance();
                tbStatusbar.Appearance.InitAppearance();
                Appearance.InitAppearance();
                WinClientContext.ApplicationCaption = EidssMessages.Get("EIDSS_Caption",
                                                                        "Electronic Integrated Disease Surveillance System");
                Text = GetCaption(WinClientContext.ApplicationCaption);

                barManager1.RightToLeft = (Localizer.IsRtl) ? DefaultBoolean.True : DefaultBoolean.False;
                RightToLeft             = (Localizer.IsRtl) ? RightToLeft.Yes : RightToLeft.No;
                RightToLeftLayout       = Localizer.IsRtl;

                sbiUser.Caption         = EidssUserContext.User.FullName;
                sbiOrganization.Caption = EidssSiteContext.Instance.OrganizationName;
                sbiSite.Caption         = (EidssSiteContext.Instance.SiteType + @"-" + EidssSiteContext.Instance.SiteCode);
                sbiCountry.Caption      = EidssSiteContext.Instance.CountryName;
                var resources = new ResourceManager(typeof(MainForm));
                sbiCountryLabel.Caption          = resources.GetString("sbiCountryLabel.Caption");
                sbiCountryLabel.Description      = resources.GetString("sbiCountryLabel.Description");
                sbiCountryLabel.Hint             = resources.GetString("sbiCountryLabel.Hint");
                sbiSiteLable.Caption             = resources.GetString("sbiSiteLable.Caption");
                sbiSiteLable.Description         = resources.GetString("sbiSiteLable.Description");
                sbiSiteLable.Hint                = resources.GetString("sbiSiteLable.Hint");
                sbiOrganizationLable.Caption     = resources.GetString("sbiOrganizationLable.Caption");
                sbiOrganizationLable.Description = resources.GetString("sbiOrganizationLable.Description");
                sbiOrganizationLable.Hint        = resources.GetString("sbiOrganizationLable.Hint");
                sbiUserLabel.Caption             = resources.GetString("sbiUserLabel.Caption");
                sbiUserLabel.Description         = resources.GetString("sbiUserLabel.Description");
                sbiUserLabel.Hint                = resources.GetString("sbiUserLabel.Hint");

                DesignControlManager.Create(this);
                RegisterActions();
                BaseFormManager.ResetLanguage();
                EidssSiteContext.ReportFactory.ResetLanguage();
                WinUtils.SwitchInputLanguage();
                BasicSyndromicSurveillanceListItem.Init();
            }
            catch (Exception ex)
            {
                Dbg.Debug(ex.ToString());
            }
            finally
            {
                if (m_LanguageMenu.ToolbarItem != null && m_LanguageMenu.MenuItem != null)
                {
                    if (IsLangMenuWithoutFlags)
                    {
                        m_LanguageMenu.ToolbarItem.Caption = Localizer.GetMenuLanguageName(ModelUserContext.CurrentLanguage);
                    }
                    else
                    {
                        if (ModelUserContext.CurrentLanguage == Localizer.lngEn)
                        {
                            m_LanguageMenu.ToolbarItem.LargeImageIndex = (int)MenuIcons.English;
                            m_LanguageMenu.MenuItem.ImageIndex         = (int)MenuIconsSmall.English;
                        }
                        else if (ModelUserContext.CurrentLanguage == Localizer.lngRu)
                        {
                            m_LanguageMenu.ToolbarItem.LargeImageIndex = (int)MenuIcons.Russian;
                            m_LanguageMenu.MenuItem.ImageIndex         = (int)MenuIconsSmall.Russian;
                        }
                        else if (ModelUserContext.CurrentLanguage == Localizer.lngAzLat)
                        {
                            m_LanguageMenu.ToolbarItem.LargeImageIndex = (int)MenuIcons.Azery;
                            m_LanguageMenu.MenuItem.ImageIndex         = (int)MenuIconsSmall.Azery;
                        }
                        else if (ModelUserContext.CurrentLanguage == Localizer.lngGe)
                        {
                            m_LanguageMenu.ToolbarItem.LargeImageIndex = (int)MenuIcons.Georgian;
                            m_LanguageMenu.MenuItem.ImageIndex         = (int)MenuIconsSmall.Georgian;
                        }
                        else if (ModelUserContext.CurrentLanguage == Localizer.lngKz)
                        {
                            m_LanguageMenu.ToolbarItem.LargeImageIndex = (int)MenuIcons.Kazakhstan;
                            m_LanguageMenu.MenuItem.ImageIndex         = (int)MenuIconsSmall.Kazakhstan;
                        }
                        else if (ModelUserContext.CurrentLanguage == Localizer.lngAr)
                        {
                            m_LanguageMenu.ToolbarItem.LargeImageIndex = (int)MenuIcons.Armenian;
                            m_LanguageMenu.MenuItem.ImageIndex         = (int)MenuIconsSmall.Armenian;
                        }
                        else if (ModelUserContext.CurrentLanguage == Localizer.lngUk)
                        {
                            m_LanguageMenu.ToolbarItem.LargeImageIndex = (int)MenuIcons.Ukrainian;
                            m_LanguageMenu.MenuItem.ImageIndex         = (int)MenuIconsSmall.Ukrainian;
                        }
                        else if (ModelUserContext.CurrentLanguage == Localizer.lngIraq)
                        {
                            m_LanguageMenu.ToolbarItem.LargeImageIndex = (int)MenuIcons.Iraq;
                            m_LanguageMenu.MenuItem.ImageIndex         = (int)MenuIconsSmall.Iraq;
                        }
                        else if (ModelUserContext.CurrentLanguage == Localizer.lngLaos)
                        {
                            m_LanguageMenu.ToolbarItem.LargeImageIndex = -1;
                            m_LanguageMenu.MenuItem.ImageIndex         = -1;
                        }
                        else if (ModelUserContext.CurrentLanguage == Localizer.lngVietnam)
                        {
                            m_LanguageMenu.ToolbarItem.LargeImageIndex = -1;
                            m_LanguageMenu.MenuItem.ImageIndex         = -1;
                        }
                        else if (ModelUserContext.CurrentLanguage == Localizer.lngThai)
                        {
                            m_LanguageMenu.ToolbarItem.LargeImageIndex = (int)MenuIcons.Thailand;
                            m_LanguageMenu.MenuItem.ImageIndex         = (int)MenuIconsSmall.Thailand;
                        }
                        else
                        {
                            m_LanguageMenu.ToolbarItem.LargeImageIndex = (int)MenuIcons.English;
                            m_LanguageMenu.MenuItem.ImageIndex         = (int)MenuIconsSmall.English;
                        }
                    }
                    m_LanguageMenu.ToolbarItem.Hint = Localizer.GetLanguageName(ModelUserContext.CurrentLanguage);
                }
                Enabled = true;
                //BaseForm.SetEnabled(true);
                Cursor = Cursors.Default;
                ResumeLayout();
                BringToFront();
                Activate();
            }
        }
Exemplo n.º 22
0
        private bool Login()
        {
            if (!BaseFormManager.CloseAll(true))
            {
                return(true);
            }
            if (m_ActivityMonitor != null)
            {
                m_ActivityMonitor.Enabled = false;
            }
            var manager = new EidssSecurityManager();

            manager.LogOut();
            Visible = false;
            if (!LoginForm.DefaultLogin())
            {
                ExitApp(true);
                return(false);
            }

            //reset connection
            UpdateMessenger.SetConnection((SqlConnection)ConnectionManager.CreateNew().Connection);

            //check for can run application
            if (!UpdateMessenger.CanRunApplication(ModelUserContext.ClientID, AppCode))
            {
                ErrorForm.ShowMessageDirect(EidssMessages.Get("ApplicationMustBeClosed"));
                ExitApp(true);
                return(false);
            }

            if (m_Server == null)
            {
                try
                {
                    RemotingServer.Init();
                    RemoteEventManager.Singleton.MainForm = this;
                    m_Server = RemoteEventManager.Singleton;
                }
                catch (Exception)
                {
                    ErrorForm.ShowMessageDirect(EidssMessages.Get("errRemotingSockeError",
                                                                  "Unable to start server for communication with EIDSS Client Agent. Please check that no EIDSS application is started in other Windows session or ask adminisrtators to correct TCP port used by EIDSS. If you see this message, you will be not able to open EIDSS form directly from EIDSS Client Agent. Other EIDSS functionality is not changed."));
                }
            }
            CommonResourcesCache.Reset();
            EIDSS_LookupCacheHelper.Init();
            BaseForm.ReplicationNeeded         = EidssSiteContext.Instance.RealSiteType != SiteType.CDR;
            CustomCultureHelper.CurrentCountry = EidssSiteContext.Instance.CountryID;
            if (EidssSiteContext.Instance.IsAzerbaijanCustomization)
            {
                panel1.BackgroundImage = Properties.Resources.EIDSS_AZ_Background;
                Appearance.BackColor   = Color.White;
            }
            else if (EidssSiteContext.Instance.IsIraqCustomization)
            {
                panel1.BackgroundImage = Properties.Resources.EIDSS_IQ_Background;
                Appearance.BackColor   = Color.White;
                //Appearance.BackColor =Color.FromArgb(96,199,242);
            }
            else if (EidssSiteContext.Instance.IsThaiCustomization)
            {
                panel1.BackgroundImage = Properties.Resources.EIDSS_TH_Logo;
                Appearance.BackColor   = Color.White;
                //Appearance.BackColor =Color.FromArgb(96,199,242);
            }
            else
            {
                panel1.BackgroundImage = Properties.Resources.EIdss_background;
                Appearance.BackColor   = Color.FromArgb(184, 199, 230);
            }
            //eidss.model.Core.EidssSiteContext.Instance.CountryID = EIDSS.model.Core.EidssSiteContext.Instance.CountryID;
            Splash.ShowSplash();
            if (!ReloadMenu())
            {
                return(false);
            }
            Visible = true;
            InitAutoLogoutMonitor();

            if (BaseSettings.ScanFormsMode)
            {
                MessageBox.Show("Change config setting 'ScanFormsMode' to false!!", "ScanFormsMode = true!!");
            }

            return(true);
        }
Exemplo n.º 23
0
 //[Ignore]
 public void TestListPanelTest()
 {
     BaseFormManager.ShowSimpleFormModal(new TestListPanel());
 }
Exemplo n.º 24
0
 // [Ignore]
 public void SettlementListPanelTest()
 {
     BaseFormManager.ShowSimpleFormModal(new SettlementListPanel());
 }
Exemplo n.º 25
0
        public static bool Login(LoginType type)
        {
            var f = new LoginForm(type);

            return(BaseFormManager.ShowModal(f, null));
        }
Exemplo n.º 26
0
 // [Ignore]
 public void RepositorySchemeListPanelTest()
 {
     BaseFormManager.ShowSimpleFormModal(new RepositorySchemeListPanel());
 }
Exemplo n.º 27
0
 // [Ignore]
 public void SampleDispositionListPanelTest()
 {
     BaseFormManager.ShowSimpleFormModal(new SampleDispositionListPanel());
 }
Exemplo n.º 28
0
 // [Ignore]
 public void SampleTransferListPanelTest()
 {
     BaseFormManager.ShowSimpleFormModal(new SampleTransferListPanel());
 }
Exemplo n.º 29
0
 // [Ignore]
 public void AsSessionListPanelTest()
 {
     BaseFormManager.ShowSimpleFormModal(new AsSessionListPanel());
 }
Exemplo n.º 30
0
 //[Ignore]
 public void AsCampaignListPanelTest()
 {
     BaseFormManager.ShowSimpleFormModal(new AsCampaignListPanel());
 }