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

            addex.Dock = DockStyle.Fill;
            tPanel.Controls.Add(addex);
        }
Beispiel #2
0
 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;
 }