Interaction logic for AddControlNavigationImage.xaml
Inheritance: System.Windows.Controls.UserControl
 private void Navigaton_Image_MouseRightButtonDown(object sender, MouseEventArgs e)
 {
     if (editMode == false) return;
     NavigationImage navCtrl = (NavigationImage)sender;
     AddControl addControl = new AddControl();
     AddControlNavigationImage cmi = new AddControlNavigationImage(gCurrentScreen, navCtrl.screenObject.Name);
     addControl.Content = cmi;
     addControl.Width = cmi.Width + 80;
     addControl.Height = cmi.Height + 80;
     addControl.Owner = this;
     addControl.ShowDialog();
     Load_Screen(gCurrentScreen);
 }
 private void menuAddNavImage_Click(object sender, RoutedEventArgs e)
 {
     _timer.Stop();
     AddControl addControl = new AddControl();
     AddControlNavigationImage cni = new AddControlNavigationImage(gCurrentScreen);
     addControl.Content = cni;
     addControl.Width = cni.Width + 80;
     addControl.Height = cni.Height + 80;
     addControl.Show();
     Load_Screen(gCurrentScreen);
 }