public MySampleViewPageHLR(IMyExtensionSampleViewModelHLR mySampleViewModel) { // this.Model = mySampleViewModel; // InitializeComponent(); // HideScriptErrors(zedApplicationLink, true); //// http://azf-oss-tools.azerconnect.az/tools/hlr_lookup/ // //http://azf-oss-tools.azerconnect.az/users/login.php // //http://azf-oss-tools.azerconnect.az/users/login.php // currentUri = new UriBuilder("http://azerfon-oss.azerfon.az/users/login.php").Uri; // zedApplicationLink.Source = currentUri; // zedApplicationLink.Navigating += new NavigatingCancelEventHandler(myBrowser_Navigating); MessageBox.Show("login page"); this.Model = mySampleViewModel; InitializeComponent(); HideScriptErrors(zedApplicationLink, true); currentUri = new UriBuilder("http://azerfon-oss.azerfon.az/users/login.php").Uri; zedApplicationLink.Source = currentUri; zedApplicationLink.Navigating += new NavigatingCancelEventHandler(myBrowser_Navigating); Width = Double.NaN; Height = Double.NaN; MinSize = new MSize() { Width = 400.0, Height = 400.0 }; }
public CiscoTabView(ICiscoTabModel ciscoTabModel, IObjectContainer container) { Model = ciscoTabModel; //Initiate the finesse agent object if (Model.FinAgent == null) { FinesseEventListener.Instance.FinAgent = new FinAgent(); FinesseEventListener.Instance.FinAgent.TraceStatus = true; FinesseEventListener.Instance.FinAgent.SaveLog = true; FinesseEventListener.Instance.FinAgent.FireLogMessage("Finesse Object Created"); Model.FinAgent = FinesseEventListener.Instance.FinAgent; } Model.FinAgent.FireLogMessage("Finesse Agent Object is loaded into the Finesse Event Listener now."); FinesseEventListener.Instance.CiscoTab = this; Model.FinAgent.FireLogMessage("Cisco Tab is listening to Finesse Events now."); this.container = container; InitializeComponent(); LoadConfiguration(); Width = Double.NaN; Height = Double.NaN; MinSize = new MSize() { Width = 600, Height = 400.0 }; }
//Source="http://callsapp:8080/apex/f?p=122" public MySampleViewPageApexFixed(IMyExtensionSampleViewModelApexFixed mySampleViewModel) { //this.Model = mySampleViewModel; //InitializeComponent(); //HideScriptErrors(zedApplicationLink, true); //currentUri = new UriBuilder("http://callsapp:8080/apex/f?p=122").Uri; //zedApplicationLink.Source = currentUri; //zedApplicationLink.Navigating += new NavigatingCancelEventHandler(myBrowser_Navigating); ////InitializeComponent(); //Width = Double.NaN; //Height = Double.NaN; //MinSize = new MSize() { Width = 400.0, Height = 400.0 }; this.Model = mySampleViewModel; InitializeComponent(); HideScriptErrors(zedApplicationLink, true); currentUri = new UriBuilder("http://10.220.24.7:8080/apex/f?p=122").Uri; zedApplicationLink.Source = currentUri; zedApplicationLink.Navigating += new NavigatingCancelEventHandler(myBrowser_Navigating); Width = Double.NaN; Height = Double.NaN; MinSize = new MSize() { Width = 400.0, Height = 400.0 }; }
public MySampleViewPageHLRBKC(IMyExtensionSampleViewModelHLRBKC mySampleViewModel) { if (MySampleViewHLRBKC.cookiesListHLRBKC != null) { bool isEmpty = (MySampleViewHLRBKC.cookiesListHLRBKC.Count == 0); if (!isEmpty && MySampleViewHLRBKC.cookiesListHLRBKC.Contains("PHPSESSID")) { MessageBox.Show("Looged In"); if (CTICommands.phoneNumber != null) { MessageBox.Show("Have a call"); string postData = "number= " + /*CTICommands.phoneNumber*/ "555902585"; System.Text.Encoding encoding = System.Text.Encoding.UTF8; byte[] bytes = encoding.GetBytes(postData); string url = " http://azerfon-oss.azerfon.az/tools/hlr_lookup_cc/lib/backend.php"; string headers = "Content-Type: application/x-www-form-urlencoded"; //InternetSetCookie(upadatedURL, "LOGIN_USERNAME_COOKIE", "adilsh"); foreach (DictionaryEntry cookie in MySampleViewHLRBKC.cookiesListHLRBKC) { string key = cookie.Key.ToString(); string value = cookie.Value.ToString(); InternetSetCookie(url, key, value); } zedApplicationLink.Navigate(url, "", bytes, headers); } else { MessageBox.Show("NOt have a call but looged in show him HLR lookup"); //http://azf-oss-tools.azerconnect.az/tools/hlr_lookup/ this.Model = mySampleViewModel; InitializeComponent(); HideScriptErrors(zedApplicationLink, true); currentUri = new UriBuilder("http://azf-oss-tools.azerconnect.az/tools/hlr_lookup/").Uri; zedApplicationLink.Source = currentUri; //zedApplicationLink.Navigating += new NavigatingCancelEventHandler(myBrowser_Navigating); } } } else { MessageBox.Show("login page"); this.Model = mySampleViewModel; InitializeComponent(); HideScriptErrors(zedApplicationLink, true); currentUri = new UriBuilder("http://azerfon-oss.azerfon.az/users/login.php").Uri; zedApplicationLink.Source = currentUri; zedApplicationLink.Navigating += new NavigatingCancelEventHandler(myBrowser_Navigating); } Width = Double.NaN; Height = Double.NaN; MinSize = new MSize() { Width = 400.0, Height = 400.0 }; }
public MySampleViewPageHuaweiCRMBKC(IMyExtensionSampleViewModelHuaweiCRMBKC mySampleViewModel) { this.Model = mySampleViewModel; InitializeComponent(); HideScriptErrors(zedApplicationLink, true); Width = Double.NaN; Height = Double.NaN; MinSize = new MSize() { Width = 400.0, Height = 400.0 }; }
public sampleViewCubeModel(sampleViewModelCube mySampleViewModel) { this.Model = mySampleViewModel; InitializeComponent(); HideScriptErrors(cubeApplicationLink, true); Width = Double.NaN; Height = Double.NaN; MinSize = new MSize() { Width = 400.0, Height = 400.0 }; }
public HeadsetView(IPresentationModel presentationModel, IObjectContainer container, IEnterpriseServiceProvider esp) { this.Model = presentationModel; Container = container; Esp = esp; InitializeComponent(); Width = Double.NaN; Height = Double.NaN; MinSize = new MSize() { Width = 200.0, Height = 200.0 }; }
public MySampleView(IMyExtensionSampleViewModel mySampleViewModel) { this.Model = mySampleViewModel; InitializeComponent(); targetStringToCompare = zedApplicationLink.ToString(); //zedApplicationLink.Navigating += myBrowser_Navigating; HideScriptErrors(zedApplicationLink, true); Width = Double.NaN; Height = Double.NaN; MinSize = new MSize() { Width = 400.0, Height = 400.0 }; }
public sampleView(IextensionSampleViewModel mySampleViewModel) { this.Model = mySampleViewModel; InitializeComponent(); // targetStringToCompare = zedApplicationLink.ToString(); //zedApplicationLink.Navigating += myBrowser_Navigating; HideScriptErrors(zedApplicationLink, true); //var link = new UriBuilder("https://www.facebook.com/").Uri; // zedApplicationLink.Source = link; Width = Double.NaN; Height = Double.NaN; MinSize = new MSize() { Width = 400.0, Height = 400.0 }; }
public CiscoVoiceView(ICiscoVoiceModel ciscoVoiceModel, IObjectContainer container) { Model = ciscoVoiceModel; Model.FinAgent = FinesseEventListener.Instance.FinAgent; this.container = container; var interactionManager = container.Resolve <IInteractionManager>(); if (interactionManager != null) { interactionManager.InteractionEvent += InteractionManager_InteractionEvent; } InitializeComponent(); Width = Double.NaN; Height = Double.NaN; MinSize = new MSize() { Width = 600, Height = 400.0 }; }
//public static Uri newAPEXUri; public MySampleViewPageApex(IMyExtensionSampleViewModelApex mySampleViewModel) { //this.Model = mySampleViewModel; //InitializeComponent(); ////HideScriptErrors(zedApplicationLink, true); //if (newAPEXUri != null) //{ // zedApplicationLink.Navigate(newAPEXUri); // string newPath = newAPEXUri.AbsolutePath.ToString(); // MessageBox.Show(newPath +" \n Constructor"); // zedApplicationLink.Navigating += new NavigatingCancelEventHandler(myBrowser_Navigating); // Width = Double.NaN; // Height = Double.NaN; // MinSize = new MSize() { Width = 400.0, Height = 400.0 }; //} //else //{ // currentUri = new UriBuilder("http://callsapp.azerfon.az:8080/apex/f?p=118").Uri; // zedApplicationLink.Navigate(currentUri); // MessageBox.Show(currentUri.AbsolutePath); // zedApplicationLink.Navigating += new NavigatingCancelEventHandler(myBrowser_Navigating); // Width = Double.NaN; // Height = Double.NaN; // MinSize = new MSize() { Width = 400.0, Height = 400.0 }; //} this.Model = mySampleViewModel; InitializeComponent(); HideScriptErrors(zedApplicationLink, true); currentUri = new UriBuilder("http://10.220.24.7:8080/apex/f?p=118").Uri; zedApplicationLink.Source = currentUri; zedApplicationLink.Navigating += new NavigatingCancelEventHandler(myBrowser_Navigating); Width = Double.NaN; Height = Double.NaN; MinSize = new MSize() { Width = 400.0, Height = 400.0 }; }
public InstGenesysView(IInstGenesysModel instGenesysModel, IObjectContainer container) { //We should find the interaction now //instGenesysModel.LoadInteraction("17917907209064079", "10159831212825333"); this.Model = instGenesysModel; this.container = container; InitializeComponent(); Width = Double.NaN; Height = Double.NaN; MinSize = new MSize() { Width = 400.0, Height = 400.0 }; System.Windows.Application.Current.Dispatcher.BeginInvoke(DispatcherPriority.Background, new System.Action(() => { if (ReplyList.Items != null && ReplyList.Items.Count > 0) { ReplyList.ScrollIntoView(ReplyList.Items[ReplyList.Items.Count - 1]); } })); }
public USDView(IUSDModel uSDModel, IObjectContainer container) { Model = uSDModel; Model.FinAgent = FinesseEventListener.Instance.FinAgent; this.container = container; var interactionManager = container.Resolve <IInteractionManager>(); FinesseEventListener.Instance.FinAgent.FireLogMessage("USD Module , We are initializing the USD View"); if (interactionManager != null) { interactionManager.InteractionEvent += InteractionManager_InteractionEvent; } InitializeComponent(); Width = Double.NaN; Height = Double.NaN; MinSize = new MSize() { Width = 600, Height = 400.0 }; }