Esempio n. 1
0
 private void InvoicesButton_Click(object sender, EventArgs e)
 {
     directory = DirectoryText.Text;
     if (System.IO.Directory.Exists(directory))
     {
         Process.Start(directory);
         DirErrorLabel.Hide();
     }
     else
     {
         MessageBox.Show("The directory path is not set or does not exist!", "Opps! Something went wrong!", MessageBoxButtons.OK, MessageBoxIcon.Hand);
         DirErrorLabel.Show();
     }
 }
Esempio n. 2
0
 private void WeekChooser_Click(object sender, EventArgs e)
 {
     EmptyError.Hide();
     DirErrorLabel.Hide();
 }
Esempio n. 3
0
 private void HoursWorked_Click(object sender, EventArgs e)
 {
     EmptyError.Hide();
     DirErrorLabel.Hide();
 }
Esempio n. 4
0
 private void DepartmentText_Click(object sender, EventArgs e)
 {
     EmptyError.Hide();
     DirErrorLabel.Hide();
 }
Esempio n. 5
0
 private void EmployeeNameText_Click(object sender, EventArgs e)
 {
     EmployeeNameText.Text = "";
     EmptyError.Hide();
     DirErrorLabel.Hide();
 }