Exemple #1
0
 public Frm_info(Frm_groupManage f, int id, bool isEnable)
 {
     InitializeComponent();
     this.parent_groupmemage = f;
     this.isEnable           = isEnable;
     this.ilFace             = f.ilFace;
     this.id = id;
     this.db = f.db;
 }
 private void tsmiGroupSetup_Click(object sender, EventArgs e)
 {
     if (hostId == grouphostId)
     {
         Frm_groupManage f = new Frm_groupManage(this, GroupId, true);
         f.Show();
     }
     else
     {
         Frm_groupManage f = new Frm_groupManage(this, GroupId, false);
         f.Show();
     }
 }
Exemple #3
0
 private void tsmiGroupInfo_Click(object sender, EventArgs e)
 {
     try{
         int id = (int)treeViewGroup.SelectedNode.Tag;
         if (id < 10000)
         {
             Frm_groupManage f = new Frm_groupManage(this, id, false);
             f.Show();
         }
         else
         {
             Frm_info f = new Frm_info(this, id, false);
             f.Show();
         }
     }catch (Exception ex)
     {}
 }