rname.Trim () + + customer.Name.Trim () + + .Patronomyc.Trim ()) ;. Tag =customers;
}
var placeWorks=sqlOperation.GetPlaceWork (source);
foreach (var placeWork in placeWorks)
{. Items.Add (placeWork.Address.Trim ()) ;. Tag=placeWorks;
}. Text=sqlOperation.IncrementNumberOrder (source) .ToString () ;. Stop () ;. Visible=true;
}
}
} InsertSupplierForm insertSupplierForm; void добавітьПоставщікаToolStripMenuItem_Click (object sender, EventArgs e)
{= new InsertSupplierForm () ;. Start () ;. source=source; .Visible=true;
}
private void timerInsertSupliers_Tick (object sender, EventArgs e)
{(insertSupplierForm!=null)
{(insertSupplierForm.insertSupplier amp; amp;! insertSupplierForm.Visible)
{. Close () ;. Stop ();
}
}
} InsertConfigurationForm insertConfigurationForm;
private void добавітьКомплектаціюToolStripMenuItem_Click (object sender, EventArgs e)
{= new InsertConfigurationForm () ;. Start () ;. source=source; .Visible=true; configurationCategory=sqlOperation.GetConfiguration (source); (var category in configurationCategory.Keys)
{. comboBoxCategory.Items.Add (category);
} configurationSuppliers=sqlOperation.GetSuppliers (source); (var sup in configurationSuppliers)
{. comboBoxSuppliers.Items.Add (sup.Id + . + sup.Name);
}
} void timerInsertConfiguration_Tick (object sender, EventArgs e)
{(insertConfigurationForm!=null)
{(insertConfigurationForm.insertConfiguration amp; amp;! insertConfigurationForm.Visible)
{. Close () ;. Stop ();
}
}
} InsertServiceForm insertServiceForm;
private void добавітьУслугуToolStripMenuItem_Click (object sender, EventArgs e)
{= new InsertServiceForm () ;. source=source; .Visible=true; cserviceCategory=sqlOperation.GetServices (source); (var category in cserviceCategory.Keys)
{. comboBoxCategory.Items.Add (category);
}
}
public InsertEmployeeForm insertEmployeeForm; void добавітьСотруднікаToolStripMenuItem_Click (object sender, EventArgs e)
{= new InsertEmployeeForm () ;. source=source; .Visible=true;
}
}
}