Ejemplo n.º 1
0
        private static void OnScaleValueChanged(DependencyObject o, DependencyPropertyChangedEventArgs e)
        {
            //log_in_form = window pavadinimas solution explorer        <----------------- komentaras
            add_project mainWindow = o as add_project;

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

            if (mainWindow != null)
            {
                return(mainWindow.OnCoerceScaleValue((double)value));
            }
            else
            {
                return(value);
            }
        }
Ejemplo n.º 3
0
        private void Button_Click_2(object sender, RoutedEventArgs e)
        {
            add_project p = new add_project();

            p.Show();
        }