private void BtnTotalBottom_MouseClick(object sender, MouseEventArgs e) { lathatosagok(); Top = Screen.PrimaryScreen.Bounds.Height - Height; BtnTotalBottom.Hide(); BtnBottom.Hide(); }
private void BtnBottom_MouseClick(object sender, MouseEventArgs e) { Top += 10; lathatosagok(); if (Top > Screen.PrimaryScreen.Bounds.Height - (Height - 1)) { BtnTotalBottom.Hide(); BtnBottom.Hide(); } }