protected virtual void OnButtonPayClicked(object sender, System.EventArgs e)
        {
            Gtk.TreeModel mod;
            Gtk.TreeIter iter;

            TreePath[] paths = treeview_friends.Selection.GetSelectedRows(out mod);

            foreach (TreePath path in paths)
            {
                if (store.GetIter(out iter, path))
                {
                    string id = (string)mod.GetValue(iter, 6);
                    PayWindow pay = new PayWindow((UUID)id, 0);
                    pay.Show();
                }
            }
        }
        protected virtual void OnButtonPayClicked(object sender, System.EventArgs e)
        {
            Gtk.TreeModel mod;
            Gtk.TreeIter iter;

            if(treeview1.Selection.GetSelected(out mod,out iter))
            {
                UUID id=(UUID)mod.GetValue(iter,3);
                Primitive prim;

                if(FetchedPrims.TryGetValue(id,out prim))
                {
                    PayWindow pay=new PayWindow(prim,0);
                    pay.Modal=true;
                    pay.Show();
                }

            }
        }
        protected virtual void OnButtonPayClicked(object sender, System.EventArgs e)
        {
            Gtk.TreeModel mod;
            Gtk.TreeIter iter;

            if(treeview1.Selection.GetSelected(out mod,out iter))
            {
                UUID id=(UUID)mod.GetValue(iter,2);
                PayWindow pay=new PayWindow(id,0);
                pay.Show();
            }
        }
Example #4
0
        protected virtual void OnButtonPayClicked(object sender, System.EventArgs e)
        {
            Gtk.TreeModel mod;
            Gtk.TreeIter iter;

            if(treeview_radar.Selection.GetSelected(out mod,out iter))
            {
                UUID id=(UUID)mod.GetValue(iter,4);
                Avatar avatar = AutoPilot.findavatarinsims(id);
                if(avatar!=null)
                {
                    PayWindow pay=new PayWindow(avatar.ID,0);
                    pay.Show();
                }
            }
        }