Esempio n. 1
0
 private void addnewclientcontacts_Click(object sender, EventArgs e)
 {
     if (clients.Count > 0)
     {
         if (clients_grid_view.SelectedRows.Count > 0)
         {
             addnewclientcompanycontacts myform = new addnewclientcompanycontacts(clients[clients_grid_view.SelectedRows[0].Index], mEmployee, mAccount, mPermission);
             myform.ShowDialog();
         }
         else
         {
             MessageBox.Show("لا بد من تحديد العميل المراد إضافة متصلين له ", "تحذير", MessageBoxButtons.OK, MessageBoxIcon.Warning, MessageBoxDefaultButton.Button1, MessageBoxOptions.RtlReading);
         }
     }
 }
Esempio n. 2
0
        private void addnewclientcontact_Click(object sender, EventArgs e)
        {
            addnewclientcompanycontacts myform = new addnewclientcompanycontacts(mclient, mEmployee, mAccount, mPermission);

            myform.ShowDialog();
        }