private void TextView_Activated(object sender, EventArgs e) { graphicView = GraphicView.GetInstance(); readonlyView = ReadonlyView.GetInstance(); loadComboboxes(personType); showList(); }
public static GraphicView GetInstance() { if (_instance == null) { _instance = new GraphicView(); } return(_instance); }
private void btnGraphicView_Click(object sender, EventArgs e) { if (graphicView == null) { graphicView = GraphicView.GetInstance(); } graphicView.Show(); }
public TextTreatView(TextView textView, GraphicView graphicView, int selectedIndex) { InitializeComponent(); this.selectedIndex = selectedIndex; viewController = ViewController.GetInstance(); this.textView = textView; this.graphicView = graphicView; readonlyView = ReadonlyView.GetInstance(); }