private void Add_Click(object sender, EventArgs e)
 {
     try
     {
         var shareAdd = new ShareAdd(Url,Login);
         shareAdd.Show();
         Log.Info("ShareAddShow start");
     }
     catch (Exception exception)
     {
         Log.Fatal(exception.Message);
         MessageBox.Show(exception.Message);
     }
 }
Example #2
0
 private void addNewSharesToolStripMenuItem_Click(object sender, EventArgs e)
 {
     var shareAdd = new ShareAdd(textBoxUrl.Text, NameUser());
     Log.Info("ShareAdd start");
     shareAdd.Show();
 }