private void checkOutToolStripMenuItem_Click(object sender, EventArgs e)
        {
            EUListItem listItem = (EUListItem)LibraryContentDataGridView.SelectedRows[0].Tag;

            SharePointManager.CheckOutFile(listItem.SiteSetting, listItem.WebURL, listItem.URL);
            this.RefreshViewExt();
        }
        private void OKButton_Click(object sender, EventArgs e)
        {
            EUCheckinTypes checkinType;

            if (DraftRadioButton.Checked == true)
            {
                checkinType = EUCheckinTypes.MinorCheckIn;
            }
            else if (PublishRadioButton.Checked == true)
            {
                checkinType = EUCheckinTypes.MajorCheckIn;
            }
            else
            {
                checkinType = EUCheckinTypes.OverwriteCheckIn;
            }

            SharePointManager.CheckInFile(SelectedItem.SiteSetting, SelectedItem.WebURL, SelectedItem.URL, CommentsTextBox.Text, checkinType);
            if (YesRadioButton.Checked == true)
            {
                SharePointManager.CheckOutFile(SelectedItem.SiteSetting, SelectedItem.WebURL, SelectedItem.URL);
            }
            DialogResult = DialogResult.OK;
        }