コード例 #1
0
 public void currentBhikkuDetails_Click(object sender, EventArgs e)
 {
     using (Asapuwa a = new Asapuwa(true))
     {
         a.ID = this.asapuwaID;
         ChangeListItemAsapuwaDetails cad = new ChangeListItemAsapuwaDetails(this.asapuwaName, a.SelectCurrentBhikkuList(), this.Parent.Controls, new Point(100, 100), false);
     }
 }
コード例 #2
0
        public void newBhikkuDetails_Click(object sender, EventArgs e)
        {
            List <AsapuwaHistryCurrentBhikku> binfoList = new List <AsapuwaHistryCurrentBhikku>();

            foreach (ChangeListItemBhikku b in bhikkuList)
            {
                binfoList.Add(new AsapuwaHistryCurrentBhikku(b.bInfo.NameAssumedAtRobing, "", b.bInfo.Post));
            }

            Control.ControlCollection cnt = this.Parent.Controls;

            if (this.minimizedAsapuwa.Parent == this.Parent)
            {
                cnt = this.Parent.Parent.Parent.Controls;
            }

            ChangeListItemAsapuwaDetails cad = new ChangeListItemAsapuwaDetails(this.asapuwaName, binfoList, cnt, new Point(100, 100), true);
        }