예제 #1
0
 private void button1_Click(object sender, EventArgs e)
 {
     UpdateRoiMake.OnSendUpdateRoiMake(new UpdateRoiMakeEventArgs(this.shape_name.Text + ".region"));
     if (Check_pal())
     {
         this.Visible = false;
     }
 }
예제 #2
0
        private void button3_Click(object sender, EventArgs e)
        {
            UpdateRoiMake.OnSendUpdateRoiMake(new UpdateRoiMakeEventArgs("MakeRegion"));
            this.button3.Enabled = false;

            if (Button_press)
            {
                this.button_搜索形状.BackColor = Color.Yellow;
            }
        }
예제 #3
0
        private void button_搜索形状_Click(object sender, EventArgs e)
        {
            if (this.checkBox1.Checked)
            {
                String Shape1 = comboBox1.SelectedItem.ToString();
                Button_press = !Button_press;

                if (Button_press)
                {
                    this.button_搜索形状.BackColor = Color.Yellow;
                    SetROi = true;
                    UpdateRoiMake.OnSendUpdateRoiMake(new UpdateRoiMakeEventArgs(Shape1));
                }
                else
                {
                    this.button_搜索形状.BackColor = Color.Empty;
                }
            }
            else
            {
                MessageBox.Show("请先选中手选区域");
            }
        }
예제 #4
0
 public void Send_name()
 {
     UpdateRoiMake.OnSendUpdateRoiMake(new UpdateRoiMakeEventArgs(this.shape_name.Text + ".region"));
 }