private void ThisWorkbook_Startup(object sender, System.EventArgs e)
        {
            ws = new CmsWs.WebServiceSoapClient();
            ws.Endpoint.Address = new EndpointAddress(ServiceUrl());

            header = new CmsWs.ServiceAuthHeader();
            var f = new Signin();

            f.ShowDialog();
            header.Username = f.Username;
            header.Password = f.Password;

            c = new SearchPane();
            b = new BundlePane();
            u = new UploadPane();
            Globals.ThisWorkbook.ActionsPane.AutoScroll = true;
            c.Search += new EventHandler <EventArgs <List <CmsWs.PersonResult> > >(c_Search);
            b.Search += new EventHandler <EventArgs <List <CmsWs.BundleResult> > >(b_Search);
            Globals.Sheet1.BundleId.Select();
            AddBundlePane();
        }
 public PersonResultCtl(CmsWs.PersonResult p, SearchPane pane)
 {
     InitializeComponent();
     person    = p;
     this.pane = pane;
 }
Exemple #3
0
 public PersonResultCtl(CmsWs.PersonResult p, SearchPane pane)
 {
     InitializeComponent();
     person = p;
     this.pane = pane;
 }