Esempio n. 1
0
      }                            //messgebox ask are you sure

      private void DeleteSection() // delete all bordercolor red
      {
          local _local = new local();
          int   row    = 0;

          for (row = 0; row < UIbutton.Count; row++)
          {
              if (UIbutton[row].BackboolSlect())
              {
                  _local.remove(UIbutton[row].setText());
              }
          }



          reload();
      }
Esempio n. 2
0
        } //messgebox ask are you sure

        //private SqliteParameterCollection DataSql_Parameters(string data)
        //{
        //    SqliteCommand SqliteCommand = new SqliteCommand();
        //    SqliteParameterCollection ReturnParamter = SqliteCommand.Parameters;

        //    ReturnParamter.AddWithValue(LibraryWords.Row, data);

        //    return ReturnParamter;

        //}
        private void detelet()
        {
            try
            {
                local cal = new local();
                //    Images mig =new Images ()
                cal.remove(text);
                img.imG.ViewDidLoad();
            }
            catch {
                var armAlert      = UIAlertController.Create("database dot open", string.Empty, UIAlertControllerStyle.Alert);
                var cancelAction1 = UIAlertAction.Create("ok", UIAlertActionStyle.Cancel, alertAction1 => { });

                armAlert.AddAction(cancelAction1);


                PresentViewController(armAlert, true, null);
            }

            NavigationController.PopViewController(true);
        }