Пример #1
0
        public AddTagDialog(FeedPropertiesDialog dialog)
            : base(WindowType.Toplevel)
        {
            TransientFor = dialog;
            propdialog = dialog;

            DialogConstructPriv();

            add_button.Clicked += new EventHandler(OnAdd);
        }
Пример #2
0
 public void ShowPropertiesDialog(object obj, EventArgs args)
 {
     if ( browser.FeedView.HasSelected ) {
         Window dialog = new FeedPropertiesDialog(browser.FeedView.Selected);
         dialog.TransientFor = browser;
         dialog.ShowAll();
     }
 }