Example #1
0
 void loadForm(string start, string end)
 {
     panelLoad.Controls.Clear();
     if (loaiForm == 0)
     {
         LichSuGiaoDich fr = new LichSuGiaoDich(IDUser, IDWallet, start, end)
         {
             Dock = DockStyle.Fill, TopLevel = false, TopMost = true
         };
         panelLoad.Controls.Add(fr);
         fr.FormBorderStyle = FormBorderStyle.None;
         fr.Dock            = DockStyle.Fill;
         fr.Show();
     }
     else
     {
         BaoCao fr = new BaoCao(IDUser, IDWallet, start, end)
         {
             Dock = DockStyle.Fill, TopLevel = false, TopMost = true
         };
         panelLoad.Controls.Add(fr);
         fr.FormBorderStyle = FormBorderStyle.None;
         fr.Dock            = DockStyle.Fill;
         fr.Show();
     }
 }
Example #2
0
 public UserControlTranHistory(LichSuGiaoDich father)
 {
     InitializeComponent();
     root = father;
 }