private static void OnScaleValueChanged(DependencyObject o, DependencyPropertyChangedEventArgs e)
        {
            //log_in_form = window pavadinimas solution explorer        <----------------- komentaras
            test13 mainWindow = o as test13;

            if (mainWindow != null)
            {
                mainWindow.OnScaleValueChanged((double)e.OldValue, (double)e.NewValue);
            }
        }
        private static object OnCoerceScaleValue(DependencyObject o, object value)
        {
            //log_in_form = window pavadinimas solution explorer   <----------------- komentaras
            test13 mainWindow = o as test13;

            if (mainWindow != null)
            {
                return(mainWindow.OnCoerceScaleValue((double)value));
            }
            else
            {
                return(value);
            }
        }
Esempio n. 3
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.myMainWindow = ((Projects_Manager_Medexy.test13)(target));
                return;

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

            #line 9 "..\..\..\in process\TabbedIMTest.xaml"
                this.mainGrid.SizeChanged += new System.Windows.SizeChangedEventHandler(this.Grid_SizeChanged);

            #line default
            #line hidden
                return;

            case 3:
                this.ApplicationScaleTransform = ((System.Windows.Media.ScaleTransform)(target));
                return;

            case 4:

            #line 18 "..\..\..\in process\TabbedIMTest.xaml"
                ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.Button_Click);

            #line default
            #line hidden
                return;

            case 5:
                this.Tab_control_test = ((System.Windows.Controls.TabControl)(target));
                return;

            case 6:
                this.TabNameBox = ((System.Windows.Controls.TextBox)(target));
                return;
            }
            this._contentLoaded = true;
        }
Esempio n. 4
0
        private void Button_Click_5(object sender, RoutedEventArgs e)
        {
            test13 tabbed_im = new test13();

            tabbed_im.Show();
        }
Esempio n. 5
0
        private void Button_Click_1(object sender, RoutedEventArgs e)
        {
            test13 n = new test13();

            n.Show();
        }