public Tracker(Pages.MainMenu.MainMenu mainMenu) { parent = mainMenu; InitializeComponent(); timerUpdate.Enabled = false; TopMost = true; }
public Screenshot(int boxNo, Pages.MainMenu.MainMenu mainMenu) { InitializeComponent(); currentBoxNo = boxNo; main = mainMenu; Show(); }
internal void SetTextBox(Pages.MainMenu.MainMenu main, int currentBoxNo) { if (currentBoxNo == 0) { main.textBox1.Text = X.ToString(); main.textBox2.Text = Y.ToString(); main.textBox3.Text = (X + Width).ToString(); main.textBox4.Text = (Y + Height).ToString(); } else { main.textBox5.Text = X.ToString(); main.textBox6.Text = Y.ToString(); main.textBox7.Text = (X + Width).ToString(); main.textBox8.Text = (Y + Height).ToString(); } }