void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) { switch (connectionId) { case 1: this.Window = ((WpfApplication1.MainWindow)(target)); return; case 2: this.LayoutRoot = ((System.Windows.Controls.Grid)(target)); return; case 3: this.listBox2 = ((System.Windows.Controls.ListBox)(target)); return; case 4: this.listBox = ((System.Windows.Controls.ListBox)(target)); return; case 5: this.Template = ((System.Windows.Controls.StackPanel)(target)); return; } this._contentLoaded = true; }
void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) { switch (connectionId) { case 1: this.Window = ((WpfApplication1.MainWindow)(target)); #line 8 "..\..\MainWindow.xaml" this.Window.Activated += new System.EventHandler(this.Window_Activated); #line default #line hidden #line 8 "..\..\MainWindow.xaml" this.Window.Closed += new System.EventHandler(this.Window_Closed); #line default #line hidden return; case 2: this.LayoutRoot = ((System.Windows.Controls.Grid)(target)); return; case 3: this.LoginBox = ((System.Windows.Controls.TextBox)(target)); return; case 4: this.TeachingManagerText = ((System.Windows.Controls.TextBlock)(target)); return; case 5: this.LoginText = ((System.Windows.Controls.TextBlock)(target)); return; case 6: this.PasswordBox = ((System.Windows.Controls.PasswordBox)(target)); return; case 7: this.PasswordText = ((System.Windows.Controls.TextBlock)(target)); return; case 8: this.button = ((System.Windows.Controls.Button)(target)); #line 126 "..\..\MainWindow.xaml" this.button.Click += new System.Windows.RoutedEventHandler(this.button_Click); #line default #line hidden return; case 9: this.button1 = ((System.Windows.Controls.Button)(target)); return; } this._contentLoaded = true; }
private static void asyncHasUpdateResp(WpfApplication1.MainWindow instance, bool hasUpdate) { if (hasUpdate) { instance.asyncFoundUpdate(); } }
protected void OnAppStartup(object sender, StartupEventArgs e) { WpfApplication1.MainWindowViewModel mwvm = new MainWindowViewModel(); WpfApplication1.MainWindow mw = new WpfApplication1.MainWindow() { DataContext = mwvm, }; mw.Show(); Application.Current.MainWindow = mw; }
void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) { switch (connectionId) { case 1: this.Pi = ((WpfApplication1.MainWindow)(target)); return; case 2: this.textBox1 = ((System.Windows.Controls.TextBox)(target)); return; case 3: this.textBox2 = ((System.Windows.Controls.TextBox)(target)); return; case 4: this.textBox3 = ((System.Windows.Controls.TextBox)(target)); return; case 5: this.textBox4 = ((System.Windows.Controls.TextBox)(target)); return; case 6: #line 28 "..\..\MainWindow.xaml" ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.Button_Click_2); #line default #line hidden return; case 7: this.num1 = ((System.Windows.Controls.TextBox)(target)); return; case 8: this.num2 = ((System.Windows.Controls.TextBox)(target)); return; case 9: this.num3 = ((System.Windows.Controls.TextBox)(target)); return; case 10: this.num4 = ((System.Windows.Controls.TextBox)(target)); return; } this._contentLoaded = true; }
void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) { switch (connectionId) { case 1: this.Window = ((WpfApplication1.MainWindow)(target)); return; case 2: this.LayoutRoot = ((System.Windows.Controls.Grid)(target)); return; } this._contentLoaded = true; }
//需要改三个部件的大小 public BitmapPlayer(ref PictureBox input, ref WindowsFormsHost form, ref Client client_, ref WpfApplication1.MainWindow wind) { image_control = input; form_container = form; bmpPerStream = 1; window = wind; Console.Out.WriteLine("init...?"); reader = new BitmapReader(); Console.Out.WriteLine("init..."); bitmap_stream = new List <BitmapStream>(); current_type = ""; isPaused = 0; header = new List <string>(); isLocal = true; client = client_; //client.run(); }
void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) { switch (connectionId) { case 1: this.s = ((WpfApplication1.MainWindow)(target)); #line 4 "..\..\..\MainWindow.xaml" this.s.MouseDown += new System.Windows.Input.MouseButtonEventHandler(this.Window_MouseDown); #line default #line hidden return; case 2: this.canv = ((System.Windows.Controls.Canvas)(target)); return; } this._contentLoaded = true; }
private void Application_Startup(object sender, StartupEventArgs e) { MainWindow window = new WpfApplication1.MainWindow(); string filename = "../../../PerfAnalysis.xml"; string filecontent = "<Performance> <Clients> </Clients> <Server> </Server> </Performance> "; File.WriteAllText(filename, filecontent); int r = int.Parse(e.Args[0]); int w = int.Parse(e.Args[1]); for (int i = 0; i < r; i++) { window.addRdClient(); } for (int i = 0; i < w; i++) { window.addWrClient(); } window.Show(); }
public static void checkForAutoUpdatesOnBackground(WpfApplication1.MainWindow instance) { long lastCheckedTime = History.storage.lastCheckForUpdate; long now = (long)(DateTime.Now.ToUniversalTime() - new DateTime(1970, 1, 1)).TotalSeconds; if (lastCheckedTime != 0) { long second = 1; long minute = 60 * second; long hour = 60 * minute; long day = 24 * hour; long diff = now - lastCheckedTime; if (diff < day) { return; } } History.storage.lastCheckForUpdate = now; History.storage.push(); aw.addJob(asyncHasUpdate, WpfApplication1.MainWindow.Version, (object o) => { asyncHasUpdateResp(instance, (bool)o); }); }
public override TCObject Execute(TCObject objectToExecuteOn, TCAddOnTaskContext taskContext) { //var currentSetting=Config.ReadConfig(); var folder = objectToExecuteOn as TCFolder; var allHtmlDocuments = new Collection <Tuple <string, string> >(); var scrapper = new Scrapper(); var newWindowThread = new Thread(() => { SynchronizationContext.SetSynchronizationContext( new DispatcherSynchronizationContext( Dispatcher.CurrentDispatcher)); var preferencesWindow = new WpfApplication1.MainWindow(); preferencesWindow.Closed += (s, e) => Dispatcher.CurrentDispatcher.BeginInvokeShutdown(DispatcherPriority.Background); preferencesWindow.Show(); Dispatcher.Run(); }); newWindowThread.SetApartmentState(ApartmentState.STA); newWindowThread.IsBackground = true; newWindowThread.Start(); const int currentPercent = 0; taskContext.ShowProgressInfo(100, currentPercent + 5, "Enter Domain"); //var baseUrl = new Uri(taskContext.GetStringValue("Please enter a domain adress", false)); //var mainData = GetHtml(baseUrl); GetHtml(new Uri("http://www.toscatrial.com/sampleapp/VehicleData.html"), folder); taskContext.ShowProgressInfo(100, 100, "Finishing"); return(null); }
private void Application_Startup(object sender, StartupEventArgs e) { MainWindow window = new WpfApplication1.MainWindow(); string filename = "../../../PerfAnalysis.xml"; string filecontent = "<Performance> <Clients> </Clients> <Server> </Server> </Performance> "; File.WriteAllText(filename, filecontent); int r = int.Parse(e.Args[0]); int w = int.Parse(e.Args[1]); for (int i = 0; i < r; i++) { window.addRdClient(); } for (int i = 0; i < w; i++) { window.addWrClient(); } window.Show(); }
void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) { switch (connectionId) { case 1: this.Connection = ((WpfApplication1.MainWindow)(target)); return; case 2: this.button1 = ((System.Windows.Controls.Button)(target)); #line 10 "..\..\..\..\Windows\MainWindow.xaml" this.button1.Click += new System.Windows.RoutedEventHandler(this.button1_Click); #line default #line hidden return; case 3: this.textBox1 = ((System.Windows.Controls.TextBox)(target)); return; case 4: this.textBox2 = ((System.Windows.Controls.TextBox)(target)); return; case 5: this.label1 = ((System.Windows.Controls.Label)(target)); return; case 6: this.label2 = ((System.Windows.Controls.Label)(target)); return; } this._contentLoaded = true; }
void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) { switch (connectionId) { case 1: this.Window = ((WpfApplication1.MainWindow)(target)); return; case 2: this.LayoutRoot = ((System.Windows.Controls.Grid)(target)); return; case 3: this.McCain_wmv = ((System.Windows.Controls.MediaElement)(target)); return; } this._contentLoaded = true; }
void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) { switch (connectionId) { case 1: this.Connection = ((WpfApplication1.MainWindow)(target)); return; case 2: this.button1 = ((System.Windows.Controls.Button)(target)); #line 10 "..\..\..\..\Windows\MainWindow.xaml" this.button1.Click += new System.Windows.RoutedEventHandler(this.button1_Click); #line default #line hidden return; case 3: this.textBox1 = ((System.Windows.Controls.TextBox)(target)); return; case 4: this.textBox2 = ((System.Windows.Controls.TextBox)(target)); return; case 5: this.label1 = ((System.Windows.Controls.Label)(target)); return; case 6: this.label2 = ((System.Windows.Controls.Label)(target)); return; } this._contentLoaded = true; }
private void ThreadStartingPoint() { WpfApplication1.MainWindow mainWindow = new WpfApplication1.MainWindow(); mainWindow.Show(); System.Windows.Threading.Dispatcher.Run(); }
void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) { switch (connectionId) { case 1: this.Program = ((WpfApplication1.MainWindow)(target)); return; case 2: this.add_operator = ((System.Windows.Controls.Grid)(target)); return; case 3: this.result = ((System.Windows.Controls.TextBlock)(target)); return; case 4: this.add_x = ((System.Windows.Controls.Button)(target)); #line 13 "..\..\MainWindow.xaml" this.add_x.Click += new System.Windows.RoutedEventHandler(this.add_x_Click); #line default #line hidden return; case 5: this.stq = ((System.Windows.Controls.TextBlock)(target)); return; case 6: this.operator1 = ((System.Windows.Controls.ComboBox)(target)); return; case 7: this.add_operator1 = ((System.Windows.Controls.Button)(target)); #line 24 "..\..\MainWindow.xaml" this.add_operator1.Click += new System.Windows.RoutedEventHandler(this.Button_Click); #line default #line hidden return; case 8: this.rev = ((System.Windows.Controls.Button)(target)); #line 25 "..\..\MainWindow.xaml" this.rev.Click += new System.Windows.RoutedEventHandler(this.rev_Click); #line default #line hidden return; case 9: this.doans = ((System.Windows.Controls.Button)(target)); #line 26 "..\..\MainWindow.xaml" this.doans.Click += new System.Windows.RoutedEventHandler(this.doans_Click); #line default #line hidden return; case 10: this.ManyTextboxes = ((System.Windows.Controls.StackPanel)(target)); return; case 11: this.ManyXprops = ((System.Windows.Controls.StackPanel)(target)); return; case 12: this.menu = ((System.Windows.Controls.Menu)(target)); return; case 13: this.Save = ((System.Windows.Controls.MenuItem)(target)); #line 33 "..\..\MainWindow.xaml" this.Save.Click += new System.Windows.RoutedEventHandler(this.MenuItem_Click); #line default #line hidden return; case 14: this.Load = ((System.Windows.Controls.MenuItem)(target)); #line 34 "..\..\MainWindow.xaml" this.Load.Click += new System.Windows.RoutedEventHandler(this.MenuItem_Click_1); #line default #line hidden return; case 15: this.ЛЩЩЩ_jpg = ((System.Windows.Controls.Image)(target)); return; } this._contentLoaded = true; }
void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) { switch (connectionId) { case 1: this.s = ((WpfApplication1.MainWindow)(target)); #line 4 "..\..\..\MainWindow.xaml" this.s.MouseDown += new System.Windows.Input.MouseButtonEventHandler(this.Window_MouseDown); #line default #line hidden return; case 2: this.canv = ((System.Windows.Controls.Canvas)(target)); return; } this._contentLoaded = true; }
void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) { switch (connectionId) { case 1: this.myMain = ((WpfApplication1.MainWindow)(target)); return; case 2: this.menu = ((System.Windows.Controls.DockPanel)(target)); return; case 3: #line 10 "..\..\MainWindow.xaml" ((System.Windows.Controls.MenuItem)(target)).Click += new System.Windows.RoutedEventHandler(this.close); #line default #line hidden return; case 4: #line 11 "..\..\MainWindow.xaml" ((System.Windows.Controls.MenuItem)(target)).Click += new System.Windows.RoutedEventHandler(this.save); #line default #line hidden return; case 5: this.myList = ((System.Windows.Controls.ListBox)(target)); return; case 6: this.element = ((System.Windows.Controls.ListBoxItem)(target)); return; case 7: this.element2 = ((System.Windows.Controls.ListBoxItem)(target)); return; case 8: this.element3 = ((System.Windows.Controls.ListBoxItem)(target)); return; case 9: this.back = ((System.Windows.Controls.Canvas)(target)); #line 19 "..\..\MainWindow.xaml" this.back.MouseLeftButtonDown += new System.Windows.Input.MouseButtonEventHandler(this.click); #line default #line hidden return; case 10: this.myCav = ((System.Windows.Controls.Canvas)(target)); return; case 11: this.myLab = ((System.Windows.Controls.Label)(target)); return; } this._contentLoaded = true; }
void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) { switch (connectionId) { case 1: this.MainForm = ((WpfApplication1.MainWindow)(target)); #line 5 "..\..\MainWindow.xaml" this.MainForm.KeyDown += new System.Windows.Input.KeyEventHandler(this.onKeyDown); #line default #line hidden return; case 2: this.label1 = ((System.Windows.Controls.Label)(target)); return; case 3: this.label2 = ((System.Windows.Controls.Label)(target)); return; case 4: this.label4 = ((System.Windows.Controls.Label)(target)); return; case 5: this.logo = ((System.Windows.Controls.Image)(target)); #line 26 "..\..\MainWindow.xaml" this.logo.MouseDown += new System.Windows.Input.MouseButtonEventHandler(this.onMouseDown); #line default #line hidden return; case 6: this.label5 = ((System.Windows.Controls.Label)(target)); return; case 7: this.label6 = ((System.Windows.Controls.Label)(target)); #line 32 "..\..\MainWindow.xaml" this.label6.MouseMove += new System.Windows.Input.MouseEventHandler(this.EasyMouseMove); #line default #line hidden #line 32 "..\..\MainWindow.xaml" this.label6.MouseLeave += new System.Windows.Input.MouseEventHandler(this.EasyMouseLeave); #line default #line hidden #line 32 "..\..\MainWindow.xaml" this.label6.MouseDown += new System.Windows.Input.MouseButtonEventHandler(this.EasyModeOn); #line default #line hidden return; case 8: this.label7 = ((System.Windows.Controls.Label)(target)); #line 33 "..\..\MainWindow.xaml" this.label7.MouseMove += new System.Windows.Input.MouseEventHandler(this.NormalMouseMove); #line default #line hidden #line 33 "..\..\MainWindow.xaml" this.label7.MouseLeave += new System.Windows.Input.MouseEventHandler(this.NormalMouseLeave); #line default #line hidden #line 33 "..\..\MainWindow.xaml" this.label7.MouseDown += new System.Windows.Input.MouseButtonEventHandler(this.NormalModeOn); #line default #line hidden return; case 9: this.label8 = ((System.Windows.Controls.Label)(target)); #line 34 "..\..\MainWindow.xaml" this.label8.MouseMove += new System.Windows.Input.MouseEventHandler(this.ChampionMouseMove); #line default #line hidden #line 34 "..\..\MainWindow.xaml" this.label8.MouseLeave += new System.Windows.Input.MouseEventHandler(this.ChampionMouseLeave); #line default #line hidden #line 34 "..\..\MainWindow.xaml" this.label8.MouseDown += new System.Windows.Input.MouseButtonEventHandler(this.ChampionModeOn); #line default #line hidden return; case 10: this.skel = ((System.Windows.Controls.Image)(target)); return; case 11: this.yamochi = ((System.Windows.Controls.Image)(target)); return; case 12: this.label3 = ((System.Windows.Controls.Label)(target)); return; } this._contentLoaded = true; }
void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) { switch (connectionId) { case 1: this.window1 = ((WpfApplication1.MainWindow)(target)); #line 4 "..\..\MainWindow.xaml" this.window1.MouseDown += new System.Windows.Input.MouseButtonEventHandler(this.window1_MouseDown); #line default #line hidden return; case 2: this.Name = ((System.Windows.Controls.Label)(target)); return; case 3: #line 25 "..\..\MainWindow.xaml" ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.Button_Click_1); #line default #line hidden return; case 4: this.name_text = ((System.Windows.Controls.TextBox)(target)); #line 36 "..\..\MainWindow.xaml" this.name_text.TextChanged += new System.Windows.Controls.TextChangedEventHandler(this.name_text_TextChanged); #line default #line hidden return; case 5: this.diseaseCombo = ((System.Windows.Controls.ComboBox)(target)); #line 37 "..\..\MainWindow.xaml" this.diseaseCombo.SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.diseaseCombo_SelectionChanged); #line default #line hidden return; case 6: this.areaCombo = ((System.Windows.Controls.ComboBox)(target)); #line 38 "..\..\MainWindow.xaml" this.areaCombo.SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.areaCombo_SelectionChanged); #line default #line hidden return; case 7: this.searchButton = ((System.Windows.Controls.Button)(target)); #line 39 "..\..\MainWindow.xaml" this.searchButton.Click += new System.Windows.RoutedEventHandler(this.Button_Click_2); #line default #line hidden return; case 8: this.Header = ((System.Windows.Controls.Label)(target)); return; case 9: this.age_text = ((System.Windows.Controls.TextBox)(target)); #line 50 "..\..\MainWindow.xaml" this.age_text.TextChanged += new System.Windows.Controls.TextChangedEventHandler(this.age_text_TextChanged); #line default #line hidden return; case 10: this.contact_text = ((System.Windows.Controls.TextBox)(target)); #line 52 "..\..\MainWindow.xaml" this.contact_text.TextChanged += new System.Windows.Controls.TextChangedEventHandler(this.contact_text_TextChanged); #line default #line hidden return; case 11: this.error_name = ((System.Windows.Controls.Label)(target)); return; case 12: this.error_age = ((System.Windows.Controls.Label)(target)); return; case 13: this.error_contact = ((System.Windows.Controls.Label)(target)); return; case 14: this.cityCombo = ((System.Windows.Controls.ComboBox)(target)); #line 61 "..\..\MainWindow.xaml" this.cityCombo.SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.cityCombo_SelectionChanged); #line default #line hidden return; case 15: this.error_disease = ((System.Windows.Controls.Label)(target)); return; case 16: this.error_City = ((System.Windows.Controls.Label)(target)); return; case 17: this.error_area = ((System.Windows.Controls.Label)(target)); return; } this._contentLoaded = true; }
void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) { switch (connectionId) { case 1: this.dgtoken = ((WpfApplication1.MainWindow)(target)); #line 4 "..\..\..\MainWindow.xaml" this.dgtoken.Loaded += new System.Windows.RoutedEventHandler(this.Window_Loaded); #line default #line hidden return; case 2: this.mainGrid = ((System.Windows.Controls.Grid)(target)); return; case 3: this.rtxMain = ((System.Windows.Controls.RichTextBox)(target)); #line 7 "..\..\..\MainWindow.xaml" this.rtxMain.TextChanged += new System.Windows.Controls.TextChangedEventHandler(this.richTextBox1_TextChanged); #line default #line hidden #line 7 "..\..\..\MainWindow.xaml" this.rtxMain.SelectionChanged += new System.Windows.RoutedEventHandler(this.rtxMain_SelectionChanged); #line default #line hidden #line 7 "..\..\..\MainWindow.xaml" this.rtxMain.PreviewTextInput += new System.Windows.Input.TextCompositionEventHandler(this.rtxMain_PreviewTextInput); #line default #line hidden #line 7 "..\..\..\MainWindow.xaml" this.rtxMain.PreviewKeyDown += new System.Windows.Input.KeyEventHandler(this.rtxMain_PreviewKeyDown); #line default #line hidden return; case 4: this.button1 = ((System.Windows.Controls.Button)(target)); #line 12 "..\..\..\MainWindow.xaml" this.button1.Click += new System.Windows.RoutedEventHandler(this.button1_Click_1); #line default #line hidden return; case 5: this.comboBox1 = ((System.Windows.Controls.ComboBox)(target)); #line 13 "..\..\..\MainWindow.xaml" this.comboBox1.SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.comboBox1_SelectionChanged); #line default #line hidden return; case 6: this.button = ((System.Windows.Controls.Button)(target)); #line 14 "..\..\..\MainWindow.xaml" this.button.Click += new System.Windows.RoutedEventHandler(this.button_Click); #line default #line hidden return; case 7: this.Grid1 = ((System.Windows.Controls.DataGrid)(target)); return; case 8: this.Grid2 = ((System.Windows.Controls.DataGrid)(target)); return; case 9: this.comboBox = ((System.Windows.Controls.ComboBox)(target)); #line 17 "..\..\..\MainWindow.xaml" this.comboBox.SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.comboBox_SelectionChanged); #line default #line hidden return; case 10: this.comboBox2 = ((System.Windows.Controls.ComboBox)(target)); #line 18 "..\..\..\MainWindow.xaml" this.comboBox2.SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.comboBox2_SelectionChanged); #line default #line hidden return; case 11: this.txtLexer = ((System.Windows.Controls.TextBox)(target)); #line 19 "..\..\..\MainWindow.xaml" this.txtLexer.TextChanged += new System.Windows.Controls.TextChangedEventHandler(this.textBox_TextChanged); #line default #line hidden return; case 12: this.btnDFAOpen = ((System.Windows.Controls.Button)(target)); #line 20 "..\..\..\MainWindow.xaml" this.btnDFAOpen.Click += new System.Windows.RoutedEventHandler(this.btnDFAOpen_Click); #line default #line hidden return; case 13: this.label = ((System.Windows.Controls.Label)(target)); return; case 14: this.txtKeywords = ((System.Windows.Controls.TextBox)(target)); #line 22 "..\..\..\MainWindow.xaml" this.txtKeywords.TextChanged += new System.Windows.Controls.TextChangedEventHandler(this.textBox_TextChanged); #line default #line hidden return; case 15: this.btnKeyWordsOpen = ((System.Windows.Controls.Button)(target)); #line 23 "..\..\..\MainWindow.xaml" this.btnKeyWordsOpen.Click += new System.Windows.RoutedEventHandler(this.btnKeyWordsOpen_Click); #line default #line hidden return; case 16: this.label_Copy = ((System.Windows.Controls.Label)(target)); return; case 17: this.txtGrammer = ((System.Windows.Controls.TextBox)(target)); #line 25 "..\..\..\MainWindow.xaml" this.txtGrammer.TextChanged += new System.Windows.Controls.TextChangedEventHandler(this.textBox_TextChanged); #line default #line hidden return; case 18: this.btnGrammerOpen = ((System.Windows.Controls.Button)(target)); #line 26 "..\..\..\MainWindow.xaml" this.btnGrammerOpen.Click += new System.Windows.RoutedEventHandler(this.btnGrammerOpen_Click); #line default #line hidden return; case 19: this.label_Copy1 = ((System.Windows.Controls.Label)(target)); return; case 20: this.gridStack = ((System.Windows.Controls.DataGrid)(target)); return; case 21: this.label1 = ((System.Windows.Controls.Label)(target)); return; case 22: this.btnNext = ((System.Windows.Controls.Button)(target)); #line 30 "..\..\..\MainWindow.xaml" this.btnNext.Click += new System.Windows.RoutedEventHandler(this.btnNext_Click); #line default #line hidden return; case 23: this.chkFinish = ((System.Windows.Controls.CheckBox)(target)); return; case 24: this.btnStop = ((System.Windows.Controls.Button)(target)); #line 32 "..\..\..\MainWindow.xaml" this.btnStop.Click += new System.Windows.RoutedEventHandler(this.btnStop_Click); #line default #line hidden return; case 25: this.chkDetail = ((System.Windows.Controls.CheckBox)(target)); #line 33 "..\..\..\MainWindow.xaml" this.chkDetail.Checked += new System.Windows.RoutedEventHandler(this.chkDetail_Checked); #line default #line hidden return; case 26: this.btnKeyWordsOpenFile = ((System.Windows.Controls.Button)(target)); #line 34 "..\..\..\MainWindow.xaml" this.btnKeyWordsOpenFile.Click += new System.Windows.RoutedEventHandler(this.btnKeyWordsOpen_Click); #line default #line hidden return; case 27: this.btnGrammerOpenFile = ((System.Windows.Controls.Button)(target)); #line 35 "..\..\..\MainWindow.xaml" this.btnGrammerOpenFile.Click += new System.Windows.RoutedEventHandler(this.btnKeyWordsOpen_Click); #line default #line hidden return; case 28: this.btnDFAOpenFile = ((System.Windows.Controls.Button)(target)); #line 36 "..\..\..\MainWindow.xaml" this.btnDFAOpenFile.Click += new System.Windows.RoutedEventHandler(this.btnKeyWordsOpen_Click); #line default #line hidden return; case 29: this.rdbType = ((System.Windows.Controls.RadioButton)(target)); #line 37 "..\..\..\MainWindow.xaml" this.rdbType.Checked += new System.Windows.RoutedEventHandler(this.radioButton_Checked); #line default #line hidden return; case 30: this.rdbText = ((System.Windows.Controls.RadioButton)(target)); #line 38 "..\..\..\MainWindow.xaml" this.rdbText.Checked += new System.Windows.RoutedEventHandler(this.rdbText_Checked); #line default #line hidden return; case 31: this.label2 = ((System.Windows.Controls.Label)(target)); return; } this._contentLoaded = true; }
void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) { switch (connectionId) { case 1: this.SlotGameGUI = ((WpfApplication1.MainWindow)(target)); return; case 2: this.StatusBar = ((System.Windows.Controls.Primitives.StatusBar)(target)); return; case 3: this.MainMenu = ((System.Windows.Controls.Menu)(target)); return; case 4: this.FileMenuItem = ((System.Windows.Controls.MenuItem)(target)); return; case 5: this.OpenGameMenuItem = ((System.Windows.Controls.MenuItem)(target)); return; case 6: this.NewGameMenuItem = ((System.Windows.Controls.MenuItem)(target)); #line 10 "..\..\..\MainWindow.xaml" this.NewGameMenuItem.Click += new System.Windows.RoutedEventHandler(this.NewGameMenuItemClick); #line default #line hidden return; case 7: this.CloseMenuItem = ((System.Windows.Controls.MenuItem)(target)); return; case 8: this.SaveMenuItem = ((System.Windows.Controls.MenuItem)(target)); return; case 9: this.SaveAsMenuItem = ((System.Windows.Controls.MenuItem)(target)); return; case 10: this.FileSeparator = ((System.Windows.Controls.Separator)(target)); return; case 11: this.ExitMenuItem = ((System.Windows.Controls.MenuItem)(target)); #line 15 "..\..\..\MainWindow.xaml" this.ExitMenuItem.Click += new System.Windows.RoutedEventHandler(this.ExitMenuItemClick); #line default #line hidden return; case 12: this.toolBar1 = ((System.Windows.Controls.ToolBar)(target)); return; case 13: this.gridSplitter1 = ((System.Windows.Controls.GridSplitter)(target)); return; case 14: this.grid1 = ((System.Windows.Controls.Grid)(target)); return; case 15: this.ToolsBoxTabControl = ((System.Windows.Controls.TabControl)(target)); return; case 16: this.ToolsBoxTabItem = ((System.Windows.Controls.TabItem)(target)); return; case 17: this.grid2 = ((System.Windows.Controls.Grid)(target)); return; case 18: this.tabControl2 = ((System.Windows.Controls.TabControl)(target)); return; case 19: this.tabItem2 = ((System.Windows.Controls.TabItem)(target)); return; case 20: this.grid3 = ((System.Windows.Controls.Grid)(target)); return; case 21: this.tabControl3 = ((System.Windows.Controls.TabControl)(target)); return; case 22: this.tabItem3 = ((System.Windows.Controls.TabItem)(target)); return; case 23: this.tabControl1 = ((System.Windows.Controls.TabControl)(target)); return; } this._contentLoaded = true; }
void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) { switch (connectionId) { case 1: this.FTPAutoSyncWindow = ((WpfApplication1.MainWindow)(target)); #line 4 "..\..\MainWindow.xaml" this.FTPAutoSyncWindow.Closing += new System.ComponentModel.CancelEventHandler(this.windowClosing); #line default #line hidden return; case 2: this.ftpAddress = ((System.Windows.Controls.TextBox)(target)); return; case 3: this.scrollFolderNames = ((System.Windows.Controls.ScrollViewer)(target)); return; case 4: this.folderNames = ((System.Windows.Controls.TextBox)(target)); #line 24 "..\..\MainWindow.xaml" this.folderNames.KeyDown += new System.Windows.Input.KeyEventHandler(this.folderNamesKeyDown); #line default #line hidden return; case 5: this.intervalTextBox = ((System.Windows.Controls.TextBox)(target)); return; case 6: this.verboseCheckbox = ((System.Windows.Controls.CheckBox)(target)); #line 30 "..\..\MainWindow.xaml" this.verboseCheckbox.Checked += new System.Windows.RoutedEventHandler(this.verboseChecked); #line default #line hidden #line 30 "..\..\MainWindow.xaml" this.verboseCheckbox.Unchecked += new System.Windows.RoutedEventHandler(this.verboseUnchecked); #line default #line hidden return; case 7: this.startButton = ((System.Windows.Controls.Button)(target)); #line 33 "..\..\MainWindow.xaml" this.startButton.Click += new System.Windows.RoutedEventHandler(this.startButtonClicked); #line default #line hidden #line 33 "..\..\MainWindow.xaml" this.startButton.KeyDown += new System.Windows.Input.KeyEventHandler(this.startButtonKeyDown); #line default #line hidden return; case 8: this.realStartButton = ((System.Windows.Controls.Button)(target)); #line 34 "..\..\MainWindow.xaml" this.realStartButton.Click += new System.Windows.RoutedEventHandler(this.realStartButtonClicked); #line default #line hidden #line 34 "..\..\MainWindow.xaml" this.realStartButton.KeyDown += new System.Windows.Input.KeyEventHandler(this.realStartButtonKeyDown); #line default #line hidden return; case 9: this.aboutButton = ((System.Windows.Controls.Button)(target)); #line 35 "..\..\MainWindow.xaml" this.aboutButton.Click += new System.Windows.RoutedEventHandler(this.aboutButtonClicked); #line default #line hidden #line 35 "..\..\MainWindow.xaml" this.aboutButton.KeyDown += new System.Windows.Input.KeyEventHandler(this.aboutButtonKeyDown); #line default #line hidden return; case 10: this.statusImage = ((System.Windows.Controls.Image)(target)); return; case 11: #line 38 "..\..\MainWindow.xaml" ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.anonymousClicked); #line default #line hidden #line 38 "..\..\MainWindow.xaml" ((System.Windows.Controls.Button)(target)).KeyDown += new System.Windows.Input.KeyEventHandler(this.anonymousKeyDown); #line default #line hidden return; case 12: this.usernameTextBox = ((System.Windows.Controls.TextBox)(target)); return; case 13: this.passwordTextBox = ((System.Windows.Controls.TextBox)(target)); return; } this._contentLoaded = true; }
void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) { switch (connectionId) { case 1: this.window = ((WpfApplication1.MainWindow)(target)); return; case 2: this.grid = ((System.Windows.Controls.Grid)(target)); return; case 3: this.grid1 = ((System.Windows.Controls.Grid)(target)); return; case 4: this.image = ((System.Windows.Controls.Image)(target)); #line 215 "..\..\welcome.xaml" this.image.MouseMove += new System.Windows.Input.MouseEventHandler(this.Move); #line default #line hidden return; case 5: this.image3 = ((System.Windows.Controls.Image)(target)); #line 225 "..\..\welcome.xaml" this.image3.MouseMove += new System.Windows.Input.MouseEventHandler(this.Move); #line default #line hidden return; case 6: this.image1 = ((System.Windows.Controls.Image)(target)); #line 235 "..\..\welcome.xaml" this.image1.MouseMove += new System.Windows.Input.MouseEventHandler(this.Move); #line default #line hidden return; case 7: this.image2 = ((System.Windows.Controls.Image)(target)); #line 245 "..\..\welcome.xaml" this.image2.MouseMove += new System.Windows.Input.MouseEventHandler(this.Move); #line default #line hidden return; case 8: this.but0 = ((System.Windows.Controls.Button)(target)); #line 256 "..\..\welcome.xaml" this.but0.MouseEnter += new System.Windows.Input.MouseEventHandler(this.PlaySmallVoice); #line default #line hidden return; case 9: this.but1 = ((System.Windows.Controls.Button)(target)); #line 267 "..\..\welcome.xaml" this.but1.Click += new System.Windows.RoutedEventHandler(this.Button_Click_1); #line default #line hidden #line 267 "..\..\welcome.xaml" this.but1.MouseEnter += new System.Windows.Input.MouseEventHandler(this.PlaySmallVoice); #line default #line hidden return; case 10: this.but4 = ((System.Windows.Controls.Button)(target)); #line 278 "..\..\welcome.xaml" this.but4.MouseEnter += new System.Windows.Input.MouseEventHandler(this.PlaySmallVoice); #line default #line hidden return; case 11: this.but2 = ((System.Windows.Controls.Button)(target)); #line 289 "..\..\welcome.xaml" this.but2.MouseEnter += new System.Windows.Input.MouseEventHandler(this.PlaySmallVoice); #line default #line hidden return; case 12: this.but3 = ((System.Windows.Controls.Button)(target)); #line 300 "..\..\welcome.xaml" this.but3.Click += new System.Windows.RoutedEventHandler(this.Button_Click); #line default #line hidden #line 300 "..\..\welcome.xaml" this.but3.MouseEnter += new System.Windows.Input.MouseEventHandler(this.PlaySmallVoice); #line default #line hidden return; case 13: this.mp = ((System.Windows.Controls.MediaElement)(target)); #line 310 "..\..\welcome.xaml" this.mp.MediaEnded += new System.Windows.RoutedEventHandler(this.repaly); #line default #line hidden return; } this._contentLoaded = true; }
public Chess(WpfApplication1.MainWindow mw) { this.mw = mw; }
void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) { switch (connectionId) { case 1: this.Window = ((WpfApplication1.MainWindow)(target)); return; case 2: this.LayoutRoot = ((System.Windows.Controls.Grid)(target)); return; case 3: this.tables = ((System.Windows.Controls.Primitives.TabPanel)(target)); return; } this._contentLoaded = true; }
void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) { switch (connectionId) { case 1: this.mainWindow = ((WpfApplication1.MainWindow)(target)); #line 5 "..\..\MainWindow.xaml" this.mainWindow.Closing += new System.ComponentModel.CancelEventHandler(this.Window_Closing); #line default #line hidden return; case 2: this.pauseButton = ((System.Windows.Controls.Button)(target)); #line 15 "..\..\MainWindow.xaml" this.pauseButton.Click += new System.Windows.RoutedEventHandler(this.CountUp_Click); #line default #line hidden return; case 3: this.leftTimeLabel = ((System.Windows.Controls.Label)(target)); return; case 4: this.leftTimeLabel1 = ((System.Windows.Controls.Label)(target)); return; case 5: this.tasksTab = ((System.Windows.Controls.TabItem)(target)); return; case 6: this.taskTimeLabel = ((System.Windows.Controls.Label)(target)); return; case 7: this.tmlabel_Copy = ((System.Windows.Controls.Label)(target)); return; case 8: this.deadlineLabel = ((System.Windows.Controls.Label)(target)); return; case 9: this.tmlabel_Copy2 = ((System.Windows.Controls.Label)(target)); return; case 10: this.projectLabel_Copy = ((System.Windows.Controls.Label)(target)); return; case 11: this.projectLabel = ((System.Windows.Controls.Label)(target)); return; case 12: this.directorLabel_Copy = ((System.Windows.Controls.Label)(target)); return; case 13: this.directorLabel = ((System.Windows.Controls.Label)(target)); return; case 14: this.descriptionTextBox = ((System.Windows.Controls.TextBox)(target)); return; case 15: this.tStatusLabel = ((System.Windows.Controls.Label)(target)); return; case 16: this.taskCorrTimeLabel = ((System.Windows.Controls.Label)(target)); return; case 17: this.corrlabel = ((System.Windows.Controls.Label)(target)); return; case 18: this.infoTab = ((System.Windows.Controls.TabItem)(target)); return; case 19: this.tmlabel_Copy1 = ((System.Windows.Controls.Label)(target)); return; case 20: this.totalTimeLabel = ((System.Windows.Controls.Label)(target)); return; case 21: this.inWorkLabel = ((System.Windows.Controls.Label)(target)); return; case 22: this.correctLabel = ((System.Windows.Controls.Label)(target)); return; case 23: this.complLabel = ((System.Windows.Controls.Label)(target)); return; case 24: this.userLabel = ((System.Windows.Controls.Label)(target)); return; case 25: this.tmlabel_Copy3 = ((System.Windows.Controls.Label)(target)); return; case 26: this.totalCorrectTimeLabel = ((System.Windows.Controls.Label)(target)); return; case 27: this.allTasksTab = ((System.Windows.Controls.TabItem)(target)); return; case 28: #line 82 "..\..\MainWindow.xaml" ((System.Windows.Controls.StackPanel)(target)).MouseLeftButtonDown += new System.Windows.Input.MouseButtonEventHandler(this.StackPanel_MouseLeftButtonDown); #line default #line hidden return; case 29: this.TasksGridView = ((System.Windows.Controls.DataGrid)(target)); return; case 30: this.CountUp_Button = ((System.Windows.Controls.Button)(target)); #line 99 "..\..\MainWindow.xaml" this.CountUp_Button.Click += new System.Windows.RoutedEventHandler(this.CountUp_Click); #line default #line hidden return; case 31: this.completeButton = ((System.Windows.Controls.Button)(target)); #line 104 "..\..\MainWindow.xaml" this.completeButton.Click += new System.Windows.RoutedEventHandler(this.completeButton_Click); #line default #line hidden return; case 32: this.correctButton = ((System.Windows.Controls.Button)(target)); #line 109 "..\..\MainWindow.xaml" this.correctButton.Click += new System.Windows.RoutedEventHandler(this.correctButton_Click); #line default #line hidden return; case 33: this.taskBox = ((System.Windows.Controls.ComboBox)(target)); #line 114 "..\..\MainWindow.xaml" this.taskBox.SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.ComboBoxSelectionChanged); #line default #line hidden return; } this._contentLoaded = true; }
void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) { switch (connectionId) { case 1: this.myMain = ((WpfApplication1.MainWindow)(target)); return; case 2: this.menu = ((System.Windows.Controls.DockPanel)(target)); return; case 3: #line 10 "..\..\MainWindow.xaml" ((System.Windows.Controls.MenuItem)(target)).Click += new System.Windows.RoutedEventHandler(this.close); #line default #line hidden return; case 4: #line 11 "..\..\MainWindow.xaml" ((System.Windows.Controls.MenuItem)(target)).Click += new System.Windows.RoutedEventHandler(this.save); #line default #line hidden return; case 5: this.myList = ((System.Windows.Controls.ListBox)(target)); return; case 6: this.element = ((System.Windows.Controls.ListBoxItem)(target)); return; case 7: this.element2 = ((System.Windows.Controls.ListBoxItem)(target)); return; case 8: this.element3 = ((System.Windows.Controls.ListBoxItem)(target)); return; case 9: this.back = ((System.Windows.Controls.Canvas)(target)); #line 19 "..\..\MainWindow.xaml" this.back.MouseLeftButtonDown += new System.Windows.Input.MouseButtonEventHandler(this.click); #line default #line hidden return; case 10: this.myCav = ((System.Windows.Controls.Canvas)(target)); return; case 11: this.myLab = ((System.Windows.Controls.Label)(target)); return; } this._contentLoaded = true; }
void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) { switch (connectionId) { case 1: this.KitchenTimer = ((WpfApplication1.MainWindow)(target)); return; case 2: this.TbCountDown = ((System.Windows.Controls.TextBlock)(target)); return; case 3: this.ButtonStartPause = ((System.Windows.Controls.Button)(target)); return; case 4: this.ButtonStop = ((System.Windows.Controls.Button)(target)); return; case 5: this.Hours = ((System.Windows.Controls.TextBox)(target)); return; case 6: this.Minutes = ((System.Windows.Controls.TextBox)(target)); return; case 7: this.Seconds = ((System.Windows.Controls.TextBox)(target)); return; case 8: this.Button5Min = ((System.Windows.Controls.Button)(target)); return; case 9: this.Button10Min = ((System.Windows.Controls.Button)(target)); return; case 10: this.Button7Min = ((System.Windows.Controls.Button)(target)); return; } this._contentLoaded = true; }
void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) { switch (connectionId) { case 1: this.locationWindow = ((WpfApplication1.MainWindow)(target)); #line 4 "..\..\..\MainWindow.xaml" this.locationWindow.Loaded += new System.Windows.RoutedEventHandler(this.Window_Loaded_1); #line default #line hidden #line 4 "..\..\..\MainWindow.xaml" this.locationWindow.MouseDoubleClick += new System.Windows.Input.MouseButtonEventHandler(this.locationWindow_MouseDoubleClick); #line default #line hidden return; case 2: this.grid = ((System.Windows.Controls.Grid)(target)); return; case 3: this.imgCloudy = ((System.Windows.Controls.Image)(target)); return; case 4: this.cpuUsage = ((System.Windows.Controls.ProgressBar)(target)); return; case 5: this.resultLabel = ((System.Windows.Controls.TextBox)(target)); return; case 6: this.cancel = ((System.Windows.Controls.Button)(target)); #line 17 "..\..\..\MainWindow.xaml" this.cancel.Click += new System.Windows.RoutedEventHandler(this.cancel_Click); #line default #line hidden return; case 7: this.txtNetOut = ((System.Windows.Controls.TextBox)(target)); return; case 8: this.txtNetIn = ((System.Windows.Controls.TextBox)(target)); return; case 9: this.txtExternal = ((System.Windows.Controls.TextBox)(target)); return; case 10: this.txtLocal = ((System.Windows.Controls.TextBox)(target)); return; case 11: this.lblCPU = ((System.Windows.Controls.Label)(target)); return; case 12: this.lblLoops = ((System.Windows.Controls.Label)(target)); return; case 13: this.lblNetIn = ((System.Windows.Controls.Label)(target)); return; case 14: this.lblNetOut = ((System.Windows.Controls.Label)(target)); return; case 15: this.lblExternalIP = ((System.Windows.Controls.Label)(target)); return; case 16: this.lblLocalIP = ((System.Windows.Controls.Label)(target)); return; case 17: this.txtRam = ((System.Windows.Controls.TextBox)(target)); return; case 18: this.lblRam = ((System.Windows.Controls.Label)(target)); return; case 19: this.txtRamUsed = ((System.Windows.Controls.TextBox)(target)); return; case 20: this.lblRamUsed = ((System.Windows.Controls.Label)(target)); return; case 21: this.txtRamPercent = ((System.Windows.Controls.TextBox)(target)); return; case 22: this.lblRamPercent = ((System.Windows.Controls.Label)(target)); return; case 23: this.txtDriveSpace = ((System.Windows.Controls.TextBox)(target)); return; case 24: this.lblDiskSpace = ((System.Windows.Controls.Label)(target)); return; case 25: this.lblTotalReceived = ((System.Windows.Controls.Label)(target)); return; case 26: this.txtTotalReceived = ((System.Windows.Controls.TextBox)(target)); return; case 27: this.lblTotalSent = ((System.Windows.Controls.Label)(target)); return; case 28: this.txtTotalSent = ((System.Windows.Controls.TextBox)(target)); return; case 29: this.txtPing = ((System.Windows.Controls.TextBox)(target)); return; case 30: this.lblPing = ((System.Windows.Controls.Label)(target)); return; case 31: this.txtPoint = ((System.Windows.Controls.TextBox)(target)); return; case 32: this.lblLocation = ((System.Windows.Controls.Label)(target)); return; case 33: this.txtAvgBox = ((System.Windows.Controls.TextBlock)(target)); return; case 34: this.lblUpdates = ((System.Windows.Controls.Label)(target)); return; case 35: this.txtWeather = ((System.Windows.Controls.TextBox)(target)); return; case 36: this.txtUpdates = ((System.Windows.Controls.TextBox)(target)); return; case 37: this.txtTime = ((System.Windows.Controls.TextBlock)(target)); return; case 38: this.lblSysInfo = ((System.Windows.Controls.Label)(target)); return; } this._contentLoaded = true; }
void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) { switch (connectionId) { case 1: this.Master = ((WpfApplication1.MainWindow)(target)); return; case 2: this.MainView = ((System.Windows.Controls.Grid)(target)); return; case 3: this.GridElement = ((System.Windows.Controls.Grid)(target)); return; case 4: this.HeaderText = ((System.Windows.Controls.Label)(target)); return; case 5: this.nextText = ((System.Windows.Controls.Label)(target)); return; case 6: this.bottomText = ((System.Windows.Controls.Label)(target)); return; } this._contentLoaded = true; }
void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) { switch (connectionId) { case 1: this.start_main_window = ((WpfApplication1.MainWindow)(target)); return; case 2: this.start_main_grid = ((System.Windows.Controls.Grid)(target)); return; case 3: this.start_anrg_image = ((System.Windows.Controls.Image)(target)); return; case 4: this.start_demo_config_label = ((System.Windows.Controls.Label)(target)); return; case 5: this.start_timers_grid = ((System.Windows.Controls.Grid)(target)); return; case 6: this.start_timer_inrange_label = ((System.Windows.Controls.Label)(target)); return; case 7: this.start_timer_outrange_label = ((System.Windows.Controls.Label)(target)); return; case 8: this.start_timer_inrange_textbox = ((System.Windows.Controls.TextBox)(target)); #line 12 "..\..\MainWindow.xaml" this.start_timer_inrange_textbox.TextChanged += new System.Windows.Controls.TextChangedEventHandler(this.start_timer_inrange_textbox_TextChanged); #line default #line hidden #line 12 "..\..\MainWindow.xaml" this.start_timer_inrange_textbox.KeyDown += new System.Windows.Input.KeyEventHandler(this.start_timer_inrange_textbox_KeyDown); #line default #line hidden return; case 9: this.start_timer_outrange_textbox = ((System.Windows.Controls.TextBox)(target)); #line 13 "..\..\MainWindow.xaml" this.start_timer_outrange_textbox.TextChanged += new System.Windows.Controls.TextChangedEventHandler(this.start_timer_outrange_textbox_TextChanged); #line default #line hidden #line 13 "..\..\MainWindow.xaml" this.start_timer_outrange_textbox.KeyDown += new System.Windows.Input.KeyEventHandler(this.start_timer_outrange_textbox_KeyDown); #line default #line hidden return; case 10: this.start_timer_inrange_units_label = ((System.Windows.Controls.Label)(target)); return; case 11: this.start_start_button = ((System.Windows.Controls.Button)(target)); #line 18 "..\..\MainWindow.xaml" this.start_start_button.Click += new System.Windows.RoutedEventHandler(this.start_start_button_Click); #line default #line hidden return; case 12: this.start_cci_image = ((System.Windows.Controls.Image)(target)); return; case 13: this.start_viterbi_image = ((System.Windows.Controls.Image)(target)); return; } this._contentLoaded = true; }
void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) { switch (connectionId) { case 1: this.mainWindow = ((WpfApplication1.MainWindow)(target)); #line 5 "..\..\MainWindow.xaml" this.mainWindow.Closing += new System.ComponentModel.CancelEventHandler(this.Window_Closing); #line default #line hidden return; case 2: this.leftTimeLabel = ((System.Windows.Controls.Label)(target)); return; case 3: this.leftTimeLabel1 = ((System.Windows.Controls.Label)(target)); return; case 4: this.taskTimeLabel = ((System.Windows.Controls.Label)(target)); return; case 5: this.tmlabel_Copy = ((System.Windows.Controls.Label)(target)); return; case 6: this.deadlineLabel = ((System.Windows.Controls.Label)(target)); return; case 7: this.tmlabel_Copy2 = ((System.Windows.Controls.Label)(target)); return; case 8: this.projectLabel_Copy = ((System.Windows.Controls.Label)(target)); return; case 9: this.projectLabel = ((System.Windows.Controls.Label)(target)); return; case 10: this.directorLabel_Copy = ((System.Windows.Controls.Label)(target)); return; case 11: this.directorLabel = ((System.Windows.Controls.Label)(target)); return; case 12: this.descriptionTextBox = ((System.Windows.Controls.TextBox)(target)); return; case 13: this.tStatusLabel = ((System.Windows.Controls.Label)(target)); return; case 14: this.tmlabel_Copy1 = ((System.Windows.Controls.Label)(target)); return; case 15: this.totalTimeLabel = ((System.Windows.Controls.Label)(target)); return; case 16: this.inWorkLabel = ((System.Windows.Controls.Label)(target)); return; case 17: this.correctLabel = ((System.Windows.Controls.Label)(target)); return; case 18: this.complLabel = ((System.Windows.Controls.Label)(target)); return; case 19: this.userLabel = ((System.Windows.Controls.Label)(target)); return; case 20: this.tmlabel_Copy3 = ((System.Windows.Controls.Label)(target)); return; case 21: this.totalCorrectTimeLabel = ((System.Windows.Controls.Label)(target)); return; case 22: this.CountUp_Button = ((System.Windows.Controls.Button)(target)); #line 70 "..\..\MainWindow.xaml" this.CountUp_Button.Click += new System.Windows.RoutedEventHandler(this.CountUp_Click); #line default #line hidden return; case 23: this.completeButton = ((System.Windows.Controls.Button)(target)); #line 75 "..\..\MainWindow.xaml" this.completeButton.Click += new System.Windows.RoutedEventHandler(this.completeButton_Click); #line default #line hidden return; case 24: this.correctButton = ((System.Windows.Controls.Button)(target)); #line 80 "..\..\MainWindow.xaml" this.correctButton.Click += new System.Windows.RoutedEventHandler(this.correctButton_Click); #line default #line hidden return; case 25: this.taskBox = ((System.Windows.Controls.ComboBox)(target)); #line 85 "..\..\MainWindow.xaml" this.taskBox.SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.ComboBoxSelectionChanged); #line default #line hidden return; case 26: this.pauseButton = ((System.Windows.Controls.Button)(target)); #line 86 "..\..\MainWindow.xaml" this.pauseButton.Click += new System.Windows.RoutedEventHandler(this.CountUp_Click); #line default #line hidden return; } this._contentLoaded = true; }