private void WriteSelectedItemsMenuItem_Click(object p_Sender, EventArgs p_EvArgs)
        {
            if (m_ItemsDataGridView.SelectedRows.Count > 0)
            {
                SetValueFrame l_ValueFrame = new SetValueFrame();
                l_ValueFrame.ShowDialog();

                string l_ValueToWrite = l_ValueFrame.GetValue();
                if (!l_ValueToWrite.Equals(""))
                {
                    List <string> l_ItemsId = new List <string>();

                    foreach (DataGridViewRow l_Row in m_ItemsDataGridView.SelectedRows)
                    {
                        l_ItemsId.Add(l_Row.Cells[0].Value.ToString());
                    }

                    try
                    {
                        m_ServerController.WriteItems(l_ItemsId, l_ValueToWrite);
                    }
                    catch (Exception l_Ex)
                    {
                        ErrorLog l_ErrorLog = ErrorLog.GetInstance();
                        l_ErrorLog.WriteToErrorLog(l_Ex.Message, l_Ex.StackTrace, "Error during write items");

                        // TODO Display message
                    }
                }
            }
        }
        private void WriteSelectedItemsMenuItem_Click(object sender, EventArgs eventArgs)
        {
            if (m_ItemsDataGridView.SelectedRows.Count > 0)
            {
                SetValueFrame valueDlg = new SetValueFrame();
                valueDlg.ShowDialog();

                string valueToWrite = valueDlg.GetValue();

                if (!valueToWrite.Equals(""))
                {
                    List <string> l_ItemsId = new List <string>();

                    foreach (DataGridViewRow row in m_ItemsDataGridView.SelectedRows)
                    {
                        l_ItemsId.Add(row.Cells[0].Value.ToString());
                    }

                    try
                    {
                        _serverController.WriteItems(l_ItemsId, valueToWrite);
                    }
                    catch (Exception ex)
                    {
                        ErrorLog errorLog = ErrorLog.GetInstance();
                        errorLog.WriteToErrorLog(ex.Message, ex.StackTrace, "Error during write items");

                        // TODO Display message
                    }
                }
            }
        }