private void btnNew_Click(object sender, EventArgs e)
        {
            var frm = new Publishfrm(true, string.Empty);

            frm.ShowDialog();
            fillGridView();
        }
        private void btnDetail_Click(object sender, EventArgs e)
        {
            var version = getVersionOfPublishList();

            if (version == null)
            {
                MessageBox.Show("لطفا نسخه مورد نظر را انتخاب کنید");
                return;
            }
            var frm = new Publishfrm(null, version);

            frm.ShowDialog();
            fillGridView();
        }