예제 #1
0
 public void on_share_clicked(object o, EventArgs args)
 {
     TreeSelection tSelect = BookTreeView.Selection;
        if(tSelect.CountSelectedRows() == 1)
        {
     TreeModel tModel;
     TreeIter iter;
     tSelect.GetSelected(out tModel, out iter);
     curAddrBook = (AddressBook) tModel.GetValue(iter,0);
     CollectionProperties colProp = new CollectionProperties();
     colProp.TransientFor = CBApp;
     colProp.Collection = curAddrBook;
     colProp.ActiveTag = 1;
     colProp.Run();
        }
 }
예제 #2
0
 public void on_properties(object o, EventArgs eventArgs)
 {
     CollectionProperties colProp = new CollectionProperties();
        colProp.TransientFor = SloggerApp;
        colProp.Collection = curSlog;
        colProp.ActiveTag = 1;
        colProp.Run();
 }