Ejemplo n.º 1
0
        private void btnCancel_Click(object sender, EventArgs e)
        {
            frmViewings2 fc = new frmViewings2();

            fc.Show();
            this.Close();
        }
Ejemplo n.º 2
0
        private void btnCheckView_Click(object sender, EventArgs e)
        {
            frmViewings2 formCalled = new frmViewings2();

            formCalled.Show();
            this.Close();
        }
Ejemplo n.º 3
0
        // Create viewing button
        private void btnCreateViewing_Click(object sender, EventArgs e)
        {
            int tempSelectedBuyer = 0;

            try
            {
                tempSelectedBuyer = Int32.Parse(selectedClient);
                int tempSelectedProp = Int32.Parse(selectedProp);

                createViewing(tempSelectedBuyer, tempSelectedProp, Variables.SelectedDate, timeSelected);
                frmViewings2 fc = new frmViewings2();
                fc.Show();
                this.Close();
            }catch (Exception ex)
            {
                MessageBox.Show("Choose Client again");
            }
        }