예제 #1
0
        public override void PluginMenuClicked(object Sender, MenuEventArgs e)
        {
            switch (e.Key)
            {
                case "mnuItem1":
                    var formToLoad1 = new FormFactory.PortalIntegration();
                    CssContext.Instance.Host.Register(formToLoad1);
                    break;

                case "mnuItem2":
                    var formToLoad3 = new FormFactory.ClientList(Guid.NewGuid());
                    CssContext.Instance.Host.Register(formToLoad3);
                    break;

                case "mnuDataAPI":
                    var formToLoad2 = new FormFactory.DataAPI();
                    CssContext.Instance.Host.Register(formToLoad2);
                    break;
            }
        }
예제 #2
0
        public override void PluginMenuClicked(object Sender, MenuEventArgs e)
        {
            switch (e.Key)
            {
                case "mnuItem1":
                    var formToLoad1 = new FormFactory.PortalIntegration();
                    CssContext.Instance.Host.Register(formToLoad1);
                    break;


                case "mnuItem2":
                    var formToLoad3 = new FormFactory.ClientList(Guid.NewGuid());
                    CssContext.Instance.Host.Register(formToLoad3);
                    break;



                case "mnuDataAPI":
                    var formToLoad2 = new FormFactory.DataAPI();
                    CssContext.Instance.Host.Register(formToLoad2);
                    break;
            }
        }
예제 #3
0
 public frmDataAPI(DataAPI factory)
 {
     InitializeComponent();
 }