示例#1
0
        private void userTracking_Load(object sender, EventArgs e)
        {
            _instance1 = this;
            AddExpense addex = new AddExpense();

            addex.Dock = DockStyle.Fill;
            tPanel.Controls.Add(addex);
        }
示例#2
0
文件: Dashboard.cs 项目: bobinx/PoMMS
 private void trackTile_Click(object sender, EventArgs e)
 {
     if (!Home.Instance.MetroContainer.Controls.ContainsKey("userTracking"))
     {
         userTracking utr = new userTracking();
         utr.Dock = DockStyle.Fill;
         Home.Instance.MetroContainer.Controls.Add(utr);
     }
     Home.Instance.MetroContainer.Controls["userTracking"].BringToFront();
     Home.Instance.MetroBack.Visible = true;
 }