Interaction logic for MainWindow.xaml
Inheritance: Window
Ejemplo n.º 1
0
        private void autenticarVendedores(object sender, RoutedEventArgs e)
        {
            string cs = ConfigurationManager.ConnectionStrings[0].ConnectionString;
            VendedoresBL contexto = new VendedoresBL();

            string nombreUsuario = txtNombreUsuario.Text;

            string contrasenia = passContrasenia.Password;

            bool resultado = contexto.AutenticarVendedores(nombreUsuario, contrasenia);
        
            if (resultado)
            {
                LoginAuditoriaBL context = new LoginAuditoriaBL();
                context.RegistrarUsuario(cs, nombreUsuario);
                MainWindow mainWindow = new MainWindow();
                this.Hide();
                mainWindow.Show();
            }
            else
            {
                MessageBox.Show("Nombre de usuario o contraseña no validos.", "Login Invalido", MessageBoxButton.OK, MessageBoxImage.Warning);
                txtNombreUsuario.Clear();
                passContrasenia.Clear();
            }
        }
Ejemplo n.º 2
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.mainWindow = ((WpfApplication1.MainWindow)(target));
                return;

            case 2:
                this.mePlayer = ((System.Windows.Controls.MediaElement)(target));
                return;

            case 3:
                this.Play = ((System.Windows.Controls.Button)(target));

            #line 21 "..\..\MainWindow.xaml"
                this.Play.Click += new System.Windows.RoutedEventHandler(this.Play_OnClick);

            #line default
            #line hidden
                return;

            case 4:
                this.Pause = ((System.Windows.Controls.Button)(target));

            #line 22 "..\..\MainWindow.xaml"
                this.Pause.Click += new System.Windows.RoutedEventHandler(this.Pause_OnClick);

            #line default
            #line hidden
                return;
            }
            this._contentLoaded = true;
        }
Ejemplo n.º 3
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.Window = ((WpfApplication1.MainWindow)(target));
                return;

            case 2:
                this.MainGrid = ((System.Windows.Controls.Grid)(target));
                return;

            case 3:
                this.TextBlock = ((System.Windows.Controls.Label)(target));
                return;

            case 4:

            #line 62 "..\..\MainWindow.xaml"
                ((System.Windows.Controls.MenuItem)(target)).Click += new System.Windows.RoutedEventHandler(this.Exit);

            #line default
            #line hidden
                return;
            }
            this._contentLoaded = true;
        }
Ejemplo n.º 4
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.d = ((WpfApplication1.MainWindow)(target));
                return;

            case 2:

            #line 34 "..\..\MainWindow.xaml"
                ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.Button_Click_1);

            #line default
            #line hidden
                return;

            case 3:

            #line 35 "..\..\MainWindow.xaml"
                ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.Button_Click);

            #line default
            #line hidden
                return;
            }
            this._contentLoaded = true;
        }
Ejemplo n.º 5
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.Vlive = ((WpfApplication1.MainWindow)(target));
                return;

            case 2:
                this.HamburgerMenuControl = ((MahApps.Metro.Controls.HamburgerMenu)(target));

            #line 89 "..\..\..\MainWindow.xaml"
                this.HamburgerMenuControl.ItemClick += new MahApps.Metro.Controls.ItemClickEventHandler(this.HamburgerMenuControl_OnItemClick);

            #line default
            #line hidden

            #line 90 "..\..\..\MainWindow.xaml"
                this.HamburgerMenuControl.OptionsItemClick += new MahApps.Metro.Controls.ItemClickEventHandler(this.HamburgerMenuControl_OnItemClick);

            #line default
            #line hidden
                return;

            case 3:
                this.Home = ((MahApps.Metro.Controls.HamburgerMenuGlyphItem)(target));
                return;

            case 4:
                this.taskBarItemInfo = ((System.Windows.Shell.TaskbarItemInfo)(target));
                return;
            }
            this._contentLoaded = true;
        }
Ejemplo n.º 6
0
 private void favButtonClick(object sender, MouseButtonEventArgs e)
 {
     if (main == null)
         main = (MainWindow)Window.GetWindow(this);
     main.switchToFavs();
     main.switchMainView();
 }
Ejemplo n.º 7
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.mainWindow = ((WpfApplication1.MainWindow)(target));
                return;

            case 2:
                this.combox1 = ((System.Windows.Controls.ComboBox)(target));
                return;

            case 3:
                this.TextBox1 = ((System.Windows.Controls.TextBox)(target));
                return;

            case 4:
                this.TextBlock1 = ((System.Windows.Controls.TextBlock)(target));
                return;

            case 5:
                this.Button1 = ((System.Windows.Controls.Button)(target));
                return;

            case 6:
                this.combox2 = ((System.Windows.Controls.ComboBox)(target));
                return;
            }
            this._contentLoaded = true;
        }
Ejemplo n.º 8
0
 public SnackCategory(MainWindow aMain)
 {
     initRecipes();
     myMain = aMain;
     InitializeComponent();
     defaultView();
 }
Ejemplo n.º 9
0
 private void logoClicked(object sender, MouseButtonEventArgs e)
 {
     if (main == null)
         main = (MainWindow)Window.GetWindow(this);
     main.switchToDiscover();
     main.switchMainView();
 }
 private void Button_Click_2(object sender, RoutedEventArgs e)
 {
     MainWindow mdn = new MainWindow();
     ;
     this.Hide();
     mdn.Show();
 }
Ejemplo n.º 11
0
 protected override Result RunCommand(RhinoDoc doc, RunMode mode)
 {
     System.Windows.Window my = new WpfApplication1.MainWindow();
     new System.Windows.Interop.WindowInteropHelper(my).Owner = Rhino.RhinoApp.MainWindowHandle();
     my.Show();
     //bool? result = my.ShowDialog();
     return(Result.Success);
 }
Ejemplo n.º 12
0
 public FavoritesTab(MainWindow mainWindow)
 {
     message = new NoFavouritesMessage();
     myFaves = new List<IRecipe>();
     myMain = mainWindow;
     InitializeComponent();
     updateView();
 }
Ejemplo n.º 13
0
 private void Application_Startup(object sender, StartupEventArgs e)
 {
     // Create the startup window
     MainWindow wnd = new MainWindow();
     // Do stuff here, e.g. to the window
     wnd.Title = "Something else";
     // Show the window
     wnd.Show();
 }
        public SelectionWindow(MainWindow window, int offset)
        {
            InitializeComponent();
            mWindow = window;
            mOffset = offset;
            XmlTextReader reader = new XmlTextReader("../../Content/Types.xml");
            items = new Hashtable();
            hasText = new Hashtable();

            StackPanel stack = new StackPanel();

            cbox = new ComboBox();
            cbox.Background = Brushes.LightBlue;

            reader.Read();

            while (reader.Read())
            {
                switch (reader.NodeType)
                {
                    case XmlNodeType.Element:
                        var cboxitem = new ComboBoxItem();
                        cboxitem.Content = reader.Name;
                        cbox.Items.Add(cboxitem);
                        name = reader.Name;
                        //hasText[name] = false;
                        List<Tuple<string, string>> list = new List<Tuple<string, string>>();
                        items[name] = list;

                        if (reader.HasAttributes)
                        {
                            List<Tuple<string, string>> templist = items[name] as List<Tuple<string, string>>;
                            while (reader.MoveToNextAttribute())
                            {
                                Tuple<string, string> tuple = new Tuple<string, string>(reader.Name, reader.Value);
                                templist.Add(tuple);
                            }
                        }
                        break;
                    case XmlNodeType.Text:
                        hasText[name] = reader.Value;
                        break;
                    case XmlNodeType.EndElement:
                        break;
                }
            }

            stack.Children.Add(cbox);

            Button AddButton = new Button();
            AddButton.Content = "Add";
            AddButton.Click += AddButton_Click;

            stack.Children.Add(AddButton);

            this.AddChild(stack);
        }
Ejemplo n.º 15
0
 private void Application_Startup(object sender, StartupEventArgs e)
 {
     MainWindow wnd = new MainWindow();
     if(e.Args==null)
     wnd.WPFClientStart(e.Args[0], e.Args[1]);
     else
     wnd.WPFClientStart("/Performance", "8089");
     wnd.Show();
 }
Ejemplo n.º 16
0
        public TouchControl(DrawArea owner)
        {
            this.owner = owner;
            nh         = new NodeHandle();

            pub = nh.advertise <Messages.geometry_msgs.Twist>("/cmd_vel", 1, false);

            engineCtlForm  = new WpfApplication1.MainWindow(this);
            directCtrlForm = new WpfApplication1.Window1(this);
        }
Ejemplo n.º 17
0
		public static void Main()
        {
            
            Application app = new Application();
            MainWindow mw = new MainWindow();
			//UI.Multiplayer multi = new UI.Multiplayer();
            app.Run(mw);

            
        }
Ejemplo n.º 18
0
        private void button1_Click(object sender, RoutedEventArgs e)
        {
            if (textBox1.Text.Length != 0 && !textBox1.Text.Equals("Enter Nickname!"))
            {
                templogin = textBox1.Text;
                MainWindow win = new MainWindow();
                win.Show();

                this.Hide();
            }
            textBox1.Text = "Enter Nickname!";
        }
Ejemplo n.º 19
0
        public ViewModel(MainWindow main)
        {
            //st.Start();
            InitializeAfterDeserialization();

            _mainWindow = main;

            InitializeMainWindowComponents();

            _controls = GetAllControls();
            //st.Stop();
        }
Ejemplo n.º 20
0
		private void JumpToMain(object sender, System.Windows.RoutedEventArgs e)
		{
            if (sflag)
            {
                first.Stop();
                sflag = false;
            }
            first.Dispose();
			MainWindow mw = new MainWindow();
			mw.Show();
			this.Close();
		}
Ejemplo n.º 21
0
        public MainWindow()
        {
            w = this;
            //Popup window
            var confirm = (Func<string,string,bool>)((msg, capt) =>
                System.Windows.MessageBox.Show(msg, capt, MessageBoxButton.YesNo) == MessageBoxResult.Yes);
            var window = new Action(() => (new Window()).Show());

            this.DataContext = new ModVM.ModViewModel(confirm);

            InitializeComponent();
        }
Ejemplo n.º 22
0
        public App()
        {
            databaseManager = new DatabaseManager();

            firstWindow = new FirstWindow();
            firstWindow.message += receiveMessage;
            firstWindow.updateLast(databaseManager.checkProjects());

            mainWindow = new MainWindow();
            mainWindow.message += receiveMessage;

            App.Current.MainWindow = firstWindow;
            firstWindow.Show();
        }
Ejemplo n.º 23
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.NameWindow = ((WpfApplication1.MainWindow)(target));
                return;

            case 2:
                this.MyMainVm = ((WpfApplication1.ViewModel.MainVm)(target));
                return;
            }
            this._contentLoaded = true;
        }
Ejemplo n.º 24
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.Level_Editor = ((WpfApplication1.MainWindow)(target));
                return;

            case 2:
                this.menu = ((System.Windows.Controls.Menu)(target));
                return;
            }
            this._contentLoaded = true;
        }
Ejemplo n.º 25
0
        private void cambiarVentana(object sender, RoutedEventArgs e)
        {
            //Evento entrar a la ventana de jugar.
            if (imagen.Source == null)
            {
                titulo.Content = "Tiene que seleccionar un avatar para jugar.";
            }

            else
            {
                MainWindow ventanaJuego = new MainWindow(imagen);
                ventanaJuego.Show();
                this.Close();
            }
        }
Ejemplo n.º 26
0
        private void btnLogin_Click(object sender, RoutedEventArgs e)
        {
            CRUD c = new CRUD();
            String userName = txtBxuserName.Text.ToLower();
            string pass = passBxPassword.Password;
            lblfrgtPass.Visibility = Visibility.Hidden;
            lblLoading.Visibility = Visibility.Visible;

            txtBxuserName.IsEnabled = false;
            passBxPassword.IsEnabled = false;
            btnLogin.IsEnabled = false;
            TaskManEntities tme = new TaskManEntities();
            var user=tme.Users.Where(p=>p.id==1).FirstOrDefault();
            foreach (var v in tme.Users)
            {
                if (v.userLogin == userName)
                {
                   user = tme.Users.Where(p => p.userLogin == userName).FirstOrDefault();
                }
            }
            
            if (user.userPass == pass)
            {
                MainWindow mw = new MainWindow();
                c.setID(user.id);
                this.Close();
                mw.ShowDialog();
               
                
                
            }

            else
            {
                lblLoading.Visibility = Visibility.Hidden;
                lblfrgtPass.Visibility = Visibility.Visible;
                txtBxuserName.IsEnabled = true;
                txtBxuserName.BorderBrush = Brushes.Red;
                passBxPassword.IsEnabled = true;
                passBxPassword.BorderBrush = Brushes.Red;
                btnLogin.IsEnabled = true;
                Mouse.OverrideCursor = null;
            }

        }
Ejemplo n.º 27
0
        //Contructors
        public BanCo(MainWindow frm, Grid grd)
        {
            Option = new TuyChon();
            OWin = new cls5OWin();
            row = column = 12;
            currPlayer = Player.None;
            end = Player.None;
            frmParent = frm;
            grdBanCo = grd;
            board = new Player[row, column];
            ResetBoard();
            eBoard = new LuongGia(this);

          
            grdBanCo.MouseDown += new System.Windows.Input.MouseButtonEventHandler(grdBanCo_MouseDown);
            worker.DoWork += wait;
            worker.RunWorkerCompleted +=maydanh;
        }
Ejemplo n.º 28
0
 //Contructors
 public BanCo(MainWindow frm, Grid grd)
 {
     Option = new Chon();
     OWin = new _5OWin();
     row = column = 12;
     board = new Player[row, column];
     ResetBoard();
     eBoard = new LuongGia(this);
     currPlayer = Player.None;
     end = Player.None;
     frmParent = frm;
     grdBanCo = grd;           
     ddau = new DanhDau();
     Createddau();
     grdBanCo.Children.Add(ddau);
     grdBanCo.MouseDown += new System.Windows.Input.MouseButtonEventHandler(grdBanCo_MouseDown);
     worker.DoWork += wait;
     worker.RunWorkerCompleted += danh;
 }
Ejemplo n.º 29
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.MainWindow1 = ((WpfApplication1.MainWindow)(target));
                return;

            case 2:
                this.grid = ((System.Windows.Controls.Grid)(target));
                return;

            case 3:
                this.PollsListBox = ((System.Windows.Controls.ListBox)(target));
                return;

            case 4:
                this.MainStackPanel = ((System.Windows.Controls.StackPanel)(target));
                return;
            }
            this._contentLoaded = true;
        }
Ejemplo n.º 30
0
        private void searchButton_Click(object sender, RoutedEventArgs e)
        {
            if (main == null)
                main = (MainWindow)Window.GetWindow(this);
            string searchText = searchBox.Text.ToString();
            Console.WriteLine(searchText);
            SearchView searchResults = new SearchView();
            searchResults.setMain(main);
            if (searchText.ToLower() == "pasta")
            {
                searchResults.initPasta();
            }
            else if (searchText.ToLower() == "breakfast")
            {
                main.switchBreakFastView();
                return;
            }
            else if (searchText.ToLower() == "chicken")
            {
                searchResults.initChicken();
            }

            main.switchToView(searchResults);
        }
Ejemplo n.º 31
0
 public TopRatedView(MainWindow aMain)
 {
     myMain = aMain;
     InitializeComponent();
     defaultView();
 }
Ejemplo n.º 32
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.window = ((WpfApplication1.MainWindow)(target));
                return;

            case 2:
                this.OEKgroupBox = ((System.Windows.Controls.GroupBox)(target));
                return;

            case 3:
                this.label = ((System.Windows.Controls.Label)(target));
                return;

            case 4:
                this.label1 = ((System.Windows.Controls.Label)(target));
                return;

            case 5:
                this.label2 = ((System.Windows.Controls.Label)(target));
                return;

            case 6:
                this.label3 = ((System.Windows.Controls.Label)(target));
                return;

            case 7:
                this.label4 = ((System.Windows.Controls.Label)(target));
                return;

            case 8:
                this.label5 = ((System.Windows.Controls.Label)(target));
                return;

            case 9:
                this.ADtextBox = ((System.Windows.Controls.TextBox)(target));

            #line 17 "..\..\MainWindow.xaml"
                this.ADtextBox.TextChanged += new System.Windows.Controls.TextChangedEventHandler(this.textBox_TextChanged);

            #line default
            #line hidden
                return;

            case 10:
                this.ONtextBox = ((System.Windows.Controls.TextBox)(target));
                return;

            case 11:
                this.SAtextBox = ((System.Windows.Controls.TextBox)(target));

            #line 19 "..\..\MainWindow.xaml"
                this.SAtextBox.TextChanged += new System.Windows.Controls.TextChangedEventHandler(this.textBox2_TextChanged);

            #line default
            #line hidden
                return;

            case 12:
                this.AStextBox = ((System.Windows.Controls.TextBox)(target));
                return;

            case 13:
                this.ODtextBox = ((System.Windows.Controls.TextBox)(target));
                return;

            case 14:
                this.FItextBox = ((System.Windows.Controls.TextBox)(target));
                return;

            case 15:
                this.OGgroupBox = ((System.Windows.Controls.GroupBox)(target));
                return;

            case 16:
                this.label6 = ((System.Windows.Controls.Label)(target));
                return;

            case 17:
                this.ONlistBox = ((System.Windows.Controls.ListBox)(target));
                return;

            case 18:
                this.ADlistBox = ((System.Windows.Controls.ListBox)(target));
                return;

            case 19:
                this.SAlistBox = ((System.Windows.Controls.ListBox)(target));
                return;

            case 20:
                this.ASlistBox = ((System.Windows.Controls.ListBox)(target));
                return;

            case 21:
                this.ODlistBox = ((System.Windows.Controls.ListBox)(target));
                return;

            case 22:
                this.FIlistBox = ((System.Windows.Controls.ListBox)(target));
                return;

            case 23:
                this.OEKbutton = ((System.Windows.Controls.Button)(target));

            #line 31 "..\..\MainWindow.xaml"
                this.OEKbutton.Click += new System.Windows.RoutedEventHandler(this.OEKbutton_Click);

            #line default
            #line hidden
                return;

            case 24:
                this.OSILbutton = ((System.Windows.Controls.Button)(target));
                return;

            case 25:
                this.HESgroupBox = ((System.Windows.Controls.GroupBox)(target));
                return;

            case 26:
                this.label7 = ((System.Windows.Controls.Label)(target));
                return;

            case 27:
                this.VIORtextBox = ((System.Windows.Controls.TextBox)(target));
                return;

            case 28:
                this.label8 = ((System.Windows.Controls.Label)(target));
                return;

            case 29:
                this.ODORtextBox = ((System.Windows.Controls.TextBox)(target));
                return;

            case 30:
                this.label9 = ((System.Windows.Controls.Label)(target));
                return;

            case 31:
                this.FIORtextBox = ((System.Windows.Controls.TextBox)(target));
                return;

            case 32:
                this.GORbutton = ((System.Windows.Controls.Button)(target));

            #line 40 "..\..\MainWindow.xaml"
                this.GORbutton.Click += new System.Windows.RoutedEventHandler(this.GORbutton_Click);

            #line default
            #line hidden
                return;

            case 33:
                this.EYORbutton = ((System.Windows.Controls.Button)(target));
                return;

            case 34:
                this.EDORbutton = ((System.Windows.Controls.Button)(target));
                return;

            case 35:
                this.SSbutton = ((System.Windows.Controls.Button)(target));
                return;

            case 36:
                this.BOSbutton = ((System.Windows.Controls.Button)(target));
                return;

            case 37:
                this.GORlabel = ((System.Windows.Controls.Label)(target));
                return;

            case 38:
                this.EYORlabel = ((System.Windows.Controls.Label)(target));
                return;

            case 39:
                this.EDORlabel = ((System.Windows.Controls.Label)(target));
                return;

            case 40:
                this.SSlabel = ((System.Windows.Controls.Label)(target));
                return;

            case 41:
                this.BOSlabel = ((System.Windows.Controls.Label)(target));
                return;
            }
            this._contentLoaded = true;
        }
Ejemplo n.º 33
0
 public CatagoriesTab(MainWindow mainWindow)
 {
     myMain = mainWindow;
     InitializeComponent();
 }
Ejemplo n.º 34
0
 private void AddButton(object sender, RoutedEventArgs e)
 {
     var F = new MainWindow();
     F.ShowDialog();
 }
Ejemplo n.º 35
0
        public Sector(int offset, MainWindow main, StackPanel parent, XmlNode root, XmlDocument xmlDoc)
        {
            mParent = parent;
            rootNode = root;
            SectorNode = xmlDoc.CreateElement("Sector");
            XmlAttribute attribute = xmlDoc.CreateAttribute("Name");

            StackPanel SectorStack = new StackPanel();
            SectorStack.Background = Brushes.Green;
            SectorStack.Orientation = Orientation.Horizontal;
            for (int i = 0; i < offset; ++i)
            {
                TextBlock Offset = new TextBlock();
                Offset.Width = 100;
                Offset.Background = Brushes.White;
                SectorStack.Children.Add(Offset);
            }

            TextBlock TitleText = new TextBlock();
            TitleText.Text = "Sector";
            TitleText.Width = 100;
            SectorStack.Children.Add(TitleText);

            StackPanel NameStack = new StackPanel();
            TextBlock Name = new TextBlock();
            Name.Width = 100;
            Name.Text = "Name:";
            NameStack.Children.Add(Name);

            TextBox EnterName = new TextBox();
            EnterName.Width = 100;
            EnterName.TextChanged += new System.Windows.Controls.TextChangedEventHandler(delegate (Object o, System.Windows.Controls.TextChangedEventArgs a)
            {
                XmlAttribute attribut = xmlDoc.CreateAttribute("Name");
                attribut.Value = EnterName.Text;
                SectorNode.Attributes.Append(attribut);
            });
            NameStack.Children.Add(EnterName);
            SectorStack.Children.Add(NameStack);

            Button AddButton = new Button();
            AddButton.Content = "Add";
            AddButton.Width = 100;
            AddButton.Tag = (++offset).ToString();
            AddButton.Click += new System.Windows.RoutedEventHandler(delegate (Object o, System.Windows.RoutedEventArgs a)
            {
                var button = o as Button;
                main.currentPanel = this;
                main.CurrentNode = SectorNode;
                SelectionWindow win2 = new SelectionWindow(main, int.Parse(button.Tag.ToString()));
                win2.Show();
            });
            SectorStack.Children.Add(AddButton);

            Button RemoveButton = new Button();
            RemoveButton.Content = "Remove";
            RemoveButton.Width = 100;
            RemoveButton.Click += new System.Windows.RoutedEventHandler(delegate (Object o, System.Windows.RoutedEventArgs a)
            {
                mParent.Children.Remove(this);
                rootNode.RemoveChild(SectorNode);
            });
            SectorStack.Children.Add(RemoveButton);

            this.Children.Add(SectorStack);

            attribute.Value = EnterName.Text;
            SectorNode.Attributes.Append(attribute);
            rootNode.AppendChild(SectorNode);
        }
Ejemplo n.º 36
0
 public void setMain(MainWindow aMain)
 {
     myMain = aMain;
 }
Ejemplo n.º 37
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.Parent = ((WpfApplication1.MainWindow)(target));

            #line 4 "..\..\..\MainWindow.xaml"
                this.Parent.Loaded += new System.Windows.RoutedEventHandler(this.Window_Loaded);

            #line default
            #line hidden
                return;

            case 2:
                this.menu1 = ((System.Windows.Controls.Menu)(target));
                return;

            case 3:

            #line 9 "..\..\..\MainWindow.xaml"
                ((System.Windows.Controls.MenuItem)(target)).Click += new System.Windows.RoutedEventHandler(this.replay);

            #line default
            #line hidden
                return;

            case 4:
                this.tabControl1 = ((System.Windows.Controls.TabControl)(target));
                return;

            case 5:
                this.tabItem1 = ((System.Windows.Controls.TabItem)(target));
                return;

            case 6:
                this.XStackPanel = ((System.Windows.Controls.WrapPanel)(target));
                return;

            case 7:
                this.button1 = ((System.Windows.Controls.Button)(target));
                return;

            case 8:
                this.button2 = ((System.Windows.Controls.Button)(target));
                return;

            case 9:
                this.scrolly = ((System.Windows.Controls.ScrollViewer)(target));
                return;

            case 10:
                this.showImage = ((System.Windows.Controls.Image)(target));
                return;

            case 11:
                this.scale = ((System.Windows.Media.ScaleTransform)(target));
                return;

            case 12:
                this.tabItem2 = ((System.Windows.Controls.TabItem)(target));
                return;

            case 13:
                this.scrolly1 = ((System.Windows.Controls.ScrollViewer)(target));
                return;

            case 14:
                this.LowestOctif = ((System.Windows.Controls.Canvas)(target));
                return;

            case 15:
                this.scrolly2 = ((System.Windows.Controls.ScrollViewer)(target));
                return;

            case 16:
                this.LowOctif = ((System.Windows.Controls.Canvas)(target));
                return;

            case 17:
                this.scrolly3 = ((System.Windows.Controls.ScrollViewer)(target));
                return;

            case 18:
                this.MiddleOctif = ((System.Windows.Controls.Canvas)(target));
                return;

            case 19:
                this.scrolly4 = ((System.Windows.Controls.ScrollViewer)(target));
                return;

            case 20:
                this.HighOctif = ((System.Windows.Controls.Canvas)(target));
                return;

            case 21:
                this.scrolly5 = ((System.Windows.Controls.ScrollViewer)(target));
                return;

            case 22:
                this.HighestOctif = ((System.Windows.Controls.Canvas)(target));
                return;

            case 23:
                this.LowestA = ((System.Windows.Controls.TextBlock)(target));
                return;

            case 24:
                this.LowestBb = ((System.Windows.Controls.TextBlock)(target));
                return;

            case 25:
                this.LowestB = ((System.Windows.Controls.TextBlock)(target));
                return;

            case 26:
                this.LowestC = ((System.Windows.Controls.TextBlock)(target));
                return;

            case 27:
                this.LowestDb = ((System.Windows.Controls.TextBlock)(target));
                return;

            case 28:
                this.LowestD = ((System.Windows.Controls.TextBlock)(target));
                return;

            case 29:
                this.LowestEb = ((System.Windows.Controls.TextBlock)(target));
                return;

            case 30:
                this.LowestE = ((System.Windows.Controls.TextBlock)(target));
                return;

            case 31:
                this.LowestF = ((System.Windows.Controls.TextBlock)(target));
                return;

            case 32:
                this.LowestGb = ((System.Windows.Controls.TextBlock)(target));
                return;

            case 33:
                this.LowestG = ((System.Windows.Controls.TextBlock)(target));
                return;

            case 34:
                this.LowestAb = ((System.Windows.Controls.TextBlock)(target));
                return;

            case 35:
                this.LowA = ((System.Windows.Controls.TextBlock)(target));
                return;

            case 36:
                this.LowBb = ((System.Windows.Controls.TextBlock)(target));
                return;

            case 37:
                this.LowB = ((System.Windows.Controls.TextBlock)(target));
                return;

            case 38:
                this.LowC = ((System.Windows.Controls.TextBlock)(target));
                return;

            case 39:
                this.LowDb = ((System.Windows.Controls.TextBlock)(target));
                return;

            case 40:
                this.LowD = ((System.Windows.Controls.TextBlock)(target));
                return;

            case 41:
                this.LowEb = ((System.Windows.Controls.TextBlock)(target));
                return;

            case 42:
                this.LowE = ((System.Windows.Controls.TextBlock)(target));
                return;

            case 43:
                this.LowF = ((System.Windows.Controls.TextBlock)(target));
                return;

            case 44:
                this.LowGb = ((System.Windows.Controls.TextBlock)(target));
                return;

            case 45:
                this.LowG = ((System.Windows.Controls.TextBlock)(target));
                return;

            case 46:
                this.LowAb = ((System.Windows.Controls.TextBlock)(target));
                return;

            case 47:
                this.MiddleA = ((System.Windows.Controls.TextBlock)(target));
                return;

            case 48:
                this.MiddleBb = ((System.Windows.Controls.TextBlock)(target));
                return;

            case 49:
                this.MiddleB = ((System.Windows.Controls.TextBlock)(target));
                return;

            case 50:
                this.MiddleC = ((System.Windows.Controls.TextBlock)(target));
                return;

            case 51:
                this.MiddleDb = ((System.Windows.Controls.TextBlock)(target));
                return;

            case 52:
                this.MiddleD = ((System.Windows.Controls.TextBlock)(target));
                return;

            case 53:
                this.MiddleEb = ((System.Windows.Controls.TextBlock)(target));
                return;

            case 54:
                this.MiddleE = ((System.Windows.Controls.TextBlock)(target));
                return;

            case 55:
                this.MiddleF = ((System.Windows.Controls.TextBlock)(target));
                return;

            case 56:
                this.MiddleGb = ((System.Windows.Controls.TextBlock)(target));
                return;

            case 57:
                this.MiddleG = ((System.Windows.Controls.TextBlock)(target));
                return;

            case 58:
                this.MiddleAb = ((System.Windows.Controls.TextBlock)(target));
                return;

            case 59:
                this.HighA = ((System.Windows.Controls.TextBlock)(target));
                return;

            case 60:
                this.HighBb = ((System.Windows.Controls.TextBlock)(target));
                return;

            case 61:
                this.HighB = ((System.Windows.Controls.TextBlock)(target));
                return;

            case 62:
                this.HighC = ((System.Windows.Controls.TextBlock)(target));
                return;

            case 63:
                this.HighDb = ((System.Windows.Controls.TextBlock)(target));
                return;

            case 64:
                this.HighD = ((System.Windows.Controls.TextBlock)(target));
                return;

            case 65:
                this.HighEb = ((System.Windows.Controls.TextBlock)(target));
                return;

            case 66:
                this.HighE = ((System.Windows.Controls.TextBlock)(target));
                return;

            case 67:
                this.HighF = ((System.Windows.Controls.TextBlock)(target));
                return;

            case 68:
                this.HighGb = ((System.Windows.Controls.TextBlock)(target));
                return;

            case 69:
                this.HighG = ((System.Windows.Controls.TextBlock)(target));
                return;

            case 70:
                this.HighAb = ((System.Windows.Controls.TextBlock)(target));
                return;

            case 71:
                this.HighestA = ((System.Windows.Controls.TextBlock)(target));
                return;

            case 72:
                this.HighestBb = ((System.Windows.Controls.TextBlock)(target));
                return;

            case 73:
                this.HighestB = ((System.Windows.Controls.TextBlock)(target));
                return;

            case 74:
                this.HighestC = ((System.Windows.Controls.TextBlock)(target));
                return;

            case 75:
                this.HighestDb = ((System.Windows.Controls.TextBlock)(target));
                return;

            case 76:
                this.HighestD = ((System.Windows.Controls.TextBlock)(target));
                return;

            case 77:
                this.HighestEb = ((System.Windows.Controls.TextBlock)(target));
                return;

            case 78:
                this.HighestE = ((System.Windows.Controls.TextBlock)(target));
                return;

            case 79:
                this.HighestF = ((System.Windows.Controls.TextBlock)(target));
                return;

            case 80:
                this.HighestGb = ((System.Windows.Controls.TextBlock)(target));
                return;

            case 81:
                this.HighestG = ((System.Windows.Controls.TextBlock)(target));
                return;

            case 82:
                this.HighestAb = ((System.Windows.Controls.TextBlock)(target));
                return;

            case 83:
                this.slider1 = ((System.Windows.Controls.Slider)(target));
                return;

            case 84:
                this.button3 = ((System.Windows.Controls.Button)(target));

            #line 158 "..\..\..\MainWindow.xaml"
                this.button3.Click += new System.Windows.RoutedEventHandler(this.button3_Click);

            #line default
            #line hidden
                return;

            case 85:
                this.button4 = ((System.Windows.Controls.Button)(target));

            #line 159 "..\..\..\MainWindow.xaml"
                this.button4.Click += new System.Windows.RoutedEventHandler(this.button4_Click);

            #line default
            #line hidden
                return;

            case 86:
                this.tabItem3 = ((System.Windows.Controls.TabItem)(target));
                return;

            case 87:
                this.staffscroll = ((System.Windows.Controls.ScrollViewer)(target));
                return;

            case 88:
                this.noteStaff = ((System.Windows.Controls.Canvas)(target));
                return;

            case 89:
                this.Fline = ((System.Windows.Shapes.Rectangle)(target));
                return;

            case 90:
                this.Dline = ((System.Windows.Shapes.Rectangle)(target));
                return;

            case 91:
                this.Bline = ((System.Windows.Shapes.Rectangle)(target));
                return;

            case 92:
                this.Gline = ((System.Windows.Shapes.Rectangle)(target));
                return;

            case 93:
                this.Eline = ((System.Windows.Shapes.Rectangle)(target));
                return;

            case 94:
                this.NoteStatsTitle = ((System.Windows.Controls.TextBlock)(target));
                return;

            case 95:
                this.NoteStatsPTitle = ((System.Windows.Controls.TextBlock)(target));
                return;

            case 96:
                this.NoteStatsP = ((System.Windows.Controls.TextBox)(target));
                return;

            case 97:
                this.NoteStatsFTitle = ((System.Windows.Controls.TextBlock)(target));
                return;

            case 98:
                this.NoteStatsF = ((System.Windows.Controls.TextBox)(target));
                return;

            case 99:
                this.NoteStatsETitle = ((System.Windows.Controls.TextBlock)(target));
                return;

            case 100:
                this.NoteStatsE = ((System.Windows.Controls.TextBox)(target));
                return;

            case 101:
                this.CommentsTitle = ((System.Windows.Controls.TextBlock)(target));
                return;

            case 102:
                this.Comments = ((System.Windows.Controls.TextBox)(target));
                return;
            }
            this._contentLoaded = true;
        }
Ejemplo n.º 38
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.mainWindow = ((WpfApplication1.MainWindow)(target));
                return;

            case 2:
                this.mePlayer = ((System.Windows.Controls.MediaElement)(target));
                return;

            case 3:

            #line 125 "..\..\MainWindow.xaml"
                ((System.Windows.Controls.Slider)(target)).ValueChanged += new System.Windows.RoutedPropertyChangedEventHandler <double>(this.ValueChanged);

            #line default
            #line hidden
                return;

            case 4:
                this.image1 = ((System.Windows.Controls.Image)(target));

            #line 129 "..\..\MainWindow.xaml"
                this.image1.MouseLeave += new System.Windows.Input.MouseEventHandler(this.image1_MouseLeave);

            #line default
            #line hidden

            #line 129 "..\..\MainWindow.xaml"
                this.image1.MouseDown += new System.Windows.Input.MouseButtonEventHandler(this.image1_MouseDown);

            #line default
            #line hidden

            #line 129 "..\..\MainWindow.xaml"
                this.image1.MouseEnter += new System.Windows.Input.MouseEventHandler(this.image1_MouseEnter);

            #line default
            #line hidden
                return;

            case 5:
                this.checkBox = ((System.Windows.Controls.CheckBox)(target));

            #line 134 "..\..\MainWindow.xaml"
                this.checkBox.Checked += new System.Windows.RoutedEventHandler(this.checkBox_Checked);

            #line default
            #line hidden

            #line 134 "..\..\MainWindow.xaml"
                this.checkBox.Unchecked += new System.Windows.RoutedEventHandler(this.checkBox_Unchecked);

            #line default
            #line hidden

            #line 135 "..\..\MainWindow.xaml"
                this.checkBox.MouseDown += new System.Windows.Input.MouseButtonEventHandler(this.checkBox_MouseDown);

            #line default
            #line hidden

            #line 135 "..\..\MainWindow.xaml"
                this.checkBox.MouseEnter += new System.Windows.Input.MouseEventHandler(this.checkBox_MouseEnter);

            #line default
            #line hidden

            #line 135 "..\..\MainWindow.xaml"
                this.checkBox.MouseLeave += new System.Windows.Input.MouseEventHandler(this.checkBox_MouseLeave);

            #line default
            #line hidden
                return;

            case 6:

            #line 141 "..\..\MainWindow.xaml"
                ((System.Windows.Controls.MenuItem)(target)).MouseDown += new System.Windows.Input.MouseButtonEventHandler(this.youTube_MouseDown);

            #line default
            #line hidden
                return;

            case 7:

            #line 142 "..\..\MainWindow.xaml"
                ((System.Windows.Controls.MenuItem)(target)).MouseDown += new System.Windows.Input.MouseButtonEventHandler(this.discord_MouseDown);

            #line default
            #line hidden
                return;
            }
            this._contentLoaded = true;
        }
Ejemplo n.º 39
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.WinF = ((WpfApplication1.MainWindow)(target));

            #line 8 "..\..\MainWindow.xaml"
                this.WinF.Loaded += new System.Windows.RoutedEventHandler(this.Window_Loaded);

            #line default
            #line hidden

            #line 8 "..\..\MainWindow.xaml"
                this.WinF.MouseDown += new System.Windows.Input.MouseButtonEventHandler(this.WinF_MouseDown);

            #line default
            #line hidden
                return;

            case 2:
                this.BtnClose = ((System.Windows.Controls.Button)(target));

            #line 13 "..\..\MainWindow.xaml"
                this.BtnClose.Click += new System.Windows.RoutedEventHandler(this.BtnClose_Click);

            #line default
            #line hidden
                return;

            case 3:
                this.BtnSetting = ((System.Windows.Controls.Button)(target));

            #line 15 "..\..\MainWindow.xaml"
                this.BtnSetting.Click += new System.Windows.RoutedEventHandler(this.BtnSetting_Click);

            #line default
            #line hidden
                return;

            case 4:
                this.Btndolist = ((System.Windows.Controls.Button)(target));

            #line 17 "..\..\MainWindow.xaml"
                this.Btndolist.Click += new System.Windows.RoutedEventHandler(this.Btndolist_Click);

            #line default
            #line hidden
                return;

            case 5:
                this.Txtcommand = ((System.Windows.Controls.TextBox)(target));

            #line 24 "..\..\MainWindow.xaml"
                this.Txtcommand.KeyDown += new System.Windows.Input.KeyEventHandler(this.Txtcommand_KeyDown);

            #line default
            #line hidden

            #line 24 "..\..\MainWindow.xaml"
                this.Txtcommand.TextChanged += new System.Windows.Controls.TextChangedEventHandler(this.Txtcommand_TextChanged);

            #line default
            #line hidden
                return;

            case 6:
                this.LblSolve = ((System.Windows.Controls.TextBlock)(target));
                return;

            case 7:
                this.PageWhatDo = ((System.Windows.Controls.Grid)(target));
                return;

            case 8:
                this.DoCMD = ((System.Windows.Controls.CheckBox)(target));

            #line 37 "..\..\MainWindow.xaml"
                this.DoCMD.Click += new System.Windows.RoutedEventHandler(this.DoCMD_Click);

            #line default
            #line hidden
                return;

            case 9:
                this.DoCalc = ((System.Windows.Controls.CheckBox)(target));

            #line 40 "..\..\MainWindow.xaml"
                this.DoCalc.Click += new System.Windows.RoutedEventHandler(this.DoCalc_Click);

            #line default
            #line hidden
                return;
            }
            this._contentLoaded = true;
        }
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.progfejlec = ((WpfApplication1.MainWindow)(target));
                return;

            case 2:
                this.udvozloszoveg = ((System.Windows.Controls.Label)(target));
                return;

            case 3:
                this.textBox = ((System.Windows.Controls.TextBox)(target));
                return;

            case 4:
                this.textBox1 = ((System.Windows.Controls.TextBox)(target));
                return;

            case 5:
                this.textBlock = ((System.Windows.Controls.TextBlock)(target));
                return;

            case 6:
                this.textBlock_Copy = ((System.Windows.Controls.TextBlock)(target));
                return;

            case 7:
                this.button = ((System.Windows.Controls.Button)(target));

            #line 15 "..\..\MainWindow - White.xaml"
                this.button.Click += new System.Windows.RoutedEventHandler(this.button_Click);

            #line default
            #line hidden
                return;

            case 8:
                this.label = ((System.Windows.Controls.Label)(target));
                return;

            case 9:
                this.button1 = ((System.Windows.Controls.Button)(target));

            #line 21 "..\..\MainWindow - White.xaml"
                this.button1.Click += new System.Windows.RoutedEventHandler(this.button1_Click);

            #line default
            #line hidden
                return;

            case 10:

            #line 26 "..\..\MainWindow - White.xaml"
                ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.Button_Click_1);

            #line default
            #line hidden
                return;

            case 11:

            #line 37 "..\..\MainWindow - White.xaml"
                ((System.Windows.Controls.RadioButton)(target)).Checked += new System.Windows.RoutedEventHandler(this.RadioButton_Checked);

            #line default
            #line hidden
                return;

            case 12:

            #line 38 "..\..\MainWindow - White.xaml"
                ((System.Windows.Controls.RadioButton)(target)).Checked += new System.Windows.RoutedEventHandler(this.RadioButton_Checked_1);

            #line default
            #line hidden
                return;
            }
            this._contentLoaded = true;
        }
Ejemplo n.º 41
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.win1 = ((WpfApplication1.MainWindow)(target));

            #line 5 "..\..\..\MainWindow.xaml"
                this.win1.PreviewKeyDown += new System.Windows.Input.KeyEventHandler(this.win_KeyDown);

            #line default
            #line hidden

            #line 5 "..\..\..\MainWindow.xaml"
                this.win1.Loaded += new System.Windows.RoutedEventHandler(this.Window_Loaded);

            #line default
            #line hidden

            #line 5 "..\..\..\MainWindow.xaml"
                this.win1.Closed += new System.EventHandler(this.win1_Closed);

            #line default
            #line hidden

            #line 5 "..\..\..\MainWindow.xaml"
                this.win1.Closing += new System.ComponentModel.CancelEventHandler(this.win1_Closing);

            #line default
            #line hidden

            #line 5 "..\..\..\MainWindow.xaml"
                this.win1.MouseLeftButtonDown += new System.Windows.Input.MouseButtonEventHandler(this.Window_Move_MouseLeftButtonDown);

            #line default
            #line hidden
                return;

            case 2:
                this.menu = ((System.Windows.Controls.Menu)(target));
                return;

            case 3:

            #line 122 "..\..\..\MainWindow.xaml"
                ((System.Windows.Controls.MenuItem)(target)).Click += new System.Windows.RoutedEventHandler(this.info_set);

            #line default
            #line hidden
                return;

            case 4:
                this.jy_wjy = ((System.Windows.Controls.MenuItem)(target));

            #line 123 "..\..\..\MainWindow.xaml"
                this.jy_wjy.Click += new System.Windows.RoutedEventHandler(this.wjy_set);

            #line default
            #line hidden
                return;

            case 5:

            #line 125 "..\..\..\MainWindow.xaml"
                ((System.Windows.Controls.MenuItem)(target)).Click += new System.Windows.RoutedEventHandler(this.MenuItem_Click);

            #line default
            #line hidden
                return;

            case 6:

            #line 131 "..\..\..\MainWindow.xaml"
                ((System.Windows.Controls.MenuItem)(target)).Click += new System.Windows.RoutedEventHandler(this.TxSp_Comand);

            #line default
            #line hidden
                return;

            case 7:

            #line 133 "..\..\..\MainWindow.xaml"
                ((System.Windows.Controls.MenuItem)(target)).Click += new System.Windows.RoutedEventHandler(this.other_Comand);

            #line default
            #line hidden
                return;

            case 8:

            #line 134 "..\..\..\MainWindow.xaml"
                ((System.Windows.Controls.MenuItem)(target)).Click += new System.Windows.RoutedEventHandler(this.tuxiang_cxsz);

            #line default
            #line hidden
                return;

            case 9:

            #line 135 "..\..\..\MainWindow.xaml"
                ((System.Windows.Controls.MenuItem)(target)).Click += new System.Windows.RoutedEventHandler(this.tongxun_set);

            #line default
            #line hidden
                return;

            case 10:

            #line 136 "..\..\..\MainWindow.xaml"
                ((System.Windows.Controls.MenuItem)(target)).Click += new System.Windows.RoutedEventHandler(this.pzdy_set);

            #line default
            #line hidden
                return;

            case 11:

            #line 138 "..\..\..\MainWindow.xaml"
                ((System.Windows.Controls.MenuItem)(target)).Click += new System.Windows.RoutedEventHandler(this.ID_check);

            #line default
            #line hidden
                return;

            case 12:

            #line 139 "..\..\..\MainWindow.xaml"
                ((System.Windows.Controls.MenuItem)(target)).Click += new System.Windows.RoutedEventHandler(this.info_check_set);

            #line default
            #line hidden
                return;

            case 13:

            #line 140 "..\..\..\MainWindow.xaml"
                ((System.Windows.Controls.MenuItem)(target)).Click += new System.Windows.RoutedEventHandler(this.pictrue_set);

            #line default
            #line hidden
                return;

            case 14:

            #line 141 "..\..\..\MainWindow.xaml"
                ((System.Windows.Controls.MenuItem)(target)).Click += new System.Windows.RoutedEventHandler(this.camera_contro);

            #line default
            #line hidden
                return;

            case 15:

            #line 142 "..\..\..\MainWindow.xaml"
                ((System.Windows.Controls.MenuItem)(target)).Click += new System.Windows.RoutedEventHandler(this.camera_set_timetable);

            #line default
            #line hidden
                return;

            case 16:

            #line 150 "..\..\..\MainWindow.xaml"
                ((System.Windows.Controls.MenuItem)(target)).Click += new System.Windows.RoutedEventHandler(this.updata_pro);

            #line default
            #line hidden
                return;

            case 17:

            #line 156 "..\..\..\MainWindow.xaml"
                ((System.Windows.Controls.MenuItem)(target)).Click += new System.Windows.RoutedEventHandler(this.tdcl);

            #line default
            #line hidden
                return;

            case 18:

            #line 157 "..\..\..\MainWindow.xaml"
                ((System.Windows.Controls.MenuItem)(target)).Click += new System.Windows.RoutedEventHandler(this.tdcl_hc);

            #line default
            #line hidden
                return;

            case 19:

            #line 160 "..\..\..\MainWindow.xaml"
                ((System.Windows.Controls.MenuItem)(target)).Click += new System.Windows.RoutedEventHandler(this.xml_clear_cw);

            #line default
            #line hidden
                return;

            case 20:

            #line 161 "..\..\..\MainWindow.xaml"
                ((System.Windows.Controls.MenuItem)(target)).Click += new System.Windows.RoutedEventHandler(this.xml_clear_hc);

            #line default
            #line hidden
                return;

            case 21:

            #line 162 "..\..\..\MainWindow.xaml"
                ((System.Windows.Controls.MenuItem)(target)).Click += new System.Windows.RoutedEventHandler(this.xml_clear_all);

            #line default
            #line hidden
                return;

            case 22:
                this.qp = ((System.Windows.Controls.MenuItem)(target));

            #line 167 "..\..\..\MainWindow.xaml"
                this.qp.Click += new System.Windows.RoutedEventHandler(this.qpxx);

            #line default
            #line hidden
                return;

            case 23:
                this.bw_all = ((System.Windows.Controls.MenuItem)(target));

            #line 168 "..\..\..\MainWindow.xaml"
                this.bw_all.Click += new System.Windows.RoutedEventHandler(this.save_all_bw);

            #line default
            #line hidden
                return;

            case 24:
                this.is_show_bw = ((System.Windows.Controls.MenuItem)(target));

            #line 169 "..\..\..\MainWindow.xaml"
                this.is_show_bw.Click += new System.Windows.RoutedEventHandler(this.bw_show);

            #line default
            #line hidden
                return;

            case 25:

            #line 170 "..\..\..\MainWindow.xaml"
                ((System.Windows.Controls.MenuItem)(target)).Click += new System.Windows.RoutedEventHandler(this.clear_count);

            #line default
            #line hidden
                return;

            case 26:
                this.gj = ((System.Windows.Controls.MenuItem)(target));

            #line 172 "..\..\..\MainWindow.xaml"
                this.gj.Click += new System.Windows.RoutedEventHandler(this.show_tool);

            #line default
            #line hidden
                return;

            case 27:

            #line 174 "..\..\..\MainWindow.xaml"
                ((System.Windows.Controls.MenuItem)(target)).Click += new System.Windows.RoutedEventHandler(this.open_jsq);

            #line default
            #line hidden
                return;

            case 28:

            #line 175 "..\..\..\MainWindow.xaml"
                ((System.Windows.Controls.MenuItem)(target)).Click += new System.Windows.RoutedEventHandler(this.open_fdzh);

            #line default
            #line hidden
                return;

            case 29:

            #line 177 "..\..\..\MainWindow.xaml"
                ((System.Windows.Controls.MenuItem)(target)).Click += new System.Windows.RoutedEventHandler(this.TX_sel);

            #line default
            #line hidden
                return;

            case 30:

            #line 178 "..\..\..\MainWindow.xaml"
                ((System.Windows.Controls.MenuItem)(target)).Click += new System.Windows.RoutedEventHandler(this.open_help);

            #line default
            #line hidden
                return;

            case 31:

            #line 179 "..\..\..\MainWindow.xaml"
                ((System.Windows.Controls.MenuItem)(target)).Click += new System.Windows.RoutedEventHandler(this.MenuItem_Click_1);

            #line default
            #line hidden
                return;

            case 32:

            #line 189 "..\..\..\MainWindow.xaml"
                ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.show_tool);

            #line default
            #line hidden
                return;

            case 33:
                this.lk = ((System.Windows.Controls.Grid)(target));

            #line 192 "..\..\..\MainWindow.xaml"
                this.lk.MouseWheel += new System.Windows.Input.MouseWheelEventHandler(this.Grid_MouseWheel);

            #line default
            #line hidden
                return;

            case 34:
                this.my_udp = ((System.Windows.Controls.CheckBox)(target));
                return;

            case 35:
                this.po = ((System.Windows.Controls.TextBox)(target));
                return;

            case 36:
                this.sbid_id = ((System.Windows.Controls.ComboBox)(target));
                return;

            case 37:
                this.cmd = ((System.Windows.Controls.ComboBox)(target));

            #line 216 "..\..\..\MainWindow.xaml"
                this.cmd.MouseEnter += new System.Windows.Input.MouseEventHandler(this.ComboBoxItem_MouseEnter);

            #line default
            #line hidden
                return;

            case 38:
                this.timetable_1 = ((System.Windows.Controls.TextBlock)(target));
                return;

            case 39:
                this.timetable_2 = ((System.Windows.Controls.TextBlock)(target));
                return;

            case 40:
                this.send_but = ((System.Windows.Controls.Button)(target));

            #line 297 "..\..\..\MainWindow.xaml"
                this.send_but.Click += new System.Windows.RoutedEventHandler(this.TX_Comand);

            #line default
            #line hidden
                return;

            case 41:

            #line 298 "..\..\..\MainWindow.xaml"
                ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.TX_Comand_Time);

            #line default
            #line hidden
                return;

            case 42:
                this.stop_TX = ((System.Windows.Controls.CheckBox)(target));

            #line 299 "..\..\..\MainWindow.xaml"
                this.stop_TX.Click += new System.Windows.RoutedEventHandler(this.stop_TX_data_video);

            #line default
            #line hidden
                return;

            case 43:
                this.fontsize = ((System.Windows.Controls.Slider)(target));
                return;

            case 44:
                this.ztl = ((System.Windows.Controls.TextBlock)(target));
                return;

            case 45:
                this.ztlx = ((System.Windows.Controls.TextBlock)(target));
                return;

            case 46:
                this.ztip = ((System.Windows.Controls.TextBlock)(target));
                return;

            case 47:
                this.richTextBox1 = ((System.Windows.Controls.RichTextBox)(target));

            #line 329 "..\..\..\MainWindow.xaml"
                this.richTextBox1.SelectionChanged += new System.Windows.RoutedEventHandler(this.select_str);

            #line default
            #line hidden
                return;

            case 48:

            #line 335 "..\..\..\MainWindow.xaml"
                ((System.Windows.Controls.MenuItem)(target)).Click += new System.Windows.RoutedEventHandler(this.clear_bw_Click);

            #line default
            #line hidden
                return;

            case 49:

            #line 339 "..\..\..\MainWindow.xaml"
                ((System.Windows.Controls.MenuItem)(target)).Click += new System.Windows.RoutedEventHandler(this.tdcl);

            #line default
            #line hidden
                return;

            case 50:

            #line 340 "..\..\..\MainWindow.xaml"
                ((System.Windows.Controls.MenuItem)(target)).Click += new System.Windows.RoutedEventHandler(this.tdcl_hc);

            #line default
            #line hidden
                return;

            case 51:
                this.show = ((System.Windows.Controls.MenuItem)(target));

            #line 344 "..\..\..\MainWindow.xaml"
                this.show.Click += new System.Windows.RoutedEventHandler(this.show_tool);

            #line default
            #line hidden
                return;

            case 52:
                this.wz = ((System.Windows.Controls.MenuItem)(target));
                return;

            case 53:

            #line 352 "..\..\..\MainWindow.xaml"
                ((System.Windows.Controls.MenuItem)(target)).Click += new System.Windows.RoutedEventHandler(this.zuoshang);

            #line default
            #line hidden
                return;

            case 54:

            #line 353 "..\..\..\MainWindow.xaml"
                ((System.Windows.Controls.MenuItem)(target)).Click += new System.Windows.RoutedEventHandler(this.zuoxia);

            #line default
            #line hidden
                return;

            case 55:

            #line 354 "..\..\..\MainWindow.xaml"
                ((System.Windows.Controls.MenuItem)(target)).Click += new System.Windows.RoutedEventHandler(this.youshang);

            #line default
            #line hidden
                return;

            case 56:

            #line 355 "..\..\..\MainWindow.xaml"
                ((System.Windows.Controls.MenuItem)(target)).Click += new System.Windows.RoutedEventHandler(this.youxia);

            #line default
            #line hidden
                return;

            case 57:

            #line 358 "..\..\..\MainWindow.xaml"
                ((System.Windows.Controls.MenuItem)(target)).Click += new System.Windows.RoutedEventHandler(this.TX_sel);

            #line default
            #line hidden
                return;

            case 58:

            #line 361 "..\..\..\MainWindow.xaml"
                ((System.Windows.Controls.MenuItem)(target)).Click += new System.Windows.RoutedEventHandler(this.open_jsq);

            #line default
            #line hidden
                return;

            case 59:

            #line 362 "..\..\..\MainWindow.xaml"
                ((System.Windows.Controls.MenuItem)(target)).Click += new System.Windows.RoutedEventHandler(this.open_fdzh);

            #line default
            #line hidden
                return;

            case 60:
                this.xa = ((System.Windows.Documents.Run)(target));
                return;

            case 61:
                this.exp = ((System.Windows.Controls.StackPanel)(target));
                return;

            case 62:

            #line 507 "..\..\..\MainWindow.xaml"
                ((System.Windows.Controls.Expander)(target)).Collapsed += new System.Windows.RoutedEventHandler(this.collapsed_click);

            #line default
            #line hidden

            #line 507 "..\..\..\MainWindow.xaml"
                ((System.Windows.Controls.Expander)(target)).Expanded += new System.Windows.RoutedEventHandler(this.expanded_click);

            #line default
            #line hidden
                return;

            case 63:

            #line 509 "..\..\..\MainWindow.xaml"
                ((System.Windows.Controls.Grid)(target)).MouseEnter += new System.Windows.Input.MouseEventHandler(this.visib_info);

            #line default
            #line hidden

            #line 509 "..\..\..\MainWindow.xaml"
                ((System.Windows.Controls.Grid)(target)).MouseLeave += new System.Windows.Input.MouseEventHandler(this.hide_info);

            #line default
            #line hidden
                return;

            case 64:
                this.td_img1 = ((System.Windows.Controls.Image)(target));
                return;

            case 65:

            #line 530 "..\..\..\MainWindow.xaml"
                ((System.Windows.Controls.MenuItem)(target)).Click += new System.Windows.RoutedEventHandler(this.pictrue_show);

            #line default
            #line hidden
                return;

            case 66:

            #line 531 "..\..\..\MainWindow.xaml"
                ((System.Windows.Controls.MenuItem)(target)).Click += new System.Windows.RoutedEventHandler(this.TX_sel);

            #line default
            #line hidden
                return;

            case 67:
                this.pol_size = ((System.Windows.Controls.TextBlock)(target));
                return;

            case 68:
                this.pol_fbl = ((System.Windows.Controls.TextBlock)(target));
                return;

            case 69:
                this.box_video = ((System.Windows.Controls.MediaElement)(target));

            #line 557 "..\..\..\MainWindow.xaml"
                this.box_video.MouseLeftButtonDown += new System.Windows.Input.MouseButtonEventHandler(this.box_video_MouseEnter);

            #line default
            #line hidden
                return;

            case 70:
                this.info = ((System.Windows.Controls.StackPanel)(target));
                return;

            case 71:
                this.info_1 = ((System.Windows.Controls.TextBlock)(target));
                return;

            case 72:
                this.info_2 = ((System.Windows.Controls.TextBlock)(target));
                return;

            case 73:
                this.info_3 = ((System.Windows.Controls.TextBlock)(target));
                return;

            case 74:
                this.list_sbinfo = ((System.Windows.Controls.ListView)(target));
                return;

            case 75:
                this.countbar = ((System.Windows.Controls.ProgressBar)(target));
                return;
            }
            this._contentLoaded = true;
        }
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.Main_Window = ((WpfApplication1.MainWindow)(target));

            #line 11 "..\..\MainWindow.xaml"
                this.Main_Window.Loaded += new System.Windows.RoutedEventHandler(this.Window_Loaded);

            #line default
            #line hidden
                return;

            case 2:

            #line 22 "..\..\MainWindow.xaml"
                ((System.Windows.Controls.MenuItem)(target)).Click += new System.Windows.RoutedEventHandler(this.MenuItem_Click);

            #line default
            #line hidden
                return;

            case 3:

            #line 23 "..\..\MainWindow.xaml"
                ((System.Windows.Controls.MenuItem)(target)).Click += new System.Windows.RoutedEventHandler(this.MenuItem_Click_2);

            #line default
            #line hidden
                return;

            case 4:

            #line 24 "..\..\MainWindow.xaml"
                ((System.Windows.Controls.MenuItem)(target)).Click += new System.Windows.RoutedEventHandler(this.MenuItem_Click_1);

            #line default
            #line hidden
                return;

            case 5:

            #line 25 "..\..\MainWindow.xaml"
                ((System.Windows.Controls.MenuItem)(target)).Click += new System.Windows.RoutedEventHandler(this.MenuItem_Click_5);

            #line default
            #line hidden
                return;

            case 6:

            #line 30 "..\..\MainWindow.xaml"
                ((System.Windows.Controls.MenuItem)(target)).Click += new System.Windows.RoutedEventHandler(this.MenuItem_Click_3);

            #line default
            #line hidden
                return;

            case 7:

            #line 32 "..\..\MainWindow.xaml"
                ((System.Windows.Controls.MenuItem)(target)).Click += new System.Windows.RoutedEventHandler(this.MenuItem_Click_4);

            #line default
            #line hidden
                return;

            case 8:
                this.mainList = ((System.Windows.Controls.ListView)(target));
                return;
            }
            this._contentLoaded = true;
        }
Ejemplo n.º 43
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.Outfit_Creator = ((WpfApplication1.MainWindow)(target));

            #line 8 "..\..\MainWindow.xaml"
                this.Outfit_Creator.Loaded += new System.Windows.RoutedEventHandler(this.Window_Loaded);

            #line default
            #line hidden
                return;

            case 2:
                this.tabControl = ((System.Windows.Controls.TabControl)(target));
                return;

            case 3:
                this.label3 = ((System.Windows.Controls.Label)(target));
                return;

            case 4:
                this.label3_Copy = ((System.Windows.Controls.Label)(target));
                return;

            case 5:
                this.inputFileName = ((System.Windows.Controls.TextBox)(target));
                return;

            case 6:
                this.outputFileName = ((System.Windows.Controls.TextBox)(target));
                return;

            case 7:
                this.label4 = ((System.Windows.Controls.Label)(target));
                return;

            case 8:
                this.button = ((System.Windows.Controls.Button)(target));

            #line 29 "..\..\MainWindow.xaml"
                this.button.Click += new System.Windows.RoutedEventHandler(this.button_Click);

            #line default
            #line hidden
                return;

            case 9:
                this.label4_Copy = ((System.Windows.Controls.Label)(target));
                return;

            case 10:
                this.button_Copy = ((System.Windows.Controls.Button)(target));

            #line 31 "..\..\MainWindow.xaml"
                this.button_Copy.Click += new System.Windows.RoutedEventHandler(this.button_Copy_Click);

            #line default
            #line hidden
                return;

            case 11:
                this.outputError = ((System.Windows.Controls.Label)(target));
                return;

            case 12:
                this.intputError = ((System.Windows.Controls.Label)(target));
                return;

            case 13:
                this.dayOneEventOne = ((System.Windows.Controls.ComboBox)(target));
                return;

            case 14:
                this.dayOneEventTwo = ((System.Windows.Controls.ComboBox)(target));
                return;

            case 15:
                this.dayOneEventThree = ((System.Windows.Controls.ComboBox)(target));
                return;

            case 16:
                this.dayTwoEventOne = ((System.Windows.Controls.ComboBox)(target));
                return;

            case 17:
                this.dayTwoEventTwo = ((System.Windows.Controls.ComboBox)(target));
                return;

            case 18:
                this.dayTwoEventThree = ((System.Windows.Controls.ComboBox)(target));
                return;

            case 19:
                this.dayThreeEventOne = ((System.Windows.Controls.ComboBox)(target));
                return;

            case 20:
                this.dayThreeEventTwo = ((System.Windows.Controls.ComboBox)(target));
                return;

            case 21:
                this.dayThreeEventThree = ((System.Windows.Controls.ComboBox)(target));
                return;

            case 22:
                this.dayFourEventOne = ((System.Windows.Controls.ComboBox)(target));
                return;

            case 23:
                this.dayFourEventTwo = ((System.Windows.Controls.ComboBox)(target));
                return;

            case 24:
                this.dayFourEventThree = ((System.Windows.Controls.ComboBox)(target));
                return;

            case 25:
                this.dayEightEventOne = ((System.Windows.Controls.ComboBox)(target));
                return;

            case 26:
                this.dayEightEventTwo = ((System.Windows.Controls.ComboBox)(target));
                return;

            case 27:
                this.dayEightEventThree = ((System.Windows.Controls.ComboBox)(target));
                return;

            case 28:
                this.dayNineEventOne = ((System.Windows.Controls.ComboBox)(target));
                return;

            case 29:
                this.dayNineEventTwo = ((System.Windows.Controls.ComboBox)(target));
                return;

            case 30:
                this.dayNineEventThree = ((System.Windows.Controls.ComboBox)(target));
                return;

            case 31:
                this.dayTenEventOne = ((System.Windows.Controls.ComboBox)(target));
                return;

            case 32:
                this.dayTenEventTwo = ((System.Windows.Controls.ComboBox)(target));
                return;

            case 33:
                this.dayTenEventThree = ((System.Windows.Controls.ComboBox)(target));
                return;

            case 34:
                this.dayElevenEventOne = ((System.Windows.Controls.ComboBox)(target));
                return;

            case 35:
                this.dayElevenEventTwo = ((System.Windows.Controls.ComboBox)(target));
                return;

            case 36:
                this.dayElevenEventThree = ((System.Windows.Controls.ComboBox)(target));
                return;

            case 37:
                this.dayFiveEventOne = ((System.Windows.Controls.ComboBox)(target));
                return;

            case 38:
                this.dayFiveEventTwo = ((System.Windows.Controls.ComboBox)(target));
                return;

            case 39:
                this.dayFiveEventThree = ((System.Windows.Controls.ComboBox)(target));
                return;

            case 40:
                this.daySixEventOne = ((System.Windows.Controls.ComboBox)(target));
                return;

            case 41:
                this.daySixEventTwo = ((System.Windows.Controls.ComboBox)(target));
                return;

            case 42:
                this.daySixEventThree = ((System.Windows.Controls.ComboBox)(target));
                return;

            case 43:
                this.dayTwelveEventOne = ((System.Windows.Controls.ComboBox)(target));
                return;

            case 44:
                this.dayTwelveEventTwo = ((System.Windows.Controls.ComboBox)(target));
                return;

            case 45:
                this.dayTwelveEventThree = ((System.Windows.Controls.ComboBox)(target));
                return;

            case 46:
                this.dayThirteenEventOne = ((System.Windows.Controls.ComboBox)(target));
                return;

            case 47:
                this.dayThirteenEventTwo = ((System.Windows.Controls.ComboBox)(target));
                return;

            case 48:
                this.dayThirteenEventThree = ((System.Windows.Controls.ComboBox)(target));
                return;

            case 49:
                this.daySevenEventOne = ((System.Windows.Controls.ComboBox)(target));
                return;

            case 50:
                this.daySevenEventTwo = ((System.Windows.Controls.ComboBox)(target));
                return;

            case 51:
                this.daySevenEventThree = ((System.Windows.Controls.ComboBox)(target));
                return;

            case 52:
                this.dayFourteenEventOne = ((System.Windows.Controls.ComboBox)(target));
                return;

            case 53:
                this.dayFourteenEventTwo = ((System.Windows.Controls.ComboBox)(target));
                return;

            case 54:
                this.dayFourteenEventThree = ((System.Windows.Controls.ComboBox)(target));
                return;

            case 55:
                this.label = ((System.Windows.Controls.Label)(target));
                return;

            case 56:
                this.label_Copy = ((System.Windows.Controls.Label)(target));
                return;

            case 57:
                this.label_Copy1 = ((System.Windows.Controls.Label)(target));
                return;

            case 58:
                this.label_Copy2 = ((System.Windows.Controls.Label)(target));
                return;

            case 59:
                this.label_Copy3 = ((System.Windows.Controls.Label)(target));
                return;

            case 60:
                this.label_Copy4 = ((System.Windows.Controls.Label)(target));
                return;

            case 61:
                this.label_Copy5 = ((System.Windows.Controls.Label)(target));
                return;

            case 62:
                this.label_Copy6 = ((System.Windows.Controls.Label)(target));
                return;

            case 63:
                this.label_Copy7 = ((System.Windows.Controls.Label)(target));
                return;

            case 64:
                this.label_Copy8 = ((System.Windows.Controls.Label)(target));
                return;

            case 65:
                this.label_Copy9 = ((System.Windows.Controls.Label)(target));
                return;

            case 66:
                this.label_Copy10 = ((System.Windows.Controls.Label)(target));
                return;

            case 67:
                this.label_Copy11 = ((System.Windows.Controls.Label)(target));
                return;

            case 68:
                this.label_Copy12 = ((System.Windows.Controls.Label)(target));
                return;

            case 69:
                this.articleName = ((System.Windows.Controls.TextBox)(target));
                return;

            case 70:
                this.articleType = ((System.Windows.Controls.ComboBox)(target));
                return;

            case 71:
                this.articleColor = ((System.Windows.Controls.ComboBox)(target));
                return;

            case 72:
                this.label1 = ((System.Windows.Controls.Label)(target));
                return;

            case 73:
                this.label2_Copy = ((System.Windows.Controls.Label)(target));
                return;

            case 74:
                this.label1_Copy = ((System.Windows.Controls.Label)(target));
                return;

            case 75:
                this.label2_Copy1 = ((System.Windows.Controls.Label)(target));
                return;

            case 76:
                this.label1_Copy1 = ((System.Windows.Controls.Label)(target));
                return;

            case 77:
                this.label2_Copy2 = ((System.Windows.Controls.Label)(target));
                return;

            case 78:
                this.articleList = ((System.Windows.Controls.ListBox)(target));
                return;

            case 79:
                this.label2 = ((System.Windows.Controls.Label)(target));
                return;

            case 80:
                this.saveArticle = ((System.Windows.Controls.Button)(target));

            #line 164 "..\..\MainWindow.xaml"
                this.saveArticle.Click += new System.Windows.RoutedEventHandler(this.saveArticle_Click);

            #line default
            #line hidden
                return;

            case 81:
                this.printResult = ((System.Windows.Controls.Button)(target));

            #line 165 "..\..\MainWindow.xaml"
                this.printResult.Click += new System.Windows.RoutedEventHandler(this.printResult_Click);

            #line default
            #line hidden
                return;

            case 82:
                this.errorLabel = ((System.Windows.Controls.Label)(target));
                return;

            case 83:
                this.result = ((System.Windows.Controls.ListBox)(target));
                return;

            case 84:
                this.documentViewer = ((System.Windows.Controls.DocumentViewer)(target));
                return;
            }
            this._contentLoaded = true;
        }
Ejemplo n.º 44
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.win1 = ((WpfApplication1.MainWindow)(target));

            #line 5 "..\..\..\MainWindow.xaml"
                this.win1.Loaded += new System.Windows.RoutedEventHandler(this.Window_Loaded);

            #line default
            #line hidden

            #line 5 "..\..\..\MainWindow.xaml"
                this.win1.Closed += new System.EventHandler(this.win1_Closed);

            #line default
            #line hidden

            #line 5 "..\..\..\MainWindow.xaml"
                this.win1.Closing += new System.ComponentModel.CancelEventHandler(this.win1_Closing);

            #line default
            #line hidden
                return;

            case 2:

            #line 77 "..\..\..\MainWindow.xaml"
                ((System.Windows.Controls.MenuItem)(target)).Click += new System.Windows.RoutedEventHandler(this.MenuItem_Click);

            #line default
            #line hidden
                return;

            case 3:

            #line 84 "..\..\..\MainWindow.xaml"
                ((System.Windows.Controls.MenuItem)(target)).Click += new System.Windows.RoutedEventHandler(this.tdcl);

            #line default
            #line hidden
                return;

            case 4:

            #line 85 "..\..\..\MainWindow.xaml"
                ((System.Windows.Controls.MenuItem)(target)).Click += new System.Windows.RoutedEventHandler(this.tdcl_hc);

            #line default
            #line hidden
                return;

            case 5:

            #line 88 "..\..\..\MainWindow.xaml"
                ((System.Windows.Controls.MenuItem)(target)).Click += new System.Windows.RoutedEventHandler(this.xml_clear_cw);

            #line default
            #line hidden
                return;

            case 6:

            #line 89 "..\..\..\MainWindow.xaml"
                ((System.Windows.Controls.MenuItem)(target)).Click += new System.Windows.RoutedEventHandler(this.xml_clear_hc);

            #line default
            #line hidden
                return;

            case 7:

            #line 90 "..\..\..\MainWindow.xaml"
                ((System.Windows.Controls.MenuItem)(target)).Click += new System.Windows.RoutedEventHandler(this.xml_clear_all);

            #line default
            #line hidden
                return;

            case 8:
                this.gj = ((System.Windows.Controls.MenuItem)(target));

            #line 93 "..\..\..\MainWindow.xaml"
                this.gj.Click += new System.Windows.RoutedEventHandler(this.show_tool);

            #line default
            #line hidden
                return;

            case 9:

            #line 95 "..\..\..\MainWindow.xaml"
                ((System.Windows.Controls.MenuItem)(target)).Click += new System.Windows.RoutedEventHandler(this.open_jsq);

            #line default
            #line hidden
                return;

            case 10:

            #line 96 "..\..\..\MainWindow.xaml"
                ((System.Windows.Controls.MenuItem)(target)).Click += new System.Windows.RoutedEventHandler(this.open_fdzh);

            #line default
            #line hidden
                return;

            case 11:

            #line 102 "..\..\..\MainWindow.xaml"
                ((System.Windows.Controls.MenuItem)(target)).Click += new System.Windows.RoutedEventHandler(this.open_bw);

            #line default
            #line hidden
                return;

            case 12:

            #line 103 "..\..\..\MainWindow.xaml"
                ((System.Windows.Controls.MenuItem)(target)).Click += new System.Windows.RoutedEventHandler(this.open_rz);

            #line default
            #line hidden
                return;

            case 13:
                this.qp = ((System.Windows.Controls.MenuItem)(target));

            #line 109 "..\..\..\MainWindow.xaml"
                this.qp.Click += new System.Windows.RoutedEventHandler(this.qpxx);

            #line default
            #line hidden
                return;

            case 14:
                this.hy = ((System.Windows.Controls.MenuItem)(target));

            #line 111 "..\..\..\MainWindow.xaml"
                this.hy.Click += new System.Windows.RoutedEventHandler(this.hyck);

            #line default
            #line hidden
                return;

            case 15:

            #line 114 "..\..\..\MainWindow.xaml"
                ((System.Windows.Controls.MenuItem)(target)).Click += new System.Windows.RoutedEventHandler(this.MenuItem_Click_1);

            #line default
            #line hidden
                return;

            case 16:

            #line 124 "..\..\..\MainWindow.xaml"
                ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.show_tool);

            #line default
            #line hidden
                return;

            case 17:

            #line 129 "..\..\..\MainWindow.xaml"
                ((System.Windows.Controls.Grid)(target)).MouseWheel += new System.Windows.Input.MouseWheelEventHandler(this.Grid_MouseWheel);

            #line default
            #line hidden
                return;

            case 18:
                this.my_udp = ((System.Windows.Controls.CheckBox)(target));

            #line 141 "..\..\..\MainWindow.xaml"
                this.my_udp.Click += new System.Windows.RoutedEventHandler(this.UDP_Re);

            #line default
            #line hidden
                return;

            case 19:
                this.po = ((System.Windows.Controls.TextBox)(target));
                return;

            case 20:
                this.sbid_id = ((System.Windows.Controls.ComboBox)(target));
                return;

            case 21:
                this.cmd = ((System.Windows.Controls.ComboBox)(target));
                return;

            case 22:

            #line 161 "..\..\..\MainWindow.xaml"
                ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.TX_Comand);

            #line default
            #line hidden
                return;

            case 23:
                this.ztl = ((System.Windows.Controls.TextBlock)(target));
                return;

            case 24:
                this.ztlx = ((System.Windows.Controls.TextBlock)(target));
                return;

            case 25:
                this.ztip = ((System.Windows.Controls.TextBlock)(target));
                return;

            case 26:
                this.list_1 = ((System.Windows.Controls.ListView)(target));
                return;

            case 27:

            #line 221 "..\..\..\MainWindow.xaml"
                ((System.Windows.Controls.MenuItem)(target)).Click += new System.Windows.RoutedEventHandler(this.clear_Click);

            #line default
            #line hidden
                return;

            case 28:

            #line 223 "..\..\..\MainWindow.xaml"
                ((System.Windows.Controls.MenuItem)(target)).Click += new System.Windows.RoutedEventHandler(this.tdcl);

            #line default
            #line hidden
                return;

            case 29:

            #line 227 "..\..\..\MainWindow.xaml"
                ((System.Windows.Controls.MenuItem)(target)).Click += new System.Windows.RoutedEventHandler(this.open_fdzh);

            #line default
            #line hidden
                return;

            case 30:
                this.bg1 = ((System.Windows.Media.ImageBrush)(target));
                return;

            case 31:
                this.richTextBox1 = ((System.Windows.Controls.RichTextBox)(target));

            #line 241 "..\..\..\MainWindow.xaml"
                this.richTextBox1.KeyDown += new System.Windows.Input.KeyEventHandler(this.richTextBox1_KeyDown);

            #line default
            #line hidden
                return;

            case 32:

            #line 244 "..\..\..\MainWindow.xaml"
                ((System.Windows.Controls.MenuItem)(target)).Click += new System.Windows.RoutedEventHandler(this.clear_bw_Click);

            #line default
            #line hidden
                return;

            case 33:

            #line 249 "..\..\..\MainWindow.xaml"
                ((System.Windows.Controls.MenuItem)(target)).Click += new System.Windows.RoutedEventHandler(this.tdcl);

            #line default
            #line hidden
                return;

            case 34:

            #line 250 "..\..\..\MainWindow.xaml"
                ((System.Windows.Controls.MenuItem)(target)).Click += new System.Windows.RoutedEventHandler(this.tdcl_hc);

            #line default
            #line hidden
                return;

            case 35:
                this.show = ((System.Windows.Controls.MenuItem)(target));

            #line 254 "..\..\..\MainWindow.xaml"
                this.show.Click += new System.Windows.RoutedEventHandler(this.show_tool);

            #line default
            #line hidden
                return;

            case 36:
                this.wz = ((System.Windows.Controls.MenuItem)(target));
                return;

            case 37:

            #line 262 "..\..\..\MainWindow.xaml"
                ((System.Windows.Controls.MenuItem)(target)).Click += new System.Windows.RoutedEventHandler(this.zuoshang);

            #line default
            #line hidden
                return;

            case 38:

            #line 263 "..\..\..\MainWindow.xaml"
                ((System.Windows.Controls.MenuItem)(target)).Click += new System.Windows.RoutedEventHandler(this.zuoxia);

            #line default
            #line hidden
                return;

            case 39:

            #line 264 "..\..\..\MainWindow.xaml"
                ((System.Windows.Controls.MenuItem)(target)).Click += new System.Windows.RoutedEventHandler(this.youshang);

            #line default
            #line hidden
                return;

            case 40:

            #line 265 "..\..\..\MainWindow.xaml"
                ((System.Windows.Controls.MenuItem)(target)).Click += new System.Windows.RoutedEventHandler(this.youxia);

            #line default
            #line hidden
                return;

            case 41:

            #line 270 "..\..\..\MainWindow.xaml"
                ((System.Windows.Controls.MenuItem)(target)).Click += new System.Windows.RoutedEventHandler(this.open_jsq);

            #line default
            #line hidden
                return;

            case 42:

            #line 271 "..\..\..\MainWindow.xaml"
                ((System.Windows.Controls.MenuItem)(target)).Click += new System.Windows.RoutedEventHandler(this.open_fdzh);

            #line default
            #line hidden
                return;

            case 43:

            #line 275 "..\..\..\MainWindow.xaml"
                ((System.Windows.Controls.MenuItem)(target)).Click += new System.Windows.RoutedEventHandler(this.open_bw);

            #line default
            #line hidden
                return;

            case 44:
                this.exp = ((System.Windows.Controls.Expander)(target));
                return;

            case 45:
                this.ckh = ((System.Windows.Controls.ComboBox)(target));
                return;

            case 46:
                this.btl = ((System.Windows.Controls.ComboBox)(target));
                return;

            case 47:
                this.ell = ((System.Windows.Shapes.Ellipse)(target));
                return;

            case 48:
                this.dk = ((System.Windows.Controls.Button)(target));

            #line 337 "..\..\..\MainWindow.xaml"
                this.dk.Click += new System.Windows.RoutedEventHandler(this.Button_Click);

            #line default
            #line hidden
                return;

            case 49:
                this.gb1 = ((System.Windows.Controls.Button)(target));

            #line 338 "..\..\..\MainWindow.xaml"
                this.gb1.Click += new System.Windows.RoutedEventHandler(this.gb_Click);

            #line default
            #line hidden
                return;

            case 50:
                this.wjy = ((System.Windows.Controls.CheckBox)(target));
                return;

            case 51:
                this.fontsize = ((System.Windows.Controls.Slider)(target));
                return;

            case 52:
                this.dtwj = ((System.Windows.Controls.Button)(target));

            #line 377 "..\..\..\MainWindow.xaml"
                this.dtwj.Click += new System.Windows.RoutedEventHandler(this.Open_bin);

            #line default
            #line hidden
                return;

            case 53:
                this.kscs = ((System.Windows.Controls.Button)(target));

            #line 378 "..\..\..\MainWindow.xaml"
                this.kscs.Click += new System.Windows.RoutedEventHandler(this.Open_begin);

            #line default
            #line hidden
                return;

            case 54:
                this.zt = ((System.Windows.Controls.Button)(target));

            #line 379 "..\..\..\MainWindow.xaml"
                this.zt.Click += new System.Windows.RoutedEventHandler(this.zt_th);

            #line default
            #line hidden
                return;

            case 55:
                this.tz = ((System.Windows.Controls.Button)(target));

            #line 380 "..\..\..\MainWindow.xaml"
                this.tz.Click += new System.Windows.RoutedEventHandler(this.Stop_th);

            #line default
            #line hidden
                return;

            case 56:

            #line 396 "..\..\..\MainWindow.xaml"
                ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.caidan_open);

            #line default
            #line hidden
                return;

            case 57:

            #line 397 "..\..\..\MainWindow.xaml"
                ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.caidan_close);

            #line default
            #line hidden
                return;

            case 58:
                this.yq_add = ((System.Windows.Controls.TextBox)(target));
                return;

            case 59:
                this.anxia = ((System.Windows.Controls.RadioButton)(target));
                return;

            case 60:
                this.tanqi = ((System.Windows.Controls.RadioButton)(target));
                return;

            case 61:

            #line 406 "..\..\..\MainWindow.xaml"
                ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.M_down);

            #line default
            #line hidden
                return;

            case 62:

            #line 407 "..\..\..\MainWindow.xaml"
                ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.jia_down);

            #line default
            #line hidden
                return;

            case 63:

            #line 408 "..\..\..\MainWindow.xaml"
                ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.jian_down);

            #line default
            #line hidden
                return;

            case 64:
                this.rec_text = ((System.Windows.Controls.TextBox)(target));
                return;

            case 65:
                this.ml = ((System.Windows.Controls.StackPanel)(target));
                return;

            case 66:
                this.chek = ((System.Windows.Controls.CheckBox)(target));

            #line 425 "..\..\..\MainWindow.xaml"
                this.chek.Click += new System.Windows.RoutedEventHandler(this.chek_Click);

            #line default
            #line hidden
                return;

            case 67:
                this.T_time = ((System.Windows.Controls.TextBox)(target));
                return;

            case 68:
                this.fs = ((System.Windows.Controls.Button)(target));

            #line 428 "..\..\..\MainWindow.xaml"
                this.fs.Click += new System.Windows.RoutedEventHandler(this.Button_Click_1);

            #line default
            #line hidden
                return;

            case 69:
                this.ModalDialog = ((System.Windows.Controls.Primitives.Popup)(target));
                return;

            case 70:
                this.TxtBoxTitle = ((System.Windows.Controls.TextBox)(target));
                return;

            case 71:
                this.BtnClose = ((System.Windows.Controls.Button)(target));

            #line 461 "..\..\..\MainWindow.xaml"
                this.BtnClose.Click += new System.Windows.RoutedEventHandler(this.Dlg_BtnClose_Click);

            #line default
            #line hidden
                return;

            case 72:
                this.TxtBoxInput = ((System.Windows.Controls.TextBox)(target));
                return;

            case 73:

            #line 465 "..\..\..\MainWindow.xaml"
                ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.Dlg_BtnOK_Click);

            #line default
            #line hidden
                return;

            case 74:

            #line 466 "..\..\..\MainWindow.xaml"
                ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.Dlg_BtnClose_Click);

            #line default
            #line hidden
                return;

            case 75:
                this.countbar = ((System.Windows.Controls.ProgressBar)(target));
                return;
            }
            this._contentLoaded = true;
        }
Ejemplo n.º 45
0
 private void button12_Click(object sender, EventArgs e)
 {
     WpfApplication1.MainWindow wpfwindow = new WpfApplication1.MainWindow();
     wpfwindow.ShowDialog();
 }
Ejemplo n.º 46
0
 public Triangle(MainWindow window) : base(window, statId++) {}
Ejemplo n.º 47
0
 public void Main(string file = null)
 {
     if (string.IsNullOrEmpty(file))
     {
         main = new MainWindow();
     }
     else
     {
         //main.Dispatcher.BeginInvoke((Action)delegate { ArkWork.Instance.LoadArchive(file); }).Completed += (x, y) => { LoadFrames(); };
     }
 }
Ejemplo n.º 48
0
 public TouchControl()
 {
     System.Windows.Forms.Application.EnableVisualStyles();
     engineCtlForm  = new WpfApplication1.MainWindow(this);
     directCtrlForm = new WpfApplication1.Window1(this);
 }
Ejemplo n.º 49
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.windowMain = ((WpfApplication1.MainWindow)(target));

            #line 9 "..\..\MainWindow.xaml"
                this.windowMain.Loaded += new System.Windows.RoutedEventHandler(this.windowMain_Loaded);

            #line default
            #line hidden

            #line 9 "..\..\MainWindow.xaml"
                this.windowMain.Activated += new System.EventHandler(this.windowMain_Activated);

            #line default
            #line hidden
                return;

            case 2:
                this.gridMain = ((System.Windows.Controls.Grid)(target));
                return;

            case 3:
                this.inkCanvasMain = ((System.Windows.Controls.InkCanvas)(target));
                return;

            case 4:
                this.borderInkCanvas = ((System.Windows.Controls.Border)(target));
                return;

            case 5:
                this.btSave = ((System.Windows.Controls.Button)(target));

            #line 46 "..\..\MainWindow.xaml"
                this.btSave.Click += new System.Windows.RoutedEventHandler(this.btSave_Click);

            #line default
            #line hidden
                return;

            case 6:
                this.btClose = ((System.Windows.Controls.Button)(target));

            #line 55 "..\..\MainWindow.xaml"
                this.btClose.Click += new System.Windows.RoutedEventHandler(this.btClose_Click);

            #line default
            #line hidden
                return;

            case 7:
                this.btClear = ((System.Windows.Controls.Button)(target));

            #line 64 "..\..\MainWindow.xaml"
                this.btClear.Click += new System.Windows.RoutedEventHandler(this.btClear_Click);

            #line default
            #line hidden
                return;

            case 8:
                this.btDecreaseSize = ((System.Windows.Controls.Button)(target));

            #line 73 "..\..\MainWindow.xaml"
                this.btDecreaseSize.Click += new System.Windows.RoutedEventHandler(this.btDecreaseSize_Click);

            #line default
            #line hidden
                return;

            case 9:
                this.btTamany = ((System.Windows.Controls.Button)(target));

            #line 74 "..\..\MainWindow.xaml"
                this.btTamany.Click += new System.Windows.RoutedEventHandler(this.btSize2_Click);

            #line default
            #line hidden

            #line 74 "..\..\MainWindow.xaml"
                this.btTamany.MouseEnter += new System.Windows.Input.MouseEventHandler(this.btTamany_MouseEnter);

            #line default
            #line hidden

            #line 74 "..\..\MainWindow.xaml"
                this.btTamany.MouseLeave += new System.Windows.Input.MouseEventHandler(this.btTamany_MouseLeave);

            #line default
            #line hidden
                return;

            case 10:
                this.ellTamany = ((System.Windows.Shapes.Ellipse)(target));
                return;

            case 11:
                this.btIncreaseSize = ((System.Windows.Controls.Button)(target));

            #line 79 "..\..\MainWindow.xaml"
                this.btIncreaseSize.Click += new System.Windows.RoutedEventHandler(this.btIncreaseSize_Click);

            #line default
            #line hidden
                return;

            case 12:
                this.btDraw = ((System.Windows.Controls.Button)(target));

            #line 80 "..\..\MainWindow.xaml"
                this.btDraw.Click += new System.Windows.RoutedEventHandler(this.btDraw_Click);

            #line default
            #line hidden
                return;

            case 13:
                this.btColorPicker = ((System.Windows.Controls.Button)(target));

            #line 89 "..\..\MainWindow.xaml"
                this.btColorPicker.MouseEnter += new System.Windows.Input.MouseEventHandler(this.btColorPicker_MouseEnter);

            #line default
            #line hidden

            #line 89 "..\..\MainWindow.xaml"
                this.btColorPicker.MouseLeave += new System.Windows.Input.MouseEventHandler(this.btColorPicker_MouseLeave);

            #line default
            #line hidden
                return;

            case 14:
                this.btErase = ((System.Windows.Controls.Button)(target));

            #line 90 "..\..\MainWindow.xaml"
                this.btErase.Click += new System.Windows.RoutedEventHandler(this.btErase_Click);

            #line default
            #line hidden
                return;

            case 15:
                this.spColors = ((System.Windows.Controls.StackPanel)(target));

            #line 99 "..\..\MainWindow.xaml"
                this.spColors.MouseEnter += new System.Windows.Input.MouseEventHandler(this.spColors_MouseEnter);

            #line default
            #line hidden

            #line 99 "..\..\MainWindow.xaml"
                this.spColors.MouseLeave += new System.Windows.Input.MouseEventHandler(this.spColors_MouseLeave);

            #line default
            #line hidden
                return;

            case 16:
                this.g = ((System.Windows.Controls.Grid)(target));
                return;

            case 17:
                this.btColor1 = ((System.Windows.Controls.Button)(target));

            #line 110 "..\..\MainWindow.xaml"
                this.btColor1.Click += new System.Windows.RoutedEventHandler(this.btColor1_Click);

            #line default
            #line hidden
                return;

            case 18:
                this.btColor2 = ((System.Windows.Controls.Button)(target));

            #line 111 "..\..\MainWindow.xaml"
                this.btColor2.Click += new System.Windows.RoutedEventHandler(this.btColor2_Click);

            #line default
            #line hidden
                return;

            case 19:
                this.btColor6 = ((System.Windows.Controls.Button)(target));

            #line 112 "..\..\MainWindow.xaml"
                this.btColor6.Click += new System.Windows.RoutedEventHandler(this.btColor6_Click);

            #line default
            #line hidden
                return;

            case 20:
                this.btColor5 = ((System.Windows.Controls.Button)(target));

            #line 113 "..\..\MainWindow.xaml"
                this.btColor5.Click += new System.Windows.RoutedEventHandler(this.btColor5_Click);

            #line default
            #line hidden
                return;

            case 21:
                this.btColor3 = ((System.Windows.Controls.Button)(target));

            #line 114 "..\..\MainWindow.xaml"
                this.btColor3.Click += new System.Windows.RoutedEventHandler(this.btColor3_Click);

            #line default
            #line hidden
                return;

            case 22:
                this.btColor4 = ((System.Windows.Controls.Button)(target));

            #line 115 "..\..\MainWindow.xaml"
                this.btColor4.Click += new System.Windows.RoutedEventHandler(this.btColor4_Click);

            #line default
            #line hidden
                return;

            case 23:
                this.spSize = ((System.Windows.Controls.StackPanel)(target));

            #line 118 "..\..\MainWindow.xaml"
                this.spSize.MouseEnter += new System.Windows.Input.MouseEventHandler(this.StackPanel_MouseEnter);

            #line default
            #line hidden

            #line 118 "..\..\MainWindow.xaml"
                this.spSize.MouseLeave += new System.Windows.Input.MouseEventHandler(this.StackPanel_MouseLeave);

            #line default
            #line hidden
                return;

            case 24:
                this.gSize = ((System.Windows.Controls.Grid)(target));
                return;

            case 25:
                this.btSize3 = ((System.Windows.Controls.Button)(target));

            #line 130 "..\..\MainWindow.xaml"
                this.btSize3.Click += new System.Windows.RoutedEventHandler(this.btSize_Click);

            #line default
            #line hidden
                return;

            case 26:
                this.btSize5 = ((System.Windows.Controls.Button)(target));

            #line 135 "..\..\MainWindow.xaml"
                this.btSize5.Click += new System.Windows.RoutedEventHandler(this.btSize_Click);

            #line default
            #line hidden
                return;

            case 27:
                this.btSize7 = ((System.Windows.Controls.Button)(target));

            #line 140 "..\..\MainWindow.xaml"
                this.btSize7.Click += new System.Windows.RoutedEventHandler(this.btSize_Click);

            #line default
            #line hidden
                return;

            case 28:
                this.btSize9 = ((System.Windows.Controls.Button)(target));

            #line 145 "..\..\MainWindow.xaml"
                this.btSize9.Click += new System.Windows.RoutedEventHandler(this.btSize_Click);

            #line default
            #line hidden
                return;

            case 29:
                this.btSize10 = ((System.Windows.Controls.Button)(target));

            #line 150 "..\..\MainWindow.xaml"
                this.btSize10.Click += new System.Windows.RoutedEventHandler(this.btSize_Click);

            #line default
            #line hidden
                return;

            case 30:
                this.btSize12 = ((System.Windows.Controls.Button)(target));

            #line 155 "..\..\MainWindow.xaml"
                this.btSize12.Click += new System.Windows.RoutedEventHandler(this.btSize_Click);

            #line default
            #line hidden
                return;

            case 31:
                this.btSize15 = ((System.Windows.Controls.Button)(target));

            #line 160 "..\..\MainWindow.xaml"
                this.btSize15.Click += new System.Windows.RoutedEventHandler(this.btSize_Click);

            #line default
            #line hidden
                return;

            case 32:
                this.btSize17 = ((System.Windows.Controls.Button)(target));

            #line 165 "..\..\MainWindow.xaml"
                this.btSize17.Click += new System.Windows.RoutedEventHandler(this.btSize_Click);

            #line default
            #line hidden
                return;

            case 33:
                this.btSize20 = ((System.Windows.Controls.Button)(target));

            #line 170 "..\..\MainWindow.xaml"
                this.btSize20.Click += new System.Windows.RoutedEventHandler(this.btSize_Click);

            #line default
            #line hidden
                return;
            }
            this._contentLoaded = true;
        }
Ejemplo n.º 50
0
 private void MenuItem_Click(object sender, RoutedEventArgs e)
 {
     MainWindow mw = new MainWindow();
     this.Close();
     mw.Show();
 }
Ejemplo n.º 51
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.MainWindow1 = ((WpfApplication1.MainWindow)(target));
                return;

            case 2:
                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 3:
                this.button1 = ((System.Windows.Controls.Button)(target));

            #line 15 "..\..\MainWindow.xaml"
                this.button1.Click += new System.Windows.RoutedEventHandler(this.button1_Click);

            #line default
            #line hidden
                return;

            case 4:
                this.textBox2 = ((System.Windows.Controls.TextBox)(target));
                return;

            case 5:
                this.textBox1 = ((System.Windows.Controls.TextBox)(target));
                return;

            case 6:
                this.groupBox = ((System.Windows.Controls.GroupBox)(target));
                return;

            case 7:
                this.radioButton = ((System.Windows.Controls.RadioButton)(target));
                return;

            case 8:
                this.radioButton1 = ((System.Windows.Controls.RadioButton)(target));
                return;

            case 9:
                this.radioButton2 = ((System.Windows.Controls.RadioButton)(target));
                return;

            case 10:
                this.radioButton3 = ((System.Windows.Controls.RadioButton)(target));
                return;

            case 11:
                this.label = ((System.Windows.Controls.Label)(target));
                return;

            case 12:
                this.ergebnis = ((System.Windows.Controls.Label)(target));
                return;
            }
            this._contentLoaded = true;
        }
Ejemplo n.º 52
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.Main_window = ((WpfApplication1.MainWindow)(target));
                return;

            case 2:
                this.Btn1 = ((System.Windows.Controls.Button)(target));

            #line 15 "..\..\MainWindow.xaml"
                this.Btn1.Click += new System.Windows.RoutedEventHandler(this.Btn1_Click);

            #line default
            #line hidden
                return;

            case 3:
                this.txtBox1 = ((System.Windows.Controls.TextBox)(target));
                return;

            case 4:
                this.dllASM_chbx = ((System.Windows.Controls.CheckBox)(target));
                return;

            case 5:
                this.dllC_chbx = ((System.Windows.Controls.CheckBox)(target));
                return;

            case 6:
                this.dllCOMP_chbx = ((System.Windows.Controls.CheckBox)(target));
                return;

            case 7:
                this.equations_datagrid = ((System.Windows.Controls.DataGrid)(target));
                return;

            case 8:
                this.calculate_btn = ((System.Windows.Controls.Button)(target));

            #line 21 "..\..\MainWindow.xaml"
                this.calculate_btn.Click += new System.Windows.RoutedEventHandler(this.calculate_btn_Click);

            #line default
            #line hidden
                return;

            case 9:
                this.lbl1 = ((System.Windows.Controls.Label)(target));
                return;

            case 10:
                this.result_datagrid = ((System.Windows.Controls.DataGrid)(target));
                return;

            case 11:
                this.result_label = ((System.Windows.Controls.Label)(target));
                return;
            }
            this._contentLoaded = true;
        }
Ejemplo n.º 53
0
        private void Home_Click(object sender, RoutedEventArgs e)
        {
            var newWindowHome = new MainWindow();
            newWindowHome.ShowDialog();

        }
Ejemplo n.º 54
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.MainWind = ((WpfApplication1.MainWindow)(target));

            #line 9 "..\..\MainWindow.xaml"
                this.MainWind.KeyDown += new System.Windows.Input.KeyEventHandler(this.Window_KeyDown);

            #line default
            #line hidden
                return;

            case 2:
                this.lblOut = ((System.Windows.Controls.Label)(target));
                return;

            case 3:
                this.lblIn = ((System.Windows.Controls.Label)(target));
                return;

            case 4:
                this.txtBxIn = ((System.Windows.Controls.TextBox)(target));
                return;

            case 5:
                this.txtBxOut = ((System.Windows.Controls.TextBox)(target));
                return;

            case 6:
                this.PrgBr = ((System.Windows.Controls.ProgressBar)(target));
                return;

            case 7:
                this.btnIn = ((System.Windows.Controls.Button)(target));

            #line 33 "..\..\MainWindow.xaml"
                this.btnIn.Click += new System.Windows.RoutedEventHandler(this.OnFindFile);

            #line default
            #line hidden
                return;

            case 8:
                this.btnOut = ((System.Windows.Controls.Button)(target));

            #line 34 "..\..\MainWindow.xaml"
                this.btnOut.Click += new System.Windows.RoutedEventHandler(this.OnFindFile);

            #line default
            #line hidden
                return;

            case 9:
                this.btnCopy = ((System.Windows.Controls.Button)(target));

            #line 35 "..\..\MainWindow.xaml"
                this.btnCopy.Click += new System.Windows.RoutedEventHandler(this.btnCopy_Click);

            #line default
            #line hidden
                return;
            }
            this._contentLoaded = true;
        }
Ejemplo n.º 55
0
 void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) {
     switch (connectionId)
     {
     case 1:
     this.Parent = ((WpfApplication1.MainWindow)(target));
     
     #line 4 "..\..\..\MainWindow.xaml"
     this.Parent.Loaded += new System.Windows.RoutedEventHandler(this.Window_Loaded);
     
     #line default
     #line hidden
     return;
     case 2:
     this.menu1 = ((System.Windows.Controls.Menu)(target));
     return;
     case 3:
     
     #line 9 "..\..\..\MainWindow.xaml"
     ((System.Windows.Controls.MenuItem)(target)).Click += new System.Windows.RoutedEventHandler(this.replay);
     
     #line default
     #line hidden
     return;
     case 4:
     this.tabControl1 = ((System.Windows.Controls.TabControl)(target));
     return;
     case 5:
     this.tabItem1 = ((System.Windows.Controls.TabItem)(target));
     return;
     case 6:
     this.XStackPanel = ((System.Windows.Controls.WrapPanel)(target));
     return;
     case 7:
     this.button1 = ((System.Windows.Controls.Button)(target));
     return;
     case 8:
     this.button2 = ((System.Windows.Controls.Button)(target));
     return;
     case 9:
     this.scrolly = ((System.Windows.Controls.ScrollViewer)(target));
     return;
     case 10:
     this.showImage = ((System.Windows.Controls.Image)(target));
     return;
     case 11:
     this.scale = ((System.Windows.Media.ScaleTransform)(target));
     return;
     case 12:
     this.tabItem2 = ((System.Windows.Controls.TabItem)(target));
     return;
     case 13:
     this.scrolly1 = ((System.Windows.Controls.ScrollViewer)(target));
     return;
     case 14:
     this.LowestOctif = ((System.Windows.Controls.Canvas)(target));
     return;
     case 15:
     this.scrolly2 = ((System.Windows.Controls.ScrollViewer)(target));
     return;
     case 16:
     this.LowOctif = ((System.Windows.Controls.Canvas)(target));
     return;
     case 17:
     this.scrolly3 = ((System.Windows.Controls.ScrollViewer)(target));
     return;
     case 18:
     this.MiddleOctif = ((System.Windows.Controls.Canvas)(target));
     return;
     case 19:
     this.scrolly4 = ((System.Windows.Controls.ScrollViewer)(target));
     return;
     case 20:
     this.HighOctif = ((System.Windows.Controls.Canvas)(target));
     return;
     case 21:
     this.scrolly5 = ((System.Windows.Controls.ScrollViewer)(target));
     return;
     case 22:
     this.HighestOctif = ((System.Windows.Controls.Canvas)(target));
     return;
     case 23:
     this.LowestA = ((System.Windows.Controls.TextBlock)(target));
     return;
     case 24:
     this.LowestBb = ((System.Windows.Controls.TextBlock)(target));
     return;
     case 25:
     this.LowestB = ((System.Windows.Controls.TextBlock)(target));
     return;
     case 26:
     this.LowestC = ((System.Windows.Controls.TextBlock)(target));
     return;
     case 27:
     this.LowestDb = ((System.Windows.Controls.TextBlock)(target));
     return;
     case 28:
     this.LowestD = ((System.Windows.Controls.TextBlock)(target));
     return;
     case 29:
     this.LowestEb = ((System.Windows.Controls.TextBlock)(target));
     return;
     case 30:
     this.LowestE = ((System.Windows.Controls.TextBlock)(target));
     return;
     case 31:
     this.LowestF = ((System.Windows.Controls.TextBlock)(target));
     return;
     case 32:
     this.LowestGb = ((System.Windows.Controls.TextBlock)(target));
     return;
     case 33:
     this.LowestG = ((System.Windows.Controls.TextBlock)(target));
     return;
     case 34:
     this.LowestAb = ((System.Windows.Controls.TextBlock)(target));
     return;
     case 35:
     this.LowA = ((System.Windows.Controls.TextBlock)(target));
     return;
     case 36:
     this.LowBb = ((System.Windows.Controls.TextBlock)(target));
     return;
     case 37:
     this.LowB = ((System.Windows.Controls.TextBlock)(target));
     return;
     case 38:
     this.LowC = ((System.Windows.Controls.TextBlock)(target));
     return;
     case 39:
     this.LowDb = ((System.Windows.Controls.TextBlock)(target));
     return;
     case 40:
     this.LowD = ((System.Windows.Controls.TextBlock)(target));
     return;
     case 41:
     this.LowEb = ((System.Windows.Controls.TextBlock)(target));
     return;
     case 42:
     this.LowE = ((System.Windows.Controls.TextBlock)(target));
     return;
     case 43:
     this.LowF = ((System.Windows.Controls.TextBlock)(target));
     return;
     case 44:
     this.LowGb = ((System.Windows.Controls.TextBlock)(target));
     return;
     case 45:
     this.LowG = ((System.Windows.Controls.TextBlock)(target));
     return;
     case 46:
     this.LowAb = ((System.Windows.Controls.TextBlock)(target));
     return;
     case 47:
     this.MiddleA = ((System.Windows.Controls.TextBlock)(target));
     return;
     case 48:
     this.MiddleBb = ((System.Windows.Controls.TextBlock)(target));
     return;
     case 49:
     this.MiddleB = ((System.Windows.Controls.TextBlock)(target));
     return;
     case 50:
     this.MiddleC = ((System.Windows.Controls.TextBlock)(target));
     return;
     case 51:
     this.MiddleDb = ((System.Windows.Controls.TextBlock)(target));
     return;
     case 52:
     this.MiddleD = ((System.Windows.Controls.TextBlock)(target));
     return;
     case 53:
     this.MiddleEb = ((System.Windows.Controls.TextBlock)(target));
     return;
     case 54:
     this.MiddleE = ((System.Windows.Controls.TextBlock)(target));
     return;
     case 55:
     this.MiddleF = ((System.Windows.Controls.TextBlock)(target));
     return;
     case 56:
     this.MiddleGb = ((System.Windows.Controls.TextBlock)(target));
     return;
     case 57:
     this.MiddleG = ((System.Windows.Controls.TextBlock)(target));
     return;
     case 58:
     this.MiddleAb = ((System.Windows.Controls.TextBlock)(target));
     return;
     case 59:
     this.HighA = ((System.Windows.Controls.TextBlock)(target));
     return;
     case 60:
     this.HighBb = ((System.Windows.Controls.TextBlock)(target));
     return;
     case 61:
     this.HighB = ((System.Windows.Controls.TextBlock)(target));
     return;
     case 62:
     this.HighC = ((System.Windows.Controls.TextBlock)(target));
     return;
     case 63:
     this.HighDb = ((System.Windows.Controls.TextBlock)(target));
     return;
     case 64:
     this.HighD = ((System.Windows.Controls.TextBlock)(target));
     return;
     case 65:
     this.HighEb = ((System.Windows.Controls.TextBlock)(target));
     return;
     case 66:
     this.HighE = ((System.Windows.Controls.TextBlock)(target));
     return;
     case 67:
     this.HighF = ((System.Windows.Controls.TextBlock)(target));
     return;
     case 68:
     this.HighGb = ((System.Windows.Controls.TextBlock)(target));
     return;
     case 69:
     this.HighG = ((System.Windows.Controls.TextBlock)(target));
     return;
     case 70:
     this.HighAb = ((System.Windows.Controls.TextBlock)(target));
     return;
     case 71:
     this.HighestA = ((System.Windows.Controls.TextBlock)(target));
     return;
     case 72:
     this.HighestBb = ((System.Windows.Controls.TextBlock)(target));
     return;
     case 73:
     this.HighestB = ((System.Windows.Controls.TextBlock)(target));
     return;
     case 74:
     this.HighestC = ((System.Windows.Controls.TextBlock)(target));
     return;
     case 75:
     this.HighestDb = ((System.Windows.Controls.TextBlock)(target));
     return;
     case 76:
     this.HighestD = ((System.Windows.Controls.TextBlock)(target));
     return;
     case 77:
     this.HighestEb = ((System.Windows.Controls.TextBlock)(target));
     return;
     case 78:
     this.HighestE = ((System.Windows.Controls.TextBlock)(target));
     return;
     case 79:
     this.HighestF = ((System.Windows.Controls.TextBlock)(target));
     return;
     case 80:
     this.HighestGb = ((System.Windows.Controls.TextBlock)(target));
     return;
     case 81:
     this.HighestG = ((System.Windows.Controls.TextBlock)(target));
     return;
     case 82:
     this.HighestAb = ((System.Windows.Controls.TextBlock)(target));
     return;
     case 83:
     this.slider1 = ((System.Windows.Controls.Slider)(target));
     return;
     case 84:
     this.button3 = ((System.Windows.Controls.Button)(target));
     
     #line 158 "..\..\..\MainWindow.xaml"
     this.button3.Click += new System.Windows.RoutedEventHandler(this.button3_Click);
     
     #line default
     #line hidden
     return;
     case 85:
     this.button4 = ((System.Windows.Controls.Button)(target));
     
     #line 159 "..\..\..\MainWindow.xaml"
     this.button4.Click += new System.Windows.RoutedEventHandler(this.button4_Click);
     
     #line default
     #line hidden
     return;
     case 86:
     this.tabItem3 = ((System.Windows.Controls.TabItem)(target));
     return;
     case 87:
     this.staffscroll = ((System.Windows.Controls.ScrollViewer)(target));
     return;
     case 88:
     this.noteStaff = ((System.Windows.Controls.Canvas)(target));
     return;
     case 89:
     this.Fline = ((System.Windows.Shapes.Rectangle)(target));
     return;
     case 90:
     this.Dline = ((System.Windows.Shapes.Rectangle)(target));
     return;
     case 91:
     this.Bline = ((System.Windows.Shapes.Rectangle)(target));
     return;
     case 92:
     this.Gline = ((System.Windows.Shapes.Rectangle)(target));
     return;
     case 93:
     this.Eline = ((System.Windows.Shapes.Rectangle)(target));
     return;
     case 94:
     this.NoteStatsTitle = ((System.Windows.Controls.TextBlock)(target));
     return;
     case 95:
     this.NoteStatsPTitle = ((System.Windows.Controls.TextBlock)(target));
     return;
     case 96:
     this.NoteStatsP = ((System.Windows.Controls.TextBox)(target));
     return;
     case 97:
     this.NoteStatsFTitle = ((System.Windows.Controls.TextBlock)(target));
     return;
     case 98:
     this.NoteStatsF = ((System.Windows.Controls.TextBox)(target));
     return;
     case 99:
     this.NoteStatsETitle = ((System.Windows.Controls.TextBlock)(target));
     return;
     case 100:
     this.NoteStatsE = ((System.Windows.Controls.TextBox)(target));
     return;
     case 101:
     this.CommentsTitle = ((System.Windows.Controls.TextBlock)(target));
     return;
     case 102:
     this.Comments = ((System.Windows.Controls.TextBox)(target));
     return;
     case 103:
     this.tabItem4 = ((System.Windows.Controls.TabItem)(target));
     return;
     case 104:
     this.XStackPanel2 = ((System.Windows.Controls.WrapPanel)(target));
     return;
     case 105:
     this.button5 = ((System.Windows.Controls.Button)(target));
     return;
     case 106:
     this.button6 = ((System.Windows.Controls.Button)(target));
     return;
     case 107:
     this.wavescroll = ((System.Windows.Controls.ScrollViewer)(target));
     return;
     case 108:
     this.waveform = ((System.Windows.Controls.Canvas)(target));
     return;
     }
     this._contentLoaded = true;
 }
Ejemplo n.º 56
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.Window = ((WpfApplication1.MainWindow)(target));
                return;

            case 2:
                this.MainGrid = ((System.Windows.Controls.Grid)(target));
                return;

            case 3:
                this.TextBlock = ((System.Windows.Controls.Label)(target));
                return;

            case 4:
                this.Backspace = ((System.Windows.Controls.Button)(target));

            #line 28 "..\..\MainWindow.xaml"
                this.Backspace.Click += new System.Windows.RoutedEventHandler(this.Backspace_OnClick);

            #line default
            #line hidden
                return;

            case 5:
                this.Percent = ((System.Windows.Controls.Button)(target));

            #line 29 "..\..\MainWindow.xaml"
                this.Percent.Click += new System.Windows.RoutedEventHandler(this.Percent_OnClick);

            #line default
            #line hidden
                return;

            case 6:

            #line 31 "..\..\MainWindow.xaml"
                ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.Button_Click);

            #line default
            #line hidden
                return;

            case 7:

            #line 33 "..\..\MainWindow.xaml"
                ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.OneDivX_OnClick);

            #line default
            #line hidden
                return;

            case 8:

            #line 35 "..\..\MainWindow.xaml"
                ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.SQRT_OnClick);

            #line default
            #line hidden
                return;

            case 9:

            #line 37 "..\..\MainWindow.xaml"
                ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.Button_Click);

            #line default
            #line hidden
                return;

            case 10:

            #line 38 "..\..\MainWindow.xaml"
                ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.Button_Click);

            #line default
            #line hidden
                return;

            case 11:

            #line 39 "..\..\MainWindow.xaml"
                ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.Button_Click);

            #line default
            #line hidden
                return;

            case 12:

            #line 40 "..\..\MainWindow.xaml"
                ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.Button_Click);

            #line default
            #line hidden
                return;

            case 13:

            #line 41 "..\..\MainWindow.xaml"
                ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.Button_Click);

            #line default
            #line hidden
                return;

            case 14:

            #line 42 "..\..\MainWindow.xaml"
                ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.Button_Click);

            #line default
            #line hidden
                return;

            case 15:

            #line 43 "..\..\MainWindow.xaml"
                ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.Button_Click);

            #line default
            #line hidden
                return;

            case 16:

            #line 44 "..\..\MainWindow.xaml"
                ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.Button_Click);

            #line default
            #line hidden
                return;

            case 17:

            #line 45 "..\..\MainWindow.xaml"
                ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.Button_Click);

            #line default
            #line hidden
                return;

            case 18:

            #line 46 "..\..\MainWindow.xaml"
                ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.Button_Click);

            #line default
            #line hidden
                return;

            case 19:

            #line 48 "..\..\MainWindow.xaml"
                ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.Button_Click);

            #line default
            #line hidden
                return;

            case 20:

            #line 49 "..\..\MainWindow.xaml"
                ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.AC_OnClick);

            #line default
            #line hidden
                return;

            case 21:

            #line 50 "..\..\MainWindow.xaml"
                ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.Button_Click);

            #line default
            #line hidden
                return;

            case 22:

            #line 52 "..\..\MainWindow.xaml"
                ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.PlusMinus_OnClick);

            #line default
            #line hidden
                return;

            case 23:

            #line 53 "..\..\MainWindow.xaml"
                ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.Button_Click);

            #line default
            #line hidden
                return;

            case 24:

            #line 56 "..\..\MainWindow.xaml"
                ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.Button_Click);

            #line default
            #line hidden
                return;

            case 25:

            #line 57 "..\..\MainWindow.xaml"
                ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.Button_Click);

            #line default
            #line hidden
                return;

            case 26:

            #line 58 "..\..\MainWindow.xaml"
                ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.Button_Click);

            #line default
            #line hidden
                return;

            case 27:

            #line 59 "..\..\MainWindow.xaml"
                ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.Button_Click);

            #line default
            #line hidden
                return;

            case 28:
                this.ProgCalc = ((System.Windows.Controls.MenuItem)(target));

            #line 65 "..\..\MainWindow.xaml"
                this.ProgCalc.Click += new System.Windows.RoutedEventHandler(this.ProgCalc_OnClick);

            #line default
            #line hidden
                return;

            case 29:

            #line 67 "..\..\MainWindow.xaml"
                ((System.Windows.Controls.MenuItem)(target)).Click += new System.Windows.RoutedEventHandler(this.MenuItem_OnClick);

            #line default
            #line hidden
                return;
            }
            this._contentLoaded = true;
        }