private void menuAddUserControl_Click(object sender, RoutedEventArgs e) { AddControl addControl = new AddControl(); AddControlUserControl csi = new AddControlUserControl(gCurrentScreen); addControl.Width = csi.Width + 80; addControl.Height = csi.Height + 80; addControl.Content = csi; addControl.Show(); }
private void menuAddMethodImage_Click(object sender, RoutedEventArgs e) { AddControl addControl = new AddControl(); AddControlMethodImage cmi = new AddControlMethodImage(gCurrentScreen); addControl.Content = cmi; addControl.Width = cmi.Width + 80; addControl.Height = cmi.Height + 80; addControl.Show(); }
private void menuAddCameraViewer_Click(object sender, RoutedEventArgs e) { AddControl addControl = new AddControl(); AddNewCameraViewer csi = new AddNewCameraViewer(gCurrentScreen); addControl.Width = csi.Width + 40; addControl.Height = csi.Height + 40; addControl.Content = csi; addControl.Show(); }
private void menuAddNavImage_Click(object sender, RoutedEventArgs e) { AddControl addControl = new AddControl(); AddControlNavigationImage cni = new AddControlNavigationImage(gCurrentScreen); addControl.Content = cni; addControl.Width = cni.Width + 80; addControl.Height = cni.Height + 80; addControl.Show(); }