Ejemplo n.º 1
0
 public static VatandaşForm getForm()
 {
     if (form == null)
     {
         form = new VatandaşForm();
     }
     return(form);
 }
 private void listView_DoubleClick(object sender, EventArgs e)
 {
     if (listView.SelectedItems.Count > 0)
     {
         Vatandaş v = new Vatandaş(listView.SelectedItems[0]);
         vatandaşForm = VatandaşForm.getForm();
         vatandaşForm.openChild(v);
     }
 }
Ejemplo n.º 3
0
 private void VatandaşForm_FormClosed(object sender, FormClosedEventArgs e)
 {
     form = null;
 }
 public KullanıcıPaneli(Form form) : base(form)
 {
     InitializeComponent();
     vatandaşForm = null;
 }