Esempio n. 1
0
        private void DataGrid_MouseDoubleClick(object sender, MouseButtonEventArgs e)
        {
            TableFieldForm tff = new TableFieldForm();

            tff.VerticalAlignment   = VerticalAlignment.Stretch;
            tff.HorizontalAlignment = HorizontalAlignment.Stretch;

            (this.Parent as StackPanel).Children.Add(tff);

            /*
             * FrameworkElement item = ((FrameworkElement)e.MouseDevice.DirectlyOver);
             * int a = 0;
             * a++;
             */
        }
Esempio n. 2
0
		private void DataGrid_MouseDoubleClick(object sender, MouseButtonEventArgs e)
		{
			TableFieldForm tff = new TableFieldForm();
			tff.VerticalAlignment = VerticalAlignment.Stretch;
			tff.HorizontalAlignment = HorizontalAlignment.Stretch;

			(this.Parent as StackPanel).Children.Add(tff);
			/*
			FrameworkElement item = ((FrameworkElement)e.MouseDevice.DirectlyOver);
			int a = 0;
			a++;
			*/
		}