Beispiel #1
0
        private void 帮助LToolStripButton_Click(object sender, EventArgs e)
        {
            if (tabctrl_task.TabPages.Count <= 0)
            {
                return;
            }
            Task      t  = tabctrl_task.SelectedTab.Tag as Task;
            ResultFrm rf = new ResultFrm(t.ResultDatas);

            rf.ShowDialog();
        }
Beispiel #2
0
        public bool ShowResultFrm(ref string strLink)
        {
            ResultFrm rf = new ResultFrm(ResultDatas);

            if (rf.ShowDialog() == DialogResult.OK)
            {
                string link;
                if (rf.SelectName == "...")
                {
                    link = rf.SelectName;
                }
                else
                {
                    link = rf.SelectName + "[" + rf.Index + "]";
                }
                strLink = link;
                return(true);
            }
            return(false);
        }
Beispiel #3
0
        private void btn_centerX_Click(object sender, EventArgs e)
        {
            Button    btn = sender as Button;
            ResultFrm rf  = new ResultFrm(shapeEvent.ParentTask.ResultDatas);

            if (rf.ShowDialog() == DialogResult.OK)
            {
                string link;
                if (rf.SelectName == "...")
                {
                    link = rf.SelectName;
                }
                else
                {
                    link = rf.SelectName + "[" + rf.Index + "]";
                }
                btn.Text = link;
            }
            rf.Dispose();
        }