//This method exists as a hack to get the XAML assebmlies loaded in the plugin public static void LoadAssemblies() { var av = new ICSharpCode.AvalonEdit.TextEditor(); var ac = new p.InvokeCommandAction(); i.InvokeCommandAction action = new i.InvokeCommandAction(); action.CommandName = "Loaded"; var window = new Window(); x.VisualStateUtilities.GetVisualStateGroups(window); ViewModelLocator.SetAutoWireViewModel(window, false); }
void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) { switch (connectionId) { case 1: this.GotFocusCommand = ((System.Windows.Interactivity.InvokeCommandAction)(target)); return; } this._contentLoaded = true; }
public void InitializeComponent() { if (_contentLoaded) { return; } _contentLoaded = true; System.Windows.Application.LoadComponent(this, new System.Uri("/Segator.Loms.Modules.Associations.Silverlight;component/Silverlight/SavedBilling" + "/BillingAccountListView.xaml", System.UriKind.Relative)); this.PageLoadEvent = ((System.Windows.Interactivity.InvokeCommandAction)(this.FindName("PageLoadEvent"))); this.txtFilterValue = ((System.Windows.Controls.TextBox)(this.FindName("txtFilterValue"))); this.BillingAccountList = ((System.Windows.Controls.ListBox)(this.FindName("BillingAccountList"))); }
public void InitializeComponent() { if (_contentLoaded) { return; } _contentLoaded = true; System.Windows.Application.LoadComponent(this, new System.Uri("/Segator.Loms.Modules.AssociationStaff.Silverlight;component/Silverlight/Reservat" + "ions/ReservationsView.xaml", System.UriKind.Relative)); this.PageLoadEvent = ((System.Windows.Interactivity.InvokeCommandAction)(this.FindName("PageLoadEvent"))); this.LayoutRoot = ((System.Windows.Controls.Grid)(this.FindName("LayoutRoot"))); this.btnSearch = ((System.Windows.Controls.Primitives.ToggleButton)(this.FindName("btnSearch"))); this.searchUC = ((Segator.Loms.Modules.AssociationStaff.Silverlight.Reservations.SearchCriteriaView)(this.FindName("searchUC"))); }
/// <summary> /// This method exists as a hack to get the XAML assemblies loaded in the plugin. /// </summary> public static void LoadAssemblies() { i.InvokeCommandAction action = new i.InvokeCommandAction(); action.CommandName = "Loaded"; var window = new Window(); x.VisualStateUtilities.GetVisualStateGroups(window); ViewModelLocator.SetAutoWireViewModel(window, false); var action2 = new Prism.Interactivity.InvokeCommandAction(); action.CommandName = "Loaded"; }
/// <summary> /// This method exists as a hack to get the XAML assemblies loaded in the plugin. /// </summary> public static void LoadAssemblies() { var formatter = FormatterAssemblyStyle.Full; var action = new i.InvokeCommandAction(); action.CommandName = "Loaded"; var window = new Window(); ViewModelLocator.SetAutoWireViewModel(window, false); var action2 = new InvokeCommandAction(); action.CommandName = "Loaded"; }
public void InitializeComponent() { if (_contentLoaded) { return; } _contentLoaded = true; System.Windows.Application.LoadComponent(this, new System.Uri("/Segator.Loms.Modules.Dispatcher.Silverlight;component/Silverlight/Reservations/R" + "eservationsView.xaml", System.UriKind.Relative)); this.PageLoadEvent = ((System.Windows.Interactivity.InvokeCommandAction)(this.FindName("PageLoadEvent"))); this.LayoutRoot = ((System.Windows.Controls.Grid)(this.FindName("LayoutRoot"))); this.popUpSettings = ((System.Windows.Controls.Primitives.Popup)(this.FindName("popUpSettings"))); this.popUpSearch = ((System.Windows.Controls.Primitives.Popup)(this.FindName("popUpSearch"))); this.dgDispatch = ((System.Windows.Controls.DataGrid)(this.FindName("dgDispatch"))); this.pagerDispatch = ((System.Windows.Controls.DataPager)(this.FindName("pagerDispatch"))); this.btnPrint = ((System.Windows.Controls.Button)(this.FindName("btnPrint"))); this.btnAlerts = ((System.Windows.Controls.Button)(this.FindName("btnAlerts"))); this.btnReservation = ((System.Windows.Controls.Button)(this.FindName("btnReservation"))); }
public void InitializeComponent() { if (_contentLoaded) { return; } _contentLoaded = true; System.Windows.Application.LoadComponent(this, new System.Uri("/Segator.Loms.Modules.Dispatcher.Silverlight;component/Silverlight/Suppliers/Supp" + "liersView.xaml", System.UriKind.Relative)); this.page = ((System.Windows.Controls.Page)(this.FindName("page"))); this.PageLoadEvent = ((System.Windows.Interactivity.InvokeCommandAction)(this.FindName("PageLoadEvent"))); this.LayoutRoot = ((System.Windows.Controls.Grid)(this.FindName("LayoutRoot"))); this.cmbCountry = ((System.Windows.Controls.ComboBox)(this.FindName("cmbCountry"))); this.CountryChangedEvent = ((System.Windows.Interactivity.InvokeCommandAction)(this.FindName("CountryChangedEvent"))); this.btnOpenRecords = ((System.Windows.Controls.HyperlinkButton)(this.FindName("btnOpenRecords"))); this.OpenRecordsList = ((System.Windows.Controls.ListBox)(this.FindName("OpenRecordsList"))); this.accCity = ((System.Windows.Controls.ItemsControl)(this.FindName("accCity"))); this.SupplierChangedEvent = ((System.Windows.Interactivity.InvokeCommandAction)(this.FindName("SupplierChangedEvent"))); this.grdSupplierProfileButtons = ((System.Windows.Controls.Grid)(this.FindName("grdSupplierProfileButtons"))); this.btnRemoveSupplier = ((System.Windows.Controls.Button)(this.FindName("btnRemoveSupplier"))); this.btnViewSupplier = ((System.Windows.Controls.Button)(this.FindName("btnViewSupplier"))); this.btnAddSupplier = ((System.Windows.Controls.Button)(this.FindName("btnAddSupplier"))); this.SupplierProfilePanel = ((System.Windows.Controls.Grid)(this.FindName("SupplierProfilePanel"))); }
void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) { switch (connectionId) { case 1: this.dc = ((UserWindow.UserWindowViewModel)(target)); return; case 2: this.fix = ((System.Windows.Interactivity.InvokeCommandAction)(target)); return; case 3: this.dg_res = ((System.Windows.Controls.DataGrid)(target)); return; case 4: this.dg_history = ((System.Windows.Controls.DataGrid)(target)); return; } this._contentLoaded = true; }
public void InitializeComponent() { if (_contentLoaded) { return; } _contentLoaded = true; System.Windows.Application.LoadComponent(this, new System.Uri("/Segator.Loms.Modules.Dispatcher.Silverlight;component/Silverlight/Quotations/Quo" + "tationsView.xaml", System.UriKind.Relative)); this.PageLoadEvent = ((System.Windows.Interactivity.InvokeCommandAction)(this.FindName("PageLoadEvent"))); this.LayoutRoot = ((System.Windows.Controls.Border)(this.FindName("LayoutRoot"))); this.panelHost = ((DragDockControl.DragDockPanelHost)(this.FindName("panelHost"))); this.drackDockPanelPending = ((DragDockControl.DragDockPanel)(this.FindName("drackDockPanelPending"))); this.PendingBookings = ((Segator.Loms.Modules.Dispatcher.Silverlight.Quotations.BookingControls.BookingControl)(this.FindName("PendingBookings"))); this.drackDockPanelProcessing = ((DragDockControl.DragDockPanel)(this.FindName("drackDockPanelProcessing"))); this.ProcessingBookings = ((Segator.Loms.Modules.Dispatcher.Silverlight.Quotations.BookingControls.BookingControl)(this.FindName("ProcessingBookings"))); this.drackDockPanelReceived = ((DragDockControl.DragDockPanel)(this.FindName("drackDockPanelReceived"))); this.ReceivedBookings = ((Segator.Loms.Modules.Dispatcher.Silverlight.Quotations.BookingControls.BookingControl)(this.FindName("ReceivedBookings"))); this.drackDockPanelSent = ((DragDockControl.DragDockPanel)(this.FindName("drackDockPanelSent"))); this.SentBookings = ((Segator.Loms.Modules.Dispatcher.Silverlight.Quotations.BookingControls.BookingControl)(this.FindName("SentBookings"))); this.drackDockPanelHistory = ((DragDockControl.DragDockPanel)(this.FindName("drackDockPanelHistory"))); this.HistoryBookings = ((Segator.Loms.Modules.Dispatcher.Silverlight.Quotations.BookingControls.BookingControl)(this.FindName("HistoryBookings"))); this.btnCancelQuote = ((System.Windows.Controls.Button)(this.FindName("btnCancelQuote"))); this.btnQuoteControl = ((System.Windows.Controls.Button)(this.FindName("btnQuoteControl"))); }