Esempio n. 1
0
        /// <summary>
        ///
        /// </summary>
        /// <param name="code">Current Code</param>
        /// <param name="frmCreateBug">needed to return value</param>
        public frmCode(String code, FrmCreateBug frmCreateBug)
        {
            InitializeComponent();
            FrmCreateBug = frmCreateBug;

            rtfCode.Text = code;
            initilCode   = rtfCode.Text;
        }
Esempio n. 2
0
 private void btnUpdateSelected_Click(object sender, EventArgs e)
 {
     if (grdBugs.SelectedRows.Count > 0)
     {
         FrmCreateBug frmCreateBug = new FrmCreateBug();
         frmCreateBug.BugID = (long)grdBugs.SelectedRows[0].Cells["Id"].Value;
         frmCreateBug.ShowDialog();
     }
 }
Esempio n. 3
0
        private void btnCreateBug_Click(object sender, EventArgs e)
        {
            FrmCreateBug frmCreateBug = new FrmCreateBug();

            frmCreateBug.ShowDialog();
        }