private void button1_Click(object sender, EventArgs e) { UpdateRoiMake.OnSendUpdateRoiMake(new UpdateRoiMakeEventArgs(this.shape_name.Text + ".region")); if (Check_pal()) { this.Visible = false; } }
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; } }
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("请先选中手选区域"); } }
public void Send_name() { UpdateRoiMake.OnSendUpdateRoiMake(new UpdateRoiMakeEventArgs(this.shape_name.Text + ".region")); }