protected void OnButtonAddClicked(object sender, EventArgs e) { UserProperty winUser = new UserProperty (); winUser.NewUser = true; winUser.Show (); winUser.Run (); winUser.Destroy (); UpdateUsers (); }
protected void OnButtonAddClicked(object sender, EventArgs e) { UserProperty winUser = new UserProperty(); winUser.NewUser = true; winUser.Show(); winUser.Run(); winUser.Destroy(); UpdateUsers(); }
protected void OnButtonEditClicked(object sender, EventArgs e) { TreeIter iter; treeviewUsers.Selection.GetSelected(out iter); int itemid = Convert.ToInt32(UsersListStore.GetValue(iter, 0)); UserProperty winUser = new UserProperty(); winUser.UserFill(itemid); winUser.Show(); winUser.Run(); winUser.Destroy(); UpdateUsers(); }
protected void OnButtonEditClicked(object sender, EventArgs e) { TreeIter iter; treeviewUsers.Selection.GetSelected (out iter); int itemid = Convert.ToInt32 (UsersListStore.GetValue (iter, 0)); UserProperty winUser = new UserProperty (); winUser.UserFill (itemid); winUser.Show (); winUser.Run (); winUser.Destroy (); UpdateUsers (); }