public TAUpdateControlCommand() { // // TODO: Define values for the public properties // base.m_category = ".NET Samples"; //localizable text base.m_caption = "Demonstrates the use of the TAUpdateControl."; //localizable text base.m_message = "Demonstrates the use of the TAUpdateControl."; //localizable text base.m_toolTip = "Demonstrates the use of the TAUpdateControl."; //localizable text base.m_name = "TAUpdateControlSample_TAUpdateControlCommand"; //unique id, non-localizable (e.g. "MyCategory_MyCommand") try { // // TODO: change bitmap name if necessary // string bitmapResourceName = GetType().Name + ".bmp"; base.m_bitmap = new Bitmap(GetType(), bitmapResourceName); } catch (Exception ex) { System.Diagnostics.Trace.WriteLine(ex.Message, "Invalid Bitmap"); } m_TAUpdateControlForm = new TAUpdateControlForm(); }
public TAUpdateControlCommand() { // // TODO: Define values for the public properties // base.m_category = ".NET Samples"; //localizable text base.m_caption = "Demonstrates the use of the TAUpdateControl."; //localizable text base.m_message = "Demonstrates the use of the TAUpdateControl."; //localizable text base.m_toolTip = "Demonstrates the use of the TAUpdateControl."; //localizable text base.m_name = "TAUpdateControlSample_TAUpdateControlCommand"; //unique id, non-localizable (e.g. "MyCategory_MyCommand") try { // // TODO: change bitmap name if necessary // string bitmapResourceName = GetType().Name + ".bmp"; base.m_bitmap = new Bitmap(GetType(), bitmapResourceName); } catch (Exception ex) { System.Diagnostics.Trace.WriteLine(ex.Message, "Invalid Bitmap"); } m_TAUpdateControlForm = new TAUpdateControlForm(); }