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

            frm.ShowDialog();
            fillGridView();
        }
Exemplo n.º 2
0
        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();
        }