コード例 #1
0
 private void on_add_sharing(object o, EventArgs args)
 {
     ContactPicker cp = new ContactPicker();
        cp.TransientFor = (Gtk.Window) SharingVBox.Toplevel;
        cp.AddrBookManager = abMan;
        if(cp.Run() == -5)
        {
     foreach(Contact c in cp.Contacts)
     {
      ShareWithContact(c);
     }
        }
 }
コード例 #2
0
 public void on_show_picker(object o, EventArgs args)
 {
     ContactPicker cp = new ContactPicker();
        cp.AddrBookManager = abMan;
        cp.Run();
 }