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(); } }
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(); } }