void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) { switch (connectionId) { case 1: this.MainWindowContent = ((System.Windows.Controls.Grid)(target)); return; case 2: #line 34 "..\..\MainWindow.xaml" ((System.Windows.Controls.MenuItem)(target)).Click += new System.Windows.RoutedEventHandler(this.BtnCreateClick); #line default #line hidden return; case 3: #line 36 "..\..\MainWindow.xaml" ((System.Windows.Controls.MenuItem)(target)).Click += new System.Windows.RoutedEventHandler(this.BtnFilterClick); #line default #line hidden return; case 4: #line 38 "..\..\MainWindow.xaml" ((System.Windows.Controls.MenuItem)(target)).Click += new System.Windows.RoutedEventHandler(this.BtnImportClicked); #line default #line hidden return; case 5: #line 41 "..\..\MainWindow.xaml" ((System.Windows.Controls.MenuItem)(target)).Click += new System.Windows.RoutedEventHandler(this.BtnCheckUpdateClicked); #line default #line hidden return; case 6: this.MainTabControl = ((MahApps.Metro.Controls.MetroAnimatedSingleRowTabControl)(target)); #line 44 "..\..\MainWindow.xaml" this.MainTabControl.TabItemClosingEvent += new MahApps.Metro.Controls.BaseMetroTabControl.TabItemClosingEventHandler(this.MainTabControl_TabItemClosingEvent); #line default #line hidden return; case 7: this.AllPC = ((MahApps.Metro.Controls.MetroTabItem)(target)); return; } this._contentLoaded = true; }
private static void HeaderFontSizePropertyChangedCallback(DependencyObject dependencyObject, DependencyPropertyChangedEventArgs e) { if (e.NewValue is double) { MetroTabItem thickness = dependencyObject as MetroTabItem; if (thickness == null) { return; } if (thickness.closeButton == null) { thickness.ApplyTemplate(); } if (thickness.closeButton != null && thickness.contentSite != null) { double newValue = (double)e.NewValue; double num = Math.Ceiling(newValue * thickness.FontFamily.LineSpacing); double num1 = Math.Round(num) / 2.8; Thickness padding = thickness.Padding; double top = num1 - padding.Top; padding = thickness.Padding; double bottom = top - padding.Bottom; padding = thickness.contentSite.Margin; double top1 = bottom - padding.Top; padding = thickness.contentSite.Margin; double bottom1 = top1 - padding.Bottom; Thickness margin = thickness.closeButton.Margin; thickness.newButtonMargin = new Thickness(margin.Left, bottom1, margin.Right, margin.Bottom); thickness.closeButton.Margin = thickness.newButtonMargin; thickness.closeButton.UpdateLayout(); } } }
private static void OnCloseButtonEnabledPropertyChangedCallback(DependencyObject dependencyObject, DependencyPropertyChangedEventArgs e) { MetroTabItem metroTabItem = dependencyObject as MetroTabItem; if (metroTabItem != null) { metroTabItem.AdjustCloseButton(); } }
public void Execute(object parameter) { Func <object, bool> func = null; if (parameter != null) { Tuple <object, MetroTabItem> tuple = (Tuple <object, MetroTabItem>)parameter; if (this.owner.CloseTabCommand != null) { this.owner.CloseTabCommand.Execute(null); return; } if (tuple.Item2 != null) { MetroTabItem item2 = tuple.Item2; if (this.owner.RaiseTabItemClosingEvent(item2)) { return; } if (this.owner.ItemsSource == null) { this.owner.Items.Remove(item2); return; } IList itemsSource = this.owner.ItemsSource as IList; if (itemsSource == null) { return; } IEnumerable <object> objs = this.owner.ItemsSource.Cast <object>(); Func <object, bool> func1 = func; if (func1 == null) { Func <object, bool> func2 = (object item) => { if (item2 == item) { return(true); } return(item2.DataContext == item); }; Func <object, bool> func3 = func2; func = func2; func1 = func3; } using (IEnumerator <object> enumerator = objs.Where <object>(func1).GetEnumerator()) { if (enumerator.MoveNext()) { itemsSource.Remove(enumerator.Current); } } } } }
internal void CloseThisTabItem([NotNull] MetroTabItem tabItem) { if (tabItem == null) { throw new ArgumentNullException(nameof(tabItem)); } if (this.CloseTabCommand != null) { var closeTabCommandParameter = tabItem.CloseTabCommandParameter ?? tabItem; if (this.CloseTabCommand.CanExecute(closeTabCommandParameter)) { this.CloseTabCommand.Execute(closeTabCommandParameter); } } else { // KIDS: don't try this at home // this is not good MVVM habits and I'm only doing it // because I want the demos to be absolutely bitching // the control is allowed to cancel this event if (this.RaiseTabItemClosingEvent(tabItem)) { return; } if (this.ItemsSource == null) { // if the list is hard-coded (i.e. has no ItemsSource) // then we remove the item from the collection tabItem.ClearStyle(); this.Items.Remove(tabItem); } else { // if ItemsSource is something we cannot work with, bail out var collection = this.ItemsSource as IList; if (collection == null) { return; } // find the item and kill it (I mean, remove it) var item2Remove = collection.OfType <object>().FirstOrDefault(item => tabItem == item || tabItem.DataContext == item); if (item2Remove != null) { tabItem.ClearStyle(); collection.Remove(item2Remove); } } } }
void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) { switch (connectionId) { case 1: this.ThisWindow = ((KtvMusic.MainWindow)(target)); return; case 2: #line 34 "..\..\MainWindow.xaml" ((System.Windows.Input.CommandBinding)(target)).CanExecute += new System.Windows.Input.CanExecuteRoutedEventHandler(this.CloseWindow_CanExecute); #line default #line hidden #line 35 "..\..\MainWindow.xaml" ((System.Windows.Input.CommandBinding)(target)).Executed += new System.Windows.Input.ExecutedRoutedEventHandler(this.CloseWindow_Executed); #line default #line hidden return; case 3: this.Home = ((System.Windows.Controls.TabItem)(target)); return; case 4: this.SingerSearch = ((MahApps.Metro.Controls.MetroTabItem)(target)); return; case 5: this.SongFilterList = ((MahApps.Metro.Controls.MetroTabItem)(target)); return; case 6: this.SelectedSongList = ((MahApps.Metro.Controls.MetroTabItem)(target)); return; case 7: this.singerSearchUc = ((KtvMusic.Views.SingerSearchUc)(target)); return; case 8: this.singerFilterListUc = ((KtvMusic.Views.SingerFilterListUc)(target)); return; case 9: this.selectedSongListUc = ((KtvMusic.Views.SelectedSongListUc)(target)); return; } this._contentLoaded = true; }
internal bool RaiseTabItemClosingEvent(MetroTabItem closingItem) { if (TabItemClosingEvent != null) { foreach (TabItemClosingEventHandler subHandler in TabItemClosingEvent.GetInvocationList()) { var args = new TabItemClosingEventArgs(closingItem); subHandler.Invoke(this, args); if (args.Cancel) return true; } } return false; }
void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) { switch (connectionId) { case 1: this.step1 = ((MahApps.Metro.Controls.MetroTabItem)(target)); return; case 2: this.selectAppFile = ((System.Windows.Controls.Button)(target)); #line 48 "..\..\addAppItem.xaml" this.selectAppFile.Click += new System.Windows.RoutedEventHandler(this.selectFile_Click); #line default #line hidden return; case 3: this.fileName = ((System.Windows.Documents.Run)(target)); return; case 4: this.step2 = ((MahApps.Metro.Controls.MetroTabItem)(target)); return; case 5: this.appName = ((System.Windows.Controls.TextBox)(target)); return; case 6: this.appDescription = ((System.Windows.Controls.TextBox)(target)); return; case 7: #line 129 "..\..\addAppItem.xaml" ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.addAPPItem_Click); #line default #line hidden return; case 8: #line 131 "..\..\addAppItem.xaml" ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.closeForm_Click); #line default #line hidden return; } this._contentLoaded = true; }
internal bool RaiseTabItemClosingEvent(MetroTabItem closingItem) { if (TabItemClosingEvent != null) { foreach (TabItemClosingEventHandler subHandler in TabItemClosingEvent.GetInvocationList()) { TabItemClosingEventArgs args = new TabItemClosingEventArgs(closingItem); subHandler.Invoke(this, args); if (args.Cancel) { return(true); } } } return(false); }
internal bool RaiseTabItemClosingEvent(MetroTabItem closingItem) { if (this.TabItemClosingEvent != null) { Delegate[] invocationList = this.TabItemClosingEvent.GetInvocationList(); for (int i = 0; i < (int)invocationList.Length; i++) { BaseMetroTabControl.TabItemClosingEventHandler tabItemClosingEventHandler = (BaseMetroTabControl.TabItemClosingEventHandler)invocationList[i]; BaseMetroTabControl.TabItemClosingEventArgs tabItemClosingEventArg = new BaseMetroTabControl.TabItemClosingEventArgs(closingItem); tabItemClosingEventHandler(this, tabItemClosingEventArg); if (tabItemClosingEventArg.Cancel) { return(true); } } } return(false); }
void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) { switch (connectionId) { case 1: this.title = ((System.Windows.Controls.WrapPanel)(target)); return; case 2: this.unitTabs = ((MahApps.Metro.Controls.MetroAnimatedTabControl)(target)); return; case 3: this.listTab = ((MahApps.Metro.Controls.MetroTabItem)(target)); return; case 4: this.progressTab = ((MahApps.Metro.Controls.MetroTabItem)(target)); return; } this._contentLoaded = true; }
void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) { switch (connectionId) { case 1: this.step1 = ((MahApps.Metro.Controls.MetroTabItem)(target)); return; case 2: this.selectAppResource = ((System.Windows.Controls.Button)(target)); #line 49 "..\..\makeAppZip.xaml" this.selectAppResource.Click += new System.Windows.RoutedEventHandler(this.selectAppResource_Click); #line default #line hidden return; case 3: this.folderName = ((System.Windows.Documents.Run)(target)); return; case 4: this.fileName = ((System.Windows.Documents.Run)(target)); return; case 5: this.step2 = ((MahApps.Metro.Controls.MetroTabItem)(target)); return; case 6: this.appName = ((System.Windows.Controls.TextBox)(target)); return; case 7: this.appDescription = ((System.Windows.Controls.TextBox)(target)); return; case 8: this.saveAsAppZipPath = ((System.Windows.Controls.Button)(target)); #line 129 "..\..\makeAppZip.xaml" this.saveAsAppZipPath.Click += new System.Windows.RoutedEventHandler(this.saveAsAppZipPath_Click); #line default #line hidden return; case 9: this.appzipName = ((System.Windows.Documents.Run)(target)); return; case 10: #line 157 "..\..\makeAppZip.xaml" ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.makeAppZip_Click); #line default #line hidden return; case 11: #line 159 "..\..\makeAppZip.xaml" ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.closeForm_Click); #line default #line hidden return; } this._contentLoaded = true; }
void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) { switch (connectionId) { case 1: #line 27 "..\..\..\MainWindow.xaml" ((MetroDemo.MainWindow)(target)).Closing += new System.ComponentModel.CancelEventHandler(this.MetroWindow_Closing); #line default #line hidden #line 28 "..\..\..\MainWindow.xaml" ((MetroDemo.MainWindow)(target)).Loaded += new System.Windows.RoutedEventHandler(this.MainWindow_OnLoaded); #line default #line hidden return; case 2: #line 82 "..\..\..\MainWindow.xaml" ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.CloseCustomDialog); #line default #line hidden return; case 3: #line 102 "..\..\..\MainWindow.xaml" ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.CloseCustomDialog); #line default #line hidden return; case 4: this.MyGrid = ((System.Windows.Controls.Grid)(target)); return; case 5: this.OptionsFlyout = ((MahApps.Metro.Controls.Flyout)(target)); return; case 7: this.MainTabControl = ((MahApps.Metro.Controls.MetroTabControl)(target)); #line 190 "..\..\..\MainWindow.xaml" this.MainTabControl.SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.MainTabControl_SelectionChanged); #line default #line hidden return; case 8: this.TabStart = ((MahApps.Metro.Controls.MetroTabItem)(target)); return; case 9: this.lblStart = ((System.Windows.Controls.Label)(target)); return; case 10: this.TabProducts = ((MahApps.Metro.Controls.MetroTabItem)(target)); return; case 11: this.lblProducts = ((System.Windows.Controls.Label)(target)); return; case 12: this.TabDownload = ((MahApps.Metro.Controls.MetroTabItem)(target)); return; case 13: this.lblDownload = ((System.Windows.Controls.Label)(target)); return; case 14: this.TabUpdates = ((MahApps.Metro.Controls.MetroTabItem)(target)); return; case 15: this.lblUpdate = ((System.Windows.Controls.Label)(target)); return; case 16: this.TabOptions = ((MahApps.Metro.Controls.MetroTabItem)(target)); return; case 17: this.lblOptions = ((System.Windows.Controls.Label)(target)); return; case 18: this.GenerateTabName = ((MahApps.Metro.Controls.MetroTabItem)(target)); return; case 19: this.lblGenerate = ((System.Windows.Controls.Label)(target)); return; case 20: this.LocalTabName = ((MahApps.Metro.Controls.MetroTabItem)(target)); return; case 21: this.lblLocal = ((System.Windows.Controls.Label)(target)); return; case 22: this.RemoteTabName = ((MahApps.Metro.Controls.MetroTabItem)(target)); return; case 23: this.lblRemote = ((System.Windows.Controls.Label)(target)); return; case 24: this.TabAbout = ((MahApps.Metro.Controls.MetroTabItem)(target)); #line 304 "..\..\..\MainWindow.xaml" this.TabAbout.IsEnabledChanged += new System.Windows.DependencyPropertyChangedEventHandler(this.UIElement_OnIsEnabledChanged); #line default #line hidden return; case 25: this.lblAbout = ((System.Windows.Controls.Label)(target)); return; case 26: this.MainWindowTabs = ((MahApps.Metro.Controls.MetroAnimatedSingleRowTabControl)(target)); return; case 27: this.StartView = ((MetroDemo.ExampleViews.StartView)(target)); return; case 28: this.ProductView = ((MetroDemo.ExampleViews.ProductView)(target)); return; case 29: this.DownloadView = ((MetroDemo.ExampleViews.DownloadView)(target)); return; case 30: this.UpdateView = ((MetroDemo.ExampleViews.UpdateView)(target)); return; case 31: this.DisplayView = ((MetroDemo.ExampleViews.DisplayView)(target)); return; case 32: this.GenerateView = ((MetroDemo.ExampleViews.GenerateView)(target)); return; case 33: this.LocalView = ((MetroDemo.ExampleViews.LocalView)(target)); return; case 34: this.RemoteView = ((MetroDemo.ExampleViews.RemoteView)(target)); return; case 35: this.AboutView = ((MetroDemo.ExampleViews.AboutView)(target)); return; } this._contentLoaded = true; }
void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) { switch (connectionId) { case 1: this.RFID915 = ((RFID915.MainWindow)(target)); return; case 2: this.tabControl = ((System.Windows.Controls.TabControl)(target)); return; case 3: this.Toggle = ((MahApps.Metro.Controls.ToggleSwitch)(target)); return; case 4: this.comboBox = ((System.Windows.Controls.ComboBox)(target)); return; case 5: this.label = ((System.Windows.Controls.Label)(target)); return; case 6: this.BtnIntervalSet = ((System.Windows.Controls.Button)(target)); return; case 7: this.BtnInventory = ((System.Windows.Controls.Button)(target)); return; case 8: this.label1 = ((System.Windows.Controls.Label)(target)); return; case 9: this.LbStatus = ((System.Windows.Controls.Label)(target)); return; case 10: this.label3 = ((System.Windows.Controls.Label)(target)); return; case 11: this.LbRcode = ((System.Windows.Controls.Label)(target)); return; case 12: this.label2 = ((System.Windows.Controls.Label)(target)); return; case 13: this.LbfComAdr = ((System.Windows.Controls.Label)(target)); return; case 14: this.label4 = ((System.Windows.Controls.Label)(target)); return; case 15: this.label2_Copy = ((System.Windows.Controls.Label)(target)); return; case 16: this.LbfBaud = ((System.Windows.Controls.Label)(target)); return; case 17: this.label5 = ((System.Windows.Controls.Label)(target)); return; case 18: this.LbComOpen = ((System.Windows.Controls.Label)(target)); return; case 19: this.LbCOM = ((System.Windows.Controls.Label)(target)); return; case 20: this.listViewEPC = ((System.Windows.Controls.ListView)(target)); return; case 21: this.Tb = ((System.Windows.Controls.TextBox)(target)); return; case 22: this.LbCardNum = ((System.Windows.Controls.Label)(target)); return; case 23: this.BtnClearListViewEPC = ((System.Windows.Controls.Button)(target)); return; case 24: this.listViewProduct = ((System.Windows.Controls.ListView)(target)); return; case 25: this.theGrid = ((System.Windows.Controls.Grid)(target)); return; case 26: this.LbName = ((System.Windows.Controls.Label)(target)); return; case 27: this.LbProductID = ((System.Windows.Controls.Label)(target)); return; case 28: this.LbUnitPrice = ((System.Windows.Controls.Label)(target)); return; case 29: this.LbType = ((System.Windows.Controls.Label)(target)); return; case 30: this.LbStore = ((System.Windows.Controls.Label)(target)); return; case 31: this.TbName = ((System.Windows.Controls.TextBox)(target)); return; case 32: this.TbProductID = ((System.Windows.Controls.TextBox)(target)); return; case 33: this.TbType = ((System.Windows.Controls.TextBox)(target)); return; case 34: this.TbUnitPrice = ((System.Windows.Controls.TextBox)(target)); return; case 35: this.TbStore = ((System.Windows.Controls.TextBox)(target)); return; case 36: this.BtnDataBaseRead = ((System.Windows.Controls.Button)(target)); return; case 37: this.BtnDataBaseInsert = ((System.Windows.Controls.Button)(target)); return; case 38: this.BtnUpLoadImage = ((System.Windows.Controls.Button)(target)); return; case 39: this.ImgDefault = ((System.Windows.Controls.Image)(target)); return; case 40: this.BtnBindingTest = ((System.Windows.Controls.Button)(target)); #line 125 "..\..\MainWindow.xaml" this.BtnBindingTest.Click += new System.Windows.RoutedEventHandler(this.BtnBindingTest_Click); #line default #line hidden return; case 41: this.TbItm_CheckOut = ((MahApps.Metro.Controls.MetroTabItem)(target)); return; case 42: this.pBar = ((System.Windows.Controls.ProgressBar)(target)); return; case 43: this.Border_Category = ((System.Windows.Controls.Border)(target)); return; case 44: this.ListBox_DisplayItems = ((System.Windows.Controls.ListBox)(target)); return; case 45: this.txtBox_Search = ((System.Windows.Controls.TextBox)(target)); return; case 46: this.BtnCheckOut = ((System.Windows.Controls.Label)(target)); return; case 47: this.grid_OrderDetails = ((System.Windows.Controls.Grid)(target)); return; case 48: this.ShoppingCartContainer = ((System.Windows.Controls.Border)(target)); return; case 49: this.ListBox_ItemsInOrder = ((System.Windows.Controls.ListBox)(target)); return; case 50: this.GridCalculation = ((System.Windows.Controls.Grid)(target)); return; case 51: this.Tbk_product_typeNum = ((System.Windows.Controls.TextBlock)(target)); return; case 52: this.Tbk_product_totalNum = ((System.Windows.Controls.TextBlock)(target)); return; case 53: this.Tbk_product_discount = ((System.Windows.Controls.TextBlock)(target)); return; case 54: this.Tbk_TOTAL = ((System.Windows.Controls.TextBlock)(target)); return; case 55: this.Btn_Cancel = ((System.Windows.Controls.Label)(target)); #line 303 "..\..\MainWindow.xaml" this.Btn_Cancel.MouseLeftButtonDown += new System.Windows.Input.MouseButtonEventHandler(this.Btn_Cancel_MouseLeftButtonDown); #line default #line hidden return; case 56: this.Btn_Pay = ((System.Windows.Controls.Label)(target)); #line 306 "..\..\MainWindow.xaml" this.Btn_Pay.MouseLeftButtonDown += new System.Windows.Input.MouseButtonEventHandler(this.Btn_Pay_MouseLeftButtonDown); #line default #line hidden return; case 57: this.Grid_MsgBox = ((System.Windows.Controls.Grid)(target)); return; case 58: this.txtBlock_MsgBox_Title = ((System.Windows.Controls.TextBlock)(target)); return; case 59: this.txtBlock_MsgBox_Content = ((System.Windows.Controls.TextBlock)(target)); return; case 60: this.ImgURL = ((System.Windows.Controls.Image)(target)); return; case 61: this.Btn_MsgBox_No = ((System.Windows.Controls.Label)(target)); #line 342 "..\..\MainWindow.xaml" this.Btn_MsgBox_No.MouseLeftButtonDown += new System.Windows.Input.MouseButtonEventHandler(this.Btn_MsgBox_No_MouseLeftButtonDown); #line default #line hidden return; case 62: this.Btn_MsgBox_Yes = ((System.Windows.Controls.Label)(target)); #line 343 "..\..\MainWindow.xaml" this.Btn_MsgBox_Yes.MouseLeftButtonDown += new System.Windows.Input.MouseButtonEventHandler(this.Btn_MsgBox_Yes_MouseLeftButtonDown); #line default #line hidden return; case 63: this.TbItm_Help = ((MahApps.Metro.Controls.MetroTabItem)(target)); return; case 64: this.Btn_Help = ((System.Windows.Controls.Label)(target)); return; } this._contentLoaded = true; }
void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) { switch (connectionId) { case 1: this.vmMainWindow = ((CIMS.ViewModel.MainWindowViewModel)(target)); return; case 2: this.mainTab = ((MahApps.Metro.Controls.MetroAnimatedTabControl)(target)); return; case 3: this.logIn = ((MahApps.Metro.Controls.MetroTabItem)(target)); return; case 4: this.ucLogIn = ((CIMS.View.LogInView)(target)); return; case 5: this.home = ((MahApps.Metro.Controls.MetroTabItem)(target)); return; case 6: this.ucHome = ((CIMS.View.HomeView)(target)); return; case 7: this.user = ((MahApps.Metro.Controls.MetroTabItem)(target)); return; case 8: this.ucUser = ((CIMS.View.UserView)(target)); return; case 9: this.employee = ((MahApps.Metro.Controls.MetroTabItem)(target)); return; case 10: this.ucEmployee = ((CIMS.View.EmployeeView)(target)); return; case 11: this.supplier = ((MahApps.Metro.Controls.MetroTabItem)(target)); return; case 12: this.ucSupplier = ((CIMS.View.SupplierView)(target)); return; case 13: this.unit = ((MahApps.Metro.Controls.MetroTabItem)(target)); return; case 14: this.ucUnit = ((CIMS.View.UnitView)(target)); return; case 15: this.product = ((MahApps.Metro.Controls.MetroTabItem)(target)); return; case 16: this.bom = ((MahApps.Metro.Controls.MetroTabItem)(target)); return; case 17: this.transaction = ((MahApps.Metro.Controls.MetroTabItem)(target)); return; case 18: this.report = ((MahApps.Metro.Controls.MetroTabItem)(target)); return; case 19: this.database = ((MahApps.Metro.Controls.MetroTabItem)(target)); return; case 20: this.userFlyOut = ((MahApps.Metro.Controls.Flyout)(target)); return; case 21: this.homeButton = ((System.Windows.Controls.Primitives.ToggleButton)(target)); #line 71 "..\..\..\View\MainWindow.xaml" this.homeButton.Click += new System.Windows.RoutedEventHandler(this.HomeButton_Click); #line default #line hidden return; case 22: this.profileButton = ((System.Windows.Controls.Primitives.ToggleButton)(target)); return; } this._contentLoaded = true; }
void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) { switch (connectionId) { case 1: #line 9 "..\..\StudyScreen.xaml" ((SoBasicEnglish.StudyScreen)(target)).Loaded += new System.Windows.RoutedEventHandler(this.MetroWindow_Loaded); #line default #line hidden return; case 2: this.btnsetting = ((System.Windows.Controls.Button)(target)); return; case 3: #line 52 "..\..\StudyScreen.xaml" ((System.Windows.Controls.Image)(target)).MouseDown += new System.Windows.Input.MouseButtonEventHandler(this.Image_MouseDown); #line default #line hidden return; case 4: this.txtLessonName = ((System.Windows.Controls.TextBlock)(target)); return; case 5: #line 56 "..\..\StudyScreen.xaml" ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.Button_Click_2); #line default #line hidden return; case 6: this.tcLesson = ((System.Windows.Controls.TabControl)(target)); return; case 7: this.tigettingReady = ((System.Windows.Controls.TabItem)(target)); return; case 8: this.btnSpeakGetReadyQuestion = ((System.Windows.Controls.Button)(target)); #line 79 "..\..\StudyScreen.xaml" this.btnSpeakGetReadyQuestion.Click += new System.Windows.RoutedEventHandler(this.btnSpeakGetReadyQuestion_Click); #line default #line hidden return; case 9: #line 92 "..\..\StudyScreen.xaml" ((System.Windows.Controls.Primitives.ToggleButton)(target)).Checked += new System.Windows.RoutedEventHandler(this.ToggleButton_Checked); #line default #line hidden #line 93 "..\..\StudyScreen.xaml" ((System.Windows.Controls.Primitives.ToggleButton)(target)).Unchecked += new System.Windows.RoutedEventHandler(this.ToggleButton_Unchecked); #line default #line hidden return; case 10: this.btnAutoNextGetReadyQuestion = ((System.Windows.Controls.Primitives.ToggleButton)(target)); #line 102 "..\..\StudyScreen.xaml" this.btnAutoNextGetReadyQuestion.Checked += new System.Windows.RoutedEventHandler(this.btnAutoNextGetReadyQuestion_Checked); #line default #line hidden #line 103 "..\..\StudyScreen.xaml" this.btnAutoNextGetReadyQuestion.Unchecked += new System.Windows.RoutedEventHandler(this.btnAutoNextGetReadyQuestion_Unchecked); #line default #line hidden return; case 11: this.btnNextQuestionGetReady = ((MahApps.Metro.Controls.Tile)(target)); #line 139 "..\..\StudyScreen.xaml" this.btnNextQuestionGetReady.Click += new System.Windows.RoutedEventHandler(this.Tile_Click_1); #line default #line hidden return; case 12: this.lbGettingReadyChoices = ((System.Windows.Controls.ListBox)(target)); #line 147 "..\..\StudyScreen.xaml" this.lbGettingReadyChoices.SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.lbGettingReadyChoices_SelectionChanged); #line default #line hidden return; case 13: this.tikeyWord = ((System.Windows.Controls.TabItem)(target)); return; case 14: #line 190 "..\..\StudyScreen.xaml" ((System.Windows.Controls.TabControl)(target)).SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.MetroAnimatedSingleRowTabControl_SelectionChanged); #line default #line hidden return; case 15: this.lvKeywords = ((System.Windows.Controls.ListView)(target)); #line 202 "..\..\StudyScreen.xaml" this.lvKeywords.SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.lvKeywords_SelectionChanged); #line default #line hidden return; case 16: this.tiKeyWordEx = ((MahApps.Metro.Controls.MetroTabItem)(target)); return; case 17: this.btnHideKeyWordContent = ((System.Windows.Controls.Primitives.ToggleButton)(target)); #line 265 "..\..\StudyScreen.xaml" this.btnHideKeyWordContent.Checked += new System.Windows.RoutedEventHandler(this.btnHideKeyWordContent_Checked); #line default #line hidden #line 266 "..\..\StudyScreen.xaml" this.btnHideKeyWordContent.Unchecked += new System.Windows.RoutedEventHandler(this.btnHideKeyWordContent_Unchecked); #line default #line hidden return; case 18: this.btnAutoNextKeyWordEx = ((System.Windows.Controls.Primitives.ToggleButton)(target)); #line 273 "..\..\StudyScreen.xaml" this.btnAutoNextKeyWordEx.Checked += new System.Windows.RoutedEventHandler(this.btnAutoNextKeyWordEx_Checked); #line default #line hidden #line 274 "..\..\StudyScreen.xaml" this.btnAutoNextKeyWordEx.Unchecked += new System.Windows.RoutedEventHandler(this.btnAutoNextKeyWordEx_Unchecked); #line default #line hidden return; case 19: #line 289 "..\..\StudyScreen.xaml" ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.Button_Click); #line default #line hidden return; case 20: this.btnNextKeywordQues = ((MahApps.Metro.Controls.Tile)(target)); #line 305 "..\..\StudyScreen.xaml" this.btnNextKeywordQues.Click += new System.Windows.RoutedEventHandler(this.btnNextKeywordQues_Click); #line default #line hidden return; case 21: this.lbKeyWordExChoices = ((System.Windows.Controls.ListBox)(target)); #line 313 "..\..\StudyScreen.xaml" this.lbKeyWordExChoices.SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.lbKeyWordExChoices_SelectionChanged); #line default #line hidden return; case 22: this.tiSentence = ((System.Windows.Controls.TabItem)(target)); return; case 23: #line 360 "..\..\StudyScreen.xaml" ((System.Windows.Controls.TabControl)(target)).SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.MetroAnimatedSingleRowTabControl_SelectionChanged); #line default #line hidden return; case 24: this.SentenceWrap = ((System.Windows.Controls.ItemsControl)(target)); return; case 25: #line 392 "..\..\StudyScreen.xaml" ((System.Windows.Controls.GroupBox)(target)).MouseUp += new System.Windows.Input.MouseButtonEventHandler(this.GroupBox_MouseUp); #line default #line hidden return; case 26: this.lvSentences = ((System.Windows.Controls.ListView)(target)); return; case 28: this.btnResetDoingSentenceEx = ((System.Windows.Controls.Button)(target)); #line 433 "..\..\StudyScreen.xaml" this.btnResetDoingSentenceEx.Click += new System.Windows.RoutedEventHandler(this.btnResetDoingSentenceEx_Click); #line default #line hidden return; case 29: this.btnSubmitDoingSentenceEx = ((System.Windows.Controls.Button)(target)); #line 436 "..\..\StudyScreen.xaml" this.btnSubmitDoingSentenceEx.Click += new System.Windows.RoutedEventHandler(this.btnSubmitDoingSentenceEx_Click); #line default #line hidden return; case 30: this.lvSentenceExList = ((System.Windows.Controls.ListView)(target)); return; case 31: this.btnRePlayAudio = ((System.Windows.Controls.Button)(target)); #line 492 "..\..\StudyScreen.xaml" this.btnRePlayAudio.Click += new System.Windows.RoutedEventHandler(this.btnRePlayAudio_Click); #line default #line hidden return; case 32: this.btnPlayAudio = ((System.Windows.Controls.Button)(target)); #line 495 "..\..\StudyScreen.xaml" this.btnPlayAudio.Click += new System.Windows.RoutedEventHandler(this.btnPlayAudio_Click); #line default #line hidden return; case 33: this.sliProgress = ((System.Windows.Controls.Slider)(target)); #line 501 "..\..\StudyScreen.xaml" this.sliProgress.ValueChanged += new System.Windows.RoutedPropertyChangedEventHandler <double>(this.sliProgress_ValueChanged); #line default #line hidden return; case 34: this.tcListen = ((System.Windows.Controls.TabControl)(target)); return; case 35: this.tiListenPart1 = ((System.Windows.Controls.TabItem)(target)); return; case 36: this.btnResetListenSentenceEx = ((System.Windows.Controls.Button)(target)); #line 526 "..\..\StudyScreen.xaml" this.btnResetListenSentenceEx.Click += new System.Windows.RoutedEventHandler(this.btnResetListenSentenceEx_Click); #line default #line hidden return; case 37: this.btnSubmitListenSentenceEx = ((System.Windows.Controls.Button)(target)); #line 529 "..\..\StudyScreen.xaml" this.btnSubmitListenSentenceEx.Click += new System.Windows.RoutedEventHandler(this.btnSubmitListenSentenceEx_Click); #line default #line hidden return; case 38: this.lvListeningExList = ((System.Windows.Controls.ListView)(target)); return; case 39: this.btnResetListenPart2SentenceEx = ((System.Windows.Controls.Button)(target)); #line 576 "..\..\StudyScreen.xaml" this.btnResetListenPart2SentenceEx.Click += new System.Windows.RoutedEventHandler(this.btnResetListenPart2SentenceEx_Click); #line default #line hidden return; case 40: this.btnSubmitListenPart2SentenceEx = ((System.Windows.Controls.Button)(target)); #line 579 "..\..\StudyScreen.xaml" this.btnSubmitListenPart2SentenceEx.Click += new System.Windows.RoutedEventHandler(this.btnSubmitListenPart2SentenceEx_Click); #line default #line hidden return; case 41: this.lvListenPart2QuestionList = ((System.Windows.Controls.ListView)(target)); return; case 42: this.tiGrammar = ((System.Windows.Controls.TabItem)(target)); return; case 43: this.tcGrammar = ((System.Windows.Controls.TabControl)(target)); return; case 44: this.dvGrammar = ((System.Windows.Controls.DocumentViewer)(target)); return; case 45: this.btnResetGrammarEx = ((System.Windows.Controls.Button)(target)); #line 632 "..\..\StudyScreen.xaml" this.btnResetGrammarEx.Click += new System.Windows.RoutedEventHandler(this.btnResetGrammarEx_Click); #line default #line hidden return; case 46: this.btnSubmitGrammarEx = ((System.Windows.Controls.Button)(target)); #line 635 "..\..\StudyScreen.xaml" this.btnSubmitGrammarEx.Click += new System.Windows.RoutedEventHandler(this.btnSubmitGrammarEx_Click); #line default #line hidden return; case 47: this.lvGrammarExList = ((System.Windows.Controls.ListView)(target)); return; case 48: this.flRating = ((MahApps.Metro.Controls.Flyout)(target)); return; case 49: this.rtLesson = ((SoBasicEnglish.Rating)(target)); return; case 50: this.tbFeedBackContent = ((System.Windows.Controls.TextBox)(target)); return; case 51: #line 722 "..\..\StudyScreen.xaml" ((MahApps.Metro.Controls.Tile)(target)).Click += new System.Windows.RoutedEventHandler(this.Tile_Click_2); #line default #line hidden return; case 52: this.lvLessonRating = ((System.Windows.Controls.ListView)(target)); return; case 53: this.btnCloseRating = ((MahApps.Metro.Controls.Tile)(target)); #line 784 "..\..\StudyScreen.xaml" this.btnCloseRating.Click += new System.Windows.RoutedEventHandler(this.btnCloseRating_Click); #line default #line hidden return; case 54: this.flProccess = ((MahApps.Metro.Controls.Flyout)(target)); return; case 55: this.dataGroupedGrid = ((System.Windows.Controls.DataGrid)(target)); return; } this._contentLoaded = true; }
void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) { switch (connectionId) { case 1: #line 10 "..\..\MainWindow.xaml" ((DES_Algorithm.MainWindow)(target)).MouseDown += new System.Windows.Input.MouseButtonEventHandler(this.Window_MouseDown); #line default #line hidden return; case 2: this.bor = ((System.Windows.Controls.Border)(target)); return; case 3: this.maingrid = ((System.Windows.Controls.Grid)(target)); return; case 4: this.lblcrypt = ((System.Windows.Controls.Label)(target)); return; case 5: this.btnclose = ((System.Windows.Controls.Button)(target)); #line 249 "..\..\MainWindow.xaml" this.btnclose.Click += new System.Windows.RoutedEventHandler(this.btnClose_Click); #line default #line hidden return; case 6: this.btnmax = ((System.Windows.Controls.Button)(target)); #line 297 "..\..\MainWindow.xaml" this.btnmax.Click += new System.Windows.RoutedEventHandler(this.btnmaximize_Click); #line default #line hidden return; case 7: this.btnmin = ((System.Windows.Controls.Button)(target)); #line 313 "..\..\MainWindow.xaml" this.btnmin.Click += new System.Windows.RoutedEventHandler(this.btnminimize_Click); #line default #line hidden return; case 8: this.tabcontrol = ((MahApps.Metro.Controls.MetroAnimatedSingleRowTabControl)(target)); return; case 9: this.tbcdes = ((MahApps.Metro.Controls.MetroTabItem)(target)); #line 324 "..\..\MainWindow.xaml" this.tbcdes.GotFocus += new System.Windows.RoutedEventHandler(this.tbcdes_GotFocus); #line default #line hidden return; case 10: this.btnimport = ((System.Windows.Controls.Button)(target)); #line 341 "..\..\MainWindow.xaml" this.btnimport.Click += new System.Windows.RoutedEventHandler(this.btnimport_Click); #line default #line hidden return; case 11: this.tabimportfile = ((MahApps.Metro.Controls.MetroAnimatedSingleRowTabControl)(target)); return; case 12: this.rdbfile = ((System.Windows.Controls.RadioButton)(target)); #line 396 "..\..\MainWindow.xaml" this.rdbfile.Checked += new System.Windows.RoutedEventHandler(this.rdbfile_Checked); #line default #line hidden return; case 13: this.rdbtext = ((System.Windows.Controls.RadioButton)(target)); #line 397 "..\..\MainWindow.xaml" this.rdbtext.Checked += new System.Windows.RoutedEventHandler(this.rdbtext_Checked); #line default #line hidden return; case 14: this.btnencrypt = ((System.Windows.Controls.Button)(target)); #line 408 "..\..\MainWindow.xaml" this.btnencrypt.Click += new System.Windows.RoutedEventHandler(this.btnencrypt_Click); #line default #line hidden return; case 15: this.btndecrypt = ((System.Windows.Controls.Button)(target)); #line 420 "..\..\MainWindow.xaml" this.btndecrypt.Click += new System.Windows.RoutedEventHandler(this.btndecrypt_Click); #line default #line hidden return; case 16: this.txtkey = ((System.Windows.Controls.TextBox)(target)); return; case 17: this.txtiv = ((System.Windows.Controls.TextBox)(target)); return; case 18: this.tabparagraph = ((MahApps.Metro.Controls.MetroAnimatedSingleRowTabControl)(target)); return; case 19: this.tabencrypt = ((MahApps.Metro.Controls.MetroAnimatedSingleRowTabControl)(target)); return; case 20: this.btnexportencrypt = ((System.Windows.Controls.Button)(target)); #line 481 "..\..\MainWindow.xaml" this.btnexportencrypt.Click += new System.Windows.RoutedEventHandler(this.btnexportencrypt_Click); #line default #line hidden return; case 21: this.tabdecrypt = ((MahApps.Metro.Controls.MetroAnimatedSingleRowTabControl)(target)); return; case 22: this.btnexportdecrypt = ((System.Windows.Controls.Button)(target)); #line 510 "..\..\MainWindow.xaml" this.btnexportdecrypt.Click += new System.Windows.RoutedEventHandler(this.btnexportdecrypt_Click); #line default #line hidden return; case 23: this.tbci3des = ((MahApps.Metro.Controls.MetroTabItem)(target)); #line 526 "..\..\MainWindow.xaml" this.tbci3des.GotFocus += new System.Windows.RoutedEventHandler(this.tbci3des_GotFocus); #line default #line hidden return; case 24: this.btnimport3DES = ((System.Windows.Controls.Button)(target)); #line 543 "..\..\MainWindow.xaml" this.btnimport3DES.Click += new System.Windows.RoutedEventHandler(this.btnimport3DES_Click); #line default #line hidden return; case 25: this.tabimportfile3DES = ((MahApps.Metro.Controls.MetroAnimatedSingleRowTabControl)(target)); return; case 26: this.rdbfile3DES = ((System.Windows.Controls.RadioButton)(target)); #line 598 "..\..\MainWindow.xaml" this.rdbfile3DES.Checked += new System.Windows.RoutedEventHandler(this.rdbfile3DES_Checked); #line default #line hidden return; case 27: this.rdbtext3DES = ((System.Windows.Controls.RadioButton)(target)); #line 599 "..\..\MainWindow.xaml" this.rdbtext3DES.Checked += new System.Windows.RoutedEventHandler(this.rdbtext3DES_Checked); #line default #line hidden return; case 28: this.btnencrypt3DES = ((System.Windows.Controls.Button)(target)); #line 610 "..\..\MainWindow.xaml" this.btnencrypt3DES.Click += new System.Windows.RoutedEventHandler(this.btnencrypt3DES_Click); #line default #line hidden return; case 29: this.btndecrypt3DES = ((System.Windows.Controls.Button)(target)); #line 622 "..\..\MainWindow.xaml" this.btndecrypt3DES.Click += new System.Windows.RoutedEventHandler(this.btndecrypt3DES_Click); #line default #line hidden return; case 30: this.txtkey3DES = ((System.Windows.Controls.TextBox)(target)); return; case 31: this.txtiv3DES = ((System.Windows.Controls.TextBox)(target)); return; case 32: this.tabparagraph3DES = ((MahApps.Metro.Controls.MetroAnimatedSingleRowTabControl)(target)); return; case 33: this.tabencrypt3DES = ((MahApps.Metro.Controls.MetroAnimatedSingleRowTabControl)(target)); return; case 34: this.btnexportencrypt3DES = ((System.Windows.Controls.Button)(target)); #line 683 "..\..\MainWindow.xaml" this.btnexportencrypt3DES.Click += new System.Windows.RoutedEventHandler(this.btnexportencrypt3DES_Click); #line default #line hidden return; case 35: this.tabdecrypt3DES = ((MahApps.Metro.Controls.MetroAnimatedSingleRowTabControl)(target)); return; case 36: this.btnexportdecrypt3DES = ((System.Windows.Controls.Button)(target)); #line 712 "..\..\MainWindow.xaml" this.btnexportdecrypt3DES.Click += new System.Windows.RoutedEventHandler(this.btnexportdecrypt3DES_Click); #line default #line hidden return; } this._contentLoaded = true; }
void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) { switch (connectionId) { case 1: #line 13 "..\..\..\Window1.xaml" ((VIDGS配置软件.SetParameter)(target)).Loaded += new System.Windows.RoutedEventHandler(this.SetParameter_Loaded); #line default #line hidden return; case 2: #line 21 "..\..\..\Window1.xaml" ((System.ComponentModel.BackgroundWorker)(target)).DoWork += new System.ComponentModel.DoWorkEventHandler(this.backgroundWorker_DoWork); #line default #line hidden #line 21 "..\..\..\Window1.xaml" ((System.ComponentModel.BackgroundWorker)(target)).ProgressChanged += new System.ComponentModel.ProgressChangedEventHandler(this.backgroundWorker_ProgressChanged); #line default #line hidden #line 22 "..\..\..\Window1.xaml" ((System.ComponentModel.BackgroundWorker)(target)).RunWorkerCompleted += new System.ComponentModel.RunWorkerCompletedEventHandler(this.backgroundWorker_RunWorkerCompleted); #line default #line hidden return; case 3: this.Block1 = ((System.Windows.Controls.TextBlock)(target)); return; case 4: this.Block2 = ((System.Windows.Controls.TextBlock)(target)); return; case 5: this.Group2d = ((System.Windows.Controls.GroupBox)(target)); return; case 6: this.border2d = ((System.Windows.Controls.Border)(target)); return; case 7: this.Image2dBox = ((System.Windows.Controls.Image)(target)); #line 85 "..\..\..\Window1.xaml" this.Image2dBox.MouseWheel += new System.Windows.Input.MouseWheelEventHandler(this.Image2dBox_MouseWheel); #line default #line hidden #line 85 "..\..\..\Window1.xaml" this.Image2dBox.MouseMove += new System.Windows.Input.MouseEventHandler(this.Image2dBox_MouseMove); #line default #line hidden #line 87 "..\..\..\Window1.xaml" this.Image2dBox.MouseLeftButtonDown += new System.Windows.Input.MouseButtonEventHandler(this.Image2dBox_MouseLeftButtonDown); #line default #line hidden #line 87 "..\..\..\Window1.xaml" this.Image2dBox.MouseLeftButtonUp += new System.Windows.Input.MouseButtonEventHandler(this.Image2dBox_MouseLeftButtonUp); #line default #line hidden #line 88 "..\..\..\Window1.xaml" this.Image2dBox.MouseRightButtonDown += new System.Windows.Input.MouseButtonEventHandler(this.Image2dBox_MouseRightButtonDown); #line default #line hidden #line 88 "..\..\..\Window1.xaml" this.Image2dBox.MouseRightButtonUp += new System.Windows.Input.MouseButtonEventHandler(this.Image2dBox_MouseRightButtonUp); #line default #line hidden #line 89 "..\..\..\Window1.xaml" this.Image2dBox.ImageFailed += new System.EventHandler <System.Windows.ExceptionRoutedEventArgs>(this.Image2dBox_ImageFailed); #line default #line hidden return; case 8: this.Xaxiszoom = ((MahApps.Metro.Controls.ToggleSwitchButton)(target)); return; case 9: this.Yaxiszoom = ((MahApps.Metro.Controls.ToggleSwitch)(target)); return; case 10: this.labelPosition = ((System.Windows.Controls.Label)(target)); return; case 11: this.button_Clc = ((System.Windows.Controls.Button)(target)); #line 103 "..\..\..\Window1.xaml" this.button_Clc.Click += new System.Windows.RoutedEventHandler(this.button_Clc_Click); #line default #line hidden return; case 12: this.button_Save = ((System.Windows.Controls.Button)(target)); #line 105 "..\..\..\Window1.xaml" this.button_Save.Click += new System.Windows.RoutedEventHandler(this.button_Save_Click); #line default #line hidden return; case 13: this.button_Esc = ((System.Windows.Controls.Button)(target)); #line 107 "..\..\..\Window1.xaml" this.button_Esc.Click += new System.Windows.RoutedEventHandler(this.button_Esc_Click); #line default #line hidden return; case 14: this.XNumericUpDown = ((MahApps.Metro.Controls.NumericUpDown)(target)); return; case 15: this.button_2dScan0 = ((System.Windows.Controls.Button)(target)); #line 127 "..\..\..\Window1.xaml" this.button_2dScan0.Click += new System.Windows.RoutedEventHandler(this.button_2dScan_Click); #line default #line hidden return; case 16: this.button_Back0 = ((System.Windows.Controls.Button)(target)); #line 134 "..\..\..\Window1.xaml" this.button_Back0.Click += new System.Windows.RoutedEventHandler(this.button_Back0_Click); #line default #line hidden return; case 17: this.ForBack0_dis27 = ((System.Windows.Controls.TextBlock)(target)); return; case 18: this.button_RoughlyBack0 = ((System.Windows.Controls.Button)(target)); return; case 19: this.button_Set0 = ((System.Windows.Controls.Button)(target)); #line 156 "..\..\..\Window1.xaml" this.button_Set0.Click += new System.Windows.RoutedEventHandler(this.button_Set0_Click); #line default #line hidden return; case 20: this.button_RightMove = ((System.Windows.Controls.Button)(target)); return; case 21: this.button_DownMove = ((System.Windows.Controls.Button)(target)); return; case 22: this.button_LeftMove = ((System.Windows.Controls.Button)(target)); return; case 23: this.button_UpMove = ((System.Windows.Controls.Button)(target)); return; case 24: this.ellipse = ((System.Windows.Shapes.Ellipse)(target)); return; case 25: this.SetTabControl = ((MahApps.Metro.Controls.MetroTabControl)(target)); return; case 26: this.Tab1 = ((MahApps.Metro.Controls.MetroTabItem)(target)); return; case 27: this.button_ConfirmRect = ((System.Windows.Controls.Button)(target)); #line 229 "..\..\..\Window1.xaml" this.button_ConfirmRect.Click += new System.Windows.RoutedEventHandler(this.button_ConfirmRect_Click); #line default #line hidden return; case 28: this.ForConfirmRect31 = ((System.Windows.Controls.TextBlock)(target)); return; case 29: this.button_AutoCalibration = ((System.Windows.Controls.Button)(target)); #line 235 "..\..\..\Window1.xaml" this.button_AutoCalibration.Click += new System.Windows.RoutedEventHandler(this.button_AutoCalibration_Click); #line default #line hidden return; case 30: this.ForAutoCalibration29 = ((System.Windows.Controls.TextBlock)(target)); return; case 31: this.button_VerticalCalibration = ((System.Windows.Controls.Button)(target)); #line 241 "..\..\..\Window1.xaml" this.button_VerticalCalibration.Click += new System.Windows.RoutedEventHandler(this.button_VerticalCalibration_Click); #line default #line hidden return; case 32: this.ForVerticalCalibration30 = ((System.Windows.Controls.TextBlock)(target)); return; case 33: this.Tab2 = ((MahApps.Metro.Controls.MetroTabItem)(target)); return; case 34: this.button_WalkSet = ((System.Windows.Controls.Button)(target)); #line 269 "..\..\..\Window1.xaml" this.button_WalkSet.Click += new System.Windows.RoutedEventHandler(this.button_WalkSet_Click); #line default #line hidden return; case 35: this.button_WalkTest = ((System.Windows.Controls.Button)(target)); #line 272 "..\..\..\Window1.xaml" this.button_WalkTest.Click += new System.Windows.RoutedEventHandler(this.button_WalkTest_Click); #line default #line hidden return; case 36: this.button_WalkStop = ((System.Windows.Controls.Button)(target)); #line 275 "..\..\..\Window1.xaml" this.button_WalkStop.Click += new System.Windows.RoutedEventHandler(this.button_WalkStop_Click); #line default #line hidden return; case 37: this.button_WalkConfirm = ((System.Windows.Controls.Button)(target)); #line 278 "..\..\..\Window1.xaml" this.button_WalkConfirm.Click += new System.Windows.RoutedEventHandler(this.button_WalkConfirm_Click); #line default #line hidden return; case 38: this.button_WalkDelete = ((System.Windows.Controls.Button)(target)); #line 281 "..\..\..\Window1.xaml" this.button_WalkDelete.Click += new System.Windows.RoutedEventHandler(this.button_WalkDelete_Click); #line default #line hidden return; case 39: this.button_WalkNum = ((System.Windows.Controls.Button)(target)); #line 285 "..\..\..\Window1.xaml" this.button_WalkNum.Click += new System.Windows.RoutedEventHandler(this.button_WalkNum_Click); #line default #line hidden return; case 40: this.Fordependcystopline = ((System.Windows.Controls.Label)(target)); return; case 41: this.Stop_Y = ((System.Windows.Controls.TextBox)(target)); #line 290 "..\..\..\Window1.xaml" this.Stop_Y.TextChanged += new System.Windows.Controls.TextChangedEventHandler(this.Install_height_TextChanged); #line default #line hidden #line 290 "..\..\..\Window1.xaml" this.Stop_Y.KeyDown += new System.Windows.Input.KeyEventHandler(this.Install_height_KeyDown); #line default #line hidden return; case 42: this.drpModel = ((System.Windows.Controls.ComboBox)(target)); return; case 43: this.Number_GuideLine = ((System.Windows.Controls.TextBox)(target)); return; case 44: this.button_ModelGuide = ((System.Windows.Controls.Button)(target)); #line 294 "..\..\..\Window1.xaml" this.button_ModelGuide.Click += new System.Windows.RoutedEventHandler(this.button_ModelGuide_Click); #line default #line hidden return; case 45: this.button_NumberGuide = ((System.Windows.Controls.Button)(target)); #line 300 "..\..\..\Window1.xaml" this.button_NumberGuide.Click += new System.Windows.RoutedEventHandler(this.button_NumberGuide_Click); #line default #line hidden return; case 46: this.button_TestConfirmPoint = ((System.Windows.Controls.Button)(target)); #line 306 "..\..\..\Window1.xaml" this.button_TestConfirmPoint.Click += new System.Windows.RoutedEventHandler(this.button_TestConfirmPoint_Click); #line default #line hidden return; case 47: this.Tab3 = ((MahApps.Metro.Controls.MetroTabItem)(target)); return; case 48: this.button_ReadRect = ((System.Windows.Controls.Button)(target)); #line 331 "..\..\..\Window1.xaml" this.button_ReadRect.Click += new System.Windows.RoutedEventHandler(this.button_ReadRect_Click); #line default #line hidden return; case 49: this.button_Proof = ((System.Windows.Controls.Button)(target)); #line 333 "..\..\..\Window1.xaml" this.button_Proof.Click += new System.Windows.RoutedEventHandler(this.button_Proof_Click); #line default #line hidden return; case 50: this.button_PointMeasure = ((System.Windows.Controls.Button)(target)); #line 336 "..\..\..\Window1.xaml" this.button_PointMeasure.Click += new System.Windows.RoutedEventHandler(this.button_PointMeasure_Click); #line default #line hidden return; case 51: this.mid_num = ((System.Windows.Controls.Label)(target)); return; case 52: this.button_OpenRed = ((System.Windows.Controls.Button)(target)); #line 343 "..\..\..\Window1.xaml" this.button_OpenRed.Click += new System.Windows.RoutedEventHandler(this.button_OpenRed_Click); #line default #line hidden return; case 53: this.button_CloseRed = ((System.Windows.Controls.Button)(target)); #line 348 "..\..\..\Window1.xaml" this.button_CloseRed.Click += new System.Windows.RoutedEventHandler(this.button_CloseRed_Click); #line default #line hidden return; case 54: this.button_WindowScan = ((System.Windows.Controls.Button)(target)); #line 356 "..\..\..\Window1.xaml" this.button_WindowScan.Click += new System.Windows.RoutedEventHandler(this.button_WindowScan_Click); #line default #line hidden return; case 55: this.button_GuideLineMove = ((System.Windows.Controls.Button)(target)); #line 358 "..\..\..\Window1.xaml" this.button_GuideLineMove.Click += new System.Windows.RoutedEventHandler(this.button_GuideLineMove_Click); #line default #line hidden return; case 56: this.TextBox_GuideLineMove = ((System.Windows.Controls.TextBox)(target)); return; case 57: this.button_StopLineMove = ((System.Windows.Controls.Button)(target)); #line 365 "..\..\..\Window1.xaml" this.button_StopLineMove.Click += new System.Windows.RoutedEventHandler(this.button_StopLineMove_Click); #line default #line hidden return; case 58: this.TextBox_StopLineMove = ((System.Windows.Controls.TextBox)(target)); return; case 59: this.Tab4 = ((MahApps.Metro.Controls.MetroTabItem)(target)); return; case 60: this.drpdistance = ((System.Windows.Controls.TextBox)(target)); #line 404 "..\..\..\Window1.xaml" this.drpdistance.KeyDown += new System.Windows.Input.KeyEventHandler(this.Install_height_KeyDown); #line default #line hidden #line 404 "..\..\..\Window1.xaml" this.drpdistance.TextChanged += new System.Windows.Controls.TextChangedEventHandler(this.Install_height_TextChanged); #line default #line hidden return; case 61: this.drpGuide = ((System.Windows.Controls.ComboBox)(target)); return; case 62: this.drpStop = ((System.Windows.Controls.ComboBox)(target)); return; case 63: this.NumStop = ((System.Windows.Controls.TextBlock)(target)); return; case 64: this.Install_height = ((System.Windows.Controls.TextBox)(target)); #line 462 "..\..\..\Window1.xaml" this.Install_height.KeyDown += new System.Windows.Input.KeyEventHandler(this.Install_height_KeyDown); #line default #line hidden #line 462 "..\..\..\Window1.xaml" this.Install_height.TextChanged += new System.Windows.Controls.TextChangedEventHandler(this.Install_height_TextChanged); #line default #line hidden return; case 65: this.Object_height = ((System.Windows.Controls.TextBox)(target)); #line 467 "..\..\..\Window1.xaml" this.Object_height.KeyDown += new System.Windows.Input.KeyEventHandler(this.Install_height_KeyDown); #line default #line hidden #line 467 "..\..\..\Window1.xaml" this.Object_height.TextChanged += new System.Windows.Controls.TextChangedEventHandler(this.Install_height_TextChanged); #line default #line hidden return; case 66: this.Object_distance = ((System.Windows.Controls.TextBox)(target)); #line 472 "..\..\..\Window1.xaml" this.Object_distance.KeyDown += new System.Windows.Input.KeyEventHandler(this.Install_height_KeyDown); #line default #line hidden #line 472 "..\..\..\Window1.xaml" this.Object_distance.TextChanged += new System.Windows.Controls.TextChangedEventHandler(this.Install_height_TextChanged); #line default #line hidden return; case 67: this.edit_StandHigh = ((System.Windows.Controls.TextBox)(target)); #line 477 "..\..\..\Window1.xaml" this.edit_StandHigh.KeyDown += new System.Windows.Input.KeyEventHandler(this.Install_height_KeyDown); #line default #line hidden #line 477 "..\..\..\Window1.xaml" this.edit_StandHigh.TextChanged += new System.Windows.Controls.TextChangedEventHandler(this.Install_height_TextChanged); #line default #line hidden return; } this._contentLoaded = true; }
void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) { switch (connectionId) { case 1: this.MainMenuPages = ((MahApps.Metro.Controls.MetroAnimatedTabControl)(target)); return; case 2: this.MainMenu = ((MahApps.Metro.Controls.MetroTabItem)(target)); return; case 3: this.textBox_gamelocation = ((System.Windows.Controls.TextBox)(target)); #line 30 "..\..\..\Windows\MyMainMenu.xaml" this.textBox_gamelocation.TextChanged += new System.Windows.Controls.TextChangedEventHandler(this.textBox_gamelocation_TextChanged); #line default #line hidden return; case 4: this.browse_gamelocation = ((System.Windows.Controls.Button)(target)); return; case 5: this.textBox_outputfile = ((System.Windows.Controls.TextBox)(target)); #line 35 "..\..\..\Windows\MyMainMenu.xaml" this.textBox_outputfile.TextChanged += new System.Windows.Controls.TextChangedEventHandler(this.textBox_outputfile_TextChanged); #line default #line hidden return; case 6: this.browse_outputfile = ((System.Windows.Controls.Button)(target)); return; case 7: this.comboBox_ClientRegion = ((System.Windows.Controls.ComboBox)(target)); #line 47 "..\..\..\Windows\MyMainMenu.xaml" this.comboBox_ClientRegion.SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.ComboBox_ClientRegion_SelectionChanged); #line default #line hidden return; case 8: this.comboBox_TranslationLanguage = ((System.Windows.Controls.ComboBox)(target)); #line 49 "..\..\..\Windows\MyMainMenu.xaml" this.comboBox_TranslationLanguage.SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.comboBox_TranslationLanguage_SelectionChanged); #line default #line hidden return; case 9: this.updateTranslation = ((System.Windows.Controls.Button)(target)); return; case 10: this.buildPatch = ((System.Windows.Controls.Button)(target)); return; case 11: this.Working = ((MahApps.Metro.Controls.MetroTabItem)(target)); return; case 12: this.building_currentitem = ((System.Windows.Controls.Label)(target)); return; case 13: this.progressInfinite = ((MahApps.Metro.Controls.MetroTabItem)(target)); return; case 14: this.progressPercent = ((MahApps.Metro.Controls.MetroTabItem)(target)); return; case 15: this.building_progressbar = ((MahApps.Metro.Controls.MetroProgressBar)(target)); return; case 16: this.cancelProgress = ((System.Windows.Controls.Button)(target)); return; } this._contentLoaded = true; }
internal TabItemClosingEventArgs(MetroTabItem item) { ClosingTabItem = item; }
void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) { switch (connectionId) { case 1: #line 11 "..\..\AppsGroupPackage.xaml" ((AppsExplorer.AppsGroupPackage)(target)).Closing += new System.ComponentModel.CancelEventHandler(this.MetroWindow_Closing); #line default #line hidden return; case 2: this.tabmain = ((MahApps.Metro.Controls.MetroTabControl)(target)); return; case 3: this.saveTab = ((MahApps.Metro.Controls.MetroTabItem)(target)); return; case 4: this.saveAsAppZipPackagePath = ((System.Windows.Controls.Button)(target)); #line 20 "..\..\AppsGroupPackage.xaml" this.saveAsAppZipPackagePath.Click += new System.Windows.RoutedEventHandler(this.saveAsAppZipPackagePath_Click); #line default #line hidden return; case 5: this.saveZipName = ((System.Windows.Documents.Run)(target)); return; case 6: #line 39 "..\..\AppsGroupPackage.xaml" ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.saveAppsGroup_Click); #line default #line hidden return; case 7: #line 41 "..\..\AppsGroupPackage.xaml" ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.Quit_Click); #line default #line hidden return; case 8: this.loadTab = ((MahApps.Metro.Controls.MetroTabItem)(target)); return; case 9: this.loadAppZipPackagePath = ((System.Windows.Controls.Button)(target)); #line 51 "..\..\AppsGroupPackage.xaml" this.loadAppZipPackagePath.Click += new System.Windows.RoutedEventHandler(this.loadAppZipPackagePath_Click); #line default #line hidden return; case 10: this.loadZipName = ((System.Windows.Documents.Run)(target)); return; case 11: #line 70 "..\..\AppsGroupPackage.xaml" ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.loadAppsGroup_Click); #line default #line hidden return; case 12: #line 72 "..\..\AppsGroupPackage.xaml" ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.Quit_Click); #line default #line hidden return; } this._contentLoaded = true; }
void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) { switch (connectionId) { case 1: this.ThisWindow = ((KtvStudio.MainWindow)(target)); return; case 2: #line 65 "..\..\MainWindow.xaml" ((System.Windows.Input.CommandBinding)(target)).CanExecute += new System.Windows.Input.CanExecuteRoutedEventHandler(this.RoomInfoNew_CanExecute); #line default #line hidden #line 66 "..\..\MainWindow.xaml" ((System.Windows.Input.CommandBinding)(target)).Executed += new System.Windows.Input.ExecutedRoutedEventHandler(this.RoomInfoNew_Executed); #line default #line hidden return; case 3: #line 68 "..\..\MainWindow.xaml" ((System.Windows.Input.CommandBinding)(target)).CanExecute += new System.Windows.Input.CanExecuteRoutedEventHandler(this.RoomInfoEdit_CanExecute); #line default #line hidden #line 69 "..\..\MainWindow.xaml" ((System.Windows.Input.CommandBinding)(target)).Executed += new System.Windows.Input.ExecutedRoutedEventHandler(this.RoomInfoEdit_Executed); #line default #line hidden return; case 4: #line 71 "..\..\MainWindow.xaml" ((System.Windows.Input.CommandBinding)(target)).CanExecute += new System.Windows.Input.CanExecuteRoutedEventHandler(this.RoomInfoEditCancel_CanExecute); #line default #line hidden #line 72 "..\..\MainWindow.xaml" ((System.Windows.Input.CommandBinding)(target)).Executed += new System.Windows.Input.ExecutedRoutedEventHandler(this.RoomInfoEditCancel_Executed); #line default #line hidden return; case 5: #line 74 "..\..\MainWindow.xaml" ((System.Windows.Input.CommandBinding)(target)).CanExecute += new System.Windows.Input.CanExecuteRoutedEventHandler(this.RoomInfoRemove_CanExecute); #line default #line hidden #line 75 "..\..\MainWindow.xaml" ((System.Windows.Input.CommandBinding)(target)).Executed += new System.Windows.Input.ExecutedRoutedEventHandler(this.RoomInfoRemove_Executed); #line default #line hidden return; case 6: #line 77 "..\..\MainWindow.xaml" ((System.Windows.Input.CommandBinding)(target)).CanExecute += new System.Windows.Input.CanExecuteRoutedEventHandler(this.RoomInfoSave_CanExecute); #line default #line hidden #line 78 "..\..\MainWindow.xaml" ((System.Windows.Input.CommandBinding)(target)).Executed += new System.Windows.Input.ExecutedRoutedEventHandler(this.RoomInfoSave_Executed); #line default #line hidden return; case 7: #line 80 "..\..\MainWindow.xaml" ((System.Windows.Input.CommandBinding)(target)).CanExecute += new System.Windows.Input.CanExecuteRoutedEventHandler(this.RoomInfoFresh_CanExecute); #line default #line hidden #line 81 "..\..\MainWindow.xaml" ((System.Windows.Input.CommandBinding)(target)).Executed += new System.Windows.Input.ExecutedRoutedEventHandler(this.RoomInfoFresh_Executed); #line default #line hidden return; case 8: #line 84 "..\..\MainWindow.xaml" ((System.Windows.Input.CommandBinding)(target)).CanExecute += new System.Windows.Input.CanExecuteRoutedEventHandler(this.SingerInfoNew_CanExecute); #line default #line hidden #line 85 "..\..\MainWindow.xaml" ((System.Windows.Input.CommandBinding)(target)).Executed += new System.Windows.Input.ExecutedRoutedEventHandler(this.SingerInfoNew_Executed); #line default #line hidden return; case 9: #line 87 "..\..\MainWindow.xaml" ((System.Windows.Input.CommandBinding)(target)).CanExecute += new System.Windows.Input.CanExecuteRoutedEventHandler(this.SingerInfoEdit_CanExecute); #line default #line hidden #line 88 "..\..\MainWindow.xaml" ((System.Windows.Input.CommandBinding)(target)).Executed += new System.Windows.Input.ExecutedRoutedEventHandler(this.SingerInfoEdit_Executed); #line default #line hidden return; case 10: #line 90 "..\..\MainWindow.xaml" ((System.Windows.Input.CommandBinding)(target)).CanExecute += new System.Windows.Input.CanExecuteRoutedEventHandler(this.SingerInfoEditCancel_CanExecute); #line default #line hidden #line 91 "..\..\MainWindow.xaml" ((System.Windows.Input.CommandBinding)(target)).Executed += new System.Windows.Input.ExecutedRoutedEventHandler(this.SingerInfoEditCancel_Executed); #line default #line hidden return; case 11: #line 93 "..\..\MainWindow.xaml" ((System.Windows.Input.CommandBinding)(target)).CanExecute += new System.Windows.Input.CanExecuteRoutedEventHandler(this.SingerInfoRemove_CanExecute); #line default #line hidden #line 94 "..\..\MainWindow.xaml" ((System.Windows.Input.CommandBinding)(target)).Executed += new System.Windows.Input.ExecutedRoutedEventHandler(this.SingerInfoRemove_Executed); #line default #line hidden return; case 12: #line 96 "..\..\MainWindow.xaml" ((System.Windows.Input.CommandBinding)(target)).CanExecute += new System.Windows.Input.CanExecuteRoutedEventHandler(this.SingerInfoSave_CanExecute); #line default #line hidden #line 97 "..\..\MainWindow.xaml" ((System.Windows.Input.CommandBinding)(target)).Executed += new System.Windows.Input.ExecutedRoutedEventHandler(this.SingerInfoSave_Executed); #line default #line hidden return; case 13: #line 99 "..\..\MainWindow.xaml" ((System.Windows.Input.CommandBinding)(target)).CanExecute += new System.Windows.Input.CanExecuteRoutedEventHandler(this.SingerInfoFresh_CanExecute); #line default #line hidden #line 100 "..\..\MainWindow.xaml" ((System.Windows.Input.CommandBinding)(target)).Executed += new System.Windows.Input.ExecutedRoutedEventHandler(this.SingerInfoFresh_Executed); #line default #line hidden return; case 14: this.Menu = ((Fluent.Ribbon)(target)); return; case 15: this.Home = ((Fluent.RibbonTabItem)(target)); return; case 16: this.InfoManage = ((Fluent.RibbonTabItem)(target)); return; case 17: this.SongInfoManage = ((Fluent.RibbonTabItem)(target)); return; case 18: this.SingerManage = ((Fluent.RibbonTabItem)(target)); return; case 19: this.DownloadManage = ((Fluent.RibbonTabItem)(target)); return; case 20: this.DataAnalysisManage = ((Fluent.RibbonTabItem)(target)); return; case 21: this.RoomTaskTabItem = ((System.Windows.Controls.TabItem)(target)); return; case 22: this.RoomPriceTabItem = ((MahApps.Metro.Controls.MetroTabItem)(target)); return; case 23: #line 402 "..\..\MainWindow.xaml" ((MahApps.Metro.Controls.MetroAnimatedTabControl)(target)).SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.RoomTaskRoomTypeTabControl_SelectionChanged); #line default #line hidden return; case 24: #line 420 "..\..\MainWindow.xaml" ((System.Windows.Controls.DataGrid)(target)).SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.RoomTaskDataGrid_SelectionChanged); #line default #line hidden #line 421 "..\..\MainWindow.xaml" ((System.Windows.Controls.DataGrid)(target)).MouseDoubleClick += new System.Windows.Input.MouseButtonEventHandler(this.RoomTaskDataGrid_MouseDoubleClick); #line default #line hidden return; case 25: #line 497 "..\..\MainWindow.xaml" ((MahApps.Metro.Controls.MetroAnimatedTabControl)(target)).SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.RoomTypeTabControl_SelectionChanged); #line default #line hidden return; case 26: #line 515 "..\..\MainWindow.xaml" ((System.Windows.Controls.DataGrid)(target)).MouseDoubleClick += new System.Windows.Input.MouseButtonEventHandler(this.RoomInfoSourceDataGrid_MouseDoubleClick); #line default #line hidden #line 516 "..\..\MainWindow.xaml" ((System.Windows.Controls.DataGrid)(target)).SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.DataGrid_SelectionChanged); #line default #line hidden return; case 27: this.SongManageUc = ((KtvStudio.Views.SongManageUc)(target)); return; case 28: #line 567 "..\..\MainWindow.xaml" ((MahApps.Metro.Controls.MetroAnimatedTabControl)(target)).SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.SingerAreaFilterTabControl_SelectionChanged); #line default #line hidden return; case 29: #line 586 "..\..\MainWindow.xaml" ((MahApps.Metro.Controls.MetroAnimatedTabControl)(target)).SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.SingerInitialFilterTabControl_SelectionChanged); #line default #line hidden return; case 30: #line 624 "..\..\MainWindow.xaml" ((System.Windows.Controls.DataGrid)(target)).MouseDoubleClick += new System.Windows.Input.MouseButtonEventHandler(this.SingerInfoSourceDataGrid_MouseDoubleClick); #line default #line hidden #line 625 "..\..\MainWindow.xaml" ((System.Windows.Controls.DataGrid)(target)).SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.SingerInfoDataGrid_SelectionChanged); #line default #line hidden return; case 31: this.DownloadRatioProgressBar = ((System.Windows.Controls.ProgressBar)(target)); return; case 32: this.DownloadRatioLabel = ((System.Windows.Controls.Label)(target)); return; case 33: this.DataAnalysisManageUc = ((KtvStudio.Views.DataAnalysisManageUc)(target)); return; } this._contentLoaded = true; }
void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) { switch (connectionId) { case 1: this.title = ((System.Windows.Controls.DockPanel)(target)); return; case 2: this.LoadHome = ((System.Windows.Controls.Button)(target)); return; case 3: this.ProfileImage = ((System.Windows.Controls.Image)(target)); return; case 4: this.unitTabs = ((MahApps.Metro.Controls.MetroAnimatedTabControl)(target)); return; case 5: this.listTab = ((MahApps.Metro.Controls.MetroTabItem)(target)); return; case 6: this.LeftSide = ((System.Windows.Controls.WrapPanel)(target)); return; case 7: this.buttons2 = ((System.Windows.Controls.WrapPanel)(target)); return; case 8: this.RefreshUnitTable = ((System.Windows.Controls.Button)(target)); return; case 9: this.DeleteUnit = ((System.Windows.Controls.Button)(target)); return; case 10: this.Units = ((System.Windows.Controls.DataGrid)(target)); return; case 11: this.RightSide = ((System.Windows.Controls.Border)(target)); return; case 12: this.UnitName = ((System.Windows.Controls.TextBox)(target)); return; case 13: this.UnitTypeNames = ((System.Windows.Controls.ComboBox)(target)); return; case 14: this.UnitStatusNames = ((System.Windows.Controls.ComboBox)(target)); return; case 15: this.UnitAddress = ((System.Windows.Controls.TextBox)(target)); return; case 16: this.UnitStartDate = ((System.Windows.Controls.Primitives.DatePickerTextBox)(target)); return; case 17: this.UnitCompletionDate = ((System.Windows.Controls.Primitives.DatePickerTextBox)(target)); return; case 18: this.SaveUnit = ((System.Windows.Controls.Button)(target)); return; case 19: this.ClearUnitFields = ((System.Windows.Controls.Button)(target)); return; case 20: this.progressTab = ((MahApps.Metro.Controls.MetroTabItem)(target)); return; case 21: this.LeftSideUP = ((System.Windows.Controls.WrapPanel)(target)); return; case 22: this.buttons2UP = ((System.Windows.Controls.WrapPanel)(target)); return; case 23: this.AddNewProgress = ((System.Windows.Controls.Button)(target)); return; case 24: this.RefreshProgressTable = ((System.Windows.Controls.Button)(target)); return; case 25: this.DeleteProgress = ((System.Windows.Controls.Button)(target)); return; case 26: this.ProgressOfUnits = ((System.Windows.Controls.DataGrid)(target)); return; case 27: this.ConvertedImage = ((System.Windows.Controls.Image)(target)); return; case 28: this.RightSideUP = ((System.Windows.Controls.Border)(target)); return; case 29: this.CurrentUnit = ((System.Windows.Controls.ComboBox)(target)); return; case 30: this.CurrentUnitType = ((System.Windows.Controls.TextBox)(target)); return; case 31: this.CurrentAddress = ((System.Windows.Controls.TextBox)(target)); return; case 32: this.Notes = ((System.Windows.Controls.TextBox)(target)); return; case 33: this.FileLocation = ((System.Windows.Controls.TextBox)(target)); return; case 34: this.SelectImage = ((System.Windows.Controls.Button)(target)); return; case 35: this.SaveProgress = ((System.Windows.Controls.Button)(target)); return; case 36: this.ClearProgressFields = ((System.Windows.Controls.Button)(target)); return; } this._contentLoaded = true; }
internal TabItemClosingEventArgs(MetroTabItem item) { Class6.yDnXvgqzyB5jw(); base(); this.ClosingTabItem = item; }
void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) { switch (connectionId) { case 1: #line 31 "..\..\..\Views\SongManageUc.xaml" ((MahApps.Metro.Controls.MetroAnimatedTabControl)(target)).SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.SongBasicTypeTabControl_SelectionChanged); #line default #line hidden return; case 2: this.MusicSingerTabItem = ((System.Windows.Controls.TabItem)(target)); return; case 3: this.MusicTypeTabItem = ((MahApps.Metro.Controls.MetroTabItem)(target)); return; case 4: this.MusicRankTabItem = ((MahApps.Metro.Controls.MetroTabItem)(target)); return; case 5: this.MusicNewTabItem = ((MahApps.Metro.Controls.MetroTabItem)(target)); return; case 6: #line 56 "..\..\..\Views\SongManageUc.xaml" ((MahApps.Metro.Controls.MetroAnimatedTabControl)(target)).SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.MusicSingerAreaTabControl_SelectionChanged); #line default #line hidden return; case 7: #line 75 "..\..\..\Views\SongManageUc.xaml" ((MahApps.Metro.Controls.MetroAnimatedTabControl)(target)).SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.MusicSingerNameTabControl_SelectionChanged); #line default #line hidden return; case 8: this.SingerInfoFilterScrollViewer = ((System.Windows.Controls.ScrollViewer)(target)); return; case 9: this.SingerInfoFilterWrapPanel = ((System.Windows.Controls.WrapPanel)(target)); return; case 10: #line 181 "..\..\..\Views\SongManageUc.xaml" ((MahApps.Metro.Controls.MetroAnimatedTabControl)(target)).SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.MusicTypeTabControl_SelectionChanged); #line default #line hidden return; case 11: this.MusicTypeStyle = ((System.Windows.Controls.TabControl)(target)); return; case 12: this.MusicTypeTopic = ((System.Windows.Controls.TabControl)(target)); return; case 13: this.MusicTypeMood = ((System.Windows.Controls.TabControl)(target)); return; case 14: #line 241 "..\..\..\Views\SongManageUc.xaml" ((MahApps.Metro.Controls.MetroAnimatedTabControl)(target)).SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.SongRankTabControl_SelectionChanged); #line default #line hidden return; case 15: this.NewSongGrid = ((System.Windows.Controls.Grid)(target)); return; case 16: #line 334 "..\..\..\Views\SongManageUc.xaml" ((System.Windows.Controls.DataGrid)(target)).SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.SongInfoDataGrid_SelectionChanged); #line default #line hidden #line 335 "..\..\..\Views\SongManageUc.xaml" ((System.Windows.Controls.DataGrid)(target)).MouseDoubleClick += new System.Windows.Input.MouseButtonEventHandler(this.SongInfoDataGrid_MouseDoubleClick); #line default #line hidden return; } this._contentLoaded = true; }
void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) { switch (connectionId) { case 1: this.TCPrincipal = ((MahApps.Metro.Controls.MetroTabControl)(target)); return; case 2: this.TBI1 = ((MahApps.Metro.Controls.MetroTabItem)(target)); return; case 3: this.BtLimpiarCliente = ((System.Windows.Controls.Button)(target)); #line 39 "..\..\MainWindow.xaml" this.BtLimpiarCliente.Click += new System.Windows.RoutedEventHandler(this.BtLimpiarCliente_Click); #line default #line hidden return; case 4: this.BtEliminarCliente = ((System.Windows.Controls.Button)(target)); #line 45 "..\..\MainWindow.xaml" this.BtEliminarCliente.Click += new System.Windows.RoutedEventHandler(this.BtEliminarCliente_Click); #line default #line hidden return; case 5: this.BtActualizarCliente = ((System.Windows.Controls.Button)(target)); #line 51 "..\..\MainWindow.xaml" this.BtActualizarCliente.Click += new System.Windows.RoutedEventHandler(this.BtActualizarCliente_Click); #line default #line hidden return; case 6: this.BtRegistrarCliente = ((System.Windows.Controls.Button)(target)); #line 57 "..\..\MainWindow.xaml" this.BtRegistrarCliente.Click += new System.Windows.RoutedEventHandler(this.BtRegistrarCliente_Click_1); #line default #line hidden return; case 7: this.BtBuscarCliente = ((System.Windows.Controls.Button)(target)); #line 63 "..\..\MainWindow.xaml" this.BtBuscarCliente.Click += new System.Windows.RoutedEventHandler(this.BtBuscarCliente_Click); #line default #line hidden return; case 8: this.TxRut = ((System.Windows.Controls.TextBox)(target)); return; case 9: this.TxNombres = ((System.Windows.Controls.TextBox)(target)); return; case 10: this.TxApellidos = ((System.Windows.Controls.TextBox)(target)); return; case 11: this.CbSexo = ((System.Windows.Controls.ComboBox)(target)); #line 90 "..\..\MainWindow.xaml" this.CbSexo.SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.Cbsexo_SelectionChanged); #line default #line hidden return; case 12: this.DpFechaNacimiento = ((System.Windows.Controls.DatePicker)(target)); return; case 13: this.CbEstadoCivil = ((System.Windows.Controls.ComboBox)(target)); #line 96 "..\..\MainWindow.xaml" this.CbEstadoCivil.SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.CbEstadoCivil_SelectionChanged); #line default #line hidden return; case 14: this.TBI2 = ((MahApps.Metro.Controls.MetroTabItem)(target)); return; case 15: this.BtFiltroListadoCliente = ((System.Windows.Controls.Button)(target)); #line 119 "..\..\MainWindow.xaml" this.BtFiltroListadoCliente.Click += new System.Windows.RoutedEventHandler(this.BtFiltroListadoCliente_Click); #line default #line hidden #line 119 "..\..\MainWindow.xaml" this.BtFiltroListadoCliente.MouseDoubleClick += new System.Windows.Input.MouseButtonEventHandler(this.Btnrefresliscli); #line default #line hidden return; case 16: this.DGlistadoClientes = ((System.Windows.Controls.DataGrid)(target)); #line 128 "..\..\MainWindow.xaml" this.DGlistadoClientes.MouseDoubleClick += new System.Windows.Input.MouseButtonEventHandler(this.DGlistadoClientes_MouseDoubleClick); #line default #line hidden return; case 17: this.CbFiltrarEstadoCivil = ((System.Windows.Controls.ComboBox)(target)); return; case 18: this.CbFiltrarSexo = ((System.Windows.Controls.ComboBox)(target)); return; case 19: this.TxFiltrarRut = ((System.Windows.Controls.TextBox)(target)); return; case 20: this.BtrefreshListadoCliente = ((System.Windows.Controls.Button)(target)); #line 149 "..\..\MainWindow.xaml" this.BtrefreshListadoCliente.Click += new System.Windows.RoutedEventHandler(this.BtrefreshListadoCliente_Click); #line default #line hidden return; case 21: this.TBI3 = ((MahApps.Metro.Controls.MetroTabItem)(target)); return; case 22: this.rb_vida = ((System.Windows.Controls.RadioButton)(target)); #line 165 "..\..\MainWindow.xaml" this.rb_vida.Checked += new System.Windows.RoutedEventHandler(this.Rb_vida_Checked_1); #line default #line hidden return; case 23: this.rb_vehiculo = ((System.Windows.Controls.RadioButton)(target)); #line 166 "..\..\MainWindow.xaml" this.rb_vehiculo.Checked += new System.Windows.RoutedEventHandler(this.Rb_vehiculo_Checked); #line default #line hidden return; case 24: this.tc_Secundario = ((MahApps.Metro.Controls.MetroTabControl)(target)); return; case 25: this.lb_Declara = ((System.Windows.Controls.Label)(target)); return; case 26: this.TxNContrato = ((System.Windows.Controls.TextBox)(target)); return; case 27: this.TxRutCliente = ((System.Windows.Controls.TextBox)(target)); return; case 28: this.CbCodigoPlan = ((System.Windows.Controls.ComboBox)(target)); return; case 29: this.TxPoliza = ((System.Windows.Controls.TextBox)(target)); return; case 30: this.DpFechaFInVig = ((System.Windows.Controls.DatePicker)(target)); return; case 31: this.DpFechaInicioVig = ((System.Windows.Controls.DatePicker)(target)); return; case 32: this.DpFechaCreacion = ((System.Windows.Controls.DatePicker)(target)); return; case 33: this.TxObservaciones = ((System.Windows.Controls.TextBox)(target)); return; case 34: this.TxPrimaAnual = ((System.Windows.Controls.TextBox)(target)); return; case 35: this.TxPrimaMensual = ((System.Windows.Controls.TextBox)(target)); return; case 36: this.ChBVigencia = ((System.Windows.Controls.CheckBox)(target)); return; case 37: this.ChBDeclaracionSalud = ((System.Windows.Controls.CheckBox)(target)); return; case 38: this.LbNombreCliente = ((System.Windows.Controls.Label)(target)); return; case 39: this.BtBuscarContrato = ((System.Windows.Controls.Button)(target)); #line 229 "..\..\MainWindow.xaml" this.BtBuscarContrato.Click += new System.Windows.RoutedEventHandler(this.BtBuscarContrato_Click); #line default #line hidden return; case 40: #line 232 "..\..\MainWindow.xaml" ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.BtnBuscListadoCon); #line default #line hidden return; case 41: #line 238 "..\..\MainWindow.xaml" ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.BtnBuscListadoCli); #line default #line hidden return; case 42: this.lbx_marca = ((System.Windows.Controls.ListBox)(target)); #line 309 "..\..\MainWindow.xaml" this.lbx_marca.SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.Lbx_marca_SelectionChanged); #line default #line hidden return; case 43: this.lbx_modelo = ((System.Windows.Controls.ListBox)(target)); return; case 44: #line 312 "..\..\MainWindow.xaml" ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.BtBuscarContrato_Click); #line default #line hidden return; case 45: #line 316 "..\..\MainWindow.xaml" ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.BtnBuscListadoCon); #line default #line hidden return; case 46: #line 322 "..\..\MainWindow.xaml" ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.BtnBuscListadoCli); #line default #line hidden return; case 47: this.BtLimpiarContrato = ((System.Windows.Controls.Button)(target)); #line 343 "..\..\MainWindow.xaml" this.BtLimpiarContrato.Click += new System.Windows.RoutedEventHandler(this.BtLimpiarContrato_Click); #line default #line hidden return; case 48: this.BtTerminarContrato = ((System.Windows.Controls.Button)(target)); #line 349 "..\..\MainWindow.xaml" this.BtTerminarContrato.Click += new System.Windows.RoutedEventHandler(this.BtTerminarContrato_Click); #line default #line hidden return; case 49: this.BtActualizarContrato = ((System.Windows.Controls.Button)(target)); #line 355 "..\..\MainWindow.xaml" this.BtActualizarContrato.Click += new System.Windows.RoutedEventHandler(this.BtActualizarContrato_Click); #line default #line hidden return; case 50: this.BtCrearContrato = ((System.Windows.Controls.Button)(target)); #line 361 "..\..\MainWindow.xaml" this.BtCrearContrato.Click += new System.Windows.RoutedEventHandler(this.BtCrearContrato_Click); #line default #line hidden return; case 51: this.TBI4 = ((MahApps.Metro.Controls.MetroTabItem)(target)); return; case 52: this.DGListadoContrato = ((System.Windows.Controls.DataGrid)(target)); return; case 53: this.CBFiltroNumPoliza = ((System.Windows.Controls.ComboBox)(target)); return; case 54: this.TxRutFiltroContrato = ((System.Windows.Controls.TextBox)(target)); return; case 55: this.TxNumFiltroContrato = ((System.Windows.Controls.TextBox)(target)); return; case 56: this.BtFiltroContrato = ((System.Windows.Controls.Button)(target)); #line 406 "..\..\MainWindow.xaml" this.BtFiltroContrato.Click += new System.Windows.RoutedEventHandler(this.Filtrarcont); #line default #line hidden #line 406 "..\..\MainWindow.xaml" this.BtFiltroContrato.MouseDoubleClick += new System.Windows.Input.MouseButtonEventHandler(this.Btnrefresliscon); #line default #line hidden return; case 57: this.BtRefrescar = ((System.Windows.Controls.Button)(target)); #line 413 "..\..\MainWindow.xaml" this.BtRefrescar.Click += new System.Windows.RoutedEventHandler(this.BtRefrescar_Click); #line default #line hidden return; case 58: this.Btn_despliegaFly = ((System.Windows.Controls.Button)(target)); #line 425 "..\..\MainWindow.xaml" this.Btn_despliegaFly.Click += new System.Windows.RoutedEventHandler(this.Btn_despliegaFly_Click); #line default #line hidden return; case 59: this.Btn_CerrarApp = ((System.Windows.Controls.Button)(target)); #line 429 "..\..\MainWindow.xaml" this.Btn_CerrarApp.Click += new System.Windows.RoutedEventHandler(this.Cerrar); #line default #line hidden return; case 60: this.Btn_MinApp = ((System.Windows.Controls.Button)(target)); #line 435 "..\..\MainWindow.xaml" this.Btn_MinApp.Click += new System.Windows.RoutedEventHandler(this.Minimizar); #line default #line hidden return; case 61: #line 440 "..\..\MainWindow.xaml" ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.Button_Click); #line default #line hidden return; case 62: this.fly = ((MahApps.Metro.Controls.Flyout)(target)); return; case 63: this.BtCliente = ((System.Windows.Controls.Button)(target)); #line 447 "..\..\MainWindow.xaml" this.BtCliente.Click += new System.Windows.RoutedEventHandler(this.BtCliente_Click); #line default #line hidden return; case 64: this.BtBusCliente = ((System.Windows.Controls.Button)(target)); #line 453 "..\..\MainWindow.xaml" this.BtBusCliente.Click += new System.Windows.RoutedEventHandler(this.BtBusCliente_click); #line default #line hidden return; case 65: this.BtContrato = ((System.Windows.Controls.Button)(target)); #line 459 "..\..\MainWindow.xaml" this.BtContrato.Click += new System.Windows.RoutedEventHandler(this.BtContrato_Click); #line default #line hidden return; case 66: this.BtbusContrato = ((System.Windows.Controls.Button)(target)); #line 465 "..\..\MainWindow.xaml" this.BtbusContrato.Click += new System.Windows.RoutedEventHandler(this.BtbusContrato_Click); #line default #line hidden return; } this._contentLoaded = true; }