Example #1
0
        public void Back()
        {
            Form Adv = new FormAdvertising();

            this.Hide();
            Adv.Show();
        }
Example #2
0
        public void Back()
        {
            Form Adv = new FormAdvertising();

            Adv.StartPosition = FormStartPosition.Manual;
            Adv.Left          = this.Left;
            Adv.Top           = this.Top;
            this.Hide();
            Adv.Show();
        }
Example #3
0
 private void listView1_MouseDoubleClick(object sender, MouseEventArgs e)
 {
     if (listView1.SelectedItems.Count == 1)
     {
         Clients client = listView1.SelectedItems[0].Tag as Clients;
         Personal.Id      = client.Id;
         Personal.Name    = client.Name;
         Personal.Surname = client.Surname;
         Form Adv = new FormAdvertising();
         Adv.StartPosition = FormStartPosition.Manual;
         Adv.Left          = this.Left;
         Adv.Top           = this.Top;
         this.Hide();
         Adv.Show();
     }
 }