Пример #1
0
 private void employeeAndCompanyInformationToolStripMenuItem_Click(object sender, EventArgs e)
 {
     if (sender.Equals(employeeAndCompanyInformationToolStripMenuItem) == true)
     {
         First_use fs = new First_use();
         fs.Show();
     }
     if (sender.Equals(connectionSettingsToolStripMenuItem1) == true)
     {
         First_use_optn op = new First_use_optn();
         op.Show();
     }
     if (sender.Equals(connectionSettingsToolStripMenuItem) == true)
     {
         loggy lg = new loggy();
         lg.Show();
     }
     if (sender.Equals(runApplicationToolStripMenuItem) == true)
     {
         try
         {
             System.Diagnostics.Process.Start(Environment.CurrentDirectory + "\\ShareP\\Amatrix Document Server.exe");
         }
         catch (Exception erty) { Am_err ner = new Am_err(); ner.tx("Unable to open Share Point, the .exe is missing, Call maintenance for Check-up."); }
     }
     if (sender.Equals(vvmmkt) == true)
     {
         mgmt_opr op = new mgmt_opr();
         op.Show();
     }
     if (sender.Equals(projectManagmentToolStripMenuItem) == true)
     {
         mgmt_stratgy st = new mgmt_stratgy();
         st.Show();
     }
     if (sender.Equals(openHumanResourcesToolStripMenuItem) == true)
     {
         mgmt_hr hr = new mgmt_hr();
         hr.Show();
     }
     if (sender.Equals(openCustomerManagmentToolStripMenuItem) == true)
     {
         mgmt_pr pr = new mgmt_pr();
         pr.Show();
     }
     if (sender.Equals(openProductManagmentToolStripMenuItem) == true)
     {
         mgmt_supch sh = new mgmt_supch();
         sh.Show();
     }
     if (sender.Equals(jrnlstrt) == true)
     {
         acc_journ jrn = new acc_journ();
         jrn.Show();
     }
     if (sender.Equals(ldg) == true)
     {
         acc_ledg ld_g = new acc_ledg();
         ld_g.Show();
     }
     if (sender.Equals(incvd) == true)
     {
         acc_invce vce = new acc_invce();
         vce.Show();
     }
     if (sender.Equals(openRePartitionerToolStripMenuItem) == true)
     {
         reparttn tn = new reparttn();
         tn.Show();
     }
 }
Пример #2
0
        private void btnldg_Click(object sender, EventArgs e)
        {
            mgmt_stratgy prj = new mgmt_stratgy();

            prj.Show();
        }