Example #1
0
 private void butColumnEdit_Click(object sender, EventArgs e)
 {
     if (!Security.IsAuthorized(Permissions.WikiListSetup))             //gives a message box if no permission
     {
         return;
     }
     using (FormWikiListHeaders FormWLH = new FormWikiListHeaders(WikiListCurName)) {
         if (FormWLH.ShowDialog() != DialogResult.OK)
         {
             return;
         }
     }
     SetIsEdited();
     FillGrid();
 }
Example #2
0
        private void butHeaders_Click(object sender, EventArgs e)
        {
            if (!Security.IsAuthorized(Permissions.WikiListSetup))             //gives a message box if no permission
            {
                return;
            }
            FormWikiListHeaders FormWLH = new FormWikiListHeaders();

            FormWLH.WikiListCurName = WikiListCurName;
            FormWLH.ShowDialog();
            if (FormWLH.DialogResult != DialogResult.OK)
            {
                return;
            }
            Table = WikiLists.GetByName(WikiListCurName);
            FillGrid();
        }
Example #3
0
		private void butHeaders_Click(object sender,EventArgs e) {
			if(!Security.IsAuthorized(Permissions.WikiListSetup)) {//gives a message box if no permission
				return;
			}
			FormWikiListHeaders FormWLH = new FormWikiListHeaders();
			FormWLH.WikiListCurName=WikiListCurName;
			FormWLH.ShowDialog();
			if(FormWLH.DialogResult!=DialogResult.OK) {
				return;
			}
			SetIsEdited();
			_table=WikiLists.GetByName(WikiListCurName);
			FillGrid();
		}