private void menuAddClickImage_Click(object sender, RoutedEventArgs e) { AddControl addControl = new AddControl(); AddControlClickImage cmi = new AddControlClickImage(gCurrentScreen); addControl.Content = cmi; addControl.Width = cmi.Width + 80; addControl.Height = cmi.Height + 80; addControl.Owner = this; addControl.ShowDialog(); Load_Screen(gCurrentScreen); }
private void Property_Label_MouseRightButtonDown(object sender, MouseEventArgs e) { if (editMode == false) { return; } PropertyLabel propLabel = (PropertyLabel)sender; AddControl addControl = new AddControl(); AddControlPropertyLabel cmi = new AddControlPropertyLabel(gCurrentScreen, propLabel.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 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 Broswer_Control_MouseRightButtonDown(object sender, MouseEventArgs e) { if (editMode == false) { return; } ClickImage bfCtrl = (ClickImage)sender; AddControl addControl = new AddControl(); AddControlBrowser cmi = new AddControlBrowser(gCurrentScreen, bfCtrl.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 menuAddClickImage_Click(object sender, RoutedEventArgs e) { AddControl addControl = new AddControl(); AddControlClickImage cmi = new AddControlClickImage(gCurrentScreen); addControl.Content = cmi; addControl.Width = cmi.Width + 80; addControl.Height = cmi.Height + 80; addControl.Owner = this; addControl.ShowDialog(); Load_Screen(gCurrentScreen); }
private void Property_Label_MouseRightButtonDown(object sender, MouseEventArgs e) { if (editMode == false) return; PropertyLabel propLabel = (PropertyLabel)sender; AddControl addControl = new AddControl(); AddControlPropertyLabel cmi = new AddControlPropertyLabel(gCurrentScreen, propLabel.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 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 Broswer_Control_MouseRightButtonDown(object sender, MouseEventArgs e) { if (editMode == false) return; ClickImage bfCtrl = (ClickImage)sender; AddControl addControl = new AddControl(); AddControlBrowser cmi = new AddControlBrowser(gCurrentScreen, bfCtrl.screenObject.Name); addControl.Content = cmi; addControl.Width = cmi.Width + 80; addControl.Height = cmi.Height + 80; addControl.Owner = this; addControl.ShowDialog(); Load_Screen(gCurrentScreen); }