Interaction logic for AddBookmark.xaml
Inheritance: System.Windows.Controls.UserControl
示例#1
0
 private void BookmarkButton_Click(object sender, RoutedEventArgs e)
 {
     addbook = new AddBookmark(Title, WebView.Address, mainWindow);
     addbook.HorizontalAlignment = HorizontalAlignment.Right;
     addbook.VerticalAlignment   = VerticalAlignment.Top;
     addbook.Margin = new Thickness(0, -35, 21, 0);
     addbook.Width  = 300;
     addbook.Height = 175;
     container.Children.Add(addbook);
 }
示例#2
0
 private void BookmarkButton_Click(object sender, MouseButtonEventArgs e)
 {
     addbook = new AddBookmark(Title, WebView.Address, mainWindow);
     addbook.HorizontalAlignment = HorizontalAlignment.Right;
     addbook.VerticalAlignment   = VerticalAlignment.Top;
     addbook.Margin     = new Thickness(0, -20, 30, 0);
     addbook.Width      = 300;
     addbook.Height     = 100;
     addbook.Visibility = Visibility.Visible;
     container.Children.Add(addbook);
 }
示例#3
0
 private void BookmarkButton_Click(object sender, RoutedEventArgs e)
 {
     addbook = new AddBookmark(Title, WebView.Address, mainWindow);
         addbook.HorizontalAlignment = HorizontalAlignment.Right;
         addbook.VerticalAlignment = VerticalAlignment.Top;
         addbook.Margin = new Thickness(0, -35, 21, 0);
         addbook.Width = 300;
         addbook.Height = 175;
         container.Children.Add(addbook);
 }
示例#4
0
 private void BookmarkButton_Click(object sender, MouseButtonEventArgs e)
 {
     addbook = new AddBookmark(Title, WebView.Address, mainWindow);
     addbook.HorizontalAlignment = HorizontalAlignment.Right;
     addbook.VerticalAlignment = VerticalAlignment.Top;
     addbook.Margin = new Thickness(0, -20, 30, 0);
     addbook.Width = 300;
     addbook.Height = 100;
     addbook.Visibility = Visibility.Visible;
     container.Children.Add(addbook);
 }