示例#1
0
 public void Selected(CounterMark counterMark)
 {
     this.SelectedCounterMark = counterMark;
     if (this.OnCounterMarkSelected != null)
     {
         this.OnCounterMarkSelected(counterMark);
     }
 }
 public CounterMarkAddChangeForm()
 {
     this.m_CounterMark = new CounterMark();
     if (!base.get_DesignMode())
     {
         this.set_Font(Manager.WindowFont);
         this.InitializeComponent();
     }
 }
示例#3
0
 public CounterMarkForm(CounterMark сounterMark, CounterMarkHandler handler, long FiterCounterMarkId)
     : this()
 {
     this.handler = handler;
     this.m_FiterCounterMarkId = FiterCounterMarkId;
 }
示例#4
0
 public CounterMarkForm()
 {
     this.SelectedCounterMark = new CounterMark();
     this.InitializeComponent();
 }
示例#5
0
 private void tsbAdd_Click(object sender, System.EventArgs e)
 {
     CounterMark counterMark = new CounterMark();
     new CounterMarkAddChangeForm(counterMark).ShowDialog();
     this.bsCounterMark.set_DataSource(CounterMark.FindByCounterTypeAndisNull(this.m_FiterCounterMarkId));
 }
 public CounterMarkAddChangeForm(CounterMark CounterMark)
     : this()
 {
     this.m_CounterMark = CounterMark;
 }