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