public MvButton(Data.MvProject mvProject, DataRow row) { try { this.MvProject = mvProject; LocationOnGroupBox = new Point(5, 15); Info = new MvFeeder(row); SetButtonSize(); this.BackColor = Color.Aquamarine; this.Location = LocationOnGroupBox; string value = row["IsSelected"].ToString(); this.TextAlign = ContentAlignment.TopLeft; this.SetButtonText(); this.MouseDown += new MouseEventHandler(Feeder_MouseDown); this.MouseMove += new MouseEventHandler(Feeder_MouseMove); this.MouseUp += new MouseEventHandler(Feeder_MouseUp); this.MouseDoubleClick += new MouseEventHandler(MvButton_MouseDoubleClick); } catch (Exception ex) { MessageBox.Show(ex.Message + "\n" + ex.StackTrace); } }
public MvButton(DataRow row) { try { Info = new MvFeeder(row); } catch (Exception ex) { MessageBox.Show(ex.Message + "\n" + ex.StackTrace); } }
public Tag(int index) { this.Index = index; this.IsEmpty = true; this.Feeder = null; }