Example #1
0
        private void Previous_Click(object sender, EventArgs e)
        {
            SelectOption objSelectOption = new SelectOption();

            objSelectOption.TopLevel = false;
            objSelectOption.Parent   = this.Parent;
            objSelectOption.Show();

            this.Dispose();
        }
Example #2
0
 private void btnNext_Click(object sender, EventArgs e)
 {
     try
     {
         Global.GloPaperId   = Int64.Parse(dataGridView1.SelectedRows[0].Cells["company_paper_id"].Value.ToString());
         Global.GloPaperName = dataGridView1.SelectedRows[0].Cells["Paper Name"].Value.ToString();
         SelectOption objSelectOption = new SelectOption();
         objSelectOption.TopLevel = false;
         objSelectOption.Parent   = this.Parent;
         objSelectOption.Show();
         this.Dispose();
     }
     catch { }
 }