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(); } }
public CounterMarkForm(CounterMark сounterMark, CounterMarkHandler handler, long FiterCounterMarkId) : this() { this.handler = handler; this.m_FiterCounterMarkId = FiterCounterMarkId; }
public CounterMarkForm() { this.SelectedCounterMark = new CounterMark(); this.InitializeComponent(); }
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; }