Пример #1
0
        private void MenuItem_Click(object sender, RoutedEventArgs e)
        {
            if (Globals.AnimationsNow.Count != 0)
            {
                return;
            }
            SetGraph setGraph = new SetGraph();

            setGraph.ShowDialog();
        }
Пример #2
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.myWindow = ((Graph_Editor.SetGraph)(target));
                return;

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

            case 3:
                this.logo = ((System.Windows.Controls.Image)(target));
                return;

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

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

            #line 15 "..\..\SetGraph.xaml"
                this.Parametrs.KeyDown += new System.Windows.Input.KeyEventHandler(this.Parametrs_KeyDown);

            #line default
            #line hidden
                return;

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

            #line 17 "..\..\SetGraph.xaml"
                this.Clear.Click += new System.Windows.RoutedEventHandler(this.Button_Click);

            #line default
            #line hidden
                return;

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

            #line 19 "..\..\SetGraph.xaml"
                this.Cancel.Click += new System.Windows.RoutedEventHandler(this.Cancel_Click);

            #line default
            #line hidden
                return;

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

            #line 20 "..\..\SetGraph.xaml"
                this.Save.Click += new System.Windows.RoutedEventHandler(this.Save_Click);

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