Esempio n. 1
0
        protected virtual void OnDoubleClick(object o, Gtk.ItemActivatedArgs args)
        {
            TreeIter iter;

            if (imagesView.SelectedItems[0] != null)
            {
                m_model.GetIter(out iter, imagesView.SelectedItems[0]);
                string      file = (string)m_model.GetValue(iter, 2);
                ImageDialog dlg  = new ImageDialog(file);
                dlg.Run();
            }
        }
Esempio n. 2
0
        protected virtual void OnViewClick(object sender, System.EventArgs e)
        {
            TreeIter iter;

            if (imagesView.SelectedItems[0] != null)
            {
                m_model.GetIter(out iter, imagesView.SelectedItems[0]);
                string      file = (string)m_model.GetValue(iter, 2);
                ImageDialog dlg  = new ImageDialog(file);
                dlg.Run();
            }
        }
 protected virtual void OnDoubleClick(object o, Gtk.ItemActivatedArgs args)
 {
     TreeIter iter;
     if (imagesView.SelectedItems[0] != null) {
         m_model.GetIter(out iter, imagesView.SelectedItems[0]);
         string  file = (string)m_model.GetValue (iter, 2);
         ImageDialog dlg = new ImageDialog(file);
         dlg.Run();
     }
 }
 protected virtual void OnViewClick(object sender, System.EventArgs e)
 {
     TreeIter iter;
     if (imagesView.SelectedItems[0] != null) {
         m_model.GetIter(out iter, imagesView.SelectedItems[0]);
         string  file = (string)m_model.GetValue (iter, 2);
         ImageDialog dlg = new ImageDialog(file);
         dlg.Run();
     }
 }