Inheritance: Gtk.Dialog
Exemple #1
0
 protected void OnButtonAddClicked(object sender, EventArgs e)
 {
     UserProperty winUser = new UserProperty ();
     winUser.NewUser = true;
     winUser.Show ();
     winUser.Run ();
     winUser.Destroy ();
     UpdateUsers ();
 }
Exemple #2
0
        protected void OnButtonAddClicked(object sender, EventArgs e)
        {
            UserProperty winUser = new UserProperty();

            winUser.NewUser = true;
            winUser.Show();
            winUser.Run();
            winUser.Destroy();
            UpdateUsers();
        }
Exemple #3
0
        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();
        }
Exemple #4
0
        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 ();
        }