Beispiel #1
0
        static void Main()
        {
            Application.EnableVisualStyles();
            Application.SetCompatibleTextRenderingDefault(false);

            Application.Run(AppControl.GetForm("StandardCalculator"));
        }
 private void Programmer_Click(object sender, EventArgs e)
 {
     Hide();
     AppControl.GetForm("ProgrammerView").Show();
 }
 private void Time_Click(object sender, EventArgs e)
 {
     Hide();
     AppControl.GetForm("Time").Show();
 }
        // Opens the Standard Calculator From if the X on the window bar is clicked


        // All below open a new form and close the current one when clicked
        private void Calculator_Click(object sender, EventArgs e)
        {
            Hide();
            AppControl.GetForm("StandardCalculator").Show();
        }
Beispiel #5
0
 private void timeToolStripMenuItem_Click(object sender, EventArgs e)
 {
     Hide();
     AppControl.GetForm("Time").Show();
 }
Beispiel #6
0
 private void measurementConverterToolStripMenuItem_Click(object sender, EventArgs e)
 {
     Hide();
     AppControl.GetForm("MeasurementConverter").Show();
 }
 private void Measurement_Click(object sender, EventArgs e)
 {
     Hide();
     AppControl.GetForm("MeasurementConverter").Show();
 }
Beispiel #8
0
        // The next four EventListeners check if a menu it has been Clicked
        // If so they open a new form and close this form

        private void programmerToolStripMenuItem_Click(object sender, EventArgs e)
        {
            Hide();
            AppControl.GetForm("ProgrammerView").Show();
        }